diff --git a/B4A/Alvalle.b4a.meta b/B4A/Alvalle.b4a.meta new file mode 100644 index 0000000..7b80df4 --- /dev/null +++ b/B4A/Alvalle.b4a.meta @@ -0,0 +1,99 @@ +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= +ModuleBookmarks31= +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= +ModuleBreakpoints31= +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= +ModuleClosedNodes31= +ModuleClosedNodes4= +ModuleClosedNodes5= +ModuleClosedNodes6= +ModuleClosedNodes7= +ModuleClosedNodes8= +ModuleClosedNodes9= +NavigationStack=C_Principal,cargar_Click,1274,0,C_Principal,JobDone,1431,0,C_Principal,Subir_Click,915,0,C_Principal,b_productos_Click,3376,0,C_Principal,B4XPage_CloseRequest,2447,3,C_Nota,Class_Globals,0,0,C_Nota,ActualizarTotalesPantalla,272,0,C_Nota,borra_Click,326,0,C_Cliente,GUADAVENTA2,991,0,C_Cliente,mandaPendientes,2105,0,C_Cliente,JobDone,2408,0 +SelectedBuild=0 +VisibleModules=1,2,3,4,5,6,7,8,9,14,13 diff --git a/B4A/AutoBackups/Backup Alvalle 2025-12-18 18.04.zip b/B4A/AutoBackups/Backup Alvalle 2025-12-18 18.04.zip new file mode 100644 index 0000000..21ccebc Binary files /dev/null and b/B4A/AutoBackups/Backup Alvalle 2025-12-18 18.04.zip differ diff --git a/B4A/AutoBackups/Backup Alvalle 2026-01-07 13.44.zip b/B4A/AutoBackups/Backup Alvalle 2026-01-07 13.44.zip new file mode 100644 index 0000000..7c5f0f9 Binary files /dev/null and b/B4A/AutoBackups/Backup Alvalle 2026-01-07 13.44.zip differ diff --git a/B4A/AutoBackups/Backup Alvalle 2026-01-07 16.30.zip b/B4A/AutoBackups/Backup Alvalle 2026-01-07 16.30.zip new file mode 100644 index 0000000..9b07459 Binary files /dev/null and b/B4A/AutoBackups/Backup Alvalle 2026-01-07 16.30.zip differ diff --git a/B4A/AutoBackups/Backup Alvalle 2026-01-26 08.14.zip b/B4A/AutoBackups/Backup Alvalle 2026-01-26 08.14.zip new file mode 100644 index 0000000..ced41c7 Binary files /dev/null and b/B4A/AutoBackups/Backup Alvalle 2026-01-26 08.14.zip differ diff --git a/B4A/AutoBackups/Backup IZCA 2025-06-25 19.15.zip b/B4A/AutoBackups/Backup IZCA 2025-06-25 19.15.zip new file mode 100644 index 0000000..23845ed Binary files /dev/null and b/B4A/AutoBackups/Backup IZCA 2025-06-25 19.15.zip differ diff --git a/B4A/AutoBackups/Backup IZCA 2025-07-10 11.23.zip b/B4A/AutoBackups/Backup IZCA 2025-07-10 11.23.zip new file mode 100644 index 0000000..cc0d38e Binary files /dev/null and b/B4A/AutoBackups/Backup IZCA 2025-07-10 11.23.zip differ diff --git a/B4A/AutoBackups/Backup IZCA 2025-07-21 14.28.zip b/B4A/AutoBackups/Backup IZCA 2025-07-21 14.28.zip new file mode 100644 index 0000000..7d44635 Binary files /dev/null and b/B4A/AutoBackups/Backup IZCA 2025-07-21 14.28.zip differ diff --git a/B4A/AutoBackups/Backup IZCA 2025-07-21 22.42.zip b/B4A/AutoBackups/Backup IZCA 2025-07-21 22.42.zip new file mode 100644 index 0000000..a61c842 Binary files /dev/null and b/B4A/AutoBackups/Backup IZCA 2025-07-21 22.42.zip differ diff --git a/B4A/AutoBackups/Backup IZCA 2025-07-29 15.54.zip b/B4A/AutoBackups/Backup IZCA 2025-07-29 15.54.zip new file mode 100644 index 0000000..c12a65c Binary files /dev/null and b/B4A/AutoBackups/Backup IZCA 2025-07-29 15.54.zip differ diff --git a/B4A/AutoBackups/Backup IZCA 2025-07-31 17.14.zip b/B4A/AutoBackups/Backup IZCA 2025-07-31 17.14.zip new file mode 100644 index 0000000..49529ea Binary files /dev/null and b/B4A/AutoBackups/Backup IZCA 2025-07-31 17.14.zip differ diff --git a/B4A/AutoBackups/Backup SHARK 2025-08-14 12.59.zip b/B4A/AutoBackups/Backup SHARK 2025-08-14 12.59.zip new file mode 100644 index 0000000..adf9f4f Binary files /dev/null and b/B4A/AutoBackups/Backup SHARK 2025-08-14 12.59.zip differ diff --git a/B4A/AutoBackups/Backup SHARK 2025-10-08 13.25.zip b/B4A/AutoBackups/Backup SHARK 2025-10-08 13.25.zip new file mode 100644 index 0000000..e21eafe Binary files /dev/null and b/B4A/AutoBackups/Backup SHARK 2025-10-08 13.25.zip differ diff --git a/B4A/AutoBackups/Backup SHARK 2025-10-10 17.32.zip b/B4A/AutoBackups/Backup SHARK 2025-10-10 17.32.zip new file mode 100644 index 0000000..f8deec9 Binary files /dev/null and b/B4A/AutoBackups/Backup SHARK 2025-10-10 17.32.zip differ diff --git a/B4A/AutoBackups/Backup SHARK 2025-10-27 13.36.zip b/B4A/AutoBackups/Backup SHARK 2025-10-27 13.36.zip new file mode 100644 index 0000000..a12b6f2 Binary files /dev/null and b/B4A/AutoBackups/Backup SHARK 2025-10-27 13.36.zip differ diff --git a/B4A/AutoBackups/Backup SHARK 2025-10-28 14.27.zip b/B4A/AutoBackups/Backup SHARK 2025-10-28 14.27.zip new file mode 100644 index 0000000..ca54859 Binary files /dev/null and b/B4A/AutoBackups/Backup SHARK 2025-10-28 14.27.zip differ diff --git a/B4A/AutoBackups/Backup SHARK 2025-11-18 12.43.zip b/B4A/AutoBackups/Backup SHARK 2025-11-18 12.43.zip new file mode 100644 index 0000000..00d8d31 Binary files /dev/null and b/B4A/AutoBackups/Backup SHARK 2025-11-18 12.43.zip differ diff --git a/B4A/AutoBackups/Backup SHARK 2025-11-18 13.09.zip b/B4A/AutoBackups/Backup SHARK 2025-11-18 13.09.zip new file mode 100644 index 0000000..4d3c162 Binary files /dev/null and b/B4A/AutoBackups/Backup SHARK 2025-11-18 13.09.zip differ diff --git a/B4A/AutoBackups/Backup SHARK2 2026-05-11 11.24.zip b/B4A/AutoBackups/Backup SHARK2 2026-05-11 11.24.zip new file mode 100644 index 0000000..f096001 Binary files /dev/null and b/B4A/AutoBackups/Backup SHARK2 2026-05-11 11.24.zip differ diff --git a/B4A/AutoBackups/Backup SHARK2 2026-07-10 17.01.zip b/B4A/AutoBackups/Backup SHARK2 2026-07-10 17.01.zip new file mode 100644 index 0000000..58a21a5 Binary files /dev/null and b/B4A/AutoBackups/Backup SHARK2 2026-07-10 17.01.zip differ diff --git a/B4A/AutoBackups/Backup SHARK2 2026-07-31 12.09.zip b/B4A/AutoBackups/Backup SHARK2 2026-07-31 12.09.zip new file mode 100644 index 0000000..88537d2 Binary files /dev/null and b/B4A/AutoBackups/Backup SHARK2 2026-07-31 12.09.zip differ diff --git a/B4A/AutoBackups/Backup SHARK2 2026-07-31 12.20.zip b/B4A/AutoBackups/Backup SHARK2 2026-07-31 12.20.zip new file mode 100644 index 0000000..71322ec Binary files /dev/null and b/B4A/AutoBackups/Backup SHARK2 2026-07-31 12.20.zip differ diff --git a/B4A/B4XMainPage.bas b/B4A/B4XMainPage.bas new file mode 100644 index 0000000..55ba3eb --- /dev/null +++ b/B4A/B4XMainPage.bas @@ -0,0 +1,1401 @@ +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 + 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip + '########################################################################################################### + '###################### PULL ############################################################# + 'Ctrl + click ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=git&Args=pull + '########################################################################################################### + '###################### PULL FORZADO ############################################################# + 'Ctrl + click Respaldar y Pull: ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=start&Args=powershell.exe&Args=-ExecutionPolicy&Args=Bypass&Args=-File&Args=..\..\_sync_project.ps1 + '########################################################################################################### + '###################### 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 + '########################################################################################################### + '###################### PUSH TORTOISE GIT CON TAG ################################################## + 'Ctrl + clic para Git: ide://run?file=%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe&Args=-ExecutionPolicy&Args=Bypass&Args=-File&Args=..\_git_tag.ps1&Args=%22%PROJECT%%22&Args=%22%PROJECT_NAME%%22 + '########################################################################################################### +#End Region + +'Ctrl + click ide://run?file=%WINDIR%\System32\cmd.exe&Args=/c&Args=github&Args=..\..\ + +Sub Class_Globals + Dim c2 As Cursor + Dim sDate,sTime As String + Private Root As B4XView + Private xui As XUI + Dim s As C_Subs + Public login As B4XMainPage + Public principal As C_Principal + Public clientes As C_Clientes + Public cliente As C_Cliente + 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 nota As C_Nota + Public pedidos As C_Pedidos + Public promos As C_Promos + Public historico As C_Historico + Public Provider As FileProvider + + 'nuevocliente -> NuevoCliente + 'buscar -> ticketsDia + 'colonia -> clientes + 'nopago -> noVenta + 'tarjeta -> Nota + 'fila -> Cliente + 'colonia2 -> Productos + + 'xxxxxxxxxxxxxxxxxxxxxxxxx + + Dim reqManager As DBRequestManager + Dim v As String = Application.VersionName + Dim ruta As String + Dim tgl As Toggle + Dim lat_gps, lon_gps As String + Dim usuario As String + Dim batt As Int + Dim skmt As SQL + Dim montoActual, clientesTotal, clientesVenta, clientesVisitados,almacen, rutaPreventa As String + Dim DBReqServer, fechaRuta As String + Dim Logger As Boolean + Dim mac_impresora As String + Dim Phn As PhoneId + + Dim user As EditText + Dim pass As EditText + Public tabulador As C_tabulador + Dim c As Cursor + Dim existe As String + Dim paso1 As String + Private IMEN As Label + Dim IMEI As String = "" + Dim alterno As String + Private b_menu As Button + Dim PopupMenu As RSPopupMenu + Dim cmd As DBCommand + Private PDF As Button + Private bpv1 As BatteryProgressView + Dim batterystatus(11) As Int + Private bu As BatteryUtilities + Private b_apk As Button + Private i_engrane As ImageView + Private p_Main As Panel + Private p_appUpdate As Panel + Private b_regesar As Button + Private l_version As Label + Private ImageView1 As ImageView + Private Label2 As Label + Private Entrar As Button + Dim tipo_venta As String + Dim bTerminarClicked As Boolean = False + Private lv_server As ListView + Private l_server As Label + Private b_enviarbd As Button + Private b_importarBD As Button + Dim ime As IME + Dim MES1 As ManageExternalStorage + Dim device As Phone + Private et_server As EditText + Private b_guardar As Button + Private Panel11 As Panel + Private CLV_PICK_CIEGO As CustomListView + Private P_PICK_CIEGO As Panel + Dim ET_PICK_CIEGO As EditText + Private L_PICK_CIEGO As Label + Private P_CIEGO As Panel + Dim Panel4 As Panel + Dim q_buscar As String + Private et_buspc As EditText + Dim d As Cursor + Dim a As Cursor + Dim f As Cursor + Dim idenviar As String + Private et_codigo As EditText + Private b_cancelarcodigo As Button + Private b_aceptar As Button + Private p_validacion As Panel + Private b_recarga As Button + Dim recarga As String = "0" + Private p_add_monto As Panel + Private B_Can_Monto As Button + Private B_Aceptar_Monto As Button + Private ET_Add_Monto As EditText +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) + B4XPages.GetManager.LogEvents = True + Root = Root1 + Root.LoadLayout("login") + s.Initialize(Me, "Subs") + B4XPages.SetTitle(Me, "SHARK2") + login.Initialize + B4XPages.AddPage("Login", login) + principal.Initialize + B4XPages.AddPage("Principal", principal) + clientes.Initialize + B4XPages.AddPage("Clientes", clientes) + cliente.Initialize + B4XPages.AddPage("Cliente", cliente) + 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) + nota.Initialize + B4XPages.AddPage("Nota", nota) + pedidos.Initialize + B4XPages.AddPage("Pedidos", pedidos) + promos.Initialize + B4XPages.AddPage("Promos", promos) + historico.Initialize + B4XPages.AddPage("Historico", historico) + tabulador.Initialize + B4XPages.AddPage("tabulador", tabulador) +' respaldoDiario.Initialize +' B4XPages.AddPageAndCreate("respaldoDiario", respaldoDiario) + ruta = Starter.ruta + Provider.Initialize +' Subs.borraArribaDe100Errores ' Para Websockets +' Subs.borraArribaDe600RenglonesBitacora ' Para Websockets + If File.Exists(ruta, "kmt.db") = False Then + File.Copy(File.DirAssets, "kmt.db", ruta, "kmt.db") + LogColor("copiamos kmt.db de "&File.DirAssets & " a " & ruta,Colors.Green) + End If + +' Log(ruta) + skmt.Initialize(ruta,"kmt.db", True) + Subs.guardaAppInfo(skmt) + + 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 COORDENADAS(LAT TEXT, LONG TEXT, CLIENTE TEXT, CANTIDAD INT)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ATIENDE(ATIENDE TEXT, CLIENTE TEXT)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS GIROS_ACTUAL(GIRO TEXT, CLIENTE TEXT)") + Starter.skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS TABULADOR_BILLETES(MIL TEXT, QUINIENTOS TEXT, DOCIENTOS TEXT, CIEN TEXT, CINCUENTA TEXT, VEINTE TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CLIENTES_NUEVOS(CN_ID TEXT, CN_FECHA TEXT, CN_USER TEXT, CN_LAT TEXT, CN_LON TEXT, CN_NOMBRE TEXT, CN_DIRECCION TEXT, CN_FOTO TEXT, CN_ALMACEN TEXT, CN_RUTA TEXT,CN_GIRO TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS POLIGONO (LAT TEXT, LONG TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS GEOCERCA (ACTIVA TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS COORDS_ALMACEN (LAT TEXT, LONG TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CUOTAS (HC_META6 TEXT, HC_META5 TEXT, HC_META4 TEXT, HC_META3 TEXT, HC_META2 TEXT, HC_META1 TEXT, HC_RUTA TEXT, HC_CUOTA1 TEXT, HC_CUOTA2 TEXT, HC_CUOTA3 TEXT, HC_CUOTA4 TEXT, HC_CUOTA5 TEXT, HC_CUOTA6 TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GPS (HGDATE TEXT, HGLAT TEXT, HGLON TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GIRO(GIRO TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PICKCIEGO_HECHO(HECHO TEXT)") +' skmt.ExecNonQuery("drop table CAT_GUNAPROD2") 'Bitacora +' skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD (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, CAT_DP_CONVERSION1 TEXT, CAT_DP_PRECIO4 TEXT, CAT_DP_PRECIO2 TEXT, CAT_DP_PRECIO1 TEXT)") +' skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD (CAT_DP_ID TEXT, CAT_DP_NOMBRE TEXT, CAT_DP_IMP1 TEXT, CAT_DP_IMP2 TEXT, CAT_DP_CLASIF TEXT, CAT_DP_STS INT, CAT_DP_TIPO TEXT, CAT_DP_SUBTIPO TEXT, CAT_DP_IMG BLOB, CAT_DP_ALMACEN INT, CAT_DP_DEV INT, CAT_DP_TIPOPROD TEXT, CAT_DP_INICIATIVA TEXT, CAT_DP_TIPOPROD2 TEXT, CAT_DP_PRECIO1 TEXT, CAT_DP_PRECIO2 TEXT, CAT_DP_PRECIO3 TEXT, CAT_DP_PRECIO4 TEXT, CAT_DP_PRECIO5 TEXT, CAT_DP_PRECIO6 TEXT, CAT_DP_PRECIO7 TEXT, CAT_DP_PRECIO8 TEXT, CAT_DP_PRECIO9 TEXT, CAT_DP_PRECIO10 TEXT, CAT_DP_PRECIO11 TEXT, CAT_DP_PRESENTACION1 TEXT, CAT_DP_PRESENTACION2 TEXT, CAT_DP_PRESENTACION3 TEXT, CAT_DP_PRESENTACION4 TEXT, CAT_DP_PRESENTACION5 TEXT, CAT_DP_PRESENTACION6 TEXT, CAT_DP_PRESENTACION7 TEXT, CAT_DP_PRESENTACION8 TEXT, CAT_DP_PRESENTACION9 TEXT, CAT_DP_PRESENTACION10 TEXT, CAT_DP_PRESENTACION11 TEXT, CAT_DP_UMV1 TEXT, CAT_DP_UMV2 TEXT, CAT_DP_UMV3 TEXT, CAT_DP_UMV4 TEXT, CAT_DP_UMV5 TEXT, CAT_DP_UMV6 TEXT, CAT_DP_UMV7 TEXT, CAT_DP_UMV8 TEXT, CAT_DP_UMV9 TEXT, CAT_DP_UMV10 TEXT, CAT_DP_UMV11 TEXT, CAT_DP_DIRIGIDA1 TEXT, CAT_DP_DIRIGIDA2 TEXT, CAT_DP_DIRIGIDA3 TEXT, CAT_DP_DIRIGIDA4 TEXT, CAT_DP_DIRIGIDA5 TEXT, CAT_DP_DIRIGIDA6 TEXT, CAT_DP_DIRIGIDA7 TEXT, CAT_DP_DIRIGIDA8 TEXT, CAT_DP_DIRIGIDA9 TEXT, CAT_DP_DIRIGIDA10 TEXT, CAT_DP_DIRIGIDA11 TEXT)") + + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD (CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS INT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB, CAT_GP_ALMACEN INT, CAT_GP_DEV INT, CAT_GP_TIPOPROD TEXT, CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD2 TEXT, CAT_GP_PRECIO1 TEXT, CAT_GP_PRECIO2 TEXT, CAT_GP_PRECIO3 TEXT, CAT_GP_PRECIO4 TEXT, CAT_GP_PRECIO5 TEXT, CAT_GP_PRECIO6 TEXT, CAT_GP_PRECIO7 TEXT, CAT_GP_PRECIO8 TEXT, CAT_GP_PRECIO9 TEXT, CAT_GP_PRECIO10 TEXT, CAT_GP_PRECIO11 TEXT, CAT_GP_PRESENTACION1 TEXT, CAT_GP_PRESENTACION2 TEXT, CAT_GP_PRESENTACION3 TEXT, CAT_GP_PRESENTACION4 TEXT, CAT_GP_PRESENTACION5 TEXT, CAT_GP_PRESENTACION6 TEXT, CAT_GP_PRESENTACION7 TEXT, CAT_GP_PRESENTACION8 TEXT, CAT_GP_PRESENTACION9 TEXT, CAT_GP_PRESENTACION10 TEXT, CAT_GP_PRESENTACION11 TEXT, CAT_GP_UMV1 TEXT, CAT_GP_UMV2 TEXT, CAT_GP_UMV3 TEXT, CAT_GP_UMV4 TEXT, CAT_GP_UMV5 TEXT, CAT_GP_UMV6 TEXT, CAT_GP_UMV7 TEXT, CAT_GP_UMV8 TEXT, CAT_GP_UMV9 TEXT, CAT_GP_UMV10 TEXT, CAT_GP_UMV11 TEXT, CAT_GP_DIRIGIDA1 TEXT, CAT_GP_DIRIGIDA2 TEXT, CAT_GP_DIRIGIDA3 TEXT, CAT_GP_DIRIGIDA4 TEXT, CAT_GP_DIRIGIDA5 TEXT, CAT_GP_DIRIGIDA6 TEXT, CAT_GP_DIRIGIDA7 TEXT, CAT_GP_DIRIGIDA8 TEXT, CAT_GP_DIRIGIDA9 TEXT, CAT_GP_DIRIGIDA10 TEXT, CAT_GP_DIRIGIDA11 TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD2 (CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS INT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB, CAT_GP_ALMACEN INT, CAT_GP_DEV INT, CAT_GP_TIPOPROD TEXT, CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD2 TEXT, CAT_GP_PRECIO1 TEXT, CAT_GP_PRECIO2 TEXT, CAT_GP_PRECIO3 TEXT, CAT_GP_PRECIO4 TEXT, CAT_GP_PRECIO5 TEXT, CAT_GP_PRECIO6 TEXT, CAT_GP_PRECIO7 TEXT, CAT_GP_PRECIO8 TEXT, CAT_GP_PRECIO9 TEXT, CAT_GP_PRECIO10 TEXT, CAT_GP_PRECIO11 TEXT, CAT_GP_PRESENTACION1 TEXT, CAT_GP_PRESENTACION2 TEXT, CAT_GP_PRESENTACION3 TEXT, CAT_GP_PRESENTACION4 TEXT, CAT_GP_PRESENTACION5 TEXT, CAT_GP_PRESENTACION6 TEXT, CAT_GP_PRESENTACION7 TEXT, CAT_GP_PRESENTACION8 TEXT, CAT_GP_PRESENTACION9 TEXT, CAT_GP_PRESENTACION10 TEXT, CAT_GP_PRESENTACION11 TEXT, CAT_GP_UMV1 TEXT, CAT_GP_UMV2 TEXT, CAT_GP_UMV3 TEXT, CAT_GP_UMV4 TEXT, CAT_GP_UMV5 TEXT, CAT_GP_UMV6 TEXT, CAT_GP_UMV7 TEXT, CAT_GP_UMV8 TEXT, CAT_GP_UMV9 TEXT, CAT_GP_UMV10 TEXT, CAT_GP_UMV11 TEXT, CAT_GP_DIRIGIDA1 TEXT, CAT_GP_DIRIGIDA2 TEXT, CAT_GP_DIRIGIDA3 TEXT, CAT_GP_DIRIGIDA4 TEXT, CAT_GP_DIRIGIDA5 TEXT, CAT_GP_DIRIGIDA6 TEXT, CAT_GP_DIRIGIDA7 TEXT, CAT_GP_DIRIGIDA8 TEXT, CAT_GP_DIRIGIDA9 TEXT, CAT_GP_DIRIGIDA10 TEXT, CAT_GP_DIRIGIDA11 TEXT)") + + + +' skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD2 (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)") + 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)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD4 (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, CAT_DP_CONVERSION1 TEXT, CAT_DP_PRECIO4 TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_STAY_STORE (HSS_CODIGO TEXT, HSS_IN TEXT, HSS_OUT TEXT, HSS_TOT TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_STAY_OUT (HSO_INI TEXT, HSO_FIN TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS INVENT_X_ENVIAR (ALMACEN TEXT, PROID TEXT, CANTIDAD TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_RESUM_APK (HIST_RA_OBJMES TEXT, HIST_RA_VENTA TEXT, HIST_RA_TENDENCIA TEXT, HIST_RA_ALCANCE TEXT, HISR_RA_DRAOBJ TEXT, HIST_RA_DRAVTA TEXT, HIST_RA_DSOBJ TEXT, HIST_RA_DSVTA TEXT, HIST_RA_VPOOBJ TEXT, HIST_RA_VPOVTA TEXT, HIST_RA_COBCCC TEXT, HIST_RA_CTES TEXT, HIST_RA_ECO TEXT, HIST_RA_VISITPLAN TEXT, HIST_RA_VISIREAL TEXT, HIST_RA_COBVISIT TEXT, HIST_RA_FRECCOMPOBJ TEXT, HIST_RA_FRECCOMREAL TEXT, HIST_RA_VENTAMES1 TEXT, HIST_RA_VENTAMES2 TEXT, HIST_RA_VENTAMES3 TEXT, HIST_RA_VENTAMES4 TEXT, HIST_RA_RECHAZO TEXT, HIST_RA_RECHAZOPORCEN TEXT, HIST_RA_SEMANA1 TEXT, HIST_RA_SEMANA1_DIAS TEXT, HIST_RA_SEMANA1_DRA TEXT, HIST_RA_SEMANA2 TEXT, HIST_RA_SEMANA2_DIAS TEXT, HIST_RA_SEMANA2_DRA TEXT, HIST_RA_SEMANA3 TEXT, HIST_RA_SEMANA3_DIAS TEXT, HIST_RA_SEMANA4 TEXT, HIST_RA_SEMANA3_DRA TEXT, HIST_RA_SEMANA4_DIAS TEXT, HIST_RA_SEMANA4_DRA TEXT, HIST_RA_SEMANA5 TEXT, HIST_RA_SEMANA5_DIAS TEXT, HIST_RA_SEMANA5_DRA TEXT, HIST_RA_SEMANA1_LPT TEXT, HIST_RA_SEMANA2_LPT TEXT, HIST_RA_SEMANA3_LPT TEXT, HIST_RA_SEMANA4_LPT TEXT, HIST_RA_SEMANA5_LPT TEXT, HIST_RA_RUTA TEXT, HIST_RA_IDALMACEN TEXT)") +' skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_COMISIONES_MOVIL (HCM_IDALMACEN TEXT, HCM_RUTA TEXT, HCM_TOTAL_V TEXT, HCM_TOTAL_VIVE TEXT, HCM_TOTAL_GUNA TEXT, HCM_TOTAL_BEB TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GEOCERCA (HGCLIENTE TEXT, HGDATE TEXT, HGLAT TEXT, HGLON TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_FACE (HFCLIENTE TEXT, HFALIAS TEXT, HFRUTA TEXT, HFALMACEN TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)") + skmt.ExecNonQuery("CREATE VIEW IF NOT EXISTS CATALOGO AS Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD UNION Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD GROUP BY CAT_GP_CLASIF, CAT_GP_ID") + skmt.ExecNonQuery("CREATE VIEW IF NOT EXISTS total_marcas AS Select cat_gp_clasif, sum(pe_costo_tot) As total from CATALOGO, pedido where pe_proid = cat_gp_id And pe_cliente <> 0 group by cat_gp_clasif") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_MARCAS_CUOTAS ( HMC_MARCA TEXT, HMC_TOTAL TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CODIGO_BARRAS(CODIGOKMTS TEXT, CODIGOB TEXT, LAT TEXT, LON TEXT)") + 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)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS COORDENADAS_GPS (tienda_id TEXT, ruta TEXT, almacen TEXT, latitud TEXT, longitud TEXT, fecha TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CUESTIONARIO (HC_CLIENTE TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PAGARES (PA_ALMACEN TEXT, PA_RUTA TEXT, PA_FECHA TEXT, PA_CAPTURA TEXT, PA_MONTO TEXT, PA_USUARIO TEXT, PA_CLIENTE TEXT)") + skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS NOVENTA (NV_CLIENTE TEXT, NV_FECHA TEXT, NV_USER TEXT, NV_MOTIVO TEXT, NV_COMM TEXT, NV_LAT TEXT, NV_LON TEXT)") + 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)") + 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)") + Subs.agregaColumna("PEDIDO", "PE_ENVIO_OK", "INT") + Subs.agregaColumna("PEDIDO", "PE_CANTC", "TEXT") + + Subs.agregaColumna("PEDIDO", "PE_DIRIGIDA", "TEXT") + Subs.agregaColumna("PEDIDO", "PE_UVM", "TEXT") + Subs.agregaColumna("PEDIDO", "PE_PRESENTACION", "TEXT") + + Subs.agregaColumna("PEDIDO", "PE_BCAJAS", "TEXT") + Subs.agregaColumna("NOVENTA", "NV_ENVIO_OK", "INT") + Subs.agregaColumna("kmt_info", "CAT_CL_BCREDITO", "TEXT") + Subs.agregaColumna("kmt_info", "CAT_CL_TIPOCLIENTE", "TEXT") + Subs.agregaColumna("kmt_info", "CAT_CL_BCOORDENADAS", "TEXT") + Subs.agregaColumna("kmt_info", "CAT_CL_LIMITECREDITO", "TEXT") + Subs.agregaColumna("kmt_info", "CAT_CL_LISTA_PRECIO", "TEXT") + Subs.agregaColumna("kmt_info2", "CAT_CL_LISTA_PRECIO", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_TIPOPROD2", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_CONVERSION1", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_DIRIGIDA11", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_DIRIGIDA10", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_DIRIGIDA9", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_DIRIGIDA8", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_DIRIGIDA7", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_DIRIGIDA6", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_DIRIGIDA5", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_DIRIGIDA4", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_DIRIGIDA3", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_DIRIGIDA2", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_DIRIGIDA1", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_UMV11", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_UMV10", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_UMV9", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_UMV8", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_UMV7", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_UMV6", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_UMV5", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_UMV4", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_UMV3", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_UMV2", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_UMV1", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRESENTACION11", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRESENTACION10", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRESENTACION9", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRESENTACION8", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRESENTACION7", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRESENTACION6", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRESENTACION5", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRESENTACION4", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRESENTACION3", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRESENTACION2", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRESENTACION1", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRECIO11", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRECIO10", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRECIO9", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRECIO8", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRECIO7", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRECIO6", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRECIO5", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRECIO4", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRECIO3", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRECIO2", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_PRECIO1", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD3", "CAT_DP_CONVERSION1", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD3", "CAT_DP_PRECIO4", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD2", "CAT_DP_CONVERSION1", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD2", "CAT_DP_PRECIO4", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD2", "CAT_DP_PRECIO1", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD2", "CAT_DP_PRECIO2", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD4", "CAT_DP_PRECIO1", "TEXT") + Subs.agregaColumna("CAT_GUNAPROD4", "CAT_DP_PRECIO2", "TEXT") + Subs.agregaColumna("CLIENTES_NUEVOS", "CN_SOLICITA", "TEXT") + Subs.agregaColumna("ABONOSP", "DIA_VENCIMIENTO", "TEXT") + Subs.agregaColumna("CLIENTES_NUEVOS", "CN_COLONIA", "TEXT") + Subs.agregaColumna("CLIENTES_NUEVOS", "CN_TELEFONO", "TEXT") + Subs.agregaColumna("CLIENTES_NUEVOS", "CN_CP", "TEXT") + c=skmt.ExecQuery("select COUNT(*) AS CUANTOS from HIST_STAY_OUT ") +' +' skmt.ExecNonQuery2("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ", Array As Object(19.534596, -99.148633)) +' skmt.ExecNonQuery2("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ", Array As Object(19.532618, -99.147368)) +' skmt.ExecNonQuery2("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ", Array As Object(19.530434, -99.143527)) + skmt.ExecNonQuery2("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ", Array As Object(19.481683012377815, -99.14063876529508)) + skmt.ExecNonQuery2("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ", Array As Object(19.480080935096886, -99.15459780214643)) +' skmt.ExecNonQuery2("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ", Array As Object(19.52212245552407, -99.14288326892365)) +' skmt.ExecNonQuery2("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ", Array As Object(19.52414485532313, -99.1441707292143)) +' skmt.ExecNonQuery2("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ", Array As Object(19.525681862241495, -99.14623066567934)) +' skmt.ExecNonQuery2("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ", Array As Object(19.52794689841748, -99.14923473969085)) +' skmt.ExecNonQuery2("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ", Array As Object(19.52950409236695, -99.15127321848439)) + C.Position = 0 + If c.GetString("CUANTOS") = 0 Then + skmt.ExecNonQuery("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)") + End If + C.Close +' server = "http://keymon.com.mx:1782" + 'server = "http://201.99.139.28:1783" +' reqManager.Initialize(Me, DBReqServer) + l_version.Text = Application.VersionName + l_version.Visible = True + l_version.BringToFront + 'este codigo es para lo del menu +' PopupMenu.Initialize("PopupMenu", b_menu) +' PopupMenu.AddMenuItem(0, 0, "View") +' PopupMenu.AddMenuItem(1, 1, "Edit") +' PopupMenu.AddMenuItem(2, 2, "Details") +' PopupMenu.AddMenuItem(3, 3, "Remove") + ' menu fin + montoActual = 0 + clientesTotal = 0 + clientesVenta = 0 + clientesVisitados = 0 + almacen = 0 + rutaPreventa = 0 + p_appUpdate.Visible = False + + LogColor("Revisa permisos Phone_State", Colors.Green) + Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION) + Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) + If Result Then + Log("Con permisos de ubicacion") + Else + Log("SIN permisos de ubicacion") + End If + Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_ACCESS_COARSE_LOCATION) + Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) + If Result Then + Log("Con permisos de ubicacion") + Else + Log("SIN permisos de ubicacion") + End If + Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_READ_PHONE_STATE) + Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) + If Result Then +' IMEN.Text = Phn.GetDeviceId +' IMEI = Phn.GetDeviceId +' LogColor($"////////////////// IMEI: ${IMEI} ////////////////// "$, Colors.Blue) +' IMEI="" 'Pruebas + End If +' Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION) +' Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) +' If Result Then +' StartService(Tracker) +'' Log("Start Tracker") +' Else +' ToastMessageShow("No permission", 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("This app requires access to all files, please enable the option", "Manage All Files") + Wait For Msgbox_Result(Res As Int) +' Log("Getting permission") + MES1.GetPermission + Wait For MES_StorageAvailable + End If + End If + P_CIEGO.Height = Root.Height + P_CIEGO.Width = Root.Width + p_validacion.Height = Root.Height + p_validacion.Width = Root.Width + p_add_monto.Height = Root.Height + p_add_monto.Width = Root.Width + + +End Sub + +Sub B4XPage_Appear + Log(recarga) + If Starter.muestraProgreso = 1 Then + muestraProgreso("Descargando actualización") + Starter.muestraProgreso = 0 + End If + Dim ph As Phone 'Get Id Device + Dim DeviceID As String = ph.GetSettings("android_id").ToUpperCase + LogColor($"////////////////// DeviceID: ${DeviceID} ////////////////// "$, Colors.Blue) + DBReqServer = Starter.DBReqServer + reqManager.Initialize(Me, Starter.DBReqServer) + Log("|"&Starter.DBReqServer&"|") + tgl.Initialize() + If Not(Starter.gps.GPSEnabled) Then + ToastMessageShow("Es necesario tener el GPS encendido", True) + Sleep(500) + StartActivity(Starter.gps.LocationSettingsIntent) + End If + c=skmt.ExecQuery2("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?", Array As String ("FECHA")) + c.Position = 0 + If c.GetString("CUANTOS") = 0 Then + LogColor($"No hay fecha: ${c.GetString("CUANTOS")}"$, Colors.Red) + cmd.Initialize + cmd.Name = "select_fecha" + reqManager.ExecuteQuery(cmd , 0, "fecha") + Msgbox("AJUSTAR FECHA","AVISO") 'Ignore + B4XPage_Appear + Else +' LogColor($"Si hay fecha: ${c.GetString("CUANTOS")}"$, Colors.Green) + c=skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?", Array As String ("FECHA")) + c.Position =0 + Dim sDate, sTime As String + DateTime.DateFormat = "yyyyMMdd" + sDate=DateTime.Date(DateTime.Now) +' If sDate > "20220701" Then +' Msgbox("INSTALAR NUEVO APK" ,"AVISO") 'Ignore +' B4XPage_Appear +' End If + If c.GetString("CAT_VA_VALOR") > sDate Then + Msgbox("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA" ,"AVISO") 'Ignore + B4XPage_Appear + End If + End If + bu.Initialize + batterystatus = bu.BatteryInformation + 'Obtenemos el usuario registrado +' CallSubDelayed(FirebaseMessaging, "SubscribeToTopics") + dameUsuario +' If Not(s.CheckNotificationAccess) Then +' Msgbox2Async($"Se necesita acceso a las notificaciones, haga clic en "Aceptar" y en la siguiente pantalla permita el acceso a la aplicación "${Application.LabelName}"."$, "Permisos necesarios", "Aceptar", "Cancelar", "", Null, True) +' Wait For Msgbox_Result (resultado As Int) +' If resultado = DialogResponse.POSITIVE Then +' Dim In As Intent +' In.Initialize("android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS", "") +' StartActivity(In) +' End If +'' Private cd1 As ColorDrawable +'' cd1.Initialize(Colors.red, 10dip) +'' b_notifAccess.Background = cd1 +'' b_notifAccess.TextColor = Colors.White +'' b_notifAccess.Text = "Activar Permisos" +' Else +'' Private cd1 As ColorDrawable +'' cd1.Initialize(Colors.RGB(109, 221, 101), 10dip) +'' b_notifAccess.Background = cd1 +'' b_notifAccess.TextColor = Colors.White +'' b_notifAccess.Text = "Permisos Activos" +' End If +End Sub +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub Entrar_Click + Log("|" & Starter.DBReqServer) + Dim r As Reflector + Dim Api As Int + Dim PP As Phone + Api = r.GetStaticField("android.os.Build$VERSION", "SDK_INT") + If Api < 9 Then + 'Old device + If File.Exists(File.DirInternal, "__id") Then + IMEI = File.ReadString(File.DirInternal, "__id") + Log(1&"-"&IMEI) + Else + Dim id As Int + id = Rnd(0x10000000, 0x7FFFFFFF) + File.WriteString(File.DirInternal, "__id", id) + IMEI = id + Log(2&"-"&IMEI) + End If + Else + 'New device + IMEI = r.GetStaticField("android.os.Build", "SERIAL") +' Log(3&"-"&IMEI) + End If + If IMEI.ToLowerCase = "unknown" Then + IMEI = PP.GetSettings("android_id") + End If +' Log("IMEI = " & IMEI) + + If user.Text = "ALTERNO" Then + c=skmt.ExecQuery2("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?", Array As String("SERVER")) + c.Position =0 + DBReqServer = c.GetString("CAT_CO_CONFIGURACION") + alterno = c.GetString("CAT_CO_RESULTADO") + c.Close + If alterno = 1 Then + skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2", Array As String ("SERVER")) + skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1", Array As String ("SERVER")) + Else if alterno = 2 Then + skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1", Array As String ("SERVER")) + skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2", Array As String ("SERVER")) + End If + c=skmt.ExecQuery2("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?", Array As String("SERVER")) + c.Position =0 + DBReqServer = c.GetString("CAT_CO_CONFIGURACION") + user.Text = DBReqServer + c.Close +' reqManager.Initialize(Me, DBReqServer) + else if user.Text = "KMTS1" Then + skmt.ExecNonQuery("delete from usuarioa") + skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)", Array As Object(user.Text, pass.Text)) + skmt.ExecNonQuery("delete from cat_almacen") + skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)", Array As Object (pass.Text)) + skmt.ExecNonQuery("delete from VERSION") + skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)", Array As Object ("2.1")) + B4XPages.ShowPage("Clientes") + else if user.Text = "BERNA1" Then + skmt.ExecNonQuery("delete from usuarioa") + skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)", Array As Object(user.Text, "1")) + skmt.ExecNonQuery("delete from cat_almacen") + skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)", Array As Object ("1")) + skmt.ExecNonQuery("delete from VERSION") + skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)", Array As Object ("2.1")) + B4XPages.ShowPage("Clientes") + else if user.Text = "IMEI" Then + user.Text = IMEI + End If + + c=skmt.ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?", Array As String(user.Text)) + c.Position=0 + existe = c.GetString("EXISTE1") + If existe = 0 Then + If IMEI = "" Then + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_usuario_SHARK2 " 'Antes select_usuario_guna_GV2_1 + cmd.Parameters = Array As Object(user.Text.Trim, pass.Text.Trim) + reqManager.ExecuteQuery(cmd , 0, "usuario_10") 'Antes usuario + Else + If IMEI = "" Then + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_usuario_SHARK2" + cmd.Parameters = Array As Object(user.Text.Trim, pass.Text.Trim) + reqManager.ExecuteQuery(cmd , 0, "usuario_10") + Else + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_usuario_SHARK2" 'Antes select_usuario_guna_GV2 + cmd.Parameters = Array As Object(user.Text.Trim, pass.Text.trim) + Log("Mandamos: "&user.Text&"|"& pass.Text) + reqManager.ExecuteQuery(cmd , 0, "usuario_10") 'Antes usuario + End If + End If + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_version_SHARK2" + reqManager.ExecuteQuery(cmd , 0, "version") + Else + usuario = user.Text + B4XPages.ShowPage("Principal") + End If +End Sub + +Sub JobDone(Job As HttpJob) + Log("JOBDONE MAINPAGE") + If B4XPages.MainPage.reqManager.reqsList.IsInitialized Then 'Si tenemos lista de requests, la procesamos. + If B4XPages.MainPage.reqManager.reqsList.IndexOf(Job.tag) <> -1 Then + B4XPages.MainPage.reqManager.reqsList.RemoveAt(B4XPages.MainPage.reqManager.reqsList.IndexOf(Job.tag)) + LogColor($">>>>>> Quitamos ${Job.tag}"$, Colors.Blue) + End If + LogColor(">>>>>> " & B4XPages.MainPage.reqManager.reqsList.Size & " - " & B4XPages.MainPage.reqManager.reqsList, Colors.Blue) + End If + If Job.Success = False Then + LogColor("Error: " & Job.tag & " : " & Job.ErrorMessage, Colors.red) + 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 result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "version" Then 'query tag + For Each records() As Object In result.Rows + skmt.ExecNonQuery("delete from VERSION") + Dim CAT_VE_VERSION As String = records(result.Columns.Get("CAT_VE_VERSION")) + skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)", Array As Object (CAT_VE_VERSION)) + Next + End If + + If result.Tag = "select_fechat" Then 'query tag + For Each records() As Object In result.Rows + For Each k As String In result.Columns.Keys + Log("select_fechat: " & 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 = "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 = "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) + f=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info") + f.Position = 0 + a=B4XPages.MainPage.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + a.Position = 0 + + Private c2 As Cursor + c2=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("CAT_CL_RUTA"))) + 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_SHARK2" + cmd.Parameters = Array As Object(c.GetString("EML_MONTO"), c.GetString("EML_ALMACEN"), c.GetString("EML_RUTA"), c.GetString("EML_USUARIO"), "VENTA", 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("CAT_CL_RUTA"))) + If c.RowCount > 0 Then +' For i=0 To c.RowCount -1 + c.Position = 0 + cmd.Initialize + cmd.Name = "update_MontoCuenta_SHARK2" + cmd.Parameters = Array As Object(c.GetString("EML_MONTO"), c.GetString("EML_ALMACEN"), c.GetString("EML_RUTA"), c.GetString("EML_USUARIO")) + + 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 + + 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_SHARK2" + 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"),"VENTA") + 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_SHARK2" + 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"),"VENTA") + 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 = "fecha" Then 'query tag + For Each records() As Object In result.Rows + Dim FECHA_HOY As String = records(result.Columns.Get("FECHA")) + skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?", Array As Object ("FECHA")) + skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object ("FECHA",FECHA_HOY)) + 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")) + Log(records(result.Columns.Get("CAT_LO_IDTELEFONO")) ) + Next + paso1 = 1 + ToastMessageShow(name, False) + Log("////////////////////////// "&name) + End If + End If + + If Job.JobName = "DBRequest" Then + Dim result As DBResult = reqManager.HandleJob(Job) + If result.Tag = "usuario_10" 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 + Log("|"&name&"|") + paso1 = 1 + IMEI_BASE = "" + IMEI = "" + 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 = "" + If recarga = "0" Then + Subs.panelVisible(P_CIEGO,0,0) + Else If recarga = "1" Then + Starter.skmt.ExecNonQuery("delete from CUENTAA") + Starter.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object("1")) + B4XPages.MainPage.tipo_venta = "RECARGA" + B4XPages.ShowPage("Productos") + + End If + Else + MsgboxAsync("Contraseña incorrecta","Atención") + End If + Next + End If + End If + + If result.Tag = "ruta" Then 'query tag + Log("JOBDONE PRINCIPAL MAINPAGE") + For Each records() As Object In result.Rows + Dim VALIDO As String = records(result.Columns.Get("VALIDO")) + If VALIDO = "OK" Then + Log(VALIDO) + End If + Next + End If + + Job.Release + End If + Log($"Paso1 = ${paso1} - Name: ${name} - IMEI: ${IMEI} - IMEI_BASE: ${IMEI_BASE}"$) + If paso1 = 1 Then + If IMEI = "" Then + If user.Text = "KMTS1" Then name = "OKActivo" + If name = "OKActivo" Then + skmt.ExecNonQuery("delete from usuarioa") + skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)", Array As Object(user.Text.Trim, pass.Text.Trim)) + skmt.ExecNonQuery("delete from cat_almacen") + skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)", Array As Object (ID_ALMACEN)) + usuario = user.Text + B4XPages.ShowPage("Principal") + Else If name = "OKExpirado" Then + Msgbox("Usuario Expirado llamar al administrador","") 'Ignore + Else If name = "OKCancelado" Then + Msgbox("Usuario Cancelado llamar al administrador","") 'Ignore + Else + Msgbox("Usuario o password No validos","") 'Ignore + End If + paso1 = 0 + Else + If name = "OKActivo" & IMEI And IMEI = IMEI_BASE Then + If name = "OKActivo" & IMEI Then + skmt.ExecNonQuery("delete from usuarioa") + skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)", Array As Object(user.Text.Trim, pass.Text.Trim)) + skmt.ExecNonQuery("delete from cat_almacen") + skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)", Array As Object (ID_ALMACEN)) + usuario = user.Text + B4XPages.ShowPage("Clientes") + 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 + Else IF name = "OKActivo" Then + Msgbox("Telefono no VALIDO!","") 'ignore + Else + Msgbox("Usuario o password No validos","") 'ignore + End If + End If + End If +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub + Log("closreq") + Sleep(0) + + If p_add_monto.IsInitialized And p_add_monto.Visible Then + p_add_monto.Visible = False + Return False + Else If p_validacion.IsInitialized And p_validacion.Visible Then + p_validacion.Visible = False + Return False + Else If P_CIEGO.IsInitialized And P_CIEGO.Visible Then + MsgboxAsync("Debes de terminar el proceso para regresar a la pantalla principal","Atención") + Return False + Else If p_appUpdate.IsInitialized And p_appUpdate.Visible Then + p_appUpdate.Visible = False + Return False + End If + If Not(p_appUpdate.Visible) Then + Log("ExitApplication") + ExitApplication + End If + Return True +End Sub + +Sub GPS_LocationChanged (Location1 As Location) + If user.text = "GPS" Then + user.Text=Location1.Latitude + pass.text=Location1.Longitude + End If +End Sub + +Sub PopupMenu_Dismiss + ToastMessageShow("PopupMenu dismissed", False) +End Sub + +Sub PopupMenu_MenuItemClick (ItemId As Int) As Boolean + ToastMessageShow("Item " & ItemId & " clicked.", False) + Return False +End Sub + +Sub b_menu_Click + PopupMenu.Show +End Sub + +Sub PDF_Click + +End Sub + +'Private Sub GetAdvertisingId As ResumableSub +' Dim jo As JavaObject = Me +' jo.RunMethod("GetAdvertisingId", Null) +' Wait For AdvertisingId_Ready (Success As Boolean, Id As String) +' Return Id +'End Sub + +Sub dameUsuario + c=skmt.ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?", Array As String(user.Text)) + c.Position=0 + existe = c.GetString("EXISTE1") + c.Close + If existe > 0 Then + c=skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + Else + usuario = "SINUSUARIO" + End If +End Sub + +'#if Java +'import java.util.concurrent.Callable; +'import com.google.android.gms.ads.identifier.AdvertisingIdClient; +'import com.google.android.gms.ads.identifier.AdvertisingIdClient.Info; +' +'public static void GetAdvertisingId() { +' BA.runAsync(processBA, mostCurrent, "advertisingid_ready", new Object[] {false, ""} +' , new Callable() { +' @Override +' public Object[] call() throws Exception { +' String id = AdvertisingIdClient.getAdvertisingIdInfo(mostCurrent).getId(); +' return new Object[] {true, id}; +' } +' }); } +'#End If + +Sub copiaDB + Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_WRITE_EXTERNAL_STORAGE) + Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) + Dim theDir As String = "" + If Result Then +' Private x As String +' If File.ExternalWritable Then +' x = File.DirInternal +' Else +' x = File.DirInternal +' 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, "SHARK2_kmt.db") + ToastMessageShow("Listo, copiado a " & File.DirInternal&theDir & "/SHARK2_kmt.db", False) + Catch + ToastMessageShow("No se pudo hacer la copia: "&LastException, True) + End Try + Else + ToastMessageShow("Sin permisos", False) + End If +End Sub + +Sub b_apk_Click + StartService(appUpdater) +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 + +Sub i_engrane_Click + lv_server.Clear + ime.HideKeyboard + lv_server.AddSingleLine("http://keymon.net:1781") +' lv_server.AddSingleLine("http://keymon.lat:1781") + If user.Text = "KMTS1" Then lv_server.AddSingleLine("http://10.0.0.205:1781") +' lv_server.AddSingleLine("http://40.123.36.38:1782") + Log($"|${Starter.DBReqServer}|"$) +' l_server.Text = Starter.DBReqServer + et_server.Text = Starter.DBReqServer + Subs.panelVisible(p_appUpdate,0,0) + If user.Text.trim = "KMTS1" Then b_importarBD.Visible = True Else b_importarBD.Visible = False +End Sub + +Sub b_regesar_Click + Subs.panelVisible(p_Main,0,0) +End Sub + +Sub i_engrane_LongClick + copiaDB +End Sub + +Sub Entrar_LongClick +' dim a as int = "a" +End Sub + +Private Sub lv_server_ItemClick (Position As Int, Value As Object) + Starter.DBReqServer = Value +' l_server.Text = Value + et_server.Text = Value + Starter.reinicializaReqManager(Value) +' Starter.reqManager.Initialize(Me, Value) + ToastMessageShow("Servidor modificado", False) +End Sub + +Private Sub b_enviarbd_Click + +End Sub + +Private Sub b_importarBD_Click + Private FH As FileHandler + FH.Initialize + Wait For (FH.Load) Complete (Result As LoadResult) 'Abre un fileManager para seleccionar la base de datos a importar. + File.Copy(Result.Dir, Result.FileName, File.DirInternal, "kmt.db") 'Copia la base de datos seleccionada al directorio interno. + B4XPages.MainPage.skmt.Initialize(Starter.ruta,"kmt.db", True) 'Reiniciliza la base de datos con la recien importada. + ToastMessageShow("¡BD importada!", False) +End Sub + +Private Sub b_guardar_Click + Starter.reinicializaReqManager(et_server.Text.Trim) + p_appUpdate.Visible = False +End Sub + +Private Sub b_arqueocieego_Click + c = skmt.ExecQuery("SELECT * FROM CAT_GUNAPROD3") + If c.RowCount > 0 Then + Subs.panelVisible(p_validacion,0,0) + recarga = "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=B4XPages.MainPage.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=B4XPages.MainPage.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=B4XPages.MainPage.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 + +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 + +Sub ET_PICK_CIEGO_TextChanged (Old As String, New As String) + Dim et As EditText = Sender + If New.Length > 4 Then + et.Text = Old + 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=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info") + f.Position=0 + + a=B4XPages.MainPage.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 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 + 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("CAT_CL_RUTA"), sDate&" "&sTime)) + Else + B4XPages.MainPage.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=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info") + f.Position=0 + + a=B4XPages.MainPage.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 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 + 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("CAT_CL_RUTA"), sDate&" "&sTime)) + Else + B4XPages.MainPage.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_SHARK2" ' + cmd.Parameters = Array As Object(c.GetString("PC_ID_PROD"), c.GetString("PC_ALMACEN"), c.GetString("PC_RUTA"), c.GetString("PC_FECHA"), "VENTA") + 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 b_aceptar_Click + f=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info") + f.Position=0 + + a=B4XPages.MainPage.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")) + + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_CAT_PASS_ARQUEO_SHARK2" + cmd.Parameters = Array As Object(f.GetString("CAT_CL_RUTA"),a.GetString("ID_ALMACEN"),"PREVENTA") + reqManager.ExecuteQuery(cmd , 0, "contrasena") + f.Close + a.Close +End Sub + +Private Sub B_Aceptar_Monto_Click +' Try + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + + f=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info") + f.Position=0 + + a=B4XPages.MainPage.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + If a.RowCount>0 Then + a.Position=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 = B4XPages.MainPage.skmt.ExecQuery("select * from ENV_MONTO_LIQ") + If g.RowCount = 0 Then + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO ENV_MONTO_LIQ VALUES (?,?,?,?,?)", Array As Object(ET_Add_Monto.Text, a.GetString("ID_ALMACEN"), f.GetString("CAT_CL_RUTA"), u, sDate & " " & sTime)) + 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_SHARK2" +' LogColor("------------" & c.GetString("EML_USUARIO" & c.GetString("EML_ALMACEN") & c.GetString("EML_RUTA")),Colors.Red) + cmd.Parameters = Array As Object(c.GetString("EML_USUARIO"), c.GetString("EML_ALMACEN"), c.GetString("EML_RUTA")) + reqManager.ExecuteQuery(cmd , 0, "SelectMontoLiq") +' cmd.Name = "insert_Monto_Liq_SHARK2" +' cmd.Parameters = Array As Object(c.GetString("EML_MONTO"), c.GetString("EML_ALMACEN"), c.GetString("EML_RUTA"), c.GetString("EML_USUARIO"), "VENTA", c.GetString("EML_FECHA_PED")) + 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("CAT_CL_RUTA"), 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_SHARK2" +' LogColor("------------" & c.GetString("EML_USUARIO" & c.GetString("EML_ALMACEN") & c.GetString("EML_RUTA")),Colors.Red) + cmd.Parameters = Array As Object(c.GetString("EML_USUARIO"), c.GetString("EML_ALMACEN"), c.GetString("EML_RUTA")) + reqManager.ExecuteQuery(cmd , 0, "SelectMontoLiq") +' cmd.Name = "insert_Monto_Liq_SHARK2" +' cmd.Parameters = Array As Object(c.GetString("EML_MONTO"), c.GetString("EML_ALMACEN"), c.GetString("EML_RUTA"), c.GetString("EML_USUARIO"), "VENTA", c.GetString("EML_FECHA_PED")) + End If + c.Close + End If + +' MsgboxAsync("Monto Enviado, Si Vuelve a Mandar se sobre escribirá dicho Monto", "Atención") + p_add_monto.Visible = False +' Catch +' Log(LastException.Message) +' MsgboxAsync("Error al enviar el monto", "Error") +' End Try +End Sub + +Private Sub b_cancelarcodigo_Click + p_validacion.Visible = False +End Sub + +Private Sub B_Can_Monto_Click + p_add_monto.Visible = False +End Sub + +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 = "Envio Base de datos SHARK2" + 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_recarga_Click + c = skmt.ExecQuery("SELECT * FROM CAT_GUNAPROD") + If c.RowCount > 0 Then +' Subs.panelVisible(p_validacion,0,0) + recarga = "1" + + Starter.skmt.ExecNonQuery("delete from CUENTAA") + Starter.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object("1")) + B4XPages.MainPage.tipo_venta = "RECARGA" + B4XPages.ShowPage("Productos") + Else + MsgboxAsync("No hay ruta cargada, favor de cargar día","Atención") + End If + c.Close +End Sub + +Private Sub b_CargarMonto_Click + c = 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_CIEGO_Click + +End Sub + +Private Sub p_validacion_Click + +End Sub + +Private Sub p_add_monto_Click + +End Sub diff --git a/B4A/BatteryUtilities.bas b/B4A/BatteryUtilities.bas new file mode 100644 index 0000000..53902d5 --- /dev/null +++ b/B4A/BatteryUtilities.bas @@ -0,0 +1,126 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=9.5 +@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: +'EXTRA_LEVEL = current battery level, from 0 To EXTRA_SCALE. +'EXTRA_SCALE = the maximum battery level possible. +'EXTRA_HEALTH = the current health constant. +'EXTRA_ICON_SMALL = the resource ID of a small status bar icon indicating the current battery state. +'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. +'EXTRA_STATUS = the current status constant. +'EXTRA_TEMPERATURE = the current battery temperature. +'EXTRA_VOLTAGE = the current battery voltage level. +'A value indicating if the battery is being charged or fully charged (If neither it returns 0 Else it returns 1) +'A value indicating if it is charging via USB (0 = Not USB, 2 = USB) +'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_Cliente.bas b/B4A/C_Cliente.bas new file mode 100644 index 0000000..467f67d --- /dev/null +++ b/B4A/C_Cliente.bas @@ -0,0 +1,3030 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=11.5 +@EndOfDesignText@ +Sub MODS 'ignore + 'V3.04.10 - Se agregó código para el registro de abonos, en B4XMainPage se genera la tabla y aquí se agregó el panel p_abonos para ralizar el abono, y el codigo en el sub "mandaPendientes" para cambiar la bandera de enviado en el abono. +End Sub + +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Private p_cliente As Panel + Dim reqManager As DBRequestManager + Dim cmd As DBCommand + Dim ime As IME + Dim credito_diponible As String + Dim g As GPS + Dim ruta As String + Dim skmt As SQL + Dim clie_id As String + Dim sDate,sTime As String + Dim usuario As String + Dim total_cliente As String + Dim m_lat, m_lon As String + Dim m_lat_al, m_lon_al 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 cuenta As String + Dim tipo_venta As String = "PREVENTA" + Dim MAC_IMPRESORA As String + Dim Printer1 As EscPosPrinter + Dim c As Cursor + Dim s As Cursor + Dim DD As Cursor + Dim c2 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 impresoraConectada As Boolean = False + Dim Tels As Button + Dim Label10 As Label + Dim Label11 As Label + Dim btAdmin As BluetoothAdmin + Dim Tar As Button + Dim errorImpresora As Int = 0 + 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 + ' Dim lat_gps, lon_gps As String + + Dim l_total As Label + Dim c2 As Cursor + Dim S2 As Cursor + Private s As Cursor + Dim res As String + Dim Credi As Cursor + Private HIST As Button + Private MONTO_COMPRA As String + Private META As String + Private META2 As String + Private VERIFICA As String + Private L_QR As Label + Private BT_QR As Button + 'Private qr As QRCode + Dim CODIGO As String + + Private b_mapa As Button + Dim CUANTOS As String + Private B_IMP As Button + Dim Toggla As Toggle + Dim tgl As Toggle + Dim pre_act As Float + + Private Panel1 As Panel + Private I_COMPRA As EditText + Private B_GUARDA_C As Button + Private b_venta As Button + Dim ALMACEN As String + Private LA_GPS As Label + Private B_E_NEXT As Button + Private E_RES_E As EditText + Private t_tenc As Label + Private Panel2 As Panel + Private CONTADOR_E As String + Private HR_RES1 As String + Private HR_RES2 As String + Private HR_RES3 As String + Private EXISTE As String + Private TELEFONO As String + Dim t1 As Timer + Private RB1 As RadioButton + Private RB2 As RadioButton + Private RB3 As RadioButton + Private RB4 As RadioButton + Private RB5 As RadioButton + + Private stay_hh As String + Private stay_mi As String + Private stay_ss As String + + Private LA_GEO As Label + Dim result As Int + Private cercavalor As String + Private LA_RUTA As String + + Private b_like As Button + Private B_GPS As Button +' Dim sc As JhsIceZxing1 + Dim CODIGO As String + Private cb_factura As CheckBox + Private p_cbFactura As Panel + Dim venimosDeTicketsDia As Boolean = False + Private p_abono As Panel + Private et_abono As EditText + Private b_abono As Button + Private b_cancelar As Button + Private b_abono1 As Button + Dim b As Cursor + Private b_cxc As Button + Private clv_abonos As CustomListView + Private l_folio As Label + Private l_saldo As Label + Dim d As Cursor + Dim f As Cursor + Private l_montoabonostotal As Label + Dim j As Cursor + Dim h As Cursor + Dim distance As Long + Dim distance2 As Long + Dim cuest As C_Cuestionario + Private b_ventaabordo As Button + Private l_factura As Label + Private l_limite As Label + Private et_montoacredito As EditText + Private b_cancred As Button + Private b_acred As Button + Private p_credito As Panel + Dim banderaimp As Int = 0 + + Dim k1,k2,k3 As String + Private b_ubicar As Button + Private b_venta_credito As Button + Private b_act_coords As Button + Private l_giro As Label + Private p_atiende As Panel + Private et_atiende As EditText + Private b_cancelatiende As Button + Private b_acepatiende As Button + Private p_giro As Panel + Private cb_giro As B4XComboBox + Private b_cancelgiro As Button + Private b_acepgiro As Button + Dim giros 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 +' Activity.RemoveAllViews + Root.LoadLayout("cliente") + cuest.Initialize(Me, "cuest", Root, Starter.skmt) + ruta = File.DirInternal + If File.Exists(ruta, "kmt.db") = False Then + File.Copy(File.DirAssets, "kmt.db", ruta, "kmt.db") + End If + skmt.Initialize(ruta,"kmt.db", True) + c = 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_MTOCOMPRA, CAT_CL_GIRO from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)") + s = 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)") + b = 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 + + s.Position=0 + If c.RowCount>0 Then + c.Position=0 + la_cuenta.Text = c.GetString("CAT_CL_CODIGO") + cuenta = 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") + l_atiende.Text = c.GetString("CAT_CL_ATIENDE1") + l_giro.Text = c.GetString("CAT_CL_GIRO") + l_atiende2.Text = c.GetString("CAT_CL_ATIENTE2") + la_saldotot.Text = c.GetString("CAT_CL_TELEFONO") + la_saldooper.Text = c.GetString("CAT_CL_EMAIL") + l_total.Text = s.GetString("TOTAL_CLIE") + total_cliente = s.GetString("TOTAL_CLIE") + MONTO_COMPRA = c.GetString("CAT_CL_MTOCOMPRA") + End If + c.Close + s.Close + btAdmin.Initialize("BlueTeeth") + cmp20.Initialize("Printer") + Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_CAMERA) + Wait For B4XPage_PermissionResult (Permission As String, resultC As Boolean) + Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_WRITE_EXTERNAL_STORAGE) + Wait For B4XPage_PermissionResult (Permission As String, resultC As Boolean) + +' h = B4XPages.MainPage.skmt.ExecQuery("SELECT CUENTA from CUENTAA") +' h.Position = 0 +' Log(h.GetString("CUENTA")) +' j = B4XPages.MainPage.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 +' b_cxc.Enabled = True +' Else If j.RowCount > 0 Then +' b_cxc.Enabled = False +' End If +' h.Close +' j.Close + +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 + Guardar.Enabled = True + gest.Enabled = True + b_cxc.Enabled = True + Tar.Enabled = True + Tels.Enabled = True + b_ventaabordo.Enabled = True +' b_ventaabordo.Enabled = False + HIST.Enabled = True + reqManager.Initialize(Me, Starter.DBReqServer) + LA_GPS.TextColor = Colors.Red + LA_GPS.Text = "SIN UBICACION GPS" + cercavalor = 0 + If Not(Starter.gps.GPSEnabled) Then + ToastMessageShow("Es necesario tener el GPS encendido", True) + StartActivity(Starter.gps.LocationSettingsIntent) + End If +' Log("appear") + cb_factura.Checked = False + p_abono.Visible = False + Subs.centraPanel(p_abono, Root.Width) + Subs.centraPanel(p_atiende, Root.Width) + Subs.centraPanel(p_giro, Root.Width) + Subs.centraPanel(p_credito, Root.Width) + skmt.Initialize(ruta,"kmt.db", True) + c=B4XPages.MainPage.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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, CAT_CL_GIRO from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa) UNION ALL select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, CAT_CL_GIRO from kmt_info2 where CAT_CL_CODIGO In (Select cuenta from cuentaa)") + s=B4XPages.MainPage.skmt.ExecQuery("Select SUM(PE_COSTO_TOT) As TOTAL_CLIE, SUM(PE_CANT) As CANT_CLIE, PC_FACTURA FROM PEDIDO_CLIENTE INNER JOIN PEDIDO ON PEDIDO_CLIENTE.PC_CLIENTE = PEDIDO.PE_CLIENTE WHERE (PE_CLIENTE IN (Select cuenta from cuentaa))") + b = B4XPages.MainPage.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 + + s.Position=0 + If c.RowCount > 0 Then + 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") + l_entre1.Text = c.GetString("CAT_CL_CALLE1") + l_entre2.Text = c.GetString("CAT_CL_CALLE2") + l_atiende.Text = c.GetString("CAT_CL_ATIENDE1") + l_giro.Text = c.GetString("CAT_CL_GIRO") + l_atiende2.Text = c.GetString("CAT_CL_ATIENTE2") + TELEFONO = c.GetString("CAT_CL_TELEFONO") + l_total.Text = s.GetString("TOTAL_CLIE") + total_cliente = s.GetString("TOTAL_CLIE") + Private factura As String = 0 + If s.GetString("PC_FACTURA") <> Null And IsNumber(s.GetString("PC_FACTURA")) Then factura = s.GetString("PC_FACTURA") + If factura = "1" Then cb_factura.Checked = True + m_lat = "0" + If c.GetString("CAT_CL_LAT") <> "" Then m_lat =c.GetString("CAT_CL_LAT") + If m_lat.Length < 5 Then m_lat = "0" + m_lon = "0" + If c.GetString("CAT_CL_LONG") <> "" Then m_lon =c.GetString("CAT_CL_LONG") + If m_lon.Length < 5 Then m_lon = "0" + LA_RUTA = c.GetString("CAT_CL_RUTA") + ' ESTO ES PARA FORZAR A PEDIR LA FOTO Y EL GPS + If c.GetString("CAT_CL_NUM_SERIEFISICO") = "0" Then + L_QR.TEXT = "SIN CODIGO" + L_QR.TextColor = Colors.Red +' gest.VISIBLE = True + gest.VISIBLE = False + BT_QR.Visible = True + Else + L_QR.TEXT = c.GetString("CAT_CL_NUM_SERIEFISICO") + L_QR.TextColor = Colors.Blue + BT_QR.Visible = False + End If + End If + + Dim cor_al As Cursor = Starter.skmt.ExecQuery("SELECT LAT, LONG FROM COORDS_ALMACEN") + If cor_al.RowCount > 0 Then + cor_al.Position = 0 + m_lat_al = cor_al.GetString("LAT") + m_lon_al = cor_al.GetString("LONG") + End If + + c.Close + s.Close + S2=B4XPages.MainPage.skmt.ExecQuery("select count(*) AS CUANTOS from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)") + S2.Position =0 + CUANTOS = S2.GetString("CUANTOS") + S2.Close + If CUANTOS > 0 Then + c2=B4XPages.MainPage.skmt.ExecQuery("select sum(HVD_COSTO_TOT) AS TOTAL from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)") + c2.Position =0 + MONTO_COMPRA = c2.GetString("TOTAL") + c2.Close + Else + MONTO_COMPRA = "0" + End If + + la_saldotot.Text = MONTO_COMPRA + If MONTO_COMPRA <> "0" Then + META2 = 300 - MONTO_COMPRA + Else + META2 = 300 + End If + If META2 < 1 Then + META2 = "CUBIERTO" + End If + la_saldooper.Text = META2 + c=B4XPages.MainPage.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + If c.RowCount>0 Then + C.Position=0 + ALMACEN = C.GetString("ID_ALMACEN") + End If + c.Close + + Dim geo As Cursor = Starter.skmt.ExecQuery("SELECT ACTIVA FROM GEOCERCA") + If geo.RowCount > 0 Then + geo.Position = 0 + If geo.GetInt("ACTIVA") = 0 Then + Tels.Visible = True +' gest.Visible = True + gest.Visible = False + Else If geo.GetInt("ACTIVA") = 1 Then + Tels.Visible = False + gest.Visible = False + End If + End If + +' If ALMACEN = "3" Then +' b_act_coords.visible = False +' Else +' b_act_coords.visible = True + +' End If + If ALMACEN = "4" Then +' b_like.Visible = True + DD=B4XPages.MainPage.skmt.ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?", Array As String("KNORR RINDE MAS 70 GR")) + DD.Position =0 + If DD.GetString("CUANTOS") = 0 Then + c=B4XPages.MainPage.skmt.ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?", Array As String("KNORR RINDE MAS 70 GR")) + c.Position =0 +' If c.GetString("CUANTOS") = 0 Then +' b_like.Visible = True +' Else +' b_like.Visible = False +' End If + c.Close + Else +' b_like.Visible = False + End If + DD.Close + Else +' b_like.Visible = False + End If + If ALMACEN = "16" Or ALMACEN = "13" Then + Tels.Visible = True +' gest.Visible = True + gest.Visible = False + End If + CallSubDelayed(Tracker, "Track") + CallSubDelayed(Tracker, "StartFLPSmall") + If Tracker.FLP.IsInitialized And Tracker.FLP.GetLastKnownLocation.IsInitialized Then 'Si tenemos "UltimaUbicaccionConocida" la usamos. + B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastKnownLocation.Latitude + B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastKnownLocation.Longitude +' Log($"Tenemos UUC: ${Tracker.FLP.GetLastKnownLocation.Latitude},${Tracker.FLP.GetLastKnownLocation.Longitude}"$) + GPS_LocationChanged(Tracker.FLP.GetLastKnownLocation) + End If + +' h = B4XPages.MainPage.skmt.ExecQuery("SELECT CUENTA from CUENTAA") +' h.Position = 0 +' Log(h.GetString("CUENTA")) +' j = B4XPages.MainPage.skmt.ExecQuery2("SELECT a_abono AS CUANTOS FROM ABONOS WHERE a_cliente = ?", Array As String(h.GetString("CUENTA"))) +' j.position = 0 +' Log(j.RowCount) +' If j.RowCount = 0 Then +' b_cxc.Enabled = True +' Else If j.RowCount > 0 Then +' b_cxc.Enabled = False +' End If +' h.Close +' j.Close + + If la_cuenta.Text = "0" Or la_cuenta.Text = "1" Then + p_cbFactura.Visible = False + l_factura.Visible = False + b_ventaabordo.Visible = False + gest.Visible = True + Else +' p_cbFactura.Visible = True + p_cbFactura.Visible = False +' l_factura.Visible = True + l_factura.Visible = False + b_ventaabordo.Visible = True +' b_ventaabordo.Visible = False + End If + + + c = 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 + + pre_act = Subs.traeTotalClientepreventaparacredito + + 'SELECT CAT_CL_BCREDITO, CAT_CL_CODIGO, Ifnull(SALDO_PENDIENTE,0) FROM KMT_INFO INNER JOIN ABONOSP ON CAT_CL_CODIGO = CLIENTE WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) + + Private credi2 As Cursor = B4XPages.MainPage.skmt.ExecQuery("SELECT IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_CODIGO, Ifnull(SALDO_PENDIENTE,0) As SALDO_PENDIENTE, Ifnull(CAT_CL_LIMITECREDITO,0) As CAT_CL_LIMITECREDITO FROM KMT_INFO LEFT JOIN ABONOSP ON CAT_CL_CODIGO = CLIENTE WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_BCREDITO, CAT_CL_CODIGO, Ifnull(SALDO_PENDIENTE,0) As SALDO_PENDIENTE, Ifnull(CAT_CL_LIMITECREDITO,0) As CAT_CL_LIMITECREDITO FROM KMT_INFO2 LEFT JOIN ABONOSP ON CAT_CL_CODIGO = CLIENTE WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + Log(credi2.RowCount) + If credi2.RowCount > 0 Then + credi2.Position = 0 + credito_diponible = credi2.GetString ("CAT_CL_LIMITECREDITO") + Log(credi2.GetString ("CAT_CL_BCREDITO")) + If credi2.GetString ("CAT_CL_BCREDITO") = "1" Then + Log(credi2.GetString("SALDO_PENDIENTE")) + If credi2.GetString("SALDO_PENDIENTE") > 0 Then + + Private credi3 As Cursor = B4XPages.MainPage.skmt.ExecQuery("SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO2 INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + If credi3.RowCount > 0 Then + credi3.Position = 0 + Dim total As String = 0 + For i = 0 To credi2.RowCount - 1 + credi2.Position = i + Log(credi2.GetString("SALDO_PENDIENTE")) + total = total + credi2.GetString("SALDO_PENDIENTE") + Log(total) + Next + If NumberFormat2(total,1,2,2,False) <> NumberFormat2(credi3.GetString ("a_abono"),1,2,2,False) Then + MsgboxAsync("La venta sera en efectivo porque el pago del pagare es menor al total de la deuda.","Atención") + b_venta_credito.Visible = False + Else If credi2.GetString ("SALDO_PENDIENTE") = credi3.GetString ("a_abono") Then + Log("AQUI ESTOY SI VISIBLE BOTON") + b_venta_credito.Visible = False ''' AQUI ACTIVAR PARA CREDITOS + End If + Else + MsgboxAsync("La venta sera en efectivo por que hay un pagare pendiente de pago","Atención") + b_venta_credito.Visible = False + End If + credi3.Close + Else If credi2.GetString("SALDO_PENDIENTE") = 0 Then + b_venta_credito.Visible = False '' AQUI ACTIVAR + End If + + Else + Log(1) + b_venta_credito.Visible = False + If credi2.GetString("SALDO_PENDIENTE") > 0 Then + Private credi3 As Cursor = B4XPages.MainPage.skmt.ExecQuery("SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO2 INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + If credi3.RowCount > 0 Then + credi3.Position = 0 + + Dim total As String = 0 + For i = 0 To credi2.RowCount - 1 + credi2.Position = i + Log(credi2.GetString("SALDO_PENDIENTE")) + total = total + credi2.GetString("SALDO_PENDIENTE") + Log(total) + Next + If NumberFormat2(total,1,2,2,False) <> NumberFormat2(credi3.GetString ("a_abono"),1,2,2,False) Then + MsgboxAsync("La venta sera en efectivo porque el pago del pagare es menor al total de la deuda.","Atención") + Else If credi2.GetString ("SALDO_PENDIENTE") = credi3.GetString ("a_abono") Then + End If + Else + MsgboxAsync("La venta sera en efectivo por que hay un pagare pendiente de pago","Atención") + End If + credi3.Close + Else If credi2.GetString("SALDO_PENDIENTE") = 0 Then +' b_venta_credito.Visible = False + End If + End If + End If + credi2.Close + If la_cuenta.Text = "0" Then + gest.Text = "Abordo" + B4XPages.MainPage.recarga = "0" + Else If la_cuenta.Text = "1" Then + gest.Text = "Recarga" + B4XPages.MainPage.recarga = "1" + Else +' gest.Text = "Pre-Venta a Contado" + gest.Text = "Preventa" + B4XPages.MainPage.recarga = "0" + End If + LogColor(B4XPages.MainPage.recarga,Colors.Blue) +' If banderaimp = 1 Then +' Guardar_Click +' End If +End Sub + +Sub GPS_LocationChanged (Location1 As Location) +' LogColor($"Entrando a Cliente.GPS_LocationChanged"$, Colors.red) + If Tracker.FLP.GetLastKnownLocation.IsInitialized And Tracker.FLP.GetLastKnownLocation.Latitude <> 0 Then + B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastKnownLocation.Latitude + B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastKnownLocation.Longitude +' Log("Coords set to: " & B4XPages.MainPage.lat_gps & " and " & B4XPages.MainPage.lon_gps) + End If + + Dim l1, l2,l3 As Location + l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps) +' Log($"Coordenadas de la tienda - lat:${m_lat}, lon:${m_lon}"$) + l2.Initialize2(m_lat, m_lon) + l3.Initialize2(m_lat_al,m_lon_al) + BT_QR.Enabled = True + LA_GPS.TextColor = Colors.Blue + LA_GPS.Text = "CON UBICACION GPS" +' B_GPS.Enabled = True + 'now we need the distance between our location and the target location + distance = l1.DistanceTo(l2) 'the result is in meter + distance2 = l1.DistanceTo(l3) 'the result is in meter +' gest.Visible = True + + Dim geo As Cursor = Starter.skmt.ExecQuery("SELECT ACTIVA FROM GEOCERCA") + If geo.RowCount > 0 Then + geo.Position = 0 + If geo.GetInt("ACTIVA") = 0 Then + Tels.Visible = True +' gest.Visible = True + gest.Visible = False + Else If geo.GetInt("ACTIVA") = 1 Then + If distance2 < 100 Then + LA_GEO.TextColor = Colors.Blue + Tels.Visible = True +' gest.Visible = True + gest.Visible = False + Else + If distance < 50 Then + LA_GEO.TextColor = Colors.Blue + Tels.Visible = True +' gest.Visible = True + gest.Visible = False + Else + LA_GEO.TextColor = Colors.Red + Tels.Visible = False + gest.Visible = False + End If + End If + End If + End If + + LA_GEO.Text= $"$1.2{distance/1000} kms"$ + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM HIST_GPS") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ", Array As Object (sDate & sTime, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps)) + CallSubDelayed(Tracker, "CreateLocationRequest") +End Sub + +Sub ListView1_ItemLongClick (Position As Int, Value As Object) + +End Sub + +Sub gest_Click + If la_cuenta.Text = "0" Then + B4XPages.MainPage.tipo_venta = "ABORDO" + Else If la_cuenta.Text = "1" Then + B4XPages.MainPage.tipo_venta = "RECARGA" + Else + B4XPages.MainPage.tipo_venta = "PREVENTA_CONTADO" + End If + + 'Buscamos en el historial de cuestionarios si el cliente ya tiene cuestionario contestado. +' Private hc As Cursor = Starter.skmt.ExecQuery($"select count(HC_CLIENTE) as cuantos from HIST_CUESTIONARIO where HC_CLIENTE = '${Subs.traeCliente}'"$) +' hc.Position = 0 +' Log($"${cuest.encuestaIniciada} - ${hc.GetString("cuantos")} - ${cuest.clienteConCuestionario(Subs.traeCliente)}"$) +' +' If la_cuenta.Text <> "0" And Not(cuest.encuestaIniciada) And hc.GetString("cuantos") = 0 And Not(cuest.clienteConCuestionario(Subs.traeCliente)) Then +' cuest.agregaPregunta("1", "¿Se puede acceder al negocio o está enrejado?", Array As String("No, está enrejado o no se tiene acceso", "Si se pude acceder")) +' Return False +' End If +' Private x As Cursor = B4XPages.MainPage.skmt.ExecQuery($"select tienda_id from COORDENADAS_GPS where tienda_id = '${la_cuenta.text}'"$) +' Log("+++++++++++++ " & x.RowCount) +' If la_cuenta.Text<> "0" And distance > 50 And x.RowCount = 0 Then +' Private res As String = Msgbox2("¿Estas en la tienda, para guardar la nueva ubicación?", "AVISO", "Si","" ,"No", Null) 'ignore +' If res = DialogResponse.POSITIVE Then +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' B4XPages.MainPage.skmt.ExecNonQuery($"insert into COORDENADAS_GPS (tienda_id, ruta, almacen, latitud, longitud, fecha) values ('${la_cuenta.Text}', '${Subs.traeRuta}', '${Subs.traeAlmacen}', '${B4XPages.MainPage.lat_gps}', '${B4XPages.MainPage.lon_gps}', '${sDate} ${sTime}')"$) +' +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_coords_nuevas_INTMEX" +' cmd.Parameters = Array As Object(la_cuenta.text, Subs.traeRuta, Subs.traeAlmacen, sDate & " " & sTime, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps, usuario) +'' Log($"${la_cuenta.text}, ${Subs.traeRuta}, ${Subs.traeAlmacen}, ${sDate} ${sTime}, ${m_lat}, ${m_lon}"$) +' reqManager.ExecuteCommand(cmd , "ins_coords_nuevas") +' End If +' End If + 'Si hay mapa de productos es que hay venta en proceso, entonces borramos la actual para meter la nueva. +' If B4XPages.MainPage.productos.prodsMap.IsInitialized And B4XPages.MainPage.productos.prodsMap.Size > 0 Then Subs.borraPedidoClienteActual + B4XPages.ShowPage("productos") +End Sub + +Private Sub b_venta_credito_Click + If la_cuenta.Text = "0" Then + B4XPages.MainPage.tipo_venta = "ABORDO" + Else If la_cuenta.Text = "1" Then + B4XPages.MainPage.tipo_venta = "RECARGA" + Else + B4XPages.MainPage.tipo_venta = "PREVENTA_CREDITO" + End If + B4XPages.ShowPage("productos") +End Sub + +Sub Tels_Click + B4XPages.ShowPage("NoVenta") +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub +' BACK key pressed +' Return True To close, False To cancel +' Log($"venimosDeTicketsDia=${venimosDeTicketsDia}"$) + If Starter.pre_viejo = pre_act Then + If (la_cuenta.Text <> "0" And la_cuenta.Text <> "1") Then + If banderaimp = 1 Then + Else + cuest.encuestaIniciada = False + cuest.ocultPanelPregunta + If IsNumber(l_total.text) And Not(Subs.pedidoGuardado) Then + LogColor("Hay Venta", Colors.Red) + Private resultado1 As Int = Msgbox2($"Va salir sin haber guardado la venta, si continua, la venta se BORRARA.${CRLF}${CRLF}¿Esta seguro que desea continuar?"$, "SE VA A BORRAR LA VENTA", "Borrar Venta", "Guardar Venta", "", LoadBitmap(File.DirAssets,"alert2.png")) + If resultado1 = DialogResponse.POSITIVE Then + Log("Borrra venta") + Subs.borraPedidoClienteActual + ToastMessageShow("Venta Borrada", False) +' venimosDeTicketsDia = False + B4XPages.ShowPage("Principal") + else if resultado1=DialogResponse.CANCEL Then + Log("Pedido guardado") + Guardar_Click + ToastMessageShow("Venta Guardada", False) + End If + End If +' venimosDeTicketsDia = False + B4XPages.ShowPage("Clientes") + End If +' Else If la_cuenta.Text = "1" Then +' If B4XPages.MainPage.recarga = "1" Then +' B4XPages.ShowPage("login") +' End If + Else + End If + Else + If B4XPages.MainPage.recarga = "1" Then + B4XPages.ShowPage("login") + End If + + End If +' Return True + Return False +End Sub + +Sub Tar_Click + B4XPages.ShowPage("Nota") +End Sub + +'Sub Tar_LongClick +' p_abono.Visible = True +'End Sub + +Sub DATOS_Click + B4XPages.ShowPage("telefonos") +End Sub + +Sub Guardar_Click + c = B4XPages.MainPage.skmt.ExecQuery2("Select COUNT(Case WHEN PE_FOLIO = 'PREVENTA_CONTADO' THEN 1 END) AS CUANTOS_CONTADO,COUNT(Case WHEN PE_FOLIO = 'PREVENTA_CREDITO' THEN 1 END) AS CUANTOS_CREDITO FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta FROM CUENTAA) And (PE_FOLIO = ? OR PE_FOLIO = ?)", Array As String("PREVENTA_CONTADO", "PREVENTA_CREDITO")) + c.Position = 0 +' If c.GetString("CUANTOS_CONTADO") > 0 Or c.GetString("CUANTOS_CREDITO") > 0 Then + Log("Esto es Contado<<<<<<<<<<<<<: " & c.GetString("CUANTOS_CONTADO")) + Log("Esto es Credito<<<<<<<<<<<<<: " & c.GetString("CUANTOS_CREDITO")) + + '----------------------- + If c.GetString("CUANTOS_CREDITO") = 0 Then + GuardaVenta + Else If c.GetString("CUANTOS_CREDITO") > 0 Then + Dim fg As Cursor = Starter.skmt.ExecQuery("Select IFNULL(sum(PE_COSTO_TOT),0) AS COSTO, PE_FOLIO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'") + fg.Position = 0 + Dim costo As String = fg.GetString("COSTO") + + If costo > 0 And costo < 1000 Then + Msgbox2Async($"¿Desea continuar?${CRLF}Si acepta, el pedido a crédito se borrará (mínimo $1,000).${CRLF}Si cancela, podrá seguir agregando productos."$,"Venta Minima de Credito", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png"),False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + Subs.borraPedidoCredito + GuardaVenta +' End If + End If + Else If costo >= 1000 Then + Dim cPagares As Cursor = B4XPages.MainPage.skmt.ExecQuery("SELECT COUNT(*) As REGISTRADO FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + cPagares.Position = 0 + If cPagares.GetString("REGISTRADO") = 0 Then + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA, PA_FECHA, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?) ", Array As Object (ALMACEN, LA_RUTA, (sDate &" "& sTime),(sDate &" "& sTime), costo, usuario, la_cuenta.Text)) + Log("Aqui inserto: " & "Almacen: " & ALMACEN & "Ruta " & LA_RUTA & "Fecha: " & (sDate &" "& sTime) & "Captura: " & (sDate &" "& sTime) & "Monto: " & costo & "Usuario: " & usuario & "Cliente: " & la_cuenta.Text & "<<<<<<<<<<<<<<<<<<<<<") + GuardaVenta + p_credito.Visible = False + Else + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE PAGARES set PA_FECHA = ?, PA_CAPTURA = ?, PA_MONTO = ? where PA_CLIENTE In (select cuenta from cuentaa)", Array As Object ((sDate &" "& sTime),(sDate &" "& sTime), et_montoacredito.Text)) + Log("Aqui actualizo: " & "Almacen: " & ALMACEN & "Ruta " & LA_RUTA & "Fecha: " & (sDate &" "& sTime) & "Captura: " & (sDate &" "& sTime) & "Monto: " & costo & "Usuario: " & usuario & "Cliente: " & la_cuenta.Text & "<<<<<<<<<<<<<<<<<<<<<") + GuardaVenta + p_credito.Visible = False + End If + cPagares.Close + GuardaVenta + End If + fg.Close + End If +' End If + c.Close + '----------------------- + +' If la_cuenta.Text <> 0 Then +' Credi = B4XPages.MainPage.skmt.ExecQuery("Select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info Where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) and CAT_CL_CODIGO NOT IN (SELECT CLIENTE FROM ABONOSP) UNION Select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info2 Where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) and CAT_CL_CODIGO NOT IN (SELECT CLIENTE FROM ABONOSP)") +' 'INNER JOIN KMT_INFO2 ON CAT_CL_CODIGO = CL_CUENTA +' If Credi.RowCount > 0 Then +' Credi.Position = 0 +' If Credi.GetString("CAT_CL_BCREDITO") = "1" Then +' If l_total.Text <> "null" Then +' If pre_act <> Starter.pre_viejo Then +' Msgbox2Async("La venta es a credito?", "ATENCION","SI","", "NO",LoadBitmap(File.DirAssets,"alert2.png"), False) +' Wait For Msgbox_Result (resultado As Int) +' If resultado = DialogResponse.POSITIVE Then +' p_credito.Visible = True +' Dim limitcred As Cursor +' limitcred = B4XPages.MainPage.skmt.ExecQuery("SELECT CAT_CL_LIMITECREDITO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_LIMITECREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") +' limitcred.Position = 0 +' l_limite.Text = "Limite de credito: $" & limitcred.GetString("CAT_CL_LIMITECREDITO") +' If Subs.traeTotalClientepreventaparacredito >= limitcred.GetString("CAT_CL_LIMITECREDITO") Then +' et_montoacredito.Text = limitcred.GetString("CAT_CL_LIMITECREDITO") +' Else +' et_montoacredito.Text = Subs.traeTotalClientepreventaparacredito +' End If +' limitcred.Close +' Else +' GuardaVenta +' End If +' Else If pre_act = Starter.pre_viejo Then +' GuardaVenta +' End If +' Else If l_total.Text = "null" Then +' GuardaVenta +' End If +' Else If Credi.GetString("CAT_CL_BCREDITO") = "0" Then +' GuardaVenta +' End If +' Else +' Private credi2 As Cursor = B4XPages.MainPage.skmt.ExecQuery("SELECT CAT_CL_BCREDITO, a_abono, SALDO_PENDIENTE FROM KMT_INFO INNER JOIN ABONOSP ON CAT_CL_CODIGO = CLIENTE INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_BCREDITO, a_abono, SALDO_PENDIENTE FROM KMT_INFO2 INNER JOIN ABONOSP ON CAT_CL_CODIGO = CLIENTE INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") +' If credi2.RowCount > 0 Then +' credi2.Position = 0 +' Dim total As String = 0 +' For i = 0 To credi2.RowCount - 1 +' credi2.Position = i +' Log(credi2.GetString("SALDO_PENDIENTE")) +' total = total + credi2.GetString("SALDO_PENDIENTE") +' Log(total) +' Next +' If credi2.GetString ("CAT_CL_BCREDITO") = "1" And credi2.GetString ("a_abono")=total Then +' If l_total.Text <> "null" Then +' If pre_act <> Starter.pre_viejo Then +' Msgbox2Async("La venta es a credito?", "ATENCION","SI","", "NO",LoadBitmap(File.DirAssets,"alert2.png"), False) +' Wait For Msgbox_Result (resultado As Int) +' If resultado = DialogResponse.POSITIVE Then +' p_credito.Visible = True +' Dim limitcred As Cursor +' limitcred = B4XPages.MainPage.skmt.ExecQuery("SELECT CAT_CL_LIMITECREDITO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_LIMITECREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") +' limitcred.Position = 0 +' l_limite.Text = "Limite de credito: $" & limitcred.GetString("CAT_CL_LIMITECREDITO") +' If Subs.traeTotalClientepreventaparacredito >= limitcred.GetString("CAT_CL_LIMITECREDITO") Then +' et_montoacredito.Text = limitcred.GetString("CAT_CL_LIMITECREDITO") +' Else +' et_montoacredito.Text = Subs.traeTotalClientepreventaparacredito +' End If +' limitcred.Close +' Else +' GuardaVenta +' End If +' Else If pre_act = Starter.pre_viejo Then +' GuardaVenta +' End If +' Else If l_total.Text = "null" Then +' GuardaVenta +' End If +' Else +' GuardaVenta +' End If +' Else +' GuardaVenta +' End If +' End If +'' Credi.Close +' Else If la_cuenta.Text = 0 Then +' GuardaVenta +' End If +' Else If c.GetString("CUANTOS") = 0 Then +' GuardaVenta +' End If +' c.Close +End Sub + +Private Sub b_acred_Click + c2=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") + c2.Position=0 + usuario = c2.GetString("USUARIO") + c2.Close + Dim limitcred As Cursor + DateTime.DateFormat = "MM/dd/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate = DateTime.Date(DateTime.Now) + sTime = DateTime.Time(DateTime.Now) + limitcred = B4XPages.MainPage.skmt.ExecQuery("SELECT CAT_CL_LIMITECREDITO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_LIMITECREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + limitcred.Position = 0 + l_limite.Text = "Limite de credito: $" & limitcred.GetString("CAT_CL_LIMITECREDITO") + If Subs.traeTotalClientepreventaparacredito >= limitcred.GetString("CAT_CL_LIMITECREDITO") Then + + If et_montoacredito.Text > limitcred.GetString("CAT_CL_LIMITECREDITO") Then + MsgboxAsync("El monto del pagare no puede ser mayor al limite del credito","Atención") + et_montoacredito.Text = limitcred.GetString("CAT_CL_LIMITECREDITO") + Else + c = B4XPages.MainPage.skmt.ExecQuery("SELECT COUNT(*) As REGISTRADO FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + c.Position = 0 + If c.GetString("REGISTRADO") = 0 Then +' MsgboxAsync("SI ENTRAMOS 3","Atención") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA, PA_FECHA, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?) ", Array As Object (ALMACEN, LA_RUTA, (sDate &" "& sTime),(sDate &" "& sTime), et_montoacredito.Text, usuario, la_cuenta.Text)) + Log("Inserto: " &" Almacen: "& ALMACEN &" Ruta: "& LA_RUTA &" Fecha: "& (sDate &" "& sTime) &"Captura: "&(sDate &" "& sTime) &" Monto: "& et_montoacredito.Text &" Usuario: "& usuario &" Cliente: "& la_cuenta.Text) + GuardaVenta + p_credito.Visible = False + Else +' MsgboxAsync("SI ENTRAMOS4","Atención") + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE PAGARES set PA_FECHA = ?, PA_CAPTURA = ?, PA_MONTO = ? where PA_CLIENTE In (select cuenta from cuentaa)", Array As Object ((sDate &" "& sTime),(sDate &" "& sTime), et_montoacredito.Text)) + Log("Actualizo: " &" Almacen: "& ALMACEN &" Ruta: "& LA_RUTA &" Fecha: "& (sDate &" "& sTime) &"Captura: "&(sDate &" "& sTime) &" Monto: "& et_montoacredito.Text &" Usuario: "& usuario &" Cliente: "& la_cuenta.Text) + GuardaVenta + p_credito.Visible = False + End If + End If + Else If Subs.traeTotalClientepreventaparacredito < limitcred.GetString("CAT_CL_LIMITECREDITO") Then + If et_montoacredito.Text > Subs.traeTotalClientepreventaparacredito Then + MsgboxAsync("El monto del pagare no puede ser mayor a la preventa registrada","Atención") + et_montoacredito.Text = Subs.traeTotalClientepreventaparacredito + Else + c = B4XPages.MainPage.skmt.ExecQuery("SELECT COUNT(*) As REGISTRADO FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + c.Position = 0 + If c.GetString("REGISTRADO") = 0 Then +' MsgboxAsync("SI ENTRAMOS","Atención") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA, PA_FECHA, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?) ", Array As Object (ALMACEN, LA_RUTA, (sDate &" "& sTime),(sDate &" "& sTime), et_montoacredito.Text, usuario, la_cuenta.Text)) + Log("Aqui hay informacion variada e inserte: " & (sDate &" "& sTime) & (sDate &" "& sTime) & (et_montoacredito.Text) & "<<<<<<<<<<<<<<<<<<<<<") + GuardaVenta + p_credito.Visible = False + Else +' MsgboxAsync("SI ENTRAMOS 2","Atención") + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE PAGARES set PA_FECHA = ?, PA_CAPTURA = ?, PA_MONTO = ? where PA_CLIENTE In (select cuenta from cuentaa)", Array As Object ((sDate &" "& sTime),(sDate &" "& sTime), et_montoacredito.Text)) + Log("Aqui hay informacion variada y acualice: " & (sDate &" "& sTime) & (sDate &" "& sTime) & (et_montoacredito.Text) & "<<<<<<<<<<<<<<<<<<<<<") + GuardaVenta + p_credito.Visible = False + End If + End If + End If + limitcred.Close +End Sub + +Private Sub b_cancred_Click + p_credito.Visible = False +End Sub + +Sub GuardaVenta + If pre_act <> Starter.pre_viejo Then + B_IMP_Click + Guardar.Enabled = False + gest.Enabled = False + b_cxc.Enabled = False + Tar.Enabled = False + Tels.Enabled = False + b_ventaabordo.Enabled = False + HIST.Enabled = False + banderaimp = 1 + Else If pre_act = Starter.pre_viejo Then + If banderaimp = 1 Then + B_IMP_Click + Else + GUADAVENTA2 + End If + End If +End Sub + +Sub GUADAVENTA2 + Log(B4XPages.MainPage.recarga) + If B4XPages.MainPage.recarga = "0" Then + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") + c.Position=0 + clie_id = c.GetString("CUENTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + c.Position=0 + ' Log("xxxxxxxxxxxxxxx " & c.GetString("CUANTOS")) + If c.GetString("CUANTOS") > 0 Then + Private cbFactura As Int = 0 + If cb_factura.Checked Then cbFactura = 1 + B4XPages.MainPage.skmt.ExecNonQuery("delete from NOVENTA where NV_CLIENTE In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT, PC_ENVIO_OK, PC_FACTURA) VALUES (?,?,?,?,?,?,?,?,?)", Array As Object(clie_id, sDate & sTime, usuario, c.GetString("CANT_CLIE"),c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps, 0, cbFactura)) + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info2 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)") + End If + c.Close + DateTime.TimeFormat = "HHmmss" + sTime=DateTime.Time(DateTime.Now) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_OUT = 0 AND HSS_CODIGO In (select cuenta from cuentaa)", Array As Object(sTime)) + ' B4XPages.MainPage.skmt.ExecNonQuery("UPDATE HIST_STAY_STORE set HSS_TOT = HSS_OUT - HSS_IN where HSS_CODIGO In (select cuenta from cuentaa)") + Try + c=B4XPages.MainPage.skmt.ExecQuery(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, " & _ + "Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) " & _ + " Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, " & _ + "Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) " & _ + " Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES " & _ + " from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) ") + c.Position = 0 + stay_hh = c.GetString("HORAS_TOTALES") * 60 * 60 + stay_mi = c.GetString("MINUTOS_TOTALES") * 60 + stay_ss = c.GetString("SEGUNDOS_TOTALES") + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)", Array As Object(stay_hh + stay_mi + stay_ss)) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_FIN = ? ", Array As Object(sTime)) + c.Close + Catch + ToastMessageShow(".",True) + End Try + + skmt.ExecNonQuery2("update PEDIDO_INICIO_FINAL set PIF_HORA_FINAL = ? where PIF_CLIENTE = ? and PIF_HORA_FINAL = 0", Array As Object (DateTime.Now, la_cuenta.Text)) + ' LogColor($"actualizamos "${la_cuenta.text}, hora_final=${DateTime.now}"$,Colors.Red) + Subs.actualizaTET(la_cuenta.text) + DateTime.TimeFormat = "HH:mm:ss" + +' mandaPendientes 'LO COMENTAMOS PARA PRUEBAS, ACTIVAR AL FINAL!!! + mandapiezas + B4XPages.MainPage.productos.reiniciarlistaProds = True + B4XPages.MainPage.productos.prodsMap.Initialize + B4XPages.MainPage.promos.promosMap.Initialize + Guardar.Enabled = True + gest.Enabled = True + b_cxc.Enabled = True + Tar.Enabled = True + Tels.Enabled = True + b_ventaabordo.Enabled = True +' b_ventaabordo.Enabled = False + HIST.Enabled = True + banderaimp = 0 + mandaPendientePagare + B4XPages.ShowPage("Principal") + Else If B4XPages.MainPage.recarga = "1" Then + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") + c.Position=0 + clie_id = c.GetString("CUENTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + c.Position=0 + ' Log("xxxxxxxxxxxxxxx " & c.GetString("CUANTOS")) + If c.GetString("CUANTOS") > 0 Then + Private cbFactura As Int = 0 + If cb_factura.Checked Then cbFactura = 1 + B4XPages.MainPage.skmt.ExecNonQuery("delete from NOVENTA where NV_CLIENTE In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT, PC_ENVIO_OK, PC_FACTURA) VALUES (?,?,?,?,?,?,?,?,?)", Array As Object(clie_id, sDate & sTime, usuario, c.GetString("CANT_CLIE"),c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps, 0, cbFactura)) + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)") + End If + c.Close + DateTime.TimeFormat = "HHmmss" + sTime=DateTime.Time(DateTime.Now) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_OUT = 0 AND HSS_CODIGO In (select cuenta from cuentaa)", Array As Object(sTime)) + ' B4XPages.MainPage.skmt.ExecNonQuery("UPDATE HIST_STAY_STORE set HSS_TOT = HSS_OUT - HSS_IN where HSS_CODIGO In (select cuenta from cuentaa)") +' Try +' c=B4XPages.MainPage.skmt.ExecQuery(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, " & _ +' "Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) " & _ +' " Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, " & _ +' "Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) " & _ +' " Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES " & _ +' " from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) ") +' c.Position = 0 +' stay_hh = c.GetString("HORAS_TOTALES") * 60 * 60 +' stay_mi = c.GetString("MINUTOS_TOTALES") * 60 +' stay_ss = c.GetString("SEGUNDOS_TOTALES") +' B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)", Array As Object(stay_hh + stay_mi + stay_ss)) +' B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_FIN = ? ", Array As Object(sTime)) +' c.Close +' Catch +' ToastMessageShow(".",True) +' End Try + + skmt.ExecNonQuery2("update PEDIDO_INICIO_FINAL set PIF_HORA_FINAL = ? where PIF_CLIENTE = ? and PIF_HORA_FINAL = 0", Array As Object (DateTime.Now, la_cuenta.Text)) + ' LogColor($"actualizamos "${la_cuenta.text}, hora_final=${DateTime.now}"$,Colors.Red) + Subs.actualizaTET(la_cuenta.text) + DateTime.TimeFormat = "HH:mm:ss" + +' mandaPendientes 'LO COMENTAMOS PARA PRUEBAS, ACTIVAR AL FINAL!!! +' mandapiezas + mandaPendientesrecarga + mandapiezasrecarga + B4XPages.MainPage.productos.reiniciarlistaProds = True + B4XPages.MainPage.productos.prodsMap.Initialize + B4XPages.MainPage.promos.promosMap.Initialize + B4XPages.ShowPage("login") + B4XPages.MainPage.recarga = "0" + End If +End Sub + +Sub NUEVO_Click + B4XPages.ShowPage("NuevoCliente") +End Sub + +Sub HIST_Click + B4XPages.ShowPage("Historico") +End Sub + +Sub BT_QR_Click +' sc.isportrait = True +' sc.timeoutDuration = 45 +' sc.theViewFinderXfactor = 0.7 +' sc.theViewFinderYfactor = 0.5 +' sc.theResultColor = Colors.Green +' sc.mustVibrate = True +' sc.BeginScan("sc") +End Sub + +Sub sc_result(atype As String,Values As String, image As Bitmap) + 'Log("Type : " & atype) + 'Log("Value : " & Values) + CODIGO = Values + DD=B4XPages.MainPage.skmt.ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM kmt_info WHERE CAT_CL_NUM_SERIEFISICO = ?", Array As String(CODIGO)) + DD.Position =0 + If DD.GetString("CUANTOS") > 0 Then + MsgboxAsync("Código ya asignado", "AVISO") + Else + If CODIGO.Length = 7 Then + Msgbox2Async("El código "& CODIGO & " es correcto?" , "Title", "Yes", "Cancel", "No", Null, False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE kmt_info set CAT_CL_NUM_SERIEFISICO = ?, CAT_CL_LONG = ?, CAT_CL_LAT =? where CAT_CL_CODIGO In (select cuenta from cuentaa)", Array As Object(CODIGO, B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps)) + L_QR.TEXT =CODIGO + L_QR.TextColor = Colors.Blue + B4XPages.MainPage.skmt.ExecNonQuery2("insert into HIST_CODIGO_BARRAS(CODIGOKMTS, CODIGOB, LAT, LON) VALUES (?,?,?,?)", Array As Object(la_cuenta.Text,CODIGO, B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps)) + End If + Else + MsgboxAsync("Código No Valido", "AVISO") + End If + End If + DD.Close +End Sub + +Sub sc_timedout(timedOut As Boolean) + Log("timedOut " & timedOut) +End Sub + +Sub sc_usercancelled(userCancelled As Boolean) + Log("userCancelled " & userCancelled) +End Sub + +Sub calc_ean_checksum(number As String) As String 'this has now become redundant as I am only interested in QR Codes + Dim i As Int + Dim cO As Char + Dim soma As Int + Dim n As Int + Dim digit As Float + soma = 0 + For i=0 To number.Length - 1 + digit = number.SubString2(i,i+1) + n= digit * ((i Mod 2) * 2 + 1) + soma=soma+n + Next + Return number & ( ( 10 - ( soma Mod 10 )) Mod 10 ) +End Sub + +Sub b_mapa_Click + B4XPages.ShowPage("mapas") +End Sub + +Sub B_IMP_Click + ' Primero verificamos si hay una VENTA regular + c = skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)", Array As String("VENTA")) + + If c.RowCount > 0 Then + ' Si hay venta regular, la imprimimos + imprime_venta + t1.Initialize("T1", 5000) ' 5 segundos de espera + t1.Enabled = True + Else + ' Si no hay venta regular, verificamos preventas + s = skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE (PE_FOLIO = ? OR PE_FOLIO = ?) AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)", Array As String("PREVENTA_CONTADO", "PREVENTA_CREDITO")) + + If s.RowCount > 0 Then + ' Si hay preventas, las imprimimos inmediatamente + imprime_preventa + Else + ' Si no hay nada que imprimir, mostramos mensaje + Msgbox("No hay registros de venta o preventa para imprimir", "Aviso") + End If + End If + c.Close + If s <> Null Then s.Close +End Sub + +Sub T1_Tick + ' Este timer se ejecuta después de imprimir una venta regular + ' para verificar si hay preventas pendientes + s = skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE (PE_FOLIO = ? OR PE_FOLIO = ?) AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)", Array As String("PREVENTA_CONTADO", "PREVENTA_CREDITO")) + + If s.RowCount > 0 Then + imprime_preventa + End If + + ' Desactivamos el timer siempre + t1.Enabled = False + If s <> Null Then s.Close +End Sub + +Sub TraeVendedor As String + + Private pv As Cursor + Private Preventa As String = "" + pv = B4XPages.MainPage.skmt.ExecQuery("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'nom_usuario'") + If pv.RowCount > 0 Then + pv.Position = 0 + Preventa = pv.GetString("CAT_VA_VALOR") + End If + pv.Close + Return Preventa +End Sub + +Sub TraeNumVendedor As String + Private np As Cursor + Private Tel_Preventa As String = "" + np = B4XPages.MainPage.skmt.ExecQuery("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'TELEFONO'") + If np.RowCount > 0 Then + np.Position = 0 + Tel_Preventa = np.GetString("CAT_VA_VALOR") + End If + np.Close + Return Tel_Preventa +End Sub + +Sub imprime_preventa + c=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 + + Public Const eLINEFEED As String = "" & Chr(0x0D) & Chr(0x0A) + + 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 = " " + +' If ALMACEN = "2" Then + Dim bmp As Bitmap + Printer1.Justify = 1 + bmp.InitializeResize(File.DirAssets, "amigos.jpg", 192, 252, 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) + + Printer1.Justify = 0 +' Else If ALMACEN = "3" Then +' Dim bmp As Bitmap +' Printer1.Justify = 1 +' bmp.InitializeResize(File.DirAssets, "amigos.jpg", 192, 252, 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) +' +' Printer1.Justify = 0 +' End If + + + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString("CANDY SHARK2" & eLINEFEED) + Printer1.WriteString(sDate & eLINEFEED) + Printer1.WriteString(sTime & eLINEFEED) + Printer1.WriteString("Vendedor: " & TraeVendedor & eLINEFEED) + Printer1.WriteString("Numero de Vendedor: " & TraeNumVendedor & eLINEFEED) + Printer1.WriteString("Tienda: " & La_nombre.Text & eLINEFEED) + Printer1.WriteString("ID.Cliente: " & la_cuenta.Text & eLINEFEED) + Printer1.WriteString("Calle: " & la_Calle.Text & eLINEFEED) + Printer1.WriteString("Colonia: " & la_col.Text & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + + Dim tipos_preventa As List + tipos_preventa.Initialize + tipos_preventa.Add("PREVENTA_CREDITO") + tipos_preventa.Add("PREVENTA_CONTADO") + + For Each tipo As String In tipos_preventa + c = skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?", Array As String(tipo)) + + If c.RowCount > 0 Then + 'Encabezados + Dim siesacredi As Cursor = skmt.ExecQuery("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + Printer1.WriteString("----------" & "PREVENTA" & "----------" & eLINEFEED) +' Printer1.WriteString("------" & TIPO & "------" & eLINEFEED) + Printer1.WriteString("Cant. Precio Importe" & eLINEFEED) + Printer1.WriteString("------------------------------" & eLINEFEED) + + 'No son promos + s=skmt.ExecQuery2("select PE_BCAJAS,PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU, PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID", Array As String(tipo, Subs.traeAlmacen)) + + 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 + Printer1.WriteString(s.GetString("PE_PRONOMBRE") & eLINEFEED) + Else + If s.GetString("PE_BCAJAS") = 0 Then + Printer1.WriteString(s.GetString("PE_PRONOMBRE") & eLINEFEED) + k1 = NumberFormat(s.GETSTRING("PE_COSTOU"),0,2) + k2 = NumberFormat(s.GETSTRING("PE_COSTO_TOT"),0,2) + + TAMANO = s.GetLong("L_CANT") + k1.Length + k2.Length + ESPACIO = 30 + BLANCO = " " + ESPACIO = ESPACIO - TAMANO + ESPACIO = ESPACIO / 2 + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + + Printer1.WriteString(s.GETSTRING("PE_CANT") & BLANCO & k1 & BLANCO & k2& eLINEFEED) + TAMANO = 0 + ESPACIO = 30 + BLANCO = " " + Else + Printer1.WriteString(s.GetString("PE_PRONOMBRE") & eLINEFEED) + k1 = NumberFormat((s.GETSTRING("PE_COSTO_TOT")/s.GETSTRING("PE_CANT")),0,2) + k2 = NumberFormat(s.GETSTRING("PE_COSTO_TOT"),0,2) + + TAMANO = s.GetLong("L_CANT") + k1.Length + k2.Length + ESPACIO = 30 + BLANCO = " " + ESPACIO = ESPACIO - TAMANO + ESPACIO = ESPACIO / 2 + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + + Printer1.WriteString(s.GETSTRING("PE_CANT") & BLANCO & k1 & BLANCO & k2& eLINEFEED) + TAMANO = 0 + ESPACIO = 30 + BLANCO = " " + End If + End If + Next + End If + s.Close + + 'Son promos + Printer1.WriteString(" " & eLINEFEED) + s=skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, PE_COSTOU, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CEDIS <> ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU", Array As String(tipo, Subs.traeAlmacen)) + + If s.RowCount>0 Then + Printer1.WriteString("---PRODUCTOS EN PROMOCION---" & eLINEFEED) + Printer1.WriteString("Cant. Precio Importe" & eLINEFEED) + Printer1.WriteString("------------------------------" & eLINEFEED) + + For i=0 To S.RowCount -1 + s.Position=i + k1 = NumberFormat(s.GETSTRING("PE_COSTOU"),0,2) + k2 = NumberFormat(s.GETSTRING("PE_COSTO_TOT"),0,2) + + TAMANO = s.GetString("PE_CANT").Length + k1.Length + k2.Length + ESPACIO = 30 + BLANCO = " " + ESPACIO = ESPACIO - TAMANO + ESPACIO = ESPACIO / 2 + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + If s.GetString("PE_PROID") = s.GetString("PE_CEDIS") Then + Printer1.WriteString(s.GetString("PE_PRONOMBRE") & eLINEFEED) + Printer1.WriteString(" "& eLINEFEED) + Else + Printer1.WriteString(s.GetString("PE_PRONOMBRE") & eLINEFEED) + Printer1.WriteString(s.GETSTRING("PE_CANT") & BLANCO & k1 & BLANCO & k2 & eLINEFEED) + End If + + Next + Printer1.WriteString(" " & eLINEFEED) + End If +' s.Close +' +' 'Totales por tipo de preventa +' s=skmt.ExecQuery2("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As String(tipo)) +' s.Position =0 +' Printer1.WriteString("Total: $" & NumberFormat(s.GetString("TOTAL"),0,2) & eLINEFEED) +'' Printer1.WriteString("Total " & tipo.ToLowerCase & ": $" & NumberFormat(s.GetString("TOTAL"),0,2) & eLINEFEED) +' s.Close +' +' +' c= skmt.ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?", Array As String(tipo)) +' C.Position=0 +' Printer1.WriteString("Total art. : " & NumberFormat(c.GetString("PC_NOART"),0,0) & eLINEFEED) + '' Printer1.WriteString("Total art. " & tipo.ToLowerCase & ": " & NumberFormat(c.GetString("PC_NOART"),0,0) & eLINEFEED) +' c.Close + + s.Close + s = skmt.ExecQuery($"SELECT SUM(CAT_GP_PRECIO * PE_CANT) As SUBTOTAL FROM PEDIDO P INNER JOIN CAT_GUNAPROD C ON P.PE_PROID = C.CAT_GP_ID And P.PE_CEDIS = P.PE_PROID WHERE PE_CLIENTE IN (Select cuenta FROM CUENTAA) And PE_FOLIO = 'PREVENTA_CONTADO'"$) + Dim subtotal As Double + s.Position = 0 + subtotal = s.GetDouble("SUBTOTAL") + s.Close + + Dim subtot As Cursor = skmt.ExecQuery("SELECT SUM(P.PE_COSTO_TOT) As TOTAL_SIN_PROMO FROM PEDIDO P INNER JOIN CAT_GUNAPROD C ON P.PE_PROID = C.CAT_GP_ID WHERE P.PE_CLIENTE IN (Select cuenta FROM CUENTAA) And P.PE_FOLIO = 'PREVENTA_CONTADO' And PE_CEDIS Not IN (Select DISTINCT PE_PROID FROM PEDIDO)") + subtot.Position = 0 + subtotal = subtotal + subtot.GetDouble("TOTAL_SIN_PROMO") + subtot.Close + + subtotal = Round2(subtotal, 2) + Printer1.WriteString("Subtotal: $" & NumberFormat(subtotal, 0, 2) & eLINEFEED) + + ' Calcular el descuento + Dim descuento As Double + s = skmt.ExecQuery2("SELECT SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As String("PREVENTA_CONTADO")) + s.Position = 0 + Dim total As Double = s.GetDouble("TOTAL") + descuento = subtotal - total + descuento = Round2(descuento, 2) ' Redondear descuento con precisión de 2 decimales + s.Close + + ' Mostrar el total de la preventa + Printer1.WriteString("Total preventa: $" & NumberFormat(total, 0, 2) & eLINEFEED) + Printer1.WriteString("Usted ahorro: $" & NumberFormat(descuento, 0, 2) & eLINEFEED) + + + ' Contar los artículos en preventa + Dim c As Cursor = skmt.ExecQuery2("SELECT SUM(PE_CANT) AS PC_NOART FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP) AND PE_FOLIO = ?", Array As String("PREVENTA_CONTADO")) + c.Position = 0 + Printer1.WriteString("Total art. preventa: " & NumberFormat(c.GetDouble("PC_NOART"), 0, 0) & eLINEFEED) + c.Close + + 'Información adicional para crédito + If tipo = "PREVENTA_CREDITO" Then + Dim siesacredi As Cursor = skmt.ExecQuery("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + If siesacredi.RowCount > 0 Then + siesacredi.Position = 0 + Dim monto As String = siesacredi.GetString("PA_MONTO") + If monto = Null Or monto = "" Then monto = "0" + Printer1.WriteString("Total a credito: $" & NumberFormat(monto, 0, 2) & eLINEFEED) + + s=skmt.ExecQuery2("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As String(tipo)) + s.Position =0 + Dim total As Double = IIf(s.GetString("TOTAL") = Null Or s.GetString("TOTAL") = "", 0, s.GetString("TOTAL")) + Dim paMonto As Double = IIf(siesacredi.GetString("PA_MONTO") = Null Or siesacredi.GetString("PA_MONTO") = "", 0, siesacredi.GetString("PA_MONTO")) + + If total > paMonto Then + Printer1.WriteString("Total a contado: $" & NumberFormat((s.GetString("TOTAL")-siesacredi.GetString("PA_MONTO")),0,2) & eLINEFEED) + End If + s.Close + End If + End If + + Printer1.WriteString(" " & eLINEFEED) + End If + Next + + Printer1.WriteString("------------------------------" & eLINEFEED) + Printer1.WriteString("----ESTE TICKET NO ES UN -----" & eLINEFEED) + Printer1.WriteString("--COMPROBANTE DE PAGO NI FISCAL-" & eLINEFEED) + Printer1.WriteString("--ES UN TICKET INFORMATIVO----" & eLINEFEED) + Printer1.WriteString("------------------------------" & eLINEFEED) + If ALMACEN = "2" Then + Printer1.WriteString("TEL.: 5591972829" & eLINEFEED) + Else If ALMACEN = "3" Then + Printer1.WriteString("TEL.: 5579797285" & eLINEFEED) + End If + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + 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 + GUADAVENTA2 + End If +End Sub + +Sub imprime_venta + c=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 +' 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 + + Public Const eLINEFEED As String = "" & Chr(0x0D) & Chr(0x0A) + + 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, "mariana.jpg", 192, 250, True) 'ignore +' Dim myimage As AnImage = Printer1.ImageToBWIMage(bmp) + +' myimage = Printer1.DitherImage2D(myimage, 128) +' +' myimage= Printer1.PackImage(myimage) +' Printer1.WriteString(eLINEFEED) ' nudge the printer to show the user something is happening +' Printer1.WriteString(Printer1.REVERSE) +' +' Printer1.PrintImage(myimage) +' Printer1.WriteString(Printer1.UNREVERSE) + +' Printer1.Justify = 1 + 'printer.Initialize(cmp20.OutputStream) +' Printer1.WriteString("DISTRIBUIDORA ROCHA TULA PACHUCA" & eLINEFEED) + + Dim bmp As Bitmap + Printer1.Justify = 1 + bmp.InitializeResize(File.DirAssets, "amigos.jpg", 192, 252, 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) + + Printer1.Justify = 0 + + Printer1.WriteString("CANDY SHARK2" & eLINEFEED) +' Printer1.WriteString(sucursal & eLINEFEED) + Printer1.WriteString(sDate & eLINEFEED) + Printer1.WriteString(sTime & eLINEFEED) + Printer1.WriteString("Vendedor: " & TraeVendedor & eLINEFEED) + Printer1.WriteString("Numero de Vendedor: " & TraeNumVendedor & eLINEFEED) + Printer1.WriteString("Tienda: " & La_nombre.Text & eLINEFEED) + Printer1.WriteString("ID.Cliente: " & la_cuenta.Text & eLINEFEED) + Printer1.WriteString("Calle: " & la_Calle.Text & eLINEFEED) + Printer1.WriteString("Colonia: " & la_col.Text & eLINEFEED) +' Printer1.WriteString("C.P.: " & la_cp.Text & eLINEFEED) +' Printer1.WriteString("Entre calle1: " & l_entre1.Text & eLINEFEED) +' Printer1.WriteString("Entre Calle2: " & l_entre2.Text & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + c = skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",Array As String("VENTA")) + If c.RowCount > 0 Then + Printer1.WriteString("-----------VENTA-----------" & eLINEFEED) + +' Printer1.WriteString("--------------------------------" & eLINEFEED) + Printer1.WriteString("Cant. Precio Importe" & eLINEFEED) + + Printer1.WriteString("------------------------------" & eLINEFEED) + ' 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=skmt.ExecQuery2("select PE_BCAJAS, PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU, PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID", 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 + Printer1.WriteString(s.GetString("PE_PRONOMBRE") & eLINEFEED) + + Else + + If s.GetString("PE_BCAJAS") = 0 Then + + + Printer1.WriteString(s.GetString("PE_PRONOMBRE") & eLINEFEED) +' TAMANO = s.GetLong("L_CANT") + TAMANO +' If s.GetLong("L_COSTOU") = 1 Then +' TAMANO = s.GetLong("L_COSTOU") + TAMANO + 4 +' Else If s.GetLong("L_COSTOU") = 2 Then +' TAMANO = s.GetLong("L_COSTOU") + TAMANO + 3 +' Else If s.GetLong("L_COSTOU") = 3 Then +' TAMANO = s.GetLong("L_COSTOU") + TAMANO + 2 +' Else If s.GetLong("L_COSTOU") = 4 Then +' TAMANO = s.GetLong("L_COSTOU") + TAMANO + 1 +' Else +' TAMANO = s.GetLong("L_COSTOU") + TAMANO +' End If + ' +' If s.GetLong("L_COSTO_TOT") = 1 Then +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO + 4 +' Else If s.GetLong("L_COSTO_TOT") = 2 Then +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO + 3 +' Else If s.GetLong("L_COSTO_TOT") = 3 Then +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO + 2 +' Else If s.GetLong("L_COSTO_TOT") = 4 Then +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO + 1 +' Else +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO +' End If +' +' ESPACIO = ESPACIO - TAMANO +' +' For E=0 To ESPACIO -1 +' BLANCO = " " & BLANCO +' Next +' Printer1.Justify = 0 +' Printer1.WriteString( s.GETSTRING("PE_CANT")& BLANCO) +' Printer1.Justify = 1 +' Printer1.WriteString(s.GETSTRING("PE_COSTOU")& BLANCO) +' Printer1.Justify = 2 +' Printer1.WriteString(s.GETSTRING("PE_COSTO_TOT") & eLINEFEED ) + + k1 = NumberFormat(s.GETSTRING("PE_COSTOU"),0,2) + k2 = NumberFormat(s.GETSTRING("PE_COSTO_TOT"),0,2) + + TAMANO = s.GetLong("L_CANT") + k1.Length + k2.Length + ESPACIO = 30 + BLANCO = " " + ESPACIO = ESPACIO - TAMANO + ESPACIO = ESPACIO / 2 + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + + Printer1.WriteString(s.GETSTRING("PE_CANT") & BLANCO & k1 & BLANCO & k2& eLINEFEED ) + + TAMANO = 0 + ESPACIO = 30 + BLANCO = " " +' Printer1.Justify = 0 + Else + Printer1.WriteString(s.GetString("PE_PRONOMBRE") & eLINEFEED) +' TAMANO = s.GetLong("L_CANT") + TAMANO +' If s.GetLong("L_COSTOU") = 1 Then +' TAMANO = s.GetLong("L_COSTOU") + TAMANO + 4 +' Else If s.GetLong("L_COSTOU") = 2 Then +' TAMANO = s.GetLong("L_COSTOU") + TAMANO + 3 +' Else If s.GetLong("L_COSTOU") = 3 Then +' TAMANO = s.GetLong("L_COSTOU") + TAMANO + 2 +' Else If s.GetLong("L_COSTOU") = 4 Then +' TAMANO = s.GetLong("L_COSTOU") + TAMANO + 1 +' Else +' TAMANO = s.GetLong("L_COSTOU") + TAMANO +' End If + ' +' If s.GetLong("L_COSTO_TOT") = 1 Then +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO + 4 +' Else If s.GetLong("L_COSTO_TOT") = 2 Then +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO + 3 +' Else If s.GetLong("L_COSTO_TOT") = 3 Then +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO + 2 +' Else If s.GetLong("L_COSTO_TOT") = 4 Then +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO + 1 +' Else +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO +' End If +' +' ESPACIO = ESPACIO - TAMANO +' +' For E=0 To ESPACIO -1 +' BLANCO = " " & BLANCO +' Next +' Printer1.Justify = 0 +' Printer1.Justify = 0 +' Printer1.WriteString( s.GETSTRING("PE_CANT")& BLANCO) +' Printer1.Justify = 1 +' Printer1.WriteString((s.GETSTRING("PE_COSTOU")/s.GETSTRING("PE_CANT"))& BLANCO) +' Printer1.Justify = 2 +' Printer1.WriteString(s.GETSTRING("PE_COSTO_TOT") & eLINEFEED ) +' TAMANO = 0 +' ESPACIO = 22 +' BLANCO = " " + + + + k1 = NumberFormat((s.GETSTRING("PE_COSTO_TOT")/s.GETSTRING("PE_CANT")),0,2) + k2 = NumberFormat(s.GETSTRING("PE_COSTO_TOT"),0,2) + + TAMANO = s.GetLong("L_CANT") + k1.Length + k2.Length + ESPACIO = 30 + BLANCO = " " + ESPACIO = ESPACIO - TAMANO + ESPACIO = ESPACIO / 2 + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + + Printer1.WriteString(s.GETSTRING("PE_CANT") & BLANCO & k1 & BLANCO & k2& eLINEFEED ) + + TAMANO = 0 + ESPACIO = 30 + BLANCO = " " +' Printer1.Justify = 0 + End If + End If + Next + End If +' Printer1.Justify = 0 + s.Close + Printer1.WriteString(" " & eLINEFEED) + s=skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU", Array As String("VENTA")) + If S.RowCount>0 Then + Printer1.WriteString("-------PROMOS VENTA--------" & eLINEFEED) + Printer1.WriteString("Cant. Precio Importe" & eLINEFEED) + Printer1.WriteString("------------------------------" & eLINEFEED) + For i=0 To S.RowCount -1 + s.Position=i + If s.GetString("PE_CEDIS") = s.GetString("PE_PROID") Then + Printer1.WriteString("* "& s.GetString("PE_PRONOMBRE") & eLINEFEED) + Log("promo") + Else +' TAMANO = 0 + Printer1.WriteString(s.GetString("PE_PRONOMBRE") & eLINEFEED) +' TAMANO = s.GetLong("L_CANT") + TAMANO +' If s.GetLong("L_COSTOU") = 1 Then +' TAMANO = s.GetLong("L_COSTOU") + TAMANO + 3 +' Else If s.GetLong("L_COSTOU") = 2 Then +' TAMANO = s.GetLong("L_COSTOU") + TAMANO + 3 +' Else If s.GetLong("L_COSTOU") = 3 Then +' TAMANO = s.GetLong("L_COSTOU") + TAMANO + 2 +' Else If s.GetLong("L_COSTOU") = 4 Then +' TAMANO = s.GetLong("L_COSTOU") + TAMANO + 1 +' Else +' TAMANO = s.GetLong("L_COSTOU") + TAMANO +' End If + ' +' If s.GetLong("L_COSTO_TOT") = 1 Then +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO + 3 +' Else If s.GetLong("L_COSTO_TOT") = 2 Then +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO + 3 +' Else If s.GetLong("L_COSTO_TOT") = 3 Then +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO + 2 +' Else If s.GetLong("L_COSTO_TOT") = 4 Then +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO + 1 +' Else +' TAMANO = s.GetLong("L_COSTO_TOT") + TAMANO +' End If +' +' ESPACIO = ESPACIO - TAMANO +' +' For E=0 To ESPACIO -1 +' BLANCO = " " & BLANCO +' Next + '' Printer1.WriteString(BLANCO & s.GETSTRING("PE_CANT") & " X $" & s.GETSTRING("PE_COSTOU") & " $" & s.GETSTRING("PE_COSTO_TOT") & eLINEFEED ) +' Printer1.Justify = 0 +' Printer1.WriteString( s.GETSTRING("PE_CANT")& BLANCO) +' Printer1.Justify = 1 +' Printer1.WriteString(s.GETSTRING("PE_COSTOU")& BLANCO) +' Printer1.Justify = 2 +' Printer1.WriteString(s.GETSTRING("PE_COSTO_TOT") & eLINEFEED ) +' TAMANO = 0 +' ESPACIO = 22 +' BLANCO = " " + + k1 = NumberFormat(s.GETSTRING("PE_COSTOU"),0,2) + k2 = NumberFormat(s.GETSTRING("PE_COSTO_TOT"),0,2) + + TAMANO = s.GetLong("L_CANT") + k1.Length + k2.Length + ESPACIO = 30 + BLANCO = " " + ESPACIO = ESPACIO - TAMANO + ESPACIO = ESPACIO / 2 + For E=0 To ESPACIO -1 + BLANCO = " " & BLANCO + Next + + Printer1.WriteString(s.GETSTRING("PE_CANT") & BLANCO & k1 & BLANCO & k2& eLINEFEED ) + + TAMANO = 0 + ESPACIO = 30 + BLANCO = " " +' Printer1.Justify = 0 + End If + Next + Printer1.WriteString(" " & eLINEFEED) + End If + s.Close +' Printer1.Justify = 0 + s=skmt.ExecQuery2("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As String("VENTA")) + s.Position =0 + ' If s.GetString("TOTAL") - s.GetString("TOTAL2") <> 0 Then + ' Printer1.WriteString("Descuento: $" & (s.GetString("TOTAL2") - s.GetString("TOTAL"))) + ' End If + Printer1.WriteString("Total venta: $" & NumberFormat( s.GetString("TOTAL"),0,2) & eLINEFEED) + + s.Close + c= skmt.ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?", Array As String("VENTA")) + C.Position=0 + Printer1.WriteString("Total art. venta: " &NumberFormat( c.GetString("PC_NOART"),0,0) & eLINEFEED) + c.Close + +' Printer1.WriteString(" " & eLINEFEED) + End If + + +' Printer1.WriteString(" " & eLINEFEED) +' Printer1.WriteString("------------------------------" & eLINEFEED) +' +' s=skmt.ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") +' s.Position =0 +' ' If s.GetString("TOTAL") - s.GetString("TOTAL2") <> 0 Then +' ' Printer1.WriteString("Descuento: $" & (s.GetString("TOTAL2") - s.GetString("TOTAL"))) +' ' End If +' Printer1.WriteString("Total: $" & s.GetString("TOTAL") & eLINEFEED) +' s.Close +' c= skmt.ExecQuery("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )") +' C.Position=0 +' Printer1.WriteString("Total Articulos: " & c.GetString("PC_NOART") & eLINEFEED) +' c.Close + + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString("------------------------------" & eLINEFEED) +' Printer1.WriteString("ENTREGA EN :" & eLINEFEED) +' Printer1.WriteString(la_Calle.Text & eLINEFEED) + Printer1.WriteString("----ESTE TICKET NO ES UN -----" & eLINEFEED) + Printer1.WriteString("--COMPROBANTE FISCAL, SOLO ES-" & eLINEFEED) + Printer1.WriteString("--------INFORMATIVO-----------" & eLINEFEED) + Printer1.WriteString("------------------------------" & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + Sleep(1000) + Printer1.DisConnect + + ProgressDialogHide + + s = skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE (PE_FOLIO = ? OR PE_FOLIO = ?) AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",Array As String("PREVENTA_CREDITO", "PREVENTA_CONTADO")) + If s.RowCount = 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 + Else + GUADAVENTA2 + End If + End If + +' printer.Flush + ' printer.Close +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_GUARDA_C_Click + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") + c.Position=0 + clie_id = c.GetString("CUENTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + c.Close + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ", Array As Object ("4",.01 , .01, 2, "KNORR RINDE MAS 70 GR", "GUNA2",la_cuenta.TEXT, sDate & sTime, usuario,LA_RUTA)) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_FACE(HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN) VALUES (?,?,?,?) ", Array As Object(la_cuenta.Text, I_COMPRA.Text,LA_RUTA,ALMACEN)) + Panel1.Visible = False +' b_like.Visible = True + Tar.Visible = True + Tels.Visible = True +' gest.Visible = True + gest.Visible = False +' b_like.Visible = False + Guardar.Visible = True +End Sub + +Sub b_venta_Click + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) +' s=B4XPages.MainPage.skmt.ExecQuery("select COUNT(*) AS CUANTOS from HIST_ENCUESTA where HE_CLIE In (Select cuenta from cuentaa)") +' s.Position= 0 +' If s.GetString("CUANTOS") = 0 Then +' c=B4XPages.MainPage.skmt.ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?", Array As String("CUESTIONARIO")) +' c.Position =0 +' If c.GetString("CAT_VA_VALOR") = "2" Then +' res = Msgbox2("El cliente maneja CAZARES ?","CAZARES", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'Ignore +' If res = DialogResponse.POSITIVE Then +' B4XPages.MainPage.skmt.ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO) VALUES (?,?,?,?)", Array As Object(la_cuenta.Text, "SI",sDate & sTime,"TIENE")) +' Panel1.Visible =True +' I_COMPRA.Text = "" +' BT_QR.Visible= False +' Else +' B4XPages.MainPage.skmt.ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO) VALUES (?,?,?,?)", Array As Object(la_cuenta.Text, "NO",sDate & sTime,"TIENE")) +' B4XPages.MainPage.tipo_venta = "VENTA" +' B4XPages.ShowPage("Productos") +' End If +' Else +' B4XPages.MainPage.tipo_venta = "VENTA" +' B4XPages.ShowPage("Productos") +' End If +' c.Close +' Else +' B4XPages.MainPage.tipo_venta = "VENTA" +' B4XPages.ShowPage("Productos") +' End If +' s.Close +End Sub + +Sub B_E_NEXT_Click + If E_RES_E.Text <> "" Then + B4XPages.MainPage.skmt.ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO) VALUES (?,?,?,?)", Array As Object(la_cuenta.Text, E_RES_E.Text,sDate & sTime,"DONDE")) + Panel2.Visible = False + B4XPages.ShowPage("Productos") + Else + Msgbox("SIN RESPUESTA","AVISO") 'Ignore + End If +End Sub + +Sub RB1_CheckedChange(Checked As Boolean) + If RB1.Checked = True Then + E_RES_E.Text = "CENTRAL DE ABASTOS" + End If +End Sub + +Sub RB2_CheckedChange(Checked As Boolean) + If RB2.Checked = True Then + E_RES_E.Text = "AUTOSERVICIO" + End If +End Sub + +Sub RB3_CheckedChange(Checked As Boolean) + If RB3.Checked = True Then + E_RES_E.Text = "CLUB DE PRECIO" + End If +End Sub + +Sub RB4_CheckedChange(Checked As Boolean) + If RB4.Checked = True Then + E_RES_E.Text = "DIRECTO PEDEGREE" + End If +End Sub + +'Sub b_like_Click +' Panel1.Visible = True +' b_like.Visible = False +' Tar.Visible = False +' Tels.Visible = False +' gest.Visible = False +' b_venta.Visible = False +' Guardar.Visible = False +'End Sub + +'Sub B_GPS_Click +' Dim result As Int +' result = Msgbox2("Esta seguro de cambiar las coordenadas de este cliente", "Aviso GPS", "SI", "", "NO", LoadBitmap(File.DirAssets, "alerta.jpg")) 'Ignore +' If result = DialogResponse.Positive Then +' B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE kmt_info SET CAT_CL_LAT = ?, CAT_CL_LONG = ? where CAT_CL_CODIGO In (Select cuenta from cuentaa)", Array As Object(B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps)) +' B4XPage_Appear +' End If +'End Sub + +Private Sub p_cliente_Click + 'Nada aqui, solo esta para que los clics no se pasen hacia atras. +End Sub + +Private Sub cb_factura_CheckedChange(Checked As Boolean) +' Log(Checked) + If Checked Then p_cbFactura.Color = Colors.Green Else p_cbFactura.Color = Colors.red +End Sub + +Sub mandaPendientes +' PEDIDO_CLIENTE (Pendientes) + Log(">>>>>>> MANDA PENDIENTES") + Dim PCNoArts As String + Dim PCMonto As String + If usuario <> "KMTS1" Then +' c = skmt.ExecQuery("SELECT * FROM PEDIDO_CLIENTE where PC_ENVIO_OK = 0") +' Log($"Pedido_Cliente PENDIENTE: ${c.RowCount}"$) +' If c.RowCount > 0 Then +' For i = 0 To c.RowCount - 1 +' c.Position = i +' Log($"${c.GetString("PC_CLIENTE")}|${c.GetString("PC_FECHA")}|${c.GetString("PC_ENVIO_OK")}|"$) +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_pedidos_IZCA" +' cmd.Parameters = Array As Object(c.GetString("PC_CLIENTE"), c.GetString("PC_FECHA"), c.GetString("PC_USER"), c.GetString("PC_NOART"), c.GetString("PC_MONTO"), c.GetString("PC_LON"), c.GetString("PC_LAT"), Subs.traeAlmacen, B4XPages.MainPage.principal.l_ruta.text, c.GetString("PC_COSTO_SIN"), c.GetString("PC_FACTURA")) +' PCNoArts = c.GetString("PC_NOART") +' PCMonto = c.GetString("PC_MONTO") +'' sql.insert_pedidos_INTMEX=INSERT INTO INTMEX.PEDIDO_CLIENTE(PC_FECHA_SINC,PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_IDALMACEN, PC_RUTA, PC_COSTO_SIN, PC_FACTURA) VALUES (SYSDATE,(?),(?),(?),(?),(?),(?),(?),(?),(?),(?),(?)) +' reqManager.ExecuteCommand(cmd , $"ins_pedidosPendientes_head_${c.GetString("PC_CLIENTE")}"$) +' Next +' End If + + 'PEDIDO (Pendientes) + c = skmt.ExecQuery($"SELECT PE_ENVIO_OK, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS FROM PEDIDO where PE_ENVIO_OK <> 1"$) + Log($"Pedido 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_pedido2_SHARK2P3" + cmd.Parameters = Array As Object(C.GetString("PE_CEDIS"),ALMACEN,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_RUTA"), C.GetString("PE_COSTO_SIN"),C.GetString("PE_DESC"),c.GetString("PE_FOLIO"),C.GetString("PE_CANTC"),c.GetString("PE_BCAJAS")) + reqManager.ExecuteCommand(cmd , $"ins_pedidosPendientes_prods_${c.GetString("PE_CLIENTE")}_${c.GetString("PE_PROID")}"$) + Log($">>>> INS_PEDIDO= ${C.GetString("PE_CEDIS")},${ALMACEN},${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_RUTA")}, ${C.GetString("PE_COSTO_SIN")}, ${C.GetString("PE_DESC")}, ${c.GetString("PE_FOLIO")}, ${PCNoArts}, ${PCMonto}"$) +' sql.insert_pedido_INTMEX=INSERT INTO INTMEX.PEDIDO (PE_CODPROMO,PE_FECHA_SINC,PE_IDALMACEN,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN, PE_DESCUENTO, PE_TIPO) VALUES ((?),SYSDATE,(?),(?),(?),(?),(?),(?),(?),(?),(?),(?),(?),nvl((?),0),(?)) +' sql.insert_pedido2_INTMEX=INSERT INTO INTMEX.PEDIDO (PE_CODPROMO,PE_FECHA_SINC,PE_IDALMACEN,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN, PE_DESCUENTO, PE_TIPO, PE_CANT_TOTAL, PE_VENTA_TOTAL) VALUES ((?),SYSDATE,(?),(?),(?),(?),(?),(?),(?),(?),(?),(?),(?),nvl((?),0),(?),(?),(?)) + Next + End If + + 'ABONOS + Dim ab As Cursor = B4XPages.MainPage.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 cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_abono_SHARK2" + 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 ) + reqManager.ExecuteCommand(cmd , $"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) + Log($"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) + Next + End If + ab.Close + + 'CLIENTES NUEVOS + Dim bb As Cursor = B4XPages.MainPage.skmt.ExecQuery($"SELECT * from CLIENTE_NUEVO where CN_enviado is null"$) + Dim cb As Cursor = B4XPages.MainPage.skmt.ExecQuery("SELECT ID_ALMACEN from CAT_ALMACEN") + cb.Position = 0 + If bb.RowCount > 0 Then + For i=0 To bb.RowCount -1 + bb.Position = i + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_cliente_SHARK2" + cmd.Parameters = Array As Object( bb.GetString("CN_ID_CLIENTE"), bb.GetString("CN_NOMBRE"),B4XPages.MainPage.principal.l_ruta.Text,cb.GetString("ID_ALMACEN")) + reqManager.ExecuteCommand(cmd , $"insert_cliente_${bb.GetString("CN_ID_CLIENTE")}"$) + Log($"insert_cliente_${bb.GetString("CN_ID_CLIENTE")}"$) + Next + Log("si lo hice") + End If + bb.Close + cb.Close + +' BANDERA FACTURA (Pendientes) +' c=B4XPages.MainPage.skmt.ExecQuery("SELECT PC_FACTURA, PC_CLIENTE FROM pedido_cliente where PC_CLIENTE IN (Select CUENTA from cuentaa)") +' Log($"BANDERA FACTURA 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 = "update_factura_INTMEX" +' cmd.Parameters = Array As Object(C.GetString("PC_FACTURA"), C.GetString("PC_CLIENTE"), ALMACEN) +' reqManager.ExecuteCommand(cmd , "upd_facturasPendientes") +' Next +' ' sql.update_factura_INTMEX=UPDATE INTMEX.HIST_VENTAS SET HV_FACTURA = (?) WHERE HV_CLIENTE = (?) And HV_ALMACEN = (?) +' End If +' c.Close + +'' CUESTIONARIO (Pendientes) +' c = B4XPages.MainPage.skmt.ExecQuery("SELECT * FROM CUESTIONARIO where ifnull(Q_ENVIO_OK, 0) = 0 order by Q_IDCLIENTE, Q_IDPREGUNTA; Q_IDRESPUESTA") +' Private rutaActual As String = Subs.traeRuta +' Log("CUEST PENDIENTES: " & c.RowCount) +' If c.RowCount > 0 Then +' For x = 0 To c.RowCount - 1 +' c.Position = x +' Log($"insert_cuestionario_${c.GetString("Q_IDCLIENTE")}_${c.GetString("Q_IDPREGUNTA")}_${c.GetString("Q_IDRESPUESTA")}"$) +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_CUESTIONARIO_INTMEX" +' cmd.Parameters = Array As Object(c.GetString("Q_IDCLIENTE"), rutaActual, ALMACEN, c.GetString("Q_FECHA"), c.GetString("Q_IDPREGUNTA"), c.GetString("Q_PREGUNTA"), c.GetString("Q_IDRESPUESTA"), C.GetString("Q_RESPUESTA")) +' reqManager.ExecuteCommand(cmd , $"insert_cuestionario_${c.GetString("Q_IDCLIENTE")}_${c.GetString("Q_IDPREGUNTA")}_${c.GetString("Q_IDRESPUESTA")}"$) +' Next +' End If +' c.Close + End If +End Sub + +Sub mandaPendientePagare + c = B4XPages.MainPage.skmt.ExecQuery("SELECT * FROM ABONOS where ifnull(a_enviado, 0) <> 1") + Log($"ABONO 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_abono_SHARK2" + cmd.Parameters = Array As Object( c.GetString("a_usuario"), c.GetString("a_ruta"), c.GetString("a_cliente"), c.GetString("a_abono"), c.GetString("a_fecha"),ALMACEN ) + reqManager.ExecuteCommand(cmd , $"ins_abonosPendientes_${c.GetString("a_cliente")}"$) + Log($"ins_abonosPendientes_${c.GetString("a_cliente")}"$) + Next + End If +End Sub + +Sub mandaPendientesrecarga +' PEDIDO_CLIENTE (Pendientes) + Log(">>>>>>> MANDA PENDIENTES") + Dim PCNoArts As String + Dim PCMonto As String + If usuario <> "KMTS1" Then + f=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info") + f.Position=0 + d = skmt.ExecQuery("SELECT * FROM PEDIDO_CLIENTE where PC_ENVIO_OK = 0 AND PC_CLIENTE = 1") + c = skmt.ExecQuery("SELECT * FROM PEDIDO_CLIENTE where PC_ENVIO_OK = 0 AND PC_CLIENTE = 1") + Log($"Pedido_Cliente PENDIENTE: ${c.RowCount}"$) + If c.RowCount > 0 Then + For i = 0 To c.RowCount - 1 + c.Position = i + Log($"${c.GetString("PC_CLIENTE")}|${c.GetString("PC_FECHA")}|${c.GetString("PC_ENVIO_OK")}|"$) + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_pedidos_SHARK2" + cmd.Parameters = Array As Object("0", c.GetString("PC_FECHA"), c.GetString("PC_USER"), c.GetString("PC_NOART"), c.GetString("PC_MONTO"), c.GetString("PC_LON"), c.GetString("PC_LAT"), Subs.traeAlmacen, f.GetString("CAT_CL_RUTA"), c.GetString("PC_COSTO_SIN"), c.GetString("PC_FACTURA")) + PCNoArts = c.GetString("PC_NOART") + PCMonto = c.GetString("PC_MONTO") +'' sql.insert_pedidos_INTMEX=INSERT INTO INTMEX.PEDIDO_CLIENTE(PC_FECHA_SINC,PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_IDALMACEN, PC_RUTA, PC_COSTO_SIN, PC_FACTURA) VALUES (SYSDATE,(?),(?),(?),(?),(?),(?),(?),(?),(?),(?),(?)) + reqManager.ExecuteCommand(cmd , $"ins_pedidosPendientes_head_${c.GetString("PC_CLIENTE")}"$) + Next + End If + f.Close + 'PEDIDO (Pendientes) + c = skmt.ExecQuery($"SELECT PE_ENVIO_OK, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS FROM PEDIDO where PE_ENVIO_OK <> 1 AND PE_FOLIO = 'RECARGA'"$) + Log($"Pedido 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_pedido3_SHARK2" + cmd.Parameters = Array As Object(C.GetString("PE_CEDIS"),ALMACEN,C.GetString("PE_COSTO_TOT"),C.GetString("PE_COSTOU"),C.GetString("PE_CANT"),C.GetString("PE_PRONOMBRE"),C.GetString("PE_PROID"),"0",C.GetString("PE_FECHA"),C.GetString("PE_USUARIO"),C.GetString("PE_RUTA"), C.GetString("PE_COSTO_SIN"),C.GetString("PE_DESC"),"ABORDO",C.GetString("PE_CANTC"),c.GetString("PE_BCAJAS"),"RECARGA") + reqManager.ExecuteCommand(cmd , $"ins_pedidosPendientes_prods_${c.GetString("PE_CLIENTE")}_${c.GetString("PE_PROID")}"$) + Log($">>>> INS_PEDIDO= ${C.GetString("PE_CEDIS")},${ALMACEN},${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_RUTA")}, ${C.GetString("PE_COSTO_SIN")}, ${C.GetString("PE_DESC")}, ${c.GetString("PE_FOLIO")}, ${PCNoArts}, ${PCMonto}"$) +' sql.insert_pedido_INTMEX=INSERT INTO INTMEX.PEDIDO (PE_CODPROMO,PE_FECHA_SINC,PE_IDALMACEN,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN, PE_DESCUENTO, PE_TIPO) VALUES ((?),SYSDATE,(?),(?),(?),(?),(?),(?),(?),(?),(?),(?),(?),nvl((?),0),(?)) +' sql.insert_pedido2_INTMEX=INSERT INTO INTMEX.PEDIDO (PE_CODPROMO,PE_FECHA_SINC,PE_IDALMACEN,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN, PE_DESCUENTO, PE_TIPO, PE_CANT_TOTAL, PE_VENTA_TOTAL) VALUES ((?),SYSDATE,(?),(?),(?),(?),(?),(?),(?),(?),(?),(?),(?),nvl((?),0),(?),(?),(?)) + Next + End If + End If +End Sub + +Sub mandapiezasrecarga + If l_total.Text <> Null Or l_total.Text <> "null" Then + Dim PCNoArts As String + Dim PCMonto As String + c = skmt.ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?", Array As String("1")) + If c.RowCount > 0 Then + c.Position = 0 + Log(la_cuenta.Text&", "& ALMACEN&", "& LA_RUTA) + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_piezas_SHARK2" + cmd.Parameters = Array As Object(la_cuenta.Text, ALMACEN, LA_RUTA) + reqManager.ExecuteQuery(cmd , 0, "piezasrecarga") + End If + End If +End Sub + +Sub mandapiezas + If l_total.Text <> Null Or l_total.Text <> "null" Then + Dim PCNoArts As String + Dim PCMonto As String + c = skmt.ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?", Array As String(la_cuenta.Text)) + If c.RowCount > 0 Then + c.Position = 0 + Log(la_cuenta.Text&", "& ALMACEN&", "& LA_RUTA) + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_piezas_SHARK2" + cmd.Parameters = Array As Object(la_cuenta.Text, ALMACEN, LA_RUTA) + reqManager.ExecuteQuery(cmd , 0, "piezas") + + End If + End If +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_pedidosPendientes_head_") > -1 Then + Subs.logJobDoneResultados(resultado) + Private cliente As String= resultado.Tag + cliente = cliente.SubString(cliente.IndexOf("_")+24) +' Log($"Cliente1:${cliente}"$) + For Each records() As Object In resultado.Rows + If records(resultado.Columns.Get("AffectedRows")).As(Int) = 1 Then +' Log(">>>>>>>> GUARDADO") + Private pars() As String = Regex.Split("_", resultado.tag) + B4XPages.MainPage.skmt.ExecNonQuery($"update PEDIDO_CLIENTE set PC_ENVIO_OK = 1 where PC_CLIENTE = '${pars(3)}'"$) +' Log($"update PEDIDO_CLIENTE set PC_ENVIO_OK = 1 where PC_CLIENTE = '${pars(3)}'"$) + End If +' For Each k As String In resultado.Columns.Keys +' Log(resultado.Tag & ": " & k & ": " & records(resultado.Columns.Get(k))) +' Next + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim resultado As DBResult = reqManager.HandleJob(Job) + If resultado.Tag = "piezas" Then 'query tag +' B4XPages.MainPage.picking.cl_picking.Clear + Dim piezasexiste As Int + + For Each records() As Object In resultado.Rows + + piezasexiste = records(resultado.Columns.Get("COUNT(*)")) + Log(piezasexiste) + DateTime.DateFormat = "MM/dd/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + If piezasexiste = 0 Then + + Dim PCNoArts As String + Dim PCMonto As String + c = skmt.ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?", Array As String(la_cuenta.Text)) + + + If c.RowCount > 0 Then + c.Position = 0 + PCNoArts = c.GetString("PC_NOART") + PCMonto = c.GetString("PC_MONTO") + End If + + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_HVC_SHARK2" + cmd.Parameters = Array As Object((sDate & " " & sTime), la_cuenta.Text, PCNoArts, PCMonto, ALMACEN, LA_RUTA) + reqManager.ExecuteCommand(cmd , "insert_hvc") +' reqManager.ExecuteCommand(cmd , $"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) + + Else If piezasexiste = 1 Then + Dim PCNoArts As String + Dim PCMonto As String + c = skmt.ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?", Array As String(la_cuenta.Text)) + + If c.RowCount > 0 Then + c.Position = 0 + PCNoArts = c.GetString("PC_NOART") + PCMonto = c.GetString("PC_MONTO") + End If + cmd.Initialize + cmd.Name = "update_HVC_SHARK2" + cmd.Parameters = Array As Object((sDate & " " & sTime), la_cuenta.Text, PCNoArts, PCMonto, ALMACEN, LA_RUTA, la_cuenta.Text, ALMACEN, LA_RUTA) + reqManager.ExecuteCommand(cmd, "update_hvc") + + End If + Next + + + End If + End If + + If Job.JobName = "DBRequest" Then + Dim resultado As DBResult = reqManager.HandleJob(Job) + If resultado.Tag = "piezasrecarga" Then 'query tag +' B4XPages.MainPage.picking.cl_picking.Clear + Dim piezasexiste As Int + For Each records() As Object In resultado.Rows + piezasexiste = records(resultado.Columns.Get("COUNT(*)")) + Log(piezasexiste) + DateTime.DateFormat = "MM/dd/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + If piezasexiste = 0 Then + Dim PCNoArts As String + Dim PCMonto As String + c = skmt.ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?", Array As String("1")) + If c.RowCount > 0 Then + c.Position = 0 + PCNoArts = c.GetString("PC_NOART") + PCMonto = c.GetString("PC_MONTO") + End If + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_HVC_SHARK2" + cmd.Parameters = Array As Object((sDate & " " & sTime), "0", PCNoArts, PCMonto, ALMACEN, LA_RUTA) + reqManager.ExecuteCommand(cmd , "insert_hvc") +' reqManager.ExecuteCommand(cmd , $"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) + Else If piezasexiste = 1 Then + Dim PCNoArts As String + Dim PCMonto As String + c = skmt.ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?", Array As String("1")) + If c.RowCount > 0 Then + c.Position = 0 + PCNoArts = c.GetString("PC_NOART") + PCMonto = c.GetString("PC_MONTO") + End If + cmd.Initialize + cmd.Name = "update_HVC_SHARK2" + cmd.Parameters = Array As Object((sDate & " " & sTime), "0", PCNoArts, PCMonto, ALMACEN, LA_RUTA, la_cuenta.Text, ALMACEN, LA_RUTA) + reqManager.ExecuteCommand(cmd, "update_hvc") + End If + Next + End If + End If + +' If Job.JobName = "DBRequest" Then +' Dim resultado As DBResult = reqManager.HandleJob(Job) +' If resultado.Tag.As(String).IndexOf("ins_pedidosPendientes_prods_") > -1 Then +' Subs.logJobDoneResultados(resultado) +' Private cliente As String= resultado.Tag +' cliente = cliente.SubString(cliente.IndexOf("_")+25) +' Log($"Cliente2:${cliente}"$) +' For Each records() As Object In resultado.Rows +'' If records(resultado.Columns.Get("AffectedRows")).As(Int) = 1 Then Log(">>>>>>>> GUARDADO") +' Private pars() As String = Regex.Split("_", resultado.tag) +' B4XPages.MainPage.skmt.ExecNonQuery($"update PEDIDO set PE_ENVIO_OK = 1 where PE_CLIENTE = '${pars(3)}' and PE_PROID = '${pars(4)}' and PE_ENVIO_OK = 0"$) +'' Log($"update PEDIDO set PE_ENVIO_OK = 1 where PE_CLIENTE = '${pars(3)}' and PE_PROID = '${pars(4)}' and PE_ENVIO_OK = 0"$) +'' For Each k As String In resultado.Columns.Keys +'' Log(resultado.Tag & ": " & k & ": " & records(resultado.Columns.Get(k))) +'' Next +' Next +' End If +' End If + + 'ABONOS PENDIENTES + If Job.JobName = "DBRequest" Then + Dim resultado As DBResult = reqManager.HandleJob(Job) + If resultado.Tag.As(String).IndexOf("ins_abonosPendientes_") > -1 Then + Private cliente As String= resultado.Tag + cliente = cliente.SubString(cliente.IndexOf("_")+18) + Log($"Cliente2:${cliente}"$) + 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 + B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE ABONOS set a_enviado = 1 where a_cliente = '${cliente}'"$) + End If + End If + + 'CLIENTES NUEVOS + If Job.JobName = "DBRequest" Then + Dim resultado As DBResult = reqManager.HandleJob(Job) + If resultado.Tag.As(String).IndexOf("insert_cliente_") > -1 Then + Private cliente As String= resultado.Tag + cliente = cliente.SubString(cliente.IndexOf("_")+9) + Log($"Cliente2:${cliente}"$) + 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 + B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE CLIENTE_NUEVO set CN_enviado = 1 where CN_ID_CLIENTE = '${cliente}'"$) + End If + End If + + 'CUESTIONARIO + If Job.JobName = "DBRequest" Then + Dim resultado As DBResult = reqManager.HandleJob(Job) + If resultado.Tag.As(String).IndexOf("insert_cuestionario_") > -1 Then + Private pars() As String = Regex.Split("_", resultado.Tag.As(String)) + Log($"${resultado.tag}|${pars(0)}"$) + Log($"${pars(1)}"$) + Log($"${pars(2)}"$) + Log($"${pars(3)}"$) + Log($"${pars(4)}"$) + Private cliente As String = pars(2) + Private idPreg As String = pars(3) + Private idResp As String = pars(4) + Log($"Cliente2:${cliente}, preg:${idPreg}, res:${idResp}"$) + 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 + B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE CUESTIONARIO set Q_ENVIO_OK = 1 where Q_IDCLIENTE = '${cliente}' and Q_IDPREGUNTA='${idPreg}' and Q_IDRESPUESTA='${idResp}'"$) + End If + End If + + Job.Release + End If + +End Sub + +Private Sub p_abono_Click + +End Sub + +Private Sub b_abono_Click +' p_abono.Visible = False + 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 = B4XPages.MainPage.skmt.ExecQuery("SELECT CUENTA from CUENTAA") + k.Position = 0 + Log(k.GetString("CUENTA")) + Dim y As Cursor = B4XPages.MainPage.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_pagare + 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_pagare + 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 + + ime.HideKeyboard +End Sub + +Private Sub b_cancelar_Click + et_abono.Text = "" + p_abono.Visible = False + ime.HideKeyboard +End Sub + +Private Sub b_abono1_Click + p_abono.Visible = True +End Sub + +Private Sub b_cxc_Click + + h = B4XPages.MainPage.skmt.ExecQuery("SELECT CUENTA from CUENTAA") + h.Position = 0 + Log(h.GetString("CUENTA")) + j = B4XPages.MainPage.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 = B4XPages.MainPage.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") + f.Position = 0 + + d = B4XPages.MainPage.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 = B4XPages.MainPage.skmt.ExecQuery("SELECT CUENTA FROM CUENTAA") + f.Position = 0 + + d = B4XPages.MainPage.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 + +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 + +Sub cuest_preguntaContestada(m As Map) +' Recibimos el id de la pregunta, el id de la respuesta, el texto de la respuesta y el objeto del panelSombra para poder ocultarlo. + Log(m) +' If q.IsInitialized Then Log($"${q.encuestaIniciada}|${q.preguntaActual}"$) +' m.Get("panel").As(Panel).Visible = False 'Ocultamos el panel de la pregunta. + m.Get("panel").As(Panel).RemoveView 'Quitamos le panel de la pregunta + DateTime.DateFormat = "dd/MM/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + Starter.skmt.ExecNonQuery($"delete from CUESTIONARIO where Q_IDCLIENTE = '${Subs.traeCliente}' and Q_IDPREGUNTA = '${m.Get("idPregunta")}'"$) + Starter.skmt.ExecNonQuery($"insert into CUESTIONARIO (Q_RUTA, Q_ALMACEN, Q_IDCLIENTE, Q_IDPREGUNTA, Q_PREGUNTA, Q_IDRESPUESTA, Q_RESPUESTA, Q_FECHA) values ('${Subs.traeRuta(Subs.traeCliente)}', '${Subs.traeAlmacen}', '${Subs.traeCliente}', '${m.Get("idPregunta")}', '${m.Get("pregunta")}', '${m.Get("idRespuesta")}', '${m.Get("respuesta")}', '${DateTime.Date(DateTime.now)} ${DateTime.time(DateTime.now)}')"$) + Select Case m.Get("idPregunta") + Case "1" + If m.Get("respuesta") = "No, está enrejado o no se tiene acceso" Then + Log("Tiendajon / Ventana / Kiosko") + ToastMessageShow("Tiendajon / Ventana / Kiosko", False) + cuest.agregaPregunta("6", "¿Cuenta con caja de salida para cobro con sistema de computo?", Array As String("Si, tiene sistema de computo para cobro", "No")) + Else if m.Get("respuesta") = "Si se pude acceder" Then + cuest.agregaPregunta("2", "¿Tiene al menos 2 pasillos con acceso directo a la mercancía?", Array As String("Si tiene al menos 2 pasillos con acceso directo a la mercancía", "No tiene pasillos o solo uno central")) + End If + Case "2" + If m.Get("respuesta") = "Si tiene al menos 2 pasillos con acceso directo a la mercancía" Then + Log("Mini-Super") + ToastMessageShow("Mini-Super", False) + cuest.agregaPregunta("6", "¿Cuenta con caja de salida para cobro con sistema de computo?", Array As String("Si, tiene sistema de computo para cobro", "No")) + else If m.Get("respuesta") = "No tiene pasillos o solo uno central" Then + cuest.agregaPregunta("3", "¿Cuenta con enfriador horizontal para venta de perecederos como queso, jamon, crema, etc.?", Array As String("Si", "No tiene enfriador horizontal.")) + End If + Case "3" + Log("|"&m.Get("respuesta")&"|") + If m.Get("respuesta") = "Si" Then + Log("Miscelanea") + ToastMessageShow("Miscelanea", False) + cuest.agregaPregunta("6", "¿Cuenta con caja de salida para cobro con sistema de computo?", Array As String("Si, tiene sistema de computo para cobro", "No")) + else If m.Get("respuesta") = "No tiene enfriador horizontal." Then + cuest.agregaPregunta("4", "¿El local esta enfocado a venta especializada?", Array As String("No", "Si")) + End If + Case "4" + If m.Get("respuesta") = "No" Then + Log("Abarrotera") + ToastMessageShow("Abarrotera", False) + cuest.agregaPregunta("6", "¿Cuenta con caja de salida para cobro con sistema de computo?", Array As String("Si, tiene sistema de computo para cobro", "No")) + else If m.Get("respuesta") = "Si" Then + cuest.agregaPregunta("5", "¿Cual venta especializada?", Array As String("Carnicería / Pollería", "Cremería", "Depósito / Vinateria", "Dulcería", "Farmacia", "Fonda / Restaurante / Cafetería", "Verdulería")) + End If + Case "5" + Log(m.Get("respuesta")) + ToastMessageShow(m.Get("respuesta"), False) +' If m.Get("respuesta") = "No" Then +' Log("Abarrotera") +' q.agregaPregunta("5", "¿Cuenta con caja de salida para cobro con sistema de computo?", Array As String("Si, tiene sistema de computo para cobro", "No")) +' else If m.Get("respuesta") = "Si" Then + cuest.agregaPregunta("6", "¿Cuenta con caja de salida para cobro con sistema de computo?", Array As String("Si, tiene sistema de computo para cobro", "No")) +' End If + Case "6" + Log(m.Get("respuesta")) + ToastMessageShow(m.Get("respuesta"), False) + Log(">>>>>>>>>> " & cuest.encuestaIniciada) + cuest.encuestaIniciada = False + Log(">>>>>>>>>> " & cuest.encuestaIniciada) +' refrescarCliente = True +' Log($"#### REFRESCAR CLIENTE -> ${refrescarCliente}"$) + B4XPage_Appear +' Case 6 + End Select +End Sub + + +Private Sub b_ventaabordo_Click +' c=B4XPages.MainPage.skmt.ExecQuery("Select * From CAT_GUNAPROD2") + c=B4XPages.MainPage.skmt.ExecQuery2("Select * From CAT_GUNAPROD2 where cat_gp_tipo <> ? " , Array As String ("PROMOS")) + If c.RowCount > 0 Then + + + + B4XPages.MainPage.tipo_venta = "VENTA" +' If B4XPages.MainPage.productos.clv_prods_ll.Size = 0 Then +' B4XPages.MainPage.productos.LlenaProdsLL(Null) +' Else +' +' B4XPages.MainPage.productos.clv_prods_ll.Clear +' End If + 'Buscamos en el historial de cuestionarios si el cliente ya tiene cuestionario contestado. +' Private hc As Cursor = Starter.skmt.ExecQuery($"select count(HC_CLIENTE) as cuantos from HIST_CUESTIONARIO where HC_CLIENTE = '${Subs.traeCliente}'"$) +' hc.Position = 0 +' Log($"${cuest.encuestaIniciada} - ${hc.GetString("cuantos")} - ${cuest.clienteConCuestionario(Subs.traeCliente)}"$) +' If Not(cuest.encuestaIniciada) And hc.GetString("cuantos") = 0 And Not(cuest.clienteConCuestionario(Subs.traeCliente)) Then +' cuest.agregaPregunta("1", "¿Se puede acceder al negocio o está enrejado?", Array As String("No, está enrejado o no se tiene acceso", "Si se pude acceder")) +' Return False +' End If +' Private x As Cursor = B4XPages.MainPage.skmt.ExecQuery($"select tienda_id from COORDENADAS_GPS where tienda_id = '${la_cuenta.text}'"$) +'' Log("+++++++++++++ " & x.RowCount) +' If distance > 50 And x.RowCount = 0 Then +' Private res As String = Msgbox2("¿Estas en la tienda, para guardar la nueva ubicación?", "AVISO", "Si","" ,"No", Null) 'ignore +' If res = DialogResponse.POSITIVE Then +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' B4XPages.MainPage.skmt.ExecNonQuery($"insert into COORDENADAS_GPS (tienda_id, ruta, almacen, latitud, longitud, fecha) values ('${la_cuenta.Text}', '${Subs.traeRuta}', '${Subs.traeAlmacen}', '${B4XPages.MainPage.lat_gps}', '${B4XPages.MainPage.lon_gps}', '${sDate} ${sTime}')"$) +' +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_coords_nuevas_INTMEX" +' cmd.Parameters = Array As Object(la_cuenta.text, Subs.traeRuta, Subs.traeAlmacen, sDate & " " & sTime, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps, usuario) +'' Log($"${la_cuenta.text}, ${Subs.traeRuta}, ${Subs.traeAlmacen}, ${sDate} ${sTime}, ${m_lat}, ${m_lon}"$) +' reqManager.ExecuteCommand(cmd , "ins_coords_nuevas") +' End If +' End If + 'Si hay mapa de productos es que hay venta en proceso, entonces borramos la actual para meter la nueva. +' If B4XPages.MainPage.productos.prodsMap.IsInitialized And B4XPages.MainPage.productos.prodsMap.Size > 0 Then Subs.borraPedidoClienteActual + B4XPages.ShowPage("productos") + + + Else If c.RowCount = 0 Then + + MsgboxAsync("No puedes hacer venta porque no tienes inventario abordo","Atención") + + End If + +End Sub + +Sub imprime_pagare + + + c=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 + + Public Const eLINEFEED As String = "" & Chr(0x0D) & Chr(0x0A) + + 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 = " " + + Printer1.WriteString("SHARK2 Distribuciones" & eLINEFEED) +' Printer1.WriteString(sucursal & eLINEFEED) + Printer1.WriteString(sDate & eLINEFEED) + Printer1.WriteString(sTime & eLINEFEED) + Printer1.WriteString("Vendedor:" & usuario & eLINEFEED) + Printer1.WriteString("Tienda: " & La_nombre.Text & eLINEFEED) + Printer1.WriteString("ID.Cliente: " & la_cuenta.Text & eLINEFEED) + Printer1.WriteString("Calle: " & la_Calle.Text & eLINEFEED) + Printer1.WriteString("Colonia: " & la_col.Text & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + Dim notaabono As String + Dim saldopendiente As String + c = Starter.skmt.ExecQuery("SELECT NOTA, DIA_VENCIMIENTO, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + If c.RowCount > 0 Then + c.Position = 0 + + Dim fechatabulador() As String = Regex.Split(" ", c.GetString("DIA_VENCIMIENTO")) + Dim fechatabulador2() As String = Regex.Split("-", fechatabulador(0)) + Dim fechatabulador3 As String = fechatabulador2(2)&"/"&fechatabulador2(1)&"/"&fechatabulador2(0) + + notaabono = c.GetString("NOTA") + saldopendiente = c.GetString("SALDO_PENDIENTE") + End If + c.Close + +' 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 + Log(notaabono) + Log(et_abono.Text) + Printer1.WriteString("Comprobante de pago del pagare" & eLINEFEED) + + Printer1.WriteString("Folio: " & notaabono & eLINEFEED) + + Printer1.WriteString("Monto deuda: " & (NumberFormat(saldopendiente,0,2)) & eLINEFEED) + + Printer1.WriteString("Monto abono: " & (NumberFormat(et_abono.Text,0,2)) & eLINEFEED) + + Printer1.WriteString("Restante: " &(NumberFormat(saldopendiente-et_abono.Text,0,2)) & eLINEFEED) + + Printer1.WriteString("Fecha Abono: " & sDate & eLINEFEED) + + Printer1.WriteString("Fecha vencimiento: " & fechatabulador3 & eLINEFEED) + + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + + Printer1.WriteString("------------------------------" & eLINEFEED) + Printer1.WriteString("-------------FIRMA------------" & eLINEFEED) + + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + Printer1.WriteString(" " & eLINEFEED) + 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 + imprime_pagare + Else + h = B4XPages.MainPage.skmt.ExecQuery("SELECT CUENTA from CUENTAA") + h.Position = 0 + Log(h.GetString("CUENTA")) + + j = B4XPages.MainPage.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 + + 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 = "" + B4XPage_Appear + 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)}')"$) + 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 = "" + B4XPage_Appear + End If + + End If + +' printer.Flush + ' printer.Close +End Sub + +Private Sub b_cxc_LongClick +' imprime_pagare +End Sub + +Private Sub b_ubicar_Click + StartActivity(MAPA_CLIENTE) +End Sub + + + +Private Sub b_act_coords_Click + h = B4XPages.MainPage.skmt.ExecQuery("SELECT IFNULL(CAT_CL_BCOORDENADAS,0) AS CAT_CL_BCOORDENADAS from kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + h.Position = 0 + Log(h.GetInt("CAT_CL_BCOORDENADAS")) + If h.GetInt("CAT_CL_BCOORDENADAS") <= 2 Then + Log(B4XPages.MainPage.lon_gps & " , " & B4XPages.MainPage.lat_gps) + + Private coord As Cursor = B4XPages.MainPage.skmt.ExecQuery("SELECT * from COORDENADAS where CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + + If coord.RowCount = 0 Then + skmt.ExecNonQuery2("INSERT INTO COORDENADAS(LAT,LONG,CLIENTE,CANTIDAD) VALUES (?,?,?,?)", Array As String (B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps,Subs.traeCliente,(h.GetInt("CAT_CL_BCOORDENADAS")+1))) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE kmt_info set CAT_CL_LONG = ?, CAT_CL_LAT =?, CAT_CL_BCOORDENADAS = ? where CAT_CL_CODIGO In (select cuenta from cuentaa)", Array As Object(B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps,(h.GetInt("CAT_CL_BCOORDENADAS")+1))) + MsgboxAsync("Coordenadas actualizadas.","Atención") + Else + skmt.ExecNonQuery2("UPDATE COORDENADAS SET LAT = ?, LONG = ?,CANTIDAD = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)", Array As String (B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps,(h.GetInt("CAT_CL_BCOORDENADAS")+1))) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE kmt_info set CAT_CL_LONG = ?, CAT_CL_LAT =?, CAT_CL_BCOORDENADAS = ? where CAT_CL_CODIGO In (select cuenta from cuentaa)", Array As Object(B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps,(h.GetInt("CAT_CL_BCOORDENADAS")+1))) + MsgboxAsync("Coordenadas actualizadas.","Atención") + End If + + + Else + MsgboxAsync("Las coordenadas de este cliente ya fueron actualizadas.","Atención") + End If +End Sub + +Private Sub l_atiende_LongClick + p_atiende.Height = Root.Height + p_atiende.Width = Root.Width + p_atiende.Visible = True +End Sub + +Private Sub b_acepatiende_Click + If et_atiende.Text <> "" Then + + Private coord As Cursor = B4XPages.MainPage.skmt.ExecQuery("SELECT * from ATIENDE where CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + + If coord.RowCount = 0 Then + skmt.ExecNonQuery2("INSERT INTO ATIENDE(ATIENDE,CLIENTE) VALUES (?,?)", Array As String (et_atiende.Text,Subs.traeCliente)) + B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE kmt_info set CAT_CL_ATIENDE1 = '${et_atiende.Text}' where CAT_CL_CODIGO In (select cuenta from cuentaa)"$) + MsgboxAsync("Datos actualizados.","Atención") + l_atiende.Text = et_atiende.Text + ime.HideKeyboard + p_atiende.Visible = False + et_atiende.Text = "" + Else + skmt.ExecNonQuery2("UPDATE ATIENDE SET ATIENDE = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)", Array As String (et_atiende.Text)) + B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE kmt_info set CAT_CL_ATIENDE1 = '${et_atiende.Text}' where CAT_CL_CODIGO In (select cuenta from cuentaa)"$) + MsgboxAsync("Datos actualizados.","Atención") + l_atiende.Text = et_atiende.Text + ime.HideKeyboard + p_atiende.Visible = False + et_atiende.Text = "" + End If + + + Else + MsgboxAsync("Por favor captura un nombre valido.","Atención") + End If +End Sub + +Private Sub b_cancelatiende_Click + p_atiende.Visible = False + et_atiende.Text = "" + ime.HideKeyboard +End Sub + +Private Sub p_atiende_Click + +End Sub + + + +Private Sub l_giro_LongClick + c = Starter.skmt.ExecQuery("SELECT GIRO FROM CAT_GIRO order by 1") + Dim Items As List + Items.Initialize + Items.Add("SELECCIONA UNA OPCIÓN") + If c.RowCount > 0 Then + For i = 0 To c.RowCount-1 + c.Position = i + Items.Add(c.GetString("GIRO")) + Next + cb_giro.SetItems(Items) + End If + giros = "SELECCIONA UNA OPCIÓN" + c.Close + p_giro.Height = Root.Height + p_giro.Width = Root.Width + p_giro.Visible = True +End Sub + +Private Sub b_acepgiro_Click + If giros <> "SELECCIONA UNA OPCIÓN" Or cb_giro.SelectedItem <> "SELECCIONA UNA OPCIÓN" Then + Private coord As Cursor = B4XPages.MainPage.skmt.ExecQuery("SELECT * from GIROS_ACTUAL where CLIENTE IN (SELECT CUENTA FROM CUENTAA)") + + If coord.RowCount = 0 Then + skmt.ExecNonQuery2("INSERT INTO GIROS_ACTUAL(GIRO,CLIENTE) VALUES (?,?)", Array As String (giros,Subs.traeCliente)) + B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE kmt_info set CAT_CL_GIRO = '${cb_giro.SelectedItem}' where CAT_CL_CODIGO In (select cuenta from cuentaa)"$) + MsgboxAsync("Datos actualizados.","Atención") + l_giro.Text = giros + ime.HideKeyboard + p_giro.Visible = False + giros = "SELECCIONA UNA OPCIÓN" + Else + skmt.ExecNonQuery2("UPDATE GIROS_ACTUAL SET GIRO = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)", Array As String (giros)) + B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE kmt_info set CAT_CL_GIRO = '${cb_giro.SelectedItem}' where CAT_CL_CODIGO In (select cuenta from cuentaa)"$) + MsgboxAsync("Datos actualizados.","Atención") + l_giro.Text = giros + ime.HideKeyboard + p_giro.Visible = False + giros = "SELECCIONA UNA OPCIÓN" + End If + Else + MsgboxAsync("Por favor selecciona un giro valido.","Atención") + End If +End Sub + +Private Sub b_cancelgiro_Click + p_giro.Visible = False +End Sub + +Private Sub cb_giro_SelectedIndexChanged (Index As Int) + giros = cb_giro.SelectedItem +End Sub + +Private Sub p_giro_Click + +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..7f0054c --- /dev/null +++ b/B4A/C_Clientes.bas @@ -0,0 +1,583 @@ +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 skmt As SQL + Dim c As Cursor + Dim c2 As Cursor + Dim d As Cursor + Dim s As Cursor + Dim ListView1 As ListView + Dim entro As String + Dim gest As Button + Dim lfila As Label + Dim busca As EditText + Dim colonia As String + Private b_qr As Button + Private qr As QRCode + ' Dim sc As Zxing_scanner + Dim CODIGO As String + Dim STIME As String + Dim ruta As String + Dim q_buscar As String + Private p_clientes As Panel + Private CustomListView1 As CustomListView + Private numerocliente As Label + Private nombrecliente As Label + Private direccion As Label + Private cxc As Label + Private p_datosclie As Panel + Private b_buscar As Button + Private CHECK As Int + Private l_baseodia As Label + Dim lista_punta As List + Private CREDITO 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("clientes") + 'Dim ruta As String + entro ="2" + ' valido donde escribo el archivo de la base de datos de kmt +' If File.ExternalWritable Then +' ruta = File.DirDefaultExternal +' Else + ruta = File.DirInternal +' End If + + ' se crea o no el archivo de la base de ddatos de kmt + 'NOTAS SI SE MODIFICA LA ESTRUCTURA SE QUITA EL IF Y SE VA DIRECTO A LA SENTENCIA FILE.COPY PARA QUE + 'TOME LA NUEVA ESTRUCTURA ES MUY IMPORTANTE TENER EL IF DE LO CONTRARIO SOLO LO ESCRIBE UNA VEZ Y LO BORRA + 'SI SE REGRESA A ESTE ACTIVIDAD. + If File.Exists(ruta, "kmt.db") = False Then + File.Copy(File.DirAssets, "kmt.db", ruta, "kmt.db") + End If + qr.initialize +End Sub + +Sub B4XPage_Appear + l_baseodia.Text = "Clientes del día de visita" + CHECK = 0 + busca.Text = "" + entro ="2" + colonia = 0 + c=B4XPages.MainPage.skmt.ExecQuery($"select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 AND CAT_CL_CODIGO <> ${"0"} AND CAT_CL_CODIGO <> ${"1"} ORDER BY CAST(CAT_CL_NUM_SERIEFISICO AS INTEGER) ASC"$) + ListView1.Clear + lfila.Text = "NOMBRE" + + CallSubDelayed(Tracker, "Track") + CallSubDelayed(Tracker, "StartFLPSmall") + If Tracker.FLP.IsInitialized And Tracker.FLP.GetLastKnownLocation.IsInitialized Then 'Si tenemos "UltimaUbicaccionConocida" la usamos. + B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastKnownLocation.Latitude + B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastKnownLocation.Longitude +' Log($"Tenemos UUC: ${Tracker.FLP.GetLastKnownLocation.Latitude},${Tracker.FLP.GetLastKnownLocation.Longitude}"$) + GPS_LocationChanged(Tracker.FLP.GetLastKnownLocation) + End If + + CustomListView1.Clear + For i = 0 To c.RowCount - 1 + c.Position = i + CustomListView1.Add(CreateListItem(c.GetString("CAT_CL_NOMBRE"),c.GetString("CAT_CL_CALLE"),c.GetString("CAT_CL_CODIGO")),i) + d = B4XPages.MainPage.skmt.ExecQuery($"select CLIENTE FROM ABONOSP WHERE CLIENTE = '${c.GetString("CAT_CL_CODIGO")}'"$) + If d.RowCount = 0 Then + cxc.Visible = False + Else + cxc.Visible = True + End If + + d = B4XPages.MainPage.skmt.ExecQuery($"select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '${c.GetString("CAT_CL_CODIGO")}'"$) +' LogColor(d.RowCount,Colors.Blue) + If d.RowCount > 0 Then + d.Position = 0 + If d.GetString("CAT_CL_BCREDITO") = "1" Then + CREDITO.Visible = True + Else + CREDITO.Visible = False + End If + d.Close + Else + CREDITO.Visible = False + End If + Next + 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 = 13 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 13 + label2.TextColor = Colors.Black + ListView1.AddTwoLines(c.GetString("CAT_CL_CODIGO"), c.GetString("CAT_CL_NOMBRE")) + Next + End If + c.Close + entro = "4" + +' lista_punta.Initialize +' Dim pol As Cursor = Starter.skmt.ExecQuery("SELECT LAT, LONG FROM POLIGONO") +' If pol.RowCount > 0 Then +' +' For poli = 0 To pol.RowCount -1 +' pol.Position = poli +' Dim coords As LatLng +' coords.Initialize(pol.GetString("LAT"), pol.GetString("LONG")) +' lista_punta.Add(coords) +' Next +' End If + +End Sub + + + +Sub GPS_LocationChanged (Location1 As Location) +' LogColor($"Entrando a Cliente.GPS_LocationChanged"$, Colors.red) + If Tracker.FLP.GetLastKnownLocation.IsInitialized And Tracker.FLP.GetLastKnownLocation.Latitude <> 0 Then + B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastKnownLocation.Latitude + B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastKnownLocation.Longitude +' Log("Coords set to: " & B4XPages.MainPage.lat_gps & " and " & B4XPages.MainPage.lon_gps) + End If + + + CallSubDelayed(Tracker, "CreateLocationRequest") +End Sub + +Sub CreateListItem(mostrar As String, mostrar1 As String, mostrar2 As String) As Panel + Dim p As B4XView = xui.CreatePanel("") + p.SetLayoutAnimated(0, 0, 0, 1, 220) + p.LoadLayout("datoscliente") + p.Height= 60dip +' p.Width = clv_orden.GetBase.Width + nombrecliente.Text = mostrar + direccion.Text = mostrar1 + numerocliente.Text = mostrar2 + p_datosclie.Tag = mostrar2 +' cxc.Text = mostrar3 +' Log(p.Width) + Return p +End Sub + +Sub PointInPolygon(point As LatLng, polygon As List) As Boolean + Dim x As Double = point.Longitude + Dim y As Double = point.Latitude + + Dim inside As Boolean = False + For i = 0 To polygon.Size - 1 + Dim j As Int = (i + 1) Mod polygon.Size + Dim p1_1 As LatLng = polygon.Get(i) + Dim p2_1 As LatLng = polygon.Get(j) + + Dim xi As Double = p1_1.Longitude + Dim yi As Double = p1_1.Latitude + Dim xj As Double = p2_1.Longitude + Dim yj As Double = p2_1.Latitude + + Dim intersect As Boolean = ((yi > y) <> (yj > y)) And (x < (xj - xi) * (y - yi) / (yj - yi) + xi) + If intersect Then + inside = Not(inside) + End If + Next + + Return inside + + +End Sub + + +Sub ListView1_ItemClick (Position As Int, value As Object) + If colonia = 0 Then + colonia = value + End If + If entro = "2" Then + c2=B4XPages.MainPage.skmt.ExecQuery2("select CAT_CL_CALLE, CAT_CL_COLONIA, count(*) as cuantos from kmt_info where gestion = 0 and CAT_CL_COLONIA = ? GROUP BY CAT_CL_CALLE, CAT_CL_COLONIA order by CAT_CL_CALLE ", Array As String(value)) + ListView1.Clear + lfila.text = "Calle" + If c2.RowCount>0 Then + For i=0 To c2.RowCount -1 + c2.Position=i + ListView1.AddTwoLines(c2.GetString("CAT_CL_CALLE"),c2.GetString("cuantos") ) + Next + End If + entro = "3" + Else If entro = "3" Then + c2=B4XPages.MainPage.skmt.ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 and CAT_CL_CALLE = ? AND CAT_CL_COLONIA = ? order by CAT_CL_NOMBRE ", Array As String(value, colonia)) + ListView1.Clear + lfila.text = "Nombre" + If c2.RowCount>0 Then + For i=0 To c2.RowCount -1 + c2.Position=i + ListView1.AddTwoLines(c2.GetString("CAT_CL_CODIGO"), c2.GetString("CAT_CL_NOMBRE")) + Next + End If + entro = "4" + Else If entro = "4" Then + Dim mPoint As LatLng + mPoint.Initialize(B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps) + +' If lista_punta.Size > 0 Then +' Dim dentro As Boolean = PointInPolygon(mPoint, lista_punta) +' Else +' ToastMessageShow("El punto está FUERA del polígono", True) +' End If + + + B4XPages.MainPage.skmt.ExecNonQuery("delete from CUENTAA") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object(value)) + DateTime.TimeFormat = "HHmmss" + STIME=DateTime.Time(DateTime.Now) + Starter.pre_viejo = Subs.traeTotalClientepreventaparacredito + s=B4XPages.MainPage.skmt.ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = ? AND HSS_CODIGO In (select cuenta from cuentaa)", Array As String("0")) + s.Position = 0 + If s.GetString("CUANTOS") = 1 Then + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)", Array As Object(STIME)) + Else + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)", Array As Object (value)) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)", Array As Object(STIME)) + End If + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_INI = ? where HSO_INI = 0 ", Array As Object(STIME)) + DateTime.TimeFormat = "HH:mm:ss" + + Subs.guardaClienteHoraInicio(value) + + B4XPages.ShowPage("Cliente") + End If +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub + ' BACK key pressed + 'Return True to close, False to cancel +' If key=KeyCodes.KEYCODE_BACK Then +' StartActivity(seleccion) +' Return False +' End If + Return True +End Sub + +Sub BUSCA_TextChanged (Old As String, New As String) + If CHECK = 0 Then + q_buscar = "%" & busca.Text & "%" + c2=B4XPages.MainPage.skmt.ExecQuery2($"select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?)and gestion = 0 AND CAT_CL_CODIGO <> ${"0"} AND CAT_CL_CODIGO <> ${"1"} order by CAT_CL_CODIGO "$, Array As String(q_buscar,q_buscar,q_buscar)) + ListView1.Clear + lfila.text = "Nombre y Calle" + + CustomListView1.Clear + For i = 0 To c2.RowCount - 1 + c2.Position = i + CustomListView1.Add(CreateListItem(c2.GetString("CAT_CL_NOMBRE"),c2.GetString("CAT_CL_CALLE"),c2.GetString("CAT_CL_CODIGO")),i) + d = B4XPages.MainPage.skmt.ExecQuery($"select CLIENTE FROM ABONOSP WHERE CLIENTE = '${c2.GetString("CAT_CL_CODIGO")}'"$) + If d.RowCount = 0 Then + cxc.Visible = False + Else + cxc.Visible = True + End If + + d = B4XPages.MainPage.skmt.ExecQuery($"select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '${c2.GetString("CAT_CL_CODIGO")}'"$) +' LogColor(d.RowCount,Colors.Blue) + If d.RowCount > 0 Then + d.Position = 0 +' LogColor(d.GetString("CAT_CL_BCREDITO"),Colors.Blue) + If d.GetString("CAT_CL_BCREDITO") = "1" Then + CREDITO.Visible = True + Else + CREDITO.Visible = False + End If + d.Close + Else + CREDITO.Visible = False + End If + Next + + 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 = 9 + label1.TextColor = Colors.White + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 17 + label2.TextColor = Colors.White + ListView1.AddTwoLines(c2.GetString("CAT_CL_CODIGO"), c2.GetString("CAT_CL_NOMBRE") &" CALLE: "& c2.GetString("CAT_CL_CALLE")) + Next + End If + entro = "4" + c2.Close + Else If CHECK = 1 Then + q_buscar = "%" & busca.Text & "%" + c2=B4XPages.MainPage.skmt.ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info2 where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?)and gestion = 0 order by CAT_CL_CODIGO ", Array As String(q_buscar,q_buscar,q_buscar)) + ListView1.Clear + lfila.text = "Nombre y Calle" + + CustomListView1.Clear + For i = 0 To c2.RowCount - 1 + c2.Position = i + CustomListView1.Add(CreateListItem(c2.GetString("CAT_CL_NOMBRE"),c2.GetString("CAT_CL_CALLE"),c2.GetString("CAT_CL_CODIGO")),i) + d = B4XPages.MainPage.skmt.ExecQuery($"select CLIENTE FROM ABONOSP WHERE CLIENTE = '${c2.GetString("CAT_CL_CODIGO")}'"$) + If d.RowCount = 0 Then + cxc.Visible = False + Else + cxc.Visible = True + End If + d = B4XPages.MainPage.skmt.ExecQuery($"select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO = '${c2.GetString("CAT_CL_CODIGO")}'"$) +' LogColor(d.RowCount,Colors.Blue) + If d.RowCount > 0 Then + d.Position = 0 + LogColor(d.GetString("CAT_CL_BCREDITO"),Colors.Blue) + If d.GetString("CAT_CL_BCREDITO") = "1" Then + CREDITO.Visible = True + Else + CREDITO.Visible = False + End If + d.Close + Else + CREDITO.Visible = False + End If + Next + + 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 = 9 + label1.TextColor = Colors.White + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 17 + label2.TextColor = Colors.White + ListView1.AddTwoLines(c2.GetString("CAT_CL_CODIGO"), c2.GetString("CAT_CL_NOMBRE") &" CALLE: "& c2.GetString("CAT_CL_CALLE")) + Next + End If + entro = "4" + c2.Close + End If +End Sub + +Sub b_qr_Click + Dim scan_width As Int + Dim scan_height As Int + scan_width = 400 + scan_height = 400 +End Sub + +Sub sc_result(atype As String,Values As String) + CODIGO = Values + c2=B4XPages.MainPage.skmt.ExecQuery2("select COUNT(*) AS ENCONTRADO from kmt_info where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ", Array As String(CODIGO)) + c2.Position =0 + If c2.GetString("ENCONTRADO") > 0 Then + s=B4XPages.MainPage.skmt.ExecQuery2("select CAT_CL_CODIGO from kmt_info where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ", Array As String(CODIGO)) + s.Position =0 + B4XPages.MainPage.skmt.ExecNonQuery("delete from CUENTAA") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object(s.GetString("CAT_CL_CODIGO"))) + s.Close +' b_qr.Visible = False + B4XPages.ShowPage("clientes") + Else + Msgbox("CODIGO " & CODIGO & " NO ENCONTRADO","AVISO") 'ignore + End If +End Sub + +Sub sc_noScan + Log("nothing returned from the scan !!!!!") +End Sub + +Sub calc_ean_checksum(number As String) As String 'this has now become redundant as I am only interested in QR Codes + Dim i As Int + Dim cO As Char + Dim soma As Int + Dim n As Int + Dim digit As Float + soma = 0 + For i=0 To number.Length - 1 + digit = number.SubString2(i,i+1) + n= digit * ((i Mod 2) * 2 + 1) + soma=soma+n + Next + Return number & ( ( 10 - ( soma Mod 10 )) Mod 10 ) +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Private Sub p_clientes_Click + 'Nada aqui, solo esta para que los clics no se pasen hacia atras. +End Sub + +Private Sub p_datosclie_Click + If colonia = 0 Then + colonia = Sender.As(Panel).tag + End If + If entro = "2" Then + c2=B4XPages.MainPage.skmt.ExecQuery2("select CAT_CL_CALLE, CAT_CL_COLONIA, count(*) as cuantos from kmt_info where gestion = 0 and CAT_CL_COLONIA = ? GROUP BY CAT_CL_CALLE, CAT_CL_COLONIA order by CAT_CL_CALLE ", Array As String(Sender.As(Panel).tag)) + ListView1.Clear + lfila.text = "Calle" + If c2.RowCount>0 Then + For i=0 To c2.RowCount -1 + c2.Position=i + ListView1.AddTwoLines(c2.GetString("CAT_CL_CALLE"),c2.GetString("cuantos") ) + Next + End If + entro = "3" + Else If entro = "3" Then + c2=B4XPages.MainPage.skmt.ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 and CAT_CL_CALLE = ? AND CAT_CL_COLONIA = ? order by CAT_CL_NOMBRE ", Array As String(Sender.As(Panel).tag, colonia)) + ListView1.Clear + lfila.text = "Nombre" + If c2.RowCount>0 Then + For i=0 To c2.RowCount -1 + c2.Position=i + ListView1.AddTwoLines(c2.GetString("CAT_CL_CODIGO"), c2.GetString("CAT_CL_NOMBRE")) + Next + End If + entro = "4" + Else If entro = "4" Then + B4XPages.MainPage.skmt.ExecNonQuery("delete from CUENTAA") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object(Sender.As(Panel).tag)) + DateTime.TimeFormat = "HHmmss" + STIME=DateTime.Time(DateTime.Now) + + s=B4XPages.MainPage.skmt.ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = ? AND HSS_CODIGO In (select cuenta from cuentaa)", Array As String("0")) + s.Position = 0 + If s.GetString("CUANTOS") = 1 Then + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)", Array As Object(STIME)) + Else + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)", Array As Object (Sender.As(Panel).tag)) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)", Array As Object(STIME)) + End If + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_INI = ? where HSO_INI = 0 ", Array As Object(STIME)) + DateTime.TimeFormat = "HH:mm:ss" + + Subs.guardaClienteHoraInicio(Sender.As(Panel).tag) + + B4XPages.ShowPage("Cliente") + End If + +' Log(Sender.As(Panel).tag) +End Sub + +Private Sub b_buscar_Click + Log(CHECK) + If CHECK = 0 Then + l_baseodia.Text = "Clientes de base de datos" + CHECK = 1 + busca.Text = "" + entro ="2" + colonia = 0 + c=B4XPages.MainPage.skmt.ExecQuery($"select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info2 where gestion = 0 AND CAT_CL_CODIGO <> ${"0"} AND CAT_CL_CODIGO <> ${"1"} ORDER BY CAT_CL_CODIGO"$) + ListView1.Clear + lfila.Text = "NOMBRE" + ListView1.Clear + CustomListView1.Clear + For i = 0 To c.RowCount - 1 + c.Position = i + CustomListView1.Add(CreateListItem(c.GetString("CAT_CL_NOMBRE"),c.GetString("CAT_CL_CALLE"),c.GetString("CAT_CL_CODIGO")),i) + d = B4XPages.MainPage.skmt.ExecQuery($"select CLIENTE FROM ABONOSP WHERE CLIENTE = '${c.GetString("CAT_CL_CODIGO")}'"$) + If d.RowCount = 0 Then + cxc.Visible = False + Else + cxc.Visible = True + End If + + d = B4XPages.MainPage.skmt.ExecQuery($"select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO = '${c.GetString("CAT_CL_CODIGO")}'"$) +' LogColor(d.RowCount,Colors.Blue) + If d.RowCount > 0 Then + d.Position = 0 + LogColor(d.GetString("CAT_CL_BCREDITO"),Colors.Blue) + If d.GetString("CAT_CL_BCREDITO") = "1" Then + CREDITO.Visible = True + + Else + CREDITO.Visible = False + End If + d.Close + Else + CREDITO.Visible = False + End If + Next + 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 = 13 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 13 + label2.TextColor = Colors.Black + ListView1.AddTwoLines(c.GetString("CAT_CL_CODIGO"), c.GetString("CAT_CL_NOMBRE")) + Next + End If + c.Close + entro = "4" + + Else If CHECK = 1 Then + l_baseodia.Text = "Clientes del día de visita" + CHECK = 0 + busca.Text = "" + entro ="2" + colonia = 0 + c=B4XPages.MainPage.skmt.ExecQuery($"select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 AND CAT_CL_CODIGO <> ${"0"} AND CAT_CL_CODIGO <> ${"1"} ORDER BY CAT_CL_CODIGO"$) + ListView1.Clear + lfila.Text = "NOMBRE" + ListView1.Clear + CustomListView1.Clear + For i = 0 To c.RowCount - 1 + c.Position = i + CustomListView1.Add(CreateListItem(c.GetString("CAT_CL_NOMBRE"),c.GetString("CAT_CL_CALLE"),c.GetString("CAT_CL_CODIGO")),i) + d = B4XPages.MainPage.skmt.ExecQuery($"select CLIENTE FROM ABONOSP WHERE CLIENTE = '${c.GetString("CAT_CL_CODIGO")}'"$) + If d.RowCount = 0 Then + cxc.Visible = False + Else + cxc.Visible = True + End If + + d = B4XPages.MainPage.skmt.ExecQuery($"select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '${c.GetString("CAT_CL_CODIGO")}'"$) +' LogColor(d.RowCount,Colors.Blue) + If d.RowCount > 0 Then + d.Position = 0 + LogColor(d.GetString("CAT_CL_BCREDITO"),Colors.Blue) + If d.GetString("CAT_CL_BCREDITO") = "1" Then + CREDITO.Visible = True + Else + CREDITO.Visible = False + End If + d.Close + Else + CREDITO.Visible = False + End If + Next + 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 = 13 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 13 + label2.TextColor = Colors.Black + ListView1.AddTwoLines(c.GetString("CAT_CL_CODIGO"), c.GetString("CAT_CL_NOMBRE")) + Next + End If + c.Close + entro = "4" + + End If +End Sub diff --git a/B4A/C_Cobranza.bas b/B4A/C_Cobranza.bas new file mode 100644 index 0000000..c266040 --- /dev/null +++ b/B4A/C_Cobranza.bas @@ -0,0 +1,27 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=13.1 +@EndOfDesignText@ +Sub Class_Globals + Private Root As B4XView 'ignore + Private xui As XUI 'ignore + Private pnlCobranza As Panel + Private clvCobranza As CustomListView +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_Cuestionario.bas b/B4A/C_Cuestionario.bas new file mode 100644 index 0000000..10422ee --- /dev/null +++ b/B4A/C_Cuestionario.bas @@ -0,0 +1,179 @@ +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 bAceptarPregunta As Button + Dim encuestaIniciada As Boolean = False + Private Root2 As B4XView + Private EventName As String 'ignore + Private CallBack As Object 'ignore + Private vPreguntaActual As String + Private db As SQL +' Private clienteAnt As String = "" + Dim panelSombra As Panel 'Panel de sombra. +End Sub + +'You can add more parameters here. +Public Sub Initialize (vCallback As Object, vEventName As String, vRoot As B4XView, skmt As SQL) As Object + Root2 = vRoot + EventName = vEventName + CallBack = vCallback + db = skmt + vPreguntaActual = 0 + db.ExecNonQuery("CREATE TABLE IF NOT EXISTS CUESTIONARIO (Q_RUTA TEXT, Q_ALMACEN TEXT, Q_IDCLIENTE TEXT, Q_IDPREGUNTA TEXT, Q_PREGUNTA TEXT, Q_IDRESPUESTA TEXT, Q_RESPUESTA TEXT, Q_FECHA TEXT, Q_ENVIO_OK INTEGER DEFAULT 0)") + agregaColumna("CUESTIONARIO", "Q_ENVIO_OK", "TEXT") + agregaColumna("CUESTIONARIO", "Q_RUTA", "TEXT") + agregaColumna("CUESTIONARIO", "Q_ALMACEN", "TEXT") + 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 + +'Regresa verdadero o falso dependiendo de si ya se inició la encuesta. +'Sub encuestaIniciada As Boolean +' Return vEncuestaIniciada +'End Sub + +'Regresa el Id de la pregunta actual (read-only). +Sub preguntaActual As String 'ignore + Return vPreguntaActual +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +'Muestra una pregunta con sus posibles respuestas. +' La lista de respuestas puede ser directamente un array p. ej. Array As String("value1", "value2") +' Crear un Sub_Click con el nombre del evento para que reciba un mapa con la respuesta p. ej.: Sub questionario_Click +' Regresa un mapa con: +' idPregunta - El Id especificado de la pregunta. +' pregunta - El texto de la pregunta. +' idRespuesta - Un numero consecutivo empezando en 1 por cada pregunta. +' respuesta - El texto de la respuesta. +' panel - El panel del popup para poder ocultarlo al contestar la pregunta. ( p. ej.: m.Get("panel").As(Panel).Visible = false ) +'########################################### +' Sub questionario_Click +' if m.get("idPregunta") = "1" ..Then .. Else con nuevas preguntas +' End Sub +'########################################### +Sub agregaPregunta(id As String, pregunta As String, respuestas As List) + encuestaIniciada = True + vPreguntaActual = id + bAceptarPregunta.Initialize("bAceptarPregunta") + + Private su As StringUtils + panelSombra.Initialize("pSombra") + Private cd As ColorDrawable + cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0) + panelSombra.Background = cd + Private panelX As Panel 'Panel de la pregunta. + panelX.Initialize("pQuest") + Private lbl As Label 'Etiqueta de la pregunta. + lbl.Initialize("") + lbl.Text = pregunta + lbl.TextSize = 16 + lbl.TextColor = Colors.Black + cd.Initialize2(Colors.white, 20, 1, Colors.Gray) 'Borde y esquinas redondeadas del panel de la pregunta. + panelX.Background = cd + panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 200dip) + Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'add the panel to the layout + panelX.AddView(lbl, 20dip, 20dip, (panelX.Width * 0.9), 40dip) 'Agregamos la etiqueta al panel. + lbl.Height = su.MeasureMultilineTextHeight(lbl, lbl.Text) + Private r(respuestas.Size) As RadioButton + For p = 0 To respuestas.Size - 1 + r(p).Initialize("r") + r(p).Text = respuestas.Get(p) + r(p).Tag = CreateMap("id":id, "pregunta":pregunta, "panel":panelSombra, "idRespuesta":p + 1) + panelX.AddView(r(p), 10dip, (70 * (p + 1)), (panelX.Width * 0.9), 10) 'Agegamos el radio al panel. + r(p).Height = su.MeasureMultilineTextHeight(r(p), r(p).Text) + 25 'Calculamos el alto del radio de acuerdo al largo del texto. + Private newTop As Int = lbl.top + lbl.Height + 10 'Si es el primer radio, lo ponemos en top = alto de la "pregunta" + 10. + If p <> 0 Then newTop = r(p - 1).Top + r(p - 1).Height + 5 'Calculamos el Top del radio de acuerdo al top y alto del radio anterior. + r(p).Top = newTop + Next + r(0).Checked = True + bAceptarPregunta.Text = "Continuar" + panelX.AddView(bAceptarPregunta, 10, newTop + r(respuestas.Size - 1).Height + 20, 150dip, 50dip) 'Ponemos el boton de continuar despues del ultimo radio. + bAceptarPregunta.Left = (panelX.Width / 2) - (bAceptarPregunta.Width / 2) + panelX.Height = bAceptarPregunta.Top + bAceptarPregunta.Height + 15dip 'Calculamos el alto del panel de acuerdo al Top del boton. + panelX.left = (Root2.Width / 2) - (panelX.Width / 2) + panelX.top = (Root2.Height / 3) - (panelX.Height / 2) + panelSombra.Width = Root2.Width + panelSombra.Height = Root2.Height + panelSombra.Elevation = 100 + panelSombra.BringToFront +' panelSombra.Elevation = 0 +End Sub + +private Sub preguntaContestada(Success As Map) 'ignore + If SubExists(CallBack, EventName & "_preguntaContestada") Then + CallSubDelayed2(CallBack, EventName & "_preguntaContestada", Success) + End If +End Sub + +private Sub pSombra_Click +End Sub + +private Sub r_CheckedChange(Checked As Boolean) + bAceptarPregunta.tag = CreateMap("idPregunta":Sender.As(RadioButton).tag.As(Map).Get("id").As(String), "pregunta":Sender.As(RadioButton).tag.As(Map).Get("pregunta"), "idRespuesta":Sender.As(RadioButton).tag.As(Map).Get("idRespuesta").As(String), "respuesta":Sender.As(RadioButton).text, "panel":Sender.As(RadioButton).tag.As(Map).Get("panel")) +End Sub + +Private Sub bAceptarPregunta_Click + encuestaIniciada = True + Private m As Map = Sender.As(Button).tag.As(Map) 'Recibimos el id de la pregunta, el id de la respuesta, el texto de la respuesta y el objeto del panelSombra para poder ocultarlo. + preguntaContestada(m) +'' m.Get("panel").As(Panel).Visible = False 'Ocultamos el panel de la pregunta. +' m.Get("panel").As(Panel).RemoveView +' If m.Get("idPregunta") = "1" And m.Get("respuesta") = "No, está enrejado o no se tiene acceso" Then +' Log("Tiendajon / Ventana / Kiosko") +' else If m.Get("idPregunta") = "1" And m.Get("respuesta") = "Si se pude acceder" Then +' agregaPregunta("2", "¿Tiene al menos 2 pasillos con acceso directo a la mercancía?", Array As String("Si tiene al menos 2 pasillos con acceso directo a la mercancía", "No tiene pasillos o solo uno central")) +' End If +' If m.Get("idPregunta") = "2" And m.Get("respuesta") = "Si tiene al menos 2 pasillos con acceso directo a la mercancía" Then +' Log("Mini-Super") +' else If m.Get("idPregunta") = "2" And m.Get("respuesta") = "No tiene pasillos o solo uno central" Then +' agregaPregunta("3", "¿Cuenta con enfriador horizontal para venta de perecederos como queso, jamon, crema, etc.?", Array As String("Si", "No tiene enfriador horizontal. ¿El local esta enfocado a venta especializada?")) +' End If +End Sub + +'Regresa verdadero si el cliente dado tiene cuestionario contestado. +Sub clienteConCuestionario(idCliente As String) As Boolean 'ignore + Private r As Boolean = False + Private c As Cursor = db.ExecQuery($"select count(*) as q from CUESTIONARIO where Q_IDCLIENTE = '${idCliente}'"$) + c.Position = 0 + If c.GetInt("q") > 0 Then r = True + Return r +End Sub + +'Oculta el anel de la pregunta. +Sub ocultPanelPregunta + If panelSombra.IsInitialized Then panelSombra.RemoveView +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) 'ignore + Try 'Intentamos usar "pragma_table_info" para revisar si existe la columna en la tabla + Private c As Cursor = db.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 + db.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 + db.ExecNonQuery($"ALTER TABLE ${tabla} ADD COLUMN ${columna} ${tipo}"$) + Log($"Columna "${columna} ${tipo}", agregada a "${tabla}".."$) + Catch + Log(LastException) + End Try + End Try +End Sub \ No newline at end of file diff --git a/B4A/C_Historico.bas b/B4A/C_Historico.bas new file mode 100644 index 0000000..ccad2cd --- /dev/null +++ b/B4A/C_Historico.bas @@ -0,0 +1,123 @@ +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 Regresar As Button + + + Dim ListView1 As ListView + Dim L_CANT As Label + Dim L_TOTAL As Label + Dim borra As Button + Dim Existe As String + Dim result As String + ' Dim lat_gps, lon_gps As String + + Private Titulo As Label + Private b_desc As Button + Private ListView2 As ListView + Dim tgl As Toggle +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 + ruta = File.DirInternal + Root.LoadLayout("nota") + borra.Visible = False + Titulo.Text = "Acumulado" + b_desc.Visible = False + If File.Exists(ruta, "kmt.db") = False Then + File.Copy(File.DirAssets, "kmt.db", ruta, "kmt.db") + End If +' skmt.Initialize(ruta,"kmt.db", True) +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub B4XPage_Appear + If Not(Starter.gps.GPSEnabled) Then + ToastMessageShow("Es necesario tener el GPS encendido", True) + StartActivity(Starter.gps.LocationSettingsIntent) + End If + L_CANT.Text ="" + L_TOTAL.Text="" + c=B4XPages.MainPage.skmt.ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)") + C.Position=0 + Existe = C.GetString("EXISTE") + C.Close + c=B4XPages.MainPage.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") + 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 = 15 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 10 + label2.TextColor = Colors.Blue + ListView1.AddTwoLines(c.GetString("HVD_PRONOMBRE"),"Cantidad #"& c.GetString("HVD_CANT")& " SubTotal $"& c.GetString("HVD_COSTO_TOT")) + Next + End If + If Existe <> 0 Then + c=B4XPages.MainPage.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)") + C.Position=0 + L_CANT.Text = c.GetString("PC_NOART") + L_TOTAL.Text = c.GetString("PC_MONTO") + 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 Regresar_Click + B4XPages.ShowPage("Cliente") +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub +' BACK key pressed +' Return True To close, False To cancel + B4XPages.ShowPage("Principal") + Return False +End Sub + +Sub ListView2_ItemClick (Position As Int, Value As Object) + ListView2.Visible = False + ListView1.Visible = True +End Sub + +Sub ListView1_ItemClick (Position As Int, Value As Object) + ListView2.Visible = True + ListView1.Visible = False + Dim label1 As Label + For i=0 To 20 + label1 = ListView2.SingleLineLayout.Label + label1.TextSize = 15 + label1.TextColor = Colors.Black + ListView2.AddSingleLine(i) + Next +End Sub \ No newline at end of file diff --git a/B4A/C_MapaRutas.bas b/B4A/C_MapaRutas.bas new file mode 100644 index 0000000..d055d2d --- /dev/null +++ b/B4A/C_MapaRutas.bas @@ -0,0 +1,263 @@ +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 GPS As GPS + Dim rp As RuntimePermissions + Dim ruta As String + Dim skmt As SQL + Dim c As Cursor + Dim c2 As Cursor + Dim c22 As Cursor + Dim c3 As Cursor + + 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 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 + Private p_mapaRutas 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("mapaRutas") + ruta = File.DirInternal + If File.Exists(ruta, "kmt.db") = False Then + File.Copy(File.DirAssets, "kmt.db", ruta, "kmt.db") + End If + skmt.Initialize(ruta,"kmt.db", True) + GPS.Initialize("GPS") + If MapFragment1.IsGooglePlayServicesAvailable = False Then + ToastMessageShow("Please install Google Play Services.", True) + End If + 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=B4XPages.MainPage.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=B4XPages.MainPage.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 +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub MapFragment1_Ready + Log("ENTRANDO") + 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 VISITAR + If azul = 1 Or todos = 1 Then + c.IsInitialized + c=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG 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_LAT <> ' ' and CAT_CL_LONG <> ' ' ") + skmt.Initialize(ruta,"kmt.db", True) + If c.RowCount > 0 Then + For i = 0 To c.RowCount - 1 + c.Position = i +' Log(i&"|"&c.GetString("CAT_CL_LAT")&"|") + LatitudRu = 0 + If c.GetString("CAT_CL_LAT") <> "" Then LatitudRu = c.GetString("CAT_CL_LAT") + LongitudRU = 0 + If c.GetString("CAT_CL_LONG") <> "" Then LongitudRU = c.GetString("CAT_CL_LONG") + CODIGO=c.GetString("CAT_CL_CODIGO") + Tienda= c.GetString("CAT_CL_NOMBRE") + MARK_AZUL = gmap.AddMarker2(LatitudRu,LongitudRU,CODIGO, gmap.HUE_BLUE) + MARK_AZUL.Snippet = Tienda + Next + End If + c .Close + If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MARK_AZUL) + End If + '''''''----------------------------MARKER VERDE - VENTA + If verde =1 Or todos = 1 Then + c2.IsInitialized + c2=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT 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") + 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") + MARK_VERDE = gmap.AddMarker2(LatitudRu,LongitudRU,CODIGO,gmap.HUE_GREEN) + MARK_VERDE.Snippet = Tienda + Next + Else + If verde =1 Or todos = 1 Then + c2.IsInitialized + c2=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT 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") + 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") + MARK_VERDE = gmap.AddMarker2(LatitudRu,LongitudRU,CODIGO,gmap.HUE_GREEN) + MARK_VERDE.Snippet = Tienda + Next + c2 .Close + If MARK_VERDE.IsInitialized Then LIST_VERDE.Add(MARK_VERDE) + End If + End If +' '''''''----------------------------MARKER ROJO - NO VENTA + If rojo =1 Or todos = 1 Then + c3.IsInitialized + c3=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT 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") + 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") + MARK_ROJO = gmap.AddMarker2(LatitudRu,LongitudRU,Tienda, gmap.HUE_RED) + Next + Else + If rojo =1 Or todos = 1 Then + c3.IsInitialized + c3=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT 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") + 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") + MARK_ROJO = gmap.AddMarker2(LatitudRu,LongitudRU,Tienda, gmap.HUE_RED) + Next + If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(MARK_ROJO) + c3.Close + End If + 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 + +Sub OnInfoWindowClickListener1_click(Marker1 As Marker) + Log("mapclicked") + Log("borramos cuentaa") + B4XPages.MainPage.skmt.ExecNonQuery("delete from CUENTAA") + Log("insertamos cuentaa") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?) ", Array As Object(Marker1.Title)) + Log("vamos a cliente") + B4XPages.ShowPage("Cliente") + B4XPages.ClosePage("MapaRutas") + B4XPages.GetManager.ClosePage(Me) +End Sub + +Sub GPS_LocationChanged (Parametro As Location) + MARK_CEDIS.IsInitialized +End Sub + +Sub B4XPage_Appear + 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 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 + +Private Sub p_mapaRutas_Click + +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..36fa8d1 --- /dev/null +++ b/B4A/C_Mapas.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/C_NoVenta.bas b/B4A/C_NoVenta.bas new file mode 100644 index 0000000..75f0f6b --- /dev/null +++ b/B4A/C_NoVenta.bas @@ -0,0 +1,184 @@ +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 ruta As String + Dim skmt As SQL + Dim c As Cursor + + 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 lat_gps, lon_gps As String + Dim tgl As Toggle + Dim r_4 As RadioButton + Dim reqManager As DBRequestManager + Private stay_hh As String + Private stay_mi As String + Private stay_ss 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("noventa") + ruta = File.DirInternal +' End If + If File.Exists(ruta, "kmt.db") = False Then + File.Copy(File.DirAssets, "kmt.db", ruta, "kmt.db") + End If + reqManager.Initialize(Me, Starter.DBReqServer) +' skmt.Initialize(ruta,"kmt.db", True) +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub B4XPage_Appear + e_comm.Text="" + tgl.Initialize + If Not(Starter.gps.GPSEnabled) Then + ToastMessageShow("Es necesario tener el GPS encendido", True) + StartActivity(Starter.gps.LocationSettingsIntent) + End If + r_1.Checked = False + r_2.Checked = False + r_3.Checked = False + r_4.Checked = False + e_comm.Text = "" +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 Then + motivo = "CERRADO" + Else If r_2.Checked Then + motivo = "NO COMPRA" + Else If r_3.Checked Then + motivo = "CON PRODUCTO" + Else + motivo = "NO ESTA EL ENCARGADO" + End If + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=B4XPages.MainPage.skmt.ExecQuery("select CUENTA from cuentaa") + c.Position = 0 + cuenta = c.GetString("CUENTA") + c=B4XPages.MainPage.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c=B4XPages.MainPage.skmt.ExecQuery("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) ") + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + B4XPages.MainPage.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?", Array As Object(c.GetString("PE_CANT"),c.GetString("PE_PROID"))) + Subs.borraPedidoClienteActual + Next + End If + + +' B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)") +' B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)") + Dim cRevisa As Cursor = B4XPages.MainPage.skmt.ExecQuery($"SELECT distinct NV_CLIENTE FROM NOVENTA WHERE NV_CLIENTE = '${cuenta}'"$) + If cRevisa.RowCount > 0 Then + cRevisa.Position = 0 + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)") + Else + B4XPages.MainPage.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, motivo,e_comm.text, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps)) + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)") + End If + DateTime.TimeFormat = "HHmmss" + sTime=DateTime.Time(DateTime.Now) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_CODIGO In (select cuenta from cuentaa)", Array As Object(sTime)) + ' B4XPages.MainPage.skmt.ExecNonQuery("UPDATE HIST_STAY_STORE set HSS_TOT = HSS_OUT - HSS_IN where HSS_CODIGO In (select cuenta from cuentaa)") + + c=B4XPages.MainPage.skmt.ExecQuery(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, " & _ + "Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) " & _ + " Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, " & _ + "Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) " & _ + " Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES " & _ + " from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) ") + c.Position = 0 + stay_hh = c.GetString("HORAS_TOTALES") * 60 * 60 + stay_mi = c.GetString("MINUTOS_TOTALES") * 60 + stay_ss = c.GetString("SEGUNDOS_TOTALES") + + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)", Array As Object(stay_hh + stay_mi + stay_ss)) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_FIN = ? ", Array As Object(sTime)) + DateTime.TimeFormat = "HH:mm:ss" + + B4XPages.MainPage.skmt.ExecNonQuery2("update PEDIDO_INICIO_FINAL set PIF_HORA_FINAL = ? where PIF_CLIENTE = ? and PIF_HORA_FINAL = 0", Array As Object (DateTime.Now, cuenta)) + LogColor($"actualizamos "${cuenta}, hora_final=${DateTime.now}"$,Colors.Red) + +' mandaPendientesnoventa + B4XPages.ShowPage("Principal") +End Sub + +Sub mandaPendientesnoventa + 'PEDIDO_CLIENTE (Pendientes) +' c = B4XPages.MainPage.skmt.ExecQuery("SELECT PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT, PC_COSTO_SIN, PC_RUTA, PC_ALMACEN, PC_FACTURA FROM PEDIDO_CLIENTE where pc_envio_ok <> 1") + c = B4XPages.MainPage.skmt.ExecQuery("SELECT * FROM NOVENTA where ifnull(NV_ENVIO_OK, 0) <> 1") + Log($"NO VENTA 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_noventa_SHARK2" + 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"), Subs.traeAlmacen, Subs.traeRuta(C.GetString("NV_CLIENTE"))) + reqManager.ExecuteCommand(cmd , $"insert_noventa_${c.GetString("NV_CLIENTE")}"$) +' insert_noventa_INTMEX=INSERT INTO INTMEX.NOVENTA (NV_FECHA_SINC,NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON,NV_IDALMACEN,NV_RUTA) VALUES (SYSDATE,(?),(?),(?),(?),(?),(?),(?),(?),(?)) + Next + End If +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("insert_noventa_") > -1 Then + Private cliente As String= resultado.Tag + cliente = cliente.SubString(cliente.IndexOf("_") + 9) + Log($"Cliente1:${cliente}"$) + Starter.skmt.ExecNonQuery($"update NOVENTA set NV_ENVIO_OK = '1' where NV_CLIENTE = '${cliente}'"$) + 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 \ No newline at end of file diff --git a/B4A/C_Nota.bas b/B4A/C_Nota.bas new file mode 100644 index 0000000..0d96a51 --- /dev/null +++ b/B4A/C_Nota.bas @@ -0,0 +1,829 @@ +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 skmt As SQL + 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 Regresar As Button + + Dim ListView1 As ListView + Dim L_CANT As Label + Dim L_TOTAL As Label + Dim borra As Button + Dim Existe As String + Dim result As String + ' Dim lat_gps, lon_gps As String + Dim DESC As String + + Private Titulo As Label + Private b_desc As Button + Dim DESCUENTO As String + Dim folio As String + Dim tgl As Toggle + Private almacen As String + Private p_nota As Panel + Dim vamoaver As List + Dim c2 As Cursor + Dim j3 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 + ruta = File.DirInternal + Root.LoadLayout("nota") + borra.Visible = True + Titulo.Text = "Pedido Actual" +' If Existe <> 0 Then +' c=B4XPages.MainPage.skmt.ExecQuery("select pc_noart, pc_monto from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)") +' C.Position=0 +' L_CANT.Text = c.GetString("PC_NOART") +' L_TOTAL.Text = c.GetString("PC_MONTO") +' 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 +' ' Verificar si el GPS está encendido +' If Not(Starter.gps.GPSEnabled) Then +' ToastMessageShow("Es necesario tener el GPS encendido", True) +' StartActivity(Starter.gps.LocationSettingsIntent) +' End If +' +' ' Obtener el ID del almacén +' c = B4XPages.MainPage.skmt.ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN") +' If c.RowCount > 0 Then +' c.Position = 0 +' almacen = c.GetString("ID_ALMACEN") +' End If +' c.Close +' +' ' Limpiar los campos de cantidad y total +' L_CANT.Text = "" +' L_TOTAL.Text = "" +' +' ' Verificar si existen pedidos para el cliente +' c = B4XPages.MainPage.skmt.ExecQuery("SELECT COUNT(*) AS EXISTE FROM pedido_cliente WHERE pc_cliente IN (SELECT CUENTA FROM cuentaa)") +' If c.RowCount > 0 Then +' c.Position = 0 +' Existe = c.GetString("EXISTE") +' End If +' c.Close +' +' ' Obtener los pedidos del cliente +' c = B4XPages.MainPage.skmt.ExecQuery("SELECT PE_PRONOMBRE, PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM cuentaa) ORDER BY PE_CEDIS, PE_PRONOMBRE") +' ListView1.Clear +' vamoaver.Initialize +' Private cs As CSBuilder +' +' If c.RowCount > 0 Then +' For i = 0 To c.RowCount - 1 +' cs.Initialize +' c.Position = i +' Dim label1 As Label +' label1 = ListView1.TwoLinesLayout.Label +' label1.TextSize = 15 +' label1.TextColor = Colors.Black +' label1.Color = Colors.White +' +' Private textColor As Int = Colors.Black +' Dim folio As String = c.GetString("PE_FOLIO") +' +' ' Asignar colores según el tipo de folio +' If folio = "VENTA" Then +' textColor = Colors.RGB(48, 3, 195) +' Else If folio = "PREVENTA_CONTADO" Or folio = "ABORDO" Or folio = "RECARGA" Then +' textColor = Colors.RGB(166, 0, 0) +' Else If folio = "PREVENTA_CREDITO" Then +' textColor = Colors.RGB(0, 128, 0) +' End If +' +' ' Cambiar el color si es una promoción +' If Not(IsNumber(c.GetString("PE_CEDIS"))) And folio = "VENTA" Then +' textColor = Colors.RGB(154, 131, 231) +' Else If Not(IsNumber(c.GetString("PE_CEDIS"))) And folio = "PREVENTA_CONTADO" Then +' folio = "PREVENTA" +' textColor = Colors.RGB(255,0,214) +' Else If Not(IsNumber(c.GetString("PE_CEDIS"))) And folio = "PREVENTA_CREDITO" Then +' folio = "PREVENTA" +' textColor = Colors.RGB(120,178,108) +' End If +' +' +' Dim polioreal As String +' If folio = "VENTA" Then +' textColor = Colors.RGB(154,131,231) +' Else If folio = "PREVENTA_CONTADO" Then +' polioreal = "PREVENTA" +' textColor = Colors.RGB(255,111,111) +' Else If folio = "PREVENTA_CREDITO" Then +' polioreal = "PREVENTA" +' textColor = Colors.RGB(120,178,108) +' End If +' LogColor(polioreal,Colors.Gray) +' Dim label2 As Label +' label2 = ListView1.TwoLinesLayout.SecondLabel +' label2.TextSize = 10 +' label2.TextColor = Colors.Blue +'' LogColor(folio,Colors.Gray) +' ' Agregar el ítem a la lista +'' ListView1.AddTwoLines(cs.Color(textColor).append(c.GetString("PE_PRONOMBRE")).pop, "Cantidad #" & c.GetString("PE_CANT") & " SubTotal $" & c.GetString("PE_COSTO_TOT") & " Folio " & folio ) +' ListView1.AddSingleLine(cs.Color(textColor).Size(12).append(c.GetString("PE_PRONOMBRE") & " ").pop.Append(CRLF).Size(8).Color(Colors.Blue).Append("Cantidad #"& c.GetString("PE_CANT")).Append(" SubTotal $"& c.GetString("PE_COSTO_TOT")).Append(" " & polioreal& " " &c.GetString("PE_CEDIS")).PopAll) +' +' vamoaver.Add(folio) +' Next +' End If +' +' Log($"EXISTE: ${Existe}"$) +' +' ' Calcular la cantidad total y el monto total +' c = B4XPages.MainPage.skmt.ExecQuery("SELECT IFNULL(SUM(IFNULL(PE_CANT,0)),0) AS PC_NOART, SUM(IFNULL(PE_COSTO_TOT,0)) AS PC_MONTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)") +' If c.RowCount > 0 Then +' c.Position = 0 +' Log($"registros: ${c.RowCount}, arts: ${c.GetString("PC_NOART")}, monto:${c.GetString("PC_MONTO")}"$) +' L_CANT.Text = c.GetString("PC_NOART") +' L_TOTAL.Text = c.GetString("PC_MONTO") +' If L_CANT.Text = Null Or L_CANT.Text = "null" Or L_CANT.Text = "" Then L_CANT.Text = "0" +' If L_TOTAL.Text = Null Or L_TOTAL.Text = "null" Or L_TOTAL.Text = "" Then L_TOTAL.Text = "0" +' c.Close +' +' ' Obtener el descuento total +' c = B4XPages.MainPage.skmt.ExecQuery("SELECT SUM(IFNULL(PE_DESC,0)) AS DESCUENTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM cuentaa)") +' If c.RowCount > 0 Then +' c.Position = 0 +' DESC = c.GetString("DESCUENTO") +' b_desc.Visible = False +' End If +' c.Close +' End If +' +' ' Habilitar o deshabilitar el botón de borrar +' If Subs.pedidoGuardado Then +' borra.Enabled = False +' Else +' borra.Enabled = True +' End If +'End Sub + +' ... (Globals se mantienen igual) + +Sub B4XPage_Appear + ' 1. Verificación inicial de servicios + If Not(Starter.gps.GPSEnabled) Then + ToastMessageShow("Es necesario tener el GPS encendido", True) + StartActivity(Starter.gps.LocationSettingsIntent) + End If + + ' 2. Obtener el ID del almacén actual + c = B4XPages.MainPage.skmt.ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN") + If c.RowCount > 0 Then + c.Position = 0 + almacen = c.GetString("ID_ALMACEN") + End If + c.Close + + ' 3. CONFIGURACIÓN VISUAL DEL LISTVIEW (Diseño espaciado) + ListView1.TwoLinesLayout.ItemHeight = 130dip + + ' Título: Nombre del Producto (Negrita y Rojo oscuro) + ListView1.TwoLinesLayout.Label.Height = 45dip + ListView1.TwoLinesLayout.Label.TextSize = 18 + ListView1.TwoLinesLayout.Label.Typeface = Typeface.DEFAULT_BOLD + ListView1.TwoLinesLayout.Label.TextColor = Colors.RGB(150, 0, 0) + ListView1.TwoLinesLayout.Label.Gravity = Gravity.CENTER_VERTICAL + + ' Detalles: Presentación y Totales (Espacio amplio) + ListView1.TwoLinesLayout.SecondLabel.Height = 80dip + ListView1.TwoLinesLayout.SecondLabel.Top = 45dip + ListView1.TwoLinesLayout.SecondLabel.TextSize = 14 + + ' 4. CARGA DE DATOS DESDE LA BASE DE DATOS + ' Incluimos PE_PRESENTACION, PE_CANTC, PE_UVM, PE_PROID y PE_DIRIGIDA para el Map de borrado + Dim query As String = "SELECT PE_PRONOMBRE, PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS, " & _ + "PE_PRESENTACION, PE_CANTC, PE_UVM, PE_PROID, PE_DIRIGIDA " & _ + "FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM cuentaa) " & _ + "ORDER BY PE_CEDIS,PE_COSTO_TOT, PE_PRONOMBRE" + + c = B4XPages.MainPage.skmt.ExecQuery(query) + ListView1.Clear + vamoaver.Initialize + +' If c.RowCount > 0 Then +' For i = 0 To c.RowCount - 1 +' c.Position = i +' +' ' Extraer datos para la lógica visual y el Map +' Dim idProd As String = c.GetString("PE_PROID") +' Dim nomProd As String = c.GetString("PE_PRONOMBRE") +' Dim fActual As String = c.GetString("PE_FOLIO") +' Dim presName As String = c.GetString("PE_PRESENTACION") +' Dim cantPres As String = c.GetString("PE_CANTC") +' Dim uvmVal As Int = c.GetInt("PE_UVM") +' Dim cedisFila As String = c.GetString("PE_CEDIS") +' Dim dirigidaFila As String = c.GetString("PE_DIRIGIDA") +' Dim cantPzs As Int = c.GetInt("PE_CANT") +' +' ' Validar cantidad de presentación +' If cantPres = "" Or cantPres = "null" Then cantPres = "0" +' +' ' CONSTRUCCIÓN DEL SUBTÍTULO CON CSBUILDER +' Dim cs As CSBuilder +' cs.Initialize +' +' ' REGLA: Si la UVM es mayor a 1, mostrar la presentación en azul (Estilo normal) +' If uvmVal > 1 Then +' cs.Color(Colors.Blue).Size(17).Append(presName.ToUpperCase & ": " & (cantPzs/uvmVal)).Pop.Pop.Append(CRLF) +' cs.Size(6).Append(CRLF).Pop ' Espacio entre líneas +' End If +' +' ' Línea de Piezas y Subtotal (Siempre visible) +' cs.Color(Colors.DarkGray).Size(13).Append("Piezas: ").Color(Colors.Black).Append("#" & cantPzs).Pop +' cs.Append(" | ").Color(Colors.DarkGray).Append("Subtotal: ").Color(0xFF008000).Append("$" & NumberFormat2(c.GetDouble("PE_COSTO_TOT"), 1, 2, 2, False)).PopAll +' +' ' CREACIÓN DEL MAPA DE IDENTIDAD (El "secreto" para que el borrado no falle) +' Dim datosIdentificadores As Map = CreateMap("id": idProd, "nombre": nomProd, "cedis": cedisFila, "pres": presName, "uvm": uvmVal, "dir": dirigidaFila, "folio": fActual, "cant": cantPzs) +' +' ' AÑADIR AL LISTVIEW: +' ' Parámetro 1: Nombre (Usará la negrita del layout) +' ' Parámetro 2: Subtítulo (CSBuilder) +' ' Parámetro 3: El Mapa (Se recupera en el ItemLongClick como 'Value') +' ListView1.AddTwoLines2(nomProd, cs, datosIdentificadores) +' +' vamoaver.Add(fActual) +' Next +' End If + + + If c.RowCount > 0 Then + Dim almacenActual As String = Subs.traeAlmacen ' Obtenemos el almacén actual para comparar + + For i = 0 To c.RowCount - 1 + c.Position = i + + ' 1. Extraer datos + Dim idProd As String = c.GetString("PE_PROID") + Dim nomProd As String = c.GetString("PE_PRONOMBRE") + Dim fActual As String = c.GetString("PE_FOLIO") + Dim presName As String = c.GetString("PE_PRESENTACION") + Dim cantPres As String = c.GetString("PE_CANTC") + Dim uvmVal As Int = c.GetInt("PE_UVM") + Dim cedisFila As String = c.GetString("PE_CEDIS") + Dim dirigidaFila As String = c.GetString("PE_DIRIGIDA") + Dim cantPzs As Int = c.GetInt("PE_CANT") + + If cantPres = "" Or cantPres = "null" Then cantPres = "0" + + ' 2. CONFIGURACIÓN DEL TÍTULO (Nombre del Producto) + ' Usamos CSBuilder para saltarnos el color predefinido del Layout si es promoción + Dim csTitulo As CSBuilder + csTitulo.Initialize + + If cedisFila <> almacenActual Then + ' ES UNA PROMOCIÓN (Color diferente, p.ej. Verde esmeralda o Naranja) + csTitulo.Color(Colors.RGB(0, 150, 136)).Typeface(Typeface.DEFAULT_BOLD).Append(nomProd & " (PROMO)").PopAll + Else + ' ES VENTA NORMAL (Rojo oscuro como lo tenías) + csTitulo.Color(Colors.RGB(150, 0, 0)).Typeface(Typeface.DEFAULT_BOLD).Append(nomProd).PopAll + End If + + ' 3. CONFIGURACIÓN DEL SUBTÍTULO (Detalles) + Dim csDetalle As CSBuilder + csDetalle.Initialize + + ' Regla UVM + If uvmVal > 1 Then + csDetalle.Color(Colors.Blue).Size(17).Append(presName.ToUpperCase & ": " & (cantPzs/uvmVal)).Pop.Pop.Append(CRLF) + csDetalle.Size(6).Append(CRLF).Pop + End If + + ' Línea de Piezas y Subtotal + csDetalle.Color(Colors.DarkGray).Size(13).Append("Piezas: ").Color(Colors.Black).Append("#" & cantPzs).Pop + csDetalle.Append(" | ").Color(Colors.DarkGray).Append("Subtotal: ").Color(0xFF008000).Append("$" & NumberFormat2(c.GetDouble("PE_COSTO_TOT"), 1, 2, 2, False)).PopAll + + ' 4. MAPA DE IDENTIDAD + Dim datosIdentificadores As Map = CreateMap("id": idProd, "nombre": nomProd, "cedis": cedisFila, "pres": presName, "uvm": uvmVal, "dir": dirigidaFila, "folio": fActual, "cant": cantPzs) + + ' 5. AÑADIR AL LISTVIEW + ' Pasamos csTitulo en lugar de nomProd para que respete el color condicional + ListView1.AddTwoLines2(csTitulo, csDetalle, datosIdentificadores) + + vamoaver.Add(fActual) + Next + End If + c.Close + + ' 5. Actualizar los totales globales de la pantalla + ActualizarTotalesPantalla +End Sub + +Private Sub ActualizarTotalesPantalla + ' Calculamos el resumen de la orden + Dim res As Cursor = B4XPages.MainPage.skmt.ExecQuery("SELECT IFNULL(SUM(PE_CANT),0) AS PC_NOART, SUM(IFNULL(PE_COSTO_TOT,0)) AS PC_MONTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)") + + If res.RowCount > 0 Then + res.Position = 0 + L_CANT.Text = res.GetString("PC_NOART") + L_TOTAL.Text = "$" & NumberFormat2(res.GetDouble("PC_MONTO"), 1, 2, 2, False) + Else + L_CANT.Text = "0" + L_TOTAL.Text = "$0.00" + End If + res.Close + + ' Habilitar borrado general solo si la venta no ha sido transmitida/guardada + If Subs.pedidoGuardado Then borra.Enabled = False Else borra.Enabled = True +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) +End Sub + +Sub Regresar_Click + B4XPages.ShowPage("Cliente") +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub +' BACK key pressed +' Return True To close, False To cancel + B4XPages.ShowPage("Cliente") + Return False +End Sub + +Sub borra_Click + Log("Entre al btn borrar") + result = Msgbox2("Seguro que desa borrar el pedido?","Cancelar pedido", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore + If result = DialogResponse.POSITIVE Then + c=B4XPages.MainPage.skmt.ExecQuery("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) ") + Log($"select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa)"$) + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + + + c.Position=i + + Dim tablaInventario As String +' If folioActual = "PREVENTA_CREDITO" Then tablaInventario = "CAT_GUNAPROD4" + If c.GetString("PE_FOLIO") = "PREVENTA_CONTADO" Or c.GetString("PE_FOLIO") = "ABORDO" Then + tablaInventario = "CAT_GUNAPROD" + Log("1") + Else If c.GetString("PE_FOLIO") = "VENTA" Then + tablaInventario = "CAT_GUNAPROD2" + Log(2) + Else If c.GetString("PE_FOLIO") = "RECARGA" Then + tablaInventario = "CAT_GUNAPROD" + Log(3) + Else If c.GetString("PE_FOLIO") = "PREVENTA_CREDITO" Then + tablaInventario = "CAT_GUNAPROD4" + Log(4) + End If + B4XPages.MainPage.skmt.ExecNonQuery2($"update ${tablaInventario} set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?"$, Array As Object(c.GetString("PE_CANT"),c.GetString("PE_PROID"))) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ", Array As Object (almacen,c.GetString("PE_PROID"),c.GetString("PE_CANT")* -1)) + Next + End If + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)") + B4XPage_Appear + End If +End Sub + +'Sub ListView1_ItemLongClick (Position As Int, Value As Object) +' Log(Value) +'' If Not(Subs.pedidoGuardado) Then +' result = Msgbox2("Seguro que desea borrar este articulo?","Borrar Articulo", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore +' If result = DialogResponse.POSITIVE Then +' c=B4XPages.MainPage.skmt.ExecQuery2("select PE_PROID,PE_CANT, PE_FOLIO,PE_CEDIS FROM PEDIDO where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) ", Array As String(Value)) +' c.Position=0 +' Log(vamoaver.Get(Position)) +' If vamoaver.Get(Position) = "VENTA" Then +' Log("CAT_GUNAPROD2") +' Log(Position) +' Log(Value) +' Starter.tabla = "CAT_GUNAPROD2" +' Else +' Log("CAT_GUNAPROD") +' Log(Position) +' Log(Value) +' Starter.tabla = "CAT_GUNAPROD" +' End If +'' B4XPages.MainPage.skmt.ExecNonQuery2($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?"$, Array As Object(c.GetString("PE_CANT"),c.GetString("PE_PROID"))) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ", Array As Object (Subs.traeAlmacen,c.GetString("PE_PROID"),c.GetString("PE_CANT")* -1)) +' c2=B4XPages.MainPage.skmt.ExecQuery2($"select count(*) AS CUANTOS from ${Starter.tabla} where CAT_GP_ID in (select pe_cedis from pedido where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa)) and CAT_GP_CLASIF = 'PROMOS' AND CAT_GP_TIPO = 'PROMOS' AND CAT_GP_SUBTIPO = 'PROMOS'"$, Array As String(Value)) +' c2.Position=0 +' Log(c2.GetString("CUANTOS")) +' If c2.GetString("CUANTOS") > 0 Then +' +' j3 = B4XPages.MainPage.skmt.ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ?) and PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",Array As String(Value)) +' Log(j3.RowCount) +' If j3.RowCount > 0 Then +' Log("estoy aqui") +' For i = 0 To j3.RowCount -1 +' Log("aqui tronare?") +' j3.Position = i +' +' If vamoaver.get(Position) = "VENTA" Then +' Log("Entre aqui?") +' B4XPages.MainPage.skmt.ExecNonQuery($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen + ${j3.GetString("PE_CANT")} where cat_gp_id = '${j3.Getstring("PE_PROID")}'"$) +'' B4XPages.MainPage.skmt.ExecNonQuery2("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As Object(j3.GetString("PE_PRONOMBRE"), c.GetString("PE_FOLIO"))) +' Log("Aqui borro pedido 1") +' B4XPages.MainPage.skmt.ExecNonQuery2("delete from pedido where pe_cedis <> ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As Object(Subs.traeAlmacen, c.GetString("PE_FOLIO"))) +' Else +' Log("Esto es Folio: " & vamoaver.get(Position) & "Esto es cedis: " & Subs.traeAlmacen) +' B4XPages.MainPage.skmt.ExecNonQuery($"update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ${j3.GetString("PE_CANT")} where cat_gp_id = '${j3.Getstring("PE_PROID")}'"$) +' B4XPages.MainPage.skmt.ExecNonQuery($"update cat_gunaprod4 set cat_gp_almacen = cat_gp_almacen + ${j3.GetString("PE_CANT")} where cat_gp_id = '${j3.Getstring("PE_PROID")}'"$) +' Log("Aqui borro pedido 2") +' B4XPages.MainPage.skmt.ExecNonQuery2("delete from pedido where pe_cedis <> ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As Object(Subs.traeAlmacen, c.GetString("PE_FOLIO"))) +' End If +' Next +' End If +' j3.Close +' Else +' Log("Esto no es una promo") +' If vamoaver.get(Position) = "VENTA" Then +' Log("Esto no es una promo") +' B4XPages.MainPage.skmt.ExecNonQuery($"update CAT_GUNAPROD2 set cat_gp_almacen = cat_gp_almacen + ${c.GetString("PE_CANT")} where cat_gp_id = '${c.Getstring("PE_PROID")}'"$) +' Log("Aqui borro pedido 3") +' B4XPages.MainPage.skmt.ExecNonQuery2("delete from pedido where pe_cedis = ? and pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As Object(Subs.traeAlmacen, Value, vamoaver.Get(Position))) +' Else +' Log("Esto no es una promo") +' Log("Esto es Folio: " & vamoaver.get(Position) & "Esto es cedis: " & Subs.traeAlmacen & "Esto es nombre: " & Value) +' B4XPages.MainPage.skmt.ExecNonQuery($"update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen + ${c.GetString("PE_CANT")} where cat_gp_id = '${c.Getstring("PE_PROID")}'"$) +' B4XPages.MainPage.skmt.ExecNonQuery($"update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen + ${c.GetString("PE_CANT")} where cat_gp_id = '${c.Getstring("PE_PROID")}'"$) +' Log("Aqui borro pedido 4") +' B4XPages.MainPage.skmt.ExecNonQuery2("delete from pedido where pe_cedis = ? and pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As Object(Subs.traeAlmacen, Value, vamoaver.Get(Position))) +' End If +'' B4XPages.MainPage.skmt.ExecNonQuery($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen + ${c.GetString("PE_CANT")} where cat_gp_id = '${c.Getstring("PE_PROID")}'"$) +'' B4XPages.MainPage.skmt.ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As Object(Value, c.GetString("PE_FOLIO"))) +' End If +' c.Close +' c2.Close +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") +' c.Position=0 +' clie_id = c.GetString("CUENTA") +' c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") +' c.Position=0 +' usuario = c.GetString("USUARIO") +' c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") +' c.Position=0 +' If c.GetString("CUANTOS") > 0 Then +' B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") +' B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)", Array As Object(clie_id, sDate & sTime, usuario, c.GetString("CANT_CLIE"),c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps)) +' B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' Else +' B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") +' B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' End If +' B4XPage_Appear +' End If +'' Else +'' ToastMessageShow("Pedido guardado, NO se puede editar.",False) +'' End If +'End Sub + +'Sub ListView1_ItemLongClick (Position As Int, Value As Object) +' Log(Value) +' Private X() As String = Regex.Split(" ", Value) +' Private nom As String = "" +' For i = 0 To X.Length -1 +' If X(i).Contains(CRLF) Then +' End If +' If Not(X(i).Contains(CRLF)) Then +' nom = nom & " " & X(i) +' Else +' Exit +' End If +' Next +' nom = nom.Trim +' Log(nom) +' Private cedis As String = X(X.Length-1) +' Log(cedis) +' result = Msgbox2("Seguro que desea borrar este articulo?","Borrar Articulo", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore +' If result = DialogResponse.POSITIVE Then +' Log("|" &nom & "|") +' Log("|" & cedis & "|") +' Log("|" & Subs.traeCliente & "|") +' Private y As Cursor =B4XPages.MainPage.skmt.ExecQuery($"select PE_PROID,PE_CANT, PE_FOLIO FROM PEDIDO where pe_pronombre = '${nom.TRIM}' and pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS = '${cedis}' "$) +' Log($"select PE_PROID,PE_CANT, PE_FOLIO FROM PEDIDO where pe_pronombre = '${nom}' and pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS = '${cedis}' "$) +' Log(y.RowCount) +' y.Position=0 +' Log(vamoaver.Get(Position)) +' If vamoaver.Get(Position) = "VENTA" Then +' Log("CAT_GUNAPROD2") +' Log(Position) +' Log(Value) +' Starter.tabla = "CAT_GUNAPROD2" +' Else +' Log("CAT_GUNAPROD") +' Log(Position) +' Log(Value) +' Starter.tabla = "CAT_GUNAPROD" +' End If +' +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ", Array As Object (Subs.traeAlmacen,y.GetString("PE_PROID"),y.GetString("PE_CANT")* -1)) +' Log(cedis) +' Log(Subs.traeAlmacen) +' If cedis <> Subs.traeAlmacen Then +' j3 = B4XPages.MainPage.skmt.ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ? and PE_CEDIS = ?)",Array As String(nom,cedis)) +' Log(j3.RowCount) +' If j3.RowCount > 0 Then +' Log("Soy promo") +' For j = 0 To j3.RowCount -1 +' Log("aqui tronare?") +' +' j3.Position = j +' Log(j3.GetString("PE_CANT")) +' Log($"update ${Starter.tabla} set CAT_GP_ALMACEN = CAT_GP_ALMACEN + '${j3.GetString("PE_CANT")}' where CAT_GP_ID = '${j3.GetString("PE_PROID")}'"$) +' If vamoaver.Get(Position) = "PREVENTA_CREDITO" Then +' Starter.skmt.ExecNonQuery($"update CAT_GUNAPROD4 set CAT_GP_ALMACEN = CAT_GP_ALMACEN + ${j3.GetString("PE_CANT")} where CAT_GP_ID = '${j3.GetString("PE_PROID")}'"$) +' B4XPages.MainPage.skmt.ExecNonQuery($"delete from pedido where pe_cedis= '${cedis}' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '${j3.GetString("PE_FOLIO")}' AND PE_PROID = '${j3.GetString("PE_PROID")}'"$)', Array As Object(cedis, c.GetString("PE_FOLIO"))) +' Else +' Starter.skmt.ExecNonQuery($"update ${Starter.tabla} set CAT_GP_ALMACEN = CAT_GP_ALMACEN + ${j3.GetString("PE_CANT")} where CAT_GP_ID = '${j3.GetString("PE_PROID")}'"$) +' B4XPages.MainPage.skmt.ExecNonQuery($"delete from pedido where pe_cedis= '${cedis}' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '${j3.GetString("PE_FOLIO")}' AND PE_PROID = '${j3.GetString("PE_PROID")}'"$)', Array As Object(cedis, c.GetString("PE_FOLIO"))) +' +' End If +' Next +' End If +' j3.Close +' Else +' Log(y.GetString("PE_CANT")) +' Log(y.Getstring("PE_PROID")) +' Log("Esto no es promo") +' If vamoaver.Get(Position) = "PREVENTA_CREDITO" Then +' B4XPages.MainPage.skmt.ExecNonQuery($"update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen + ${y.GetString("PE_CANT")} where cat_gp_id = '${y.Getstring("PE_PROID")}'"$) +' B4XPages.MainPage.skmt.ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As Object(nom, cedis, vamoaver.Get(Position))) +' Else +' B4XPages.MainPage.skmt.ExecNonQuery($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen + ${y.GetString("PE_CANT")} where cat_gp_id = '${y.Getstring("PE_PROID")}'"$) +' B4XPages.MainPage.skmt.ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As Object(nom, cedis, vamoaver.Get(Position))) +' End If +' End If +' y.Close +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") +' c.Position=0 +' clie_id = c.GetString("CUENTA") +' c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") +' c.Position=0 +' usuario = c.GetString("USUARIO") +' c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") +' c.Position=0 +' If c.GetString("CUANTOS") > 0 Then +' B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") +' B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)", Array As Object(clie_id, sDate & sTime, usuario, c.GetString("CANT_CLIE"),c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps)) +' B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' Else +' B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") +' B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' End If +' B4XPage_Appear +' End If +' +'End Sub + +'Sub ListView1_ItemLongClick (Position As Int, Value As Object) +' Log("Valor seleccionado: " & Value) +' +' ' 1. EXTRAER EL NOMBRE Y EL CEDIS DEL LISTVIEW +' ' El valor recibido es el texto completo del ítem (Nombre + CRLF + Detalles) +' Private X() As String = Regex.Split(" ", Value) +' Private nom As String = "" +' +' ' Reconstruimos el nombre hasta encontrar el primer salto de línea +' For i = 0 To X.Length - 1 +' If Not(X(i).Contains(CRLF)) Then +' nom = nom & " " & X(i) +' Else +' ' El nombre termina justo antes del CRLF +' Dim partes() As String = Regex.Split(CRLF, X(i)) +' nom = nom & " " & partes(0) +' Exit +' End If +' Next +' nom = nom.Trim +' +' ' El CEDIS siempre está al final según nuestra construcción previa +' Private cedis As String = X(X.Length - 1).Trim +' ' Eliminamos cualquier residuo de paréntesis si existiera +' cedis = cedis.Replace("(", "").Replace(")", "") +' +' result = Msgbox2("¿Seguro que desea borrar este artículo?", "Borrar Artículo", "Si", "", "No", LoadBitmap(File.DirAssets, "alert2.png")) +' +' If result = DialogResponse.POSITIVE Then +' ' 2. BUSQUEDA DE LA FILA ESPECÍFICA +' ' Buscamos por Nombre y CEDIS, que es lo que tenemos disponible en el texto del ListView +' ' IMPORTANTE: Al ser un ListView de "Nota", traemos todos los campos para identificar la presentación +' Dim q As String = "SELECT PE_PROID, PE_CANT, PE_FOLIO, PE_PRESENTACION, PE_UVM, PE_DIRIGIDA " & _ +' "FROM PEDIDO WHERE PE_PRONOMBRE = ? AND PE_CEDIS = ? " & _ +' "AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)" +' +' Dim res As Cursor = B4XPages.MainPage.skmt.ExecQuery2(q, Array As String(nom, cedis)) +' +' ' VALIDACIÓN: Solo entramos si el cursor NO está vacío +' If res.RowCount > 0 Then +' res.Position = 0 +' Dim idProd As String = res.GetString("PE_PROID") +' Dim cantRegresar As Int = res.GetInt("PE_CANT") +' Dim folioActual As String = res.GetString("PE_FOLIO") +' Dim presName As String = res.GetString("PE_PRESENTACION") +' Dim uvmVal As String = res.GetString("PE_UVM") +' Dim dirTarget As String = res.GetString("PE_DIRIGIDA") +' +' ' 3. DEVOLVER AL INVENTARIO +' ' Decidimos la tabla según el folio del registro encontrado +' Dim tablaInv As String = "CAT_GUNAPROD" +' If folioActual = "VENTA" Then tablaInv = "CAT_GUNAPROD2" +' If folioActual = "PREVENTA_CREDITO" Then tablaInv = "CAT_GUNAPROD4" +' +' B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE ${tablaInv} SET CAT_GP_ALMACEN = CAT_GP_ALMACEN + ${cantRegresar} WHERE CAT_GP_ID = '${idProd}'"$) +' +' ' Registrar movimiento para sincronización +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN, PROID, CANTIDAD) VALUES(?,?,?)", _ +' Array As Object(cedis, idProd, cantRegresar * -1)) +' +' ' 4. BORRADO QUIRÚRGICO +' ' Usamos todos los campos clave para borrar SOLO la presentación seleccionada +' Dim qDelete As String = "DELETE FROM PEDIDO WHERE PE_PROID = ? AND PE_PRESENTACION = ? " & _ +' "AND PE_UVM = ? AND PE_DIRIGIDA = ? AND PE_CEDIS = ? " & _ +' "AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)" +' +' B4XPages.MainPage.skmt.ExecNonQuery2(qDelete, Array As Object(idProd, presName, uvmVal, dirTarget, cedis)) +' +' LogColor("Borrado: " & nom & " - " & presName, Colors.Blue) +' Else +' ' Si llegamos aquí, es que la consulta SELECT no encontró el producto +' LogColor("Error: No se encontró el registro en la BD para " & nom, Colors.Red) +' ToastMessageShow("No se pudo localizar el registro para borrar.", False) +' End If +' res.Close +' +' ' 5. ACTUALIZAR LA PANTALLA +' ' Llamamos al Appear para que refresque la lista y los totales +' B4XPage_Appear +' End If +'End Sub + +Sub ListView1_ItemLongClick (Position As Int, Value As Object) + ' Value ya no es texto, es el Map que guardamos en Appear + Dim datos As Map = Value + + Dim idProd As String = datos.Get("id") + Dim nom As String = datos.Get("nombre") + Dim presName As String = datos.Get("pres") + Dim uvmVal As Int = datos.Get("uvm") + Dim cedis As String = datos.Get("cedis") + Dim folioActual As String = datos.Get("folio") + Dim cantRegresar As Int = datos.Get("cant") + Log(folioActual) + Log(cedis) + + result = Msgbox2("¿Seguro que desea borrar " & nom & " (" & presName & ")?", "Borrar Artículo", "Si", "", "No", LoadBitmap(File.DirAssets, "alert2.png")) + + If result = DialogResponse.POSITIVE Then + ' 1. DEVOLVER AL INVENTARIO (Tabla dinámica según el folio) + Dim tablaInv As String +' If folioActual = "VENTA" Then tablaInv = "CAT_GUNAPROD2" +' If folioActual = "PREVENTA_CREDITO" Then tablaInv = "CAT_GUNAPROD4" + + If folioActual = "PREVENTA_CONTADO" Or folioActual = "ABORDO" Then + tablaInv = "CAT_GUNAPROD" + Log("1") + Else If folioActual = "VENTA" Then + tablaInv = "CAT_GUNAPROD2" + Log(2) + Else If folioActual = "RECARGA" Then + tablaInv = "CAT_GUNAPROD" + Log(3) + Else If folioActual = "PREVENTA_CREDITO" Then + tablaInv = "CAT_GUNAPROD4" + Log(4) + End If + + If cedis <> Subs.traeAlmacen Then + + + j3 = B4XPages.MainPage.skmt.ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ? and PE_CEDIS = ?) AND PE_FOLIO = ?",Array As String(nom,cedis,folioActual)) + Log(j3.RowCount) + If j3.RowCount > 0 Then + Log("Soy promo") + For j = 0 To j3.RowCount -1 + Log("aqui tronare?") + + j3.Position = j + Log(j3.GetString("PE_CANT")) + Log($"update ${tablaInv} set CAT_GP_ALMACEN = CAT_GP_ALMACEN + '${j3.GetString("PE_CANT")}' where CAT_GP_ID = '${j3.GetString("PE_PROID")}'"$) + If vamoaver.Get(Position) = "PREVENTA_CREDITO" Then + Starter.skmt.ExecNonQuery($"update CAT_GUNAPROD4 set CAT_GP_ALMACEN = CAT_GP_ALMACEN + ${j3.GetString("PE_CANT")} where CAT_GP_ID = '${j3.GetString("PE_PROID")}'"$) + B4XPages.MainPage.skmt.ExecNonQuery($"delete from pedido where pe_cedis= '${cedis}' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '${j3.GetString("PE_FOLIO")}' AND PE_PROID = '${j3.GetString("PE_PROID")}'"$)', Array As Object(cedis, c.GetString("PE_FOLIO"))) + Else + Starter.skmt.ExecNonQuery($"update ${tablaInv} set CAT_GP_ALMACEN = CAT_GP_ALMACEN + ${j3.GetString("PE_CANT")} where CAT_GP_ID = '${j3.GetString("PE_PROID")}'"$) + B4XPages.MainPage.skmt.ExecNonQuery($"delete from pedido where pe_cedis= '${cedis}' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '${j3.GetString("PE_FOLIO")}' AND PE_PROID = '${j3.GetString("PE_PROID")}'"$)', Array As Object(cedis, c.GetString("PE_FOLIO"))) + + End If + Next + End If + j3.Close + + B4XPage_Appear + + Else + + B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE ${tablaInv} SET CAT_GP_ALMACEN = CAT_GP_ALMACEN + ${cantRegresar} WHERE CAT_GP_ID = '${idProd}'"$) + +' ' 2. REGISTRAR MOVIMIENTO PARA SINCRONIZACIÓN +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN, PROID, CANTIDAD) VALUES(?,?,?)", _ +' Array As Object(cedis, idProd, cantRegresar * -1)) + + ' 3. BORRADO QUIRÚRGICO (Usamos todos los criterios para no afectar otras presentaciones) + Dim qDelete As String = "DELETE FROM PEDIDO WHERE PE_PROID = ? AND PE_PRESENTACION = ? " & _ + "AND PE_UVM = ? AND PE_CEDIS = ? " & _ + "AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = ?" + + B4XPages.MainPage.skmt.ExecNonQuery2(qDelete, Array As Object(idProd, presName, uvmVal, cedis,folioActual)) + + LogColor("Borrado exitoso de Nota: " & nom & " (" & presName & ")", Colors.Blue) + + ' 4. REFRESCAR PANTALLA + B4XPage_Appear + End If + + End If +End Sub + +Sub b_desc_Click + If DESCUENTO = "MENOS" Then + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") + c.Position=0 + clie_id = c.GetString("CUENTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + c.Close + result = Msgbox2("Seguro que desea dar descuento del 5%?","Dar descuento", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore + If result = DialogResponse.POSITIVE Then + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT * .95, PE_DESC = 5 WHERE PE_CLIENTE In (select cuenta from cuentaa)") + c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + c.Position=0 + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)", Array As Object(clie_id, sDate & sTime, usuario, c.GetString("CANT_CLIE"),c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps)) + c.Close + B4XPage_Appear + End If + ELSE IF DESCUENTO = "MAS" Then + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") + c.Position=0 + clie_id = c.GetString("CUENTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + c.Close + result = Msgbox2("Seguro que desea CANCELAR el descuento?","Cancelar descuento", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore + If result = DialogResponse.POSITIVE Then + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT / .95, PE_DESC = 0 WHERE PE_CLIENTE In (select cuenta from cuentaa)") + c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + c.Position=0 + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)", Array As Object(clie_id, sDate & sTime, usuario, c.GetString("CANT_CLIE"),c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps)) + c.Close + B4XPage_Appear + End If + End If +End Sub + +Private Sub p_nota_Click + +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..af4c21f --- /dev/null +++ b/B4A/C_NuevoCliente.bas @@ -0,0 +1,432 @@ +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 ruta As String + Dim c As Cursor + + Dim CANCELA As Button + Dim GUARDA As Button + Dim cuenta As String + Dim usuario As String + Dim sDate,sTime As String + Dim sDate2,sTime2 As String + Dim no_cliente As String + Dim no_ruta As String + Dim lista_punta As List + Dim r_4 As RadioButton + Dim E_NOMBRE As EditText + Dim tgl As Toggle + Private l_sinUbicacion As Label + Private p_nuevoCliente As Panel + Private Label1 As Label + Private p_botones As Panel + Private p_cam As Panel + Private p_camara As Panel + Private b_foto_inci As Button +' Private camEx2 As CameraExClass2 + Dim frontCamera As Boolean = False + Dim fototomada As String = "0" + Dim ALMACEN As String + Private et_direccion As EditText + Private Label2 As Label + Dim lat As Double = 0 + Dim lon As Double = 0 + Private b_ubicacion As Label + Private Label3 As Label + Private cb_giro As B4XComboBox + Dim giros As String + Private L_Atiende As Label + Private ET_Atiende As EditText + Private Label5 As Label + Private et_colonia As EditText + Private et_telefono As EditText + Private et_cp As EditText + Private Label6 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) +' B4XPages.SetTitle(Me, $"${Subs.capitalizar(B4XPages.GetPageId(Me))} - ${Application.VersionName}"$) + Root = Root1 + 'load the layout to Root + Root.LoadLayout("nuevocliente") + ruta = File.DirInternal + If File.Exists(ruta, "kmt.db") = False Then + File.Copy(File.DirAssets, "kmt.db", ruta, "kmt.db") + End If +' skmt.Initialize(ruta,"kmt.db", True) +' p_camara.Height = Root.Height +' p_camara.Width = Root.Width +' Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_CAMERA) +' Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) +' If Result Then + '' camEx2.Initialize(p_cam, frontCamera, Me, "Camera1") + '' frontCamera = camEx2.Front +' Log("inicializamos Camara") +' Else +' ToastMessageShow("Sin permisos de camara!!!", True) +' End If + 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 para escritura") + Else + ToastMessageShow("Sin permisos de 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("Con permisos para escritura") + Else + ToastMessageShow("Sin permisos de lectura!!!", True) + 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 + et_direccion.Text = "" + E_NOMBRE.Text = "" + ET_Atiende.Text = "" + et_colonia.Text = "" + et_telefono.Text = "" + If Not(Starter.gps.GPSEnabled) Then + ToastMessageShow("Es necesario tener el GPS encendido", True) + StartActivity(Starter.gps.LocationSettingsIntent) + End If + GUARDA.Visible = False + Subs.panelVisible(p_nuevoCliente, 0, 0) + p_nuevoCliente.Height = Root.Height + p_nuevoCliente.Width = Root.Width + Subs.centraEtiqueta(Label1, Root.Width) + Subs.centraEtiqueta(Label5, Root.Width) + Subs.centraEtiqueta(Label6, Root.Width) + Subs.centraEtiqueta(Label2, Root.Width) + Subs.centraEtiqueta(Label3, Root.Width) + Subs.centraEtiqueta(l_sinUbicacion, Root.Width) + Subs.centraEtiqueta(b_ubicacion, Root.Width) + Subs.centraPanel(p_botones, Root.Width) + E_NOMBRE.Left = Round(Root.Width/2)-(E_NOMBRE.Width/2) + et_cp.Left = Round(Root.Width/2)-(E_NOMBRE.Width/2) + et_colonia.Left = Round(Root.Width/2)-(et_colonia.Width/2) + et_direccion.Left = Round(Root.Width/2)-(et_direccion.Width/2) + If B4XPages.MainPage.lat_gps <> "0.0" Then + GUARDA.Visible = True 'Si hay ubicaccion, mostramos el boton de guardar. + l_sinUbicacion.Visible = True + End If + + CallSubDelayed(Tracker, "Track") + CallSubDelayed(Tracker, "StartFLPSmall") + If Tracker.FLP.IsInitialized And Tracker.FLP.GetLastKnownLocation.IsInitialized Then 'Si tenemos "UltimaUbicaccionConocida" la usamos. + B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastKnownLocation.Latitude + B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastKnownLocation.Longitude +' Log($"Tenemos UUC: ${Tracker.FLP.GetLastKnownLocation.Latitude},${Tracker.FLP.GetLastKnownLocation.Longitude}"$) + GPS_LocationChanged(Tracker.FLP.GetLastKnownLocation) + End If + + lista_punta.Initialize + Dim pol As Cursor = Starter.skmt.ExecQuery("SELECT LAT, LONG FROM POLIGONO") + If pol.RowCount > 0 Then + + For poli = 0 To pol.RowCount -1 + pol.Position = poli + Dim coords As LatLng + coords.Initialize(pol.GetString("LAT"), pol.GetString("LONG")) + lista_punta.Add(coords) + Next + End If + + If Not(Starter.GPS.GPSEnabled) Then + ToastMessageShow("Debe Activar el GPS del Equipo.", True) + StartActivity(Starter.GPS.LocationSettingsIntent) + Else + Starter.GPS.Start(0, 0) +' If Starter.ubicacionActual.Latitude <> 0 Then GPS_LocationChanged(Starter.ubicacionActual) + End If + CallSubDelayed(Tracker, "StartFLPSmall") + + c = Starter.skmt.ExecQuery("SELECT GIRO FROM CAT_GIRO order by 1") + Dim Items As List + Items.Initialize + Items.Add("SELECCIONA UNA OPCIÓN") + If c.RowCount > 0 Then + For i = 0 To c.RowCount-1 + c.Position = i + Items.Add(c.GetString("GIRO")) + Next + cb_giro.SetItems(Items) + End If + giros = "SELECCIONA UNA OPCIÓN" + c.Close +End Sub + +Sub GPS_LocationChanged (Location1 As Location) + If B4XPages.MainPage.lat_gps <> "0.0" Then + GUARDA.Visible = True 'Si hay ubicaccion, mostramos el boton de guardar. + l_sinUbicacion.Visible = True + lat = Location1.Latitude + lon = Location1.Longitude + l_sinUbicacion.Text = ("Latitud: " & lat & ", Longotud: "& lon) + End If + + b_ubicacion.TextSize = 13 + b_ubicacion.Text = $"Precisión GPS $1.0{Location1.Accuracy} m"$ + If Location1.Accuracy > 200 Then + b_ubicacion.TextColor = Colors.Red + b_ubicacion.TextSize = 16 + b_ubicacion.Text = $"Mala señal $1.0{Location1.Accuracy} m"$ + End If +End Sub + +Sub CANCELA_Click + B4XPages.ShowPage("Principal") + CallSubDelayed(Tracker, "StartFLP") +End Sub + +Sub PointInPolygon(point As LatLng, polygon As List) As Boolean + Dim x As Double = point.Longitude + Dim y As Double = point.Latitude + + Dim inside As Boolean = False + For i = 0 To polygon.Size - 1 + Dim j As Int = (i + 1) Mod polygon.Size + Dim p1_1 As LatLng = polygon.Get(i) + Dim p2_1 As LatLng = polygon.Get(j) + + Dim xi As Double = p1_1.Longitude + Dim yi As Double = p1_1.Latitude + Dim xj As Double = p2_1.Longitude + Dim yj As Double = p2_1.Latitude + + Dim intersect As Boolean = ((yi > y) <> (yj > y)) And (x < (xj - xi) * (y - yi) / (yj - yi) + xi) + If intersect Then + inside = Not(inside) + End If + Next + + Return inside + + +End Sub + +Sub GUARDA_Click + +' Dim mPoint As LatLng +' mPoint.Initialize(B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps) +' +'' If lista_punta.Size > 0 Then +'' Dim dentro As Boolean = PointInPolygon(mPoint, lista_punta) +'' +'' If dentro Then + ToastMessageShow("El punto está DENTRO del polígono", True) + B4XPages.ShowPage("NuevoCliente") + + + ' Verifica si el nombre de la tienda está vacío + If E_NOMBRE.Text = "" Then + MsgboxAsync("Por favor captura el nombre de la Tienda","Atención") + ' Verifica si la dirección tiene más de 3 caracteres + Else If et_direccion.Text.Length > 3 Then + ' Verifica si la latitud es diferente de 0 + If lat <> 0 Then + ' Verifica si el giro del cliente está seleccionado + If giros <> "SELECCIONA UNA OPCIÓN" Or cb_giro.SelectedItem <> "SELECCIONA UNA OPCIÓN" Then + ' Verifica si el encargado que atiende el negocio está capturado + If ET_Atiende.Text <> "" Then + If et_colonia.Text <> "" Then + If et_colonia.Text <> "" Then + If et_cp.Text <> "" Then + + DateTime.DateFormat = "MM/dd/yyyy" + DateTime.Timeformat = "HHmmss" + sDate = DateTime.Date(DateTime.Now) + sTime = DateTime.Time(DateTime.Now) + Log($" //////////// Date: ${sDate} - Time: ${sTime} ////////////////"$) + ' Aquí creamos manualmente la hora con el separador de los 2 puntos porque en algunas versiones de Android no respeta el formato "Timeformat = 'HH:mm:ss'" + Private hora As String = sTime.SubString2(0,2) + Private mins As String = sTime.SubString2(2,4) + Private segs As String = sTime.SubString(4) + sTime = hora & ":" & mins & ":" & segs + Log("////////////// sTime: "&sTime&" ////////////////") + c = Starter.skmt.ExecQuery("select CAT_CL_RUTA FROM kmt_info") + c.Position = 0 + no_ruta = c.GetString("CAT_CL_RUTA") + no_cliente = "N" & sTime & no_ruta + Log("++ ++ no_cliente = "&no_cliente) + c.Close + + Starter.skmt.ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)", Array As Object (no_cliente)) + Starter.skmt.ExecNonQuery("delete from CUENTAA") + Starter.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object(no_cliente)) + c = Starter.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + If c.RowCount > 0 Then + c.Position = 0 + ALMACEN = c.GetString("ID_ALMACEN") + End If + c.Close + c = Starter.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close + ' Starter.skmt.ExecNonQuery2("INSERT INTO HIST_FOTO_CLIENTE(CODIGO, ALMACEN, RUTA) VALUES(?,?,?)", Array As Object(no_cliente, ALMACEN, no_ruta)) + ' Starter.skmt.ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_LAT,NV_LON,NV_NOMBRE,NV_DIRECCION) VALUES(?,?,?,?,?,?,?,?) ", Array As Object (no_cliente,sDate & sTime, usuario, "NUEVO CLIENTE", lat, lon, E_NOMBRE.Text,et_direccion.Text)) + + DateTime.DateFormat = "dd/MM/yyyy" + DateTime.Timeformat = "HH:mm:ss" + sDate2 = DateTime.Date(DateTime.Now) + sTime2 = DateTime.Time(DateTime.Now) + + 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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO,CAT_CL_CP) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?,?) ", Array As Object (no_cliente,no_ruta, E_NOMBRE.Text,"null","null","null","null","null","null","null","null","null","null","null","null","null",B4XPages.MainPage.lon_gps,B4XPages.MainPage.lat_gps, cb_giro.SelectedItem,et_cp.Text)) + Starter.skmt.ExecNonQuery2("INSERT INTO CLIENTES_NUEVOS(CN_ID, CN_FECHA, CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA,CN_COLONIA, CN_TELEFONO,CN_CP) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)", Array As String(no_cliente, sDate2 &" "&sTime2, usuario, lat, lon, E_NOMBRE.Text, et_direccion.Text, ALMACEN, no_ruta, cb_giro.SelectedItem, ET_Atiende.Text,et_colonia.Text,et_telefono.Text,et_cp.Text)) + ' fototomada = "0" + B4XPages.ShowPage("Cliente") + CallSubDelayed(Tracker, "StartFLP") + Else + MsgboxAsync("Por favor, debe capturar el C.P. el negocio.","Atención") + End If + Else + MsgboxAsync("Por favor, debe capturar la colonia el negocio.","Atención") + End If + Else + MsgboxAsync("Por favor, debe capturar el telfono.","Atención") + End If + Else + ' Mensaje de advertencia si ET_Atiende.Text está vacío + MsgboxAsync("Por favor, debe capturar al encargado que atiende el negocio.","Atención") + End If + Else + MsgboxAsync("Por favor captura el giro del cliente","Atención") + End If + Else + MsgboxAsync("Por favor revisa que tengas señal GPS","Atención") + End If + Else + MsgboxAsync("Por favor captura la dirección del cliente","Atención") + End If + +' Else +' ToastMessageShow("El punto está FUERA del polígono", True) +' End If +' End If +End Sub + + + + +Private Sub p_nuevoCliente_Click + +End Sub + +'Private Sub b_foto_inci_Click +' camEx2.TakePicture +' p_camara.Visible = False +'' StopCamera2 +'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 +' camEx2.Initialize(p_cam, frontCamera, Me, "Camera1") +' frontCamera = camEx2.Front +' Log("inicializamos Camara") +' Else +' ToastMessageShow("Sin permisos de camara!!!", True) +' End If +' 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 para escritura") +' Else +' ToastMessageShow("Sin permisos de 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("con permisos para escritura") +' Else +' ToastMessageShow("Sin permisos de lectura!!!", True) +' End If +'End Sub +' +'Sub Camera1_Ready (Success As Boolean) +' Log("Camara ready") +' If Success Then +' camEx2.SetJpegQuality(90) +' camEx2.SetContinuousAutoFocus +' camEx2.CommitParameters +' camEx2.StartPreview +' Log(camEx2.GetPreviewSize) +' Else +' ToastMessageShow("Cannot open camera.", True) +' Log("Cannot open camera") +' End If +'End Sub +' +'Sub Camera1_PictureTaken (Data()As Byte) +' 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,"/promotoriakmts") +' Dir = "/promotoriakmts" +' 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 +' +' camEx2.SavePictureToFile(Data, Dirp&Dir, filename) +' camEx2.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 +' StopCamera2 +' +'End Sub +' +'Private Sub StopCamera2 +'' Capturing = False +' If camEx2.IsInitialized Then +' camEx2.Release +' End If +'End Sub +' +' +'Private Sub B_FOTO_Click +' DateTime.DateFormat="ddMMyyyyHHmmss" +' InitializeCamera2 +' Subs.panelVisible(p_camara, 0, 0) +' fototomada = DateTime.Now & "_cliente.jpg" +'End Sub + +Private Sub cb_giro_SelectedIndexChanged (Index As Int) + giros = cb_giro.SelectedItem +End Sub + diff --git a/B4A/C_Pedidos.bas b/B4A/C_Pedidos.bas new file mode 100644 index 0000000..782305f --- /dev/null +++ b/B4A/C_Pedidos.bas @@ -0,0 +1,584 @@ +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 ruta As String + Dim skmt As SQL + Private t3 As Timer + Dim p As Phone + Dim sb As StringBuilder + + Dim c As Cursor + Dim e As Cursor + Dim f As Cursor + Dim h As Cursor + Dim CC As Cursor + Dim DD As Cursor + Dim l_tipo As Label + Dim l_sub As Label + Dim l_marca As Label + Dim l_desc As Label + Dim l_precio As Label + Dim l_bodega As Label + Dim cantidad As EditText + Dim guardar As Button + Dim Terminar As Button + Dim img_prod As ImageView + Dim IMG_PASO() As Byte + Dim L_PROID As Label + Dim clie_id As String + Dim sDate,sTime As String + Dim usuario As String + ' Dim lat_gps, lon_gps As String + Dim t_venta As Label + Dim PROMO_C As String + Dim i_fotol As ImageView + Private DESC_PROMO As Button + Private nopromo As Button + Dim TOT_ART_PROMO As String + Dim cambio As String + Dim COSTO_TOT As String + Dim ALMACEN As String + Dim preciosin As String + Dim cl_ruta As String + Dim d As Cursor + Dim TOT_ART_PROMOR As String + Dim PROMO_CR As String + Dim TOTAL_PROMO As String + Dim HCCP_CANT As String + Dim tgl As Toggle + Dim precio_Cero As String + Private BONSABOR As String + Private BONSABOR2 As String + Dim cmd As DBCommand + Private p_pedido 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("pedido") + i_fotol.Visible = False +' B4XPages.MainPage.reqManager.Initialize(Me, "http://177.244.63.54:1782") + ruta = File.DirInternal + If File.Exists(ruta, "kmt.db") = False Then + File.Copy(File.DirAssets, "kmt.db", ruta, "kmt.db") + End If +' skmt.Initialize(ruta,"kmt.db", True) +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub B4XPage_Appear + tgl.Initialize + BONSABOR = 0 + BONSABOR2 = 0 + If Not(Starter.gps.GPSEnabled) Then + ToastMessageShow("Es necesario tener el GPS encendido", True) + StartActivity(Starter.gps.LocationSettingsIntent) + End If + cantidad.Text = "" + c=B4XPages.MainPage.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + C.Position =0 + ALMACEN = C.GetString("ID_ALMACEN") + C.Close + i_fotol.Visible = False + sb.Initialize + p.Shell("ping -c1 -W1 177.244.63.54",Null, sb,Null) + skmt.Initialize(ruta,"kmt.db", True) + c=B4XPages.MainPage.skmt.ExecQuery("select CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_DEV from CAT_GUNAPROD where CAT_GP_NOMBRE In (Select PDESC from PROID)") + c.Position=0 + L_PROID.Text = c.GetString("CAT_GP_ID") + l_tipo.Text = c.GetString("CAT_GP_TIPO") + l_sub.Text = c.GetString("CAT_GP_SUBTIPO") + l_marca.Text = c.GetString("CAT_GP_CLASIF") + l_desc.Text = c.GetString("CAT_GP_NOMBRE") + l_precio.Text = c.GetDouble("CAT_GP_PRECIO") + l_bodega.Text = c.GetString("CAT_GP_ALMACEN") + IMG_PASO = c.GetBlob("CAT_GP_IMG") + PROMO_C = c.GetString("CAT_GP_STS") + cambio = c.GetString("CAT_GP_DEV") + preciosin = c.GetString("CAT_GP_IMP2") + PROMO_CR = c.GetString("CAT_GP_IMP1") + cambio = "0" + + e=B4XPages.MainPage.skmt.ExecQuery2("select count(*) as CUANTOS FROM pedido WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select cuenta from cuentaa) ", Array As String(c.GetString("CAT_GP_ID"))) + e.Position =0 + If e.GetString("CUANTOS") = 0 Then + If l_marca.text = "PROMOS" And l_tipo.Text ="PROMOS" Then + DESC_PROMO.Visible = True + CC=B4XPages.MainPage.skmt.ExecQuery2("select count(*) as CUANTOS FROM PROMOS_COMP WHERE CAT_PA_ID = ?", Array As String(c.GetString("CAT_GP_ID"))) + CC.Position =0 + If CC.GetString("CUANTOS") = 0 Then + l_bodega.Text = "0" ' se modifica a cero para evitar error en la promo especial de unilever mayo + Else + CC.Close + CC=B4XPages.MainPage.skmt.ExecQuery2("select CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE FROM PROMOS_COMP WHERE CAT_PA_ID = ?", Array As String(c.GetString("CAT_GP_ID"))) + CC.Position =0 + ' SE MODIFICA LA APLICACION PARA QUE VEA EL HISTORIAL DE VENTA DEL CLIENTE. + DD=B4XPages.MainPage.skmt.ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?", Array As String(c.GetString("CAT_GP_ID"))) + DD.Position =0 + If DD.GetString("CUANTOS") = 0 Then + HCCP_CANT = 0 + Else + DD.Close + DD=B4XPages.MainPage.skmt.ExecQuery2("SELECT HCCP_CANT FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?", Array As String(c.GetString("CAT_GP_ID"))) + DD.Position =0 + HCCP_CANT = DD.GetString("HCCP_CANT") + DD.Close + End If + BONSABOR = HCCP_CANT + DD=B4XPages.MainPage.skmt.ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?", Array As String(c.GetString("CAT_GP_NOMBRE"))) + DD.Position =0 + If DD.GetString("CUANTOS") = 0 Then + HCCP_CANT = 0 + Else + DD.Close + DD=B4XPages.MainPage.skmt.ExecQuery2("SELECT SUM(HVD_CANT) AS HCCP_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?", Array As String(c.GetString("CAT_GP_NOMBRE"))) + DD.Position =0 + HCCP_CANT = DD.GetString("HCCP_CANT") + DD.Close + End If + DD=B4XPages.MainPage.skmt.ExecQuery2("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PROID IN (select CAT_GP_ID from CAT_GUNAPROD where CAT_GP_CLASIF = ?) ",Array As String(c.GetString("CAT_GP_NOMBRE"))) + DD.Position =0 + BONSABOR2 = DD.GetString("CUANTOS") + DD.Close + TOTAL_PROMO = CC.GetString("CAT_PA_MAXPROMCLIE") - HCCP_CANT + If HCCP_CANT = 0 Then + l_bodega.Text = CC.GetString("CAT_PA_MAXPROM") + Else IF TOTAL_PROMO > CC.GetString("CAT_PA_MAXPROMREC") Then + l_bodega.Text = CC.GetString("CAT_PA_MAXPROMREC") + Else + l_bodega.Text = TOTAL_PROMO + End If + End If + Else + DESC_PROMO.Visible = False + End If + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select CASE WHEN pe_costo_tot is null then 0 else sum( pe_costo_tot ) end as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + c.Position=0 + t_venta.Text = c.GetString("TOTAL_CLIE") + c.Close + Terminar.Visible = True + guardar.Visible = True + cantidad.Visible = True + If cambio = "1" Then + nopromo.Visible = True + Else + nopromo.Visible = False + End If + Dim out As OutputStream + out = File.OpenOutput(ruta, "1.jpg", False) + out.WriteBytes(IMG_PASO, 0, IMG_PASO.Length) + out.Close + img_prod.Bitmap = LoadBitmap(ruta,"1.jpg") + TOT_ART_PROMO = "0" + TOT_ART_PROMOR = "0" + If l_marca.text = "PROMOS" And l_tipo.Text ="PROMOS" And l_bodega.Text = "0" Then + Msgbox("ALERTA","EL CLIENTE NO PUEDE TENER ESTA PROMOCION") 'ignore + B4XPages.ShowPage("Productos") + ELSE IF l_marca.text = "PROMOS" And l_tipo.Text ="PROMOS" And L_PROID.Text = "PROUNI1" And BONSABOR <> "1" And BONSABOR2 = 0 Then + Msgbox("ALERTA","EL CLIENTE NO PUEDE TENER ESTA PROMOCION") 'ignore + B4XPages.ShowPage("Productos") + End If + Else + Msgbox("ALERTA","EL CLIENTE YA COMPRO ESTE PRODUCTO REVISAR NOTA") 'ignore + B4XPages.ShowPage("Productos") + End If +End Sub + +Sub guardar_Click + If cantidad.Text = "" Then + B4XPages.ShowPage("Productos") + ELSE If cantidad.Text > l_bodega.Text Then + Msgbox("Exede la existencia", "ADVERTENCIA") 'ignore + Else If l_marca.text = "PROMOS" And l_tipo.Text ="PROMOS" And PROMO_C > 0 And cantidad.Text > 0 Then + B4XPages.MainPage.skmt.ExecNonQuery("delete from PROIDID") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PROIDID VALUES (?)", Array As Object(L_PROID.text)) + c=B4XPages.MainPage.skmt.ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)") + c.Position =0 + If c.GetString("CUANTOSD") = 0 Then + Msgbox("No tiene venta el cliente para la promo", "ADVERTENCIA") 'ignore + Else + c=B4XPages.MainPage.skmt.ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)") + C.Position =0 + TOT_ART_PROMO = C.GetString("TOT_ART_PROMO") + COSTO_TOT = C.GetString("COSTO_TOT") + C.Close + c=B4XPages.MainPage.skmt.ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)") + c.Position =0 + If c.GetString("CUANTOSD") = 0 Then + TOT_ART_PROMOR = "0" 'Msgbox("No tiene venta el cliente para la promo", "ADVERTENCIA") + Else + c=B4XPages.MainPage.skmt.ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)") + C.Position =0 + TOT_ART_PROMOR = C.GetString("TOT_ART_PROMO") + End If + C.Close + PROMO_C = PROMO_C * cantidad.Text + PROMO_CR = PROMO_CR * cantidad.Text + If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR = PROMO_CR Then + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))", Array As Object(L_PROID.text)) + D=B4XPages.MainPage.skmt.ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1") + If D.RowCount>0 Then + For i=0 To D.RowCount -1 + D.Position=i + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",Array As Object( D.GetString("CAT_DP_PRECIO"), D.GetString("CAT_DP_PRECIO"), D.GetString("CAT_DP_PRECIO_SIMPTOS"),D.GetString("CAT_DP_IDPROD"))) + Next + End If + D.Close + D=B4XPages.MainPage.skmt.ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1") + If D.RowCount>0 Then + For i=0 To D.RowCount -1 + D.Position=i + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",Array As Object( D.GetString("CAT_DP_PRECIO"), D.GetString("CAT_DP_PRECIO"), D.GetString("CAT_DP_PRECIO_SIMPTOS"),D.GetString("CAT_DP_IDPROD"))) + Next + End If + D.Close + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") + c.Position=0 + clie_id = c.GetString("CUENTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)") + c.Position=0 + cl_ruta = c.GetString("CAT_CL_RUTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + e=B4XPages.MainPage.skmt.ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 ") + ' SE LO QUITE DE CONDICION AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) + e.Position =0 + If e.GetString("CUANTOS") > 0 Then + F=B4XPages.MainPage.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) and CAT_DP_TIPO = 0 ") ' AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) + 'meter el otro + 'si jala copiar para guna y el resto + If f.RowCount>0 Then + For i=0 To f.RowCount -1 + f.Position=i + precio_Cero = f.GetString("CAT_DP_PRECIO") + h=B4XPages.MainPage.skmt.ExecQuery2("select CAT_GP_NOMBRE from CAT_GUNAPROD where CAT_GP_ID = ? ", Array As String(f.GetString("CAT_DP_IDPROD"))) + h.Position=0 + '0 + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ", Array As Object (L_PROID.text,precio_Cero * f.GetString("CAT_DP_PZAS") * cantidad.text, precio_Cero, f.GetString("CAT_DP_PZAS") * cantidad.text, h.GetString("CAT_GP_NOMBRE"), f.GetString("CAT_DP_IDPROD"),clie_id, sDate & sTime, usuario,cl_ruta)) + h.Close + Next + End If + f.Close + End If + e.Close + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ", Array As Object (L_PROID.text,0 , 0, cantidad.text, l_desc.text, L_PROID.Text,clie_id, sDate & sTime, usuario,cl_ruta, B4XPages.MainPage.tipo_venta)) + B4XPages.MainPage.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ", Array As Object(cantidad.Text, L_PROID.Text)) + Else + Msgbox("Tiene " & TOT_ART_PROMO & " " & TOT_ART_PROMOR & " y necesita " & PROMO_C & " " & PROMO_CR & " Para la Promo. " , "ADVERTENCIA") 'ignore + End If + End If + cantidad.Text = "" + B4XPages.ShowPage("Productos") + else If l_marca.text = "PROMOS" And l_tipo.Text ="PROMOS" And PROMO_C = 0 Then + B4XPages.MainPage.skmt.ExecNonQuery("delete from PROIDID") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PROIDID VALUES (?)", Array As Object(L_PROID.text)) + c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") + c.Position=0 + clie_id = c.GetString("CUENTA") + c.Close + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)") + c.Position=0 + cl_ruta = c.GetString("CAT_CL_RUTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + 'B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO) VALUES(?,?,?,?,?,?,?,?,?) ", Array As Object ("COACALCO",cantidad.Text * l_precio.Text, l_precio.text, cantidad.text, l_desc.text, L_PROID.Text,clie_id, sDate & sTime, usuario)) + 'para insertar la promo de ades el de regalo en 0 + e=B4XPages.MainPage.skmt.ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) ") + e.Position =0 + If e.GetString("CUANTOS") > 0 Then + F=B4XPages.MainPage.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)") + For i =0 To f.RowCount -1 + F.Position =i + h=B4XPages.MainPage.skmt.ExecQuery2("select CAT_GP_NOMBRE from CAT_GUNAPROD where CAT_GP_ID = ? ", Array As String(f.GetString("CAT_DP_IDPROD"))) + h.Position=0 + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ", Array As Object (L_PROID.text,f.GetString("CAT_DP_PRECIO") * cantidad.text * f.GetString("CAT_DP_PZAS"), f.GetString("CAT_DP_PRECIO"), f.GetString("CAT_DP_PZAS") * cantidad.text, h.GetString("CAT_GP_NOMBRE"), f.GetString("CAT_DP_IDPROD"),clie_id, sDate & sTime, usuario,cl_ruta, B4XPages.MainPage.tipo_venta)) + h.Close + Next + f.Close + End If + e.Close + '0 + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ", Array As Object (L_PROID.text,0, 0, cantidad.text, l_desc.text, L_PROID.Text,clie_id, sDate & sTime, usuario,cl_ruta, B4XPages.MainPage.tipo_venta)) + B4XPages.MainPage.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ", Array As Object(cantidad.Text, L_PROID.Text)) + cantidad.Text = "" + c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + c.Position=0 + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)", Array As Object(clie_id, sDate & sTime, usuario, c.GetString("CANT_CLIE"),c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps,ALMACEN,cl_ruta,c.GetString("TOTAL_CLIE_SIN"))) + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)") + B4XPages.ShowPage("Productos") + Else + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") + c.Position=0 + clie_id = c.GetString("CUENTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)") + c.Position=0 + cl_ruta = c.GetString("CAT_CL_RUTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN, PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ", Array As Object (ALMACEN,cantidad.Text * l_precio.Text, l_precio.text, cantidad.text, l_desc.text, L_PROID.Text,clie_id, sDate & sTime, usuario,cl_ruta,preciosin, B4XPages.MainPage.tipo_venta)) + B4XPages.MainPage.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ", Array As Object(cantidad.Text, L_PROID.Text)) + c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + c.Position=0 + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)", Array As Object(clie_id, sDate & sTime, usuario, c.GetString("CANT_CLIE"),c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps,ALMACEN,cl_ruta,c.GetString("TOTAL_CLIE_SIN"))) + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ", Array As Object (ALMACEN,L_PROID.Text,cantidad.text)) + B4XPages.ShowPage("Productos") + 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 Terminar_Click + If cantidad.Text = "" Then + B4XPages.ShowPage("Cliente") + ELSE If cantidad.Text > l_bodega.Text Then + Msgbox("Exede la existencia", "ADVERTENCIA") 'ignore + Else If l_marca.text = "PROMOS" And l_tipo.Text ="PROMOS" And PROMO_C > 0 And cantidad.Text > 0 Then + B4XPages.MainPage.skmt.ExecNonQuery("delete from PROIDID") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PROIDID VALUES (?)", Array As Object(L_PROID.text)) + c=B4XPages.MainPage.skmt.ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)") + c.Position =0 + If c.GetString("CUANTOSD") = 0 Then + Msgbox("No tiene venta el cliente para la promo", "ADVERTENCIA") 'ignore + Else + c=B4XPages.MainPage.skmt.ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)") + C.Position =0 + TOT_ART_PROMO = C.GetString("TOT_ART_PROMO") + COSTO_TOT = C.GetString("COSTO_TOT") + C.Close + c=B4XPages.MainPage.skmt.ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)") + c.Position =0 + If c.GetString("CUANTOSD") = 0 Then + TOT_ART_PROMOR = "0" 'Msgbox("No tiene venta el cliente para la promo", "ADVERTENCIA") + Else + c=B4XPages.MainPage.skmt.ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)") + C.Position =0 + TOT_ART_PROMOR = C.GetString("TOT_ART_PROMO") + End If + C.Close + PROMO_C = PROMO_C * cantidad.Text + PROMO_CR = PROMO_CR * cantidad.Text + If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR = PROMO_CR Then + ' anterior a 29/06/2015 + 'B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))", Array As Object(l_precio.text/(TOT_ART_PROMO/cantidad.Text),l_precio.text/(TOT_ART_PROMO/cantidad.Text))) + 'en pe_cedis meto el codigo de promocion para hacer esta validacion. + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))", Array As Object(L_PROID.text)) + D=B4XPages.MainPage.skmt.ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1") + If D.RowCount>0 Then + For i=0 To D.RowCount -1 + D.Position=i + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",Array As Object( D.GetString("CAT_DP_PRECIO"), D.GetString("CAT_DP_PRECIO"), D.GetString("CAT_DP_PRECIO_SIMPTOS"),D.GetString("CAT_DP_IDPROD"))) + Next + End If + D.Close + D=B4XPages.MainPage.skmt.ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1") + If D.RowCount>0 Then + For i=0 To D.RowCount -1 + D.Position=i + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",Array As Object( D.GetString("CAT_DP_PRECIO"), D.GetString("CAT_DP_PRECIO"), D.GetString("CAT_DP_PRECIO_SIMPTOS"),D.GetString("CAT_DP_IDPROD"))) + Next + End If + D.Close + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") + c.Position=0 + clie_id = c.GetString("CUENTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)") + c.Position=0 + cl_ruta = c.GetString("CAT_CL_RUTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + 'para insertar la promo de ades el de regalo en 0 + e=B4XPages.MainPage.skmt.ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 ") + ' SE LO QUITE DE CONDICION AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) + e.Position =0 + If e.GetString("CUANTOS") > 0 Then + F=B4XPages.MainPage.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) and CAT_DP_TIPO = 0 ") ' AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) + 'meter el otro + 'si jala copiar para guna y el resto + If f.RowCount>0 Then + For i=0 To f.RowCount -1 + f.Position=i + precio_Cero = f.GetString("CAT_DP_PRECIO") + h=B4XPages.MainPage.skmt.ExecQuery2("select CAT_GP_NOMBRE from CAT_GUNAPROD where CAT_GP_ID = ? ", Array As String(f.GetString("CAT_DP_IDPROD"))) + h.Position=0 + Log(111) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ", Array As Object (L_PROID.text,precio_Cero * f.GetString("CAT_DP_PZAS") * cantidad.text, precio_Cero, f.GetString("CAT_DP_PZAS") * cantidad.text, h.GetString("CAT_GP_NOMBRE"), f.GetString("CAT_DP_IDPROD"),clie_id, sDate & sTime, usuario,cl_ruta, B4XPages.MainPage.tipo_venta)) + h.Close + Next + End If + f.Close + End If + e.Close + Log(222) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ", Array As Object (L_PROID.text,0 , 0, cantidad.text, l_desc.text, L_PROID.Text,clie_id, sDate & sTime, usuario,cl_ruta, b4xpages.MainPage.tipo_venta)) + B4XPages.MainPage.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ", Array As Object(cantidad.Text, L_PROID.Text)) + Else + Msgbox("Tiene " & TOT_ART_PROMO & " " & TOT_ART_PROMOR & " y necesita " & PROMO_C & " " & PROMO_CR & " Para la Promo. " , "ADVERTENCIA") 'ignore + End If + End If + cantidad.Text = "" + B4XPages.ShowPage("Cliente") + else If l_marca.text = "PROMOS" And l_tipo.Text ="PROMOS" And PROMO_C = 0 Then + B4XPages.MainPage.skmt.ExecNonQuery("delete from PROIDID") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PROIDID VALUES (?)", Array As Object(L_PROID.text)) + c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") + c.Position=0 + clie_id = c.GetString("CUENTA") + c.Close + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)") + c.Position=0 + cl_ruta = c.GetString("CAT_CL_RUTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + 'para insertar la promo de ades el de regalo en 0 + e=B4XPages.MainPage.skmt.ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) ") + e.Position =0 + If e.GetString("CUANTOS") > 0 Then + F=B4XPages.MainPage.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)") + For i =0 To f.RowCount -1 + F.Position =i + h=B4XPages.MainPage.skmt.ExecQuery2("select CAT_GP_NOMBRE from CAT_GUNAPROD where CAT_GP_ID = ? ", Array As String(f.GetString("CAT_DP_IDPROD"))) + h.Position=0 + Log(333) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ", Array As Object (L_PROID.text,f.GetString("CAT_DP_PRECIO") * cantidad.text * f.GetString("CAT_DP_PZAS"), f.GetString("CAT_DP_PRECIO"), f.GetString("CAT_DP_PZAS") * cantidad.text, h.GetString("CAT_GP_NOMBRE"), f.GetString("CAT_DP_IDPROD"),clie_id, sDate & sTime, usuario,cl_ruta, B4XPages.MainPage.tipo_venta)) + h.Close + Next + f.Close + End If + e.Close + Log(444) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ", Array As Object (L_PROID.text,0, 0, cantidad.text, l_desc.text, L_PROID.Text,clie_id, sDate & sTime, usuario,cl_ruta, B4XPages.MainPage.tipo_venta)) + B4XPages.MainPage.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ", Array As Object(cantidad.Text, L_PROID.Text)) + cantidad.Text = "" + c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + c.Position=0 + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)", Array As Object(clie_id, sDate & sTime, usuario, c.GetString("CANT_CLIE"),c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps,ALMACEN,cl_ruta,c.GetString("TOTAL_CLIE_SIN"))) + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)") + B4XPages.ShowPage("Cliente") + Else + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") + c.Position=0 + clie_id = c.GetString("CUENTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)") + c.Position=0 + cl_ruta = c.GetString("CAT_CL_RUTA") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + Log(555) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ", Array As Object (ALMACEN,cantidad.Text * l_precio.Text, l_precio.text, cantidad.text, l_desc.text, L_PROID.Text,clie_id, sDate & sTime, usuario,cl_ruta,preciosin, B4XPages.MainPage.tipo_venta)) + B4XPages.MainPage.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ", Array As Object(cantidad.Text, L_PROID.Text)) + c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + c.Position=0 + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)", Array As Object(clie_id, sDate & sTime, usuario, c.GetString("CANT_CLIE"),c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps,ALMACEN,cl_ruta,c.GetString("TOTAL_CLIE_SIN"))) + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ", Array As Object (ALMACEN,L_PROID.Text,cantidad.text)) + B4XPages.ShowPage("Cliente") + End If +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub +' BACK key pressed +' Return True To close, False To cancel + Msgbox("Presione Boton Terminar.","ADVERTENCIA") 'ignore + Return False +End Sub + +Sub img_prod_Click + i_fotol.Visible = True + i_fotol.Bitmap = LoadBitmap(ruta,"1.jpg") + +End Sub +Sub i_fotol_Click + i_fotol.Visible = False + +End Sub + +Sub DESC_PROMO_Click + B4XPages.MainPage.skmt.ExecNonQuery("delete from PROIDID") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PROIDID VALUES (?)", Array As Object(L_PROID.text)) + B4XPages.ShowPage("detalle_promo") +End Sub + +Sub nopromo_Click + If cantidad.Text = "" Then + Msgbox("Cantidad no puede ser 0","Cantidad") 'ignore + Else If cantidad.Text > l_bodega.Text Then + Msgbox("Exede la existencia", "ADVERTENCIA") 'ignore + Else + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") + c.Position=0 + clie_id = c.GetString("CUENTA") + c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + usuario = c.GetString("USUARIO") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?) ", Array As Object ("COACALCO",0,0, cantidad.text, l_desc.text, L_PROID.Text,clie_id, sDate & sTime, usuario, b4xpages.MainPage.tipo_venta)) + B4XPages.MainPage.skmt.ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ", Array As Object(cantidad.Text, L_PROID.Text)) + cantidad.Text = "" + B4XPages.ShowPage("Productos") + End If +End Sub + +Private Sub p_pedido_Click + +End Sub \ No newline at end of file diff --git a/B4A/C_Principal.bas b/B4A/C_Principal.bas new file mode 100644 index 0000000..84a728a --- /dev/null +++ b/B4A/C_Principal.bas @@ -0,0 +1,3459 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=11.5 +@EndOfDesignText@ +Sub Class_Globals + Public rp As RuntimePermissions + Private Root As B4XView 'ignore + Private xui As XUI 'ignore +' Dim reqManager As DBRequestManager + Dim rd As C_RespaldoDiario + Dim reqManager As DBRequestManager + Dim conectado As String + Dim ime As IME + Dim t1 As Timer + Dim sb As StringBuilder + Dim PHONE As Phone + Dim g As GPS + Dim trabajar As Button +' Dim lat_gps, lon_gps As String + Dim c As Cursor + Dim d As Cursor + Dim b As Cursor + Dim e As Cursor + Dim f As Cursor + Dim D2 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_MONTOD As Label + Dim l_cuantosc As Label + Dim l_drop 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 +' Dim SERVER As String + Private inv As Button + Private P1 As Panel + Private CLAVE As EditText + Private B_OK_PAS As Button + Dim PASO As String + Private USUARIO1 As EditText + Dim connecta1 As Double + Dim armafolio As String + Private NUEVO As Button + Private S_CC As Label + Private S_CP As Label + Private S_CH As Label + Private PB2 As ProgressBar + Private PB1 As ProgressBar + Private L_P_1 As Label + Private L_P_2 As Label + Private L_P_3 As Label + Private CARGA As String + Private PORCENTAJE As String + Private P_RESUMEN As Panel + Private B_OK_RES As Button + Private Resumen As Button + Private L_CUANTOST As Label + Private img3 As ImageView + Private ImageView3 As ImageView + Private ImageView5 As ImageView + Private L_TICKPROM As Label + Private L_MARCAS As ListView + Private ImageView9 As ImageView + Private E_RUTA2 As EditText + Private resdia As ImageView + Private hacer_ped As ImageView + Private nvo_cliente As ImageView + Private tickets_dia As ImageView + Private l_monto_ks As Label + Private l_monto_kp As Label + Private l_monto_k As Label + Private l_monto_c1 As Label + Private l_monto_c2 As Label + Private l_monto_c3 As Label + Private l_encuesta As Label + Private bpv1 As BatteryProgressView + Dim batterystatus(11) As Int + Private bu As BatteryUtilities + Private L_NES As Label + Private L_REAL As Label + Private L_ALCANCE As Label + Private L_VPLAN As Label + Private L_VREAL As Label + Private L_EFEC_VIS As Label + Private L_VISITCC As Label + Private L_EFEC_PV As Label + Private L_EFEC_PURA As Label + Private L_CTE_PROMO As Label + Private L_REDEN_PROMO As Label + Private L_LIN_TICK As Label + Private SCROLL_RESDIA As ScrollView + Private L_ACUMULADO As Label + Private L_UNILEVER As Label + Private L_RECHAZOP As Label + Private L_RECHAZOM As Label + Private L_VTA_3MES As Label + Private L_VTA_2MES As Label + Private L_VTA_1MES As Label + Private L_MES_PY As Label + Private L_FREC_DE_CREAL As Label + Private L_FREC_DE_COBJ As Label + Private L_COB_VISIT As Label + Private L_VISIT_REAL As Label + Private L_VISIT_PLAN As Label + Private L_ECO As Label + Private L_COB_CCC As Label + Private L_CTES As Label + Private L_VPO_VTA As Label + Private L_VPO_OBJ As Label + Private L_DS_VTA As Label + Private L_DS_OBJ As Label + Private L_DRA_VTA As Label + Private L_DRA_OBJ As Label + Private L_ALCANCEM As Label + Private L_TENDENCIA As Label + Private L_VTA_ACUM As Label + Private L_OBJ_MES As Label + Private L_DS_OBJD As Label + Private L_DS_VTAD As Label + Private LPT As String + Private STEYIN As String + Private STEYOUT As String + Private L_PRIO As Label + Private L_SECUND As Label + Private L_COMP As Label + Private stay_hh As String + Private stay_mi As String + Private stay_ss As String + Dim sDate,sTime As String + Dim HORAINGRESO As String + Private L_QUALA As Label + Private L_FERRERO As Label + Private L_SANMARCOS As Label + Private L_CAMPARI As Label + Private L_IBERIA As Label + Private L_BEPENSA As Label + Private L_SCJ As Label + Private L_MEDJ As Label + Private L_DURACELL As Label + Private L_GUNA As Label + Private L_KIMB As Label + Private L_TRESM As Label + Private L_REDB As Label + Private Btn_Ubicar As Button + Private B_COMM As Button + Private L_TOTAL_MM As Label + Private L_TOTAL_VIVE As Label + Private L_TOTAL_GUNA As Label + Private L_TOTAL_BA As Label + Private L_TOTAL_COMIS As Label + Private L_TOTAL_MM_1 As Label + Private L_TOTAL_VIVE_1 As Label + Private L_TOTAL_GUNA_1 As Label + Private L_TOTAL_BA_1 As Label + Private L_TOTAL_COMIS_1 As Label + Private B_OK_COMISS As Button + Private Panel_C As Panel + Private TitleHeight As Int = 50dip + Private Title2Height As Int = 100dip + Private DividerHeight As Int = 5dip + Private CLV1 As CustomListView + Private pnlTitle As B4XView + Private xui As XUI + Type TitleData (Title As String) + Private B_MARCAS As Button + Private Panel5 As Panel + Private lblTitle As Label + Private B_OK_PANEL5 As Button + Private p_principal As Panel + Private p_mandaInfo As Panel + Dim s As Cursor + Private Label22 As Label + Private l_rutasuplencia As Label + Dim userpiezas As String + Private b_abordo As Button + Private L_ABORDO As Label + Private L_VENTA As Label + Private L_PREVENTA As Label + Private p_abordo As Panel + Private Panel11 As Panel + Private CLV_PICK_CIEGO As CustomListView + Private P_PICK_CIEGO As Panel + Dim ET_PICK_CIEGO As EditText + Private L_PICK_CIEGO As Label + Private P_CIEGO As Panel + Dim Panel4 As Panel + Dim q_buscar As String + Private et_buspc As EditText + Private b_tabulador As Button + Private p_b_tabulador As Panel + Private pnlCobranza As Panel + Private clvCobranza As CustomListView + Private pnlBtnCobranza As Panel + Private btnCobranza As Button + Private pnlBtnRegresar As Panel + Private btnRegresar As Button + Private l_Secuencia As Label + Dim pnlContenedorCobranza As Panel + Private l_Nombre As Label + Private l_CuentaXCobrar As Label + Private l_Abono As Label + Private pnlCabecero As Panel + Private lblAbono As Label + Private lblSaldo As Label + Private lblCliente As Label + Private lblSec As Label + Private pnlTotal As Panel + Private lblTotal As Label + Private lblVersion As Label + Dim lista_punta As List + Private p_prod As Panel + Private lv_prod_Prin As ListView + Private b_regreso As Button + Private b_productos 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 + Root.LoadLayout("principal") + rd.Initialize + rd.vacuum + EJECUTANDO=1 + Dim ruta As String + img2.Visible =False + ruta = File.DirInternal + If File.Exists(ruta, "kmt.db") = False Then + File.Copy(File.DirAssets, "kmt.db", ruta, "kmt.db") + End If + DateTime.DateFormat = "MM/dd/yyyy" + fecha=DateTime.Date(DateTime.Now) + B4XPages.MainPage.skmt.Initialize(ruta,"kmt.db", True) + b=B4XPages.MainPage.skmt.ExecQuery("Select count(*) as CUANTOS from pedido_cliente") + b.Position=0 + Cuantos = b.GetString("CUANTOS") + b.Close + d=B4XPages.MainPage.skmt.ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0") + d.Position=0 + e=B4XPages.MainPage.skmt.ExecQuery("select count(*) as POR_VISITAR from kmt_info") + e.Position=0 + f=B4XPages.MainPage.skmt.ExecQuery("select count(*) as CAT_CL_RUTA from kmt_info") + f.Position=0 + l_ruta.Text = f.GetString("CAT_CL_RUTA") + f.Close + If l_ruta.Text = 0 Then + l_ruta.Text =0 + Else + f=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info") + f.Position=0 + l_ruta.Text = f.GetString("CAT_CL_RUTA") + f.Close + End If + If Cuantos = 0 Then + L_MONTOD.Text =0 + l_cuantosc.Text = 0 + l_cuantosn.Text = 0 + drop = 0 + l_drop.Text = 0 + efectiva = 0 + l_efectiva.text =0 + l_ctast.Text = d.GetString("TOTAL_VISITAR") + l_porvisitar.Text = e.GetString("POR_VISITAR") + Else + c=B4XPages.MainPage.skmt.ExecQuery("select sum(pc_monto) as MONTO_DIA, count(pc_cliente) AS CLIENTES_DIA from pedido_cliente where PC_CLIENTE <> 0 AND PC_CLIENTE <> 1") + b=B4XPages.MainPage.skmt.ExecQuery("select count(*) as CUANTOS from noventa") + 'where pc_fecha = ?", Array As String(fecha) + c.Position=0 + b.Position=0 + L_MONTOD.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_drop.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 + d.Close + e.Close +' CallSubDelayed(FirebaseMessaging, "SubscribeToTopics") + s = B4XPages.MainPage.skmt.ExecQuery("select RS_RUTA FROM RUTA_SUPLENCIA") + s.Position = 0 + If s.RowCount = 0 Then + Label22.Visible = False + l_rutasuplencia.Visible = False + Else If s.RowCount > 0 Then + Label22.Visible = True + l_rutasuplencia.Visible = True + l_rutasuplencia.Text = s.GetString("RS_RUTA") + End If + Starter.Skmt.ExecNonQuery($"create table if not exists kmt_info2 (${getTableColumnList(Starter.skmt, "kmt_info")})"$) +End Sub + +Sub chkIfTableExists(db As SQL, table As String) As Boolean 'ignore + Private t As Boolean = False 'ignore + If db.IsInitialized Then + Private c As Cursor = Starter.skmt.ExecQuery($"SELECT name FROM sqlite_master WHERE type='table' AND name='${table}'"$) + If c.RowCount > 0 Then t = True + c.Close + End If + Return t +End Sub + +'Regresa solo los nombres de las columnas de una tabla dada. +Sub getTableColumnListName(db As SQL, table As String) As String 'ignore + Private l As String = "" + If chkIfTableExists(db, table) Then + Private c As Cursor = Starter.skmt.ExecQuery($"pragma table_info(${table})"$) + If c.RowCount > 0 Then + For i = 0 To c.RowCount - 1 + c.Position = i + If l.Length = 0 Then + l = $"${c.GetString("name")}"$ + Else + l = $"${l}, ${c.GetString("name")}"$ + End If + Next + End If + Else + Return "No existe la tabla." + End If + c.Close + Return l +End Sub + +Sub getTableColumnList(db As SQL, table As String) As String 'ignore + Private l As String = "" + If chkIfTableExists(db, table) Then + Private c As Cursor = Starter.skmt.ExecQuery($"pragma table_info(${table})"$) + If c.RowCount > 0 Then + For i = 0 To c.RowCount - 1 + c.Position = i + If l.Length = 0 Then + l = $"${c.GetString("name")} ${c.GetString("type")}"$ + Else + l = $"${l}, ${c.GetString("name")} ${c.GetString("type")}"$ + End If + Next + End If + Else + Return "No existe la tabla." + End If + c.Close + Return l +End Sub + +Sub B4XPage_Appear +' nvo_cliente.Enabled = False + rd.respaldaPedido + rd.respaldaInventarios + rd.respaldaPaquetes + HORAINGRESO ="000000" + Btn_Ubicar.Left = (Root.Width/2) - (Btn_Ubicar.Width/2) + reqManager.Initialize(Me, Starter.DBReqServer) + Log(Starter.DBReqServer) + PASO =0 + If Not(Starter.gps.GPSEnabled) Then + If Starter.marcaCel <> "Sony" Then ToastMessageShow("Es necesario tener el GPS encendido", True) + StartActivity(Starter.gps.LocationSettingsIntent) + End If + c=B4XPages.MainPage.skmt.ExecQuery2("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?", Array As String ("FECHA")) + c.Position =0 + If c.GetString("CUANTOS") = 0 Then + cmd.Initialize + cmd.Name = "select_fecha" + Log( Starter.DBReqServer) + reqManager.ExecuteQuery(cmd , 0, "fecha") + Msgbox("AJUSTAR FECHA","AVISO") 'ignore + B4XPage_Appear + Else + c=B4XPages.MainPage.skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?", Array As String ("FECHA")) + c.Position=0 + Dim sDate,sTime As String + DateTime.DateFormat = "yyyyMMdd" + sDate=DateTime.Date(DateTime.Now) + If c.GetString("CAT_VA_VALOR") > sDate Then + Msgbox("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA" ,"AVISO") 'ignore + c.Close + B4XPage_Appear + End If + c.Close + 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 + DateTime.DateFormat = "MM/dd/yyyy" + fecha=DateTime.Date(DateTime.Now) + b=B4XPages.MainPage.skmt.ExecQuery("Select count(*) as CUANTOS from pedido_cliente WHERE PC_CLIENTE <> 0 AND PC_CLIENTE <> 1") + b.Position=0 + Cuantos = b.GetString("CUANTOS") + b.Close +' If Starter.marcaCel <> "Sony" Then ToastMessageShow(Cuantos , True) + d=B4XPages.MainPage.skmt.ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0") + d.Position=0 + e=B4XPages.MainPage.skmt.ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_CODIGO <>0 OR CAT_CL_CODIGO <>1 ") + e.Position=0 + f=B4XPages.MainPage.skmt.ExecQuery("select count(*) as CAT_CL_RUTA from kmt_info WHERE CAT_CL_CODIGO <>0 OR CAT_CL_CODIGO <>1 ") + f.Position=0 + l_ruta.Text = f.GetString("CAT_CL_RUTA") + f.Close + If l_ruta.Text = 0 Then + l_ruta.Text =0 + p_b_tabulador.Visible = False + pnlBtnCobranza.Visible = False + Else + p_b_tabulador.Visible = False + pnlBtnCobranza.Visible = False + f=B4XPages.MainPage.skmt.ExecQuery("select CAT_CL_RUTA from kmt_info") + f.Position=0 + l_ruta.Text = f.GetString("CAT_CL_RUTA") + f.Close + End If + If Cuantos = 0 Then + L_MONTOD.Text =0 + l_cuantosc.Text = 0 + l_cuantosn.Text = 0 + L_CUANTOST.Text = 0 + drop = 0 + l_drop.Text = 0 + efectiva = 0 + l_efectiva.text =0 + l_ctast.Text = d.GetString("TOTAL_VISITAR") + l_porvisitar.Text = e.GetString("POR_VISITAR") + d.Close + e.Close + b=B4XPages.MainPage.skmt.ExecQuery("select count(*) as CUANTOS from noventa") + b.Position=0 + l_cuantosn.Text = b.GetString("CUANTOS") + b.close + Else + c=B4XPages.MainPage.skmt.ExecQuery("select SUM(PE_COSTO_TOT) as MONTO_DIA, COUNT(DISTINCT(PE_CLIENTE)) AS CLIENTES_DIA from PEDIDO WHERE PE_CLIENTE <> 0") + b=B4XPages.MainPage.skmt.ExecQuery("select count(*) as CUANTOS from noventa") + c.Position=0 + b.Position=0 + L_MONTOD.Text = c.GetString("MONTO_DIA") + l_cuantosc.Text = c.GetString("CLIENTES_DIA") + + D2=B4XPages.MainPage.skmt.ExecQuery("select COUNT(*) AS CUANTOS from PEDIDO ") + D2.Position = 0 + LPT = D2.GetString("CUANTOS") / l_cuantosc.Text + D2.Close + + l_cuantosn.Text = b.GetString("CUANTOS") + efectiva = c.GetString("CLIENTES_DIA") / e.GetString("POR_VISITAR") + l_efectiva.text = Round2(efectiva*100,2) + l_ctast.Text = d.GetString("TOTAL_VISITAR") + d.Close + l_porvisitar.Text = e.GetString("POR_VISITAR") + L_CUANTOST.Text = l_cuantosc.Text + l_cuantosn.Text + drop = L_CUANTOST.Text / l_porvisitar.Text + l_drop.Text = Round(drop * 100) + If L_CUANTOST.Text < 40 Then + ImageView3.Bitmap = LoadBitmap(File.DirAssets, "tache_rojo.png") + Else If L_CUANTOST.Text > = 40 And L_CUANTOST.Text < 50 Then + ImageView3.bitmap = LoadBitmap(File.DirAssets, "alerta_amarilla.png") + Else + ImageView3.Bitmap = LoadBitmap(File.DirAssets, "palomita_verde.png") + End If +' L_TICKPROM.Text = Round2((c.GetString("MONTO_DIA") / c.GetString("CLIENTES_DIA")),2) +' If c.GetString("MONTO_DIA") < 4000 Then +' ImageView5.Bitmap = LoadBitmap(File.DirAssets, "tache_rojo.png") +' Else if c.GetString("MONTO_DIA") > = 4000 And c.GetString("MONTO_DIA") < 6250 Then +' ImageView5.bitmap = LoadBitmap(File.DirAssets, "alerta_amarilla.png") +' Else +' ImageView5.Bitmap = LoadBitmap(File.DirAssets, "palomita_verde.png") +' End If + b.Close + c.Close + End If + c.Close + b.Close + e.Close + c=B4XPages.MainPage.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + C.Position =0 + ALMACEN = C.GetString("ID_ALMACEN") + c.Close + bu.Initialize + batterystatus = bu.BatteryInformation + + + c=B4XPages.MainPage.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close +' B4XPages.MainPage.batt = batterystatus(0) +' B4XPages.MainPage.montoActual = L_MONTOD.Text +' B4XPages.MainPage.clientestotal = L_CUANTOST.Text +' B4XPages.MainPage.clientesventa = l_cuantosc.Text +' B4XPages.MainPage.clientesvisitados = l_porvisitar.TEXT +' B4XPages.MainPage.ALMACEN = ALMACEN +' B4XPages.MainPage.rutapreventa = l_ruta.text + + Dim conVen As Int = 0 + Dim sinVen As Int = 0 + + Dim cursor As Cursor = Starter.skmt.ExecQuery($"SELECT SUM(PE_COSTO_TOT) AS PE_COSTO_TOT, COUNT(DISTINCT PE_CLIENTE) AS PE_CLIENTE FROM PEDIDO WHERE PE_FOLIO <> 'RECARGA'"$) + If cursor.RowCount > 0 Then + cursor.Position = 0 + B4XPages.MainPage.montoActual = cursor.GetString("PE_COSTO_TOT") + B4XPages.MainPage.clientesventa = cursor.GetString("PE_CLIENTE") + conVen = cursor.GetInt("PE_CLIENTE") + End If + Log("Clientes con venta: " & conVen) + + Dim cNoVenta As Cursor = Starter.skmt.ExecQuery($"SELECT COUNT(DISTINCT NV_CLIENTE) AS NV_CLIENTE FROM NOVENTA"$) + If cNoVenta.RowCount > 0 Then + cNoVenta.Position = 0 + sinVen = cNoVenta.GetInt("NV_CLIENTE") + + Log("Clientes sin venta: " & sinVen) + + Dim totClientes As Int = sinVen + conVen + Log("Total clientes visitados: " & totClientes) + + End If + + + B4XPages.MainPage.batt = batterystatus(0) + B4XPages.MainPage.clientestotal = totClientes + B4XPages.MainPage.clientesvisitados = l_porvisitar.Text + B4XPages.MainPage.ALMACEN = ALMACEN + B4XPages.MainPage.rutapreventa = l_ruta.Text + + '////// Para el usuario global - Chv + c=B4XPages.MainPage.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + B4XPages.MainPage.usuario = usuario + c.Close + '/////// + CallSub(Starter, "ENVIA_ULTIMA_GPS") + + + s = B4XPages.MainPage.skmt.ExecQuery("select RS_RUTA FROM RUTA_SUPLENCIA") + s.Position = 0 + If s.RowCount = 0 Then + + Label22.Visible = False + l_rutasuplencia.Visible = False + l_rutasuplencia.Text = "" + + Else If s.RowCount > 0 Then + + Label22.Visible = True + l_rutasuplencia.Visible = True + l_rutasuplencia.Text = s.GetString("RS_RUTA") + + End If + s.Close + + s = B4XPages.MainPage.skmt.ExecQuery("select RUTAA FROM RUTAA") + s.Position = 0 + If s.RowCount = 0 Then + + + l_ruta.Text = 0 + + Else If s.RowCount > 0 Then + + l_ruta.Text = s.GetString("RUTAA") + + End If + + If l_ruta.Text = "0" Then + p_abordo.Visible = False + b_productos.Visible = False + Else + p_abordo.Visible = True + b_productos.Visible = True + End If + +' d = B4XPages.MainPage.skmt.ExecQuery("SELECT CAT_GP_ID, CAT_GP_NOMBRE FROM CAT_GUNAPROD2") +' CLV_PICK_CIEGO.Clear +' For i = 0 To d.RowCount - 1 +' d.Position = i +' CLV_PICK_CIEGO.Add(CreateListItem(d.GetString("CAT_GP_ID"), d.GetString("CAT_GP_NOMBRE")),i) +' Log(d.GetString("CAT_GP_ID")) +' Log(d.GetString("CAT_GP_NOMBRE")) +' Next +' d.Close + '----------------------------- + + Dim fg As Cursor = Starter.skmt.ExecQuery("SELECT IFNULL(SUM(CASE WHEN PE_FOLIO = 'PREVENTA_CREDITO' THEN PE_COSTO_TOT ELSE 0 END), 0) AS COSTO_CRED, IFNULL(SUM(CASE WHEN PE_FOLIO = 'PREVENTA_CONTADO' THEN PE_COSTO_TOT ELSE 0 END), 0) AS COSTO_CONTADO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO IN ('PREVENTA_CREDITO', 'PREVENTA_CONTADO')") + + fg.Position = 0 + Dim COSTO_CRED As Double = fg.GetDouble("COSTO_CRED") + Dim COSTO_CONTADO As Double = fg.GetDouble("COSTO_CONTADO") + + Log("Costo Crédito: " & COSTO_CRED & "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<") + Log("Costo Contado: " & COSTO_CONTADO & "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<") + + If COSTO_CRED > 0 And COSTO_CRED < 1000 Then + Msgbox2Async($"Se ha detectado venta a crédito menor a $1000 pesos. ¿Desea borrarla?"$, "Venta Mínima de Crédito", "Sí", "", "", LoadBitmap(File.DirAssets, "alert2.png"), False) + Wait For Msgbox_Result (resultado As Int) + If resultado = DialogResponse.POSITIVE Then + Subs.borraPedidoCredito + End If + End If + + fg.Close + + CallSubDelayed(Tracker, "Track") + CallSubDelayed(Tracker, "StartFLPSmall") + If Tracker.FLP.IsInitialized And Tracker.FLP.GetLastKnownLocation.IsInitialized Then 'Si tenemos "UltimaUbicaccionConocida" la usamos. + B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastKnownLocation.Latitude + B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastKnownLocation.Longitude +' Log($"Tenemos UUC: ${Tracker.FLP.GetLastKnownLocation.Latitude},${Tracker.FLP.GetLastKnownLocation.Longitude}"$) + GPS_LocationChanged(Tracker.FLP.GetLastKnownLocation) + End If + lista_punta.Initialize + Dim pol As Cursor = Starter.skmt.ExecQuery("SELECT LAT, LONG FROM POLIGONO") + If pol.RowCount > 0 Then + + For poli = 0 To pol.RowCount -1 + pol.Position = poli + Dim coords As LatLng + coords.Initialize(pol.GetString("LAT"), pol.GetString("LONG")) + lista_punta.Add(coords) + Next + End If + checaPedido + '----------------------------- +End Sub + +Sub PointInPolygon(point As LatLng, polygon As List) As Boolean + Dim x As Double = point.Longitude + Dim y As Double = point.Latitude + + Dim inside As Boolean = False + For i = 0 To polygon.Size - 1 + Dim j As Int = (i + 1) Mod polygon.Size + Dim p1_1 As LatLng = polygon.Get(i) + Dim p2_1 As LatLng = polygon.Get(j) + + Dim xi As Double = p1_1.Longitude + Dim yi As Double = p1_1.Latitude + Dim xj As Double = p2_1.Longitude + Dim yj As Double = p2_1.Latitude + + Dim intersect As Boolean = ((yi > y) <> (yj > y)) And (x < (xj - xi) * (y - yi) / (yj - yi) + xi) + If intersect Then + inside = Not(inside) + End If + Next + + Return inside + + +End Sub + +Sub MapFragment1_LongClick (mPoint As LatLng) + ' Verificar si el punto está dentro del polígono + If lista_punta.Size > 0 Then + Dim dentro As Boolean = PointInPolygon(mPoint, lista_punta) + + If dentro Then + ToastMessageShow("El punto está DENTRO del polígono", True) + Else + ToastMessageShow("El punto está FUERA del polígono", True) + End If + End If +End Sub + + +Sub Subir_Click + CARGA = "SUBIR" + p_mandaInfo.Width = Root.Width + p_mandaInfo.Height = Root.Height + P1.Visible = True + P1.Left = (p_mandaInfo.Width/2) - (P1.Width/2) + P1.top = (p_mandaInfo.Height/2) - (P1.Height/2) + p_mandaInfo.Visible = True + P1.BringToFront + p_mandaInfo.BringToFront + 'trabajar.Visible = False + NUEVO.Visible =False + BUSCA.Visible=False + connecta.Visible=False + Subir.Visible=False + cargar.Visible=False + L_P_1.Visible = False + S_CC.Visible = False + L_P_3.Visible = False + S_CH.Visible = False + PB1.Visible = False + Resumen.Visible= False + L_P_2.Text = "Envio de Pedidos" + L_P_3.Text = "Envio de Pedidos" + S_CH.Text = "EN PROCESO" + S_CP.Text = "EN PROCESO" + PB1.Progress = 0 + PB2.Progress = 0 + 'c=skmt.ExecQuery("SELECT sum(IFNULL(PE_DESC,0)) as DESCUENTO FROM PEDIDO") + 'c.Position =0 + 'If c.GetString("DESCUENTO") > 0 And PASO = 0 Then + 'P1.Visible = True + 'ELSE IF c.GetString("DESCUENTO") = 0 Then + PASO = 1 + 'End If + If PASO = 1 Then + B4XPages.MainPage.skmt.ExecNonQuery2("delete from PEDIDO WHERE PE_PRONOMBRE = ? ", Array As Object("N/A") ) + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE not In (select PE_CLIENTE from pedido)") + c=B4XPages.MainPage.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("select HGDATE, HGLAT, HGLON from HIST_GPS") + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "UPDATE_SHARK2_ACTUAL2_GPS" + cmd.Parameters = Array As String(B4XPages.MainPage.montoActual, B4XPages.MainPage.clientestotal, B4XPages.MainPage.clientesventa,B4XPages.MainPage.clientesvisitados,B4XPages.MainPage.lat_gps,B4XPages.MainPage.lon_gps,B4XPages.MainPage.batt,0, 0, 0,B4XPages.MainPage.ALMACEN,B4XPages.MainPage.rutapreventa ) + reqManager.ExecuteCommand(cmd , "update_gps") + Next + End If + c.Close + +' ' ENVIO DE LOS CODIGOS QR +' 'c=skmt.ExecQuery2("SELECT CAT_CL_NUM_SERIEFISICO,CAT_CL_CODIGO ,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_FOTO FROM kmt_info where CAT_CL_NUM_SERIEFISICO = ?", Array As String("OK")) +' c=B4XPages.MainPage.skmt.ExecQuery("SELECT CODIGOKMTS, CODIGOB, LAT, LON FROM HIST_CODIGO_BARRAS" ) +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_QR_2_SHARK2" +' cmd.Parameters = Array As Object(C.GetString("CODIGOKMTS"),C.GetString("CODIGOB"),C.GetString("LON"),C.GetString("LAT"),ALMACEN,l_ruta.text ) +' reqManager.ExecuteCommand(cmd , "ins_QR") +' Next +' End If +' c.Close +' +' c=B4XPages.MainPage.skmt.ExecQuery("SELECT CAT_CL_NUM_SERIEFISICO, CAT_CL_CODIGO, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_FOTO FROM kmt_info where CAT_CL_NUM_SERIEFISICO IS NOT NULL") +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' 's=skmt.ExecQuery2("SELECT HIST_VI_IMAGEN FROM HIST_VISITAS WHERE HIST_VI_CREDITO =?", Array As String (c.GetString("HIST_VI_CREDITO"))) +' 's.Position =0 +' foto1 = c.GetBlob("CAT_CL_FOTO") +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_QR_SHARK2" +' cmd.Parameters = Array As Object(C.GetString("CAT_CL_NUM_SERIEFISICO"),C.GetString("CAT_CL_CODIGO"),C.GetString("CAT_CL_LONG"),C.GetString("CAT_CL_LAT"),ALMACEN,l_ruta.text ) +' reqManager.ExecuteCommand(cmd , "ins_QR") +' Next +' End If +' c.Close + +' 'Envio de Pagares +' c=B4XPages.MainPage.skmt.ExecQuery("SELECT * FROM PAGARES") +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_pagares_IZCA" +' cmd.Parameters = Array As Object(C.GetString("PA_ALMACEN"),Subs.traeRuta2(c.GetString("PA_CLIENTE")),C.GetString("PA_FECHA"),C.GetString("PA_CAPTURA"),C.GetString("PA_MONTO"),C.GetString("PA_USUARIO"),C.GetString("PA_CLIENTE") ) +' reqManager.ExecuteCommand(cmd , "ins_pagares") +' Next +' End If +' c.Close +' +' 'ABONOS +' Dim ab As Cursor = B4XPages.MainPage.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 cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_abono_IZCA" +' 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 ) +' reqManager.ExecuteCommand(cmd , $"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) +' Log($"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) +' Next +' End If +' ab.Close + + ' CLIENTES NUEVOS +' Dim fotocn() As Byte +' Dim Dirp As String = File.DirInternal +' Dim Dir As String +' Dim Dir2 As String +' Dir = "/promotoriakmts" + + c=Starter.skmt.ExecQuery("SELECT CN_ID, CN_FECHA , CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_FOTO, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA, CN_COLONIA, CN_TELEFONO, CN_CP FROM CLIENTES_NUEVOS") + If c.RowCount>0 Then + For i = 0 To c.RowCount - 1 + c.Position = i + Dim dia As Int = DateTime.GetDayOfWeek(DateTime.Now) + If dia = 2 Then + Dim dialetra As String = "LUNES" + Else If dia = 3 Then + Dim dialetra As String = "MARTES" + Else If dia = 4 Then + Dim dialetra As String = "MIERCOLES" + Else If dia = 5 Then + Dim dialetra As String = "JUEVES" + Else If dia = 6 Then + Dim dialetra As String = "VIERNES" + Else If dia = 7 Then + Dim dialetra As String = "SABADO" + End If + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_clientesnuevos_SHARK24" + Log(c.GetString("CN_ID")&" ,"& c.GetString("CN_FECHA")&" ,"& c.GetString("CN_USER")&" ,"& c.GetString("CN_LAT")&" ,"& c.GetString("CN_LON")&" ,"& c.GetString("CN_NOMBRE")&" ,"& c.GetString("CN_DIRECCION")&" ,"&ALMACEN& c.GetString("CN_RUTA")&" ,"& "En espera"&c.GetString("CN_GIRO")&" ,"&dialetra& c.GetString("CN_SOLICITA")&" ,"& c.GetString("CN_COLONIA")&" ,"& c.GetString("CN_TELEFONO")) + cmd.Parameters = Array As Object(c.GetString("CN_ID"), c.GetString("CN_FECHA"), c.GetString("CN_USER"), c.GetString("CN_LAT"), c.GetString("CN_LON"), c.GetString("CN_NOMBRE"), c.GetString("CN_DIRECCION"),ALMACEN, c.GetString("CN_RUTA"), "En espera",c.GetString("CN_GIRO"),dialetra, c.GetString("CN_SOLICITA"), c.GetString("CN_COLONIA"), c.GetString("CN_TELEFONO"), c.GetString("CN_CP")) + reqManager.ExecuteCommand(cmd , "inst_clientesn") + Next + End If + c.Close + +' c=B4XPages.MainPage.skmt.ExecQuery("SELECT HE_CLIE, HE_RES, HE_FECHA, HE_TIPO FROM HIST_ENCUESTA") +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_encuesta_INTMEX" +' cmd.Parameters = Array As Object(C.GetString("HE_CLIE"),C.GetString("HE_RES"),C.GetString("HE_FECHA"), c.GetString("HE_TIPO")) +' reqManager.ExecuteCommand(cmd , "inst_noventa") +' Next +' End If +' c.Close + + ' PEDIDO_CLIENTE + Dim PCNoArts As String + Dim PCMonto As String + c = B4XPages.MainPage.skmt.ExecQuery("SELECT PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT, PC_COSTO_SIN, PC_RUTA, PC_ALMACEN, PC_FACTURA FROM PEDIDO_CLIENTE WHERE PC_CLIENTE <> '1' ") + d = B4XPages.MainPage.skmt.ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDOSC FROM PEDIDO_CLIENTE WHERE PC_CLIENTE <> 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_pedidos_SHARK2" + PCNoArts = c.GetString("PC_NOART") + PCMonto = c.GetString("PC_MONTO") + cmd.Parameters = Array As Object(c.GetString("PC_CLIENTE"), c.GetString("PC_FECHA"), c.GetString("PC_USER"), c.GetString("PC_NOART"), c.GetString("PC_MONTO"), c.GetString("PC_LON"), c.GetString("PC_LAT"), ALMACEN, Subs.traeRuta2(c.GetString("PC_CLIENTE")), c.GetString("PC_COSTO_SIN"), c.GetString("PC_FACTURA")) + reqManager.ExecuteCommand(cmd , "ins_pedidos") + Log(">>>>>> INSERT PEDIDO_CLIENTE") + Next + End If + c.Close + d.Position = 0 + cuantos_pedidosc = d.GetString("CUANTOS_PEDIDOSC") + d.Close + + ' PEDIDO + c = B4XPages.MainPage.skmt.ExecQuery("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS, PE_DIRIGIDA, PE_PRESENTACION, PE_UVM FROM PEDIDO WHERE PE_FOLIO <> 'RECARGA'") + d = B4XPages.MainPage.skmt.ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDO 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_pedido4_SHARK2" 'CON TOTALES INCLUIDOS +' Log(c.GetString("PE_CEDIS")&", "&ALMACEN&", "&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")&", "&Subs.traeRuta2(c.GetString("PE_CLIENTE"))&", "& c.GetString("PE_COSTO_SIN")&", "&c.GetString("PE_DESC")&", "&c.GetString("PE_FOLIO")&", "& ALMACEN) + If c.GetString("PE_FOLIO") = "PREVENTA_CONTADO" Then + cmd.Parameters = Array As Object(ALMACEN,c.GetString("PE_CEDIS"),ALMACEN,c.GetString("PE_COSTO_TOT"),c.GetString("PE_COSTOU"),(c.GetString("PE_CANT")/c.GetString("PE_UVM")),c.GetString("PE_PRONOMBRE"),c.GetString("PE_PROID"),c.GetString("PE_CLIENTE"),c.GetString("PE_FECHA"),c.GetString("PE_USUARIO"),Subs.traeRuta2(c.GetString("PE_CLIENTE")), c.GetString("PE_COSTO_SIN"),c.GetString("PE_DESC"),"PREVENTA",c.GetString("PE_DIRIGIDA"),c.GetString("PE_PRESENTACION"), c.GetString("PE_UVM")) + Else If c.GetString("PE_FOLIO") = "PREVENTA_CREDITO" Then + cmd.Parameters = Array As Object(ALMACEN,c.GetString("PE_CEDIS"),ALMACEN,c.GetString("PE_COSTO_TOT"),c.GetString("PE_COSTOU"),(c.GetString("PE_CANT")/c.GetString("PE_UVM")),c.GetString("PE_PRONOMBRE"),c.GetString("PE_PROID"),c.GetString("PE_CLIENTE"),c.GetString("PE_FECHA"),c.GetString("PE_USUARIO"),Subs.traeRuta2(c.GetString("PE_CLIENTE")), c.GetString("PE_COSTO_SIN"),c.GetString("PE_DESC"),"PREVENTA",c.GetString("PE_DIRIGIDA"),c.GetString("PE_PRESENTACION"), c.GetString("PE_UVM")) + Else If c.GetString("PE_FOLIO") = "ABORDO" Then + cmd.Parameters = Array As Object(ALMACEN,c.GetString("PE_CEDIS"),ALMACEN,c.GetString("PE_COSTO_TOT"),c.GetString("PE_COSTOU"),(c.GetString("PE_CANT")/c.GetString("PE_UVM")),c.GetString("PE_PRONOMBRE"),c.GetString("PE_PROID"),c.GetString("PE_CLIENTE"),c.GetString("PE_FECHA"),c.GetString("PE_USUARIO"),Subs.traeRuta2(c.GetString("PE_CLIENTE")), c.GetString("PE_COSTO_SIN"),c.GetString("PE_DESC"),"ABORDO",c.GetString("PE_DIRIGIDA"),c.GetString("PE_PRESENTACION"), c.GetString("PE_UVM")) + Else + cmd.Parameters = Array As Object(ALMACEN,c.GetString("PE_CEDIS"),ALMACEN,c.GetString("PE_COSTO_TOT"),c.GetString("PE_COSTOU"),(c.GetString("PE_CANT")/c.GetString("PE_UVM")),c.GetString("PE_PRONOMBRE"),c.GetString("PE_PROID"),c.GetString("PE_CLIENTE"),c.GetString("PE_FECHA"),c.GetString("PE_USUARIO"),Subs.traeRuta2(c.GetString("PE_CLIENTE")), c.GetString("PE_COSTO_SIN"),c.GetString("PE_DESC"),"VENTA",c.GetString("PE_DIRIGIDA"),c.GetString("PE_PRESENTACION"), c.GetString("PE_UVM")) + End If + reqManager.ExecuteCommand(cmd , $"ins_pedidosPendientes_prods_${c.GetString("PE_CLIENTE")}_${c.GetString("PE_PROID")}"$) + Next + End If + c.Close + d.Position=0 + cuantos_pedido = D.GetString("CUANTOS_PEDIDO") + d.Close + + ' NOVENTA + c=B4XPages.MainPage.skmt.ExecQuery("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON FROM NOVENTA") + D=B4XPages.MainPage.skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA") + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_noventa_SHARK2" + 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, Subs.traeRuta2(c.GetString("NV_CLIENTE"))) + reqManager.ExecuteCommand(cmd , "inst_noventa") + Next + End If + c.Close + d.Position=0 + cuantos_noventa = D.GetString("CUANTOS_NOVENTA") + d.Close + +' ' GEO CERCA +' c=B4XPages.MainPage.skmt.ExecQuery("Select HGCLIENTE, HGDATE, HGLAT, HGLON from HIST_GEOCERCA") +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_geocerca_SHARK2" +' cmd.Parameters = Array As Object(C.GetString("HGCLIENTE"),C.GetString("HGDATE"),C.GetString("HGLAT"),C.GetString("HGLON")) +' reqManager.ExecuteCommand(cmd , "inst_noventa") +' Next +' End If +' c.Close + +' ' Cambio ubicaciones +' c=B4XPages.MainPage.skmt.ExecQuery("Select CAT_CL_LAT, CAT_CL_LONG, CAT_CL_CODIGO, CAT_CL_BCOORDENADAS from kmt_info where CAT_CL_BCOORDENADAS <> 0") +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "update_coordenadas_SHARK2" +' cmd.Parameters = Array As Object(C.GetString("CAT_CL_LAT"),C.GetString("CAT_CL_LONG"),C.GetString("CAT_CL_CODIGO"),ALMACEN,Subs.traeRuta2(C.GetString("CAT_CL_CODIGO"))) +' reqManager.ExecuteCommand(cmd , "up_coordenadas") +' Next +' End If +' c.Close + +' ' Cambio atiende +' c=B4XPages.MainPage.skmt.ExecQuery("Select CAT_CL_ATIENDE1, CAT_CL_CODIGO from kmt_info where CAT_CL_CODIGO IN (SELECT CLIENTE FROM ATIENDE)") +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "update_atiende_SHARK2" +' cmd.Parameters = Array As Object(C.GetString("CAT_CL_ATIENDE1"),C.GetString("CAT_CL_CODIGO"),ALMACEN,Subs.traeRuta2(C.GetString("CAT_CL_CODIGO"))) +' reqManager.ExecuteCommand(cmd , "up_coordenadas") +' Next +' End If +' c.Close + +' ' Cambio giro +' c=B4XPages.MainPage.skmt.ExecQuery("Select CAT_CL_GIRO, CAT_CL_CODIGO from kmt_info where CAT_CL_CODIGO IN (SELECT CLIENTE FROM GIROS_ACTUAL)") +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "update_giro_SHARK2" +' cmd.Parameters = Array As Object(C.GetString("CAT_CL_GIRO"),C.GetString("CAT_CL_CODIGO"),ALMACEN,Subs.traeRuta2(C.GetString("CAT_CL_CODIGO"))) +' reqManager.ExecuteCommand(cmd , "up_coordenadas") +' 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 sDate,sTime As String +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' +'' 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) +' cmd.Initialize +' cmd.Name = "insert_tabulador_monedas_SHARK22" +' 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"),sDate, "PREVENTA") +' reqManager.ExecuteCommand(cmd , "ins_tabulador_mon") +' Next +' c.Close +' d.Close +' b.Close +' f.Close +' End If +' +' 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 +' +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' +'' 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) +' cmd.Initialize +' cmd.Name = "insert_tabulador_billetes_SHARK22" +' 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"),sDate, "PREVENTA") +' reqManager.ExecuteCommand(cmd , "ins_tabulador_bill") +' Next +' c.Close +' d.Close +' b.Close +' f.Close +' End If +' 'FIN TABULADOR + + ' DROP + t1.Initialize("T1", 30000) ' 1000 = 1 second + t1.Enabled = True + Dim sDate,sTime As String + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + Dim cmd As DBCommand + cmd.Initialize + cmd.Name ="insert_drop_SHARK2" + cmd.Parameters = Array As Object(usuario,l_ruta.Text,sDate & sTime, l_porvisitar.Text,l_drop.Text,l_efectiva.Text,l_cuantosc.Text,l_cuantosn.Text, L_MONTOD.Text,"ENVIO",ALMACEN,Application.VersionName) + reqManager.ExecuteCommand(cmd , "inst_noventa") + img2.Visible =True + PORCENTAJE = Round(100/ (cuantos_noventa + cuantos_pedido + cuantos_pedidosc + 1)) + If Starter.marcaCel <> "Sony" Then ToastMessageShow("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "& l_ruta.text , True) + +' 'CUESTIONARIOS +' c = B4XPages.MainPage.skmt.ExecQuery($"select * from cuestionario"$) +' Private rutaActual As String = Subs.traeRuta +' If c.RowCount > 0 Then +' For x = 0 To c.RowCount - 1 +' c.Position = x +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_CUESTIONARIO_INTMEX" +' cmd.Parameters = Array As Object(c.GetString("Q_IDCLIENTE"), rutaActual, ALMACEN, c.GetString("Q_FECHA"), c.GetString("Q_IDPREGUNTA"), c.GetString("Q_PREGUNTA"), c.GetString("Q_IDRESPUESTA"), C.GetString("Q_RESPUESTA")) +' reqManager.ExecuteCommand(cmd , "ins_cuestionario") +' Next +' End If +' c.Close + + +' c = B4XPages.MainPage.skmt.ExecQuery("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE <> 01") +' If c.RowCount > 0 Then +' For i = 0 To c.RowCount - 1 +' c.Position = i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "select_piezas_IZCA" +' cmd.Parameters = Array As Object(c.GetString("PC_CLIENTE"), ALMACEN,l_ruta.Text) +' userpiezas = c.GetString("PC_CLIENTE") +' reqManager.ExecuteQuery(cmd , 0, "piezas") +' Next +' +' End If + + End If +End Sub + + +Sub cargar_Click + Dim pedidodiaanterior As Boolean = False + Dim cp As Cursor = B4XPages.MainPage.skmt.ExecQuery("select * from PEDIDO") + If cp.RowCount > 0 Then + cp.Position = 0 + Private fecha As String = cp.GetString("PE_FECHA") + Dim fecha2() As String = Regex.Split("/",fecha) + Dim dia As String = fecha2(1) + Log(dia) + Dim dia2 As String = DateTime.GetDayOfMonth(DateTime.Now) + Log(dia & " , " & dia2) + If dia < dia2 Then + pedidodiaanterior = True + End If + End If + If Not (pedidodiaanterior) Then + CARGA = "CARGAR" + p_mandaInfo.Width = Root.Width + p_mandaInfo.Height = Root.Height + P1.Left = (p_mandaInfo.Width/2) - (P1.Width/2) + P1.top = (p_mandaInfo.Height/2) - (P1.Height/2) + img2.Visible =True + L_P_1.Visible = True + S_CC.Visible = True + Btn_Ubicar.Visible=False + P1.Visible = True + p_mandaInfo.Visible = True + p_principal.Visible = False + Subs.panelVisible(P1, 0, 0) + Subs.centraPanel(P1, Root.Width) + Subs.centraPanelV(P1, Root.Height) +' trabajar.Visible = False + NUEVO.Visible =False + BUSCA.Visible=False + connecta.Visible=False + L_P_3.Visible = True + S_CH.Visible = True + PB1.Visible = True + Resumen.Visible= False + + L_P_1.Text = "Catalogo de Clientes" + L_P_2.Text = "Catalogos de Productos" + L_P_3.Text = "Catalogos Historicos" + S_CC.Text = "EN PROCESO" + S_CH.Text = "EN PROCESO" + S_CP.Text = "EN PROCESO" + PB1.Progress = 0 + PB2.Progress = 0 + EJECUTANDO = 1 + + 'c=skmt.ExecQuery("CREATE TABLE kmt_info (pr_cd_credito NUMERIC,pr_cd_nombre TEXT,pr_cd_calle TEXT,pr_cd_numero TEXT,pr_cd_num_int TEXT,pr_cd_entrecalle1 TEXT,pr_cd_entrecalle2 TEXT,pr_cd_colonia TEXT,pr_cd_poblacion TEXT,pr_cd_edo TEXT,pr_cd_cp TEXT,pr_cd_zona TEXT,pr_cf_credito NUMERIC,pr_cf_saldotot NUMERIC,pr_cf_saldooper NUMERIC,pr_cf_saldof1 NUMERIC, pr_cf_penalizacion NUMERIC)") + TOPE = 0 + ' NUEVOS CLIENTE + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM RUTA_SUPLENCIA") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM RUTAA") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM GEOCERCA") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM COORDS_ALMACEN") + B4XPages.MainPage.skmt.ExecNonQuery("delete from CLIENTE_NUEVO") + B4XPages.MainPage.skmt.ExecNonQuery("delete from kmt_info") + B4XPages.MainPage.skmt.ExecNonQuery("delete from kmt_info2") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cod_result") + B4XPages.MainPage.skmt.ExecNonQuery("delete from hist_gest") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod2") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod3") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod4") + B4XPages.MainPage.skmt.ExecNonQuery("delete from CAT_DETALLES_PAQ") + B4XPages.MainPage.skmt.ExecNonQuery("delete from telefonos") + B4XPages.MainPage.skmt.ExecNonQuery("delete from HIST_VENTAS") + B4XPages.MainPage.skmt.ExecNonQuery("delete from HIST_PROMOS") + B4XPages.MainPage.skmt.ExecNonQuery("delete from HIST_CLIENTE_CANT_PROMOS") + B4XPages.MainPage.skmt.ExecNonQuery("delete from PROMOS_COMP") + B4XPages.MainPage.skmt.ExecNonQuery("delete from CAT_VERIFICACION") + Starter.skmt.ExecNonQuery("delete from CAT_GIRO") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM MARCAS_RUTAS") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM HIST_STAY_STORE") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM HIST_GEOCERCA") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM HIST_MARCAS_CUOTAS") +' B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM HIST_AVANCE") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM ABONOSP") + + c = B4XPages.MainPage.skmt.ExecQuery2("select count(CAT_VA_DESCRIPCION) as HoraIngreso from cat_variables where CAT_VA_DESCRIPCION = ? ", Array As String("HoraIngreso")) + c.Position = 0 + DateTime.TimeFormat = "HHmmss" + 'Valida si ya se cuenta con hora actualiza el valor si no lo inserta----------- + If c.GetString("HoraIngreso") > 0 Then + B4XPages.MainPage.skmt.ExecNonQuery2("Update cat_variables set CAT_VA_VALOR = ? WHERE CAT_VA_DESCRIPCION = ?" , Array As String(DateTime.Time(DateTime.Now),"HoraIngreso")) + Else + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_VALOR,CAT_VA_DESCRIPCION) VALUES (?,?)" , Array As String(DateTime.Time(DateTime.Now),"HoraIngreso")) + End If + c.Close + DateTime.TimeFormat = "HH:mm:ss" + c=B4XPages.MainPage.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close +' + Dim sDate,sTime As String + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + + Dim P As PhoneId +' imei = P.GetDeviceId + imei = "xxxx" + cmd.Initialize + cmd.Name ="insert_drop_SHARK2" + cmd.Parameters = Array As Object(usuario,e_ruta.text,sDate,imei,sTime,"","","","","CARGA",ALMACEN,Application.VersionName) + 'usuario,l_ruta.Text,sDate & sTime, l_porvisitar.Text,l_drop.Text,l_efectiva.Text,l_cuantosc.Text,l_cuantosn.Text, L_MONTOD.Text,"ENVIO",ALMACEN,Application.VersionName + reqManager.ExecuteCommand(cmd , "inst_noventa") + + cmd.Initialize + cmd.Name = "select_cat_gunaprod_SHARK2" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "gunaprod") + + cmd.Initialize + cmd.Name = "select_cat_gunaprod2_SHARK2" + cmd.Parameters = Array As Object(ALMACEN,e_ruta.Text) + reqManager.ExecuteQuery(cmd , 0, "gunaprod2") + +' cmd.Initialize +' cmd.Name = "select_GEOCERCA_SHARK2" +' cmd.Parameters = Array As Object(ALMACEN) +' reqManager.ExecuteQuery(cmd , 0, "GEOCERCA") + + cmd.Initialize + cmd.Name = "select_coords_almacen_SHARK2" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "coords_almacen") + +' cmd.Initialize +' cmd.Name = "select_cat_gunaprod3_SHARK2" +' cmd.Parameters = Array As Object(ALMACEN,e_ruta.Text) +' reqManager.ExecuteQuery(cmd , 0, "gunaprod3") +' + cmd.Initialize + cmd.Name = "select_cat_GIRO_SHARK2" + reqManager.ExecuteQuery(cmd , 0, "giro") + +' cmd.Initialize +' cmd.Name = "select_resum_apk_INTMEX" ''' va el nombre de archivo de config +' cmd.Parameters = Array As Object(ALMACEN) +' reqManager.ExecuteQuery(cmd , 0, "resum_apk") ''' donde regresa la info ver job_done + + cmd.Initialize + cmd.Name = "select_cat_paquetes_SHARK2" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "gunaprodp") +' Log("ALMACEN = " & ALMACEN) + + cmd.Initialize + cmd.Name = "select_cat_paquetess_SHARK2" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "gunaprodp") + + cmd.Initialize + cmd.Name = "select_cat_detallepa_SHARK2" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "detallepaq") + + cmd.Initialize + cmd.Name = "select_cat_clientes_SHARK2" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "kmt_datos") + + cmd.Initialize + cmd.Name = "select_cat_clientes_todos_SHARK2" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "kmt_datos_todos") + + cmd.Initialize + cmd.Name = "select_hist_datos_SHARK2" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN,e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "hist_datos") + + cmd.Initialize + cmd.Name = "select_hist_promos_SHARK2" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "hist_promos") + +' cmd.Initialize +' cmd.Name = "select_clientes_cuestionario_SHARK2" +' cmd.Parameters = Array As Object(e_ruta.text, ALMACEN) +' reqManager.ExecuteQuery(cmd , 0, "clientes_cuestionario") + + cmd.Initialize + cmd.Name = "select_hist_cliente_promos_SHARK2" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "hist_cliente_promos") + + cmd.Initialize + cmd.Name = "select_nom_user_SHARK2" + cmd.Parameters = Array As Object(usuario) + reqManager.ExecuteQuery(cmd , 0, "nom_user") + + cmd.Initialize + cmd.Name = "select_telefono_SHARK2" + cmd.Parameters = Array As Object(usuario) + reqManager.ExecuteQuery(cmd , 0, "telefono") + + +' cmd.Initialize +' cmd.Name = "select_HIST_MARCAS_CUOTAS_INTMEX" +' cmd.Parameters = Array As Object( ALMACEN, e_ruta.text) +' reqManager.ExecuteQuery(cmd , 0, "HIST_MARCAS_CUOTAS") + + If E_RUTA2.text <> "" Then + +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO RUTA_SUPLENCIA(RS_RUTA) VALUES(?)",Array As String(E_RUTA2.Text)) + + E_RUTA2.Visible = False + Panel11.Visible = False + + cmd.Initialize + cmd.Name = "select_cat_clientes_SHARK2" + cmd.Parameters = Array As Object(E_RUTA2.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "kmt_datos") + + cmd.Initialize + cmd.Name = "select_cat_clientes_todos_SHARK2" + cmd.Parameters = Array As Object(E_RUTA2.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "kmt_datos_todos") + + cmd.Initialize + cmd.Name = "select_hist_datos_SHARK2" + cmd.Parameters = Array As Object(E_RUTA2.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "hist_datos") + + cmd.Initialize + cmd.Name = "select_hist_promos_SHARK2" + cmd.Parameters = Array As Object(E_RUTA2.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "hist_promos") + + cmd.Initialize + cmd.Name = "select_hist_cliente_promos_SHARK2" + cmd.Parameters = Array As Object(E_RUTA2.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "hist_cliente_promos") + End If + + cmd.Initialize + cmd.Name = "select_promo_comp_SHARK2" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "hist_comp_promos") + +' cmd.Initialize +' cmd.Name = "select_verificacion_INTMEX" +' cmd.Parameters = Array As Object(e_ruta.text, ALMACEN) +' reqManager.ExecuteQuery(cmd , 0, "cat_verificacion") + + cmd.Initialize + cmd.Name = "select_fecha" + cmd.Parameters = Array As Object(e_ruta.text, ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "fecha") + +' cmd.Initialize +' cmd.Name = "select_folio_SHARK2" +' cmd.Parameters = Array As Object(ALMACEN, e_ruta.text) +' reqManager.ExecuteQuery(cmd , 0, "folio") + +' cmd.Initialize +' cmd.Name = "select_abonosp_SHARK2" +' cmd.Parameters = Array As Object(e_ruta.text, ALMACEN) +' reqManager.ExecuteQuery(cmd , 0, "select_abonosp") + + cmd.Initialize + cmd.Name = "select_marcas_rutas_SHARK2" + cmd.Parameters = Array As Object( ALMACEN, e_ruta.text) + reqManager.ExecuteQuery(cmd , 0, "marcas_rutas") + +' cmd.Initialize +' cmd.Name = "select_CUEST_INTMEX" +' cmd.Parameters = Array As Object(ALMACEN) +' reqManager.ExecuteQuery(cmd , 0, "CUESTIONARIO") + +' cmd.Initialize +' cmd.Name = "select_HIST_CUOTAS_INTMEX" +' cmd.Parameters = Array As Object( ALMACEN,e_ruta.text ) +' reqManager.ExecuteQuery(cmd , 0, "CUOTAS") + +' cmd.Initialize +' cmd.Name = "select_comis_cedex_IZCA" +' cmd.Parameters = Array As Object( ALMACEN, e_ruta.text ) +' reqManager.ExecuteQuery(cmd , 0, "COMISIONES") + +' cmd.Initialize +' cmd.Name = "select_hist_avance_IZCA" 'select * from HIST_AVANCE_MESACTUAL where HIST_AM_RUTA = ? and HIST_AM_IDALMACEN order by HIST_AM_MARCA +' cmd.Parameters = Array As Object(e_ruta.text, ALMACEN) +' LogColor($"HIST_AVANCE Ruta=|${e_ruta.text}|, almacen=|${ALMACEN}|"$, Colors.Red) +' reqManager.ExecuteQuery(cmd , 0, "hist_avance") + + cargar.Visible = False + Subir.Visible = False + inv.Visible = False + If Starter.marcaCel <> "Sony" Then ToastMessageShow("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias" , True) + 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) + Log("JOBDONE PRINCIPAL") + If reqManager.reqsList.IsInitialized Then 'Si tenemos lista de requests, la procesamos. + If reqManager.reqsList.IndexOf(Job.tag) <> -1 Then + reqManager.reqsList.RemoveAt(reqManager.reqsList.IndexOf(Job.tag)) + LogColor($">>>>>> Quitamos ${Job.tag}"$, Colors.Blue) + End If + LogColor(">>>>>> " & reqManager.reqsList.Size & " - " & reqManager.reqsList, Colors.Blue) + End If + If Job.Success = False Then + Log("ERROR") + LogColor("Error: " & reqManager.HandleJob(Job).tag & " : " & Job.ErrorMessage, Colors.red) + Log("ex") + Log(2) +' Job.Release + Else 'If Job Success then ... + Log(3) + Log(ALMACEN) + LogColor("JobDone: '" & reqManager.HandleJob(Job).tag & "' - Registros: " & reqManager.HandleJob(Job).Rows.Size, Colors.RGB(0,160,0)) 'Mod por CHV - 211027 + 'Verificamos que el usuario guardado en BD sea VALIDO. + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "update_gps" Then + For Each records() As Object In RESULT.Rows + Log("==========================REGISTROS="&RESULT.Rows) + For Each k As String In RESULT.Columns.Keys + Log(RESULT.Tag & ": " & k & ": " & records(RESULT.Columns.Get(k))) + Next + Next + End If + If RESULT.Tag = "ins_pedidos" Then + For Each records() As Object In RESULT.Rows + Log("==========================REGISTROS="&RESULT.Rows) + For Each k As String In RESULT.Columns.Keys + Log(RESULT.Tag & ": " & k & ": " & records(RESULT.Columns.Get(k))) + Next + Next + End If + If RESULT.Tag = "usuarioA" Then 'query tag + Private n As String = "Sin Usuario" + For Each records() As Object In RESULT.Rows + n = records(RESULT.Columns.Get("USUARIO")) + Next + LogColor("**************************"&n, Colors.Green) + If n = "OKActivo" Then + Log("Usuario guardado en BD es 'Valido'") + Else If n = "OKExpirado" Then + Msgbox("Usuario Expirado llamar al administrador","") 'ignore + B4XPages.ShowPage("B4XMainPage") + Else If n = "OKCancelado" Then + Msgbox("Usuario Cancelado llamar al administrador","") 'ignore + B4XPages.ShowPage("B4XMainPage") + Else + Msgbox("Usuario o password No validos","") 'ignore + B4XPages.ShowPage("B4XMainPage") + End If + Log("***************** "&n) + End If + End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "giro" Then 'query tag + For Each records() As Object In RESULT.Rows + Dim giro As String = records(RESULT.Columns.Get("CAT_GR_DESC")) + + Starter.skmt.ExecNonQuery2("INSERT INTO CAT_GIRO(GIRO) VALUES (?)", Array As Object (giro)) + Next + If PB2.Progress = 0 Then + PB2.Progress = 30 + S_CP.Text = "CARGANDO" + ELSE If PB2.Progress = 30 Then + PB2.Progress = 60 + ELSE IF PB2.Progress = 60 Then + PB2.Progress = 100 + S_CP.Text = "LISTO" + End If + Listo3 =1 + If Listo1 =1 And Listo2 =1 And Listo3 = 1 And Listo4 = 1 Then + B4XPage_Appear + img2.Visible=False + EJECUTANDO=0 + Else If Listo4 = 1 And Listo3 = 1 And inve = 1 Then + 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 = "kmt_datos" Then 'query tag + S_CC.TEXT = "CARGANDO" + 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_MTOCOMPRA As String = records(RESULT.Columns.Get("CAT_CL_MTOCOMPRA")) + Dim CAT_CL_NUM_SERIEFISICO As String = records(RESULT.Columns.Get("CAT_CL_NUM_SERIEFISICO")) + Dim CAT_CL_BCREDITO As String = records(RESULT.Columns.Get("CAT_CL_BCREDITO")) + Dim CAT_CL_LIMITECREDITO As String = records(RESULT.Columns.Get("CAT_CL_LIMITECREDITO")) + Dim CAT_CL_GIRO As String = records(RESULT.Columns.Get("CAT_CL_GIRO")) +' Dim CAT_CL_LISTA_PRECIO As String = records(RESULT.Columns.Get("CAT_CL_LISTA_PRECIO")) + Dim CAT_CL_TIPOCLIENTE As String = records(RESULT.Columns.Get("CAT_CL_TIPOCLIENTE")) +' Dim CAT_CL_BCOORDENADAS As String = records(RESULT.Columns.Get("CAT_CL_BCOORDENADAS")) + Dim CAT_CL_BCOORDENADAS As String = 0 + B4XPages.MainPage.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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO, gestion,CAT_CL_BCOORDENADAS, CAT_CL_GIRO,CAT_CL_TIPOCLIENTE) 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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO,CAT_CL_BCOORDENADAS,CAT_CL_GIRO,CAT_CL_TIPOCLIENTE)) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)", Array As Object (CAT_CL_CODIGO)) + Next + 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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0) ",Array As Object ("0",e_ruta.TEXT, "VENTA ABORDO","null","null","null","null","null","null","null","null","null","null","null","null","NULL","null","NULL")) + 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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0) ",Array As Object ("1",e_ruta.TEXT, "VENTA RECARGA","null","null","null","null","null","null","null","null","null","null","null","null","NULL","null","NULL")) + Listo1 = 1 + S_CC.Text = "LISTO" + If Starter.marcaCel <> "Sony" Then ToastMessageShow("Catalogo Clientes Actualizados." , True) + If Listo1 =1 And Listo2 =1 And Listo3 = 1 And Listo4 = 1 Then + B4XPage_Appear + img2.Visible=False + EJECUTANDO=0 + End If + End If + End If + + If Job.JobName = "DBRequest" Then + Dim resultado As DBResult = reqManager.HandleJob(Job) + If resultado.Tag = "piezas" Then 'query tag +' B4XPages.MainPage.picking.cl_picking.Clear + Dim piezasexiste As Int + + For Each records() As Object In resultado.Rows + + piezasexiste = records(resultado.Columns.Get("COUNT(*)")) + Log(piezasexiste) + DateTime.DateFormat = "MM/dd/yyyy" + DateTime.TimeFormat = "HH:mm:ss" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + + If piezasexiste = 0 Then + + Dim PCNoArts As String + Dim PCMonto As String + c = B4XPages.MainPage.skmt.ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ? AND PC_CLIENTE <> 1", Array As String(userpiezas)) + + If c.RowCount > 0 Then + c.Position = 0 + PCNoArts = c.GetString("PC_NOART") + PCMonto = c.GetString("PC_MONTO") + End If + + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "insert_HVC_SHARK2" + cmd.Parameters = Array As Object((sDate & " " & sTime), userpiezas, PCNoArts, PCMonto, ALMACEN, l_ruta.Text) + reqManager.ExecuteCommand(cmd , "insert_hvc") +' reqManager.ExecuteCommand(cmd , $"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) + + End If + Next + + + End If + End If + + + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "kmt_datos_todos" Then 'query tag + S_CC.TEXT = "CARGANDO" + 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_MTOCOMPRA As String = records(RESULT.Columns.Get("CAT_CL_MTOCOMPRA")) + Dim CAT_CL_NUM_SERIEFISICO As String = records(RESULT.Columns.Get("CAT_CL_NUM_SERIEFISICO")) + Dim CAT_CL_BCREDITO As String = records(RESULT.Columns.Get("CAT_CL_BCREDITO")) + Dim CAT_CL_LIMITECREDITO As String = records(RESULT.Columns.Get("CAT_CL_LIMITECREDITO")) + Dim CAT_CL_DIAS_VISITA As String = records(RESULT.Columns.Get("CAT_CL_DIAS_VISITA")) + Dim CAT_CL_GIRO As String = records(RESULT.Columns.Get("CAT_CL_GIRO")) + Dim CAT_CL_GIRO As String = records(RESULT.Columns.Get("CAT_CL_GIRO")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO kmt_info2(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_DIAS_VISITA, CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO,CAT_CL_GIRO) 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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,CAT_CL_DIAS_VISITA, CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO,CAT_CL_GIRO)) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)", Array As Object (CAT_CL_CODIGO)) + Next + Listo1 = 1 + S_CC.Text = "LISTO" + If Starter.marcaCel <> "Sony" Then ToastMessageShow("Catalogo Clientes Actualizados." , True) + If Listo1 =1 And Listo2 =1 And Listo3 = 1 And Listo4 = 1 Then + 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 = "resum_apk" Then 'query tag + For Each records() As Object In RESULT.Rows + Dim HIST_RA_OBJMES As String = records(RESULT.Columns.Get("HIST_RA_OBJMES")) + Dim HIST_RA_VENTA As String = records(RESULT.Columns.Get("HIST_RA_VENTA")) + Dim HIST_RA_TENDENCIA As String = records(RESULT.Columns.Get("HIST_RA_TENDENCIA")) + Dim HIST_RA_ALCANCE As String = records(RESULT.Columns.Get("HIST_RA_ALCANCE")) + Dim HISR_RA_DRAOBJ As String = records(RESULT.Columns.Get("HISR_RA_DRAOBJ")) + Dim HIST_RA_DRAVTA As String = records(RESULT.Columns.Get("HIST_RA_DRAVTA")) + Dim HIST_RA_DSOBJ As String = records(RESULT.Columns.Get("HIST_RA_DSOBJ")) + Dim HIST_RA_DSVTA As String = records(RESULT.Columns.Get("HIST_RA_DSVTA")) + Dim HIST_RA_VPOOBJ As String = records(RESULT.Columns.Get("HIST_RA_VPOOBJ")) + Dim HIST_RA_VPOVTA As String = records(RESULT.Columns.Get("HIST_RA_VPOVTA")) + Dim HIST_RA_CTES As String = records(RESULT.Columns.Get("HIST_RA_CTES")) + Dim HIST_RA_COBCCC As String = records(RESULT.Columns.Get("HIST_RA_COBCCC")) + Dim HIST_RA_ECO As String = records(RESULT.Columns.Get("HIST_RA_ECO")) + Dim HIST_RA_VISITPLAN As String = records(RESULT.Columns.Get("HIST_RA_VISITPLAN")) + Dim HIST_RA_VISIREAL As String = records(RESULT.Columns.Get("HIST_RA_VISIREAL")) + Dim HIST_RA_COBVISIT As String = records(RESULT.Columns.Get("HIST_RA_COBVISIT")) + Dim HIST_RA_FRECCOMPOBJ As String = records(RESULT.Columns.Get("HIST_RA_FRECCOMPOBJ")) + Dim HIST_RA_FRECCOMREAL As String = records(RESULT.Columns.Get("HIST_RA_FRECCOMREAL")) + Dim HIST_RA_VENTAMES1 As String = records(RESULT.Columns.Get("HIST_RA_VENTAMES1")) + Dim HIST_RA_VENTAMES2 As String = records(RESULT.Columns.Get("HIST_RA_VENTAMES2")) + Dim HIST_RA_VENTAMES3 As String = records(RESULT.Columns.Get("HIST_RA_VENTAMES3")) + Dim HIST_RA_VENTAMES4 As String = records(RESULT.Columns.Get("HIST_RA_VENTAMES4")) + Dim HIST_RA_RECHAZO As String = records(RESULT.Columns.Get("HIST_RA_RECHAZO")) + Dim HIST_RA_RECHAZOPORCEN As String = records(RESULT.Columns.Get("HIST_RA_RECHAZOPORCEN")) + Dim HIST_RA_SEMANA1 As String = records(RESULT.Columns.Get("HIST_RA_SEMANA1")) + Dim HIST_RA_SEMANA1_DIAS As String = records(RESULT.Columns.Get("HIST_RA_SEMANA1_DIAS")) + Dim HIST_RA_SEMANA1_DRA As String = records(RESULT.Columns.Get("HIST_RA_SEMANA1_DRA")) + Dim HIST_RA_SEMANA2 As String = records(RESULT.Columns.Get("HIST_RA_SEMANA2")) + Dim HIST_RA_SEMANA2_DIAS As String = records(RESULT.Columns.Get("HIST_RA_SEMANA2_DIAS")) + Dim HIST_RA_SEMANA2_DRA As String = records(RESULT.Columns.Get("HIST_RA_SEMANA2_DRA")) + Dim HIST_RA_SEMANA3 As String = records(RESULT.Columns.Get("HIST_RA_SEMANA3")) + Dim HIST_RA_SEMANA3_DIAS As String = records(RESULT.Columns.Get("HIST_RA_SEMANA3_DIAS")) + Dim HIST_RA_SEMANA3_DRA As String = records(RESULT.Columns.Get("HIST_RA_SEMANA3_DRA")) + Dim HIST_RA_SEMANA4 As String = records(RESULT.Columns.Get("HIST_RA_SEMANA4")) + Dim HIST_RA_SEMANA4_DIAS As String = records(RESULT.Columns.Get("HIST_RA_SEMANA4_DIAS")) + Dim HIST_RA_SEMANA4_DRA As String = records(RESULT.Columns.Get("HIST_RA_SEMANA4_DRA")) + Dim HIST_RA_SEMANA5 As String = records(RESULT.Columns.Get("HIST_RA_SEMANA5")) + Dim HIST_RA_SEMANA5_DIAS As String = records(RESULT.Columns.Get("HIST_RA_SEMANA5_DIAS")) + Dim HIST_RA_SEMANA5_DRA As String = records(RESULT.Columns.Get("HIST_RA_SEMANA5_DRA")) + Dim HIST_RA_SEMANA1_LPT As String = records(RESULT.Columns.Get("HIST_RA_SEMANA1_LPT")) + Dim HIST_RA_SEMANA2_LPT As String = records(RESULT.Columns.Get("HIST_RA_SEMANA2_LPT")) + Dim HIST_RA_SEMANA3_LPT As String = records(RESULT.Columns.Get("HIST_RA_SEMANA3_LPT")) + Dim HIST_RA_SEMANA4_LPT As String = records(RESULT.Columns.Get("HIST_RA_SEMANA4_LPT")) + Dim HIST_RA_SEMANA5_LPT As String = records(RESULT.Columns.Get("HIST_RA_SEMANA5_LPT")) + Dim HIST_RA_RUTA As String = records(RESULT.Columns.Get("HIST_RA_RUTA")) + Dim HIST_RA_IDALMACEN As String = records(RESULT.Columns.Get("HIST_RA_IDALMACEN")) + + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_RESUM_APK(HIST_RA_OBJMES,HIST_RA_VENTA,HIST_RA_TENDENCIA,HIST_RA_ALCANCE,HISR_RA_DRAOBJ,HIST_RA_DRAVTA,HIST_RA_DSOBJ,HIST_RA_DSVTA,HIST_RA_VPOOBJ,HIST_RA_VPOVTA,HIST_RA_CTES,HIST_RA_COBCCC,HIST_RA_ECO,HIST_RA_VISITPLAN,HIST_RA_VISIREAL,HIST_RA_COBVISIT,HIST_RA_FRECCOMPOBJ,HIST_RA_FRECCOMREAL,HIST_RA_VENTAMES1,HIST_RA_VENTAMES2,HIST_RA_VENTAMES3,HIST_RA_VENTAMES4,HIST_RA_RECHAZO,HIST_RA_RECHAZOPORCEN,HIST_RA_SEMANA1,HIST_RA_SEMANA1_DIAS,HIST_RA_SEMANA1_DRA,HIST_RA_SEMANA2,HIST_RA_SEMANA2_DIAS,HIST_RA_SEMANA2_DRA,HIST_RA_SEMANA3,HIST_RA_SEMANA3_DIAS,HIST_RA_SEMANA3_DRA,HIST_RA_SEMANA4,HIST_RA_SEMANA4_DIAS,HIST_RA_SEMANA4_DRA,HIST_RA_SEMANA5,HIST_RA_SEMANA5_DIAS,HIST_RA_SEMANA5_DRA,HIST_RA_SEMANA1_LPT,HIST_RA_SEMANA2_LPT,HIST_RA_SEMANA3_LPT,HIST_RA_SEMANA4_LPT,HIST_RA_SEMANA5_LPT,HIST_RA_RUTA,HIST_RA_IDALMACEN) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", Array As Object (HIST_RA_OBJMES,HIST_RA_VENTA,HIST_RA_TENDENCIA,HIST_RA_ALCANCE,HISR_RA_DRAOBJ,HIST_RA_DRAVTA,HIST_RA_DSOBJ,HIST_RA_DSVTA,HIST_RA_VPOOBJ,HIST_RA_VPOVTA,HIST_RA_CTES,HIST_RA_COBCCC,HIST_RA_ECO,HIST_RA_VISITPLAN,HIST_RA_VISIREAL,HIST_RA_COBVISIT,HIST_RA_FRECCOMPOBJ,HIST_RA_FRECCOMREAL,HIST_RA_VENTAMES1,HIST_RA_VENTAMES2,HIST_RA_VENTAMES3,HIST_RA_VENTAMES4,HIST_RA_RECHAZO,HIST_RA_RECHAZOPORCEN,HIST_RA_SEMANA1,HIST_RA_SEMANA1_DIAS,HIST_RA_SEMANA1_DRA,HIST_RA_SEMANA2,HIST_RA_SEMANA2_DIAS,HIST_RA_SEMANA2_DRA,HIST_RA_SEMANA3,HIST_RA_SEMANA3_DIAS,HIST_RA_SEMANA3_DRA,HIST_RA_SEMANA4,HIST_RA_SEMANA4_DIAS,HIST_RA_SEMANA4_DRA,HIST_RA_SEMANA5,HIST_RA_SEMANA5_DIAS,HIST_RA_SEMANA5_DRA,HIST_RA_SEMANA1_LPT,HIST_RA_SEMANA2_LPT,HIST_RA_SEMANA3_LPT,HIST_RA_SEMANA4_LPT,HIST_RA_SEMANA5_LPT,HIST_RA_RUTA,HIST_RA_IDALMACEN)) + ' Msgbox("pasa","alo") + Next + Listo1 = 1 + S_CC.Text = "LISTO" + If Starter.marcaCel <> "Sony" Then ToastMessageShow("Catalogo Resumen Actualizado." , True) + End If + End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "hist_promos" Then 'query tag + For Each records() As Object In RESULT.Rows + Dim HP_CLIENTE As String = records(RESULT.Columns.Get("HP_CLIENTE")) + Dim HP_CODIGO_PROMOCION As String = records(RESULT.Columns.Get("HP_CODIGO_PROMOCION")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_PROMOS(HP_CLIENTE, HP_CODIGO_PROMOCION) VALUES (?,?)", Array As Object (HP_CLIENTE, HP_CODIGO_PROMOCION)) + Next + If Starter.marcaCel <> "Sony" Then ToastMessageShow("Historico Promociones Actualizado." , True) + If PB1.Progress = 0 Then + PB1.Progress = 30 + S_CH.Text = "CARGANDO" + ELSE If PB1.Progress = 30 Then + PB1.Progress = 60 + ELSE IF PB1.Progress = 60 Then + PB1.Progress = 100 + S_CH.Text = "LISTO" + End If + End If + End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "hist_cliente_promos" Then 'query tag + For Each records() As Object In RESULT.Rows + Dim HCCP_CLIENTE As String = records(RESULT.Columns.Get("HCCP_CLIENTE")) + Dim HCCP_PROMO As String = records(RESULT.Columns.Get("HCCP_PROMO")) + Dim HCCP_CANT As String = records(RESULT.Columns.Get("HCCP_CANT")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_CLIENTE_CANT_PROMOS(HCCP_CLIENTE, HCCP_PROMO, HCCP_CANT) VALUES (?,?,?)", Array As Object (HCCP_CLIENTE, HCCP_PROMO,HCCP_CANT)) + Next + If Starter.marcaCel <> "Sony" Then ToastMessageShow(" Historico Clientes Promociones Actualizado." , True) + End If + End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "GEOCERCA" Then 'query tag + For Each records() As Object In RESULT.Rows + Dim CAT_AL_GEOCERCA As String = records(RESULT.Columns.Get("CAT_AL_GEOCERCA")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO GEOCERCA(ACTIVA) VALUES (?)", Array As Object (CAT_AL_GEOCERCA)) + 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 + Dim CAT_AL_LATITUD As String = records(RESULT.Columns.Get("CAT_AL_LATITUD")) + Dim CAT_AL_LONGITUD As String = records(RESULT.Columns.Get("CAT_AL_LONGITUD")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO COORDS_ALMACEN(LAT,LONG) VALUES (?,?)", Array As Object (CAT_AL_LATITUD,CAT_AL_LONGITUD)) + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "HIST_MARCAS_CUOTAS" Then 'query tag + For Each records() As Object In RESULT.Rows + Dim HMC_MARCA As String = records(RESULT.Columns.Get("HMC_MARCA")) + Dim HMC_TOTAL As String = records(RESULT.Columns.Get("HMC_TOTAL")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_MARCAS_CUOTAS(HMC_MARCA, HMC_TOTAL) VALUES (?,?)", Array As Object (HMC_MARCA, HMC_TOTAL)) + Next + If Starter.marcaCel <> "Sony" Then ToastMessageShow(" Historico Marcas" , True) + End If + End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "hist_comp_promos" Then 'query tag + For Each records() As Object In RESULT.Rows + Dim CAT_PA_ID As String = records(RESULT.Columns.Get("CAT_PA_ID")) + Dim CAT_PA_MAXPROM As String = records(RESULT.Columns.Get("CAT_PA_MAXPROM")) + Dim CAT_PA_MAXPROMREC As String = records(RESULT.Columns.Get("CAT_PA_MAXPROMREC")) + Dim CAT_PA_MAXPROMCLIE As String = records(RESULT.Columns.Get("CAT_PA_MAXPROMCLIE")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PROMOS_COMP(CAT_PA_ID, CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE) VALUES (?,?,?,?)", Array As Object (CAT_PA_ID, CAT_PA_MAXPROM,CAT_PA_MAXPROMREC,CAT_PA_MAXPROMCLIE)) + Next + If PB1.Progress = 0 Then + PB1.Progress = 30 + S_CH.Text = "CARGANDO" + ELSE If PB1.Progress = 30 Then + PB1.Progress = 60 + ELSE IF PB1.Progress = 60 Then + PB1.Progress = 100 + S_CH.Text = "LISTO" + End If + End If + End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "cat_verificacion" Then 'query tag + For Each records() As Object In RESULT.Rows + Dim CAT_VE_IDPROD As String = records(RESULT.Columns.Get("CAT_VE_IDPROD")) + Dim CAT_VE_NOMBRE As String = records(RESULT.Columns.Get("CAT_VE_NOMBRE")) + Dim CAT_VE_ORDEN As String = records(RESULT.Columns.Get("CAT_VE_ORDEN")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_VERIFICACION(CAT_VE_IDPROD, CAT_VE_NOMBRE,CAT_VE_ORDEN) VALUES (?,?,?)", Array As Object (CAT_VE_IDPROD, CAT_VE_NOMBRE,CAT_VE_ORDEN)) + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "marcas_rutas" Then 'query tag + For Each records() As Object In RESULT.Rows + Dim HVD_MARCA As String = records(RESULT.Columns.Get("HVD_MARCA")) + Dim CLIENTES As String = records(RESULT.Columns.Get("CLIENTES")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO MARCAS_RUTAS(HVD_MARCA, CLIENTES) VALUES (?,?)", Array As Object (HVD_MARCA, CLIENTES)) + Next + End If + End If + + 'CUOTAS + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "CUOTAS" Then 'query tag + For Each records() As Object In RESULT.Rows + Dim HC_RUTA As String = records(RESULT.Columns.Get("HC_RUTA")) + Dim HC_CUOTA1 As String = records(RESULT.Columns.Get("HC_CUOTA1")) + Dim HC_CUOTA2 As String = records(RESULT.Columns.Get("HC_CUOTA2")) + Dim HC_CUOTA3 As String = records(RESULT.Columns.Get("HC_CUOTA3")) + Dim HC_CUOTA4 As String = records(RESULT.Columns.Get("HC_CUOTA4")) + Dim HC_CUOTA5 As String = records(RESULT.Columns.Get("HC_CUOTA5")) + Dim HC_CUOTA6 As String = records(RESULT.Columns.Get("HC_CUOTA6")) + Dim HC_META1 As String = records(RESULT.Columns.Get("HC_META1")) + Dim HC_META2 As String = records(RESULT.Columns.Get("HC_META2")) + Dim HC_META3 As String = records(RESULT.Columns.Get("HC_META3")) + Dim HC_META4 As String = records(RESULT.Columns.Get("HC_META4")) + Dim HC_META5 As String = records(RESULT.Columns.Get("HC_META5")) + Dim HC_META6 As String = records(RESULT.Columns.Get("HC_META6")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_CUOTAS(HC_RUTA, HC_CUOTA1,HC_CUOTA2,HC_CUOTA3,HC_CUOTA4,HC_CUOTA5,HC_CUOTA6,HC_META1,HC_META2,HC_META3,HC_META4,HC_META5,HC_META6) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)", Array As Object (HC_RUTA, HC_CUOTA1,HC_CUOTA2,HC_CUOTA3,HC_CUOTA4,HC_CUOTA5,HC_CUOTA6,HC_META1,HC_META2,HC_META3,HC_META4,HC_META5,HC_META6)) + Next + + End If + End If + 'COMISIONES + +' If Job.JobName = "DBRequest" Then +' Dim RESULT As DBResult = reqManager.HandleJob(Job) +' If RESULT.Tag = "COMISIONES" Then 'query tag +' For Each records() As Object In RESULT.Rows +' Dim HCM_TOTAL_V As String = records(RESULT.Columns.Get("HCM_TOTAL_V")) +' Dim HCM_TOTAL_VIVE As String = records(RESULT.Columns.Get("HCM_TOTAL_VIVE")) +' Dim HCM_TOTAL_GUNA As String = records(RESULT.Columns.Get("HCM_TOTAL_GUNA")) +' Dim HCM_TOTAL_BEB As String = records(RESULT.Columns.Get("HCM_TOTAL_BEB")) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_COMISIONES_MOVIL (HCM_TOTAL_V , HCM_TOTAL_VIVE , HCM_TOTAL_GUNA , HCM_TOTAL_BEB) VALUES (?,?,?,?)", Array As Object (HCM_TOTAL_V , HCM_TOTAL_VIVE , HCM_TOTAL_GUNA , HCM_TOTAL_BEB)) +' Next +' End If +' End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "gunaprod" Then 'query tag + If PB2.Progress < 30 Then S_CP.Text = "CARGANDO" 'Mod por CHV - 20211028 Agregue el "If PB2.Progress < 30 then" + 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_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 CAT_GP_IMG() As Byte = records(RESULT.Columns.Get("CAT_DP_IMG")) + Dim CAT_GP_ALMACEN As Int = records(RESULT.Columns.Get("CAT_DP_ALMACEN")) + Dim CAT_GP_DEV As String = records(RESULT.Columns.Get("CAT_DP_DEV")) + Dim CAT_GP_TIPOPROD As Int = records(RESULT.Columns.Get("CAT_DP_TIPOPROD")) + Dim CAT_GP_INICIATIVA As Int = records(RESULT.Columns.Get("CAT_DP_INICIATIVA")) +' Dim CAT_GP_TIPOPROD2 As String = records(RESULT.Columns.Get("CAT_DP_TIPOPROD2")) + Dim CAT_GP_TIPOPROD2 As String = 0 + + ' --- Bloque de Precios --- + Dim CAT_GP_PRECIO1 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO1")) + Dim CAT_GP_PRECIO2 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO2")) + Dim CAT_GP_PRECIO3 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO3")) + Dim CAT_GP_PRECIO4 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO4")) + Dim CAT_GP_PRECIO5 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO5")) + Dim CAT_GP_PRECIO6 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO6")) + Dim CAT_GP_PRECIO7 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO7")) + Dim CAT_GP_PRECIO8 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO8")) + Dim CAT_GP_PRECIO9 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO9")) + Dim CAT_GP_PRECIO10 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO10")) + Dim CAT_GP_PRECIO11 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO11")) + + ' --- Bloque de Presentaciones --- + Dim CAT_GP_PRESENTACION1 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION1")) + Dim CAT_GP_PRESENTACION2 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION2")) + Dim CAT_GP_PRESENTACION3 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION3")) + Dim CAT_GP_PRESENTACION4 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION4")) + Dim CAT_GP_PRESENTACION5 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION5")) + Dim CAT_GP_PRESENTACION6 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION6")) + Dim CAT_GP_PRESENTACION7 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION7")) + Dim CAT_GP_PRESENTACION8 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION8")) + Dim CAT_GP_PRESENTACION9 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION9")) + Dim CAT_GP_PRESENTACION10 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION10")) + Dim CAT_GP_PRESENTACION11 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION11")) + + ' --- Bloque de UMV --- + Dim CAT_GP_UMV1 As String = records(RESULT.Columns.Get("CAT_DP_UMV1")) + Dim CAT_GP_UMV2 As String = records(RESULT.Columns.Get("CAT_DP_UMV2")) + Dim CAT_GP_UMV3 As String = records(RESULT.Columns.Get("CAT_DP_UMV3")) + Dim CAT_GP_UMV4 As String = records(RESULT.Columns.Get("CAT_DP_UMV4")) + Dim CAT_GP_UMV5 As String = records(RESULT.Columns.Get("CAT_DP_UMV5")) + Dim CAT_GP_UMV6 As String = records(RESULT.Columns.Get("CAT_DP_UMV6")) + Dim CAT_GP_UMV7 As String = records(RESULT.Columns.Get("CAT_DP_UMV7")) + Dim CAT_GP_UMV8 As String = records(RESULT.Columns.Get("CAT_DP_UMV8")) + Dim CAT_GP_UMV9 As String = records(RESULT.Columns.Get("CAT_DP_UMV9")) + Dim CAT_GP_UMV10 As String = records(RESULT.Columns.Get("CAT_DP_UMV10")) + Dim CAT_GP_UMV11 As String = records(RESULT.Columns.Get("CAT_DP_UMV11")) + + ' --- Bloque de Dirigida --- + Dim CAT_GP_DIRIGIDA1 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA1")) + Dim CAT_GP_DIRIGIDA2 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA2")) + Dim CAT_GP_DIRIGIDA3 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA3")) + Dim CAT_GP_DIRIGIDA4 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA4")) + Dim CAT_GP_DIRIGIDA5 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA5")) + Dim CAT_GP_DIRIGIDA6 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA6")) + Dim CAT_GP_DIRIGIDA7 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA7")) + Dim CAT_GP_DIRIGIDA8 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA8")) + Dim CAT_GP_DIRIGIDA9 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA9")) + Dim CAT_GP_DIRIGIDA10 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA10")) + Dim CAT_GP_DIRIGIDA11 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA11")) +' CAT_GP_INICIATIVA = 5 +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD4(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, CAT_GP_ALMACEN,CAT_GP_DEV)) + Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.Trim + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_IMP1, CAT_GP_IMP2, CAT_GP_CLASIF, CAT_GP_STS, CAT_GP_TIPO, CAT_GP_SUBTIPO, CAT_GP_IMG, CAT_GP_ALMACEN, CAT_GP_DEV, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA, CAT_GP_TIPOPROD2, CAT_GP_PRECIO1, CAT_GP_PRECIO2, CAT_GP_PRECIO3, CAT_GP_PRECIO4, CAT_GP_PRECIO5, CAT_GP_PRECIO6, CAT_GP_PRECIO7, CAT_GP_PRECIO8, CAT_GP_PRECIO9, CAT_GP_PRECIO10, CAT_GP_PRECIO11, CAT_GP_PRESENTACION1, CAT_GP_PRESENTACION2, CAT_GP_PRESENTACION3, CAT_GP_PRESENTACION4, CAT_GP_PRESENTACION5, CAT_GP_PRESENTACION6, CAT_GP_PRESENTACION7, CAT_GP_PRESENTACION8, CAT_GP_PRESENTACION9, CAT_GP_PRESENTACION10, CAT_GP_PRESENTACION11, CAT_GP_UMV1, CAT_GP_UMV2, CAT_GP_UMV3, CAT_GP_UMV4, CAT_GP_UMV5, CAT_GP_UMV6, CAT_GP_UMV7, CAT_GP_UMV8, CAT_GP_UMV9, CAT_GP_UMV10, CAT_GP_UMV11, CAT_GP_DIRIGIDA1, CAT_GP_DIRIGIDA2, CAT_GP_DIRIGIDA3, CAT_GP_DIRIGIDA4, CAT_GP_DIRIGIDA5, CAT_GP_DIRIGIDA6, CAT_GP_DIRIGIDA7, CAT_GP_DIRIGIDA8, CAT_GP_DIRIGIDA9, CAT_GP_DIRIGIDA10, CAT_GP_DIRIGIDA11) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", Array As Object (CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_IMP1, CAT_GP_IMP2, CAT_GP_CLASIF, CAT_GP_STS, CAT_GP_TIPO, CAT_GP_SUBTIPO, CAT_GP_IMG, CAT_GP_ALMACEN, CAT_GP_DEV, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA, CAT_GP_TIPOPROD2, CAT_GP_PRECIO1, CAT_GP_PRECIO2, CAT_GP_PRECIO3, CAT_GP_PRECIO4, CAT_GP_PRECIO5, CAT_GP_PRECIO6, CAT_GP_PRECIO7, CAT_GP_PRECIO8, CAT_GP_PRECIO9, CAT_GP_PRECIO10, CAT_GP_PRECIO11, CAT_GP_PRESENTACION1, CAT_GP_PRESENTACION2, CAT_GP_PRESENTACION3, CAT_GP_PRESENTACION4, CAT_GP_PRESENTACION5, CAT_GP_PRESENTACION6, CAT_GP_PRESENTACION7, CAT_GP_PRESENTACION8, CAT_GP_PRESENTACION9, CAT_GP_PRESENTACION10, CAT_GP_PRESENTACION11, CAT_GP_UMV1, CAT_GP_UMV2, CAT_GP_UMV3, CAT_GP_UMV4, CAT_GP_UMV5, CAT_GP_UMV6, CAT_GP_UMV7, CAT_GP_UMV8, CAT_GP_UMV9, CAT_GP_UMV10, CAT_GP_UMV11, CAT_GP_DIRIGIDA1, CAT_GP_DIRIGIDA2, CAT_GP_DIRIGIDA3, CAT_GP_DIRIGIDA4, CAT_GP_DIRIGIDA5, CAT_GP_DIRIGIDA6, CAT_GP_DIRIGIDA7, CAT_GP_DIRIGIDA8, CAT_GP_DIRIGIDA9, CAT_GP_DIRIGIDA10, CAT_GP_DIRIGIDA11)) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD4(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,CAT_DP_PRECIO2,CAT_DP_PRECIO1) 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,CAT_DP_PRECIO2,CAT_DP_PRECIO1)) + Next + Listo2=1 + If PB2.Progress = 0 Then + PB2.Progress = 30 + S_CP.Text = "CARGANDO" + ELSE If PB2.Progress = 30 Then + PB2.Progress = 60 + ELSE IF PB2.Progress = 60 Then + PB2.Progress = 100 + S_CP.Text = "LISTO" + End If + If Starter.marcaCel <> "Sony" Then ToastMessageShow("Productos Actualizados." , True) + If Listo1 =1 And Listo2 =1 And Listo3 = 1 And Listo4 = 1 Then + 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 = "gunaprod3" Then 'query tag + If PB2.Progress < 30 Then S_CP.Text = "CARGANDO" 'Mod por CHV - 20211028 Agregue el "If PB2.Progress < 30 then" + 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 CAT_GP_IMG() As Byte = records(RESULT.Columns.Get("CAT_DP_IMG")) + Dim CAT_GP_ALMACEN As Int = records(RESULT.Columns.Get("CAT_DP_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_DP_TIPOPROD")) + Dim CAT_GP_INICIATIVA As Int = records(RESULT.Columns.Get("CAT_DP_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")) +' 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)) + Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.Trim + B4XPages.MainPage.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 + End If + End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "gunaprod2" Then 'query tag + If PB2.Progress < 30 Then S_CP.Text = "CARGANDO" 'Mod por CHV - 20211028 Agregue el "If PB2.Progress < 30 then" + 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_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 CAT_GP_IMG() As Byte = records(RESULT.Columns.Get("CAT_DP_IMG")) + Dim CAT_GP_ALMACEN As Int = records(RESULT.Columns.Get("CAT_DP_ALMACEN")) + Dim CAT_GP_DEV As String = records(RESULT.Columns.Get("CAT_DP_DEV")) + Dim CAT_GP_TIPOPROD As Int = records(RESULT.Columns.Get("CAT_DP_TIPOPROD")) + Dim CAT_GP_INICIATIVA As Int = records(RESULT.Columns.Get("CAT_DP_INICIATIVA")) + Dim CAT_GP_TIPOPROD2 As String = records(RESULT.Columns.Get("CAT_DP_TIPOPROD2")) + + ' --- Bloque de Precios --- + Dim CAT_GP_PRECIO1 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO1")) + Dim CAT_GP_PRECIO2 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO2")) + Dim CAT_GP_PRECIO3 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO3")) + Dim CAT_GP_PRECIO4 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO4")) + Dim CAT_GP_PRECIO5 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO5")) + Dim CAT_GP_PRECIO6 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO6")) + Dim CAT_GP_PRECIO7 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO7")) + Dim CAT_GP_PRECIO8 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO8")) + Dim CAT_GP_PRECIO9 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO9")) + Dim CAT_GP_PRECIO10 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO10")) + Dim CAT_GP_PRECIO11 As String = records(RESULT.Columns.Get("CAT_DP_PRECIO11")) + + ' --- Bloque de Presentaciones --- + Dim CAT_GP_PRESENTACION1 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION1")) + Dim CAT_GP_PRESENTACION2 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION2")) + Dim CAT_GP_PRESENTACION3 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION3")) + Dim CAT_GP_PRESENTACION4 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION4")) + Dim CAT_GP_PRESENTACION5 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION5")) + Dim CAT_GP_PRESENTACION6 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION6")) + Dim CAT_GP_PRESENTACION7 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION7")) + Dim CAT_GP_PRESENTACION8 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION8")) + Dim CAT_GP_PRESENTACION9 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION9")) + Dim CAT_GP_PRESENTACION10 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION10")) + Dim CAT_GP_PRESENTACION11 As String = records(RESULT.Columns.Get("CAT_DP_PRESENTACION11")) + + ' --- Bloque de UMV --- + Dim CAT_GP_UMV1 As String = records(RESULT.Columns.Get("CAT_DP_UMV1")) + Dim CAT_GP_UMV2 As String = records(RESULT.Columns.Get("CAT_DP_UMV2")) + Dim CAT_GP_UMV3 As String = records(RESULT.Columns.Get("CAT_DP_UMV3")) + Dim CAT_GP_UMV4 As String = records(RESULT.Columns.Get("CAT_DP_UMV4")) + Dim CAT_GP_UMV5 As String = records(RESULT.Columns.Get("CAT_DP_UMV5")) + Dim CAT_GP_UMV6 As String = records(RESULT.Columns.Get("CAT_DP_UMV6")) + Dim CAT_GP_UMV7 As String = records(RESULT.Columns.Get("CAT_DP_UMV7")) + Dim CAT_GP_UMV8 As String = records(RESULT.Columns.Get("CAT_DP_UMV8")) + Dim CAT_GP_UMV9 As String = records(RESULT.Columns.Get("CAT_DP_UMV9")) + Dim CAT_GP_UMV10 As String = records(RESULT.Columns.Get("CAT_DP_UMV10")) + Dim CAT_GP_UMV11 As String = records(RESULT.Columns.Get("CAT_DP_UMV11")) + + ' --- Bloque de Dirigida --- + Dim CAT_GP_DIRIGIDA1 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA1")) + Dim CAT_GP_DIRIGIDA2 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA2")) + Dim CAT_GP_DIRIGIDA3 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA3")) + Dim CAT_GP_DIRIGIDA4 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA4")) + Dim CAT_GP_DIRIGIDA5 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA5")) + Dim CAT_GP_DIRIGIDA6 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA6")) + Dim CAT_GP_DIRIGIDA7 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA7")) + Dim CAT_GP_DIRIGIDA8 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA8")) + Dim CAT_GP_DIRIGIDA9 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA9")) + Dim CAT_GP_DIRIGIDA10 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA10")) + Dim CAT_GP_DIRIGIDA11 As String = records(RESULT.Columns.Get("CAT_DP_DIRIGIDA11")) +' CAT_GP_INICIATIVA = 5 +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD4(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, CAT_GP_ALMACEN,CAT_GP_DEV)) + Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.Trim + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_IMP1, CAT_GP_IMP2, CAT_GP_CLASIF, CAT_GP_STS, CAT_GP_TIPO, CAT_GP_SUBTIPO, CAT_GP_IMG, CAT_GP_ALMACEN, CAT_GP_DEV, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA, CAT_GP_TIPOPROD2, CAT_GP_PRECIO1, CAT_GP_PRECIO2, CAT_GP_PRECIO3, CAT_GP_PRECIO4, CAT_GP_PRECIO5, CAT_GP_PRECIO6, CAT_GP_PRECIO7, CAT_GP_PRECIO8, CAT_GP_PRECIO9, CAT_GP_PRECIO10, CAT_GP_PRECIO11, CAT_GP_PRESENTACION1, CAT_GP_PRESENTACION2, CAT_GP_PRESENTACION3, CAT_GP_PRESENTACION4, CAT_GP_PRESENTACION5, CAT_GP_PRESENTACION6, CAT_GP_PRESENTACION7, CAT_GP_PRESENTACION8, CAT_GP_PRESENTACION9, CAT_GP_PRESENTACION10, CAT_GP_PRESENTACION11, CAT_GP_UMV1, CAT_GP_UMV2, CAT_GP_UMV3, CAT_GP_UMV4, CAT_GP_UMV5, CAT_GP_UMV6, CAT_GP_UMV7, CAT_GP_UMV8, CAT_GP_UMV9, CAT_GP_UMV10, CAT_GP_UMV11, CAT_GP_DIRIGIDA1, CAT_GP_DIRIGIDA2, CAT_GP_DIRIGIDA3, CAT_GP_DIRIGIDA4, CAT_GP_DIRIGIDA5, CAT_GP_DIRIGIDA6, CAT_GP_DIRIGIDA7, CAT_GP_DIRIGIDA8, CAT_GP_DIRIGIDA9, CAT_GP_DIRIGIDA10, CAT_GP_DIRIGIDA11) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", Array As Object (CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_IMP1, CAT_GP_IMP2, CAT_GP_CLASIF, CAT_GP_STS, CAT_GP_TIPO, CAT_GP_SUBTIPO, CAT_GP_IMG, CAT_GP_ALMACEN, CAT_GP_DEV, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA, CAT_GP_TIPOPROD2, CAT_GP_PRECIO1, CAT_GP_PRECIO2, CAT_GP_PRECIO3, CAT_GP_PRECIO4, CAT_GP_PRECIO5, CAT_GP_PRECIO6, CAT_GP_PRECIO7, CAT_GP_PRECIO8, CAT_GP_PRECIO9, CAT_GP_PRECIO10, CAT_GP_PRECIO11, CAT_GP_PRESENTACION1, CAT_GP_PRESENTACION2, CAT_GP_PRESENTACION3, CAT_GP_PRESENTACION4, CAT_GP_PRESENTACION5, CAT_GP_PRESENTACION6, CAT_GP_PRESENTACION7, CAT_GP_PRESENTACION8, CAT_GP_PRESENTACION9, CAT_GP_PRESENTACION10, CAT_GP_PRESENTACION11, CAT_GP_UMV1, CAT_GP_UMV2, CAT_GP_UMV3, CAT_GP_UMV4, CAT_GP_UMV5, CAT_GP_UMV6, CAT_GP_UMV7, CAT_GP_UMV8, CAT_GP_UMV9, CAT_GP_UMV10, CAT_GP_UMV11, CAT_GP_DIRIGIDA1, CAT_GP_DIRIGIDA2, CAT_GP_DIRIGIDA3, CAT_GP_DIRIGIDA4, CAT_GP_DIRIGIDA5, CAT_GP_DIRIGIDA6, CAT_GP_DIRIGIDA7, CAT_GP_DIRIGIDA8, CAT_GP_DIRIGIDA9, CAT_GP_DIRIGIDA10, CAT_GP_DIRIGIDA11)) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD4(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,CAT_DP_PRECIO2,CAT_DP_PRECIO1) 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,CAT_DP_PRECIO2,CAT_DP_PRECIO1)) + Next + Listo2=1 + If PB2.Progress = 0 Then + PB2.Progress = 30 + S_CP.Text = "CARGANDO" + ELSE If PB2.Progress = 30 Then + PB2.Progress = 60 + ELSE IF PB2.Progress = 60 Then + PB2.Progress = 100 + S_CP.Text = "LISTO" + End If + If Starter.marcaCel <> "Sony" Then ToastMessageShow("Productos Actualizados." , True) + If Listo1 =1 And Listo2 =1 And Listo3 = 1 And Listo4 = 1 Then + 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 + 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_TIPOPROD As Int = records(RESULT.Columns.Get("CAT_GP_TIPOPROD")) + CAT_GP_TIPOPROD = "5" + If CAT_GP_ID = "PAQUNI003" Then + CAT_GP_ALMACEN = 60 + End If +' Log("XXXXXXX gunaprodp XXXXXXXXX " & CAT_GP_ID & "|" & CAT_GP_IMP1 & "|" & CAT_GP_IMP2) + Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.Trim + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO1,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) 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)) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO1,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) 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)) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) 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)) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD4(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)", 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)) + Next + If PB2.Progress = 0 Then + PB2.Progress = 30 + S_CP.Text = "CARGANDO" + ELSE If PB2.Progress = 30 Then + PB2.Progress = 60 + ELSE IF PB2.Progress = 60 Then + PB2.Progress = 100 + S_CP.Text = "LISTO" + End If + If Starter.marcaCel <> "Sony" Then ToastMessageShow("Promociones Actualizados." , True) + Listo4=1 + If Listo1 =1 And Listo2 =1 And Listo3 = 1 And Listo4 = 1 Then + B4XPage_Appear + img2.Visible=False + EJECUTANDO=0 + Else If Listo4 = 1 And Listo3 = 1 And inve = 1 Then + 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 = "gunaprodps" Then 'query tag + 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_TIPOPROD As Int = records(RESULT.Columns.Get("CAT_GP_TIPOPROD")) + Log("XXXXXXXX gunaprodps XXXXXXXX " & records(RESULT.Columns.Get("CAT_GP_ID")) & "|" & records(RESULT.Columns.Get("CAT_GP_IMP1"))) + Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.Trim + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO1,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) 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)) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) 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)) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_GUNAPROD4(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)", 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)) + Next + If PB2.Progress = 0 Then + PB2.Progress = 30 + S_CP.Text = "CARGANDO" + Log("C4") + ELSE If PB2.Progress = 30 Then + PB2.Progress = 60 + ELSE IF PB2.Progress = 60 Then + PB2.Progress = 100 + S_CP.Text = "LISTO" + Log("3") + End If + If Starter.marcaCel <> "Sony" Then ToastMessageShow("Promociones especiales Actualizados." , True) + + Listo4=1 + If Listo1 =1 And Listo2 =1 And Listo3 = 1 And Listo4 = 1 Then + B4XPage_Appear + img2.Visible=False + EJECUTANDO=0 + Else If Listo4 = 1 And Listo3 = 1 And inve = 1 Then + 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 + 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")) + B4XPages.MainPage.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 + If PB2.Progress = 0 Then + PB2.Progress = 30 + S_CP.Text = "CARGANDO" + ELSE If PB2.Progress = 30 Then + PB2.Progress = 60 + ELSE IF PB2.Progress = 60 Then + PB2.Progress = 100 + S_CP.Text = "LISTO" + End If + Listo3 =1 + If Listo1 =1 And Listo2 =1 And Listo3 = 1 And Listo4 = 1 Then + B4XPage_Appear + img2.Visible=False + EJECUTANDO=0 + Else If Listo4 = 1 And Listo3 = 1 And inve = 1 Then + 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 = "hist_datos" Then 'query tag + 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")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT) VALUES (?,?,?,?)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT)) + Next + Listo3 =1 + If PB1.Progress = 0 Then + PB1.Progress = 30 + S_CH.Text = "CARGANDO" + ELSE If PB1.Progress = 30 Then + PB1.Progress = 60 + ELSE IF PB1.Progress = 60 Then + PB1.Progress = 100 + S_CH.Text = "LISTO" + End If + If Starter.marcaCel <> "Sony" Then ToastMessageShow("Venta historico Actualizado." , True) + If Listo1 =1 And Listo2 =1 And Listo3 = 1 And Listo4 = 1 Then + 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")) + B4XPages.MainPage.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 = "CUESTIONARIO" Then 'query tag + For Each records() As Object In RESULT.Rows + Dim Cat_Va_Valor As String = records(RESULT.Columns.Get("CAT_VALOR")) + B4XPages.MainPage.skmt.ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?", Array As Object ("CUESTIONARIO")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object ("CUESTIONARIO", Cat_Va_Valor)) + 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" + S_CP.Text = "INFO OK" + Else + If Starter.marcaCel <> "Sony" Then ToastMessageShow("No se cargo bien la info P. Sync Nuevamente" & CUANTOSP & " " & cuantos_pedido, True) + S_CP.Text = "ENVIAR DATOS (K-2)" + 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 + If Starter.marcaCel <> "Sony" Then 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 + If Starter.marcaCel <> "Sony" Then 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 = "ins_pedido" Then 'query tag + For Each records() As Object In RESULT.Rows + PB2.Progress = PB2.Progress + 5 + S_CP.Text = "SUBIENDO" + Next + PB2.Progress = 100 + S_CP.Text = "REVISANDO ..." + Log("5") + 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 + B4XPages.MainPage.skmt.ExecNonQuery("delete from VERSION") + Dim CAT_VE_VERSION As String = records(RESULT.Columns.Get("CAT_VE_VERSION")) + B4XPages.MainPage.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 + Log("JOBDONE PRINCIPAL RUTA") + Log(RESULT.Rows.Size) + For Each records() As Object In RESULT.Rows + Dim VALIDO As String = records(RESULT.Columns.Get("VALIDO")) + Log("|"&VALIDO) + If VALIDO = "OK" Then + cargar.Visible = True + Subir.Visible = True + inv.Visible = True + connecta.Visible = False + If conn = "1" Then + ToastMessageShow("Existe Conexión con el Servidor." , True) + End If + Else + cargar.Visible = False + Subir.Visible = False + inv.Visible = False + connecta.Visible = False + ToastMessageShow("Ruta invalida." , True) + End If + 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 name2 As String = records(RESULT.Columns.Get("VALIDO")) + Next + If name2 = "OK" Then + PASO = 1 + End If + P1.Visible = False + p_mandaInfo.Visible = False + End If + End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "fecha" Then 'query tag + For Each records() As Object In RESULT.Rows + Dim FECHA_HOY As String = records(RESULT.Columns.Get("FECHA")) + B4XPages.MainPage.skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?", Array As Object ("FECHA")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object ("FECHA",FECHA_HOY)) + Next + End If + End If + +' If Job.JobName = "DBRequest" Then +' Dim RESULT As DBResult = reqManager.HandleJob(Job) +' If RESULT.Tag = "folio" Then 'query tag +' For Each records() As Object In RESULT.Rows +' Dim FOLIO As String = records(RESULT.Columns.Get("FOLIO")) +' B4XPages.MainPage.skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?", Array As Object ("FOLIO")) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object ("FOLIO",FOLIO)) +' Next +' End If +' End If + +' If Job.JobName = "DBRequest" Then +' Dim RESULT As DBResult = reqManager.HandleJob(Job) +' If RESULT.Tag = "hist_avance" Then 'query tag +' For Each records() As Object In RESULT.Rows +' Dim marca As String = records(RESULT.Columns.Get("HIST_AM_MARCA")) +' Dim avance As String = records(RESULT.Columns.Get("HIST_AM_AVANCE")) +' Dim objetivo As String = records(RESULT.Columns.Get("HIST_AM_OBJETIVO")) +' Dim porcentaje1 As String = records(RESULT.Columns.Get("HIST_AM_PORCENTAJE")) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_AVANCE(HA_MARCA, HA_AVANCE, HA_OBJETIVO, HA_PORCENTAJE) VALUES (?,?,?,?)", Array As Object (marca, avance, objetivo, porcentaje1)) +' Next +' 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")) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO ABONOSP(NOTA,CLIENTE,SALDO_PENDIENTE,DIA_VENCIMIENTO) VALUES (?,?,?,?)", Array As Object (NOTA, CLIENTE,SALDO_PENDIENTE,DIA_VENCIMIENTO)) +' Next +' End If +' End If + End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "ins_cuestionario" Then 'query tag + Subs.logJobDoneResultados(RESULT) + End If + + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "test" Then 'query tag + Log(">>>>>>>>>>>>> TEST") + Subs.logJobDoneResultados(RESULT) + End If + + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "clientes_cuestionario" Then + Log("Entramos a clientes_cuestionario - Regs:" & RESULT.Rows.Size) + Starter.skmt.ExecNonQuery("delete from HIST_CUESTIONARIO") + For Each records() As Object In RESULT.Rows + Dim idCliente As String = records(RESULT.Columns.Get("HC_CLIENTE")) + Starter.skmt.ExecNonQuery2("INSERT INTO HIST_CUESTIONARIO(HC_CLIENTE) VALUES (?)", Array As Object (idCliente)) + Next + End If + End If + + If Job.JobName = "DBRequest" Then + Dim RESULT As DBResult = reqManager.HandleJob(Job) + If RESULT.Tag = "telefono" Then 'query tag + + For Each records() As Object In RESULT.Rows + Dim TELEFONO As String = "" + + If RESULT.Columns.Get("CAT_LO_IDTELEFONO") <> Null Then + Dim index As Int = RESULT.Columns.Get("CAT_LO_IDTELEFONO") + If records(index) <> Null Then + TELEFONO = records(index) + End If + End If + + If TELEFONO <> "" Then + B4XPages.MainPage.skmt.ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?", Array As Object("TELEFONO")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object("TELEFONO", TELEFONO)) + End If + Next + End If + End If + + If resultado.Tag = "nom_user" Then + For Each records() As Object In resultado.Rows + Dim nombre_user As String = records(resultado.Columns.Get("CAT_LO_NOMBRE")) + B4XPages.MainPage.skmt.ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?", Array As Object ("nom_usuario")) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object ("nom_usuario", nombre_user)) + Next + End If + + Job.Release +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub + 'Return True to close, False to cancel + If SCROLL_RESDIA.Visible Then + SCROLL_RESDIA.Visible = False + B_OK_RES_Click + Return False + Else if p_prod.Visible Then + p_prod.Visible = False + Return False + Else if Panel5.Visible Then + B_OK_PANEL5_Click + Return False + Else If pnlCobranza.Visible Then + pnlCobranza.Visible = False + Return False + Else + B4XPages.ShowPage("login") + End If + Return False +End Sub + +Sub connecta_Click + Log( Starter.DBReqServer) + reqManager.Initialize(Me, Starter.DBReqServer) + ime.HideKeyboard + connecta1 = connecta1 + 1 +' imei = p.GetDeviceId + imei = "xxxx" + conn = "1" +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "select_version_INTMEX" +' reqManager.ExecuteQuery(cmd , 0, "version") + + ' Cuando nos conectamos verificamos que el usuario guardado en BD sea VALIDO. +' c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO, PASS from usuarioa") +' c.Position=0 +' If c.RowCount > 0 And c.GetString("USUARIO") <> "KMTS1" Then +' Private usrT As String = c.GetString("USUARIO") +' Private passT As String = c.GetString("PASS") +' cmd.Initialize +' cmd.Name = "select_usuario_guna_INTMEX_1" +' Log(usrT & "|" & passT) +' cmd.Parameters = Array As Object(usrT, passT) +' reqManager.ExecuteQuery(cmd , 0, "usuarioA") +' End If +' c.Close + + Dim cmd As DBCommand + cmd.Initialize + + cmd.Name = "select_ruta_SHARK23" + cmd.Parameters = Array As Object(ALMACEN, e_ruta.text) +' Log($"${ALMACEN},${e_ruta.text},${imei}"$) + reqManager.ExecuteQuery(cmd , 0, "ruta") + + If e_ruta.Text = "KMTS1" Then + cargar.Visible = True + Subir.Visible = True + e_ruta.Text = "" + End If + + If e_ruta.Text = "BERNA1" Then + cargar.Visible = True + Subir.Visible = True + e_ruta.Text = "" + End If + + ToastMessageShow("Validando Conexión." , True) + +' If connecta1 / 2 = 1 Then +' 'Starter.DBReqServer = "http://177.244.63.54:1782" +' 'Starter.DBReqServer = "http://keymon.com.mx:1782" +' 'Starter.DBReqServer = "http://201.99.139.28:1782" + '' Starter.DBReqServer = "http://187.189.244.154:1782" + '' Starter.DBReqServer = "http://10.0.0.205:1782" +' Else +' 'SERVER = "http://keymon.com.mx:1782" +' 'SERVER = "http://201.99.139.28:1782" +' 'SERVER = "http://177.244.63.54:1782" + '' Starter.DBReqServer = "http://187.189.244.154:1782" + '' SERVER = "http://10.0.0.205:1782" +' reqManager.Initialize(Me, Starter.DBReqServer) +' End If +End Sub + +Sub BUSCA_Click + B4XPages.ShowPage("TicketsDia") +End Sub + +Sub b_mapa_Click + Log("mapClic") + B4XPages.GetPage("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 CAT_GIRO") + B4XPages.MainPage.skmt.ExecNonQuery("delete from CLIENTE_NUEVO") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM GEOCERCA") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM ATIENDE") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM GIROS_ACTUAL") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM COORDS_ALMACEN") + B4XPages.MainPage.skmt.ExecNonQuery("delete from COORDENADAS") + B4XPages.MainPage.skmt.ExecNonQuery("delete from PICKCIEGO_HECHO") + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente") + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido") + B4XPages.MainPage.skmt.ExecNonQuery("delete from PAGARES") + B4XPages.MainPage.skmt.ExecNonQuery("delete from noventa") + B4XPages.MainPage.skmt.ExecNonQuery("delete from clie_act") + B4XPages.MainPage.skmt.ExecNonQuery("delete from kmt_info") + B4XPages.MainPage.skmt.ExecNonQuery("delete from kmt_info2") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod2") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod3") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod4") + B4XPages.MainPage.skmt.ExecNonQuery("delete from CAT_DETALLES_PAQ") + B4XPages.MainPage.skmt.ExecNonQuery("delete from HIST_VENTAS") + B4XPages.MainPage.skmt.ExecNonQuery("delete from HIST_VERIFICACION") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM HIST_ENCUESTA") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM HIST_STAY_OUT") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM HIST_GPS") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM HIST_FACE") + B4XPages.MainPage.skmt.ExecNonQuery("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM HIST_CODIGO_BARRAS") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM ABONOSP") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM ABONOS") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM PICK_CIEGO") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM RUTA_SUPLENCIA") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM RUTAA") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM CLIENTES_NUEVOS") + Starter.skmt.ExecNonQuery("DELETE FROM TABULADOR_MONEDAS") + Starter.skmt.ExecNonQuery("DELETE FROM TABULADOR_BILLETES") + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM ENV_MONTO_LIQ") + B4XPage_Appear + l_rutasuplencia.Visible = False + Label22.Visible = False + l_rutasuplencia.Text = "" + End If + End If + If e_ruta.Text = "IWL" Then + ' trabajar.Visible = False + NUEVO.Visible =False + BUSCA.Visible=False + connecta.Visible=False + img3.Visible =True + Resumen.Visible= False + End If + If e_ruta.Text = "SUPLENCIA" Then + E_RUTA2.Visible = True + Panel11.Visible = True +' ImageView9.Visible = True + e_ruta.Text= "" + End If +End Sub + +Sub inv_Click + img2.Visible =True + EJECUTANDO = 1 + inve = 1 + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod2") + B4XPages.MainPage.skmt.ExecNonQuery("delete from CAT_DETALLES_PAQ") + c=B4XPages.MainPage.skmt.ExecQuery("select usuario from usuarioa") + c.Position = 0 + usuario = c.GetString("USUARIO") + c.Close + cmd.Initialize + cmd.Name = "select_cat_gunaprod_SHARK2" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "gunaprod") + cmd.Initialize + cmd.Name = "select_cat_paquetes_SHARK2" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "gunaprodp") + + cmd.Initialize + cmd.Name = "select_cat_detallepa_SHARK2" + cmd.Parameters = Array As Object(ALMACEN) + reqManager.ExecuteQuery(cmd , 0, "detallepaq") + + cargar.Visible = False + Subir.Visible = False + connecta.Visible = True + inv.Visible = False + 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_SHARK2" + cmd.Parameters = Array As Object(ALMACEN,l_ruta.text) + reqManager.ExecuteQuery(cmd , 0, "valida_pedido") + + cmd.Initialize + cmd.Name = "select_cuantos_noventa_SHARK2" + cmd.Parameters = Array As Object(ALMACEN,l_ruta.text) + reqManager.ExecuteQuery(cmd , 0, "valida_noventa") + + cmd.Initialize + cmd.Name = "select_cuantos_pedidoc_SHARK2" + cmd.Parameters = Array As Object(ALMACEN,l_ruta.text) + reqManager.ExecuteQuery(cmd , 0, "valida_pedidoc") + + If PB2.Progress = 0 Then + S_CP.Text = "ENVIAR DATOS (K-1)" + End If + img2.Visible=False + t1.Enabled = False +End Sub + +Sub B_OK_PAS_Click + If CARGA = "SUBIR" And S_CP.Text = "INFO OK" Then + P1.Visible = False + p_mandaInfo.Visible = False + Btn_Ubicar.Visible=True + 'trabajar.Visible = True + NUEVO.Visible =True + BUSCA.Visible=True + connecta.Visible=True + Resumen.Visible= True + img2.Visible=False + Subs.panelVisible(p_principal, 0, 0) + Else If CARGA = "SUBIR" And S_CP.Text = "ERROR" Then + Msgbox("Tiene que subir de nuevo la información","Atención") 'ignore + P1.Visible = False + p_mandaInfo.Visible = False + ' trabajar.Visible = True + NUEVO.Visible =True + BUSCA.Visible=True + connecta.Visible=True + Resumen.Visible= True + img2.Visible=False + Subs.panelVisible(p_principal, 0, 0) + Else if CARGA = "SUBIR" And S_CP.Text <> "INFO OK" Then + RES = Msgbox2("Seguro que desea abortar el proceso","Cierre", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore + If RES = DialogResponse.POSITIVE Then + P1.Visible = False +' trabajar.Visible = True + NUEVO.Visible =True + BUSCA.Visible=True + connecta.Visible=True + Resumen.Visible= True + img2.Visible=False + Subs.panelVisible(p_principal, 0, 0) + ExitApplication + End If + End If + If CARGA = "CARGAR" And S_CP.Text = "LISTO" And S_CC.Text = "LISTO" And S_CH.Text = "LISTO" Then + P1.Visible = False + p_mandaInfo.Visible = False + p_mandaInfo.Visible = False + Btn_Ubicar.Visible=True + 'trabajar.Visible = True + NUEVO.Visible =True + BUSCA.Visible=True + connecta.Visible=True + Resumen.Visible= True + img2.Visible=False + Subs.panelVisible(p_principal, 0, 0) + + Dim cn As Cursor = Starter.skmt.ExecQuery("SELECT * FROM CLIENTES_NUEVOS") + If cn.RowCount > 0 Then + For gh = 0 To cn.RowCount -1 + cn.Position = gh + 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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?) ", Array As Object (cn.GetString("CN_ID"),cn.GetString("CN_RUTA"), cn.GetString("CN_NOMBRE"),"null","null","null","null","null","null","null","null","null","null","null","null","null",cn.GetString("CN_LON"),cn.GetString("CN_LAT"), cn.GetString("CN_GIRO"))) + Next + End If + + If E_RUTA2.Text <> "" Then + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO RUTA_SUPLENCIA(RS_RUTA) VALUES(?)",Array As String(E_RUTA2.Text)) + End If + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES(?)",Array As String(e_ruta.Text)) + checaPedido + + Dim c12 As Cursor = Starter.skmt.ExecQuery("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'PREVENTA'") + If c12.RowCount > 0 Then + For i = 0 To c12.RowCount - 1 + c12.Position = i + Starter.skmt.ExecNonQuery($"UPDATE CAT_GUNAPROD SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - ${c12.GetString("PE_CANT")} WHERE CAT_GP_ID = '${c12.GetString("PE_PROID")}'"$) + Next + End If + c12.Close + + Dim c13 As Cursor = Starter.skmt.ExecQuery("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'VENTA'") + If c13.RowCount > 0 Then + For i = 0 To c13.RowCount - 1 + c13.Position = i + Starter.skmt.ExecNonQuery($"UPDATE CAT_GUNAPROD2 SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - ${c13.GetString("PE_CANT")} WHERE CAT_GP_ID = '${c13.GetString("PE_PROID")}'"$) + Next + End If + c13.Close + + B4XPage_Appear + Else if CARGA = "CARGAR" And (S_CP.Text <> "LISTO" Or S_CC.Text <> "LISTO" Or S_CH.Text <> "LISTO") Then + RES = Msgbox2("Seguro que desea abortar el proceso","Cierre", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore + If RES = DialogResponse.POSITIVE Then + P1.Visible = False + p_mandaInfo.Visible = False +' trabajar.Visible = True + NUEVO.Visible =True + BUSCA.Visible=True + connecta.Visible=True + Resumen.Visible= True + img2.Visible=False + Subs.panelVisible(p_principal, 0, 0) + B4XPages.MainPage.skmt.ExecNonQuery("delete from kmt_info") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cod_result") + B4XPages.MainPage.skmt.ExecNonQuery("delete from hist_gest") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod2") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod3") + B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod4") + B4XPages.MainPage.skmt.ExecNonQuery("delete from CAT_DETALLES_PAQ") + B4XPages.MainPage.skmt.ExecNonQuery("delete from telefonos") + B4XPages.MainPage.skmt.ExecNonQuery("delete from HIST_VENTAS") + B4XPages.MainPage.skmt.ExecNonQuery("delete from HIST_PROMOS") + B4XPages.MainPage.skmt.ExecNonQuery("delete from HIST_CLIENTE_CANT_PROMOS") + B4XPages.MainPage.skmt.ExecNonQuery("delete from PROMOS_COMP") + B4XPages.MainPage.skmt.ExecNonQuery("delete from CAT_VERIFICACION") + ExitApplication + End If + End If +End Sub + +Sub NUEVO_Click + + ' Verificar si el punto está dentro del polígono + + Dim mPoint As LatLng + mPoint.Initialize(B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps) + +' If lista_punta.Size > 0 Then +' Dim dentro As Boolean = PointInPolygon(mPoint, lista_punta) +' +' If dentro Then +' ToastMessageShow("El punto está DENTRO del polígono", True) + B4XPages.ShowPage("NuevoCliente") +' Else +' ToastMessageShow("El punto está FUERA del polígono", True) +' End If +' End If + +End Sub + +Sub B_OK_RES_Click + ' trabajar.Visible = True + NUEVO.Visible =True + BUSCA.Visible=True + connecta.Visible=True + Resumen.Visible= True + P_RESUMEN.Visible=False + Panel4.Visible = False + SCROLL_RESDIA.Visible = False + Btn_Ubicar.Visible=True + p_principal.Visible = True +End Sub + +Sub Resumen_Click + P_RESUMEN.Visible = True + +' NUEVO.Visible =False +' BUSCA.Visible=False +' connecta.Visible=False +' Subir.Visible=False +' cargar.Visible=False +' Resumen.Visible= False +End Sub + +Sub P_RESUMEN_click + +End Sub + +Sub CARGA_Click + B4XPages.ShowPage("Productos") +End Sub + +Sub resdia_Click + p_principal.Visible = False + Btn_Ubicar.Visible=False + SCROLL_RESDIA.Visible = True + SCROLL_RESDIA.Panel.LoadLayout("RESDIA") + SCROLL_RESDIA.Panel.Height = Panel4.Height + Panel4.Visible = True + + NUEVO.Visible =False + BUSCA.Visible=False + connecta.Visible=False + Subir.Visible=False + cargar.Visible=False + Resumen.Visible= False + + d=B4XPages.MainPage.skmt.ExecQuery2("select COUNT(*) AS CUANTOS FROM HIST_ENCUESTA WHERE HE_TIPO = ?", Array As String("TELEFONO")) + d.Position = 0 + l_encuesta.Text = d.GetString("CUANTOS") + d.Close + + L_MARCAS.CLEAR + d=B4XPages.MainPage.skmt.ExecQuery2("select distinct HE_CLIE AS CLIENTE FROM HIST_ENCUESTA WHERE HE_TIPO = ?", Array As String("TELEFONO")) + If D.RowCount>0 Then + For i=0 To D.RowCount -1 + D.Position=i + c=B4XPages.MainPage.skmt.ExecQuery2("Select HE_RES from HIST_ENCUESTA where HE_CLIE = ? AND HE_TIPO = ?", Array As String(d.GetString("CLIENTE"), "TELEFONO")) + c.Position = 0 + Dim label1 As Label + label1 = L_MARCAS.TwoLinesLayout.Label + label1.TextSize = 13 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = L_MARCAS.TwoLinesLayout.SecondLabel + label2.TextSize = 13 + label2.TextColor = Colors.Black + L_MARCAS.AddTwoLines(d.GetString("CLIENTE"),"TELEFONO :" & c.GetString("HE_RES") ) + c.Close + Next + End If + d.Close + + c=B4XPages.MainPage.skmt.ExecQuery2("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPO = ? )", Array As String("RTEC")) + c.Position = 0 + l_monto_k.Text = c.GetString("MONTO_DIA") + If l_monto_k.Text = "null" Then + l_monto_k.Text = "0" + End If + c.Close + + c=B4XPages.MainPage.skmt.ExecQuery2("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPO = ? )", Array As String("PING")) + c.Position = 0 + l_monto_kp.Text = c.GetString("MONTO_DIA") + If l_monto_kp.Text = "null" Then + l_monto_kp.Text = "0" + End If + c.Close + +' c=skmt.ExecQuery2("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPO = ? )", Array As String("SALTY SNACKS")) +' c.Position = 0 +' l_monto_ks.Text = c.GetString("MONTO_DIA") +' If l_monto_ks.Text = "null" Then +' l_monto_ks.Text = "0" +' End If + ' +' c.Close + c=B4XPages.MainPage.skmt.ExecQuery("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 ") + c.Position = 0 + l_monto_ks.Text = Subs.traeTotalCliente + + If l_monto_ks.Text = "null" Then + l_monto_ks.Text = "0" + End If + c.Close + c=B4XPages.MainPage.skmt.ExecQuery2("Select sum(PE_COSTO_TOT) As PREVENTA from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0", Array As String ("PREVENTA")) + If c.RowCount > 0 Then + c.Position = 0 + L_PREVENTA.Text = Subs.traeTotalClientepreventa + If L_PREVENTA.TEXT = "null" Then + L_PREVENTA.Text = "0" + End If + End If + c.Close + c=B4XPages.MainPage.skmt.ExecQuery2("Select sum(PE_COSTO_TOT) As VENTA from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0", Array As String ("VENTA")) + If c.RowCount > 0 Then + c.Position = 0 + L_VENTA.Text = Subs.traeTotalClienteventa + If L_VENTA.TEXT = "null" Then + L_VENTA.Text = "0" + End If + End If + c.Close + c=B4XPages.MainPage.skmt.ExecQuery2("Select sum(PE_COSTO_TOT) As ABORDO from pedido where PE_FOLIO = ? AND PE_CLIENTE = ?", Array As String ("ABORDO", "0")) + If c.RowCount > 0 Then + c.Position = 0 + L_ABORDO.Text = Subs.traeTotalClienteabordo + If L_ABORDO.TEXT = "null" Then + L_ABORDO.Text = "0" + End If + End If + c.Close + Dim cuantos_obj As String + c=B4XPages.MainPage.skmt.ExecQuery("Select count(*) AS TOTAL from HIST_MARCAS_CUOTAS ") + c.Position = 0 + cuantos_obj = c.GetString("TOTAL") + c.Close + + If cuantos_obj > 0 Then + c=B4XPages.MainPage.skmt.ExecQuery("Select SUM( HMC_TOTAL) AS TOTAL from HIST_MARCAS_CUOTAS ") + c.Position = 0 + L_NES.Text = c.GetString("TOTAL") + c.Close + End If + L_REAL.Text = l_monto_ks.Text + L_ALCANCE.Text = Round2((L_NES.Text / L_REAL.Text + 1),2) + L_VPLAN.Text = l_porvisitar.Text + L_VREAL.Text = L_CUANTOST.text + L_EFEC_VIS.Text = Round2(L_VREAL.text / L_VPLAN.Text,2) + L_VISITCC.Text = l_cuantosc.text + L_EFEC_PV.Text = Round2(L_VISITCC.Text / L_VREAL.Text,2) + L_EFEC_PURA.Text = Round2(L_VISITCC.Text / L_VPLAN.Text,2) + L_LIN_TICK.Text = LPT + If l_monto_ks.Text <> "0" Then + + c=B4XPages.MainPage.skmt.ExecQuery2("Select COUNT(DISTINCT(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = ? ", Array As String(ALMACEN)) + c.Position = 0 + L_CTE_PROMO.Text = c.GetString("CUANTOS") + c.Close + d=B4XPages.MainPage.skmt.ExecQuery2("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPOPROD = ?) ", Array As String("PRIORITARIO")) + d.Position = 0 + '/////////////////////////////////////////////////////////////////////////////// + '//////////////////////////// ULTIMA LINEA ANTES DEL ERROR ////////////////// + '////////// java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference + ' + '/// Al parecer d.GetString("MONTO_DIA") regresa null y la funcion numberFormat truena + '///////////////////////////////////////////////////////////////////////////////// + Log("|"&d.GetString("MONTO_DIA")&"|") + 'L_PRIO.Text = NumberFormat(d.GetString("MONTO_DIA"),0,2) + L_PRIO.Text = d.GetString("MONTO_DIA") + d.Close + + d=B4XPages.MainPage.skmt.ExecQuery2("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPOPROD = ?) ", Array As String("ESTRATEGICO")) + d.Position = 0 + L_SECUND.Text =d.GetString("MONTO_DIA") + d.Close + + d=B4XPages.MainPage.skmt.ExecQuery2("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPOPROD = ?) ", Array As String("COMPLEMENTARIO")) + d.Position = 0 + L_COMP.Text =d.GetString("MONTO_DIA") + d.Close + Else + L_PRIO.Text = "0" + L_SECUND.Text = "0" + L_COMP.Text = "0" + End If + + c=B4XPages.MainPage.skmt.ExecQuery("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID ") + c.Position = 0 + If c.GetString("CUANTOS") > 0 Then + d=B4XPages.MainPage.skmt.ExecQuery("Select sum(pe_cant) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID ") + d.Position = 0 + L_CTE_PROMO.Text = d.GetString("CUANTOS") + d.Close + L_REDEN_PROMO.TEXT = Round2(L_VISITCC.Text / L_CTE_PROMO.Text,2) + Else + L_CTE_PROMO.Text = 0 + L_REDEN_PROMO.Text = 0 + End If + c.Close + d=B4XPages.MainPage.skmt.ExecQuery("Select COUNT(*) AS CUANTOS FROM PEDIDO ") + d.Position = 0 + L_LIN_TICK.Text = Round2(d.GetString("CUANTOS") / L_VISITCC.Text,2) + d.Close + + d=B4XPages.MainPage.skmt.ExecQuery("Select count(*) as CUANTOS from HIST_CUOTAS ") + d.Position = 0 + If d.GetString("CUANTOS") > 0 Then + ' c=skmt.ExecQuery("Select HC_CUOTA1,HC_CUOTA2,HC_CUOTA3 from HIST_CUOTAS ") + ' c.Position = 0 + ' l_monto_c1.Text = Round( c.GetString("HC_CUOTA1") / 6) + ' l_monto_c2.Text = Round(c.GetString("HC_CUOTA2") / 6) + ' l_monto_c3.Text = Round(c.GetString("HC_CUOTA3") / 6) + ' c.Close + Else + l_monto_c1.Text = 4000 + l_monto_c2.Text = 2000 + l_monto_c3.Text = 1000 + End If + d.Close +End Sub + +Sub hacer_ped_Click + B4XPages.ShowPage("Clientes") +End Sub + +Sub nvo_cliente_Click + ' Verificar si el punto está dentro del polígono + + Dim mPoint As LatLng + mPoint.Initialize(B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps) + +' If lista_punta.Size > 0 Then +' Dim dentro As Boolean = PointInPolygon(mPoint, lista_punta) +' +' If dentro Then +' ToastMessageShow("El punto está DENTRO del polígono", True) + B4XPages.ShowPage("NuevoCliente") +' Else +' ToastMessageShow("El punto está FUERA del polígono", True) +' End If +' End If +End Sub + +Sub tickets_dia_Click + B4XPages.ShowPage("TicketsDia") +End Sub + +Sub GPS_LocationChanged (Location1 As Location) + +End Sub + +Sub Btn_Ubicar_Click + rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCATION) + Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) + If Result Then + StartActivity(MAPA_RUTAS) + End If +End Sub + +'''''''''''''''''''''''''''''''''''' VALIDAR CARACTERES +Sub e_ruta_TextChanged (Old As String, New As String) + Dim validChars As String ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 " +' Log("Antes: " & Old & " | " & New) + If Old <> "KMTS1" Then +' Log("Desp: " & Old & " | " & New) + Try + If validChars.Contains(New.SubString(New.Length-1)) = False Then + e_ruta.Text = New.SubString2(0, New.Length-1) + e_ruta.SelectionStart = e_ruta.Text.Length + End If + Catch + Log(LastException) + End Try + End If +End Sub + +Sub B_COMM_Click + Btn_Ubicar.Visible=False + SCROLL_RESDIA.Visible = True + SCROLL_RESDIA.Panel.LoadLayout("COMIS") + SCROLL_RESDIA.Panel.Height = Panel_C.Height + Panel4.Visible = False + Panel_C.Visible = True + +' trabajar.Visible = False + NUEVO.Visible =False + BUSCA.Visible=False + connecta.Visible=False + Subir.Visible=False + cargar.Visible=False + Resumen.Visible= False +' +' If l_ruta.Text <> 0 Then +' c=B4XPages.MainPage.skmt.ExecQuery("Select HCM_TOTAL_V , HCM_TOTAL_VIVE , HCM_TOTAL_GUNA , HCM_TOTAL_BEB from HIST_COMISIONES_MOVIL ") +' c.Position = 0 +' L_TOTAL_BA.Text = c.GetString("HCM_TOTAL_BEB") +' L_TOTAL_GUNA.Text = c.GetString("HCM_TOTAL_GUNA") +' L_TOTAL_MM.Text = c.GetString("HCM_TOTAL_V") +' L_TOTAL_VIVE.Text = c.GetString("HCM_TOTAL_VIVE") +' c.Close +' L_TOTAL_COMIS.Text = 0 +' Else +' L_TOTAL_BA.Text = 0 +' L_TOTAL_GUNA.Text = 0 +' L_TOTAL_MM.Text = 0 +' L_TOTAL_VIVE.Text = 0 +' L_TOTAL_COMIS.Text = 0 +' End If +End Sub + +Sub B_OK_COMISS_Click + NUEVO.Visible =True + BUSCA.Visible=True + connecta.Visible=True + Resumen.Visible= True + P_RESUMEN.Visible=False + Panel_C.Visible = False + SCROLL_RESDIA.Visible = False + Btn_Ubicar.Visible=True +End Sub + + +Sub B_MARCAS_Click +' SCROLL_RESDIA.Visible = False +' Panel5.Visible = True +' pnlTitle.Visible = False +' pnlTitle.SetLayoutAnimated(0, 0, 0, CLV1.AsView.Width, TitleHeight + DividerHeight) +' pnlTitle.LoadLayout("CellTitle") +' c=B4XPages.MainPage.skmt.ExecQuery("Select CAT_GP_CLASIF, sum(pe_costo_tot) As total from CATALOGO, pedido where pe_proid = cat_gp_id And pe_cliente <> 0 group by cat_gp_clasif") +' +' CLV1.Clear +' If c.RowCount>0 Then +' For i=0 To c.RowCount -1 +' c.Position=i +' AddTitle(c.GetString("CAT_GP_CLASIF")) +' f=B4XPages.MainPage.skmt.ExecQuery2("select * from HIST_AVANCE where HA_MARCA = ?", Array As String(c.GetString("CAT_GP_CLASIF"))) +' f.Position=0 +' If f.RowCount > 0 Then +' CLV1.AddTextItem("VENTA = $" & f.GetString("HA_AVANCE"),"1") +' CLV1.AddTextItem("META = $" & f.GetString("HA_OBJETIVO"),"1") +' CLV1.AddTextItem("PORCENTAJE = %" & (f.GetString("HA_PORCENTAJE")) ,"1") +' End If +' f.Close +' Next +' End If +' c.Close + + SCROLL_RESDIA.Visible = False + Panel5.Visible = True + pnlTitle.Visible = False + pnlTitle.SetLayoutAnimated(0, 0, 0, CLV1.AsView.Width, TitleHeight + DividerHeight) + pnlTitle.LoadLayout("CellTitle") + c=B4XPages.MainPage.skmt.ExecQuery("Select CAT_GP_CLASIF, SUM(TOTAL) AS TOTAL FROM TOTAL_MARCAS GROUP BY CAT_GP_CLASIF") + CLV1.Clear + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + AddTitle(c.GetString("CAT_GP_CLASIF")) + If c.GetString("CAT_GP_CLASIF") = "PROMOS" Then + d=B4XPages.MainPage.skmt.ExecQuery("SELECT SUM(PE_CANT) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID") + d.Position=0 + CLV1.AddTextItem("CANTIDAD DE PROMOS = " & d.GetString("CUANTOS"),"1") + d.Close + Else + f=B4XPages.MainPage.skmt.ExecQuery2("select COUNT(*) AS CUANTOS from HIST_MARCAS_CUOTAS where HMC_MARCA = ?", Array As String(c.GetString("CAT_GP_CLASIF"))) + f.Position=0 + If f.GetString("CUANTOS") > 0 Then + e=B4XPages.MainPage.skmt.ExecQuery2("select HMC_MARCA, HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA = ?", Array As String(c.GetString("CAT_GP_CLASIF"))) + e.Position=0 + d=B4XPages.MainPage.skmt.ExecQuery2("SELECT count(distinct(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from cat_gunaprod WHERE CAT_GP_CLASIF =?)", Array As String (c.GetString("CAT_GP_CLASIF"))) + d.Position=0 + CLV1.AddTextItem("TOTAL PREVENTA = $" & c.GetString("TOTAL"),"1") + CLV1.AddTextItem("M E T A = $" & e.GetString("HMC_TOTAL"),"1") + CLV1.AddTextItem("FALTA = $" & (e.GetString("HMC_TOTAL") - c.GetString("TOTAL")) ,"1") + CLV1.AddTextItem("CLIENTES = " & d.GetString("CUANTOS"),"1") + d.Close + e.Close + Else + d=B4XPages.MainPage.skmt.ExecQuery2("SELECT count(distinct(pe_cliente)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from cat_gunaprod WHERE CAT_GP_CLASIF =?)", Array As String (c.GetString("CAT_GP_CLASIF"))) + d.Position=0 + CLV1.AddTextItem("TOTAL PREVENTA = $" & c.GetString("TOTAL"),"1") + CLV1.AddTextItem("M E T A = $" & "1000","1") + CLV1.AddTextItem("FALTA = $" & (1000 - c.GetString("TOTAL")) ,"1") + CLV1.AddTextItem("CLIENTES = " & d.GetString("CUANTOS"),"1") + d.Close + End If + f.Close + End If + Next + End If + c.Close + c=B4XPages.MainPage.skmt.ExecQuery("Select HMC_MARCA, HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA not in (SELECT CAT_GP_CLASIF FROM TOTAL_MARCAS )") + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + AddTitle(c.GetString("HMC_MARCA")) + CLV1.AddTextItem("TOTAL PREVENTA = $ 0.00","1") + CLV1.AddTextItem("M E T A = $" & C.GetString("HMC_TOTAL"),"1") + CLV1.AddTextItem("CLIENTES = 0","1") + Next + End If + c.Close + + +End Sub + +Sub AddTitle (Title As String) + Dim p_MARCAS As B4XView = xui.CreatePanel("") + p_MARCAS.SetLayoutAnimated(0, 0, 0, CLV1.AsView.Width, TitleHeight) + p_MARCAS.LoadLayout("CellTitle") + lblTitle.Text = Title + Dim td As TitleData + td.Title = Title + CLV1.Add(p_MARCAS, td) +End Sub + +Sub B_OK_PANEL5_Click + Panel5.Visible = False + NUEVO.Visible =True + BUSCA.Visible=True + connecta.Visible=True + Resumen.Visible= True + P_RESUMEN.Visible=False + Panel4.Visible=False + SCROLL_RESDIA.Visible = False + Btn_Ubicar.Visible=True + p_principal.Visible = True + +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Private Sub p_mandaInfo_Click + +End Sub + +Private Sub iv_abordo_Click + Starter.skmt.ExecNonQuery("delete from CUENTAA") + Starter.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object("0")) + B4XPages.MainPage.tipo_venta = "ABORDO" + B4XPages.ShowPage("Productos") +End Sub + +Sub checaPedido + Starter.skmt.ExecNonQuery("Update kmt_info set gestion = 0") + Private c As Cursor = Starter.skmt.ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE") + If c.RowCount > 0 Then + Starter.skmt.ExecNonQuery("Update kmt_info set gestion = 2 WHERE CAT_CL_CODIGO IN (SELECT PC_CLIENTE FROM PEDIDO_CLIENTE)") + 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)") + End If + + Private coord As Cursor = Starter.skmt.ExecQuery("SELECT * FROM COORDENADAS") + If coord.RowCount > 0 Then + For cor = 0 To coord.RowCount -1 + coord.Position = cor + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE kmt_info set CAT_CL_LONG = ?, CAT_CL_LAT =?, CAT_CL_BCOORDENADAS = ? where CAT_CL_CODIGO = ?", Array As Object(coord.GetString("LAT"), coord.GetString("LONG"),(coord.GetInt("CANTIDAD")+1),coord.GetString("CLIENTE"))) + Next + End If + + Private coord As Cursor = Starter.skmt.ExecQuery("SELECT * FROM ATIENDE") + If coord.RowCount > 0 Then + For cor = 0 To coord.RowCount -1 + coord.Position = cor + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE kmt_info set CAT_CL_ATIENDE1 = ? where CAT_CL_CODIGO = ?", Array As Object(coord.GetString("ATIENDE"),coord.GetString("CLIENTE"))) + Next + End If + + Private coord As Cursor = Starter.skmt.ExecQuery("SELECT * FROM GIROS_ACTUAL") + If coord.RowCount > 0 Then + For cor = 0 To coord.RowCount -1 + coord.Position = cor + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE kmt_info set CAT_CL_GIRO = ? where CAT_CL_CODIGO = ?", Array As Object(coord.GetString("GIRO"), coord.GetString("CLIENTE"))) + Next + End If +End Sub + +Private Sub b_tabulador_Click + B4XPages.ShowPage("tabulador") +End Sub + +Private Sub btnCobranza_Click + Log("Entrando al Panel de Cobranza") + + pnlCobranza.Width = Root.Width + pnlCobranza.Height = Root.Height + pnlCobranza.Left = 0 + pnlCobranza.Top = 0 + pnlCobranza.BringToFront + pnlCobranza.Visible = True + pnlTotal.Visible = True + Dim ct As Cursor = B4XPages.MainPage.skmt.ExecQuery($"SELECT IFNULL(sum(IFNULL(a.a_abono,0)),0) as suma_abono FROM kmt_info2 ki LEFT JOIN ABONOSP ap ON ki.CAT_CL_CODIGO = ap.CLIENTE LEFT JOIN ABONOS a ON ki.CAT_CL_CODIGO = a.a_cliente WHERE CAST(ap.SALDO_PENDIENTE AS REAL) > 0"$) + ct.Position = 0 + If ct.RowCount > 0 Then + lblTotal.Text = "El total abonado es: $" & ct.getString("suma_abono") + End If + lblVersion.Text = Application.VersionName + ct.Close + CargarDatosCobranza +End Sub + +Private Sub CargarDatosCobranza + For i = pnlCobranza.NumberOfViews - 1 To 0 Step -1 + Dim v As View = pnlCobranza.GetView(i) + If v Is Label Then + Dim lbl As Label = v + If lbl.Text = "No hay cuentas por cobrar" Then + pnlCobranza.RemoveViewAt(i) + End If + End If + Next + c = B4XPages.MainPage.skmt.ExecQuery($"SELECT ROW_NUMBER() OVER (ORDER BY ki.CAT_CL_NOMBRE) AS Secuencia, ki.CAT_CL_CODIGO, ki.CAT_CL_NOMBRE, ap.SALDO_PENDIENTE, IFNULL(a.a_abono,0) as a_abono FROM kmt_info2 ki LEFT JOIN ABONOSP ap ON ki.CAT_CL_CODIGO = ap.CLIENTE LEFT JOIN ABONOS a ON ki.CAT_CL_CODIGO = a.a_cliente WHERE CAST(ap.SALDO_PENDIENTE AS REAL) > 0"$) + Log("Número de registros: " & c.RowCount) + + clvCobranza.Clear + + For i = 0 To c.RowCount - 1 + c.Position = i + + Dim pItem As B4XView = xui.CreatePanel("") + pItem.LoadLayout("C_CuentasXCobrar") + pItem.SetLayoutAnimated(0, 0, 0, Root.Width, 100dip) + pItem.Color = Colors.White + + pnlContenedorCobranza.SetLayoutAnimated(0, 0, 0, pItem.Width, pItem.Height) + pnlContenedorCobranza.Color = xui.Color_Transparent + + l_Secuencia.Text = c.GetString("Secuencia") + + ' Manejo seguro del nombre + Dim codigo As String = c.GetString("CAT_CL_CODIGO") + Dim nombre As String = c.GetString("CAT_CL_NOMBRE") + If codigo = Null Then codigo = "" + If nombre = Null Then nombre = "" + l_Nombre.SingleLine = False + l_Nombre.Text = codigo & " " & nombre + + l_CuentaXCobrar.Text = "$" & NumberFormat(c.GetDouble("SALDO_PENDIENTE"), 1, 2) + l_Abono.Text = "$" & NumberFormat(c.GetDouble("a_abono"), 1, 2) + + clvCobranza.Add(pItem, "Item-" & i) + Next + + c.Close + pnlCobranza.Invalidate + + If c.RowCount = 0 Then + Dim lblEmpty As Label + lblEmpty.Initialize("") + lblEmpty.Text = "No hay cuentas por cobrar" + lblEmpty.TextSize = 16 + lblEmpty.TextColor = Colors.Gray + lblEmpty.Gravity = Gravity.CENTER + pnlCobranza.AddView(lblEmpty, 0, 100dip, Root.Width, 50dip) + End If +End Sub + +Private Sub btnRegresar_Click + pnlCobranza.Visible = False +End Sub + +Private Sub pnlCobranza_Click + +End Sub + +'Private Sub clvCobranza_ItemClick (Index As Int, Value As Object) +' Dim CodigoCliente As Cursor = Value +' CodigoCliente = B4XPages.MainPage.skmt.ExecQuery($"SELECT ROW_NUMBER() OVER (ORDER BY ki.CAT_CL_NOMBRE) AS Secuencia, ki.CAT_CL_NOMBRE, ap.SALDO_PENDIENTE, IFNULL(a.a_abono,0) as a_abono FROM kmt_info2 ki LEFT JOIN ABONOSP ap ON ki.CAT_CL_CODIGO = ap.CLIENTE LEFT JOIN ABONOS a ON ki.CAT_CL_CODIGO = a.a_cliente WHERE CAST(ap.SALDO_PENDIENTE AS REAL) > 0"$) +' B4XPages.ShowPage("cliente") +'End Sub + +Private Sub b_regreso_Click + p_prod.Visible = False +End Sub + +Private Sub p_prod_Click + +End Sub + +Private Sub b_productos_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) / 2 + b_regreso.Top = p_prod.Height - b_regreso.Height + + p_prod.Visible = True + p_prod.BringToFront + + + Private c As Cursor = Starter.skmt.ExecQuery("select CAT_GP_NOMBRE AS HVD_PRONOMBRE, IFNULL(cat_gp_almacen, 0) AS HVD_RECHAZOCANT from CAT_GUNAPROD2 WHERE CAT_GP_TIPO <> 'PROMOS' AND CAT_GP_SUBTIPO <> 'PROMOS' order by CAT_GP_NOMBRE 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 + + + + itemText = $"${c.GetString("HVD_PRONOMBRE")} ${CRLF} ${CRLF}Cantidad: ${(c.GetDouble("HVD_RECHAZOCANT"))}"$ + lv_prod_Prin.AddSingleLine(itemText) + + + Next + Else + lv_prod_Prin.AddSingleLine("No hay datos disponibles.") + End If + c.Close + +End Sub diff --git a/B4A/C_Productos.bas b/B4A/C_Productos.bas new file mode 100644 index 0000000..c96d755 --- /dev/null +++ b/B4A/C_Productos.bas @@ -0,0 +1,2734 @@ +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 ruta As String + Dim q_buscar As String + Dim forzarBusqueda As Boolean = False + Dim skmt As SQL + Dim c As Cursor + Dim c2 As Cursor + Dim C3 As Cursor + Dim s As Cursor + Dim lv_catalogos As ListView + Dim lv_promos As ListView + Dim entro As String + Dim gest As Button + Dim lfila As Label + Dim marca As String + Dim tipo As String + Dim subtipo As String + Private BUSCA As EditText + Dim ya_entro As String + Dim TIENE_PROMOS As String + Dim RES As String + Dim S1 As Cursor + Dim bmp As Bitmap + Dim ciclo As String + Private b_qr As Button + Private p_productos As Panel + Dim clv_productos As CustomListView + Private ImageView1 As ImageView + Private Panel3 As Panel + Private p_prods As Panel + Private i_prod As ImageView + Private l_prodX As Label + Private b_prodMas As Button + Private l_pCant As Label + Private et_pCant As EditText + Private b_prodMenos As Button + Dim b_terminar1 As Button + Dim b_continuar As Button + Private l_total As Label + Private l_totProds As Label + Dim totalProds As Int = 0 + Dim totalCompra As Float = 0 + Dim etCantHasFocus As Boolean = False + Dim prodsMap As Map + Private l_Cargando As Label + Private l_info As Label + Private b_buscar As Button + Private p_botonesVenta As Panel + Private lv_tipo As ListView + Private lv_subtipo As ListView + Private p_vistaPreviaTrans As Panel + Private lv_prodsPedido As ListView + Private b_rechazar As Button + Private b_aceptar As Button + Private p_vistaPrevia As Panel + Dim folio As String + Dim result As String + Private l_cant As Label + Private l_total2 As Label + Dim prodsPedidoActual As String + Dim montoPedidoActual As String + Dim clv_prods_ll As CustomListView + Private PCLV As PreoptimizedCLV + Dim listaProds As List + ' Type AirportData (Name As String, AirportID As Int, IATA As String, ICAO As String, City As String, Latitude As Float, Longitude As Float, Altitude As String) + Dim pedidoMap As Map + Private p_botMasMen As Panel + Dim reiniciarlistaProds As Boolean= False + ' Dim listaRenglones As List + Dim listaTiempos As List + Dim clienteId As String + Dim rutaUsuario As String + Dim hayPedido As Boolean + Dim listaHints As List + Dim r As Cursor + Dim vamoaver As List + Dim j3 As Cursor + Dim invTotal As Int + Private et_pCantc As EditText + Private b_prodMenosc As Button + Private b_prodMasc As Button + Dim totalcajasmaspiezas As Int + Dim cajas As Int + Dim piezas As Int + Private p_botMasMenc As Panel + + ' Este valor debe venir de la configuración del cliente que seleccionaste + Dim tipoClienteActual As String = "DETALLE" + Dim cantsMap As Map +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 + ' Activity.RemoveAllViews + Root.LoadLayout("productos") + ruta = File.DirInternal + If File.Exists(ruta, "kmt.db") = False Then + File.Copy(File.DirAssets, "kmt.db", ruta, "kmt.db") + End If + PCLV.Initialize(Me, "PCLV", clv_prods_ll) + ciclo = 1 + l_info.Width = Root.Width * 0.8 + l_info.Left = (Root.Width/2) - (l_info.Width/2) + c = B4XPages.MainPage.skmt.ExecQuery("select distinct CAT_GP_TIPO from cat_gunaprod where CAT_GP_TIPO <> 'PROMOS' order by CAT_GP_TIPO") + If c.RowCount > 0 Then + Dim label1 As Label + label1 = lv_tipo.SingleLineLayout.Label + label1.TextSize = 17 + label1.TextColor = Colors.Black + lv_tipo.Clear + For i=0 To c.RowCount-1 + c.Position=i + Log("ENTRE AQUI EN PROMOS create") + lv_tipo.AddSingleLine(c.GetString("CAT_GP_TIPO")) + Next + End If + c.Close + ' llenaCatalogo(False) + ' listaRenglones.Initialize + listaTiempos.Initialize + listaProds.Initialize + pedidoMap.Initialize + listaHints.Initialize + ' Log("Llamamos LlenaProdsLL") + ' LlenaProdsLL(Null) + clv_prods_ll.Clear + prodsMap.Initialize +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub B4XPage_Appear + Log(Subs.traeTipoCliente2) + tipoClienteActual = Subs.traeTipoCliente2 + Log(B4XPages.MainPage.tipo_venta) + If B4XPages.MainPage.tipo_venta = "PREVENTA_CONTADO" Or B4XPages.MainPage.tipo_venta = "ABORDO" Then + Starter.tabla = "CAT_GUNAPROD" + Log("1") + Else If B4XPages.MainPage.tipo_venta = "VENTA" Then + Starter.tabla = "CAT_GUNAPROD2" + Log(2) + Else If B4XPages.MainPage.tipo_venta = "RECARGA" Then + Starter.tabla = "CAT_GUNAPROD" + Log(3) + Else If B4XPages.MainPage.tipo_venta = "PREVENTA_CREDITO" Then + Starter.tabla = "CAT_GUNAPROD4" + Log(4) + End If + Log(Starter.tabla) + clienteId = Subs.traeCliente + rutaUsuario = Subs.traeRuta(Subs.traeCliente) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",Array As Object("PRIORITARIO","1")) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",Array As Object("ESTRATEGICO","2")) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",Array As Object("COMPLEMENTARIO","3")) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",Array As Object("CATALOGO REGULAR","0")) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_CLASIF = (?) ",Array As Object("PROMOS","PROMOS")) + clv_prods_ll.GetBase.SetLayoutAnimated(0, 5dip, 130dip, Root.Width + 10, Root.Height * 0.74) 'Cambiamos el tamaño y posición de la lista de productos + clv_prods_ll.Base_Resize(clv_prods_ll.GetBase.Width, clv_prods_ll.GetBase.Height) 'Cambiamos el tamaño del panel interno de la lista para que ajuste al nuevo tamaño. + If B4XPages.MainPage.bTerminarClicked Then + lv_catalogos.Visible = True + lv_promos.Visible = False + lv_tipo.Visible = False + lv_subtipo.Visible = False + clv_prods_ll.AsView.Visible = False + B4XPages.MainPage.bTerminarClicked = False + End If + If ya_entro <> "1" Then + If BUSCA.Text <> "" Then BUSCA.Text ="" + entro ="3" + lv_catalogos.Clear + Sleep(100) + lfila.Text = "CATALOGOS" + p_productos.Height = Root.Height + clv_prods_ll.AsView.Visible = False + lv_catalogos.Visible = True + p_botonesVenta.Visible = False + p_botonesVenta.Top = clv_prods_ll.AsView.top + clv_prods_ll.AsView.Height - 10 + lv_promos.Visible = False + End If + Dim label1 As Label + label1 = lv_catalogos.SingleLineLayout.Label + label1.TextSize = 17 + label1.TextColor = Colors.Black + lv_catalogos.Clear + lv_catalogos.AddSingleLine("CATALOGO") + ' c = B4XPages.MainPage.skmt.ExecQuery($"select count(*) as hayPromos from ${Starter.tabla} where CAT_GP_TIPOPROD = 'PROMOS'"$) + c = B4XPages.MainPage.skmt.ExecQuery($"select count(*) as hayPromos from ${Starter.tabla} where CAT_GP_TIPO = 'PROMOS'"$) + c.Position = 0 + c = B4XPages.MainPage.skmt.ExecQuery($"SELECT CUENTA FROM CUENTAA"$) + c.Position = 0 + If c.GetString("CUENTA") <> "0" And c.GetString("CUENTA") <> "1" Then + c2=B4XPages.MainPage.skmt.ExecQuery2($"select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO1, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from ${Starter.tabla} where CAT_GP_PRECIO1 > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"$, Array As String("PROMOS", "PROMOS")) +' LogColor($"select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from ${Starter.tabla} where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"$,Colors.Cyan) 'Isaac + ' Log($"res:${c2.RowCount}, ${Value}, ${marca}, ${tipo}"$) + Private hayPromos As Boolean = False + If c2.RowCount > 0 Then + Log("Esto es un conteo --->"&c2.RowCount) 'Isaac + For i = 0 To c2.RowCount - 1 + c2.Position = i + Log("Esto es i----->" & i) 'Isaac + Private tm As Map = Subs.procesaPromocion(c2.GetString("CAT_GP_ID"), clienteId) + + ' Verificar si tm es null antes de acceder a sus valores + If tm <> Null Then + If tm.Get("status") = "ok" Then 'Solo muestrala si hay producto. + hayPromos = True + End If + Else + Log("El Map devuelto por procesaPromocion es null") + End If + Next + If hayPromos Then lv_catalogos.AddSingleLine("PROMOS") + Else + Log("NO HAY PROMOS") + End If + c2.Close + End If + Sleep(100) + l_total.Visible = False + l_totProds.Visible = False + l_total.Left = 5dip + l_totProds.Width = Root.Width * 0.19 + l_total.Left = l_totProds.Width + 20 + l_total.Width = Root.Width * 0.25 + ' Log(Subs.traeTotalesClienteActual) + Dim m As Map = Subs.traeTotalesClienteActual + prodsPedidoActual = m.Get("productos") + montoPedidoActual = m.Get("monto") + hayPedido = Subs.hayPedido + ' LogColor("Pedido ant? - "&hayPedido, Colors.Magenta) + B4XPages.MainPage.productos.clv_prods_ll.Clear + If reiniciarlistaProds Then + ' Log("Llamamos LlenaProdsLL") + ' LlenaProdsLL(Null) + clv_prods_ll.Clear + else If hayPedido Then + ' LogColor("HAY PEDIDO ANTERIOR", Colors.red) + ' Log("Llamamos LlenaProdsLL") + ' LlenaProdsLL(Null) + clv_prods_ll.Clear + End If + If clv_prods_ll.Size = 0 Then LlenaProdsLL(Null) + clv_prods_ll.JumpToItem(0) 'Vamos al primer artículo de la lista. + PCLV.lblHint.SetTextSizeAnimated(0,13) + PCLV.B4XSeekBar1.Color1=Colors.Transparent + PCLV.B4XSeekBar1.Color2=Colors.Transparent + PCLV.B4XSeekBar1.ThumbColor=Colors.Transparent + PCLV.B4XSeekBar1.mBase.Left=Root.Width *110 + ' PCLV.B4XSeekBar1.mBase.Top=-50 + PCLV.B4XSeekBar1.mBase.Height=0 + PCLV.pnlOverlay.Height = clv_prods_ll.AsView.Height + PCLV.B4XSeekBar1.Update +End Sub + +Sub PCLV_AddProds + +End Sub + +Sub lv_catalogos_ItemClick (Position As Int, Value As Object) + If Value = "CATALOGO" Then +' ' lfila.text = "TIPO" +' lfila.text = "PRODUCTOS" +' lv_catalogos.Visible = False +' ' lv_tipo.Visible = True +' If clv_prods_ll.Size = 0 Then LlenaProdsLL(Null) +' clv_prods_ll.AsView.Visible = True +' If hayPedido Then p_botonesVenta.Visible = True 'Si ya hay pedido, entonces mostramos los botones. + + + + lv_catalogos.Visible = False + lfila.text = "PRODUCTOS" + + ' 1. Cargamos datos + LlenaProdsLL(Null) + + ' 2. Mostramos y traemos al frente + clv_prods_ll.AsView.Visible = True + clv_prods_ll.AsView.BringToFront + + Else + clv_prods_ll.AsView.Visible = False + lv_promos.Visible = True + lfila.text = "PROMOCIONES" + lv_catalogos.Visible = False + lv_promos.Clear + Dim label1 As Label + label1 = lv_promos.TwoLinesLayout.Label + label1.TextSize = 12 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = lv_promos.TwoLinesLayout.SecondLabel + label2.TextSize = 12 + label2.TextColor = Colors.Black + Dim label13 As Label + label13 = lv_promos.TwoLinesAndBitmap.Label + label13.TextSize = 12 + label13.TextColor = Colors.Black + Dim label14 As Label + label14 = lv_promos.TwoLinesAndBitmap.SecondLabel + label14.TextSize = 12 + label14.TextColor = Colors.Black + lfila.text = "PROMOS" + ' c2=B4XPages.MainPage.skmt.ExecQuery2($"select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG from ${Starter.tabla} where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD = ? AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) )"$, Array As String(Value, Value, Value)) + c2=B4XPages.MainPage.skmt.ExecQuery2($"select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO1, CAT_GP_ALMACEN, CAT_GP_IMG from ${Starter.tabla} where CAT_GP_PRECIO1 > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) )"$, Array As String(Value, Value)) + ' Log($"res:${c2.RowCount}, ${Value}, ${marca}, ${tipo}"$) + If c2.RowCount > 0 Then + For i = 0 To c2.RowCount - 1 + c2.Position = i + Private tm As Map = Subs.procesaPromocion(c2.GetString("CAT_GP_ID"), clienteId) + + If tm <> Null Then + If tm.Get("status") = "ok" Then + lv_promos.AddTwoLines(c2.GetString("CAT_GP_NOMBRE"), "# " & c2.GetString("CAT_GP_ALMACEN") & " $ " & c2.GetString("CAT_GP_PRECIO1") & " F:" & tm.Get("mp").As(Map).Get("prodsFijosCant") & " V:" & tm.Get("mp").As(Map).Get("prodsVariablesCant")) + End If + Else + Log("El Map devuelto por procesaPromocion es null para el producto: " & c2.GetString("CAT_GP_NOMBRE")) + End If + Next + Else + ToastMessageShow("No hay promociones disponibles.", False) + End If + c2.Close + entro = "4" + End If +End Sub + +Sub lv_catalogos2_ItemClick (Position As Int, Value As Object) + clv_prods_ll.AsView.Visible = False + BUSCA.Text = "" + Dim cliente As C_Cliente = B4XPages.GetPage("Cliente") + Log($"value=${Value}"$) + If Value = "PROMOS" And cliente.cuenta <> "N" Then + entro = "3" + marca = "PROMOS" + tipo = "PROMOS" + Else if Value = "PROMOS" And cliente.cuenta = "N" Then + entro = "5" + B4XPages.ShowPage("Cliente") + End If + If Value = "PROMOS" Then + LogColor("Promos", Colors.red) + c2=B4XPages.MainPage.skmt.ExecQuery2($"select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO1, CAT_GP_ALMACEN, CAT_GP_IMG from ${Starter.tabla} where CAT_GP_PRECIO1 > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD = ? AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) ) ORDER BY 1"$, Array As String(Value, marca, tipo)) + Else + LogColor("Catalogo", Colors.red) + c2=B4XPages.MainPage.skmt.ExecQuery($"select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO1, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from ${Starter.tabla} where CAT_GP_PRECIO1 > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD <> 'PROMOS' "$) + End If + If Value = "CATALOGO" Then + lv_catalogos.Visible = False + lv_promos.Visible = False + lfila.text = "CATALOGO" + Log("PGS") + ProgressDialogShow("Cargando catalogo ...") + Sleep(100) + Private inicioContador As String = DateTime.Now + llenaCatalogo(False) + clv_prods_ll.AsView.Visible = True + Log("PGH") + LogColor("TIEMPO DE PROCESO DEL CATALOGO: " & ((DateTime.Now-inicioContador)/1000), Colors.Red) + ProgressDialogHide + c2.Close + Else + clv_prods_ll.AsView.Visible = False + lv_promos.Visible = True + lv_catalogos.Visible = False + lv_promos.Clear + Dim label1 As Label + label1 = lv_promos.TwoLinesLayout.Label + label1.TextSize = 15 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = lv_promos.TwoLinesLayout.SecondLabel + label2.TextSize = 15 + label2.TextColor = Colors.Black + Dim label13 As Label + label13 = lv_promos.TwoLinesAndBitmap.Label + label13.TextSize = 15 + label13.TextColor = Colors.Black + Dim label14 As Label + label14 = lv_promos.TwoLinesAndBitmap.SecondLabel + label14.TextSize = 15 + label14.TextColor = Colors.Black + lfila.text = "PROMOS" + If c2.RowCount > 0 Then + For i=0 To c2.RowCount -1 + c2.Position=i + Private tm As Map = Subs.procesaPromocion(c2.GetString("CAT_GP_ID"), clienteId) + If tm.Get("status") = "ok" Then 'Solo muestrala si hay producto. + lv_promos.AddTwoLines(c2.GetString("CAT_GP_NOMBRE"),"# " & c2.GetString("CAT_GP_ALMACEN") & " $ " & c2.GetString("CAT_GP_PRECIO") & " F:" & tm.Get("mp").As(Map).Get("prodsFijosCant") & " V:" & tm.Get("mp").As(Map).Get("prodsVariablesCant")) + End If + Next + End If + c2.Close + End If + entro = "4" +End Sub + +Sub lv_promos_ItemClick (Position As Int, Value As Object) + clv_prods_ll.AsView.Visible = False + Dim cliente As C_Cliente = B4XPages.GetPage("Cliente") + ' Log($"Entro=${entro}, value=${Value}, cuenta=${cliente.cuenta}"$) + If Value = "PROMOS" And cliente.cuenta <> "N" Then + entro = "3" + marca = "PROMOS" + tipo = "PROMOS" + Else if Value = "PROMOS" And cliente.cuenta = "N" Then + entro = "5" + B4XPages.ShowPage("Cliente") + End If + If entro = "3" Then + 'xxxxxxxxxxxxxxxxxxxxx + Else If entro = "4" Then + ' Log("Entro = 4") + B4XPages.MainPage.skmt.ExecNonQuery("delete from PROID") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PROID VALUES (?)", Array As Object(Value)) + Dim promos As C_Promos = B4XPages.GetPage("Promos") + promos.laPromo = Subs.traeProdIdDeBD.Get("id") + promos.elCliente = Subs.traeUsuarioDeBD + B4XPages.ShowPage("Promos") + End If +End Sub + +'Generamos la lista de productos. +Sub llenaCatalogo(subtipo1 As String) + ' Log("LlenaCatalogo") + ' Private c2 As Cursor + ' c2=B4XPages.MainPage.skmt.ExecQuery2("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from cat_gunaprod where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD <> 'PROMOS' and CAT_GP_SUBTIPO = ? ", Array As String(subtipo1)) + ' Private bgColor, textColor As Int + ' If c2.RowCount > 0 And clv_productos.Size <> c2.RowCount Then + ' clv_productos.Clear : Log("limpiamos productos") + ' For i=0 To c2.RowCount -1 + ' c2.Position=i + ' If c2.GetString("CAT_GP_TIPOPROD") = "PRIORITARIO" Then + ' bgColor = Colors.RGB(255, 212, 163) 'naranja + ' Else If c2.GetString("CAT_GP_TIPOPROD") = "COMPLEMENTARIO" Then + ' bgColor = Colors.RGB(177, 200, 249)'azul + ' else If c2.GetString("CAT_GP_TIPOPROD") = "CATALOGO REGULAR" Then + ' bgColor = Colors.White + ' else If c2.GetString("CAT_GP_TIPOPROD") = "ESTRATEGICO" Then + ' bgColor = Colors.RGB(241, 255, 163) 'amarillo + ' End If + ' textColor = Colors.Black + ' clv_productos.Add(CreateListItem(c2.GetString("CAT_GP_NOMBRE"), c2.GetString("CAT_GP_PRECIO"), c2.GetString("CAT_GP_ALMACEN"), clv_productos.AsView.Width, 60dip, bmp, c2.GetString("CAT_GP_ID"), bgColor, textColor), c2.GetString("CAT_GP_NOMBRE")) + ' Next + ' End If + ' c2.Close +End Sub + +Private Sub B4XPage_CloseRequest As ResumableSub + ' BACK key pressed + ' Return True To close, False To cancel + If l_info.Visible Then + l_info.Visible = False + Return False + else if p_vistaPreviaTrans.Visible Then + p_vistaPreviaTrans.Visible = False + Return False + else if lv_promos.visible Then + lv_promos.Visible = False + lv_catalogos.Visible = True + p_botonesVenta.Visible = False + l_total.Visible = False + l_totProds.Visible = False + Return False + else if clv_prods_ll.AsView.Visible Then + lfila.text = "CATALOGO" + clv_prods_ll.AsView.Visible = False + lv_subtipo.Visible = False + p_botonesVenta.Visible = False + l_total.Visible = False + l_totProds.Visible = False + lv_catalogos.Visible = True + Return False + ' else if lv_subtipo.Visible Then + ' lfila.text = "TIPO" + ' lv_subtipo.Visible = False + ' lv_tipo.Visible = False + ' Return False + ' else if lv_tipo.Visible Then + ' lfila.text = "CATALOGO" + ' lv_tipo.Visible = False + ' lv_catalogos.Visible = True + ' Return False + else If entro = "4" Then + entro = "3" + B4XPage_Appear + Return True + Else If entro = "3" Then + B4XPages.ShowPage("Cliente") + Return False + Else + B4XPages.ShowPage("Cliente") + Return False + End If +End Sub + + + +Sub b_QR_Click + If ciclo = 1 Then + ciclo = 2 + ya_entro = "0" + B4XPage_Appear + else if ciclo = 2 Then + ciclo = 3 + ya_entro = "0" + B4XPage_Appear + else if ciclo = 3 Then + ciclo = 4 + ya_entro = "0" + B4XPage_Appear + else if ciclo = 4 Then + ciclo = 5 + ya_entro = "0" + B4XPage_Appear + else if ciclo = 5 Then + ciclo = 1 + ya_entro = "0" + B4XPage_Appear + End If +End Sub + +'**************************************************************************** +'***************** PARA EL MAS/MENOS ************************************* +'**************************************************************************** +Sub CreateListItem(Text As String, precioU As String, inv As Int, Width As Int, Height As Int, img As Bitmap, prodId As String, bc As Int, tc As Int) As Panel + ' Dim p As B4XView = xui.CreatePanel("") + ' p.SetLayoutAnimated(0, 0, 0, Width, Height) + ' p.LoadLayout("prodItem") + ' p_prods.Color = bc + ' l_prodX.TextColor = tc + ' l_prodX.TextSize = 15 + ' p_prods.Height = Height + ' l_prodX.Height = Height + ' l_prodX.Text = Text&CRLF&"# " & inv & " $ " & precioU + ' l_prodX.Tag = $"ID: ${prodId}${CRLF}${Text}${CRLF}Precio: $$1.2{precioU}${CRLF}Inv: ${inv} pzs"$ + ' l_pCant.Tag = precioU&"|"&inv&"|"&prodId + ' et_pCant.Tag = precioU&"|"&inv&"|"&prodId + ' et_pCant.BringToFront + ' Return p +End Sub + +Sub b_prodMenos_Click + totalcajasmaspiezas = 0 + etCantHasFocus = False + Root.RequestFocus + ' LogColor("b_prodMenos_Click", Colors.Magenta) + Dim index As Int = clv_prods_ll.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(2) + Dim laCant2 As B4XView = pnl.GetView(3).GetView(2) + Dim panelbotonesc As B4XView = pnl.GetView(3) + Dim lProdX As B4XView = pnl.GetView(1) + Dim panelcajas As B4XView = pnl.GetView(3) + Dim panelpiezas As B4XView = pnl.GetView(2) + ' Log($"precio|stock:${laCant.tag}"$) + If laCant.Text = "" Then laCant.Text = 0 + ' Log("lacant.text="&laCant.text) + laCant.Text = $"${NumberFormat2(laCant.Text-1,0,0,0,False)}"$ + If laCant.Text < 0 Then laCant.Text = 0 + Private tmpMap1 As Map = clv_prods_ll.GetValue(index).As(Map) + Private precio As String=clv_prods_ll.GetValue(index).As(Map).Get("precio") + Private id As String=clv_prods_ll.GetValue(index).As(Map).Get("id") + Private tmpMap As Map = CreateMap("precio":precio, "cant":laCant.Text, "almacen":Subs.traeAlmacen) + Private nombreX As String = Subs.traeProdNombre(id) + LogColor(tmpMap1,Colors.Magenta) + ' prodsMap.Put(id, tmpMap) + If laCant.Text = 0 Then prodsMap.Remove(id) + If laCant.Text = 0 Then + panelcajas.Visible = True + Else If laCant.Text > 0 Then + panelcajas.Visible = False + End If + ' If laCant2.IsInitialized Then + ' totalcajasmaspiezas = laCant.Text + laCant2.Text + ' Else + ' totalcajasmaspiezas = laCant.Text + ' End If + LogColor("prodsMap="&prodsMap, Colors.blue) + ' (Subs.traeAlmacen, p1.Get("precio"), p1.Get("cant"), pn, p, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta) + Log($"${Subs.traeAlmacen}, ${precio}, ${laCant.text}, ${Subs.traeProdNombre(id)}, ${id}, ${clienteId}"$) + Subs.actualizaProducto(Subs.traeAlmacen, precio, laCant.Text, Subs.traeProdNombre(id), id, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,0,0) + cuentaProds + LogColor("prodsMap="&prodsMap, Colors.blue) + Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) + If 1 = 1 Then + Private cs As CSBuilder + cs.Initialize + Private o As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_ALMACEN from ${Starter.tabla} where CAT_GP_ID = '${id}'"$) + Private invActualizado As String = "0" + If o.RowCount > 0 Then + o.Position = 0 + invActualizado = o.GetString("CAT_GP_ALMACEN") + End If + If clv_prods_ll.GetValue(index).As(Map).Get("precio_caja").As(Float) = 0 Or clv_prods_ll.GetValue(index).As(Map).Get("conversion").As(Int) = 1 Then + Private maxcajas As Int = 0 + Log("cajas a 0") + Else + Private maxcajas As Int = invActualizado/clv_prods_ll.GetValue(index).As(Map).Get("conversion") + Log("cajas no a 0") + End If + ' Private maxcajas As Int = invActualizado/clv_prods_ll.GetValue(index).As(Map).Get("conversion") + If 2 = 2 Then lProdX.Text = cs.Color(Colors.red).append(nombreX).pop.Append(CRLF).Append("Existencias: " & invActualizado).Color(0xFF017F01).Append($" $${NumberFormat2(precio, 1, 2, 2, False)}${CRLF}Max. Cajas: ${maxcajas}"$).Popall + ' Log(lProdX.Text) + End If + If laCant.Text = 0 Then + If maxcajas > 0 Then + panelcajas.Visible = True + Else + panelcajas.Visible = False + End If + Else If laCant.Text > 0 Then + panelcajas.Visible = False + End If + If Subs.totalPedido < 1 Then laCant.Text = "0" + invTotal = totalcajasmaspiezas + Subs.traeinventario(id) + 'aqui si lo comentamos aparece la parte de cajas + If tmpMap1.Get("conversion") = "1" Or tmpMap1.Get("precio_caja") = "0" Then + Log("invisible") + panelbotonesc.Visible = False + End If + If clv_prods_ll.GetValue(index).As(Map).Get("almacen") < clv_prods_ll.GetValue(index).As(Map).Get("conversion") Then + Log(clv_prods_ll.GetValue(index).As(Map).Get("cant")) + If clv_prods_ll.GetValue(index).As(Map).Get("cant").As(Int) = 0 Then + Log("Aqui debemos ponerlo invisible") + panelcajas.Visible = False + Else + End If + ' p_botMasMenc.Visible = False + End If + 'fin aparecer parte de cajas + ' LogColor("InvTotal PRODMAS: " & invTotal, Colors.Red) +End Sub + +Sub b_prodMas_Click + totalcajasmaspiezas = 0 + etCantHasFocus = False + Root.RequestFocus + ' LogColor("b_prodMas_Click", Colors.Magenta) + + Dim index As Int = clv_prods_ll.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(2) + Dim panelcajas As B4XView = pnl.GetView(3) + Dim panelpiezas As B4XView = pnl.GetView(2) + Dim laCant2 As B4XView = pnl.GetView(3).GetView(2) + Dim lProdX As B4XView = pnl.GetView(1) + + ' Private tmpMap As Map = clv_prods_ll.GetValue(index).As(Map) + Private precio As String=clv_prods_ll.GetValue(index).As(Map).Get("precio") + Private inv As String=clv_prods_ll.GetValue(index).As(Map).Get("almacen") + Private existencias As String = clv_prods_ll.GetValue(index).As(Map).Get("almacen") + Log($"Existencias: ${existencias}"$) + If laCant.Text = "" Then laCant.Text = 0 + Private id As String=clv_prods_ll.GetValue(index).As(Map).Get("id") + ' If laCant.Text + 1 <= inv Then + '' Log(NumberFormat2(laCant.Text+1,0,0,0,False)) + ' laCant.Text = $"${NumberFormat2(laCant.Text+1,0,0,0,False)}"$ + '' Private precio As String=clv_prods_ll.GetValue(index).As(Map).Get("precio") + ' Private id As String=clv_prods_ll.GetValue(index).As(Map).Get("id") + '' Private tmpMap As Map = CreateMap("precio":precio, "cant":laCant.Text, "almacen":Subs.traeAlmacen) + '' Log(tmpMap) + '' prodsMap.Put(id, tmpMap) + '' LogColor(prodsMap, Colors.blue) + ' End If + ' Log("Cantidad + exis " & (laCant.Text + existencias)) + ' Log( (laCant.Text + 1 <= (laCant.Text + existencias))) + ' Log("inventario "&Subs.traeinventario(id)) + ' Log((Subs.totalPedido - precio > 1)) + ' Log((Subs.totalPedido)) + ' Log(precio) + Log(B4XPages.MainPage.tipo_venta) + Log(B4XPages.MainPage.cliente.credito_diponible) + LogColor(laCant.Text,Colors.Red) + If B4XPages.MainPage.tipo_venta = "PREVENTA_CREDITO" Then + Dim fg As Cursor = Starter.skmt.ExecQuery("Select IFNULL(sum(PE_COSTO_TOT),0) AS COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'") + fg.Position = 0 + + If fg.GetString("COSTO") + precio <= B4XPages.MainPage.cliente.credito_diponible Then + If Subs.traeinventario(id) > 0 And (laCant.Text <= (laCant.Text + Subs.traeinventario(id))) Then 'And (Subs.totalPedido - precio > 1) + ' Log(clv_prods_ll.GetValue(index).As(Map)) + clv_prods_ll.GetValue(index).As(Map).Put("almacen", (inv - 1)) + inv = inv - 1 + ' laCant.Text = $"$1.0{laCant.Text+1}"$ + laCant.Text = NumberFormat2((laCant.Text + 1), 1, 0, 0, False) + ' Log(clv_prods_ll.GetValue(index).As(Map)) + End If + Private nombreX As String = Subs.traeProdNombre(id) + ' Subs.actualizaProducto(Subs.traeAlmacen, laCant.text, id, clienteId) + + If laCant.Text > 0 Then + panelcajas.Visible = False + Else If laCant.Text = 0 Then + panelcajas.Visible = True + End If + + LogColor(laCant.Text,Colors.Red) + ' If laCant2.IsInitialized Then + ' totalcajasmaspiezas = laCant.Text + laCant2.Text + ' Else + ' totalcajasmaspiezas = laCant.Text + ' End If + + Subs.actualizaProducto(Subs.traeAlmacen, precio, laCant.Text, Subs.traeProdNombre(id), id, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,0,0) + cuentaProds + ' Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) + If 1 = 1 Then + Private cs As CSBuilder + cs.Initialize + Private o As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_ALMACEN from ${Starter.tabla} where CAT_GP_ID = '${id}'"$) + Private invActualizado As String = "0" + If o.RowCount > 0 Then + o.Position = 0 + invActualizado = o.GetString("CAT_GP_ALMACEN") + End If + If clv_prods_ll.GetValue(index).As(Map).Get("precio_caja").As(Float) = 0 Or clv_prods_ll.GetValue(index).As(Map).Get("conversion").As(Int) = 1 Then + Private maxcajas As Int = 0 + Log("cajas a 0") + Else + Private maxcajas As Int = invActualizado/clv_prods_ll.GetValue(index).As(Map).Get("conversion") + Log("cajas no a 0") + End If + If 2 = 2 Then lProdX.Text = cs.Color(Colors.red).append(nombreX).pop.Append(CRLF).Append("Existencias: " & invActualizado).Color(0xFF017F01).Append($" $${NumberFormat2(precio, 1, 2, 2, False)}${CRLF}Max. Cajas: ${maxcajas}"$).Popall + ' Log(lProdX.Text) + End If + invTotal = totalcajasmaspiezas + Subs.traeinventario(id) + ' LogColor("InvTotal PRODMAS: " & invTotal, Colors.Red) + Else + MsgboxAsync("No se puede meter mas venta a credito por que supera el limite del credito","Atencion") + End If + Else + If Subs.traeinventario(id) > 0 And (laCant.Text <= (laCant.Text + Subs.traeinventario(id))) Then 'And (Subs.totalPedido - precio > 1) + ' Log(clv_prods_ll.GetValue(index).As(Map)) + clv_prods_ll.GetValue(index).As(Map).Put("almacen", (inv - 1)) + inv = inv - 1 + ' laCant.Text = $"$1.0{laCant.Text+1}"$ + laCant.Text = NumberFormat2((laCant.Text + 1), 1, 0, 0, False) + ' Log(clv_prods_ll.GetValue(index).As(Map)) + End If + Private nombreX As String = Subs.traeProdNombre(id) + ' Subs.actualizaProducto(Subs.traeAlmacen, laCant.text, id, clienteId) + + If laCant.Text > 0 Then + panelcajas.Visible = False + Else If laCant.Text = 0 Then + panelcajas.Visible = True + End If + + LogColor(laCant.Text,Colors.Red) + ' If laCant2.IsInitialized Then + ' totalcajasmaspiezas = laCant.Text + laCant2.Text + ' Else + ' totalcajasmaspiezas = laCant.Text + ' End If + + Subs.actualizaProducto(Subs.traeAlmacen, precio, laCant.Text, Subs.traeProdNombre(id), id, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,0,0) + cuentaProds + ' Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) + If 1 = 1 Then + Private cs As CSBuilder + cs.Initialize + Private o As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_ALMACEN from ${Starter.tabla} where CAT_GP_ID = '${id}'"$) + Private invActualizado As String = "0" + If o.RowCount > 0 Then + o.Position = 0 + invActualizado = o.GetString("CAT_GP_ALMACEN") + End If + If clv_prods_ll.GetValue(index).As(Map).Get("precio_caja").As(Float) = 0 Or clv_prods_ll.GetValue(index).As(Map).Get("conversion").As(Int) = 1 Then + Private maxcajas As Int = 0 + Log("cajas a 0") + Else + Private maxcajas As Int = invActualizado/clv_prods_ll.GetValue(index).As(Map).Get("conversion") + Log("cajas no a 0") + End If + If 2 = 2 Then lProdX.Text = cs.Color(Colors.red).append(nombreX).pop.Append(CRLF).Append("Existencias: " & invActualizado).Color(0xFF017F01).Append($" $${NumberFormat2(precio, 1, 2, 2, False)}${CRLF}Max. Cajas: ${maxcajas}"$).Popall + ' Log(lProdX.Text) + End If + invTotal = totalcajasmaspiezas + Subs.traeinventario(id) + ' LogColor("InvTotal PRODMAS: " & invTotal, Colors.Red) + End If +End Sub + +Private Sub et_pCant_FocusChanged (HasFocus As Boolean) + LogColor($"focus changed=${HasFocus}"$, Colors.Magenta) + If et_pCant.Text = "" Then et_pCant.Text = "0" + Dim index As Int = clv_prods_ll.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(2) + Dim laCant2 As B4XView = pnl.GetView(3).GetView(2) + Private id As String=clv_prods_ll.GetValue(index).As(Map).Get("id") + If laCant.Text = "" Then laCant.Text = "0" + etCantHasFocus = HasFocus + LogColor(laCant.Text,Colors.Red) + If laCant2.IsInitialized Then + totalcajasmaspiezas = laCant.Text + laCant2.Text + Else + totalcajasmaspiezas = laCant.Text + End If + invTotal = totalcajasmaspiezas + Subs.traeinventario(id) + ' LogColor("InvTotal PRODMAS: " & invTotal, Colors.Red) + cuentaProds +End Sub + +Private Sub et_pCant_TextChanged (Old As String, New As String) + ' Log(etCantHasFocus) + ' Log("InvTotal: " & invTotal) + If etCantHasFocus = True Then + LogColor($"txt changed: ${Old}|${New}, hasfocus=${etCantHasFocus}"$,Colors.Magenta) + Dim index As Int = clv_prods_ll.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(2) + Dim laCant2 As B4XView = pnl.GetView(3).GetView(2) + Dim lProdX As B4XView = pnl.GetView(1) + Private id As String=clv_prods_ll.GetValue(index).As(Map).Get("id") + Private precio As String=clv_prods_ll.GetValue(index).As(Map).Get("precio") + Private inv As String=clv_prods_ll.GetValue(index).As(Map).Get("almacen") + Private inv As String=Subs.traeinventario(id) + Private nombreX As String = Subs.traeProdNombre(id) + Dim panelcajas As B4XView = pnl.GetView(3) + Dim panelpiezas As B4XView = pnl.GetView(2) + If(New = "" Or New = Null Or New = "-") Then New = 0 + ' If New < 0 Then New = 0 + If(New > invTotal) Then + Sender.As(EditText).text = invTotal + End If + ' Log($"inventario=${inv}"$) + If New = "" Then New = 0 + If Old = "" Or Old = Null Then New = 0 + If laCant.Text = "" Then laCant.Text = 0 + LogColor(laCant.Text,Colors.Red) + If New > 0 Then + panelcajas.Visible = False + Else If New = 0 Then + panelcajas.Visible = True + End If + Log(Old) + If Old <> "" Then + Log("--------------->Credito Disponible: "&B4XPages.MainPage.cliente.credito_diponible) + If B4XPages.MainPage.tipo_venta = "PREVENTA_CREDITO" Then + Dim fg As Cursor = Starter.skmt.ExecQuery("Select IFNULL(sum(PE_COSTO_TOT),0) AS COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'") + fg.Position = 0 + If Old = "" Or Old = Null Then New = 0 + Log(precio &" * "&Old) + Log(fg.GetString("COSTO") +(precio*New)) + If fg.GetString("COSTO") +((precio*New)-(precio*Old)) <= B4XPages.MainPage.cliente.credito_diponible Then + ' If laCant2.IsInitialized Then + ' totalcajasmaspiezas = laCant.Text + laCant2.Text + ' Else + ' totalcajasmaspiezas = laCant.Text + ' End If + If Not(Old = "0" And New = "") And laCant.Text <> Null And laCant.Text <> "" And etCantHasFocus Then + Log("actualizamos producto") + Subs.actualizaProducto(Subs.traeAlmacen, precio, laCant.Text, Subs.traeProdNombre(id), id, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,0,0) + cuentaProds + End If + ' If New <> "" And New.SubString2(0,0) = "0" Then + ' New.SubString(1) + ' End If + ' If New <> "" And New.SubString(1) <> "" Then + ' Log(New.SubString(1)) + ' New = New.SubString(1) + ' laCant.Text = New.SubString(1) + ' Log(laCant.Text) + ' End If + If 1 = 1 Then + Private cs As CSBuilder + cs.Initialize + Private o As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_ALMACEN from ${Starter.tabla} where CAT_GP_ID = '${id}'"$) + Private invActualizado As String = "0" + ' If o.RowCount > 0 Then + o.Position = 0 + invActualizado = Subs.traeinventario(id) + Log(Subs.traeinventario(id)) + ' End If + If New = "" Then New = 0 + If clv_prods_ll.GetValue(index).As(Map).Get("precio_caja").As(Float) = 0 Or clv_prods_ll.GetValue(index).As(Map).Get("conversion").As(Int) = 1 Then + Private maxcajas As Int = 0 + Log("cajas a 0") + Else + Private maxcajas As Int = invActualizado/clv_prods_ll.GetValue(index).As(Map).Get("conversion") + Log("cajas no a 0") + End If + lProdX.Text = cs.Color(Colors.red).append(nombreX).pop.Append(CRLF).Append("Existencias: " & (Subs.traeinventario(id))).Color(0xFF017F01).Append($" $${NumberFormat2(precio, 1, 2, 2, False)}${CRLF}Max. Cajas: ${maxcajas}"$).Popall + End If + Else + laCant.Text = 0 + MsgboxAsync("No se puede meter mas venta a credito por que supera el limite del credito","Atencion") + End If + Else + ' If laCant2.IsInitialized Then + ' totalcajasmaspiezas = laCant.Text + laCant2.Text + ' Else + ' totalcajasmaspiezas = laCant.Text + ' End If + If Not(Old = "0" And New = "") And laCant.Text <> Null And laCant.Text <> "" And etCantHasFocus Then + Log("actualizamos producto") + Subs.actualizaProducto(Subs.traeAlmacen, precio, laCant.Text, Subs.traeProdNombre(id), id, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,0,0) + cuentaProds + End If + ' If New <> "" And New.SubString2(0,0) = "0" Then + ' New.SubString(1) + ' End If + ' If New <> "" And New.SubString(1) <> "" Then + ' Log(New.SubString(1)) + ' New = New.SubString(1) + ' laCant.Text = New.SubString(1) + ' Log(laCant.Text) + ' End If + If 1 = 1 Then + Private cs As CSBuilder + cs.Initialize + Private o As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_ALMACEN from ${Starter.tabla} where CAT_GP_ID = '${id}'"$) + Private invActualizado As String = "0" + ' If o.RowCount > 0 Then + o.Position = 0 + invActualizado = Subs.traeinventario(id) + Log(Subs.traeinventario(id)) + ' End If + If New = "" Then New = 0 + If clv_prods_ll.GetValue(index).As(Map).Get("precio_caja").As(Float) = 0 Or clv_prods_ll.GetValue(index).As(Map).Get("conversion").As(Int) = 1 Then + Private maxcajas As Int = 0 + Log("cajas a 0") + Else + Private maxcajas As Int = invActualizado/clv_prods_ll.GetValue(index).As(Map).Get("conversion") + Log("cajas no a 0") + End If + lProdX.Text = cs.Color(Colors.red).append(nombreX).pop.Append(CRLF).Append("Existencias: " & (Subs.traeinventario(id))).Color(0xFF017F01).Append($" $${NumberFormat2(precio, 1, 2, 2, False)}${CRLF}Max. Cajas: ${maxcajas}"$).Popall + End If + End If + End If + If New > 0 Then + panelcajas.Visible = False + Else If New = 0 Then + If maxcajas = 0 Then + panelcajas.Visible = False + Else + panelcajas.Visible = True + End If + End If + End If +End Sub + +Sub cuentaProds + ' LogColor($"Productos de la orden: ${c_prods.GetString("cantProds")}, Total: ${c_prodsX.GetString("costoTotal")}"$, Colors.red) + Log("===========================") + Private c As Cursor = B4XPages.MainPage.skmt.ExecQuery($"select sum(PE_COSTO_TOT) as total, sum(PE_CANT) as cant from PEDIDO where PE_CLIENTE = '${clienteId}'"$) + ' LogColor("TIEMPO cuentaProds =" & ((DateTime.Now-inicioContador)/1000), Colors.Red) + ' LogColor(prodsMap, Colors.Magenta) + p_botonesVenta.Visible = True + p_botonesVenta.BringToFront + c.Position=0 + ' Log($"Total Prods: ${c.GetString("cant")}, Total Compra: $$1.2{c.GetString("total")}"$) + c.Close + ' Log($"HAY PEDIDO: ${hayPedido}"$) +End Sub + +'Sub b_terminar1_Click +' ' Log("b_terminar1_Click") +' ' ya_entro = "0" : Log("ya_entro=1") +' B4XPages.MainPage.skmt.ExecNonQuery2("delete from PEDIDO WHERE PE_PRONOMBRE = ? ", Array As Object("N/A") ) +' lv_promos.Visible = False +' clv_prods_ll.AsView.Visible = False +' lv_catalogos.Visible = True +' lv_prodsPedido.Clear +' lv_prodsPedido.TwoLinesLayout.Label.Height = 35dip +' lv_prodsPedido.TwoLinesLayout.SecondLabel.Height = 25dip +' Private c_prods As Cursor=B4XPages.MainPage.skmt.ExecQuery("select PE_PRONOMBRE,PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_PRONOMBRE") +' If c_prods.RowCount > 0 Then +' Private cs As CSBuilder +' vamoaver.Initialize +' For i=0 To c_prods.RowCount -1 +' cs.Initialize +' c_prods.Position=i +' Dim label1 As Label +' label1 = lv_prodsPedido.TwoLinesLayout.Label +' label1.TextSize = 15 +' label1.TextColor = Colors.Black +' label1.color = Colors.White +' Private textColor As Int = Colors.black +' If c_prods.GetString("PE_FOLIO") = "VENTA" Then +' textColor = Colors.RGB(48,3,195) +' Else If c_prods.GetString("PE_FOLIO") = "PREVENTA_CONTADO" Or c_prods.GetString("PE_FOLIO") = "ABORDO" Or c_prods.GetString("PE_FOLIO") = "RECARGA" Then +' textColor = Colors.RGB(166,0,0) +' Else If folio = "PREVENTA_CREDITO" Then +' textColor = Colors.RGB(0, 128, 0) +' End If +' If Not(IsNumber(c_prods.GetString("PE_CEDIS"))) And folio = "VENTA" Then +' textColor = Colors.RGB(154,131,231) +' Else If Not(IsNumber(c_prods.GetString("PE_CEDIS"))) And folio = "PREVENTA_CONTADO" Then +' folio = "PREVENTA" +' textColor = Colors.RGB(255,0,214) +' Else If Not(IsNumber(c_prods.GetString("PE_CEDIS"))) And folio = "PREVENTA_CREDITO" Then +' folio = "PREVENTA" +' textColor = Colors.RGB(120,178,108) +' End If +' Dim label2 As Label +' label2 = lv_prodsPedido.TwoLinesLayout.SecondLabel +' label2.TextSize = 10 +' label2.TextColor = Colors.Blue +' Dim polioreal As String +' If folio = "VENTA" Then +' Else If folio = "PREVENTA_CONTADO" Then +' polioreal = "PREVENTA" +' Else If folio = "PREVENTA_CREDITO" Then +' polioreal = "PREVENTA" +' End If +' LogColor(polioreal,Colors.Gray) +' ' lv_prodsPedido.AddTwoLines(cs.Color(textColor).append(c_prods.GetString("PE_PRONOMBRE")).pop,"Cantidad #"& c_prods.GetString("PE_CANT")& " SubTotal $"& c_prods.GetString("PE_COSTO_TOT")& " Folio "& c_prods.GetString("PE_FOLIO")) +' lv_prodsPedido.AddSingleLine(cs.Color(textColor).Size(12).append(c_prods.GetString("PE_PRONOMBRE") & " ").pop.Append(CRLF).Size(8).Color(Colors.Blue).Append("Cantidad #"& c_prods.GetString("PE_CANT")).Append(" SubTotal $"& c_prods.GetString("PE_COSTO_TOT")).Append(" " & polioreal& " " &c_prods.GetString("PE_CEDIS")).PopAll) +' vamoaver.Add(c_prods.GetString("PE_FOLIO")) +' folio = c_prods.GetString("PE_FOLIO") +' Next +' ' c=B4XPages.MainPage.skmt.ExecQuery("select pc_noart, pc_monto from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)") +' ' c = B4XPages.MainPage.skmt.ExecQuery("SELECT SUM (PE_CANT) AS CANTIDAD FROM PEDIDO WHERE PE_PROID not like 'PRO%' and PE_CLIENTE IN (Select CUENTA from cuentaa)") +' c = B4XPages.MainPage.skmt.ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )") +' ' r = B4XPages.MainPage.skmt.ExecQuery("SELECT SUM (PE_COSTO_TOT) AS MONTO FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") +' c.Position=0 +' ' r.Position = 0 +' l_cant.Text = c.GetString("PC_NOART") +' l_total2.Text = c.GetString("PC_MONTO") +' c.Close +' ' r.Close +' End If +' c_prods.Close +' p_vistaPreviaTrans.Width = Root.Width +' p_vistaPreviaTrans.Height = Root.Height +' Subs.centraPanel(p_vistaPrevia, Root.Width) +' ' If Subs.pedidoGuardado Then b_rechazar.Enabled = False Else b_rechazar.Enabled = True +' Dim fg As Cursor = Starter.skmt.ExecQuery("Select IFNULL(sum(PE_COSTO_TOT),0) AS COSTO, PE_FOLIO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'") +' fg.Position = 0 +' Dim costo As String = fg.GetString("COSTO") +' If costo > 0 And costo < 1000 And fg.GetString("PE_FOLIO") = "PREVENTA_CREDITO" Then +' result = Msgbox2($"¿Desea continuar?${CRLF}Si acepta, el pedido se borrará (mínimo $1,000).${CRLF}Si cancela, podrá seguir agregando productos."$,"Venta Minima de Credito", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) +' If result = DialogResponse.POSITIVE Then +' Subs.borraPedidoCredito +' ' B4XPages.MainPage.promos.promosMap.Initialize +' B4XPages.ShowPage("Cliente") +' Else +' lv_catalogos.Visible = True +' End If +' Else +' p_vistaPrevia.Visible=True +' p_vistaPreviaTrans.Visible=True +' End If +' fg.Close +'End Sub + +'Sub b_terminar1_Click +' ' Limpieza previa de registros inválidos +' B4XPages.MainPage.skmt.ExecNonQuery2("delete from PEDIDO WHERE PE_PRONOMBRE = ? ", Array As Object("N/A") ) +' +' lv_promos.Visible = False +' clv_prods_ll.AsView.Visible = False +' lv_catalogos.Visible = True +' lv_prodsPedido.Clear +' +' ' ========================================================= +' ' 1. CONFIGURACIÓN DEL LAYOUT (ESPACIADO OPTIMIZADO) +' ' ========================================================= +' ' Aumentamos un poco más el alto para compensar el nuevo salto de línea +' lv_prodsPedido.TwoLinesLayout.ItemHeight = 140dip +' +' ' Ajuste del Título (Nombre del Producto) +' lv_prodsPedido.TwoLinesLayout.Label.Height = 45dip +' lv_prodsPedido.TwoLinesLayout.Label.TextSize = 14 +' lv_prodsPedido.TwoLinesLayout.Label.Typeface = Typeface.DEFAULT_BOLD +' lv_prodsPedido.TwoLinesLayout.Label.TextColor = Colors.RGB(150, 0, 0) +' lv_prodsPedido.TwoLinesLayout.Label.Gravity = Gravity.CENTER_VERTICAL +' +' ' Ajuste del Subtítulo (Bajamos el Top para que el CRLF extra no lo encime) +' lv_prodsPedido.TwoLinesLayout.SecondLabel.Height = 90dip +' lv_prodsPedido.TwoLinesLayout.SecondLabel.Top = 50dip +' lv_prodsPedido.TwoLinesLayout.SecondLabel.TextSize = 14 +' ' ========================================================= +' +' Private q As String = "SELECT PE_PRONOMBRE, PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRESENTACION, PE_CANTC, PE_UVM, PE_PROID, PE_DIRIGIDA " & _ +' "FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_PRONOMBRE" +' +' Private c_prods As Cursor = B4XPages.MainPage.skmt.ExecQuery(q) +' +' If c_prods.RowCount > 0 Then +' vamoaver.Initialize +' +' For i = 0 To c_prods.RowCount - 1 +' c_prods.Position = i +' +' ' Obtención de datos +' Dim nomProd As String = c_prods.GetString("PE_PRONOMBRE") +' Dim idProd As String = c_prods.GetString("PE_PROID") +' Dim presName As String = c_prods.GetString("PE_PRESENTACION") +' Dim cantPres As String = c_prods.GetString("PE_CANTC") +' Dim uvmVal As Int = c_prods.GetInt("PE_UVM") +' Dim cedisFila As String = c_prods.GetString("PE_CEDIS") +' Dim folioFila As String = c_prods.GetString("PE_FOLIO") +' Dim dirFila As String = c_prods.GetString("PE_DIRIGIDA") +' Dim cantPzs As Int = c_prods.GetInt("PE_CANT") +' +' If cantPres = "" Or cantPres = "null" Then cantPres = "0" +' +' ' 2. CONSTRUCCIÓN DEL SUBTÍTULO CON SALTO DE LÍNEA EXTRA +' Dim detalle As CSBuilder +' detalle.Initialize +' +' ' --- EL CAMBIO ESTÁ AQUÍ --- +' ' Agregamos un salto de línea inicial para separar el bloque azul del nombre rojo +' detalle.Append(CRLF) +' +' ' REGLA: Si UVM > 1, mostrar la presentación azul +' If uvmVal > 1 Then +' detalle.Color(Colors.Blue).Size(14).Append(presName.ToUpperCase & ": " & (cantPzs/uvmVal)).Pop.Pop.Append(CRLF) +' detalle.Size(6).Append(CRLF).Pop +' End If +' +' detalle.Color(Colors.DarkGray).Size(13).Append("Piezas: ").Color(Colors.Black).Append("#" & cantPzs).Pop +' detalle.Append(" | ").Color(Colors.DarkGray).Append("Subtotal: ").Color(0xFF008000).Append("$" & NumberFormat2(c_prods.GetDouble("PE_COSTO_TOT"), 1, 2, 2, False)).PopAll +' +' ' 3. MAPA DE IDENTIDAD +' Dim datosIdentidad As Map = CreateMap("id": idProd, "nombre": nomProd, "cedis": cedisFila, "pres": presName, "uvm": uvmVal, "dir": dirFila, "folio": folioFila, "cant": cantPzs) +' +' ' Añadimos al ListView +' lv_prodsPedido.AddTwoLines2(nomProd, detalle, datosIdentidad) +' +' vamoaver.Add(folioFila) +' Next +' +' ActualizarEtiquetasTotales +' End If +' c_prods.Close +' +' ' Configuración de paneles +' p_vistaPreviaTrans.Width = Root.Width +' p_vistaPreviaTrans.Height = Root.Height +' Subs.centraPanel(p_vistaPrevia, Root.Width) +' p_vistaPrevia.Visible = True +' p_vistaPreviaTrans.Visible = True +'End Sub + +Sub b_terminar1_Click + ' Limpieza previa de registros inválidos + B4XPages.MainPage.skmt.ExecNonQuery2("delete from PEDIDO WHERE PE_PRONOMBRE = ? ", Array As Object("N/A") ) + + lv_promos.Visible = False + clv_prods_ll.AsView.Visible = False + lv_catalogos.Visible = True + lv_prodsPedido.Clear + + ' ========================================================= + ' 1. CONFIGURACIÓN DEL LAYOUT (ESPACIADO OPTIMIZADO) + ' ========================================================= + lv_prodsPedido.TwoLinesLayout.ItemHeight = 140dip + + ' Título (Configuración base, el CSBuilder mandará sobre el color) + lv_prodsPedido.TwoLinesLayout.Label.Height = 45dip + lv_prodsPedido.TwoLinesLayout.Label.TextSize = 14 + lv_prodsPedido.TwoLinesLayout.Label.Typeface = Typeface.DEFAULT_BOLD + lv_prodsPedido.TwoLinesLayout.Label.Gravity = Gravity.CENTER_VERTICAL + + ' Subtítulo + lv_prodsPedido.TwoLinesLayout.SecondLabel.Height = 90dip + lv_prodsPedido.TwoLinesLayout.SecondLabel.Top = 50dip + lv_prodsPedido.TwoLinesLayout.SecondLabel.TextSize = 14 + ' ========================================================= + + Private q As String = "SELECT PE_PRONOMBRE, PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRESENTACION, PE_CANTC, PE_UVM, PE_PROID, PE_DIRIGIDA " & _ + "FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS,PE_COSTO_TOT, PE_PRONOMBRE" + + Private c_prods As Cursor = B4XPages.MainPage.skmt.ExecQuery(q) + + If c_prods.RowCount > 0 Then + vamoaver.Initialize + Dim almacenActual As String = Subs.traeAlmacen ' Obtenemos el almacén actual una sola vez + + For i = 0 To c_prods.RowCount - 1 + c_prods.Position = i + + ' Obtención de datos + Dim nomProd As String = c_prods.GetString("PE_PRONOMBRE") + Dim idProd As String = c_prods.GetString("PE_PROID") + Dim presName As String = c_prods.GetString("PE_PRESENTACION") + Dim cantPres As String = c_prods.GetString("PE_CANTC") + Dim uvmVal As Int = c_prods.GetInt("PE_UVM") + Dim cedisFila As String = c_prods.GetString("PE_CEDIS") + Dim folioFila As String = c_prods.GetString("PE_FOLIO") + Dim dirFila As String = c_prods.GetString("PE_DIRIGIDA") + Dim cantPzs As Int = c_prods.GetInt("PE_CANT") + + If cantPres = "" Or cantPres = "null" Then cantPres = "0" + + ' --------------------------------------------------------- + ' 2. CONSTRUCCIÓN DEL TÍTULO (Lógica de Color por CEDIS) + ' --------------------------------------------------------- + Dim csTitulo As CSBuilder + csTitulo.Initialize + + If cedisFila <> almacenActual Then + ' ES PROMOCIÓN (Color Verde Esmeralda/Teal) + csTitulo.Color(Colors.RGB(0, 150, 136)).Typeface(Typeface.DEFAULT_BOLD).Append(nomProd & " (PROMO)").PopAll + Else + ' VENTA NORMAL (Rojo Oscuro) + csTitulo.Color(Colors.RGB(150, 0, 0)).Typeface(Typeface.DEFAULT_BOLD).Append(nomProd).PopAll + End If + + ' --------------------------------------------------------- + ' 3. CONSTRUCCIÓN DEL SUBTÍTULO + ' --------------------------------------------------------- + Dim detalle As CSBuilder + detalle.Initialize + detalle.Append(CRLF) ' Salto de línea inicial para espaciado + + ' Regla UVM + If uvmVal > 1 Then + detalle.Color(Colors.Blue).Size(14).Append(presName.ToUpperCase & ": " & (cantPzs/uvmVal)).Pop.Pop.Append(CRLF) + detalle.Size(6).Append(CRLF).Pop + End If + + detalle.Color(Colors.DarkGray).Size(13).Append("Piezas: ").Color(Colors.Black).Append("#" & cantPzs).Pop + detalle.Append(" | ").Color(Colors.DarkGray).Append("Subtotal: ").Color(0xFF008000).Append("$" & NumberFormat2(c_prods.GetDouble("PE_COSTO_TOT"), 1, 2, 2, False)).PopAll + + ' 4. MAPA DE IDENTIDAD + Dim datosIdentidad As Map = CreateMap("id": idProd, "nombre": nomProd, "cedis": cedisFila, "pres": presName, "uvm": uvmVal, "dir": dirFila, "folio": folioFila, "cant": cantPzs) + + ' Añadimos al ListView usando csTitulo en lugar de nomProd + lv_prodsPedido.AddTwoLines2(csTitulo, detalle, datosIdentidad) + + vamoaver.Add(folioFila) + Next + + ActualizarEtiquetasTotales + End If + c_prods.Close + + ' Configuración de paneles + p_vistaPreviaTrans.Width = Root.Width + p_vistaPreviaTrans.Height = Root.Height + Subs.centraPanel(p_vistaPrevia, Root.Width) + p_vistaPrevia.Visible = True + p_vistaPreviaTrans.Visible = True +End Sub + + +Private Sub ActualizarEtiquetasTotales + Dim h As Cursor = B4XPages.MainPage.skmt.ExecQuery("select ifnull(sum(PE_CANT),0) as PC_NOART, ifnull(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )") + h.Position = 0 + + l_cant.Text = h.GetString("PC_NOART") + l_total2.Text = NumberFormat2(h.GetDouble("PC_MONTO"), 1, 2, 2, False) + + h.Close +End Sub + +Private Sub b_continuar_Click + Log("b_continuar_Click") + cuentaProds + ' Private p1 As Map + Log($"prodsMap=${prodsMap}"$) + ' For Each p As String In prodsMap.Keys + ' p1 = prodsMap.Get(p) + ' Log(p & "|" & p1) + ' Private pn As String = Subs.traeProdNombre(p) + ' Subs.guardaProductoSinGestion(Subs.traeAlmacen, p1.Get("precio"), p1.Get("cant"), pn, p, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta) + ' Next + Log("promos-inv, prods-inv, cat-vis") + lv_promos.Visible = False + clv_prods_ll.AsView.Visible = False + lv_subtipo.Visible = False + lv_tipo.Visible = False + lv_catalogos.Visible = True + Log("Continuar") + Dim m As Map = Subs.traeTotalesClienteActual + prodsPedidoActual = m.Get("productos") + montoPedidoActual = m.Get("monto") + Dim fg As Cursor = Starter.skmt.ExecQuery("Select IFNULL(sum(PE_COSTO_TOT),0) AS COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'") + fg.Position = 0 + Dim costo As String = fg.GetString("COSTO") + + If costo > 0 And costo < 1000 Then + result = Msgbox2($"¿Desea continuar?${CRLF}Si acepta, el pedido se borrará (mínimo $1,000).${CRLF}Si cancela, podrá seguir agregando productos."$,"Venta Minima de Credito", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) + If result = DialogResponse.POSITIVE Then + Subs.borraPedidoCredito + B4XPages.MainPage.promos.promosMap.Initialize + B4XPages.ShowPage("Cliente") + Else + lv_catalogos.Visible = True + End If + End If + fg.Close +End Sub + +Private Sub l_prodX_LongClick + Log("longclic = "&Sender.as(Label).tag) + l_info.Text = Sender.as(Label).tag + l_info.Visible = True +End Sub + +Private Sub l_info_Click + l_info.Visible = False +End Sub + +Private Sub lv_promos_ItemLongClick (Position As Int, Value As Object) + Log("Promo longclic = "&Value) + Private id As String = "" + Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuery($"select CAT_GP_ID from ${Starter.tabla} where CAT_GP_TIPO = 'PROMOS' and CAT_GP_NOMBRE = '${Value}'"$) + If c.RowCount > 0 Then + c.Position = 0 + id = c.GetString("CAT_GP_ID") + End If + l_info.Text = $"ID: ${id}${CRLF}${Value}"$ + l_info.Visible = True +End Sub + +'Private Sub b_buscar_Click +' forzarBusqueda = True +' Busca_TextChanged("",BUSCA.Text) +'End Sub + +Private Sub lv_tipo_ItemClick (Position As Int, Value As Object) + ' lfila.text = "SUB TIPO" + ' lv_tipo.Visible = False + ' lv_subtipo.Height = Root.Height * 0.7 + ' lv_subtipo.Visible = True + ' Private c As Cursor = B4XPages.MainPage.skmt.ExecQuery2("select distinct CAT_GP_SUBTIPO from cat_gunaprod where CAT_GP_TIPO = ? order by CAT_GP_SUBTIPO", Array As String(Value)) + ' If c.RowCount > 0 Then + ' Dim label1 As Label + ' label1 = lv_subtipo.SingleLineLayout.Label + ' label1.TextSize = 17 + ' label1.TextColor = Colors.Black + ' lv_subtipo.Clear + ' For i=0 To c.RowCount-1 + ' c.Position=i + ' lv_subtipo.AddSingleLine(c.GetString("CAT_GP_SUBTIPO")) + ' Next + ' End If + ' c.Close +End Sub + +Private Sub lv_subtipo_ItemClick (Position As Int, Value As Object) + ' lfila.text = "SUB TIPO" + ' LogColor("Catalogo", Colors.red) + ' lv_catalogos.Visible = False + ' lv_subtipo.Visible = False + ' lv_promos.Visible = False + ' lfila.text = "CATALOGO" + ' ProgressDialogShow("Cargando catalogo ...") + ' Sleep(100) + ' Private inicioContador As String = DateTime.Now + ' llenaCatalogo(Value) + ' clv_prods_ll.AsView.Visible = True + ' LogColor("TIEMPO DE PROCESO DEL CATALOGO: " & ((DateTime.Now-inicioContador)/1000), Colors.Red) + ' ProgressDialogHide +End Sub + +Private Sub p_vistaPreviaTrans_Click + +End Sub + +Private Sub b_rechazar_Click + ' If folio <> "" Then + result = Msgbox2($"Seguro que desea borrar el pedido completo?${CRLF}Haciendo clic largo sobre un producto se pueden borrar articulos independientes."$,"Rechazar Pedido", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore + If result = DialogResponse.POSITIVE Then + Subs.borraPedidoClienteActual + prodsMap.Initialize + B4XPages.MainPage.promos.promosMap.Initialize + ' Log("Llamamos LlenaProdsLL") + ' LlenaProdsLL(Null) + clv_prods_ll.Clear + Log("Positivo") + B4XPages.ShowPage("Cliente") + Else + Log("NO Positivo") + p_vistaPreviaTrans.Visible = False + End If + ' Else + ' Msgbox("CLIENTE YA SE TRANSMITIO, FAVOR DE LLAMAR A SOPORTE PARA ASISTENCIA","AVISO") 'ignore + ' End If + p_vistaPreviaTrans.Visible=False + B4XPages.ShowPage("Cliente") +End Sub + +Private Sub b_aceptar_Click + p_vistaPreviaTrans.Visible=False + B4XPages.ShowPage("Cliente") +End Sub + +'Private Sub lv_prodsPedido_ItemLongClick (Position As Int, Value As Object) +' Private sDate,sTime, clie_id, usuario As String +' Log(Value) +' Private X() As String = Regex.Split(" ", Value) +' ' Log(X.Length) +' Private nom As String = "" +' For i = 0 To X.Length -1 +' If X(i).Contains(CRLF) Then +' End If +' If Not(X(i).Contains(CRLF)) Then +' nom = nom & " " & X(i) +' Else +' Exit +' End If +' Next +' nom = nom.Trim +' Log(nom) +' Private cedis As String = X(X.Length-1) +' Log(cedis) +' ' If Not(Subs.pedidoGuardado) Then +' result = Msgbox2("Seguro que desea borrar este articulo?","Borrar Articulo", "Si", "", "No",LoadBitmap(File.DirAssets,"alert2.png")) 'ignore +' If result = DialogResponse.POSITIVE Then +' c =B4XPages.MainPage.skmt.ExecQuery2("select PE_PROID,PE_CANT, PE_FOLIO FROM PEDIDO where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS = ? ", Array As String(nom, cedis)) +' c.Position = 0 +' Log(vamoaver.Get(Position)) +' If vamoaver.Get(Position) = "VENTA" Then +' Log("CAT_GUNAPROD2") +' Log(Position) +' Log(Value) +' Starter.tabla = "CAT_GUNAPROD2" +' Else +' Log("CAT_GUNAPROD") +' Log(Position) +' Log(Value) +' Starter.tabla = "CAT_GUNAPROD" +' End If +' Log(Subs.traeAlmacen) +' ' B4XPages.MainPage.skmt.ExecNonQuery2($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?"$, Array As Object(c.GetString("PE_CANT"),c.GetString("PE_PROID"))) +' ' Log(c.GetString("PE_CANT")) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ", Array As Object (Subs.traeAlmacen,c.GetString("PE_PROID"),c.GetString("PE_CANT")* -1)) +' ' c2=B4XPages.MainPage.skmt.ExecQuery2($"select count(*) AS CUANTOS from ${Starter.tabla} where CAT_GP_ID in (select pe_cedis from pedido where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa)) and CAT_GP_CLASIF = 'PROMOS' AND CAT_GP_TIPO = 'PROMOS' AND CAT_GP_SUBTIPO = 'PROMOS'"$, Array As String(Value)) +' ' c2.Position=0 +' If cedis <> Subs.traeAlmacen Then +' j3 = B4XPages.MainPage.skmt.ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ? and PE_CEDIS = ?)",Array As String(nom,cedis)) +' Log(j3.RowCount) +' If j3.RowCount > 0 Then +' Log("Soy promo") +' For j = 0 To j3.RowCount -1 +' Log("aqui tronare?") +' j3.Position = j +' Log(j3.GetString("PE_CANT")) +' Log($"update ${Starter.tabla} set CAT_GP_ALMACEN = CAT_GP_ALMACEN + '${j3.GetString("PE_CANT")}' where CAT_GP_ID = '${j3.GetString("PE_PROID")}'"$) +' If vamoaver.Get(Position) = "PREVENTA_CREDITO" Then +' Starter.skmt.ExecNonQuery($"update CAT_GUNAPROD4 set CAT_GP_ALMACEN = CAT_GP_ALMACEN + ${j3.GetString("PE_CANT")} where CAT_GP_ID = '${j3.GetString("PE_PROID")}'"$) +' B4XPages.MainPage.skmt.ExecNonQuery($"delete from pedido where pe_cedis= '${cedis}' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '${j3.GetString("PE_FOLIO")}' AND PE_PROID = '${j3.GetString("PE_PROID")}'"$)', Array As Object(cedis, c.GetString("PE_FOLIO"))) +' Else +' Starter.skmt.ExecNonQuery($"update ${Starter.tabla} set CAT_GP_ALMACEN = CAT_GP_ALMACEN + ${j3.GetString("PE_CANT")} where CAT_GP_ID = '${j3.GetString("PE_PROID")}'"$) +' B4XPages.MainPage.skmt.ExecNonQuery($"delete from pedido where pe_cedis= '${cedis}' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '${j3.GetString("PE_FOLIO")}' AND PE_PROID = '${j3.GetString("PE_PROID")}'"$)', Array As Object(cedis, c.GetString("PE_FOLIO"))) +' End If +' Next +' End If +' j3.Close +' Else +' Log(c.GetString("PE_CANT")) +' Log(c.Getstring("PE_PROID")) +' If vamoaver.Get(Position) = "PREVENTA_CREDITO" Then +' B4XPages.MainPage.skmt.ExecNonQuery($"update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen + ${c.GetString("PE_CANT")} where cat_gp_id = '${c.Getstring("PE_PROID")}'"$) +' B4XPages.MainPage.skmt.ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As Object(nom, cedis, vamoaver.Get(Position))) +' Else +' B4XPages.MainPage.skmt.ExecNonQuery($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen + ${c.GetString("PE_CANT")} where cat_gp_id = '${c.Getstring("PE_PROID")}'"$) +' B4XPages.MainPage.skmt.ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cedis = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As Object(nom, cedis, vamoaver.Get(Position))) +' End If +' End If +' c.Close +' ' c2.Close +' DateTime.DateFormat = "MM/dd/yyyy" +' sDate=DateTime.Date(DateTime.Now) +' sTime=DateTime.Time(DateTime.Now) +' c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") +' c.Position=0 +' clie_id = c.GetString("CUENTA") +' c=B4XPages.MainPage.skmt.ExecQuery("select USUARIO from usuarioa") +' c.Position=0 +' usuario = c.GetString("USUARIO") +' c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") +' c.Position=0 +' If c.GetString("CUANTOS") > 0 Then +' Log("aqui5") +' B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") +' B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)", Array As Object(clie_id, sDate & sTime, usuario, c.GetString("CANT_CLIE"),c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps)) +' B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") +' B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' Private h As Cursor = B4XPages.MainPage.skmt.ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )") +' Log($"select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"$) +' h.Position=0 +' l_cant.Text = h.GetString("PC_NOART") +' l_total2.Text = h.GetString("PC_MONTO") +' h.Close +' Else +' Log("aqui6") +' B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") +' B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' Private h As Cursor = B4XPages.MainPage.skmt.ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )") +' h.Position=0 +' l_cant.Text = 0 +' l_total2.Text = 0 +' h.Close +' End If +' b_terminar1_Click +' End If +' ' Else +' ' ToastMessageShow("Esta venta ya esta guardada, no se puede editar ni borrar.", False) +' ' End If +'End Sub + +'Private Sub lv_prodsPedido_ItemLongClick (Position As Int, Value As Object) +' Private sDate, sTime, clie_id, usuario As String +' +' ' 1. Extraer el nombre del producto del texto del ListView +' ' (Separamos por espacio y reconstruimos hasta encontrar el salto de línea) +' Private X() As String = Regex.Split(" ", Value) +' Private nom As String = "" +' For i = 0 To X.Length - 1 +' If Not(X(i).Contains(CRLF)) Then +' nom = nom & " " & X(i) +' Else +' ' El nombre termina donde empieza el CRLF (Cantidad...) +' Dim partes() As String = Regex.Split(CRLF, X(i)) +' nom = nom & " " & partes(0) +' Exit +' End If +' Next +' nom = nom.Trim +' +' ' Extraer el CEDIS (Almacén) que viene al final de la cadena +' Private cedis As String = X(X.Length - 1).Trim +' +' result = Msgbox2("¿Seguro que desea borrar este artículo?", "Borrar Artículo", "Si", "", "No", LoadBitmap(File.DirAssets, "alert2.png")) +' +' If result = DialogResponse.POSITIVE Then +' ' 2. BUSQUEDA ESPECÍFICA: Traemos los datos de la presentación exacta que el usuario clickeó +' ' Usamos PE_PRONOMBRE y PE_CEDIS para identificar la fila +' Dim q As String = "SELECT PE_PROID, PE_CANT, PE_FOLIO, PE_PRESENTACION, PE_UVM, PE_DIRIGIDA " & _ +' "FROM PEDIDO WHERE PE_PRONOMBRE = ? AND PE_CEDIS = ? " & _ +' "AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)" +' +' c = B4XPages.MainPage.skmt.ExecQuery2(q, Array As String(nom, cedis)) +' +' If c.RowCount > 0 Then +' c.Position = 0 +' Dim idProd As String = c.GetString("PE_PROID") +' Dim cantRegresar As Int = c.GetInt("PE_CANT") +' Dim folioActual As String = c.GetString("PE_FOLIO") +' Dim presName As String = c.GetString("PE_PRESENTACION") +' Dim uvmVal As String = c.GetString("PE_UVM") +' Dim dirTarget As String = c.GetString("PE_DIRIGIDA") +' +' ' 3. DEVOLVER AL INVENTARIO (Tabla dinámica según el folio) +' Dim tablaInventario As String = Starter.tabla +' If folioActual = "PREVENTA_CREDITO" Then tablaInventario = "CAT_GUNAPROD4" +' +' B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE ${tablaInventario} SET CAT_GP_ALMACEN = CAT_GP_ALMACEN + ${cantRegresar} WHERE CAT_GP_ID = '${idProd}'"$) +' +' ' 4. REGISTRAR MOVIMIENTO EN INVENTARIO (Opcional pero recomendado) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN, PROID, CANTIDAD) VALUES(?,?,?)", _ +' Array As Object(cedis, idProd, cantRegresar * -1)) +' +' ' 5. BORRADO QUIRÚRGICO: Usamos todos los criterios para no borrar otras presentaciones +' Dim qDelete As String = "DELETE FROM PEDIDO WHERE PE_PROID = ? AND PE_PRESENTACION = ? " & _ +' "AND PE_UVM = ? AND PE_DIRIGIDA = ? AND PE_CEDIS = ? " & _ +' "AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)" +' +' B4XPages.MainPage.skmt.ExecNonQuery2(qDelete, Array As Object(idProd, presName, uvmVal, dirTarget, cedis)) +' +' LogColor("Borrado exitoso: " & nom & " (" & presName & ")", Colors.Green) +' End If +' c.Close +' +' ' 6. RECALCULAR TOTALES Y REFRESCAR VISTA +' ActualizarTotalesPedido(clienteId) +' +' ' Volvemos a llamar al método que arma el panel de vista previa para que desaparezca el item +' b_terminar1_Click +' End If +'End Sub + +Private Sub lv_prodsPedido_ItemLongClick (Position As Int, Value As Object) + ' 1. VALIDACIÓN: Si Value no es un Mapa, hay un error en el llenado + If Not(Value Is Map) Then + Log("Error: El valor recibido no es un Mapa de datos.") + Return + End If + + ' 2. EXTRAER DIRECTAMENTE DE LAS LLAVES DEL MAPA + Dim datos As Map = Value + Dim idProd As String = datos.Get("id") + Dim nom As String = datos.Get("nombre") + Dim presName As String = datos.Get("pres") + Dim uvmVal As Int = datos.Get("uvm") + Dim cedis As String = datos.Get("cedis") + Dim dirTarget As String = datos.Get("dir") + Dim folioActual As String = datos.Get("folio") + Dim cantRegresar As Int = datos.Get("cant") + Log(cedis) + Log(folioActual) + ' Log de depuración para confirmar que los datos vienen limpios + Log("Intentando borrar -> ID: " & idProd & " | Nombre: " & nom & " | Almacen: " & cedis) + + result = Msgbox2("¿Seguro que desea borrar " & nom & " (" & presName & ")?", "Borrar Artículo", "Si", "", "No", LoadBitmap(File.DirAssets, "alert2.png")) + + If result = DialogResponse.POSITIVE Then + ' 3. DEVOLVER AL INVENTARIO (Tabla dinámica) + Dim tablaInventario As String +' If folioActual = "PREVENTA_CREDITO" Then tablaInventario = "CAT_GUNAPROD4" + If folioActual = "PREVENTA_CONTADO" Or folioActual = "ABORDO" Then + tablaInventario = "CAT_GUNAPROD" + Log("1") + Else If folioActual = "VENTA" Then + tablaInventario = "CAT_GUNAPROD2" + Log(2) + Else If folioActual = "RECARGA" Then + tablaInventario = "CAT_GUNAPROD" + Log(3) + Else If folioActual = "PREVENTA_CREDITO" Then + tablaInventario = "CAT_GUNAPROD4" + Log(4) + End If + + + If cedis <> Subs.traeAlmacen Then + Log("entre") + j3 = B4XPages.MainPage.skmt.ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ? and PE_CEDIS = ?) AND PE_FOLIO = ?",Array As String(nom,cedis,folioActual)) + Log(j3.RowCount) + If j3.RowCount > 0 Then + Log("Soy promo") + For j = 0 To j3.RowCount -1 + Log("aqui tronare?") + + j3.Position = j + Log(j3.GetString("PE_CANT")) + Log($"update ${tablaInventario} set CAT_GP_ALMACEN = CAT_GP_ALMACEN + '${j3.GetString("PE_CANT")}' where CAT_GP_ID = '${j3.GetString("PE_PROID")}'"$) + If vamoaver.Get(Position) = "PREVENTA_CREDITO" Then + Starter.skmt.ExecNonQuery($"update CAT_GUNAPROD4 set CAT_GP_ALMACEN = CAT_GP_ALMACEN + ${j3.GetString("PE_CANT")} where CAT_GP_ID = '${j3.GetString("PE_PROID")}'"$) + B4XPages.MainPage.skmt.ExecNonQuery($"delete from pedido where pe_cedis= '${cedis}' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '${j3.GetString("PE_FOLIO")}' AND PE_PROID = '${j3.GetString("PE_PROID")}'"$)', Array As Object(cedis, c.GetString("PE_FOLIO"))) + Else + Starter.skmt.ExecNonQuery($"update ${tablaInventario} set CAT_GP_ALMACEN = CAT_GP_ALMACEN + ${j3.GetString("PE_CANT")} where CAT_GP_ID = '${j3.GetString("PE_PROID")}'"$) + B4XPages.MainPage.skmt.ExecNonQuery($"delete from pedido where pe_cedis= '${cedis}' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '${j3.GetString("PE_FOLIO")}' AND PE_PROID = '${j3.GetString("PE_PROID")}'"$)', Array As Object(cedis, c.GetString("PE_FOLIO"))) + + End If + Next + End If + j3.Close + + ActualizarTotalesPedido(clienteId) + b_terminar1_Click + + Else + + B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE ${tablaInventario} SET CAT_GP_ALMACEN = CAT_GP_ALMACEN + ${cantRegresar} WHERE CAT_GP_ID = '${idProd}'"$) + + ' 4. REGISTRAR MOVIMIENTO + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN, PROID, CANTIDAD) VALUES(?,?,?)", _ + Array As Object(cedis, idProd, cantRegresar * -1)) + + ' 5. BORRADO QUIRÚRGICO (Usando los datos exactos del Map) + Dim qDelete As String = "DELETE FROM PEDIDO WHERE PE_PROID = ? AND PE_PRESENTACION = ? " & _ + "AND PE_UVM = ? AND PE_DIRIGIDA = ? AND PE_CEDIS = ? " & _ + "AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = ?" + + B4XPages.MainPage.skmt.ExecNonQuery2(qDelete, Array As Object(idProd, presName, uvmVal, dirTarget, cedis, folioActual)) + + LogColor("Borrado exitoso de base de datos.", Colors.Green) + + ' 6. REFRESCAR TOTALES Y LISTA + ActualizarTotalesPedido(clienteId) + b_terminar1_Click + End If + + + End If +End Sub + +' Sub auxiliar para mantener limpia la lógica de base de datos +Private Sub ActualizarTotalesPedido(idClie As String) + DateTime.DateFormat = "MM/dd/yyyy" + Dim sDate As String = DateTime.Date(DateTime.Now) + Dim sTime As String = DateTime.Time(DateTime.Now) + + ' Traemos el total actualizado + Dim h As Cursor = B4XPages.MainPage.skmt.ExecQuery("SELECT SUM(PE_CANT) as PC_NOART, SUM(PE_COSTO_TOT) as PC_MONTO FROM PEDIDO WHERE PE_CLIENTE = '" & idClie & "'") + h.Position = 0 + + If h.RowCount > 0 And h.GetString("PC_NOART") <> Null Then + ' Actualizamos tabla encabezado (pedido_cliente) + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM pedido_cliente WHERE PC_CLIENTE = '" & idClie & "'") + + Dim usuario As String = Subs.traeUsuarioDeBD 'Asumiendo que tienes este helper + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)", _ + Array As Object(idClie, sDate & " " & sTime, usuario, h.GetString("PC_NOART"), h.GetString("PC_MONTO"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps)) + + l_cant.Text = h.GetString("PC_NOART") + l_total2.Text = NumberFormat2(h.GetDouble("PC_MONTO"), 1, 2, 2, False) + Else + ' Si ya no queda nada en el pedido + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM pedido_cliente WHERE PC_CLIENTE = '" & idClie & "'") + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info SET gestion = 0 WHERE CAT_CL_CODIGO = '" & idClie & "'") + l_cant.Text = "0" + l_total2.Text = "0.00" + End If + h.Close +End Sub + +Private Sub clv_prods_ll_ItemClick (Index As Int, Value As Object) +End Sub + +Sub l_prodx_click + Dim index As Int = clv_prods_ll.GetItemFromView(Sender) + Private p0 As B4XView = clv_prods_ll.GetPanel(index) + Private p As B4XView = p0.GetView(0) + Private cant1 As B4XView = p.GetView(2).GetView(2) + Dim index As Int = clv_prods_ll.GetItemFromView(Sender) + ' Log(clv_prods_ll.GetValue(index)) + Log(cant1.Text) +End Sub + +'Private Sub clv_prods_ll_VisibleRangeChanged (FirstIndex As Int, LastIndex As Int) +' ' Log para confirmar en el IDE que el evento se está disparando +' Log("Dibujando rango: " & FirstIndex & " a " & LastIndex) +' +' For i = Max(0, FirstIndex - 2) To Min(LastIndex + 2, clv_prods_ll.Size - 1) +' Dim Pnl As B4XView = clv_prods_ll.GetPanel(i) +' +' If i >= FirstIndex And i <= LastIndex Then +' ' Solo dibujamos si el panel está vacío para evitar duplicados +' If Pnl.NumberOfViews = 0 Then +' Dim data As Map = clv_prods_ll.GetValue(i) +' +' ' 1. CREAR BASE (Tarjeta del producto) +' ' Usamos color Rojo para confirmar visualmente que el panel existe +' Dim base As B4XView = xui.CreatePanel("") +' base.Color = Colors.Red +' +' ' Añadimos la base al panel del ítem ocupando todo su espacio +' Pnl.AddView(base, 0, 0, Pnl.Width, Pnl.Height) +' +' ' 2. TÍTULO DEL PRODUCTO +' Dim lblNom As Label : lblNom.Initialize("") +' Dim xlbl As B4XView = lblNom +' xlbl.Text = data.Get("prod") +' xlbl.TextColor = Colors.Yellow ' Amarillo para resaltar sobre rojo +' xlbl.Font = xui.CreateDefaultBoldFont(16) +' lblNom.Gravity = Bit.Or(Gravity.LEFT, Gravity.CENTER_VERTICAL) +' +' ' Posicionamos el título en la parte superior +' base.AddView(xlbl, 10dip, 5dip, base.Width - 20dip, 35dip) +' +' ' 3. DIBUJAR PRESENTACIONES (Filas dinámicas) +' Dim presentaciones As List = data.Get("presentaciones") +' Dim vTop As Int = 45dip ' Coordenada inicial debajo del título +' +' For Each pres As Map In presentaciones +' ' Label de Presentación y Precio +' Dim lblP As Label : lblP.Initialize("") +' lblP.Text = pres.Get("nombre") & " $" & pres.Get("precio") +' lblP.TextColor = Colors.White +' lblP.TextSize = 14 +' base.AddView(lblP, 10dip, vTop, 160dip, 40dip) +' +' ' Botón de acción (+) +' Dim bP As Button : bP.Initialize("btnMasDinamico") +' bP.Text = "+" +' bP.Tag = CreateMap("id": data.Get("id"), "col": pres.Get("col_index"), "pres": pres) +' +' ' Posicionamos el botón a la derecha +' base.AddView(bP, base.Width - 65dip, vTop, 55dip, 40dip) +' +' ' Incrementamos el espacio vertical para la siguiente presentación +' vTop = vTop + 55dip +' Next +' End If +' Else +' ' Si el ítem sale del rango visible, removemos las vistas para liberar memoria +' If Pnl.NumberOfViews > 0 Then +' Pnl.RemoveAllViews +' End If +' End If +' Next +'End Sub + + +Private Sub clv_prods_ll_VisibleRangeChanged (FirstIndex As Int, LastIndex As Int) + For i = Max(0, FirstIndex - 2) To Min(LastIndex + 2, clv_prods_ll.Size - 1) + Dim Pnl As B4XView = clv_prods_ll.GetPanel(i) + + If i >= FirstIndex And i <= LastIndex Then + If Pnl.NumberOfViews = 0 Then + Dim data As Map = clv_prods_ll.GetValue(i) + + ' 1. FONDO DE LA TARJETA CON ESQUINAS REDONDEADAS Y BORDE + Dim base As B4XView = xui.CreatePanel("") + + ' Parámetros: Color de fondo, Grosor del borde, Color del borde, Radio de redondeo + ' Usamos un radio de 8dip para un aspecto suave y un borde gris claro (0xFFD3D3D3) + base.SetColorAndBorder(xui.Color_White, 1dip, xui.Color_Black, 8dip) + + ' Agregamos el panel base al contenedor del ítem + Pnl.AddView(base, 5dip, 2dip, Pnl.Width - 10dip, Pnl.Height - 4dip) + + ' 2. TÍTULO Y EXISTENCIAS (Lado Izquierdo) + Dim cs As CSBuilder + cs.Initialize.Color(Colors.Red).Bold.Append(data.Get("prod")).Pop.Pop _ + .Append(CRLF).Size(12).Color(Colors.Black).Append("Existencias: " & data.Get("almacen")).Pop + + Dim lblInfo As Label : lblInfo.Initialize("") + Dim xlbl As B4XView = lblInfo + xlbl.Text = cs + lblInfo.Gravity = Gravity.TOP + base.AddView(xlbl, 10dip, 8dip, base.Width * 0.55, 45dip) + + ' 3. FILAS DE PRESENTACIONES (Lado Derecho) + Dim presentaciones As List = data.Get("presentaciones") + Dim vTop As Int = 10dip + + For Each pres As Map In presentaciones + ' 1. Label de Presentación (ARRIBA del botón Menos, letra más grande y NEGRO) + Dim lblTipo As Label : lblTipo.Initialize("") + lblTipo.Text = pres.Get("nombre") + lblTipo.TextColor = Colors.Black ' <--- Cambiado a Negro + lblTipo.TextSize = 14 ' <--- Tamaño aumentado de 11 a 14 +' lblTipo.Font = xui.CreateDefaultBoldFont(14) ' <--- Negrita opcional para que resalte más + lblTipo.Gravity = Gravity.LEFT + + ' 1. Label de Presentación (Calculamos las unidades actuales) + Dim cantPiezas As Int = pres.Get("cantidad") + Dim factorUmv As Int = pres.Get("umv") + Dim unidadesExistentes As Int = 0 + + ' Evitamos división por cero y calculamos cuántos paquetes/cajas hay ya pedidos + If factorUmv > 0 Then unidadesExistentes = cantPiezas / factorUmv + + Dim lblTipo As Label : lblTipo.Initialize("") + ' Aquí concatenamos el nombre con las unidades (Ej: PAQUETE: 2) + lblTipo.Text = pres.Get("nombre").As(String).ToUpperCase & ": " & unidadesExistentes + lblTipo.TextColor = Colors.Black + lblTipo.TextSize = 14 + lblTipo.Gravity = Gravity.LEFT + + ' Posicionado exactamente arriba del botón menos (Width - 145dip) + ' Aumentamos la altura del label a 22dip por el tamaño de letra + base.AddView(lblTipo, base.Width - 145dip, vTop, 140dip, 22dip) + + ' 2. Precio (Verde) - Alineado a la izquierda de la caja de botones + Dim lblPrice As Label : lblPrice.Initialize("") + lblPrice.Text = "$" & NumberFormat2(pres.Get("precio"), 1, 2, 2, False) + lblPrice.TextColor = 0xFF008000 + lblPrice.TextSize = 14 ' <--- También aumentamos el precio para equilibrio visual + lblPrice.Gravity = Gravity.CENTER_VERTICAL + base.AddView(lblPrice, base.Width - 215dip, vTop + 22dip, 65dip, 42dip) + + ' --- CONTROLES DE CANTIDAD (Bajamos vTop + 22dip para dar espacio al label grande) --- + Dim bM As Button : bM.Initialize("btnMenosDinamico") + bM.Text = "-" : bM.TextColor = Colors.White : bM.Color = 0xFFF4511E + + Dim et As EditText : et.Initialize("etCantDinamico") + et.Text = pres.Get("cantidad") + et.InputType = et.INPUT_TYPE_NUMBERS + et.Gravity = Gravity.CENTER + et.Background = Null + + Dim bP As Button : bP.Initialize("btnMasDinamico") + bP.Text = "+" : bP.TextColor = Colors.White : bP.Color = 0xFF000080 + + Dim tagInfo As Map = CreateMap("id": data.Get("id"), "col": pres.Get("col_index"), "et": et, "pres": pres, "almacen": data.Get("almacen")) + bM.Tag = tagInfo : bP.Tag = tagInfo : et.Tag = tagInfo + + ' Posicionamiento de controles (vTop + 22dip para que no choque con el label negro) + base.AddView(bM, base.Width - 145dip, vTop + 22dip, 38dip, 42dip) + base.AddView(et, base.Width - 105dip, vTop + 22dip, 45dip, 42dip) + base.AddView(bP, base.Width - 58dip, vTop + 22dip, 38dip, 42dip) + + ' Incrementamos el salto de fila a 75dip para que la siguiente presentación tenga aire + vTop = vTop + 75dip + et.Enabled = False + et.TextColor = Colors.Black + Next + End If + Else + If Pnl.NumberOfViews > 0 Then Pnl.RemoveAllViews + End If + Next +End Sub + +'Sub Busca_TextChanged (Old As String, New As String) +' ' Private inicioContador As String = DateTime.Now +' If Not(clv_prods_ll.AsView.Visible) Then clv_prods_ll.AsView.Visible = True +' If (New.Length = 1 Or New.Length = 2) And Not(forzarBusqueda) Then Return +' forzarBusqueda = False +' clv_prods_ll.Clear +' listaProds.Initialize +' listaHints.Initialize +' Sleep(0) +' ' Dim p As ResultSet = B4XPages.MainPage.skmt.ExecQuery($"select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD from ${Starter.tabla} where CAT_GP_NOMBRE like '%${New}%' and CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_CLASIF <> 'PROMOS' order by CAT_GP_NOMBRE"$) +' If Subs.traeTipoCliente = "0" Then +' Log("AQUI") +' Dim p As ResultSet = B4XPages.MainPage.skmt.ExecQuery($"select distinct CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4, PE_BCAJAS from ${Starter.tabla} LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_NOMBRE like '%${New}%' AND CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN > 0 And CAT_GP_CLASIF <> 'PROMOS' union all select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4 , PE_BCAJAS from ${Starter.tabla} LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN = 0 And CAT_GP_CLASIF <> 'PROMOS' and cat_gp_id in (select pe_proid from pedido where pe_cliente in (select cuenta from cuentaa)) order by 2"$) +' ' B4XPages.MainPage.skmt.ExecQuery($"select DISTINCT CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4, PE_BCAJAS from ${Starter.tabla} LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_NOMBRE like '%${New}%' AND CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN > 0 And CAT_GP_CLASIF <> 'PROMOS' union all select DISTINCT CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4 , PE_BCAJAS from ${Starter.tabla} LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN = 0 And CAT_GP_CLASIF <> 'PROMOS' and cat_gp_id in (select pe_proid from pedido where pe_cliente in (select cuenta from cuentaa)) order by 2"$) +' Else +' Log("AQUI2") +' Dim p As ResultSet = B4XPages.MainPage.skmt.ExecQuery($"select distinct CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_DP_PRECIO${Subs.traeTipoCliente} as CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4, PE_BCAJAS from ${Starter.tabla} LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_NOMBRE like '%${New}%' AND CAT_DP_PRECIO${Subs.traeTipoCliente} > 0 And CAT_GP_ALMACEN > 0 And CAT_GP_CLASIF <> 'PROMOS' union all select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_DP_PRECIO${Subs.traeTipoCliente} AS CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4 , PE_BCAJAS from ${Starter.tabla} LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_DP_PRECIO${Subs.traeTipoCliente} > 0 And CAT_GP_ALMACEN = 0 And CAT_GP_CLASIF <> 'PROMOS' and cat_gp_id in (select pe_proid from pedido where pe_cliente in (select cuenta from cuentaa)) order by 2"$) +' End If +' ' Dim p As ResultSet = B4XPages.MainPage.skmt.ExecQuery($"select DISTINCT CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4, PE_BCAJAS from ${Starter.tabla} LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_NOMBRE like '%${New}%' AND CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN > 0 And CAT_GP_CLASIF <> 'PROMOS' union all select DISTINCT CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4 , PE_BCAJAS from ${Starter.tabla} LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN = 0 And CAT_GP_CLASIF <> 'PROMOS' and cat_gp_id in (select pe_proid from pedido where pe_cliente in (select cuenta from cuentaa)) order by 2"$) +' Log("Llamamos LlenaProdsLL") +' LlenaProdsLL(p) +' ' Do While p.NextRow +' ' Dim tempMap As Map = CreateMap("prod":p.GetString("CAT_GP_NOMBRE"), "precio":p.GetString("CAT_GP_PRECIO"), "almacen":p.GetString("CAT_GP_ALMACEN"), "id":p.GetString("CAT_GP_ID")) +' ' listaProds.Add(tempMap) +' ' listaHints.Add(p.GetString("CAT_GP_NOMBRE")) +' ' Dim Pnl As B4XView = xui.CreatePanel("") +' ' Pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsView.Width, 50dip) 'Panel height + 4 for drop shadow +' ' clv_prods_ll.Add(Pnl, tempMap) +' ' Loop +' ' LogColor(clv_prods_ll.Size, Colors.red) +' '' Log(listaProds) +' ' p.Close +' ' PCLV.B4XSeekBar1.MaxValue = clv_prods_ll.Size +' ' PCLV.B4XSeekBar1.MinValue = 0 +' ' PCLV.B4XSeekBar1.Interval = clv_prods_ll.Size/10 +' ' PCLV.B4XSeekBar1.Value = clv_prods_ll.Size +' ' PCLV.B4XSeekBar1.Update +' ' Log($"Min:0, max:${clv_prods_ll.Size}, Interval:${clv_prods_ll.Size/10}"$) +' ' LogColor("TIEMPO DE PROCESO DEL TEXTCHANGED: " & ((DateTime.Now-inicioContador)/1000), Colors.Red) +'End Sub + +'Sub Busca_TextChanged (Old As String, New As String) +' ' 1. Control de visibilidad inicial +' If Not(clv_prods_ll.AsView.Visible) Then clv_prods_ll.AsView.Visible = True +' +' ' 2. Regla de búsqueda: Esperar a que el usuario escriba al menos 3 caracteres +' ' a menos que se fuerce la búsqueda (por ejemplo, al darle al botón buscar) +' If New.Length > 0 And New.Length < 3 And Not(forzarBusqueda) Then Return +' +' forzarBusqueda = False +' +' ' 3. Construcción del Query de búsqueda +' ' Filtramos por nombre y nos aseguramos de que el producto esté activo (CAT_GP_STS = 1) +' ' No filtramos aquí por presentación ni precio, de eso se encarga LlenaProdsLL +' Dim query As String +' If New.Trim = "" Then +' ' Si borra el texto, cargamos todo de nuevo +' query = $"SELECT * FROM ${Starter.tabla} WHERE CAT_GP_STS = 1 ORDER BY CAT_GP_NOMBRE"$ +' Else +' ' Búsqueda por coincidencia de nombre +' query = $"SELECT * FROM ${Starter.tabla} WHERE CAT_GP_STS = 1 AND CAT_GP_NOMBRE LIKE '%${New}%' ORDER BY CAT_GP_NOMBRE"$ +' End If +' +' ' 4. Ejecutar consulta +' Dim p As ResultSet = B4XPages.MainPage.skmt.ExecQuery(query) +' +' ' 5. Delegar el llenado de la lista a la lógica de 11 niveles +' Log("Buscando: " & New & " - Resultados iniciales: " & p.RowCount) +' LlenaProdsLL(p) +'End Sub + +Sub Busca_TextChanged (Old As String, New As String) + ' 1. Control de visibilidad inicial + If Not(clv_prods_ll.AsView.Visible) Then clv_prods_ll.AsView.Visible = True + + ' 2. Regla de búsqueda: Esperar a que el usuario escriba al menos 3 caracteres + ' a menos que se fuerce la búsqueda (por ejemplo, al darle al botón buscar) + If New.Length > 0 And New.Length < 3 And Not(forzarBusqueda) Then Return + + forzarBusqueda = False + Log("Texto buscado: [" & New.Trim & "]") + + ' 3. Construcción y Ejecución + If New.Trim = "" Then + ' Si borra el texto, le enviamos Null. + ' Así, LlenaProdsLL usará su propia consulta por defecto que ya sabe excluir PROMOS. + Log("Búsqueda borrada. Restaurando catálogo principal...") + LlenaProdsLL(Null) + Else + ' Búsqueda por coincidencia de nombre. + ' IMPORTANTE: También excluimos las PROMOS aquí para que no se cuelen en los resultados de búsqueda. + Dim query As String = $"SELECT * FROM ${Starter.tabla} WHERE CAT_GP_STS = 1 AND CAT_GP_TIPO <> 'PROMOS' AND CAT_GP_SUBTIPO <> 'PROMOS' AND CAT_GP_NOMBRE LIKE '%${New}%' ORDER BY CAT_GP_NOMBRE"$ + Dim p As ResultSet = B4XPages.MainPage.skmt.ExecQuery(query) + + Log("Buscando: " & New & " - Resultados encontrados: " & p.RowCount) + LlenaProdsLL(p) + End If +End Sub + +Sub LlenaProdsLL(p As ResultSet) + Log("--- Iniciando LlenaProdsLL (11 Niveles) ---") + listaProds.Initialize + listaHints.Initialize + cantsMap.Initialize + + ' 1. Obtener cantidades ya pedidas para este cliente +' If hayPedido Then +' ' Nota: Para que esto funcione, tu tabla PEDIDO debe tener +' ' una columna llamada PE_PRESENTACION_ID (donde guardas el 1, 2... al 11) +' Dim pe As ResultSet = B4XPages.MainPage.skmt.ExecQuery($"SELECT PE_PROID, PE_DIRIGIDA, PE_CANT FROM PEDIDO WHERE PE_CLIENTE = '${clienteId}'"$) +' Do While pe.NextRow +' cantsMap.Put(pe.GetString("PE_PROID") & "_" & pe.GetString("PE_DIRIGIDA"), pe.GetInt("PE_CANT")) +' Loop +' pe.Close +' End If + + If hayPedido Then + Dim pe As ResultSet = B4XPages.MainPage.skmt.ExecQuery($"SELECT PE_PROID, PE_DIRIGIDA, PE_CANT FROM PEDIDO WHERE PE_CLIENTE = '${clienteId}' AND PE_FOLIO ='${B4XPages.MainPage.tipo_venta}'"$) + Do While pe.NextRow + ' Guardamos la cantidad de piezas asociada a la combinación Producto_Columna + cantsMap.Put(pe.GetString("PE_PROID") & "_" & pe.GetString("PE_DIRIGIDA"), pe.GetInt("PE_CANT")) + Loop + pe.Close + End If + + ' 2. Ejecutar Query si no hay búsqueda activa + If p = Null Or p.IsInitialized = False Then + Log(Starter.tabla) + p = B4XPages.MainPage.skmt.ExecQuery($"SELECT * FROM ${Starter.tabla} WHERE CAT_GP_STS = 1 AND CAT_GP_TIPO <> 'PROMOS' AND CAT_GP_SUBTIPO <> 'PROMOS' ORDER BY CAT_GP_NOMBRE"$) + End If + + ' 3. Procesar resultados + Do While p.NextRow + Log(p.GetString("CAT_GP_ID")) + Dim idProd As String = p.GetString("CAT_GP_ID") + Dim presentacionesValidas As List : presentacionesValidas.Initialize + + ' Revisamos las 11 columnas + For i = 1 To 11 + Dim precio As Double = p.GetDouble("CAT_GP_PRECIO" & i) + Dim presNombre As String = p.GetString("CAT_GP_PRESENTACION" & i) + Dim dirigida As String = p.GetString("CAT_GP_DIRIGIDA" & i) + Dim umvVal As Int = p.GetInt("CAT_GP_UMV" & i) + Log(precio) + Log(presNombre) + Log(dirigida) + Log(umvVal) + + + ' REGLA "TODO O NADA": Si los 3 datos principales existen... + If precio > 0 And presNombre <> "" And dirigida <> "" And umvVal > 0 Then + ' FILTRO DE CLIENTE + Log(tipoClienteActual.ToUpperCase) + If dirigida.ToUpperCase = tipoClienteActual.ToUpperCase Then + Dim cantExistente As Int = cantsMap.GetDefault(idProd & "_" & i, 0) + + presentacionesValidas.Add(CreateMap( _ + "col_index": i, _ + "nombre": presNombre, _ + "precio": precio, _ + "umv": umvVal, _ + "cantidad": cantExistente, _ + "dirigida": dirigida, _ + "listaprecio": i _ '<--- AGREGAR ESTO +)) + End If + End If + Next + Log(presentacionesValidas) + ' Solo agregamos el producto si tiene presentaciones válidas + If presentacionesValidas.Size > 0 Then + listaProds.Add(CreateMap( _ + "id": idProd, _ + "prod": p.GetString("CAT_GP_NOMBRE"), _ + "almacen": p.GetInt("CAT_GP_ALMACEN"), _ + "presentaciones": presentacionesValidas _ + )) + listaHints.Add(p.GetString("CAT_GP_NOMBRE")) + End If + Loop + p.Close +' Log(listaProds) + ' 4. Llenado del CLV + clv_prods_ll.Clear + PCLV.Commit + + For Each m As Map In listaProds +' Log(m) + Dim pnl As B4XView = xui.CreatePanel("") + Dim lPres As List = m.Get("presentaciones") + ' Altura: 45dip de título + 60dip por cada fila de botones + Dim alturaItem As Int = 45dip + (lPres.Size * 60dip) + + pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsView.Width, alturaItem) + clv_prods_ll.Add(pnl, m) + + Next + + If clv_prods_ll.Size > 0 Then +' PCLV.B4XSeekBar1.MaxValue = clv_prods_ll.Size +' PCLV.B4XSeekBar1.Update + + PCLV.B4XSeekBar1.MaxValue = clv_prods_ll.Size + PCLV.B4XSeekBar1.MinValue = 0 + PCLV.B4XSeekBar1.Interval = clv_prods_ll.Size/20 + PCLV.B4XSeekBar1.Value = clv_prods_ll.Size + PCLV.B4XSeekBar1.Update + End If +End Sub + +'Return the hint that will be displayed when the user fast scrolls the list. It can be a string or CSBuilder. +Sub PCLV_HintRequested(Index As Int) As Object + Dim word As String = listaHints.get(Index) + Return word +End Sub + + + + +Sub b_prodMenosc_Click + totalcajasmaspiezas = 0 + etCantHasFocus = False + Root.RequestFocus + ' LogColor("b_prodMenos_Click", Colors.Magenta) + Dim index As Int = clv_prods_ll.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(2) + Dim laCant2 As B4XView = pnl.GetView(3).GetView(2) + Dim lProdX As B4XView = pnl.GetView(1) + Dim panelcajas As B4XView = pnl.GetView(3) + Dim panelpiezas As B4XView = pnl.GetView(2) + ' Log($"precio|stock:${laCant.tag}"$) + If laCant2.Text = "" Then laCant2.Text = 0 + ' Log("lacant.text="&laCant.text) + laCant2.Text = $"${NumberFormat2(laCant2.Text-1,0,0,0,False)}"$ + If laCant2.Text < 0 Then laCant2.Text = 0 + Private tmpMap As Map = clv_prods_ll.GetValue(index).As(Map) + Private precio As String=clv_prods_ll.GetValue(index).As(Map).Get("precio") + Private id As String=clv_prods_ll.GetValue(index).As(Map).Get("id") + Private tmpMap As Map = CreateMap("precio":precio, "cant":laCant2.Text, "almacen":Subs.traeAlmacen) + Private nombreX As String = Subs.traeProdNombre(id) + Private conversion As String = clv_prods_ll.GetValue(index).As(Map).Get("conversion") + Private preciocaja As String = clv_prods_ll.GetValue(index).As(Map).Get("precio_caja") + Log(tmpMap) + ' prodsMap.Put(id, tmpMap) + If laCant2.Text = 0 Then prodsMap.Remove(id) + If laCant2.Text = 0 Then + panelpiezas.Visible = True + Else If laCant2.Text > 0 Or clv_prods_ll.GetValue(index).As(Map).Get("conversion") < clv_prods_ll.GetValue(index).As(Map).Get("almacen") Then + panelpiezas.Visible = False + End If + ' If laCant.IsInitialized Then + ' totalcajasmaspiezas = laCant.Text + laCant2.Text + ' Else + ' totalcajasmaspiezas = laCant2.Text + ' End If + LogColor("prodsMap="&prodsMap, Colors.blue) + ' (Subs.traeAlmacen, p1.Get("precio"), p1.Get("cant"), pn, p, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta) + Log($"${Subs.traeAlmacen}, ${precio}, ${laCant2.text}, ${Subs.traeProdNombre(id)}, ${id}, ${clienteId}"$) + ' Subs.actualizaProducto(Subs.traeAlmacen, preciocaja,(laCant2.Text * conversion), Subs.traeProdNombre(id), id, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,laCant2.Text,1) + Subs.actualizaProducto2(Subs.traeAlmacen, preciocaja,(laCant2.Text * conversion), Subs.traeProdNombre(id), id, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,laCant2.Text,1) + cuentaProds + LogColor("prodsMap="&prodsMap, Colors.blue) + Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) + If 1 = 1 Then + Private cs As CSBuilder + cs.Initialize + Private o As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_ALMACEN from ${Starter.tabla} where CAT_GP_ID = '${id}'"$) + Private invActualizado As String = "0" + If o.RowCount > 0 Then + o.Position = 0 + invActualizado = o.GetString("CAT_GP_ALMACEN") + End If + If clv_prods_ll.GetValue(index).As(Map).Get("precio_caja").As(Float) = 0 Or clv_prods_ll.GetValue(index).As(Map).Get("conversion").As(Int) = 1 Then + Private maxcajas2 As Int = 0 + Log("cajas a 0") + Else + Private maxcajas2 As Int = invActualizado/clv_prods_ll.GetValue(index).As(Map).Get("conversion") + Log("cajas no a 0") + End If + If 2 = 2 Then lProdX.Text = cs.Color(Colors.red).append(nombreX).pop.Append(CRLF).Append("Existencias: " & invActualizado).Color(0xFF017F01).Append($" $${NumberFormat2(precio, 1, 2, 2, False)}${CRLF}Max. Cajas: ${maxcajas2}"$).Popall + ' Log(lProdX.Text) + End If + If Subs.totalPedido < 1 Then laCant2.Text = "0" + invTotal = totalcajasmaspiezas + Subs.traeinventario(id) + ' LogColor("InvTotal PRODMAS: " & invTotal, Colors.Red) + +End Sub + +Sub b_prodMasc_Click + etCantHasFocus = False + Root.RequestFocus + ' LogColor("b_prodMas_Click", Colors.Magenta) + + Dim index As Int = clv_prods_ll.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(2) + Dim laCant2 As B4XView = pnl.GetView(3).GetView(2) + Dim lProdX As B4XView = pnl.GetView(1) + Dim panelcajas As B4XView = pnl.GetView(3) + Dim panelpiezas As B4XView = pnl.GetView(2) + ' Private tmpMap As Map = clv_prods_ll.GetValue(index).As(Map) + Private precio As String=clv_prods_ll.GetValue(index).As(Map).Get("precio") + Private inv As String=clv_prods_ll.GetValue(index).As(Map).Get("almacen") + Private existencias As String = clv_prods_ll.GetValue(index).As(Map).Get("almacen") + Private conversion As String = clv_prods_ll.GetValue(index).As(Map).Get("conversion") + Private preciocaja As String = clv_prods_ll.GetValue(index).As(Map).Get("precio_caja") + Log(conversion) + Log($"Existencias: ${existencias}"$) + If laCant2.Text = "" Then laCant2.Text = 0 + Private id As String=clv_prods_ll.GetValue(index).As(Map).Get("id") + ' If laCant.Text + 1 <= inv Then + '' Log(NumberFormat2(laCant.Text+1,0,0,0,False)) + ' laCant.Text = $"${NumberFormat2(laCant.Text+1,0,0,0,False)}"$ + '' Private precio As String=clv_prods_ll.GetValue(index).As(Map).Get("precio") + ' Private id As String=clv_prods_ll.GetValue(index).As(Map).Get("id") + '' Private tmpMap As Map = CreateMap("precio":precio, "cant":laCant.Text, "almacen":Subs.traeAlmacen) + '' Log(tmpMap) + '' prodsMap.Put(id, tmpMap) + '' LogColor(prodsMap, Colors.blue) + ' End If + ' Log("Cantidad + exis " & (laCant.Text + existencias)) + ' Log( (laCant.Text + 1 <= (laCant.Text + existencias))) + ' Log("inventario "&Subs.traeinventario(id)) + ' Log((Subs.totalPedido - precio > 1)) + ' Log((Subs.totalPedido)) + + Log(B4XPages.MainPage.tipo_venta) + Log("--------------->Credito Disponible: "&B4XPages.MainPage.cliente.credito_diponible) + Log(preciocaja) + ' Log(precio) + If B4XPages.MainPage.tipo_venta = "PREVENTA_CREDITO" Then + Dim fg As Cursor = Starter.skmt.ExecQuery("Select Ifnull(sum(PE_COSTO_TOT),0) AS COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'") + fg.Position = 0 + If fg.GetString("COSTO") + preciocaja <= B4XPages.MainPage.cliente.credito_diponible Then + Log(Subs.traeinventario(id)) + Log((laCant2.Text * conversion) + conversion) + Log((laCant2.Text *conversion)+ Subs.traeinventario(id)) + If Subs.traeinventario(id) > 0 And ((laCant2.Text * conversion) + conversion <= ((laCant2.Text *conversion)+ Subs.traeinventario(id))) Then 'And (Subs.totalPedido - precio > 1) + ' Log(clv_prods_ll.GetValue(index).As(Map)) + clv_prods_ll.GetValue(index).As(Map).Put("almacen", (inv - conversion)) + inv = inv - conversion + ' laCant.Text = $"$1.0{laCant.Text+1}"$ + laCant2.Text = NumberFormat2((laCant2.Text + 1), 1, 0, 0, False) + ' Log(clv_prods_ll.GetValue(index).As(Map)) + Log("cuando entro aqui?") + End If + Private nombreX As String = Subs.traeProdNombre(id) + ' Subs.actualizaProducto(Subs.traeAlmacen, laCant.text, id, clienteId) + Log((laCant2.Text * conversion)) + If laCant2.Text > 0 Then + panelpiezas.Visible = False + Else If laCant2.Text = 0 Then + panelpiezas.Visible = True + End If + + ' LogColor(laCant.Text,Colors.Red) + ' If laCant.IsInitialized Then + ' totalcajasmaspiezas = laCant.Text + laCant2.Text + ' Else + ' totalcajasmaspiezas = laCant2.Text + ' End If + ' Subs.actualizaProducto(Subs.traeAlmacen,preciocaja,(laCant2.Text * conversion), Subs.traeProdNombre(id), id, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,laCant2.Text,1) + Subs.actualizaProducto2(Subs.traeAlmacen,preciocaja,(laCant2.Text * conversion), Subs.traeProdNombre(id), id, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,laCant2.Text,1) + cuentaProds + ' Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) + If 1 = 1 Then + Private cs As CSBuilder + cs.Initialize + Private o As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_ALMACEN from ${Starter.tabla} where CAT_GP_ID = '${id}'"$) + Private invActualizado As String = "0" + If o.RowCount > 0 Then + o.Position = 0 + invActualizado = o.GetString("CAT_GP_ALMACEN") + End If + If clv_prods_ll.GetValue(index).As(Map).Get("precio_caja").As(Float) = 0 Or clv_prods_ll.GetValue(index).As(Map).Get("conversion").As(Int) = 1 Then + Private maxcajas2 As Int = 0 + Log("cajas a 0") + Else + Private maxcajas2 As Int = invActualizado/clv_prods_ll.GetValue(index).As(Map).Get("conversion") + Log("cajas no a 0") + End If + If 2 = 2 Then lProdX.Text = cs.Color(Colors.red).append(nombreX).pop.Append(CRLF).Append("Existencias: " & invActualizado).Color(0xFF017F01).Append($" $${NumberFormat2(precio, 1, 2, 2, False)}${CRLF}Max. Cajas: ${maxcajas2}"$).Popall + ' Log(lProdX.Text) + End If + invTotal = totalcajasmaspiezas + Subs.traeinventario(id) + ' LogColor("InvTotal PRODMAS: " & invTotal, Colors.Red) + Else + MsgboxAsync("No se puede meter mas venta a credito por que supera el limite del credito","Atencion") + End If + Else + Log(Subs.traeinventario(id)) + Log((laCant2.Text * conversion) + conversion) + Log((laCant2.Text *conversion)+ Subs.traeinventario(id)) + If Subs.traeinventario(id) > 0 And ((laCant2.Text * conversion) + conversion <= ((laCant2.Text *conversion)+ Subs.traeinventario(id))) Then 'And (Subs.totalPedido - precio > 1) + ' Log(clv_prods_ll.GetValue(index).As(Map)) + clv_prods_ll.GetValue(index).As(Map).Put("almacen", (inv - conversion)) + inv = inv - conversion + ' laCant.Text = $"$1.0{laCant.Text+1}"$ + laCant2.Text = NumberFormat2((laCant2.Text + 1), 1, 0, 0, False) + ' Log(clv_prods_ll.GetValue(index).As(Map)) + Log("cuando entro aqui?") + End If + Private nombreX As String = Subs.traeProdNombre(id) + ' Subs.actualizaProducto(Subs.traeAlmacen, laCant.text, id, clienteId) + Log((laCant2.Text * conversion)) + If laCant2.Text > 0 Then + panelpiezas.Visible = False + Else If laCant2.Text = 0 Then + panelpiezas.Visible = True + End If + + ' LogColor(laCant.Text,Colors.Red) + ' If laCant.IsInitialized Then + ' totalcajasmaspiezas = laCant.Text + laCant2.Text + ' Else + ' totalcajasmaspiezas = laCant2.Text + ' End If + ' Subs.actualizaProducto(Subs.traeAlmacen,preciocaja,(laCant2.Text * conversion), Subs.traeProdNombre(id), id, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,laCant2.Text,1) + Subs.actualizaProducto2(Subs.traeAlmacen,preciocaja,(laCant2.Text * conversion), Subs.traeProdNombre(id), id, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,laCant2.Text,1) + cuentaProds + ' Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) + If 1 = 1 Then + Private cs As CSBuilder + cs.Initialize + Private o As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_ALMACEN from ${Starter.tabla} where CAT_GP_ID = '${id}'"$) + Private invActualizado As String = "0" + If o.RowCount > 0 Then + o.Position = 0 + invActualizado = o.GetString("CAT_GP_ALMACEN") + End If + If clv_prods_ll.GetValue(index).As(Map).Get("precio_caja").As(Float) = 0 Or clv_prods_ll.GetValue(index).As(Map).Get("conversion").As(Int) = 1 Then + Private maxcajas2 As Int = 0 + Log("cajas a 0") + Else + Private maxcajas2 As Int = invActualizado/clv_prods_ll.GetValue(index).As(Map).Get("conversion") + Log("cajas no a 0") + End If + If 2 = 2 Then lProdX.Text = cs.Color(Colors.red).append(nombreX).pop.Append(CRLF).Append("Existencias: " & invActualizado).Color(0xFF017F01).Append($" $${NumberFormat2(precio, 1, 2, 2, False)}${CRLF}Max. Cajas: ${maxcajas2}"$).Popall + ' Log(lProdX.Text) + End If + invTotal = totalcajasmaspiezas + Subs.traeinventario(id) + ' LogColor("InvTotal PRODMAS: " & invTotal, Colors.Red) + End If + +End Sub + +Private Sub et_pCantc_FocusChanged (HasFocus As Boolean) + LogColor($"focus changed=${HasFocus}"$, Colors.Magenta) + If et_pCantc.Text = "" Then et_pCantc.Text = "0" + Dim index As Int = clv_prods_ll.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(2) + Dim laCant2 As B4XView = pnl.GetView(3).GetView(2) + Private id As String=clv_prods_ll.GetValue(index).As(Map).Get("id") + If laCant2.Text = "" Then laCant2.Text = "0" + etCantHasFocus = HasFocus + ' LogColor(laCant.Text,Colors.Red) + ' If laCant.IsInitialized Then + ' totalcajasmaspiezas = laCant.Text + laCant2.Text + ' Else + ' totalcajasmaspiezas = laCant2.Text + ' End If + invTotal = totalcajasmaspiezas + Subs.traeinventario(id) + ' LogColor("InvTotal PRODMAS: " & invTotal, Colors.Red) + cuentaProds +End Sub + +Private Sub et_pCantc_TextChanged (Old As String, New As String) + ' Log(etCantHasFocus) + ' Log("InvTotal: " & invTotal) + If etCantHasFocus = True Then + ' Sleep(500) + ' LogColor($"txt changed: ${Old}|${New}, hasfocus=${etCantHasFocus}"$,Colors.Magenta) + Dim index As Int = clv_prods_ll.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) + Dim laCant As B4XView = pnl.GetView(2).GetView(2) + Dim laCant2 As B4XView = pnl.GetView(3).GetView(2) + Dim lProdX As B4XView = pnl.GetView(1) + Private id As String=clv_prods_ll.GetValue(index).As(Map).Get("id") + Private precio As String=clv_prods_ll.GetValue(index).As(Map).Get("precio") + Private inv As String=clv_prods_ll.GetValue(index).As(Map).Get("almacen") + Private inv As String=Subs.traeinventario(id) + Private nombreX As String = Subs.traeProdNombre(id) + Dim panelcajas As B4XView = pnl.GetView(3) + Dim panelpiezas As B4XView = pnl.GetView(2) + Private conversion As String = clv_prods_ll.GetValue(index).As(Map).Get("conversion") + Private preciocaja As String = clv_prods_ll.GetValue(index).As(Map).Get("precio_caja") + invTotal = Subs.traeinventario(id) + Log("inventario total "& invTotal) + If(New = "" Or New = Null Or New = "-") Then New = 0 + ' If New < 0 Then New = 0 + Log(($"new*conversion ${New * conversion} > ${invTotal} = ${((New * conversion) > invTotal)}"$)) + If((New * conversion) > invTotal) Then + ' Dim maximocajas As Int = invTotal / conversion + Sender.As(EditText).text = 0 + New = 0 + ' LogColor("cajas maximas "& maximocajas, Colors.Red) + pnl.GetView(2).Visible = True + Log("ponemos en 0") + End If + Log("--------------->Credito Disponible: "&B4XPages.MainPage.cliente.credito_diponible) + Dim fg As Cursor = Starter.skmt.ExecQuery("Select IFNULL(sum(PE_COSTO_TOT),0) AS COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'") + fg.Position = 0 + If Old = "" Or Old = Null Then New = 0 + Log(preciocaja &" * "&Old) + Log((fg.GetString("COSTO") + (preciocaja*New)) & " Monto Actual<-------") + If fg.GetString("COSTO") +((preciocaja*New)) > B4XPages.MainPage.cliente.credito_diponible Then + laCant2.Text = 0 + MsgboxAsync("No se puede meter mas venta a credito por que supera el limite del credito","Atencion") + End If + ' Log($"inventario=${inv}"$) + Log("inventario total despues de max "& invTotal) + If New = "" Then New = 0 + If laCant2.Text = "" Then laCant2.Text = 0 + ' LogColor("la cant2 " &laCant2.Text,Colors.Red) + If New > 0 Then + Log("lo ocultamos") + panelpiezas.Visible = False + Else If New = 0 Then + panelpiezas.Visible = True + End If + ' If laCant.IsInitialized Then + ' totalcajasmaspiezas = laCant.Text + laCant2.Text + ' Else + ' totalcajasmaspiezas = laCant2.Text + ' End If + Log("InvTotal: " & invTotal) + If Not(Old = "0" And New = "") And laCant2.Text <> Null And laCant2.Text <> "" And etCantHasFocus Then + If invTotal - (laCant2.Text * conversion) >= 0 Then + LogColor("validacion inventariio " & (invTotal - (laCant2.Text * conversion)), Colors.Blue) + Log("actualizamos producto") + Subs.actualizaProducto2(Subs.traeAlmacen, preciocaja,(laCant2.Text * conversion), Subs.traeProdNombre(id), id, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,laCant2.Text,1) + cuentaProds + Else + Private totalcajaspermi As Int = invTotal / conversion + laCant2.Text = totalcajaspermi + Log("cajas permitidas total por guerra "& totalcajaspermi) + End If + End If + LogColor("la cant2 " & laCant2.Text,Colors.Green) + ' If New <> "" And New.SubString2(0,0) = "0" Then + ' New.SubString(1) + ' End If + ' If New <> "" And New.SubString(1) <> "" Then + ' Log(New.SubString(1)) + ' New = New.SubString(1) + ' laCant.Text = New.SubString(1) + ' Log(laCant.Text) + ' End If + If 1 = 1 Then + Private cs As CSBuilder + cs.Initialize + Private o As Cursor = Starter.skmt.ExecQuery($"select CAT_GP_ALMACEN from ${Starter.tabla} where CAT_GP_ID = '${id}'"$) + Private invActualizado As String = "0" + ' If o.RowCount > 0 Then + o.Position = 0 + invActualizado = Subs.traeinventario(id) + Log(Subs.traeinventario(id)) + ' End If + If New = "" Then New = 0 + Log(clv_prods_ll.GetValue(index).As(Map).Get("precio_caja").As(Float)&" Precio caja") + Log(clv_prods_ll.GetValue(index).As(Map).Get("conversion").As(Int)& " Conversion" ) + If clv_prods_ll.GetValue(index).As(Map).Get("precio_caja").As(Float) = 0 Or clv_prods_ll.GetValue(index).As(Map).Get("conversion").As(Int) = 1 Then + Private maxcajas2 As Int = 0 + Log("cajas a 0") + Else + Private maxcajas2 As Int = invActualizado/clv_prods_ll.GetValue(index).As(Map).Get("conversion") + Log("cajas no a 0") + End If + lProdX.Text = cs.Color(Colors.red).append(nombreX).pop.Append(CRLF).Append("Existencias: " & (Subs.traeinventario(id))).Color(0xFF017F01).Append($" $${NumberFormat2(precio, 1, 2, 2, False)}${CRLF}Max. Cajas: ${maxcajas2}"$).Popall + End If + End If +End Sub + + +'Sub btnMasDinamico_Click +' Dim btn As Button = Sender +' etCantHasFocus = False +' Dim info As Map = btn.Tag +' Dim et As EditText = info.Get("et") +' Dim pres As Map = info.Get("pres") +' +' ' Obtener datos +' Dim cantActual As Int = 0 +' If et.Text <> "" Then cantActual = et.Text +' +' Dim nuevaCant As Int = cantActual + (1* pres.Get("umv")) +' Log(info.Get("id")&" ,"& info.Get("col")&" ,"& nuevaCant&" ,"& pres.Get("precio")&" ,"& pres.Get("umv") &" ,"& info.Get("almacen") &" ,"& clienteId) +' ' Actualizar Interfaz +' et.Text = nuevaCant +' +' ' Guardar en BD (Usando tu nueva lógica de ColumnaID) +' Subs.actualizaProductoDinamico(info.Get("id"), info.Get("col"), nuevaCant, pres.Get("precio"), pres.Get("umv"), clienteId) +' +' cuentaProds +'End Sub +' +'Sub btnMenosDinamico_Click +' Dim btn As Button = Sender +' +' Dim info As Map = btn.Tag +' Dim et As EditText = info.Get("et") +' Dim pres As Map = info.Get("pres") +' +' Dim cantActual As Int = 0 +' If et.Text <> "" Then cantActual = et.Text +' +' If cantActual > 0 Then +' Dim nuevaCant As Int = cantActual - (1* pres.Get("umv")) +' et.Text = nuevaCant +' Log(info.Get("id")&" ,"& info.Get("col")&" ,"& nuevaCant&" ,"& pres.Get("precio")&" ,"& pres.Get("umv")&" ,"& clienteId) +' ' Guardar en BD +' Subs.actualizaProductoDinamico(info.Get("id"), info.Get("col"), nuevaCant, pres.Get("precio"), pres.Get("umv"), clienteId) +' cuentaProds +' End If +'End Sub +' +''' Este evento se dispara cuando el usuario toca el cuadro de texto +''Sub etCantDinamico_FocusChanged (HasFocus As Boolean) +'' etCantHasFocus = HasFocus +''End Sub +'' +''Sub etCantDinamico_TextChanged (Old As String, New As String) +'' Dim et As EditText = Sender +'' ' IMPORTANTE: Solo procesamos si el usuario tiene el foco en el campo +'' ' y si el Tag ya fue inicializado +'' If etCantHasFocus And et.Tag <> Null Then +'' Dim info As Map = et.Tag +'' Dim pres As Map = info.Get("pres") +'' +'' Dim nuevaCant As Int = 0 +'' If New <> "" And IsNumber(New) Then nuevaCant = New +'' +'' ' Guardar en BD +''' Subs.actualizaProductoDinamico(info.Get("id"), info.Get("col"), nuevaCant, pres.Get("precio"), pres.Get("umv"), clienteId) +'' cuentaProds +'' Else If etCantHasFocus And et.Tag <> Null Then +'' Dim nuevaCant As Int = 0 +'' If New = "" Then New = 0 +'' End If +''End Sub + +'Sub btnMasDinamico_Click +' Dim btn As Button = Sender +'' etCantHasFocus = False +' Dim info As Map = btn.Tag +' Dim et As EditText = info.Get("et") +' Dim pres As Map = info.Get("pres") +' Dim idProd As String = info.Get("id") +' +'' Dim btn As Button = Sender +'' Dim info As Map = btn.Tag +'' Dim pres As Map = info.Get("pres") ' Este es el mapa que creamos en el paso anterior +' +' ' --- LOGS SOLICITADOS --- +' Log("=== MOVIMIENTO: MAS ===") +' Log("Presentación: " & pres.Get("nombre")) +' Log("Dirigida a: " & pres.Get("dirigida")) +' Log("Lista precio: " & pres.Get("listaprecio")) +' +' ' 1. Obtener stock actual desde la base de datos para asegurar precisión +' ' (O puedes usar info.Get("almacen") si lo actualizas globalmente) +' Dim stockDisponible As Int = Subs.traeinventario(idProd) +' Dim umv As Int = pres.Get("umv") +' +' Dim cantActual As Int = 0 +' If et.Text <> "" Then cantActual = et.Text +' +' ' 2. VALIDACIÓN: ¿Hay suficiente stock para cubrir al menos un UMV más? +' If stockDisponible >= umv Then +' Dim nuevaCant As Int = cantActual + umv +' et.Text = nuevaCant +' +' ' 3. Actualizar BD +''' Subs.actualizaProductoDinamico(idProd, info.Get("col"), nuevaCant, pres.Get("precio"), umv, clienteId) +' +' Subs.actualizaProductoDinamico(Subs.traeAlmacen, pres.Get("precio"),et.Text, Subs.traeProdNombre(idProd), idProd, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,0,0, _ +' pres.Get("listaprecio"), umv, pres.Get("nombre") _ +' ) +' +' +' ' 4. ACTUALIZACIÓN VISUAL DE EXISTENCIAS +' ' Buscamos el Label de información en el panel padre para refrescar el texto +' ActualizarLabelExistencias(btn, idProd) +' +' cuentaProds +' Else +' ToastMessageShow("Inventario insuficiente. Stock: " & stockDisponible, False) +' End If +'End Sub +' +'Sub btnMenosDinamico_Click +' Dim btn As Button = Sender +' Dim info As Map = btn.Tag +' Dim et As EditText = info.Get("et") +' Dim pres As Map = info.Get("pres") +' Dim idProd As String = info.Get("id") +' +' +' Log("=== MOVIMIENTO: MENOS ===") +' Log("Presentación: " & pres.Get("nombre")) +' Log("Dirigida a: " & pres.Get("dirigida")) +' Log("Lista precio: " & pres.Get("listaprecio")) +' +' +' Dim cantActual As Int = 0 +' If et.Text <> "" Then cantActual = et.Text +' +' ' Solo restamos si la cantidad actual es mayor a 0 +' If cantActual > 0 Then +' Dim umv As Int = pres.Get("umv") +' Dim nuevaCant As Int = cantActual - umv +' +' ' Aseguramos que no baje de 0 por errores de redondeo +' If nuevaCant < 0 Then nuevaCant = 0 +' et.Text = nuevaCant +' +' ' 1. Guardar en BD (Esto internamente debería devolver el stock en tu método Subs) +'' Subs.actualizaProductoDinamico(idProd, info.Get("col"), nuevaCant, pres.Get("precio"), umv, clienteId) +' +' Subs.actualizaProductoDinamico(Subs.traeAlmacen, pres.Get("precio"),et.Text, Subs.traeProdNombre(idProd), idProd, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta,0,0, _ +' pres.Get("listaprecio"), umv, pres.Get("nombre") _ +' ) +' +' ' 2. ACTUALIZACIÓN VISUAL DE EXISTENCIAS +' ActualizarLabelExistencias(btn, idProd) +' +' cuentaProds +' End If +'End Sub + +Private Sub ActualizarLabelExistencias(v As View, idProd As String) + ' Subimos en la jerarquía de vistas hasta llegar al "base" (Panel blanco) + ' Estructura: Button -> Base -> ItemPanel + Dim parent As B4XView = v.Parent + + ' El label de info es la vista índice 1 según tu B4XPage_Created (lblInfo) + ' Si no estás seguro del índice, lo buscamos por el tipo: + For Each child As B4XView In parent.GetAllViewsRecursive + If child Is Label Then + Dim lbl As Label = child + ' Verificamos si es el label que contiene la palabra "Existencias" + If lbl.Text.Contains("Existencias:") Then + Dim nuevoStock As Int = Subs.traeinventario(idProd) + Dim prodNombre As String = Subs.traeProdNombre(idProd) + + Dim cs As CSBuilder + cs.Initialize.Color(Colors.Red).Bold.Append(prodNombre).Pop.Pop _ + .Append(CRLF).Size(12).Color(Colors.Black).Append("Existencias: " & nuevoStock).Pop + + lbl.Text = cs + Exit ' Ya lo encontramos, salimos del bucle + End If + End If + Next +End Sub + +Sub btnMasDinamico_Click + Dim btn As Button = Sender + Dim info As Map = btn.Tag + Dim et As EditText = info.Get("et") + Dim pres As Map = info.Get("pres") + Dim idProd As String = info.Get("id") + + Dim stockDisponible As Int = Subs.traeinventario(idProd) + Dim umv As Int = pres.Get("umv") + + Dim cantActual As Int = 0 + If et.Text <> "" Then cantActual = et.Text + + If stockDisponible >= umv Then + Dim nuevaCant As Int = cantActual + umv + et.Text = nuevaCant + + ' --- ACTUALIZAR EL LABEL DE PRESENTACIÓN --- + Dim unidades As Int = nuevaCant / umv + ActualizarLabelNombrePresentacion(btn, pres.Get("nombre"), unidades) + ' -------------------------------------------- + + Subs.actualizaProductoDinamico(Subs.traeAlmacen, pres.Get("precio"), et.Text, Subs.traeProdNombre(idProd), idProd, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta, 0, 0, _ + pres.Get("listaprecio"), umv, pres.Get("nombre")) + + ActualizarLabelExistencias(btn, idProd) + cuentaProds + Else + ToastMessageShow("Inventario insuficiente. Stock: " & stockDisponible, False) + End If +End Sub + +Sub btnMenosDinamico_Click + Dim btn As Button = Sender + Dim info As Map = btn.Tag + Dim et As EditText = info.Get("et") + Dim pres As Map = info.Get("pres") + Dim idProd As String = info.Get("id") + + Dim cantActual As Int = 0 + If et.Text <> "" Then cantActual = et.Text + + If cantActual > 0 Then + Dim umv As Int = pres.Get("umv") + Dim nuevaCant As Int = cantActual - umv + If nuevaCant < 0 Then nuevaCant = 0 + et.Text = nuevaCant + + ' --- ACTUALIZAR EL LABEL DE PRESENTACIÓN --- + Dim unidades As Int = nuevaCant / umv + ActualizarLabelNombrePresentacion(btn, pres.Get("nombre"), unidades) + ' -------------------------------------------- + + Subs.actualizaProductoDinamico(Subs.traeAlmacen, pres.Get("precio"), et.Text, Subs.traeProdNombre(idProd), idProd, clienteId, Subs.traeFecha, Subs.traeUsuarioDeBD, rutaUsuario, 0, B4XPages.MainPage.tipo_venta, 0, 0, _ + pres.Get("listaprecio"), umv, pres.Get("nombre")) + + ActualizarLabelExistencias(btn, idProd) + cuentaProds + End If +End Sub + +Private Sub ActualizarLabelNombrePresentacion(v As View, nombrePres As String, totalUnidades As Int) + ' v es el botón que disparó el evento. Su Parent es el panel "base" de la tarjeta. + Dim parent As B4XView = v.Parent + + ' Buscamos entre los hijos del panel el Label que tiene el nombre de la presentación + For Each child As B4XView In parent.GetAllViewsRecursive + If child Is Label Then + Dim lbl As Label = child + ' Verificamos si el texto del label comienza con el nombre de la presentación (ej: "PAQUETE") + ' O si el texto contiene el nombre buscado. + If lbl.Text.ToUpperCase.Contains(nombrePres.ToUpperCase) Then + lbl.Text = nombrePres.ToUpperCase & ": " & totalUnidades + Exit + End If + End If + Next +End Sub \ No newline at end of file diff --git a/B4A/C_Promos.bas b/B4A/C_Promos.bas new file mode 100644 index 0000000..e74b81d --- /dev/null +++ b/B4A/C_Promos.bas @@ -0,0 +1,628 @@ +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 + Private l_promoDesc As Label + Private lv_prodsFijos As ListView + Private clv_prodsVariabes, clv_prodsVariabes2 As CustomListView + Private l_prodsFijos As Label + Private l_prodsVariables, l_prodsVariables2 As Label + Private i_prod As ImageView + Private l_prodX As Label + Private p_prods As Panel + Private b_prodMenos, b_prodMenos2 As Button + Private et_pCant As EditText + Private b_prodMas, b_prodMas2 As Button + Private l_pCant As Label + Dim totalProds As Int = 0 + Dim prodsVar1 As Int = 0 + Dim prodsVar2 As Int = 0 + Dim prodsVarReq As Int = 0 + Dim prodsVarReq_ As Int = 0 + Dim prodsVarReq2 As Int = 0 + Dim prodsVarReq2_ As Int = 0 + Dim totalCompra As Float = 0 + Dim prodsFijosTot As Float = 0 + Dim tpf As Int = 0 + Dim tpf2 As Int = 0 + Dim maxCantPromos As Int = 1 + Private l_totProds As Label + Private l_total As Label + Private b_terminar1 As Button + Private p_promociones As Panel + Dim prodsIds, prodsCants, prodsPrecios, prodsIds2, prodsCants2, prodsPrecios2 As List + Dim estaPromo, esteCliente As String + Private b_promoMas As Button + Private b_promoMenos As Button + Private et_promoCant As EditText + Private l_promosCant As Label + Private b_continuar As Button + Private p_prodsVariables, p_prodsVariables2 As Panel + Dim laPromo = "", elCliente = "" As String + Dim prodsPedidoActual As String + Dim montoPedidoActual As String + Dim promosMap As Map + Dim su As StringUtils +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("promociones") + + p_promociones.Height= Root.Height + p_promociones.Width= Root.Width + + promosMap.Initialize + p_promociones.Top=0 + p_promociones.Left=0 + b_terminar1.Left = Root.Width - (b_terminar1.Width + 10) + b_continuar.Left = Root.Width - b_terminar1.Width - (b_continuar.Width + 20) +End Sub + +Sub B4XPage_Appear +' LogColor(B4XPages.MainPage.productos.prodsMap, Colors.blue) + prodsIds.Initialize + prodsCants.Initialize + prodsPrecios.Initialize + prodsIds2.Initialize + prodsCants2.Initialize + prodsPrecios2.Initialize + Dim m As Map = Subs.traeTotalesClienteActual + prodsPedidoActual = m.Get("productos") + montoPedidoActual = m.Get("monto") +' Log($"laPromo=${laPromo}, el cliente=${elCliente}"$) + If laPromo <> "" Then muestraPromo(laPromo, elCliente) +End Sub +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +Sub muestraPromo(promo As String, cliente As String) + Private thisLog As Boolean = False +' If thisLog Then Log(promo) + estaPromo = promo + esteCliente = cliente + Private mp As Map = Subs.traePromo(promo, cliente) + Private prodsPromo As Map = mp.Get("productos") 'Los productos de la promoción. + Private invDispPromo As Map = Subs.traemosInventarioDisponibleParaPromo(promo) +' If thisLog Then Log($"invDispPromo=${invDispPromo}"$) + If thisLog Then Log("Max promos por inv de prods FIJOS: " & Subs.revisaMaxPromosProdsFijosPorInventario(mp)) + If thisLog Then Log("Max promos por inv de prods VARIABLES: " & Subs.revisaMaxPromosProdsVariablesPorInventario(mp)) + maxCantPromos = Subs.revisaMaxPromosProdsVariablesPorInventario(mp) + et_promoCant.Text = 1 + l_promosCant.text = "Max promos: " & maxCantPromos + Private cs As CSBuilder + cs.Initialize + If thisLog Then Log(mp) + If thisLog Then Log(prodsPromo) + Private listaPV As List = mp.Get("prodsVariables") + Private listaPreciosPV As List = mp.Get("prodsVariablesPrecios") + Private listaPV2 As List = mp.Get("prodsVariables2") + Private listaPreciosPV2 As List = mp.Get("prodsVariablesPrecios2") +' Log("============ " & CRLF & listaPV) + 'Ponemos la promo y descripción. +' Dim desc As String = $"Promoción: ${promo}${CRLF}${mp.Get("descripcion")}"$ +' Dim desc As String = cs.append("Promocion: ").Color(Colors.RGB(100,149,237)).Append(promo).pop.append(CRLF).Append(mp.Get("descripcion")).Popall + l_promoDesc.Text = cs.Color(Colors.RGB(100,149,237)).append("Promocion: ").pop.append(CRLF).Append(promo).append(CRLF).Append(mp.Get("descripcion")).Popall + prodsFijosTot = 0 + 'Ponemos el texto en las etiquetas de la cantidad de productos. +' Dim pf As List = mp.Get("prodsFijos") + Dim pv As List = mp.Get("prodsVariables") + Dim pv2 As List = mp.Get("prodsVariables2") + If thisLog Then Log(mp) + tpf = 0 + For Each pfp As Int In mp.Get("prodsFijosPiezas").As(List) + tpf = tpf + pfp + Next + tpf2 = tpf +' tpf = tpf * maxCantPromos + l_prodsFijos.Text = $"Productos fijos (${tpf})"$ + prodsVarReq = mp.Get("prodsVariablesRequeridos") + prodsVarReq_ = prodsVarReq + prodsVarReq2 = mp.Get("prodsVariables2Requeridos") + prodsVarReq2_ = prodsVarReq2 +' Log("========= " & prodsVarReq2) + l_prodsVariables.Text = $"Productos variables requeridos: ${prodsVarReq}"$ + l_prodsVariables2.Text = $"Productos variables2 requeridos: ${prodsVarReq2}"$ + If prodsVarReq = 0 Then + p_prodsVariables.Visible = False + Else + p_prodsVariables.Visible = True + End If + 'Llenamos el listview con los productos fijos. + Dim label1 As Label + label1 = lv_prodsFijos.SingleLineLayout.Label + label1.TextSize = 13 + label1.TextColor = Colors.black + lv_prodsFijos.SingleLineLayout.ItemHeight = 30dip + lv_prodsFijos.Clear +' If pf.Size < 1 Then pf.Add("Sin productos fijos.") + lv_prodsFijos.Clear + agregaFijosALista(mp, True) + If thisLog Then Log("Total prods fijos = " & prodsFijosTot) +' If thisLog Then Log("======="&prodsMap) + l_totProds.text = $"Productos: ${tpf}"$ + l_total.Text = $"Total: $$1.2{prodsFijosTot}"$ +' Dim ins As InputStream +' Dim bmp As Bitmap +' Dim jpeg() As Byte + + 'Llenamos el listview con los productos variables. + If thisLog Then Log($"PV1: ${pv.Size}, ${pv}"$) + If thisLog Then Log($"PV2: ${pv2.Size}, ${pv2}"$) + If thisLog Then Log("invDisp=" & invDispPromo) + clv_prodsVariabes.Clear + clv_prodsVariabes2.Clear + For Each p As String In pv + If invDispPromo.ContainsKey(p) Then 'Si no esta en la lista de productos con inventario no lo mostramos. + Private indicePV = listaPV.IndexOf(p) +' Log(p & "|" & indicePV & "|" & listaPreciosPV.Get(indicePV)) + Private estePrecio = listaPreciosPV.Get(indicePV) +' c2.Position=i +' jpeg = c2.GetBlob("CAT_GP_IMG") +' ins.InitializeFromBytesArray(jpeg, 0, jpeg.Length) +' bmp.Initialize2(ins) + Private thisProd As Map = prodsPromo.Get(p) + If thisLog Then Log(thisProd) + clv_prodsVariabes.Add(CreateListItem(Subs.traeProdNombre(p)&CRLF&"Hay " & invDispPromo.Get(p) & " $" & estePrecio, estePrecio, invDispPromo.Get(p), clv_prodsVariabes.AsView.Width, 50dip, Null, p), p) + End If + Next + For Each p As String In pv2 + If invDispPromo.ContainsKey(p) Then 'Si no esta en la lista de productos con inventario no lo mostramos. +' Log(p) +' Log($"${invDispPromo}$"$) +' Log($"${listaPV2}"$) +' Log("listaPrecios:"&listaPreciosPV2) + Private indicePV2 = listaPV2.IndexOf(p) +' Log($"${indicePV2}"$) +' Log(p & "|" & indicePV & "|" & listaPreciosPV2.Get(indicePV2)) + Private estePrecio = listaPreciosPV2.Get(indicePV2) +' c2.Position=i +' jpeg = c2.GetBlob("CAT_GP_IMG") +' ins.InitializeFromBytesArray(jpeg, 0, jpeg.Length) +' bmp.Initialize2(ins) + Private thisProd As Map = prodsPromo.Get(p) + If thisLog Then Log(thisProd) + clv_prodsVariabes2.Add(CreateListItem2(Subs.traeProdNombre(p)&CRLF&"Hay " & invDispPromo.Get(p) & " $" & estePrecio, estePrecio, invDispPromo.Get(p), clv_prodsVariabes2.AsView.Width, 50dip, Null, p), p) + End If + Next + If pv2.Size = 0 Then +' Log("PV2 = 0") + l_prodsVariables2.Visible = False + p_prodsVariables2.Visible = False + + p_prodsVariables.Height = 410dip + clv_prodsVariabes.GetBase.Height = p_prodsVariables.Height - 20 +' p_prodsVariables.Height = 380dip +' clv_prodsVariabes.GetBase.Height = 380dip 'Cambiamos el tamaño y posición de la lista de productos +'' clv_prodsVariabes.GetBase.Width = + clv_prodsVariabes.Base_Resize(clv_prodsVariabes.GetBase.Width, p_prodsVariables.Height - 20) 'Cambiamos el tamaño del panel interno de la lista para que ajuste al nuevo tamaño. + Else + l_prodsVariables2.Visible = True + p_prodsVariables2.Visible = True + p_prodsVariables.Height = 210dip + clv_prodsVariabes.GetBase.Height = p_prodsVariables.Height - 20 + End If + b_terminar1.Visible = False + b_continuar.Visible = False + cuentaProds +End Sub + +'Agregamos los productos fijos a una lista para despues meterlos en el pedido. +Sub agregaFijosALista(mp As Map, addListItem As Boolean) + Private thisLog As Boolean = False + Private cont As Int = 0 + prodsFijosTot = 0 + Dim pf As List = mp.Get("prodsFijos") + If pf.Size < 1 Then pf.Add("Sin productos fijos.") +' Private m As Map +' prodsMap.Put(estaPromo, CreateMap("cant":1, "precio":0)) +' prodsIds.Add(estaPromo) + prodsIds.clear + prodsCants.clear + prodsPrecios.clear + prodsIds.Add(estaPromo) + prodsCants.Add(et_promoCant.text.As(Int)) + prodsPrecios.Add(0) + For Each p As String In pf +' Log($"cont=${cont}, mp=${mp}"$) + If mp.Get("prodsFijosPiezas").As(List).Size > 0 Then + Private tpi As String = mp.Get("prodsFijosPiezas").As(List).Get(cont) + Else + Private tpi As String = 0 + End If + If mp.Get("prodsFijosPrecios").As(List).Size > 0 Then + Private tpr As String = mp.Get("prodsFijosPrecios").As(List).Get(cont) + Else + Private tpr As String = 0 + End If + prodsFijosTot = prodsFijosTot + (tpi * tpr) + If thisLog Then Log("|"&tpi&"|"&p) + Private ntpi As Int = tpi * et_promoCant.text + If addListItem And tpi > 0 Then lv_prodsFijos.AddSingleLine(ntpi & " " & Subs.traeProdNombre(p) & " - $" & tpr) + cont = cont+1 +' m=CreateMap("cant":tpi, "precio":tpr) +' prodsMap.Put(p, m) + prodsIds.Add(p) + prodsCants.Add(tpi.As(Int)*et_promoCant.text.As(Int)) + prodsPrecios.Add(tpr) '*et_promoCant.text.As(Int) + Next +End Sub + +Sub CreateListItem(Text As String, precioU As String, inv As Int, Width As Int, Height As Int, img As Bitmap, prodId As String) As Panel 'ignore + Dim p As B4XView = xui.CreatePanel("") + p.SetLayoutAnimated(0, 0, 0, Width, Height) + p.LoadLayout("prodItem1") + l_prodX.TextSize = 15 + l_prodX.Text = Text + l_prodX.TextSize = 15 +' p_prods.Height = Height + 70 +' l_prodX.Height = Height + p_prods.height = su.MeasureMultilineTextHeight(l_prodX, l_prodX.Text) + 20 'Calculamos la altura del panel de acuerdo al texto contenido. + If p_prods.Height < Height Then p_prods.Height = Height + l_prodX.Height = p_prods.Height + l_pCant.Tag = precioU&"|"&inv&"|"&prodId + et_pCant.Tag = precioU&"|"&inv&"|"&prodId + et_pCant.BringToFront +' i_prod.Bitmap = img + p.Height = p_prods.Height + Return p +End Sub + +Sub CreateListItem2(Text As String, precioU As String, inv As Int, Width As Int, Height As Int, img As Bitmap, prodId As String) As Panel 'ignore + Dim p As B4XView = xui.CreatePanel("") + p.SetLayoutAnimated(0, 0, 0, Width, Height) + p.LoadLayout("prodItem2") + l_prodX.TextSize = 15 + l_prodX.Text = Text + l_prodX.TextSize = 15 +' p_prods.Height = Height +' l_prodX.Height = Height + p_prods.height = su.MeasureMultilineTextHeight(l_prodX, l_prodX.Text) + 20 'Calculamos la altura del panel de acuerdo al texto contenido. + If p_prods.Height < Height Then p_prods.Height = Height + l_prodX.Height = p_prods.Height +' l_pCant.Text = 0 + l_pCant.Tag = precioU&"|"&inv&"|"&prodId + et_pCant.Tag = precioU&"|"&inv&"|"&prodId + et_pCant.BringToFront +' i_prod.Bitmap = img + p.Height = p_prods.Height + Return p +End Sub + +Sub b_prodMenos_Click + Dim index As Int = clv_prodsVariabes.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) +' Dim laCant As B4XView = pnl.GetView(5) + Dim laCant As B4XView = pnl.GetView(2).GetView(4) +' Log($"precio|stock:${laCant.tag}"$) + laCant.Text = $"$1.0{laCant.Text-1}"$ + If laCant.Text < 0 Then laCant.Text = 0 + +' Log(Regex.Split("\|", laCant.tag)(0)) + Private precio As String = Regex.Split("\|", laCant.tag)(0) +' Private inv As String = Regex.Split("\|", laCant.tag)(1) + Private prodId As String = Regex.Split("\|", laCant.tag)(2) + Private tmpMap As Map = CreateMap("precio":precio, "cant":laCant.Text, "almacen":estaPromo) +' Log(tmpMap) + promosMap.Put(prodId, tmpMap) + If laCant.Text = 0 Then promosMap.Remove(prodId) +' LogColor(promosMap, Colors.Magenta) + cuentaProds +' l_total.Text = $"Total Compra: $$1.2{totalCompra}"$ +' l_totProds.text = $"Total Productos: ${totalProds}"$ +End Sub + +Sub b_prodMas_Click + If prodsVar1 < prodsVarReq Then + Dim index As Int = clv_prodsVariabes.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) +' Dim laCant As B4XView = pnl.GetView(5) + Dim laCant As B4XView = pnl.GetView(2).GetView(4) +' Log($"precio|stock:${laCant.tag}"$) +' Log($"Indice: ${index}, cant:${laCant.Text+1}, precioU: ${laCant.tag}"$) + Dim esteTag As List = Regex.Split("\|", laCant.Tag) +' Log(esteTag) + If laCant.Text + 1 <= esteTag.get(1) Then + laCant.Text = $"$1.0{laCant.Text+1}"$ + cuentaProds + End If + +' Log(Regex.Split("\|", laCant.tag)(0)) + Private precio As String = Regex.Split("\|", laCant.tag)(0) +' Private inv As String = Regex.Split("\|", laCant.tag)(1) + Private prodId As String = Regex.Split("\|", laCant.tag)(2) + Private tmpMap As Map = CreateMap("precio":precio, "cant":laCant.Text, "almacen":estaPromo) +' Log(tmpMap) + promosMap.Put(prodId, tmpMap) +' LogColor(promosMap, Colors.Magenta) + End If +' Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) +' l_total.Text = $"Total Compra: $$1.2{totalCompra}"$ +' l_totProds.text = $"Total Productos: ${totalProds}"$ +End Sub + + +Sub b_prodMenos2_Click + Dim index As Int = clv_prodsVariabes2.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_prodsVariabes2.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) +' Dim laCant As B4XView = pnl.GetView(5) + Dim laCant As B4XView = pnl.GetView(2).GetView(4) +' Log($"precio|stock:${laCant.tag}"$) + laCant.Text = $"$1.0{laCant.Text-1}"$ + If laCant.Text < 0 Then laCant.Text = 0 + +' Log(Regex.Split("\|", laCant.tag)(0)) + Private precio As String = Regex.Split("\|", laCant.tag)(0) +' Private inv As String = Regex.Split("\|", laCant.tag)(1) + Private prodId As String = Regex.Split("\|", laCant.tag)(2) + Private tmpMap As Map = CreateMap("precio":precio, "cant":laCant.Text, "almacen":estaPromo) +' Log(tmpMap) + promosMap.Put(prodId, tmpMap) + If laCant.Text = 0 Then promosMap.Remove(prodId) +' LogColor(promosMap, Colors.Magenta) + cuentaProds +' l_total.Text = $"Total Compra: $$1.2{totalCompra}"$ +' l_totProds.text = $"Total Productos: ${totalProds}"$ +End Sub + +Sub b_prodMas2_Click +' Log(prodsVarReq & "|" & prodsVarReq2 & "|" & tpf & "|" & prodsVar2) + If prodsVar2 < prodsVarReq2 Then + Dim index As Int = clv_prodsVariabes2.GetItemFromView(Sender) + Dim pnl0 As B4XView = clv_prodsVariabes2.GetPanel(index) + Dim pnl As B4XView = pnl0.GetView(0) +' Dim laCant As B4XView = pnl.GetView(5) + Dim laCant As B4XView = pnl.GetView(2).GetView(4) +' Log($"precio|stock:${laCant.tag}"$) +' Log($"Indice: ${index}, cant:${laCant.Text+1}, precioU: ${laCant.tag}"$) + Dim esteTag As List = Regex.Split("\|", laCant.Tag) +' Log(esteTag) + If laCant.Text + 1 <= esteTag.get(1) Then + laCant.Text = $"$1.0{laCant.Text+1}"$ + cuentaProds + End If + +' Log(Regex.Split("\|", laCant.tag)(0)) + Private precio As String = Regex.Split("\|", laCant.tag)(0) +' Private inv As String = Regex.Split("\|", laCant.tag)(1) + Private prodId As String = Regex.Split("\|", laCant.tag)(2) + Private tmpMap As Map = CreateMap("precio":precio, "cant":laCant.Text, "almacen":estaPromo) +' Log(tmpMap) + promosMap.Put(prodId, tmpMap) +' LogColor(promosMap, Colors.Magenta) + End If +' Log($"Total Prods: ${totalProds}, Total Compra: $$1.2{totalCompra}"$) +' l_total.Text = $"Total Compra: $$1.2{totalCompra}"$ +' l_totProds.text = $"Total Productos: ${totalProds}"$ +End Sub + + +Private Sub et_pCant_TextChanged (Old As String, New As String) +' LogColor("txt changed",Colors.Magenta) + cuentaProds +End Sub + +Sub cuentaProds +' Log("=====================================================") +' Log("Inicia cuentaProds") + Private thisLog As Boolean = False +' LogColor($"ProdsFijos=${tpf}, totalProds=${totalProds}, totalCompra=${totalCompra}"$, Colors.Red) + prodsIds2.Clear + prodsCants2.Clear + prodsPrecios2.Clear + lv_prodsFijos.Clear + prodsVar1 = 0 + prodsVar2 = 0 + agregaFijosALista(Subs.traePromo(estaPromo, esteCliente), True) +' Log(prodsIds) + Private tcpf As Float = 0 'Total de compra de productos fijos. + For pf = 0 To prodsIds.Size - 1 + If thisLog Then Log($"${tcpf} + ${prodsCants.Get(pf)} * ${prodsPrecios.Get(pf)} = ${(prodsPrecios.Get(pf) * prodsCants.Get(pf))}"$) + tcpf = tcpf + (prodsPrecios.Get(pf) * prodsCants.Get(pf)) + Next +' Log("Total compra prodsFijos = " & tcpf) + totalCompra = tcpf + totalProds = tpf 'Cantidad total de productos fijos. + 'Variables1 + For i = 0 To clv_prodsVariabes.GetSize - 1 + Private p0 As B4XView = clv_prodsVariabes.GetPanel(i) + Private p As B4XView = p0.GetView(0) + Private cant1 As B4XView = p.GetView(2).GetView(4) + If cant1.Text = "" Then cant1.Text = 0 + totalProds = totalProds + cant1.Text + prodsVar1 = prodsVar1 + cant1.Text + Private esteTag As List = Regex.Split("\|", cant1.Tag) + If cant1.Text > esteTag.Get(1) Then cant1.Text = esteTag.Get(1) + If cant1.Text > 0 Then +' Log(esteTag.Get(2) & "|" & cant1.Text) + totalCompra = totalCompra + (esteTag.get(0) * cant1.text) + If thisLog Then Log($"Cant: ${cant1.Text}, Suma: ${totalCompra}"$) + prodsIds2.Add(esteTag.Get(2)) + prodsCants2.Add(cant1.Text) + prodsPrecios2.Add(esteTag.get(0)) + End If + l_total.Text = $"Total: $$1.2{totalCompra}"$ + l_totProds.text = $"Productos: ${totalProds}"$ + Next + 'Variables2 + For i = 0 To clv_prodsVariabes2.GetSize - 1 + Private p0 As B4XView = clv_prodsVariabes2.GetPanel(i) + Private p As B4XView = p0.GetView(0) + Private cant2 As B4XView = p.GetView(2).GetView(4) + totalProds = totalProds + cant2.Text + prodsVar2 = prodsVar2 + cant2.Text + Private esteTag As List = Regex.Split("\|", cant2.Tag) + If cant2.Text > esteTag.Get(1) Then cant2.Text = esteTag.Get(1) + If cant2.Text > 0 Then +' Log(esteTag.Get(2) & "|" & cant2.Text) + totalCompra = totalCompra + (esteTag.get(0) * cant2.text) + If thisLog Then Log($"Cant: ${cant2.Text}, Suma: ${totalCompra}"$) + prodsIds2.Add(esteTag.Get(2)) + prodsCants2.Add(cant2.Text) + prodsPrecios2.Add(esteTag.get(0)) + End If + l_total.Text = $"Total: $$1.2{totalCompra}"$ + l_totProds.text = $"Productos: ${totalProds}"$ + Next + + If thisLog Then Log($"Total Prods: ${totalProds}, Total: $$1.2{totalCompra}"$) + l_total.Text = $"Total: $$1.2{totalCompra}"$ + l_totProds.text = $"Productos: ${totalProds}"$ + If totalProds < prodsVarReq + prodsVarReq2 + tpf Or totalProds > prodsVarReq + prodsVarReq2 + tpf Then +' Log("INCOMPLETA") + b_terminar1.Visible = False + b_continuar.Visible = False + Else +' Log("COMPLETA") + b_terminar1.Visible = True + b_continuar.Visible = True + End If + If thisLog Then LogColor($"${prodsIds}${CRLF}${prodsCants}${CRLF}${prodsPrecios}"$, Colors.blue) + If thisLog Then LogColor($"${prodsIds2}${CRLF}${prodsCants2}${CRLF}${prodsPrecios2}"$, Colors.Magenta) +' LogColor($"Total Prods: ${totalProds}, Total: $$1.2{totalCompra}"$, Colors.Blue) +End Sub + +Private Sub et_pCant_FocusChanged (HasFocus As Boolean) + LogColor("focus changed", Colors.Magenta) + cuentaProds +End Sub + +Private Sub b_promoMenos_Click + If et_promoCant.Text > 1 Then + et_promoCant.Text = et_promoCant.Text.As(Int) - 1 + End If + l_prodsFijos.Text = $"Productos fijos (${tpf2 * et_promoCant.Text.As(Int)})"$ + l_prodsVariables.Text = $"Productos variables requeridos: ${prodsVarReq_ * et_promoCant.Text.As(Int)}"$ + l_prodsVariables2.Text = $"Productos variables2 requeridos: ${prodsVarReq2_ * et_promoCant.Text.As(Int)}"$ + tpf = tpf2 * et_promoCant.Text.As(Int) + prodsVarReq = prodsVarReq_ * et_promoCant.Text.As(Int) + prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text.As(Int) + Log($"Max promos=${et_promoCant.Text.As(Int)}, Prods fijos=${tpf}, "$) + cuentaProds +End Sub + +Private Sub b_promoMas_Click + If et_promoCant.Text < maxCantPromos Then + et_promoCant.Text = et_promoCant.Text.As(Int) + 1 + l_prodsFijos.Text = $"Productos fijos (${tpf2 * et_promoCant.Text.As(Int)})"$ + l_prodsVariables.Text = $"Productos variables requeridos: ${prodsVarReq_ * et_promoCant.Text.As(Int)}"$ + l_prodsVariables2.Text = $"Productos variables2 requeridos: ${prodsVarReq2_ * et_promoCant.Text.As(Int)}"$ + tpf = tpf2 * et_promoCant.Text.As(Int) + prodsVarReq = prodsVarReq_ * et_promoCant.Text.As(Int) + prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text.As(Int) + Log($"Max promos=${et_promoCant.Text.As(Int)}, Prods fijos=${tpf}, "$) + End If + If et_promoCant.text > maxCantPromos Then et_promoCant.Text = maxCantPromos + cuentaProds +End Sub + +Private Sub b_terminar1_Click + cuentaProds + Log("====================================================================") + For t = 0 To prodsIds.Size - 1 'Guardamos los productos fijos de la promocion en pedido. + Private pn As String = Subs.traeProdNombre(prodsIds.Get(t)) + If prodsCants.Get(t) > 0 Then Subs.guardaProductoSinGestion(estaPromo, prodsPrecios.Get(t), prodsCants.Get(t), pn, prodsIds.Get(t), Subs.traeCliente, Subs.traeFecha, Subs.traeUsuarioDeBD, Subs.traeRuta(Subs.traeCliente), 0, B4XPages.MainPage.tipo_venta,0,0) + Next + For t = 0 To prodsIds2.Size - 1 'Guardamos los productos variables de la promocion en pedido. + Private pn As String = Subs.traeProdNombre(prodsIds2.Get(t)) + Subs.guardaProductoSinGestion(estaPromo, prodsPrecios2.Get(t), prodsCants2.Get(t), pn, prodsIds2.Get(t), Subs.traeCliente, Subs.traeFecha, Subs.traeUsuarioDeBD, Subs.traeRuta(Subs.traeCliente), 0, B4XPages.MainPage.tipo_venta,0,0) + Next +' Log(B4XPages.MainPage.productos.prodsMap) +' For o=0 To prodsIds.Size - 1 'Ponemos los productos fijos en el mapa de la compra. +' Private tmpMap As Map = CreateMap("precio":prodsPrecios.Get(o), "cant":prodsCants.Get(o), "almacen":estaPromo) +'' Log(tmpMap) +' If prodsCants.Get(o) > 0 Then B4XPages.MainPage.productos.prodsMap.Put(estaPromo&"|"&prodsIds.Get(o), tmpMap) +' Next +' For o=0 To prodsIds2.Size - 1 'Ponemos los productos variables en el mapa de la compra. +' Private tmpMap As Map = CreateMap("precio":prodsPrecios2.Get(o), "cant":prodsCants2.Get(o), "almacen":estaPromo) +'' Log(tmpMap) +' B4XPages.MainPage.productos.prodsMap.Put(estaPromo&"|"&prodsIds2.Get(o), tmpMap) +' Next +' LogColor(B4XPages.MainPage.productos.prodsMap, Colors.red) + lv_prodsFijos.Clear + B4XPages.MainPage.bTerminarClicked = True + B4XPages.ShowPage("productos") + B4XPages.MainPage.productos.b_terminar1_Click +End Sub + +Private Sub b_continuar_Click + cuentaProds + Log("====================================================================") + For t = 0 To prodsIds.Size - 1 'Guardamos los productos fijos de la promocion en pedido. + Private pn As String = Subs.traeProdNombre(prodsIds.Get(t)) + Subs.guardaProductoSinGestion(estaPromo, prodsPrecios.Get(t), prodsCants.Get(t), pn, prodsIds.Get(t), Subs.traeCliente, Subs.traeFecha, Subs.traeUsuarioDeBD, Subs.traeRuta(Subs.traeCliente), 0, B4XPages.MainPage.tipo_venta,0,0) + Next + For t = 0 To prodsIds2.Size - 1 'Guardamos los productos variables de la promocion en pedido. + Private pn As String = Subs.traeProdNombre(prodsIds2.Get(t)) + Subs.guardaProductoSinGestion(estaPromo, prodsPrecios2.Get(t), prodsCants2.Get(t), pn, prodsIds2.Get(t), Subs.traeCliente, Subs.traeFecha, Subs.traeUsuarioDeBD, Subs.traeRuta(Subs.traeCliente), 0, B4XPages.MainPage.tipo_venta,0,0) + Next +' Log(B4XPages.MainPage.productos.prodsMap) +' For o=0 To prodsIds.Size - 1 'Ponemos los productos fijos en el mapa de la compra. +' Private tmpMap As Map = CreateMap("precio":prodsPrecios.Get(o), "cant":prodsCants.Get(o), "almacen":estaPromo) +'' Log(tmpMap) +' If prodsCants.Get(o) > 0 Then B4XPages.MainPage.productos.prodsMap.Put(estaPromo&"|"&prodsIds.Get(o), tmpMap) +' Next +' For o=0 To prodsIds2.Size - 1 'Ponemos los productos variables en el mapa de la compra. +' Private tmpMap As Map = CreateMap("precio":prodsPrecios2.Get(o), "cant":prodsCants2.Get(o), "almacen":estaPromo) +'' Log(tmpMap) +' B4XPages.MainPage.productos.prodsMap.Put(estaPromo&"|"&prodsIds2.Get(o), tmpMap) +' Next +' LogColor(B4XPages.MainPage.productos.prodsMap, Colors.red) + lv_prodsFijos.Clear +' Activity_KeyPress(KeyCodes.KEYCODE_BACK) +' CallSubDelayed2(productos, "Activity_KeyPress", KeyCodes.KEYCODE_BACK) + Private prodspage As C_Productos + If prodspage.IsInitialized Then + prodspage.lv_catalogos.Visible = True + prodspage.lv_promos.Visible = False + prodspage.clv_productos.AsView.Visible = False + End If + B4XPages.MainPage.bTerminarClicked = True + B4XPages.ShowPage("productos") +End Sub + +'Sub Activity_KeyPress (key As Int) As Boolean 'ignore +' ' BACK key pressed +' Log("Keypress") +' If key=KeyCodes.KEYCODE_BACK Then +' Log("BACK") +' Return False +' End If +' Return False +' ' Returning False signals the system to handle the key +'End Sub + +Private Sub et_promoCant_TextChanged (Old As String, New As String) + + If et_promoCant.Text = "" Then + et_promoCant.Text = 1 +' Return + End If + + If et_promoCant.Text < maxCantPromos Then +' et_promoCant.Text = et_promoCant.Text.As(Int) + 1 + l_prodsFijos.Text = $"Productos fijos (${tpf2 * et_promoCant.Text.As(Int)})"$ + l_prodsVariables.Text = $"Productos variables requeridos: ${prodsVarReq_ * et_promoCant.Text.As(Int)}"$ + l_prodsVariables2.Text = $"Productos variables2 requeridos: ${prodsVarReq2_ * et_promoCant.Text.As(Int)}"$ + tpf = tpf2 * et_promoCant.Text.As(Int) + prodsVarReq = prodsVarReq_ * et_promoCant.Text.As(Int) + prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text.As(Int) + Log($"Max promos=${et_promoCant.Text.As(Int)}, Prods fijos=${tpf}, "$) + End If + If et_promoCant.text > maxCantPromos Then et_promoCant.Text = maxCantPromos + cuentaProds +End Sub \ No newline at end of file diff --git a/B4A/C_RespaldoDiario.bas b/B4A/C_RespaldoDiario.bas new file mode 100644 index 0000000..b2f7b75 --- /dev/null +++ b/B4A/C_RespaldoDiario.bas @@ -0,0 +1,168 @@ +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 skmt, rkmt As SQL +' Dim rp As RuntimePermissions + Dim safePath As String + Dim fechaHoy As String + Dim skmtAttached As Boolean = False +End Sub + +'You can add more parameters here. +Public Sub Initialize As Object +' Log("************************** " & safePath) + Dim rp As RuntimePermissions + Dim Dirp As String = File.DirInternal + Dim Dir As String +' Dim Dir2 As String + Try + File.MakeDir(Dirp,"/kmts") + Dir = "/kmts" +' Log("creado en kmts " & Dirp & Dir) + Catch + Dir = "" +' Log("creado en raiz") + End Try +' safePath = rp.GetSafeDirDefaultExternal("./") + safePath = Dirp & Dir + 'Si no existe el directorio "kmts" en el raiz de la tarjeta de memoria, nos cambiamos al directorio seguro (sdcard/Android/data/kelloggs...) + If Not(File.IsDirectory(Dirp, Dir)) Then safePath = rp.GetSafeDirDefaultExternal("kmts") + Private name() As String = Regex.split(" ", Application.LabelName) + rkmt.Initialize(safePath,$"${name(0)}.rkmt.km"$, True) + skmt.Initialize(File.DirInternal,"kmt.db", False) + rkmt.ExecNonQuery($"create table if not exists pedidos (pe_folio NUMERIC, pe_desc NUMERIC, pe_costo_sin TEXT, pe_ruta TEXT, pe_cedis TEXT, pe_costo_tot NUMERIC, pe_costou NUMERIC, pe_cant NUMERIC, pe_pronombre TEXT, pe_proid TEXT, pe_cliente TEXT, pe_fecha TEXT, pe_usuario TEXT)"$) + agregaColumna2(rkmt,"pedidos","pe_cantc","text") + agregaColumna2(rkmt,"pedidos","pe_bcajas","text") + Try 'Intentamos usar "pragma_table_info" para revisar si existe la columna en la tabla + Private c As Cursor = rkmt.ExecQuery($"SELECT COUNT(*) AS fCol FROM pragma_table_info('pedidos') WHERE name='pe_envio_ok'"$) + c.Position = 0 + If c.GetString("fCol") = 0 Then 'Si no esta la columna la agregamos + rkmt.ExecNonQuery($"ALTER TABLE pedidos ADD COLUMN pe_envio_ok INT"$) + Log($"Columna "pe_envio_ok INT", agregada a "pedidos}"."$) + End If + Catch 'Si no funciona "pragma_table_info" lo hacemos con try/catch + Try + rkmt.ExecNonQuery($"ALTER TABLE pedidos ADD COLUMN pe_envio_ok INT"$) + Log($"Columna "pe_envio_ok INT", agregada a "pedidos".."$) + Catch + Log(LastException) + End Try + End Try + rkmt.ExecNonQuery($"create table if not exists inventarios (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_tipoprod2 TEXT, fecha TEXT)"$) + rkmt.ExecNonQuery($"create table if not exists paquetes (cat_dp_precio_simptos TEXT, cat_dp_precio TEXT, cat_dp_almacen TEXT, cat_dp_id TEXT, cat_dp_idprod TEXT, cat_dp_tipo TEXT, cat_dp_pzas TEXT, cat_dp_usuario TEXT, cat_dp_fecha TEXT, cat_dp_regalo TEXT, cat_dp_clasif TEXT, fecha TEXT)"$) + DateTime.DateFormat = "MM/dd/yyyy" + fechaHoy = DateTime.Date(DateTime.Now) + revisaSkmtAttached + 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 + +'Revisa si esta montada "kmt.db" como "skmt" y si no, se monta. +Sub revisaSkmtAttached + skmtAttached = False + Dim rs As ResultSet = rkmt.ExecQuery("SELECT * FROM pragma_database_list") + Do While rs.NextRow 'Revisamos si esta montada "kmt.db" como "skmt" y si no, la montamos. + If rs.GetString("name") = "skmt1" Then skmtAttached = True + Loop + If Not(skmtAttached) Then + rkmt.ExecNonQuery($"attach database '${File.Combine(File.DirInternal, "kmt.db")}' as skmt1;"$) + skmtAttached = True + End If +End Sub + +'Copia la tabla PEDIDO a rkmt.db en la tarjeta del celular. +Sub respaldaPedido + Private inicio As String = DateTime.Now + Log("copiando pedidos ...") + rkmt.BeginTransaction + rkmt.ExecNonQuery($"delete from pedidos where substr(pe_fecha, 1, 10) = '${fechaHoy}'"$) +' rkmt.ExecNonQuery($"insert into pedidos (pe_folio, pe_desc, pe_costo_sin, pe_ruta, pe_cedis, pe_costo_tot, pe_costou, pe_cant, pe_pronombre, pe_proid, pe_cliente, pe_fecha, pe_usuario, pe_envio_ok,pe_cantc,pe_bcajas) select * from skmt1.pedido where substr(pe_fecha, 1, 10) = '${fechaHoy}'"$) + rkmt.TransactionSuccessful 'Si no se pone TransactionSuccessful no se escribe NADA!! + rkmt.EndTransaction +' Log(((DateTime.Now - inicio)/1000) & " segs") +End Sub + + +'Copia la tabla CAT_GUNAPRODS a rkmt.db en la tarjeta del celular. +Sub respaldaInventarios +' Log($"Borrando de fecha ${fechaHoy}"$) + Private inicio As String = DateTime.Now +' Log("copiando inventarios ...") +' rkmt.ExecNonQuery($"delete from inventarios where substr(fecha, 1, 10) = '${fechaHoy}'"$) + rkmt.BeginTransaction + rkmt.ExecNonQuery($"delete from inventarios where fecha = '${fechaHoy}'"$) +' rkmt.ExecNonQuery($"insert into inventarios (cat_gp_iniciativa, cat_gp_tipoprod, cat_gp_dev, cat_gp_almacen, 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, fecha) select cat_gp_iniciativa, cat_gp_tipoprod, cat_gp_dev, cat_gp_almacen, 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, '${fechaHoy}' as fecha from skmt1.cat_gunaprod"$) + rkmt.TransactionSuccessful 'Si no se pone TransactionSuccessful no se escribe NADA!! + rkmt.EndTransaction +' Log(((DateTime.Now - inicio)/1000) & " segs") +End Sub + +'Copia la tabla CAT_DETALLE_PAQ a rkmt.db en la tarjeta del celular. +Sub respaldaPaquetes + Private inicio As String = DateTime.Now +' Log("copiando paquetes ...") + rkmt.BeginTransaction +' rkmt.ExecNonQuery($"delete from paquetes where substr(fecha, 1, 10) = '${fechaHoy}'"$) + rkmt.ExecNonQuery($"delete from paquetes where fecha = '${fechaHoy}'"$) + rkmt.ExecNonQuery($"insert into paquetes (cat_dp_precio_simptos, cat_dp_precio, 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, fecha) select cat_dp_precio_simptos, cat_dp_precio, 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, '${fechaHoy}' as fecha from skmt1.cat_detalles_paq"$) + rkmt.TransactionSuccessful 'Si no se pone TransactionSuccessful no se escribe NADA!! + rkmt.EndTransaction +' Log(((DateTime.Now - inicio)/1000) & " segs") +End Sub + +Sub vacuum + Log("Vacuum") + rkmt.ExecNonQuery("vacuum;") +End Sub + +'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage. + +'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) 'ignore + Try 'Intentamos usar "pragma_table_info" para revisar si existe la columna en la tabla + Private c As Cursor = B4XPages.MainPage.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 + B4XPages.MainPage.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 + B4XPages.MainPage.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 + +Sub agregaColumna2(db As SQL, tabla As String, columna As String, tipo As String) 'ignore + Try 'Intentamos usar "pragma_table_info" para revisar si existe la columna en la tabla + Private c As Cursor = db.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 + db.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 + db.ExecNonQuery($"ALTER TABLE ${tabla} ADD COLUMN ${columna} ${tipo}"$) + Log($"Columna "${columna} ${tipo}", agregada a "${tabla}".."$) + Catch + Log(LastException) + End Try + End Try +End Sub diff --git a/B4A/C_Subs.bas b/B4A/C_Subs.bas new file mode 100644 index 0000000..781fdf1 --- /dev/null +++ b/B4A/C_Subs.bas @@ -0,0 +1,608 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=12.2 +@EndOfDesignText@ +Sub Class_Globals + 'These global variables will be declared once when the application starts. + 'These variables can be accessed from all modules. +' Public GZip As GZipStrings 'Usa la libreria CompressStrings +' Private su As StringUtils 'Usa la libreria StringUtils + Dim reqManager As DBRequestManager + Private EventName As String 'ignore + Private CallBack As Object 'ignore + Dim phn As Phone + Dim devModel As String + Dim db, kmt, errorLog As SQL 'Requiere la libreria "SQL" 'ignore + Dim ssid As String 'ignore + Dim reqsList As List + Dim reqError As Boolean = False + Private subsLogs As Boolean = False +End Sub + +'You can add more parameters here. +Public Sub Initialize (vCallback As Object, vEventName As String) As Object + reqsList.Initialize + EventName = vEventName + CallBack = vCallback + db = dbInit + reqManager = reqManagerInit + Return Me +End Sub + +'Inicializa la BD con "kmt.db" en File.DirInternal, si el archivo no existe, lo copia desde File.DirAssets. +'Dispara el evento "dbOk" cuando termina. +Sub dbInit As SQL + If File.Exists(File.DirInternal, "kmt.db") = False Then File.Copy(File.DirAssets, "kmt.db", File.DirInternal, "kmt.db") + db.Initialize(File.DirInternal,"kmt.db", True) + dbOk(True) +' Log(db.IsInitialized) + Return db +End Sub + +Sub dbOk(Success As Boolean) + If SubExists(CallBack, EventName & "_dbOk") Then + CallSub2(CallBack, EventName & "_dbOk", Success) + End If +End Sub + +'Inicializamos el DBReqServer. +Sub reqManagerInit As DBRequestManager + Private rm As DBRequestManager + rm.Initialize(Me, traeDBReqServerDeBD(db)) + Log($"Inicializamos reqManager con ${traeDBReqServerDeBD(db)}"$) + Return rm +End Sub + +'Reinicializamos el DBReqServer de C_Subs. +Sub reqManagerReInit + Log("reqManager ReInit") + reqManager = reqManagerInit +End Sub + +Sub envioTest + reqsList.Initialize ' Ponemos la lista de DBRequests en cero. + Private cmd As DBCommand + cmd.Initialize + cmd.Name = "select_fecha" + For i = 0 To 50 +' Sleep(200) + reqManager.ExecuteQuery(cmd, 0, $"select_fecha_${i}"$) + reqsList.Add($"select_fecha_${i}"$) + Next +End Sub + +'Dispara el evento "_envioOk" del caller. +Sub envioOk(Success As Boolean) +' Log($"_ENVIOOK_"$) + If SubExists(CallBack, EventName & "_envioOk") Then + CallSub2(CallBack, EventName & "_envioOk", Success) + End If +End Sub + +Sub JobDone(Job As HttpJob) + LogColor("C_SUBS JOBDONE - " & Job.Success, Colors.Red) + If Job.Success = False Then + Log($"Error en el request ${Job.Tag}"$) + LogColor("** " & Job.Tag & " Error: " & Job.ErrorMessage, Colors.Red) + If reqsList.IndexOf(Job.Tag) > -1 Then reqsList.RemoveAt(reqsList.IndexOf(Job.Tag)) + reqError = True + Else + If Job.JobName = "DBRequest" Then + Dim resultado As DBResult = reqManager.HandleJob(Job) + If reqsList.IndexOf(resultado.Tag) > -1 Then reqsList.RemoveAt(reqsList.IndexOf(resultado.Tag)) + If resultado.Tag = "select_fecha" Then + 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 + End If + Log(reqsList.Size) + If reqsList.Size = 0 Then 'Ya no hay DBReqs pendientes. + Log(reqError) + If Not(reqError) Then + envioOk(True) + Else + envioOk(False) + End If + reqError = False + Log("-= FIN =-") + End If + Job.Release +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 + +'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 + +'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 + 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 subsLogs Then Log("LatLon="&latlon) + kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)", Array As Object (latlon(2),latlon(0),latlon(1))) + Catch + LogColor(LastException, Colors.red) + End Try +End Sub + +'Limpiamos la tabla RUTA_GPS de la BD +Sub deleteGPS_DB 'ignore + kmt.ExecNonQuery("delete from RUTA_GPS") + kmt.ExecNonQuery("vacuum;") + ToastMessageShow("Borramos BD Coords GPS", False) +End Sub + +'Limpiamos la tabla errorLog de la BD +Sub deleteErrorLog_DB 'ignore + errorLog.ExecNonQuery("delete from errores") + errorLog.ExecNonQuery("vacuum;") + ToastMessageShow("BD Errores Borrada", False) +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, "mt":Main.montoActual) +' 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.LightGray) + 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 +' CallSubDelayed(Tracker, "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 + +'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) + 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 + ToastMessageShow("copiaDB", False) + 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,"cedex_kmt.db") + File.Copy(File.DirInternal,"errorLog.db",File.DirInternal&theDir,"cedex_errorLog.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 y trae al frente 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 + +'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 panel horizontalmente 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 un panel verticalmente dentro de un elemento superior. +Sub centraPanelV(elemento As Panel, altoElementoSuperior As Int) 'ignore + elemento.Top = Round(altoElementoSuperior/2)-(elemento.Height/2) +End Sub + +'Centra una barra de progreso dentro de un elemento superior. +Sub centraProgressBar(elemento As ProgressBar, anchoElementoSuperior As Int) 'ignore + elemento.Left = Round(anchoElementoSuperior/2)-(elemento.Width/2) +End Sub + +'Regresa el usuario de la tabla USUARIOA si es que existe, si no existe, regresa "SinUsuario". +Sub buscaDBUsuario As String 'ignore + Private c As Cursor + Private usuario As String = "SinUsuario" + c=kmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + If c.RowCount > 0 Then usuario = c.GetString("USUARIO") + Return usuario +End Sub + +'Regresa la fecha en el formato "MM/dd/yyyy" +Sub traeFecha As String 'ignore + DateTime.DateFormat = "MM/dd/yyyy" + Private sDate As String = DateTime.Date(DateTime.Now) + Private sTime As String = DateTime.Time(DateTime.Now) + Return sDate & sTime +End Sub + +'Guarda el nombre y version de la app en CAT_VARIABLES. +Sub guardaAppInfo(skmt As SQL) 'ignore + skmt.ExecNonQuery("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'") + skmt.ExecNonQuery($"insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_NAME', '${Application.LabelName}')"$) + skmt.ExecNonQuery($"insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_VERSION', '${Application.VersionName}')"$) +End Sub + +'Muestra en el Log los campos y valores que regresan en el JobDone. +Sub logJobDoneResultados(resultado As DBResult) 'ignore + For Each records() As Object In resultado.Rows + LogColor($"====== ${resultado.Tag} - REGISTROS = ${resultado.Rows.Size}"$, Colors.RGB(215,37,0)) + For Each k As String In resultado.Columns.Keys + LogColor(k & " = " & records(resultado.Columns.Get(k)), Colors.RGB(215,37,0)) + Next + Next +End Sub + +'Regresa la base de datos especificada ya inicializada. +Sub inicializaBD(ruta As String, BDName As String) As SQL 'ignore + Dim skmt As SQL + If File.Exists(ruta, BDName) = False Then + File.Copy(File.DirAssets, BDName, ruta, BDName) + LogColor($"Copiamos ${BDName} de ${File.DirAssets} a ${ruta}"$,Colors.Green) + End If + skmt.Initialize(ruta, BDName, True) + Return skmt +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) 'ignore + Try 'Intentamos usar "pragma_table_info" para revisar si existe la columna en la tabla + Private c As Cursor = db.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 + db.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 + db.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 el DBReqServer desde CAT_VARIABLES o "N/A" si no existe. +Sub traeDBReqServerDeBD(dbx As SQL) As String 'ignore + Dim srvr As String = "N/A" + Dim rs As ResultSet = dbx.ExecQuery("select CAT_VA_VALOR from cat_variables where CAT_VA_DESCRIPCION = 'SERVER'") + If rs.RowCount > 0 Then + rs.NextRow + srvr = rs.GetString("CAT_VA_VALOR") + End If + Return srvr +End Sub + +'Regresa el valor de intervalo desde CAT_VARIABLES o "30" si no existe. +Sub traeIntervaloDeBD As String 'ignore + Dim intrvl As String = "30" + Dim rs As ResultSet = db.ExecQuery("select valor from cat_variables where nombre = 'intervalo'") + If rs.RowCount > 0 Then + rs.NextRow + intrvl = rs.GetString("valor") + End If + Return intrvl +End Sub + +'Regresa el valor timeout desde CAT_VARIABLES o "9000" si no existe. +Sub traeTimeoutDeBD As String 'ignore + Dim tmout As String = "9000" + Dim rs As ResultSet = db.ExecQuery("select valor from cat_variables where nombre = 'timeout'") + If rs.RowCount > 0 Then + rs.NextRow + tmout = rs.GetString("valor") + End If + Return tmout +End Sub + +'Crea una notificación con el "body" dado y regresa el objeto. +Sub CreateNotification (Body As String) As Notification 'ignore + Dim notification As Notification + notification.Initialize2(notification.IMPORTANCE_LOW) + notification.Icon = "icon" + notification.SetInfo("Tester", Body, Main) + Return notification +End Sub + +'Genera una notificacion con importancia alta +Sub notiHigh(title As String, body As String, id As String, activity As Object) 'ignore + activity = Main + Private notif As Notification + notif.Initialize2(notif.IMPORTANCE_HIGH) + notif.Icon = "icon" + notif.Vibrate = False + notif.Sound = False + notif.AutoCancel = True +' If logger Then Log("notiHigh: "&title) + notif.SetInfo(title, body, activity) +' Log("notiHigh SetInfo") + notif.Notify(id) +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 + +'Regresa el almacen actual de la base de datos. +Sub traeAlmacen As String 'ignore + Private c As Cursor + Private a As String + c = db.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + c.Position = 0 + a = C.GetString("ID_ALMACEN") + c.Close + Return a +End Sub + +'Regresa la ruta actual de la base de datos. +Sub traeRuta As String 'ignore + Private c As Cursor + Private r As String + c = db.ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)") + r = "0" + If c.RowCount > 0 Then + c.Position=0 + r = c.GetString("CAT_CL_RUTA") + End If + c.Close + Return r +End Sub + +''Mandamos los pedidos pendientes (pc_envio_ok <> 1). +'Sub mandaPendientes 'ignore +' Private logger As Boolean = False +' 'PEDIDO_CLIENTE (Pendientes) +' Private c As Cursor = db.ExecQuery("SELECT PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT, PC_COSTO_SIN, PC_RUTA, PC_ALMACEN, PC_FACTURA FROM PEDIDO_CLIENTE where pc_envio_ok <> 1") +' If logger Then Log($"Pedido_Cliente PENDIENTE: ${c.RowCount}"$) +' Private almacen As String = traeAlmacen +' Private ruta As String = traeRuta +' If c.RowCount>0 Then +' For i = 0 To c.RowCount - 1 +' c.Position = i +'' Dim cmd As DBCommand +'' cmd.Initialize +'' cmd.Name = "DELETE_PEDIDO_MARDS_PC" +'' cmd.Parameters = Array As Object(almacen, ruta, c.GetString("PC_CLIENTE") ) +'' reqManager.ExecuteCommand(cmd , "DEL_PC") +' +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_pedidos_IZCA" +' If logger Then Log($"${c.GetString("PC_CLIENTE")}, ${almacen}"$) +' cmd.Parameters = Array As Object(C.GetString("PC_CLIENTE"), C.GetString("PC_FECHA"), C.GetString("PC_USER"), C.GetString("PC_NOART"), C.GetString("PC_MONTO"), C.GetString("PC_LON"), C.GetString("PC_LAT"), almacen, ruta, C.GetString("PC_COSTO_SIN"), C.GetString("PC_FACTURA")) +' reqManager.ExecuteCommand(cmd , $"ins_pedidosPendientes_head_${c.GetString("PC_CLIENTE")}"$) +' Next +' End If +' +' 'PEDIDO (Pendientes) +' c=Starter.skmt.ExecQuery("SELECT PC_ENVIO_OK, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM pedido_cliente left join PEDIDO where pc_cliente = pe_cliente and pc_envio_ok <> 1") +' If logger Then Log($"Pedido 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 = "DELETE_PEDIDO_MARDS_PE" +'' cmd.Parameters = Array As Object(almacen, ruta,c.GetString("PE_CLIENTE") ) +'' reqManager.ExecuteCommand(cmd , "DEL_PE") +' +' cmd.Initialize +' cmd.Name = "insert_pedido2_IZCA" +' cmd.Parameters = Array As Object(c.GetString("PE_CEDIS"), almacen, 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_RUTA"), C.GetString("PE_COSTO_SIN"), c.GetString("PE_DESC"), c.GetString("PE_FOLIO")) +' reqManager.ExecuteCommand(cmd , $"ins_pedidosPendientes_prods_${c.GetString("PE_CLIENTE")}"$) +' Next +' End If +' +' 'ABONOS +' Dim ab As Cursor = db.ExecQuery($"SELECT * from ABONOS where a_enviado is null"$) +' If logger Then Log(ab.RowCount) +' If ab.RowCount > 0 Then +' For i = 0 To ab.RowCount - 1 +' ab.Position = i +' Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "insert_abono_IZCA" +' 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") ) +' reqManager.ExecuteCommand(cmd , $"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) +' If logger Then Log($"ins_abonosPendientes_${ab.GetString("a_cliente")}"$) +' Next +' End If +' ab.Close +'End Sub + +'Revisa si la aplicación tiene permiso para acceder a las notificaciones. +Sub CheckNotificationAccess As Boolean 'ignore + Dim ph As Phone + Dim nstr, pstr As String + Dim r As Reflector + pstr = r.GetStaticField("anywheresoftware.b4a.BA", "packageName") + nstr = ph.GetSettings("enabled_notification_listeners") + Return nstr.Contains(pstr) +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..1ccb039 --- /dev/null +++ b/B4A/C_TicketsDia.bas @@ -0,0 +1,165 @@ +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 + Private p_ticketsdia As Panel + + Dim c As Cursor + Dim S As Cursor + Dim ruta As String + Dim ListView1 As ListView + Dim b_noventa As Button + Dim nombre_boton As String + Dim STIME 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 + ruta = File.DirInternal + Root.LoadLayout("ticketsdia") + If File.Exists(ruta, "kmt.db") = False Then + File.Copy(File.DirAssets, "kmt.db", ruta, "kmt.db") + End If + c = B4XPages.MainPage.skmt.ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART FROM PEDIDO_CLIENTE ORDER BY PC_FECHA 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 = 13 + label2.TextColor = Colors.Blue + ListView1.AddTwoLines(c.GetString("PC_CLIENTE"),"Cantidad #"& c.GetString("PC_NOART")& " SubTotal $"& c.GetString("PC_MONTO")) + Next + 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 + nombre_boton = "NOVENTA" + c=B4XPages.MainPage.skmt.ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info where cat_cl_codigo = pc_cliente UNION select CAT_CL_NOMBRE from kmt_info2 where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc") + Dim noArticulos As Int = 0 + + ListView1.Clear + If c.RowCount>0 Then + For i=0 To c.RowCount -1 + c.Position=i + Dim x As Cursor = B4XPages.MainPage.skmt.ExecQuery($"select IFNULL(sum(IFNULL(PE_CANT,0)),0) as PC_NOART from PEDIDO where PE_CLIENTE = '${c.GetString("PC_CLIENTE")}' AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)"$) + If x.RowCount > 0 Then + x.Position = 0 +' Log(x.GetString("PC_NOART")) + noArticulos = x.GetString("PC_NOART") + End If + 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 = 13 + label2.TextColor = Colors.Blue + ListView1.AddTwoLines(c.GetString("PC_CLIENTE"),c.GetString("NOMBRE") &" Cantidad #"& noArticulos & " SubTotal $"& c.GetString("PC_MONTO")) + Next + End If + c.Close +End Sub + +Sub Regresar_Click + B4XPages.ShowPage("cliente") +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 +Sub ListView1_ItemLongClick (Position As Int, Value As Object) + B4XPages.MainPage.skmt.ExecNonQuery("delete from CUENTAA") + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)", Array As Object(Value)) + DateTime.TimeFormat = "HHmmss" + STIME=DateTime.Time(DateTime.Now) + Starter.pre_viejo = Subs.traeTotalClientepreventaparacredito + s=B4XPages.MainPage.skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)") + s.Position = 0 + If s.GetString("CUANTOS") = 1 Then + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)", Array As Object(STIME)) + Else + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)", Array As Object (Value)) + B4XPages.MainPage.skmt.ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)", Array As Object(STIME)) + End If + DateTime.TimeFormat = "HH:mm:ss" + Subs.guardaClienteHoraInicio(Value) + B4XPages.MainPage.cliente.venimosDeTicketsDia = True + B4XPages.ShowPage("cliente") +End Sub + +Sub b_noventa_Click + If nombre_boton = "NOVENTA" Then + nombre_boton = "VENTA" + b_noventa.Text ="VENTA" + c=B4XPages.MainPage.skmt.ExecQuery("select NV_CLIENTE,NV_MOTIVO,NV_COMM, (select CAT_CL_NOMBRE from kmt_info where cat_cl_codigo = NV_CLIENTE ) as NOMBRE 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 = 15 + 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"),c.GetString("NOMBRE") &" Motivo #"& c.GetString("NV_MOTIVO")& " Comentario $"& c.GetString("NV_COMM")) + Next + End If + Else + nombre_boton = "NOVENTA" + b_noventa.Text ="NO VENTA" + c=B4XPages.MainPage.skmt.ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA 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 = 15 + label1.TextColor = Colors.Black + Dim label2 As Label + label2 = ListView1.TwoLinesLayout.SecondLabel + label2.TextSize = 10 + label2.TextColor = Colors.Blue + ListView1.AddTwoLines(c.GetString("PC_CLIENTE"),c.GetString("NOMBRE") &" Cantidad #"& c.GetString("PC_NOART")& " SubTotal $"& c.GetString("PC_MONTO")) + Next + End If + c.Close + End If +End Sub + +Private Sub p_ticketsdia_Click + +End Sub \ No newline at end of file diff --git a/B4A/C_UpdateAvailable.bas b/B4A/C_UpdateAvailable.bas new file mode 100644 index 0000000..8bd6e51 --- /dev/null +++ b/B4A/C_UpdateAvailable.bas @@ -0,0 +1,73 @@ +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") + 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/DBRequestManager.bas b/B4A/DBRequestManager.bas new file mode 100644 index 0000000..eb19e28 --- /dev/null +++ b/B4A/DBRequestManager.bas @@ -0,0 +1,274 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=6.8 +@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 - 211109 + Dim reqsList As List +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 + reqsList.Initialize +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) + If reqsList.IsInitialized Then reqsList.Add(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) + If reqsList.IsInitialized Then reqsList.Add(Tag) + 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 'ignore + 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.RGB(171,70,0)) 'Mod por CHV - 211109 + jobTagAnterior = Job.Tag 'Mod por CHV - 211109 + 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 +' Log("HandleJob: " & (DateTime.Now - start))'Comentado por CHV - 211112 + 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..f0a9536 --- /dev/null +++ b/B4A/EscPosPrinter.bas @@ -0,0 +1,1158 @@ +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 diff --git a/B4A/FileHandler.bas b/B4A/FileHandler.bas new file mode 100644 index 0000000..4bf86e7 --- /dev/null +++ b/B4A/FileHandler.bas @@ -0,0 +1,163 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Class +Version=11 +@EndOfDesignText@ +'Requiere la librería "ContentResolver" +' +'Copiar este codigo al boton_Click que se quiere que importe la base de datos. +' +' Private Sub b_importarBD_Click +' Private FH As FileHandler +' FH.Initialize +' Wait For (FH.Load) Complete (Result As LoadResult) 'Abre un fileManager para seleccionar la base de datos a importar. +' File.Copy(Result.Dir, Result.FileName, File.DirInternal, "kmt.db") 'Copia la base de datos seleccionada al directorio interno. +' Starter.skmt.Initialize(Starter.ruta,"kmt.db", True) 'Reiniciliza la base de datos con la recien importada. +' ToastMessageShow("¡BD importada!", False) +' End Sub + +Sub Class_Globals + #if B4A + Private ion As Object + Private OldIntent As Intent + #end if + Type LoadResult (Success As Boolean, Dir As String, FileName As String, RealName As String, Size As Long, Modified As Long, MimeType As String) + +End Sub + +Public Sub Initialize + +End Sub + +#if B4A +Public Sub SaveAs (Source As InputStream, MimeType As String, Title As String) As ResumableSub + Dim intent As Intent + intent.Initialize("android.intent.action.CREATE_DOCUMENT", "") + intent.AddCategory("android.intent.category.OPENABLE") + intent.PutExtra("android.intent.extra.TITLE", Title) + intent.SetType(MimeType) + StartActivityForResult(intent) + Wait For ion_Event (MethodName As String, Args() As Object) + If -1 = Args(0) Then 'resultCode = RESULT_OK + Dim result As Intent = Args(1) + Dim jo As JavaObject = result + Dim ctxt As JavaObject + Dim out As OutputStream = ctxt.InitializeContext.RunMethodJO("getContentResolver", Null).RunMethod("openOutputStream", Array(jo.RunMethod("getData", Null))) + File.Copy2(Source, out) + out.Close + Return True + End If + Return False +End Sub + +Public Sub Load As ResumableSub + Dim cc As ContentChooser + cc.Initialize("cc") + cc.Show("application/octet-stream", "Choose text file") + Wait For CC_Result (Success As Boolean, Dir As String, FileName As String) + Log($"***************************${CRLF}${Dir}${CRLF} ${FileName}"$) + Dim res As LoadResult = CreateLoadResult(Success, Dir, FileName) + Log($"***************************${CRLF}${res.FileName}${CRLF} ${res}"$) + If res.Success Then ExtractInformationFromURI(res.FileName, res) + Return res +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(ion, i)) +End Sub + +Private Sub GetBA As Object + Return Me.As(JavaObject).RunMethod("getBA", Null) +End Sub + +Private Sub ExtractInformationFromURI (Uri As String, res As LoadResult) + Try + + Dim resolver As ContentResolver + resolver.Initialize("") + Dim u As Uri + u.Parse(Uri) + Dim rs As ResultSet = resolver.Query(u, Null, "", Null, "") + If rs.NextRow Then + Dim columns As B4XSet = B4XCollections.CreateSet + For i = 0 To rs.ColumnCount - 1 + columns.Add(rs.GetColumnName(i)) + Next + If columns.Contains("_display_name") Then res.RealName = rs.GetString("_display_name") + If columns.Contains("_size") Then res.Size = rs.GetLong("_size") + If columns.Contains("last_modified") Then res.Modified = rs.GetLong("last_modified") + If columns.Contains("mime_type") Then res.MimeType = rs.GetString("mime_type") + End If + rs.Close + + Catch + Log("error extracting information from file provider") + Log(LastException) + End Try +End Sub + +Public Sub CheckForReceivedFiles As LoadResult + Dim Activity As Activity = B4XPages.GetNativeParent(B4XPages.MainPage) + If IsRelevantIntent(Activity.GetStartingIntent) Then + Dim in As Intent = Activity.GetStartingIntent + Dim uri As String + If in.HasExtra("android.intent.extra.STREAM") Then + uri = in.As(JavaObject).RunMethod("getParcelableExtra", Array("android.intent.extra.STREAM")) + Else + uri = in.GetData + End If + Dim res As LoadResult = CreateLoadResult(True, "ContentDir", uri) + ExtractInformationFromURI(res.FileName, res) + Return res + End If + Return CreateLoadResult(False, "", "") +End Sub + +Private Sub IsRelevantIntent(in As Intent) As Boolean + If in.IsInitialized And in <> OldIntent And in.Action = in.ACTION_VIEW Then + OldIntent = in + Return True + End If + Return False +End Sub + +#else if B4i +Public Sub SaveAs(ParentPage As Object, AnchorView As Object, Text As String) As ResumableSub + Dim avc As ActivityViewController + avc.Initialize("avc", Array(Text)) + avc.Show(B4XPages.GetNativeParent(ParentPage), AnchorView) + Wait For avc_Complete (Success As Boolean, ActivityType As String) + Return Success +End Sub + +Public Sub Load (ParentPage As Object, AnchorView As Object) As ResumableSub + Dim DocumentPicker As DocumentPickerViewController + DocumentPicker.InitializeImport("picker", Array("public.text")) + DocumentPicker.Show(B4XPages.GetNativeParent(ParentPage), AnchorView) + Wait For Picker_Complete (Success As Boolean, URLs As List) + If Success And URLs.Size > 0 Then + Return UrlToLoadResult(URLs.Get(0)) + End If + Return CreateLoadResult(False, "", "") +End Sub + +Public Sub UrlToLoadResult(url As String) As LoadResult + Dim res As LoadResult = CreateLoadResult(IIf(File.Exists(url, ""), True, False), url, "") + res.RealName = res.Dir.SubString(res.Dir.LastIndexOf("/") + 1) + res.Size = File.Size(res.Dir, "") + Return res +End Sub +#end if + +Private Sub CreateLoadResult (Success As Boolean, Dir As String, FileName As String) As LoadResult + Dim t1 As LoadResult + t1.Initialize + t1.Success = Success + t1.Dir = Dir + t1.FileName = FileName + Return t1 +End Sub + diff --git a/B4A/Files/abordo.png b/B4A/Files/abordo.png new file mode 100644 index 0000000..a6b5911 Binary files /dev/null and b/B4A/Files/abordo.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_amarilla.png b/B4A/Files/alerta_amarilla.png new file mode 100644 index 0000000..4f4beac Binary files /dev/null and b/B4A/Files/alerta_amarilla.png differ diff --git a/B4A/Files/amigos.jpg b/B4A/Files/amigos.jpg new file mode 100644 index 0000000..e71536c Binary files /dev/null and b/B4A/Files/amigos.jpg differ diff --git a/B4A/Files/amigos21.jpg b/B4A/Files/amigos21.jpg new file mode 100644 index 0000000..2ed8649 Binary files /dev/null and b/B4A/Files/amigos21.jpg differ diff --git a/B4A/Files/anterior.jpg b/B4A/Files/anterior.jpg new file mode 100644 index 0000000..48e56e4 Binary files /dev/null and b/B4A/Files/anterior.jpg differ diff --git a/B4A/Files/bus-ar.png b/B4A/Files/bus-ar.png new file mode 100644 index 0000000..60678c7 Binary files /dev/null and b/B4A/Files/bus-ar.png differ diff --git a/B4A/Files/c_cuentasxcobrar.bal b/B4A/Files/c_cuentasxcobrar.bal new file mode 100644 index 0000000..4b3a70e Binary files /dev/null and b/B4A/Files/c_cuentasxcobrar.bal differ diff --git a/B4A/Files/carrito.png b/B4A/Files/carrito.png new file mode 100644 index 0000000..03889f6 Binary files /dev/null and b/B4A/Files/carrito.png differ diff --git a/B4A/Files/celltitle.bal b/B4A/Files/celltitle.bal new file mode 100644 index 0000000..17a1327 Binary files /dev/null and b/B4A/Files/celltitle.bal differ diff --git a/B4A/Files/cliente.bal b/B4A/Files/cliente.bal new file mode 100644 index 0000000..94c3ad6 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..85642cd Binary files /dev/null and b/B4A/Files/clientes.bal differ diff --git a/B4A/Files/cobranza.bal b/B4A/Files/cobranza.bal new file mode 100644 index 0000000..61a7da8 Binary files /dev/null and b/B4A/Files/cobranza.bal differ diff --git a/B4A/Files/datoscliente.bal b/B4A/Files/datoscliente.bal new file mode 100644 index 0000000..81e7a6e Binary files /dev/null and b/B4A/Files/datoscliente.bal differ diff --git a/B4A/Files/desvanecido.png b/B4A/Files/desvanecido.png new file mode 100644 index 0000000..2123110 Binary files /dev/null and b/B4A/Files/desvanecido.png differ diff --git a/B4A/Files/engrane.jpg b/B4A/Files/engrane.jpg new file mode 100644 index 0000000..66e5dc6 Binary files /dev/null and b/B4A/Files/engrane.jpg differ diff --git a/B4A/Files/engrane_gris.png b/B4A/Files/engrane_gris.png new file mode 100644 index 0000000..93d32d4 Binary files /dev/null and b/B4A/Files/engrane_gris.png 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/gps20.png b/B4A/Files/gps20.png new file mode 100644 index 0000000..23bea1a Binary files /dev/null and b/B4A/Files/gps20.png differ diff --git a/B4A/Files/hacer pedido.jpg b/B4A/Files/hacer pedido.jpg new file mode 100644 index 0000000..eee236f Binary files /dev/null and b/B4A/Files/hacer pedido.jpg differ diff --git a/B4A/Files/hacerpedido30.jpg b/B4A/Files/hacerpedido30.jpg new file mode 100644 index 0000000..b5412ad Binary files /dev/null and b/B4A/Files/hacerpedido30.jpg differ diff --git a/B4A/Files/hacerpedido30.png b/B4A/Files/hacerpedido30.png new file mode 100644 index 0000000..ebb13a0 Binary files /dev/null and b/B4A/Files/hacerpedido30.png differ diff --git a/B4A/Files/intmex_logo_192x192_old.jpg b/B4A/Files/intmex_logo_192x192_old.jpg new file mode 100644 index 0000000..8b31f85 Binary files /dev/null and b/B4A/Files/intmex_logo_192x192_old.jpg 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/kmt (1).db b/B4A/Files/kmt (1).db new file mode 100644 index 0000000..e8805c2 Binary files /dev/null and b/B4A/Files/kmt (1).db differ diff --git a/B4A/Files/kmt.db b/B4A/Files/kmt.db new file mode 100644 index 0000000..4930646 Binary files /dev/null and b/B4A/Files/kmt.db differ diff --git a/B4A/Files/login.bal b/B4A/Files/login.bal new file mode 100644 index 0000000..04233b7 Binary files /dev/null and b/B4A/Files/login.bal differ diff --git a/B4A/Files/logo_izca.jpg b/B4A/Files/logo_izca.jpg new file mode 100644 index 0000000..acb65de Binary files /dev/null and b/B4A/Files/logo_izca.jpg differ diff --git a/B4A/Files/logo_keymon.png b/B4A/Files/logo_keymon.png new file mode 100644 index 0000000..e798416 Binary files /dev/null and b/B4A/Files/logo_keymon.png differ diff --git a/B4A/Files/logo_mariana.jpeg b/B4A/Files/logo_mariana.jpeg new file mode 100644 index 0000000..0298a0b Binary files /dev/null and b/B4A/Files/logo_mariana.jpeg differ diff --git a/B4A/Files/logosamiizca.jpg b/B4A/Files/logosamiizca.jpg new file mode 100644 index 0000000..f1e6107 Binary files /dev/null and b/B4A/Files/logosamiizca.jpg differ diff --git a/B4A/Files/logosamiizca2.jpg b/B4A/Files/logosamiizca2.jpg new file mode 100644 index 0000000..6e1f8e4 Binary files /dev/null and b/B4A/Files/logosamiizca2.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_cliente.bal b/B4A/Files/mapa_cliente.bal new file mode 100644 index 0000000..50e2667 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..7b00c89 Binary files /dev/null and b/B4A/Files/mapa_rutas.bal differ diff --git a/B4A/Files/mariana_ico.png b/B4A/Files/mariana_ico.png new file mode 100644 index 0000000..c596453 Binary files /dev/null and b/B4A/Files/mariana_ico.png 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-amarillo.png b/B4A/Files/marker-amarillo.png new file mode 100644 index 0000000..fd9eb5b Binary files /dev/null and b/B4A/Files/marker-amarillo.png differ diff --git a/B4A/Files/marker-azul-0.png b/B4A/Files/marker-azul-0.png new file mode 100644 index 0000000..8560f70 Binary files /dev/null and b/B4A/Files/marker-azul-0.png differ diff --git a/B4A/Files/marker-azul-1.png b/B4A/Files/marker-azul-1.png new file mode 100644 index 0000000..2ef7fc8 Binary files /dev/null and b/B4A/Files/marker-azul-1.png differ diff --git a/B4A/Files/marker-azul-10.png b/B4A/Files/marker-azul-10.png new file mode 100644 index 0000000..4d0fd2c Binary files /dev/null and b/B4A/Files/marker-azul-10.png differ diff --git a/B4A/Files/marker-azul-100.png b/B4A/Files/marker-azul-100.png new file mode 100644 index 0000000..c406609 Binary files /dev/null and b/B4A/Files/marker-azul-100.png differ diff --git a/B4A/Files/marker-azul-101.png b/B4A/Files/marker-azul-101.png new file mode 100644 index 0000000..10b4518 Binary files /dev/null and b/B4A/Files/marker-azul-101.png differ diff --git a/B4A/Files/marker-azul-102.png b/B4A/Files/marker-azul-102.png new file mode 100644 index 0000000..cba642e Binary files /dev/null and b/B4A/Files/marker-azul-102.png differ diff --git a/B4A/Files/marker-azul-103.png b/B4A/Files/marker-azul-103.png new file mode 100644 index 0000000..fd5116f Binary files /dev/null and b/B4A/Files/marker-azul-103.png differ diff --git a/B4A/Files/marker-azul-104.png b/B4A/Files/marker-azul-104.png new file mode 100644 index 0000000..d0241f1 Binary files /dev/null and b/B4A/Files/marker-azul-104.png differ diff --git a/B4A/Files/marker-azul-105.png b/B4A/Files/marker-azul-105.png new file mode 100644 index 0000000..d915e5d Binary files /dev/null and b/B4A/Files/marker-azul-105.png differ diff --git a/B4A/Files/marker-azul-106.png b/B4A/Files/marker-azul-106.png new file mode 100644 index 0000000..f3da475 Binary files /dev/null and b/B4A/Files/marker-azul-106.png differ diff --git a/B4A/Files/marker-azul-107.png b/B4A/Files/marker-azul-107.png new file mode 100644 index 0000000..2e15e66 Binary files /dev/null and b/B4A/Files/marker-azul-107.png differ diff --git a/B4A/Files/marker-azul-108.png b/B4A/Files/marker-azul-108.png new file mode 100644 index 0000000..70d1eca Binary files /dev/null and b/B4A/Files/marker-azul-108.png differ diff --git a/B4A/Files/marker-azul-109.png b/B4A/Files/marker-azul-109.png new file mode 100644 index 0000000..645ee0b Binary files /dev/null and b/B4A/Files/marker-azul-109.png differ diff --git a/B4A/Files/marker-azul-11.png b/B4A/Files/marker-azul-11.png new file mode 100644 index 0000000..1c2c3a2 Binary files /dev/null and b/B4A/Files/marker-azul-11.png differ diff --git a/B4A/Files/marker-azul-110.png b/B4A/Files/marker-azul-110.png new file mode 100644 index 0000000..54bb1ee Binary files /dev/null and b/B4A/Files/marker-azul-110.png differ diff --git a/B4A/Files/marker-azul-111.png b/B4A/Files/marker-azul-111.png new file mode 100644 index 0000000..9e6d0ee Binary files /dev/null and b/B4A/Files/marker-azul-111.png differ diff --git a/B4A/Files/marker-azul-112.png b/B4A/Files/marker-azul-112.png new file mode 100644 index 0000000..8129946 Binary files /dev/null and b/B4A/Files/marker-azul-112.png differ diff --git a/B4A/Files/marker-azul-113.png b/B4A/Files/marker-azul-113.png new file mode 100644 index 0000000..8c1b478 Binary files /dev/null and b/B4A/Files/marker-azul-113.png differ diff --git a/B4A/Files/marker-azul-114.png b/B4A/Files/marker-azul-114.png new file mode 100644 index 0000000..8ac5fe0 Binary files /dev/null and b/B4A/Files/marker-azul-114.png differ diff --git a/B4A/Files/marker-azul-115.png b/B4A/Files/marker-azul-115.png new file mode 100644 index 0000000..a6a004b Binary files /dev/null and b/B4A/Files/marker-azul-115.png differ diff --git a/B4A/Files/marker-azul-116.png b/B4A/Files/marker-azul-116.png new file mode 100644 index 0000000..d7b4549 Binary files /dev/null and b/B4A/Files/marker-azul-116.png differ diff --git a/B4A/Files/marker-azul-117.png b/B4A/Files/marker-azul-117.png new file mode 100644 index 0000000..ee45975 Binary files /dev/null and b/B4A/Files/marker-azul-117.png differ diff --git a/B4A/Files/marker-azul-118.png b/B4A/Files/marker-azul-118.png new file mode 100644 index 0000000..1c75f62 Binary files /dev/null and b/B4A/Files/marker-azul-118.png differ diff --git a/B4A/Files/marker-azul-119.png b/B4A/Files/marker-azul-119.png new file mode 100644 index 0000000..ad1dcc1 Binary files /dev/null and b/B4A/Files/marker-azul-119.png differ diff --git a/B4A/Files/marker-azul-12.png b/B4A/Files/marker-azul-12.png new file mode 100644 index 0000000..7b6e148 Binary files /dev/null and b/B4A/Files/marker-azul-12.png differ diff --git a/B4A/Files/marker-azul-120.png b/B4A/Files/marker-azul-120.png new file mode 100644 index 0000000..cd3353a Binary files /dev/null and b/B4A/Files/marker-azul-120.png differ diff --git a/B4A/Files/marker-azul-121.png b/B4A/Files/marker-azul-121.png new file mode 100644 index 0000000..055d7be Binary files /dev/null and b/B4A/Files/marker-azul-121.png differ diff --git a/B4A/Files/marker-azul-122.png b/B4A/Files/marker-azul-122.png new file mode 100644 index 0000000..7a854f0 Binary files /dev/null and b/B4A/Files/marker-azul-122.png differ diff --git a/B4A/Files/marker-azul-123.png b/B4A/Files/marker-azul-123.png new file mode 100644 index 0000000..e212b0d Binary files /dev/null and b/B4A/Files/marker-azul-123.png differ diff --git a/B4A/Files/marker-azul-124.png b/B4A/Files/marker-azul-124.png new file mode 100644 index 0000000..ab035bb Binary files /dev/null and b/B4A/Files/marker-azul-124.png differ diff --git a/B4A/Files/marker-azul-125.png b/B4A/Files/marker-azul-125.png new file mode 100644 index 0000000..368c749 Binary files /dev/null and b/B4A/Files/marker-azul-125.png differ diff --git a/B4A/Files/marker-azul-126.png b/B4A/Files/marker-azul-126.png new file mode 100644 index 0000000..79f591c Binary files /dev/null and b/B4A/Files/marker-azul-126.png differ diff --git a/B4A/Files/marker-azul-127.png b/B4A/Files/marker-azul-127.png new file mode 100644 index 0000000..e6b1d0b Binary files /dev/null and b/B4A/Files/marker-azul-127.png differ diff --git a/B4A/Files/marker-azul-128.png b/B4A/Files/marker-azul-128.png new file mode 100644 index 0000000..7ae1512 Binary files /dev/null and b/B4A/Files/marker-azul-128.png differ diff --git a/B4A/Files/marker-azul-129.png b/B4A/Files/marker-azul-129.png new file mode 100644 index 0000000..e5055b0 Binary files /dev/null and b/B4A/Files/marker-azul-129.png differ diff --git a/B4A/Files/marker-azul-13.png b/B4A/Files/marker-azul-13.png new file mode 100644 index 0000000..693bd7c Binary files /dev/null and b/B4A/Files/marker-azul-13.png differ diff --git a/B4A/Files/marker-azul-130.png b/B4A/Files/marker-azul-130.png new file mode 100644 index 0000000..d00bc41 Binary files /dev/null and b/B4A/Files/marker-azul-130.png differ diff --git a/B4A/Files/marker-azul-131.png b/B4A/Files/marker-azul-131.png new file mode 100644 index 0000000..da6fc5c Binary files /dev/null and b/B4A/Files/marker-azul-131.png differ diff --git a/B4A/Files/marker-azul-132.png b/B4A/Files/marker-azul-132.png new file mode 100644 index 0000000..b58884b Binary files /dev/null and b/B4A/Files/marker-azul-132.png differ diff --git a/B4A/Files/marker-azul-133.png b/B4A/Files/marker-azul-133.png new file mode 100644 index 0000000..8255ae7 Binary files /dev/null and b/B4A/Files/marker-azul-133.png differ diff --git a/B4A/Files/marker-azul-134.png b/B4A/Files/marker-azul-134.png new file mode 100644 index 0000000..96ec85d Binary files /dev/null and b/B4A/Files/marker-azul-134.png differ diff --git a/B4A/Files/marker-azul-135.png b/B4A/Files/marker-azul-135.png new file mode 100644 index 0000000..4f4cf4f Binary files /dev/null and b/B4A/Files/marker-azul-135.png differ diff --git a/B4A/Files/marker-azul-136.png b/B4A/Files/marker-azul-136.png new file mode 100644 index 0000000..4f4cf4f Binary files /dev/null and b/B4A/Files/marker-azul-136.png differ diff --git a/B4A/Files/marker-azul-137.png b/B4A/Files/marker-azul-137.png new file mode 100644 index 0000000..f799d36 Binary files /dev/null and b/B4A/Files/marker-azul-137.png differ diff --git a/B4A/Files/marker-azul-138.png b/B4A/Files/marker-azul-138.png new file mode 100644 index 0000000..832d4f7 Binary files /dev/null and b/B4A/Files/marker-azul-138.png differ diff --git a/B4A/Files/marker-azul-139.png b/B4A/Files/marker-azul-139.png new file mode 100644 index 0000000..7767338 Binary files /dev/null and b/B4A/Files/marker-azul-139.png differ diff --git a/B4A/Files/marker-azul-14.png b/B4A/Files/marker-azul-14.png new file mode 100644 index 0000000..acebd22 Binary files /dev/null and b/B4A/Files/marker-azul-14.png differ diff --git a/B4A/Files/marker-azul-140.png b/B4A/Files/marker-azul-140.png new file mode 100644 index 0000000..e652c58 Binary files /dev/null and b/B4A/Files/marker-azul-140.png differ diff --git a/B4A/Files/marker-azul-141.png b/B4A/Files/marker-azul-141.png new file mode 100644 index 0000000..c4c6246 Binary files /dev/null and b/B4A/Files/marker-azul-141.png differ diff --git a/B4A/Files/marker-azul-142.png b/B4A/Files/marker-azul-142.png new file mode 100644 index 0000000..128d33f Binary files /dev/null and b/B4A/Files/marker-azul-142.png differ diff --git a/B4A/Files/marker-azul-143.png b/B4A/Files/marker-azul-143.png new file mode 100644 index 0000000..f369b0f Binary files /dev/null and b/B4A/Files/marker-azul-143.png differ diff --git a/B4A/Files/marker-azul-144.png b/B4A/Files/marker-azul-144.png new file mode 100644 index 0000000..16ed234 Binary files /dev/null and b/B4A/Files/marker-azul-144.png differ diff --git a/B4A/Files/marker-azul-145.png b/B4A/Files/marker-azul-145.png new file mode 100644 index 0000000..5c57553 Binary files /dev/null and b/B4A/Files/marker-azul-145.png differ diff --git a/B4A/Files/marker-azul-146.png b/B4A/Files/marker-azul-146.png new file mode 100644 index 0000000..c44af7c Binary files /dev/null and b/B4A/Files/marker-azul-146.png differ diff --git a/B4A/Files/marker-azul-147.png b/B4A/Files/marker-azul-147.png new file mode 100644 index 0000000..d71d816 Binary files /dev/null and b/B4A/Files/marker-azul-147.png differ diff --git a/B4A/Files/marker-azul-148.png b/B4A/Files/marker-azul-148.png new file mode 100644 index 0000000..45da0a7 Binary files /dev/null and b/B4A/Files/marker-azul-148.png differ diff --git a/B4A/Files/marker-azul-149.png b/B4A/Files/marker-azul-149.png new file mode 100644 index 0000000..0cfe147 Binary files /dev/null and b/B4A/Files/marker-azul-149.png differ diff --git a/B4A/Files/marker-azul-15.png b/B4A/Files/marker-azul-15.png new file mode 100644 index 0000000..8482547 Binary files /dev/null and b/B4A/Files/marker-azul-15.png differ diff --git a/B4A/Files/marker-azul-150.png b/B4A/Files/marker-azul-150.png new file mode 100644 index 0000000..5b4c665 Binary files /dev/null and b/B4A/Files/marker-azul-150.png differ diff --git a/B4A/Files/marker-azul-16.png b/B4A/Files/marker-azul-16.png new file mode 100644 index 0000000..3adc732 Binary files /dev/null and b/B4A/Files/marker-azul-16.png differ diff --git a/B4A/Files/marker-azul-17.png b/B4A/Files/marker-azul-17.png new file mode 100644 index 0000000..1f29874 Binary files /dev/null and b/B4A/Files/marker-azul-17.png differ diff --git a/B4A/Files/marker-azul-18.png b/B4A/Files/marker-azul-18.png new file mode 100644 index 0000000..509ee1f Binary files /dev/null and b/B4A/Files/marker-azul-18.png differ diff --git a/B4A/Files/marker-azul-19.png b/B4A/Files/marker-azul-19.png new file mode 100644 index 0000000..0fb18e7 Binary files /dev/null and b/B4A/Files/marker-azul-19.png differ diff --git a/B4A/Files/marker-azul-2.png b/B4A/Files/marker-azul-2.png new file mode 100644 index 0000000..bf3df74 Binary files /dev/null and b/B4A/Files/marker-azul-2.png differ diff --git a/B4A/Files/marker-azul-20.png b/B4A/Files/marker-azul-20.png new file mode 100644 index 0000000..b5f8526 Binary files /dev/null and b/B4A/Files/marker-azul-20.png differ diff --git a/B4A/Files/marker-azul-21.png b/B4A/Files/marker-azul-21.png new file mode 100644 index 0000000..5f7fe4f Binary files /dev/null and b/B4A/Files/marker-azul-21.png differ diff --git a/B4A/Files/marker-azul-22.png b/B4A/Files/marker-azul-22.png new file mode 100644 index 0000000..4ae74cb Binary files /dev/null and b/B4A/Files/marker-azul-22.png differ diff --git a/B4A/Files/marker-azul-23.png b/B4A/Files/marker-azul-23.png new file mode 100644 index 0000000..8bdead9 Binary files /dev/null and b/B4A/Files/marker-azul-23.png differ diff --git a/B4A/Files/marker-azul-24.png b/B4A/Files/marker-azul-24.png new file mode 100644 index 0000000..bada41e Binary files /dev/null and b/B4A/Files/marker-azul-24.png differ diff --git a/B4A/Files/marker-azul-25.png b/B4A/Files/marker-azul-25.png new file mode 100644 index 0000000..fbec553 Binary files /dev/null and b/B4A/Files/marker-azul-25.png differ diff --git a/B4A/Files/marker-azul-26.png b/B4A/Files/marker-azul-26.png new file mode 100644 index 0000000..73b017b Binary files /dev/null and b/B4A/Files/marker-azul-26.png differ diff --git a/B4A/Files/marker-azul-27.png b/B4A/Files/marker-azul-27.png new file mode 100644 index 0000000..0026278 Binary files /dev/null and b/B4A/Files/marker-azul-27.png differ diff --git a/B4A/Files/marker-azul-28.png b/B4A/Files/marker-azul-28.png new file mode 100644 index 0000000..bb56ac5 Binary files /dev/null and b/B4A/Files/marker-azul-28.png differ diff --git a/B4A/Files/marker-azul-29.png b/B4A/Files/marker-azul-29.png new file mode 100644 index 0000000..93aef08 Binary files /dev/null and b/B4A/Files/marker-azul-29.png differ diff --git a/B4A/Files/marker-azul-3.png b/B4A/Files/marker-azul-3.png new file mode 100644 index 0000000..2162489 Binary files /dev/null and b/B4A/Files/marker-azul-3.png differ diff --git a/B4A/Files/marker-azul-30.png b/B4A/Files/marker-azul-30.png new file mode 100644 index 0000000..dac177c Binary files /dev/null and b/B4A/Files/marker-azul-30.png differ diff --git a/B4A/Files/marker-azul-31.png b/B4A/Files/marker-azul-31.png new file mode 100644 index 0000000..c032098 Binary files /dev/null and b/B4A/Files/marker-azul-31.png differ diff --git a/B4A/Files/marker-azul-32.png b/B4A/Files/marker-azul-32.png new file mode 100644 index 0000000..3c27807 Binary files /dev/null and b/B4A/Files/marker-azul-32.png differ diff --git a/B4A/Files/marker-azul-33.png b/B4A/Files/marker-azul-33.png new file mode 100644 index 0000000..85f97bf Binary files /dev/null and b/B4A/Files/marker-azul-33.png differ diff --git a/B4A/Files/marker-azul-34.png b/B4A/Files/marker-azul-34.png new file mode 100644 index 0000000..fbd3895 Binary files /dev/null and b/B4A/Files/marker-azul-34.png differ diff --git a/B4A/Files/marker-azul-35.png b/B4A/Files/marker-azul-35.png new file mode 100644 index 0000000..3c81688 Binary files /dev/null and b/B4A/Files/marker-azul-35.png differ diff --git a/B4A/Files/marker-azul-36.png b/B4A/Files/marker-azul-36.png new file mode 100644 index 0000000..9192565 Binary files /dev/null and b/B4A/Files/marker-azul-36.png differ diff --git a/B4A/Files/marker-azul-37.png b/B4A/Files/marker-azul-37.png new file mode 100644 index 0000000..d798756 Binary files /dev/null and b/B4A/Files/marker-azul-37.png differ diff --git a/B4A/Files/marker-azul-38.png b/B4A/Files/marker-azul-38.png new file mode 100644 index 0000000..465e870 Binary files /dev/null and b/B4A/Files/marker-azul-38.png differ diff --git a/B4A/Files/marker-azul-39.png b/B4A/Files/marker-azul-39.png new file mode 100644 index 0000000..4119a7b Binary files /dev/null and b/B4A/Files/marker-azul-39.png differ diff --git a/B4A/Files/marker-azul-4.png b/B4A/Files/marker-azul-4.png new file mode 100644 index 0000000..fde106a Binary files /dev/null and b/B4A/Files/marker-azul-4.png differ diff --git a/B4A/Files/marker-azul-40.png b/B4A/Files/marker-azul-40.png new file mode 100644 index 0000000..ff48089 Binary files /dev/null and b/B4A/Files/marker-azul-40.png differ diff --git a/B4A/Files/marker-azul-41.png b/B4A/Files/marker-azul-41.png new file mode 100644 index 0000000..d9ec040 Binary files /dev/null and b/B4A/Files/marker-azul-41.png differ diff --git a/B4A/Files/marker-azul-42.png b/B4A/Files/marker-azul-42.png new file mode 100644 index 0000000..69d2f08 Binary files /dev/null and b/B4A/Files/marker-azul-42.png differ diff --git a/B4A/Files/marker-azul-43.png b/B4A/Files/marker-azul-43.png new file mode 100644 index 0000000..801d552 Binary files /dev/null and b/B4A/Files/marker-azul-43.png differ diff --git a/B4A/Files/marker-azul-44.png b/B4A/Files/marker-azul-44.png new file mode 100644 index 0000000..e00f894 Binary files /dev/null and b/B4A/Files/marker-azul-44.png differ diff --git a/B4A/Files/marker-azul-45.png b/B4A/Files/marker-azul-45.png new file mode 100644 index 0000000..9826f40 Binary files /dev/null and b/B4A/Files/marker-azul-45.png differ diff --git a/B4A/Files/marker-azul-46.png b/B4A/Files/marker-azul-46.png new file mode 100644 index 0000000..b445466 Binary files /dev/null and b/B4A/Files/marker-azul-46.png differ diff --git a/B4A/Files/marker-azul-47.png b/B4A/Files/marker-azul-47.png new file mode 100644 index 0000000..6f80d24 Binary files /dev/null and b/B4A/Files/marker-azul-47.png differ diff --git a/B4A/Files/marker-azul-48.png b/B4A/Files/marker-azul-48.png new file mode 100644 index 0000000..a70dfdc Binary files /dev/null and b/B4A/Files/marker-azul-48.png differ diff --git a/B4A/Files/marker-azul-49.png b/B4A/Files/marker-azul-49.png new file mode 100644 index 0000000..f2a9bf0 Binary files /dev/null and b/B4A/Files/marker-azul-49.png differ diff --git a/B4A/Files/marker-azul-5.png b/B4A/Files/marker-azul-5.png new file mode 100644 index 0000000..e95e584 Binary files /dev/null and b/B4A/Files/marker-azul-5.png differ diff --git a/B4A/Files/marker-azul-50.png b/B4A/Files/marker-azul-50.png new file mode 100644 index 0000000..4d551be Binary files /dev/null and b/B4A/Files/marker-azul-50.png differ diff --git a/B4A/Files/marker-azul-51.png b/B4A/Files/marker-azul-51.png new file mode 100644 index 0000000..42eb752 Binary files /dev/null and b/B4A/Files/marker-azul-51.png differ diff --git a/B4A/Files/marker-azul-52.png b/B4A/Files/marker-azul-52.png new file mode 100644 index 0000000..b70dcf0 Binary files /dev/null and b/B4A/Files/marker-azul-52.png differ diff --git a/B4A/Files/marker-azul-53.png b/B4A/Files/marker-azul-53.png new file mode 100644 index 0000000..60a9eac Binary files /dev/null and b/B4A/Files/marker-azul-53.png differ diff --git a/B4A/Files/marker-azul-54.png b/B4A/Files/marker-azul-54.png new file mode 100644 index 0000000..31ac0b4 Binary files /dev/null and b/B4A/Files/marker-azul-54.png differ diff --git a/B4A/Files/marker-azul-55.png b/B4A/Files/marker-azul-55.png new file mode 100644 index 0000000..3b7e061 Binary files /dev/null and b/B4A/Files/marker-azul-55.png differ diff --git a/B4A/Files/marker-azul-56.png b/B4A/Files/marker-azul-56.png new file mode 100644 index 0000000..0898310 Binary files /dev/null and b/B4A/Files/marker-azul-56.png differ diff --git a/B4A/Files/marker-azul-57.png b/B4A/Files/marker-azul-57.png new file mode 100644 index 0000000..738bfaf Binary files /dev/null and b/B4A/Files/marker-azul-57.png differ diff --git a/B4A/Files/marker-azul-58.png b/B4A/Files/marker-azul-58.png new file mode 100644 index 0000000..108bd24 Binary files /dev/null and b/B4A/Files/marker-azul-58.png differ diff --git a/B4A/Files/marker-azul-59.png b/B4A/Files/marker-azul-59.png new file mode 100644 index 0000000..abb27b5 Binary files /dev/null and b/B4A/Files/marker-azul-59.png differ diff --git a/B4A/Files/marker-azul-6.png b/B4A/Files/marker-azul-6.png new file mode 100644 index 0000000..9300e54 Binary files /dev/null and b/B4A/Files/marker-azul-6.png differ diff --git a/B4A/Files/marker-azul-60.png b/B4A/Files/marker-azul-60.png new file mode 100644 index 0000000..ff26b31 Binary files /dev/null and b/B4A/Files/marker-azul-60.png differ diff --git a/B4A/Files/marker-azul-61.png b/B4A/Files/marker-azul-61.png new file mode 100644 index 0000000..31acf81 Binary files /dev/null and b/B4A/Files/marker-azul-61.png differ diff --git a/B4A/Files/marker-azul-62.png b/B4A/Files/marker-azul-62.png new file mode 100644 index 0000000..8a4a90e Binary files /dev/null and b/B4A/Files/marker-azul-62.png differ diff --git a/B4A/Files/marker-azul-63.png b/B4A/Files/marker-azul-63.png new file mode 100644 index 0000000..9ba5051 Binary files /dev/null and b/B4A/Files/marker-azul-63.png differ diff --git a/B4A/Files/marker-azul-64.png b/B4A/Files/marker-azul-64.png new file mode 100644 index 0000000..d458e02 Binary files /dev/null and b/B4A/Files/marker-azul-64.png differ diff --git a/B4A/Files/marker-azul-65.png b/B4A/Files/marker-azul-65.png new file mode 100644 index 0000000..4ba4da8 Binary files /dev/null and b/B4A/Files/marker-azul-65.png differ diff --git a/B4A/Files/marker-azul-66.png b/B4A/Files/marker-azul-66.png new file mode 100644 index 0000000..92c7472 Binary files /dev/null and b/B4A/Files/marker-azul-66.png differ diff --git a/B4A/Files/marker-azul-67.png b/B4A/Files/marker-azul-67.png new file mode 100644 index 0000000..ed5fdcc Binary files /dev/null and b/B4A/Files/marker-azul-67.png differ diff --git a/B4A/Files/marker-azul-68.png b/B4A/Files/marker-azul-68.png new file mode 100644 index 0000000..b0c1e6d Binary files /dev/null and b/B4A/Files/marker-azul-68.png differ diff --git a/B4A/Files/marker-azul-69.png b/B4A/Files/marker-azul-69.png new file mode 100644 index 0000000..315109a Binary files /dev/null and b/B4A/Files/marker-azul-69.png differ diff --git a/B4A/Files/marker-azul-7.png b/B4A/Files/marker-azul-7.png new file mode 100644 index 0000000..1ad901c Binary files /dev/null and b/B4A/Files/marker-azul-7.png differ diff --git a/B4A/Files/marker-azul-70.png b/B4A/Files/marker-azul-70.png new file mode 100644 index 0000000..3c9a519 Binary files /dev/null and b/B4A/Files/marker-azul-70.png differ diff --git a/B4A/Files/marker-azul-71.png b/B4A/Files/marker-azul-71.png new file mode 100644 index 0000000..31cf9e2 Binary files /dev/null and b/B4A/Files/marker-azul-71.png differ diff --git a/B4A/Files/marker-azul-72.png b/B4A/Files/marker-azul-72.png new file mode 100644 index 0000000..8bdcfbd Binary files /dev/null and b/B4A/Files/marker-azul-72.png differ diff --git a/B4A/Files/marker-azul-73.png b/B4A/Files/marker-azul-73.png new file mode 100644 index 0000000..2ed9b12 Binary files /dev/null and b/B4A/Files/marker-azul-73.png differ diff --git a/B4A/Files/marker-azul-74.png b/B4A/Files/marker-azul-74.png new file mode 100644 index 0000000..f160e64 Binary files /dev/null and b/B4A/Files/marker-azul-74.png differ diff --git a/B4A/Files/marker-azul-75.png b/B4A/Files/marker-azul-75.png new file mode 100644 index 0000000..6b0b8d4 Binary files /dev/null and b/B4A/Files/marker-azul-75.png differ diff --git a/B4A/Files/marker-azul-76.png b/B4A/Files/marker-azul-76.png new file mode 100644 index 0000000..9854364 Binary files /dev/null and b/B4A/Files/marker-azul-76.png differ diff --git a/B4A/Files/marker-azul-77.png b/B4A/Files/marker-azul-77.png new file mode 100644 index 0000000..f31e818 Binary files /dev/null and b/B4A/Files/marker-azul-77.png differ diff --git a/B4A/Files/marker-azul-78.png b/B4A/Files/marker-azul-78.png new file mode 100644 index 0000000..912cb94 Binary files /dev/null and b/B4A/Files/marker-azul-78.png differ diff --git a/B4A/Files/marker-azul-79.png b/B4A/Files/marker-azul-79.png new file mode 100644 index 0000000..3e0d3be Binary files /dev/null and b/B4A/Files/marker-azul-79.png differ diff --git a/B4A/Files/marker-azul-8.png b/B4A/Files/marker-azul-8.png new file mode 100644 index 0000000..6e7471f Binary files /dev/null and b/B4A/Files/marker-azul-8.png differ diff --git a/B4A/Files/marker-azul-80.png b/B4A/Files/marker-azul-80.png new file mode 100644 index 0000000..c926099 Binary files /dev/null and b/B4A/Files/marker-azul-80.png differ diff --git a/B4A/Files/marker-azul-81.png b/B4A/Files/marker-azul-81.png new file mode 100644 index 0000000..170dc2b Binary files /dev/null and b/B4A/Files/marker-azul-81.png differ diff --git a/B4A/Files/marker-azul-82.png b/B4A/Files/marker-azul-82.png new file mode 100644 index 0000000..b4783e6 Binary files /dev/null and b/B4A/Files/marker-azul-82.png differ diff --git a/B4A/Files/marker-azul-83.png b/B4A/Files/marker-azul-83.png new file mode 100644 index 0000000..525c979 Binary files /dev/null and b/B4A/Files/marker-azul-83.png differ diff --git a/B4A/Files/marker-azul-84.png b/B4A/Files/marker-azul-84.png new file mode 100644 index 0000000..bf18fd8 Binary files /dev/null and b/B4A/Files/marker-azul-84.png differ diff --git a/B4A/Files/marker-azul-85.png b/B4A/Files/marker-azul-85.png new file mode 100644 index 0000000..6a0b8d9 Binary files /dev/null and b/B4A/Files/marker-azul-85.png differ diff --git a/B4A/Files/marker-azul-86.png b/B4A/Files/marker-azul-86.png new file mode 100644 index 0000000..598bbdb Binary files /dev/null and b/B4A/Files/marker-azul-86.png differ diff --git a/B4A/Files/marker-azul-87.png b/B4A/Files/marker-azul-87.png new file mode 100644 index 0000000..9152779 Binary files /dev/null and b/B4A/Files/marker-azul-87.png differ diff --git a/B4A/Files/marker-azul-88.png b/B4A/Files/marker-azul-88.png new file mode 100644 index 0000000..d14bf47 Binary files /dev/null and b/B4A/Files/marker-azul-88.png differ diff --git a/B4A/Files/marker-azul-89.png b/B4A/Files/marker-azul-89.png new file mode 100644 index 0000000..f8cfd83 Binary files /dev/null and b/B4A/Files/marker-azul-89.png differ diff --git a/B4A/Files/marker-azul-9.png b/B4A/Files/marker-azul-9.png new file mode 100644 index 0000000..75d48ea Binary files /dev/null and b/B4A/Files/marker-azul-9.png differ diff --git a/B4A/Files/marker-azul-90.png b/B4A/Files/marker-azul-90.png new file mode 100644 index 0000000..11d6b83 Binary files /dev/null and b/B4A/Files/marker-azul-90.png differ diff --git a/B4A/Files/marker-azul-91.png b/B4A/Files/marker-azul-91.png new file mode 100644 index 0000000..9cc8ff9 Binary files /dev/null and b/B4A/Files/marker-azul-91.png differ diff --git a/B4A/Files/marker-azul-92.png b/B4A/Files/marker-azul-92.png new file mode 100644 index 0000000..182cd4d Binary files /dev/null and b/B4A/Files/marker-azul-92.png differ diff --git a/B4A/Files/marker-azul-93.png b/B4A/Files/marker-azul-93.png new file mode 100644 index 0000000..42a03c0 Binary files /dev/null and b/B4A/Files/marker-azul-93.png differ diff --git a/B4A/Files/marker-azul-94.png b/B4A/Files/marker-azul-94.png new file mode 100644 index 0000000..936003d Binary files /dev/null and b/B4A/Files/marker-azul-94.png differ diff --git a/B4A/Files/marker-azul-95.png b/B4A/Files/marker-azul-95.png new file mode 100644 index 0000000..501bd85 Binary files /dev/null and b/B4A/Files/marker-azul-95.png differ diff --git a/B4A/Files/marker-azul-96.png b/B4A/Files/marker-azul-96.png new file mode 100644 index 0000000..6ac75b9 Binary files /dev/null and b/B4A/Files/marker-azul-96.png differ diff --git a/B4A/Files/marker-azul-97.png b/B4A/Files/marker-azul-97.png new file mode 100644 index 0000000..7f04854 Binary files /dev/null and b/B4A/Files/marker-azul-97.png differ diff --git a/B4A/Files/marker-azul-98.png b/B4A/Files/marker-azul-98.png new file mode 100644 index 0000000..96ac429 Binary files /dev/null and b/B4A/Files/marker-azul-98.png differ diff --git a/B4A/Files/marker-azul-99.png b/B4A/Files/marker-azul-99.png new file mode 100644 index 0000000..e2eee84 Binary files /dev/null and b/B4A/Files/marker-azul-99.png differ diff --git a/B4A/Files/marker-rojo-0.png b/B4A/Files/marker-rojo-0.png new file mode 100644 index 0000000..a53150b Binary files /dev/null and b/B4A/Files/marker-rojo-0.png differ diff --git a/B4A/Files/marker-rojo-1.png b/B4A/Files/marker-rojo-1.png new file mode 100644 index 0000000..9d3cb93 Binary files /dev/null and b/B4A/Files/marker-rojo-1.png differ diff --git a/B4A/Files/marker-rojo-10.png b/B4A/Files/marker-rojo-10.png new file mode 100644 index 0000000..dfd1035 Binary files /dev/null and b/B4A/Files/marker-rojo-10.png differ diff --git a/B4A/Files/marker-rojo-100.png b/B4A/Files/marker-rojo-100.png new file mode 100644 index 0000000..1483bb1 Binary files /dev/null and b/B4A/Files/marker-rojo-100.png differ diff --git a/B4A/Files/marker-rojo-101.png b/B4A/Files/marker-rojo-101.png new file mode 100644 index 0000000..3a3ad55 Binary files /dev/null and b/B4A/Files/marker-rojo-101.png differ diff --git a/B4A/Files/marker-rojo-102.png b/B4A/Files/marker-rojo-102.png new file mode 100644 index 0000000..a1a0df3 Binary files /dev/null and b/B4A/Files/marker-rojo-102.png differ diff --git a/B4A/Files/marker-rojo-103.png b/B4A/Files/marker-rojo-103.png new file mode 100644 index 0000000..930ff88 Binary files /dev/null and b/B4A/Files/marker-rojo-103.png differ diff --git a/B4A/Files/marker-rojo-104.png b/B4A/Files/marker-rojo-104.png new file mode 100644 index 0000000..00046fb Binary files /dev/null and b/B4A/Files/marker-rojo-104.png differ diff --git a/B4A/Files/marker-rojo-105.png b/B4A/Files/marker-rojo-105.png new file mode 100644 index 0000000..759b910 Binary files /dev/null and b/B4A/Files/marker-rojo-105.png differ diff --git a/B4A/Files/marker-rojo-106.png b/B4A/Files/marker-rojo-106.png new file mode 100644 index 0000000..bbab2fc Binary files /dev/null and b/B4A/Files/marker-rojo-106.png differ diff --git a/B4A/Files/marker-rojo-107.png b/B4A/Files/marker-rojo-107.png new file mode 100644 index 0000000..400d221 Binary files /dev/null and b/B4A/Files/marker-rojo-107.png differ diff --git a/B4A/Files/marker-rojo-108.png b/B4A/Files/marker-rojo-108.png new file mode 100644 index 0000000..7872cbb Binary files /dev/null and b/B4A/Files/marker-rojo-108.png differ diff --git a/B4A/Files/marker-rojo-109.png b/B4A/Files/marker-rojo-109.png new file mode 100644 index 0000000..55b2a2c Binary files /dev/null and b/B4A/Files/marker-rojo-109.png differ diff --git a/B4A/Files/marker-rojo-11.png b/B4A/Files/marker-rojo-11.png new file mode 100644 index 0000000..f03381a Binary files /dev/null and b/B4A/Files/marker-rojo-11.png differ diff --git a/B4A/Files/marker-rojo-110.png b/B4A/Files/marker-rojo-110.png new file mode 100644 index 0000000..16f40cf Binary files /dev/null and b/B4A/Files/marker-rojo-110.png differ diff --git a/B4A/Files/marker-rojo-111.png b/B4A/Files/marker-rojo-111.png new file mode 100644 index 0000000..1c1f071 Binary files /dev/null and b/B4A/Files/marker-rojo-111.png differ diff --git a/B4A/Files/marker-rojo-112.png b/B4A/Files/marker-rojo-112.png new file mode 100644 index 0000000..cfcb77d Binary files /dev/null and b/B4A/Files/marker-rojo-112.png differ diff --git a/B4A/Files/marker-rojo-113.png b/B4A/Files/marker-rojo-113.png new file mode 100644 index 0000000..a23038c Binary files /dev/null and b/B4A/Files/marker-rojo-113.png differ diff --git a/B4A/Files/marker-rojo-114.png b/B4A/Files/marker-rojo-114.png new file mode 100644 index 0000000..38b9499 Binary files /dev/null and b/B4A/Files/marker-rojo-114.png differ diff --git a/B4A/Files/marker-rojo-115.png b/B4A/Files/marker-rojo-115.png new file mode 100644 index 0000000..1994390 Binary files /dev/null and b/B4A/Files/marker-rojo-115.png differ diff --git a/B4A/Files/marker-rojo-116.png b/B4A/Files/marker-rojo-116.png new file mode 100644 index 0000000..d6eb29f Binary files /dev/null and b/B4A/Files/marker-rojo-116.png differ diff --git a/B4A/Files/marker-rojo-117.png b/B4A/Files/marker-rojo-117.png new file mode 100644 index 0000000..69f411c Binary files /dev/null and b/B4A/Files/marker-rojo-117.png differ diff --git a/B4A/Files/marker-rojo-118.png b/B4A/Files/marker-rojo-118.png new file mode 100644 index 0000000..331d474 Binary files /dev/null and b/B4A/Files/marker-rojo-118.png differ diff --git a/B4A/Files/marker-rojo-119.png b/B4A/Files/marker-rojo-119.png new file mode 100644 index 0000000..dc2f657 Binary files /dev/null and b/B4A/Files/marker-rojo-119.png differ diff --git a/B4A/Files/marker-rojo-12.png b/B4A/Files/marker-rojo-12.png new file mode 100644 index 0000000..c2e93b7 Binary files /dev/null and b/B4A/Files/marker-rojo-12.png differ diff --git a/B4A/Files/marker-rojo-120.png b/B4A/Files/marker-rojo-120.png new file mode 100644 index 0000000..819446f Binary files /dev/null and b/B4A/Files/marker-rojo-120.png differ diff --git a/B4A/Files/marker-rojo-121.png b/B4A/Files/marker-rojo-121.png new file mode 100644 index 0000000..63ac374 Binary files /dev/null and b/B4A/Files/marker-rojo-121.png differ diff --git a/B4A/Files/marker-rojo-122.png b/B4A/Files/marker-rojo-122.png new file mode 100644 index 0000000..ce8e273 Binary files /dev/null and b/B4A/Files/marker-rojo-122.png differ diff --git a/B4A/Files/marker-rojo-123.png b/B4A/Files/marker-rojo-123.png new file mode 100644 index 0000000..bb0b0ef Binary files /dev/null and b/B4A/Files/marker-rojo-123.png differ diff --git a/B4A/Files/marker-rojo-124.png b/B4A/Files/marker-rojo-124.png new file mode 100644 index 0000000..08d2c30 Binary files /dev/null and b/B4A/Files/marker-rojo-124.png differ diff --git a/B4A/Files/marker-rojo-125.png b/B4A/Files/marker-rojo-125.png new file mode 100644 index 0000000..b6111cf Binary files /dev/null and b/B4A/Files/marker-rojo-125.png differ diff --git a/B4A/Files/marker-rojo-126.png b/B4A/Files/marker-rojo-126.png new file mode 100644 index 0000000..bd20aea Binary files /dev/null and b/B4A/Files/marker-rojo-126.png differ diff --git a/B4A/Files/marker-rojo-127.png b/B4A/Files/marker-rojo-127.png new file mode 100644 index 0000000..4239ab0 Binary files /dev/null and b/B4A/Files/marker-rojo-127.png differ diff --git a/B4A/Files/marker-rojo-128.png b/B4A/Files/marker-rojo-128.png new file mode 100644 index 0000000..9efc95c Binary files /dev/null and b/B4A/Files/marker-rojo-128.png differ diff --git a/B4A/Files/marker-rojo-129.png b/B4A/Files/marker-rojo-129.png new file mode 100644 index 0000000..68975d0 Binary files /dev/null and b/B4A/Files/marker-rojo-129.png differ diff --git a/B4A/Files/marker-rojo-13.png b/B4A/Files/marker-rojo-13.png new file mode 100644 index 0000000..22b88d9 Binary files /dev/null and b/B4A/Files/marker-rojo-13.png differ diff --git a/B4A/Files/marker-rojo-130.png b/B4A/Files/marker-rojo-130.png new file mode 100644 index 0000000..c839d69 Binary files /dev/null and b/B4A/Files/marker-rojo-130.png differ diff --git a/B4A/Files/marker-rojo-131.png b/B4A/Files/marker-rojo-131.png new file mode 100644 index 0000000..2007bec Binary files /dev/null and b/B4A/Files/marker-rojo-131.png differ diff --git a/B4A/Files/marker-rojo-132.png b/B4A/Files/marker-rojo-132.png new file mode 100644 index 0000000..dbf7380 Binary files /dev/null and b/B4A/Files/marker-rojo-132.png differ diff --git a/B4A/Files/marker-rojo-133.png b/B4A/Files/marker-rojo-133.png new file mode 100644 index 0000000..6d6af59 Binary files /dev/null and b/B4A/Files/marker-rojo-133.png differ diff --git a/B4A/Files/marker-rojo-134.png b/B4A/Files/marker-rojo-134.png new file mode 100644 index 0000000..a8c0bcc Binary files /dev/null and b/B4A/Files/marker-rojo-134.png differ diff --git a/B4A/Files/marker-rojo-135.png b/B4A/Files/marker-rojo-135.png new file mode 100644 index 0000000..40fadf0 Binary files /dev/null and b/B4A/Files/marker-rojo-135.png differ diff --git a/B4A/Files/marker-rojo-136.png b/B4A/Files/marker-rojo-136.png new file mode 100644 index 0000000..141caa5 Binary files /dev/null and b/B4A/Files/marker-rojo-136.png differ diff --git a/B4A/Files/marker-rojo-137.png b/B4A/Files/marker-rojo-137.png new file mode 100644 index 0000000..38408c8 Binary files /dev/null and b/B4A/Files/marker-rojo-137.png differ diff --git a/B4A/Files/marker-rojo-138.png b/B4A/Files/marker-rojo-138.png new file mode 100644 index 0000000..b340b33 Binary files /dev/null and b/B4A/Files/marker-rojo-138.png differ diff --git a/B4A/Files/marker-rojo-139.png b/B4A/Files/marker-rojo-139.png new file mode 100644 index 0000000..970b17d Binary files /dev/null and b/B4A/Files/marker-rojo-139.png differ diff --git a/B4A/Files/marker-rojo-14.png b/B4A/Files/marker-rojo-14.png new file mode 100644 index 0000000..53c04c4 Binary files /dev/null and b/B4A/Files/marker-rojo-14.png differ diff --git a/B4A/Files/marker-rojo-140.png b/B4A/Files/marker-rojo-140.png new file mode 100644 index 0000000..94658e1 Binary files /dev/null and b/B4A/Files/marker-rojo-140.png differ diff --git a/B4A/Files/marker-rojo-141.png b/B4A/Files/marker-rojo-141.png new file mode 100644 index 0000000..69596a0 Binary files /dev/null and b/B4A/Files/marker-rojo-141.png differ diff --git a/B4A/Files/marker-rojo-142.png b/B4A/Files/marker-rojo-142.png new file mode 100644 index 0000000..b0ac536 Binary files /dev/null and b/B4A/Files/marker-rojo-142.png differ diff --git a/B4A/Files/marker-rojo-143.png b/B4A/Files/marker-rojo-143.png new file mode 100644 index 0000000..0f7e02f Binary files /dev/null and b/B4A/Files/marker-rojo-143.png differ diff --git a/B4A/Files/marker-rojo-144.png b/B4A/Files/marker-rojo-144.png new file mode 100644 index 0000000..9b56466 Binary files /dev/null and b/B4A/Files/marker-rojo-144.png differ diff --git a/B4A/Files/marker-rojo-145.png b/B4A/Files/marker-rojo-145.png new file mode 100644 index 0000000..18689b7 Binary files /dev/null and b/B4A/Files/marker-rojo-145.png differ diff --git a/B4A/Files/marker-rojo-146.png b/B4A/Files/marker-rojo-146.png new file mode 100644 index 0000000..967d599 Binary files /dev/null and b/B4A/Files/marker-rojo-146.png differ diff --git a/B4A/Files/marker-rojo-147.png b/B4A/Files/marker-rojo-147.png new file mode 100644 index 0000000..183ede7 Binary files /dev/null and b/B4A/Files/marker-rojo-147.png differ diff --git a/B4A/Files/marker-rojo-148.png b/B4A/Files/marker-rojo-148.png new file mode 100644 index 0000000..4e6cdd6 Binary files /dev/null and b/B4A/Files/marker-rojo-148.png differ diff --git a/B4A/Files/marker-rojo-149.png b/B4A/Files/marker-rojo-149.png new file mode 100644 index 0000000..79d8540 Binary files /dev/null and b/B4A/Files/marker-rojo-149.png differ diff --git a/B4A/Files/marker-rojo-15.png b/B4A/Files/marker-rojo-15.png new file mode 100644 index 0000000..ae5942d Binary files /dev/null and b/B4A/Files/marker-rojo-15.png differ diff --git a/B4A/Files/marker-rojo-150.png b/B4A/Files/marker-rojo-150.png new file mode 100644 index 0000000..4e327ae Binary files /dev/null and b/B4A/Files/marker-rojo-150.png differ diff --git a/B4A/Files/marker-rojo-16.png b/B4A/Files/marker-rojo-16.png new file mode 100644 index 0000000..af90495 Binary files /dev/null and b/B4A/Files/marker-rojo-16.png differ diff --git a/B4A/Files/marker-rojo-17.png b/B4A/Files/marker-rojo-17.png new file mode 100644 index 0000000..35be6d0 Binary files /dev/null and b/B4A/Files/marker-rojo-17.png differ diff --git a/B4A/Files/marker-rojo-18.png b/B4A/Files/marker-rojo-18.png new file mode 100644 index 0000000..6549c3c Binary files /dev/null and b/B4A/Files/marker-rojo-18.png differ diff --git a/B4A/Files/marker-rojo-19.png b/B4A/Files/marker-rojo-19.png new file mode 100644 index 0000000..2d62ac4 Binary files /dev/null and b/B4A/Files/marker-rojo-19.png differ diff --git a/B4A/Files/marker-rojo-2.png b/B4A/Files/marker-rojo-2.png new file mode 100644 index 0000000..9292404 Binary files /dev/null and b/B4A/Files/marker-rojo-2.png differ diff --git a/B4A/Files/marker-rojo-20.png b/B4A/Files/marker-rojo-20.png new file mode 100644 index 0000000..6554032 Binary files /dev/null and b/B4A/Files/marker-rojo-20.png differ diff --git a/B4A/Files/marker-rojo-21.png b/B4A/Files/marker-rojo-21.png new file mode 100644 index 0000000..cb7ba4f Binary files /dev/null and b/B4A/Files/marker-rojo-21.png differ diff --git a/B4A/Files/marker-rojo-22.png b/B4A/Files/marker-rojo-22.png new file mode 100644 index 0000000..73c4a6a Binary files /dev/null and b/B4A/Files/marker-rojo-22.png differ diff --git a/B4A/Files/marker-rojo-23.png b/B4A/Files/marker-rojo-23.png new file mode 100644 index 0000000..05e36d8 Binary files /dev/null and b/B4A/Files/marker-rojo-23.png differ diff --git a/B4A/Files/marker-rojo-24.png b/B4A/Files/marker-rojo-24.png new file mode 100644 index 0000000..efceca3 Binary files /dev/null and b/B4A/Files/marker-rojo-24.png differ diff --git a/B4A/Files/marker-rojo-25.png b/B4A/Files/marker-rojo-25.png new file mode 100644 index 0000000..8985ac0 Binary files /dev/null and b/B4A/Files/marker-rojo-25.png differ diff --git a/B4A/Files/marker-rojo-26.png b/B4A/Files/marker-rojo-26.png new file mode 100644 index 0000000..a8188d9 Binary files /dev/null and b/B4A/Files/marker-rojo-26.png differ diff --git a/B4A/Files/marker-rojo-27.png b/B4A/Files/marker-rojo-27.png new file mode 100644 index 0000000..ba3ce7b Binary files /dev/null and b/B4A/Files/marker-rojo-27.png differ diff --git a/B4A/Files/marker-rojo-28.png b/B4A/Files/marker-rojo-28.png new file mode 100644 index 0000000..53e32be Binary files /dev/null and b/B4A/Files/marker-rojo-28.png differ diff --git a/B4A/Files/marker-rojo-29.png b/B4A/Files/marker-rojo-29.png new file mode 100644 index 0000000..c3daa0c Binary files /dev/null and b/B4A/Files/marker-rojo-29.png differ diff --git a/B4A/Files/marker-rojo-3.png b/B4A/Files/marker-rojo-3.png new file mode 100644 index 0000000..8408796 Binary files /dev/null and b/B4A/Files/marker-rojo-3.png differ diff --git a/B4A/Files/marker-rojo-30.png b/B4A/Files/marker-rojo-30.png new file mode 100644 index 0000000..4929f5f Binary files /dev/null and b/B4A/Files/marker-rojo-30.png differ diff --git a/B4A/Files/marker-rojo-31.png b/B4A/Files/marker-rojo-31.png new file mode 100644 index 0000000..5f6786f Binary files /dev/null and b/B4A/Files/marker-rojo-31.png differ diff --git a/B4A/Files/marker-rojo-32.png b/B4A/Files/marker-rojo-32.png new file mode 100644 index 0000000..22cdc71 Binary files /dev/null and b/B4A/Files/marker-rojo-32.png differ diff --git a/B4A/Files/marker-rojo-33.png b/B4A/Files/marker-rojo-33.png new file mode 100644 index 0000000..4602e54 Binary files /dev/null and b/B4A/Files/marker-rojo-33.png differ diff --git a/B4A/Files/marker-rojo-34.png b/B4A/Files/marker-rojo-34.png new file mode 100644 index 0000000..d3d5203 Binary files /dev/null and b/B4A/Files/marker-rojo-34.png differ diff --git a/B4A/Files/marker-rojo-35.png b/B4A/Files/marker-rojo-35.png new file mode 100644 index 0000000..4ca48eb Binary files /dev/null and b/B4A/Files/marker-rojo-35.png differ diff --git a/B4A/Files/marker-rojo-36.png b/B4A/Files/marker-rojo-36.png new file mode 100644 index 0000000..acdecf0 Binary files /dev/null and b/B4A/Files/marker-rojo-36.png differ diff --git a/B4A/Files/marker-rojo-37.png b/B4A/Files/marker-rojo-37.png new file mode 100644 index 0000000..a9f7f56 Binary files /dev/null and b/B4A/Files/marker-rojo-37.png differ diff --git a/B4A/Files/marker-rojo-38.png b/B4A/Files/marker-rojo-38.png new file mode 100644 index 0000000..77c143f Binary files /dev/null and b/B4A/Files/marker-rojo-38.png differ diff --git a/B4A/Files/marker-rojo-39.png b/B4A/Files/marker-rojo-39.png new file mode 100644 index 0000000..ab04a29 Binary files /dev/null and b/B4A/Files/marker-rojo-39.png differ diff --git a/B4A/Files/marker-rojo-4.png b/B4A/Files/marker-rojo-4.png new file mode 100644 index 0000000..3949f62 Binary files /dev/null and b/B4A/Files/marker-rojo-4.png differ diff --git a/B4A/Files/marker-rojo-40.png b/B4A/Files/marker-rojo-40.png new file mode 100644 index 0000000..f9f6ade Binary files /dev/null and b/B4A/Files/marker-rojo-40.png differ diff --git a/B4A/Files/marker-rojo-41.png b/B4A/Files/marker-rojo-41.png new file mode 100644 index 0000000..c709269 Binary files /dev/null and b/B4A/Files/marker-rojo-41.png differ diff --git a/B4A/Files/marker-rojo-42.png b/B4A/Files/marker-rojo-42.png new file mode 100644 index 0000000..a8cdd4c Binary files /dev/null and b/B4A/Files/marker-rojo-42.png differ diff --git a/B4A/Files/marker-rojo-43.png b/B4A/Files/marker-rojo-43.png new file mode 100644 index 0000000..9c05330 Binary files /dev/null and b/B4A/Files/marker-rojo-43.png differ diff --git a/B4A/Files/marker-rojo-44.png b/B4A/Files/marker-rojo-44.png new file mode 100644 index 0000000..6bd2955 Binary files /dev/null and b/B4A/Files/marker-rojo-44.png differ diff --git a/B4A/Files/marker-rojo-45.png b/B4A/Files/marker-rojo-45.png new file mode 100644 index 0000000..0d626e0 Binary files /dev/null and b/B4A/Files/marker-rojo-45.png differ diff --git a/B4A/Files/marker-rojo-46.png b/B4A/Files/marker-rojo-46.png new file mode 100644 index 0000000..bf81523 Binary files /dev/null and b/B4A/Files/marker-rojo-46.png differ diff --git a/B4A/Files/marker-rojo-47.png b/B4A/Files/marker-rojo-47.png new file mode 100644 index 0000000..fe9c03c Binary files /dev/null and b/B4A/Files/marker-rojo-47.png differ diff --git a/B4A/Files/marker-rojo-48.png b/B4A/Files/marker-rojo-48.png new file mode 100644 index 0000000..aad933a Binary files /dev/null and b/B4A/Files/marker-rojo-48.png differ diff --git a/B4A/Files/marker-rojo-49.png b/B4A/Files/marker-rojo-49.png new file mode 100644 index 0000000..8ca751f Binary files /dev/null and b/B4A/Files/marker-rojo-49.png differ diff --git a/B4A/Files/marker-rojo-5.png b/B4A/Files/marker-rojo-5.png new file mode 100644 index 0000000..908590b Binary files /dev/null and b/B4A/Files/marker-rojo-5.png differ diff --git a/B4A/Files/marker-rojo-50.png b/B4A/Files/marker-rojo-50.png new file mode 100644 index 0000000..c332a91 Binary files /dev/null and b/B4A/Files/marker-rojo-50.png differ diff --git a/B4A/Files/marker-rojo-51.png b/B4A/Files/marker-rojo-51.png new file mode 100644 index 0000000..fbdb260 Binary files /dev/null and b/B4A/Files/marker-rojo-51.png differ diff --git a/B4A/Files/marker-rojo-52.png b/B4A/Files/marker-rojo-52.png new file mode 100644 index 0000000..2862129 Binary files /dev/null and b/B4A/Files/marker-rojo-52.png differ diff --git a/B4A/Files/marker-rojo-53.png b/B4A/Files/marker-rojo-53.png new file mode 100644 index 0000000..fd97d26 Binary files /dev/null and b/B4A/Files/marker-rojo-53.png differ diff --git a/B4A/Files/marker-rojo-54.png b/B4A/Files/marker-rojo-54.png new file mode 100644 index 0000000..edaf337 Binary files /dev/null and b/B4A/Files/marker-rojo-54.png differ diff --git a/B4A/Files/marker-rojo-55.png b/B4A/Files/marker-rojo-55.png new file mode 100644 index 0000000..42e86ab Binary files /dev/null and b/B4A/Files/marker-rojo-55.png differ diff --git a/B4A/Files/marker-rojo-56.png b/B4A/Files/marker-rojo-56.png new file mode 100644 index 0000000..347551f Binary files /dev/null and b/B4A/Files/marker-rojo-56.png differ diff --git a/B4A/Files/marker-rojo-57.png b/B4A/Files/marker-rojo-57.png new file mode 100644 index 0000000..8266bea Binary files /dev/null and b/B4A/Files/marker-rojo-57.png differ diff --git a/B4A/Files/marker-rojo-58.png b/B4A/Files/marker-rojo-58.png new file mode 100644 index 0000000..22e171b Binary files /dev/null and b/B4A/Files/marker-rojo-58.png differ diff --git a/B4A/Files/marker-rojo-59.png b/B4A/Files/marker-rojo-59.png new file mode 100644 index 0000000..173cbd8 Binary files /dev/null and b/B4A/Files/marker-rojo-59.png differ diff --git a/B4A/Files/marker-rojo-6.png b/B4A/Files/marker-rojo-6.png new file mode 100644 index 0000000..116f874 Binary files /dev/null and b/B4A/Files/marker-rojo-6.png differ diff --git a/B4A/Files/marker-rojo-60.png b/B4A/Files/marker-rojo-60.png new file mode 100644 index 0000000..4f85297 Binary files /dev/null and b/B4A/Files/marker-rojo-60.png differ diff --git a/B4A/Files/marker-rojo-61.png b/B4A/Files/marker-rojo-61.png new file mode 100644 index 0000000..be43b44 Binary files /dev/null and b/B4A/Files/marker-rojo-61.png differ diff --git a/B4A/Files/marker-rojo-62.png b/B4A/Files/marker-rojo-62.png new file mode 100644 index 0000000..a86ecbc Binary files /dev/null and b/B4A/Files/marker-rojo-62.png differ diff --git a/B4A/Files/marker-rojo-63.png b/B4A/Files/marker-rojo-63.png new file mode 100644 index 0000000..de83695 Binary files /dev/null and b/B4A/Files/marker-rojo-63.png differ diff --git a/B4A/Files/marker-rojo-64.png b/B4A/Files/marker-rojo-64.png new file mode 100644 index 0000000..0e6c31c Binary files /dev/null and b/B4A/Files/marker-rojo-64.png differ diff --git a/B4A/Files/marker-rojo-65.png b/B4A/Files/marker-rojo-65.png new file mode 100644 index 0000000..513ecde Binary files /dev/null and b/B4A/Files/marker-rojo-65.png differ diff --git a/B4A/Files/marker-rojo-66.png b/B4A/Files/marker-rojo-66.png new file mode 100644 index 0000000..5464dea Binary files /dev/null and b/B4A/Files/marker-rojo-66.png differ diff --git a/B4A/Files/marker-rojo-67.png b/B4A/Files/marker-rojo-67.png new file mode 100644 index 0000000..80b20bb Binary files /dev/null and b/B4A/Files/marker-rojo-67.png differ diff --git a/B4A/Files/marker-rojo-68.png b/B4A/Files/marker-rojo-68.png new file mode 100644 index 0000000..6083880 Binary files /dev/null and b/B4A/Files/marker-rojo-68.png differ diff --git a/B4A/Files/marker-rojo-69.png b/B4A/Files/marker-rojo-69.png new file mode 100644 index 0000000..77be8ae Binary files /dev/null and b/B4A/Files/marker-rojo-69.png differ diff --git a/B4A/Files/marker-rojo-7.png b/B4A/Files/marker-rojo-7.png new file mode 100644 index 0000000..b33bef8 Binary files /dev/null and b/B4A/Files/marker-rojo-7.png differ diff --git a/B4A/Files/marker-rojo-70.png b/B4A/Files/marker-rojo-70.png new file mode 100644 index 0000000..ecfef03 Binary files /dev/null and b/B4A/Files/marker-rojo-70.png differ diff --git a/B4A/Files/marker-rojo-71.png b/B4A/Files/marker-rojo-71.png new file mode 100644 index 0000000..5760768 Binary files /dev/null and b/B4A/Files/marker-rojo-71.png differ diff --git a/B4A/Files/marker-rojo-72.png b/B4A/Files/marker-rojo-72.png new file mode 100644 index 0000000..f2732f9 Binary files /dev/null and b/B4A/Files/marker-rojo-72.png differ diff --git a/B4A/Files/marker-rojo-73.png b/B4A/Files/marker-rojo-73.png new file mode 100644 index 0000000..1a9108f Binary files /dev/null and b/B4A/Files/marker-rojo-73.png differ diff --git a/B4A/Files/marker-rojo-74.png b/B4A/Files/marker-rojo-74.png new file mode 100644 index 0000000..47eedd0 Binary files /dev/null and b/B4A/Files/marker-rojo-74.png differ diff --git a/B4A/Files/marker-rojo-75.png b/B4A/Files/marker-rojo-75.png new file mode 100644 index 0000000..c41f3b3 Binary files /dev/null and b/B4A/Files/marker-rojo-75.png differ diff --git a/B4A/Files/marker-rojo-76.png b/B4A/Files/marker-rojo-76.png new file mode 100644 index 0000000..c6329f1 Binary files /dev/null and b/B4A/Files/marker-rojo-76.png differ diff --git a/B4A/Files/marker-rojo-77.png b/B4A/Files/marker-rojo-77.png new file mode 100644 index 0000000..71a5a37 Binary files /dev/null and b/B4A/Files/marker-rojo-77.png differ diff --git a/B4A/Files/marker-rojo-78.png b/B4A/Files/marker-rojo-78.png new file mode 100644 index 0000000..c029057 Binary files /dev/null and b/B4A/Files/marker-rojo-78.png differ diff --git a/B4A/Files/marker-rojo-79.png b/B4A/Files/marker-rojo-79.png new file mode 100644 index 0000000..80ec140 Binary files /dev/null and b/B4A/Files/marker-rojo-79.png differ diff --git a/B4A/Files/marker-rojo-8.png b/B4A/Files/marker-rojo-8.png new file mode 100644 index 0000000..a9a5fc6 Binary files /dev/null and b/B4A/Files/marker-rojo-8.png differ diff --git a/B4A/Files/marker-rojo-80.png b/B4A/Files/marker-rojo-80.png new file mode 100644 index 0000000..2f73356 Binary files /dev/null and b/B4A/Files/marker-rojo-80.png differ diff --git a/B4A/Files/marker-rojo-81.png b/B4A/Files/marker-rojo-81.png new file mode 100644 index 0000000..689e7f4 Binary files /dev/null and b/B4A/Files/marker-rojo-81.png differ diff --git a/B4A/Files/marker-rojo-82.png b/B4A/Files/marker-rojo-82.png new file mode 100644 index 0000000..f73dd9d Binary files /dev/null and b/B4A/Files/marker-rojo-82.png differ diff --git a/B4A/Files/marker-rojo-83.png b/B4A/Files/marker-rojo-83.png new file mode 100644 index 0000000..7c99c9c Binary files /dev/null and b/B4A/Files/marker-rojo-83.png differ diff --git a/B4A/Files/marker-rojo-84.png b/B4A/Files/marker-rojo-84.png new file mode 100644 index 0000000..f18ce95 Binary files /dev/null and b/B4A/Files/marker-rojo-84.png differ diff --git a/B4A/Files/marker-rojo-85.png b/B4A/Files/marker-rojo-85.png new file mode 100644 index 0000000..b9bd7c7 Binary files /dev/null and b/B4A/Files/marker-rojo-85.png differ diff --git a/B4A/Files/marker-rojo-86.png b/B4A/Files/marker-rojo-86.png new file mode 100644 index 0000000..9b1fb84 Binary files /dev/null and b/B4A/Files/marker-rojo-86.png differ diff --git a/B4A/Files/marker-rojo-87.png b/B4A/Files/marker-rojo-87.png new file mode 100644 index 0000000..95fdc5c Binary files /dev/null and b/B4A/Files/marker-rojo-87.png differ diff --git a/B4A/Files/marker-rojo-88.png b/B4A/Files/marker-rojo-88.png new file mode 100644 index 0000000..9f817b5 Binary files /dev/null and b/B4A/Files/marker-rojo-88.png differ diff --git a/B4A/Files/marker-rojo-89.png b/B4A/Files/marker-rojo-89.png new file mode 100644 index 0000000..e387fa6 Binary files /dev/null and b/B4A/Files/marker-rojo-89.png differ diff --git a/B4A/Files/marker-rojo-9.png b/B4A/Files/marker-rojo-9.png new file mode 100644 index 0000000..d0ff664 Binary files /dev/null and b/B4A/Files/marker-rojo-9.png differ diff --git a/B4A/Files/marker-rojo-90.png b/B4A/Files/marker-rojo-90.png new file mode 100644 index 0000000..b049177 Binary files /dev/null and b/B4A/Files/marker-rojo-90.png differ diff --git a/B4A/Files/marker-rojo-91.png b/B4A/Files/marker-rojo-91.png new file mode 100644 index 0000000..0c142d2 Binary files /dev/null and b/B4A/Files/marker-rojo-91.png differ diff --git a/B4A/Files/marker-rojo-92.png b/B4A/Files/marker-rojo-92.png new file mode 100644 index 0000000..6c1c46a Binary files /dev/null and b/B4A/Files/marker-rojo-92.png differ diff --git a/B4A/Files/marker-rojo-93.png b/B4A/Files/marker-rojo-93.png new file mode 100644 index 0000000..c1d0eeb Binary files /dev/null and b/B4A/Files/marker-rojo-93.png differ diff --git a/B4A/Files/marker-rojo-94.png b/B4A/Files/marker-rojo-94.png new file mode 100644 index 0000000..45fa431 Binary files /dev/null and b/B4A/Files/marker-rojo-94.png differ diff --git a/B4A/Files/marker-rojo-95.png b/B4A/Files/marker-rojo-95.png new file mode 100644 index 0000000..f0e7386 Binary files /dev/null and b/B4A/Files/marker-rojo-95.png differ diff --git a/B4A/Files/marker-rojo-96.png b/B4A/Files/marker-rojo-96.png new file mode 100644 index 0000000..0fe3ac2 Binary files /dev/null and b/B4A/Files/marker-rojo-96.png differ diff --git a/B4A/Files/marker-rojo-97.png b/B4A/Files/marker-rojo-97.png new file mode 100644 index 0000000..fb2b8e4 Binary files /dev/null and b/B4A/Files/marker-rojo-97.png differ diff --git a/B4A/Files/marker-rojo-98.png b/B4A/Files/marker-rojo-98.png new file mode 100644 index 0000000..eeab2c9 Binary files /dev/null and b/B4A/Files/marker-rojo-98.png differ diff --git a/B4A/Files/marker-rojo-99.png b/B4A/Files/marker-rojo-99.png new file mode 100644 index 0000000..d14a3c3 Binary files /dev/null and b/B4A/Files/marker-rojo-99.png differ diff --git a/B4A/Files/marker-verde-0.png b/B4A/Files/marker-verde-0.png new file mode 100644 index 0000000..77d29ba Binary files /dev/null and b/B4A/Files/marker-verde-0.png differ diff --git a/B4A/Files/marker-verde-1.png b/B4A/Files/marker-verde-1.png new file mode 100644 index 0000000..14e9402 Binary files /dev/null and b/B4A/Files/marker-verde-1.png differ diff --git a/B4A/Files/marker-verde-10.png b/B4A/Files/marker-verde-10.png new file mode 100644 index 0000000..7d231cf Binary files /dev/null and b/B4A/Files/marker-verde-10.png differ diff --git a/B4A/Files/marker-verde-100.png b/B4A/Files/marker-verde-100.png new file mode 100644 index 0000000..5785750 Binary files /dev/null and b/B4A/Files/marker-verde-100.png differ diff --git a/B4A/Files/marker-verde-101.png b/B4A/Files/marker-verde-101.png new file mode 100644 index 0000000..45ef333 Binary files /dev/null and b/B4A/Files/marker-verde-101.png differ diff --git a/B4A/Files/marker-verde-102.png b/B4A/Files/marker-verde-102.png new file mode 100644 index 0000000..c194b8d Binary files /dev/null and b/B4A/Files/marker-verde-102.png differ diff --git a/B4A/Files/marker-verde-103.png b/B4A/Files/marker-verde-103.png new file mode 100644 index 0000000..3cd9740 Binary files /dev/null and b/B4A/Files/marker-verde-103.png differ diff --git a/B4A/Files/marker-verde-104.png b/B4A/Files/marker-verde-104.png new file mode 100644 index 0000000..5a040f4 Binary files /dev/null and b/B4A/Files/marker-verde-104.png differ diff --git a/B4A/Files/marker-verde-105.png b/B4A/Files/marker-verde-105.png new file mode 100644 index 0000000..4b09455 Binary files /dev/null and b/B4A/Files/marker-verde-105.png differ diff --git a/B4A/Files/marker-verde-106.png b/B4A/Files/marker-verde-106.png new file mode 100644 index 0000000..baafce9 Binary files /dev/null and b/B4A/Files/marker-verde-106.png differ diff --git a/B4A/Files/marker-verde-107.png b/B4A/Files/marker-verde-107.png new file mode 100644 index 0000000..969c70f Binary files /dev/null and b/B4A/Files/marker-verde-107.png differ diff --git a/B4A/Files/marker-verde-108.png b/B4A/Files/marker-verde-108.png new file mode 100644 index 0000000..1a23478 Binary files /dev/null and b/B4A/Files/marker-verde-108.png differ diff --git a/B4A/Files/marker-verde-109.png b/B4A/Files/marker-verde-109.png new file mode 100644 index 0000000..8cf4f90 Binary files /dev/null and b/B4A/Files/marker-verde-109.png differ diff --git a/B4A/Files/marker-verde-11.png b/B4A/Files/marker-verde-11.png new file mode 100644 index 0000000..b88f9e8 Binary files /dev/null and b/B4A/Files/marker-verde-11.png differ diff --git a/B4A/Files/marker-verde-110.png b/B4A/Files/marker-verde-110.png new file mode 100644 index 0000000..302639b Binary files /dev/null and b/B4A/Files/marker-verde-110.png differ diff --git a/B4A/Files/marker-verde-111.png b/B4A/Files/marker-verde-111.png new file mode 100644 index 0000000..934e450 Binary files /dev/null and b/B4A/Files/marker-verde-111.png differ diff --git a/B4A/Files/marker-verde-112.png b/B4A/Files/marker-verde-112.png new file mode 100644 index 0000000..2fbdf62 Binary files /dev/null and b/B4A/Files/marker-verde-112.png differ diff --git a/B4A/Files/marker-verde-113.png b/B4A/Files/marker-verde-113.png new file mode 100644 index 0000000..40245fb Binary files /dev/null and b/B4A/Files/marker-verde-113.png differ diff --git a/B4A/Files/marker-verde-114.png b/B4A/Files/marker-verde-114.png new file mode 100644 index 0000000..f39b60c Binary files /dev/null and b/B4A/Files/marker-verde-114.png differ diff --git a/B4A/Files/marker-verde-115.png b/B4A/Files/marker-verde-115.png new file mode 100644 index 0000000..6cf06ec Binary files /dev/null and b/B4A/Files/marker-verde-115.png differ diff --git a/B4A/Files/marker-verde-116.png b/B4A/Files/marker-verde-116.png new file mode 100644 index 0000000..00eb8dc Binary files /dev/null and b/B4A/Files/marker-verde-116.png differ diff --git a/B4A/Files/marker-verde-117.png b/B4A/Files/marker-verde-117.png new file mode 100644 index 0000000..04b60d6 Binary files /dev/null and b/B4A/Files/marker-verde-117.png differ diff --git a/B4A/Files/marker-verde-118.png b/B4A/Files/marker-verde-118.png new file mode 100644 index 0000000..3ae47ac Binary files /dev/null and b/B4A/Files/marker-verde-118.png differ diff --git a/B4A/Files/marker-verde-119.png b/B4A/Files/marker-verde-119.png new file mode 100644 index 0000000..6762381 Binary files /dev/null and b/B4A/Files/marker-verde-119.png differ diff --git a/B4A/Files/marker-verde-12.png b/B4A/Files/marker-verde-12.png new file mode 100644 index 0000000..e72ff7c Binary files /dev/null and b/B4A/Files/marker-verde-12.png differ diff --git a/B4A/Files/marker-verde-120.png b/B4A/Files/marker-verde-120.png new file mode 100644 index 0000000..99a91d5 Binary files /dev/null and b/B4A/Files/marker-verde-120.png differ diff --git a/B4A/Files/marker-verde-121.png b/B4A/Files/marker-verde-121.png new file mode 100644 index 0000000..2b55e76 Binary files /dev/null and b/B4A/Files/marker-verde-121.png differ diff --git a/B4A/Files/marker-verde-122.png b/B4A/Files/marker-verde-122.png new file mode 100644 index 0000000..c406e6f Binary files /dev/null and b/B4A/Files/marker-verde-122.png differ diff --git a/B4A/Files/marker-verde-123.png b/B4A/Files/marker-verde-123.png new file mode 100644 index 0000000..5fd2842 Binary files /dev/null and b/B4A/Files/marker-verde-123.png differ diff --git a/B4A/Files/marker-verde-124.png b/B4A/Files/marker-verde-124.png new file mode 100644 index 0000000..4167885 Binary files /dev/null and b/B4A/Files/marker-verde-124.png differ diff --git a/B4A/Files/marker-verde-125.png b/B4A/Files/marker-verde-125.png new file mode 100644 index 0000000..ed5ed49 Binary files /dev/null and b/B4A/Files/marker-verde-125.png differ diff --git a/B4A/Files/marker-verde-126.png b/B4A/Files/marker-verde-126.png new file mode 100644 index 0000000..dc89a65 Binary files /dev/null and b/B4A/Files/marker-verde-126.png differ diff --git a/B4A/Files/marker-verde-127.png b/B4A/Files/marker-verde-127.png new file mode 100644 index 0000000..f558023 Binary files /dev/null and b/B4A/Files/marker-verde-127.png differ diff --git a/B4A/Files/marker-verde-128.png b/B4A/Files/marker-verde-128.png new file mode 100644 index 0000000..5eed2f0 Binary files /dev/null and b/B4A/Files/marker-verde-128.png differ diff --git a/B4A/Files/marker-verde-129.png b/B4A/Files/marker-verde-129.png new file mode 100644 index 0000000..1699a90 Binary files /dev/null and b/B4A/Files/marker-verde-129.png differ diff --git a/B4A/Files/marker-verde-13.png b/B4A/Files/marker-verde-13.png new file mode 100644 index 0000000..54eb8cc Binary files /dev/null and b/B4A/Files/marker-verde-13.png differ diff --git a/B4A/Files/marker-verde-130.png b/B4A/Files/marker-verde-130.png new file mode 100644 index 0000000..e5fb83b Binary files /dev/null and b/B4A/Files/marker-verde-130.png differ diff --git a/B4A/Files/marker-verde-131.png b/B4A/Files/marker-verde-131.png new file mode 100644 index 0000000..e065336 Binary files /dev/null and b/B4A/Files/marker-verde-131.png differ diff --git a/B4A/Files/marker-verde-132.png b/B4A/Files/marker-verde-132.png new file mode 100644 index 0000000..451f884 Binary files /dev/null and b/B4A/Files/marker-verde-132.png differ diff --git a/B4A/Files/marker-verde-133.png b/B4A/Files/marker-verde-133.png new file mode 100644 index 0000000..0d6fe98 Binary files /dev/null and b/B4A/Files/marker-verde-133.png differ diff --git a/B4A/Files/marker-verde-134.png b/B4A/Files/marker-verde-134.png new file mode 100644 index 0000000..479d583 Binary files /dev/null and b/B4A/Files/marker-verde-134.png differ diff --git a/B4A/Files/marker-verde-135.png b/B4A/Files/marker-verde-135.png new file mode 100644 index 0000000..733bd03 Binary files /dev/null and b/B4A/Files/marker-verde-135.png differ diff --git a/B4A/Files/marker-verde-136.png b/B4A/Files/marker-verde-136.png new file mode 100644 index 0000000..3e4f1ac Binary files /dev/null and b/B4A/Files/marker-verde-136.png differ diff --git a/B4A/Files/marker-verde-137.png b/B4A/Files/marker-verde-137.png new file mode 100644 index 0000000..66fae18 Binary files /dev/null and b/B4A/Files/marker-verde-137.png differ diff --git a/B4A/Files/marker-verde-138.png b/B4A/Files/marker-verde-138.png new file mode 100644 index 0000000..87a5200 Binary files /dev/null and b/B4A/Files/marker-verde-138.png differ diff --git a/B4A/Files/marker-verde-139.png b/B4A/Files/marker-verde-139.png new file mode 100644 index 0000000..b4d1291 Binary files /dev/null and b/B4A/Files/marker-verde-139.png differ diff --git a/B4A/Files/marker-verde-14.png b/B4A/Files/marker-verde-14.png new file mode 100644 index 0000000..8050322 Binary files /dev/null and b/B4A/Files/marker-verde-14.png differ diff --git a/B4A/Files/marker-verde-140.png b/B4A/Files/marker-verde-140.png new file mode 100644 index 0000000..1460cca Binary files /dev/null and b/B4A/Files/marker-verde-140.png differ diff --git a/B4A/Files/marker-verde-141.png b/B4A/Files/marker-verde-141.png new file mode 100644 index 0000000..8c949b4 Binary files /dev/null and b/B4A/Files/marker-verde-141.png differ diff --git a/B4A/Files/marker-verde-142.png b/B4A/Files/marker-verde-142.png new file mode 100644 index 0000000..08da39f Binary files /dev/null and b/B4A/Files/marker-verde-142.png differ diff --git a/B4A/Files/marker-verde-143.png b/B4A/Files/marker-verde-143.png new file mode 100644 index 0000000..907a6b2 Binary files /dev/null and b/B4A/Files/marker-verde-143.png differ diff --git a/B4A/Files/marker-verde-144.png b/B4A/Files/marker-verde-144.png new file mode 100644 index 0000000..89a924b Binary files /dev/null and b/B4A/Files/marker-verde-144.png differ diff --git a/B4A/Files/marker-verde-145.png b/B4A/Files/marker-verde-145.png new file mode 100644 index 0000000..acfccf9 Binary files /dev/null and b/B4A/Files/marker-verde-145.png differ diff --git a/B4A/Files/marker-verde-146.png b/B4A/Files/marker-verde-146.png new file mode 100644 index 0000000..745241a Binary files /dev/null and b/B4A/Files/marker-verde-146.png differ diff --git a/B4A/Files/marker-verde-147.png b/B4A/Files/marker-verde-147.png new file mode 100644 index 0000000..3503f40 Binary files /dev/null and b/B4A/Files/marker-verde-147.png differ diff --git a/B4A/Files/marker-verde-148.png b/B4A/Files/marker-verde-148.png new file mode 100644 index 0000000..56e69ae Binary files /dev/null and b/B4A/Files/marker-verde-148.png differ diff --git a/B4A/Files/marker-verde-149.png b/B4A/Files/marker-verde-149.png new file mode 100644 index 0000000..e8e4079 Binary files /dev/null and b/B4A/Files/marker-verde-149.png differ diff --git a/B4A/Files/marker-verde-15.png b/B4A/Files/marker-verde-15.png new file mode 100644 index 0000000..02ca0c5 Binary files /dev/null and b/B4A/Files/marker-verde-15.png differ diff --git a/B4A/Files/marker-verde-150.png b/B4A/Files/marker-verde-150.png new file mode 100644 index 0000000..09eff30 Binary files /dev/null and b/B4A/Files/marker-verde-150.png differ diff --git a/B4A/Files/marker-verde-16.png b/B4A/Files/marker-verde-16.png new file mode 100644 index 0000000..2b16555 Binary files /dev/null and b/B4A/Files/marker-verde-16.png differ diff --git a/B4A/Files/marker-verde-17.png b/B4A/Files/marker-verde-17.png new file mode 100644 index 0000000..5a06f41 Binary files /dev/null and b/B4A/Files/marker-verde-17.png differ diff --git a/B4A/Files/marker-verde-18.png b/B4A/Files/marker-verde-18.png new file mode 100644 index 0000000..cfb3579 Binary files /dev/null and b/B4A/Files/marker-verde-18.png differ diff --git a/B4A/Files/marker-verde-19.png b/B4A/Files/marker-verde-19.png new file mode 100644 index 0000000..abc5f86 Binary files /dev/null and b/B4A/Files/marker-verde-19.png differ diff --git a/B4A/Files/marker-verde-2.png b/B4A/Files/marker-verde-2.png new file mode 100644 index 0000000..ab41084 Binary files /dev/null and b/B4A/Files/marker-verde-2.png differ diff --git a/B4A/Files/marker-verde-20.png b/B4A/Files/marker-verde-20.png new file mode 100644 index 0000000..e1eac8b Binary files /dev/null and b/B4A/Files/marker-verde-20.png differ diff --git a/B4A/Files/marker-verde-21.png b/B4A/Files/marker-verde-21.png new file mode 100644 index 0000000..79673f6 Binary files /dev/null and b/B4A/Files/marker-verde-21.png differ diff --git a/B4A/Files/marker-verde-22.png b/B4A/Files/marker-verde-22.png new file mode 100644 index 0000000..8781609 Binary files /dev/null and b/B4A/Files/marker-verde-22.png differ diff --git a/B4A/Files/marker-verde-23.png b/B4A/Files/marker-verde-23.png new file mode 100644 index 0000000..6b625ce Binary files /dev/null and b/B4A/Files/marker-verde-23.png differ diff --git a/B4A/Files/marker-verde-24.png b/B4A/Files/marker-verde-24.png new file mode 100644 index 0000000..3c77d33 Binary files /dev/null and b/B4A/Files/marker-verde-24.png differ diff --git a/B4A/Files/marker-verde-25.png b/B4A/Files/marker-verde-25.png new file mode 100644 index 0000000..3f7aa69 Binary files /dev/null and b/B4A/Files/marker-verde-25.png differ diff --git a/B4A/Files/marker-verde-26.png b/B4A/Files/marker-verde-26.png new file mode 100644 index 0000000..bfb589d Binary files /dev/null and b/B4A/Files/marker-verde-26.png differ diff --git a/B4A/Files/marker-verde-27.png b/B4A/Files/marker-verde-27.png new file mode 100644 index 0000000..3503dfb Binary files /dev/null and b/B4A/Files/marker-verde-27.png differ diff --git a/B4A/Files/marker-verde-28.png b/B4A/Files/marker-verde-28.png new file mode 100644 index 0000000..78334e9 Binary files /dev/null and b/B4A/Files/marker-verde-28.png differ diff --git a/B4A/Files/marker-verde-29.png b/B4A/Files/marker-verde-29.png new file mode 100644 index 0000000..2cebbb5 Binary files /dev/null and b/B4A/Files/marker-verde-29.png differ diff --git a/B4A/Files/marker-verde-3.png b/B4A/Files/marker-verde-3.png new file mode 100644 index 0000000..89b8e9e Binary files /dev/null and b/B4A/Files/marker-verde-3.png differ diff --git a/B4A/Files/marker-verde-30.png b/B4A/Files/marker-verde-30.png new file mode 100644 index 0000000..dd0505c Binary files /dev/null and b/B4A/Files/marker-verde-30.png differ diff --git a/B4A/Files/marker-verde-31.png b/B4A/Files/marker-verde-31.png new file mode 100644 index 0000000..a5973fa Binary files /dev/null and b/B4A/Files/marker-verde-31.png differ diff --git a/B4A/Files/marker-verde-32.png b/B4A/Files/marker-verde-32.png new file mode 100644 index 0000000..593c122 Binary files /dev/null and b/B4A/Files/marker-verde-32.png differ diff --git a/B4A/Files/marker-verde-33.png b/B4A/Files/marker-verde-33.png new file mode 100644 index 0000000..40dbf20 Binary files /dev/null and b/B4A/Files/marker-verde-33.png differ diff --git a/B4A/Files/marker-verde-34.png b/B4A/Files/marker-verde-34.png new file mode 100644 index 0000000..4d9e4f5 Binary files /dev/null and b/B4A/Files/marker-verde-34.png differ diff --git a/B4A/Files/marker-verde-35.png b/B4A/Files/marker-verde-35.png new file mode 100644 index 0000000..020175d Binary files /dev/null and b/B4A/Files/marker-verde-35.png differ diff --git a/B4A/Files/marker-verde-36.png b/B4A/Files/marker-verde-36.png new file mode 100644 index 0000000..dff2a9b Binary files /dev/null and b/B4A/Files/marker-verde-36.png differ diff --git a/B4A/Files/marker-verde-37.png b/B4A/Files/marker-verde-37.png new file mode 100644 index 0000000..a619ebe Binary files /dev/null and b/B4A/Files/marker-verde-37.png differ diff --git a/B4A/Files/marker-verde-38.png b/B4A/Files/marker-verde-38.png new file mode 100644 index 0000000..dfef35e Binary files /dev/null and b/B4A/Files/marker-verde-38.png differ diff --git a/B4A/Files/marker-verde-39.png b/B4A/Files/marker-verde-39.png new file mode 100644 index 0000000..231006d Binary files /dev/null and b/B4A/Files/marker-verde-39.png differ diff --git a/B4A/Files/marker-verde-4.png b/B4A/Files/marker-verde-4.png new file mode 100644 index 0000000..3d244ef Binary files /dev/null and b/B4A/Files/marker-verde-4.png differ diff --git a/B4A/Files/marker-verde-40.png b/B4A/Files/marker-verde-40.png new file mode 100644 index 0000000..95cff50 Binary files /dev/null and b/B4A/Files/marker-verde-40.png differ diff --git a/B4A/Files/marker-verde-41.png b/B4A/Files/marker-verde-41.png new file mode 100644 index 0000000..b0c6c5a Binary files /dev/null and b/B4A/Files/marker-verde-41.png differ diff --git a/B4A/Files/marker-verde-42.png b/B4A/Files/marker-verde-42.png new file mode 100644 index 0000000..5c23e8e Binary files /dev/null and b/B4A/Files/marker-verde-42.png differ diff --git a/B4A/Files/marker-verde-43.png b/B4A/Files/marker-verde-43.png new file mode 100644 index 0000000..cafe02e Binary files /dev/null and b/B4A/Files/marker-verde-43.png differ diff --git a/B4A/Files/marker-verde-44.png b/B4A/Files/marker-verde-44.png new file mode 100644 index 0000000..b905539 Binary files /dev/null and b/B4A/Files/marker-verde-44.png differ diff --git a/B4A/Files/marker-verde-45.png b/B4A/Files/marker-verde-45.png new file mode 100644 index 0000000..53f496d Binary files /dev/null and b/B4A/Files/marker-verde-45.png differ diff --git a/B4A/Files/marker-verde-46.png b/B4A/Files/marker-verde-46.png new file mode 100644 index 0000000..47d44bc Binary files /dev/null and b/B4A/Files/marker-verde-46.png differ diff --git a/B4A/Files/marker-verde-47.png b/B4A/Files/marker-verde-47.png new file mode 100644 index 0000000..a57e49e Binary files /dev/null and b/B4A/Files/marker-verde-47.png differ diff --git a/B4A/Files/marker-verde-48.png b/B4A/Files/marker-verde-48.png new file mode 100644 index 0000000..d4f0e9d Binary files /dev/null and b/B4A/Files/marker-verde-48.png differ diff --git a/B4A/Files/marker-verde-49.png b/B4A/Files/marker-verde-49.png new file mode 100644 index 0000000..9fe94c5 Binary files /dev/null and b/B4A/Files/marker-verde-49.png differ diff --git a/B4A/Files/marker-verde-5.png b/B4A/Files/marker-verde-5.png new file mode 100644 index 0000000..4abd44b Binary files /dev/null and b/B4A/Files/marker-verde-5.png differ diff --git a/B4A/Files/marker-verde-50.png b/B4A/Files/marker-verde-50.png new file mode 100644 index 0000000..ce10774 Binary files /dev/null and b/B4A/Files/marker-verde-50.png differ diff --git a/B4A/Files/marker-verde-51.png b/B4A/Files/marker-verde-51.png new file mode 100644 index 0000000..e48908d Binary files /dev/null and b/B4A/Files/marker-verde-51.png differ diff --git a/B4A/Files/marker-verde-52.png b/B4A/Files/marker-verde-52.png new file mode 100644 index 0000000..7d24294 Binary files /dev/null and b/B4A/Files/marker-verde-52.png differ diff --git a/B4A/Files/marker-verde-53.png b/B4A/Files/marker-verde-53.png new file mode 100644 index 0000000..fe09650 Binary files /dev/null and b/B4A/Files/marker-verde-53.png differ diff --git a/B4A/Files/marker-verde-54.png b/B4A/Files/marker-verde-54.png new file mode 100644 index 0000000..d33303e Binary files /dev/null and b/B4A/Files/marker-verde-54.png differ diff --git a/B4A/Files/marker-verde-55.png b/B4A/Files/marker-verde-55.png new file mode 100644 index 0000000..d1af4af Binary files /dev/null and b/B4A/Files/marker-verde-55.png differ diff --git a/B4A/Files/marker-verde-56.png b/B4A/Files/marker-verde-56.png new file mode 100644 index 0000000..8133a47 Binary files /dev/null and b/B4A/Files/marker-verde-56.png differ diff --git a/B4A/Files/marker-verde-57.png b/B4A/Files/marker-verde-57.png new file mode 100644 index 0000000..47b9b35 Binary files /dev/null and b/B4A/Files/marker-verde-57.png differ diff --git a/B4A/Files/marker-verde-58.png b/B4A/Files/marker-verde-58.png new file mode 100644 index 0000000..2f6efcc Binary files /dev/null and b/B4A/Files/marker-verde-58.png differ diff --git a/B4A/Files/marker-verde-59.png b/B4A/Files/marker-verde-59.png new file mode 100644 index 0000000..977dd0c Binary files /dev/null and b/B4A/Files/marker-verde-59.png differ diff --git a/B4A/Files/marker-verde-6.png b/B4A/Files/marker-verde-6.png new file mode 100644 index 0000000..094cd0a Binary files /dev/null and b/B4A/Files/marker-verde-6.png differ diff --git a/B4A/Files/marker-verde-60.png b/B4A/Files/marker-verde-60.png new file mode 100644 index 0000000..3ae2551 Binary files /dev/null and b/B4A/Files/marker-verde-60.png differ diff --git a/B4A/Files/marker-verde-61.png b/B4A/Files/marker-verde-61.png new file mode 100644 index 0000000..f9e185b Binary files /dev/null and b/B4A/Files/marker-verde-61.png differ diff --git a/B4A/Files/marker-verde-62.png b/B4A/Files/marker-verde-62.png new file mode 100644 index 0000000..7774a8a Binary files /dev/null and b/B4A/Files/marker-verde-62.png differ diff --git a/B4A/Files/marker-verde-63.png b/B4A/Files/marker-verde-63.png new file mode 100644 index 0000000..b437bde Binary files /dev/null and b/B4A/Files/marker-verde-63.png differ diff --git a/B4A/Files/marker-verde-64.png b/B4A/Files/marker-verde-64.png new file mode 100644 index 0000000..4113c30 Binary files /dev/null and b/B4A/Files/marker-verde-64.png differ diff --git a/B4A/Files/marker-verde-65.png b/B4A/Files/marker-verde-65.png new file mode 100644 index 0000000..42f2f09 Binary files /dev/null and b/B4A/Files/marker-verde-65.png differ diff --git a/B4A/Files/marker-verde-66.png b/B4A/Files/marker-verde-66.png new file mode 100644 index 0000000..9473f7f Binary files /dev/null and b/B4A/Files/marker-verde-66.png differ diff --git a/B4A/Files/marker-verde-67.png b/B4A/Files/marker-verde-67.png new file mode 100644 index 0000000..b248d7d Binary files /dev/null and b/B4A/Files/marker-verde-67.png differ diff --git a/B4A/Files/marker-verde-68.png b/B4A/Files/marker-verde-68.png new file mode 100644 index 0000000..4e9c567 Binary files /dev/null and b/B4A/Files/marker-verde-68.png differ diff --git a/B4A/Files/marker-verde-69.png b/B4A/Files/marker-verde-69.png new file mode 100644 index 0000000..ccc064f Binary files /dev/null and b/B4A/Files/marker-verde-69.png differ diff --git a/B4A/Files/marker-verde-7.png b/B4A/Files/marker-verde-7.png new file mode 100644 index 0000000..3792b5f Binary files /dev/null and b/B4A/Files/marker-verde-7.png differ diff --git a/B4A/Files/marker-verde-70.png b/B4A/Files/marker-verde-70.png new file mode 100644 index 0000000..aef31a7 Binary files /dev/null and b/B4A/Files/marker-verde-70.png differ diff --git a/B4A/Files/marker-verde-71.png b/B4A/Files/marker-verde-71.png new file mode 100644 index 0000000..cd2d1a3 Binary files /dev/null and b/B4A/Files/marker-verde-71.png differ diff --git a/B4A/Files/marker-verde-72.png b/B4A/Files/marker-verde-72.png new file mode 100644 index 0000000..7b50f6f Binary files /dev/null and b/B4A/Files/marker-verde-72.png differ diff --git a/B4A/Files/marker-verde-73.png b/B4A/Files/marker-verde-73.png new file mode 100644 index 0000000..64af59d Binary files /dev/null and b/B4A/Files/marker-verde-73.png differ diff --git a/B4A/Files/marker-verde-74.png b/B4A/Files/marker-verde-74.png new file mode 100644 index 0000000..52a7284 Binary files /dev/null and b/B4A/Files/marker-verde-74.png differ diff --git a/B4A/Files/marker-verde-75.png b/B4A/Files/marker-verde-75.png new file mode 100644 index 0000000..61f0d3e Binary files /dev/null and b/B4A/Files/marker-verde-75.png differ diff --git a/B4A/Files/marker-verde-76.png b/B4A/Files/marker-verde-76.png new file mode 100644 index 0000000..730517f Binary files /dev/null and b/B4A/Files/marker-verde-76.png differ diff --git a/B4A/Files/marker-verde-77.png b/B4A/Files/marker-verde-77.png new file mode 100644 index 0000000..e4108f4 Binary files /dev/null and b/B4A/Files/marker-verde-77.png differ diff --git a/B4A/Files/marker-verde-78.png b/B4A/Files/marker-verde-78.png new file mode 100644 index 0000000..7a760c2 Binary files /dev/null and b/B4A/Files/marker-verde-78.png differ diff --git a/B4A/Files/marker-verde-79.png b/B4A/Files/marker-verde-79.png new file mode 100644 index 0000000..69d716e Binary files /dev/null and b/B4A/Files/marker-verde-79.png differ diff --git a/B4A/Files/marker-verde-8.png b/B4A/Files/marker-verde-8.png new file mode 100644 index 0000000..667eab4 Binary files /dev/null and b/B4A/Files/marker-verde-8.png differ diff --git a/B4A/Files/marker-verde-80.png b/B4A/Files/marker-verde-80.png new file mode 100644 index 0000000..56e8c76 Binary files /dev/null and b/B4A/Files/marker-verde-80.png differ diff --git a/B4A/Files/marker-verde-81.png b/B4A/Files/marker-verde-81.png new file mode 100644 index 0000000..a48110d Binary files /dev/null and b/B4A/Files/marker-verde-81.png differ diff --git a/B4A/Files/marker-verde-82.png b/B4A/Files/marker-verde-82.png new file mode 100644 index 0000000..4e82059 Binary files /dev/null and b/B4A/Files/marker-verde-82.png differ diff --git a/B4A/Files/marker-verde-83.png b/B4A/Files/marker-verde-83.png new file mode 100644 index 0000000..91df1b6 Binary files /dev/null and b/B4A/Files/marker-verde-83.png differ diff --git a/B4A/Files/marker-verde-84.png b/B4A/Files/marker-verde-84.png new file mode 100644 index 0000000..4f77e31 Binary files /dev/null and b/B4A/Files/marker-verde-84.png differ diff --git a/B4A/Files/marker-verde-85.png b/B4A/Files/marker-verde-85.png new file mode 100644 index 0000000..d1605c4 Binary files /dev/null and b/B4A/Files/marker-verde-85.png differ diff --git a/B4A/Files/marker-verde-86.png b/B4A/Files/marker-verde-86.png new file mode 100644 index 0000000..ab5a09e Binary files /dev/null and b/B4A/Files/marker-verde-86.png differ diff --git a/B4A/Files/marker-verde-87.png b/B4A/Files/marker-verde-87.png new file mode 100644 index 0000000..7a596a0 Binary files /dev/null and b/B4A/Files/marker-verde-87.png differ diff --git a/B4A/Files/marker-verde-88.png b/B4A/Files/marker-verde-88.png new file mode 100644 index 0000000..47acf99 Binary files /dev/null and b/B4A/Files/marker-verde-88.png differ diff --git a/B4A/Files/marker-verde-89.png b/B4A/Files/marker-verde-89.png new file mode 100644 index 0000000..6a8bb03 Binary files /dev/null and b/B4A/Files/marker-verde-89.png differ diff --git a/B4A/Files/marker-verde-9.png b/B4A/Files/marker-verde-9.png new file mode 100644 index 0000000..0265595 Binary files /dev/null and b/B4A/Files/marker-verde-9.png differ diff --git a/B4A/Files/marker-verde-90.png b/B4A/Files/marker-verde-90.png new file mode 100644 index 0000000..a0761a9 Binary files /dev/null and b/B4A/Files/marker-verde-90.png differ diff --git a/B4A/Files/marker-verde-91.png b/B4A/Files/marker-verde-91.png new file mode 100644 index 0000000..6c9daa6 Binary files /dev/null and b/B4A/Files/marker-verde-91.png differ diff --git a/B4A/Files/marker-verde-92.png b/B4A/Files/marker-verde-92.png new file mode 100644 index 0000000..7f4600b Binary files /dev/null and b/B4A/Files/marker-verde-92.png differ diff --git a/B4A/Files/marker-verde-93.png b/B4A/Files/marker-verde-93.png new file mode 100644 index 0000000..9df60d7 Binary files /dev/null and b/B4A/Files/marker-verde-93.png differ diff --git a/B4A/Files/marker-verde-94.png b/B4A/Files/marker-verde-94.png new file mode 100644 index 0000000..0a5b8b7 Binary files /dev/null and b/B4A/Files/marker-verde-94.png differ diff --git a/B4A/Files/marker-verde-95.png b/B4A/Files/marker-verde-95.png new file mode 100644 index 0000000..e402d5f Binary files /dev/null and b/B4A/Files/marker-verde-95.png differ diff --git a/B4A/Files/marker-verde-96.png b/B4A/Files/marker-verde-96.png new file mode 100644 index 0000000..b329bab Binary files /dev/null and b/B4A/Files/marker-verde-96.png differ diff --git a/B4A/Files/marker-verde-97.png b/B4A/Files/marker-verde-97.png new file mode 100644 index 0000000..aa82aad Binary files /dev/null and b/B4A/Files/marker-verde-97.png differ diff --git a/B4A/Files/marker-verde-98.png b/B4A/Files/marker-verde-98.png new file mode 100644 index 0000000..873aab2 Binary files /dev/null and b/B4A/Files/marker-verde-98.png differ diff --git a/B4A/Files/marker-verde-99.png b/B4A/Files/marker-verde-99.png new file mode 100644 index 0000000..6d005ab Binary files /dev/null and b/B4A/Files/marker-verde-99.png differ diff --git a/B4A/Files/nota.bal b/B4A/Files/nota.bal new file mode 100644 index 0000000..8de3dea Binary files /dev/null and b/B4A/Files/nota.bal differ diff --git a/B4A/Files/noventa.bal b/B4A/Files/noventa.bal new file mode 100644 index 0000000..1e1fa04 Binary files /dev/null and b/B4A/Files/noventa.bal differ diff --git a/B4A/Files/nuevo-cliente20.png b/B4A/Files/nuevo-cliente20.png new file mode 100644 index 0000000..e36a2dc Binary files /dev/null and b/B4A/Files/nuevo-cliente20.png differ diff --git a/B4A/Files/nuevocliente.bal b/B4A/Files/nuevocliente.bal new file mode 100644 index 0000000..8161a65 Binary files /dev/null and b/B4A/Files/nuevocliente.bal differ diff --git a/B4A/Files/nuevocliente.jpg b/B4A/Files/nuevocliente.jpg new file mode 100644 index 0000000..1d49f9c Binary files /dev/null and b/B4A/Files/nuevocliente.jpg differ diff --git a/B4A/Files/nvo cliente.jpg b/B4A/Files/nvo cliente.jpg new file mode 100644 index 0000000..f45ceab Binary files /dev/null and b/B4A/Files/nvo cliente.jpg differ diff --git a/B4A/Files/palomita_verde.png b/B4A/Files/palomita_verde.png new file mode 100644 index 0000000..f8e11e6 Binary files /dev/null and b/B4A/Files/palomita_verde.png differ diff --git a/B4A/Files/panel_pick_ciego.bal b/B4A/Files/panel_pick_ciego.bal new file mode 100644 index 0000000..ca5109d 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..3112ac9 Binary files /dev/null and b/B4A/Files/pedido.bal differ diff --git a/B4A/Files/principal.bal b/B4A/Files/principal.bal new file mode 100644 index 0000000..b3c7f30 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..24c6075 Binary files /dev/null and b/B4A/Files/proditem.bal differ diff --git a/B4A/Files/proditem1.bal b/B4A/Files/proditem1.bal new file mode 100644 index 0000000..7326ada Binary files /dev/null and b/B4A/Files/proditem1.bal differ diff --git a/B4A/Files/proditem2.bal b/B4A/Files/proditem2.bal new file mode 100644 index 0000000..f6839fd Binary files /dev/null and b/B4A/Files/proditem2.bal differ diff --git a/B4A/Files/proditempromo.bal b/B4A/Files/proditempromo.bal new file mode 100644 index 0000000..e963c83 Binary files /dev/null and b/B4A/Files/proditempromo.bal differ diff --git a/B4A/Files/productos.bal b/B4A/Files/productos.bal new file mode 100644 index 0000000..03c5911 Binary files /dev/null and b/B4A/Files/productos.bal differ diff --git a/B4A/Files/promociones.bal b/B4A/Files/promociones.bal new file mode 100644 index 0000000..fcadcbc Binary files /dev/null and b/B4A/Files/promociones.bal differ diff --git a/B4A/Files/resdia.bal b/B4A/Files/resdia.bal new file mode 100644 index 0000000..b138059 Binary files /dev/null and b/B4A/Files/resdia.bal differ diff --git a/B4A/Files/resdia.jpg b/B4A/Files/resdia.jpg new file mode 100644 index 0000000..bbdc493 Binary files /dev/null and b/B4A/Files/resdia.jpg differ diff --git a/B4A/Files/resdia20.png b/B4A/Files/resdia20.png new file mode 100644 index 0000000..d6fd3ef Binary files /dev/null and b/B4A/Files/resdia20.png differ diff --git a/B4A/Files/resumendia.jpg b/B4A/Files/resumendia.jpg new file mode 100644 index 0000000..329d288 Binary files /dev/null and b/B4A/Files/resumendia.jpg differ diff --git a/B4A/Files/scrollpromos.bal b/B4A/Files/scrollpromos.bal new file mode 100644 index 0000000..ed43e43 Binary files /dev/null and b/B4A/Files/scrollpromos.bal differ diff --git a/B4A/Files/senial.jpg b/B4A/Files/senial.jpg new file mode 100644 index 0000000..a758065 Binary files /dev/null and b/B4A/Files/senial.jpg differ diff --git a/B4A/Files/shark.png b/B4A/Files/shark.png new file mode 100644 index 0000000..c5ed6fb Binary files /dev/null and b/B4A/Files/shark.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..e335cd7 Binary files /dev/null and b/B4A/Files/tabulador.bal differ diff --git a/B4A/Files/tache_rojo.png b/B4A/Files/tache_rojo.png new file mode 100644 index 0000000..2f5f59d Binary files /dev/null and b/B4A/Files/tache_rojo.png differ diff --git a/B4A/Files/ticket dia.jpg b/B4A/Files/ticket dia.jpg new file mode 100644 index 0000000..887000b Binary files /dev/null and b/B4A/Files/ticket dia.jpg differ diff --git a/B4A/Files/ticketdia20.jpg b/B4A/Files/ticketdia20.jpg new file mode 100644 index 0000000..33a3f29 Binary files /dev/null and b/B4A/Files/ticketdia20.jpg differ diff --git a/B4A/Files/ticketdia20.png b/B4A/Files/ticketdia20.png new file mode 100644 index 0000000..03e33ce Binary files /dev/null and b/B4A/Files/ticketdia20.png differ diff --git a/B4A/Files/ticketsdia.bal b/B4A/Files/ticketsdia.bal new file mode 100644 index 0000000..0362e18 Binary files /dev/null and b/B4A/Files/ticketsdia.bal differ diff --git a/B4A/Files/tiendita.jpg b/B4A/Files/tiendita.jpg new file mode 100644 index 0000000..5f52563 Binary files /dev/null and b/B4A/Files/tiendita.jpg differ diff --git a/B4A/Files/verde.png b/B4A/Files/verde.png new file mode 100644 index 0000000..59edded Binary files /dev/null and b/B4A/Files/verde.png differ diff --git a/B4A/FirebaseMessaging.bas b/B4A/FirebaseMessaging.bas new file mode 100644 index 0000000..a5f2721 --- /dev/null +++ b/B4A/FirebaseMessaging.bas @@ -0,0 +1,226 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Service +Version=10.2 +@EndOfDesignText@ +'/////////////////////////////////////////////////////////////////////////////////////// +'/// Agregar estas lineas al editor de manifiestos +' +' CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase) +' CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase) +' CreateResourceFromFile(Macro, FirebaseAnalytics.FirebaseAnalytics) +' CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications) +' +'/// Agregar modulo de servicio nuevo FirebaseMessaging y copiar este modulo +' +'/// Bajar el archivo google-services.json de la consola de Firebase (https://console.firebase.google.com/) +'/// El nombre de la app en el archivo json tiene que ser el mismo que el nombre del paquete (Proyecto/Conf de Compilacion/Paquete) +' +'/// En Starter agregar esta linea +' +' Sub Service_Create +' CallSubDelayed(FirebaseMessaging, "SubscribeToTopics") +' End Sub +' +'/// En Main en Sub Process_Globals agregar esta linea +' +' Private const API_KEY As String = "AAAAv__xxxxxxxxxxxxx-xxxxxxxxxxxxxx-xxxxxxxxxxxx" +' +'/// Esta llave se consigue igualmente en la consola de Firebase, configuracion de proyecto, Cloud Messaging, +'/// es la clave de servidor. +'/// +'/// Se necesitan agregar las librerías: FirebaseAnalitics, FirebaseNotifications, JSON y OkHttpUtils2 +'/// ... JSON es necesario si se van a enviar mensajes, si solo se van a recibir, no es necesario. +' +'/////////////////////////////////////////////////////////////////////////////////////// + +Sub Process_Globals +' Private fm As FirebaseMessaging + Private const API_KEY As String = "AAAAv1qt3Lk:APA91bECIR-pHn6ul53eYyoVlpPuOo85RO-0zcAgEXwE7vqw8DFSbBtCaCINiqWQAkBBZXxHtQMdpU6B-jHIqgFKVL196UgwHv0Gw6_IgmipfV_NiItjzlH9d2QNpGLp9y_JUKVjUEhP" 'Api_Key cheveguerra@gmail.com/Pusher + Dim locRequest As String +' Dim phn As Phone + Dim pe As PhoneEvents + Dim c As Cursor + Public GZip As GZipStrings + Dim Sprvsr As String = "Sprv-Cedex" ' El topico al que se mandan los mensajes push + Dim Subscrito As String + Dim au As String 'ignore +End Sub + +Sub Service_Create +' fm.Initialize("fm") 'Inicializamos FirebaseMessaging + pe.Initialize("pe") 'Para obtener la bateria +End Sub + +Public Sub SubscribeToTopics +' fm.SubscribeToTopic("Trckr") 'Topico general Keymon + fm.SubscribeToTopic("Trckr") 'Tracker Global +' Log("Suscrito al tracker global") + fm.SubscribeToTopic("Trckr-Cedex") 'Topico de Guna + If "Cdx_"&B4XPages.MainPage.usuario <> Subscrito Then + fm.SubscribeToTopic("Cdx_"&B4XPages.MainPage.usuario) 'Propio (you can subscribe to more topics) + fm.UnsubscribeFromTopic(Subscrito) 'Unsubscribe from topic + End If +' Log("Subscrito a "&"Cdx_"&B4XPages.MainPage.usuario) + Subscrito = "Cdx_"&B4XPages.MainPage.usuario +' Log(fm.token) +' fm.UnsubscribeFromTopic("Sprvsr") 'Unsubscribe from topic +End Sub + +Sub Service_Start (StartingIntent As Intent) + If StartingIntent.IsInitialized Then fm.HandleIntent(StartingIntent) + Sleep(0) + Service.StopAutomaticForeground 'remove if not using B4A v8+. + StartServiceAt(Me, DateTime.Now + 15 * DateTime.TicksPerMinute, True) 'Iniciamos servicio cada XX minutos +End Sub + +Sub fm_MessageArrived (Message As RemoteMessage) + Log("Message arrived") + Log($"Message data: ${Message.GetData}"$) +' getPhnId + If Message.GetData.ContainsKey("t") Then + Dim tipos As List = Regex.Split(",",Message.GetData.Get("t")) + If tipos.IndexOf("pu") <> -1 Or tipos.IndexOf("au") <> -1 Then 'Si es una peticion de ubicacion + Log("Es una peticion de ubicacion") + locRequest="Activa" + Log("Llamamos StartFLPSmall") + CallSubDelayed(Tracker, "StartFLPSmall") + CallSubDelayed(Tracker, "StartFLP") + End If + If tipos.IndexOf("au") <> -1 Then 'Si es una actualizacion de ubicacion + au = 1 + End If + If tipos.IndexOf("ping") <> -1 Then 'Si es un ping + Log("Es un ping") + Log("Mandamos pong") + Dim params As Map = CreateMap("topic":Sprvsr,"title":"pong", "body":B4XPages.MainPage.usuario&" - Recibi mensaje "&Message.GetData.Get("title"), "t":"pong") + SendMessage(params) + End If + If tipos.IndexOf("bgps") <> -1 Then 'Si es una instruccion de borrar archivo gps + Log("Es una instruccion de borrar archivo gps") + Log("Borramos archivo gps") + borramosArchivoGPS + End If + If tipos.IndexOf("dr") <> -1 Then 'Si es una peticion de ruta gps + Log("Es una peticion de Ruta GPS") + Dim rutaGpsCmp As String = dameRuta + Dim params As Map = CreateMap("topic":Sprvsr,"title":"ruta", "body":B4XPages.MainPage.usuario&" - Recibi mensaje "&Message.GetData.Get("title"), "t":"ruta", "r":rutaGpsCmp) + SendMessage(params) + End If + If tipos.IndexOf("bgps2") <> -1 Then 'Si es una instruccion de borrar DB gps + Log("Es una instruccion de borrar BD gps") + Log("Borramos BD gps") + borraGPSHist + End If + If tipos.IndexOf("pu") = -1 And tipos.IndexOf("au") = -1 And tipos.IndexOf("ping") = -1 And tipos.IndexOf("dr") = -1 Then + Log("No es ping ni solicitud de ubicacion o ruta, entonces no hacemos nada") + End If + End If +' Dim n As Notification +' n.Initialize +' n.Icon = "icon" +' n.SetInfo("Guna", "Guna", Main) +' n.Notify(1) +End Sub + +Sub Service_Destroy + +End Sub + +Sub SendMessage(params As Map) + Dim topic As String= params.Get("topic") + Dim title As String= params.Get("title") + Dim body As String= params.Get("body") + Dim tipo As String= params.Get("t") + If params.ContainsKey("r") Then + Log("Con ruta") + Dim rutaGpsCmp As String= params.Get("r") + Else + Log("Sin ruta") + Dim rutaGpsCmp As String = "" + End If + Dim Job As HttpJob + Job.Initialize("fcm", Me) + Dim m As Map = CreateMap("to": $"/topics/${topic}"$) + Dim data As Map = CreateMap("title":title, "body":body, "d":B4XPages.MainPage.usuario, "t":tipo, "b":B4XPages.MainPage.batt, "mt":B4XPages.MainPage.montoActual, "r":rutaGpsCmp, "v":B4XPages.MainPage.v) + m.Put("data", data) + Dim jg As JSONGenerator + jg.Initialize(m) + Job.PostString("https://fcm.googleapis.com/fcm/send", jg.ToString) + Job.GetRequest.SetContentType("application/json;charset=UTF-8") + Job.GetRequest.SetHeader("Authorization", "key=" & API_KEY) + Log(m) 'ignore +End Sub + +Sub mandamosLoc(coords As String) +' Log("Iniciamos mandamosLoc "&coords) +' Log("locRequest="&locRequest) + If locRequest="Activa" Then 'Si hay solicitud de ubicacion, entonces la mandamos ... + Dim params As Map = CreateMap("topic":Sprvsr,"title":"ubicacionRecibida", "body":coords, "t":"u") + SendMessage(params) + locRequest="Enviada" + CallSubDelayed(Tracker,"CreateLocationRequest") + End If +End Sub + +Sub guardaInfoEnArchivo(coords As String) 'ignore 'Escribimos coordenadas y fecha a un archivo de texto + Log("Guardamos ubicacion en BD") + Dim latlon() As String = Regex.Split(",", coords) + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)", Array As Object (latlon(2),latlon(0),latlon(1))) +End Sub + +Sub borramosArchivoGPS + Dim out As OutputStream = File.OpenOutput(File.DirRootExternal, "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 + +Sub pe_BatteryChanged (Level As Int, Scale As Int, Plugged As Boolean, Intent As Intent) + B4XPages.MainPage.batt=Level +End Sub + +Sub compress(str As String) As String + ' Compression + Private su As StringUtils + Dim compressed() As Byte = GZip.compress(str) + Log($"CompressedBytesLength: ${compressed.Length}"$) + Dim base64 As String = su.EncodeBase64(compressed) + Log($"CompressedBytes converted to base64 Length: ${base64.Length}"$) + Log($"CompressedBytes converted to base64: ${base64}"$) + Return base64 +End Sub + +Sub decompress(base64 As String) As String 'ignore + ' Decompression + Private su As StringUtils + Dim decompressedbytes() As Byte = su.DecodeBase64(base64) + Log($"decompressedbytesLength: ${decompressedbytes.Length}"$) + Dim bc As ByteConverter + Dim uncompressed As String = bc.StringFromBytes(decompressedbytes,"UTF8") + Log($"uncompressedLength: ${uncompressed.Length}"$) ' 6163 Bytes + Log($"Decompressed String = ${uncompressed}"$) + Return uncompressed +End Sub + +Sub dameRuta As String + Log("dameRuta") + Dim c As Cursor + c = B4XPages.MainPage.skmt.ExecQuery("select LAT, LON from RUTA_GPS order by FECHA desc limit 390") + 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") + Next + End If + c.Close + Return compress(ruta2) +End Sub + +Sub borraGPSHist + c = B4XPages.MainPage.skmt.ExecQuery("delete FROM RUTA_GPS") +End Sub \ No newline at end of file diff --git a/B4A/ISKA.b4a.meta b/B4A/ISKA.b4a.meta new file mode 100644 index 0000000..bc0fdf5 --- /dev/null +++ b/B4A/ISKA.b4a.meta @@ -0,0 +1,99 @@ +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= +ModuleBookmarks31= +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= +ModuleBreakpoints31= +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= +ModuleClosedNodes31= +ModuleClosedNodes4= +ModuleClosedNodes5= +ModuleClosedNodes6= +ModuleClosedNodes7= +ModuleClosedNodes8= +ModuleClosedNodes9= +NavigationStack=Main,Process_Globals,20,0 +SelectedBuild=0 +VisibleModules=1,2,3,4,5,6,7,8,9,10,13,17,29,31 diff --git a/B4A/IZCA.b4a.meta b/B4A/IZCA.b4a.meta new file mode 100644 index 0000000..77004bb --- /dev/null +++ b/B4A/IZCA.b4a.meta @@ -0,0 +1,99 @@ +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= +ModuleBookmarks31= +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= +ModuleBreakpoints31= +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= +ModuleClosedNodes31= +ModuleClosedNodes4= +ModuleClosedNodes5= +ModuleClosedNodes6= +ModuleClosedNodes7= +ModuleClosedNodes8= +ModuleClosedNodes9= +NavigationStack=C_Principal,B4XPage_Appear,541,4,C_RespaldoDiario,respaldaInventarios,98,0,C_RespaldoDiario,revisaSkmtAttached,73,0,C_RespaldoDiario,respaldaPedido,83,0,C_Principal,Class_Globals,0,0,Main,Activity_ActionBarHomeClick,34,0,C_Principal,b_productos_Click,3286,6,Diseñador Visual,principal.bal,-100,1,Diseñador Visual,cliente.bal,-100,2,C_Principal,connecta_Click,2373,1,C_Cliente,B4XPage_Appear,475,6 +SelectedBuild=0 +VisibleModules=1,2,3,4,5,6,7,8,9,10,13 diff --git a/B4A/MAPA_CLIENTE.bas b/B4A/MAPA_CLIENTE.bas new file mode 100644 index 0000000..967334f --- /dev/null +++ b/B4A/MAPA_CLIENTE.bas @@ -0,0 +1,130 @@ +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") + c = Starter.skmt.ExecQuery("SELECT CAT_CL_LAT, CAT_CL_LONG, CAT_CL_NOMBRE FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION ALL SELECT CAT_CL_LAT, CAT_CL_LONG, CAT_CL_NOMBRE FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + + If c.RowCount > 0 Then + c.Position = 0 +' Subs.centraPanel(p_principal, Activity.Width) +' p_principal.Height = Activity.Height * 0.95 +'' latmarker = c.GetString("CAT_CL_LAT") +' longmarker = c.GetString("CAT_CL_LONG") +'' NOMBRE_TIENDA = c.GetString("CAT_CL_NOMBRE") + marcador1.Snippet = c.GetString("CAT_CL_NOMBRE") + End If + '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 + c = Starter.skmt.ExecQuery("SELECT CAT_CL_LAT, CAT_CL_LONG, CAT_CL_NOMBRE FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION ALL SELECT CAT_CL_LAT, CAT_CL_LONG, CAT_CL_NOMBRE FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + + If c.RowCount > 0 Then + c.Position = 0 + Subs.centraPanel(p_principal, Activity.Width) + p_principal.Height = Activity.Height * 0.95 + latmarker = c.GetString("CAT_CL_LAT") + longmarker = c.GetString("CAT_CL_LONG") + NOMBRE_TIENDA = c.GetString("CAT_CL_NOMBRE") + End If +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..3991c7c --- /dev/null +++ b/B4A/MAPA_RUTAS.bas @@ -0,0 +1,499 @@ +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 ruta As String + 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 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 lista_punta As List + Dim lista_punta2 As List + +End Sub + +Sub Activity_Create(FirstTime As Boolean) + Activity.LoadLayout("MAPA_RUTAS") +' If File.ExternalWritable Then +' ruta = File.DirDefaultExternal +' Else + ruta = File.DirInternal +' End If + If File.Exists(ruta, "kmt.db") = False Then + File.Copy(File.DirAssets, "kmt.db", ruta, "kmt.db") + End If + skmt.Initialize(ruta,"kmt.db", True) + 'GPS + 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") + If MapFragment1.IsGooglePlayServicesAvailable = False Then + ToastMessageShow("Please install Google Play Services.", True) + End If + Else + ToastMessageShow("No permission", True) + B4XPages.ShowPage("Principal") + End If +' If(FirstTime) Then +' Starter.GPS.Initialize("GPS") +' End If + + + '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 +End Sub + +Sub Activity_Resume + Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION) + Wait For Activity_PermissionResult (Permission As String, Result As Boolean) + If Result Then + If Starter.GPS.GPSEnabled = False Then + ToastMessageShow("Debe Activar el GPS del Equipo.", True) + StartActivity(Starter.GPS.LocationSettingsIntent) + Else + Starter.GPS.Start(0, 0) + End If + End If + lista_punta.Initialize + lista_punta2.Initialize + + LIST_AZUL.Initialize + LIST_ROJO.Initialize + LIST_VERDE.Initialize + verde = 0 + azul = 1 + rojo = 0 + todos = 0 + + + +' DrawPolygon +End Sub + +Sub MapFragment1_Ready + Log("ENTRANDO MapFragment1_Ready") + gmap = MapFragment1.GetMap + gmap.IsInitialized + 'todos= 1 + 'permisos + + 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 VISITAR + If azul = 1 Or todos = 1 Then + c.IsInitialized + c=skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG 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_LAT <> ' ' and CAT_CL_LONG <> ' ' and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1") +' skmt.Initialize(ruta,"kmt.db", True) + Log($"============== Resultados = ${c.RowCount}"$) + If c.RowCount > 0 Then + For i = 0 To c.RowCount - 1 + c.Position = i +' Log($"|${c.GetString("CAT_CL_LONG")}|${c.GetString("CAT_CL_LAT")}|"$) +' Log(i&"|"&c.GetString("CAT_CL_LAT")&"|") + LatitudRu = 0 + Log(c.GetString("CAT_CL_CODIGO")&" "& c.GetString("CAT_CL_LAT")) + If c.GetString("CAT_CL_LAT") <> "" Then LatitudRu = c.GetString("CAT_CL_LAT") + LongitudRU = 0 + If c.GetString("CAT_CL_LONG") <> "" Then LongitudRU = c.GetString("CAT_CL_LONG") + CODIGO=c.GetString("CAT_CL_CODIGO") + Tienda= c.GetString("CAT_CL_NOMBRE") + MARK_AZUL = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO, gmap.HUE_BLUE) + MARK_AZUL.Snippet = Tienda + Next + End If + c .Close +' Log("4") + + If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MARK_AZUL) + End If + '''''''----------------------------MARKER VERDE - VENTA + If verde = 1 Or todos = 1 Then + c2.IsInitialized + c2=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT 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 <> 0 and CAT_CL_CODIGO <> 1 UNION select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info2 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 <> 0 and CAT_CL_CODIGO <> 1") + Log($"============== Resultados = ${c2.RowCount}"$) + For i = 0 To c2.RowCount -1 + c2.Position = i +' Log($"|${c2.GetString("CAT_CL_LONG")}|${c2.GetString("CAT_CL_LAT")}|"$) + If IsNumber(c2.GetString("CAT_CL_LONG")) Then + LongitudRU = c2.GetString("CAT_CL_LONG") + LatitudRu = c2.GetString("CAT_CL_LAT") + CODIGO=c2.GetString("CAT_CL_CODIGO") + Tienda= c2.GetString("CAT_CL_NOMBRE") + MARK_VERDE = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO,gmap.HUE_GREEN) + MARK_VERDE.Snippet = Tienda + End If + Next + Else + If verde = 1 Or todos = 1 Then + c2.IsInitialized + c2=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT 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 <> 0 and CAT_CL_CODIGO <> 1") + Log($"============== Resultados = ${c2.RowCount}"$) + For i = 0 To c2.RowCount -1 + c2.Position = i +' Log($"|${c2.GetString("CAT_CL_LONG")}|${c2.GetString("CAT_CL_LAT")}|"$) + LongitudRU = c2.GetString("CAT_CL_LONG") + LatitudRu = c2.GetString("CAT_CL_LAT") + CODIGO=c2.GetString("CAT_CL_CODIGO") + Tienda= c2.GetString("CAT_CL_NOMBRE") + MARK_VERDE = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO,gmap.HUE_GREEN) + MARK_VERDE.Snippet = Tienda + Next + c2 .Close + If MARK_VERDE.IsInitialized Then LIST_VERDE.Add(MARK_VERDE) + End If + End If +' '''''''----------------------------MARKER ROJO - NO VENTA + + If rojo = 1 Or todos = 1 Then + c3.IsInitialized + c3=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT 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 <> 0 and CAT_CL_CODIGO <> 1") + Log($"============== Resultados = ${c3.RowCount}"$) + For i = 0 To c3.RowCount -1 + c3.Position = i +' Log($"|${c3.GetString("CAT_CL_LONG")}|${c3.GetString("CAT_CL_LAT")}|"$) + LongitudRU = c3.GetDouble("CAT_CL_LONG") + LatitudRu = c3.GetDouble("CAT_CL_LAT") + CODIGO = c3.GetString("CAT_CL_CODIGO") + Tienda= c3.GetString("CAT_CL_NOMBRE") + MARK_ROJO = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO, gmap.HUE_RED) + MARK_ROJO.Snippet = Tienda + Next + Else + If rojo = 1 Or todos = 1 Then + c3.IsInitialized + c3=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT 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 <> 0 and CAT_CL_CODIGO <> 1") + Log($"============== Resultados = ${c3.RowCount}"$) + For i = 0 To c3.RowCount -1 + c3.Position = i +' Log($"|${c3.GetString("CAT_CL_LONG")}|${c3.GetString("CAT_CL_LAT")}|"$) + LongitudRU = c3.GetDouble("CAT_CL_LONG") + LatitudRu = c3.GetDouble("CAT_CL_LAT") + CODIGO = c3.GetString("CAT_CL_CODIGO") + Tienda= c3.GetString("CAT_CL_NOMBRE") + MARK_ROJO = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO, gmap.HUE_RED) + MARK_ROJO.Snippet = 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) + + + + Dim pol As Cursor = Starter.skmt.ExecQuery("SELECT LAT, LONG FROM POLIGONO") + If pol.RowCount > 0 Then + + For poli = 0 To pol.RowCount -1 + pol.Position = poli + Dim coords As LatLng + coords.Initialize(pol.GetString("LAT"), pol.GetString("LONG")) + lista_punta.Add(coords) + Next + +' Dim coords As LatLng +' coords.Initialize(19.534596, -99.148633) +' lista_punta.Add(coords) +' +' Dim coords2 As LatLng +' coords2.Initialize(19.532618, -99.147368) +' lista_punta.Add(coords2) +' +' Dim coords3 As LatLng +' coords3.Initialize(19.530434, -99.143527) +' lista_punta.Add(coords3) +' +' Dim coords4 As LatLng +' coords4.Initialize(19.527077290122044, -99.1408877054847) +' lista_punta.Add(coords4) +' +' Dim coords5 As LatLng +' coords5.Initialize(19.52232469669526, -99.14022251766785) +' lista_punta.Add(coords5) +' +' Dim coords6 As LatLng +' coords6.Initialize(19.52212245552407, -99.14288326892365) +' lista_punta.Add(coords6) +' +' Dim coords7 As LatLng +' coords7.Initialize(19.52414485532313, -99.1441707292143) +' lista_punta.Add(coords7) +' +' Dim coords9 As LatLng +' coords9.Initialize(19.525681862241495, -99.14623066567934) +' lista_punta.Add(coords9) +' +' Dim coords9 As LatLng +' coords9.Initialize(19.52794689841748, -99.14923473969085) +' lista_punta.Add(coords9) +' +' Dim coords10 As LatLng +' coords10.Initialize(19.52950409236695, -99.15127321848439) +' lista_punta.Add(coords10) + + If lista_punta.Size >= 4 Then + DrawPolygon(lista_punta) + End If + End If +End Sub +' +''''-------------------------- PRUEBA CON MARKER _CLICK + + +Sub OnInfoWindowClickListener1_click(Marker1 As Marker) + skmt.ExecNonQuery("delete from CUENTAA") + skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?) ", Array As Object(Marker1.Title)) + Activity.Finish + Starter.pre_viejo = Subs.traeTotalClientepreventaparacredito + 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_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 MapFragment1_LongClick (mPoint As LatLng) +' +' gmap.AddMarker3(mPoint.Latitude,mPoint.Longitude, "MicroArea ",LoadBitmap(File.DirAssets,"marker-amarillo.png") ).InfoWindowShown = True +' +' lista_punta.Add(19.4826598,-99.1507823) +' lista_punta.Add(19.4866943,-99.1466811) +' lista_punta.Add(19.484925, -99.143379) +' lista_punta.Add(19.482510, -99.149406) +' lista_punta2.Add(mPoint) +' +' +' +' If lista_punta2.Size = 6 Then +' DrawPolygon(lista_punta2) +' End If +'End Sub + +Sub MapFragment1_Click (Point As LatLng) + + Log(Point.Latitude) + Log(Point.Longitude) + +End Sub + + +Sub DrawPolygon (PointList As List) + Dim GoogleMapsExtras1 As GoogleMapsExtras + Dim polygonoptions1 As PolygonOptions + polygonoptions1.Initialize + polygonoptions1.FillColor=Colors.ARGB(100,255,0,0) + polygonoptions1.AddPoints(PointList) + polygonoptions1.StrokeColor=Colors.DarkGray + polygonoptions1.StrokeWidth=1 + Dim pg As Polygon = GoogleMapsExtras1.AddPolygon(gmap, polygonoptions1) +End Sub + +Sub PointInPolygon(point As LatLng, polygon As List) As Boolean + Dim x As Double = point.Longitude + Dim y As Double = point.Latitude + + Dim inside As Boolean = False + For i = 0 To polygon.Size - 1 + Dim j As Int = (i + 1) Mod polygon.Size + Dim p1_1 As LatLng = polygon.Get(i) + Dim p2_1 As LatLng = polygon.Get(j) + + Dim xi As Double = p1_1.Longitude + Dim yi As Double = p1_1.Latitude + Dim xj As Double = p2_1.Longitude + Dim yj As Double = p2_1.Latitude + + Dim intersect As Boolean = ((yi > y) <> (yj > y)) And (x < (xj - xi) * (y - yi) / (yj - yi) + xi) + If intersect Then + inside = Not(inside) + End If + Next + + Return inside + + +End Sub + +Sub MapFragment1_LongClick (mPoint As LatLng) + ' Verificar si el punto está dentro del polígono + If lista_punta.Size > 0 Then + Dim dentro As Boolean = PointInPolygon(mPoint, lista_punta) + + If dentro Then + ToastMessageShow("El punto está DENTRO del polígono", True) + Else + ToastMessageShow("El punto está FUERA del polígono", True) + End If + End If + + ' Agregar marcador y punto a la lista + gmap.AddMarker3(mPoint.Latitude, mPoint.Longitude, "MicroArea ", LoadBitmap(File.DirAssets, "marker-amarillo.png")).InfoWindowShown = True + lista_punta2.Add(mPoint) + + If lista_punta2.Size = 6 Then + DrawPolygon(lista_punta2) + End If +End Sub \ No newline at end of file diff --git a/B4A/MARQUEZ.b4a.meta b/B4A/MARQUEZ.b4a.meta new file mode 100644 index 0000000..9bd51e8 --- /dev/null +++ b/B4A/MARQUEZ.b4a.meta @@ -0,0 +1,99 @@ +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= +ModuleBookmarks31= +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= +ModuleBreakpoints31= +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= +ModuleClosedNodes31= +ModuleClosedNodes4= +ModuleClosedNodes5= +ModuleClosedNodes6= +ModuleClosedNodes7= +ModuleClosedNodes8= +ModuleClosedNodes9= +NavigationStack=Main,Activity_ActionBarHomeClick,37,0,Main,Create_Menu,56,0,B4XMainPage,i_engrane_Click,883,0,C_Nota,Class_Globals,0,0,C_Nota,B4XPage_Appear,124,0,C_Nota,ListView1_ItemLongClick,302,0,C_Nota,borra_Click,296,0,C_Principal,Class_Globals,0,0,C_Principal,B4XPage_Appear,556,0,C_NoVenta,Class_Globals,0,0,C_NoVenta,GUARDA_Click,108,0 +SelectedBuild=0 +VisibleModules=1,2,13,4,5,7,8,9,10,14 diff --git a/B4A/ManageExternalStorage.bas b/B4A/ManageExternalStorage.bas new file mode 100644 index 0000000..f14c1f7 --- /dev/null +++ b/B4A/ManageExternalStorage.bas @@ -0,0 +1,79 @@ +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/NotificationService.bas b/B4A/NotificationService.bas new file mode 100644 index 0000000..d56b2d2 --- /dev/null +++ b/B4A/NotificationService.bas @@ -0,0 +1,218 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Service +Version=11 +@EndOfDesignText@ +#Region Service Attributes + #StartAtBoot: False +#End Region + +'****************************************************************************** +'Se necesita la libreria ReplyAuto. + +'No olvidar agregar esta linea al editor de manifiesto: + +'AddApplicationText( +' +' +' ) + +'En B4XPage_Appear de MainPage agregar estas lineas: +' +'If Not(CheckNotificationAccess) Then +' Msgbox2Async($"Se necesita acceso a las notificaciones, haga clic en "Aceptar" y en la siguiente pantalla permita el acceso a la aplicación "${Application.LabelName}"."$, "Permisos necesarios", "Aceptar", "Cancelar", "", Null, True) +' Wait For Msgbox_Result (resultado As Int) +' If resultado = DialogResponse.POSITIVE Then +' Dim In As Intent +' In.Initialize("android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS", "") +' StartActivity(In) +' End If +'End If +' +'Y al final de Mainpage agregar esta funcion: +' +''Revisa si la aplicación tiene permiso para acceder a las notificaciones. +'Sub CheckNotificationAccess As Boolean 'ignore +' Dim ph As Phone +' Dim nstr, pstr As String +' Dim r As Reflector +' pstr = r.GetStaticField("anywheresoftware.b4a.BA", "packageName") +' nstr = ph.GetSettings("enabled_notification_listeners") +' Return nstr.Contains(pstr) +'End Sub + +'****************************************************************************** + + + + +Sub Process_Globals + 'These global variables will be declared once when the application starts. + 'These variables can be accessed from all modules. + Dim rp As ReplyAuto +' Dim activo As Boolean = True +' Dim ultimaNoti As String + Dim logger As Boolean = False +End Sub + +Sub Service_Create + rp.Initialize("NotiMon") + #if not(DEBUG) + logger = False + #end if +' If logger Then Log("**************** Iniciamos Monitor Keymon ***********************") +End Sub + +Sub Service_Start (StartingIntent As Intent) +' Log("NotificationService Start") + If rp.HandleIntent(StartingIntent) Then Return +' DateTime.DateFormat = "mm" +' ultimaNoti = DateTime.Date(DateTime.now) +' If logger Then LogColor($"Ultima notificación en el minuto ${ultimaNoti}"$, Colors.green) +End Sub + +Sub Service_Destroy + +End Sub + +Sub NotiMon_NotificationPosted (SBN As StatusBarNotification) + Private logger As Boolean = True + If SBN.PackageName = "com.whatsapp" Then + If logger Then LogColor(SBN.PackageName, Colors.Red) + If logger Then LogColor("isGroupWA2: "&isGroupWA(SBN),Colors.Magenta) + If logger Then LogColor("isPersonWA: "&isPersonWA(SBN),Colors.Magenta) + If logger Then Log($"getGroupName: |${getGroupName(SBN.Title)}|"$) + Private cmd() As String = Regex.Split(" ", SBN.Message) + If SBN.Message.StartsWith("#NS") And cmd.Length = 2 Then 'Si el mensaje contiene "#NS" y tiene un segundo parametro ... + If esMensajeWAValido(SBN) Then +' Log(cmd(1)) + rp.ClearNotification(SBN) + Starter.reinicializaReqManager(cmd(1)) + rp.reply(SBN.Notification, SBN.PackageName, $"Servidor cambiado a ${cmd(1)} "$) + Sleep(1000) +' rp.ClearNotification(SBN) + rp.ClearAll + End If + End If + End If +End Sub + +'Regresa verdadero si el mensaje de whatsapp es un mensaje valido. +Sub esMensajeWAValido(SBN As StatusBarNotification) + Private valido As Boolean = False + Private ww() As String = Regex.Split("\|", SBN.Key) + If ww(3) <> Null And ww(3) <> "null" Then valido = True + Return valido +End Sub + +'Returns TRUE if the sender is a GROUP. +'Searches the provided sbn.title for the string ": " to know if the sender is a group. +Sub isGroupWA2(sbnTitle As String) As Boolean 'ignore + Private x As Boolean = Regex.ismatch(".*(: ).*", sbnTitle) + Return x +End Sub + +'Returns TRUE if the sender is a GROUP. +'Searches the provided notification object for the string "@g.us" and if found returns TRUE. +Sub isGroupWA(sbn As StatusBarNotification) As Boolean + Private a As Boolean = False + If sbn.As(String).IndexOf("@g.us") > -1 Then a = True 'ignore + Return a +End Sub + +'Returns TRUE if the sender is a PERSON. +'Searches the provided notification object for the string "@s.whatsapp.net" and if found returns TRUE. +Sub isPersonWA(sbn As StatusBarNotification) As Boolean 'ignore + Private a As Boolean = False + If sbn.As(String).IndexOf("@s.whatsapp.net") > -1 Then a = True 'ignore + Return a +End Sub + +'Returns TRUE if the sender is a PERSON. +'Searches the provided notification object for the string "channel=individual" and if found returns TRUE. +Sub isPersonWA2(sbn As StatusBarNotification) As Boolean 'ignore + Private a As Boolean = False + If sbn.As(String).IndexOf("channel=individual") > -1 Then a = True 'ignore + Return a +End Sub + +'Returns the sender's number. +'Searches the provided notification object and gets the numbers between "shortcut=" and "@s.whatsapp.net". +Sub getNumberWA(sbn As StatusBarNotification) As String + Private a As Int = sbn.As(String).IndexOf("@s.whatsapp.net") 'ignore + If a > -1 Then + Private x As String = sbn.As(String) 'ignore + Private y As Int = x.IndexOf("shortcut=") + If (y+9) > 0 And a > (y+9) Then x = x.SubString2(y+9, a) Else x = "Not a person" + Else 'It is probably is a group. + x = "Not a person" + End If + Return x +End Sub + +'Returns the name of the group from the given text. +'If it is not a group, then returns the notification's title. +Sub getGroupName(sbnTitle As String) As String 'ignore + Private a As Int = sbnTitle.IndexOf(": ") + Private x As String = sbnTitle + If a > -1 Then + Private b As String = sbnTitle.SubString2(0, a) + x = Regex.Replace(" \(.+\)", b, "") + End If + Return x +End Sub + +'Returns the name of the group from the given notification object. +'Searches the provided notification for the string "hiddenConversationTitle" and if found, gets the name. +'If it is not a group,then it returns the notification's title. +Sub getGroupName2(sbn As StatusBarNotification) As String 'ignore + Private inicio As Int = sbn.Extras.As(String).IndexOf("hiddenConversationTitle=") 'ignore + If inicio > -1 And sbn.Extras.As(String).IndexOf("hiddenConversationTitle=null") = -1 Then 'ignore + Private x As String = sbn.Extras.As(String) 'ignore + Private fin As Int = x.IndexOf(", android.reduced.images=") + x = x.SubString2(inicio+24, fin) + x = Regex.Replace(" \(.+\)", x, "") 'Replace anything between () with "", this en the case that we have something like "MyGroupName (5 messages)" + Else 'Is not from a group. + Private x As String = sbn.Title + End If + Return x +End Sub + +'Returns the person's name (or the number) when the message comes from a group. +'Searches the provided sbn.title for the string ": " in the title and returns the string after that, +'if it does not find ": " then returns the complete string. +Sub getPersonFromGroup(sbnTitle As String) As String 'ignore + Private a As Int = sbnTitle.IndexOf(": ") + If a = -1 Then a = -2 'Is not from a group. + Private b As String = sbnTitle.SubString(a+2) + Return b +End Sub + +'Returns the NUMBER of the sender and if NOT a person, then returns the name of the group. +Sub getNumberOrGroupWA(sbn As StatusBarNotification) As String 'ignore + Private numRemitente As String = getNumberWA(sbn) + If numRemitente = "Not a person" Then numRemitente = getGroupName(sbn.Title) + Return numRemitente +End Sub + +'Regresa el "shortcut" del remitente. +'Si es de un grupo, es algo como "120363023512345678@g.us" +'Si es de una persona, entonces "5215512345678@s.whatsapp.net" +Sub getShortcut(sbn As StatusBarNotification) As String 'ignore + Private ap As Int = sbn.As(String).IndexOf("@s.whatsapp.net") 'ignore + Private ag As Int = sbn.As(String).IndexOf("@g.us") 'ignore + Private x As String = sbn.As(String) 'ignore + Private y As Int = x.IndexOf("shortcut=") + If ap > -1 Then + Private x As String = sbn.As(String) 'ignore + Private y As Int = x.IndexOf("shortcut=") + x = x.SubString2(y+9, ap+15) + Else if ag > -1 Then 'It is probably is a group. + Private x As String = sbn.As(String) 'ignore + Private y As Int = x.IndexOf("shortcut=") + x = x.SubString2(y+9, ag+5) + End If + Return x +End Sub \ No newline at end of file diff --git a/B4A/Objects/AndroidManifest.xml b/B4A/Objects/AndroidManifest.xml new file mode 100644 index 0000000..0ef4419 --- /dev/null +++ b/B4A/Objects/AndroidManifest.xml @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/B4A/Objects/SHARK2_RAPID_DEBUG.apk b/B4A/Objects/SHARK2_RAPID_DEBUG.apk new file mode 100644 index 0000000..1201677 Binary files /dev/null and b/B4A/Objects/SHARK2_RAPID_DEBUG.apk differ 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/pclvseekbar.bal b/B4A/Objects/b4xlibs/Files/pclvseekbar.bal new file mode 100644 index 0000000..0dac6e1 Binary files /dev/null and b/B4A/Objects/b4xlibs/Files/pclvseekbar.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/bin/classes/SHARK2/keymon/com/mx/R$anim.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$anim.class new file mode 100644 index 0000000..5435591 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$anim.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$attr.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$attr.class new file mode 100644 index 0000000..0d70483 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$attr.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$color.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$color.class new file mode 100644 index 0000000..c2dd3a3 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$color.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$dimen.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$dimen.class new file mode 100644 index 0000000..08deee6 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$dimen.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$drawable.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$drawable.class new file mode 100644 index 0000000..0ebb616 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$drawable.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$id.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$id.class new file mode 100644 index 0000000..7b1d6f8 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$id.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$integer.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$integer.class new file mode 100644 index 0000000..69d7d5a Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$integer.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$layout.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$layout.class new file mode 100644 index 0000000..dcb2b45 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$layout.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$string.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$string.class new file mode 100644 index 0000000..d341796 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$string.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$style.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$style.class new file mode 100644 index 0000000..52c4b6b Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$style.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$styleable.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$styleable.class new file mode 100644 index 0000000..cc1b9d0 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$styleable.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$xml.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$xml.class new file mode 100644 index 0000000..8eae939 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R$xml.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R.class new file mode 100644 index 0000000..7ab06a7 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/R.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/animatedcounter.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/animatedcounter.class new file mode 100644 index 0000000..167d552 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/animatedcounter.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.class new file mode 100644 index 0000000..4d7abc9 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar.class new file mode 100644 index 0000000..1edf2ed Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$1.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$1.class new file mode 100644 index 0000000..add615e Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$1.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$2.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$2.class new file mode 100644 index 0000000..326d1fd Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$2.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$ResumableSub_Service_Start.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$ResumableSub_Service_Start.class new file mode 100644 index 0000000..0eefbb6 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$ResumableSub_Service_Start.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$ResumableSub_download_newApk.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$ResumableSub_download_newApk.class new file mode 100644 index 0000000..de4b5fd Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$ResumableSub_download_newApk.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$_mnewversion.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$_mnewversion.class new file mode 100644 index 0000000..aa5b752 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$_mnewversion.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$appupdater_BR.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$appupdater_BR.class new file mode 100644 index 0000000..974bbf0 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater$appupdater_BR.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater.class new file mode 100644 index 0000000..02234d4 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/appupdater.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xbitset.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xbitset.class new file mode 100644 index 0000000..33ab24b Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xbitset.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xbreadcrumb.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xbreadcrumb.class new file mode 100644 index 0000000..4ac11ca Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xbreadcrumb.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xbytesbuilder.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xbytesbuilder.class new file mode 100644 index 0000000..fd33b07 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xbytesbuilder.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcache$_b4xcacheitem.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcache$_b4xcacheitem.class new file mode 100644 index 0000000..6844bbc Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcache$_b4xcacheitem.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcache.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcache.class new file mode 100644 index 0000000..abbd091 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcache.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcollections.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcollections.class new file mode 100644 index 0000000..cc02ab6 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcollections.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.class new file mode 100644 index 0000000..4eb37ea Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.class new file mode 100644 index 0000000..a8b1098 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate.class new file mode 100644 index 0000000..ab1c267 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.class new file mode 100644 index 0000000..0f2efbb Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcombobox.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcombobox.class new file mode 100644 index 0000000..c16a9bc Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcombobox.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcomparatorsort.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcomparatorsort.class new file mode 100644 index 0000000..89cf952 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xcomparatorsort.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.class new file mode 100644 index 0000000..3551336 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate.class new file mode 100644 index 0000000..48ac5ac Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_Show.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_Show.class new file mode 100644 index 0000000..28475da Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.class new file mode 100644 index 0000000..131cf0c Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.class new file mode 100644 index 0000000..fe47da2 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdialog.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdialog.class new file mode 100644 index 0000000..18e84c3 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xdialog.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class new file mode 100644 index 0000000..b285457 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield.class new file mode 100644 index 0000000..8f4f148 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xformatter$_b4xformatdata.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xformatter$_b4xformatdata.class new file mode 100644 index 0000000..c808727 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xformatter$_b4xformatdata.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xformatter.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xformatter.class new file mode 100644 index 0000000..de9cccd Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xformatter.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4ximageview.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4ximageview.class new file mode 100644 index 0000000..591187a Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4ximageview.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.class new file mode 100644 index 0000000..95ceef3 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate.class new file mode 100644 index 0000000..d5bd4eb Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.class new file mode 100644 index 0000000..25ce271 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate.class new file mode 100644 index 0000000..8c7f2b8 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.class new file mode 100644 index 0000000..e8697d1 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator.class new file mode 100644 index 0000000..d909dfe Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xlongtexttemplate.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xlongtexttemplate.class new file mode 100644 index 0000000..802fbc4 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xlongtexttemplate.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..4994138 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..1476636 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Created.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Created.class new file mode 100644 index 0000000..3a97456 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Created.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.class new file mode 100644 index 0000000..21e030d Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_importarBD_Click.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_importarBD_Click.class new file mode 100644 index 0000000..1d647c7 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_importarBD_Click.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_terpc_Click.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_terpc_Click.class new file mode 100644 index 0000000..c955233 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_terpc_Click.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.class new file mode 100644 index 0000000..c64685b Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage.class new file mode 100644 index 0000000..a62f0a5 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xmainpage.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xorderedmap.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xorderedmap.class new file mode 100644 index 0000000..9411d95 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xorderedmap.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpages.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpages.class new file mode 100644 index 0000000..bda8718 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpages.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesdelegator.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesdelegator.class new file mode 100644 index 0000000..1bd5f06 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesdelegator.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.class new file mode 100644 index 0000000..1b517fe Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.class new file mode 100644 index 0000000..3577056 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.class new file mode 100644 index 0000000..a94f2c3 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.class new file mode 100644 index 0000000..d22d8da Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.class new file mode 100644 index 0000000..89b5040 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager.class new file mode 100644 index 0000000..49807b6 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.class new file mode 100644 index 0000000..ce9588d Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xplusminus.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xplusminus.class new file mode 100644 index 0000000..c79360e Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xplusminus.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.class new file mode 100644 index 0000000..7bf2ecd Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton.class new file mode 100644 index 0000000..1aceb24 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.class new file mode 100644 index 0000000..35a3b27 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate.class new file mode 100644 index 0000000..44b6cb2 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xseekbar.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xseekbar.class new file mode 100644 index 0000000..0250cb5 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xseekbar.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xset.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xset.class new file mode 100644 index 0000000..2030002 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xset.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xsignaturetemplate.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xsignaturetemplate.class new file mode 100644 index 0000000..df133ef Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xsignaturetemplate.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.class new file mode 100644 index 0000000..81c6a3d Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xswitch.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xswitch.class new file mode 100644 index 0000000..06fd796 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xswitch.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.class new file mode 100644 index 0000000..36e3ee7 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate.class new file mode 100644 index 0000000..3c64dfe Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/batteryutilities.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/batteryutilities.class new file mode 100644 index 0000000..387c267 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/batteryutilities.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..6791580 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Created.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Created.class new file mode 100644 index 0000000..f9fd537 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Created.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_Guardar_Click.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_Guardar_Click.class new file mode 100644 index 0000000..6263710 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_Guardar_Click.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_b_abono_Click.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_b_abono_Click.class new file mode 100644 index 0000000..2d35ff6 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_b_abono_Click.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_pagare.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_pagare.class new file mode 100644 index 0000000..df23eb8 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_pagare.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_preventa.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_preventa.class new file mode 100644 index 0000000..9f7280c Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_preventa.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_venta.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_venta.class new file mode 100644 index 0000000..0a39bf8 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_venta.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_sc_result.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_sc_result.class new file mode 100644 index 0000000..df70e60 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente$ResumableSub_sc_result.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente.class new file mode 100644 index 0000000..2bd3e77 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cliente.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..d843d80 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_clientes.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_clientes.class new file mode 100644 index 0000000..39f3456 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_clientes.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cuestionario.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cuestionario.class new file mode 100644 index 0000000..a7a6be9 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_cuestionario.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..7ade9f9 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_historico.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_historico.class new file mode 100644 index 0000000..5170d6a Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_historico.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_mapas.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_mapas.class new file mode 100644 index 0000000..0e9da54 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_mapas.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..a5f328e Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_nota.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_nota.class new file mode 100644 index 0000000..253b544 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_nota.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_noventa.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_noventa.class new file mode 100644 index 0000000..de7d6b9 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_noventa.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.class new file mode 100644 index 0000000..fb46bc9 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente.class new file mode 100644 index 0000000..a0c8a85 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..4bec937 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_pedidos.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_pedidos.class new file mode 100644 index 0000000..ea383ba Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_pedidos.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..b354fd9 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..2b19ab8 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal$ResumableSub_Btn_Ubicar_Click.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal$ResumableSub_Btn_Ubicar_Click.class new file mode 100644 index 0000000..7319c36 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal$ResumableSub_Btn_Ubicar_Click.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal$_titledata.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal$_titledata.class new file mode 100644 index 0000000..6601776 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal$_titledata.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal.class new file mode 100644 index 0000000..1376a43 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_principal.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..b2c5fda Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..8dc2f57 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.class new file mode 100644 index 0000000..030834d Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_productos.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_productos.class new file mode 100644 index 0000000..9b7b5a3 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_productos.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_promos.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_promos.class new file mode 100644 index 0000000..d9bf3bd Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_promos.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_respaldodiario.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_respaldodiario.class new file mode 100644 index 0000000..13e0efa Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_respaldodiario.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_subs.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_subs.class new file mode 100644 index 0000000..9c76290 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_subs.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_tabulador.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_tabulador.class new file mode 100644 index 0000000..4a4eb20 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_tabulador.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_ticketsdia.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_ticketsdia.class new file mode 100644 index 0000000..21d722b Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_ticketsdia.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..7210559 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_updateavailable.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_updateavailable.class new file mode 100644 index 0000000..15266f9 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/c_updateavailable.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.class new file mode 100644 index 0000000..4cbc127 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.class new file mode 100644 index 0000000..c2315cb Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.class new file mode 100644 index 0000000..957c8ce Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.class new file mode 100644 index 0000000..a354894 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.class new file mode 100644 index 0000000..3212412 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate.class new file mode 100644 index 0000000..4dc9cb8 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/cl_appupdate.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager$_dbcommand.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager$_dbcommand.class new file mode 100644 index 0000000..0b2784d Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager$_dbcommand.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager$_dbresult.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager$_dbresult.class new file mode 100644 index 0000000..dc77ece Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager$_dbresult.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager.class new file mode 100644 index 0000000..b9963e7 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_c_cuentasxcobrar.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_c_cuentasxcobrar.class new file mode 100644 index 0000000..313cea3 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_c_cuentasxcobrar.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_celltitle.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_celltitle.class new file mode 100644 index 0000000..bcf6f86 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_celltitle.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_cliente.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_cliente.class new file mode 100644 index 0000000..563fa0e Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_cliente.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_clientes.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_clientes.class new file mode 100644 index 0000000..40595b1 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_clientes.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_cobranza.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_cobranza.class new file mode 100644 index 0000000..0448ed0 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_cobranza.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_datoscliente.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_datoscliente.class new file mode 100644 index 0000000..961d4ff Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_datoscliente.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_folioabono.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_folioabono.class new file mode 100644 index 0000000..126b144 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_folioabono.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_login.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_login.class new file mode 100644 index 0000000..e1cb175 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_login.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_mainpage.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_mainpage.class new file mode 100644 index 0000000..f9b3304 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_mainpage.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_mapa_cliente.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_mapa_cliente.class new file mode 100644 index 0000000..756495a Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_mapa_cliente.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_mapa_rutas.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_mapa_rutas.class new file mode 100644 index 0000000..7c190b0 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_mapa_rutas.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_nuevocliente.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_nuevocliente.class new file mode 100644 index 0000000..7f99132 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_nuevocliente.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_panel_pick_ciego.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_panel_pick_ciego.class new file mode 100644 index 0000000..79d86f6 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_panel_pick_ciego.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_pclvseekbar.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_pclvseekbar.class new file mode 100644 index 0000000..889bc3e Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_pclvseekbar.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_pedido.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_pedido.class new file mode 100644 index 0000000..83688be Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_pedido.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_principal.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_principal.class new file mode 100644 index 0000000..4351770 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_principal.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_proditem.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_proditem.class new file mode 100644 index 0000000..7c57c26 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_proditem.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_proditem1.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_proditem1.class new file mode 100644 index 0000000..5149a6b Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_proditem1.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_proditem2.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_proditem2.class new file mode 100644 index 0000000..e1ea4a1 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_proditem2.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_productos.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_productos.class new file mode 100644 index 0000000..430d5d8 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_productos.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_promociones.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_promociones.class new file mode 100644 index 0000000..540e517 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_promociones.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_resdia.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_resdia.class new file mode 100644 index 0000000..bd08556 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_resdia.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_scrollpromos.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_scrollpromos.class new file mode 100644 index 0000000..3c10d04 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_scrollpromos.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_searchtemplate.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_searchtemplate.class new file mode 100644 index 0000000..be57d1d Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_searchtemplate.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_tabulador.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_tabulador.class new file mode 100644 index 0000000..f22ccfc Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/designerscripts/LS_tabulador.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/escposprinter$_animage.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/escposprinter$_animage.class new file mode 100644 index 0000000..04c3f9f Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/escposprinter$_animage.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/escposprinter.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/escposprinter.class new file mode 100644 index 0000000..cad7f4f Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/escposprinter.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/filehandler$ResumableSub_Load.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/filehandler$ResumableSub_Load.class new file mode 100644 index 0000000..4efa79f Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/filehandler$ResumableSub_Load.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/filehandler$ResumableSub_SaveAs.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/filehandler$ResumableSub_SaveAs.class new file mode 100644 index 0000000..01aff0e Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/filehandler$ResumableSub_SaveAs.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/filehandler$_loadresult.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/filehandler$_loadresult.class new file mode 100644 index 0000000..1cc50b7 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/filehandler$_loadresult.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/filehandler.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/filehandler.class new file mode 100644 index 0000000..e61d220 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/filehandler.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/fileprovider.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/fileprovider.class new file mode 100644 index 0000000..b2a5d24 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/fileprovider.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/httpjob$_multipartfiledata.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/httpjob$_multipartfiledata.class new file mode 100644 index 0000000..2c9780a Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/httpjob$_multipartfiledata.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/httpjob.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/httpjob.class new file mode 100644 index 0000000..31f033d Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/httpjob.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/httputils2service.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/httputils2service.class new file mode 100644 index 0000000..9e74fb1 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/httputils2service.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/madewithlove.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/madewithlove.class new file mode 100644 index 0000000..4786a11 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/madewithlove.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$1.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$1.class new file mode 100644 index 0000000..dbfa6a2 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$1.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$B4AMenuItemsClickListener.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$B4AMenuItemsClickListener.class new file mode 100644 index 0000000..9203a38 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$B4AMenuItemsClickListener.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$HandleKeyDelayed.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$HandleKeyDelayed.class new file mode 100644 index 0000000..57232d7 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$HandleKeyDelayed.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$ResumeMessage.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$ResumeMessage.class new file mode 100644 index 0000000..b00428c Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$ResumeMessage.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$WaitForLayout.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$WaitForLayout.class new file mode 100644 index 0000000..9528557 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main$WaitForLayout.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main.class new file mode 100644 index 0000000..3347c18 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/main.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/manageexternalstorage.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/manageexternalstorage.class new file mode 100644 index 0000000..710f985 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/manageexternalstorage.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/map2xml.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/map2xml.class new file mode 100644 index 0000000..31ce11a Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/map2xml.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$1.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$1.class new file mode 100644 index 0000000..f7bde1d Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$1.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$B4AMenuItemsClickListener.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$B4AMenuItemsClickListener.class new file mode 100644 index 0000000..97618c2 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$B4AMenuItemsClickListener.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$HandleKeyDelayed.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$HandleKeyDelayed.class new file mode 100644 index 0000000..cb333ef Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$HandleKeyDelayed.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$ResumableSub_MapFragment1_Ready.class new file mode 100644 index 0000000..79161c9 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$ResumeMessage.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$ResumeMessage.class new file mode 100644 index 0000000..7b65a99 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$ResumeMessage.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$WaitForLayout.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$WaitForLayout.class new file mode 100644 index 0000000..2dec5d1 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente$WaitForLayout.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente.class new file mode 100644 index 0000000..8489991 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_cliente.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$1.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$1.class new file mode 100644 index 0000000..638a694 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$1.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$B4AMenuItemsClickListener.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$B4AMenuItemsClickListener.class new file mode 100644 index 0000000..fdd6876 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$B4AMenuItemsClickListener.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$HandleKeyDelayed.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$HandleKeyDelayed.class new file mode 100644 index 0000000..aa62032 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$HandleKeyDelayed.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Create.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Create.class new file mode 100644 index 0000000..d6dff1d Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Create.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Resume.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Resume.class new file mode 100644 index 0000000..13627ed Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Resume.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.class new file mode 100644 index 0000000..2fbad57 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$ResumeMessage.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$ResumeMessage.class new file mode 100644 index 0000000..a4933d0 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$ResumeMessage.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$WaitForLayout.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$WaitForLayout.class new file mode 100644 index 0000000..e496848 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas$WaitForLayout.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas.class new file mode 100644 index 0000000..55ea6f0 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/mapa_rutas.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/newinst2$1.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/newinst2$1.class new file mode 100644 index 0000000..62821e8 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/newinst2$1.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/newinst2$2.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/newinst2$2.class new file mode 100644 index 0000000..f77c253 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/newinst2$2.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/newinst2$newinst2_BR.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/newinst2$newinst2_BR.class new file mode 100644 index 0000000..02f300c Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/newinst2$newinst2_BR.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/newinst2.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/newinst2.class new file mode 100644 index 0000000..c60aa67 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/newinst2.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice$1.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice$1.class new file mode 100644 index 0000000..4886245 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice$1.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice$2.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice$2.class new file mode 100644 index 0000000..03c51ad Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice$2.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice$ResumableSub_NotiMon_NotificationPosted.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice$ResumableSub_NotiMon_NotificationPosted.class new file mode 100644 index 0000000..1c87104 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice$ResumableSub_NotiMon_NotificationPosted.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice$notificationservice_BR.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice$notificationservice_BR.class new file mode 100644 index 0000000..a2f239b Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice$notificationservice_BR.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice.class new file mode 100644 index 0000000..8c2d05d Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/notificationservice.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/pendientes.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/pendientes.class new file mode 100644 index 0000000..fbd8840 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/pendientes.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.class new file mode 100644 index 0000000..71d57f0 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.class new file mode 100644 index 0000000..ea9303c Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv.class new file mode 100644 index 0000000..b127734 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/roundslider.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/roundslider.class new file mode 100644 index 0000000..0a0a6b3 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/roundslider.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.class new file mode 100644 index 0000000..a81009e Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/scrollinglabel.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/scrollinglabel.class new file mode 100644 index 0000000..41658dc Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/scrollinglabel.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/starter$1.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/starter$1.class new file mode 100644 index 0000000..50dc554 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/starter$1.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/starter$2.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/starter$2.class new file mode 100644 index 0000000..3781aad Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/starter$2.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/starter$starter_BR.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/starter$starter_BR.class new file mode 100644 index 0000000..078874e Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/starter$starter_BR.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/starter.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/starter.class new file mode 100644 index 0000000..df9b278 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/starter.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/subs.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/subs.class new file mode 100644 index 0000000..190be93 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/subs.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/swiftbutton.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/swiftbutton.class new file mode 100644 index 0000000..d119123 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/swiftbutton.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$1.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$1.class new file mode 100644 index 0000000..9a19e58 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$1.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$2.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$2.class new file mode 100644 index 0000000..aa963ef Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$2.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$ResumableSub_StartFLP.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$ResumableSub_StartFLP.class new file mode 100644 index 0000000..aa55898 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$ResumableSub_StartFLP.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.class new file mode 100644 index 0000000..06f4666 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$tracker_BR.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$tracker_BR.class new file mode 100644 index 0000000..64343ea Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker$tracker_BR.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker.class new file mode 100644 index 0000000..7697ef7 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/tracker.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/xml2map$_xmlelement.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/xml2map$_xmlelement.class new file mode 100644 index 0000000..83fd199 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/xml2map$_xmlelement.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/xml2map.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/xml2map.class new file mode 100644 index 0000000..0079827 Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/xml2map.class differ diff --git a/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/xuiviewsutils.class b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/xuiviewsutils.class new file mode 100644 index 0000000..b40528d Binary files /dev/null and b/B4A/Objects/bin/classes/SHARK2/keymon/com/mx/xuiviewsutils.class 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..f75788e 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..7f120f2 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..2b466f4 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..15677e8 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..d78eba4 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..fb09322 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..e46c2f4 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..77fa95a 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..4bbe035 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..8c08fea 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..3e340b1 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..24a4678 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..88928f2 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..5dbb871 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..e93cc8d 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..5682326 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..1128a50 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..d73d281 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..113228f 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..526d71c 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..73a2d81 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..8740bc6 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..ae8129a 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..53cb0ee 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..e7eed03 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..35749fa 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..1476872 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..03e3fa6 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..7094392 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..0d0a449 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..c71601e 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..0644676 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..e01920b 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..07f6e66 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..78ac025 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..55474e8 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..70d40dd 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..d516683 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..1d1baba 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..aa80ed7 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..e0552c0 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..5210548 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..65fcde2 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..6ae1e0a 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..7c6272d 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..4c031c2 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..28476ae 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..935e215 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..b5988ef 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..6954f32 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..affaebc 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..3e53485 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..421ca7d 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..9a0bffa 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..f1d75a9 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..88dddac 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..7f3bcb4 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..7678665 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..2656f3b 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..39ae3d5 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..9c18e35 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..b714819 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..93f49c2 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..57989bd 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..fa0d328 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..920e8c7 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..bca8290 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..cdbd779 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..ebf3a67 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..11b9495 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..f2f630b 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..a69702d 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..626766e 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..5a22f5d 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..ccf4fe7 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..ea67186 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..a236e7a 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..e77d9ec 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..81038d4 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..d54f7aa 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..35849df 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..3a723ec 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..f26f18d 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..5659c09 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..dfea870 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..72a6718 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..20bea04 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..51f1ad5 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..62c4775 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..1328a27 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..89963cf 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..e95de95 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..443b6a8 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..afa976f 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..586e005 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..73189b3 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..d918e1f 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..913e740 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..d7c590b 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..0965695 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..2554031 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..9d366ac 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..8d9526b 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..3d49e52 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..53feaf7 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..65473b5 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..37d784a 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..7bb1c1f 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..aabb976 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..1874012 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..14b01c6 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..c489c89 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..4753d2a 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..a4ab3e7 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..416e4bf 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..15411b7 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..9f6e34b 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/com/google/firebase/messaging/R$anim.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$anim.class new file mode 100644 index 0000000..150f18f Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$anim.class differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$attr.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$attr.class new file mode 100644 index 0000000..f842106 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$attr.class differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$color.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$color.class new file mode 100644 index 0000000..cca0ea9 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$color.class differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$dimen.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$dimen.class new file mode 100644 index 0000000..a43c428 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$dimen.class differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$drawable.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$drawable.class new file mode 100644 index 0000000..ae992a0 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$drawable.class differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$id.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$id.class new file mode 100644 index 0000000..e99eeb2 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$id.class differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$integer.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$integer.class new file mode 100644 index 0000000..b371e09 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$integer.class differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$layout.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$layout.class new file mode 100644 index 0000000..296eb51 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$layout.class differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$string.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$string.class new file mode 100644 index 0000000..2f94b10 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$string.class differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$style.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$style.class new file mode 100644 index 0000000..5af4c49 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$style.class differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$styleable.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$styleable.class new file mode 100644 index 0000000..3cd2efc Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$styleable.class differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$xml.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$xml.class new file mode 100644 index 0000000..851d230 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$xml.class differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R.class new file mode 100644 index 0000000..adfe979 Binary files /dev/null and b/B4A/Objects/bin/classes/com/google/firebase/messaging/R.class differ diff --git a/B4A/Objects/bin/extra/assets/b4x_fontawesome.otf b/B4A/Objects/bin/extra/assets/b4x_fontawesome.otf new file mode 100644 index 0000000..401ec0f Binary files /dev/null and b/B4A/Objects/bin/extra/assets/b4x_fontawesome.otf differ diff --git a/B4A/Objects/bin/extra/assets/b4x_materialicons.ttf b/B4A/Objects/bin/extra/assets/b4x_materialicons.ttf new file mode 100644 index 0000000..7015564 Binary files /dev/null and b/B4A/Objects/bin/extra/assets/b4x_materialicons.ttf differ diff --git a/B4A/Objects/bin/extra/compiled_resources/SHARK2.keymon.com.mx.zip b/B4A/Objects/bin/extra/compiled_resources/SHARK2.keymon.com.mx.zip new file mode 100644 index 0000000..3174cc0 Binary files /dev/null and b/B4A/Objects/bin/extra/compiled_resources/SHARK2.keymon.com.mx.zip 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/com.google.firebase.messaging.zip b/B4A/Objects/bin/extra/compiled_resources/com.google.firebase.messaging.zip new file mode 100644 index 0000000..f19e09f Binary files /dev/null and b/B4A/Objects/bin/extra/compiled_resources/com.google.firebase.messaging.zip differ diff --git a/B4A/Objects/bin/temp.ap_ b/B4A/Objects/bin/temp.ap_ new file mode 100644 index 0000000..c5a45a3 Binary files /dev/null and b/B4A/Objects/bin/temp.ap_ differ diff --git a/B4A/Objects/classes.dex b/B4A/Objects/classes.dex new file mode 100644 index 0000000..15712e9 Binary files /dev/null and b/B4A/Objects/classes.dex differ diff --git a/B4A/Objects/d8_arguments.txt b/B4A/Objects/d8_arguments.txt new file mode 100644 index 0000000..bb69b8c --- /dev/null +++ b/B4A/Objects/d8_arguments.txt @@ -0,0 +1,464 @@ +--release +--output +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects +--lib +C:\Android\platforms\android-30\android.jar +--min-api +21 +C:\Android\tools\..\extras\b4a_local\unpacked-b4ashared-63837499356000\dex_v1\b4ashared.zip +C:\Android\tools\..\extras\b4a_local\unpacked-debug-63837499358000\dex_v1\debug.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement\19.0.0\unpacked-play-services-measurement-19.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\legacy\legacy-support-core-utils\1.0.0\unpacked-legacy-support-core-utils-1.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.3.1\unpacked-core-1.3.1\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-runtime\2.2.0\unpacked-lifecycle-runtime-2.2.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\versionedparcelable\versionedparcelable\1.1.1\unpacked-versionedparcelable-1.1.1\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\documentfile\documentfile\1.0.1\unpacked-documentfile-1.0.1\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\loader\loader\1.1.0\unpacked-loader-1.1.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-livedata-core\2.2.0\unpacked-lifecycle-livedata-core-2.2.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\arch\core\core-runtime\2.1.0\unpacked-core-runtime-2.1.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-viewmodel\2.2.0\unpacked-lifecycle-viewmodel-2.2.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\localbroadcastmanager\localbroadcastmanager\1.0.0\unpacked-localbroadcastmanager-1.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\print\print\1.0.0\unpacked-print-1.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-ads-identifier\17.0.1\unpacked-play-services-ads-identifier-17.0.1\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-basement\17.6.0\unpacked-play-services-basement-17.6.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\fragment\fragment\1.2.5\unpacked-fragment-1.2.5\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\viewpager\viewpager\1.0.0\unpacked-viewpager-1.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\customview\customview\1.1.0\unpacked-customview-1.1.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\activity\activity\1.1.0\unpacked-activity-1.1.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\savedstate\savedstate\1.0.0\unpacked-savedstate-1.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-viewmodel-savedstate\2.2.0\unpacked-lifecycle-viewmodel-savedstate-2.2.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-base\19.0.0\unpacked-play-services-measurement-base-19.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-impl\19.0.0\unpacked-play-services-measurement-impl-19.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-stats\17.0.1\unpacked-play-services-stats-17.0.1\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-common\19.3.1\unpacked-firebase-common-19.3.1\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-tasks\17.2.1\unpacked-play-services-tasks-17.2.1\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-components\16.0.0\unpacked-firebase-components-16.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-api\19.0.0\unpacked-play-services-measurement-api-19.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-sdk-api\19.0.0\unpacked-play-services-measurement-sdk-api-19.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-installations\16.3.3\unpacked-firebase-installations-16.3.3\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-installations-interop\16.0.0\unpacked-firebase-installations-interop-16.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-measurement-connector\18.0.0\unpacked-firebase-measurement-connector-18.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-messaging\20.3.0\unpacked-firebase-messaging-20.3.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\datatransport\transport-api\2.2.1\unpacked-transport-api-2.2.1\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\datatransport\transport-backend-cct\2.3.3\unpacked-transport-backend-cct-2.3.3\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\datatransport\transport-runtime\2.2.6\unpacked-transport-runtime-2.2.6\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-encoders-json\17.1.0\unpacked-firebase-encoders-json-17.1.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-cloud-messaging\16.0.0\unpacked-play-services-cloud-messaging-16.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-datatransport\17.0.8\unpacked-firebase-datatransport-17.0.8\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-iid\20.2.4\unpacked-firebase-iid-20.2.4\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-iid-interop\17.0.0\unpacked-firebase-iid-interop-17.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-base\17.6.0\unpacked-play-services-base-17.6.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-core\17.5.1\unpacked-firebase-core-17.5.1\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-analytics\17.6.0\unpacked-firebase-analytics-17.6.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-sdk\19.0.0\unpacked-play-services-measurement-sdk-19.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-maps\17.0.1\unpacked-play-services-maps-17.0.1\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\legacy\legacy-support-v4\1.0.0\unpacked-legacy-support-v4-1.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\media\media\1.1.0\unpacked-media-1.1.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\legacy\legacy-support-core-ui\1.0.0\unpacked-legacy-support-core-ui-1.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\coordinatorlayout\coordinatorlayout\1.1.0\unpacked-coordinatorlayout-1.1.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\drawerlayout\drawerlayout\1.1.0\unpacked-drawerlayout-1.1.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\slidingpanelayout\slidingpanelayout\1.1.0\unpacked-slidingpanelayout-1.1.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\interpolator\interpolator\1.0.0\unpacked-interpolator-1.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\swiperefreshlayout\swiperefreshlayout\1.1.0\unpacked-swiperefreshlayout-1.1.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\asynclayoutinflater\asynclayoutinflater\1.0.0\unpacked-asynclayoutinflater-1.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\cursoradapter\cursoradapter\1.0.0\unpacked-cursoradapter-1.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-location\18.0.0\unpacked-play-services-location-18.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-places-placereport\17.0.0\unpacked-play-services-places-placereport-17.0.0\jars\classes.zip +c:\android\tools\..\extras\b4a_remote\androidx\multidex\multidex\2.0.1\unpacked-multidex-2.0.1\jars\classes.zip +C:\Android\tools\..\extras\b4a_local\unpacked-baqrcode-63847686106627\dex_v1\baqrcode.zip +C:\Android\tools\..\extras\b4a_local\unpacked-batteryprogressview-63847686106185\dex_v1\batteryprogressview.zip +C:\Android\tools\..\extras\b4a_local\unpacked-byteconverter-63837499358000\dex_v1\byteconverter.zip +C:\Android\tools\..\extras\b4a_local\unpacked-camera-63837499358000\dex_v1\camera.zip +C:\Android\tools\..\extras\b4a_local\unpacked-compressstrings-63847686106189\dex_v1\compressstrings.zip +C:\Android\tools\..\extras\b4a_local\unpacked-contentresolver-63837499358000\dex_v1\contentresolver.zip +C:\Android\tools\..\extras\b4a_local\unpacked-core-63837499358000\dex_v1\core.zip +C:\Android\tools\..\extras\b4a_local\unpacked-firebaseanalytics-63837499358000\dex_v1\firebaseanalytics.zip +C:\Android\tools\..\extras\b4a_local\unpacked-firebasenotifications-63837499358000\dex_v1\firebasenotifications.zip +C:\Android\tools\..\extras\b4a_local\unpacked-fusedlocationprovider-63847686106192\dex_v1\fusedlocationprovider.zip +C:\Android\tools\..\extras\b4a_local\unpacked-googlemaps-63847686106196\dex_v1\googlemaps.zip +C:\Android\tools\..\extras\b4a_local\unpacked-googlemapsextras-63847686106197\dex_v1\googlemapsextras.zip +C:\Android\tools\..\extras\b4a_local\unpacked-gps-63837499358000\dex_v1\gps.zip +C:\Android\tools\..\extras\b4a_local\unpacked-ime-63837499358000\dex_v1\ime.zip +C:\Android\tools\..\extras\b4a_local\unpacked-javaobject-63837499358000\dex_v1\javaobject.zip +C:\Android\tools\..\extras\b4a_local\unpacked-json-63837499358000\dex_v1\json.zip +C:\Android\tools\..\extras\b4a_local\unpacked-phone-63837499358000\dex_v1\phone.zip +C:\Android\tools\..\extras\b4a_local\unpacked-randomaccessfile-63837499358000\dex_v1\randomaccessfile.zip +C:\Android\tools\..\extras\b4a_local\unpacked-replyauto-63847686106585\dex_v1\replyauto.zip +C:\Android\tools\..\extras\b4a_local\unpacked-rspopupmenu-63847686106583\dex_v1\rspopupmenu.zip +C:\Android\tools\..\extras\b4a_local\unpacked-runtimepermissions.androidx-63822351362000\dex_v1\runtimepermissions.zip +C:\Android\tools\..\extras\b4a_local\unpacked-serial-63837499358000\dex_v1\serial.zip +C:\Android\tools\..\extras\b4a_local\unpacked-sql-63837499358000\dex_v1\sql.zip +C:\Android\tools\..\extras\b4a_local\unpacked-stringutils-63837499358000\dex_v1\stringutils.zip +C:\Android\tools\..\extras\b4a_local\unpacked-togglelibrary-63847686106605\dex_v1\togglelibrary.zip +C:\Android\tools\..\extras\b4a_local\unpacked-xcustomlistview-63837499358000\dex_v1\xcustomlistview.zip +C:\Android\tools\..\extras\b4a_local\unpacked-xui-63837499358000\dex_v1\xui.zip +C:\Android\tools\..\extras\b4a_local\unpacked-android-support-annotations-63847686106615\dex_v1\android-support-annotations.zip +C:\Android\tools\..\extras\b4a_local\unpacked-reflection-63837499358000\dex_v1\reflection.zip +C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-63837499358000\dex_v1\okhttp.zip +C:\Android\tools\..\extras\b4a_local\unpacked-bitmapcreator-63837499358000\dex_v1\bitmapcreator.zip +C:\Android\tools\..\extras\b4a_local\unpacked-dateutils-63837499358000\dex_v1\dateutils.zip +C:\Android\tools\..\extras\b4a_local\unpacked-xmlbuilder-63837499358000\dex_v1\xmlbuilder.zip +C:\Android\tools\..\extras\b4a_local\unpacked-xmlsax-63837499358000\dex_v1\xmlsax.zip +C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-4.9.0-63837499358000\dex_v1\okhttp-4.9.0.zip +C:\Android\tools\..\extras\b4a_local\unpacked-okio-2.8.0-63837499358000\dex_v1\okio-2.8.0.zip +C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-urlconnection-4.9.3-63837499358000\dex_v1\okhttp-urlconnection-4.9.3.zip +C:\Android\tools\..\extras\b4a_local\unpacked-kotlin-stdlib-1.6.10-63837499358000\dex_v1\kotlin-stdlib-1.6.10.zip +C:\Android\tools\..\extras\b4a_local\unpacked-remotelogger-63837499358000\dex_v1\remotelogger.zip +c:\android\tools\..\extras\b4a_remote\androidx\collection\collection\1.1.0\collection-1.1.0.zip +c:\android\tools\..\extras\b4a_remote\androidx\annotation\annotation\1.1.0\annotation-1.1.0.zip +c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-common\2.2.0\lifecycle-common-2.2.0.zip +c:\android\tools\..\extras\b4a_remote\androidx\arch\core\core-common\2.1.0\core-common-2.1.0.zip +C:\Android\tools\..\extras\b4a_local\unpacked-javax.inject-javax.inject-63837499358000\dex_v1\javax.inject-javax.inject.zip +c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-encoders\16.0.0\firebase-encoders-16.0.0.zip +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\coordinatorlayout\R$anim.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\coordinatorlayout\R$attr.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\coordinatorlayout\R$color.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\coordinatorlayout\R$dimen.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\coordinatorlayout\R$drawable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\coordinatorlayout\R$id.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\coordinatorlayout\R$integer.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\coordinatorlayout\R$layout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\coordinatorlayout\R$string.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\coordinatorlayout\R$style.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\coordinatorlayout\R$styleable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\coordinatorlayout\R$xml.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\coordinatorlayout\R.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\core\R$anim.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\core\R$attr.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\core\R$color.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\core\R$dimen.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\core\R$drawable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\core\R$id.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\core\R$integer.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\core\R$layout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\core\R$string.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\core\R$style.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\core\R$styleable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\core\R$xml.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\core\R.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\drawerlayout\R$anim.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\drawerlayout\R$attr.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\drawerlayout\R$color.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\drawerlayout\R$dimen.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\drawerlayout\R$drawable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\drawerlayout\R$id.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\drawerlayout\R$integer.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\drawerlayout\R$layout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\drawerlayout\R$string.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\drawerlayout\R$style.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\drawerlayout\R$styleable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\drawerlayout\R$xml.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\drawerlayout\R.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\fragment\R$anim.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\fragment\R$attr.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\fragment\R$color.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\fragment\R$dimen.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\fragment\R$drawable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\fragment\R$id.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\fragment\R$integer.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\fragment\R$layout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\fragment\R$string.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\fragment\R$style.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\fragment\R$styleable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\fragment\R$xml.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\fragment\R.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\media\R$anim.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\media\R$attr.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\media\R$color.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\media\R$dimen.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\media\R$drawable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\media\R$id.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\media\R$integer.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\media\R$layout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\media\R$string.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\media\R$style.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\media\R$styleable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\media\R$xml.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\media\R.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\swiperefreshlayout\R$anim.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\swiperefreshlayout\R$attr.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\swiperefreshlayout\R$color.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\swiperefreshlayout\R$dimen.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\swiperefreshlayout\R$drawable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\swiperefreshlayout\R$id.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\swiperefreshlayout\R$integer.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\swiperefreshlayout\R$layout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\swiperefreshlayout\R$string.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\swiperefreshlayout\R$style.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\swiperefreshlayout\R$styleable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\swiperefreshlayout\R$xml.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\androidx\swiperefreshlayout\R.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\base\R$anim.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\base\R$attr.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\base\R$color.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\base\R$dimen.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\base\R$drawable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\base\R$id.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\base\R$integer.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\base\R$layout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\base\R$string.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\base\R$style.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\base\R$styleable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\base\R$xml.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\base\R.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\common\R$anim.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\common\R$attr.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\common\R$color.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\common\R$dimen.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\common\R$drawable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\common\R$id.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\common\R$integer.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\common\R$layout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\common\R$string.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\common\R$style.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\common\R$styleable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\common\R$xml.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\common\R.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\maps\R$anim.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\maps\R$attr.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\maps\R$color.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\maps\R$dimen.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\maps\R$drawable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\maps\R$id.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\maps\R$integer.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\maps\R$layout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\maps\R$string.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\maps\R$style.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\maps\R$styleable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\maps\R$xml.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\android\gms\maps\R.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\firebase\messaging\R$anim.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\firebase\messaging\R$attr.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\firebase\messaging\R$color.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\firebase\messaging\R$dimen.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\firebase\messaging\R$drawable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\firebase\messaging\R$id.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\firebase\messaging\R$integer.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\firebase\messaging\R$layout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\firebase\messaging\R$string.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\firebase\messaging\R$style.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\firebase\messaging\R$styleable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\firebase\messaging\R$xml.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\com\google\firebase\messaging\R.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\animatedcounter.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\anotherprogressbar$ResumableSub_BusyLoop.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\anotherprogressbar.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\appupdater$1.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\appupdater$2.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\appupdater$appupdater_BR.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\appupdater$ResumableSub_download_newApk.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\appupdater$ResumableSub_Service_Start.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\appupdater$_mnewversion.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\appupdater.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xbitset.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xbreadcrumb.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xbytesbuilder.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xcache$_b4xcacheitem.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xcache.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xcollections.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xcolortemplate$ResumableSub_Show.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xcolortemplate$_colorpickerpart.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xcolortemplate.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xcombobox$ResumableSub_RaiseEvent.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xcombobox.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xcomparatorsort.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xdatetemplate$ResumableSub_Show.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xdatetemplate.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xdialog$ResumableSub_Show.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xdialog$ResumableSub_ShowCustom.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xdialog$ResumableSub_ShowTemplate.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xdialog.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xfloattextfield.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xformatter$_b4xformatdata.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xformatter.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4ximageview.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xinputtemplate$ResumableSub_Show.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xinputtemplate.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xlisttemplate$ResumableSub_Show.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xlisttemplate.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xloadingindicator$ResumableSub_MainLoop.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xloadingindicator.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xlongtexttemplate.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xmainpage$ResumableSub_B4XPage_Appear.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xmainpage$ResumableSub_B4XPage_Created.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xmainpage$ResumableSub_b_envioBD_Click.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xmainpage$ResumableSub_b_importarBD_Click.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xmainpage$ResumableSub_b_terpc_Click.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xmainpage$ResumableSub_copiaDB.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xmainpage.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xorderedmap.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xpages.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xpagesdelegator.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xpagesmanager$PagesMenuListener.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xpagesmanager$ResumableSub_HandleCloseRequest.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xpagesmanager$_b4amenuitem.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xpagesmanager$_b4xpageinfo.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xpagesmanager$_b4xpageparent.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xpagesmanager.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xplusminus$ResumableSub_StartDownLoop.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xplusminus.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xradiobutton$ResumableSub_SetValueImpl.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xradiobutton.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xsearchtemplate$ResumableSub_Show.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xsearchtemplate.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xseekbar.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xset.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xsignaturetemplate.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xswitch$ResumableSub_SetValueImpl.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xswitch.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xtimedtemplate$ResumableSub_Show.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\b4xtimedtemplate.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\batteryutilities.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\cl_appupdate$ResumableSub_DownloadApk.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\cl_appupdate$ResumableSub_IsvalidWV.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\cl_appupdate$ResumableSub_ReadWebVN.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\cl_appupdate$ResumableSub_TryApkUpdate.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\cl_appupdate$ResumableSub_UpdateApk.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\cl_appupdate.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_cliente$ResumableSub_B4XPage_CloseRequest.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_cliente$ResumableSub_B4XPage_Created.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_cliente$ResumableSub_b_abono_Click.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_cliente$ResumableSub_Guardar_Click.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_cliente$ResumableSub_imprime_pagare.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_cliente$ResumableSub_imprime_preventa.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_cliente$ResumableSub_imprime_venta.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_cliente$ResumableSub_sc_result.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_cliente.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_clientes$ResumableSub_B4XPage_CloseRequest.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_clientes.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_cuestionario.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_historico$ResumableSub_B4XPage_CloseRequest.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_historico.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_mapas.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_nota$ResumableSub_B4XPage_CloseRequest.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_nota.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_noventa.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_nuevocliente$ResumableSub_B4XPage_Created.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_nuevocliente.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_pedidos$ResumableSub_B4XPage_CloseRequest.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_pedidos.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_principal$ResumableSub_B4XPage_Appear.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_principal$ResumableSub_B4XPage_CloseRequest.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_principal$ResumableSub_Btn_Ubicar_Click.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_principal$_titledata.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_principal.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_productos$ResumableSub_B4XPage_Appear.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_productos$ResumableSub_B4XPage_CloseRequest.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_productos$ResumableSub_lv_catalogos2_ItemClick.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_productos.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_promos.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_respaldodiario.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_subs.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_tabulador.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_ticketsdia.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_updateavailable$ResumableSub_B4XPage_Appear.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\c_updateavailable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\dbrequestmanager$_dbcommand.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\dbrequestmanager$_dbresult.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\dbrequestmanager.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\escposprinter$_animage.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\escposprinter.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\filehandler$ResumableSub_Load.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\filehandler$ResumableSub_SaveAs.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\filehandler$_loadresult.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\filehandler.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\fileprovider.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\httpjob$_multipartfiledata.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\httpjob.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\httputils2service.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\madewithlove.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\main$1.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\main$B4AMenuItemsClickListener.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\main$HandleKeyDelayed.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\main$ResumeMessage.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\main$WaitForLayout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\main.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\manageexternalstorage.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\map2xml.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_cliente$1.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_cliente$B4AMenuItemsClickListener.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_cliente$HandleKeyDelayed.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_cliente$ResumableSub_MapFragment1_Ready.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_cliente$ResumeMessage.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_cliente$WaitForLayout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_cliente.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_rutas$1.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_rutas$B4AMenuItemsClickListener.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_rutas$HandleKeyDelayed.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_rutas$ResumableSub_Activity_Create.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_rutas$ResumableSub_Activity_Resume.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_rutas$ResumableSub_MapFragment1_Ready.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_rutas$ResumeMessage.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_rutas$WaitForLayout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\mapa_rutas.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\newinst2$1.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\newinst2$2.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\newinst2$newinst2_BR.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\newinst2.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\notificationservice$1.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\notificationservice$2.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\notificationservice$notificationservice_BR.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\notificationservice$ResumableSub_NotiMon_NotificationPosted.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\notificationservice.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\pendientes.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\preoptimizedclv$ResumableSub_ListChangedExternally.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\preoptimizedclv.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\R$anim.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\R$attr.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\R$color.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\R$dimen.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\R$drawable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\R$id.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\R$integer.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\R$layout.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\R$string.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\R$style.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\R$styleable.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\R$xml.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\R.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\roundslider.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\scrollinglabel$ResumableSub_StartScrolling.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\scrollinglabel.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\starter$1.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\starter$2.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\starter$starter_BR.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\starter.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\subs.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\swiftbutton.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\tracker$1.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\tracker$2.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\tracker$ResumableSub_StartFLP.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\tracker$ResumableSub_StartFLPSmall.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\tracker$tracker_BR.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\tracker.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\xml2map$_xmlelement.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\xml2map.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\xuiviewsutils.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_celltitle.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_cliente.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_clientes.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_cobranza.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_c_cuentasxcobrar.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_datoscliente.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_folioabono.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_login.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_mainpage.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_mapa_cliente.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_mapa_rutas.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_nuevocliente.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_panel_pick_ciego.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_pclvseekbar.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_pedido.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_principal.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_proditem.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_proditem1.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_proditem2.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_productos.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_promociones.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_resdia.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_scrollpromos.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_searchtemplate.dex +C:\Desarrollo\SHARK2\SHARK2\B4A\Objects\dexed\SHARK2\keymon\com\mx\designerscripts\LS_tabulador.dex diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$anim.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$anim.dex new file mode 100644 index 0000000..0aa9cab Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$anim.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$attr.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$attr.dex new file mode 100644 index 0000000..eb9144f Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$attr.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$color.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$color.dex new file mode 100644 index 0000000..1123e77 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$color.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$dimen.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$dimen.dex new file mode 100644 index 0000000..8a640b9 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$dimen.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$drawable.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$drawable.dex new file mode 100644 index 0000000..2518030 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$drawable.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$id.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$id.dex new file mode 100644 index 0000000..81eddf6 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$id.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$integer.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$integer.dex new file mode 100644 index 0000000..e282d74 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$integer.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$layout.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$layout.dex new file mode 100644 index 0000000..834e873 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$layout.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$string.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$string.dex new file mode 100644 index 0000000..64ada90 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$string.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$style.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$style.dex new file mode 100644 index 0000000..cb3c7c8 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$style.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$styleable.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$styleable.dex new file mode 100644 index 0000000..e77d743 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$styleable.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$xml.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$xml.dex new file mode 100644 index 0000000..b59a060 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R$xml.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/R.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R.dex new file mode 100644 index 0000000..9f7b1b5 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/R.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/animatedcounter.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/animatedcounter.dex new file mode 100644 index 0000000..5c28e0e Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/animatedcounter.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.dex new file mode 100644 index 0000000..1f3f79c Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/anotherprogressbar.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/anotherprogressbar.dex new file mode 100644 index 0000000..227587f Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/anotherprogressbar.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$1.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$1.dex new file mode 100644 index 0000000..9e4efab Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$1.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$2.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$2.dex new file mode 100644 index 0000000..50ec133 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$2.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$ResumableSub_Service_Start.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$ResumableSub_Service_Start.dex new file mode 100644 index 0000000..54a127b Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$ResumableSub_Service_Start.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$ResumableSub_download_newApk.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$ResumableSub_download_newApk.dex new file mode 100644 index 0000000..2deca11 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$ResumableSub_download_newApk.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$_mnewversion.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$_mnewversion.dex new file mode 100644 index 0000000..0788457 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$_mnewversion.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$appupdater_BR.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$appupdater_BR.dex new file mode 100644 index 0000000..e993254 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater$appupdater_BR.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater.dex new file mode 100644 index 0000000..2762d93 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/appupdater.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xbitset.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xbitset.dex new file mode 100644 index 0000000..9fb32c3 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xbitset.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xbreadcrumb.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xbreadcrumb.dex new file mode 100644 index 0000000..536bcb2 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xbreadcrumb.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xbytesbuilder.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xbytesbuilder.dex new file mode 100644 index 0000000..e3f51b0 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xbytesbuilder.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcache$_b4xcacheitem.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcache$_b4xcacheitem.dex new file mode 100644 index 0000000..c03ba6b Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcache$_b4xcacheitem.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcache.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcache.dex new file mode 100644 index 0000000..373fdd5 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcache.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcollections.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcollections.dex new file mode 100644 index 0000000..4feb080 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcollections.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.dex new file mode 100644 index 0000000..3126a77 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.dex new file mode 100644 index 0000000..e238ed8 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcolortemplate$_colorpickerpart.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcolortemplate.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcolortemplate.dex new file mode 100644 index 0000000..34c016a Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcolortemplate.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.dex new file mode 100644 index 0000000..b1d23c5 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcombobox.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcombobox.dex new file mode 100644 index 0000000..1d7311c Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcombobox.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcomparatorsort.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcomparatorsort.dex new file mode 100644 index 0000000..ee371e4 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xcomparatorsort.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.dex new file mode 100644 index 0000000..006f4f8 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdatetemplate.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdatetemplate.dex new file mode 100644 index 0000000..a0a9683 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdatetemplate.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_Show.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_Show.dex new file mode 100644 index 0000000..7f744b0 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.dex new file mode 100644 index 0000000..a66812e Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.dex new file mode 100644 index 0000000..676b159 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdialog.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdialog.dex new file mode 100644 index 0000000..aecb3f0 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xdialog.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex new file mode 100644 index 0000000..c8b1864 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xfloattextfield.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xfloattextfield.dex new file mode 100644 index 0000000..565bd79 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xfloattextfield.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xformatter$_b4xformatdata.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xformatter$_b4xformatdata.dex new file mode 100644 index 0000000..8173171 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xformatter$_b4xformatdata.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xformatter.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xformatter.dex new file mode 100644 index 0000000..87b4c77 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xformatter.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4ximageview.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4ximageview.dex new file mode 100644 index 0000000..ead3843 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4ximageview.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.dex new file mode 100644 index 0000000..d62e9a7 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xinputtemplate.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xinputtemplate.dex new file mode 100644 index 0000000..327aad3 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xinputtemplate.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.dex new file mode 100644 index 0000000..15a30a6 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xlisttemplate.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xlisttemplate.dex new file mode 100644 index 0000000..0539a5d Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xlisttemplate.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.dex new file mode 100644 index 0000000..2e7ce25 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xloadingindicator.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xloadingindicator.dex new file mode 100644 index 0000000..52cbcf1 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xloadingindicator.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xlongtexttemplate.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xlongtexttemplate.dex new file mode 100644 index 0000000..7330761 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xlongtexttemplate.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.dex new file mode 100644 index 0000000..7d4b958 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..653f926 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Created.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Created.dex new file mode 100644 index 0000000..7b41166 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Created.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.dex new file mode 100644 index 0000000..0f4b676 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_importarBD_Click.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_importarBD_Click.dex new file mode 100644 index 0000000..2c479dd Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_importarBD_Click.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_terpc_Click.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_terpc_Click.dex new file mode 100644 index 0000000..c76f342 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_b_terpc_Click.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.dex new file mode 100644 index 0000000..45e5624 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage.dex new file mode 100644 index 0000000..393a1d6 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xmainpage.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xorderedmap.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xorderedmap.dex new file mode 100644 index 0000000..a12655a Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xorderedmap.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpages.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpages.dex new file mode 100644 index 0000000..e5df75b Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpages.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesdelegator.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesdelegator.dex new file mode 100644 index 0000000..c129627 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesdelegator.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.dex new file mode 100644 index 0000000..a08b602 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$PagesMenuListener.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex new file mode 100644 index 0000000..e8229db Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.dex new file mode 100644 index 0000000..9eb7b78 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$_b4amenuitem.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.dex new file mode 100644 index 0000000..810e6fb Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.dex new file mode 100644 index 0000000..60b549f Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager$_b4xpageparent.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager.dex new file mode 100644 index 0000000..12fb5c2 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xpagesmanager.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.dex new file mode 100644 index 0000000..05980c2 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xplusminus.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xplusminus.dex new file mode 100644 index 0000000..b88cae6 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xplusminus.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.dex new file mode 100644 index 0000000..4a8713f Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xradiobutton.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xradiobutton.dex new file mode 100644 index 0000000..34cc615 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xradiobutton.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.dex new file mode 100644 index 0000000..76fa875 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xsearchtemplate.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xsearchtemplate.dex new file mode 100644 index 0000000..66430f0 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xsearchtemplate.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xseekbar.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xseekbar.dex new file mode 100644 index 0000000..5e4e420 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xseekbar.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xset.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xset.dex new file mode 100644 index 0000000..5cebc4a Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xset.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xsignaturetemplate.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xsignaturetemplate.dex new file mode 100644 index 0000000..57de185 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xsignaturetemplate.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.dex new file mode 100644 index 0000000..fbea446 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xswitch.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xswitch.dex new file mode 100644 index 0000000..d5fba29 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xswitch.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.dex new file mode 100644 index 0000000..ed0cac7 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xtimedtemplate.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xtimedtemplate.dex new file mode 100644 index 0000000..eb7e9dc Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/b4xtimedtemplate.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/batteryutilities.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/batteryutilities.dex new file mode 100644 index 0000000..9675d92 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/batteryutilities.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..bb37278 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Created.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Created.dex new file mode 100644 index 0000000..e06e77b Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Created.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_Guardar_Click.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_Guardar_Click.dex new file mode 100644 index 0000000..bdb6f06 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_Guardar_Click.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_b_abono_Click.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_b_abono_Click.dex new file mode 100644 index 0000000..d1c8b2b Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_b_abono_Click.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_pagare.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_pagare.dex new file mode 100644 index 0000000..a33c68e Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_pagare.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_preventa.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_preventa.dex new file mode 100644 index 0000000..bf1ca99 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_preventa.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_venta.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_venta.dex new file mode 100644 index 0000000..7b1af47 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_imprime_venta.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_sc_result.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_sc_result.dex new file mode 100644 index 0000000..fc1ce42 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente$ResumableSub_sc_result.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente.dex new file mode 100644 index 0000000..32ba4d1 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cliente.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..003b377 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_clientes.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_clientes.dex new file mode 100644 index 0000000..54ce882 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_clientes.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cuestionario.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cuestionario.dex new file mode 100644 index 0000000..ba273f3 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_cuestionario.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..1d11232 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_historico.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_historico.dex new file mode 100644 index 0000000..5960cfc Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_historico.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_mapas.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_mapas.dex new file mode 100644 index 0000000..4546d30 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_mapas.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..8bc08c7 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_nota.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_nota.dex new file mode 100644 index 0000000..d7e2ecf Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_nota.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_noventa.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_noventa.dex new file mode 100644 index 0000000..e318d5b Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_noventa.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.dex new file mode 100644 index 0000000..095cf95 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_nuevocliente.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_nuevocliente.dex new file mode 100644 index 0000000..3196e90 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_nuevocliente.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..0c50372 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_pedidos.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_pedidos.dex new file mode 100644 index 0000000..ddea9d7 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_pedidos.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal$ResumableSub_B4XPage_Appear.dex new file mode 100644 index 0000000..82cb785 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..244df56 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal$ResumableSub_Btn_Ubicar_Click.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal$ResumableSub_Btn_Ubicar_Click.dex new file mode 100644 index 0000000..2b9bf98 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal$ResumableSub_Btn_Ubicar_Click.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal$_titledata.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal$_titledata.dex new file mode 100644 index 0000000..76d74ab Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal$_titledata.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal.dex new file mode 100644 index 0000000..8185688 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_principal.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.dex new file mode 100644 index 0000000..03e59cd Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.dex new file mode 100644 index 0000000..acbef3d Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.dex new file mode 100644 index 0000000..54ebce8 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_productos.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_productos.dex new file mode 100644 index 0000000..81085e1 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_productos.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_promos.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_promos.dex new file mode 100644 index 0000000..938f63e Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_promos.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_respaldodiario.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_respaldodiario.dex new file mode 100644 index 0000000..fca6712 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_respaldodiario.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_subs.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_subs.dex new file mode 100644 index 0000000..5e2b5d2 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_subs.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_tabulador.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_tabulador.dex new file mode 100644 index 0000000..f7c0c66 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_tabulador.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_ticketsdia.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_ticketsdia.dex new file mode 100644 index 0000000..a5a8e18 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_ticketsdia.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.dex new file mode 100644 index 0000000..f72b49e Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_updateavailable.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_updateavailable.dex new file mode 100644 index 0000000..c0158a6 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/c_updateavailable.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.dex new file mode 100644 index 0000000..e496783 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.dex new file mode 100644 index 0000000..1740b8a Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.dex new file mode 100644 index 0000000..8cf89c5 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.dex new file mode 100644 index 0000000..8fe45a0 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.dex new file mode 100644 index 0000000..d881808 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate.dex new file mode 100644 index 0000000..afa34d8 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/cl_appupdate.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/dbrequestmanager$_dbcommand.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/dbrequestmanager$_dbcommand.dex new file mode 100644 index 0000000..85c8a0f Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/dbrequestmanager$_dbcommand.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/dbrequestmanager$_dbresult.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/dbrequestmanager$_dbresult.dex new file mode 100644 index 0000000..cdb8caa Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/dbrequestmanager$_dbresult.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/dbrequestmanager.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/dbrequestmanager.dex new file mode 100644 index 0000000..af710e2 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/dbrequestmanager.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_c_cuentasxcobrar.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_c_cuentasxcobrar.dex new file mode 100644 index 0000000..db2facc Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_c_cuentasxcobrar.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_celltitle.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_celltitle.dex new file mode 100644 index 0000000..891fcd0 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_celltitle.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_cliente.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_cliente.dex new file mode 100644 index 0000000..9b1b124 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_cliente.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_clientes.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_clientes.dex new file mode 100644 index 0000000..ed272c8 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_clientes.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_cobranza.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_cobranza.dex new file mode 100644 index 0000000..564cd6b Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_cobranza.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_datoscliente.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_datoscliente.dex new file mode 100644 index 0000000..d4e31ec Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_datoscliente.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_folioabono.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_folioabono.dex new file mode 100644 index 0000000..6b17f54 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_folioabono.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_login.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_login.dex new file mode 100644 index 0000000..dca0961 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_login.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_mainpage.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_mainpage.dex new file mode 100644 index 0000000..36b6128 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_mainpage.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_mapa_cliente.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_mapa_cliente.dex new file mode 100644 index 0000000..568992a Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_mapa_cliente.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_mapa_rutas.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_mapa_rutas.dex new file mode 100644 index 0000000..611eaa8 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_mapa_rutas.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_nuevocliente.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_nuevocliente.dex new file mode 100644 index 0000000..9c5fcaa Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_nuevocliente.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_panel_pick_ciego.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_panel_pick_ciego.dex new file mode 100644 index 0000000..98cacfb Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_panel_pick_ciego.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_pclvseekbar.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_pclvseekbar.dex new file mode 100644 index 0000000..4f34ac4 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_pclvseekbar.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_pedido.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_pedido.dex new file mode 100644 index 0000000..f420ae8 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_pedido.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_principal.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_principal.dex new file mode 100644 index 0000000..39eaaec Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_principal.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_proditem.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_proditem.dex new file mode 100644 index 0000000..a7388e7 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_proditem.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_proditem1.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_proditem1.dex new file mode 100644 index 0000000..1b22ea5 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_proditem1.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_proditem2.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_proditem2.dex new file mode 100644 index 0000000..dc80b33 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_proditem2.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_productos.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_productos.dex new file mode 100644 index 0000000..e43048a Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_productos.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_promociones.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_promociones.dex new file mode 100644 index 0000000..9651560 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_promociones.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_resdia.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_resdia.dex new file mode 100644 index 0000000..14b241f Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_resdia.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_scrollpromos.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_scrollpromos.dex new file mode 100644 index 0000000..d54bef6 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_scrollpromos.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_searchtemplate.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_searchtemplate.dex new file mode 100644 index 0000000..bbbef98 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_searchtemplate.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_tabulador.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_tabulador.dex new file mode 100644 index 0000000..33fe7f0 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/designerscripts/LS_tabulador.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/escposprinter$_animage.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/escposprinter$_animage.dex new file mode 100644 index 0000000..c38ac06 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/escposprinter$_animage.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/escposprinter.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/escposprinter.dex new file mode 100644 index 0000000..cb6a9e1 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/escposprinter.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/filehandler$ResumableSub_Load.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/filehandler$ResumableSub_Load.dex new file mode 100644 index 0000000..d179df3 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/filehandler$ResumableSub_Load.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/filehandler$ResumableSub_SaveAs.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/filehandler$ResumableSub_SaveAs.dex new file mode 100644 index 0000000..5f6fbe5 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/filehandler$ResumableSub_SaveAs.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/filehandler$_loadresult.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/filehandler$_loadresult.dex new file mode 100644 index 0000000..6186e8b Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/filehandler$_loadresult.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/filehandler.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/filehandler.dex new file mode 100644 index 0000000..326f0fb Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/filehandler.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/fileprovider.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/fileprovider.dex new file mode 100644 index 0000000..5a2a39c Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/fileprovider.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/httpjob$_multipartfiledata.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/httpjob$_multipartfiledata.dex new file mode 100644 index 0000000..2037e0e Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/httpjob$_multipartfiledata.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/httpjob.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/httpjob.dex new file mode 100644 index 0000000..2a6f717 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/httpjob.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/httputils2service.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/httputils2service.dex new file mode 100644 index 0000000..a940149 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/httputils2service.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/madewithlove.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/madewithlove.dex new file mode 100644 index 0000000..d14a773 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/madewithlove.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$1.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$1.dex new file mode 100644 index 0000000..fcbe97d Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$1.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$B4AMenuItemsClickListener.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$B4AMenuItemsClickListener.dex new file mode 100644 index 0000000..c990842 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$B4AMenuItemsClickListener.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$HandleKeyDelayed.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$HandleKeyDelayed.dex new file mode 100644 index 0000000..231be70 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$HandleKeyDelayed.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$ResumeMessage.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$ResumeMessage.dex new file mode 100644 index 0000000..a491526 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$ResumeMessage.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$WaitForLayout.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$WaitForLayout.dex new file mode 100644 index 0000000..bd18d46 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/main$WaitForLayout.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/main.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/main.dex new file mode 100644 index 0000000..7b8125e Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/main.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/manageexternalstorage.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/manageexternalstorage.dex new file mode 100644 index 0000000..daa9e47 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/manageexternalstorage.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/map2xml.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/map2xml.dex new file mode 100644 index 0000000..023bd05 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/map2xml.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$1.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$1.dex new file mode 100644 index 0000000..0ca186e Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$1.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$B4AMenuItemsClickListener.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$B4AMenuItemsClickListener.dex new file mode 100644 index 0000000..926d949 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$B4AMenuItemsClickListener.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$HandleKeyDelayed.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$HandleKeyDelayed.dex new file mode 100644 index 0000000..181a424 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$HandleKeyDelayed.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$ResumableSub_MapFragment1_Ready.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$ResumableSub_MapFragment1_Ready.dex new file mode 100644 index 0000000..7c12cc1 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$ResumableSub_MapFragment1_Ready.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$ResumeMessage.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$ResumeMessage.dex new file mode 100644 index 0000000..1ec080e Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$ResumeMessage.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$WaitForLayout.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$WaitForLayout.dex new file mode 100644 index 0000000..4253034 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente$WaitForLayout.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente.dex new file mode 100644 index 0000000..b29fcb6 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_cliente.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$1.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$1.dex new file mode 100644 index 0000000..28a696a Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$1.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$B4AMenuItemsClickListener.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$B4AMenuItemsClickListener.dex new file mode 100644 index 0000000..0dee969 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$B4AMenuItemsClickListener.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$HandleKeyDelayed.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$HandleKeyDelayed.dex new file mode 100644 index 0000000..fd64431 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$HandleKeyDelayed.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Create.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Create.dex new file mode 100644 index 0000000..acf0826 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Create.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Resume.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Resume.dex new file mode 100644 index 0000000..4f0787f Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Resume.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.dex new file mode 100644 index 0000000..9579845 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$ResumeMessage.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$ResumeMessage.dex new file mode 100644 index 0000000..2aadead Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$ResumeMessage.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$WaitForLayout.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$WaitForLayout.dex new file mode 100644 index 0000000..54dc347 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas$WaitForLayout.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas.dex new file mode 100644 index 0000000..219787d Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/mapa_rutas.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/newinst2$1.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/newinst2$1.dex new file mode 100644 index 0000000..4d0930c Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/newinst2$1.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/newinst2$2.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/newinst2$2.dex new file mode 100644 index 0000000..2a19f31 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/newinst2$2.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/newinst2$newinst2_BR.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/newinst2$newinst2_BR.dex new file mode 100644 index 0000000..29631fc Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/newinst2$newinst2_BR.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/newinst2.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/newinst2.dex new file mode 100644 index 0000000..c60b710 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/newinst2.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice$1.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice$1.dex new file mode 100644 index 0000000..af50c3a Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice$1.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice$2.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice$2.dex new file mode 100644 index 0000000..c868f7e Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice$2.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice$ResumableSub_NotiMon_NotificationPosted.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice$ResumableSub_NotiMon_NotificationPosted.dex new file mode 100644 index 0000000..8f7941f Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice$ResumableSub_NotiMon_NotificationPosted.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice$notificationservice_BR.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice$notificationservice_BR.dex new file mode 100644 index 0000000..5996ca7 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice$notificationservice_BR.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice.dex new file mode 100644 index 0000000..0d6e758 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/notificationservice.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/pendientes.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/pendientes.dex new file mode 100644 index 0000000..ac440c0 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/pendientes.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.dex new file mode 100644 index 0000000..ed9c405 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.dex new file mode 100644 index 0000000..c4ad51b Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/preoptimizedclv.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/preoptimizedclv.dex new file mode 100644 index 0000000..bfdea60 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/preoptimizedclv.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/roundslider.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/roundslider.dex new file mode 100644 index 0000000..e1b90c4 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/roundslider.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.dex new file mode 100644 index 0000000..ddd6e37 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/scrollinglabel.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/scrollinglabel.dex new file mode 100644 index 0000000..f4621f7 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/scrollinglabel.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/starter$1.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/starter$1.dex new file mode 100644 index 0000000..0053e1e Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/starter$1.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/starter$2.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/starter$2.dex new file mode 100644 index 0000000..3218a55 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/starter$2.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/starter$starter_BR.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/starter$starter_BR.dex new file mode 100644 index 0000000..9e83970 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/starter$starter_BR.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/starter.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/starter.dex new file mode 100644 index 0000000..bcbf2e1 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/starter.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/subs.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/subs.dex new file mode 100644 index 0000000..230e361 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/subs.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/swiftbutton.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/swiftbutton.dex new file mode 100644 index 0000000..e2c5ec2 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/swiftbutton.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$1.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$1.dex new file mode 100644 index 0000000..71c8f04 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$1.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$2.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$2.dex new file mode 100644 index 0000000..a36c18a Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$2.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$ResumableSub_StartFLP.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$ResumableSub_StartFLP.dex new file mode 100644 index 0000000..c27c6d5 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$ResumableSub_StartFLP.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.dex new file mode 100644 index 0000000..ad0891b Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$tracker_BR.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$tracker_BR.dex new file mode 100644 index 0000000..9a4a2e1 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker$tracker_BR.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker.dex new file mode 100644 index 0000000..9a7e0dd Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/tracker.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/xml2map$_xmlelement.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/xml2map$_xmlelement.dex new file mode 100644 index 0000000..39e8b1a Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/xml2map$_xmlelement.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/xml2map.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/xml2map.dex new file mode 100644 index 0000000..761ab91 Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/xml2map.dex differ diff --git a/B4A/Objects/dexed/SHARK2/keymon/com/mx/xuiviewsutils.dex b/B4A/Objects/dexed/SHARK2/keymon/com/mx/xuiviewsutils.dex new file mode 100644 index 0000000..f9a1b2f Binary files /dev/null and b/B4A/Objects/dexed/SHARK2/keymon/com/mx/xuiviewsutils.dex 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..667f141 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..502df03 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..9580aed 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..a916ee9 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..405b579 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..b1cd5d0 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..3799fc5 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..de68c73 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..6276cf6 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..de521de 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..cc9b4cb 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..97562cf 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..346e3cf 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..34e5400 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..0b3309b 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..b36c5ac 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..1a5c93c 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..4d06763 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..8719272 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..71a208d 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..788e596 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..67aad11 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..4c51805 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..8c93c0e 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..dfc537c 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..0ba108e 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..d8763a8 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..8c3e042 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..9f7bca8 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..6856e4a 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..9bb73a6 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..14d8726 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..acd2255 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..2619563 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..14accb4 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..ab36668 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/com/google/firebase/messaging/R$anim.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$anim.dex new file mode 100644 index 0000000..2c96e32 Binary files /dev/null and b/B4A/Objects/dexed/com/google/firebase/messaging/R$anim.dex differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$attr.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$attr.dex new file mode 100644 index 0000000..b2d4d18 Binary files /dev/null and b/B4A/Objects/dexed/com/google/firebase/messaging/R$attr.dex differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$color.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$color.dex new file mode 100644 index 0000000..67f9a24 Binary files /dev/null and b/B4A/Objects/dexed/com/google/firebase/messaging/R$color.dex differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$dimen.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$dimen.dex new file mode 100644 index 0000000..3428a84 Binary files /dev/null and b/B4A/Objects/dexed/com/google/firebase/messaging/R$dimen.dex differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$drawable.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$drawable.dex new file mode 100644 index 0000000..06cc05a Binary files /dev/null and b/B4A/Objects/dexed/com/google/firebase/messaging/R$drawable.dex differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$id.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$id.dex new file mode 100644 index 0000000..0a3806b Binary files /dev/null and b/B4A/Objects/dexed/com/google/firebase/messaging/R$id.dex differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$integer.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$integer.dex new file mode 100644 index 0000000..3a68ef3 Binary files /dev/null and b/B4A/Objects/dexed/com/google/firebase/messaging/R$integer.dex differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$layout.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$layout.dex new file mode 100644 index 0000000..1762a9e Binary files /dev/null and b/B4A/Objects/dexed/com/google/firebase/messaging/R$layout.dex differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$string.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$string.dex new file mode 100644 index 0000000..6dde642 Binary files /dev/null and b/B4A/Objects/dexed/com/google/firebase/messaging/R$string.dex differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$style.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$style.dex new file mode 100644 index 0000000..7be9068 Binary files /dev/null and b/B4A/Objects/dexed/com/google/firebase/messaging/R$style.dex differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$styleable.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$styleable.dex new file mode 100644 index 0000000..6d75055 Binary files /dev/null and b/B4A/Objects/dexed/com/google/firebase/messaging/R$styleable.dex differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$xml.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$xml.dex new file mode 100644 index 0000000..9a509bc Binary files /dev/null and b/B4A/Objects/dexed/com/google/firebase/messaging/R$xml.dex differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R.dex new file mode 100644 index 0000000..1dd5041 Binary files /dev/null and b/B4A/Objects/dexed/com/google/firebase/messaging/R.dex differ diff --git a/B4A/Objects/gen/SHARK2/keymon/com/mx/R.java b/B4A/Objects/gen/SHARK2/keymon/com/mx/R.java new file mode 100644 index 0000000..420f7be --- /dev/null +++ b/B4A/Objects/gen/SHARK2/keymon/com/mx/R.java @@ -0,0 +1,2122 @@ +/* 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 SHARK2.keymon.com.mx; + +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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines SHARK2.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges SHARK2.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge SHARK2.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority SHARK2.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts SHARK2.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy SHARK2.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout SHARK2.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage SHARK2.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle SHARK2.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings SHARK2.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight SHARK2.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio SHARK2.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled SHARK2.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing SHARK2.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference SHARK2.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference SHARK2.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat SHARK2.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng SHARK2.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt SHARK2.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom SHARK2.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode SHARK2.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType SHARK2.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass SHARK2.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar SHARK2.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures SHARK2.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures SHARK2.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures SHARK2.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls SHARK2.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures SHARK2.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle SHARK2.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize SHARK2.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme SHARK2.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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/alvalle/keymon/com/mx/R.java b/B4A/Objects/gen/alvalle/keymon/com/mx/R.java new file mode 100644 index 0000000..9275da6 --- /dev/null +++ b/B4A/Objects/gen/alvalle/keymon/com/mx/R.java @@ -0,0 +1,2122 @@ +/* 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 alvalle.keymon.com.mx; + +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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines alvalle.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity alvalle.keymon.com.mx: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 alvalle.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges alvalle.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge alvalle.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority alvalle.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts alvalle.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy alvalle.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout alvalle.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage alvalle.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle alvalle.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings alvalle.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight alvalle.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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 alvalle.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio alvalle.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust alvalle.keymon.com.mx: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 alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled alvalle.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing alvalle.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference alvalle.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference alvalle.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat alvalle.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng alvalle.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt alvalle.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom alvalle.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude alvalle.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude alvalle.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude alvalle.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude alvalle.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode alvalle.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType alvalle.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass alvalle.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar alvalle.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures alvalle.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures alvalle.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom alvalle.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures alvalle.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls alvalle.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures alvalle.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle alvalle.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop alvalle.keymon.com.mx: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 alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize alvalle.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme alvalle.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris alvalle.keymon.com.mx: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 alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link alvalle.keymon.com.mx.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 alvalle.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor alvalle.keymon.com.mx: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 alvalle.keymon.com.mx: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/coordinatorlayout/R.java b/B4A/Objects/gen/androidx/coordinatorlayout/R.java new file mode 100644 index 0000000..bddec0d --- /dev/null +++ b/B4A/Objects/gen/androidx/coordinatorlayout/R.java @@ -0,0 +1,2122 @@ +/* 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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines SHARK2.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges SHARK2.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge SHARK2.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority SHARK2.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts SHARK2.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy SHARK2.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout SHARK2.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage SHARK2.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle SHARK2.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings SHARK2.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight SHARK2.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio SHARK2.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled SHARK2.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing SHARK2.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference SHARK2.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference SHARK2.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat SHARK2.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng SHARK2.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt SHARK2.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom SHARK2.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode SHARK2.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType SHARK2.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass SHARK2.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar SHARK2.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures SHARK2.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures SHARK2.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures SHARK2.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls SHARK2.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures SHARK2.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle SHARK2.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize SHARK2.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme SHARK2.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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..d38044b --- /dev/null +++ b/B4A/Objects/gen/androidx/core/R.java @@ -0,0 +1,2122 @@ +/* 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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines SHARK2.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges SHARK2.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge SHARK2.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority SHARK2.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts SHARK2.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy SHARK2.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout SHARK2.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage SHARK2.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle SHARK2.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings SHARK2.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight SHARK2.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio SHARK2.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled SHARK2.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing SHARK2.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference SHARK2.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference SHARK2.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat SHARK2.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng SHARK2.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt SHARK2.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom SHARK2.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode SHARK2.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType SHARK2.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass SHARK2.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar SHARK2.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures SHARK2.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures SHARK2.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures SHARK2.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls SHARK2.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures SHARK2.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle SHARK2.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize SHARK2.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme SHARK2.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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..77fed56 --- /dev/null +++ b/B4A/Objects/gen/androidx/drawerlayout/R.java @@ -0,0 +1,2122 @@ +/* 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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines SHARK2.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges SHARK2.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge SHARK2.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority SHARK2.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts SHARK2.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy SHARK2.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout SHARK2.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage SHARK2.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle SHARK2.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings SHARK2.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight SHARK2.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio SHARK2.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled SHARK2.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing SHARK2.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference SHARK2.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference SHARK2.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat SHARK2.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng SHARK2.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt SHARK2.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom SHARK2.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode SHARK2.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType SHARK2.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass SHARK2.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar SHARK2.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures SHARK2.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures SHARK2.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures SHARK2.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls SHARK2.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures SHARK2.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle SHARK2.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize SHARK2.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme SHARK2.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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..cb13497 --- /dev/null +++ b/B4A/Objects/gen/androidx/fragment/R.java @@ -0,0 +1,2122 @@ +/* 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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines SHARK2.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges SHARK2.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge SHARK2.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority SHARK2.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts SHARK2.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy SHARK2.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout SHARK2.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage SHARK2.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle SHARK2.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings SHARK2.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight SHARK2.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio SHARK2.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled SHARK2.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing SHARK2.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference SHARK2.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference SHARK2.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat SHARK2.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng SHARK2.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt SHARK2.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom SHARK2.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode SHARK2.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType SHARK2.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass SHARK2.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar SHARK2.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures SHARK2.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures SHARK2.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures SHARK2.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls SHARK2.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures SHARK2.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle SHARK2.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize SHARK2.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme SHARK2.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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..cafa9fd --- /dev/null +++ b/B4A/Objects/gen/androidx/media/R.java @@ -0,0 +1,2122 @@ +/* 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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines SHARK2.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges SHARK2.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge SHARK2.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority SHARK2.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts SHARK2.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy SHARK2.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout SHARK2.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage SHARK2.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle SHARK2.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings SHARK2.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight SHARK2.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio SHARK2.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled SHARK2.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing SHARK2.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference SHARK2.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference SHARK2.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat SHARK2.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng SHARK2.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt SHARK2.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom SHARK2.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode SHARK2.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType SHARK2.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass SHARK2.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar SHARK2.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures SHARK2.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures SHARK2.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures SHARK2.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls SHARK2.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures SHARK2.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle SHARK2.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize SHARK2.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme SHARK2.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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..9a7edbc --- /dev/null +++ b/B4A/Objects/gen/androidx/swiperefreshlayout/R.java @@ -0,0 +1,2122 @@ +/* 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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines SHARK2.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges SHARK2.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge SHARK2.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority SHARK2.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts SHARK2.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy SHARK2.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout SHARK2.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage SHARK2.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle SHARK2.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings SHARK2.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight SHARK2.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio SHARK2.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled SHARK2.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing SHARK2.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference SHARK2.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference SHARK2.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat SHARK2.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng SHARK2.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt SHARK2.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom SHARK2.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode SHARK2.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType SHARK2.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass SHARK2.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar SHARK2.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures SHARK2.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures SHARK2.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures SHARK2.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls SHARK2.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures SHARK2.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle SHARK2.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize SHARK2.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme SHARK2.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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..07cfe4f --- /dev/null +++ b/B4A/Objects/gen/com/google/android/gms/base/R.java @@ -0,0 +1,2122 @@ +/* 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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines SHARK2.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges SHARK2.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge SHARK2.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority SHARK2.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts SHARK2.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy SHARK2.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout SHARK2.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage SHARK2.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle SHARK2.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings SHARK2.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight SHARK2.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio SHARK2.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled SHARK2.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing SHARK2.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference SHARK2.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference SHARK2.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat SHARK2.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng SHARK2.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt SHARK2.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom SHARK2.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode SHARK2.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType SHARK2.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass SHARK2.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar SHARK2.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures SHARK2.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures SHARK2.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures SHARK2.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls SHARK2.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures SHARK2.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle SHARK2.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize SHARK2.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme SHARK2.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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..d88d155 --- /dev/null +++ b/B4A/Objects/gen/com/google/android/gms/common/R.java @@ -0,0 +1,2122 @@ +/* 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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines SHARK2.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges SHARK2.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge SHARK2.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority SHARK2.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts SHARK2.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy SHARK2.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout SHARK2.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage SHARK2.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle SHARK2.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings SHARK2.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight SHARK2.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio SHARK2.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled SHARK2.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing SHARK2.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference SHARK2.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference SHARK2.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat SHARK2.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng SHARK2.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt SHARK2.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom SHARK2.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode SHARK2.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType SHARK2.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass SHARK2.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar SHARK2.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures SHARK2.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures SHARK2.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures SHARK2.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls SHARK2.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures SHARK2.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle SHARK2.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize SHARK2.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme SHARK2.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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..a5b239a --- /dev/null +++ b/B4A/Objects/gen/com/google/android/gms/maps/R.java @@ -0,0 +1,2122 @@ +/* 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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines SHARK2.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges SHARK2.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge SHARK2.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority SHARK2.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts SHARK2.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy SHARK2.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout SHARK2.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage SHARK2.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle SHARK2.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings SHARK2.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight SHARK2.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio SHARK2.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled SHARK2.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing SHARK2.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference SHARK2.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference SHARK2.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat SHARK2.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng SHARK2.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt SHARK2.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom SHARK2.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode SHARK2.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType SHARK2.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass SHARK2.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar SHARK2.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures SHARK2.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures SHARK2.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures SHARK2.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls SHARK2.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures SHARK2.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle SHARK2.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize SHARK2.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme SHARK2.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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/firebase/messaging/R.java b/B4A/Objects/gen/com/google/firebase/messaging/R.java new file mode 100644 index 0000000..88a4bc8 --- /dev/null +++ b/B4A/Objects/gen/com/google/firebase/messaging/R.java @@ -0,0 +1,2122 @@ +/* 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.firebase.messaging; + +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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines SHARK2.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges SHARK2.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge SHARK2.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority SHARK2.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts SHARK2.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy SHARK2.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout SHARK2.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage SHARK2.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle SHARK2.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings SHARK2.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight SHARK2.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio SHARK2.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled SHARK2.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing SHARK2.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference SHARK2.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference SHARK2.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat SHARK2.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng SHARK2.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt SHARK2.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom SHARK2.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode SHARK2.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType SHARK2.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass SHARK2.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar SHARK2.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures SHARK2.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures SHARK2.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures SHARK2.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls SHARK2.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures SHARK2.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle SHARK2.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize SHARK2.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme SHARK2.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor SHARK2.keymon.com.mx: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 SHARK2.keymon.com.mx: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/izca/keymon/com/mx/R.java b/B4A/Objects/gen/izca/keymon/com/mx/R.java new file mode 100644 index 0000000..957c73d --- /dev/null +++ b/B4A/Objects/gen/izca/keymon/com/mx/R.java @@ -0,0 +1,2122 @@ +/* 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 izca.keymon.com.mx; + +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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 izca.keymon.com.mx: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 izca.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines izca.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity izca.keymon.com.mx: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 izca.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges izca.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge izca.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority izca.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts izca.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy izca.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout izca.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage izca.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle izca.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings izca.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight izca.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx: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 izca.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio izca.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust izca.keymon.com.mx: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 izca.keymon.com.mx.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 izca.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled izca.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing izca.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference izca.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference izca.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat izca.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng izca.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt izca.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom izca.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude izca.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude izca.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude izca.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude izca.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode izca.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType izca.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass izca.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar izca.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures izca.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures izca.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom izca.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures izca.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls izca.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures izca.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle izca.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop izca.keymon.com.mx: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 izca.keymon.com.mx.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 izca.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize izca.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme izca.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris izca.keymon.com.mx: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 izca.keymon.com.mx.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 izca.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link izca.keymon.com.mx.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 izca.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor izca.keymon.com.mx: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 izca.keymon.com.mx: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/shark/keymon/com/mx/R.java b/B4A/Objects/gen/shark/keymon/com/mx/R.java new file mode 100644 index 0000000..bb342a9 --- /dev/null +++ b/B4A/Objects/gen/shark/keymon/com/mx/R.java @@ -0,0 +1,2122 @@ +/* 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 shark.keymon.com.mx; + +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 fcm_fallback_notification_channel_label=0x7f090012; + public static final int status_bar_notification_info_overflow=0x7f090013; + } + 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 shark.keymon.com.mx: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 shark.keymon.com.mx:alpha + */ + public static final int ColorStateListItem_alpha=2; + /** + * Attributes that can be used with a CoordinatorLayout. + *

Includes the following attributes:

+ * + * + * + * + * + * + *
AttributeDescription
{@link #CoordinatorLayout_keylines shark.keymon.com.mx:keylines}A reference to an array of integers representing the + * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity shark.keymon.com.mx: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 shark.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior + * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges shark.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge shark.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views + * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx:elevation + */ + public static final int DrawerLayout_elevation=0; + /** + * Attributes that can be used with a FontFamily. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #FontFamily_fontProviderAuthority shark.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts shark.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy shark.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout shark.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage shark.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle shark.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings shark.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight shark.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx: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 shark.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio shark.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust shark.keymon.com.mx: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 shark.keymon.com.mx.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 shark.keymon.com.mx:circleCrop + */ + public static final int LoadingImageView_circleCrop=0; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:imageAspectRatio + */ + public static final int LoadingImageView_imageAspectRatio=1; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:imageAspectRatioAdjust + */ + public static final int LoadingImageView_imageAspectRatioAdjust=2; + /** + * Attributes that can be used with a MapAttrs. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
AttributeDescription
{@link #MapAttrs_ambientEnabled shark.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing shark.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference shark.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference shark.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat shark.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng shark.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt shark.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom shark.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude shark.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude shark.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude shark.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude shark.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode shark.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType shark.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass shark.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar shark.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures shark.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures shark.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom shark.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures shark.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls shark.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures shark.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle shark.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop shark.keymon.com.mx: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 shark.keymon.com.mx.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 shark.keymon.com.mx:ambientEnabled + */ + public static final int MapAttrs_ambientEnabled=0; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:cameraBearing + */ + public static final int MapAttrs_cameraBearing=1; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:cameraMaxZoomPreference + */ + public static final int MapAttrs_cameraMaxZoomPreference=2; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:cameraMinZoomPreference + */ + public static final int MapAttrs_cameraMinZoomPreference=3; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:cameraTargetLat + */ + public static final int MapAttrs_cameraTargetLat=4; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:cameraTargetLng + */ + public static final int MapAttrs_cameraTargetLng=5; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:cameraTilt + */ + public static final int MapAttrs_cameraTilt=6; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:cameraZoom + */ + public static final int MapAttrs_cameraZoom=7; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:latLngBoundsNorthEastLatitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:latLngBoundsNorthEastLongitude + */ + public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:latLngBoundsSouthWestLatitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:latLngBoundsSouthWestLongitude + */ + public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:liteMode + */ + public static final int MapAttrs_liteMode=12; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:mapType + */ + public static final int MapAttrs_mapType=13; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:uiCompass + */ + public static final int MapAttrs_uiCompass=14; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:uiMapToolbar + */ + public static final int MapAttrs_uiMapToolbar=15; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:uiRotateGestures + */ + public static final int MapAttrs_uiRotateGestures=16; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:uiScrollGestures + */ + public static final int MapAttrs_uiScrollGestures=17; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom + */ + public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:uiTiltGestures + */ + public static final int MapAttrs_uiTiltGestures=19; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:uiZoomControls + */ + public static final int MapAttrs_uiZoomControls=20; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:uiZoomGestures + */ + public static final int MapAttrs_uiZoomGestures=21; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:useViewLifecycle + */ + public static final int MapAttrs_useViewLifecycle=22; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:zOrderOnTop + */ + public static final int MapAttrs_zOrderOnTop=23; + /** + * Attributes that can be used with a SignInButton. + *

Includes the following attributes:

+ * + * + * + * + * + * + * + *
AttributeDescription
{@link #SignInButton_buttonSize shark.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme shark.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris shark.keymon.com.mx: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 shark.keymon.com.mx.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 shark.keymon.com.mx:buttonSize + */ + public static final int SignInButton_buttonSize=0; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:colorScheme + */ + public static final int SignInButton_colorScheme=1; + /** + *

This symbol is the offset where the {@link shark.keymon.com.mx.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 shark.keymon.com.mx:scopeUris + */ + public static final int SignInButton_scopeUris=2; + /** + * Attributes that can be used with a SwipeRefreshLayout. + *

Includes the following attributes:

+ * + * + * + * + * + *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor shark.keymon.com.mx: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 shark.keymon.com.mx: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..e71536c 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/SHARK2/keymon/com/mx/animatedcounter.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/animatedcounter.class new file mode 100644 index 0000000..172248c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/animatedcounter.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/animatedcounter_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/animatedcounter_subs_0.class new file mode 100644 index 0000000..b47d9c1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/animatedcounter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar.class new file mode 100644 index 0000000..50bf6e3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class new file mode 100644 index 0000000..97756be Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar_subs_0.class new file mode 100644 index 0000000..3b1fe3d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/anotherprogressbar_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/appupdater.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/appupdater.class new file mode 100644 index 0000000..63377c9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/appupdater.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/appupdater_subs_0$ResumableSub_Service_Start.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/appupdater_subs_0$ResumableSub_Service_Start.class new file mode 100644 index 0000000..b9d9338 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/appupdater_subs_0$ResumableSub_Service_Start.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/appupdater_subs_0$ResumableSub_download_newApk.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/appupdater_subs_0$ResumableSub_download_newApk.class new file mode 100644 index 0000000..353f27d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/appupdater_subs_0$ResumableSub_download_newApk.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/appupdater_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/appupdater_subs_0.class new file mode 100644 index 0000000..c665b72 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/appupdater_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbitset.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbitset.class new file mode 100644 index 0000000..9b985af Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbitset.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbitset_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbitset_subs_0.class new file mode 100644 index 0000000..7f7da6b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbitset_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbreadcrumb.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbreadcrumb.class new file mode 100644 index 0000000..3492584 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbreadcrumb.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbreadcrumb_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbreadcrumb_subs_0.class new file mode 100644 index 0000000..2d9ddb8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbreadcrumb_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbytesbuilder.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbytesbuilder.class new file mode 100644 index 0000000..5288661 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbytesbuilder.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbytesbuilder_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbytesbuilder_subs_0.class new file mode 100644 index 0000000..2992b98 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xbytesbuilder_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcache.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcache.class new file mode 100644 index 0000000..5d9564d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcache.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcache_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcache_subs_0.class new file mode 100644 index 0000000..2d7d3fe Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcache_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcollections.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcollections.class new file mode 100644 index 0000000..12f5d87 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcollections.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcollections_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcollections_subs_0.class new file mode 100644 index 0000000..b67652c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcollections_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate.class new file mode 100644 index 0000000..55f181b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..3dcd5b8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate_subs_0.class new file mode 100644 index 0000000..44453ad Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcolortemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcombobox.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcombobox.class new file mode 100644 index 0000000..8498158 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcombobox.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class new file mode 100644 index 0000000..373a79f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcombobox_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcombobox_subs_0.class new file mode 100644 index 0000000..2fc064e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcombobox_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcomparatorsort.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcomparatorsort.class new file mode 100644 index 0000000..92073c7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcomparatorsort.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcomparatorsort_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcomparatorsort_subs_0.class new file mode 100644 index 0000000..a4dfe6d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xcomparatorsort_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate.class new file mode 100644 index 0000000..6f7382f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..edfda3e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate_subs_0.class new file mode 100644 index 0000000..e824ca3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdatetemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog.class new file mode 100644 index 0000000..244a386 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..322c31c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowCustom.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowCustom.class new file mode 100644 index 0000000..c37b327 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowCustom.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowTemplate.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowTemplate.class new file mode 100644 index 0000000..3fc0cb5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowTemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog_subs_0.class new file mode 100644 index 0000000..e01f3d4 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xdialog_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield.class new file mode 100644 index 0000000..c428311 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class new file mode 100644 index 0000000..cb90eb0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield_subs_0.class new file mode 100644 index 0000000..3119322 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xfloattextfield_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xformatter.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xformatter.class new file mode 100644 index 0000000..a0a81d2 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xformatter.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xformatter_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xformatter_subs_0.class new file mode 100644 index 0000000..62e9ab7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xformatter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4ximageview.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4ximageview.class new file mode 100644 index 0000000..874c8fa Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4ximageview.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4ximageview_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4ximageview_subs_0.class new file mode 100644 index 0000000..f563b14 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4ximageview_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate.class new file mode 100644 index 0000000..cdf50c5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..ea3d5f9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate_subs_0.class new file mode 100644 index 0000000..1951750 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xinputtemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate.class new file mode 100644 index 0000000..9c4981f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..2db6171 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate_subs_0.class new file mode 100644 index 0000000..dea2f8c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlisttemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator.class new file mode 100644 index 0000000..1856d2f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class new file mode 100644 index 0000000..6bbe598 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator_subs_0.class new file mode 100644 index 0000000..72a6077 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xloadingindicator_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlongtexttemplate.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlongtexttemplate.class new file mode 100644 index 0000000..cd20f6b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlongtexttemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlongtexttemplate_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlongtexttemplate_subs_0.class new file mode 100644 index 0000000..f52e099 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xlongtexttemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage.class new file mode 100644 index 0000000..c9bc40d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..d384568 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..e63c60c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Created.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Created.class new file mode 100644 index 0000000..9be6968 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Created.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class new file mode 100644 index 0000000..2bdebf4 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_importarBD_Click.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_importarBD_Click.class new file mode 100644 index 0000000..c333fc9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_importarBD_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_terpc_Click.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_terpc_Click.class new file mode 100644 index 0000000..1eca11d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_terpc_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_copiaDB.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_copiaDB.class new file mode 100644 index 0000000..27f20a0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_copiaDB.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0.class new file mode 100644 index 0000000..2003f0f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xmainpage_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xorderedmap.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xorderedmap.class new file mode 100644 index 0000000..2570145 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xorderedmap.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xorderedmap_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xorderedmap_subs_0.class new file mode 100644 index 0000000..c6ffcf6 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xorderedmap_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpages.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpages.class new file mode 100644 index 0000000..920ac24 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpages.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpages_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpages_subs_0.class new file mode 100644 index 0000000..692fcd2 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpages_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesdelegator.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesdelegator.class new file mode 100644 index 0000000..1941269 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesdelegator.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesdelegator_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesdelegator_subs_0.class new file mode 100644 index 0000000..776c1b7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesdelegator_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager.class new file mode 100644 index 0000000..5099ed2 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class new file mode 100644 index 0000000..b847014 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager_subs_0.class new file mode 100644 index 0000000..09c7a20 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xpagesmanager_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xplusminus.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xplusminus.class new file mode 100644 index 0000000..56f57eb Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xplusminus.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class new file mode 100644 index 0000000..d225178 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xplusminus_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xplusminus_subs_0.class new file mode 100644 index 0000000..6e542e0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xplusminus_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton.class new file mode 100644 index 0000000..857ba94 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class new file mode 100644 index 0000000..ec20f26 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton_subs_0.class new file mode 100644 index 0000000..493f243 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xradiobutton_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate.class new file mode 100644 index 0000000..ba1657b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..19c89bb Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate_subs_0.class new file mode 100644 index 0000000..c88cb6b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsearchtemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xseekbar.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xseekbar.class new file mode 100644 index 0000000..96f09e9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xseekbar.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xseekbar_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xseekbar_subs_0.class new file mode 100644 index 0000000..84063e2 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xseekbar_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xset.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xset.class new file mode 100644 index 0000000..e608215 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xset.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xset_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xset_subs_0.class new file mode 100644 index 0000000..650b3b0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xset_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsignaturetemplate.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsignaturetemplate.class new file mode 100644 index 0000000..35c0d6e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsignaturetemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsignaturetemplate_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsignaturetemplate_subs_0.class new file mode 100644 index 0000000..d848a0d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xsignaturetemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xswitch.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xswitch.class new file mode 100644 index 0000000..7a76b7b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xswitch.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xswitch_subs_0$ResumableSub_SetValueImpl.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xswitch_subs_0$ResumableSub_SetValueImpl.class new file mode 100644 index 0000000..bdb48bc Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xswitch_subs_0$ResumableSub_SetValueImpl.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xswitch_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xswitch_subs_0.class new file mode 100644 index 0000000..056e121 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xswitch_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate.class new file mode 100644 index 0000000..ab2cba0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate_subs_0$ResumableSub_Show.class new file mode 100644 index 0000000..63a52d1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate_subs_0$ResumableSub_Show.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate_subs_0.class new file mode 100644 index 0000000..dc8745c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/b4xtimedtemplate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/batteryutilities.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/batteryutilities.class new file mode 100644 index 0000000..c6b6eb1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/batteryutilities.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/batteryutilities_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/batteryutilities_subs_0.class new file mode 100644 index 0000000..003742d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/batteryutilities_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente.class new file mode 100644 index 0000000..ba7271f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..0b63c6b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_Created.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_Created.class new file mode 100644 index 0000000..cd812a9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_Created.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Guardar_Click.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Guardar_Click.class new file mode 100644 index 0000000..02cf5b8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_Guardar_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_abono_Click.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_abono_Click.class new file mode 100644 index 0000000..1a64e29 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_abono_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_pagare.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_pagare.class new file mode 100644 index 0000000..a37920e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_pagare.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_preventa.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_preventa.class new file mode 100644 index 0000000..e477ddd Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_preventa.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_venta.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_venta.class new file mode 100644 index 0000000..ed287c0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_venta.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_sc_result.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_sc_result.class new file mode 100644 index 0000000..a7da86a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0$ResumableSub_sc_result.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0.class new file mode 100644 index 0000000..25ce38e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cliente_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_clientes.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_clientes.class new file mode 100644 index 0000000..ba53a27 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_clientes.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_clientes_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_clientes_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..f4d0dc0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_clientes_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_clientes_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_clientes_subs_0.class new file mode 100644 index 0000000..7e60c12 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_clientes_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cuestionario.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cuestionario.class new file mode 100644 index 0000000..8aacb83 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cuestionario.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cuestionario_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cuestionario_subs_0.class new file mode 100644 index 0000000..714e89a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_cuestionario_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_historico.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_historico.class new file mode 100644 index 0000000..b44d059 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_historico.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..689644b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_historico_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_historico_subs_0.class new file mode 100644 index 0000000..2e757a6 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_historico_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_mapas.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_mapas.class new file mode 100644 index 0000000..df2ee3f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_mapas.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_mapas_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_mapas_subs_0.class new file mode 100644 index 0000000..eb4df12 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_mapas_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nota.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nota.class new file mode 100644 index 0000000..dc6cbc8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nota.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nota_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nota_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..a825b47 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nota_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nota_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nota_subs_0.class new file mode 100644 index 0000000..2b17e0b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nota_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_noventa.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_noventa.class new file mode 100644 index 0000000..2d9ab5e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_noventa.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_noventa_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_noventa_subs_0.class new file mode 100644 index 0000000..bd2cac8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_noventa_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente.class new file mode 100644 index 0000000..48e7719 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente_subs_0$ResumableSub_B4XPage_Created.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente_subs_0$ResumableSub_B4XPage_Created.class new file mode 100644 index 0000000..a9b12bd Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente_subs_0$ResumableSub_B4XPage_Created.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente_subs_0.class new file mode 100644 index 0000000..e96a7df Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_nuevocliente_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_pedidos.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_pedidos.class new file mode 100644 index 0000000..a568f4e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_pedidos.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_pedidos_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_pedidos_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..f43ed31 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_pedidos_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_pedidos_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_pedidos_subs_0.class new file mode 100644 index 0000000..af7e792 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_pedidos_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal.class new file mode 100644 index 0000000..74fe204 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal_subs_0$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..423c7c3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..9963a68 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal_subs_0$ResumableSub_Btn_Ubicar_Click.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal_subs_0$ResumableSub_Btn_Ubicar_Click.class new file mode 100644 index 0000000..85d836e Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal_subs_0$ResumableSub_Btn_Ubicar_Click.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal_subs_0.class new file mode 100644 index 0000000..659c1bf Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_principal_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos.class new file mode 100644 index 0000000..e9643b3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..6671e59 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class new file mode 100644 index 0000000..1078375 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos_subs_0$ResumableSub_lv_catalogos2_ItemClick.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos_subs_0$ResumableSub_lv_catalogos2_ItemClick.class new file mode 100644 index 0000000..3122434 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos_subs_0$ResumableSub_lv_catalogos2_ItemClick.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos_subs_0.class new file mode 100644 index 0000000..4ce526f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_productos_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_promos.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_promos.class new file mode 100644 index 0000000..b2d7486 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_promos.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_promos_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_promos_subs_0.class new file mode 100644 index 0000000..348cfb3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_promos_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_respaldodiario.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_respaldodiario.class new file mode 100644 index 0000000..2b74fec Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_respaldodiario.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_respaldodiario_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_respaldodiario_subs_0.class new file mode 100644 index 0000000..8452b50 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_respaldodiario_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_subs.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_subs.class new file mode 100644 index 0000000..711d747 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_subs.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_subs_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_subs_subs_0.class new file mode 100644 index 0000000..18ccfb9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_subs_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_tabulador.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_tabulador.class new file mode 100644 index 0000000..29de28d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_tabulador.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_tabulador_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_tabulador_subs_0.class new file mode 100644 index 0000000..009af02 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_tabulador_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_ticketsdia.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_ticketsdia.class new file mode 100644 index 0000000..ca35151 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_ticketsdia.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_ticketsdia_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_ticketsdia_subs_0.class new file mode 100644 index 0000000..5c318a4 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_ticketsdia_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_updateavailable.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_updateavailable.class new file mode 100644 index 0000000..637f838 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_updateavailable.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class new file mode 100644 index 0000000..69574cf Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_updateavailable_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_updateavailable_subs_0.class new file mode 100644 index 0000000..10b72ad Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/c_updateavailable_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate.class new file mode 100644 index 0000000..885562a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_DownloadApk.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_DownloadApk.class new file mode 100644 index 0000000..a207d2c Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_DownloadApk.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class new file mode 100644 index 0000000..c663a30 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class new file mode 100644 index 0000000..7c73210 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class new file mode 100644 index 0000000..b733bc0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_UpdateApk.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_UpdateApk.class new file mode 100644 index 0000000..256dacd Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_UpdateApk.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0.class new file mode 100644 index 0000000..94523e3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/cl_appupdate_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager.class new file mode 100644 index 0000000..3f61a7f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager_subs_0.class new file mode 100644 index 0000000..c9bf294 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/dbrequestmanager_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/escposprinter.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/escposprinter.class new file mode 100644 index 0000000..ebc5907 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/escposprinter.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/escposprinter_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/escposprinter_subs_0.class new file mode 100644 index 0000000..cbebd59 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/escposprinter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/filehandler.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/filehandler.class new file mode 100644 index 0000000..8141adb Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/filehandler.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/filehandler_subs_0$ResumableSub_Load.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/filehandler_subs_0$ResumableSub_Load.class new file mode 100644 index 0000000..85f870d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/filehandler_subs_0$ResumableSub_Load.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/filehandler_subs_0$ResumableSub_SaveAs.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/filehandler_subs_0$ResumableSub_SaveAs.class new file mode 100644 index 0000000..496ae71 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/filehandler_subs_0$ResumableSub_SaveAs.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/filehandler_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/filehandler_subs_0.class new file mode 100644 index 0000000..0cbc5bb Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/filehandler_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/fileprovider.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/fileprovider.class new file mode 100644 index 0000000..e62e116 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/fileprovider.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/fileprovider_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/fileprovider_subs_0.class new file mode 100644 index 0000000..7f633b9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/fileprovider_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/httpjob.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/httpjob.class new file mode 100644 index 0000000..855d987 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/httpjob.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/httpjob_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/httpjob_subs_0.class new file mode 100644 index 0000000..d42c664 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/httpjob_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/httputils2service.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/httputils2service.class new file mode 100644 index 0000000..9cd93c8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/httputils2service.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/httputils2service_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/httputils2service_subs_0.class new file mode 100644 index 0000000..62a35f8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/httputils2service_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/madewithlove.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/madewithlove.class new file mode 100644 index 0000000..fb491ff Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/madewithlove.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/madewithlove_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/madewithlove_subs_0.class new file mode 100644 index 0000000..f00d6b1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/madewithlove_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/main.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/main.class new file mode 100644 index 0000000..a558b78 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/main.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/main_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/main_subs_0.class new file mode 100644 index 0000000..5e2df39 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/main_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/manageexternalstorage.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/manageexternalstorage.class new file mode 100644 index 0000000..26a07a1 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/manageexternalstorage.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/manageexternalstorage_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/manageexternalstorage_subs_0.class new file mode 100644 index 0000000..30049a8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/manageexternalstorage_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/map2xml.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/map2xml.class new file mode 100644 index 0000000..1baf3fd Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/map2xml.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/map2xml_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/map2xml_subs_0.class new file mode 100644 index 0000000..5755192 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/map2xml_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_cliente.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_cliente.class new file mode 100644 index 0000000..d823f88 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_cliente.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_cliente_subs_0$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_cliente_subs_0$ResumableSub_MapFragment1_Ready.class new file mode 100644 index 0000000..c847974 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_cliente_subs_0$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_cliente_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_cliente_subs_0.class new file mode 100644 index 0000000..c28e4f5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_cliente_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas.class new file mode 100644 index 0000000..3abbd6b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_Activity_Create.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_Activity_Create.class new file mode 100644 index 0000000..2b1c727 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_Activity_Create.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_Activity_Resume.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_Activity_Resume.class new file mode 100644 index 0000000..9fa00d7 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_Activity_Resume.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class new file mode 100644 index 0000000..a55b3c2 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas_subs_0.class new file mode 100644 index 0000000..ec4f4d8 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/mapa_rutas_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/newinst2.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/newinst2.class new file mode 100644 index 0000000..ed419a3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/newinst2.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/newinst2_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/newinst2_subs_0.class new file mode 100644 index 0000000..08fa498 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/newinst2_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/notificationservice.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/notificationservice.class new file mode 100644 index 0000000..95c5340 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/notificationservice.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/notificationservice_subs_0$ResumableSub_NotiMon_NotificationPosted.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/notificationservice_subs_0$ResumableSub_NotiMon_NotificationPosted.class new file mode 100644 index 0000000..8c55e55 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/notificationservice_subs_0$ResumableSub_NotiMon_NotificationPosted.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/notificationservice_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/notificationservice_subs_0.class new file mode 100644 index 0000000..7848819 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/notificationservice_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/pendientes.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/pendientes.class new file mode 100644 index 0000000..612e188 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/pendientes.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/pendientes_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/pendientes_subs_0.class new file mode 100644 index 0000000..8ecf31a Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/pendientes_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv.class new file mode 100644 index 0000000..0b1028f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_B4XSeekBar1_TouchStateChanged.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_B4XSeekBar1_TouchStateChanged.class new file mode 100644 index 0000000..3fa97f9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_B4XSeekBar1_TouchStateChanged.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_ListChangedExternally.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_ListChangedExternally.class new file mode 100644 index 0000000..5f2ff98 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_ListChangedExternally.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv_subs_0.class new file mode 100644 index 0000000..423ce89 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/preoptimizedclv_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/roundslider.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/roundslider.class new file mode 100644 index 0000000..b42e79d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/roundslider.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/roundslider_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/roundslider_subs_0.class new file mode 100644 index 0000000..50f5ffd Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/roundslider_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/scrollinglabel.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/scrollinglabel.class new file mode 100644 index 0000000..9ff3e9d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/scrollinglabel.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/scrollinglabel_subs_0$ResumableSub_StartScrolling.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/scrollinglabel_subs_0$ResumableSub_StartScrolling.class new file mode 100644 index 0000000..5992a11 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/scrollinglabel_subs_0$ResumableSub_StartScrolling.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/scrollinglabel_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/scrollinglabel_subs_0.class new file mode 100644 index 0000000..6a6893f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/scrollinglabel_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/starter.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/starter.class new file mode 100644 index 0000000..4da37ca Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/starter.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/starter_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/starter_subs_0.class new file mode 100644 index 0000000..b378737 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/starter_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/subs.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/subs.class new file mode 100644 index 0000000..3c939f3 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/subs.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/subs_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/subs_subs_0.class new file mode 100644 index 0000000..5fb0e3f Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/subs_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/swiftbutton.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/swiftbutton.class new file mode 100644 index 0000000..a1870b5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/swiftbutton.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/swiftbutton_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/swiftbutton_subs_0.class new file mode 100644 index 0000000..a3753e5 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/swiftbutton_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/tracker.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/tracker.class new file mode 100644 index 0000000..c1498e6 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/tracker.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP.class new file mode 100644 index 0000000..2822f87 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLPSmall.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLPSmall.class new file mode 100644 index 0000000..c5f712d Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLPSmall.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/tracker_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/tracker_subs_0.class new file mode 100644 index 0000000..81a6542 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/tracker_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/xml2map.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/xml2map.class new file mode 100644 index 0000000..f643eaa Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/xml2map.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/xml2map_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/xml2map_subs_0.class new file mode 100644 index 0000000..db6c82b Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/xml2map_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/xuiviewsutils.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/xuiviewsutils.class new file mode 100644 index 0000000..45539a0 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/xuiviewsutils.class differ diff --git a/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/xuiviewsutils_subs_0.class b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/xuiviewsutils_subs_0.class new file mode 100644 index 0000000..fca2ea9 Binary files /dev/null and b/B4A/Objects/shell/bin/classes/SHARK2/keymon/com/mx/xuiviewsutils_subs_0.class differ diff --git a/B4A/Objects/shell/bin/classes/subs.txt b/B4A/Objects/shell/bin/classes/subs.txt new file mode 100644 index 0000000..82bc815 --- /dev/null +++ b/B4A/Objects/shell/bin/classes/subs.txt @@ -0,0 +1,5048 @@ +SHARK2.keymon.com.mx +0 +62 +b4xmainpage +batteryutilities +c_cliente +c_clientes +c_cuestionario +c_historico +c_mapas +c_nota +c_noventa +c_principal +c_nuevocliente +c_pedidos +c_productos +c_promos +c_respaldodiario +c_subs +c_tabulador +c_ticketsdia +c_updateavailable +dbrequestmanager +escposprinter +filehandler +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 +preoptimizedclv +map2xml +xml2map +42 +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 +preoptimizedclv +map2xml +xml2map +main,activity_actionbarhomeclick,1,0,35,39 +,actionbarhomeclicked,b4xpages,delegate,b4xpages,mpm,starter,pre_viejo,starter,skmt,starter,ruta,starter,rp,starter,dbreqserver,starter,mac_impresora,starter,tabla +,actionbarhomeclicked,starter,mac_impresora,starter,tabla +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_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,c_productos,b4xpage_closerequest,c_cuestionario,ocultpanelpregunta,subs,pedidoguardado,subs,borrapedidoclienteactual,b4xpages,showpage,c_cliente,guardar_click,b4xpages,mainpage,subs,traetablaprods,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,c_cliente,guardaventa,subs,borrapedidocredito,c_cliente,b_imp_click,c_cliente,guadaventa2,c_cliente,imprime_venta,c_cliente,imprime_preventa,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,c_cliente,traevendedor,c_cliente,traenumvendedor,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,subs,actualizatet,c_cliente,mandapiezas,c_cliente,mandapendientepagare,c_cliente,mandapendientesrecarga,c_cliente,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,subs,traealmacen,c_principal,b_ok_res_click,c_principal,b_ok_panel5_click,c_productos,b4xpage_appear,subs,traetipocliente2,subs,traecliente,subs,traeruta,subs,procesapromocion,subs,traetotalesclienteactual,subs,haypedido,c_productos,llenaprodsll,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traemosinventariodisponibleparapromo,preoptimizedclv,commit,b4xseekbar,setvalue,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear,b4xset,contains,b4xpagesmanager,closepageimpl +main,activity_create,1,0,27,30 +b4xpages,delegate,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,getmanager,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xpagesmanager,raiseeventwithresult,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +main,activity_keypress,1,0,41,43 +b4xpages,delegate,b4xpages,mpm,starter,pre_viejo,starter,skmt,starter,ruta,starter,rp,starter,dbreqserver,starter,mac_impresora,starter,tabla +starter,mac_impresora,starter,tabla +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_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,c_productos,b4xpage_closerequest,c_cuestionario,ocultpanelpregunta,subs,pedidoguardado,subs,borrapedidoclienteactual,b4xpages,showpage,c_cliente,guardar_click,b4xpages,mainpage,subs,traetablaprods,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,c_cliente,guardaventa,subs,borrapedidocredito,c_cliente,b_imp_click,c_cliente,guadaventa2,c_cliente,imprime_venta,c_cliente,imprime_preventa,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,c_cliente,traevendedor,c_cliente,traenumvendedor,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,subs,actualizatet,c_cliente,mandapiezas,c_cliente,mandapendientepagare,c_cliente,mandapendientesrecarga,c_cliente,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,subs,traealmacen,c_principal,b_ok_res_click,c_principal,b_ok_panel5_click,c_productos,b4xpage_appear,subs,traetipocliente2,subs,traecliente,subs,traeruta,subs,procesapromocion,subs,traetotalesclienteactual,subs,haypedido,c_productos,llenaprodsll,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traemosinventariodisponibleparapromo,preoptimizedclv,commit,b4xseekbar,setvalue,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear,b4xset,contains,b4xpagesmanager,closepageimpl +main,activity_pause,1,0,49,51 +b4xpages,delegate,b4xpages,mpm + +b4xpagesdelegator,activity_pause,b4xpages,getmanager,b4xpagesmanager,activity_pause,b4xpagesmanager,raiseeventwithresult,b4xpagesmanager,gettoppage,b4xpagesmanager,backgroundstatechanged,b4xpagesmanager,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xorderedmap,getvalues +main,activity_permissionresult,0,0,53,55 +b4xpages,delegate,b4xpages,mpm + +b4xpagesdelegator,activity_permissionresult,b4xpages,getmanager,b4xpagesmanager,raiseevent,b4xpagesmanager,gettoppage,b4xpagesmanager,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +main,activity_resume,1,0,45,47 +b4xpages,delegate,b4xpages,mpm + +b4xpagesdelegator,activity_resume,b4xpages,getmanager,b4xpagesmanager,activity_resume,b4xpagesmanager,backgroundstatechanged,b4xpagesmanager,raiseevent,b4xpagesmanager,gettoppage,b4xorderedmap,getvalues,b4xpagesmanager,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +main,create_menu,0,0,57,59 +b4xpages,delegate,b4xpages,mpm + +b4xpagesdelegator,create_menu,b4xpages,getmanager,b4xpagesmanager,createmenu,b4xpagesmanager,gettoppage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +main,globals,0,1,23,25 + + + +main,process_globals,0,1,19,21 + + + +b4xpagesdelegator,activity_actionbarhomeclick,1,0,35,37 +b4xpages,mpm,starter,pre_viejo,starter,skmt,starter,ruta,starter,rp,starter,dbreqserver,starter,mac_impresora,starter,tabla +starter,mac_impresora,starter,tabla +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_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,c_productos,b4xpage_closerequest,c_cuestionario,ocultpanelpregunta,subs,pedidoguardado,subs,borrapedidoclienteactual,b4xpages,showpage,c_cliente,guardar_click,b4xpages,mainpage,subs,traetablaprods,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,c_cliente,guardaventa,subs,borrapedidocredito,c_cliente,b_imp_click,c_cliente,guadaventa2,c_cliente,imprime_venta,c_cliente,imprime_preventa,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,c_cliente,traevendedor,c_cliente,traenumvendedor,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,subs,actualizatet,c_cliente,mandapiezas,c_cliente,mandapendientepagare,c_cliente,mandapendientesrecarga,c_cliente,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,subs,traealmacen,c_principal,b_ok_res_click,c_principal,b_ok_panel5_click,c_productos,b4xpage_appear,subs,traetipocliente2,subs,traecliente,subs,traeruta,subs,procesapromocion,subs,traetotalesclienteactual,subs,haypedido,c_productos,llenaprodsll,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traemosinventariodisponibleparapromo,preoptimizedclv,commit,b4xseekbar,setvalue,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear,b4xset,contains,b4xpagesmanager,closepageimpl +b4xpagesdelegator,activity_keypress,1,0,27,29 +b4xpages,mpm,starter,pre_viejo,starter,skmt,starter,ruta,starter,rp,starter,dbreqserver,starter,mac_impresora,starter,tabla +starter,mac_impresora,starter,tabla +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_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,c_productos,b4xpage_closerequest,c_cuestionario,ocultpanelpregunta,subs,pedidoguardado,subs,borrapedidoclienteactual,b4xpages,showpage,c_cliente,guardar_click,b4xpages,mainpage,subs,traetablaprods,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,c_cliente,guardaventa,subs,borrapedidocredito,c_cliente,b_imp_click,c_cliente,guadaventa2,c_cliente,imprime_venta,c_cliente,imprime_preventa,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,c_cliente,traevendedor,c_cliente,traenumvendedor,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,subs,actualizatet,c_cliente,mandapiezas,c_cliente,mandapendientepagare,c_cliente,mandapendientesrecarga,c_cliente,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,subs,traealmacen,c_principal,b_ok_res_click,c_principal,b_ok_panel5_click,c_productos,b4xpage_appear,subs,traetipocliente2,subs,traecliente,subs,traeruta,subs,procesapromocion,subs,traetotalesclienteactual,subs,haypedido,c_productos,llenaprodsll,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traemosinventariodisponibleparapromo,preoptimizedclv,commit,b4xseekbar,setvalue,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear,b4xset,contains,b4xpagesmanager,closepageimpl +b4xpagesdelegator,activity_pause,1,0,52,54 +b4xpages,mpm + +b4xpages,getmanager,b4xpagesmanager,activity_pause,b4xpagesmanager,raiseeventwithresult,b4xpagesmanager,gettoppage,b4xpagesmanager,backgroundstatechanged,b4xpagesmanager,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xorderedmap,getvalues +b4xpagesdelegator,activity_permissionresult,0,0,31,33 +b4xpages,mpm + +b4xpages,getmanager,b4xpagesmanager,raiseevent,b4xpagesmanager,gettoppage,b4xpagesmanager,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +b4xpagesdelegator,activity_resume,1,0,48,50 +b4xpages,mpm + +b4xpages,getmanager,b4xpagesmanager,activity_resume,b4xpagesmanager,backgroundstatechanged,b4xpagesmanager,raiseevent,b4xpagesmanager,gettoppage,b4xorderedmap,getvalues,b4xpagesmanager,logevent,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +b4xpagesdelegator,create_menu,0,0,39,41 +b4xpages,mpm + +b4xpages,getmanager,b4xpagesmanager,createmenu,b4xpagesmanager,gettoppage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys +b4xpagesdelegator,initialize,0,0,4,6 + + + +b4xpagesdelegator,class_globals,0,0,1,2 + + + +b4xpagesdelegator,mainform_resize,0,0,44,46 +b4xpages,mpm + +b4xpages,getmanager,b4xpagesmanager,mainform_resize,b4xpagesmanager,raiseevent,b4xpagesmanager,getpageinfofromroot,b4xpagesmanager,logevent,b4xorderedmap,get +b4xpagesmanager,initialize,1,0,59,93 +b4xpages,delegate,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,,settitle,,findpifromb4xpage,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,,raiseeventwithresult,,updatemenuitems,,updatestackstring +b4xpagesmanager,addmenuitem,0,0,481,488 + + +,findpifromb4xpage,b4xorderedmap,getvalues +b4xpagesmanager,addpage,1,0,141,149 +starter,ruta,starter,skmt,starter,rp,b4xpages,mpm,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,,addpage,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring +b4xpagesmanager,addpageandcreate,1,0,151,154 +starter,ruta,starter,skmt,starter,rp,b4xpages,mpm,starter,dbreqserver + +,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring +b4xpagesmanager,closepage,1,0,209,230 + + +,findpifromb4xpage,b4xset,contains,,gettoppage,b4xset,getsize,,closepageimpl,,toppagedisappear,b4xset,remove,,showpageimpl,,toppageappear,b4xorderedmap,getvalues,b4xorderedmap,containskey,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,,raiseeventwithresult,,logevent,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring +b4xpagesmanager,findpifromb4xpage,0,0,306,313 + + +b4xorderedmap,getvalues +b4xpagesmanager,getpage,0,0,394,396 + + +,getpagefromid,b4xorderedmap,get,b4xorderedmap,getkeys +b4xpagesmanager,settitle,0,0,363,367 + + +,findpifromb4xpage,b4xorderedmap,getvalues +b4xpagesmanager,showpage,1,0,156,178 +starter,ruta,starter,skmt,starter,rp,b4xpages,mpm,starter,dbreqserver + +,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,,showpage,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring +b4xpagesmanager,showpageandremovepreviouspages,1,0,180,207 +starter,ruta,starter,skmt,starter,rp,b4xpages,mpm,starter,dbreqserver + +,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring,b4xorderedmap,clear +b4xpagesmanager,activity_actionbarhomeclick,1,0,129,138 +starter,pre_viejo,b4xpages,mpm,starter,skmt,starter,ruta,starter,rp,starter,dbreqserver,starter,mac_impresora,starter,tabla +starter,mac_impresora,starter,tabla +,gettoppage,,closerequestexists,,handlecloserequest,,closepage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,,logevent,b4xmainpage,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,c_productos,b4xpage_closerequest,c_cuestionario,ocultpanelpregunta,subs,pedidoguardado,subs,borrapedidoclienteactual,b4xpages,showpage,c_cliente,guardar_click,b4xpages,mainpage,b4xpages,getmanager,subs,traetablaprods,,showpage,,getpagefromid,,createpageifneeded,,toppagedisappear,b4xset,remove,,showpageimpl,b4xset,add,,toppageappear,,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring,c_cliente,guardaventa,subs,borrapedidocredito,c_cliente,b_imp_click,c_cliente,guadaventa2,c_cliente,imprime_venta,c_cliente,imprime_preventa,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,c_cliente,traevendedor,c_cliente,traenumvendedor,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,subs,actualizatet,c_cliente,mandapiezas,c_cliente,mandapendientepagare,c_cliente,mandapendientesrecarga,c_cliente,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,subs,traealmacen,c_principal,b_ok_res_click,c_principal,b_ok_panel5_click,c_productos,b4xpage_appear,subs,traetipocliente2,subs,traecliente,subs,traeruta,subs,procesapromocion,subs,traetotalesclienteactual,subs,haypedido,c_productos,llenaprodsll,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traemosinventariodisponibleparapromo,preoptimizedclv,commit,b4xseekbar,setvalue,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear,b4xset,contains,,closepageimpl +b4xpagesmanager,activity_keypress,1,0,468,479 +starter,pre_viejo,b4xpages,mpm,starter,skmt,starter,ruta,starter,rp,starter,dbreqserver,starter,mac_impresora,starter,tabla +starter,mac_impresora,starter,tabla +,gettoppage,,closerequestexists,,handlecloserequest,,closepage,b4xset,getsize,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,,logevent,b4xmainpage,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,c_productos,b4xpage_closerequest,c_cuestionario,ocultpanelpregunta,subs,pedidoguardado,subs,borrapedidoclienteactual,b4xpages,showpage,c_cliente,guardar_click,b4xpages,mainpage,b4xpages,getmanager,subs,traetablaprods,,showpage,,getpagefromid,,createpageifneeded,,toppagedisappear,b4xset,remove,,showpageimpl,b4xset,add,,toppageappear,,createpageimpl,b4xorderedmap,put,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring,c_cliente,guardaventa,subs,borrapedidocredito,c_cliente,b_imp_click,c_cliente,guadaventa2,c_cliente,imprime_venta,c_cliente,imprime_preventa,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,c_cliente,traevendedor,c_cliente,traenumvendedor,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,subs,actualizatet,c_cliente,mandapiezas,c_cliente,mandapendientepagare,c_cliente,mandapendientesrecarga,c_cliente,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,subs,traealmacen,c_principal,b_ok_res_click,c_principal,b_ok_panel5_click,c_productos,b4xpage_appear,subs,traetipocliente2,subs,traecliente,subs,traeruta,subs,procesapromocion,subs,traetotalesclienteactual,subs,haypedido,c_productos,llenaprodsll,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traemosinventariodisponibleparapromo,preoptimizedclv,commit,b4xseekbar,setvalue,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear,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 +starter,pre_viejo,b4xpages,mpm,starter,skmt,starter,ruta,starter,rp,starter,dbreqserver,starter,mac_impresora,starter,tabla +starter,mac_impresora,starter,tabla +,logevent,b4xmainpage,b4xpage_closerequest,c_cliente,b4xpage_closerequest,c_clientes,b4xpage_closerequest,c_historico,b4xpage_closerequest,c_nota,b4xpage_closerequest,c_principal,b4xpage_closerequest,c_pedidos,b4xpage_closerequest,c_productos,b4xpage_closerequest,,closepage,c_cuestionario,ocultpanelpregunta,subs,pedidoguardado,subs,borrapedidoclienteactual,b4xpages,showpage,c_cliente,guardar_click,b4xpages,mainpage,b4xpages,getmanager,subs,traetablaprods,,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,,settitle,,findpifromb4xpage,b4xorderedmap,getvalues,,addpage,b4xorderedmap,containskey,,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,,raiseeventwithresult,b4xorderedmap,remove,,raiseevent,,updatemenuitems,,updatestackstring,c_cliente,guardaventa,subs,borrapedidocredito,c_cliente,b_imp_click,c_cliente,guadaventa2,c_cliente,imprime_venta,c_cliente,imprime_preventa,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,c_cliente,traevendedor,c_cliente,traenumvendedor,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,subs,actualizatet,c_cliente,mandapiezas,c_cliente,mandapendientepagare,c_cliente,mandapendientesrecarga,c_cliente,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,subs,traealmacen,c_principal,b_ok_res_click,c_principal,b_ok_panel5_click,c_productos,b4xpage_appear,subs,traetipocliente2,subs,traecliente,subs,traeruta,subs,procesapromocion,subs,traetotalesclienteactual,subs,haypedido,c_productos,llenaprodsll,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traemosinventariodisponibleparapromo,preoptimizedclv,commit,b4xseekbar,setvalue,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear,b4xset,contains,,closepageimpl +b4xpagesmanager,raiseeventwithresult,1,0,566,583 + + +,logevent +b4xpagesmanager,backgroundstatechanged,1,0,618,633 + + +b4xorderedmap,getvalues,,logevent +b4xpagesmanager,createb4xpageinfo,0,0,420,428 + + + +b4xpagesmanager,createpageifneeded,1,0,352,361 +starter,ruta,starter,skmt,starter,rp,b4xpages,mpm,starter,dbreqserver + +b4xorderedmap,getsize,,createpageimpl,b4xorderedmap,put,,logevent,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,,createb4xpageparent,b4xpages,getmanager,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,,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,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,,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,224,233 +,n2,,nnewappnid + + +appupdater,createnotification2,0,0,208,222 + + + +appupdater,download,0,0,201,206 + + +httpjob,initialize,httpjob,download,httpjob,addscheme +appupdater,download_destroy,0,0,196,199 +,n2,,n2id + + +appupdater,download_newapk,1,0,160,194 +starter,muestraprogreso,,newapp,,sharedfolder,starter,logger,,n2,,nnewappnid,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver,httputils2service,tempfolder,,usefileprovider +starter,muestraprogreso +b4xpages,showpage,httpjob,initialize,httpjob,download,httpjob,getinputstream,httpjob,release,,setfileuriasintentdata,b4xpages,mainpage,b4xmainpage,ocultaprogreso,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,httpjob,addscheme,,getfileuri +appupdater,setfileuriasintentdata,0,0,276,280 +,usefileprovider,,sharedfolder + +,getfileuri +appupdater,download_start,1,0,156,158 +starter,muestraprogreso,,newapp,,sharedfolder,starter,logger,,n2,,nnewappnid,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver,httputils2service,tempfolder,,usefileprovider +starter,muestraprogreso +,download_newapk,b4xpages,showpage,httpjob,initialize,httpjob,download,httpjob,getinputstream,httpjob,release,,setfileuriasintentdata,b4xpages,mainpage,b4xmainpage,ocultaprogreso,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,httpjob,addscheme,,getfileuri +appupdater,fileprovider_init,0,0,239,252 +,usefileprovider,,sharedfolder,,rp +,usefileprovider,,sharedfolder + +appupdater,getfileuri,0,0,255,272 +,usefileprovider,,sharedfolder + + +appupdater,process_globals,0,1,70,103 +,lnk,,nnewappnid,,n2id +,lnk,,nnewappnid,,n2id + +appupdater,service_create,0,0,105,111 +,newapp,,n2,,nativeme + + +appupdater,service_destroy,0,0,235,237 + + + +appupdater,service_start,1,0,113,154 +,lnk,,newapp,,nnewapp,,nnewappnid,b4xpages,mpm,,usefileprovider,,sharedfolder,,rp,httputils2service,tempfolder,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver +,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,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,ruta,starter,skmt,starter,rp,starter,dbreqserver + +,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,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,ruta,starter,skmt,starter,rp,starter,dbreqserver + +,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xpages,getpage,0,0,27,29 +,mpm + +,getmanager,b4xpagesmanager,getpage,b4xpagesmanager,getpagefromid,b4xorderedmap,get,b4xorderedmap,getkeys +b4xpages,getnativeparent,0,0,79,88 +,mpm + +,getmanager,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues +b4xpages,addmenuitem,0,0,91,93 +,mpm + +,getmanager,b4xpagesmanager,addmenuitem,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues +b4xpages,addpageandcreate,1,0,42,44 +,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xpages,closepage,1,0,62,64 +,mpm + +,getmanager,b4xpagesmanager,closepage,b4xpagesmanager,findpifromb4xpage,b4xset,contains,b4xpagesmanager,gettoppage,b4xset,getsize,b4xpagesmanager,closepageimpl,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xpagesmanager,toppageappear,b4xorderedmap,getvalues,b4xorderedmap,containskey,b4xorderedmap,get,b4xset,aslist,b4xorderedmap,getsize,b4xorderedmap,getkeys,b4xpagesmanager,raiseeventwithresult,b4xpagesmanager,logevent,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xpages,getpageid,0,0,32,34 +,mpm + +,getmanager,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues +b4xpages,internalsetpagesmanager,0,0,19,22 +,delegate,,mpm +,mpm +b4xpagesdelegator,initialize +b4xpages,isinitialized,0,0,9,11 +,mpm + + +b4xpages,process_globals,0,1,1,5 + + + +b4xpages,showpageandremovepreviouspages,1,0,56,58 +,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,b4xorderedmap,clear +b4xmainpage,ocultaprogreso,0,0,971,973 + + + +b4xmainpage,muestraprogreso,0,0,966,968 + + + +b4xmainpage,b_aceptar_click,0,0,1246,1264 +b4xpages,mpm + +b4xpages,mainpage,dbrequestmanager,executequery,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +b4xmainpage,b_aceptar_monto_click,0,0,1266,1330 +starter,skmt,b4xpages,mpm + +b4xpages,mainpage,dbrequestmanager,executequery,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +b4xmainpage,b_apk_click,0,0,961,963 + + + +b4xmainpage,b_arqueocieego_click,0,0,1028,1036 + + +subs,panelvisible +b4xmainpage,b_can_monto_click,0,0,1336,1338 + + + +b4xmainpage,b_cancelarcodigo_click,0,0,1332,1334 + + + +b4xmainpage,b_cargarmonto_click,0,0,1374,1383 + + +subs,panelvisible +b4xmainpage,b_enviarbd_click,0,0,1010,1012 + + + +b4xmainpage,b_enviobd_click,0,0,1340,1356 + + +fileprovider,getfileuri +b4xmainpage,b_guardar_click,0,0,1023,1026 +starter,skmt,starter,dbreqserver,starter,reqmanager +starter,dbreqserver +starter,reinicializareqmanager,dbrequestmanager,initialize +b4xmainpage,b_importarbd_click,0,0,1014,1021 +starter,ruta,b4xpages,mpm + +filehandler,initialize,filehandler,load,b4xpages,mainpage,filehandler,createloadresult,filehandler,extractinformationfromuri,b4xcollections,createset,b4xset,add,b4xset,contains,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xorderedmap,put,b4xorderedmap,containskey,b4xpages,getmanager +b4xmainpage,b_menu_click,0,0,887,889 + + + +b4xmainpage,b_pc_env_click,1,0,1117,1169 +starter,skmt,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +b4xmainpage,b_recarga_click,1,0,1358,1372 +starter,skmt,b4xpages,mpm,starter,ruta,starter,rp,starter,dbreqserver + +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,,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xmainpage,b_regesar_click,0,0,989,991 + + +subs,panelvisible +b4xmainpage,b_terpc_click,1,0,1171,1244 +starter,skmt,b4xpages,mpm + +b4xpages,mainpage,dbrequestmanager,executequery,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +b4xmainpage,b4xpage_appear,1,0,407,475 +starter,muestraprogreso,starter,dbreqserver,starter,gps +starter,muestraprogreso +,muestraprogreso,dbrequestmanager,initialize,dbrequestmanager,executequery,,b4xpage_appear,batteryutilities,initialize,batteryutilities,getbatteryinformation,,dameusuario,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +b4xmainpage,dameusuario,0,0,902,914 + + + +b4xmainpage,b4xpage_closerequest,0,0,847,869 + + + +b4xmainpage,b4xpage_created,1,0,137,405 +starter,ruta,starter,skmt,starter,rp,b4xpages,mpm,starter,dbreqserver + +b4xpages,getmanager,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xmainpage,initialize,0,0,132,134 + + + +b4xmainpage,class_globals,0,0,25,130 + + + +b4xmainpage,copiadb,0,0,932,959 +starter,rp + + +b4xmainpage,createlistitem,1,0,1079,1093 + + + +b4xmainpage,createlistitem2,1,0,1095,1108 + + + +b4xmainpage,entrar_click,1,0,478,579 +starter,dbreqserver,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +b4xmainpage,entrar_longclick,0,0,997,999 + + + +b4xmainpage,et_buspc_textchanged,1,0,1038,1077 +b4xpages,mpm + +b4xpages,mainpage,,createlistitem,,createlistitem2,b4xpages,getmanager +b4xmainpage,et_pick_ciego_textchanged,1,0,1110,1115 + + + +b4xmainpage,gps_locationchanged,1,0,871,876 + + + +b4xmainpage,i_engrane_click,1,0,975,987 +starter,dbreqserver + +subs,panelvisible +b4xmainpage,i_engrane_longclick,0,0,993,995 +starter,rp + +,copiadb +b4xmainpage,jobdone,1,0,581,845 +starter,skmt,b4xpages,mpm,httputils2service,tempfolder,starter,ruta,starter,rp,starter,dbreqserver + +b4xpages,mainpage,dbrequestmanager,handlejob,dbrequestmanager,executecommand,subs,panelvisible,b4xpages,showpage,httpjob,release,b4xpages,getmanager,httpjob,getinputstream,dbrequestmanager,readobject,dbrequestmanager,readint,dbrequestmanager,readbyte,dbrequestmanager,readbytesfully,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,,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +b4xmainpage,lv_server_itemclick,1,0,1001,1008 +starter,dbreqserver,starter,skmt,starter,reqmanager +starter,dbreqserver +starter,reinicializareqmanager,dbrequestmanager,initialize +b4xmainpage,p_add_monto_click,0,0,1393,1395 + + + +b4xmainpage,p_ciego_click,0,0,1385,1387 + + + +b4xmainpage,p_validacion_click,0,0,1389,1391 + + + +b4xmainpage,pdf_click,0,0,891,893 + + + +b4xmainpage,popupmenu_dismiss,0,0,878,880 + + + +b4xmainpage,popupmenu_menuitemclick,0,0,882,885 + + + +dbrequestmanager,executequery,0,0,28,39 + + +,startjob,,writeobject,,writeint,,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +dbrequestmanager,initialize,0,0,18,22 + + + +dbrequestmanager,handlejob,0,0,186,223 +httputils2service,tempfolder + +httpjob,getinputstream,,readobject,,readint,,readbyte,,readbytesfully +dbrequestmanager,executecommand,0,0,58,61 + + +,executebatch,,startjob,,writeint,,writeobject,,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +dbrequestmanager,bytestoimage,0,0,242,248 + + + +dbrequestmanager,class_globals,0,0,2,14 + + + +dbrequestmanager,executebatch,0,0,44,55 + + +,startjob,,writeint,,writeobject,,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +dbrequestmanager,startjob,0,0,63,71 + + +httpjob,initialize,,writeobject,,writeint +dbrequestmanager,writeint,0,0,168,172 + + + +dbrequestmanager,writeobject,0,0,86,121 + + +,writeint +dbrequestmanager,writelist,0,0,73,84 + + +,writeobject,,writeint +dbrequestmanager,filetobytes,0,0,225,232 + + + +dbrequestmanager,readobject,0,0,123,157 + + +,readbytesfully,,readbyte,,readint +dbrequestmanager,readint,0,0,174,177 + + +,readbytesfully +dbrequestmanager,readbyte,0,0,179,183 + + + +dbrequestmanager,imagetobytes,0,0,234,240 + + + +dbrequestmanager,printtable,0,0,250,266 + + + +dbrequestmanager,readbytesfully,0,0,159,166 + + + +subs,panelvisible,0,0,634,639 + + + +subs,guardaappinfo,0,0,1704,1708 + + + +subs,agregacolumna,0,0,1675,1691 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traecliente,0,0,782,790 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traetotalclientepreventaparacredito,0,0,972,984 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,centrapanel,0,0,647,649 + + + +subs,pedidoguardado,0,0,1651,1660 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,borrapedidoclienteactual,0,0,1554,1601 +starter,skmt,b4xpages,mpm + +b4xpages,mainpage,,traetablaprods,b4xpages,getmanager +subs,traeruta,0,0,755,766 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traealmacen,0,0,709,718 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,actualizatet,0,0,1523,1538 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,borrapedidocredito,0,0,1603,1632 +starter,skmt,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traeusuariodebd,0,0,800,809 +,kmt,starter,ruta,,errorlog + +,revisabd +subs,fechakmt,0,0,112,120 + + + +subs,logjobdoneresultados,0,0,1694,1701 + + + +subs,guardaclientehorainicio,0,0,1517,1520 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,centrapanelv,0,0,652,654 + + + +subs,traetotalcliente,0,0,930,942 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traetotalclientepreventa,0,0,958,970 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traetotalclienteventa,0,0,986,998 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traetotalclienteabordo,0,0,944,956 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traeruta2,0,0,769,780 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,centraetiqueta,0,0,642,644 + + + +subs,traeinventario,0,0,1710,1721 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traeprodnombre,0,0,721,734 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traetotalesclienteactual,0,0,1541,1549 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,actualizaproducto,0,0,844,877 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,,guardaproductosingestion,b4xpages,getmanager +subs,traefecha,0,0,792,797 + + + +subs,actualizaproducto2,0,0,895,926 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,,guardaproductosingestion2,b4xpages,getmanager +subs,totalpedido,0,0,737,752 +starter,skmt,b4xpages,mpm + +,traecliente,b4xpages,mainpage,b4xpages,getmanager +subs,traetipocliente2,0,0,60,81 +starter,skmt + + +subs,procesapromocion,0,0,1302,1335 +starter,tabla,b4xpages,mpm + +,traepromo,,traemaxpromos,,traepromosvendidas,,restafijospromo,,alcanzanlosvariablesparapromo,b4xpages,mainpage,b4xpages,getmanager,,traecliente,,traemosinventariodisponibleparapromo +subs,haypedido,0,0,1663,1670 +b4xpages,mpm + +b4xpages,mainpage,,traecliente,b4xpages,getmanager +subs,actualizaproductodinamico,0,0,1777,1834 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,,guardaproductosingestiondinamico,b4xpages,getmanager,,sincronizartotalesencabezado +subs,traeprodiddebd,0,0,1502,1514 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,guardaproductosingestion,0,0,828,842 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traepromo,0,0,1008,1091 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,traemosinventariodisponibleparapromo,0,0,1094,1112 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,revisamaxpromosprodsfijosporinventario,0,0,1381,1406 +b4xpages,mpm,starter,tabla + +,traemaxpromos,,traemosinventariodisponibleparapromo,b4xpages,mainpage,,traecliente,b4xpages,getmanager +subs,revisamaxpromosprodsvariablesporinventario,0,0,1413,1484 +starter,tabla,b4xpages,mpm + +,traemosinventariodisponibleparapromo,,traemaxpromos,,revisamaxpromosprodsfijosporinventario,b4xpages,mainpage,b4xpages,getmanager,,traecliente +subs,centraboton,0,0,84,86 + + + +subs,revisabd,0,0,233,298 +starter,ruta,,kmt,,errorlog + + +subs,guardaproductosingestion2,0,0,879,893 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,guardaproductosingestiondinamico,0,0,1837,1857 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,,sincronizartotalesencabezado,b4xpages,getmanager +subs,alcanzanlosvariablesparapromo,0,0,1153,1204 + + + +subs,borraarribade100errores,0,0,510,516 +,errorlog,starter,ruta,,kmt + +,revisabd +subs,borraarribade600renglonesbitacora,0,0,519,525 +,kmt,starter,ruta,,errorlog + +,revisabd +subs,borralogdb,0,0,394,398 +,kmt + + +subs,borramosarchivogps,0,0,224,230 + + + +subs,traetablaprods,0,0,1634,1647 + + + +subs,buscadbusuario,0,0,662,669 +,kmt + + +subs,centraprogressbar,0,0,657,659 + + + +subs,compress,0,0,89,98 +,gzip,,su + + +subs,copiadb,0,0,600,631 + + + +subs,cuantosvariablestengobd,0,0,1487,1498 + + + +subs,dameerroresjson,0,0,538,565 +,gzip,,su + +,compress +subs,dameruta,0,0,180,207 +,subslogs,,rutahrsatras,,kmt,starter,ruta,,rutamaxpoints,b4xpages,mpm,,gzip,,su + +,fechakmt,,fechainiciohoy,b4xpages,mainpage,,compress,b4xpages,getmanager +subs,fechainiciohoy,0,0,353,360 + + + +subs,dameusuariodedb,0,0,672,681 +,kmt,starter,ruta,,errorlog + +,revisabd +subs,decompress,0,0,101,109 +,su + + +subs,deleteerrorlog_db,0,0,217,221 +,errorlog + + +subs,deletegps_db,0,0,210,214 +,kmt + + +subs,fechakmt2ticks,0,0,568,588 + + + +subs,getphnid,0,0,20,37 +,devmodel,,phn +,devmodel + +subs,getssid,0,0,301,306 + + + +subs,guardainfoenarchivo,0,0,151,164 + + + +subs,guardainfoenbd,0,0,167,177 +,subslogs,,kmt + + +subs,guardaproducto,0,0,813,823 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,sincronizartotalesencabezado,0,0,1859,1873 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,insertarenglonespruebaenerrorlog,0,0,528,535 +,errorlog,starter,ruta,,kmt + +,revisabd,,fechakmt +subs,installapk,0,0,590,597 + + + +subs,json2map,0,0,309,321 +,kmt + +,log2db,,fechakmt +subs,log2db,0,0,363,366 +,kmt + +,fechakmt +subs,map2json,0,0,324,331 + + + +subs,masdexxmins,0,0,369,375 + + + +subs,masdexxminskmt,0,0,378,391 + + +,fechakmt2ticks +subs,notihigh,0,0,123,134 + + + +subs,notilowreturn,0,0,137,148 + + + +subs,traemaxpromos,0,0,1207,1288 +b4xpages,mpm + +b4xpages,mainpage,,traecliente,b4xpages,getmanager +subs,traepromosvendidas,0,0,1291,1300 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +subs,restafijospromo,0,0,1117,1149 +starter,tabla,b4xpages,mpm + +,traemosinventariodisponibleparapromo,b4xpages,mainpage,b4xpages,getmanager +subs,process_globals,0,1,3,17 +,rutamaxpoints,,rutahrsatras,,subslogs +,rutamaxpoints,,rutahrsatras,,subslogs + +subs,revisaflp,0,0,441,482 +tracker,flp,tracker,uugcoords,,kmt + +,log2db,,fechakmt +subs,revisamaxpromosprodsfijosporinventario2,0,0,1338,1378 +starter,tabla,b4xpages,mpm + +,traemosinventariodisponibleparapromo,,traemaxpromos,b4xpages,mainpage,b4xpages,getmanager,,traecliente +subs,revisauug,0,0,423,438 +tracker,flp,tracker,uugcoords,starter,logger,,kmt +tracker,uugcoords +,fechakmt +subs,traetipocliente,0,0,43,58 +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 +starter,reinicializareqmanager,0,0,129,135 +,skmt,,dbreqserver,,reqmanager +,dbreqserver +dbrequestmanager,initialize +starter,envia_ultima_gps,0,0,87,106 +,logger,,reqmanager,,skmt,,timer1,,interval,b4xpages,mpm +,logger +b4xpages,mainpage,dbrequestmanager,executecommand,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +starter,application_error,0,0,117,126 +,logcat,,logs,subs,errorlog,,ruta,subs,kmt + +subs,revisabd,subs,fechakmt +starter,btadmin_statechanged,0,0,55,59 +,logger,,bluetoothstate,,btadmin +,bluetoothstate + +starter,gps_locationchanged,0,0,75,77 + + + +starter,logcat_logcatdata,0,0,109,114 +,logs + + +starter,process_globals,0,1,6,35 +,dbreqserver,,interval,,ruta,,muestraprogreso,,logger,,marcacel,,ph +,dbreqserver,,interval,,ruta,,muestraprogreso,,logger,,marcacel + +starter,service_create,1,0,37,53 +,gps,,s,,skmt,,btadmin,,timer1,,interval,,logs +,skmt +c_subs,initialize,c_subs,inicializabd,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd +starter,service_destroy,0,0,83,85 + + + +starter,service_start,0,0,61,68 +,s,,skmt,,dbreqserver,,reqmanager,,ruta,subs,kmt,subs,errorlog +,dbreqserver +subs,revisabd,c_subs,traedbreqserverdebd,dbrequestmanager,initialize +starter,service_taskremoved,0,0,79,81 + + + +starter,timer1_tick,0,0,70,73 +,logger,,reqmanager,,skmt,,timer1,,interval,b4xpages,mpm +,logger +,envia_ultima_gps,b4xpages,mainpage,dbrequestmanager,executecommand,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +filehandler,initialize,0,0,23,25 + + + +filehandler,load,0,0,48,58 + + +,createloadresult,,extractinformationfromuri,b4xcollections,createset,b4xset,add,b4xset,contains,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xorderedmap,put,b4xorderedmap,containskey +filehandler,checkforreceivedfiles,0,0,96,111 +b4xpages,mpm + +b4xpages,getnativeparent,b4xpages,mainpage,,isrelevantintent,,createloadresult,,extractinformationfromuri,b4xpages,getmanager,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xcollections,createset,b4xset,add,b4xset,contains,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xorderedmap,put,b4xorderedmap,containskey +filehandler,isrelevantintent,0,0,113,119 + + + +filehandler,createloadresult,0,0,149,156 + + + +filehandler,extractinformationfromuri,0,0,70,94 + + +b4xcollections,createset,b4xset,add,b4xset,contains,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xorderedmap,put,b4xorderedmap,containskey +filehandler,class_globals,0,0,14,21 + + + +filehandler,getba,0,0,66,68 + + + +filehandler,saveas,0,0,28,46 + + +,startactivityforresult,,getba +filehandler,startactivityforresult,0,0,60,64 + + +,getba +batteryutilities,initialize,0,0,7,9 + + + +batteryutilities,getbatteryinformation,0,0,22,28 + + + +batteryutilities,class_globals,0,0,2,5 + + + +batteryutilities,getbatterytechnolgy,0,0,30,36 + + + +c_subs,initialize,1,0,19,26 + + +,dbinit,,reqmanagerinit,,dbok,dbrequestmanager,initialize,,traedbreqserverdebd +c_subs,agregacolumna,0,0,417,433 + + + +c_subs,borralogdb,0,0,247,251 + + + +c_subs,buscadbusuario,0,0,369,376 + + + +c_subs,centraetiqueta,0,0,349,351 + + + +c_subs,centrapanel,0,0,354,356 + + + +c_subs,centrapanelv,0,0,359,361 + + + +c_subs,centraprogressbar,0,0,364,366 + + + +c_subs,checknotificationaccess,0,0,595,602 + + + +c_subs,class_globals,0,0,1,16 + + + +c_subs,copiadb,0,0,307,338 + + + +c_subs,createnotification,0,0,469,475 + + + +c_subs,dbinit,1,0,30,36 + + +,dbok +c_subs,dbok,1,0,38,42 + + + +c_subs,deleteerrorlog_db,0,0,180,184 + + + +c_subs,deletegps_db,0,0,173,177 + + + +c_subs,enviook,1,0,71,76 + + + +c_subs,enviotest,0,0,58,68 + + +dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_subs,fechainiciohoy,0,0,206,213 + + + +c_subs,fechakmt,0,0,133,141 + + + +c_subs,fechakmt2ticks,0,0,275,295 + + + +c_subs,getphnid,0,0,113,130 + + + +c_subs,guardaappinfo,0,0,387,391 + + + +c_subs,guardainfoenarchivo,0,0,144,157 + + + +c_subs,guardainfoenbd,0,0,160,170 + + + +c_subs,inicializabd,0,0,404,412 + + + +c_subs,reqmanagerinit,0,0,45,50 + + +dbrequestmanager,initialize,,traedbreqserverdebd +c_subs,installapk,0,0,297,304 + + + +c_subs,jobdone,1,0,78,110 +httputils2service,tempfolder + +dbrequestmanager,handlejob,,enviook,httpjob,release,httpjob,getinputstream,dbrequestmanager,readobject,dbrequestmanager,readint,dbrequestmanager,readbyte,dbrequestmanager,readbytesfully +c_subs,log2db,0,0,216,219 + + +,fechakmt +c_subs,logjobdoneresultados,0,0,394,401 + + + +c_subs,masdexxmins,0,0,222,228 + + + +c_subs,masdexxminskmt,0,0,231,244 + + +,fechakmt2ticks +c_subs,notihigh,0,0,478,490 + + + +c_subs,notilowreturn,0,0,493,504 + + + +c_subs,panelvisible,0,0,341,346 + + + +c_subs,traedbreqserverdebd,0,0,436,444 + + + +c_subs,reqmanagerreinit,0,0,53,56 + + +,reqmanagerinit,dbrequestmanager,initialize,,traedbreqserverdebd +c_subs,traealmacen,0,0,507,515 + + + +c_subs,traefecha,0,0,379,384 + + + +c_subs,traeintervalodebd,0,0,447,455 + + + +c_subs,traeruta,0,0,518,529 + + + +c_subs,traetimeoutdebd,0,0,458,466 + + + +c_principal,initialize,0,0,249,251 + + + +c_principal,addtitle,1,0,3243,3251 + + + +c_principal,b_comm_click,1,0,3113,3145 + + + +c_principal,b_mapa_click,0,0,2578,2581 +b4xpages,mpm + +b4xpages,getpage,b4xpages,getmanager,b4xpagesmanager,getpage,b4xpagesmanager,getpagefromid,b4xorderedmap,get,b4xorderedmap,getkeys +c_principal,b_marcas_click,1,0,3159,3241 +b4xpages,mpm + +b4xpages,mainpage,,addtitle,b4xpages,getmanager +c_principal,b_ok_comiss_click,0,0,3147,3156 + + + +c_principal,b_ok_panel5_click,0,0,3253,3265 + + + +c_principal,b_ok_pas_click,1,0,2702,2814 +starter,skmt,b4xpages,mpm,starter,dbreqserver,starter,gps,starter,marcacel,tracker,flp,starter,logger,starter,reqmanager,starter,timer1,starter,interval +starter,logger +subs,panelvisible,b4xpages,mainpage,,checapedido,,b4xpage_appear,b4xpages,getmanager,c_respaldodiario,respaldapedido,c_respaldodiario,respaldainventarios,c_respaldodiario,respaldapaquetes,dbrequestmanager,initialize,dbrequestmanager,executequery,batteryutilities,initialize,batteryutilities,getbatteryinformation,starter,envia_ultima_gps,subs,borrapedidocredito,,gps_locationchanged,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch +c_principal,checapedido,0,0,3280,3314 +starter,skmt,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_principal,b4xpage_appear,1,0,387,670 +starter,dbreqserver,starter,gps,starter,marcacel,starter,skmt,tracker,flp,b4xpages,mpm,starter,logger,starter,reqmanager,starter,timer1,starter,interval +starter,logger +c_respaldodiario,respaldapedido,c_respaldodiario,respaldainventarios,c_respaldodiario,respaldapaquetes,dbrequestmanager,initialize,b4xpages,mainpage,dbrequestmanager,executequery,,b4xpage_appear,batteryutilities,initialize,batteryutilities,getbatteryinformation,starter,envia_ultima_gps,subs,borrapedidocredito,,gps_locationchanged,,checapedido,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch +c_principal,b_ok_res_click,0,0,2836,2847 + + + +c_principal,b_productos_click,0,0,3418,3453 +starter,skmt + + +c_principal,b_regreso_click,0,0,3410,3412 + + + +c_principal,b_tabulador_click,1,0,3316,3318 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,gps_locationchanged,0,0,3084,3086 + + + +c_principal,b4xpage_closerequest,1,0,2488,2507 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +,b_ok_res_click,,b_ok_panel5_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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,b4xpage_created,1,0,254,332 +starter,skmt,b4xpages,mpm + +c_respaldodiario,initialize,c_respaldodiario,vacuum,b4xpages,mainpage,,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,b4xpages,getmanager,,chkiftableexists +c_principal,gettablecolumnlist,0,0,366,385 +starter,skmt + +,chkiftableexists +c_principal,btn_ubicar_click,0,0,3088,3094 + + + +c_principal,btncobranza_click,1,0,3320,3338 +b4xpages,mpm + +b4xpages,mainpage,,cargardatoscobranza,b4xpages,getmanager +c_principal,cargardatoscobranza,1,0,3340,3394 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_principal,btnregresar_click,0,0,3396,3398 + + + +c_principal,busca_click,1,0,2574,2576 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,carga_click,1,0,2864,2866 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,cargar_click,0,0,1113,1412 +starter,skmt,starter,marcacel,b4xpages,mpm + +b4xpages,mainpage,subs,panelvisible,subs,centrapanel,subs,centrapanelv,dbrequestmanager,executecommand,dbrequestmanager,executequery,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,chkiftableexists,0,0,334,342 +starter,skmt + + +c_principal,class_globals,0,0,1,246 + + + +c_principal,connecta_click,1,0,2509,2572 +starter,dbreqserver + +dbrequestmanager,initialize,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,e_ruta_enterpressed,1,0,2583,2645 +starter,skmt,b4xpages,mpm,starter,dbreqserver,starter,gps,starter,marcacel,tracker,flp,starter,logger,starter,reqmanager,starter,timer1,starter,interval +starter,logger +b4xpages,mainpage,,b4xpage_appear,b4xpages,getmanager,c_respaldodiario,respaldapedido,c_respaldodiario,respaldainventarios,c_respaldodiario,respaldapaquetes,dbrequestmanager,initialize,dbrequestmanager,executequery,batteryutilities,initialize,batteryutilities,getbatteryinformation,starter,envia_ultima_gps,subs,borrapedidocredito,,gps_locationchanged,,checapedido,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch +c_principal,e_ruta_textchanged,1,0,3097,3111 + + + +c_principal,gettablecolumnlistname,0,0,345,364 +starter,skmt + +,chkiftableexists +c_principal,hacer_ped_click,1,0,3058,3060 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,inv_click,0,0,2647,2677 +b4xpages,mpm + +b4xpages,mainpage,dbrequestmanager,executequery,b4xpages,getmanager,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,iv_abordo_click,1,0,3273,3278 +starter,skmt,b4xpages,mpm,starter,ruta,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,jobdone,1,0,1414,2486 +starter,skmt,starter,marcacel,httputils2service,tempfolder,b4xpages,mpm,starter,ruta,starter,rp,starter,dbreqserver,starter,gps,tracker,flp,starter,logger,starter,reqmanager,starter,timer1,starter,interval +starter,logger +dbrequestmanager,handlejob,b4xpages,showpage,,b4xpage_appear,b4xpages,mainpage,dbrequestmanager,executecommand,subs,logjobdoneresultados,httpjob,release,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,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,c_respaldodiario,respaldapedido,c_respaldodiario,respaldainventarios,c_respaldodiario,respaldapaquetes,dbrequestmanager,executequery,batteryutilities,initialize,batteryutilities,getbatteryinformation,starter,envia_ultima_gps,subs,borrapedidocredito,,gps_locationchanged,,checapedido,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executebatch +c_principal,mapfragment1_longclick,0,0,698,709 + + +,pointinpolygon +c_principal,pointinpolygon,0,0,672,696 + + + +c_principal,nuevo_click,1,0,2816,2834 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,nvo_cliente_click,1,0,3062,3078 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_principal,p_mandainfo_click,0,0,3269,3271 + + + +c_principal,p_prod_click,0,0,3414,3416 + + + +c_principal,p_resumen_click,0,0,2860,2862 + + + +c_principal,pnlcobranza_click,0,0,3400,3402 + + + +c_principal,resdia_click,1,0,2868,3056 +b4xpages,mpm + +b4xpages,mainpage,subs,traetotalcliente,subs,traetotalclientepreventa,subs,traetotalclienteventa,subs,traetotalclienteabordo,b4xpages,getmanager +c_principal,resumen_click,0,0,2849,2858 + + + +c_principal,subir_click,0,0,712,1110 +starter,skmt,starter,marcacel,b4xpages,mpm + +b4xpages,mainpage,dbrequestmanager,executecommand,subs,traeruta2,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,t1_tick,0,0,2679,2700 + + +dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_principal,tickets_dia_click,1,0,3080,3082 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_clientes,initialize,0,0,38,40 + + + +c_clientes,b_buscar_click,1,0,467,577 +b4xpages,mpm + +b4xpages,mainpage,,createlistitem,b4xpages,getmanager +c_clientes,createlistitem,1,0,155,168 + + + +c_clientes,b_qr_click,0,0,367,372 + + + +c_clientes,b4xpage_appear,1,0,66,139 +tracker,flp,b4xpages,mpm + +b4xpages,mainpage,,gps_locationchanged,,createlistitem,b4xpages,getmanager +c_clientes,gps_locationchanged,0,0,143,153 +tracker,flp,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_clientes,b4xpage_closerequest,0,0,256,264 + + + +c_clientes,b4xpage_created,1,0,43,64 + + + +c_clientes,busca_textchanged,1,0,266,365 +b4xpages,mpm + +b4xpages,mainpage,,createlistitem,b4xpages,getmanager +c_clientes,calc_ean_checksum,0,0,395,408 + + + +c_clientes,class_globals,0,0,1,35 + + + +c_clientes,listview1_itemclick,1,0,197,254 +starter,pre_viejo,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver +starter,pre_viejo +b4xpages,mainpage,subs,traetotalclientepreventaparacredito,subs,guardaclientehorainicio,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_cliente,b4xpage_created,,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_clientes,p_clientes_click,0,0,412,414 + + + +c_clientes,p_datosclie_click,1,0,416,465 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +b4xpages,mainpage,subs,guardaclientehorainicio,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_cliente,b4xpage_created,,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_clientes,pointinpolygon,0,0,170,194 + + + +c_clientes,sc_noscan,0,0,391,393 + + + +c_clientes,sc_result,1,0,374,389 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,initialize,0,0,178,180 + + + +c_cliente,b_abono_click,1,0,2498,2538 +b4xpages,mpm,starter,skmt,starter,mac_impresora,subs,kmt,starter,ruta,subs,errorlog,starter,dbreqserver,starter,gps,tracker,flp +starter,mac_impresora +b4xpages,mainpage,,imprime_pagare,b4xpages,getmanager,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,subs,traeusuariodebd,subs,traeruta,subs,traecliente,subs,fechakmt,,b4xpage_appear,escposprinter,writestring2,escposprinter,astream_error,subs,revisabd,dbrequestmanager,initialize,subs,centrapanel,,gps_locationchanged,escposprinter,initialize,subs,traetotalclientepreventaparacredito +c_cliente,imprime_pagare,1,0,2741,2885 +starter,skmt,starter,mac_impresora,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog,starter,dbreqserver,starter,gps,tracker,flp +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,writestring,,imprime_pagare,b4xpages,mainpage,subs,traeusuariodebd,subs,traeruta,subs,traecliente,subs,fechakmt,,b4xpage_appear,escposprinter,writestring2,escposprinter,astream_error,b4xpages,getmanager,subs,revisabd,dbrequestmanager,initialize,subs,centrapanel,,gps_locationchanged,escposprinter,initialize,subs,traetotalclientepreventaparacredito +c_cliente,b_abono1_click,0,0,2546,2548 + + + +c_cliente,b_acepatiende_click,1,0,2928,2955 +b4xpages,mpm + +b4xpages,mainpage,subs,traecliente,b4xpages,getmanager +c_cliente,b_acepgiro_click,0,0,2988,3012 +b4xpages,mpm + +b4xcombobox,getselecteditem,b4xpages,mainpage,subs,traecliente,b4xcombobox,getselectedindex,b4xcombobox,getitem,b4xpages,getmanager +c_cliente,b_acred_click,1,0,861,919 +b4xpages,mpm,starter,pre_viejo,starter,mac_impresora,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver +starter,mac_impresora +b4xpages,mainpage,subs,traetotalclientepreventaparacredito,,guardaventa,b4xpages,getmanager,,b_imp_click,,guadaventa2,,imprime_venta,,imprime_preventa,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,,traevendedor,,traenumvendedor,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,subs,actualizatet,,mandapiezas,,mandapendientepagare,b4xpages,showpage,,mandapendientesrecarga,,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,subs,traealmacen +c_cliente,guardaventa,1,0,925,943 +starter,pre_viejo,starter,mac_impresora,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver +starter,mac_impresora +,b_imp_click,,guadaventa2,,imprime_venta,,imprime_preventa,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,,traevendedor,,traenumvendedor,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,b4xpages,mainpage,b4xpages,getmanager,subs,actualizatet,,mandapiezas,,mandapendientepagare,b4xpages,showpage,,mandapendientesrecarga,,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,subs,traealmacen +c_cliente,b_act_coords_click,0,0,2897,2920 +b4xpages,mpm + +b4xpages,mainpage,subs,traecliente,b4xpages,getmanager +c_cliente,b_cancelar_click,1,0,2540,2544 + + + +c_cliente,b_cancelatiende_click,1,0,2957,2961 + + + +c_cliente,b_cancelgiro_click,0,0,3014,3016 + + + +c_cliente,b_cancred_click,0,0,921,923 + + + +c_cliente,b_cxc_click,1,0,2550,2605 +b4xpages,mpm + +b4xpages,mainpage,,createlistitem,b4xpages,getmanager +c_cliente,createlistitem,1,0,2607,2619 + + + +c_cliente,b_cxc_longclick,0,0,2887,2889 + + + +c_cliente,b_e_next_click,1,0,2019,2027 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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,,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_guarda_c_click,0,0,1962,1984 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_cliente,b_imp_click,1,0,1148,1171 +starter,mac_impresora,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver +starter,mac_impresora +,imprime_venta,,imprime_preventa,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,,traevendedor,,traenumvendedor,,b_imp_click,,guadaventa2,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,b4xpages,mainpage,b4xpages,getmanager,subs,actualizatet,,mandapiezas,,mandapendientepagare,b4xpages,showpage,,mandapendientesrecarga,,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,subs,traealmacen +c_cliente,imprime_venta,1,0,1505,1884 +starter,mac_impresora,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,,traevendedor,,traenumvendedor,,b_imp_click,,guadaventa2,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,b4xpages,mainpage,b4xpages,getmanager,,imprime_venta,,imprime_preventa,subs,actualizatet,,mandapiezas,,mandapendientepagare,b4xpages,showpage,,mandapendientesrecarga,,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,subs,traealmacen +c_cliente,imprime_preventa,1,0,1212,1503 +starter,mac_impresora,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver +starter,mac_impresora +escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,,traevendedor,,traenumvendedor,subs,traealmacen,,b_imp_click,,guadaventa2,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,b4xpages,mainpage,b4xpages,getmanager,,imprime_venta,,imprime_preventa,subs,actualizatet,,mandapiezas,,mandapendientepagare,b4xpages,showpage,,mandapendientesrecarga,,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_mapa_click,1,0,1144,1146 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_ubicar_click,0,0,2891,2893 + + + +c_cliente,b_venta_click,0,0,1986,2017 + + + +c_cliente,b_venta_credito_click,1,0,656,665 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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,,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b_ventaabordo_click,1,0,2688,2739 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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,,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,b4xpage_appear,1,0,253,553 +starter,dbreqserver,starter,gps,starter,skmt,tracker,flp,starter,mac_impresora,b4xpages,mpm +starter,mac_impresora +dbrequestmanager,initialize,subs,centrapanel,b4xpages,mainpage,,gps_locationchanged,escposprinter,initialize,escposprinter,isconnected,escposprinter,disconnect,escposprinter,connect,subs,traetotalclientepreventaparacredito,b4xpages,getmanager +c_cliente,gps_locationchanged,0,0,555,609 +tracker,flp,starter,skmt,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_cliente,b4xpage_closerequest,1,0,671,713 +starter,pre_viejo,b4xpages,mpm,starter,skmt,starter,ruta,starter,rp,starter,dbreqserver,starter,mac_impresora +starter,mac_impresora +c_cuestionario,ocultpanelpregunta,subs,pedidoguardado,subs,borrapedidoclienteactual,b4xpages,showpage,,guardar_click,b4xpages,mainpage,b4xpages,getmanager,subs,traetablaprods,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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,,guardaventa,subs,borrapedidocredito,,b_imp_click,,guadaventa2,,imprime_venta,,imprime_preventa,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,,traevendedor,,traenumvendedor,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,subs,actualizatet,,mandapiezas,,mandapendientepagare,,mandapendientesrecarga,,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,subs,traealmacen +c_cliente,guardar_click,1,0,727,859 +starter,skmt,b4xpages,mpm,starter,pre_viejo,starter,mac_impresora,starter,ruta,starter,rp,starter,dbreqserver +starter,mac_impresora +b4xpages,mainpage,,guardaventa,subs,borrapedidocredito,b4xpages,getmanager,,b_imp_click,,guadaventa2,,imprime_venta,,imprime_preventa,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,,traevendedor,,traenumvendedor,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,subs,actualizatet,,mandapiezas,,mandapendientepagare,b4xpages,showpage,,mandapendientesrecarga,,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,subs,traealmacen +c_cliente,b4xpage_created,1,0,183,249 +starter,skmt,starter,rp + +c_cuestionario,initialize,c_cuestionario,agregacolumna +c_cliente,bt_qr_click,0,0,1086,1094 + + + +c_cliente,calc_ean_checksum,0,0,1129,1142 + + + +c_cliente,cb_factura_checkedchange,0,0,2076,2079 + + + +c_cliente,cb_giro_selectedindexchanged,0,0,3018,3020 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_cliente,class_globals,0,0,5,175 + + + +c_cliente,cuest_preguntacontestada,1,0,2621,2685 +starter,skmt,b4xpages,mpm,starter,dbreqserver,starter,gps,tracker,flp,starter,mac_impresora +starter,mac_impresora +subs,traecliente,subs,traeruta,subs,traealmacen,c_cuestionario,agregapregunta,,b4xpage_appear,b4xpages,mainpage,b4xpages,getmanager,dbrequestmanager,initialize,subs,centrapanel,,gps_locationchanged,escposprinter,initialize,escposprinter,isconnected,escposprinter,disconnect,escposprinter,connect,subs,traetotalclientepreventaparacredito +c_cliente,datos_click,1,0,723,725 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,gest_click,1,0,615,654 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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,,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,guadaventa2,1,0,945,1076 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +b4xpages,mainpage,subs,actualizatet,,mandapiezas,,mandapendientepagare,b4xpages,showpage,,mandapendientesrecarga,,mandapiezasrecarga,b4xpages,getmanager,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,subs,traealmacen +c_cliente,mandapiezas,0,0,2269,2285 + + +dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_cliente,mandapendientepagare,0,0,2191,2205 +b4xpages,mpm + +b4xpages,mainpage,dbrequestmanager,executecommand,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_cliente,mandapendientesrecarga,0,0,2207,2250 +b4xpages,mpm + +b4xpages,mainpage,subs,traealmacen,dbrequestmanager,executecommand,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_cliente,mandapiezasrecarga,0,0,2252,2267 + + +dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_cliente,hist_click,1,0,1082,1084 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,traevendedor,0,0,1187,1198 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_cliente,traenumvendedor,0,0,1200,1210 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_cliente,jobdone,0,0,2287,2492 +httputils2service,tempfolder,b4xpages,mpm + +dbrequestmanager,handlejob,subs,logjobdoneresultados,b4xpages,mainpage,dbrequestmanager,executecommand,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_cliente,l_atiende_longclick,0,0,2922,2926 + + + +c_cliente,l_giro_longclick,0,0,2969,2986 +starter,skmt + +b4xcombobox,setitems,b4xcombobox,setselectedindex +c_cliente,listview1_itemlongclick,0,0,611,613 + + + +c_cliente,mandapendientes,0,0,2081,2189 +b4xpages,mpm + +dbrequestmanager,executecommand,b4xpages,mainpage,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,b4xpages,getmanager +c_cliente,mods,0,0,1,3 + + + +c_cliente,nuevo_click,1,0,1078,1080 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,p_abono_click,0,0,2494,2496 + + + +c_cliente,p_atiende_click,0,0,2963,2965 + + + +c_cliente,p_cliente_click,0,0,2072,2074 + + + +c_cliente,p_giro_click,0,0,3022,3024 + + + +c_cliente,printer_connected,1,0,1911,1921 + + +,startprinter +c_cliente,startprinter,1,0,1923,1960 + + + +c_cliente,printer1_connected,0,0,1886,1905 +starter,skmt,starter,mac_impresora +starter,mac_impresora + +c_cliente,printer1_error,0,0,1907,1909 + + + +c_cliente,rb1_checkedchange,1,0,2029,2033 + + + +c_cliente,rb2_checkedchange,1,0,2035,2039 + + + +c_cliente,rb3_checkedchange,1,0,2041,2045 + + + +c_cliente,rb4_checkedchange,1,0,2047,2051 + + + +c_cliente,sc_result,0,0,1096,1119 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_cliente,sc_timedout,0,0,1121,1123 + + + +c_cliente,sc_usercancelled,0,0,1125,1127 + + + +c_cliente,t1_tick,1,0,1173,1185 +starter,mac_impresora,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver +starter,mac_impresora +,imprime_preventa,escposprinter,disconnect,escposprinter,isconnected,escposprinter,connect,escposprinter,setjustify,escposprinter,imagetobwimage,escposprinter,ditherimage2d,escposprinter,packimage,escposprinter,writestring,escposprinter,printimage,,traevendedor,,traenumvendedor,subs,traealmacen,,b_imp_click,,guadaventa2,escposprinter,writestring2,escposprinter,astream_error,escposprinter,writebytes,b4xpages,mainpage,b4xpages,getmanager,,imprime_venta,subs,actualizatet,,mandapiezas,,mandapendientepagare,b4xpages,showpage,,mandapendientesrecarga,,mandapiezasrecarga,dbrequestmanager,executequery,dbrequestmanager,startjob,dbrequestmanager,writeobject,dbrequestmanager,writeint,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme,dbrequestmanager,executecommand,dbrequestmanager,executebatch,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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,tar_click,1,0,715,717 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_cliente,tels_click,1,0,667,669 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_productos,initialize,0,0,95,97 + + + +c_productos,actualizaretiquetastotales,0,0,1254,1262 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_productos,actualizarlabelexistencias,0,0,2625,2649 +starter,tabla,b4xpages,mpm + +subs,traeinventario,subs,traeprodnombre,b4xpages,mainpage,b4xpages,getmanager +c_productos,actualizarlabelnombrepresentacion,0,0,2712,2728 + + + +c_productos,actualizartotalespedido,0,0,1680,1707 +b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +b4xpages,mainpage,subs,traeusuariodebd,b4xpages,getmanager,subs,revisabd +c_productos,b_aceptar_click,1,0,1392,1395 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_productos,b_continuar_click,1,0,1264,1300 +starter,skmt,b4xpages,mpm,starter,ruta,starter,rp,starter,dbreqserver + +,cuentaprods,subs,traetotalesclienteactual,subs,borrapedidocredito,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_productos,cuentaprods,0,0,956,968 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_productos,b_prodmas_click,0,0,645,792 +starter,skmt,starter,tabla,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +b4xpages,mainpage,subs,traeinventario,subs,traeprodnombre,subs,actualizaproducto,subs,traealmacen,subs,traefecha,subs,traeusuariodebd,,cuentaprods,b4xpages,getmanager,subs,guardaproductosingestion,subs,revisabd +c_productos,b_prodmasc_click,0,0,2179,2336 +starter,skmt,starter,tabla,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +b4xpages,mainpage,subs,traeinventario,subs,traeprodnombre,subs,actualizaproducto2,subs,traealmacen,subs,traefecha,subs,traeusuariodebd,,cuentaprods,b4xpages,getmanager,subs,guardaproductosingestion2,subs,revisabd +c_productos,b_prodmenos_click,0,0,552,643 +starter,skmt,starter,tabla,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +subs,traealmacen,subs,traeprodnombre,subs,actualizaproducto,subs,traefecha,subs,traeusuariodebd,b4xpages,mainpage,,cuentaprods,subs,totalpedido,subs,traeinventario,b4xpages,getmanager,subs,guardaproductosingestion,subs,revisabd,subs,traecliente +c_productos,b_prodmenosc_click,0,0,2108,2177 +starter,skmt,starter,tabla,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +subs,traealmacen,subs,traeprodnombre,subs,actualizaproducto2,subs,traefecha,subs,traeusuariodebd,b4xpages,mainpage,,cuentaprods,subs,totalpedido,subs,traeinventario,b4xpages,getmanager,subs,guardaproductosingestion2,subs,revisabd,subs,traecliente +c_productos,b_qr_click,1,0,508,530 +starter,tabla,starter,skmt,b4xpages,mpm +starter,tabla +,b4xpage_appear,subs,traetipocliente2,b4xpages,mainpage,subs,traecliente,subs,traeruta,subs,procesapromocion,subs,traetotalesclienteactual,subs,haypedido,,llenaprodsll,b4xseekbar,update,b4xpages,getmanager,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traemosinventariodisponibleparapromo,preoptimizedclv,commit,b4xseekbar,setvalue,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear +c_productos,b4xpage_appear,1,0,141,262 +starter,tabla,starter,skmt,b4xpages,mpm +starter,tabla +subs,traetipocliente2,b4xpages,mainpage,subs,traecliente,subs,traeruta,subs,procesapromocion,subs,traetotalesclienteactual,subs,haypedido,,llenaprodsll,b4xseekbar,update,b4xpages,getmanager,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traemosinventariodisponibleparapromo,preoptimizedclv,commit,b4xseekbar,setvalue,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear +c_productos,b_rechazar_click,1,0,1369,1390 +starter,skmt,b4xpages,mpm,starter,ruta,starter,rp,starter,dbreqserver + +subs,borrapedidoclienteactual,b4xpages,mainpage,b4xpages,showpage,subs,traetablaprods,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_productos,b_terminar1_click,0,0,1151,1251 +b4xpages,mpm + +b4xpages,mainpage,subs,traealmacen,,actualizaretiquetastotales,subs,centrapanel,b4xpages,getmanager +c_productos,llenaprodsll,0,0,1988,2097 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,preoptimizedclv,commit,b4xseekbar,setvalue,b4xseekbar,update,b4xpages,getmanager,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear +c_productos,b4xpage_closerequest,1,0,458,504 +starter,tabla,starter,skmt,b4xpages,mpm,starter,ruta,starter,rp,starter,dbreqserver +starter,tabla +,b4xpage_appear,b4xpages,showpage,subs,traetipocliente2,b4xpages,mainpage,subs,traecliente,subs,traeruta,subs,procesapromocion,subs,traetotalesclienteactual,subs,haypedido,,llenaprodsll,b4xseekbar,update,b4xpages,getmanager,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traemosinventariodisponibleparapromo,preoptimizedclv,commit,b4xseekbar,setvalue,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_productos,b4xpage_created,1,0,100,137 +b4xpages,mpm + +preoptimizedclv,initialize,b4xpages,mainpage,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xset,add,b4xorderedmap,initialize,b4xorderedmap,put,b4xpages,getmanager +c_productos,btnmasdinamico_click,1,0,2651,2681 +starter,tabla,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +subs,traeinventario,,actualizarlabelnombrepresentacion,subs,actualizaproductodinamico,subs,traealmacen,subs,traeprodnombre,subs,traefecha,subs,traeusuariodebd,b4xpages,mainpage,,actualizarlabelexistencias,,cuentaprods,b4xpages,getmanager,subs,guardaproductosingestiondinamico,subs,sincronizartotalesencabezado,subs,revisabd +c_productos,btnmenosdinamico_click,1,0,2683,2710 +starter,tabla,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +,actualizarlabelnombrepresentacion,subs,actualizaproductodinamico,subs,traealmacen,subs,traeprodnombre,subs,traefecha,subs,traeusuariodebd,b4xpages,mainpage,,actualizarlabelexistencias,,cuentaprods,subs,guardaproductosingestiondinamico,b4xpages,getmanager,subs,sincronizartotalesencabezado,subs,revisabd,subs,traeinventario +c_productos,busca_textchanged,0,0,1960,1986 +starter,tabla,b4xpages,mpm + +,llenaprodsll,b4xpages,mainpage,preoptimizedclv,commit,b4xseekbar,setvalue,b4xseekbar,update,b4xpages,getmanager,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear +c_productos,class_globals,0,0,1,92 + + + +c_productos,clv_prods_ll_itemclick,0,0,1709,1710 + + + +c_productos,clv_prods_ll_visiblerangechanged,1,0,1787,1887 + + + +c_productos,createlistitem,0,0,535,550 + + + +c_productos,et_pcant_focuschanged,1,0,794,814 +starter,tabla,b4xpages,mpm + +subs,traeinventario,,cuentaprods,b4xpages,mainpage,b4xpages,getmanager +c_productos,et_pcant_textchanged,1,0,816,954 +starter,skmt,starter,tabla,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +subs,traeinventario,subs,traeprodnombre,b4xpages,mainpage,subs,actualizaproducto,subs,traealmacen,subs,traefecha,subs,traeusuariodebd,,cuentaprods,b4xpages,getmanager,subs,guardaproductosingestion,subs,revisabd +c_productos,et_pcantc_focuschanged,1,0,2338,2358 +starter,tabla,b4xpages,mpm + +subs,traeinventario,,cuentaprods,b4xpages,mainpage,b4xpages,getmanager +c_productos,et_pcantc_textchanged,1,0,2360,2466 +starter,skmt,starter,tabla,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +subs,traeinventario,subs,traeprodnombre,b4xpages,mainpage,subs,actualizaproducto2,subs,traealmacen,subs,traefecha,subs,traeusuariodebd,,cuentaprods,b4xpages,getmanager,subs,guardaproductosingestion2,subs,revisabd +c_productos,l_info_click,0,0,1308,1310 + + + +c_productos,l_prodx_click,0,0,1712,1720 + + + +c_productos,l_prodx_longclick,0,0,1302,1306 + + + +c_productos,llenacatalogo,0,0,433,456 + + + +c_productos,lv_catalogos_itemclick,0,0,268,335 +starter,tabla,b4xpages,mpm + +,llenaprodsll,b4xpages,mainpage,subs,procesapromocion,preoptimizedclv,commit,b4xseekbar,setvalue,b4xseekbar,update,b4xpages,getmanager,preoptimizedclv,clearassigneditems,preoptimizedclv,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traecliente,subs,traemosinventariodisponibleparapromo +c_productos,lv_catalogos2_itemclick,1,0,337,405 +starter,tabla,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +b4xpages,getpage,b4xpages,showpage,b4xpages,mainpage,,llenacatalogo,subs,procesapromocion,b4xpages,getmanager,b4xpagesmanager,getpage,b4xpagesmanager,getpagefromid,b4xorderedmap,get,b4xorderedmap,getkeys,b4xpagesmanager,showpage,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,subs,traepromo,subs,traemaxpromos,subs,traepromosvendidas,subs,restafijospromo,subs,alcanzanlosvariablesparapromo,subs,traecliente,subs,traemosinventariodisponibleparapromo +c_productos,lv_prodspedido_itemlongclick,1,0,1583,1677 +starter,skmt,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog + +subs,traealmacen,b4xpages,mainpage,,actualizartotalespedido,,b_terminar1_click,b4xpages,getmanager,subs,traeusuariodebd,subs,revisabd,,actualizaretiquetastotales,subs,centrapanel +c_productos,lv_promos_itemclick,1,0,407,430 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver,starter,tabla,subs,kmt,subs,errorlog + +b4xpages,getpage,b4xpages,showpage,b4xpages,mainpage,subs,traeprodiddebd,subs,traeusuariodebd,b4xpages,getmanager,b4xpagesmanager,getpage,b4xpagesmanager,getpagefromid,b4xorderedmap,get,b4xorderedmap,getkeys,b4xpagesmanager,showpage,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,subs,revisabd +c_productos,lv_promos_itemlongclick,0,0,1312,1322 +starter,tabla,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_productos,lv_subtipo_itemclick,0,0,1349,1363 + + + +c_productos,lv_tipo_itemclick,0,0,1329,1347 + + + +c_productos,p_vistapreviatrans_click,0,0,1365,1367 + + + +c_productos,pclv_addprods,0,0,264,266 + + + +c_productos,pclv_hintrequested,0,0,2100,2103 + + + +c_updateavailable,initialize,0,0,7,9 + + + +c_updateavailable,b4xpage_appear,1,0,18,35 +appupdater,newapp,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_updateavailable,canrequestpackageinstalls,0,0,43,49 + + + +c_updateavailable,ofreceactualizacion,1,0,51,60 +appupdater,newapp,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_updateavailable,sinactualizacion,1,0,62,67 +appupdater,newapp,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_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,50,52 + + + +c_nuevocliente,b4xpage_appear,1,0,95,169 +starter,gps,tracker,flp,starter,skmt,b4xpages,mpm + +subs,panelvisible,subs,centraetiqueta,subs,centrapanel,b4xpages,mainpage,,gps_locationchanged,b4xcombobox,setitems,b4xpages,getmanager,b4xcombobox,setselectedindex +c_nuevocliente,gps_locationchanged,0,0,171,187 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_nuevocliente,b4xpage_created,1,0,55,91 +starter,rp + + +c_nuevocliente,cancela_click,1,0,189,192 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,b4xpages,settitle,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_nuevocliente,cb_giro_selectedindexchanged,0,0,423,425 + + +b4xcombobox,getselecteditem,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_nuevocliente,class_globals,0,0,1,47 + + + +c_nuevocliente,guarda_click,1,0,220,319 +starter,skmt,b4xpages,mpm,starter,ruta,starter,rp,starter,dbreqserver + +b4xpages,showpage,b4xcombobox,getselecteditem,b4xpages,mainpage,b4xpages,getmanager,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,b4xpages,settitle,b4xmainpage,initialize,b4xpages,addpage,c_principal,initialize,c_clientes,initialize,c_cliente,initialize,c_productos,initialize,c_updateavailable,initialize,c_mapas,initialize,,initialize,c_ticketsdia,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,b4xcombobox,getselectedindex,b4xcombobox,getitem +c_nuevocliente,p_nuevocliente_click,0,0,324,326 + + + +c_nuevocliente,pointinpolygon,0,0,194,218 + + + +c_ticketsdia,initialize,0,0,16,18 + + + +c_ticketsdia,activity_keypress,1,0,83,92 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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,,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_ticketsdia,b_noventa_click,0,0,113,155 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_ticketsdia,b4xpage_appear,0,0,51,78 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_ticketsdia,b4xpage_created,1,0,21,47 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_ticketsdia,class_globals,0,0,1,13 + + + +c_ticketsdia,listview1_itemlongclick,1,0,93,111 +starter,pre_viejo,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver +starter,pre_viejo +b4xpages,mainpage,subs,traetotalclientepreventaparacredito,subs,guardaclientehorainicio,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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,,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_ticketsdia,p_ticketsdia_click,0,0,157,159 + + + +c_ticketsdia,regresar_click,1,0,80,82 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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,,initialize,c_noventa,initialize,c_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_noventa,initialize,0,0,30,32 + + + +c_noventa,b4xpage_appear,1,0,50,62 +starter,gps + + +c_noventa,b4xpage_created,1,0,35,46 +starter,dbreqserver + +dbrequestmanager,initialize +c_noventa,cancela_click,1,0,69,71 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_noventa,class_globals,0,0,1,27 + + + +c_noventa,gps_locationchanged,0,0,64,67 + + + +c_noventa,guarda_click,1,0,72,136 +b4xpages,mpm,starter,skmt,starter,ruta,starter,rp,starter,dbreqserver + +b4xpages,mainpage,subs,borrapedidoclienteactual,b4xpages,showpage,b4xpages,getmanager,subs,traetablaprods,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_noventa,jobdone,0,0,156,178 +starter,skmt,httputils2service,tempfolder + +dbrequestmanager,handlejob,httpjob,release,httpjob,getinputstream,dbrequestmanager,readobject,dbrequestmanager,readint,dbrequestmanager,readbyte,dbrequestmanager,readbytesfully +c_noventa,mandapendientesnoventa,0,0,138,154 +b4xpages,mpm + +b4xpages,mainpage,subs,traealmacen,subs,traeruta,dbrequestmanager,executecommand,b4xpages,getmanager,dbrequestmanager,executebatch,dbrequestmanager,startjob,dbrequestmanager,writeint,dbrequestmanager,writeobject,dbrequestmanager,writelist,httpjob,postbytes,httpjob,initialize,httpjob,addscheme +c_nota,initialize,0,0,37,39 + + + +c_nota,activity_pause,0,0,349,351 + + + +c_nota,actualizartotalespantalla,0,0,331,347 +b4xpages,mpm + +b4xpages,mainpage,subs,pedidoguardado,b4xpages,getmanager +c_nota,b_desc_click,1,0,773,819 +b4xpages,mpm,starter,gps + +b4xpages,mainpage,,b4xpage_appear,b4xpages,getmanager,subs,traealmacen,,actualizartotalespantalla,subs,pedidoguardado +c_nota,b4xpage_appear,0,0,182,329 +starter,gps,b4xpages,mpm + +b4xpages,mainpage,subs,traealmacen,,actualizartotalespantalla,b4xpages,getmanager,subs,pedidoguardado +c_nota,b4xpage_closerequest,1,0,362,367 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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,,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_nota,b4xpage_created,1,0,42,54 + + + +c_nota,borra_click,1,0,369,405 +b4xpages,mpm,starter,gps + +b4xpages,mainpage,,b4xpage_appear,b4xpages,getmanager,subs,traealmacen,,actualizartotalespantalla,subs,pedidoguardado +c_nota,class_globals,0,0,1,34 + + + +c_nota,gps_locationchanged,0,0,353,356 + + + +c_nota,listview1_itemlongclick,1,0,686,771 +starter,skmt,b4xpages,mpm,starter,gps + +subs,traealmacen,b4xpages,mainpage,,b4xpage_appear,b4xpages,getmanager,,actualizartotalespantalla,subs,pedidoguardado +c_nota,p_nota_click,0,0,821,823 + + + +c_nota,regresar_click,1,0,358,360 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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,,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_pedidos,initialize,0,0,59,61 + + + +c_pedidos,b4xpage_appear,1,0,79,196 +starter,gps,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_pedidos,b4xpage_closerequest,1,0,531,536 + + + +c_pedidos,b4xpage_created,1,0,64,75 + + + +c_pedidos,class_globals,0,0,1,56 + + + +c_pedidos,desc_promo_click,1,0,548,552 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_pedidos,gps_locationchanged,0,0,359,362 + + + +c_pedidos,guardar_click,1,0,198,357 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_pedidos,i_fotol_click,0,0,543,546 + + + +c_pedidos,img_prod_click,0,0,538,542 + + + +c_pedidos,nopromo_click,1,0,554,574 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_pedidos,p_pedido_click,0,0,576,578 + + + +c_pedidos,terminar_click,1,0,364,529 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_promos,initialize,0,0,48,50 + + + +c_promos,agregafijosalista,0,0,216,254 +starter,tabla,b4xpages,mpm + +subs,traeprodnombre,b4xpages,mainpage,b4xpages,getmanager +c_promos,b_continuar_click,1,0,556,590 +starter,tabla,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog,starter,skmt,starter,rp,starter,dbreqserver + +,cuentaprods,subs,traeprodnombre,subs,guardaproductosingestion,subs,traecliente,subs,traefecha,subs,traeusuariodebd,subs,traeruta,b4xpages,mainpage,b4xpages,showpage,,agregafijosalista,subs,traepromo,b4xpages,getmanager,subs,revisabd,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_promos,cuentaprods,0,0,413,491 +starter,tabla,b4xpages,mpm + +,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,b4xpages,getmanager +c_promos,b_prodmas_click,0,0,321,349 +starter,tabla,b4xpages,mpm + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,b4xpages,getmanager +c_promos,b_prodmas2_click,0,0,376,405 +starter,tabla,b4xpages,mpm + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,b4xpages,getmanager +c_promos,b_prodmenos_click,0,0,297,319 +starter,tabla,b4xpages,mpm + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,b4xpages,getmanager +c_promos,b_prodmenos2_click,0,0,352,374 +starter,tabla,b4xpages,mpm + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,b4xpages,getmanager +c_promos,b_promomas_click,1,0,512,525 +starter,tabla,b4xpages,mpm + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,b4xpages,getmanager +c_promos,b_promomenos_click,1,0,498,510 +starter,tabla,b4xpages,mpm + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,b4xpages,getmanager +c_promos,b_terminar1_click,1,0,527,554 +starter,tabla,b4xpages,mpm,subs,kmt,starter,ruta,subs,errorlog,starter,skmt,starter,rp,starter,dbreqserver + +,cuentaprods,subs,traeprodnombre,subs,guardaproductosingestion,subs,traecliente,subs,traefecha,subs,traeusuariodebd,subs,traeruta,b4xpages,mainpage,b4xpages,showpage,c_productos,b_terminar1_click,,agregafijosalista,subs,traepromo,b4xpages,getmanager,subs,revisabd,b4xpagesmanager,showpage,b4xpagesmanager,getpagefromid,b4xpagesmanager,gettoppage,b4xpagesmanager,createpageifneeded,b4xpagesmanager,toppagedisappear,b4xset,remove,b4xpagesmanager,showpageimpl,b4xset,add,b4xpagesmanager,toppageappear,b4xorderedmap,get,b4xorderedmap,getkeys,b4xset,getsize,b4xset,aslist,b4xorderedmap,getsize,b4xpagesmanager,createpageimpl,b4xorderedmap,put,b4xpagesmanager,logevent,b4xmainpage,b4xpage_created,c_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring,subs,traealmacen,c_productos,actualizaretiquetastotales,subs,centrapanel +c_promos,b4xpage_appear,1,0,68,81 +b4xpages,mpm,starter,tabla + +subs,traetotalesclienteactual,,muestrapromo,b4xpages,mainpage,b4xpages,getmanager,subs,traepromo,subs,traemosinventariodisponibleparapromo,subs,revisamaxpromosprodsfijosporinventario,subs,revisamaxpromosprodsvariablesporinventario,,agregafijosalista,,createlistitem,subs,traeprodnombre,,createlistitem2,,cuentaprods,subs,traemaxpromos,subs,traecliente +c_promos,muestrapromo,1,0,84,213 +starter,tabla,b4xpages,mpm + +subs,traepromo,subs,traemosinventariodisponibleparapromo,subs,revisamaxpromosprodsfijosporinventario,subs,revisamaxpromosprodsvariablesporinventario,,agregafijosalista,,createlistitem,subs,traeprodnombre,,createlistitem2,,cuentaprods,b4xpages,mainpage,b4xpages,getmanager,subs,traemaxpromos,subs,traecliente +c_promos,b4xpage_created,1,0,53,66 + + + +c_promos,class_globals,0,0,1,45 + + + +c_promos,createlistitem,1,0,256,274 + + + +c_promos,createlistitem2,1,0,276,295 + + + +c_promos,et_pcant_focuschanged,0,0,493,496 +starter,tabla,b4xpages,mpm + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,b4xpages,getmanager +c_promos,et_pcant_textchanged,0,0,408,411 +starter,tabla,b4xpages,mpm + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,b4xpages,getmanager +c_promos,et_promocant_textchanged,1,0,603,622 +starter,tabla,b4xpages,mpm + +,cuentaprods,,agregafijosalista,subs,traepromo,subs,traeprodnombre,b4xpages,mainpage,b4xpages,getmanager +c_historico,initialize,0,0,30,32 + + + +c_historico,b4xpage_appear,0,0,51,84 +starter,gps,b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_historico,b4xpage_closerequest,1,0,95,100 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_historico,b4xpage_created,1,0,35,47 + + + +c_historico,class_globals,0,0,1,27 + + + +c_historico,gps_locationchanged,0,0,86,89 + + + +c_historico,listview1_itemclick,0,0,107,117 + + + +c_historico,listview2_itemclick,0,0,102,105 + + + +c_historico,regresar_click,1,0,91,93 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_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,ruta,starter,rp,starter,dbreqserver + +,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +c_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 + + + +manageexternalstorage,initialize,0,0,20,23 + + + +manageexternalstorage,haspermission,0,0,28,34 + + + +manageexternalstorage,getpermission,0,0,39,48 + + +,haspermission,,raiseevent,,startactivityforresult,,getba +manageexternalstorage,class_globals,0,0,3,8 + + + +manageexternalstorage,getba,0,0,69,72 + + + +manageexternalstorage,raiseevent,0,0,51,54 + + + +manageexternalstorage,startactivityforresult,0,0,63,67 + + +,getba +manageexternalstorage,ion_event,0,0,57,60 + + +,raiseevent +b4xcombobox,getselecteditem,0,0,121,125 + + +,getselectedindex,,getitem +b4xcombobox,setitems,0,0,59,73 + + +,setselectedindex +b4xcombobox,base_resize,0,0,55,57 + + + +b4xcombobox,class_globals,0,0,2,22 + + + +b4xcombobox,cmbbox_itemclick,1,0,157,159 + + +,raiseevent,,getselectedindex +b4xcombobox,raiseevent,1,0,137,150 + + +,getselectedindex +b4xcombobox,designercreateview,0,0,32,53 + + + +b4xcombobox,getitem,0,0,127,135 + + + +b4xcombobox,getselectedindex,0,0,98,104 + + + +b4xcombobox,getsize,0,0,76,84 + + + +b4xcombobox,indexof,0,0,87,95 + + + +b4xcombobox,initialize,0,0,24,29 + + + +b4xcombobox,setselectedindex,0,0,106,118 + + + +escposprinter,initialize,0,0,75,81 + + + +escposprinter,isconnected,0,0,89,91 + + + +escposprinter,disconnect,0,0,143,146 + + + +escposprinter,connect,1,0,100,139 +starter,mac_impresora +starter,mac_impresora +,disconnect +escposprinter,writestring,1,0,291,293 + + +,writestring2,,astream_error +escposprinter,setjustify,1,0,230,232 + + +,writestring,,writestring2,,astream_error +escposprinter,imagetobwimage,0,0,713,736 + + + +escposprinter,ditherimage2d,0,0,794,823 + + + +escposprinter,packimage,0,0,865,897 + + + +escposprinter,printimage,1,0,837,858 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,astream_error,1,0,1141,1145 + + + +escposprinter,astream_newdata,1,0,1134,1139 + + + +escposprinter,astream_terminated,1,0,1147,1152 + + + +escposprinter,class_globals,0,0,4,68 + + + +escposprinter,connectederrormsg,0,0,84,86 + + + +escposprinter,createbox,0,0,520,528 + + + +escposprinter,createcircle,0,0,490,498 + + + +escposprinter,createcustomcharacter,0,0,404,472 + + +,plottriangle,,plotcircle,,plotbox,,plotline,,filltriangle,,plotlinelow,,plotlinehigh +escposprinter,plottriangle,0,0,534,542 + + +,plotline,,filltriangle,,plotlinelow,,plotlinehigh +escposprinter,plotcircle,0,0,625,643 + + +,plotline,,plotlinelow,,plotlinehigh +escposprinter,plotbox,0,0,611,622 + + +,plotline,,plotlinelow,,plotlinehigh +escposprinter,plotline,0,0,646,660 + + +,plotlinelow,,plotlinehigh +escposprinter,createline,0,0,477,484 + + + +escposprinter,createtriangle,0,0,504,515 + + + +escposprinter,definecustomcharacter,1,0,352,365 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,writebytes,0,0,281,285 + + + +escposprinter,deletecustomcharacter,1,0,317,322 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,ditherimage1d,0,0,763,786 + + + +escposprinter,filltriangle,0,0,544,609 + + + +escposprinter,isbluetoothon,0,0,94,96 + + + +escposprinter,packimageslice,0,0,963,1011 + + + +escposprinter,plotlinelow,0,0,682,700 + + + +escposprinter,plotlinehigh,0,0,662,680 + + + +escposprinter,printandfeedpaper,1,0,160,165 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,printimage2,1,0,927,956 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,reset,1,0,149,151 + + +,writestring,,writestring2,,astream_error +escposprinter,serial1_connected,1,0,1115,1128 + + + +escposprinter,setbarcodeheight,1,0,1019,1024 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setbarcodeleft,1,0,1028,1033 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setbarcodewidth,1,0,1038,1043 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setcharacterfont,1,0,247,249 + + +,writestring,,writestring2,,astream_error +escposprinter,setcharacterspacing,1,0,168,173 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setcodepage,1,0,236,241 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,sethrifont,1,0,1060,1062 + + +,writestring,,writestring2,,astream_error +escposprinter,sethriposn,1,0,1049,1054 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setleftinset,1,0,178,186 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setleftmargin,1,0,191,199 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setlinespacing,1,0,217,226 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setprintwidth,1,0,205,213 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setrelativeprintposn,1,0,269,277 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,settabpositions,1,0,255,263 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,setusecustomcharacters,1,0,329,335 + + +,writestring,,writestring2,,astream_error +escposprinter,thresholdimage,0,0,740,756 + + + +escposprinter,writebarcode,1,0,1076,1085 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,writeqrcode,1,0,1092,1104 + + +,writestring,,writebytes,,writestring2,,astream_error +escposprinter,writestring2,1,0,299,308 + + +,astream_error +c_cuestionario,ocultpanelpregunta,0,0,150,152 + + + +c_cuestionario,initialize,0,0,16,27 + + +,agregacolumna +c_cuestionario,agregapregunta,1,0,61,107 + + + +c_cuestionario,agregacolumna,0,0,157,173 + + + +c_cuestionario,b4xpage_created,0,0,30,33 + + + +c_cuestionario,baceptarpregunta_click,0,0,122,138 + + +,preguntacontestada +c_cuestionario,preguntacontestada,0,0,109,113 + + + +c_cuestionario,class_globals,0,0,1,13 + + + +c_cuestionario,clienteconcuestionario,0,0,141,147 + + + +c_cuestionario,preguntaactual,0,0,41,43 + + + +c_cuestionario,psombra_click,0,0,115,116 + + + +c_cuestionario,r_checkedchange,0,0,118,120 + + + +c_respaldodiario,respaldapedido,0,0,79,88 + + + +c_respaldodiario,respaldainventarios,0,0,92,103 + + + +c_respaldodiario,respaldapaquetes,0,0,106,116 + + + +c_respaldodiario,initialize,0,0,12,57 + + +,agregacolumna2,,revisaskmtattached +c_respaldodiario,vacuum,0,0,118,121 + + + +c_respaldodiario,agregacolumna,0,0,128,144 +b4xpages,mpm + +b4xpages,mainpage,b4xpages,getmanager +c_respaldodiario,agregacolumna2,0,0,146,162 + + + +c_respaldodiario,b4xpage_created,0,0,60,63 + + + +c_respaldodiario,class_globals,0,0,1,9 + + + +c_respaldodiario,revisaskmtattached,0,0,66,76 + + + +b4xseekbar,update,0,0,61,86 + + + +b4xseekbar,setvalue,0,0,125,128 + + +,update +b4xseekbar,base_resize,0,0,52,58 + + +,update +b4xseekbar,class_globals,0,0,11,27 + + + +b4xseekbar,designercreateview,0,0,35,50 + + +,base_resize,,update +b4xseekbar,getvalue,0,0,130,132 + + + +b4xseekbar,initialize,0,0,29,32 + + + +b4xseekbar,raisetouchstateevent,0,0,102,106 + + + +b4xseekbar,setvaluebasedontouch,0,0,108,123 + + + +b4xseekbar,touchpanel_touch,0,0,88,100 + + +,raisetouchstateevent,,setvaluebasedontouch,,update +preoptimizedclv,initialize,1,0,29,51 + + +,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xset,add,b4xorderedmap,initialize,b4xorderedmap,put +preoptimizedclv,commit,0,0,62,83 + + +,clearassigneditems,,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear +preoptimizedclv,additem,0,0,53,60 + + + +preoptimizedclv,b4xseekbar1_touchstatechanged,0,0,163,175 + + + +preoptimizedclv,b4xseekbar1_valuechanged,1,0,177,187 + + +,internalsettextorcsbuildertolabel +preoptimizedclv,internalsettextorcsbuildertolabel,0,0,189,201 + + + +preoptimizedclv,class_globals,0,0,2,27 + + + +preoptimizedclv,clearassigneditems,0,0,151,155 + + +b4xset,clear,b4xorderedmap,clear +preoptimizedclv,raisevisiblerangeevent,0,0,85,88 + + + +preoptimizedclv,createpanel,0,0,90,96 + + + +preoptimizedclv,getpanel,0,0,144,149 + + +,createpanel +preoptimizedclv,handlescrollbar,0,0,139,142 + + +b4xseekbar,setvalue,b4xseekbar,update +preoptimizedclv,listchangedexternally,0,0,157,161 + + +,clearassigneditems,,raisevisiblerangeevent,b4xset,clear,b4xorderedmap,clear +preoptimizedclv,visiblerangechanged,0,0,98,137 + + +b4xset,clear,,getpanel,b4xset,add,b4xset,contains,b4xset,aslist,,handlescrollbar,b4xorderedmap,clear,,createpanel,b4xorderedmap,put,b4xorderedmap,containskey,b4xorderedmap,getkeys,b4xseekbar,setvalue,b4xseekbar,update +b4xcollections,createset,0,0,9,11 + + +,createset2,b4xset,initialize,b4xset,add,b4xorderedmap,initialize,b4xorderedmap,put +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,createset2,0,0,16,25 + + +b4xset,initialize,b4xset,add,b4xorderedmap,initialize,b4xorderedmap,put +b4xcollections,process_globals,0,1,2,4 + + + +b4xset,add,0,0,9,11 + + +b4xorderedmap,put +b4xset,contains,0,0,17,19 + + +b4xorderedmap,containskey +b4xset,initialize,0,0,5,7 + + +b4xorderedmap,initialize +b4xset,aslist,0,0,29,31 + + +b4xorderedmap,getkeys +b4xset,class_globals,0,0,1,3 + + + +b4xset,clear,0,0,25,27 + + +b4xorderedmap,clear +b4xset,getsize,0,0,21,23 + + +b4xorderedmap,getsize +b4xset,remove,0,0,13,15 + + +b4xorderedmap,remove +mapa_cliente,activity_create,1,0,34,39 +,b_regresar,,mapfragment1,,p_principal +,b_regresar,,mapfragment1,,p_principal + +mapa_cliente,activity_pause,0,0,111,113 +,gps + + +mapa_cliente,activity_resume,1,0,90,109 +,b_regresar,,gps,,c,starter,skmt,,p_principal,,latmarker,,longmarker,,nombre_tienda +,c,,latmarker,,longmarker,,nombre_tienda +subs,centraboton,subs,centrapanel +mapa_cliente,b_regresar_click,1,0,120,124 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,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,69,88 + + + +mapa_cliente,mapfragment1_ready,0,0,41,67 +,gmap,,mapfragment1,,rp,,latmarker,,longmarker,,c,starter,skmt +,gmap,,c + +mapa_cliente,process_globals,0,1,7,12 + + + +mapa_cliente,reg_click,1,0,115,118 +b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver + +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +mapa_rutas,activity_create,1,0,59,117 +,b_azul,,b_rojo,,b_todos,,b_verde,,mapfragment1,,ruta,,skmt,starter,rp,,mark_azul,,mark_rojo,,mark_verde,,list_azul,,list_rojo,,list_verde,,verde,,azul,,rojo,,todos,,c,,semana,b4xpages,mpm,starter,ruta,starter,skmt,starter,dbreqserver +,b_azul,,b_rojo,,b_todos,,b_verde,,mapfragment1,,ruta,,verde,,azul,,rojo,,todos,,c,,semana +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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,b4xpages,mainpage,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +mapa_rutas,activity_pause,0,0,364,366 +,gps + + +mapa_rutas,activity_resume,1,0,119,144 +starter,rp,starter,gps,,lista_punta,,lista_punta2,,list_azul,,list_rojo,,list_verde,,verde,,azul,,rojo,,todos +,verde,,azul,,rojo,,todos + +mapa_rutas,b_azul_click,0,0,400,409 +,azul,,verde,,rojo,,todos,,gmap,,mapfragment1,,rp,,c,,skmt,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,list_azul,,c2,,mark_verde,,list_verde,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra,starter,skmt,,lista_punta +,azul,,verde,,rojo,,todos,,gmap,,c,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +,mapfragment1_ready,,drawpolygon +mapa_rutas,mapfragment1_ready,0,0,146,329 +,gmap,,mapfragment1,,rp,,azul,,todos,,c,,skmt,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,list_azul,,verde,,c2,,mark_verde,,list_verde,,rojo,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra,starter,skmt,,lista_punta +,gmap,,c,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +,drawpolygon +mapa_rutas,b_rojo_click,0,0,389,398 +,rojo,,verde,,azul,,todos,,gmap,,mapfragment1,,rp,,c,,skmt,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,list_azul,,c2,,mark_verde,,list_verde,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra,starter,skmt,,lista_punta +,rojo,,verde,,azul,,todos,,gmap,,c,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +,mapfragment1_ready,,drawpolygon +mapa_rutas,b_todos_click,0,0,369,377 +,todos,,verde,,azul,,rojo,,gmap,,mapfragment1,,rp,,c,,skmt,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,list_azul,,c2,,mark_verde,,list_verde,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra,starter,skmt,,lista_punta +,todos,,verde,,azul,,rojo,,gmap,,c,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +,mapfragment1_ready,,drawpolygon +mapa_rutas,b_verde_click,0,0,379,387 +,verde,,azul,,rojo,,todos,,gmap,,mapfragment1,,rp,,c,,skmt,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,list_azul,,c2,,mark_verde,,list_verde,,c3,,mark_rojo,,list_rojo,,oninfowindowclicklistener1,,googlemapextra,starter,skmt,,lista_punta +,verde,,azul,,rojo,,todos,,gmap,,c,,latitudru,,longitudru,,codigo,,tienda,,mark_azul,,c2,,mark_verde,,c3,,mark_rojo,,oninfowindowclicklistener1 +,mapfragment1_ready,,drawpolygon +mapa_rutas,drawpolygon,0,0,437,446 +,gmap + + +mapa_rutas,globals,0,1,18,57 +,latitud,,longitud,,lat2,,lon2 +,latitud,,longitud,,lat2,,lon2 + +mapa_rutas,gps_locationchanged,0,0,343,362 +,mark_cedis + + +mapa_rutas,mapfragment1_click,0,0,429,434 + + + +mapa_rutas,mapfragment1_longclick,0,0,474,493 +,lista_punta,,gmap,,lista_punta2 + +,pointinpolygon,,drawpolygon +mapa_rutas,pointinpolygon,0,0,448,472 + + + +mapa_rutas,oninfowindowclicklistener1_click,1,0,334,340 +,skmt,starter,pre_viejo,b4xpages,mpm,starter,ruta,starter,skmt,starter,rp,starter,dbreqserver +starter,pre_viejo +subs,traetotalclientepreventaparacredito,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_cliente,b4xpage_created,c_clientes,b4xpage_created,c_cuestionario,b4xpage_created,c_historico,b4xpage_created,c_mapas,b4xpage_created,c_nota,b4xpage_created,c_noventa,b4xpage_created,c_principal,b4xpage_created,c_nuevocliente,b4xpage_created,c_pedidos,b4xpage_created,c_productos,b4xpage_created,c_promos,b4xpage_created,c_respaldodiario,b4xpage_created,c_tabulador,b4xpage_created,c_ticketsdia,b4xpage_created,c_updateavailable,b4xpage_created,b4xpagesmanager,createb4xpageparent,c_subs,initialize,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_nota,initialize,c_pedidos,initialize,c_promos,initialize,c_historico,initialize,c_tabulador,initialize,fileprovider,initialize,subs,guardaappinfo,subs,agregacolumna,manageexternalstorage,initialize,manageexternalstorage,haspermission,manageexternalstorage,getpermission,c_subs,dbinit,c_subs,reqmanagerinit,c_subs,dbok,dbrequestmanager,initialize,c_subs,traedbreqserverdebd,b4xpagesmanager,settitle,b4xpagesmanager,findpifromb4xpage,b4xorderedmap,getvalues,b4xpagesmanager,addpage,b4xorderedmap,containskey,b4xpagesmanager,createb4xpageinfo,manageexternalstorage,raiseevent,manageexternalstorage,startactivityforresult,manageexternalstorage,getba,c_cuestionario,initialize,c_cuestionario,agregacolumna,c_respaldodiario,initialize,c_respaldodiario,vacuum,c_principal,gettablecolumnlist,c_respaldodiario,agregacolumna2,c_respaldodiario,revisaskmtattached,c_principal,chkiftableexists,preoptimizedclv,initialize,preoptimizedclv,createpanel,b4xcollections,createset,b4xseekbar,update,b4xcollections,createset2,b4xset,initialize,b4xorderedmap,initialize,b4xpagesmanager,raiseeventwithresult,b4xorderedmap,remove,b4xpagesmanager,raiseevent,b4xpagesmanager,updatemenuitems,b4xpagesmanager,updatestackstring +mapa_rutas,process_globals,0,1,7,16 + + + +notificationservice,esmensajewavalido,0,0,97,102 + + + +notificationservice,getgroupname,0,0,151,159 + + + +notificationservice,getgroupname2,0,0,164,175 + + + +notificationservice,getnumberorgroupwa,0,0,188,192 + + +,getnumberwa,,getgroupname +notificationservice,getnumberwa,0,0,137,147 + + + +notificationservice,getpersonfromgroup,0,0,180,185 + + + +notificationservice,getshortcut,0,0,197,212 + + + +notificationservice,isgroupwa,0,0,113,117 + + + +notificationservice,isgroupwa2,0,0,106,109 + + + +notificationservice,ispersonwa,0,0,121,125 + + + +notificationservice,ispersonwa2,0,0,129,133 + + + +notificationservice,notimon_notificationposted,0,0,74,94 +,logger,,rp,starter,skmt,starter,dbreqserver,starter,reqmanager +,logger,starter,dbreqserver +,isgroupwa,,ispersonwa,,getgroupname,,esmensajewavalido,starter,reinicializareqmanager,dbrequestmanager,initialize +notificationservice,process_globals,0,1,45,52 +,logger +,logger + +notificationservice,service_create,0,0,54,60 +,rp + + +notificationservice,service_destroy,0,0,70,72 + + + +notificationservice,service_start,0,0,62,68 +,rp + + +pendientes,process_globals,0,1,3,7 + + + +tracker,createlocationrequest,0,0,112,122 +,actuallr +,actuallr + +tracker,createlocationrequestsmalld,0,0,124,135 +,actuallr +,actuallr + +tracker,createnotification,0,0,195,201 + + + +tracker,dameultimaubicacionconocida,0,0,137,145 +,flp,starter,logger + +subs,fechakmt,,formatofecha +tracker,formatofecha,0,0,211,219 + + + +tracker,flp_connectionfailed,0,0,56,58 + + + +tracker,flp_connectionsuccess,0,0,51,54 + + + +tracker,flp_locationchanged,1,0,155,193 +,uugcoords,starter,ruta,b4xpages,mpm,,flp,starter,skmt,mapa_rutas,mark_cedis +,uugcoords +b4xpages,mainpage,,formatofecha,b4xmainpage,gps_locationchanged,c_cliente,gps_locationchanged,c_clientes,gps_locationchanged,c_historico,gps_locationchanged,c_nota,gps_locationchanged,c_noventa,gps_locationchanged,c_principal,gps_locationchanged,c_nuevocliente,gps_locationchanged,c_pedidos,gps_locationchanged,mapa_cliente,gps_locationchanged,mapa_rutas,gps_locationchanged,starter,gps_locationchanged,b4xpages,getmanager +tracker,process_globals,0,1,30,40 +,nid +,nid + +tracker,revisaflp,0,0,222,263 +,flp,,uugcoords,subs,kmt,,flpstarted,,actuallr +,flpstarted,,actuallr +subs,log2db,,startflp,subs,fechakmt,,createlocationrequest +tracker,startflp,0,0,85,98 +,flp,,flpstarted,,actuallr +,flpstarted,,actuallr +,createlocationrequest +tracker,revisauug,0,0,267,292 +,flp,,uugcoords,starter,logger,b4xpages,mpm,,flpstarted,,actuallr +,uugcoords,,flpstarted,,actuallr +subs,fechakmt,b4xpages,mainpage,,startflp,b4xpages,getmanager,,createlocationrequest +tracker,service_create,0,0,42,49 +,flp,,lock,,flpstarted,,actuallr +,flpstarted,,actuallr +,startflp,,createlocationrequest +tracker,service_destroy,0,0,203,209 +,tracking,,lock,,flpstarted,,flp +,tracking,,flpstarted +,stopflp +tracker,stopflp,0,0,147,153 +,flpstarted,,flp +,flpstarted + +tracker,service_start,0,0,60,67 +,nid,,flp,,tracking,,actuallr,starter,rp,,flpstarted +,tracking,,flpstarted,,actuallr +,createnotification,,track,,startflp,,createlocationrequest +tracker,track,0,0,69,83 +,flp,,tracking,,actuallr,starter,rp,,flpstarted +,tracking,,flpstarted,,actuallr +,startflp,,createlocationrequest +tracker,startflpsmall,0,0,100,110 +,flp,starter,logger,,actuallr +,actuallr +,dameultimaubicacionconocida,,createlocationrequestsmalld,subs,fechakmt,,formatofecha +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 +b4xorderedmap,containskey,0,0,46,48 + + + +b4xorderedmap,get,0,0,37,39 + + + +b4xorderedmap,initialize,0,0,6,9 + + + +b4xorderedmap,getkeys,0,0,32,34 + + + +b4xorderedmap,put,0,0,12,17 + + + +b4xorderedmap,remove,0,0,20,24 + + + +b4xorderedmap,getvalues,0,0,55,62 + + + +b4xorderedmap,getsize,0,0,50,52 + + + +b4xorderedmap,class_globals,0,0,1,4 + + + +b4xorderedmap,clear,0,0,26,29 + + + +b4xorderedmap,getdataforserializator,0,0,65,67 + + + +b4xorderedmap,getdefault,0,0,42,44 + + + +b4xorderedmap,setdatafromserializator,0,0,70,74 + + + +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 +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 +map2xml,class_globals,0,0,2,4 + + + +map2xml,handleelement,0,0,44,56 + + +,handlemapelement,,handlelistelement,,handleelement +map2xml,handlemapelement,0,0,28,42 + + +,handleelement,,handlemapelement,,handlelistelement +map2xml,handlelistelement,0,0,58,62 + + +,handleelement,,handlemapelement,,handlelistelement +map2xml,initialize,0,0,6,8 + + + +map2xml,maptoxml,0,0,10,26 + + +,handleelement,,handlemapelement,,handlelistelement +xml2map,class_globals,0,0,3,8 + + + +xml2map,createelement,0,0,68,79 + + + +xml2map,elementtoobject,0,0,42,66 + + +,elementtoobject +xml2map,getlastelement,0,0,127,129 + + + +xml2map,getstripnamespaces,0,0,19,21 + + + +xml2map,initialize,0,0,10,12 + + + +xml2map,parse,1,0,27,32 + + +,parse2,,createelement,,elementtoobject +xml2map,parse2,1,0,34,40 + + +,createelement,,elementtoobject +xml2map,parser_endelement,0,0,131,135 + + +,getlastelement +xml2map,parser_startelement,0,0,85,112 + + +,createelement,,stripnamespace,,getlastelement +xml2map,stripnamespace,0,0,114,125 + + + +xml2map,setstripnamespaces,0,0,23,25 + + + diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/animatedcounter.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/animatedcounter.java new file mode 100644 index 0000000..19a6234 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/animatedcounter.java @@ -0,0 +1,46 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class animatedcounter { + public static RemoteObject myClass; + public animatedcounter() { + } + public static PCBA staticBA = new PCBA(null, animatedcounter.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _imageviews = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _mdigits = RemoteObject.createImmutable(0); +public static RemoteObject _lbltemplate = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _mvalue = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _digitheight = RemoteObject.createImmutable(0); +public static RemoteObject _digitwidth = RemoteObject.createImmutable(0); +public static RemoteObject _mduration = RemoteObject.createImmutable(0); +public static RemoteObject _fade = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _xfadeiv = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"DigitHeight",_ref.getField(false, "_digitheight"),"DigitWidth",_ref.getField(false, "_digitwidth"),"fade",_ref.getField(false, "_fade"),"ImageViews",_ref.getField(false, "_imageviews"),"lblTemplate",_ref.getField(false, "_lbltemplate"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mdigits",_ref.getField(false, "_mdigits"),"mDuration",_ref.getField(false, "_mduration"),"mEventName",_ref.getField(false, "_meventname"),"mValue",_ref.getField(false, "_mvalue"),"Tag",_ref.getField(false, "_tag"),"xfadeIv",_ref.getField(false, "_xfadeiv"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/animatedcounter_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/animatedcounter_subs_0.java new file mode 100644 index 0000000..9868e7b --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/animatedcounter_subs_0.java @@ -0,0 +1,471 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class animatedcounter_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (animatedcounter) ","animatedcounter",47,__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 (SHARK2.keymon.com.mx.animatedcounter.class, "_createbitmap" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_lbltemplate" /*RemoteObject*/ )));Debug.locals.put("bmp", _bmp);Debug.locals.put("bmp", _bmp); + BA.debugLineNum = 78;BA.debugLine="Dim left As Int = Width"; +Debug.JustUpdateDeviceLine(); +_left = BA.numberCast(int.class, _width);Debug.locals.put("left", _left);Debug.locals.put("left", _left); + BA.debugLineNum = 79;BA.debugLine="For i = 0 To ImageViews.Size - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step9 = 1; +final int limit9 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_imageviews" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step9 > 0 && _i <= limit9) || (step9 < 0 && _i >= limit9) ;_i = ((int)(0 + _i + step9)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 80;BA.debugLine="Dim iv As B4XView = ImageViews.Get(i)"; +Debug.JustUpdateDeviceLine(); +_iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_iv = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.getField(false,"_imageviews" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("iv", _iv);Debug.locals.put("iv", _iv); + BA.debugLineNum = 82;BA.debugLine="left = left - DigitWidth"; +Debug.JustUpdateDeviceLine(); +_left = RemoteObject.solve(new RemoteObject[] {_left,__ref.getField(true,"_digitwidth" /*RemoteObject*/ )}, "-",1, 1);Debug.locals.put("left", _left); + BA.debugLineNum = 83;BA.debugLine="iv.SetLayoutAnimated(0, left, TopFromValue(i), D"; +Debug.JustUpdateDeviceLine(); +_iv.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(_left),(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.animatedcounter.class, "_topfromvalue" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _i)))),(Object)(__ref.getField(true,"_digitwidth" /*RemoteObject*/ )),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_digitheight" /*RemoteObject*/ ),RemoteObject.createImmutable(10)}, "*",0, 1))); + BA.debugLineNum = 84;BA.debugLine="iv.SetBitmap(bmp)"; +Debug.JustUpdateDeviceLine(); +_iv.runVoidMethod ("SetBitmap",(Object)((_bmp.getObject()))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 86;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; +animatedcounter._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",animatedcounter._meventname); + //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; +animatedcounter._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",animatedcounter._mcallback); + //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView 'ignore"; +animatedcounter._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",animatedcounter._mbase); + //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; +animatedcounter._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",animatedcounter._xui); + //BA.debugLineNum = 10;BA.debugLine="Private ImageViews As List"; +animatedcounter._imageviews = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_imageviews",animatedcounter._imageviews); + //BA.debugLineNum = 11;BA.debugLine="Private mdigits As Int"; +animatedcounter._mdigits = RemoteObject.createImmutable(0);__ref.setField("_mdigits",animatedcounter._mdigits); + //BA.debugLineNum = 12;BA.debugLine="Private lblTemplate As B4XView"; +animatedcounter._lbltemplate = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lbltemplate",animatedcounter._lbltemplate); + //BA.debugLineNum = 13;BA.debugLine="Private mValue As List"; +animatedcounter._mvalue = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_mvalue",animatedcounter._mvalue); + //BA.debugLineNum = 14;BA.debugLine="Private DigitHeight, DigitWidth As Int"; +animatedcounter._digitheight = RemoteObject.createImmutable(0);__ref.setField("_digitheight",animatedcounter._digitheight); +animatedcounter._digitwidth = RemoteObject.createImmutable(0);__ref.setField("_digitwidth",animatedcounter._digitwidth); + //BA.debugLineNum = 15;BA.debugLine="Private mDuration As Int"; +animatedcounter._mduration = RemoteObject.createImmutable(0);__ref.setField("_mduration",animatedcounter._mduration); + //BA.debugLineNum = 16;BA.debugLine="Private fade As B4XBitmap"; +animatedcounter._fade = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_fade",animatedcounter._fade); + //BA.debugLineNum = 17;BA.debugLine="Private xfadeIv As B4XView"; +animatedcounter._xfadeiv = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_xfadeiv",animatedcounter._xfadeiv); + //BA.debugLineNum = 18;BA.debugLine="Public Tag As Object"; +animatedcounter._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",animatedcounter._tag); + //BA.debugLineNum = 20;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createbitmap(RemoteObject __ref,RemoteObject _lbl) throws Exception{ +try { + Debug.PushSubsStack("CreateBitmap (animatedcounter) ","animatedcounter",47,__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",47,__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",47,__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 (SHARK2.keymon.com.mx.animatedcounter.class, "_createfadebitmap" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("FadeColor"))),(Object)((__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White"))))))))); + BA.debugLineNum = 39;BA.debugLine="For i = 0 To mdigits - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step10 = 1; +final int limit10 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mdigits" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step10 > 0 && _i <= limit10) || (step10 < 0 && _i >= limit10) ;_i = ((int)(0 + _i + step10)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 40;BA.debugLine="Dim iv As ImageView"; +Debug.JustUpdateDeviceLine(); +_iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");Debug.locals.put("iv", _iv); + BA.debugLineNum = 41;BA.debugLine="iv.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_iv.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 42;BA.debugLine="ImageViews.Add(iv)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_imageviews" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_iv.getObject()))); + BA.debugLineNum = 43;BA.debugLine="mBase.GetView(0).AddView(iv, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0))).runVoidMethod ("AddView",(Object)((_iv.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 45;BA.debugLine="Dim fadeIv As ImageView"; +Debug.JustUpdateDeviceLine(); +_fadeiv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");Debug.locals.put("fadeIv", _fadeiv); + BA.debugLineNum = 46;BA.debugLine="fadeIv.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_fadeiv.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 47;BA.debugLine="xfadeIv = fadeIv"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xfadeiv" /*RemoteObject*/ ).setObject (_fadeiv.getObject()); + BA.debugLineNum = 48;BA.debugLine="mBase.GetView(0).AddView(fadeIv, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0))).runVoidMethod ("AddView",(Object)((_fadeiv.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 49;BA.debugLine="setValue(0)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.animatedcounter.class, "_setvalue" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 50;BA.debugLine="If xui.IsB4A Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A").get().booleanValue()) { + BA.debugLineNum = 51;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.animatedcounter.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 52;BA.debugLine="setValue(getValue)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.animatedcounter.class, "_setvalue" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.animatedcounter.class, "_getvalue" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 54;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getvalue(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getValue (animatedcounter) ","animatedcounter",47,__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",47,__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",47,__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 (SHARK2.keymon.com.mx.animatedcounter.class, "_topfromvalue" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _i)))),(Object)(BA.numberCast(int.class, animatedcounter.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 1)),(Object)(BA.numberCast(double.class, _iv.runMethod(true,"getWidth")))))),(Object)(BA.numberCast(int.class, animatedcounter.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 1)),(Object)(BA.numberCast(double.class, _iv.runMethod(true,"getHeight"))))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 118;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _topfromvalue(RemoteObject __ref,RemoteObject _digit) throws Exception{ +try { + Debug.PushSubsStack("TopFromValue (animatedcounter) ","animatedcounter",47,__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/SHARK2/keymon/com/mx/anotherprogressbar.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/anotherprogressbar.java new file mode 100644 index 0000000..3dac97d --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/anotherprogressbar.java @@ -0,0 +1,51 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class anotherprogressbar { + public static RemoteObject myClass; + public anotherprogressbar() { + } + public static PCBA staticBA = new PCBA(null, anotherprogressbar.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _busybrush = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _backgroundcolor = RemoteObject.createImmutable(0); +public static RemoteObject _busyindex = RemoteObject.createImmutable(0); +public static RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +public static RemoteObject _miv = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _transparentbrush = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _vertical = RemoteObject.createImmutable(false); +public static RemoteObject _currentvalue = RemoteObject.createImmutable(0f); +public static RemoteObject _emptycolor = RemoteObject.createImmutable(0); +public static RemoteObject _emptybrush = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _mvalue = RemoteObject.createImmutable(0); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _valuechangepersecond = RemoteObject.createImmutable(0f); +public static RemoteObject _cornerradius = RemoteObject.createImmutable(0); +public static RemoteObject _brushoffsetdelta = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"BackgroundColor",_ref.getField(false, "_backgroundcolor"),"bc",_ref.getField(false, "_bc"),"BrushOffsetDelta",_ref.getField(false, "_brushoffsetdelta"),"BusyBrush",_ref.getField(false, "_busybrush"),"BusyIndex",_ref.getField(false, "_busyindex"),"CornerRadius",_ref.getField(false, "_cornerradius"),"CurrentValue",_ref.getField(false, "_currentvalue"),"DateUtils",_ref.getField(false, "_dateutils"),"EmptyBrush",_ref.getField(false, "_emptybrush"),"EmptyColor",_ref.getField(false, "_emptycolor"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"mIV",_ref.getField(false, "_miv"),"mValue",_ref.getField(false, "_mvalue"),"Tag",_ref.getField(false, "_tag"),"TransparentBrush",_ref.getField(false, "_transparentbrush"),"ValueChangePerSecond",_ref.getField(false, "_valuechangepersecond"),"Vertical",_ref.getField(false, "_vertical"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/anotherprogressbar_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/anotherprogressbar_subs_0.java new file mode 100644 index 0000000..2209340 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/anotherprogressbar_subs_0.java @@ -0,0 +1,740 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class anotherprogressbar_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (anotherprogressbar) ","anotherprogressbar",48,__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 (SHARK2.keymon.com.mx.anotherprogressbar.class, "_updategraphics" /*RemoteObject*/ ); + BA.debugLineNum = 57;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _busyloop(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("BusyLoop (anotherprogressbar) ","anotherprogressbar",48,__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(SHARK2.keymon.com.mx.anotherprogressbar parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.anotherprogressbar parent; +RemoteObject _myindex = RemoteObject.createImmutable(0); +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +RemoteObject _lasttime = RemoteObject.createImmutable(0L); +RemoteObject _tasks = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _delta = RemoteObject.createImmutable(0f); +RemoteObject _change = RemoteObject.createImmutable(0f); +RemoteObject _bmp = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("BusyLoop (anotherprogressbar) ","anotherprogressbar",48,__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",48,__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 (SHARK2.keymon.com.mx.anotherprogressbar.class, "_setvalue" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("Value"))),(Object)(RemoteObject.createImmutable((100))))))); + BA.debugLineNum = 40;BA.debugLine="CurrentValue = mValue"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_currentvalue" /*RemoteObject*/ ,BA.numberCast(float.class, __ref.getField(true,"_mvalue" /*RemoteObject*/ ))); + BA.debugLineNum = 41;BA.debugLine="mBase.AddView(mIV, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_miv" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 42;BA.debugLine="mBase.AddView(lbl, 0, 0, mBase.Width, mBase.Heigh"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_lbl.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 43;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 44;BA.debugLine="BackgroundColor = xui.PaintOrColorToColor(Props.G"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_backgroundcolor" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("ProgressColor"))))))); + BA.debugLineNum = 45;BA.debugLine="CornerRadius = Props.GetDefault(\"CornerRadius\", 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_cornerradius" /*RemoteObject*/ ,BA.numberCast(int.class, _props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("CornerRadius"))),(Object)(RemoteObject.createImmutable((15)))))); + BA.debugLineNum = 46;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.anotherprogressbar.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getprogresscolor(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getProgressColor (anotherprogressbar) ","anotherprogressbar",48,__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",48,__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",48,__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",48,__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",48,__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 (SHARK2.keymon.com.mx.anotherprogressbar.class, "_updategraphics" /*RemoteObject*/ ); + BA.debugLineNum = 110;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setvalue(RemoteObject __ref,RemoteObject _v) throws Exception{ +try { + Debug.PushSubsStack("setValue (anotherprogressbar) ","anotherprogressbar",48,__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",48,__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 (SHARK2.keymon.com.mx.anotherprogressbar.class, "_setvalue" /*RemoteObject*/ ,(Object)(_v)); + BA.debugLineNum = 167;BA.debugLine="CurrentValue = mValue"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_currentvalue" /*RemoteObject*/ ,BA.numberCast(float.class, __ref.getField(true,"_mvalue" /*RemoteObject*/ ))); + BA.debugLineNum = 168;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setvisible(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setVisible (anotherprogressbar) ","anotherprogressbar",48,__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 (SHARK2.keymon.com.mx.anotherprogressbar.class, "_busyloop" /*void*/ ); + }; + BA.debugLineNum = 150;BA.debugLine="mBase.Visible = b"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"setVisible",_b); + BA.debugLineNum = 151;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _updategraphics(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("UpdateGraphics (anotherprogressbar) ","anotherprogressbar",48,__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 (SHARK2.keymon.com.mx.anotherprogressbar.class, "_setvisible" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getVisible"))); + BA.debugLineNum = 142;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/appupdater.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/appupdater.java new file mode 100644 index 0000000..35fc9a2 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/appupdater.java @@ -0,0 +1,76 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class appupdater implements IRemote{ + public static appupdater mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public appupdater() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("appupdater"), "SHARK2.keymon.com.mx.appupdater"); + } + public static RemoteObject getObject() { + return myClass; + } + public RemoteObject _service; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + _service = (RemoteObject) args[2]; + remoteMe = RemoteObject.declareNull("SHARK2.keymon.com.mx.appupdater"); + anywheresoftware.b4a.keywords.Common.Density = (Float)args[3]; + pcBA = new PCBA(this, appupdater.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _lnk = RemoteObject.createImmutable(""); +public static RemoteObject _nnewapp = RemoteObject.declareNull("anywheresoftware.b4a.objects.NotificationWrapper"); +public static RemoteObject _nnewappnid = RemoteObject.createImmutable(0); +public static RemoteObject _nativeme = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +public static RemoteObject _n2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.NotificationWrapper"); +public static RemoteObject _n2id = RemoteObject.createImmutable(0); +public static RemoteObject _sharedfolder = RemoteObject.createImmutable(""); +public static RemoteObject _usefileprovider = RemoteObject.createImmutable(false); +public static RemoteObject _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +public static RemoteObject _newapp = RemoteObject.declareNull("SHARK2.keymon.com.mx.appupdater._mnewversion"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"B4XCollections",Debug.moduleToString(SHARK2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(SHARK2.keymon.com.mx.b4xpages.class),"DateUtils",appupdater.mostCurrent._dateutils,"HttpUtils2Service",Debug.moduleToString(SHARK2.keymon.com.mx.httputils2service.class),"lnk",appupdater._lnk,"Main",Debug.moduleToString(SHARK2.keymon.com.mx.main.class),"MAPA_CLIENTE",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_rutas.class),"n2",appupdater._n2,"n2ID",appupdater._n2id,"nativeMe",appupdater._nativeme,"newApp",appupdater._newapp,"newinst2",Debug.moduleToString(SHARK2.keymon.com.mx.newinst2.class),"nNewApp",appupdater._nnewapp,"nNewAppnID",appupdater._nnewappnid,"NotificationService",Debug.moduleToString(SHARK2.keymon.com.mx.notificationservice.class),"Pendientes",Debug.moduleToString(SHARK2.keymon.com.mx.pendientes.class),"rp",appupdater._rp,"Service",appupdater.mostCurrent._service,"SharedFolder",appupdater._sharedfolder,"Starter",Debug.moduleToString(SHARK2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(SHARK2.keymon.com.mx.subs.class),"Tracker",Debug.moduleToString(SHARK2.keymon.com.mx.tracker.class),"UseFileProvider",appupdater._usefileprovider,"XUIViewsUtils",Debug.moduleToString(SHARK2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/appupdater_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/appupdater_subs_0.java new file mode 100644 index 0000000..416e3c4 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/appupdater_subs_0.java @@ -0,0 +1,799 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class appupdater_subs_0 { + + +public static RemoteObject _createnotification(RemoteObject _title,RemoteObject _content,RemoteObject _icon,RemoteObject _targetactivity,RemoteObject _sound,RemoteObject _vibrate) throws Exception{ +try { + Debug.PushSubsStack("CreateNotification (appupdater) ","appupdater",1,appupdater.processBA,appupdater.mostCurrent,224); +if (RapidSub.canDelegate("createnotification")) { return SHARK2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","createnotification", _title, _content, _icon, _targetactivity, _sound, _vibrate);} +Debug.locals.put("Title", _title); +Debug.locals.put("Content", _content); +Debug.locals.put("Icon", _icon); +Debug.locals.put("TargetActivity", _targetactivity); +Debug.locals.put("Sound", _sound); +Debug.locals.put("Vibrate", _vibrate); + BA.debugLineNum = 224;BA.debugLine="Private Sub CreateNotification(Title As String, Co"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 225;BA.debugLine="n2.Initialize"; +Debug.ShouldStop(1); +appupdater._n2.runVoidMethod ("Initialize"); + BA.debugLineNum = 226;BA.debugLine="n2.Light = False"; +Debug.ShouldStop(2); +appupdater._n2.runVoidMethod ("setLight",appupdater.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 227;BA.debugLine="n2.Vibrate = Vibrate"; +Debug.ShouldStop(4); +appupdater._n2.runVoidMethod ("setVibrate",_vibrate); + BA.debugLineNum = 228;BA.debugLine="n2.Sound = Sound"; +Debug.ShouldStop(8); +appupdater._n2.runVoidMethod ("setSound",_sound); + BA.debugLineNum = 229;BA.debugLine="n2.OnGoingEvent = True"; +Debug.ShouldStop(16); +appupdater._n2.runVoidMethod ("setOnGoingEvent",appupdater.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 230;BA.debugLine="n2.Icon = Icon"; +Debug.ShouldStop(32); +appupdater._n2.runVoidMethod ("setIcon",_icon); + BA.debugLineNum = 231;BA.debugLine="n2.SetInfo(Title, Content, TargetActivity)"; +Debug.ShouldStop(64); +appupdater._n2.runVoidMethod ("SetInfoNew",appupdater.processBA,(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_content)),(Object)(_targetactivity)); + BA.debugLineNum = 232;BA.debugLine="n2.Notify(nNewAppnID)"; +Debug.ShouldStop(128); +appupdater._n2.runVoidMethod ("Notify",(Object)(appupdater._nnewappnid)); + BA.debugLineNum = 233;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +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,208); +if (RapidSub.canDelegate("createnotification2")) { return SHARK2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","createnotification2", _title, _content, _icon, _targetactivity, _sound, _vibrate, _pn, _pnid);} +Debug.locals.put("Title", _title); +Debug.locals.put("Content", _content); +Debug.locals.put("Icon", _icon); +Debug.locals.put("TargetActivity", _targetactivity); +Debug.locals.put("Sound", _sound); +Debug.locals.put("Vibrate", _vibrate); +Debug.locals.put("pN", _pn); +Debug.locals.put("pNID", _pnid); + BA.debugLineNum = 208;BA.debugLine="Private Sub CreateNotification2(Title As String, C"; +Debug.ShouldStop(32768); + BA.debugLineNum = 211;BA.debugLine="pN.Initialize2(pN.IMPORTANCE_HIGH)"; +Debug.ShouldStop(262144); +_pn.runVoidMethod ("Initialize2",(Object)(_pn.getField(true,"IMPORTANCE_HIGH"))); + BA.debugLineNum = 214;BA.debugLine="pN.Vibrate = Vibrate"; +Debug.ShouldStop(2097152); +_pn.runVoidMethod ("setVibrate",_vibrate); + BA.debugLineNum = 215;BA.debugLine="pN.Sound = Sound"; +Debug.ShouldStop(4194304); +_pn.runVoidMethod ("setSound",_sound); + BA.debugLineNum = 217;BA.debugLine="pN.Icon = Icon"; +Debug.ShouldStop(16777216); +_pn.runVoidMethod ("setIcon",_icon); + BA.debugLineNum = 218;BA.debugLine="pN.AutoCancel = True"; +Debug.ShouldStop(33554432); +_pn.runVoidMethod ("setAutoCancel",appupdater.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 219;BA.debugLine="pN.SetInfo(Title, Content, TargetActivity)"; +Debug.ShouldStop(67108864); +_pn.runVoidMethod ("SetInfoNew",appupdater.processBA,(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_content)),(Object)(_targetactivity)); + BA.debugLineNum = 220;BA.debugLine="pN.Notify(pNID)"; +Debug.ShouldStop(134217728); +_pn.runVoidMethod ("Notify",(Object)(_pnid)); + BA.debugLineNum = 221;BA.debugLine="Return pN"; +Debug.ShouldStop(268435456); +if (true) return _pn; + BA.debugLineNum = 222;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +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,201); +if (RapidSub.canDelegate("download")) { return SHARK2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","download", _callback, _link);} +RemoteObject _j = RemoteObject.declareNull("SHARK2.keymon.com.mx.httpjob"); +Debug.locals.put("Callback", _callback); +Debug.locals.put("link", _link); + BA.debugLineNum = 201;BA.debugLine="Sub Download (Callback As Object, link As String)"; +Debug.ShouldStop(256); + BA.debugLineNum = 202;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(512); +_j = RemoteObject.createNew ("SHARK2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 203;BA.debugLine="j.Initialize(\"\", Callback)"; +Debug.ShouldStop(1024); +_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,appupdater.processBA,(Object)(BA.ObjectToString("")),(Object)(_callback)); + BA.debugLineNum = 204;BA.debugLine="j.Download(link)"; +Debug.ShouldStop(2048); +_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(_link)); + BA.debugLineNum = 205;BA.debugLine="Return j"; +Debug.ShouldStop(4096); +if (true) return _j; + BA.debugLineNum = 206;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +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,196); +if (RapidSub.canDelegate("download_destroy")) { return SHARK2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","download_destroy");} + BA.debugLineNum = 196;BA.debugLine="Sub download_Destroy"; +Debug.ShouldStop(8); + BA.debugLineNum = 197;BA.debugLine="n2.Cancel(n2ID)"; +Debug.ShouldStop(16); +appupdater._n2.runVoidMethod ("Cancel",(Object)(appupdater._n2id)); + BA.debugLineNum = 198;BA.debugLine="Service.StopForeground(n2ID)"; +Debug.ShouldStop(32); +appupdater.mostCurrent._service.runVoidMethod ("StopForeground",(Object)(appupdater._n2id)); + BA.debugLineNum = 199;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _download_newapk() throws Exception{ +try { + Debug.PushSubsStack("download_newApk (appupdater) ","appupdater",1,appupdater.processBA,appupdater.mostCurrent,160); +if (RapidSub.canDelegate("download_newapk")) { SHARK2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","download_newapk"); return;} +ResumableSub_download_newApk rsub = new ResumableSub_download_newApk(null); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_download_newApk extends BA.ResumableSub { +public ResumableSub_download_newApk(SHARK2.keymon.com.mx.appupdater parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +SHARK2.keymon.com.mx.appupdater parent; +RemoteObject _job_newapp = RemoteObject.declareNull("SHARK2.keymon.com.mx.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,160); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 163;BA.debugLine="Log(\"Descargando actualización\")"; +Debug.ShouldStop(4); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","5851971",RemoteObject.createImmutable("Descargando actualización"),0); + BA.debugLineNum = 164;BA.debugLine="B4XPages.ShowPage(\"login\")"; +Debug.ShouldStop(8); +parent.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,appupdater.processBA,(Object)(RemoteObject.createImmutable("login"))); + BA.debugLineNum = 165;BA.debugLine="Starter.muestraProgreso = 1"; +Debug.ShouldStop(16); +parent.mostCurrent._starter._muestraprogreso /*RemoteObject*/ = BA.NumberToString(1); + BA.debugLineNum = 166;BA.debugLine="Dim job_newAPP As HttpJob"; +Debug.ShouldStop(32); +_job_newapp = RemoteObject.createNew ("SHARK2.keymon.com.mx.httpjob");Debug.locals.put("job_newAPP", _job_newapp); + BA.debugLineNum = 167;BA.debugLine="job_newAPP.Initialize(\"job_newAPP\",Me)"; +Debug.ShouldStop(64); +_job_newapp.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,appupdater.processBA,(Object)(BA.ObjectToString("job_newAPP")),(Object)(appupdater.getObject())); + BA.debugLineNum = 168;BA.debugLine="job_newAPP.Download(newApp.appLink)"; +Debug.ShouldStop(128); +_job_newapp.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(parent._newapp.getField(true,"appLink" /*RemoteObject*/ ))); + BA.debugLineNum = 169;BA.debugLine="Wait for (job_newAPP) JobDone (job_newAPP As Http"; +Debug.ShouldStop(256); +parent.mostCurrent.__c.runVoidMethod ("WaitFor","jobdone", appupdater.processBA, anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "appupdater", "download_newapk"), (_job_newapp)); +this.state = 15; +return; +case 15: +//C +this.state = 1; +_job_newapp = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(0));Debug.locals.put("job_newAPP", _job_newapp); +; + BA.debugLineNum = 170;BA.debugLine="If job_newAPP.Success = True Then"; +Debug.ShouldStop(512); +if (true) break; + +case 1: +//if +this.state = 14; +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 = 172;BA.debugLine="If File.Exists(SharedFolder,\"newapp.apk\") Then"; +Debug.ShouldStop(2048); +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 = 173;BA.debugLine="File.Delete(SharedFolder,\"newapp.apk\")"; +Debug.ShouldStop(4096); +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 = 176;BA.debugLine="Dim outNewAPK As OutputStream = File.OpenOutput("; +Debug.ShouldStop(32768); +_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 = 177;BA.debugLine="File.Copy2(job_newAPP.GetInputStream, outNewAPK)"; +Debug.ShouldStop(65536); +parent.mostCurrent.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_job_newapp.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_getinputstream" /*RemoteObject*/ ).getObject())),(Object)((_outnewapk.getObject()))); + BA.debugLineNum = 178;BA.debugLine="outNewAPK.Close"; +Debug.ShouldStop(131072); +_outnewapk.runVoidMethod ("Close"); + BA.debugLineNum = 179;BA.debugLine="If Starter.Logger Then Log(\"APK dir: \"&SharedFol"; +Debug.ShouldStop(262144); +if (true) break; + +case 8: +//if +this.state = 13; +if (parent.mostCurrent._starter._logger /*RemoteObject*/ .get().booleanValue()) { +this.state = 10; +;}if (true) break; + +case 10: +//C +this.state = 13; +parent.mostCurrent.__c.runVoidMethod ("LogImpl","5851987",RemoteObject.concat(RemoteObject.createImmutable("APK dir: "),parent._sharedfolder),0); +if (true) break; + +case 13: +//C +this.state = 14; +; + if (true) break; + +case 14: +//C +this.state = -1; +; + BA.debugLineNum = 181;BA.debugLine="job_newAPP.Release"; +Debug.ShouldStop(1048576); +_job_newapp.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 183;BA.debugLine="Dim in As Intent"; +Debug.ShouldStop(4194304); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("in", _in); + BA.debugLineNum = 184;BA.debugLine="in.Initialize(in.ACTION_VIEW,\"\" )"; +Debug.ShouldStop(8388608); +_in.runVoidMethod ("Initialize",(Object)(_in.getField(true,"ACTION_VIEW")),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 185;BA.debugLine="SetFileUriAsIntentData(in, \"newapp.apk\")"; +Debug.ShouldStop(16777216); +_setfileuriasintentdata(_in,RemoteObject.createImmutable("newapp.apk")); + BA.debugLineNum = 187;BA.debugLine="in.SetType(\"application/vnd.android.package-archi"; +Debug.ShouldStop(67108864); +_in.runVoidMethod ("SetType",(Object)(RemoteObject.createImmutable("application/vnd.android.package-archive"))); + BA.debugLineNum = 188;BA.debugLine="StartActivity(in)"; +Debug.ShouldStop(134217728); +parent.mostCurrent.__c.runVoidMethod ("StartActivity",appupdater.processBA,(Object)((_in.getObject()))); + BA.debugLineNum = 189;BA.debugLine="n2.Cancel(nNewAppnID)"; +Debug.ShouldStop(268435456); +parent._n2.runVoidMethod ("Cancel",(Object)(parent._nnewappnid)); + BA.debugLineNum = 190;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +Debug.ShouldStop(536870912); +parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,appupdater.processBA).runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_ocultaprogreso" /*RemoteObject*/ ); + BA.debugLineNum = 192;BA.debugLine="StopService(Me)"; +Debug.ShouldStop(-2147483648); +parent.mostCurrent.__c.runVoidMethod ("StopService",appupdater.processBA,(Object)(appupdater.getObject())); + BA.debugLineNum = 194;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +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,156); +if (RapidSub.canDelegate("download_start")) { return SHARK2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","download_start", _startingintent);} +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 156;BA.debugLine="Sub download_Start (StartingIntent As Intent)"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 157;BA.debugLine="download_newApk"; +Debug.ShouldStop(268435456); +_download_newapk(); + BA.debugLineNum = 158;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _fileprovider_init() throws Exception{ +try { + Debug.PushSubsStack("fileProvider_init (appupdater) ","appupdater",1,appupdater.processBA,appupdater.mostCurrent,239); +if (RapidSub.canDelegate("fileprovider_init")) { return SHARK2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","fileprovider_init");} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); + BA.debugLineNum = 239;BA.debugLine="Sub fileProvider_init"; +Debug.ShouldStop(16384); + BA.debugLineNum = 240;BA.debugLine="Dim p As Phone"; +Debug.ShouldStop(32768); +_p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("p", _p); + BA.debugLineNum = 241;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +Debug.ShouldStop(65536); +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 = 242;BA.debugLine="UseFileProvider = True"; +Debug.ShouldStop(131072); +appupdater._usefileprovider = appupdater.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 243;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +Debug.ShouldStop(262144); +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 = 244;BA.debugLine="If Not(File.IsDirectory(File.DirInternal,\"shared"; +Debug.ShouldStop(524288); +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 = 245;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +Debug.ShouldStop(1048576); +appupdater.mostCurrent.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(BA.ObjectToString("")),(Object)(appupdater._sharedfolder)); + }; + }else { + BA.debugLineNum = 248;BA.debugLine="UseFileProvider = False"; +Debug.ShouldStop(8388608); +appupdater._usefileprovider = appupdater.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 249;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +Debug.ShouldStop(16777216); +appupdater._sharedfolder = appupdater._rp.runMethod(true,"GetSafeDirDefaultExternal",(Object)(RemoteObject.createImmutable("shared"))); + }; + BA.debugLineNum = 251;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; +Debug.ShouldStop(67108864); +appupdater.mostCurrent.__c.runVoidMethod ("LogImpl","51245196",(RemoteObject.concat(RemoteObject.createImmutable("Using FileProvider? "),appupdater.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((appupdater._usefileprovider))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 252;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +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,255); +if (RapidSub.canDelegate("getfileuri")) { return SHARK2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","getfileuri", _filename);} +RemoteObject _uri = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _fp = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _context = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 255;BA.debugLine="Sub GetFileUri (FileName As String) As Object"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 256;BA.debugLine="Try"; +Debug.ShouldStop(-2147483648); +try { BA.debugLineNum = 257;BA.debugLine="If Not(UseFileProvider) Then"; +Debug.ShouldStop(1); +if (appupdater.mostCurrent.__c.runMethod(true,"Not",(Object)(appupdater._usefileprovider)).get().booleanValue()) { + BA.debugLineNum = 258;BA.debugLine="Dim uri As JavaObject"; +Debug.ShouldStop(2); +_uri = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("uri", _uri); + BA.debugLineNum = 259;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\")."; +Debug.ShouldStop(4); +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 = 261;BA.debugLine="Dim f As JavaObject"; +Debug.ShouldStop(16); +_f = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("f", _f); + BA.debugLineNum = 262;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +Debug.ShouldStop(32); +_f.runVoidMethod ("InitializeNewInstance",(Object)(BA.ObjectToString("java.io.File")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(appupdater._sharedfolder),(_filename)}))); + BA.debugLineNum = 263;BA.debugLine="Dim fp As JavaObject"; +Debug.ShouldStop(64); +_fp = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("fp", _fp); + BA.debugLineNum = 264;BA.debugLine="Dim context As JavaObject"; +Debug.ShouldStop(128); +_context = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("context", _context); + BA.debugLineNum = 265;BA.debugLine="context.InitializeContext"; +Debug.ShouldStop(256); +_context.runVoidMethod ("InitializeContext",appupdater.processBA); + BA.debugLineNum = 266;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +Debug.ShouldStop(512); +_fp.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("androidx.core.content.FileProvider"))); + BA.debugLineNum = 267;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; +Debug.ShouldStop(1024); +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 = 269;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last"; +Debug.ShouldStop(4096); +appupdater.mostCurrent.__c.runVoidMethod ("LogImpl","51310734",RemoteObject.concat(RemoteObject.createImmutable("FileProvider::GetFileUri - error - "),appupdater.mostCurrent.__c.runMethod(false,"LastException",appupdater.processBA).runMethod(true,"getMessage")),0); + BA.debugLineNum = 270;BA.debugLine="Return \"\""; +Debug.ShouldStop(8192); +if (true) return RemoteObject.createImmutable(("")); + }; + BA.debugLineNum = 272;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +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.lat/movil/"; +appupdater._lnk = BA.ObjectToString("https://keymon.lat/movil/SHARK2/SHARK2.ver"); + //BA.debugLineNum = 89;BA.debugLine="Public nNewApp As Notification"; +appupdater._nnewapp = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper"); + //BA.debugLineNum = 90;BA.debugLine="Public nNewAppnID As Int = 16"; +appupdater._nnewappnid = BA.numberCast(int.class, 16); + //BA.debugLineNum = 92;BA.debugLine="Dim nativeMe As JavaObject"; +appupdater._nativeme = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); + //BA.debugLineNum = 93;BA.debugLine="Dim n2 As Notification"; +appupdater._n2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper"); + //BA.debugLineNum = 94;BA.debugLine="Dim n2ID As Int = 16"; +appupdater._n2id = BA.numberCast(int.class, 16); + //BA.debugLineNum = 96;BA.debugLine="Public SharedFolder As String"; +appupdater._sharedfolder = RemoteObject.createImmutable(""); + //BA.debugLineNum = 97;BA.debugLine="Public UseFileProvider As Boolean"; +appupdater._usefileprovider = RemoteObject.createImmutable(false); + //BA.debugLineNum = 98;BA.debugLine="Private rp As RuntimePermissions"; +appupdater._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions"); + //BA.debugLineNum = 100;BA.debugLine="Type mNewVersion(update As Boolean, nonewAPP As B"; +; + //BA.debugLineNum = 102;BA.debugLine="Public newApp As mNewVersion"; +appupdater._newapp = RemoteObject.createNew ("SHARK2.keymon.com.mx.appupdater._mnewversion"); + //BA.debugLineNum = 103;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,105); +if (RapidSub.canDelegate("service_create")) { return SHARK2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","service_create");} + BA.debugLineNum = 105;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(256); + BA.debugLineNum = 106;BA.debugLine="Log(\"appUpdater(), Service_Create\")"; +Debug.ShouldStop(512); +appupdater.mostCurrent.__c.runVoidMethod ("LogImpl","5655361",RemoteObject.createImmutable("appUpdater(), Service_Create"),0); + BA.debugLineNum = 107;BA.debugLine="newApp.Initialize"; +Debug.ShouldStop(1024); +appupdater._newapp.runVoidMethod ("Initialize"); + BA.debugLineNum = 108;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; +Debug.ShouldStop(2048); +appupdater.mostCurrent._service.setField ("AutomaticForegroundMode",appupdater.mostCurrent._service.getField(true,"AUTOMATIC_FOREGROUND_NEVER")); + BA.debugLineNum = 109;BA.debugLine="n2.Initialize"; +Debug.ShouldStop(4096); +appupdater._n2.runVoidMethod ("Initialize"); + BA.debugLineNum = 110;BA.debugLine="nativeMe.InitializeContext"; +Debug.ShouldStop(8192); +appupdater._nativeme.runVoidMethod ("InitializeContext",appupdater.processBA); + BA.debugLineNum = 111;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +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,235); +if (RapidSub.canDelegate("service_destroy")) { return SHARK2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","service_destroy");} + BA.debugLineNum = 235;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(1024); + BA.debugLineNum = 236;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")"; +Debug.ShouldStop(2048); +appupdater.mostCurrent.__c.runVoidMethod ("LogImpl","51179649",RemoteObject.createImmutable("appUpdater(), Service_Destroy"),0); + BA.debugLineNum = 237;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +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,113); +if (RapidSub.canDelegate("service_start")) { SHARK2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","service_start", _startingintent); return;} +ResumableSub_Service_Start rsub = new ResumableSub_Service_Start(null,_startingintent); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Service_Start extends BA.ResumableSub { +public ResumableSub_Service_Start(SHARK2.keymon.com.mx.appupdater parent,RemoteObject _startingintent) { +this.parent = parent; +this._startingintent = _startingintent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +SHARK2.keymon.com.mx.appupdater parent; +RemoteObject _startingintent; +RemoteObject _j = RemoteObject.declareNull("SHARK2.keymon.com.mx.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,113); +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 = 114;BA.debugLine="Log(\"appUpdater(), Service_Start\")"; +Debug.ShouldStop(131072); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","5720897",RemoteObject.createImmutable("appUpdater(), Service_Start"),0); + BA.debugLineNum = 116;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua"; +Debug.ShouldStop(524288); +parent.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,appupdater.processBA).runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_muestraprogreso" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("Buscando actualización"))); + BA.debugLineNum = 117;BA.debugLine="Log(\"Buscando actualización\")"; +Debug.ShouldStop(1048576); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","5720900",RemoteObject.createImmutable("Buscando actualización"),0); + BA.debugLineNum = 118;BA.debugLine="fileProvider_init"; +Debug.ShouldStop(2097152); +_fileprovider_init(); + BA.debugLineNum = 119;BA.debugLine="Wait For (Download(Me, lnk)) JobDone (j As HttpJo"; +Debug.ShouldStop(4194304); +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 = 120;BA.debugLine="If j.Success Then"; +Debug.ShouldStop(8388608); +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 = 121;BA.debugLine="Try"; +Debug.ShouldStop(16777216); +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 = 122;BA.debugLine="Dim app() As String = Regex.Split(Chr(9),j.GetS"; +Debug.ShouldStop(33554432); +_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 (SHARK2.keymon.com.mx.httpjob.class, "_getstring" /*RemoteObject*/ )));Debug.locals.put("app", _app);Debug.locals.put("app", _app); + BA.debugLineNum = 124;BA.debugLine="newApp.appLink = app(3) 'Liga a nueva app"; +Debug.ShouldStop(134217728); +parent._newapp.setField ("appLink" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 3))); + BA.debugLineNum = 125;BA.debugLine="newApp.newMsg = app(1) 'Texto de que hay actual"; +Debug.ShouldStop(268435456); +parent._newapp.setField ("newMsg" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 1))); + BA.debugLineNum = 126;BA.debugLine="newApp.okMsg = app(2) 'Texto de app al corrient"; +Debug.ShouldStop(536870912); +parent._newapp.setField ("okMsg" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 2))); + BA.debugLineNum = 127;BA.debugLine="newApp.version = app(0) 'Version actual"; +Debug.ShouldStop(1073741824); +parent._newapp.setField ("version" /*RemoteObject*/ ,_app.getArrayElement(true,BA.numberCast(int.class, 0))); + BA.debugLineNum = 129;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; +Debug.ShouldStop(1); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","5720912",(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 = 132;BA.debugLine="If newApp.version = Application.VersionName Th"; +Debug.ShouldStop(8); +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 = 133;BA.debugLine="newApp.update = False"; +Debug.ShouldStop(16); +parent._newapp.setField ("update" /*RemoteObject*/ ,parent.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 134;BA.debugLine="Log(\"No new app\")"; +Debug.ShouldStop(32); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","5720917",RemoteObject.createImmutable("No new app"),0); + BA.debugLineNum = 135;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; +Debug.ShouldStop(64); +parent.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,appupdater.processBA,(Object)(RemoteObject.createImmutable("updateAvailable"))); + BA.debugLineNum = 137;BA.debugLine="CreateNotification2(\"Aplicacion al corriente\","; +Debug.ShouldStop(256); +_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 = 139;BA.debugLine="If newApp.version <> Application.VersionName T"; +Debug.ShouldStop(1024); + +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 = 140;BA.debugLine="newApp.update = True"; +Debug.ShouldStop(2048); +parent._newapp.setField ("update" /*RemoteObject*/ ,parent.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 141;BA.debugLine="Log(\"New app true\")"; +Debug.ShouldStop(4096); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","5720924",RemoteObject.createImmutable("New app true"),0); + BA.debugLineNum = 142;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; +Debug.ShouldStop(8192); +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 = 147;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE"; +Debug.ShouldStop(262144); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","5720930",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 = 150;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)"; +Debug.ShouldStop(2097152); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","5720933",RemoteObject.concat(RemoteObject.createImmutable("appUpdater(), Job Failed "),parent._lnk),0); + if (true) break; + +case 19: +//C +this.state = -1; +; + BA.debugLineNum = 152;BA.debugLine="j.Release"; +Debug.ShouldStop(8388608); +_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 154;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +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,276); +if (RapidSub.canDelegate("setfileuriasintentdata")) { return SHARK2.keymon.com.mx.appupdater.remoteMe.runUserSub(false, "appupdater","setfileuriasintentdata", _intent, _filename);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("Intent", _intent); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 276;BA.debugLine="Sub SetFileUriAsIntentData (Intent As Intent, File"; +Debug.ShouldStop(524288); + BA.debugLineNum = 277;BA.debugLine="Dim jo As JavaObject = Intent"; +Debug.ShouldStop(1048576); +_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 = 278;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +Debug.ShouldStop(2097152); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setData")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_getfileuri(_filename)}))); + BA.debugLineNum = 279;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +Debug.ShouldStop(4194304); +_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 = 280;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/SHARK2/keymon/com/mx/b4xbitset.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbitset.java new file mode 100644 index 0000000..d4b2423 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbitset.java @@ -0,0 +1,34 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xbitset { + public static RemoteObject myClass; + public b4xbitset() { + } + public static PCBA staticBA = new PCBA(null, b4xbitset.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _data = null; +public static RemoteObject _msize = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"data",_ref.getField(false, "_data"),"DateUtils",_ref.getField(false, "_dateutils"),"mSize",_ref.getField(false, "_msize")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbitset_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbitset_subs_0.java new file mode 100644 index 0000000..972042c --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbitset_subs_0.java @@ -0,0 +1,161 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xbitset_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 5;BA.debugLine="Private data() As Int"; +b4xbitset._data = RemoteObject.createNewArray ("int", new int[] {0}, new Object[]{});__ref.setField("_data",b4xbitset._data); + //BA.debugLineNum = 7;BA.debugLine="Private mSize As Int"; +b4xbitset._msize = RemoteObject.createImmutable(0);__ref.setField("_msize",b4xbitset._msize); + //BA.debugLineNum = 8;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Clear (b4xbitset) ","b4xbitset",35,__ref.getField(false, "ba"),__ref,54); +if (RapidSub.canDelegate("clear")) { return __ref.runUserSub(false, "b4xbitset","clear", __ref);} + BA.debugLineNum = 54;BA.debugLine="Public Sub Clear"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 58;BA.debugLine="Dim data(Bit.ShiftRight(mSize, 5) + 1) As Int"; +Debug.JustUpdateDeviceLine(); +b4xbitset._data = RemoteObject.createNewArray ("int", new int[] {RemoteObject.solve(new RemoteObject[] {b4xbitset.__c.getField(false,"Bit").runMethod(true,"ShiftRight",(Object)(__ref.getField(true,"_msize" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 5))),RemoteObject.createImmutable(1)}, "+",1, 1).get().intValue()}, new Object[]{});__ref.setField("_data",b4xbitset._data); + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _get(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("Get (b4xbitset) ","b4xbitset",35,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("get")) { return __ref.runUserSub(false, "b4xbitset","get", __ref, _index);} +RemoteObject _dindex = RemoteObject.createImmutable(0); +RemoteObject _offset = RemoteObject.createImmutable(0); +RemoteObject _blockvalue = RemoteObject.createImmutable(0); +Debug.locals.put("Index", _index); + BA.debugLineNum = 38;BA.debugLine="Public Sub Get(Index As Int) As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 39;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; +Debug.JustUpdateDeviceLine(); +_dindex = b4xbitset.__c.getField(false,"Bit").runMethod(true,"ShiftRight",(Object)(_index),(Object)(BA.numberCast(int.class, 5)));Debug.locals.put("dindex", _dindex);Debug.locals.put("dindex", _dindex); + BA.debugLineNum = 40;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; +Debug.JustUpdateDeviceLine(); +_offset = b4xbitset.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x0000001f))),(Object)(_index));Debug.locals.put("offset", _offset);Debug.locals.put("offset", _offset); + BA.debugLineNum = 44;BA.debugLine="Dim BlockValue As Int = data(dindex)"; +Debug.JustUpdateDeviceLine(); +_blockvalue = __ref.getField(false,"_data" /*RemoteObject*/ ).getArrayElement(true,_dindex);Debug.locals.put("BlockValue", _blockvalue);Debug.locals.put("BlockValue", _blockvalue); + BA.debugLineNum = 46;BA.debugLine="Return Bit.And(BlockValue, Bit.ShiftLeft(1, offse"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(RemoteObject.solveBoolean("!",b4xbitset.__c.getField(false,"Bit").runMethod(true,"And",(Object)(_blockvalue),(Object)(b4xbitset.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(BA.numberCast(int.class, 1)),(Object)(_offset)))),BA.numberCast(double.class, 0))); + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSize (b4xbitset) ","b4xbitset",35,__ref.getField(false, "ba"),__ref,49); +if (RapidSub.canDelegate("getsize")) { return __ref.runUserSub(false, "b4xbitset","getsize", __ref);} + BA.debugLineNum = 49;BA.debugLine="Public Sub getSize As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 50;BA.debugLine="Return mSize"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_msize" /*RemoteObject*/ ); + BA.debugLineNum = 51;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _size) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xbitset) ","b4xbitset",35,__ref.getField(false, "ba"),__ref,10); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xbitset","initialize", __ref, _ba, _size);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Size", _size); + BA.debugLineNum = 10;BA.debugLine="Public Sub Initialize (Size As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 11;BA.debugLine="mSize = Size"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_msize" /*RemoteObject*/ ,_size); + BA.debugLineNum = 12;BA.debugLine="Clear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xbitset.class, "_clear" /*RemoteObject*/ ); + BA.debugLineNum = 13;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _set(RemoteObject __ref,RemoteObject _index,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("Set (b4xbitset) ","b4xbitset",35,__ref.getField(false, "ba"),__ref,16); +if (RapidSub.canDelegate("set")) { return __ref.runUserSub(false, "b4xbitset","set", __ref, _index, _value);} +RemoteObject _dindex = RemoteObject.createImmutable(0); +RemoteObject _offset = RemoteObject.createImmutable(0); +RemoteObject _blockvalue = RemoteObject.createImmutable(0); +RemoteObject _newblockvalue = RemoteObject.createImmutable(0); +Debug.locals.put("Index", _index); +Debug.locals.put("Value", _value); + BA.debugLineNum = 16;BA.debugLine="Public Sub Set(Index As Int, Value As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 17;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; +Debug.JustUpdateDeviceLine(); +_dindex = b4xbitset.__c.getField(false,"Bit").runMethod(true,"ShiftRight",(Object)(_index),(Object)(BA.numberCast(int.class, 5)));Debug.locals.put("dindex", _dindex);Debug.locals.put("dindex", _dindex); + BA.debugLineNum = 18;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; +Debug.JustUpdateDeviceLine(); +_offset = b4xbitset.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x0000001f))),(Object)(_index));Debug.locals.put("offset", _offset);Debug.locals.put("offset", _offset); + BA.debugLineNum = 22;BA.debugLine="Dim BlockValue As Int = data(dindex)"; +Debug.JustUpdateDeviceLine(); +_blockvalue = __ref.getField(false,"_data" /*RemoteObject*/ ).getArrayElement(true,_dindex);Debug.locals.put("BlockValue", _blockvalue);Debug.locals.put("BlockValue", _blockvalue); + BA.debugLineNum = 24;BA.debugLine="Dim NewBlockValue As Int"; +Debug.JustUpdateDeviceLine(); +_newblockvalue = RemoteObject.createImmutable(0);Debug.locals.put("NewBlockValue", _newblockvalue); + BA.debugLineNum = 25;BA.debugLine="If Value Then"; +Debug.JustUpdateDeviceLine(); +if (_value.get().booleanValue()) { + BA.debugLineNum = 26;BA.debugLine="NewBlockValue = Bit.Or(BlockValue, Bit.ShiftLeft"; +Debug.JustUpdateDeviceLine(); +_newblockvalue = b4xbitset.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(_blockvalue),(Object)(b4xbitset.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(BA.numberCast(int.class, 1)),(Object)(_offset))));Debug.locals.put("NewBlockValue", _newblockvalue); + }else { + BA.debugLineNum = 28;BA.debugLine="NewBlockValue = Bit.And(BlockValue, Bit.Not(Bit."; +Debug.JustUpdateDeviceLine(); +_newblockvalue = b4xbitset.__c.getField(false,"Bit").runMethod(true,"And",(Object)(_blockvalue),(Object)(b4xbitset.__c.getField(false,"Bit").runMethod(true,"Not",(Object)(b4xbitset.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(BA.numberCast(int.class, 1)),(Object)(_offset))))));Debug.locals.put("NewBlockValue", _newblockvalue); + }; + BA.debugLineNum = 33;BA.debugLine="data(dindex) = NewBlockValue"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).setArrayElement (_newblockvalue,_dindex); + BA.debugLineNum = 35;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbreadcrumb.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbreadcrumb.java new file mode 100644 index 0000000..3940984 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbreadcrumb.java @@ -0,0 +1,48 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xbreadcrumb { + public static RemoteObject myClass; + public b4xbreadcrumb() { + } + public static PCBA staticBA = new PCBA(null, b4xbreadcrumb.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _mitems = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _rightpositions = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _textcolor = RemoteObject.createImmutable(0); +public static RemoteObject _fnt = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +public static RemoteObject _offset = RemoteObject.createImmutable(0); +public static RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +public static RemoteObject _crumbcolor = RemoteObject.createImmutable(0); +public static RemoteObject _touchpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _presseditem = RemoteObject.createImmutable(0); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _mhaptic = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"bc",_ref.getField(false, "_bc"),"CrumbColor",_ref.getField(false, "_crumbcolor"),"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"fnt",_ref.getField(false, "_fnt"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"mHaptic",_ref.getField(false, "_mhaptic"),"mItems",_ref.getField(false, "_mitems"),"offset",_ref.getField(false, "_offset"),"PressedItem",_ref.getField(false, "_presseditem"),"RightPositions",_ref.getField(false, "_rightpositions"),"Tag",_ref.getField(false, "_tag"),"TextColor",_ref.getField(false, "_textcolor"),"TouchPanel",_ref.getField(false, "_touchpanel"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbreadcrumb_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbreadcrumb_subs_0.java new file mode 100644 index 0000000..5f50cfe --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbreadcrumb_subs_0.java @@ -0,0 +1,562 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xbreadcrumb_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xbreadcrumb) ","b4xbreadcrumb",49,__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 (SHARK2.keymon.com.mx.b4xbreadcrumb.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 55;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; +b4xbreadcrumb._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4xbreadcrumb._meventname); + //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; +b4xbreadcrumb._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4xbreadcrumb._mcallback); + //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xbreadcrumb._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xbreadcrumb._mbase); + //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; +b4xbreadcrumb._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xbreadcrumb._xui); + //BA.debugLineNum = 10;BA.debugLine="Private cvs As B4XCanvas"; +b4xbreadcrumb._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",b4xbreadcrumb._cvs); + //BA.debugLineNum = 11;BA.debugLine="Private mItems As List"; +b4xbreadcrumb._mitems = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_mitems",b4xbreadcrumb._mitems); + //BA.debugLineNum = 12;BA.debugLine="Private RightPositions As List"; +b4xbreadcrumb._rightpositions = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_rightpositions",b4xbreadcrumb._rightpositions); + //BA.debugLineNum = 13;BA.debugLine="Public TextColor As Int"; +b4xbreadcrumb._textcolor = RemoteObject.createImmutable(0);__ref.setField("_textcolor",b4xbreadcrumb._textcolor); + //BA.debugLineNum = 14;BA.debugLine="Public fnt As B4XFont"; +b4xbreadcrumb._fnt = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont");__ref.setField("_fnt",b4xbreadcrumb._fnt); + //BA.debugLineNum = 15;BA.debugLine="Private offset As Int = 10dip"; +b4xbreadcrumb._offset = b4xbreadcrumb.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)));__ref.setField("_offset",b4xbreadcrumb._offset); + //BA.debugLineNum = 16;BA.debugLine="Private bc As BitmapCreator"; +b4xbreadcrumb._bc = RemoteObject.createNew ("b4a.example.bitmapcreator");__ref.setField("_bc",b4xbreadcrumb._bc); + //BA.debugLineNum = 17;BA.debugLine="Public CrumbColor As Int"; +b4xbreadcrumb._crumbcolor = RemoteObject.createImmutable(0);__ref.setField("_crumbcolor",b4xbreadcrumb._crumbcolor); + //BA.debugLineNum = 18;BA.debugLine="Private TouchPanel As B4XView"; +b4xbreadcrumb._touchpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_touchpanel",b4xbreadcrumb._touchpanel); + //BA.debugLineNum = 19;BA.debugLine="Private PressedItem As Int = -1"; +b4xbreadcrumb._presseditem = BA.numberCast(int.class, -(double) (0 + 1));__ref.setField("_presseditem",b4xbreadcrumb._presseditem); + //BA.debugLineNum = 20;BA.debugLine="Public Tag As Object"; +b4xbreadcrumb._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4xbreadcrumb._tag); + //BA.debugLineNum = 21;BA.debugLine="Public mHaptic As Boolean"; +b4xbreadcrumb._mhaptic = RemoteObject.createImmutable(false);__ref.setField("_mhaptic",b4xbreadcrumb._mhaptic); + //BA.debugLineNum = 22;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xbreadcrumb) ","b4xbreadcrumb",49,__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 (SHARK2.keymon.com.mx.b4xbreadcrumb.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 49;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Draw (b4xbreadcrumb) ","b4xbreadcrumb",49,__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 (SHARK2.keymon.com.mx.b4xbreadcrumb.class, "_drawitem" /*RemoteObject*/ ,(Object)(_left),(Object)(BA.ObjectToString(__ref.getField(false,"_mitems" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))),(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("=",RemoteObject.createImmutable(_i),BA.numberCast(double.class, 0)))),(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("=",RemoteObject.createImmutable(_i),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mitems" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1))))),(Object)(_clrs.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),_clrs.getField(true,"length")}, "%",0, 1))),(Object)(_sc));Debug.locals.put("width", _width);Debug.locals.put("width", _width); + BA.debugLineNum = 79;BA.debugLine="Left = Left + width + offset + 2dip"; +Debug.JustUpdateDeviceLine(); +_left = RemoteObject.solve(new RemoteObject[] {_left,_width,__ref.getField(true,"_offset" /*RemoteObject*/ ),b4xbreadcrumb.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))}, "+++",3, 1);Debug.locals.put("Left", _left); + BA.debugLineNum = 80;BA.debugLine="RightPositions.Add(Left)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_rightpositions" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_left))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 82;BA.debugLine="cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 83;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _drawitem(RemoteObject __ref,RemoteObject _left,RemoteObject _text,RemoteObject _first,RemoteObject _last,RemoteObject _clr,RemoteObject _strokecolor) throws Exception{ +try { + Debug.PushSubsStack("DrawItem (b4xbreadcrumb) ","b4xbreadcrumb",49,__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",49,__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",49,__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",49,__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",49,__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 (SHARK2.keymon.com.mx.b4xbreadcrumb.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 151;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _touch_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("Touch_Touch (b4xbreadcrumb) ","b4xbreadcrumb",49,__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 (SHARK2.keymon.com.mx.b4xbreadcrumb.class, "_finditem" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)))); + BA.debugLineNum = 119;BA.debugLine="If prev <> PressedItem Then Draw"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_prev,BA.numberCast(double.class, __ref.getField(true,"_presseditem" /*RemoteObject*/ )))) { +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xbreadcrumb.class, "_draw" /*RemoteObject*/ );}; + break; } +case 2: { + BA.debugLineNum = 121;BA.debugLine="Dim index As Int = FindItem(X, Y)"; +Debug.JustUpdateDeviceLine(); +_index = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xbreadcrumb.class, "_finditem" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 122;BA.debugLine="If index = PressedItem And index > -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_index,BA.numberCast(double.class, __ref.getField(true,"_presseditem" /*RemoteObject*/ ))) && RemoteObject.solveBoolean(">",_index,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 123;BA.debugLine="Dim Items As List"; +Debug.JustUpdateDeviceLine(); +_items = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items", _items); + BA.debugLineNum = 124;BA.debugLine="Items.Initialize"; +Debug.JustUpdateDeviceLine(); +_items.runVoidMethod ("Initialize"); + BA.debugLineNum = 125;BA.debugLine="For i = 0 To index"; +Debug.JustUpdateDeviceLine(); +{ +final int step11 = 1; +final int limit11 = _index.get().intValue(); +_i = 0 ; +for (;(step11 > 0 && _i <= limit11) || (step11 < 0 && _i >= limit11) ;_i = ((int)(0 + _i + step11)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 126;BA.debugLine="Items.Add(mItems.Get(i))"; +Debug.JustUpdateDeviceLine(); +_items.runVoidMethod ("Add",(Object)(__ref.getField(false,"_mitems" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 128;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mhaptic" /*RemoteObject*/ ).get().booleanValue()) { +b4xbreadcrumb._xuiviewsutils.runVoidMethod ("_performhapticfeedback" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )));}; + BA.debugLineNum = 129;BA.debugLine="CallSub2(mCallBack, mEventName & \"_CrumbClick\""; +Debug.JustUpdateDeviceLine(); +b4xbreadcrumb.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_CrumbClick"))),(Object)((_items))); + }; + BA.debugLineNum = 131;BA.debugLine="PressedItem = -1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_presseditem" /*RemoteObject*/ ,BA.numberCast(int.class, -(double) (0 + 1))); + BA.debugLineNum = 132;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xbreadcrumb.class, "_draw" /*RemoteObject*/ ); + break; } +} +; + BA.debugLineNum = 134;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbytesbuilder.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbytesbuilder.java new file mode 100644 index 0000000..971ec80 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbytesbuilder.java @@ -0,0 +1,34 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xbytesbuilder { + public static RemoteObject myClass; + public b4xbytesbuilder() { + } + public static PCBA staticBA = new PCBA(null, b4xbytesbuilder.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _mbuffer = null; +public static RemoteObject _mlength = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"mBuffer",_ref.getField(false, "_mbuffer"),"mLength",_ref.getField(false, "_mlength")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbytesbuilder_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbytesbuilder_subs_0.java new file mode 100644 index 0000000..dd0f924 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xbytesbuilder_subs_0.java @@ -0,0 +1,473 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xbytesbuilder_subs_0 { + + +public static RemoteObject _append(RemoteObject __ref,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("Append (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,24); +if (RapidSub.canDelegate("append")) { return __ref.runUserSub(false, "b4xbytesbuilder","append", __ref, _data);} +Debug.locals.put("Data", _data); + BA.debugLineNum = 24;BA.debugLine="Public Sub Append(Data() As Byte) As B4XBytesBuild"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 25;BA.debugLine="Return Append2(Data, 0, Data.Length)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_append2" /*RemoteObject*/ ,(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 26;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _append2(RemoteObject __ref,RemoteObject _data,RemoteObject _startindex,RemoteObject _length) throws Exception{ +try { + Debug.PushSubsStack("Append2 (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,31); +if (RapidSub.canDelegate("append2")) { return __ref.runUserSub(false, "b4xbytesbuilder","append2", __ref, _data, _startindex, _length);} +RemoteObject _oldlength = RemoteObject.createImmutable(0); +Debug.locals.put("Data", _data); +Debug.locals.put("StartIndex", _startindex); +Debug.locals.put("Length", _length); + BA.debugLineNum = 31;BA.debugLine="Public Sub Append2(Data() As Byte, StartIndex As I"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 32;BA.debugLine="Dim OldLength As Int = ChangeLength(mLength + Len"; +Debug.JustUpdateDeviceLine(); +_oldlength = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_changelength" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mlength" /*RemoteObject*/ ),_length}, "+",1, 1)));Debug.locals.put("OldLength", _oldlength);Debug.locals.put("OldLength", _oldlength); + BA.debugLineNum = 33;BA.debugLine="Bit.ArrayCopy(Data, StartIndex, mBuffer, OldLengt"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((_data)),(Object)(_startindex),(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(_oldlength),(Object)(_length)); + BA.debugLineNum = 34;BA.debugLine="Return Me"; +Debug.JustUpdateDeviceLine(); +if (true) return (__ref); + BA.debugLineNum = 35;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _changelength(RemoteObject __ref,RemoteObject _newlength) throws Exception{ +try { + Debug.PushSubsStack("ChangeLength (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,12); +if (RapidSub.canDelegate("changelength")) { return __ref.runUserSub(false, "b4xbytesbuilder","changelength", __ref, _newlength);} +RemoteObject _oldlength = RemoteObject.createImmutable(0); +RemoteObject _b = null; +Debug.locals.put("NewLength", _newlength); + BA.debugLineNum = 12;BA.debugLine="Private Sub ChangeLength (NewLength As Int) As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 13;BA.debugLine="Dim OldLength As Int = mLength"; +Debug.JustUpdateDeviceLine(); +_oldlength = __ref.getField(true,"_mlength" /*RemoteObject*/ );Debug.locals.put("OldLength", _oldlength);Debug.locals.put("OldLength", _oldlength); + BA.debugLineNum = 14;BA.debugLine="mLength = NewLength"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mlength" /*RemoteObject*/ ,_newlength); + BA.debugLineNum = 15;BA.debugLine="If mBuffer.Length < mLength Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_mbuffer" /*RemoteObject*/ ).getField(true,"length"),BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { + BA.debugLineNum = 16;BA.debugLine="Dim b(Max(mBuffer.Length * 2, NewLength)) As Byt"; +Debug.JustUpdateDeviceLine(); +_b = RemoteObject.createNewArray ("byte", new int[] {(int) (0 + b4xbytesbuilder.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbuffer" /*RemoteObject*/ ).getField(true,"length"),RemoteObject.createImmutable(2)}, "*",0, 1))),(Object)(BA.numberCast(double.class, _newlength))).get().doubleValue())}, new Object[]{});Debug.locals.put("b", _b); + BA.debugLineNum = 17;BA.debugLine="Bit.ArrayCopy(mBuffer, 0, b, 0, mBuffer.Length)"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(BA.numberCast(int.class, 0)),(Object)((_b)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mbuffer" /*RemoteObject*/ ).getField(true,"length"))); + BA.debugLineNum = 18;BA.debugLine="mBuffer = b"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mbuffer" /*RemoteObject*/ ,_b); + }; + BA.debugLineNum = 20;BA.debugLine="Return OldLength"; +Debug.JustUpdateDeviceLine(); +if (true) return _oldlength; + BA.debugLineNum = 21;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private mBuffer() As Byte"; +b4xbytesbuilder._mbuffer = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});__ref.setField("_mbuffer",b4xbytesbuilder._mbuffer); + //BA.debugLineNum = 3;BA.debugLine="Private mLength As Int"; +b4xbytesbuilder._mlength = RemoteObject.createImmutable(0);__ref.setField("_mlength",b4xbytesbuilder._mlength); + //BA.debugLineNum = 4;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Clear (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,37); +if (RapidSub.canDelegate("clear")) { return __ref.runUserSub(false, "b4xbytesbuilder","clear", __ref);} + BA.debugLineNum = 37;BA.debugLine="Public Sub Clear"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 38;BA.debugLine="ChangeLength(0)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_changelength" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbuffer(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getBuffer (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,103); +if (RapidSub.canDelegate("getbuffer")) { return __ref.runUserSub(false, "b4xbytesbuilder","getbuffer", __ref);} + BA.debugLineNum = 103;BA.debugLine="Private Sub getBuffer As Byte() 'ignore"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 104;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getinternalbuffer(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getInternalBuffer (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,127); +if (RapidSub.canDelegate("getinternalbuffer")) { return __ref.runUserSub(false, "b4xbytesbuilder","getinternalbuffer", __ref);} + BA.debugLineNum = 127;BA.debugLine="Public Sub getInternalBuffer As Byte()"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 128;BA.debugLine="Return mBuffer"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_mbuffer" /*RemoteObject*/ ); + BA.debugLineNum = 129;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getlength(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getLength (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,92); +if (RapidSub.canDelegate("getlength")) { return __ref.runUserSub(false, "b4xbytesbuilder","getlength", __ref);} + BA.debugLineNum = 92;BA.debugLine="Public Sub getLength As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 93;BA.debugLine="Return mLength"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mlength" /*RemoteObject*/ ); + BA.debugLineNum = 94;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _indexof(RemoteObject __ref,RemoteObject _searchfor) throws Exception{ +try { + Debug.PushSubsStack("IndexOf (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,107); +if (RapidSub.canDelegate("indexof")) { return __ref.runUserSub(false, "b4xbytesbuilder","indexof", __ref, _searchfor);} +Debug.locals.put("SearchFor", _searchfor); + BA.debugLineNum = 107;BA.debugLine="Public Sub IndexOf(SearchFor() As Byte) As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 108;BA.debugLine="Return IndexOf2(SearchFor, 0)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_indexof2" /*RemoteObject*/ ,(Object)(_searchfor),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 109;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _indexof2(RemoteObject __ref,RemoteObject _searchfor,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("IndexOf2 (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,112); +if (RapidSub.canDelegate("indexof2")) { return __ref.runUserSub(false, "b4xbytesbuilder","indexof2", __ref, _searchfor, _index);} +int _i1 = 0; +int _i2 = 0; +Debug.locals.put("SearchFor", _searchfor); +Debug.locals.put("Index", _index); + BA.debugLineNum = 112;BA.debugLine="Public Sub IndexOf2(SearchFor() As Byte, Index As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 113;BA.debugLine="For i1 = Index To mLength - SearchFor.Length"; +Debug.JustUpdateDeviceLine(); +{ +final int step1 = 1; +final int limit1 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mlength" /*RemoteObject*/ ),_searchfor.getField(true,"length")}, "-",1, 1).get().intValue(); +_i1 = _index.get().intValue() ; +for (;(step1 > 0 && _i1 <= limit1) || (step1 < 0 && _i1 >= limit1) ;_i1 = ((int)(0 + _i1 + step1)) ) { +Debug.locals.put("i1", _i1); + BA.debugLineNum = 114;BA.debugLine="For i2 = 0 To SearchFor.Length - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step2 = 1; +final int limit2 = RemoteObject.solve(new RemoteObject[] {_searchfor.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i2 = 0 ; +for (;(step2 > 0 && _i2 <= limit2) || (step2 < 0 && _i2 >= limit2) ;_i2 = ((int)(0 + _i2 + step2)) ) { +Debug.locals.put("i2", _i2); + BA.debugLineNum = 115;BA.debugLine="If SearchFor(i2) <> mBuffer(i1 + i2) Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_searchfor.getArrayElement(true,BA.numberCast(int.class, _i2)),BA.numberCast(double.class, __ref.getField(false,"_mbuffer" /*RemoteObject*/ ).getArrayElement(true,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i1),RemoteObject.createImmutable(_i2)}, "+",1, 1))))) { + BA.debugLineNum = 116;BA.debugLine="Exit"; +Debug.JustUpdateDeviceLine(); +if (true) break; + }; + } +}Debug.locals.put("i2", _i2); +; + BA.debugLineNum = 119;BA.debugLine="If i2 = SearchFor.Length Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(_i2),BA.numberCast(double.class, _searchfor.getField(true,"length")))) { + BA.debugLineNum = 120;BA.debugLine="Return i1"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.numberCast(int.class, _i1); + }; + } +}Debug.locals.put("i1", _i1); +; + BA.debugLineNum = 123;BA.debugLine="Return -1"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.numberCast(int.class, -(double) (0 + 1)); + BA.debugLineNum = 124;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,6); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xbytesbuilder","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 6;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 7;BA.debugLine="Dim mBuffer(100) As Byte"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder._mbuffer = RemoteObject.createNewArray ("byte", new int[] {100}, new Object[]{});__ref.setField("_mbuffer",b4xbytesbuilder._mbuffer); + BA.debugLineNum = 8;BA.debugLine="mLength = 0"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mlength" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 9;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _insert(RemoteObject __ref,RemoteObject _index,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("Insert (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,43); +if (RapidSub.canDelegate("insert")) { return __ref.runUserSub(false, "b4xbytesbuilder","insert", __ref, _index, _data);} +RemoteObject _afterindex = null; +Debug.locals.put("Index", _index); +Debug.locals.put("Data", _data); + BA.debugLineNum = 43;BA.debugLine="Public Sub Insert(Index As Int, Data() As Byte)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 44;BA.debugLine="If Index >= mLength Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",_index,BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { + BA.debugLineNum = 45;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_index,BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { +b4xbytesbuilder.__c.runVoidMethod ("LogImpl","947972354",RemoteObject.createImmutable("Index too large"),0);}; + BA.debugLineNum = 46;BA.debugLine="Append(Data)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(_data)); + }else { + BA.debugLineNum = 48;BA.debugLine="Dim AfterIndex() As Byte = SubArray(Index)"; +Debug.JustUpdateDeviceLine(); +_afterindex = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_subarray" /*RemoteObject*/ ,(Object)(_index));Debug.locals.put("AfterIndex", _afterindex);Debug.locals.put("AfterIndex", _afterindex); + BA.debugLineNum = 49;BA.debugLine="ChangeLength(mLength + Data.Length)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_changelength" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mlength" /*RemoteObject*/ ),_data.getField(true,"length")}, "+",1, 1))); + BA.debugLineNum = 50;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((_data)),(Object)(BA.numberCast(int.class, 0)),(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(_index),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 51;BA.debugLine="Bit.ArrayCopy(AfterIndex, 0, mBuffer, Index + Da"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((_afterindex)),(Object)(BA.numberCast(int.class, 0)),(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(RemoteObject.solve(new RemoteObject[] {_index,_data.getField(true,"length")}, "+",1, 1)),(Object)(_afterindex.getField(true,"length"))); + }; + BA.debugLineNum = 53;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _remove(RemoteObject __ref,RemoteObject _beginindex,RemoteObject _endindex) throws Exception{ +try { + Debug.PushSubsStack("Remove (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,69); +if (RapidSub.canDelegate("remove")) { return __ref.runUserSub(false, "b4xbytesbuilder","remove", __ref, _beginindex, _endindex);} +RemoteObject _res = null; +RemoteObject _afterendindex = null; +Debug.locals.put("BeginIndex", _beginindex); +Debug.locals.put("EndIndex", _endindex); + BA.debugLineNum = 69;BA.debugLine="Public Sub Remove(BeginIndex As Int, EndIndex As I"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 70;BA.debugLine="Dim res() As Byte = SubArray2(BeginIndex, EndInde"; +Debug.JustUpdateDeviceLine(); +_res = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_subarray2" /*RemoteObject*/ ,(Object)(_beginindex),(Object)(_endindex));Debug.locals.put("res", _res);Debug.locals.put("res", _res); + BA.debugLineNum = 71;BA.debugLine="If EndIndex <= mLength Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("k",_endindex,BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { + BA.debugLineNum = 72;BA.debugLine="Dim AfterEndIndex() As Byte = SubArray(EndIndex)"; +Debug.JustUpdateDeviceLine(); +_afterendindex = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_subarray" /*RemoteObject*/ ,(Object)(_endindex));Debug.locals.put("AfterEndIndex", _afterendindex);Debug.locals.put("AfterEndIndex", _afterendindex); + BA.debugLineNum = 73;BA.debugLine="Bit.ArrayCopy(AfterEndIndex, 0, mBuffer, BeginIn"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((_afterendindex)),(Object)(BA.numberCast(int.class, 0)),(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(_beginindex),(Object)(_afterendindex.getField(true,"length"))); + }; + BA.debugLineNum = 75;BA.debugLine="ChangeLength(mLength - (EndIndex - BeginIndex))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_changelength" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mlength" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {_endindex,_beginindex}, "-",1, 1))}, "-",1, 1))); + BA.debugLineNum = 76;BA.debugLine="Return res"; +Debug.JustUpdateDeviceLine(); +if (true) return _res; + BA.debugLineNum = 77;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _set(RemoteObject __ref,RemoteObject _index,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("Set (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,56); +if (RapidSub.canDelegate("set")) { return __ref.runUserSub(false, "b4xbytesbuilder","set", __ref, _index, _data);} +Debug.locals.put("Index", _index); +Debug.locals.put("Data", _data); + BA.debugLineNum = 56;BA.debugLine="Public Sub Set(Index As Int, Data() As Byte)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 57;BA.debugLine="If Index >= mLength Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",_index,BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { + BA.debugLineNum = 58;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_index,BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { +b4xbytesbuilder.__c.runVoidMethod ("LogImpl","948037890",RemoteObject.createImmutable("Index too large"),0);}; + BA.debugLineNum = 59;BA.debugLine="Append(Data)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_append" /*RemoteObject*/ ,(Object)(_data)); + }else { + BA.debugLineNum = 61;BA.debugLine="If Data.Length + Index > mLength Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_data.getField(true,"length"),_index}, "+",1, 1),BA.numberCast(double.class, __ref.getField(true,"_mlength" /*RemoteObject*/ )))) { + BA.debugLineNum = 62;BA.debugLine="ChangeLength(Data.Length + Index)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_changelength" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {_data.getField(true,"length"),_index}, "+",1, 1))); + }; + BA.debugLineNum = 64;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((_data)),(Object)(BA.numberCast(int.class, 0)),(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(_index),(Object)(_data.getField(true,"length"))); + }; + BA.debugLineNum = 66;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _subarray(RemoteObject __ref,RemoteObject _beginindex) throws Exception{ +try { + Debug.PushSubsStack("SubArray (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,80); +if (RapidSub.canDelegate("subarray")) { return __ref.runUserSub(false, "b4xbytesbuilder","subarray", __ref, _beginindex);} +Debug.locals.put("BeginIndex", _beginindex); + BA.debugLineNum = 80;BA.debugLine="Public Sub SubArray(BeginIndex As Int) As Byte()"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 81;BA.debugLine="Return SubArray2(BeginIndex, mLength)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_subarray2" /*RemoteObject*/ ,(Object)(_beginindex),(Object)(__ref.getField(true,"_mlength" /*RemoteObject*/ ))); + BA.debugLineNum = 82;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _subarray2(RemoteObject __ref,RemoteObject _beginindex,RemoteObject _endindex) throws Exception{ +try { + Debug.PushSubsStack("SubArray2 (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,86); +if (RapidSub.canDelegate("subarray2")) { return __ref.runUserSub(false, "b4xbytesbuilder","subarray2", __ref, _beginindex, _endindex);} +RemoteObject _b = null; +Debug.locals.put("BeginIndex", _beginindex); +Debug.locals.put("EndIndex", _endindex); + BA.debugLineNum = 86;BA.debugLine="Public Sub SubArray2(BeginIndex As Int, EndIndex A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 87;BA.debugLine="Dim b(EndIndex - BeginIndex) As Byte"; +Debug.JustUpdateDeviceLine(); +_b = RemoteObject.createNewArray ("byte", new int[] {RemoteObject.solve(new RemoteObject[] {_endindex,_beginindex}, "-",1, 1).get().intValue()}, new Object[]{});Debug.locals.put("b", _b); + BA.debugLineNum = 88;BA.debugLine="Bit.ArrayCopy(mBuffer, BeginIndex, b, 0, b.Length"; +Debug.JustUpdateDeviceLine(); +b4xbytesbuilder.__c.getField(false,"Bit").runVoidMethod ("ArrayCopy",(Object)((__ref.getField(false,"_mbuffer" /*RemoteObject*/ ))),(Object)(_beginindex),(Object)((_b)),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 89;BA.debugLine="Return b"; +Debug.JustUpdateDeviceLine(); +if (true) return _b; + BA.debugLineNum = 90;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _toarray(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ToArray (b4xbytesbuilder) ","b4xbytesbuilder",36,__ref.getField(false, "ba"),__ref,97); +if (RapidSub.canDelegate("toarray")) { return __ref.runUserSub(false, "b4xbytesbuilder","toarray", __ref);} + BA.debugLineNum = 97;BA.debugLine="Public Sub ToArray() As Byte()"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 98;BA.debugLine="Return SubArray(0)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (SHARK2.keymon.com.mx.b4xbytesbuilder.class, "_subarray" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 99;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcache.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcache.java new file mode 100644 index 0000000..3f824be --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcache.java @@ -0,0 +1,36 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xcache { + public static RemoteObject myClass; + public b4xcache() { + } + public static PCBA staticBA = new PCBA(null, b4xcache.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _data = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xorderedmap"); +public static RemoteObject _mmaxsize = RemoteObject.createImmutable(0); +public static RemoteObject _removethreshold = RemoteObject.createImmutable(0f); +public static RemoteObject _eternalcounts = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"Data",_ref.getField(false, "_data"),"DateUtils",_ref.getField(false, "_dateutils"),"EternalCounts",_ref.getField(false, "_eternalcounts"),"mMaxSize",_ref.getField(false, "_mmaxsize"),"RemoveThreshold",_ref.getField(false, "_removethreshold")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcache_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcache_subs_0.java new file mode 100644 index 0000000..ef690da --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcache_subs_0.java @@ -0,0 +1,431 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xcache_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Type B4XCacheItem (Value As Object, LastAccessedT"; +; + //BA.debugLineNum = 3;BA.debugLine="Private Data As B4XOrderedMap"; +b4xcache._data = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xorderedmap");__ref.setField("_data",b4xcache._data); + //BA.debugLineNum = 4;BA.debugLine="Private mMaxSize As Int = 100"; +b4xcache._mmaxsize = BA.numberCast(int.class, 100);__ref.setField("_mmaxsize",b4xcache._mmaxsize); + //BA.debugLineNum = 5;BA.debugLine="Private RemoveThreshold As Float = 0.3"; +b4xcache._removethreshold = BA.numberCast(float.class, 0.3);__ref.setField("_removethreshold",b4xcache._removethreshold); + //BA.debugLineNum = 6;BA.debugLine="Private EternalCounts As Int"; +b4xcache._eternalcounts = RemoteObject.createImmutable(0);__ref.setField("_eternalcounts",b4xcache._eternalcounts); + //BA.debugLineNum = 7;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _containskey(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("ContainsKey (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,66); +if (RapidSub.canDelegate("containskey")) { return __ref.runUserSub(false, "b4xcache","containskey", __ref, _key);} +Debug.locals.put("Key", _key); + BA.debugLineNum = 66;BA.debugLine="Public Sub ContainsKey(Key As String) As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 67;BA.debugLine="Return Data.ContainsKey(Key)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_containskey" /*RemoteObject*/ ,(Object)((_key))); + BA.debugLineNum = 68;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createb4xcacheitem(RemoteObject __ref,RemoteObject _value,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("CreateB4XCacheItem (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,102); +if (RapidSub.canDelegate("createb4xcacheitem")) { return __ref.runUserSub(false, "b4xcache","createb4xcacheitem", __ref, _value, _key);} +RemoteObject _t1 = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xcache._b4xcacheitem"); +Debug.locals.put("Value", _value); +Debug.locals.put("Key", _key); + BA.debugLineNum = 102;BA.debugLine="Private Sub CreateB4XCacheItem (Value As Object, K"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 103;BA.debugLine="Dim t1 As B4XCacheItem"; +Debug.JustUpdateDeviceLine(); +_t1 = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xcache._b4xcacheitem");Debug.locals.put("t1", _t1); + BA.debugLineNum = 104;BA.debugLine="t1.Initialize"; +Debug.JustUpdateDeviceLine(); +_t1.runVoidMethod ("Initialize"); + BA.debugLineNum = 105;BA.debugLine="t1.Value = Value"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("Value" /*RemoteObject*/ ,_value); + BA.debugLineNum = 106;BA.debugLine="t1.LastAccessedTime = DateTime.Now"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("LastAccessedTime" /*RemoteObject*/ ,b4xcache.__c.getField(false,"DateTime").runMethod(true,"getNow")); + BA.debugLineNum = 107;BA.debugLine="t1.Key = Key"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("Key" /*RemoteObject*/ ,_key); + BA.debugLineNum = 108;BA.debugLine="Return t1"; +Debug.JustUpdateDeviceLine(); +if (true) return _t1; + BA.debugLineNum = 109;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _get(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Get (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,24); +if (RapidSub.canDelegate("get")) { return __ref.runUserSub(false, "b4xcache","get", __ref, _key);} +RemoteObject _ci = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xcache._b4xcacheitem"); +Debug.locals.put("Key", _key); + BA.debugLineNum = 24;BA.debugLine="Public Sub Get (Key As String) As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 25;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; +Debug.JustUpdateDeviceLine(); +_ci = (__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)((_key))));Debug.locals.put("ci", _ci);Debug.locals.put("ci", _ci); + BA.debugLineNum = 26;BA.debugLine="If ci <> Null Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_ci)) { + BA.debugLineNum = 27;BA.debugLine="If ci.Eternal = False Then ci.LastAccessedTime ="; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_ci.getField(true,"Eternal" /*RemoteObject*/ ),b4xcache.__c.getField(true,"False"))) { +_ci.setField ("LastAccessedTime" /*RemoteObject*/ ,b4xcache.__c.getField(false,"DateTime").runMethod(true,"getNow"));}; + BA.debugLineNum = 28;BA.debugLine="Return ci.Value"; +Debug.JustUpdateDeviceLine(); +if (true) return _ci.getField(false,"Value" /*RemoteObject*/ ); + }; + BA.debugLineNum = 30;BA.debugLine="Return Null"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xcache.__c.getField(false,"Null"); + BA.debugLineNum = 31;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getmaxsize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getMaxSize (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,19); +if (RapidSub.canDelegate("getmaxsize")) { return __ref.runUserSub(false, "b4xcache","getmaxsize", __ref);} + BA.debugLineNum = 19;BA.debugLine="Public Sub getMaxSize As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 20;BA.debugLine="Return mMaxSize"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mmaxsize" /*RemoteObject*/ ); + BA.debugLineNum = 21;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,9); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xcache","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 9;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 10;BA.debugLine="Data.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 11;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _iseternal(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("IsEternal (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,60); +if (RapidSub.canDelegate("iseternal")) { return __ref.runUserSub(false, "b4xcache","iseternal", __ref, _key);} +RemoteObject _ci = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xcache._b4xcacheitem"); +Debug.locals.put("Key", _key); + BA.debugLineNum = 60;BA.debugLine="Private Sub IsEternal(Key As String) As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 61;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; +Debug.JustUpdateDeviceLine(); +_ci = (__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)((_key))));Debug.locals.put("ci", _ci);Debug.locals.put("ci", _ci); + BA.debugLineNum = 62;BA.debugLine="Return IIf(ci = Null, False, ci.Eternal)"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(((RemoteObject.solveBoolean("n",_ci)) ? ((b4xcache.__c.getField(true,"False"))) : ((_ci.getField(true,"Eternal" /*RemoteObject*/ ))))); + BA.debugLineNum = 63;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _keys(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Keys (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,98); +if (RapidSub.canDelegate("keys")) { return __ref.runUserSub(false, "b4xcache","keys", __ref);} + BA.debugLineNum = 98;BA.debugLine="Public Sub Keys As List"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 99;BA.debugLine="Return Data.Keys"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ); + BA.debugLineNum = 100;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _put(RemoteObject __ref,RemoteObject _key,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("Put (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,35); +if (RapidSub.canDelegate("put")) { return __ref.runUserSub(false, "b4xcache","put", __ref, _key, _value);} +Debug.locals.put("Key", _key); +Debug.locals.put("Value", _value); + BA.debugLineNum = 35;BA.debugLine="Public Sub Put (Key As String, Value As Object) As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 36;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +Debug.JustUpdateDeviceLine(); +if (__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcache.class, "_iseternal" /*RemoteObject*/ ,(Object)(_key)).get().booleanValue()) { +__ref.setField ("_eternalcounts" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_eternalcounts" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1));}; + BA.debugLineNum = 37;BA.debugLine="Data.Put(Key, CreateB4XCacheItem(Value, Key))"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)((_key)),(Object)((__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcache.class, "_createb4xcacheitem" /*RemoteObject*/ ,(Object)(_value),(Object)(_key))))); + BA.debugLineNum = 38;BA.debugLine="TrimIfOversize"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcache.class, "_trimifoversize" /*RemoteObject*/ ); + BA.debugLineNum = 39;BA.debugLine="Return Value"; +Debug.JustUpdateDeviceLine(); +if (true) return _value; + BA.debugLineNum = 40;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _puteternal(RemoteObject __ref,RemoteObject _key,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("PutEternal (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,44); +if (RapidSub.canDelegate("puteternal")) { return __ref.runUserSub(false, "b4xcache","puteternal", __ref, _key, _value);} +RemoteObject _ci = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xcache._b4xcacheitem"); +Debug.locals.put("Key", _key); +Debug.locals.put("Value", _value); + BA.debugLineNum = 44;BA.debugLine="Public Sub PutEternal (Key As String, Value As Obj"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 45;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +Debug.JustUpdateDeviceLine(); +if (__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcache.class, "_iseternal" /*RemoteObject*/ ,(Object)(_key)).get().booleanValue()) { +__ref.setField ("_eternalcounts" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_eternalcounts" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1));}; + BA.debugLineNum = 46;BA.debugLine="Dim ci As B4XCacheItem = CreateB4XCacheItem(Value"; +Debug.JustUpdateDeviceLine(); +_ci = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xcache.class, "_createb4xcacheitem" /*RemoteObject*/ ,(Object)(_value),(Object)(_key));Debug.locals.put("ci", _ci);Debug.locals.put("ci", _ci); + BA.debugLineNum = 47;BA.debugLine="ci.Eternal = True"; +Debug.JustUpdateDeviceLine(); +_ci.setField ("Eternal" /*RemoteObject*/ ,b4xcache.__c.getField(true,"True")); + BA.debugLineNum = 48;BA.debugLine="ci.LastAccessedTime = 9223372036854775807"; +Debug.JustUpdateDeviceLine(); +_ci.setField ("LastAccessedTime" /*RemoteObject*/ ,BA.numberCast(long.class, 9223372036854775807L)); + BA.debugLineNum = 49;BA.debugLine="EternalCounts = EternalCounts + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_eternalcounts" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_eternalcounts" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 50;BA.debugLine="Data.Put(Key, ci)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)((_key)),(Object)((_ci))); + BA.debugLineNum = 51;BA.debugLine="Return Value"; +Debug.JustUpdateDeviceLine(); +if (true) return _value; + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _remove(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Remove (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,55); +if (RapidSub.canDelegate("remove")) { return __ref.runUserSub(false, "b4xcache","remove", __ref, _key);} +Debug.locals.put("Key", _key); + BA.debugLineNum = 55;BA.debugLine="Public Sub Remove (Key As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 56;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +Debug.JustUpdateDeviceLine(); +if (__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcache.class, "_iseternal" /*RemoteObject*/ ,(Object)(_key)).get().booleanValue()) { +__ref.setField ("_eternalcounts" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_eternalcounts" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1));}; + BA.debugLineNum = 57;BA.debugLine="Data.Remove(Key)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_remove" /*RemoteObject*/ ,(Object)((_key))); + BA.debugLineNum = 58;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _removeolditems(RemoteObject __ref,RemoteObject _agems) throws Exception{ +try { + Debug.PushSubsStack("RemoveOldItems (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,82); +if (RapidSub.canDelegate("removeolditems")) { return __ref.runUserSub(false, "b4xcache","removeolditems", __ref, _agems);} +RemoteObject _values = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _level = RemoteObject.createImmutable(0L); +RemoteObject _ci = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xcache._b4xcacheitem"); +Debug.locals.put("AgeMs", _agems); + BA.debugLineNum = 82;BA.debugLine="Public Sub RemoveOldItems (AgeMs As Long)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 83;BA.debugLine="Dim values As List = Data.Values"; +Debug.JustUpdateDeviceLine(); +_values = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_values = __ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_getvalues" /*RemoteObject*/ );Debug.locals.put("values", _values);Debug.locals.put("values", _values); + BA.debugLineNum = 84;BA.debugLine="Dim level As Long = DateTime.Now - AgeMs"; +Debug.JustUpdateDeviceLine(); +_level = RemoteObject.solve(new RemoteObject[] {b4xcache.__c.getField(false,"DateTime").runMethod(true,"getNow"),_agems}, "-",1, 2);Debug.locals.put("level", _level);Debug.locals.put("level", _level); + BA.debugLineNum = 85;BA.debugLine="For Each ci As B4XCacheItem In values"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group3 = _values; +final int groupLen3 = group3.runMethod(true,"getSize").get() +;int index3 = 0; +; +for (; index3 < groupLen3;index3++){ +_ci = (group3.runMethod(false,"Get",index3));Debug.locals.put("ci", _ci); +Debug.locals.put("ci", _ci); + BA.debugLineNum = 86;BA.debugLine="If ci.LastAccessedTime <= level Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("k",_ci.getField(true,"LastAccessedTime" /*RemoteObject*/ ),_level)) { + BA.debugLineNum = 87;BA.debugLine="Data.Remove(ci.Key)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_remove" /*RemoteObject*/ ,(Object)((_ci.getField(true,"Key" /*RemoteObject*/ )))); + }; + } +}Debug.locals.put("ci", _ci); +; + BA.debugLineNum = 90;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setmaxsize(RemoteObject __ref,RemoteObject _s) throws Exception{ +try { + Debug.PushSubsStack("setMaxSize (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,14); +if (RapidSub.canDelegate("setmaxsize")) { return __ref.runUserSub(false, "b4xcache","setmaxsize", __ref, _s);} +Debug.locals.put("s", _s); + BA.debugLineNum = 14;BA.debugLine="Public Sub setMaxSize(s As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 15;BA.debugLine="mMaxSize = s"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mmaxsize" /*RemoteObject*/ ,_s); + BA.debugLineNum = 16;BA.debugLine="TrimIfOversize"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcache.class, "_trimifoversize" /*RemoteObject*/ ); + BA.debugLineNum = 17;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _size(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Size (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,93); +if (RapidSub.canDelegate("size")) { return __ref.runUserSub(false, "b4xcache","size", __ref);} + BA.debugLineNum = 93;BA.debugLine="Public Sub Size As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 94;BA.debugLine="Return Data.Size"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ); + BA.debugLineNum = 95;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _trimifoversize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TrimIfOversize (b4xcache) ","b4xcache",37,__ref.getField(false, "ba"),__ref,70); +if (RapidSub.canDelegate("trimifoversize")) { return __ref.runUserSub(false, "b4xcache","trimifoversize", __ref);} +RemoteObject _values = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _numberofitemstoremove = RemoteObject.createImmutable(0); +int _i = 0; + BA.debugLineNum = 70;BA.debugLine="Private Sub TrimIfOversize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 71;BA.debugLine="If Data.Size - EternalCounts > mMaxSize Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ),__ref.getField(true,"_eternalcounts" /*RemoteObject*/ )}, "-",1, 1),BA.numberCast(double.class, __ref.getField(true,"_mmaxsize" /*RemoteObject*/ )))) { + BA.debugLineNum = 72;BA.debugLine="Dim values As List = Data.Values"; +Debug.JustUpdateDeviceLine(); +_values = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_values = __ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_getvalues" /*RemoteObject*/ );Debug.locals.put("values", _values);Debug.locals.put("values", _values); + BA.debugLineNum = 73;BA.debugLine="values.SortType(\"LastAccessedTime\", True)"; +Debug.JustUpdateDeviceLine(); +_values.runVoidMethod ("SortType",(Object)(BA.ObjectToString("LastAccessedTime")),(Object)(b4xcache.__c.getField(true,"True"))); + BA.debugLineNum = 74;BA.debugLine="Dim NumberOfItemsToRemove As Int = Ceil(mMaxSize"; +Debug.JustUpdateDeviceLine(); +_numberofitemstoremove = BA.numberCast(int.class, b4xcache.__c.runMethod(true,"Ceil",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mmaxsize" /*RemoteObject*/ ),__ref.getField(true,"_removethreshold" /*RemoteObject*/ )}, "*",0, 0))));Debug.locals.put("NumberOfItemsToRemove", _numberofitemstoremove);Debug.locals.put("NumberOfItemsToRemove", _numberofitemstoremove); + BA.debugLineNum = 75;BA.debugLine="For i = 0 To NumberOfItemsToRemove"; +Debug.JustUpdateDeviceLine(); +{ +final int step5 = 1; +final int limit5 = _numberofitemstoremove.get().intValue(); +_i = 0 ; +for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 76;BA.debugLine="Data.Remove(values.Get(i).As(B4XCacheItem).Key)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_data" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_remove" /*RemoteObject*/ ,(Object)((((_values.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))).getField(true,"Key" /*RemoteObject*/ )))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 79;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcollections.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcollections.java new file mode 100644 index 0000000..74ef104 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcollections.java @@ -0,0 +1,65 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class b4xcollections implements IRemote{ + public static b4xcollections mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public b4xcollections() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + private static PCBA pcBA = new PCBA(null, b4xcollections.class); + static { + mostCurrent = new b4xcollections(); + remoteMe = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xcollections"); + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("b4xcollections"), "SHARK2.keymon.com.mx.b4xcollections"); + RDebug.INSTANCE.eventTargets.put(new DeviceClass("SHARK2.keymon.com.mx.b4xcollections"), new java.lang.ref.WeakReference (pcBA)); + } + + public static RemoteObject runMethod(boolean notUsed, String method, Object... args) throws Exception{ + return (RemoteObject) pcBA.raiseEvent(method.substring(1), args); + } + public static void runVoidMethod(String method, Object... args) throws Exception{ + runMethod(false, method, args); + } + public PCBA create(Object[] args) throws ClassNotFoundException{ + throw new RuntimeException("CREATE is not supported."); + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(SHARK2.keymon.com.mx.appupdater.class),"B4XPages",Debug.moduleToString(SHARK2.keymon.com.mx.b4xpages.class),"DateUtils",b4xcollections.mostCurrent._dateutils,"HttpUtils2Service",Debug.moduleToString(SHARK2.keymon.com.mx.httputils2service.class),"Main",Debug.moduleToString(SHARK2.keymon.com.mx.main.class),"MAPA_CLIENTE",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(SHARK2.keymon.com.mx.newinst2.class),"NotificationService",Debug.moduleToString(SHARK2.keymon.com.mx.notificationservice.class),"Pendientes",Debug.moduleToString(SHARK2.keymon.com.mx.pendientes.class),"Starter",Debug.moduleToString(SHARK2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(SHARK2.keymon.com.mx.subs.class),"Tracker",Debug.moduleToString(SHARK2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(SHARK2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcollections_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcollections_subs_0.java new file mode 100644 index 0000000..f597e34 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcollections_subs_0.java @@ -0,0 +1,179 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xcollections_subs_0 { + + +public static RemoteObject _createbitset(RemoteObject _ba,RemoteObject _size) throws Exception{ +try { + Debug.PushSubsStack("CreateBitSet (b4xcollections) ","b4xcollections",38,_ba,b4xcollections.mostCurrent,52); +if (RapidSub.canDelegate("createbitset")) { return SHARK2.keymon.com.mx.b4xcollections.remoteMe.runUserSub(false, "b4xcollections","createbitset", _ba, _size);} +RemoteObject _s = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xbitset"); +; +Debug.locals.put("Size", _size); + BA.debugLineNum = 52;BA.debugLine="Public Sub CreateBitSet (Size As Int) As B4XBitSet"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 53;BA.debugLine="Dim s As B4XBitSet"; +Debug.JustUpdateDeviceLine(); +_s = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xbitset");Debug.locals.put("s", _s); + BA.debugLineNum = 54;BA.debugLine="s.Initialize(Size)"; +Debug.JustUpdateDeviceLine(); +_s.runClassMethod (SHARK2.keymon.com.mx.b4xbitset.class, "_initialize" /*RemoteObject*/ ,BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(_size)); + BA.debugLineNum = 55;BA.debugLine="Return s"; +Debug.JustUpdateDeviceLine(); +if (true) return _s; + BA.debugLineNum = 56;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createorderedmap(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("CreateOrderedMap (b4xcollections) ","b4xcollections",38,_ba,b4xcollections.mostCurrent,30); +if (RapidSub.canDelegate("createorderedmap")) { return SHARK2.keymon.com.mx.b4xcollections.remoteMe.runUserSub(false, "b4xcollections","createorderedmap", _ba);} +; + BA.debugLineNum = 30;BA.debugLine="Public Sub CreateOrderedMap As B4XOrderedMap"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 31;BA.debugLine="Return CreateOrderedMap2(Null, Null)"; +Debug.JustUpdateDeviceLine(); +if (true) return _createorderedmap2(_ba,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), b4xcollections.mostCurrent.__c.getField(false,"Null")),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), b4xcollections.mostCurrent.__c.getField(false,"Null"))); + BA.debugLineNum = 32;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createorderedmap2(RemoteObject _ba,RemoteObject _keys,RemoteObject _values) throws Exception{ +try { + Debug.PushSubsStack("CreateOrderedMap2 (b4xcollections) ","b4xcollections",38,_ba,b4xcollections.mostCurrent,38); +if (RapidSub.canDelegate("createorderedmap2")) { return SHARK2.keymon.com.mx.b4xcollections.remoteMe.runUserSub(false, "b4xcollections","createorderedmap2", _ba, _keys, _values);} +RemoteObject _m = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xorderedmap"); +int _i = 0; +; +Debug.locals.put("Keys", _keys); +Debug.locals.put("Values", _values); + BA.debugLineNum = 38;BA.debugLine="Public Sub CreateOrderedMap2 (Keys As List, Values"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 39;BA.debugLine="Dim m As B4XOrderedMap"; +Debug.JustUpdateDeviceLine(); +_m = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xorderedmap");Debug.locals.put("m", _m); + BA.debugLineNum = 40;BA.debugLine="m.Initialize"; +Debug.JustUpdateDeviceLine(); +_m.runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba)); + BA.debugLineNum = 41;BA.debugLine="If Keys <> Null And Values <> Null And Keys.IsIni"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_keys) && RemoteObject.solveBoolean("N",_values) && RemoteObject.solveBoolean(".",_keys.runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",_values.runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 42;BA.debugLine="For i = 0 To Keys.Size - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_keys.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 43;BA.debugLine="m.Put(Keys.Get(i), Values.Get(i))"; +Debug.JustUpdateDeviceLine(); +_m.runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)(_keys.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i)))),(Object)(_values.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 46;BA.debugLine="Return m"; +Debug.JustUpdateDeviceLine(); +if (true) return _m; + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createset(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("CreateSet (b4xcollections) ","b4xcollections",38,_ba,b4xcollections.mostCurrent,9); +if (RapidSub.canDelegate("createset")) { return SHARK2.keymon.com.mx.b4xcollections.remoteMe.runUserSub(false, "b4xcollections","createset", _ba);} +; + BA.debugLineNum = 9;BA.debugLine="Public Sub CreateSet As B4XSet"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 10;BA.debugLine="Return CreateSet2(Null)"; +Debug.JustUpdateDeviceLine(); +if (true) return _createset2(_ba,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), b4xcollections.mostCurrent.__c.getField(false,"Null"))); + BA.debugLineNum = 11;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createset2(RemoteObject _ba,RemoteObject _values) throws Exception{ +try { + Debug.PushSubsStack("CreateSet2 (b4xcollections) ","b4xcollections",38,_ba,b4xcollections.mostCurrent,16); +if (RapidSub.canDelegate("createset2")) { return SHARK2.keymon.com.mx.b4xcollections.remoteMe.runUserSub(false, "b4xcollections","createset2", _ba, _values);} +RemoteObject _s = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xset"); +RemoteObject _v = RemoteObject.declareNull("Object"); +; +Debug.locals.put("Values", _values); + BA.debugLineNum = 16;BA.debugLine="Public Sub CreateSet2 (Values As List) As B4XSet"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 17;BA.debugLine="Dim s As B4XSet"; +Debug.JustUpdateDeviceLine(); +_s = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xset");Debug.locals.put("s", _s); + BA.debugLineNum = 18;BA.debugLine="s.Initialize"; +Debug.JustUpdateDeviceLine(); +_s.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_initialize" /*RemoteObject*/ ,BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba)); + BA.debugLineNum = 19;BA.debugLine="If Values <> Null And Values.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_values) && RemoteObject.solveBoolean(".",_values.runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 20;BA.debugLine="For Each v As Object In Values"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group4 = _values; +final int groupLen4 = group4.runMethod(true,"getSize").get() +;int index4 = 0; +; +for (; index4 < groupLen4;index4++){ +_v = group4.runMethod(false,"Get",index4);Debug.locals.put("v", _v); +Debug.locals.put("v", _v); + BA.debugLineNum = 21;BA.debugLine="s.Add(v)"; +Debug.JustUpdateDeviceLine(); +_s.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_add" /*RemoteObject*/ ,(Object)(_v)); + } +}Debug.locals.put("v", _v); +; + }; + BA.debugLineNum = 24;BA.debugLine="Return s"; +Debug.JustUpdateDeviceLine(); +if (true) return _s; + BA.debugLineNum = 25;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 4;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcolortemplate.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcolortemplate.java new file mode 100644 index 0000000..75f32dc --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcolortemplate.java @@ -0,0 +1,49 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xcolortemplate { + public static RemoteObject myClass; + public b4xcolortemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xcolortemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _selectedalpha = RemoteObject.createImmutable(0); +public static RemoteObject _bccolors = RemoteObject.declareNull("b4a.example.bitmapcreator"); +public static RemoteObject _selectedh = RemoteObject.createImmutable(0f); +public static RemoteObject _selecteds = RemoteObject.createImmutable(0f); +public static RemoteObject _selectedv = RemoteObject.createImmutable(0f); +public static RemoteObject _devicescale = RemoteObject.createImmutable(0f); +public static RemoteObject _colorscale = RemoteObject.createImmutable(0f); +public static RemoteObject _tempbc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +public static RemoteObject _dont_change = RemoteObject.createImmutable(0); +public static RemoteObject _huebar = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart"); +public static RemoteObject _colorpicker = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart"); +public static RemoteObject _alphabar = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart"); +public static RemoteObject _borderscolor = RemoteObject.createImmutable(0); +public static RemoteObject _xdialog = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xdialog"); +public static RemoteObject _initialcolor = null; +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AlphaBar",_ref.getField(false, "_alphabar"),"bcColors",_ref.getField(false, "_bccolors"),"BordersColor",_ref.getField(false, "_borderscolor"),"ColorPicker",_ref.getField(false, "_colorpicker"),"ColorScale",_ref.getField(false, "_colorscale"),"DateUtils",_ref.getField(false, "_dateutils"),"DeviceScale",_ref.getField(false, "_devicescale"),"DONT_CHANGE",_ref.getField(false, "_dont_change"),"HueBar",_ref.getField(false, "_huebar"),"InitialColor",_ref.getField(false, "_initialcolor"),"mBase",_ref.getField(false, "_mbase"),"SelectedAlpha",_ref.getField(false, "_selectedalpha"),"selectedH",_ref.getField(false, "_selectedh"),"selectedS",_ref.getField(false, "_selecteds"),"selectedV",_ref.getField(false, "_selectedv"),"tempBC",_ref.getField(false, "_tempbc"),"xDialog",_ref.getField(false, "_xdialog"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcolortemplate_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcolortemplate_subs_0.java new file mode 100644 index 0000000..36c753b --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcolortemplate_subs_0.java @@ -0,0 +1,1090 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xcolortemplate_subs_0 { + + +public static RemoteObject _alpha_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("Alpha_Touch (b4xcolortemplate) ","b4xcolortemplate",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_alphabarselectedchange" /*RemoteObject*/ ,(Object)(_x)); + BA.debugLineNum = 266;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _alphabarselectedchange(RemoteObject __ref,RemoteObject _x) throws Exception{ +try { + Debug.PushSubsStack("AlphaBarSelectedChange (b4xcolortemplate) ","b4xcolortemplate",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 156;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xcolortemplate) ","b4xcolortemplate",50,__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("SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart"); +int _i = 0; +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 51;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 53;BA.debugLine="ColorScale = Max(1, Max(Width, Height) / 100 / De"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_colorscale" /*RemoteObject*/ ,BA.numberCast(float.class, b4xcolortemplate.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {b4xcolortemplate.__c.runMethod(true,"Max",(Object)(_width),(Object)(_height)),RemoteObject.createImmutable(100),__ref.getField(true,"_devicescale" /*RemoteObject*/ )}, "//",0, 0))))); + BA.debugLineNum = 54;BA.debugLine="HueBar.pnl.SetLayoutAnimated(0, 1dip, 1dip, 30dip"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 30)))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_height,b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))}, "-",1, 0)))); + BA.debugLineNum = 55;BA.debugLine="Dim r As Int = HueBar.pnl.Width + HueBar.pnl.Left"; +Debug.JustUpdateDeviceLine(); +_r = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getLeft"),b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))}, "++",2, 1);Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 56;BA.debugLine="Dim w As Int = Width - r - 1dip"; +Debug.JustUpdateDeviceLine(); +_w = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_width,_r,b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))}, "--",2, 0));Debug.locals.put("w", _w);Debug.locals.put("w", _w); + BA.debugLineNum = 57;BA.debugLine="If xui.IsB4i Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i").get().booleanValue()) { + BA.debugLineNum = 58;BA.debugLine="r = r - 1"; +Debug.JustUpdateDeviceLine(); +_r = RemoteObject.solve(new RemoteObject[] {_r,RemoteObject.createImmutable(1)}, "-",1, 1);Debug.locals.put("r", _r); + BA.debugLineNum = 59;BA.debugLine="w = w + 1"; +Debug.JustUpdateDeviceLine(); +_w = RemoteObject.solve(new RemoteObject[] {_w,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("w", _w); + }; + BA.debugLineNum = 61;BA.debugLine="AlphaBar.pnl.SetLayoutAnimated(0, r, Height - 31d"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(_r),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_height,b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 31)))}, "-",1, 0))),(Object)(_w),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 30))))); + BA.debugLineNum = 62;BA.debugLine="ColorPicker.pnl.SetLayoutAnimated(0, r, 1dip, w,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(_r),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(_w),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_height,b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3))),__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "--",2, 0)))); + BA.debugLineNum = 63;BA.debugLine="bcColors.Initialize(ColorPicker.pnl.Width / Color"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_bccolors" /*RemoteObject*/ ).runVoidMethod ("_initialize",__ref.getField(false, "ba"),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(true,"_colorscale" /*RemoteObject*/ )}, "/",0, 0))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_colorpicker" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(true,"_colorscale" /*RemoteObject*/ )}, "/",0, 0)))); + BA.debugLineNum = 64;BA.debugLine="For Each cpp As ColorPickerPart In Array(HueBar,"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group12 = RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_huebar" /*RemoteObject*/ )),(__ref.getField(false,"_colorpicker" /*RemoteObject*/ )),(__ref.getField(false,"_alphabar" /*RemoteObject*/ ))}); +final int groupLen12 = group12.getField(true,"length").get() +;int index12 = 0; +; +for (; index12 < groupLen12;index12++){ +_cpp = (group12.getArrayElement(false,RemoteObject.createImmutable(index12)));Debug.locals.put("cpp", _cpp); +Debug.locals.put("cpp", _cpp); + BA.debugLineNum = 65;BA.debugLine="For i = 0 To cpp.pnl.NumberOfViews - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step13 = 1; +final int limit13 = RemoteObject.solve(new RemoteObject[] {_cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getNumberOfViews"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step13 > 0 && _i <= limit13) || (step13 < 0 && _i >= limit13) ;_i = ((int)(0 + _i + step13)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 66;BA.debugLine="cpp.pnl.GetView(i).SetLayoutAnimated(0, 0, 0, c"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, _i))).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(_cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 68;BA.debugLine="cpp.cvs.Resize(cpp.pnl.Width, cpp.pnl.Height)"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"cvs" /*RemoteObject*/ ).runVoidMethod ("Resize",(Object)(BA.numberCast(float.class, _cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(float.class, _cpp.getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 69;BA.debugLine="If cpp.DrawCheckers Then"; +Debug.JustUpdateDeviceLine(); +if (_cpp.getField(true,"DrawCheckers" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 70;BA.debugLine="DrawCheckers(cpp)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_drawcheckers" /*RemoteObject*/ ,(Object)(_cpp)); + }; + } +}Debug.locals.put("cpp", _cpp); +; + BA.debugLineNum = 73;BA.debugLine="DrawHueBar"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_drawhuebar" /*RemoteObject*/ ); + BA.debugLineNum = 74;BA.debugLine="DrawAlphaBar"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_drawalphabar" /*RemoteObject*/ ); + BA.debugLineNum = 75;BA.debugLine="HueBarSelectedChanged (selectedH / 360 * HueBar.p"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_huebarselectedchanged" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedh" /*RemoteObject*/ ),RemoteObject.createImmutable(360),__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "/*",0, 0)))); + BA.debugLineNum = 76;BA.debugLine="AlphaBarSelectedChange (SelectedAlpha / 255 * Alp"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_alphabarselectedchange" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedalpha" /*RemoteObject*/ ),RemoteObject.createImmutable(255),__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "/*",0, 0)))); + BA.debugLineNum = 77;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xcolortemplate._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xcolortemplate._mbase); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +b4xcolortemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xcolortemplate._xui); + //BA.debugLineNum = 4;BA.debugLine="Private SelectedAlpha As Int = 255"; +b4xcolortemplate._selectedalpha = BA.numberCast(int.class, 255);__ref.setField("_selectedalpha",b4xcolortemplate._selectedalpha); + //BA.debugLineNum = 5;BA.debugLine="Private bcColors As BitmapCreator"; +b4xcolortemplate._bccolors = RemoteObject.createNew ("b4a.example.bitmapcreator");__ref.setField("_bccolors",b4xcolortemplate._bccolors); + //BA.debugLineNum = 6;BA.debugLine="Private selectedH = 60, selectedS = 0.5, selected"; +b4xcolortemplate._selectedh = BA.numberCast(float.class, 60);__ref.setField("_selectedh",b4xcolortemplate._selectedh); +b4xcolortemplate._selecteds = BA.numberCast(float.class, 0.5);__ref.setField("_selecteds",b4xcolortemplate._selecteds); +b4xcolortemplate._selectedv = BA.numberCast(float.class, 0.5);__ref.setField("_selectedv",b4xcolortemplate._selectedv); + //BA.debugLineNum = 7;BA.debugLine="Private DeviceScale, ColorScale As Float"; +b4xcolortemplate._devicescale = RemoteObject.createImmutable(0f);__ref.setField("_devicescale",b4xcolortemplate._devicescale); +b4xcolortemplate._colorscale = RemoteObject.createImmutable(0f);__ref.setField("_colorscale",b4xcolortemplate._colorscale); + //BA.debugLineNum = 8;BA.debugLine="Private tempBC As BitmapCreator"; +b4xcolortemplate._tempbc = RemoteObject.createNew ("b4a.example.bitmapcreator");__ref.setField("_tempbc",b4xcolortemplate._tempbc); + //BA.debugLineNum = 9;BA.debugLine="Private const DONT_CHANGE As Int = -999999999"; +b4xcolortemplate._dont_change = BA.numberCast(int.class, -(double) (0 + 999999999));__ref.setField("_dont_change",b4xcolortemplate._dont_change); + //BA.debugLineNum = 10;BA.debugLine="Type ColorPickerPart (cvs As B4XCanvas, pnl As B4"; +; + //BA.debugLineNum = 11;BA.debugLine="Private HueBar, ColorPicker, AlphaBar As ColorPic"; +b4xcolortemplate._huebar = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart");__ref.setField("_huebar",b4xcolortemplate._huebar); +b4xcolortemplate._colorpicker = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart");__ref.setField("_colorpicker",b4xcolortemplate._colorpicker); +b4xcolortemplate._alphabar = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart");__ref.setField("_alphabar",b4xcolortemplate._alphabar); + //BA.debugLineNum = 12;BA.debugLine="Private BordersColor As Int"; +b4xcolortemplate._borderscolor = RemoteObject.createImmutable(0);__ref.setField("_borderscolor",b4xcolortemplate._borderscolor); + //BA.debugLineNum = 13;BA.debugLine="Private xDialog As B4XDialog"; +b4xcolortemplate._xdialog = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xdialog");__ref.setField("_xdialog",b4xcolortemplate._xdialog); + //BA.debugLineNum = 14;BA.debugLine="Private InitialColor() As Object"; +b4xcolortemplate._initialcolor = RemoteObject.createNewArray ("Object", new int[] {0}, new Object[]{});__ref.setField("_initialcolor",b4xcolortemplate._initialcolor); + //BA.debugLineNum = 15;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _colors_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("Colors_Touch (b4xcolortemplate) ","b4xcolortemplate",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_handleselectedcolorchanged" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y))); + BA.debugLineNum = 256;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _colortohsv(RemoteObject __ref,RemoteObject _clr) throws Exception{ +try { + Debug.PushSubsStack("ColorToHSV (b4xcolortemplate) ","b4xcolortemplate",50,__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",50,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("createpanelforbitmapcreator")) { return __ref.runUserSub(false, "b4xcolortemplate","createpanelforbitmapcreator", __ref, _eventname, _withcheckers);} +RemoteObject _cpp = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart"); +RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +RemoteObject _overlay = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("EventName", _eventname); +Debug.locals.put("WithCheckers", _withcheckers); + BA.debugLineNum = 30;BA.debugLine="Private Sub CreatePanelForBitmapCreator (EventName"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 31;BA.debugLine="Dim cpp As ColorPickerPart"; +Debug.JustUpdateDeviceLine(); +_cpp = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart");Debug.locals.put("cpp", _cpp); + BA.debugLineNum = 32;BA.debugLine="cpp.Initialize"; +Debug.JustUpdateDeviceLine(); +_cpp.runVoidMethod ("Initialize"); + BA.debugLineNum = 33;BA.debugLine="cpp.pnl = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +_cpp.setField ("pnl" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")))); + BA.debugLineNum = 34;BA.debugLine="cpp.pnl.SetColorAndBorder(BordersColor, 1dip, Bor"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(true,"_borderscolor" /*RemoteObject*/ )),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(__ref.getField(true,"_borderscolor" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 35;BA.debugLine="cpp.pnl.SetLayoutAnimated(0, 1dip, 1dip, 1dip, 1d"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1))))); + BA.debugLineNum = 36;BA.debugLine="If WithCheckers Then"; +Debug.JustUpdateDeviceLine(); +if (_withcheckers.get().booleanValue()) { + BA.debugLineNum = 37;BA.debugLine="cpp.checkersCanvas.Initialize(cpp.pnl)"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"checkersCanvas" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(_cpp.getField(false,"pnl" /*RemoteObject*/ ))); + BA.debugLineNum = 38;BA.debugLine="cpp.DrawCheckers = True"; +Debug.JustUpdateDeviceLine(); +_cpp.setField ("DrawCheckers" /*RemoteObject*/ ,b4xcolortemplate.__c.getField(true,"True")); + }; + BA.debugLineNum = 40;BA.debugLine="Dim iv As ImageView"; +Debug.JustUpdateDeviceLine(); +_iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");Debug.locals.put("iv", _iv); + BA.debugLineNum = 41;BA.debugLine="iv.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_iv.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 42;BA.debugLine="cpp.iv = iv"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"iv" /*RemoteObject*/ ).setObject (_iv.getObject()); + BA.debugLineNum = 43;BA.debugLine="Dim overlay As B4XView = xui.CreatePanel(EventNam"; +Debug.JustUpdateDeviceLine(); +_overlay = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_overlay = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(_eventname));Debug.locals.put("overlay", _overlay);Debug.locals.put("overlay", _overlay); + BA.debugLineNum = 44;BA.debugLine="cpp.pnl.AddView(iv, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_iv.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 45;BA.debugLine="cpp.pnl.AddView(overlay, 1dip, 1dip, 1dip, 1dip)"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"pnl" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_overlay.getObject())),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(b4xcolortemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1))))); + BA.debugLineNum = 46;BA.debugLine="cpp.cvs.Initialize(overlay)"; +Debug.JustUpdateDeviceLine(); +_cpp.getField(false,"cvs" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(_overlay)); + BA.debugLineNum = 47;BA.debugLine="mBase.AddView(cpp.pnl, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_cpp.getField(false,"pnl" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 48;BA.debugLine="Return cpp"; +Debug.JustUpdateDeviceLine(); +if (true) return _cpp; + BA.debugLineNum = 49;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xcolortemplate) ","b4xcolortemplate",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_setselectedhsvcolor" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_initialcolor" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 245;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _drawalphabar(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("DrawAlphaBar (b4xcolortemplate) ","b4xcolortemplate",50,__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",50,__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",50,__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",50,__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",50,__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",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_getselectedhsvcolor" /*RemoteObject*/ );Debug.locals.put("hsv", _hsv);Debug.locals.put("hsv", _hsv); + BA.debugLineNum = 177;BA.debugLine="tempBC.SetHSV(0, 0, SelectedAlpha, hsv(0), hsv(1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_tempbc" /*RemoteObject*/ ).runVoidMethod ("_sethsv",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(true,"_selectedalpha" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, _hsv.getArrayElement(false,BA.numberCast(int.class, 0)))),(Object)(BA.numberCast(float.class, _hsv.getArrayElement(false,BA.numberCast(int.class, 1)))),(Object)(BA.numberCast(float.class, _hsv.getArrayElement(false,BA.numberCast(int.class, 2))))); + BA.debugLineNum = 178;BA.debugLine="Return tempBC.GetColor(0, 0)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_tempbc" /*RemoteObject*/ ).runMethod(true,"_getcolor",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 179;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getselectedhsvcolor(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSelectedHSVColor (b4xcolortemplate) ","b4xcolortemplate",50,__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",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_updatebarcolor" /*RemoteObject*/ ); + BA.debugLineNum = 173;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _huebar_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("HueBar_Touch (b4xcolortemplate) ","b4xcolortemplate",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_huebarselectedchanged" /*RemoteObject*/ ,(Object)(_y)); + BA.debugLineNum = 261;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _huebarselectedchanged(RemoteObject __ref,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("HueBarSelectedChanged (b4xcolortemplate) ","b4xcolortemplate",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 145;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xcolortemplate) ","b4xcolortemplate",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_createpanelforbitmapcreator" /*RemoteObject*/ ,(Object)(BA.ObjectToString("hueBar")),(Object)(b4xcolortemplate.__c.getField(true,"False")))); + BA.debugLineNum = 25;BA.debugLine="ColorPicker = CreatePanelForBitmapCreator(\"colors"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_colorpicker" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_createpanelforbitmapcreator" /*RemoteObject*/ ,(Object)(BA.ObjectToString("colors")),(Object)(b4xcolortemplate.__c.getField(true,"True")))); + BA.debugLineNum = 26;BA.debugLine="AlphaBar = CreatePanelForBitmapCreator(\"alpha\", T"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_alphabar" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_createpanelforbitmapcreator" /*RemoteObject*/ ,(Object)(BA.ObjectToString("alpha")),(Object)(b4xcolortemplate.__c.getField(true,"True")))); + BA.debugLineNum = 27;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 28;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setselectedcolor(RemoteObject __ref,RemoteObject _i) throws Exception{ +try { + Debug.PushSubsStack("setSelectedColor (b4xcolortemplate) ","b4xcolortemplate",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_setselectedhsvcolor" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_colortohsv" /*RemoteObject*/ ,(Object)(_i)))); + BA.debugLineNum = 183;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setselectedhsvcolor(RemoteObject __ref,RemoteObject _hsv) throws Exception{ +try { + Debug.PushSubsStack("setSelectedHSVColor (b4xcolortemplate) ","b4xcolortemplate",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_huebarselectedchanged" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedh" /*RemoteObject*/ ),RemoteObject.createImmutable(360),__ref.getField(false,"_huebar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "/*",0, 0)))); + BA.debugLineNum = 196;BA.debugLine="AlphaBarSelectedChange(SelectedAlpha / 255 * Alph"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_alphabarselectedchange" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedalpha" /*RemoteObject*/ ),RemoteObject.createImmutable(255),__ref.getField(false,"_alphabar" /*RemoteObject*/ ).getField(false,"pnl" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "/*",0, 0)))); + BA.debugLineNum = 197;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _show(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xcolortemplate) ","b4xcolortemplate",50,__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(SHARK2.keymon.com.mx.b4xcolortemplate parent,RemoteObject __ref,RemoteObject _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xcolortemplate parent; +RemoteObject _dialog; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xcolortemplate) ","b4xcolortemplate",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_getselectedhsvcolor" /*RemoteObject*/ )); + BA.debugLineNum = 236;BA.debugLine="xDialog = Dialog"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_xdialog" /*RemoteObject*/ ,_dialog); + BA.debugLineNum = 237;BA.debugLine="Sleep(0)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xcolortemplate", "show"),BA.numberCast(int.class, 0)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +; + BA.debugLineNum = 238;BA.debugLine="UpdateBarColor"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_updatebarcolor" /*RemoteObject*/ ); + BA.debugLineNum = 239;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _update(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Update (b4xcolortemplate) ","b4xcolortemplate",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_drawcolors" /*RemoteObject*/ ); + BA.debugLineNum = 160;BA.debugLine="HandleSelectedColorChanged(DONT_CHANGE, DONT_CHAN"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_handleselectedcolorchanged" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_dont_change" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_dont_change" /*RemoteObject*/ ))); + BA.debugLineNum = 161;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _updatebarcolor(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("UpdateBarColor (b4xcolortemplate) ","b4xcolortemplate",50,__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 (SHARK2.keymon.com.mx.b4xcolortemplate.class, "_getselectedcolor" /*RemoteObject*/ )); + }; + BA.debugLineNum = 251;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcombobox.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcombobox.java new file mode 100644 index 0000000..3178a57 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcombobox.java @@ -0,0 +1,42 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xcombobox { + public static RemoteObject myClass; + public b4xcombobox() { + } + public static PCBA staticBA = new PCBA(null, b4xcombobox.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _lastselectedindex = RemoteObject.createImmutable(0); +public static RemoteObject _cmbbox = RemoteObject.declareNull("anywheresoftware.b4a.objects.SpinnerWrapper"); +public static RemoteObject _delaybeforechangeevent = RemoteObject.createImmutable(0); +public static RemoteObject _delayindex = RemoteObject.createImmutable(0); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _b4icancelbutton = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"B4iCancelButton",_ref.getField(false, "_b4icancelbutton"),"cmbBox",_ref.getField(false, "_cmbbox"),"DateUtils",_ref.getField(false, "_dateutils"),"DelayBeforeChangeEvent",_ref.getField(false, "_delaybeforechangeevent"),"DelayIndex",_ref.getField(false, "_delayindex"),"LastSelectedIndex",_ref.getField(false, "_lastselectedindex"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"Tag",_ref.getField(false, "_tag"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcombobox_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcombobox_subs_0.java new file mode 100644 index 0000000..a7acd7d --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcombobox_subs_0.java @@ -0,0 +1,465 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xcombobox_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xcombobox) ","b4xcombobox",51,__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",51,__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 (SHARK2.keymon.com.mx.b4xcombobox.class, "_raiseevent" /*void*/ ); + BA.debugLineNum = 159;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xcombobox) ","b4xcombobox",51,__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",51,__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",51,__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",51,__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 (SHARK2.keymon.com.mx.b4xcombobox.class, "_getselectedindex" /*RemoteObject*/ );Debug.locals.put("i", _i);Debug.locals.put("i", _i); + BA.debugLineNum = 123;BA.debugLine="If i = -1 Then Return \"\""; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_i,BA.numberCast(double.class, -(double) (0 + 1)))) { +if (true) return BA.ObjectToString("");}; + BA.debugLineNum = 124;BA.debugLine="Return GetItem(i)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (SHARK2.keymon.com.mx.b4xcombobox.class, "_getitem" /*RemoteObject*/ ,(Object)(_i)); + BA.debugLineNum = 125;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSize (b4xcombobox) ","b4xcombobox",51,__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",51,__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",51,__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",51,__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(SHARK2.keymon.com.mx.b4xcombobox parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xcombobox parent; +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _myindex = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("RaiseEvent (b4xcombobox) ","b4xcombobox",51,__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 (SHARK2.keymon.com.mx.b4xcombobox.class, "_getselectedindex" /*RemoteObject*/ );Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 139;BA.debugLine="If LastSelectedIndex = index Then Return"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 6; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_lastselectedindex" /*RemoteObject*/ ),BA.numberCast(double.class, _index))) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +if (true) return ; +if (true) break; + +case 6: +//C +this.state = 7; +; + BA.debugLineNum = 140;BA.debugLine="If DelayBeforeChangeEvent > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 7: +//if +this.state = 16; +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_delaybeforechangeevent" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 141;BA.debugLine="DelayIndex = DelayIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_delayindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_delayindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 142;BA.debugLine="Dim MyIndex As Int = DelayIndex"; +Debug.JustUpdateDeviceLine(); +_myindex = __ref.getField(true,"_delayindex" /*RemoteObject*/ );Debug.locals.put("MyIndex", _myindex);Debug.locals.put("MyIndex", _myindex); + BA.debugLineNum = 143;BA.debugLine="Sleep(DelayBeforeChangeEvent)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xcombobox", "raiseevent"),__ref.getField(true,"_delaybeforechangeevent" /*RemoteObject*/ )); +this.state = 21; +return; +case 21: +//C +this.state = 10; +; + BA.debugLineNum = 144;BA.debugLine="If MyIndex <> DelayIndex Then Return"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 10: +//if +this.state = 15; +if (RemoteObject.solveBoolean("!",_myindex,BA.numberCast(double.class, __ref.getField(true,"_delayindex" /*RemoteObject*/ )))) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +if (true) return ; +if (true) break; + +case 15: +//C +this.state = 16; +; + if (true) break; + +case 16: +//C +this.state = 17; +; + BA.debugLineNum = 146;BA.debugLine="LastSelectedIndex = index"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lastselectedindex" /*RemoteObject*/ ,_index); + BA.debugLineNum = 147;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Select"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 17: +//if +this.state = 20; +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_SelectedIndexChanged"))),(Object)(BA.numberCast(int.class, 1))).get().booleanValue()) { +this.state = 19; +}if (true) break; + +case 19: +//C +this.state = 20; + BA.debugLineNum = 148;BA.debugLine="CallSub2(mCallBack, mEventName & \"_SelectedIndex"; +Debug.JustUpdateDeviceLine(); +parent.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_SelectedIndexChanged"))),(Object)((_index))); + if (true) break; + +case 20: +//C +this.state = -1; +; + BA.debugLineNum = 150;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _setitems(RemoteObject __ref,RemoteObject _items) throws Exception{ +try { + Debug.PushSubsStack("SetItems (b4xcombobox) ","b4xcombobox",51,__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 (SHARK2.keymon.com.mx.b4xcombobox.class, "_setselectedindex" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0)));}; + BA.debugLineNum = 73;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setselectedindex(RemoteObject __ref,RemoteObject _i) throws Exception{ +try { + Debug.PushSubsStack("setSelectedIndex (b4xcombobox) ","b4xcombobox",51,__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/SHARK2/keymon/com/mx/b4xcomparatorsort.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcomparatorsort.java new file mode 100644 index 0000000..cd20808 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcomparatorsort.java @@ -0,0 +1,32 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xcomparatorsort { + public static RemoteObject myClass; + public b4xcomparatorsort() { + } + public static PCBA staticBA = new PCBA(null, b4xcomparatorsort.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcomparatorsort_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcomparatorsort_subs_0.java new file mode 100644 index 0000000..f53c3fb --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xcomparatorsort_subs_0.java @@ -0,0 +1,181 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xcomparatorsort_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xcomparatorsort) ","b4xcomparatorsort",39,__ref.getField(false, "ba"),__ref,4); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xcomparatorsort","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 4;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 5;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _partition(RemoteObject __ref,RemoteObject _data,RemoteObject _startindex,RemoteObject _length,RemoteObject _pivotindex,RemoteObject _comparator) throws Exception{ +try { + Debug.PushSubsStack("Partition (b4xcomparatorsort) ","b4xcomparatorsort",39,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("partition")) { return __ref.runUserSub(false, "b4xcomparatorsort","partition", __ref, _data, _startindex, _length, _pivotindex, _comparator);} +RemoteObject _pivotvalue = RemoteObject.declareNull("Object"); +RemoteObject _l = RemoteObject.createImmutable(0); +int _i = 0; +Debug.locals.put("Data", _data); +Debug.locals.put("StartIndex", _startindex); +Debug.locals.put("Length", _length); +Debug.locals.put("PivotIndex", _pivotindex); +Debug.locals.put("Comparator", _comparator); + BA.debugLineNum = 30;BA.debugLine="Private Sub Partition(Data As List, StartIndex As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 31;BA.debugLine="Dim PivotValue As Object = Data.Get(StartIndex +"; +Debug.JustUpdateDeviceLine(); +_pivotvalue = _data.runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,_pivotindex}, "+",1, 1)));Debug.locals.put("PivotValue", _pivotvalue);Debug.locals.put("PivotValue", _pivotvalue); + BA.debugLineNum = 32;BA.debugLine="Swap(Data, StartIndex, PivotIndex, Length - 1)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcomparatorsort.class, "_swap" /*RemoteObject*/ ,(Object)(_data),(Object)(_startindex),(Object)(_pivotindex),(Object)(RemoteObject.solve(new RemoteObject[] {_length,RemoteObject.createImmutable(1)}, "-",1, 1))); + BA.debugLineNum = 33;BA.debugLine="Dim L As Int = 0"; +Debug.JustUpdateDeviceLine(); +_l = BA.numberCast(int.class, 0);Debug.locals.put("L", _l);Debug.locals.put("L", _l); + BA.debugLineNum = 34;BA.debugLine="For i = 0 To Length - 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_length,RemoteObject.createImmutable(2)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 35;BA.debugLine="If CallSub3(Comparator, \"Compare\", Data.Get(Star"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",(BA.numberCast(int.class, b4xcomparatorsort.__c.runMethodAndSync(false,"CallSubNew3",__ref.getField(false, "ba"),(Object)(_comparator),(Object)(BA.ObjectToString("Compare")),(Object)(_data.runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,RemoteObject.createImmutable(_i)}, "+",1, 1)))),(Object)(_pivotvalue)))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 36;BA.debugLine="L = L + 1"; +Debug.JustUpdateDeviceLine(); +_l = RemoteObject.solve(new RemoteObject[] {_l,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("L", _l); + BA.debugLineNum = 37;BA.debugLine="Swap(Data, StartIndex, L - 1, i)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcomparatorsort.class, "_swap" /*RemoteObject*/ ,(Object)(_data),(Object)(_startindex),(Object)(RemoteObject.solve(new RemoteObject[] {_l,RemoteObject.createImmutable(1)}, "-",1, 1)),(Object)(BA.numberCast(int.class, _i))); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 40;BA.debugLine="Swap(Data, StartIndex, Length - 1, L)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcomparatorsort.class, "_swap" /*RemoteObject*/ ,(Object)(_data),(Object)(_startindex),(Object)(RemoteObject.solve(new RemoteObject[] {_length,RemoteObject.createImmutable(1)}, "-",1, 1)),(Object)(_l)); + BA.debugLineNum = 41;BA.debugLine="Return L"; +Debug.JustUpdateDeviceLine(); +if (true) return _l; + BA.debugLineNum = 42;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _quicksort(RemoteObject __ref,RemoteObject _data,RemoteObject _startindex,RemoteObject _length,RemoteObject _comparator) throws Exception{ +try { + Debug.PushSubsStack("QuickSort (b4xcomparatorsort) ","b4xcomparatorsort",39,__ref.getField(false, "ba"),__ref,21); +if (RapidSub.canDelegate("quicksort")) { return __ref.runUserSub(false, "b4xcomparatorsort","quicksort", __ref, _data, _startindex, _length, _comparator);} +RemoteObject _pivotindex = RemoteObject.createImmutable(0); +RemoteObject _r = RemoteObject.createImmutable(0); +Debug.locals.put("Data", _data); +Debug.locals.put("StartIndex", _startindex); +Debug.locals.put("Length", _length); +Debug.locals.put("Comparator", _comparator); + BA.debugLineNum = 21;BA.debugLine="Private Sub QuickSort (Data As List, StartIndex As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 22;BA.debugLine="If Length > 1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_length,BA.numberCast(double.class, 1))) { + BA.debugLineNum = 23;BA.debugLine="Dim PivotIndex As Int = Rnd(0, Length)"; +Debug.JustUpdateDeviceLine(); +_pivotindex = b4xcomparatorsort.__c.runMethod(true,"Rnd",(Object)(BA.numberCast(int.class, 0)),(Object)(_length));Debug.locals.put("PivotIndex", _pivotindex);Debug.locals.put("PivotIndex", _pivotindex); + BA.debugLineNum = 24;BA.debugLine="Dim r As Int = Partition(Data, StartIndex, Lengt"; +Debug.JustUpdateDeviceLine(); +_r = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xcomparatorsort.class, "_partition" /*RemoteObject*/ ,(Object)(_data),(Object)(_startindex),(Object)(_length),(Object)(_pivotindex),(Object)(_comparator));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 25;BA.debugLine="QuickSort(Data, StartIndex, r, Comparator)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcomparatorsort.class, "_quicksort" /*RemoteObject*/ ,(Object)(_data),(Object)(_startindex),(Object)(_r),(Object)(_comparator)); + BA.debugLineNum = 26;BA.debugLine="QuickSort(Data, StartIndex + r + 1, Length - r -"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcomparatorsort.class, "_quicksort" /*RemoteObject*/ ,(Object)(_data),(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,_r,RemoteObject.createImmutable(1)}, "++",2, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_length,_r,RemoteObject.createImmutable(1)}, "--",2, 1)),(Object)(_comparator)); + }; + BA.debugLineNum = 28;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sort(RemoteObject __ref,RemoteObject _data,RemoteObject _comparator) throws Exception{ +try { + Debug.PushSubsStack("Sort (b4xcomparatorsort) ","b4xcomparatorsort",39,__ref.getField(false, "ba"),__ref,12); +if (RapidSub.canDelegate("sort")) { return __ref.runUserSub(false, "b4xcomparatorsort","sort", __ref, _data, _comparator);} +Debug.locals.put("Data", _data); +Debug.locals.put("Comparator", _comparator); + BA.debugLineNum = 12;BA.debugLine="Public Sub Sort (Data As List, Comparator As Objec"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 14;BA.debugLine="QuickSort(Data, 0, Data.Size, Comparator)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xcomparatorsort.class, "_quicksort" /*RemoteObject*/ ,(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(_data.runMethod(true,"getSize")),(Object)(_comparator)); + BA.debugLineNum = 18;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _swap(RemoteObject __ref,RemoteObject _data,RemoteObject _startindex,RemoteObject _i1,RemoteObject _i2) throws Exception{ +try { + Debug.PushSubsStack("Swap (b4xcomparatorsort) ","b4xcomparatorsort",39,__ref.getField(false, "ba"),__ref,44); +if (RapidSub.canDelegate("swap")) { return __ref.runUserSub(false, "b4xcomparatorsort","swap", __ref, _data, _startindex, _i1, _i2);} +RemoteObject _o = RemoteObject.declareNull("Object"); +Debug.locals.put("Data", _data); +Debug.locals.put("StartIndex", _startindex); +Debug.locals.put("i1", _i1); +Debug.locals.put("i2", _i2); + BA.debugLineNum = 44;BA.debugLine="Private Sub Swap (Data As List, StartIndex As Int,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 45;BA.debugLine="Dim o As Object = Data.Get(StartIndex + i1)"; +Debug.JustUpdateDeviceLine(); +_o = _data.runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,_i1}, "+",1, 1)));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 46;BA.debugLine="Data.Set(StartIndex + i1, Data.Get(StartIndex + i"; +Debug.JustUpdateDeviceLine(); +_data.runVoidMethod ("Set",(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,_i1}, "+",1, 1)),(Object)(_data.runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,_i2}, "+",1, 1))))); + BA.debugLineNum = 47;BA.debugLine="Data.Set(StartIndex + i2, o)"; +Debug.JustUpdateDeviceLine(); +_data.runVoidMethod ("Set",(Object)(RemoteObject.solve(new RemoteObject[] {_startindex,_i2}, "+",1, 1)),(Object)(_o)); + BA.debugLineNum = 48;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xdatetemplate.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xdatetemplate.java new file mode 100644 index 0000000..d37b1b4 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xdatetemplate.java @@ -0,0 +1,70 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xdatetemplate { + public static RemoteObject myClass; + public b4xdatetemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xdatetemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _month = RemoteObject.createImmutable(0); +public static RemoteObject _year = RemoteObject.createImmutable(0); +public static RemoteObject _boxw = RemoteObject.createImmutable(0f); +public static RemoteObject _boxh = RemoteObject.createImmutable(0f); +public static RemoteObject _vcorrection = RemoteObject.createImmutable(0f); +public static RemoteObject _tempselectedday = RemoteObject.createImmutable(0); +public static RemoteObject _dayofweekoffset = RemoteObject.createImmutable(0); +public static RemoteObject _daysinmonth = RemoteObject.createImmutable(0); +public static RemoteObject _dayspanebg = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _dayspanefg = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _cvsbackground = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _selecteddate = RemoteObject.createImmutable(0L); +public static RemoteObject _previousselecteddate = RemoteObject.createImmutable(0L); +public static RemoteObject _selectedyear = RemoteObject.createImmutable(0); +public static RemoteObject _selectedmonth = RemoteObject.createImmutable(0); +public static RemoteObject _selectedday = RemoteObject.createImmutable(0); +public static RemoteObject _highlightedcolor = RemoteObject.createImmutable(0); +public static RemoteObject _selectedcolor = RemoteObject.createImmutable(0); +public static RemoteObject _daysinmonthcolor = RemoteObject.createImmutable(0); +public static RemoteObject _daysinweekcolor = RemoteObject.createImmutable(0); +public static RemoteObject _cvsdays = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _daystitlespane = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _firstday = RemoteObject.createImmutable(0); +public static RemoteObject _minyear = RemoteObject.createImmutable(0); +public static RemoteObject _maxyear = RemoteObject.createImmutable(0); +public static RemoteObject _btnmonthleft = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _btnmonthright = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _btnyearleft = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _btnyearright = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lblmonth = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lblyear = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _pnldialog = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _months = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _mdialog = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xdialog"); +public static RemoteObject _closeonselection = RemoteObject.createImmutable(false); +public static RemoteObject _daysofweeknames = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"boxH",_ref.getField(false, "_boxh"),"boxW",_ref.getField(false, "_boxw"),"btnMonthLeft",_ref.getField(false, "_btnmonthleft"),"btnMonthRight",_ref.getField(false, "_btnmonthright"),"btnYearLeft",_ref.getField(false, "_btnyearleft"),"btnYearRight",_ref.getField(false, "_btnyearright"),"CloseOnSelection",_ref.getField(false, "_closeonselection"),"cvs",_ref.getField(false, "_cvs"),"cvsBackground",_ref.getField(false, "_cvsbackground"),"cvsDays",_ref.getField(false, "_cvsdays"),"DateUtils",_ref.getField(false, "_dateutils"),"dayOfWeekOffset",_ref.getField(false, "_dayofweekoffset"),"daysInMonth",_ref.getField(false, "_daysinmonth"),"DaysInMonthColor",_ref.getField(false, "_daysinmonthcolor"),"DaysInWeekColor",_ref.getField(false, "_daysinweekcolor"),"DaysOfWeekNames",_ref.getField(false, "_daysofweeknames"),"DaysPaneBg",_ref.getField(false, "_dayspanebg"),"DaysPaneFg",_ref.getField(false, "_dayspanefg"),"DaysTitlesPane",_ref.getField(false, "_daystitlespane"),"FirstDay",_ref.getField(false, "_firstday"),"HighlightedColor",_ref.getField(false, "_highlightedcolor"),"lblMonth",_ref.getField(false, "_lblmonth"),"lblYear",_ref.getField(false, "_lblyear"),"MaxYear",_ref.getField(false, "_maxyear"),"mDialog",_ref.getField(false, "_mdialog"),"MinYear",_ref.getField(false, "_minyear"),"month",_ref.getField(false, "_month"),"months",_ref.getField(false, "_months"),"pnlDialog",_ref.getField(false, "_pnldialog"),"PreviousSelectedDate",_ref.getField(false, "_previousselecteddate"),"SelectedColor",_ref.getField(false, "_selectedcolor"),"selectedDate",_ref.getField(false, "_selecteddate"),"selectedDay",_ref.getField(false, "_selectedday"),"selectedMonth",_ref.getField(false, "_selectedmonth"),"selectedYear",_ref.getField(false, "_selectedyear"),"tempSelectedDay",_ref.getField(false, "_tempselectedday"),"vCorrection",_ref.getField(false, "_vcorrection"),"xui",_ref.getField(false, "_xui"),"year",_ref.getField(false, "_year")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xdatetemplate_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xdatetemplate_subs_0.java new file mode 100644 index 0000000..11acdd8 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xdatetemplate_subs_0.java @@ -0,0 +1,759 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xdatetemplate_subs_0 { + + +public static RemoteObject _btnmonth_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnMonth_Click (b4xdatetemplate) ","b4xdatetemplate",52,__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 (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_drawdays" /*RemoteObject*/ ); + BA.debugLineNum = 165;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btnyear_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnYear_Click (b4xdatetemplate) ","b4xdatetemplate",52,__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 (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_drawdays" /*RemoteObject*/ ); + BA.debugLineNum = 158;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +b4xdatetemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xdatetemplate._xui); + //BA.debugLineNum = 3;BA.debugLine="Private month, year As Int"; +b4xdatetemplate._month = RemoteObject.createImmutable(0);__ref.setField("_month",b4xdatetemplate._month); +b4xdatetemplate._year = RemoteObject.createImmutable(0);__ref.setField("_year",b4xdatetemplate._year); + //BA.debugLineNum = 4;BA.debugLine="Private boxW, boxH As Float"; +b4xdatetemplate._boxw = RemoteObject.createImmutable(0f);__ref.setField("_boxw",b4xdatetemplate._boxw); +b4xdatetemplate._boxh = RemoteObject.createImmutable(0f);__ref.setField("_boxh",b4xdatetemplate._boxh); + //BA.debugLineNum = 5;BA.debugLine="Private vCorrection As Float"; +b4xdatetemplate._vcorrection = RemoteObject.createImmutable(0f);__ref.setField("_vcorrection",b4xdatetemplate._vcorrection); + //BA.debugLineNum = 6;BA.debugLine="Private tempSelectedDay As Int"; +b4xdatetemplate._tempselectedday = RemoteObject.createImmutable(0);__ref.setField("_tempselectedday",b4xdatetemplate._tempselectedday); + //BA.debugLineNum = 7;BA.debugLine="Private dayOfWeekOffset As Int"; +b4xdatetemplate._dayofweekoffset = RemoteObject.createImmutable(0);__ref.setField("_dayofweekoffset",b4xdatetemplate._dayofweekoffset); + //BA.debugLineNum = 8;BA.debugLine="Private daysInMonth As Int"; +b4xdatetemplate._daysinmonth = RemoteObject.createImmutable(0);__ref.setField("_daysinmonth",b4xdatetemplate._daysinmonth); + //BA.debugLineNum = 9;BA.debugLine="Private DaysPaneBg As B4XView"; +b4xdatetemplate._dayspanebg = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_dayspanebg",b4xdatetemplate._dayspanebg); + //BA.debugLineNum = 10;BA.debugLine="Private DaysPaneFg As B4XView"; +b4xdatetemplate._dayspanefg = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_dayspanefg",b4xdatetemplate._dayspanefg); + //BA.debugLineNum = 11;BA.debugLine="Private cvs As B4XCanvas"; +b4xdatetemplate._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",b4xdatetemplate._cvs); + //BA.debugLineNum = 12;BA.debugLine="Private cvsBackground As B4XCanvas"; +b4xdatetemplate._cvsbackground = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvsbackground",b4xdatetemplate._cvsbackground); + //BA.debugLineNum = 13;BA.debugLine="Private selectedDate As Long"; +b4xdatetemplate._selecteddate = RemoteObject.createImmutable(0L);__ref.setField("_selecteddate",b4xdatetemplate._selecteddate); + //BA.debugLineNum = 14;BA.debugLine="Private PreviousSelectedDate As Long"; +b4xdatetemplate._previousselecteddate = RemoteObject.createImmutable(0L);__ref.setField("_previousselecteddate",b4xdatetemplate._previousselecteddate); + //BA.debugLineNum = 15;BA.debugLine="Private selectedYear, selectedMonth, selectedDay"; +b4xdatetemplate._selectedyear = RemoteObject.createImmutable(0);__ref.setField("_selectedyear",b4xdatetemplate._selectedyear); +b4xdatetemplate._selectedmonth = RemoteObject.createImmutable(0);__ref.setField("_selectedmonth",b4xdatetemplate._selectedmonth); +b4xdatetemplate._selectedday = RemoteObject.createImmutable(0);__ref.setField("_selectedday",b4xdatetemplate._selectedday); + //BA.debugLineNum = 16;BA.debugLine="Public HighlightedColor As Int = 0xFF001BBD"; +b4xdatetemplate._highlightedcolor = BA.numberCast(int.class, ((int)0xff001bbd));__ref.setField("_highlightedcolor",b4xdatetemplate._highlightedcolor); + //BA.debugLineNum = 17;BA.debugLine="Public SelectedColor As Int = 0xFF0BA29B"; +b4xdatetemplate._selectedcolor = BA.numberCast(int.class, ((int)0xff0ba29b));__ref.setField("_selectedcolor",b4xdatetemplate._selectedcolor); + //BA.debugLineNum = 18;BA.debugLine="Public DaysInMonthColor As Int = xui.Color_White"; +b4xdatetemplate._daysinmonthcolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White");__ref.setField("_daysinmonthcolor",b4xdatetemplate._daysinmonthcolor); + //BA.debugLineNum = 19;BA.debugLine="Public DaysInWeekColor As Int = xui.Color_Gray"; +b4xdatetemplate._daysinweekcolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Gray");__ref.setField("_daysinweekcolor",b4xdatetemplate._daysinweekcolor); + //BA.debugLineNum = 20;BA.debugLine="Private cvsDays As B4XCanvas"; +b4xdatetemplate._cvsdays = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvsdays",b4xdatetemplate._cvsdays); + //BA.debugLineNum = 21;BA.debugLine="Private DaysTitlesPane As B4XView"; +b4xdatetemplate._daystitlespane = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_daystitlespane",b4xdatetemplate._daystitlespane); + //BA.debugLineNum = 22;BA.debugLine="Public FirstDay As Int = 0"; +b4xdatetemplate._firstday = BA.numberCast(int.class, 0);__ref.setField("_firstday",b4xdatetemplate._firstday); + //BA.debugLineNum = 23;BA.debugLine="Public MinYear = 1970, MaxYear = 2030 As Int"; +b4xdatetemplate._minyear = BA.numberCast(int.class, 1970);__ref.setField("_minyear",b4xdatetemplate._minyear); +b4xdatetemplate._maxyear = BA.numberCast(int.class, 2030);__ref.setField("_maxyear",b4xdatetemplate._maxyear); + //BA.debugLineNum = 24;BA.debugLine="Public btnMonthLeft As B4XView"; +b4xdatetemplate._btnmonthleft = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_btnmonthleft",b4xdatetemplate._btnmonthleft); + //BA.debugLineNum = 25;BA.debugLine="Public btnMonthRight As B4XView"; +b4xdatetemplate._btnmonthright = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_btnmonthright",b4xdatetemplate._btnmonthright); + //BA.debugLineNum = 26;BA.debugLine="Public btnYearLeft As B4XView"; +b4xdatetemplate._btnyearleft = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_btnyearleft",b4xdatetemplate._btnyearleft); + //BA.debugLineNum = 27;BA.debugLine="Public btnYearRight As B4XView"; +b4xdatetemplate._btnyearright = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_btnyearright",b4xdatetemplate._btnyearright); + //BA.debugLineNum = 28;BA.debugLine="Public lblMonth As B4XView"; +b4xdatetemplate._lblmonth = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lblmonth",b4xdatetemplate._lblmonth); + //BA.debugLineNum = 29;BA.debugLine="Public lblYear As B4XView"; +b4xdatetemplate._lblyear = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lblyear",b4xdatetemplate._lblyear); + //BA.debugLineNum = 30;BA.debugLine="Private pnlDialog As B4XView"; +b4xdatetemplate._pnldialog = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnldialog",b4xdatetemplate._pnldialog); + //BA.debugLineNum = 31;BA.debugLine="Private months As List"; +b4xdatetemplate._months = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_months",b4xdatetemplate._months); + //BA.debugLineNum = 32;BA.debugLine="Private mDialog As B4XDialog"; +b4xdatetemplate._mdialog = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xdialog");__ref.setField("_mdialog",b4xdatetemplate._mdialog); + //BA.debugLineNum = 33;BA.debugLine="Public CloseOnSelection As Boolean = True"; +b4xdatetemplate._closeonselection = b4xdatetemplate.__c.getField(true,"True");__ref.setField("_closeonselection",b4xdatetemplate._closeonselection); + //BA.debugLineNum = 34;BA.debugLine="Public DaysOfWeekNames As List"; +b4xdatetemplate._daysofweeknames = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_daysofweeknames",b4xdatetemplate._daysofweeknames); + //BA.debugLineNum = 35;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _dayspanefg_touch(RemoteObject __ref,RemoteObject _action,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("DaysPaneFg_Touch (b4xdatetemplate) ","b4xdatetemplate",52,__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 (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_handlemouse" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, _x)),(Object)(BA.numberCast(double.class, _y)),(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("!",_action,BA.numberCast(double.class, _p.getField(true,"TOUCH_ACTION_UP")))))); + BA.debugLineNum = 170;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xdatetemplate) ","b4xdatetemplate",52,__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 (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_setdate" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_previousselecteddate" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 197;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _drawbox(RemoteObject __ref,RemoteObject _c,RemoteObject _clr,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("DrawBox (b4xdatetemplate) ","b4xdatetemplate",52,__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",52,__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 (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_setyearsbuttonstate" /*RemoteObject*/ ); + BA.debugLineNum = 66;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 67;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 68;BA.debugLine="Dim firstDayOfMonth As Long = DateUtils.setDate(y"; +Debug.JustUpdateDeviceLine(); +_firstdayofmonth = RemoteObject.solve(new RemoteObject[] {b4xdatetemplate._dateutils.runMethod(true,"_setdate",__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_year" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_month" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 1))),RemoteObject.createImmutable(1)}, "-",1, 2);Debug.locals.put("firstDayOfMonth", _firstdayofmonth);Debug.locals.put("firstDayOfMonth", _firstdayofmonth); + BA.debugLineNum = 69;BA.debugLine="dayOfWeekOffset = (7 + DateTime.GetDayOfWeek(firs"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_dayofweekoffset" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(7),b4xdatetemplate.__c.getField(false,"DateTime").runMethod(true,"GetDayOfWeek",(Object)(_firstdayofmonth)),__ref.getField(true,"_firstday" /*RemoteObject*/ )}, "+-",2, 1)),RemoteObject.createImmutable(7)}, "%",0, 1)); + BA.debugLineNum = 70;BA.debugLine="daysInMonth = DateUtils.NumberOfDaysInMonth(month"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_daysinmonth" /*RemoteObject*/ ,b4xdatetemplate._dateutils.runMethod(true,"_numberofdaysinmonth",__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_month" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_year" /*RemoteObject*/ )))); + BA.debugLineNum = 71;BA.debugLine="If year = selectedYear And month = selectedMonth"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_year" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_selectedyear" /*RemoteObject*/ ))) && RemoteObject.solveBoolean("=",__ref.getField(true,"_month" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_selectedmonth" /*RemoteObject*/ )))) { + BA.debugLineNum = 73;BA.debugLine="DrawBox(cvs, SelectedColor, (selectedDay - 1 + d"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_drawbox" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_selectedcolor" /*RemoteObject*/ )),(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedday" /*RemoteObject*/ ),RemoteObject.createImmutable(1),__ref.getField(true,"_dayofweekoffset" /*RemoteObject*/ )}, "-+",2, 1)),RemoteObject.createImmutable(7)}, "%",0, 1)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_selectedday" /*RemoteObject*/ ),RemoteObject.createImmutable(1),__ref.getField(true,"_dayofweekoffset" /*RemoteObject*/ )}, "-+",2, 1)),RemoteObject.createImmutable(7)}, "/",0, 0)))); + }; + BA.debugLineNum = 76;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; +Debug.JustUpdateDeviceLine(); +_daysfont = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreateDefaultBoldFont",(Object)(BA.numberCast(float.class, 14)));Debug.locals.put("daysFont", _daysfont);Debug.locals.put("daysFont", _daysfont); + BA.debugLineNum = 77;BA.debugLine="For day = 1 To daysInMonth"; +Debug.JustUpdateDeviceLine(); +{ +final int step13 = 1; +final int limit13 = __ref.getField(true,"_daysinmonth" /*RemoteObject*/ ).get().intValue(); +_day = 1 ; +for (;(step13 > 0 && _day <= limit13) || (step13 < 0 && _day >= limit13) ;_day = ((int)(0 + _day + step13)) ) { +Debug.locals.put("day", _day); + BA.debugLineNum = 78;BA.debugLine="Dim row As Int = (day - 1 + dayOfWeekOffset) / 7"; +Debug.JustUpdateDeviceLine(); +_row = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_day),RemoteObject.createImmutable(1),__ref.getField(true,"_dayofweekoffset" /*RemoteObject*/ )}, "-+",2, 1)),RemoteObject.createImmutable(7)}, "/",0, 0));Debug.locals.put("row", _row);Debug.locals.put("row", _row); + BA.debugLineNum = 79;BA.debugLine="cvs.DrawText(day, (((dayOfWeekOffset + day - 1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawText",__ref.getField(false, "ba"),(Object)(BA.NumberToString(_day)),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_dayofweekoffset" /*RemoteObject*/ ),RemoteObject.createImmutable(_day),RemoteObject.createImmutable(1)}, "+-",2, 1)),RemoteObject.createImmutable(7)}, "%",0, 1)),RemoteObject.createImmutable(0.5)}, "+",1, 0)),__ref.getField(true,"_boxw" /*RemoteObject*/ )}, "*",0, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_row,RemoteObject.createImmutable(0.5)}, "+",1, 0)),__ref.getField(true,"_boxh" /*RemoteObject*/ ),__ref.getField(true,"_vcorrection" /*RemoteObject*/ )}, "*+",1, 0))),(Object)(_daysfont),(Object)(__ref.getField(true,"_daysinmonthcolor" /*RemoteObject*/ )),(Object)(BA.getEnumFromString(BA.getDeviceClass("android.graphics.Paint.Align"),RemoteObject.createImmutable("CENTER")))); + } +}Debug.locals.put("day", _day); +; + BA.debugLineNum = 82;BA.debugLine="cvsBackground.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 83;BA.debugLine="cvs.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 84;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getdate(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getDate (b4xdatetemplate) ","b4xdatetemplate",52,__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",52,__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",52,__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 (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_drawbox" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cvsbackground" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_highlightedcolor" /*RemoteObject*/ )),(Object)(_boxx),(Object)(_boxy)); + }; + }else { + BA.debugLineNum = 135;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runVoidMethod ("ClearRect",(Object)(__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runMethod(false,"getTargetRect"))); + BA.debugLineNum = 136;BA.debugLine="If validDay Then"; +Debug.JustUpdateDeviceLine(); +if (_validday.get().booleanValue()) { + BA.debugLineNum = 137;BA.debugLine="SelectDay(newSelectedDay)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_selectday" /*RemoteObject*/ ,(Object)(_newselectedday)); + BA.debugLineNum = 138;BA.debugLine="If CloseOnSelection Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_closeonselection" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 139;BA.debugLine="Hide"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_hide" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 141;BA.debugLine="DrawDays"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_drawdays" /*RemoteObject*/ ); + }; + }; + }; + BA.debugLineNum = 146;BA.debugLine="cvsBackground.Invalidate"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 147;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _hide(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Hide (b4xdatetemplate) ","b4xdatetemplate",52,__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 (SHARK2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive"))); + BA.debugLineNum = 151;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xdatetemplate) ","b4xdatetemplate",52,__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 (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_setdate" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_selecteddate" /*RemoteObject*/ ))); + BA.debugLineNum = 47;BA.debugLine="cvs.Initialize(DaysPaneFg)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(false,"_dayspanefg" /*RemoteObject*/ ))); + BA.debugLineNum = 48;BA.debugLine="cvsBackground.Initialize(DaysPaneBg)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsbackground" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(false,"_dayspanebg" /*RemoteObject*/ ))); + BA.debugLineNum = 49;BA.debugLine="boxW = cvs.TargetRect.Width / 7"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_boxw" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getWidth"),RemoteObject.createImmutable(7)}, "/",0, 0))); + BA.debugLineNum = 50;BA.debugLine="boxH = cvs.TargetRect.Height / 6"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_boxh" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getHeight"),RemoteObject.createImmutable(6)}, "/",0, 0))); + BA.debugLineNum = 51;BA.debugLine="vCorrection = 5dip"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_vcorrection" /*RemoteObject*/ ,BA.numberCast(float.class, b4xdatetemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5))))); + BA.debugLineNum = 52;BA.debugLine="cvsDays.Initialize(DaysTitlesPane)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvsdays" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(false,"_daystitlespane" /*RemoteObject*/ ))); + BA.debugLineNum = 58;BA.debugLine="DaysOfWeekNames.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_daysofweeknames" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 59;BA.debugLine="DaysOfWeekNames.AddAll(DateUtils.GetDaysNames)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_daysofweeknames" /*RemoteObject*/ ).runVoidMethod ("AddAll",(Object)(b4xdatetemplate._dateutils.runMethod(false,"_getdaysnames",__ref.getField(false, "ba")))); + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _selectday(RemoteObject __ref,RemoteObject _day) throws Exception{ +try { + Debug.PushSubsStack("SelectDay (b4xdatetemplate) ","b4xdatetemplate",52,__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",52,__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 (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_selectday" /*RemoteObject*/ ,(Object)(b4xdatetemplate.__c.getField(false,"DateTime").runMethod(true,"GetDayOfMonth",(Object)(_date)))); + BA.debugLineNum = 111;BA.debugLine="lblYear.Text = year"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblyear" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_year" /*RemoteObject*/ ))); + BA.debugLineNum = 112;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblmonth" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_months" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_month" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1))))); + BA.debugLineNum = 113;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setyearsbuttonstate(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("SetYearsButtonState (b4xdatetemplate) ","b4xdatetemplate",52,__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",52,__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(SHARK2.keymon.com.mx.b4xdatetemplate parent,RemoteObject __ref,RemoteObject _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xdatetemplate parent; +RemoteObject _dialog; +RemoteObject _days = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _daysfont = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +int _i = 0; +RemoteObject _d = RemoteObject.createImmutable(""); +int step4; +int limit4; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xdatetemplate) ","b4xdatetemplate",52,__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 (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_drawdays" /*RemoteObject*/ ); + BA.debugLineNum = 188;BA.debugLine="PreviousSelectedDate = selectedDate"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_previousselecteddate" /*RemoteObject*/ ,__ref.getField(true,"_selecteddate" /*RemoteObject*/ )); + BA.debugLineNum = 189;BA.debugLine="Sleep(0)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xdatetemplate", "show"),BA.numberCast(int.class, 0)); +this.state = 13; +return; +case 13: +//C +this.state = -1; +; + BA.debugLineNum = 190;BA.debugLine="SetYearsButtonState"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xdatetemplate.class, "_setyearsbuttonstate" /*RemoteObject*/ ); + BA.debugLineNum = 191;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xdialog.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xdialog.java new file mode 100644 index 0000000..c1c38fb --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xdialog.java @@ -0,0 +1,61 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xdialog { + public static RemoteObject myClass; + public b4xdialog() { + } + public static PCBA staticBA = new PCBA(null, b4xdialog.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _buttonsheight = RemoteObject.createImmutable(0); +public static RemoteObject _titlebarheight = RemoteObject.createImmutable(0); +public static RemoteObject _buttonwidth = RemoteObject.createImmutable(0); +public static RemoteObject _base = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _backgroundcolor = RemoteObject.createImmutable(0); +public static RemoteObject _overlaycolor = RemoteObject.createImmutable(0); +public static RemoteObject _bordercolor = RemoteObject.createImmutable(0); +public static RemoteObject _bordercornersradius = RemoteObject.createImmutable(0); +public static RemoteObject _borderwidth = RemoteObject.createImmutable(0); +public static RemoteObject _buttonscolor = RemoteObject.createImmutable(0); +public static RemoteObject _buttonstextcolor = RemoteObject.createImmutable(0); +public static RemoteObject _background = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _blurimageview = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _blurbackground = RemoteObject.createImmutable(false); +public static RemoteObject _blurreducescale = RemoteObject.createImmutable(0); +public static RemoteObject _mparent = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _title = RemoteObject.declareNull("Object"); +public static RemoteObject _titlebarcolor = RemoteObject.createImmutable(0); +public static RemoteObject _titlebartextcolor = RemoteObject.createImmutable(0); +public static RemoteObject _bodytextcolor = RemoteObject.createImmutable(0); +public static RemoteObject _titlebar = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _putattop = RemoteObject.createImmutable(false); +public static RemoteObject _titlebarfont = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +public static RemoteObject _buttonsfont = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +public static RemoteObject _buttonstextcolordisabled = RemoteObject.createImmutable(0); +public static RemoteObject _visibleanimationduration = RemoteObject.createImmutable(0); +public static RemoteObject _buttonsorder = null; +public static RemoteObject _buttonsstate = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"Background",_ref.getField(false, "_background"),"BackgroundColor",_ref.getField(false, "_backgroundcolor"),"Base",_ref.getField(false, "_base"),"BlurBackground",_ref.getField(false, "_blurbackground"),"BlurImageView",_ref.getField(false, "_blurimageview"),"BlurReduceScale",_ref.getField(false, "_blurreducescale"),"BodyTextColor",_ref.getField(false, "_bodytextcolor"),"BorderColor",_ref.getField(false, "_bordercolor"),"BorderCornersRadius",_ref.getField(false, "_bordercornersradius"),"BorderWidth",_ref.getField(false, "_borderwidth"),"ButtonsColor",_ref.getField(false, "_buttonscolor"),"ButtonsFont",_ref.getField(false, "_buttonsfont"),"ButtonsHeight",_ref.getField(false, "_buttonsheight"),"ButtonsOrder",_ref.getField(false, "_buttonsorder"),"ButtonsState",_ref.getField(false, "_buttonsstate"),"ButtonsTextColor",_ref.getField(false, "_buttonstextcolor"),"ButtonsTextColorDisabled",_ref.getField(false, "_buttonstextcolordisabled"),"ButtonWidth",_ref.getField(false, "_buttonwidth"),"DateUtils",_ref.getField(false, "_dateutils"),"mParent",_ref.getField(false, "_mparent"),"OverlayColor",_ref.getField(false, "_overlaycolor"),"PutAtTop",_ref.getField(false, "_putattop"),"Title",_ref.getField(false, "_title"),"TitleBar",_ref.getField(false, "_titlebar"),"TitleBarColor",_ref.getField(false, "_titlebarcolor"),"TitleBarFont",_ref.getField(false, "_titlebarfont"),"TitleBarHeight",_ref.getField(false, "_titlebarheight"),"TitleBarTextColor",_ref.getField(false, "_titlebartextcolor"),"VisibleAnimationDuration",_ref.getField(false, "_visibleanimationduration"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xdialog_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xdialog_subs_0.java new file mode 100644 index 0000000..acc7b6d --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xdialog_subs_0.java @@ -0,0 +1,1620 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xdialog_subs_0 { + + +public static RemoteObject _background_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Background_Click (b4xdialog) ","b4xdialog",53,__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",53,__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",53,__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 (SHARK2.keymon.com.mx.b4xdialog.class, "_setavg" /*RemoteObject*/ ,(Object)(_bc),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, _y)),(Object)(_clrs),(Object)(_temp)); + BA.debugLineNum = 302;BA.debugLine="m = 0"; +Debug.JustUpdateDeviceLine(); +_m = BA.numberCast(int.class, 0);Debug.locals.put("m", _m); + BA.debugLineNum = 303;BA.debugLine="For x = 2 To bc.mWidth - 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step16 = 1; +final int limit16 = RemoteObject.solve(new RemoteObject[] {_bc.getField(true,"_mwidth"),RemoteObject.createImmutable(2)}, "-",1, 1).get().intValue(); +_x = 2 ; +for (;(step16 > 0 && _x <= limit16) || (step16 < 0 && _x >= limit16) ;_x = ((int)(0 + _x + step16)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 304;BA.debugLine="bc.GetARGB(x + 1, y, clrs(m))"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_getargb",(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_x),RemoteObject.createImmutable(1)}, "+",1, 1)),(Object)(BA.numberCast(int.class, _y)),(Object)(_clrs.getArrayElement(false,_m))); + BA.debugLineNum = 305;BA.debugLine="m = (m + 1) Mod 3"; +Debug.JustUpdateDeviceLine(); +_m = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_m,RemoteObject.createImmutable(1)}, "+",1, 1)),RemoteObject.createImmutable(3)}, "%",0, 1);Debug.locals.put("m", _m); + BA.debugLineNum = 306;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xdialog.class, "_setavg" /*RemoteObject*/ ,(Object)(_bc),(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)),(Object)(_clrs),(Object)(_temp)); + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 309;BA.debugLine="For x = 0 To bc.mWidth - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step22 = 1; +final int limit22 = RemoteObject.solve(new RemoteObject[] {_bc.getField(true,"_mwidth"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step22 > 0 && _x <= limit22) || (step22 < 0 && _x >= limit22) ;_x = ((int)(0 + _x + step22)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 310;BA.debugLine="For y = 0 To 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step23 = 1; +final int limit23 = 2; +_y = 0 ; +for (;(step23 > 0 && _y <= limit23) || (step23 < 0 && _y >= limit23) ;_y = ((int)(0 + _y + step23)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 311;BA.debugLine="bc.GetARGB(x, y, clrs(y))"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_getargb",(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)),(Object)(_clrs.getArrayElement(false,BA.numberCast(int.class, _y)))); + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 313;BA.debugLine="SetAvg(bc, x, 1, clrs, temp)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xdialog.class, "_setavg" /*RemoteObject*/ ,(Object)(_bc),(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, 1)),(Object)(_clrs),(Object)(_temp)); + BA.debugLineNum = 314;BA.debugLine="m = 0"; +Debug.JustUpdateDeviceLine(); +_m = BA.numberCast(int.class, 0);Debug.locals.put("m", _m); + BA.debugLineNum = 315;BA.debugLine="For y = 2 To bc.mHeight - 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step28 = 1; +final int limit28 = RemoteObject.solve(new RemoteObject[] {_bc.getField(true,"_mheight"),RemoteObject.createImmutable(2)}, "-",1, 1).get().intValue(); +_y = 2 ; +for (;(step28 > 0 && _y <= limit28) || (step28 < 0 && _y >= limit28) ;_y = ((int)(0 + _y + step28)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 316;BA.debugLine="bc.GetARGB(x, y + 1, clrs(m))"; +Debug.JustUpdateDeviceLine(); +_bc.runVoidMethod ("_getargb",(Object)(BA.numberCast(int.class, _x)),(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),RemoteObject.createImmutable(1)}, "+",1, 1)),(Object)(_clrs.getArrayElement(false,_m))); + BA.debugLineNum = 317;BA.debugLine="m = (m + 1) Mod 3"; +Debug.JustUpdateDeviceLine(); +_m = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_m,RemoteObject.createImmutable(1)}, "+",1, 1)),RemoteObject.createImmutable(3)}, "%",0, 1);Debug.locals.put("m", _m); + BA.debugLineNum = 318;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xdialog.class, "_setavg" /*RemoteObject*/ ,(Object)(_bc),(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)),(Object)(_clrs),(Object)(_temp)); + } +}Debug.locals.put("y", _y); +; + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("steps", _steps); +; + BA.debugLineNum = 322;BA.debugLine="Return bc"; +Debug.JustUpdateDeviceLine(); +if (true) return _bc; + BA.debugLineNum = 323;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _button_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Button_Click (b4xdialog) ","b4xdialog",53,__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 (SHARK2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _b.runMethod(false,"getTag")))); + BA.debugLineNum = 237;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 5;BA.debugLine="Private xui As XUI"; +b4xdialog._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xdialog._xui); + //BA.debugLineNum = 6;BA.debugLine="Public ButtonsHeight As Int = 40dip"; +b4xdialog._buttonsheight = b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 40)));__ref.setField("_buttonsheight",b4xdialog._buttonsheight); + //BA.debugLineNum = 7;BA.debugLine="Public TitleBarHeight As Int = 30dip"; +b4xdialog._titlebarheight = b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 30)));__ref.setField("_titlebarheight",b4xdialog._titlebarheight); + //BA.debugLineNum = 8;BA.debugLine="Private ButtonWidth As Int = 80dip"; +b4xdialog._buttonwidth = b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 80)));__ref.setField("_buttonwidth",b4xdialog._buttonwidth); + //BA.debugLineNum = 9;BA.debugLine="Public Base As B4XView"; +b4xdialog._base = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_base",b4xdialog._base); + //BA.debugLineNum = 10;BA.debugLine="Public BackgroundColor As Int = 0xFF555555 'base"; +b4xdialog._backgroundcolor = BA.numberCast(int.class, ((int)0xff555555));__ref.setField("_backgroundcolor",b4xdialog._backgroundcolor); + //BA.debugLineNum = 11;BA.debugLine="Public OverlayColor As Int = 0xaa000000"; +b4xdialog._overlaycolor = BA.numberCast(int.class, ((int)0xaa000000));__ref.setField("_overlaycolor",b4xdialog._overlaycolor); + //BA.debugLineNum = 12;BA.debugLine="Public BorderColor As Int = 0xff000000"; +b4xdialog._bordercolor = BA.numberCast(int.class, ((int)0xff000000));__ref.setField("_bordercolor",b4xdialog._bordercolor); + //BA.debugLineNum = 13;BA.debugLine="Public BorderCornersRadius As Int = 2dip"; +b4xdialog._bordercornersradius = b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)));__ref.setField("_bordercornersradius",b4xdialog._bordercornersradius); + //BA.debugLineNum = 14;BA.debugLine="Public BorderWidth As Int = 2dip"; +b4xdialog._borderwidth = b4xdialog.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)));__ref.setField("_borderwidth",b4xdialog._borderwidth); + //BA.debugLineNum = 15;BA.debugLine="Public ButtonsColor As Int = 0xFF555555"; +b4xdialog._buttonscolor = BA.numberCast(int.class, ((int)0xff555555));__ref.setField("_buttonscolor",b4xdialog._buttonscolor); + //BA.debugLineNum = 16;BA.debugLine="Public ButtonsTextColor As Int = 0xFF89D5FF"; +b4xdialog._buttonstextcolor = BA.numberCast(int.class, ((int)0xff89d5ff));__ref.setField("_buttonstextcolor",b4xdialog._buttonstextcolor); + //BA.debugLineNum = 17;BA.debugLine="Private Background As B4XView"; +b4xdialog._background = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_background",b4xdialog._background); + //BA.debugLineNum = 18;BA.debugLine="Private BlurImageView As B4XView"; +b4xdialog._blurimageview = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_blurimageview",b4xdialog._blurimageview); + //BA.debugLineNum = 19;BA.debugLine="Public BlurBackground As Boolean"; +b4xdialog._blurbackground = RemoteObject.createImmutable(false);__ref.setField("_blurbackground",b4xdialog._blurbackground); + //BA.debugLineNum = 20;BA.debugLine="Private BlurReduceScale As Int"; +b4xdialog._blurreducescale = RemoteObject.createImmutable(0);__ref.setField("_blurreducescale",b4xdialog._blurreducescale); + //BA.debugLineNum = 21;BA.debugLine="Public mParent As B4XView"; +b4xdialog._mparent = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mparent",b4xdialog._mparent); + //BA.debugLineNum = 22;BA.debugLine="Public Title As Object = \"\""; +b4xdialog._title = RemoteObject.createImmutable((""));__ref.setField("_title",b4xdialog._title); + //BA.debugLineNum = 23;BA.debugLine="Public TitleBarColor As Int = 0xFF0083B8"; +b4xdialog._titlebarcolor = BA.numberCast(int.class, ((int)0xff0083b8));__ref.setField("_titlebarcolor",b4xdialog._titlebarcolor); + //BA.debugLineNum = 24;BA.debugLine="Public TitleBarTextColor As Int"; +b4xdialog._titlebartextcolor = RemoteObject.createImmutable(0);__ref.setField("_titlebartextcolor",b4xdialog._titlebartextcolor); + //BA.debugLineNum = 25;BA.debugLine="Public BodyTextColor As Int = xui.Color_White"; +b4xdialog._bodytextcolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White");__ref.setField("_bodytextcolor",b4xdialog._bodytextcolor); + //BA.debugLineNum = 26;BA.debugLine="Public TitleBar As B4XView"; +b4xdialog._titlebar = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_titlebar",b4xdialog._titlebar); + //BA.debugLineNum = 27;BA.debugLine="Public PutAtTop As Boolean"; +b4xdialog._putattop = RemoteObject.createImmutable(false);__ref.setField("_putattop",b4xdialog._putattop); + //BA.debugLineNum = 28;BA.debugLine="Public TitleBarFont As B4XFont"; +b4xdialog._titlebarfont = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont");__ref.setField("_titlebarfont",b4xdialog._titlebarfont); + //BA.debugLineNum = 29;BA.debugLine="Public ButtonsFont As B4XFont"; +b4xdialog._buttonsfont = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont");__ref.setField("_buttonsfont",b4xdialog._buttonsfont); + //BA.debugLineNum = 30;BA.debugLine="Public ButtonsTextColorDisabled As Int = 0xFF8080"; +b4xdialog._buttonstextcolordisabled = BA.numberCast(int.class, ((int)0xff808080));__ref.setField("_buttonstextcolordisabled",b4xdialog._buttonstextcolordisabled); + //BA.debugLineNum = 31;BA.debugLine="Public VisibleAnimationDuration As Int = 100"; +b4xdialog._visibleanimationduration = BA.numberCast(int.class, 100);__ref.setField("_visibleanimationduration",b4xdialog._visibleanimationduration); + //BA.debugLineNum = 32;BA.debugLine="Public ButtonsOrder() As Int = Array As Int(xui.D"; +b4xdialog._buttonsorder = RemoteObject.createNewArray("int",new int[] {3},new Object[] {__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive"),__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Negative"),__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Cancel")});__ref.setField("_buttonsorder",b4xdialog._buttonsorder); + //BA.debugLineNum = 33;BA.debugLine="Public ButtonsState As Map"; +b4xdialog._buttonsstate = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_buttonsstate",b4xdialog._buttonsstate); + //BA.debugLineNum = 34;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _close(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("Close (b4xdialog) ","b4xdialog",53,__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 (SHARK2.keymon.com.mx.b4xdialog.class, "_getvisible" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 241;BA.debugLine="CallSubDelayed2(Me, \"CloseMessage\", Result)"; +Debug.JustUpdateDeviceLine(); +b4xdialog.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref),(Object)(BA.ObjectToString("CloseMessage")),(Object)((_result))); + BA.debugLineNum = 242;BA.debugLine="Return True"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xdialog.__c.getField(true,"True"); + }; + BA.debugLineNum = 244;BA.debugLine="Return False"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xdialog.__c.getField(true,"False"); + BA.debugLineNum = 245;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createbutton(RemoteObject __ref,RemoteObject _text,RemoteObject _code) throws Exception{ +try { + Debug.PushSubsStack("CreateButton (b4xdialog) ","b4xdialog",53,__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",53,__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",53,__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",53,__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",53,__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",53,__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",53,__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 (SHARK2.keymon.com.mx.b4xdialog.class, "_updateblur" /*RemoteObject*/ ); + }; + BA.debugLineNum = 272;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setavg(RemoteObject __ref,RemoteObject _bc,RemoteObject _x,RemoteObject _y,RemoteObject _clrs,RemoteObject _temp) throws Exception{ +try { + Debug.PushSubsStack("SetAvg (b4xdialog) ","b4xdialog",53,__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",53,__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 (SHARK2.keymon.com.mx.b4xdialog.class, "_getbutton" /*RemoteObject*/ ,(Object)(_resultcode));Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 225;BA.debugLine="If b.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (_b.runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 226;BA.debugLine="b.Enabled = Enabled"; +Debug.JustUpdateDeviceLine(); +_b.runMethod(true,"setEnabled",_enabled); + BA.debugLineNum = 227;BA.debugLine="If Enabled Then b.TextColor = ButtonsTextColor E"; +Debug.JustUpdateDeviceLine(); +if (_enabled.get().booleanValue()) { +_b.runMethod(true,"setTextColor",__ref.getField(true,"_buttonstextcolor" /*RemoteObject*/ ));} +else { +_b.runMethod(true,"setTextColor",__ref.getField(true,"_buttonstextcolordisabled" /*RemoteObject*/ ));}; + BA.debugLineNum = 228;BA.debugLine="ButtonsState.Put(ResultCode, Enabled)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_buttonsstate" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((_resultcode)),(Object)((_enabled))); + }; + BA.debugLineNum = 230;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _show(RemoteObject __ref,RemoteObject _text,RemoteObject _yes,RemoteObject _no,RemoteObject _cancel) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xdialog) ","b4xdialog",53,__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(SHARK2.keymon.com.mx.b4xdialog parent,RemoteObject __ref,RemoteObject _text,RemoteObject _yes,RemoteObject _no,RemoteObject _cancel) { +this.parent = parent; +this.__ref = __ref; +this._text = _text; +this._yes = _yes; +this._no = _no; +this._cancel = _cancel; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xdialog parent; +RemoteObject _text; +RemoteObject _yes; +RemoteObject _no; +RemoteObject _cancel; +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _result = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xdialog) ","b4xdialog",53,__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 (SHARK2.keymon.com.mx.b4xdialog.class, "_showcustom" /*RemoteObject*/ ,(Object)(_p),(Object)(_yes),(Object)(_no),(Object)(_cancel))); +this.state = 1; +return; +case 1: +//C +this.state = -1; +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 94;BA.debugLine="Return Result"; +Debug.JustUpdateDeviceLine(); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(_result));return;}; + BA.debugLineNum = 95;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _complete(RemoteObject __ref,RemoteObject _result) throws Exception{ +} +public static RemoteObject _showcustom(RemoteObject __ref,RemoteObject _content,RemoteObject _yes,RemoteObject _no,RemoteObject _cancel) throws Exception{ +try { + Debug.PushSubsStack("ShowCustom (b4xdialog) ","b4xdialog",53,__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(SHARK2.keymon.com.mx.b4xdialog parent,RemoteObject __ref,RemoteObject _content,RemoteObject _yes,RemoteObject _no,RemoteObject _cancel) { +this.parent = parent; +this.__ref = __ref; +this._content = _content; +this._yes = _yes; +this._no = _no; +this._cancel = _cancel; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xdialog parent; +RemoteObject _content; +RemoteObject _yes; +RemoteObject _no; +RemoteObject _cancel; +RemoteObject _v = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +RemoteObject _includetitle = RemoteObject.createImmutable(false); +RemoteObject _temptitlebarheight = RemoteObject.createImmutable(0); +RemoteObject _height = RemoteObject.createImmutable(0); +RemoteObject _width = RemoteObject.createImmutable(0); +RemoteObject _top = RemoteObject.createImmutable(0); +RemoteObject _removetitle = RemoteObject.createImmutable(false); +int _i = 0; +RemoteObject _btype = RemoteObject.createImmutable(0); +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _result = RemoteObject.createImmutable(0); +RemoteObject group1; +int index1; +int groupLen1; +int step46; +int limit46; +RemoteObject group74; +int index74; +int groupLen74; +RemoteObject group78; +int index78; +int groupLen78; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("ShowCustom (b4xdialog) ","b4xdialog",53,__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 (SHARK2.keymon.com.mx.b4xdialog.class, "_updateblur" /*RemoteObject*/ ); + BA.debugLineNum = 122;BA.debugLine="Base = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_base" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")))); + BA.debugLineNum = 123;BA.debugLine="Base.SetColorAndBorder(BackgroundColor, BorderWid"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(true,"_backgroundcolor" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_borderwidth" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_bordercolor" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_bordercornersradius" /*RemoteObject*/ ))); + BA.debugLineNum = 124;BA.debugLine="Base.RequestFocus"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 125;BA.debugLine="Dim IncludeTitle As Boolean = Title <> \"\""; +Debug.JustUpdateDeviceLine(); +_includetitle = BA.ObjectToBoolean(RemoteObject.solveBoolean("!",__ref.getField(false,"_title" /*RemoteObject*/ ),RemoteObject.createImmutable((""))));Debug.locals.put("IncludeTitle", _includetitle);Debug.locals.put("IncludeTitle", _includetitle); + BA.debugLineNum = 126;BA.debugLine="Dim TempTitleBarHeight As Int = 0"; +Debug.JustUpdateDeviceLine(); +_temptitlebarheight = BA.numberCast(int.class, 0);Debug.locals.put("TempTitleBarHeight", _temptitlebarheight);Debug.locals.put("TempTitleBarHeight", _temptitlebarheight); + BA.debugLineNum = 127;BA.debugLine="If IncludeTitle Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 15: +//if +this.state = 18; +if (_includetitle.get().booleanValue()) { +this.state = 17; +}if (true) break; + +case 17: +//C +this.state = 18; + BA.debugLineNum = 128;BA.debugLine="TempTitleBarHeight = TitleBarHeight"; +Debug.JustUpdateDeviceLine(); +_temptitlebarheight = __ref.getField(true,"_titlebarheight" /*RemoteObject*/ );Debug.locals.put("TempTitleBarHeight", _temptitlebarheight); + if (true) break; + +case 18: +//C +this.state = 19; +; + BA.debugLineNum = 130;BA.debugLine="Dim height As Int = Content.Height + ButtonsHeigh"; +Debug.JustUpdateDeviceLine(); +_height = RemoteObject.solve(new RemoteObject[] {_content.runMethod(true,"getHeight"),__ref.getField(true,"_buttonsheight" /*RemoteObject*/ ),parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3))),parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3))),_temptitlebarheight}, "++++",4, 1);Debug.locals.put("height", _height);Debug.locals.put("height", _height); + BA.debugLineNum = 131;BA.debugLine="Dim width As Int = Content.Width + 4dip"; +Debug.JustUpdateDeviceLine(); +_width = RemoteObject.solve(new RemoteObject[] {_content.runMethod(true,"getWidth"),parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 4)))}, "+",1, 1);Debug.locals.put("width", _width);Debug.locals.put("width", _width); + BA.debugLineNum = 132;BA.debugLine="Dim Top As Int = Round(Background.Height / 2 - he"; +Debug.JustUpdateDeviceLine(); +_top = BA.numberCast(int.class, parent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2),_height,RemoteObject.createImmutable(2)}, "/-/",1, 0))));Debug.locals.put("Top", _top);Debug.locals.put("Top", _top); + BA.debugLineNum = 133;BA.debugLine="Dim RemoveTitle As Boolean"; +Debug.JustUpdateDeviceLine(); +_removetitle = RemoteObject.createImmutable(false);Debug.locals.put("RemoveTitle", _removetitle); + BA.debugLineNum = 134;BA.debugLine="If PutAtTop Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 19: +//if +this.state = 28; +if (__ref.getField(true,"_putattop" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 21; +}if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 135;BA.debugLine="Top = 20dip"; +Debug.JustUpdateDeviceLine(); +_top = parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)));Debug.locals.put("Top", _top); + BA.debugLineNum = 136;BA.debugLine="If Background.Height - Top - height < 200dip The"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 22: +//if +this.state = 27; +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getHeight"),_top,_height}, "--",2, 1),BA.numberCast(double.class, parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 200)))))) { +this.state = 24; +;}if (true) break; + +case 24: +//C +this.state = 27; +_removetitle = parent.__c.getField(true,"True");Debug.locals.put("RemoveTitle", _removetitle); +if (true) break; + +case 27: +//C +this.state = 28; +; + if (true) break; +; + BA.debugLineNum = 138;BA.debugLine="If RemoveTitle Or Background.Height < height Then"; +Debug.JustUpdateDeviceLine(); + +case 28: +//if +this.state = 31; +if (RemoteObject.solveBoolean(".",_removetitle) || RemoteObject.solveBoolean("<",__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getHeight"),BA.numberCast(double.class, _height))) { +this.state = 30; +}if (true) break; + +case 30: +//C +this.state = 31; + BA.debugLineNum = 139;BA.debugLine="Top = 1dip"; +Debug.JustUpdateDeviceLine(); +_top = parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("Top", _top); + BA.debugLineNum = 140;BA.debugLine="IncludeTitle = False"; +Debug.JustUpdateDeviceLine(); +_includetitle = parent.__c.getField(true,"False");Debug.locals.put("IncludeTitle", _includetitle); + BA.debugLineNum = 141;BA.debugLine="height = height - TempTitleBarHeight - 3dip"; +Debug.JustUpdateDeviceLine(); +_height = RemoteObject.solve(new RemoteObject[] {_height,_temptitlebarheight,parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3)))}, "--",2, 1);Debug.locals.put("height", _height); + BA.debugLineNum = 142;BA.debugLine="TempTitleBarHeight = 0"; +Debug.JustUpdateDeviceLine(); +_temptitlebarheight = BA.numberCast(int.class, 0);Debug.locals.put("TempTitleBarHeight", _temptitlebarheight); + if (true) break; + +case 31: +//C +this.state = 32; +; + BA.debugLineNum = 144;BA.debugLine="Background.AddView(Base, Round(Background.Width /"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_background" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_base" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, parent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2),_width,RemoteObject.createImmutable(2)}, "/-/",1, 0))))),(Object)(_top),(Object)(BA.numberCast(int.class, parent.__c.runMethod(true,"Round",(Object)(BA.numberCast(double.class, _width))))),(Object)(BA.numberCast(int.class, parent.__c.runMethod(true,"Round",(Object)(BA.numberCast(double.class, _height)))))); + BA.debugLineNum = 146;BA.debugLine="For i = ButtonsOrder.Length - 1 To 0 Step - 1"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 32: +//for +this.state = 43; +step46 = -1; +limit46 = 0; +_i = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_buttonsorder" /*RemoteObject*/ ).getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue() ; +Debug.locals.put("i", _i); +this.state = 62; +if (true) break; + +case 62: +//C +this.state = 43; +if ((step46 > 0 && _i <= limit46) || (step46 < 0 && _i >= limit46)) this.state = 34; +if (true) break; + +case 63: +//C +this.state = 62; +_i = ((int)(0 + _i + step46)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 34: +//C +this.state = 35; + BA.debugLineNum = 147;BA.debugLine="Dim btype As Int = ButtonsOrder(i)"; +Debug.JustUpdateDeviceLine(); +_btype = __ref.getField(false,"_buttonsorder" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, _i));Debug.locals.put("btype", _btype);Debug.locals.put("btype", _btype); + BA.debugLineNum = 148;BA.debugLine="Select btype"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 35: +//select +this.state = 42; +switch (BA.switchObjectToInt(_btype,__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Cancel"),__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Negative"),__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive"))) { +case 0: { +this.state = 37; +if (true) break; +} +case 1: { +this.state = 39; +if (true) break; +} +case 2: { +this.state = 41; +if (true) break; +} +} +if (true) break; + +case 37: +//C +this.state = 42; + BA.debugLineNum = 150;BA.debugLine="CreateButton(Cancel, btype)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xdialog.class, "_createbutton" /*RemoteObject*/ ,(Object)(_cancel),(Object)(_btype)); + if (true) break; + +case 39: +//C +this.state = 42; + BA.debugLineNum = 152;BA.debugLine="CreateButton(No, btype)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xdialog.class, "_createbutton" /*RemoteObject*/ ,(Object)(_no),(Object)(_btype)); + if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 154;BA.debugLine="CreateButton(Yes, btype)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xdialog.class, "_createbutton" /*RemoteObject*/ ,(Object)(_yes),(Object)(_btype)); + if (true) break; + +case 42: +//C +this.state = 63; +; + if (true) break; +if (true) break; + +case 43: +//C +this.state = 44; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 157;BA.debugLine="Base.Visible = False"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 158;BA.debugLine="If IncludeTitle Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 44: +//if +this.state = 47; +if (_includetitle.get().booleanValue()) { +this.state = 46; +}if (true) break; + +case 46: +//C +this.state = 47; + BA.debugLineNum = 159;BA.debugLine="TitleBar = xui.CreatePanel(\"TitleBar\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_titlebar" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("TitleBar")))); + BA.debugLineNum = 160;BA.debugLine="TitleBar.Color = TitleBarColor"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_titlebar" /*RemoteObject*/ ).runMethod(true,"setColor",__ref.getField(true,"_titlebarcolor" /*RemoteObject*/ )); + BA.debugLineNum = 161;BA.debugLine="Base.AddView(TitleBar, 2dip, 2dip, Content.Width"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_titlebar" /*RemoteObject*/ ).getObject())),(Object)(parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))),(Object)(parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))),(Object)(_content.runMethod(true,"getWidth")),(Object)(_temptitlebarheight)); + BA.debugLineNum = 162;BA.debugLine="Dim lbl As Label"; +Debug.JustUpdateDeviceLine(); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 163;BA.debugLine="lbl.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_lbl.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 164;BA.debugLine="Dim xlbl As B4XView = lbl"; +Debug.JustUpdateDeviceLine(); +_xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_xlbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lbl.getObject());Debug.locals.put("xlbl", _xlbl);Debug.locals.put("xlbl", _xlbl); + BA.debugLineNum = 165;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Ti"; +Debug.JustUpdateDeviceLine(); +parent._xuiviewsutils.runVoidMethod ("_settextorcsbuildertolabel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_xlbl),(Object)(__ref.getField(false,"_title" /*RemoteObject*/ ))); + BA.debugLineNum = 166;BA.debugLine="xlbl.TextColor = TitleBarTextColor"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setTextColor",__ref.getField(true,"_titlebartextcolor" /*RemoteObject*/ )); + BA.debugLineNum = 167;BA.debugLine="xlbl.Font = TitleBarFont"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(false,"setFont",__ref.getField(false,"_titlebarfont" /*RemoteObject*/ )); + BA.debugLineNum = 168;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +_xlbl.runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 169;BA.debugLine="TitleBar.AddView(xlbl, 0, 0, TitleBar.Width, Tit"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_titlebar" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_xlbl.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_titlebar" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_titlebar" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + if (true) break; + +case 47: +//C +this.state = 48; +; + BA.debugLineNum = 171;BA.debugLine="Content.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_content.runVoidMethod ("RemoveViewFromParent"); + BA.debugLineNum = 172;BA.debugLine="Base.AddView(Content, 2dip, 2dip + TempTitleBarHe"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_content.getObject())),(Object)(parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))),(Object)(RemoteObject.solve(new RemoteObject[] {parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))),_temptitlebarheight}, "+",1, 1)),(Object)(_content.runMethod(true,"getWidth")),(Object)(_content.runMethod(true,"getHeight"))); + BA.debugLineNum = 173;BA.debugLine="Base.SetVisibleAnimated(VisibleAnimationDuration,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("SetVisibleAnimated",(Object)(__ref.getField(true,"_visibleanimationduration" /*RemoteObject*/ )),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 174;BA.debugLine="For Each v As B4XView In Background.GetAllViewsRe"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 48: +//for +this.state = 51; +_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +group74 = __ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive"); +index74 = 0; +groupLen74 = group74.runMethod(true,"getSize").get(); +Debug.locals.put("v", _v); +this.state = 64; +if (true) break; + +case 64: +//C +this.state = 51; +if (index74 < groupLen74) { +this.state = 50; +_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), group74.runMethod(false,"Get",index74));Debug.locals.put("v", _v);} +if (true) break; + +case 65: +//C +this.state = 64; +index74++; +Debug.locals.put("v", _v); +if (true) break; + +case 50: +//C +this.state = 65; + BA.debugLineNum = 175;BA.debugLine="v.Enabled = True"; +Debug.JustUpdateDeviceLine(); +_v.runMethod(true,"setEnabled",parent.__c.getField(true,"True")); + if (true) break; +if (true) break; + +case 51: +//C +this.state = 52; +Debug.locals.put("v", _v); +; + BA.debugLineNum = 177;BA.debugLine="Wait For CloseMessage (Result As Int)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","closemessage", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xdialog", "showcustom"), null); +this.state = 66; +return; +case 66: +//C +this.state = 52; +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 178;BA.debugLine="For Each v As B4XView In Background.GetAllViewsRe"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 52: +//for +this.state = 55; +_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +group78 = __ref.getField(false,"_background" /*RemoteObject*/ ).runMethod(false,"GetAllViewsRecursive"); +index78 = 0; +groupLen78 = group78.runMethod(true,"getSize").get(); +Debug.locals.put("v", _v); +this.state = 67; +if (true) break; + +case 67: +//C +this.state = 55; +if (index78 < groupLen78) { +this.state = 54; +_v = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), group78.runMethod(false,"Get",index78));Debug.locals.put("v", _v);} +if (true) break; + +case 68: +//C +this.state = 67; +index78++; +Debug.locals.put("v", _v); +if (true) break; + +case 54: +//C +this.state = 68; + BA.debugLineNum = 179;BA.debugLine="v.Enabled = False"; +Debug.JustUpdateDeviceLine(); +_v.runMethod(true,"setEnabled",parent.__c.getField(true,"False")); + if (true) break; +if (true) break; + +case 55: +//C +this.state = 56; +Debug.locals.put("v", _v); +; + BA.debugLineNum = 181;BA.debugLine="Base.SetVisibleAnimated(VisibleAnimationDuration,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_base" /*RemoteObject*/ ).runVoidMethod ("SetVisibleAnimated",(Object)(__ref.getField(true,"_visibleanimationduration" /*RemoteObject*/ )),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 182;BA.debugLine="If VisibleAnimationDuration > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 56: +//if +this.state = 59; +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_visibleanimationduration" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { +this.state = 58; +}if (true) break; + +case 58: +//C +this.state = 59; + BA.debugLineNum = 183;BA.debugLine="Sleep(VisibleAnimationDuration)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xdialog", "showcustom"),__ref.getField(true,"_visibleanimationduration" /*RemoteObject*/ )); +this.state = 69; +return; +case 69: +//C +this.state = 59; +; + if (true) break; + +case 59: +//C +this.state = -1; +; + BA.debugLineNum = 185;BA.debugLine="Background.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_background" /*RemoteObject*/ ).runVoidMethod ("RemoveViewFromParent"); + BA.debugLineNum = 186;BA.debugLine="Return Result"; +Debug.JustUpdateDeviceLine(); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(_result));return;}; + BA.debugLineNum = 187;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _closemessage(RemoteObject __ref,RemoteObject _result) throws Exception{ +} +public static RemoteObject _showtemplate(RemoteObject __ref,RemoteObject _dialogtemplate,RemoteObject _yes,RemoteObject _no,RemoteObject _cancel) throws Exception{ +try { + Debug.PushSubsStack("ShowTemplate (b4xdialog) ","b4xdialog",53,__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(SHARK2.keymon.com.mx.b4xdialog parent,RemoteObject __ref,RemoteObject _dialogtemplate,RemoteObject _yes,RemoteObject _no,RemoteObject _cancel) { +this.parent = parent; +this.__ref = __ref; +this._dialogtemplate = _dialogtemplate; +this._yes = _yes; +this._no = _no; +this._cancel = _cancel; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xdialog parent; +RemoteObject _dialogtemplate; +RemoteObject _yes; +RemoteObject _no; +RemoteObject _cancel; +RemoteObject _content = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _result = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("ShowTemplate (b4xdialog) ","b4xdialog",53,__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 (SHARK2.keymon.com.mx.b4xdialog.class, "_showcustom" /*RemoteObject*/ ,(Object)(_content),(Object)(_yes),(Object)(_no),(Object)(_cancel))); +this.state = 1; +return; +case 1: +//C +this.state = -1; +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 69;BA.debugLine="CallSub2(DialogTemplate, \"DialogClosed\", Result)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(_dialogtemplate),(Object)(BA.ObjectToString("DialogClosed")),(Object)((_result))); + BA.debugLineNum = 70;BA.debugLine="PutAtTop = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_putattop" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + BA.debugLineNum = 71;BA.debugLine="Return Result"; +Debug.JustUpdateDeviceLine(); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(_result));return;}; + BA.debugLineNum = 72;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _stub_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Stub_Click (b4xdialog) ","b4xdialog",53,__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",53,__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 (SHARK2.keymon.com.mx.b4xdialog.class, "_blur" /*RemoteObject*/ ,(Object)(_source));Debug.locals.put("blurred", _blurred);Debug.locals.put("blurred", _blurred); + BA.debugLineNum = 284;BA.debugLine="blurred.SetBitmapToImageView(blurred.Bitmap, Blur"; +Debug.JustUpdateDeviceLine(); +_blurred.runVoidMethod ("_setbitmaptoimageview",(Object)(_blurred.runMethod(false,"_getbitmap")),(Object)(__ref.getField(false,"_blurimageview" /*RemoteObject*/ ))); + BA.debugLineNum = 285;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xfloattextfield.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xfloattextfield.java new file mode 100644 index 0000000..d7ed9ca --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xfloattextfield.java @@ -0,0 +1,64 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xfloattextfield { + public static RemoteObject myClass; + public b4xfloattextfield() { + } + public static PCBA staticBA = new PCBA(null, b4xfloattextfield.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mtextfield = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _animationduration = RemoteObject.createImmutable(0); +public static RemoteObject _largelabeltextsize = RemoteObject.createImmutable(0f); +public static RemoteObject _smalllabeltextsize = RemoteObject.createImmutable(0f); +public static RemoteObject _largelabel = RemoteObject.createImmutable(false); +public static RemoteObject _measuringcanvas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _hintcolor = RemoteObject.createImmutable(0); +public static RemoteObject _nonfocusedhintcolor = RemoteObject.createImmutable(0); +public static RemoteObject _hintimageview = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _hinttext = RemoteObject.createImmutable(""); +public static RemoteObject _hintfont = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +public static RemoteObject _largefocused = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _largenotfocused = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _smallfocused = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _smallnotfocused = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _focused = RemoteObject.createImmutable(false); +public static RemoteObject _lblclear = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lblv = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _mprops = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _keyboardtype = RemoteObject.createImmutable(""); +public static RemoteObject _multiline = RemoteObject.createImmutable(false); +public static RemoteObject _mnexttextfield = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xfloattextfield"); +public static RemoteObject _ime = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +public static RemoteObject _hintlabellargeoffsetx = RemoteObject.createImmutable(0); +public static RemoteObject _hintlabelsmalloffsety = RemoteObject.createImmutable(0); +public static RemoteObject _hintlabelsmalloffsetx = RemoteObject.createImmutable(0); +public static RemoteObject _lastswitchtextfieldtime = RemoteObject.createImmutable(0L); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AnimationDuration",_ref.getField(false, "_animationduration"),"DateUtils",_ref.getField(false, "_dateutils"),"Focused",_ref.getField(false, "_focused"),"HintColor",_ref.getField(false, "_hintcolor"),"HintFont",_ref.getField(false, "_hintfont"),"HintImageView",_ref.getField(false, "_hintimageview"),"HintLabelLargeOffsetX",_ref.getField(false, "_hintlabellargeoffsetx"),"HintLabelSmallOffsetX",_ref.getField(false, "_hintlabelsmalloffsetx"),"HintLabelSmallOffsetY",_ref.getField(false, "_hintlabelsmalloffsety"),"HintText",_ref.getField(false, "_hinttext"),"IME",_ref.getField(false, "_ime"),"KeyboardType",_ref.getField(false, "_keyboardtype"),"LargeFocused",_ref.getField(false, "_largefocused"),"LargeLabel",_ref.getField(false, "_largelabel"),"LargeLabelTextSize",_ref.getField(false, "_largelabeltextsize"),"LargeNotFocused",_ref.getField(false, "_largenotfocused"),"LastSwitchTextFieldTime",_ref.getField(false, "_lastswitchtextfieldtime"),"lblClear",_ref.getField(false, "_lblclear"),"lblV",_ref.getField(false, "_lblv"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"MeasuringCanvas",_ref.getField(false, "_measuringcanvas"),"mEventName",_ref.getField(false, "_meventname"),"mNextTextField",_ref.getField(false, "_mnexttextfield"),"mProps",_ref.getField(false, "_mprops"),"mTextField",_ref.getField(false, "_mtextfield"),"Multiline",_ref.getField(false, "_multiline"),"NonFocusedHintColor",_ref.getField(false, "_nonfocusedhintcolor"),"SmallFocused",_ref.getField(false, "_smallfocused"),"SmallLabelTextSize",_ref.getField(false, "_smalllabeltextsize"),"SmallNotFocused",_ref.getField(false, "_smallnotfocused"),"Tag",_ref.getField(false, "_tag"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xfloattextfield_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xfloattextfield_subs_0.java new file mode 100644 index 0000000..a0a5109 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xfloattextfield_subs_0.java @@ -0,0 +1,1310 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xfloattextfield_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xfloattextfield) ","b4xfloattextfield",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_updatelabel" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(b4xfloattextfield.__c.getField(true,"True"))); + BA.debugLineNum = 208;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 16;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 17;BA.debugLine="Private mEventName As String 'ignore"; +b4xfloattextfield._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4xfloattextfield._meventname); + //BA.debugLineNum = 18;BA.debugLine="Private mCallBack As Object 'ignore"; +b4xfloattextfield._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4xfloattextfield._mcallback); + //BA.debugLineNum = 19;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xfloattextfield._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xfloattextfield._mbase); + //BA.debugLineNum = 20;BA.debugLine="Private xui As XUI 'ignore"; +b4xfloattextfield._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xfloattextfield._xui); + //BA.debugLineNum = 21;BA.debugLine="Private mTextField As B4XView"; +b4xfloattextfield._mtextfield = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mtextfield",b4xfloattextfield._mtextfield); + //BA.debugLineNum = 22;BA.debugLine="Public AnimationDuration As Int = 200"; +b4xfloattextfield._animationduration = BA.numberCast(int.class, 200);__ref.setField("_animationduration",b4xfloattextfield._animationduration); + //BA.debugLineNum = 23;BA.debugLine="Public LargeLabelTextSize = 18, SmallLabelTextSiz"; +b4xfloattextfield._largelabeltextsize = BA.numberCast(float.class, 18);__ref.setField("_largelabeltextsize",b4xfloattextfield._largelabeltextsize); +b4xfloattextfield._smalllabeltextsize = BA.numberCast(float.class, 14);__ref.setField("_smalllabeltextsize",b4xfloattextfield._smalllabeltextsize); + //BA.debugLineNum = 24;BA.debugLine="Private LargeLabel As Boolean"; +b4xfloattextfield._largelabel = RemoteObject.createImmutable(false);__ref.setField("_largelabel",b4xfloattextfield._largelabel); + //BA.debugLineNum = 25;BA.debugLine="Private MeasuringCanvas As B4XCanvas"; +b4xfloattextfield._measuringcanvas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_measuringcanvas",b4xfloattextfield._measuringcanvas); + //BA.debugLineNum = 26;BA.debugLine="Public HintColor As Int"; +b4xfloattextfield._hintcolor = RemoteObject.createImmutable(0);__ref.setField("_hintcolor",b4xfloattextfield._hintcolor); + //BA.debugLineNum = 27;BA.debugLine="Public NonFocusedHintColor As Int"; +b4xfloattextfield._nonfocusedhintcolor = RemoteObject.createImmutable(0);__ref.setField("_nonfocusedhintcolor",b4xfloattextfield._nonfocusedhintcolor); + //BA.debugLineNum = 28;BA.debugLine="Private HintImageView As B4XView"; +b4xfloattextfield._hintimageview = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_hintimageview",b4xfloattextfield._hintimageview); + //BA.debugLineNum = 29;BA.debugLine="Public HintText As String"; +b4xfloattextfield._hinttext = RemoteObject.createImmutable("");__ref.setField("_hinttext",b4xfloattextfield._hinttext); + //BA.debugLineNum = 30;BA.debugLine="Public HintFont As B4XFont"; +b4xfloattextfield._hintfont = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont");__ref.setField("_hintfont",b4xfloattextfield._hintfont); + //BA.debugLineNum = 31;BA.debugLine="Private LargeFocused, LargeNotFocused, SmallFocus"; +b4xfloattextfield._largefocused = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_largefocused",b4xfloattextfield._largefocused); +b4xfloattextfield._largenotfocused = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_largenotfocused",b4xfloattextfield._largenotfocused); +b4xfloattextfield._smallfocused = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_smallfocused",b4xfloattextfield._smallfocused); +b4xfloattextfield._smallnotfocused = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_smallnotfocused",b4xfloattextfield._smallnotfocused); + //BA.debugLineNum = 32;BA.debugLine="Public Focused As Boolean"; +b4xfloattextfield._focused = RemoteObject.createImmutable(false);__ref.setField("_focused",b4xfloattextfield._focused); + //BA.debugLineNum = 33;BA.debugLine="Public lblClear As B4XView"; +b4xfloattextfield._lblclear = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lblclear",b4xfloattextfield._lblclear); + //BA.debugLineNum = 34;BA.debugLine="Public lblV As B4XView"; +b4xfloattextfield._lblv = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lblv",b4xfloattextfield._lblv); + //BA.debugLineNum = 35;BA.debugLine="Private mProps As Map"; +b4xfloattextfield._mprops = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_mprops",b4xfloattextfield._mprops); + //BA.debugLineNum = 36;BA.debugLine="Public Tag As Object"; +b4xfloattextfield._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4xfloattextfield._tag); + //BA.debugLineNum = 37;BA.debugLine="Private KeyboardType As String 'ignore"; +b4xfloattextfield._keyboardtype = RemoteObject.createImmutable("");__ref.setField("_keyboardtype",b4xfloattextfield._keyboardtype); + //BA.debugLineNum = 38;BA.debugLine="Private Multiline As Boolean"; +b4xfloattextfield._multiline = RemoteObject.createImmutable(false);__ref.setField("_multiline",b4xfloattextfield._multiline); + //BA.debugLineNum = 39;BA.debugLine="Private mNextTextField As B4XFloatTextField"; +b4xfloattextfield._mnexttextfield = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xfloattextfield");__ref.setField("_mnexttextfield",b4xfloattextfield._mnexttextfield); + //BA.debugLineNum = 41;BA.debugLine="Private IME As IME"; +b4xfloattextfield._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",b4xfloattextfield._ime); + //BA.debugLineNum = 46;BA.debugLine="Public HintLabelLargeOffsetX, HintLabelSmallOffse"; +b4xfloattextfield._hintlabellargeoffsetx = RemoteObject.createImmutable(0);__ref.setField("_hintlabellargeoffsetx",b4xfloattextfield._hintlabellargeoffsetx); +b4xfloattextfield._hintlabelsmalloffsety = b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)));__ref.setField("_hintlabelsmalloffsety",b4xfloattextfield._hintlabelsmalloffsety); +b4xfloattextfield._hintlabelsmalloffsetx = b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)));__ref.setField("_hintlabelsmalloffsetx",b4xfloattextfield._hintlabelsmalloffsetx); + //BA.debugLineNum = 47;BA.debugLine="Private LastSwitchTextFieldTime As Long"; +b4xfloattextfield._lastswitchtextfieldtime = RemoteObject.createImmutable(0L);__ref.setField("_lastswitchtextfieldtime",b4xfloattextfield._lastswitchtextfieldtime); + //BA.debugLineNum = 48;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createacceptbutton(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CreateAcceptButton (b4xfloattextfield) ","b4xfloattextfield",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_createbutton" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xfloattextfield.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe5ca)))))))); + BA.debugLineNum = 128;BA.debugLine="lblV.Tag = \"v\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblv" /*RemoteObject*/ ).runMethod(false,"setTag",RemoteObject.createImmutable(("v"))); + BA.debugLineNum = 129;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createbitmap(RemoteObject __ref,RemoteObject _r,RemoteObject _color,RemoteObject _fnt) throws Exception{ +try { + Debug.PushSubsStack("CreateBitmap (b4xfloattextfield) ","b4xfloattextfield",54,__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",54,__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",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_createbutton" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xfloattextfield.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe14c)))))))); + BA.debugLineNum = 121;BA.debugLine="lblClear.Tag = \"clear\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(false,"setTag",RemoteObject.createImmutable(("clear"))); + BA.debugLineNum = 123;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createrevealbutton(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CreateRevealButton (b4xfloattextfield) ","b4xfloattextfield",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_createbutton" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xfloattextfield.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe8f4)))))))); + BA.debugLineNum = 134;BA.debugLine="lblClear.Tag = \"reveal\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(false,"setTag",RemoteObject.createImmutable(("reveal"))); + BA.debugLineNum = 135;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createtextfield(RemoteObject __ref,RemoteObject _password) throws Exception{ +try { + Debug.PushSubsStack("CreateTextField (b4xfloattextfield) ","b4xfloattextfield",54,__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",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_createtextfield" /*RemoteObject*/ ,(Object)(_passwordmode))); + BA.debugLineNum = 111;BA.debugLine="mTextField.Font = Font1"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(false,"setFont",_font1); + BA.debugLineNum = 112;BA.debugLine="mTextField.TextColor = TextColor"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"setTextColor",_textcolor); + BA.debugLineNum = 113;BA.debugLine="setNextField(mNextTextField)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_setnextfield" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mnexttextfield" /*RemoteObject*/ ))); + BA.debugLineNum = 114;BA.debugLine="mBase.AddView(mTextField, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 115;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xfloattextfield) ","b4xfloattextfield",54,__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","964552984",RemoteObject.createImmutable("Multiline not supported with password mode."),0); + }; + BA.debugLineNum = 93;BA.debugLine="CreateTextFieldAll(PasswordMode, PassedLabel.Font"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_createtextfieldall" /*RemoteObject*/ ,(Object)(_passwordmode),(Object)(_passedlabel.runMethod(false,"getFont")),(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"PaintOrColorToColor",(Object)((_lbl.runMethod(true,"getTextColor")))))); + BA.debugLineNum = 95;BA.debugLine="mBase.AddView(HintImageView, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_hintimageview" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 96;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 97;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 2dip, 2dip)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))),(Object)(b4xfloattextfield.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 98;BA.debugLine="MeasuringCanvas.Initialize(p)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_measuringcanvas" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(_p)); + BA.debugLineNum = 99;BA.debugLine="Update"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 100;BA.debugLine="If PasswordMode And Props.GetDefault(\"ShowRevealB"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",_passwordmode) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean(_props.runMethod(false,"GetDefault",(Object)(RemoteObject.createImmutable(("ShowRevealButton"))),(Object)((b4xfloattextfield.__c.getField(true,"False"))))))) { + BA.debugLineNum = 101;BA.debugLine="CreateRevealButton"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_createrevealbutton" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 103;BA.debugLine="CreateClearButton"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_createclearbutton" /*RemoteObject*/ ); + }; + BA.debugLineNum = 105;BA.debugLine="CreateAcceptButton"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_createacceptbutton" /*RemoteObject*/ ); + BA.debugLineNum = 106;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 107;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getnextfield(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getNextField (b4xfloattextfield) ","b4xfloattextfield",54,__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",54,__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",54,__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",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_tf_enterpressed" /*RemoteObject*/ ); + BA.debugLineNum = 316;BA.debugLine="If mNextTextField.IsInitialized Then Return True"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_mnexttextfield" /*RemoteObject*/ ).runMethod(true,"IsInitialized" /*RemoteObject*/ ).get().booleanValue()) { +if (true) return b4xfloattextfield.__c.getField(true,"True");}; + BA.debugLineNum = 317;BA.debugLine="Return False"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xfloattextfield.__c.getField(true,"False"); + BA.debugLineNum = 318;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xfloattextfield) ","b4xfloattextfield",54,__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",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_settext" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable(""))); + break; } +case 1: { + BA.debugLineNum = 409;BA.debugLine="SwitchFromPasswordToRegular (True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_switchfrompasswordtoregular" /*void*/ ,(Object)(b4xfloattextfield.__c.getField(true,"True"))); + break; } +case 2: { + BA.debugLineNum = 411;BA.debugLine="SwitchFromPasswordToRegular(False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_switchfrompasswordtoregular" /*void*/ ,(Object)(b4xfloattextfield.__c.getField(true,"False"))); + break; } +case 3: { + BA.debugLineNum = 413;BA.debugLine="tf_EnterPressed"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_tf_enterpressed" /*RemoteObject*/ ); + BA.debugLineNum = 414;BA.debugLine="If mNextTextField.IsInitialized = False Or mNex"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_mnexttextfield" /*RemoteObject*/ ).runMethod(true,"IsInitialized" /*RemoteObject*/ ),b4xfloattextfield.__c.getField(true,"False")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_mnexttextfield" /*RemoteObject*/ ),(__ref))) { + BA.debugLineNum = 416;BA.debugLine="IME.HideKeyboard"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + }; + break; } +} +; + BA.debugLineNum = 422;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _requestfocusandshowkeyboard(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("RequestFocusAndShowKeyboard (b4xfloattextfield) ","b4xfloattextfield",54,__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",54,__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",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_tf_textchanged" /*RemoteObject*/ ,(Object)(_old),(Object)(_s));}; + BA.debugLineNum = 400;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _switchfrompasswordtoregular(RemoteObject __ref,RemoteObject _toregular) throws Exception{ +try { + Debug.PushSubsStack("SwitchFromPasswordToRegular (b4xfloattextfield) ","b4xfloattextfield",54,__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(SHARK2.keymon.com.mx.b4xfloattextfield parent,RemoteObject __ref,RemoteObject _toregular) { +this.parent = parent; +this.__ref = __ref; +this._toregular = _toregular; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xfloattextfield parent; +RemoteObject _toregular; +RemoteObject _text = RemoteObject.createImmutable(""); +RemoteObject _textcolor = RemoteObject.createImmutable(0); +RemoteObject _font1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +RemoteObject _oldfield = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _et = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("SwitchFromPasswordToRegular (b4xfloattextfield) ","b4xfloattextfield",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_createtextfieldall" /*RemoteObject*/ ,(Object)(parent.__c.runMethod(true,"Not",(Object)(_toregular))),(Object)(_font1),(Object)(_textcolor)); + BA.debugLineNum = 144;BA.debugLine="mTextField.Text = text"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_text)); + BA.debugLineNum = 145;BA.debugLine="If lblClear.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 10; +if (__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 146;BA.debugLine="If ToRegular = False Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 4: +//if +this.state = 9; +if (RemoteObject.solveBoolean("=",_toregular,parent.__c.getField(true,"False"))) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + +case 6: +//C +this.state = 9; + BA.debugLineNum = 147;BA.debugLine="lblClear.Text = Chr(0xE8F4)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe8f4)))))); + BA.debugLineNum = 148;BA.debugLine="lblClear.Tag = \"reveal\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(false,"setTag",RemoteObject.createImmutable(("reveal"))); + if (true) break; + +case 8: +//C +this.state = 9; + BA.debugLineNum = 150;BA.debugLine="lblClear.Tag = \"hide\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(false,"setTag",RemoteObject.createImmutable(("hide"))); + BA.debugLineNum = 151;BA.debugLine="lblClear.Text = Chr(0xE8F5)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe8f5)))))); + if (true) break; + +case 9: +//C +this.state = 10; +; + BA.debugLineNum = 153;BA.debugLine="lblClear.BringToFront"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblclear" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + if (true) break; +; + BA.debugLineNum = 155;BA.debugLine="If lblV.IsInitialized Then lblV.BringToFront"; +Debug.JustUpdateDeviceLine(); + +case 10: +//if +this.state = 15; +if (__ref.getField(false,"_lblv" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +__ref.getField(false,"_lblv" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); +if (true) break; + +case 15: +//C +this.state = 16; +; + BA.debugLineNum = 156;BA.debugLine="HintImageView.BringToFront"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_hintimageview" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 157;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 162;BA.debugLine="Dim et As EditText = mTextField"; +Debug.JustUpdateDeviceLine(); +_et = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper"); +_et = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), __ref.getField(false,"_mtextfield" /*RemoteObject*/ ).getObject());Debug.locals.put("et", _et);Debug.locals.put("et", _et); + BA.debugLineNum = 163;BA.debugLine="et.SelectionStart = mTextField.Text.Length"; +Debug.JustUpdateDeviceLine(); +_et.runMethod(true,"setSelectionStart",__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length")); + BA.debugLineNum = 165;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lastswitchtextfieldtime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"getNow")); + BA.debugLineNum = 166;BA.debugLine="mTextField.RequestFocus"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 167;BA.debugLine="oldfield.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_oldfield.runVoidMethod ("RemoveViewFromParent"); + BA.debugLineNum = 169;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now + 200"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lastswitchtextfieldtime" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.createImmutable(200)}, "+",1, 2)); + BA.debugLineNum = 170;BA.debugLine="et.Enabled = False"; +Debug.JustUpdateDeviceLine(); +_et.runMethod(true,"setEnabled",parent.__c.getField(true,"False")); + BA.debugLineNum = 171;BA.debugLine="Sleep(50)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xfloattextfield", "switchfrompasswordtoregular"),BA.numberCast(int.class, 50)); +this.state = 20; +return; +case 20: +//C +this.state = 16; +; + BA.debugLineNum = 172;BA.debugLine="et.Enabled = True"; +Debug.JustUpdateDeviceLine(); +_et.runMethod(true,"setEnabled",parent.__c.getField(true,"True")); + BA.debugLineNum = 173;BA.debugLine="Sleep(50)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xfloattextfield", "switchfrompasswordtoregular"),BA.numberCast(int.class, 50)); +this.state = 21; +return; +case 21: +//C +this.state = 16; +; + BA.debugLineNum = 174;BA.debugLine="et.RequestFocus"; +Debug.JustUpdateDeviceLine(); +_et.runVoidMethod ("RequestFocus"); + BA.debugLineNum = 175;BA.debugLine="IME.ShowKeyboard(mTextField)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("ShowKeyboard",(Object)((__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).getObject()))); + BA.debugLineNum = 177;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Passwo"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 16: +//if +this.state = 19; +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_PasswordRevealChanged"))),(Object)(BA.numberCast(int.class, 1))).get().booleanValue()) { +this.state = 18; +}if (true) break; + +case 18: +//C +this.state = 19; + BA.debugLineNum = 178;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Passwo"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_PasswordRevealChanged"))),(Object)((_toregular))); + if (true) break; + +case 19: +//C +this.state = -1; +; + BA.debugLineNum = 180;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _tf_action(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("tf_Action (b4xfloattextfield) ","b4xfloattextfield",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_gettextfield" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + }; + BA.debugLineNum = 281;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_EnterP"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_EnterPressed"))),(Object)(BA.numberCast(int.class, 0))).get().booleanValue()) { + BA.debugLineNum = 282;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_EnterPr"; +Debug.JustUpdateDeviceLine(); +b4xfloattextfield.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_EnterPressed")))); + }; + BA.debugLineNum = 284;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tf_beginedit(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("tf_BeginEdit (b4xfloattextfield) ","b4xfloattextfield",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_tf_focuschanged" /*RemoteObject*/ ,(Object)(b4xfloattextfield.__c.getField(true,"True"))); + BA.debugLineNum = 271;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tf_endedit(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("tf_EndEdit (b4xfloattextfield) ","b4xfloattextfield",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_tf_focuschanged" /*RemoteObject*/ ,(Object)(b4xfloattextfield.__c.getField(true,"False"))); + BA.debugLineNum = 275;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tf_enterpressed(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("tf_EnterPressed (b4xfloattextfield) ","b4xfloattextfield",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_tf_action" /*RemoteObject*/ ); + BA.debugLineNum = 326;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tf_focuschanged(RemoteObject __ref,RemoteObject _hasfocus) throws Exception{ +try { + Debug.PushSubsStack("tf_FocusChanged (b4xfloattextfield) ","b4xfloattextfield",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_updatelabel" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(b4xfloattextfield.__c.getField(true,"True"))); + BA.debugLineNum = 237;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_FocusC"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_FocusChanged"))),(Object)(BA.numberCast(int.class, 1))).get().booleanValue()) { + BA.debugLineNum = 238;BA.debugLine="If LastSwitchTextFieldTime + 100 < DateTime.Now"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_lastswitchtextfieldtime" /*RemoteObject*/ ),RemoteObject.createImmutable(100)}, "+",1, 2),b4xfloattextfield.__c.getField(false,"DateTime").runMethod(true,"getNow"))) { + BA.debugLineNum = 239;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Focus"; +Debug.JustUpdateDeviceLine(); +b4xfloattextfield.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_FocusChanged"))),(Object)((__ref.getField(true,"_focused" /*RemoteObject*/ )))); + }; + }; + BA.debugLineNum = 242;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tf_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("tf_TextChanged (b4xfloattextfield) ","b4xfloattextfield",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_updatelabel" /*RemoteObject*/ ,(Object)(_new),(Object)(b4xfloattextfield.__c.getField(true,"False"))); + BA.debugLineNum = 289;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TextCh"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_TextChanged"))),(Object)(BA.numberCast(int.class, 2)))) && RemoteObject.solveBoolean(".",__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 290;BA.debugLine="CallSub3(mCallBack, mEventName & \"_TextChanged\","; +Debug.JustUpdateDeviceLine(); +b4xfloattextfield.__c.runMethodAndSync(false,"CallSubNew3",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_TextChanged"))),(Object)((_old)),(Object)((_new))); + }; + BA.debugLineNum = 292;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _update(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Update (b4xfloattextfield) ","b4xfloattextfield",54,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_createbitmap" /*RemoteObject*/ ,(Object)(_r),(Object)(__ref.getField(true,"_hintcolor" /*RemoteObject*/ )),(Object)(_f))); + BA.debugLineNum = 249;BA.debugLine="LargeNotFocused = CreateBitmap(r, NonFocusedHintC"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_largenotfocused" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_createbitmap" /*RemoteObject*/ ,(Object)(_r),(Object)(__ref.getField(true,"_nonfocusedhintcolor" /*RemoteObject*/ )),(Object)(_f))); + BA.debugLineNum = 250;BA.debugLine="f = xui.CreateFont2(HintFont, SmallLabelTextSize)"; +Debug.JustUpdateDeviceLine(); +_f = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreateFont2",(Object)(__ref.getField(false,"_hintfont" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_smalllabeltextsize" /*RemoteObject*/ )));Debug.locals.put("f", _f); + BA.debugLineNum = 251;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; +Debug.JustUpdateDeviceLine(); +_r = __ref.getField(false,"_measuringcanvas" /*RemoteObject*/ ).runMethod(false,"MeasureText",(Object)(__ref.getField(true,"_hinttext" /*RemoteObject*/ )),(Object)(_f));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 252;BA.debugLine="SmallFocused = CreateBitmap(r, HintColor, f)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_smallfocused" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_createbitmap" /*RemoteObject*/ ,(Object)(_r),(Object)(__ref.getField(true,"_hintcolor" /*RemoteObject*/ )),(Object)(_f))); + BA.debugLineNum = 253;BA.debugLine="SmallNotFocused = CreateBitmap(r, NonFocusedHintC"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_smallnotfocused" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_createbitmap" /*RemoteObject*/ ,(Object)(_r),(Object)(__ref.getField(true,"_nonfocusedhintcolor" /*RemoteObject*/ )),(Object)(_f))); + BA.debugLineNum = 254;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_updatelabel" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mtextfield" /*RemoteObject*/ ).runMethod(true,"getText")),(Object)(b4xfloattextfield.__c.getField(true,"True"))); + BA.debugLineNum = 255;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _updatelabel(RemoteObject __ref,RemoteObject _txt,RemoteObject _force) throws Exception{ +try { + Debug.PushSubsStack("UpdateLabel (b4xfloattextfield) ","b4xfloattextfield",54,__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/SHARK2/keymon/com/mx/b4xformatter.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xformatter.java new file mode 100644 index 0000000..947f8c3 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xformatter.java @@ -0,0 +1,36 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xformatter { + public static RemoteObject myClass; + public b4xformatter() { + } + public static PCBA staticBA = new PCBA(null, b4xformatter.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _formats = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _max_value = RemoteObject.createImmutable(0); +public static RemoteObject _min_value = RemoteObject.createImmutable(0); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"formats",_ref.getField(false, "_formats"),"MAX_VALUE",_ref.getField(false, "_max_value"),"MIN_VALUE",_ref.getField(false, "_min_value"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xformatter_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xformatter_subs_0.java new file mode 100644 index 0000000..7e3d8ba --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xformatter_subs_0.java @@ -0,0 +1,506 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xformatter_subs_0 { + + +public static RemoteObject _addformatdata(RemoteObject __ref,RemoteObject _data,RemoteObject _rangestart,RemoteObject _rangeend,RemoteObject _includeedges) throws Exception{ +try { + Debug.PushSubsStack("AddFormatData (b4xformatter) ","b4xformatter",68,__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",68,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("copyformatdata")) { return __ref.runUserSub(false, "b4xformatter","copyformatdata", __ref, _data);} +RemoteObject _d = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xformatter._b4xformatdata"); +Debug.locals.put("Data", _data); + BA.debugLineNum = 38;BA.debugLine="Public Sub CopyFormatData (Data As B4XFormatData)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 39;BA.debugLine="Dim d As B4XFormatData"; +Debug.JustUpdateDeviceLine(); +_d = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xformatter._b4xformatdata");Debug.locals.put("d", _d); + BA.debugLineNum = 40;BA.debugLine="d.Initialize"; +Debug.JustUpdateDeviceLine(); +_d.runVoidMethod ("Initialize"); + BA.debugLineNum = 41;BA.debugLine="d.DecimalPoint = Data.DecimalPoint"; +Debug.JustUpdateDeviceLine(); +_d.setField ("DecimalPoint" /*RemoteObject*/ ,_data.getField(true,"DecimalPoint" /*RemoteObject*/ )); + BA.debugLineNum = 42;BA.debugLine="If Data.FormatFont.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (_data.getField(false,"FormatFont" /*RemoteObject*/ ).runMethod(true,"getIsInitialized").get().booleanValue()) { + BA.debugLineNum = 44;BA.debugLine="d.FormatFont = xui.CreateFont(Data.FormatFont.To"; +Debug.JustUpdateDeviceLine(); +_d.setField ("FormatFont" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreateFont",(Object)((_data.getField(false,"FormatFont" /*RemoteObject*/ ).runMethod(false,"ToNativeFont").getObject())),(Object)(_data.getField(false,"FormatFont" /*RemoteObject*/ ).runMethod(true,"getSize")))); + }; + BA.debugLineNum = 47;BA.debugLine="d.GroupingCharacter = Data.GroupingCharacter"; +Debug.JustUpdateDeviceLine(); +_d.setField ("GroupingCharacter" /*RemoteObject*/ ,_data.getField(true,"GroupingCharacter" /*RemoteObject*/ )); + BA.debugLineNum = 48;BA.debugLine="d.MaximumFractions = Data.MaximumFractions"; +Debug.JustUpdateDeviceLine(); +_d.setField ("MaximumFractions" /*RemoteObject*/ ,_data.getField(true,"MaximumFractions" /*RemoteObject*/ )); + BA.debugLineNum = 49;BA.debugLine="d.MinimumFractions = Data.MinimumFractions"; +Debug.JustUpdateDeviceLine(); +_d.setField ("MinimumFractions" /*RemoteObject*/ ,_data.getField(true,"MinimumFractions" /*RemoteObject*/ )); + BA.debugLineNum = 50;BA.debugLine="d.MinimumIntegers = Data.MinimumIntegers"; +Debug.JustUpdateDeviceLine(); +_d.setField ("MinimumIntegers" /*RemoteObject*/ ,_data.getField(true,"MinimumIntegers" /*RemoteObject*/ )); + BA.debugLineNum = 51;BA.debugLine="d.Postfix = Data.Postfix"; +Debug.JustUpdateDeviceLine(); +_d.setField ("Postfix" /*RemoteObject*/ ,_data.getField(true,"Postfix" /*RemoteObject*/ )); + BA.debugLineNum = 52;BA.debugLine="d.Prefix = Data.Prefix"; +Debug.JustUpdateDeviceLine(); +_d.setField ("Prefix" /*RemoteObject*/ ,_data.getField(true,"Prefix" /*RemoteObject*/ )); + BA.debugLineNum = 53;BA.debugLine="d.RangeEnd = Data.RangeEnd"; +Debug.JustUpdateDeviceLine(); +_d.setField ("RangeEnd" /*RemoteObject*/ ,_data.getField(true,"RangeEnd" /*RemoteObject*/ )); + BA.debugLineNum = 54;BA.debugLine="d.RangeStart = Data.RangeStart"; +Debug.JustUpdateDeviceLine(); +_d.setField ("RangeStart" /*RemoteObject*/ ,_data.getField(true,"RangeStart" /*RemoteObject*/ )); + BA.debugLineNum = 55;BA.debugLine="d.RemoveMinusSign = Data.RemoveMinusSign"; +Debug.JustUpdateDeviceLine(); +_d.setField ("RemoveMinusSign" /*RemoteObject*/ ,_data.getField(true,"RemoveMinusSign" /*RemoteObject*/ )); + BA.debugLineNum = 56;BA.debugLine="d.TextColor = Data.TextColor"; +Debug.JustUpdateDeviceLine(); +_d.setField ("TextColor" /*RemoteObject*/ ,_data.getField(true,"TextColor" /*RemoteObject*/ )); + BA.debugLineNum = 57;BA.debugLine="d.FractionPaddingChar = Data.FractionPaddingChar"; +Debug.JustUpdateDeviceLine(); +_d.setField ("FractionPaddingChar" /*RemoteObject*/ ,_data.getField(true,"FractionPaddingChar" /*RemoteObject*/ )); + BA.debugLineNum = 58;BA.debugLine="d.IntegerPaddingChar = Data.IntegerPaddingChar"; +Debug.JustUpdateDeviceLine(); +_d.setField ("IntegerPaddingChar" /*RemoteObject*/ ,_data.getField(true,"IntegerPaddingChar" /*RemoteObject*/ )); + BA.debugLineNum = 59;BA.debugLine="Return d"; +Debug.JustUpdateDeviceLine(); +if (true) return _d; + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createdefaultformat(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CreateDefaultFormat (b4xformatter) ","b4xformatter",68,__ref.getField(false, "ba"),__ref,19); +if (RapidSub.canDelegate("createdefaultformat")) { return __ref.runUserSub(false, "b4xformatter","createdefaultformat", __ref);} +RemoteObject _d = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xformatter._b4xformatdata"); + BA.debugLineNum = 19;BA.debugLine="Private Sub CreateDefaultFormat As B4XFormatData"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 20;BA.debugLine="Dim d As B4XFormatData"; +Debug.JustUpdateDeviceLine(); +_d = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xformatter._b4xformatdata");Debug.locals.put("d", _d); + BA.debugLineNum = 21;BA.debugLine="d.Initialize"; +Debug.JustUpdateDeviceLine(); +_d.runVoidMethod ("Initialize"); + BA.debugLineNum = 22;BA.debugLine="d.GroupingCharacter = \",\""; +Debug.JustUpdateDeviceLine(); +_d.setField ("GroupingCharacter" /*RemoteObject*/ ,BA.ObjectToString(",")); + BA.debugLineNum = 23;BA.debugLine="d.DecimalPoint = \".\""; +Debug.JustUpdateDeviceLine(); +_d.setField ("DecimalPoint" /*RemoteObject*/ ,BA.ObjectToString(".")); + BA.debugLineNum = 24;BA.debugLine="d.MaximumFractions = 3"; +Debug.JustUpdateDeviceLine(); +_d.setField ("MaximumFractions" /*RemoteObject*/ ,BA.numberCast(int.class, 3)); + BA.debugLineNum = 25;BA.debugLine="d.MinimumIntegers = 1"; +Debug.JustUpdateDeviceLine(); +_d.setField ("MinimumIntegers" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + BA.debugLineNum = 26;BA.debugLine="d.IntegerPaddingChar = \"0\""; +Debug.JustUpdateDeviceLine(); +_d.setField ("IntegerPaddingChar" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 27;BA.debugLine="d.FractionPaddingChar = \"0\""; +Debug.JustUpdateDeviceLine(); +_d.setField ("FractionPaddingChar" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 28;BA.debugLine="Return d"; +Debug.JustUpdateDeviceLine(); +if (true) return _d; + BA.debugLineNum = 29;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _format(RemoteObject __ref,RemoteObject _number) throws Exception{ +try { + Debug.PushSubsStack("Format (b4xformatter) ","b4xformatter",68,__ref.getField(false, "ba"),__ref,92); +if (RapidSub.canDelegate("format")) { return __ref.runUserSub(false, "b4xformatter","format", __ref, _number);} +RemoteObject _data = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xformatter._b4xformatdata"); +RemoteObject _sb = RemoteObject.declareNull("anywheresoftware.b4a.keywords.StringBuilderWrapper"); +RemoteObject _numberstartindex = RemoteObject.createImmutable(0); +RemoteObject _factor = RemoteObject.createImmutable(0); +RemoteObject _whole = RemoteObject.createImmutable(0); +RemoteObject _frac = RemoteObject.createImmutable(0); +RemoteObject _g = RemoteObject.createImmutable(0); +RemoteObject _fracstartindex = RemoteObject.createImmutable(0); +RemoteObject _lastzerocount = RemoteObject.createImmutable(0); +RemoteObject _multipler = RemoteObject.createImmutable(0); +RemoteObject _w = RemoteObject.createImmutable(0); +Debug.locals.put("Number", _number); + BA.debugLineNum = 92;BA.debugLine="Public Sub Format (Number As Double) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 93;BA.debugLine="If Number < MIN_VALUE Or Number > MAX_VALUE Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_number,BA.numberCast(double.class, __ref.getField(true,"_min_value" /*RemoteObject*/ ))) || RemoteObject.solveBoolean(">",_number,BA.numberCast(double.class, __ref.getField(true,"_max_value" /*RemoteObject*/ )))) { +if (true) return BA.ObjectToString("OVERFLOW");}; + BA.debugLineNum = 94;BA.debugLine="Dim data As B4XFormatData = GetFormatData (Number"; +Debug.JustUpdateDeviceLine(); +_data = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xformatter.class, "_getformatdata" /*RemoteObject*/ ,(Object)(_number));Debug.locals.put("data", _data);Debug.locals.put("data", _data); + BA.debugLineNum = 95;BA.debugLine="Dim sb As StringBuilder"; +Debug.JustUpdateDeviceLine(); +_sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");Debug.locals.put("sb", _sb); + BA.debugLineNum = 96;BA.debugLine="sb.Initialize"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Initialize"); + BA.debugLineNum = 97;BA.debugLine="sb.Append(data.Prefix)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(_data.getField(true,"Prefix" /*RemoteObject*/ ))); + BA.debugLineNum = 98;BA.debugLine="Dim NumberStartIndex As Int = sb.Length"; +Debug.JustUpdateDeviceLine(); +_numberstartindex = _sb.runMethod(true,"getLength");Debug.locals.put("NumberStartIndex", _numberstartindex);Debug.locals.put("NumberStartIndex", _numberstartindex); + BA.debugLineNum = 99;BA.debugLine="Dim factor As Double = Power(10, -data.MaximumFra"; +Debug.JustUpdateDeviceLine(); +_factor = RemoteObject.solve(new RemoteObject[] {b4xformatter.__c.runMethod(true,"Power",(Object)(BA.numberCast(double.class, 10)),(Object)(BA.numberCast(double.class, -(double) (0 + _data.getField(true,"MaximumFractions" /*RemoteObject*/ ).get().intValue())-(double) (0 + 1)))),RemoteObject.createImmutable(5)}, "*",0, 0);Debug.locals.put("factor", _factor);Debug.locals.put("factor", _factor); + BA.debugLineNum = 100;BA.debugLine="If Number < -factor And data.RemoveMinusSign = Fa"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_number,BA.numberCast(double.class, -_factor.get().doubleValue())) && RemoteObject.solveBoolean("=",_data.getField(true,"RemoveMinusSign" /*RemoteObject*/ ),b4xformatter.__c.getField(true,"False"))) { + BA.debugLineNum = 101;BA.debugLine="sb.Append(\"-\")"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(RemoteObject.createImmutable("-"))); + BA.debugLineNum = 102;BA.debugLine="NumberStartIndex = NumberStartIndex + 1"; +Debug.JustUpdateDeviceLine(); +_numberstartindex = RemoteObject.solve(new RemoteObject[] {_numberstartindex,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("NumberStartIndex", _numberstartindex); + }; + BA.debugLineNum = 104;BA.debugLine="Number = Abs(Number) + factor"; +Debug.JustUpdateDeviceLine(); +_number = RemoteObject.solve(new RemoteObject[] {b4xformatter.__c.runMethod(true,"Abs",(Object)(_number)),_factor}, "+",1, 0);Debug.locals.put("Number", _number); + BA.debugLineNum = 105;BA.debugLine="Dim whole As Int = Number"; +Debug.JustUpdateDeviceLine(); +_whole = BA.numberCast(int.class, _number);Debug.locals.put("whole", _whole);Debug.locals.put("whole", _whole); + BA.debugLineNum = 106;BA.debugLine="Dim frac As Double = Number - whole"; +Debug.JustUpdateDeviceLine(); +_frac = RemoteObject.solve(new RemoteObject[] {_number,_whole}, "-",1, 0);Debug.locals.put("frac", _frac);Debug.locals.put("frac", _frac); + BA.debugLineNum = 107;BA.debugLine="Dim g As Int"; +Debug.JustUpdateDeviceLine(); +_g = RemoteObject.createImmutable(0);Debug.locals.put("g", _g); + BA.debugLineNum = 108;BA.debugLine="Do While whole > 0"; +Debug.JustUpdateDeviceLine(); +while (RemoteObject.solveBoolean(">",_whole,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 109;BA.debugLine="If g > 0 And g Mod 3 = 0 And data.GroupingCharac"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_g,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("=",RemoteObject.solve(new RemoteObject[] {_g,RemoteObject.createImmutable(3)}, "%",0, 1),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(">",_data.getField(true,"GroupingCharacter" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 110;BA.debugLine="sb.Insert(NumberStartIndex, data.GroupingCharac"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Insert",(Object)(_numberstartindex),(Object)(_data.getField(true,"GroupingCharacter" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 112;BA.debugLine="g = g + 1"; +Debug.JustUpdateDeviceLine(); +_g = RemoteObject.solve(new RemoteObject[] {_g,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("g", _g); + BA.debugLineNum = 113;BA.debugLine="sb.Insert(NumberStartIndex, whole Mod 10)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Insert",(Object)(_numberstartindex),(Object)(BA.NumberToString(RemoteObject.solve(new RemoteObject[] {_whole,RemoteObject.createImmutable(10)}, "%",0, 1)))); + BA.debugLineNum = 114;BA.debugLine="whole = whole / 10"; +Debug.JustUpdateDeviceLine(); +_whole = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_whole,RemoteObject.createImmutable(10)}, "/",0, 0));Debug.locals.put("whole", _whole); + } +; + BA.debugLineNum = 116;BA.debugLine="Do While sb.Length - NumberStartIndex < data.Mini"; +Debug.JustUpdateDeviceLine(); +while (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),_numberstartindex}, "-",1, 1),BA.numberCast(double.class, _data.getField(true,"MinimumIntegers" /*RemoteObject*/ )))) { + BA.debugLineNum = 117;BA.debugLine="sb.Insert(NumberStartIndex, data.IntegerPaddingC"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Insert",(Object)(_numberstartindex),(Object)(_data.getField(true,"IntegerPaddingChar" /*RemoteObject*/ ))); + } +; + BA.debugLineNum = 119;BA.debugLine="If data.MaximumFractions > 0 And (data.MinimumFra"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_data.getField(true,"MaximumFractions" /*RemoteObject*/ ),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(">",_data.getField(true,"MinimumFractions" /*RemoteObject*/ ),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean(">",_frac,BA.numberCast(double.class, 0)))))) { + BA.debugLineNum = 120;BA.debugLine="Dim FracStartIndex As Int = sb.Length"; +Debug.JustUpdateDeviceLine(); +_fracstartindex = _sb.runMethod(true,"getLength");Debug.locals.put("FracStartIndex", _fracstartindex);Debug.locals.put("FracStartIndex", _fracstartindex); + BA.debugLineNum = 121;BA.debugLine="Dim LastZeroCount As Int"; +Debug.JustUpdateDeviceLine(); +_lastzerocount = RemoteObject.createImmutable(0);Debug.locals.put("LastZeroCount", _lastzerocount); + BA.debugLineNum = 122;BA.debugLine="Dim Multipler As Int = 10"; +Debug.JustUpdateDeviceLine(); +_multipler = BA.numberCast(int.class, 10);Debug.locals.put("Multipler", _multipler);Debug.locals.put("Multipler", _multipler); + BA.debugLineNum = 123;BA.debugLine="Do While frac >= 2 * factor And sb.Length - Frac"; +Debug.JustUpdateDeviceLine(); +while (RemoteObject.solveBoolean("g",_frac,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_factor}, "*",0, 0)) && RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),_fracstartindex}, "-",1, 1),BA.numberCast(double.class, _data.getField(true,"MaximumFractions" /*RemoteObject*/ )))) { + BA.debugLineNum = 124;BA.debugLine="Dim w As Int = (frac * Multipler)"; +Debug.JustUpdateDeviceLine(); +_w = BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_frac,_multipler}, "*",0, 0)));Debug.locals.put("w", _w);Debug.locals.put("w", _w); + BA.debugLineNum = 125;BA.debugLine="w = w Mod 10"; +Debug.JustUpdateDeviceLine(); +_w = RemoteObject.solve(new RemoteObject[] {_w,RemoteObject.createImmutable(10)}, "%",0, 1);Debug.locals.put("w", _w); + BA.debugLineNum = 126;BA.debugLine="If w = 0 Then LastZeroCount = LastZeroCount + 1"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_w,BA.numberCast(double.class, 0))) { +_lastzerocount = RemoteObject.solve(new RemoteObject[] {_lastzerocount,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("LastZeroCount", _lastzerocount);} +else { +_lastzerocount = BA.numberCast(int.class, 0);Debug.locals.put("LastZeroCount", _lastzerocount);}; + BA.debugLineNum = 127;BA.debugLine="sb.Append(w)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(BA.NumberToString(_w))); + BA.debugLineNum = 128;BA.debugLine="Multipler = Multipler * 10"; +Debug.JustUpdateDeviceLine(); +_multipler = RemoteObject.solve(new RemoteObject[] {_multipler,RemoteObject.createImmutable(10)}, "*",0, 1);Debug.locals.put("Multipler", _multipler); + } +; + BA.debugLineNum = 130;BA.debugLine="If data.FractionPaddingChar <> \"0\" And LastZeroC"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_data.getField(true,"FractionPaddingChar" /*RemoteObject*/ ),BA.ObjectToString("0")) && RemoteObject.solveBoolean(">",_lastzerocount,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 131;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Remove",(Object)(RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),_lastzerocount}, "-",1, 1)),(Object)(_sb.runMethod(true,"getLength"))); + BA.debugLineNum = 132;BA.debugLine="LastZeroCount = 0"; +Debug.JustUpdateDeviceLine(); +_lastzerocount = BA.numberCast(int.class, 0);Debug.locals.put("LastZeroCount", _lastzerocount); + }; + BA.debugLineNum = 134;BA.debugLine="Do While sb.Length - FracStartIndex < data.Minim"; +Debug.JustUpdateDeviceLine(); +while (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),_fracstartindex}, "-",1, 1),BA.numberCast(double.class, _data.getField(true,"MinimumFractions" /*RemoteObject*/ )))) { + BA.debugLineNum = 135;BA.debugLine="sb.Append(data.FractionPaddingChar)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(_data.getField(true,"FractionPaddingChar" /*RemoteObject*/ ))); + BA.debugLineNum = 136;BA.debugLine="LastZeroCount = 0"; +Debug.JustUpdateDeviceLine(); +_lastzerocount = BA.numberCast(int.class, 0);Debug.locals.put("LastZeroCount", _lastzerocount); + } +; + BA.debugLineNum = 138;BA.debugLine="LastZeroCount = Min(LastZeroCount, sb.Length - F"; +Debug.JustUpdateDeviceLine(); +_lastzerocount = BA.numberCast(int.class, b4xformatter.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, _lastzerocount)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),_fracstartindex,_data.getField(true,"MinimumFractions" /*RemoteObject*/ )}, "--",2, 1)))));Debug.locals.put("LastZeroCount", _lastzerocount); + BA.debugLineNum = 139;BA.debugLine="If LastZeroCount > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_lastzerocount,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 140;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Remove",(Object)(RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),_lastzerocount}, "-",1, 1)),(Object)(_sb.runMethod(true,"getLength"))); + }; + BA.debugLineNum = 142;BA.debugLine="If sb.Length > FracStartIndex Then sb.Insert(Fra"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_sb.runMethod(true,"getLength"),BA.numberCast(double.class, _fracstartindex))) { +_sb.runVoidMethod ("Insert",(Object)(_fracstartindex),(Object)(_data.getField(true,"DecimalPoint" /*RemoteObject*/ )));}; + }; + BA.debugLineNum = 144;BA.debugLine="sb.Append(data.Postfix)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(_data.getField(true,"Postfix" /*RemoteObject*/ ))); + BA.debugLineNum = 145;BA.debugLine="Return sb.ToString"; +Debug.JustUpdateDeviceLine(); +if (true) return _sb.runMethod(true,"ToString"); + BA.debugLineNum = 146;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _formatlabel(RemoteObject __ref,RemoteObject _number,RemoteObject _label) throws Exception{ +try { + Debug.PushSubsStack("FormatLabel (b4xformatter) ","b4xformatter",68,__ref.getField(false, "ba"),__ref,150); +if (RapidSub.canDelegate("formatlabel")) { return __ref.runUserSub(false, "b4xformatter","formatlabel", __ref, _number, _label);} +RemoteObject _data = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xformatter._b4xformatdata"); +Debug.locals.put("Number", _number); +Debug.locals.put("Label", _label); + BA.debugLineNum = 150;BA.debugLine="Public Sub FormatLabel (Number As Double, Label As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 151;BA.debugLine="Label.Text = Format(Number)"; +Debug.JustUpdateDeviceLine(); +_label.runMethod(true,"setText",BA.ObjectToCharSequence(__ref.runClassMethod (SHARK2.keymon.com.mx.b4xformatter.class, "_format" /*RemoteObject*/ ,(Object)(_number)))); + BA.debugLineNum = 152;BA.debugLine="Dim data As B4XFormatData = GetFormatData(Number)"; +Debug.JustUpdateDeviceLine(); +_data = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xformatter.class, "_getformatdata" /*RemoteObject*/ ,(Object)(_number));Debug.locals.put("data", _data);Debug.locals.put("data", _data); + BA.debugLineNum = 153;BA.debugLine="If data.TextColor <> 0 Then Label.TextColor = dat"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_data.getField(true,"TextColor" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { +_label.runMethod(true,"setTextColor",_data.getField(true,"TextColor" /*RemoteObject*/ ));}; + BA.debugLineNum = 154;BA.debugLine="If data.FormatFont.IsInitialized Then Label.Font"; +Debug.JustUpdateDeviceLine(); +if (_data.getField(false,"FormatFont" /*RemoteObject*/ ).runMethod(true,"getIsInitialized").get().booleanValue()) { +_label.runMethod(false,"setFont",_data.getField(false,"FormatFont" /*RemoteObject*/ ));}; + BA.debugLineNum = 155;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getdefaultformat(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetDefaultFormat (b4xformatter) ","b4xformatter",68,__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",68,__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("SHARK2.keymon.com.mx.b4xformatter._b4xformatdata"); +Debug.locals.put("Number", _number); + BA.debugLineNum = 83;BA.debugLine="Public Sub GetFormatData (Number As Double) As B4X"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 84;BA.debugLine="For i = formats.Size - 1 To 1 Step - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step1 = -1; +final int limit1 = 1; +_i = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_formats" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue() ; +for (;(step1 > 0 && _i <= limit1) || (step1 < 0 && _i >= limit1) ;_i = ((int)(0 + _i + step1)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 85;BA.debugLine="Dim d As B4XFormatData = formats.Get(i)"; +Debug.JustUpdateDeviceLine(); +_d = (__ref.getField(false,"_formats" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("d", _d);Debug.locals.put("d", _d); + BA.debugLineNum = 86;BA.debugLine="If Number <= d.RangeEnd And Number >= d.RangeSta"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("k",_number,_d.getField(true,"RangeEnd" /*RemoteObject*/ )) && RemoteObject.solveBoolean("g",_number,_d.getField(true,"RangeStart" /*RemoteObject*/ ))) { +if (true) return _d;}; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 88;BA.debugLine="Return formats.Get(0)"; +Debug.JustUpdateDeviceLine(); +if (true) return (__ref.getField(false,"_formats" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))); + BA.debugLineNum = 89;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xformatter) ","b4xformatter",68,__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("SHARK2.keymon.com.mx.b4xformatter._b4xformatdata"); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 13;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 14;BA.debugLine="formats.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_formats" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 15;BA.debugLine="Dim d As B4XFormatData = CreateDefaultFormat"; +Debug.JustUpdateDeviceLine(); +_d = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xformatter.class, "_createdefaultformat" /*RemoteObject*/ );Debug.locals.put("d", _d);Debug.locals.put("d", _d); + BA.debugLineNum = 16;BA.debugLine="AddFormatData(d, MIN_VALUE, MAX_VALUE, True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xformatter.class, "_addformatdata" /*RemoteObject*/ ,(Object)(_d),(Object)(BA.numberCast(double.class, __ref.getField(true,"_min_value" /*RemoteObject*/ ))),(Object)(BA.numberCast(double.class, __ref.getField(true,"_max_value" /*RemoteObject*/ ))),(Object)(b4xformatter.__c.getField(true,"True"))); + BA.debugLineNum = 17;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _newformatdata(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("NewFormatData (b4xformatter) ","b4xformatter",68,__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 (SHARK2.keymon.com.mx.b4xformatter.class, "_copyformatdata" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.b4xformatter.class, "_getdefaultformat" /*RemoteObject*/ ))); + BA.debugLineNum = 34;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4ximageview.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4ximageview.java new file mode 100644 index 0000000..d01e055 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4ximageview.java @@ -0,0 +1,43 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4ximageview { + public static RemoteObject myClass; + public b4ximageview() { + } + public static PCBA staticBA = new PCBA(null, b4ximageview.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _mresizemode = RemoteObject.createImmutable(""); +public static RemoteObject _mround = RemoteObject.createImmutable(false); +public static RemoteObject _mbitmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _mbackgroundcolor = RemoteObject.createImmutable(0); +public static RemoteObject _mcornersradius = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"iv",_ref.getField(false, "_iv"),"mBackgroundColor",_ref.getField(false, "_mbackgroundcolor"),"mBase",_ref.getField(false, "_mbase"),"mBitmap",_ref.getField(false, "_mbitmap"),"mCallBack",_ref.getField(false, "_mcallback"),"mCornersRadius",_ref.getField(false, "_mcornersradius"),"mEventName",_ref.getField(false, "_meventname"),"mResizeMode",_ref.getField(false, "_mresizemode"),"mRound",_ref.getField(false, "_mround"),"Tag",_ref.getField(false, "_tag"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4ximageview_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4ximageview_subs_0.java new file mode 100644 index 0000000..b58c929 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4ximageview_subs_0.java @@ -0,0 +1,497 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4ximageview_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4ximageview) ","b4ximageview",55,__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 (SHARK2.keymon.com.mx.b4ximageview.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 42;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; +b4ximageview._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4ximageview._meventname); + //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; +b4ximageview._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4ximageview._mcallback); + //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView"; +b4ximageview._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4ximageview._mbase); + //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; +b4ximageview._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4ximageview._xui); + //BA.debugLineNum = 10;BA.debugLine="Public Tag As Object"; +b4ximageview._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4ximageview._tag); + //BA.debugLineNum = 11;BA.debugLine="Private iv As B4XView"; +b4ximageview._iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_iv",b4ximageview._iv); + //BA.debugLineNum = 12;BA.debugLine="Private mResizeMode As String"; +b4ximageview._mresizemode = RemoteObject.createImmutable("");__ref.setField("_mresizemode",b4ximageview._mresizemode); + //BA.debugLineNum = 13;BA.debugLine="Private mRound As Boolean"; +b4ximageview._mround = RemoteObject.createImmutable(false);__ref.setField("_mround",b4ximageview._mround); + //BA.debugLineNum = 14;BA.debugLine="Private mBitmap As B4XBitmap"; +b4ximageview._mbitmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_mbitmap",b4ximageview._mbitmap); + //BA.debugLineNum = 15;BA.debugLine="Public mBackgroundColor As Int"; +b4ximageview._mbackgroundcolor = RemoteObject.createImmutable(0);__ref.setField("_mbackgroundcolor",b4ximageview._mbackgroundcolor); + //BA.debugLineNum = 16;BA.debugLine="Private mCornersRadius As Int"; +b4ximageview._mcornersradius = RemoteObject.createImmutable(0);__ref.setField("_mcornersradius",b4ximageview._mcornersradius); + //BA.debugLineNum = 17;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Clear (b4ximageview) ","b4ximageview",55,__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",55,__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 (SHARK2.keymon.com.mx.b4ximageview.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 38;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbitmap(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getBitmap (b4ximageview) ","b4ximageview",55,__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",55,__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",55,__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",55,__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",55,__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",55,__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 (SHARK2.keymon.com.mx.b4ximageview.class, "_setbitmap" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"), b4ximageview.__c.runMethod(false,"LoadBitmapSample",(Object)(_dir),(Object)(_filename),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))).getObject())); + BA.debugLineNum = 116;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setbitmap(RemoteObject __ref,RemoteObject _bmp) throws Exception{ +try { + Debug.PushSubsStack("setBitmap (b4ximageview) ","b4ximageview",55,__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 (SHARK2.keymon.com.mx.b4ximageview.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 128;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcornersradius(RemoteObject __ref,RemoteObject _i) throws Exception{ +try { + Debug.PushSubsStack("setCornersRadius (b4ximageview) ","b4ximageview",55,__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 (SHARK2.keymon.com.mx.b4ximageview.class, "_updateclip" /*RemoteObject*/ ); + BA.debugLineNum = 63;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setresizemode(RemoteObject __ref,RemoteObject _s) throws Exception{ +try { + Debug.PushSubsStack("setResizeMode (b4ximageview) ","b4ximageview",55,__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 (SHARK2.keymon.com.mx.b4ximageview.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 75;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setroundedimage(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setRoundedImage (b4ximageview) ","b4ximageview",55,__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 (SHARK2.keymon.com.mx.b4ximageview.class, "_updateclip" /*RemoteObject*/ ); + BA.debugLineNum = 53;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _update(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Update (b4ximageview) ","b4ximageview",55,__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 (SHARK2.keymon.com.mx.b4ximageview.class, "_updateclip" /*RemoteObject*/ ); + BA.debugLineNum = 80;BA.debugLine="Dim ImageViewWidth, ImageViewHeight As Float"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = RemoteObject.createImmutable(0f);Debug.locals.put("ImageViewWidth", _imageviewwidth); +_imageviewheight = RemoteObject.createImmutable(0f);Debug.locals.put("ImageViewHeight", _imageviewheight); + BA.debugLineNum = 81;BA.debugLine="Dim bmpRatio As Float = mBitmap.Width / mBitmap.H"; +Debug.JustUpdateDeviceLine(); +_bmpratio = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "/",0, 0));Debug.locals.put("bmpRatio", _bmpratio);Debug.locals.put("bmpRatio", _bmpratio); + BA.debugLineNum = 82;BA.debugLine="Select mResizeMode"; +Debug.JustUpdateDeviceLine(); +switch (BA.switchObjectToInt(__ref.getField(true,"_mresizemode" /*RemoteObject*/ ),BA.ObjectToString("FILL"),BA.ObjectToString("FIT"),BA.ObjectToString("FILL_WIDTH"),BA.ObjectToString("FILL_HEIGHT"),BA.ObjectToString("FILL_NO_DISTORTIONS"),BA.ObjectToString("NONE"))) { +case 0: { + BA.debugLineNum = 84;BA.debugLine="ImageViewWidth = mBase.Width"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = BA.numberCast(float.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"));Debug.locals.put("ImageViewWidth", _imageviewwidth); + BA.debugLineNum = 85;BA.debugLine="ImageViewHeight = mBase.Height"; +Debug.JustUpdateDeviceLine(); +_imageviewheight = BA.numberCast(float.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"));Debug.locals.put("ImageViewHeight", _imageviewheight); + break; } +case 1: { + BA.debugLineNum = 87;BA.debugLine="Dim r As Float = Min(mBase.Width / mBitmap.Widt"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(float.class, b4ximageview.__c.runMethod(true,"Min",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "/",0, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "/",0, 0))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 88;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getWidth"),_r}, "*",0, 0));Debug.locals.put("ImageViewWidth", _imageviewwidth); + BA.debugLineNum = 89;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; +Debug.JustUpdateDeviceLine(); +_imageviewheight = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getHeight"),_r}, "*",0, 0));Debug.locals.put("ImageViewHeight", _imageviewheight); + break; } +case 2: { + BA.debugLineNum = 91;BA.debugLine="ImageViewWidth = mBase.Width"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = BA.numberCast(float.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"));Debug.locals.put("ImageViewWidth", _imageviewwidth); + BA.debugLineNum = 92;BA.debugLine="ImageViewHeight = ImageViewWidth / bmpRatio"; +Debug.JustUpdateDeviceLine(); +_imageviewheight = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_imageviewwidth,_bmpratio}, "/",0, 0));Debug.locals.put("ImageViewHeight", _imageviewheight); + break; } +case 3: { + BA.debugLineNum = 94;BA.debugLine="ImageViewHeight = mBase.Height"; +Debug.JustUpdateDeviceLine(); +_imageviewheight = BA.numberCast(float.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"));Debug.locals.put("ImageViewHeight", _imageviewheight); + BA.debugLineNum = 95;BA.debugLine="ImageViewWidth = ImageViewHeight * bmpRatio"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_imageviewheight,_bmpratio}, "*",0, 0));Debug.locals.put("ImageViewWidth", _imageviewwidth); + break; } +case 4: { + BA.debugLineNum = 97;BA.debugLine="Dim r As Float = Max(mBase.Width / mBitmap.Widt"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(float.class, b4ximageview.__c.runMethod(true,"Max",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "/",0, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"),__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getHeight")}, "/",0, 0))));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 98;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getWidth"),_r}, "*",0, 0));Debug.locals.put("ImageViewWidth", _imageviewwidth); + BA.debugLineNum = 99;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; +Debug.JustUpdateDeviceLine(); +_imageviewheight = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getHeight"),_r}, "*",0, 0));Debug.locals.put("ImageViewHeight", _imageviewheight); + break; } +case 5: { + BA.debugLineNum = 101;BA.debugLine="ImageViewWidth = mBitmap.Width"; +Debug.JustUpdateDeviceLine(); +_imageviewwidth = BA.numberCast(float.class, __ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getWidth"));Debug.locals.put("ImageViewWidth", _imageviewwidth); + BA.debugLineNum = 102;BA.debugLine="ImageViewHeight = mBitmap.Height"; +Debug.JustUpdateDeviceLine(); +_imageviewheight = BA.numberCast(float.class, __ref.getField(false,"_mbitmap" /*RemoteObject*/ ).runMethod(true,"getHeight"));Debug.locals.put("ImageViewHeight", _imageviewheight); + break; } +default: { + BA.debugLineNum = 104;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)"; +Debug.JustUpdateDeviceLine(); +b4ximageview.__c.runVoidMethod ("LogImpl","966912283",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",55,__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/SHARK2/keymon/com/mx/b4xinputtemplate.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xinputtemplate.java new file mode 100644 index 0000000..31f8098 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xinputtemplate.java @@ -0,0 +1,43 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xinputtemplate { + public static RemoteObject myClass; + public b4xinputtemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xinputtemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _text = RemoteObject.createImmutable(""); +public static RemoteObject _xdialog = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xdialog"); +public static RemoteObject _regexpattern = RemoteObject.createImmutable(""); +public static RemoteObject _textfield1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lbltitle = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _ime = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +public static RemoteObject _mallowdecimals = RemoteObject.createImmutable(false); +public static RemoteObject _bordercolor = RemoteObject.createImmutable(0); +public static RemoteObject _bordercolorinvalid = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"BorderColor",_ref.getField(false, "_bordercolor"),"BorderColorInvalid",_ref.getField(false, "_bordercolorinvalid"),"DateUtils",_ref.getField(false, "_dateutils"),"IME",_ref.getField(false, "_ime"),"lblTitle",_ref.getField(false, "_lbltitle"),"mAllowDecimals",_ref.getField(false, "_mallowdecimals"),"mBase",_ref.getField(false, "_mbase"),"RegexPattern",_ref.getField(false, "_regexpattern"),"Text",_ref.getField(false, "_text"),"TextField1",_ref.getField(false, "_textfield1"),"xDialog",_ref.getField(false, "_xdialog"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xinputtemplate_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xinputtemplate_subs_0.java new file mode 100644 index 0000000..8a2e06d --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xinputtemplate_subs_0.java @@ -0,0 +1,457 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xinputtemplate_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +b4xinputtemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xinputtemplate._xui); + //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; +b4xinputtemplate._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xinputtemplate._mbase); + //BA.debugLineNum = 4;BA.debugLine="Public Text As String"; +b4xinputtemplate._text = RemoteObject.createImmutable("");__ref.setField("_text",b4xinputtemplate._text); + //BA.debugLineNum = 5;BA.debugLine="Private xDialog As B4XDialog"; +b4xinputtemplate._xdialog = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xdialog");__ref.setField("_xdialog",b4xinputtemplate._xdialog); + //BA.debugLineNum = 6;BA.debugLine="Public RegexPattern As String"; +b4xinputtemplate._regexpattern = RemoteObject.createImmutable("");__ref.setField("_regexpattern",b4xinputtemplate._regexpattern); + //BA.debugLineNum = 7;BA.debugLine="Public TextField1 As B4XView"; +b4xinputtemplate._textfield1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_textfield1",b4xinputtemplate._textfield1); + //BA.debugLineNum = 8;BA.debugLine="Public lblTitle As B4XView"; +b4xinputtemplate._lbltitle = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lbltitle",b4xinputtemplate._lbltitle); + //BA.debugLineNum = 10;BA.debugLine="Private IME As IME"; +b4xinputtemplate._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",b4xinputtemplate._ime); + //BA.debugLineNum = 12;BA.debugLine="Private mAllowDecimals As Boolean"; +b4xinputtemplate._mallowdecimals = RemoteObject.createImmutable(false);__ref.setField("_mallowdecimals",b4xinputtemplate._mallowdecimals); + //BA.debugLineNum = 13;BA.debugLine="Private BorderColor = xui.Color_White, BorderColo"; +b4xinputtemplate._bordercolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White");__ref.setField("_bordercolor",b4xinputtemplate._bordercolor); +b4xinputtemplate._bordercolorinvalid = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Red");__ref.setField("_bordercolorinvalid",b4xinputtemplate._bordercolorinvalid); + //BA.debugLineNum = 14;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _configurefornumbers(RemoteObject __ref,RemoteObject _allowdecimals,RemoteObject _allownegative) throws Exception{ +try { + Debug.PushSubsStack("ConfigureForNumbers (b4xinputtemplate) ","b4xinputtemplate",56,__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",56,__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",56,__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",56,__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 (SHARK2.keymon.com.mx.b4xinputtemplate.class, "_setborder" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_bordercolor" /*RemoteObject*/ ))); + BA.debugLineNum = 31;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isvalid(RemoteObject __ref,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("IsValid (b4xinputtemplate) ","b4xinputtemplate",56,__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",56,__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",56,__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 (SHARK2.keymon.com.mx.b4xinputtemplate.class, "_setborder" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_bordercolor" /*RemoteObject*/ ))); + BA.debugLineNum = 38;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _show(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xinputtemplate) ","b4xinputtemplate",56,__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(SHARK2.keymon.com.mx.b4xinputtemplate parent,RemoteObject __ref,RemoteObject _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xinputtemplate parent; +RemoteObject _dialog; +RemoteObject _tf = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xinputtemplate) ","b4xinputtemplate",56,__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 (SHARK2.keymon.com.mx.b4xinputtemplate.class, "_validate" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_text" /*RemoteObject*/ ))); + BA.debugLineNum = 126;BA.debugLine="TextField1.RequestFocus"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_textfield1" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 128;BA.debugLine="Dim tf As EditText = TextField1"; +Debug.JustUpdateDeviceLine(); +_tf = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper"); +_tf = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), __ref.getField(false,"_textfield1" /*RemoteObject*/ ).getObject());Debug.locals.put("tf", _tf);Debug.locals.put("tf", _tf); + BA.debugLineNum = 129;BA.debugLine="tf.SelectAll"; +Debug.JustUpdateDeviceLine(); +_tf.runVoidMethod ("SelectAll"); + BA.debugLineNum = 130;BA.debugLine="IME.ShowKeyboard(TextField1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("ShowKeyboard",(Object)((__ref.getField(false,"_textfield1" /*RemoteObject*/ ).getObject()))); + BA.debugLineNum = 135;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _textfield1_action(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TextField1_Action (b4xinputtemplate) ","b4xinputtemplate",56,__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 (SHARK2.keymon.com.mx.b4xinputtemplate.class, "_textfield1_enterpressed" /*RemoteObject*/ ); + BA.debugLineNum = 109;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _textfield1_enterpressed(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TextField1_EnterPressed (b4xinputtemplate) ","b4xinputtemplate",56,__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 (SHARK2.keymon.com.mx.b4xinputtemplate.class, "_isvalid" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_textfield1" /*RemoteObject*/ ).runMethod(true,"getText"))).get().booleanValue()) { +__ref.getField(false,"_xdialog" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive")));}; + BA.debugLineNum = 113;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _textfield1_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("TextField1_TextChanged (b4xinputtemplate) ","b4xinputtemplate",56,__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 (SHARK2.keymon.com.mx.b4xinputtemplate.class, "_validate" /*RemoteObject*/ ,(Object)(_new)); + BA.debugLineNum = 84;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _validate(RemoteObject __ref,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("Validate (b4xinputtemplate) ","b4xinputtemplate",56,__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 (SHARK2.keymon.com.mx.b4xinputtemplate.class, "_isvalid" /*RemoteObject*/ ,(Object)(_new)),b4xinputtemplate.__c.getField(true,"False"))) { + BA.debugLineNum = 90;BA.debugLine="If New.Length > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_new.runMethod(true,"length"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 91;BA.debugLine="bc = BorderColorInvalid"; +Debug.JustUpdateDeviceLine(); +_bc = __ref.getField(true,"_bordercolorinvalid" /*RemoteObject*/ );Debug.locals.put("bc", _bc); + }; + BA.debugLineNum = 93;BA.debugLine="enabled = False"; +Debug.JustUpdateDeviceLine(); +_enabled = b4xinputtemplate.__c.getField(true,"False");Debug.locals.put("enabled", _enabled); + }; + BA.debugLineNum = 95;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xdialog" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xdialog.class, "_setbuttonstate" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive")),(Object)(_enabled)); + BA.debugLineNum = 96;BA.debugLine="SetBorder(bc)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xinputtemplate.class, "_setborder" /*RemoteObject*/ ,(Object)(_bc)); + BA.debugLineNum = 97;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xlisttemplate.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xlisttemplate.java new file mode 100644 index 0000000..c02f894 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xlisttemplate.java @@ -0,0 +1,42 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xlisttemplate { + public static RemoteObject myClass; + public b4xlisttemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xlisttemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _customlistview1 = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _options = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _selecteditem = RemoteObject.createImmutable(""); +public static RemoteObject _xdialog = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xdialog"); +public static RemoteObject _allowmultiselection = RemoteObject.createImmutable(false); +public static RemoteObject _selectioncolor = RemoteObject.createImmutable(0); +public static RemoteObject _selecteditems = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _multiselectionminimum = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AllowMultiSelection",_ref.getField(false, "_allowmultiselection"),"CustomListView1",_ref.getField(false, "_customlistview1"),"DateUtils",_ref.getField(false, "_dateutils"),"mBase",_ref.getField(false, "_mbase"),"MultiSelectionMinimum",_ref.getField(false, "_multiselectionminimum"),"Options",_ref.getField(false, "_options"),"SelectedItem",_ref.getField(false, "_selecteditem"),"SelectedItems",_ref.getField(false, "_selecteditems"),"SelectionColor",_ref.getField(false, "_selectioncolor"),"xDialog",_ref.getField(false, "_xdialog"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xlisttemplate_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xlisttemplate_subs_0.java new file mode 100644 index 0000000..0c880ba --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xlisttemplate_subs_0.java @@ -0,0 +1,431 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xlisttemplate_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +b4xlisttemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xlisttemplate._xui); + //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; +b4xlisttemplate._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xlisttemplate._mbase); + //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; +b4xlisttemplate._customlistview1 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_customlistview1",b4xlisttemplate._customlistview1); + //BA.debugLineNum = 5;BA.debugLine="Public Options As List"; +b4xlisttemplate._options = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_options",b4xlisttemplate._options); + //BA.debugLineNum = 6;BA.debugLine="Public SelectedItem As String"; +b4xlisttemplate._selecteditem = RemoteObject.createImmutable("");__ref.setField("_selecteditem",b4xlisttemplate._selecteditem); + //BA.debugLineNum = 7;BA.debugLine="Private xDialog As B4XDialog"; +b4xlisttemplate._xdialog = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xdialog");__ref.setField("_xdialog",b4xlisttemplate._xdialog); + //BA.debugLineNum = 8;BA.debugLine="Public AllowMultiSelection As Boolean"; +b4xlisttemplate._allowmultiselection = RemoteObject.createImmutable(false);__ref.setField("_allowmultiselection",b4xlisttemplate._allowmultiselection); + //BA.debugLineNum = 9;BA.debugLine="Public SelectionColor As Int = 0xAA0086FF"; +b4xlisttemplate._selectioncolor = BA.numberCast(int.class, ((int)0xaa0086ff));__ref.setField("_selectioncolor",b4xlisttemplate._selectioncolor); + //BA.debugLineNum = 10;BA.debugLine="Public SelectedItems As List"; +b4xlisttemplate._selecteditems = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_selecteditems",b4xlisttemplate._selecteditems); + //BA.debugLineNum = 11;BA.debugLine="Public MultiSelectionMinimum As Int = 0"; +b4xlisttemplate._multiselectionminimum = BA.numberCast(int.class, 0);__ref.setField("_multiselectionminimum",b4xlisttemplate._multiselectionminimum); + //BA.debugLineNum = 12;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _customlistview1_itemclick(RemoteObject __ref,RemoteObject _index,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("CustomListView1_ItemClick (b4xlisttemplate) ","b4xlisttemplate",57,__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 (SHARK2.keymon.com.mx.b4xlisttemplate.class, "_selectitem" /*RemoteObject*/ ,(Object)(_item),(Object)(b4xlisttemplate.__c.getField(true,"True"))); + }else { + BA.debugLineNum = 82;BA.debugLine="SelectedItem = Value"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selecteditem" /*RemoteObject*/ ,BA.ObjectToString(_value)); + BA.debugLineNum = 83;BA.debugLine="SelectedItems.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_selecteditems" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 84;BA.debugLine="SelectedItems.Add(Value)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_selecteditems" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_value)); + BA.debugLineNum = 85;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xdialog" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive"))); + }; + BA.debugLineNum = 87;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xlisttemplate) ","b4xlisttemplate",57,__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",57,__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",57,__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",57,__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",57,__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 (SHARK2.keymon.com.mx.b4xdialog.class, "_setbuttonstate" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive")),(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("g",__ref.getField(false,"_selecteditems" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, __ref.getField(true,"_multiselectionminimum" /*RemoteObject*/ )))))); + BA.debugLineNum = 73;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _show(RemoteObject __ref,RemoteObject _dialog) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xlisttemplate) ","b4xlisttemplate",57,__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(SHARK2.keymon.com.mx.b4xlisttemplate parent,RemoteObject __ref,RemoteObject _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xlisttemplate parent; +RemoteObject _dialog; +RemoteObject _opt = RemoteObject.declareNull("Object"); +int _i = 0; +RemoteObject _item = RemoteObject.declareNull("b4a.example3.customlistview._clvitem"); +RemoteObject group3; +int index3; +int groupLen3; +int step8; +int limit8; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xlisttemplate) ","b4xlisttemplate",57,__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 (SHARK2.keymon.com.mx.b4xlisttemplate.class, "_selectitem" /*RemoteObject*/ ,(Object)(_item),(Object)(parent.__c.getField(true,"False"))); + if (true) break; +if (true) break; + +case 10: +//C +this.state = 11; +Debug.locals.put("i", _i); +; + if (true) break; + +case 11: +//C +this.state = -1; +; + BA.debugLineNum = 54;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +Debug.JustUpdateDeviceLine(); +parent._xuiviewsutils.runVoidMethod ("_addstubtoclvifneeded" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_customlistview1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).getField(true,"_defaulttextbackgroundcolor"))); + BA.debugLineNum = 55;BA.debugLine="SelectedItem = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_selecteditem" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 57;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xloadingindicator.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xloadingindicator.java new file mode 100644 index 0000000..ec40e00 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xloadingindicator.java @@ -0,0 +1,42 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xloadingindicator { + public static RemoteObject myClass; + public b4xloadingindicator() { + } + public static PCBA staticBA = new PCBA(null, b4xloadingindicator.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _clr = RemoteObject.createImmutable(0); +public static RemoteObject _index = RemoteObject.createImmutable(0); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _duration = RemoteObject.createImmutable(0); +public static RemoteObject _drawingsubname = RemoteObject.createImmutable(""); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"clr",_ref.getField(false, "_clr"),"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"DrawingSubName",_ref.getField(false, "_drawingsubname"),"duration",_ref.getField(false, "_duration"),"index",_ref.getField(false, "_index"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"Tag",_ref.getField(false, "_tag"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xloadingindicator_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xloadingindicator_subs_0.java new file mode 100644 index 0000000..11b66a9 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xloadingindicator_subs_0.java @@ -0,0 +1,627 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xloadingindicator_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xloadingindicator) ","b4xloadingindicator",58,__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 (SHARK2.keymon.com.mx.b4xloadingindicator.class, "_mainloop" /*void*/ ); + BA.debugLineNum = 40;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 7;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 8;BA.debugLine="Private mEventName As String 'ignore"; +b4xloadingindicator._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4xloadingindicator._meventname); + //BA.debugLineNum = 9;BA.debugLine="Private mCallBack As Object 'ignore"; +b4xloadingindicator._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4xloadingindicator._mcallback); + //BA.debugLineNum = 10;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xloadingindicator._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xloadingindicator._mbase); + //BA.debugLineNum = 11;BA.debugLine="Private xui As XUI 'ignore"; +b4xloadingindicator._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xloadingindicator._xui); + //BA.debugLineNum = 12;BA.debugLine="Private clr As Int"; +b4xloadingindicator._clr = RemoteObject.createImmutable(0);__ref.setField("_clr",b4xloadingindicator._clr); + //BA.debugLineNum = 13;BA.debugLine="Private index As Int"; +b4xloadingindicator._index = RemoteObject.createImmutable(0);__ref.setField("_index",b4xloadingindicator._index); + //BA.debugLineNum = 14;BA.debugLine="Private cvs As B4XCanvas"; +b4xloadingindicator._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",b4xloadingindicator._cvs); + //BA.debugLineNum = 15;BA.debugLine="Private duration As Int"; +b4xloadingindicator._duration = RemoteObject.createImmutable(0);__ref.setField("_duration",b4xloadingindicator._duration); + //BA.debugLineNum = 16;BA.debugLine="Private DrawingSubName As String"; +b4xloadingindicator._drawingsubname = RemoteObject.createImmutable("");__ref.setField("_drawingsubname",b4xloadingindicator._drawingsubname); + //BA.debugLineNum = 17;BA.debugLine="Public Tag As Object"; +b4xloadingindicator._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4xloadingindicator._tag); + //BA.debugLineNum = 18;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xloadingindicator) ","b4xloadingindicator",58,__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 (SHARK2.keymon.com.mx.b4xloadingindicator.class, "_mainloop" /*void*/ ); + BA.debugLineNum = 35;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw_arc1(RemoteObject __ref,RemoteObject _progress) throws Exception{ +try { + Debug.PushSubsStack("Draw_Arc1 (b4xloadingindicator) ","b4xloadingindicator",58,__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",58,__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",58,__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",58,__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 (SHARK2.keymon.com.mx.b4xloadingindicator.class, "_setalpha" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_clr" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(255),RemoteObject.createImmutable(200),_progress}, "-*",1, 0))))),(Object)(b4xloadingindicator.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 134;BA.debugLine="Dim p As B4XPath"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XPath");Debug.locals.put("p", _p); + BA.debugLineNum = 135;BA.debugLine="Dim angle As Int = 70 * SinD(Progress * 180)"; +Debug.JustUpdateDeviceLine(); +_angle = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),b4xloadingindicator.__c.runMethod(true,"SinD",(Object)(RemoteObject.solve(new RemoteObject[] {_progress,RemoteObject.createImmutable(180)}, "*",0, 0)))}, "*",0, 0));Debug.locals.put("angle", _angle);Debug.locals.put("angle", _angle); + BA.debugLineNum = 136;BA.debugLine="Dim cx As Int = cvs.TargetRect.CenterX - 5dip"; +Debug.JustUpdateDeviceLine(); +_cx = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterX"),b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))}, "-",1, 0));Debug.locals.put("cx", _cx);Debug.locals.put("cx", _cx); + BA.debugLineNum = 137;BA.debugLine="Dim cy As Int = cvs.TargetRect.CenterY"; +Debug.JustUpdateDeviceLine(); +_cy = BA.numberCast(int.class, __ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY"));Debug.locals.put("cy", _cy);Debug.locals.put("cy", _cy); + BA.debugLineNum = 138;BA.debugLine="Dim r As Int = cvs.TargetRect.CenterY - 5dip"; +Debug.JustUpdateDeviceLine(); +_r = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect").runMethod(true,"getCenterY"),b4xloadingindicator.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))}, "-",1, 0));Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 139;BA.debugLine="If angle = 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_angle,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 140;BA.debugLine="cvs.DrawCircle(cx, cy, r, clr, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawCircle",(Object)(BA.numberCast(float.class, _cx)),(Object)(BA.numberCast(float.class, _cy)),(Object)(BA.numberCast(float.class, _r)),(Object)(__ref.getField(true,"_clr" /*RemoteObject*/ )),(Object)(b4xloadingindicator.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + }else { + BA.debugLineNum = 142;BA.debugLine="p.InitializeArc(cx, cy , r, -angle / 2, -(360-an"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("InitializeArc",(Object)(BA.numberCast(float.class, _cx)),(Object)(BA.numberCast(float.class, _cy)),(Object)(BA.numberCast(float.class, _r)),(Object)(BA.numberCast(float.class, -(double) (0 + _angle.get().intValue())/(double)(double) (0 + 2))),(Object)(BA.numberCast(float.class, -(double) (0 + (RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(360),_angle}, "-",1, 1)).get().intValue())))); + BA.debugLineNum = 143;BA.debugLine="cvs.ClipPath(p)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("ClipPath",(Object)(_p)); + BA.debugLineNum = 144;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("DrawRect",(Object)(__ref.getField(false,"_cvs" /*RemoteObject*/ ).runMethod(false,"getTargetRect")),(Object)(__ref.getField(true,"_clr" /*RemoteObject*/ )),(Object)(b4xloadingindicator.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + BA.debugLineNum = 145;BA.debugLine="cvs.RemoveClip"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_cvs" /*RemoteObject*/ ).runVoidMethod ("RemoveClip"); + }; + BA.debugLineNum = 148;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw_singlecircle(RemoteObject __ref,RemoteObject _progress) throws Exception{ +try { + Debug.PushSubsStack("Draw_SingleCircle (b4xloadingindicator) ","b4xloadingindicator",58,__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 (SHARK2.keymon.com.mx.b4xloadingindicator.class, "_setalpha" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_clr" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(255),RemoteObject.createImmutable(255),_progress}, "-*",1, 0))))),(Object)(b4xloadingindicator.__c.getField(true,"True")),(Object)(BA.numberCast(float.class, 0))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 89;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw_threecircles1(RemoteObject __ref,RemoteObject _progress) throws Exception{ +try { + Debug.PushSubsStack("Draw_ThreeCircles1 (b4xloadingindicator) ","b4xloadingindicator",58,__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",58,__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",58,__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",58,__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",58,__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(SHARK2.keymon.com.mx.b4xloadingindicator parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xloadingindicator parent; +RemoteObject _myindex = RemoteObject.createImmutable(0); +RemoteObject _n = RemoteObject.createImmutable(0L); +RemoteObject _progress = RemoteObject.createImmutable(0f); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("MainLoop (b4xloadingindicator) ","b4xloadingindicator",58,__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",58,__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",58,__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 (SHARK2.keymon.com.mx.b4xloadingindicator.class, "_mainloop" /*void*/ ); + BA.debugLineNum = 59;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xlongtexttemplate.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xlongtexttemplate.java new file mode 100644 index 0000000..e83aadf --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xlongtexttemplate.java @@ -0,0 +1,36 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xlongtexttemplate { + public static RemoteObject myClass; + public b4xlongtexttemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xlongtexttemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _customlistview1 = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _text = RemoteObject.declareNull("Object"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"CustomListView1",_ref.getField(false, "_customlistview1"),"DateUtils",_ref.getField(false, "_dateutils"),"mBase",_ref.getField(false, "_mbase"),"Text",_ref.getField(false, "_text"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xlongtexttemplate_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xlongtexttemplate_subs_0.java new file mode 100644 index 0000000..a7c1c9f --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xlongtexttemplate_subs_0.java @@ -0,0 +1,157 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xlongtexttemplate_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +b4xlongtexttemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xlongtexttemplate._xui); + //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; +b4xlongtexttemplate._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xlongtexttemplate._mbase); + //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; +b4xlongtexttemplate._customlistview1 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_customlistview1",b4xlongtexttemplate._customlistview1); + //BA.debugLineNum = 5;BA.debugLine="Public Text As Object"; +b4xlongtexttemplate._text = RemoteObject.createNew ("Object");__ref.setField("_text",b4xlongtexttemplate._text); + //BA.debugLineNum = 6;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xlongtexttemplate) ","b4xlongtexttemplate",59,__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",59,__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",59,__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",59,__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",59,__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/SHARK2/keymon/com/mx/b4xmainpage.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xmainpage.java new file mode 100644 index 0000000..d8e8050 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xmainpage.java @@ -0,0 +1,132 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xmainpage { + public static RemoteObject myClass; + public b4xmainpage() { + } + public static PCBA staticBA = new PCBA(null, b4xmainpage.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _s = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_subs"); +public static RemoteObject _login = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xmainpage"); +public static RemoteObject _principal = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_principal"); +public static RemoteObject _clientes = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_clientes"); +public static RemoteObject _cliente = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_cliente"); +public static RemoteObject _productos = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_productos"); +public static RemoteObject _updateavailable = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_updateavailable"); +public static RemoteObject _mapas = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_mapas"); +public static RemoteObject _nuevocliente = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_nuevocliente"); +public static RemoteObject _ticketsdia = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_ticketsdia"); +public static RemoteObject _noventa = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_noventa"); +public static RemoteObject _nota = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_nota"); +public static RemoteObject _pedidos = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_pedidos"); +public static RemoteObject _promos = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_promos"); +public static RemoteObject _historico = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_historico"); +public static RemoteObject _provider = RemoteObject.declareNull("SHARK2.keymon.com.mx.fileprovider"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager"); +public static RemoteObject _v = RemoteObject.createImmutable(""); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _lat_gps = RemoteObject.createImmutable(""); +public static RemoteObject _lon_gps = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _batt = RemoteObject.createImmutable(0); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _montoactual = RemoteObject.createImmutable(""); +public static RemoteObject _clientestotal = RemoteObject.createImmutable(""); +public static RemoteObject _clientesventa = RemoteObject.createImmutable(""); +public static RemoteObject _clientesvisitados = RemoteObject.createImmutable(""); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _rutapreventa = RemoteObject.createImmutable(""); +public static RemoteObject _dbreqserver = RemoteObject.createImmutable(""); +public static RemoteObject _fecharuta = RemoteObject.createImmutable(""); +public static RemoteObject _logger = RemoteObject.createImmutable(false); +public static RemoteObject _mac_impresora = RemoteObject.createImmutable(""); +public static RemoteObject _phn = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.PhoneId"); +public static RemoteObject _user = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _pass = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _tabulador = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_tabulador"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _existe = RemoteObject.createImmutable(""); +public static RemoteObject _paso1 = RemoteObject.createImmutable(""); +public static RemoteObject _imen = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _imei = RemoteObject.createImmutable(""); +public static RemoteObject _alterno = RemoteObject.createImmutable(""); +public static RemoteObject _b_menu = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _popupmenu = RemoteObject.declareNull("com.rootsoft.rspopupmenu.RSPopupMenu"); +public static RemoteObject _cmd = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand"); +public static RemoteObject _pdf = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _bpv1 = RemoteObject.declareNull("batteryprogressviewwrapper.batteryprogressviewWrapper"); +public static RemoteObject _batterystatus = null; +public static RemoteObject _bu = RemoteObject.declareNull("SHARK2.keymon.com.mx.batteryutilities"); +public static RemoteObject _b_apk = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _i_engrane = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _p_main = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_appupdate = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_regesar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_version = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _imageview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _entrar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _tipo_venta = RemoteObject.createImmutable(""); +public static RemoteObject _bterminarclicked = RemoteObject.createImmutable(false); +public static RemoteObject _lv_server = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _l_server = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_enviarbd = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_importarbd = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _ime = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +public static RemoteObject _mes1 = RemoteObject.declareNull("SHARK2.keymon.com.mx.manageexternalstorage"); +public static RemoteObject _device = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +public static RemoteObject _et_server = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_guardar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _panel11 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _clv_pick_ciego = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _p_pick_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _et_pick_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _l_pick_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _panel4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _q_buscar = RemoteObject.createImmutable(""); +public static RemoteObject _et_buspc = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _d = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +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 _idenviar = RemoteObject.createImmutable(""); +public static RemoteObject _et_codigo = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +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 _p_validacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_recarga = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _recarga = RemoteObject.createImmutable(""); +public static RemoteObject _p_add_monto = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +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 _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"a",_ref.getField(false, "_a"),"almacen",_ref.getField(false, "_almacen"),"alterno",_ref.getField(false, "_alterno"),"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_enviarbd",_ref.getField(false, "_b_enviarbd"),"b_guardar",_ref.getField(false, "_b_guardar"),"b_importarBD",_ref.getField(false, "_b_importarbd"),"b_menu",_ref.getField(false, "_b_menu"),"b_recarga",_ref.getField(false, "_b_recarga"),"b_regesar",_ref.getField(false, "_b_regesar"),"batt",_ref.getField(false, "_batt"),"batterystatus",_ref.getField(false, "_batterystatus"),"bpv1",_ref.getField(false, "_bpv1"),"bTerminarClicked",_ref.getField(false, "_bterminarclicked"),"bu",_ref.getField(false, "_bu"),"c",_ref.getField(false, "_c"),"c2",_ref.getField(false, "_c2"),"cliente",_ref.getField(false, "_cliente"),"clientes",_ref.getField(false, "_clientes"),"clientesTotal",_ref.getField(false, "_clientestotal"),"clientesVenta",_ref.getField(false, "_clientesventa"),"clientesVisitados",_ref.getField(false, "_clientesvisitados"),"CLV_PICK_CIEGO",_ref.getField(false, "_clv_pick_ciego"),"cmd",_ref.getField(false, "_cmd"),"d",_ref.getField(false, "_d"),"DateUtils",_ref.getField(false, "_dateutils"),"DBReqServer",_ref.getField(false, "_dbreqserver"),"device",_ref.getField(false, "_device"),"Entrar",_ref.getField(false, "_entrar"),"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"),"historico",_ref.getField(false, "_historico"),"i_engrane",_ref.getField(false, "_i_engrane"),"idenviar",_ref.getField(false, "_idenviar"),"ImageView1",_ref.getField(false, "_imageview1"),"ime",_ref.getField(false, "_ime"),"IMEI",_ref.getField(false, "_imei"),"IMEN",_ref.getField(false, "_imen"),"L_PICK_CIEGO",_ref.getField(false, "_l_pick_ciego"),"l_server",_ref.getField(false, "_l_server"),"l_version",_ref.getField(false, "_l_version"),"Label2",_ref.getField(false, "_label2"),"lat_gps",_ref.getField(false, "_lat_gps"),"Logger",_ref.getField(false, "_logger"),"login",_ref.getField(false, "_login"),"lon_gps",_ref.getField(false, "_lon_gps"),"lv_server",_ref.getField(false, "_lv_server"),"mac_impresora",_ref.getField(false, "_mac_impresora"),"mapas",_ref.getField(false, "_mapas"),"MES1",_ref.getField(false, "_mes1"),"montoActual",_ref.getField(false, "_montoactual"),"nota",_ref.getField(false, "_nota"),"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_Main",_ref.getField(false, "_p_main"),"P_PICK_CIEGO",_ref.getField(false, "_p_pick_ciego"),"p_validacion",_ref.getField(false, "_p_validacion"),"Panel11",_ref.getField(false, "_panel11"),"Panel4",_ref.getField(false, "_panel4"),"paso1",_ref.getField(false, "_paso1"),"pass",_ref.getField(false, "_pass"),"PDF",_ref.getField(false, "_pdf"),"pedidos",_ref.getField(false, "_pedidos"),"Phn",_ref.getField(false, "_phn"),"PopupMenu",_ref.getField(false, "_popupmenu"),"principal",_ref.getField(false, "_principal"),"productos",_ref.getField(false, "_productos"),"promos",_ref.getField(false, "_promos"),"Provider",_ref.getField(false, "_provider"),"q_buscar",_ref.getField(false, "_q_buscar"),"recarga",_ref.getField(false, "_recarga"),"reqManager",_ref.getField(false, "_reqmanager"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"rutaPreventa",_ref.getField(false, "_rutapreventa"),"s",_ref.getField(false, "_s"),"sDate",_ref.getField(false, "_sdate"),"skmt",_ref.getField(false, "_skmt"),"sTime",_ref.getField(false, "_stime"),"tabulador",_ref.getField(false, "_tabulador"),"tgl",_ref.getField(false, "_tgl"),"ticketsDia",_ref.getField(false, "_ticketsdia"),"tipo_venta",_ref.getField(false, "_tipo_venta"),"updateAvailable",_ref.getField(false, "_updateavailable"),"user",_ref.getField(false, "_user"),"usuario",_ref.getField(false, "_usuario"),"v",_ref.getField(false, "_v"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xmainpage_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xmainpage_subs_0.java new file mode 100644 index 0000000..e8e9039 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xmainpage_subs_0.java @@ -0,0 +1,4455 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xmainpage_subs_0 { + + +public static RemoteObject _b_aceptar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_aceptar_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1246); +if (RapidSub.canDelegate("b_aceptar_click")) { return __ref.runUserSub(false, "b4xmainpage","b_aceptar_click", __ref);} + BA.debugLineNum = 1246;BA.debugLine="Private Sub b_aceptar_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 1247;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info")))); + BA.debugLineNum = 1248;BA.debugLine="f.Position=0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1250;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM"; +Debug.ShouldStop(2); +__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 1251;BA.debugLine="If a.RowCount>0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1252;BA.debugLine="a.Position=0"; +Debug.ShouldStop(8); +__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + }; + BA.debugLineNum = 1254;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; +Debug.ShouldStop(32); +b4xmainpage.__c.runVoidMethod ("LogImpl","53538952",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),0); + BA.debugLineNum = 1255;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; +Debug.ShouldStop(64); +b4xmainpage.__c.runVoidMethod ("LogImpl","53538953",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),0); + BA.debugLineNum = 1257;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(256); +b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 1258;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1259;BA.debugLine="cmd.Name = \"select_CAT_PASS_ARQUEO_SHARK2\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_CAT_PASS_ARQUEO_SHARK2")); + BA.debugLineNum = 1260;BA.debugLine="cmd.Parameters = Array As Object(f.GetString(\"CAT"; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))),(__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))),(RemoteObject.createImmutable("PREVENTA"))})); + BA.debugLineNum = 1261;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"contrasena\")"; +Debug.ShouldStop(4096); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("contrasena")))); + BA.debugLineNum = 1262;BA.debugLine="f.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1263;BA.debugLine="a.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1264;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_aceptar_monto_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_Aceptar_Monto_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1266); +if (RapidSub.canDelegate("b_aceptar_monto_click")) { return __ref.runUserSub(false, "b4xmainpage","b_aceptar_monto_click", __ref);} +RemoteObject _ci = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _u = RemoteObject.createImmutable(""); +RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 1266;BA.debugLine="Private Sub B_Aceptar_Monto_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 1268;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(524288); +b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1269;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(1048576); +__ref.setField ("_sdate" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1270;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(2097152); +__ref.setField ("_stime" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1272;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info")))); + BA.debugLineNum = 1273;BA.debugLine="f.Position=0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1275;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 1276;BA.debugLine="If a.RowCount>0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1277;BA.debugLine="a.Position=0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + }; + BA.debugLineNum = 1280;BA.debugLine="Private cI As Cursor"; +Debug.ShouldStop(-2147483648); +_ci = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("cI", _ci); + BA.debugLineNum = 1281;BA.debugLine="Private u As String = \"SinUsuario\""; +Debug.ShouldStop(1); +_u = BA.ObjectToString("SinUsuario");Debug.locals.put("u", _u);Debug.locals.put("u", _u); + BA.debugLineNum = 1282;BA.debugLine="cI=Starter.skmt.ExecQuery(\"select USUARIO from us"; +Debug.ShouldStop(2); +_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 = 1283;BA.debugLine="cI.Position=0"; +Debug.ShouldStop(4); +_ci.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1284;BA.debugLine="If cI.RowCount > 0 Then u = cI.GetString(\"USUARIO"; +Debug.ShouldStop(8); +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 = 1285;BA.debugLine="Private g As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(16); +_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._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_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 = 1286;BA.debugLine="If g.RowCount = 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_g.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1287;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(64); +b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO ENV_MONTO_LIQ VALUES (?,?,?,?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(__ref.getField(false,"_et_add_monto" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))),(_u),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))}))))); + BA.debugLineNum = 1288;BA.debugLine="f.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1289;BA.debugLine="a.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1291;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MON"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM ENV_MONTO_LIQ")))); + BA.debugLineNum = 1292;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 = 1293;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1294;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8192); +b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 1295;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1296;BA.debugLine="cmd.Name = \"select_MontoCuenta_SHARK2\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_MontoCuenta_SHARK2")); + BA.debugLineNum = 1298;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"EM"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA"))))})); + BA.debugLineNum = 1299;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLiq"; +Debug.ShouldStop(262144); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("SelectMontoLiq")))); + }; + BA.debugLineNum = 1303;BA.debugLine="c.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 1305;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE ENV_MONTO_LIQ"; +Debug.ShouldStop(16777216); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE ENV_MONTO_LIQ SET EML_MONTO = ? WHERE EML_ALMACEN = ? AND EML_RUTA = ? AND EML_USUARIO = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {4},new Object[] {__ref.getField(false,"_et_add_monto" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),_ci.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))}))))); + BA.debugLineNum = 1306;BA.debugLine="f.Close"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1307;BA.debugLine="a.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1309;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MO"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM ENV_MONTO_LIQ")))); + BA.debugLineNum = 1310;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1311;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1312;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(-2147483648); +b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 1313;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1314;BA.debugLine="cmd.Name = \"select_MontoCuenta_SHARK2\""; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_MontoCuenta_SHARK2")); + BA.debugLineNum = 1316;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"E"; +Debug.ShouldStop(8); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA"))))})); + BA.debugLineNum = 1317;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi"; +Debug.ShouldStop(16); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("SelectMontoLiq")))); + }; + BA.debugLineNum = 1321;BA.debugLine="c.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 1325;BA.debugLine="p_add_monto.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + 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 _b_apk_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_apk_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,961); +if (RapidSub.canDelegate("b_apk_click")) { return __ref.runUserSub(false, "b4xmainpage","b_apk_click", __ref);} + BA.debugLineNum = 961;BA.debugLine="Sub b_apk_Click"; +Debug.ShouldStop(1); + BA.debugLineNum = 962;BA.debugLine="StartService(appUpdater)"; +Debug.ShouldStop(2); +b4xmainpage.__c.runVoidMethod ("StartService",__ref.getField(false, "ba"),(Object)((b4xmainpage._appupdater.getObject()))); + BA.debugLineNum = 963;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +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,1028); +if (RapidSub.canDelegate("b_arqueocieego_click")) { return __ref.runUserSub(false, "b4xmainpage","b_arqueocieego_click", __ref);} + BA.debugLineNum = 1028;BA.debugLine="Private Sub b_arqueocieego_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 1029;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM CAT_GUNAPROD3\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM CAT_GUNAPROD3")))); + BA.debugLineNum = 1030;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 = 1031;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; +Debug.ShouldStop(64); +b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_validacion" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 1032;BA.debugLine="recarga = \"0\""; +Debug.ShouldStop(128); +__ref.setField ("_recarga" /*RemoteObject*/ ,BA.ObjectToString("0")); + }else { + BA.debugLineNum = 1034;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; +Debug.ShouldStop(512); +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 = 1036;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +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,1336); +if (RapidSub.canDelegate("b_can_monto_click")) { return __ref.runUserSub(false, "b4xmainpage","b_can_monto_click", __ref);} + BA.debugLineNum = 1336;BA.debugLine="Private Sub B_Can_Monto_Click"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 1337;BA.debugLine="p_add_monto.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 1338;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +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,1332); +if (RapidSub.canDelegate("b_cancelarcodigo_click")) { return __ref.runUserSub(false, "b4xmainpage","b_cancelarcodigo_click", __ref);} + BA.debugLineNum = 1332;BA.debugLine="Private Sub b_cancelarcodigo_Click"; +Debug.ShouldStop(524288); + BA.debugLineNum = 1333;BA.debugLine="p_validacion.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 1334;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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,1374); +if (RapidSub.canDelegate("b_cargarmonto_click")) { return __ref.runUserSub(false, "b4xmainpage","b_cargarmonto_click", __ref);} + BA.debugLineNum = 1374;BA.debugLine="Private Sub b_CargarMonto_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 1375;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM kmt_info\")"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM kmt_info")))); + BA.debugLineNum = 1376;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1377;BA.debugLine="If c.RowCount < 0 Or c.RowCount = 0 Then"; +Debug.ShouldStop(1); +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 = 1378;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; +Debug.ShouldStop(2); +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 = 1380;BA.debugLine="Subs.panelVisible(p_add_monto,0,0)"; +Debug.ShouldStop(8); +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 = 1382;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1383;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_enviarbd_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_enviarbd_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1010); +if (RapidSub.canDelegate("b_enviarbd_click")) { return __ref.runUserSub(false, "b4xmainpage","b_enviarbd_click", __ref);} + BA.debugLineNum = 1010;BA.debugLine="Private Sub b_enviarbd_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 1012;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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,1340); +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(SHARK2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xmainpage parent; +RemoteObject _filename = RemoteObject.createImmutable(""); +RemoteObject _email = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.Email"); +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("b_envioBD_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1340); +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 = 1343;BA.debugLine="Dim FileName As String = \"kmt.db\""; +Debug.ShouldStop(1073741824); +_filename = BA.ObjectToString("kmt.db");Debug.locals.put("FileName", _filename);Debug.locals.put("FileName", _filename); + BA.debugLineNum = 1345;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("LogImpl","53801093",RemoteObject.concat(RemoteObject.createImmutable("xxxxxx:"),__ref.getField(false,"_provider" /*RemoteObject*/ ).getField(true,"_sharedfolder" /*RemoteObject*/ )),0); + BA.debugLineNum = 1346;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(2); +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 = 1347;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh"; +Debug.ShouldStop(4); +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 = 1348;BA.debugLine="Dim email As Email"; +Debug.ShouldStop(8); +_email = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.Email");Debug.locals.put("email", _email); + BA.debugLineNum = 1349;BA.debugLine="email.To.Add(\"soporte@keymonsoft.com\")"; +Debug.ShouldStop(16); +_email.getField(false,"To").runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("soporte@keymonsoft.com")))); + BA.debugLineNum = 1350;BA.debugLine="email.Subject = \"Envio Base de datos SHARK2\""; +Debug.ShouldStop(32); +_email.setField ("Subject",BA.ObjectToString("Envio Base de datos SHARK2")); + BA.debugLineNum = 1351;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam"; +Debug.ShouldStop(64); +_email.getField(false,"Attachments").runVoidMethod ("Add",(Object)(__ref.getField(false,"_provider" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.fileprovider.class, "_getfileuri" /*RemoteObject*/ ,(Object)(_filename)))); + BA.debugLineNum = 1353;BA.debugLine="Dim in As Intent = email.GetIntent"; +Debug.ShouldStop(256); +_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 = 1354;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; +Debug.ShouldStop(512); +_in.runMethod(true,"setFlags",BA.numberCast(int.class, 1)); + BA.debugLineNum = 1355;BA.debugLine="StartActivity(in)"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_in.getObject()))); + BA.debugLineNum = 1356;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +if (true) break; + + } + } + } +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 (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1023); +if (RapidSub.canDelegate("b_guardar_click")) { return __ref.runUserSub(false, "b4xmainpage","b_guardar_click", __ref);} + BA.debugLineNum = 1023;BA.debugLine="Private Sub b_guardar_Click"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 1024;BA.debugLine="Starter.reinicializaReqManager(et_server.Text.Tri"; +Debug.ShouldStop(-2147483648); +b4xmainpage._starter.runVoidMethod ("_reinicializareqmanager" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"))); + BA.debugLineNum = 1025;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 = 1026;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b_importarbd_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_importarBD_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1014); +if (RapidSub.canDelegate("b_importarbd_click")) { __ref.runUserSub(false, "b4xmainpage","b_importarbd_click", __ref); return;} +ResumableSub_b_importarBD_Click rsub = new ResumableSub_b_importarBD_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_b_importarBD_Click extends BA.ResumableSub { +public ResumableSub_b_importarBD_Click(SHARK2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xmainpage parent; +RemoteObject _fh = RemoteObject.declareNull("SHARK2.keymon.com.mx.filehandler"); +RemoteObject _result = RemoteObject.declareNull("SHARK2.keymon.com.mx.filehandler._loadresult"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("b_importarBD_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1014); +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 = 1015;BA.debugLine="Private FH As FileHandler"; +Debug.ShouldStop(4194304); +_fh = RemoteObject.createNew ("SHARK2.keymon.com.mx.filehandler");Debug.locals.put("FH", _fh); + BA.debugLineNum = 1016;BA.debugLine="FH.Initialize"; +Debug.ShouldStop(8388608); +_fh.runClassMethod (SHARK2.keymon.com.mx.filehandler.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 1017;BA.debugLine="Wait For (FH.Load) Complete (Result As LoadResult"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("WaitFor","complete", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b_importarbd_click"), _fh.runClassMethod (SHARK2.keymon.com.mx.filehandler.class, "_load" /*RemoteObject*/ )); +this.state = 1; +return; +case 1: +//C +this.state = -1; +_result = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 1018;BA.debugLine="File.Copy(Result.Dir, Result.FileName, File.DirIn"; +Debug.ShouldStop(33554432); +parent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(_result.getField(true,"Dir" /*RemoteObject*/ )),(Object)(_result.getField(true,"FileName" /*RemoteObject*/ )),(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmt.db"))); + BA.debugLineNum = 1019;BA.debugLine="B4XPages.MainPage.skmt.Initialize(Starter.ruta,\"k"; +Debug.ShouldStop(67108864); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(parent._starter._ruta /*RemoteObject*/ ),(Object)(BA.ObjectToString("kmt.db")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 1020;BA.debugLine="ToastMessageShow(\"¡BD importada!\", False)"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("¡BD importada!")),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 1021;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +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 _b_menu_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_menu_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,887); +if (RapidSub.canDelegate("b_menu_click")) { return __ref.runUserSub(false, "b4xmainpage","b_menu_click", __ref);} + BA.debugLineNum = 887;BA.debugLine="Sub b_menu_Click"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 888;BA.debugLine="PopupMenu.Show"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_popupmenu" /*RemoteObject*/ ).runVoidMethod ("Show"); + BA.debugLineNum = 889;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +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 (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1117); +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; + BA.debugLineNum = 1117;BA.debugLine="Private Sub B_PC_ENV_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 1119;BA.debugLine="Dim sDate, sTime As String"; +Debug.ShouldStop(1073741824); +b4xmainpage._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",b4xmainpage._sdate); +b4xmainpage._stime = RemoteObject.createImmutable("");__ref.setField("_stime",b4xmainpage._stime); + BA.debugLineNum = 1120;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(-2147483648); +b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 1121;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(1); +b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 1122;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(2); +__ref.setField ("_sdate" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1123;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(4); +__ref.setField ("_stime" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1126;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; +Debug.ShouldStop(32); +{ +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 = 1128;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; +Debug.ShouldStop(128); +_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 = 1129;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; +Debug.ShouldStop(256); +_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 = 1130;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; +Debug.ShouldStop(512); +_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 = 1131;BA.debugLine="Dim inputText As String = editText.As(EditText)."; +Debug.ShouldStop(1024); +_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 = 1134;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(".",b4xmainpage.__c.getField(false,"Regex").runMethod(true,"IsMatch",(Object)(BA.ObjectToString("^[0]+$")),(Object)(_inputtext))) || RemoteObject.solveBoolean("=",_inputtext,BA.ObjectToString(""))) { + BA.debugLineNum = 1135;BA.debugLine="inputText = \"0\""; +Debug.ShouldStop(16384); +_inputtext = BA.ObjectToString("0");Debug.locals.put("inputText", _inputtext); + }; + BA.debugLineNum = 1139;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; +Debug.ShouldStop(262144); +_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 = 1140;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; +Debug.ShouldStop(524288); +_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 = 1141;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; +Debug.ShouldStop(1048576); +_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 = 1143;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info")))); + BA.debugLineNum = 1144;BA.debugLine="f.Position=0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1146;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 1147;BA.debugLine="If a.RowCount>0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1148;BA.debugLine="a.Position=0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + }; + BA.debugLineNum = 1153;BA.debugLine="If inputText <> \"\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("!",_inputtext,BA.ObjectToString(""))) { + BA.debugLineNum = 1154;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; +Debug.ShouldStop(2); +__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 = 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 = 1157;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PICK_CIEGO(PC_"; +Debug.ShouldStop(16); +__ref.getField(false,"_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("CAT_CL_RUTA"))),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + }else { + BA.debugLineNum = 1159;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update P"; +Debug.ShouldStop(64); +b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_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 = 1162;BA.debugLine="f.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1163;BA.debugLine="a.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1166;BA.debugLine="et_buspc.Text = \"\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_et_buspc" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 1167;BA.debugLine="CLV_PICK_CIEGO.Clear"; +Debug.ShouldStop(16384); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 1169;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_recarga_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_recarga_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1358); +if (RapidSub.canDelegate("b_recarga_click")) { return __ref.runUserSub(false, "b4xmainpage","b_recarga_click", __ref);} + BA.debugLineNum = 1358;BA.debugLine="Private Sub b_recarga_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 1359;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM CAT_GUNAPROD\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM CAT_GUNAPROD")))); + BA.debugLineNum = 1360;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 = 1362;BA.debugLine="recarga = \"1\""; +Debug.ShouldStop(131072); +__ref.setField ("_recarga" /*RemoteObject*/ ,BA.ObjectToString("1")); + BA.debugLineNum = 1364;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +Debug.ShouldStop(524288); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 1365;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA"; +Debug.ShouldStop(1048576); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("1"))}))))); + BA.debugLineNum = 1366;BA.debugLine="B4XPages.MainPage.tipo_venta = \"RECARGA\""; +Debug.ShouldStop(2097152); +b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("RECARGA")); + BA.debugLineNum = 1367;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(4194304); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }else { + BA.debugLineNum = 1369;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; +Debug.ShouldStop(16777216); +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 = 1371;BA.debugLine="c.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1372;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +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,989); +if (RapidSub.canDelegate("b_regesar_click")) { return __ref.runUserSub(false, "b4xmainpage","b_regesar_click", __ref);} + BA.debugLineNum = 989;BA.debugLine="Sub b_regesar_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 990;BA.debugLine="Subs.panelVisible(p_Main,0,0)"; +Debug.ShouldStop(536870912); +b4xmainpage._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_main" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 991;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +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,1171); +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(SHARK2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.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; +int step12; +int limit12; +int step49; +int limit49; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("b_terpc_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1171); +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 = 1172;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 = 1173;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 = 41; +return; +case 41: +//C +this.state = 1; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 1174;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 1: +//if +this.state = 40; +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 = 1175;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 = 1176;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 = 42; +return; +case 42: +//C +this.state = 4; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 1177;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(16777216); +if (true) break; + +case 4: +//if +this.state = 39; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 6; +}else { +this.state = 38; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 1179;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 = 1180;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 = 1181;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 = 1182;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 = 1183;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 = 1185;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 = 43; +if (true) break; + +case 43: +//C +this.state = 28; +if ((step12 > 0 && _i <= limit12) || (step12 < 0 && _i >= limit12)) this.state = 9; +if (true) break; + +case 44: +//C +this.state = 43; +_i = ((int)(0 + _i + step12)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 1187;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 = 1188;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 = 1189;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 = 1190;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 = 1193;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 = 1194;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 = 1198;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 = 1199;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 = 1200;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 = 1202;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(131072); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info")))); + BA.debugLineNum = 1203;BA.debugLine="f.Position=0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1205;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 1206;BA.debugLine="If a.RowCount>0 Then"; +Debug.ShouldStop(2097152); +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 = 1207;BA.debugLine="a.Position=0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + if (true) break; + +case 17: +//C +this.state = 18; +; + BA.debugLineNum = 1209;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("LogImpl","53473446",__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),0); + BA.debugLineNum = 1210;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("LogImpl","53473447",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))),0); + BA.debugLineNum = 1211;BA.debugLine="If inputText <> \"\" Then"; +Debug.ShouldStop(67108864); +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 = 1212;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PI"; +Debug.ShouldStop(134217728); +__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 = 1213;BA.debugLine="If c.RowCount = 0 Then"; +Debug.ShouldStop(268435456); +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 = 1215;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PICK_CIEGO(P"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_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("CAT_CL_RUTA"))),RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + if (true) break; + +case 25: +//C +this.state = 26; + BA.debugLineNum = 1217;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update"; +Debug.ShouldStop(1); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_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 = 44; +; + BA.debugLineNum = 1220;BA.debugLine="f.Close"; +Debug.ShouldStop(8); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1221;BA.debugLine="a.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1222;BA.debugLine="Log(\"Processed item \" & i)"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("LogImpl","53473459",RemoteObject.concat(RemoteObject.createImmutable("Processed item "),RemoteObject.createImmutable(_i)),0); + if (true) break; +if (true) break; + +case 28: +//C +this.state = 29; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 1224;BA.debugLine="Log(\"Finished processing all items\")"; +Debug.ShouldStop(128); +parent.__c.runVoidMethod ("LogImpl","53473461",RemoteObject.createImmutable("Finished processing all items"),0); + BA.debugLineNum = 1225;BA.debugLine="P_CIEGO.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 1226;BA.debugLine="et_buspc.Text = \"\""; +Debug.ShouldStop(512); +__ref.getField(false,"_et_buspc" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 1227;BA.debugLine="CLV_PICK_CIEGO.Clear"; +Debug.ShouldStop(1024); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 1228;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD,"; +Debug.ShouldStop(2048); +__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 = 1229;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (true) break; + +case 29: +//if +this.state = 36; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 31; +}if (true) break; + +case 31: +//C +this.state = 32; + BA.debugLineNum = 1230;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(8192); +if (true) break; + +case 32: +//for +this.state = 35; +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 = 45; +if (true) break; + +case 45: +//C +this.state = 35; +if ((step49 > 0 && _i <= limit49) || (step49 < 0 && _i >= limit49)) this.state = 34; +if (true) break; + +case 46: +//C +this.state = 45; +_i = ((int)(0 + _i + step49)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 34: +//C +this.state = 46; + BA.debugLineNum = 1231;BA.debugLine="c.Position = i"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1232;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(32768); +parent._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",parent._cmd); + BA.debugLineNum = 1233;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1234;BA.debugLine="cmd.Name = \"select_HIST_PICKCIEGO_SHARK2\" '"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_HIST_PICKCIEGO_SHARK2")); + BA.debugLineNum = 1235;BA.debugLine="cmd.Parameters = Array As Object(c.GetString("; +Debug.ShouldStop(262144); +__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("VENTA"))})); + BA.debugLineNum = 1236;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, $\"PICK_C_${c"; +Debug.ShouldStop(524288); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("PICK_C_"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ID_PROD")))))),RemoteObject.createImmutable("")))))); + if (true) break; +if (true) break; + +case 35: +//C +this.state = 36; +Debug.locals.put("i", _i); +; + if (true) break; + +case 36: +//C +this.state = 39; +; + BA.debugLineNum = 1239;BA.debugLine="c.close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 38: +//C +this.state = 39; + if (true) break; + +case 39: +//C +this.state = 40; +; + if (true) break; + +case 40: +//C +this.state = -1; +; + BA.debugLineNum = 1244;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +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,407); +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(SHARK2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xmainpage parent; +RemoteObject _ph = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +RemoteObject _deviceid = RemoteObject.createImmutable(""); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,407); +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 = 408;BA.debugLine="Log(recarga)"; +Debug.ShouldStop(8388608); +parent.__c.runVoidMethod ("LogImpl","51638401",__ref.getField(true,"_recarga" /*RemoteObject*/ ),0); + BA.debugLineNum = 409;BA.debugLine="If Starter.muestraProgreso = 1 Then"; +Debug.ShouldStop(16777216); +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 = 410;BA.debugLine="muestraProgreso(\"Descargando actualización\")"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_muestraprogreso" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("Descargando actualización"))); + BA.debugLineNum = 411;BA.debugLine="Starter.muestraProgreso = 0"; +Debug.ShouldStop(67108864); +parent._starter._muestraprogreso /*RemoteObject*/ = BA.NumberToString(0); + if (true) break; + +case 4: +//C +this.state = 5; +; + BA.debugLineNum = 413;BA.debugLine="Dim ph As Phone 'Get Id Device"; +Debug.ShouldStop(268435456); +_ph = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("ph", _ph); + BA.debugLineNum = 414;BA.debugLine="Dim DeviceID As String = ph.GetSettings(\"android_"; +Debug.ShouldStop(536870912); +_deviceid = _ph.runMethod(true,"GetSettings",(Object)(RemoteObject.createImmutable("android_id"))).runMethod(true,"toUpperCase");Debug.locals.put("DeviceID", _deviceid);Debug.locals.put("DeviceID", _deviceid); + BA.debugLineNum = 415;BA.debugLine="LogColor($\"////////////////// DeviceID: ${Devic"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("LogImpl","51638408",(RemoteObject.concat(RemoteObject.createImmutable("////////////////// DeviceID: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_deviceid))),RemoteObject.createImmutable(" ////////////////// "))),parent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 416;BA.debugLine="DBReqServer = Starter.DBReqServer"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_dbreqserver" /*RemoteObject*/ ,parent._starter._dbreqserver /*RemoteObject*/ ); + BA.debugLineNum = 417;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; +Debug.ShouldStop(1); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(parent._starter._dbreqserver /*RemoteObject*/ )); + BA.debugLineNum = 418;BA.debugLine="Log(\"|\"&Starter.DBReqServer&\"|\")"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("LogImpl","51638411",RemoteObject.concat(RemoteObject.createImmutable("|"),parent._starter._dbreqserver /*RemoteObject*/ ,RemoteObject.createImmutable("|")),0); + BA.debugLineNum = 419;BA.debugLine="tgl.Initialize()"; +Debug.ShouldStop(4); +__ref.getField(false,"_tgl" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba")); + BA.debugLineNum = 420;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(8); +if (true) break; + +case 5: +//if +this.state = 8; +if (parent.__c.runMethod(true,"Not",(Object)(parent._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { +this.state = 7; +}if (true) break; + +case 7: +//C +this.state = 8; + BA.debugLineNum = 421;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(16); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 422;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_appear"),BA.numberCast(int.class, 500)); +this.state = 19; +return; +case 19: +//C +this.state = 8; +; + BA.debugLineNum = 423;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((parent._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + if (true) break; + +case 8: +//C +this.state = 9; +; + BA.debugLineNum = 425;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as CUANTOS fro"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("FECHA")})))); + BA.debugLineNum = 426;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 427;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(1024); +if (true) break; + +case 9: +//if +this.state = 18; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { +this.state = 11; +}else { +this.state = 13; +}if (true) break; + +case 11: +//C +this.state = 18; + BA.debugLineNum = 428;BA.debugLine="LogColor($\"No hay fecha: ${c.GetString(\"CUANTOS\""; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("LogImpl","51638421",(RemoteObject.concat(RemoteObject.createImmutable("No hay fecha: "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))))),RemoteObject.createImmutable(""))),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 429;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 430;BA.debugLine="cmd.Name = \"select_fecha\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_fecha")); + BA.debugLineNum = 431;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("fecha")))); + BA.debugLineNum = 432;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'Ignore"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("AJUSTAR FECHA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + BA.debugLineNum = 433;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(65536); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_b4xpage_appear" /*void*/ ); + if (true) break; + +case 13: +//C +this.state = 14; + BA.debugLineNum = 436;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("FECHA")})))); + BA.debugLineNum = 437;BA.debugLine="c.Position =0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 438;BA.debugLine="Dim sDate, sTime As String"; +Debug.ShouldStop(2097152); +parent._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",parent._sdate); +parent._stime = RemoteObject.createImmutable("");__ref.setField("_stime",parent._stime); + BA.debugLineNum = 439;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +Debug.ShouldStop(4194304); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyyyMMdd")); + BA.debugLineNum = 440;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 = 445;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then"; +Debug.ShouldStop(268435456); +if (true) break; + +case 14: +//if +this.state = 17; +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")))),BA.numberCast(double.class, __ref.getField(true,"_sdate" /*RemoteObject*/ )))) { +this.state = 16; +}if (true) break; + +case 16: +//C +this.state = 17; + BA.debugLineNum = 446;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS"; +Debug.ShouldStop(536870912); +parent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + BA.debugLineNum = 447;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_b4xpage_appear" /*void*/ ); + if (true) break; + +case 17: +//C +this.state = 18; +; + if (true) break; + +case 18: +//C +this.state = -1; +; + BA.debugLineNum = 450;BA.debugLine="bu.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.batteryutilities.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 451;BA.debugLine="batterystatus = bu.BatteryInformation"; +Debug.ShouldStop(4); +__ref.setField ("_batterystatus" /*RemoteObject*/ ,__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.batteryutilities.class, "_getbatteryinformation" /*RemoteObject*/ )); + BA.debugLineNum = 454;BA.debugLine="dameUsuario"; +Debug.ShouldStop(32); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_dameusuario" /*RemoteObject*/ ); + BA.debugLineNum = 475;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,847); +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(SHARK2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xmainpage parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,847); +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 = 848;BA.debugLine="Log(\"closreq\")"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("LogImpl","51835009",RemoteObject.createImmutable("closreq"),0); + BA.debugLineNum = 849;BA.debugLine="Sleep(0)"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_closerequest"),BA.numberCast(int.class, 0)); +this.state = 14; +return; +case 14: +//C +this.state = 1; +; + BA.debugLineNum = 851;BA.debugLine="If p_add_monto.IsInitialized And p_add_monto.Visi"; +Debug.ShouldStop(262144); +if (true) break; + +case 1: +//if +this.state = 10; +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { +this.state = 3; +}else +{ BA.debugLineNum = 854;BA.debugLine="Else If p_validacion.IsInitialized And p_validaci"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { +this.state = 5; +}else +{ BA.debugLineNum = 857;BA.debugLine="Else If P_CIEGO.IsInitialized And P_CIEGO.Visible"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { +this.state = 7; +}else +{ BA.debugLineNum = 860;BA.debugLine="Else If p_appUpdate.IsInitialized And p_appUpdate"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"getVisible"))) { +this.state = 9; +}}}} +if (true) break; + +case 3: +//C +this.state = 10; + BA.debugLineNum = 852;BA.debugLine="p_add_monto.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 853;BA.debugLine="Return False"; +Debug.ShouldStop(1048576); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 5: +//C +this.state = 10; + BA.debugLineNum = 855;BA.debugLine="p_validacion.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 856;BA.debugLine="Return False"; +Debug.ShouldStop(8388608); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 7: +//C +this.state = 10; + BA.debugLineNum = 858;BA.debugLine="MsgboxAsync(\"Debes de terminar el proceso para r"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Debes de terminar el proceso para regresar a la pantalla principal")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 859;BA.debugLine="Return False"; +Debug.ShouldStop(67108864); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 861;BA.debugLine="p_appUpdate.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 862;BA.debugLine="Return False"; +Debug.ShouldStop(536870912); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; +; + BA.debugLineNum = 864;BA.debugLine="If Not(p_appUpdate.Visible) Then"; +Debug.ShouldStop(-2147483648); + +case 10: +//if +this.state = 13; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"getVisible"))).get().booleanValue()) { +this.state = 12; +}if (true) break; + +case 12: +//C +this.state = 13; + BA.debugLineNum = 865;BA.debugLine="Log(\"ExitApplication\")"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("LogImpl","51835026",RemoteObject.createImmutable("ExitApplication"),0); + BA.debugLineNum = 866;BA.debugLine="ExitApplication"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("ExitApplication"); + if (true) break; + +case 13: +//C +this.state = -1; +; + BA.debugLineNum = 868;BA.debugLine="Return True"; +Debug.ShouldStop(8); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"True")));return;}; + BA.debugLineNum = 869;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,137); +if (RapidSub.canDelegate("b4xpage_created")) { __ref.runUserSub(false, "b4xmainpage","b4xpage_created", __ref, _root1); return;} +ResumableSub_B4XPage_Created rsub = new ResumableSub_B4XPage_Created(null,__ref,_root1); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_Created extends BA.ResumableSub { +public ResumableSub_B4XPage_Created(SHARK2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref,RemoteObject _root1) { +this.parent = parent; +this.__ref = __ref; +this._root1 = _root1; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xmainpage parent; +RemoteObject _root1; +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_Created (b4xmainpage) ","b4xmainpage",2,__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("Root1", _root1); + BA.debugLineNum = 138;BA.debugLine="B4XPages.GetManager.LogEvents = True"; +Debug.ShouldStop(512); +parent._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_logevents" /*RemoteObject*/ ,parent.__c.getField(true,"True")); + BA.debugLineNum = 139;BA.debugLine="Root = Root1"; +Debug.ShouldStop(1024); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 140;BA.debugLine="Root.LoadLayout(\"login\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("login")),__ref.getField(false, "ba")); + BA.debugLineNum = 141;BA.debugLine="s.Initialize(Me, \"Subs\")"; +Debug.ShouldStop(4096); +__ref.getField(false,"_s" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(RemoteObject.createImmutable("Subs"))); + BA.debugLineNum = 142;BA.debugLine="B4XPages.SetTitle(Me, \"SHARK2\")"; +Debug.ShouldStop(8192); +parent._b4xpages.runVoidMethod ("_settitle" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)((RemoteObject.createImmutable("SHARK2")))); + BA.debugLineNum = 143;BA.debugLine="login.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_login" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 144;BA.debugLine="B4XPages.AddPage(\"Login\", login)"; +Debug.ShouldStop(32768); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Login")),(Object)((__ref.getField(false,"_login" /*RemoteObject*/ )))); + BA.debugLineNum = 145;BA.debugLine="principal.Initialize"; +Debug.ShouldStop(65536); +__ref.getField(false,"_principal" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 146;BA.debugLine="B4XPages.AddPage(\"Principal\", principal)"; +Debug.ShouldStop(131072); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Principal")),(Object)((__ref.getField(false,"_principal" /*RemoteObject*/ )))); + BA.debugLineNum = 147;BA.debugLine="clientes.Initialize"; +Debug.ShouldStop(262144); +__ref.getField(false,"_clientes" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_clientes.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 148;BA.debugLine="B4XPages.AddPage(\"Clientes\", clientes)"; +Debug.ShouldStop(524288); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Clientes")),(Object)((__ref.getField(false,"_clientes" /*RemoteObject*/ )))); + BA.debugLineNum = 149;BA.debugLine="cliente.Initialize"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cliente" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 150;BA.debugLine="B4XPages.AddPage(\"Cliente\", cliente)"; +Debug.ShouldStop(2097152); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Cliente")),(Object)((__ref.getField(false,"_cliente" /*RemoteObject*/ )))); + BA.debugLineNum = 151;BA.debugLine="productos.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_productos" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 152;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)"; +Debug.ShouldStop(8388608); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Productos")),(Object)((__ref.getField(false,"_productos" /*RemoteObject*/ )))); + BA.debugLineNum = 153;BA.debugLine="updateAvailable.Initialize"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_updateavailable" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_updateavailable.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 154;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab"; +Debug.ShouldStop(33554432); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("updateAvailable")),(Object)((__ref.getField(false,"_updateavailable" /*RemoteObject*/ )))); + BA.debugLineNum = 155;BA.debugLine="mapas.Initialize"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_mapas" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_mapas.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 156;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)"; +Debug.ShouldStop(134217728); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Mapas")),(Object)((__ref.getField(false,"_mapas" /*RemoteObject*/ )))); + BA.debugLineNum = 157;BA.debugLine="nuevoCliente.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_nuevocliente" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_nuevocliente.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 158;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)"; +Debug.ShouldStop(536870912); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NuevoCliente")),(Object)((__ref.getField(false,"_nuevocliente" /*RemoteObject*/ )))); + BA.debugLineNum = 159;BA.debugLine="ticketsDia.Initialize"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_ticketsdia" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_ticketsdia.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 160;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)"; +Debug.ShouldStop(-2147483648); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("TicketsDia")),(Object)((__ref.getField(false,"_ticketsdia" /*RemoteObject*/ )))); + BA.debugLineNum = 161;BA.debugLine="noVenta.Initialize"; +Debug.ShouldStop(1); +__ref.getField(false,"_noventa" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_noventa.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 162;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)"; +Debug.ShouldStop(2); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NoVenta")),(Object)((__ref.getField(false,"_noventa" /*RemoteObject*/ )))); + BA.debugLineNum = 163;BA.debugLine="nota.Initialize"; +Debug.ShouldStop(4); +__ref.getField(false,"_nota" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_nota.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 164;BA.debugLine="B4XPages.AddPage(\"Nota\", nota)"; +Debug.ShouldStop(8); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Nota")),(Object)((__ref.getField(false,"_nota" /*RemoteObject*/ )))); + BA.debugLineNum = 165;BA.debugLine="pedidos.Initialize"; +Debug.ShouldStop(16); +__ref.getField(false,"_pedidos" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_pedidos.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 166;BA.debugLine="B4XPages.AddPage(\"Pedidos\", pedidos)"; +Debug.ShouldStop(32); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Pedidos")),(Object)((__ref.getField(false,"_pedidos" /*RemoteObject*/ )))); + BA.debugLineNum = 167;BA.debugLine="promos.Initialize"; +Debug.ShouldStop(64); +__ref.getField(false,"_promos" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 168;BA.debugLine="B4XPages.AddPage(\"Promos\", promos)"; +Debug.ShouldStop(128); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Promos")),(Object)((__ref.getField(false,"_promos" /*RemoteObject*/ )))); + BA.debugLineNum = 169;BA.debugLine="historico.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_historico" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_historico.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 170;BA.debugLine="B4XPages.AddPage(\"Historico\", historico)"; +Debug.ShouldStop(512); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("Historico")),(Object)((__ref.getField(false,"_historico" /*RemoteObject*/ )))); + BA.debugLineNum = 171;BA.debugLine="tabulador.Initialize"; +Debug.ShouldStop(1024); +__ref.getField(false,"_tabulador" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_tabulador.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 172;BA.debugLine="B4XPages.AddPage(\"tabulador\", tabulador)"; +Debug.ShouldStop(2048); +parent._b4xpages.runVoidMethod ("_addpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("tabulador")),(Object)((__ref.getField(false,"_tabulador" /*RemoteObject*/ )))); + BA.debugLineNum = 175;BA.debugLine="ruta = Starter.ruta"; +Debug.ShouldStop(16384); +__ref.setField ("_ruta" /*RemoteObject*/ ,parent._starter._ruta /*RemoteObject*/ ); + BA.debugLineNum = 176;BA.debugLine="Provider.Initialize"; +Debug.ShouldStop(32768); +__ref.getField(false,"_provider" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.fileprovider.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 179;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(262144); +if (true) break; + +case 1: +//if +this.state = 4; +if (RemoteObject.solveBoolean("=",parent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),parent.__c.getField(true,"False"))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 180;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(524288); +parent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + BA.debugLineNum = 181;BA.debugLine="LogColor(\"copiamos kmt.db de \"&File.DirAssets &"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("LogImpl","51572908",RemoteObject.concat(RemoteObject.createImmutable("copiamos kmt.db de "),parent.__c.getField(false,"File").runMethod(true,"getDirAssets"),RemoteObject.createImmutable(" a "),__ref.getField(true,"_ruta" /*RemoteObject*/ )),parent.__c.getField(false,"Colors").getField(true,"Green")); + if (true) break; + +case 4: +//C +this.state = 5; +; + BA.debugLineNum = 185;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(BA.ObjectToString("kmt.db")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 186;BA.debugLine="Subs.guardaAppInfo(skmt)"; +Debug.ShouldStop(33554432); +parent._subs.runVoidMethod ("_guardaappinfo" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_skmt" /*RemoteObject*/ ))); + BA.debugLineNum = 188;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(134217728); +parent._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 = 189;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(268435456); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS COORDENADAS(LAT TEXT, LONG TEXT, CLIENTE TEXT, CANTIDAD INT)"))); + BA.debugLineNum = 190;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(536870912); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ATIENDE(ATIENDE TEXT, CLIENTE TEXT)"))); + BA.debugLineNum = 191;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(1073741824); +parent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS GIROS_ACTUAL(GIRO TEXT, CLIENTE TEXT)"))); + BA.debugLineNum = 192;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +Debug.ShouldStop(-2147483648); +parent._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 = 193;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CLI"; +Debug.ShouldStop(1); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CLIENTES_NUEVOS(CN_ID TEXT, CN_FECHA TEXT, CN_USER TEXT, CN_LAT TEXT, CN_LON TEXT, CN_NOMBRE TEXT, CN_DIRECCION TEXT, CN_FOTO TEXT, CN_ALMACEN TEXT, CN_RUTA TEXT,CN_GIRO TEXT)"))); + BA.debugLineNum = 194;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT"; +Debug.ShouldStop(2); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)"))); + BA.debugLineNum = 195;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS POL"; +Debug.ShouldStop(4); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS POLIGONO (LAT TEXT, LONG TEXT)"))); + BA.debugLineNum = 196;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS GEO"; +Debug.ShouldStop(8); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS GEOCERCA (ACTIVA TEXT)"))); + BA.debugLineNum = 197;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COO"; +Debug.ShouldStop(16); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS COORDS_ALMACEN (LAT TEXT, LONG TEXT)"))); + BA.debugLineNum = 198;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(32); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_CUOTAS (HC_META6 TEXT, HC_META5 TEXT, HC_META4 TEXT, HC_META3 TEXT, HC_META2 TEXT, HC_META1 TEXT, HC_RUTA TEXT, HC_CUOTA1 TEXT, HC_CUOTA2 TEXT, HC_CUOTA3 TEXT, HC_CUOTA4 TEXT, HC_CUOTA5 TEXT, HC_CUOTA6 TEXT)"))); + BA.debugLineNum = 199;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(64); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_GPS (HGDATE TEXT, HGLAT TEXT, HGLON TEXT)"))); + BA.debugLineNum = 200;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +Debug.ShouldStop(128); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_GIRO(GIRO TEXT)"))); + BA.debugLineNum = 201;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PIC"; +Debug.ShouldStop(256); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS PICKCIEGO_HECHO(HECHO TEXT)"))); + BA.debugLineNum = 206;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +Debug.ShouldStop(8192); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD (CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS INT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB, CAT_GP_ALMACEN INT, CAT_GP_DEV INT, CAT_GP_TIPOPROD TEXT, CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD2 TEXT, CAT_GP_PRECIO1 TEXT, CAT_GP_PRECIO2 TEXT, CAT_GP_PRECIO3 TEXT, CAT_GP_PRECIO4 TEXT, CAT_GP_PRECIO5 TEXT, CAT_GP_PRECIO6 TEXT, CAT_GP_PRECIO7 TEXT, CAT_GP_PRECIO8 TEXT, CAT_GP_PRECIO9 TEXT, CAT_GP_PRECIO10 TEXT, CAT_GP_PRECIO11 TEXT, CAT_GP_PRESENTACION1 TEXT, CAT_GP_PRESENTACION2 TEXT, CAT_GP_PRESENTACION3 TEXT, CAT_GP_PRESENTACION4 TEXT, CAT_GP_PRESENTACION5 TEXT, CAT_GP_PRESENTACION6 TEXT, CAT_GP_PRESENTACION7 TEXT, CAT_GP_PRESENTACION8 TEXT, CAT_GP_PRESENTACION9 TEXT, CAT_GP_PRESENTACION10 TEXT, CAT_GP_PRESENTACION11 TEXT, CAT_GP_UMV1 TEXT, CAT_GP_UMV2 TEXT, CAT_GP_UMV3 TEXT, CAT_GP_UMV4 TEXT, CAT_GP_UMV5 TEXT, CAT_GP_UMV6 TEXT, CAT_GP_UMV7 TEXT, CAT_GP_UMV8 TEXT, CAT_GP_UMV9 TEXT, CAT_GP_UMV10 TEXT, CAT_GP_UMV11 TEXT, CAT_GP_DIRIGIDA1 TEXT, CAT_GP_DIRIGIDA2 TEXT, CAT_GP_DIRIGIDA3 TEXT, CAT_GP_DIRIGIDA4 TEXT, CAT_GP_DIRIGIDA5 TEXT, CAT_GP_DIRIGIDA6 TEXT, CAT_GP_DIRIGIDA7 TEXT, CAT_GP_DIRIGIDA8 TEXT, CAT_GP_DIRIGIDA9 TEXT, CAT_GP_DIRIGIDA10 TEXT, CAT_GP_DIRIGIDA11 TEXT)"))); + BA.debugLineNum = 207;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +Debug.ShouldStop(16384); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD2 (CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS INT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB, CAT_GP_ALMACEN INT, CAT_GP_DEV INT, CAT_GP_TIPOPROD TEXT, CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD2 TEXT, CAT_GP_PRECIO1 TEXT, CAT_GP_PRECIO2 TEXT, CAT_GP_PRECIO3 TEXT, CAT_GP_PRECIO4 TEXT, CAT_GP_PRECIO5 TEXT, CAT_GP_PRECIO6 TEXT, CAT_GP_PRECIO7 TEXT, CAT_GP_PRECIO8 TEXT, CAT_GP_PRECIO9 TEXT, CAT_GP_PRECIO10 TEXT, CAT_GP_PRECIO11 TEXT, CAT_GP_PRESENTACION1 TEXT, CAT_GP_PRESENTACION2 TEXT, CAT_GP_PRESENTACION3 TEXT, CAT_GP_PRESENTACION4 TEXT, CAT_GP_PRESENTACION5 TEXT, CAT_GP_PRESENTACION6 TEXT, CAT_GP_PRESENTACION7 TEXT, CAT_GP_PRESENTACION8 TEXT, CAT_GP_PRESENTACION9 TEXT, CAT_GP_PRESENTACION10 TEXT, CAT_GP_PRESENTACION11 TEXT, CAT_GP_UMV1 TEXT, CAT_GP_UMV2 TEXT, CAT_GP_UMV3 TEXT, CAT_GP_UMV4 TEXT, CAT_GP_UMV5 TEXT, CAT_GP_UMV6 TEXT, CAT_GP_UMV7 TEXT, CAT_GP_UMV8 TEXT, CAT_GP_UMV9 TEXT, CAT_GP_UMV10 TEXT, CAT_GP_UMV11 TEXT, CAT_GP_DIRIGIDA1 TEXT, CAT_GP_DIRIGIDA2 TEXT, CAT_GP_DIRIGIDA3 TEXT, CAT_GP_DIRIGIDA4 TEXT, CAT_GP_DIRIGIDA5 TEXT, CAT_GP_DIRIGIDA6 TEXT, CAT_GP_DIRIGIDA7 TEXT, CAT_GP_DIRIGIDA8 TEXT, CAT_GP_DIRIGIDA9 TEXT, CAT_GP_DIRIGIDA10 TEXT, CAT_GP_DIRIGIDA11 TEXT)"))); + BA.debugLineNum = 212;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +Debug.ShouldStop(524288); +__ref.getField(false,"_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 = 213;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD4 (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, CAT_DP_CONVERSION1 TEXT, CAT_DP_PRECIO4 TEXT)"))); + BA.debugLineNum = 214;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_STAY_STORE (HSS_CODIGO TEXT, HSS_IN TEXT, HSS_OUT TEXT, HSS_TOT TEXT)"))); + BA.debugLineNum = 215;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_STAY_OUT (HSO_INI TEXT, HSO_FIN TEXT)"))); + BA.debugLineNum = 216;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS INV"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS INVENT_X_ENVIAR (ALMACEN TEXT, PROID TEXT, CANTIDAD TEXT)"))); + BA.debugLineNum = 217;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_RESUM_APK (HIST_RA_OBJMES TEXT, HIST_RA_VENTA TEXT, HIST_RA_TENDENCIA TEXT, HIST_RA_ALCANCE TEXT, HISR_RA_DRAOBJ TEXT, HIST_RA_DRAVTA TEXT, HIST_RA_DSOBJ TEXT, HIST_RA_DSVTA TEXT, HIST_RA_VPOOBJ TEXT, HIST_RA_VPOVTA TEXT, HIST_RA_COBCCC TEXT, HIST_RA_CTES TEXT, HIST_RA_ECO TEXT, HIST_RA_VISITPLAN TEXT, HIST_RA_VISIREAL TEXT, HIST_RA_COBVISIT TEXT, HIST_RA_FRECCOMPOBJ TEXT, HIST_RA_FRECCOMREAL TEXT, HIST_RA_VENTAMES1 TEXT, HIST_RA_VENTAMES2 TEXT, HIST_RA_VENTAMES3 TEXT, HIST_RA_VENTAMES4 TEXT, HIST_RA_RECHAZO TEXT, HIST_RA_RECHAZOPORCEN TEXT, HIST_RA_SEMANA1 TEXT, HIST_RA_SEMANA1_DIAS TEXT, HIST_RA_SEMANA1_DRA TEXT, HIST_RA_SEMANA2 TEXT, HIST_RA_SEMANA2_DIAS TEXT, HIST_RA_SEMANA2_DRA TEXT, HIST_RA_SEMANA3 TEXT, HIST_RA_SEMANA3_DIAS TEXT, HIST_RA_SEMANA4 TEXT, HIST_RA_SEMANA3_DRA TEXT, HIST_RA_SEMANA4_DIAS TEXT, HIST_RA_SEMANA4_DRA TEXT, HIST_RA_SEMANA5 TEXT, HIST_RA_SEMANA5_DIAS TEXT, HIST_RA_SEMANA5_DRA TEXT, HIST_RA_SEMANA1_LPT TEXT, HIST_RA_SEMANA2_LPT TEXT, HIST_RA_SEMANA3_LPT TEXT, HIST_RA_SEMANA4_LPT TEXT, HIST_RA_SEMANA5_LPT TEXT, HIST_RA_RUTA TEXT, HIST_RA_IDALMACEN TEXT)"))); + BA.debugLineNum = 219;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_GEOCERCA (HGCLIENTE TEXT, HGDATE TEXT, HGLAT TEXT, HGLON TEXT)"))); + BA.debugLineNum = 220;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_FACE (HFCLIENTE TEXT, HFALIAS TEXT, HFRUTA TEXT, HFALMACEN TEXT)"))); + BA.debugLineNum = 221;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"))); + BA.debugLineNum = 222;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS CATA"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE VIEW IF NOT EXISTS CATALOGO AS Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD UNION Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD GROUP BY CAT_GP_CLASIF, CAT_GP_ID"))); + BA.debugLineNum = 223;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS tota"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE VIEW IF NOT EXISTS total_marcas AS Select cat_gp_clasif, sum(pe_costo_tot) As total from CATALOGO, pedido where pe_proid = cat_gp_id And pe_cliente <> 0 group by cat_gp_clasif"))); + BA.debugLineNum = 224;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_MARCAS_CUOTAS ( HMC_MARCA TEXT, HMC_TOTAL TEXT)"))); + BA.debugLineNum = 225;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(1); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_CODIGO_BARRAS(CODIGOKMTS TEXT, CODIGOB TEXT, LAT TEXT, LON TEXT)"))); + BA.debugLineNum = 226;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ABO"; +Debug.ShouldStop(2); +__ref.getField(false,"_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 = 227;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COO"; +Debug.ShouldStop(4); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS COORDENADAS_GPS (tienda_id TEXT, ruta TEXT, almacen TEXT, latitud TEXT, longitud TEXT, fecha TEXT)"))); + BA.debugLineNum = 228;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +Debug.ShouldStop(8); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS HIST_CUESTIONARIO (HC_CLIENTE TEXT)"))); + BA.debugLineNum = 229;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PAG"; +Debug.ShouldStop(16); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS PAGARES (PA_ALMACEN TEXT, PA_RUTA TEXT, PA_FECHA TEXT, PA_CAPTURA TEXT, PA_MONTO TEXT, PA_USUARIO TEXT, PA_CLIENTE TEXT)"))); + BA.debugLineNum = 230;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS NOV"; +Debug.ShouldStop(32); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS NOVENTA (NV_CLIENTE TEXT, NV_FECHA TEXT, NV_USER TEXT, NV_MOTIVO TEXT, NV_COMM TEXT, NV_LAT TEXT, NV_LON TEXT)"))); + BA.debugLineNum = 231;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PIC"; +Debug.ShouldStop(64); +__ref.getField(false,"_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 = 232;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENV"; +Debug.ShouldStop(128); +__ref.getField(false,"_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 = 233;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_ENVIO_OK\", \"INT\""; +Debug.ShouldStop(256); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_ENVIO_OK")),(Object)(RemoteObject.createImmutable("INT"))); + BA.debugLineNum = 234;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CANTC\", \"TEXT\")"; +Debug.ShouldStop(512); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_CANTC")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 236;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_DIRIGIDA\", \"TEXT"; +Debug.ShouldStop(2048); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_DIRIGIDA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 237;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_UVM\", \"TEXT\")"; +Debug.ShouldStop(4096); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_UVM")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 238;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_PRESENTACION\", \""; +Debug.ShouldStop(8192); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_PRESENTACION")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 240;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_BCAJAS\", \"TEXT\")"; +Debug.ShouldStop(32768); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("PEDIDO")),(Object)(BA.ObjectToString("PE_BCAJAS")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 241;BA.debugLine="Subs.agregaColumna(\"NOVENTA\", \"NV_ENVIO_OK\", \"INT"; +Debug.ShouldStop(65536); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("NOVENTA")),(Object)(BA.ObjectToString("NV_ENVIO_OK")),(Object)(RemoteObject.createImmutable("INT"))); + BA.debugLineNum = 242;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_BCREDITO\","; +Debug.ShouldStop(131072); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("CAT_CL_BCREDITO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 243;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_TIPOCLIENT"; +Debug.ShouldStop(262144); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("CAT_CL_TIPOCLIENTE")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 244;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_BCOORDENAD"; +Debug.ShouldStop(524288); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("CAT_CL_BCOORDENADAS")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 245;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_LIMITECRED"; +Debug.ShouldStop(1048576); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("CAT_CL_LIMITECREDITO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 246;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_LISTA_PREC"; +Debug.ShouldStop(2097152); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info")),(Object)(BA.ObjectToString("CAT_CL_LISTA_PRECIO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 247;BA.debugLine="Subs.agregaColumna(\"kmt_info2\", \"CAT_CL_LISTA_PRE"; +Debug.ShouldStop(4194304); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("kmt_info2")),(Object)(BA.ObjectToString("CAT_CL_LISTA_PRECIO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 248;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_TIPOPR"; +Debug.ShouldStop(8388608); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_TIPOPROD2")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 249;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_CONVER"; +Debug.ShouldStop(16777216); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_CONVERSION1")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 250;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +Debug.ShouldStop(33554432); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA11")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 251;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +Debug.ShouldStop(67108864); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA10")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 252;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +Debug.ShouldStop(134217728); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA9")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 253;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +Debug.ShouldStop(268435456); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA8")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 254;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +Debug.ShouldStop(536870912); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA7")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 255;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +Debug.ShouldStop(1073741824); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA6")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 256;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +Debug.ShouldStop(-2147483648); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA5")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 257;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +Debug.ShouldStop(1); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA4")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 258;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +Debug.ShouldStop(2); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA3")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 259;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +Debug.ShouldStop(4); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA2")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 260;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +Debug.ShouldStop(8); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_DIRIGIDA1")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 261;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV11\""; +Debug.ShouldStop(16); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV11")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 262;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV10\""; +Debug.ShouldStop(32); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV10")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 263;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV9\","; +Debug.ShouldStop(64); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV9")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 264;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV8\","; +Debug.ShouldStop(128); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV8")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 265;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV7\","; +Debug.ShouldStop(256); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV7")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 266;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV6\","; +Debug.ShouldStop(512); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV6")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 267;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV5\","; +Debug.ShouldStop(1024); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV5")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 268;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV4\","; +Debug.ShouldStop(2048); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV4")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 269;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV3\","; +Debug.ShouldStop(4096); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV3")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 270;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV2\","; +Debug.ShouldStop(8192); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV2")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 271;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV1\","; +Debug.ShouldStop(16384); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_UMV1")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 272;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +Debug.ShouldStop(32768); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION11")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 273;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +Debug.ShouldStop(65536); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION10")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 274;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +Debug.ShouldStop(131072); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION9")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 275;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +Debug.ShouldStop(262144); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION8")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 276;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +Debug.ShouldStop(524288); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION7")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 277;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +Debug.ShouldStop(1048576); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION6")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 278;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +Debug.ShouldStop(2097152); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION5")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 279;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +Debug.ShouldStop(4194304); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION4")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 280;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +Debug.ShouldStop(8388608); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION3")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 281;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +Debug.ShouldStop(16777216); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION2")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 282;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +Debug.ShouldStop(33554432); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRESENTACION1")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 283;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +Debug.ShouldStop(67108864); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO11")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 284;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +Debug.ShouldStop(134217728); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO10")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 285;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +Debug.ShouldStop(268435456); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO9")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 286;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +Debug.ShouldStop(536870912); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO8")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 287;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +Debug.ShouldStop(1073741824); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO7")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 288;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +Debug.ShouldStop(-2147483648); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO6")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 289;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +Debug.ShouldStop(1); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO5")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 290;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +Debug.ShouldStop(2); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO4")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 291;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +Debug.ShouldStop(4); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO3")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 292;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +Debug.ShouldStop(8); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO2")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 293;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +Debug.ShouldStop(16); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD")),(Object)(BA.ObjectToString("CAT_GP_PRECIO1")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 294;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CONVE"; +Debug.ShouldStop(32); +parent._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 = 295;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_PRECI"; +Debug.ShouldStop(64); +parent._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 = 296;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_CONVE"; +Debug.ShouldStop(128); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD2")),(Object)(BA.ObjectToString("CAT_DP_CONVERSION1")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 297;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_PRECI"; +Debug.ShouldStop(256); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD2")),(Object)(BA.ObjectToString("CAT_DP_PRECIO4")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 298;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_PRECI"; +Debug.ShouldStop(512); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD2")),(Object)(BA.ObjectToString("CAT_DP_PRECIO1")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 299;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_PRECI"; +Debug.ShouldStop(1024); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD2")),(Object)(BA.ObjectToString("CAT_DP_PRECIO2")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 300;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD4\", \"CAT_DP_PRECI"; +Debug.ShouldStop(2048); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD4")),(Object)(BA.ObjectToString("CAT_DP_PRECIO1")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 301;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD4\", \"CAT_DP_PRECI"; +Debug.ShouldStop(4096); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CAT_GUNAPROD4")),(Object)(BA.ObjectToString("CAT_DP_PRECIO2")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 302;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_SOLICIT"; +Debug.ShouldStop(8192); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_SOLICITA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 303;BA.debugLine="Subs.agregaColumna(\"ABONOSP\", \"DIA_VENCIMIENTO\","; +Debug.ShouldStop(16384); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("ABONOSP")),(Object)(BA.ObjectToString("DIA_VENCIMIENTO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 304;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_COLONIA"; +Debug.ShouldStop(32768); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_COLONIA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 305;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_TELEFON"; +Debug.ShouldStop(65536); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_TELEFONO")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 306;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CP\", \"T"; +Debug.ShouldStop(131072); +parent._subs.runVoidMethod ("_agregacolumna" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("CLIENTES_NUEVOS")),(Object)(BA.ObjectToString("CN_CP")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 307;BA.debugLine="c=skmt.ExecQuery(\"select COUNT(*) AS CUANTOS fro"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select COUNT(*) AS CUANTOS from HIST_STAY_OUT ")))); + BA.debugLineNum = 312;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO POLIGONO(LAT,LONG"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable((19.481683012377815)),RemoteObject.createImmutable((-99.14063876529508))}))))); + BA.debugLineNum = 313;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO POLIGONO(LAT,LONG"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable((19.480080935096886)),RemoteObject.createImmutable((-99.15459780214643))}))))); + BA.debugLineNum = 319;BA.debugLine="C.Position = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 320;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 5: +//if +this.state = 8; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { +this.state = 7; +}if (true) break; + +case 7: +//C +this.state = 8; + BA.debugLineNum = 321;BA.debugLine="skmt.ExecNonQuery(\"INSERT INTO HIST_STAY_OUT(HSO"; +Debug.ShouldStop(1); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)"))); + if (true) break; + +case 8: +//C +this.state = 9; +; + BA.debugLineNum = 323;BA.debugLine="C.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 327;BA.debugLine="l_version.Text = Application.VersionName"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.getField(false,"Application").runMethod(true,"getVersionName"))); + BA.debugLineNum = 328;BA.debugLine="l_version.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_version" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 329;BA.debugLine="l_version.BringToFront"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_version" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 337;BA.debugLine="montoActual = 0"; +Debug.ShouldStop(65536); +__ref.setField ("_montoactual" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 338;BA.debugLine="clientesTotal = 0"; +Debug.ShouldStop(131072); +__ref.setField ("_clientestotal" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 339;BA.debugLine="clientesVenta = 0"; +Debug.ShouldStop(262144); +__ref.setField ("_clientesventa" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 340;BA.debugLine="clientesVisitados = 0"; +Debug.ShouldStop(524288); +__ref.setField ("_clientesvisitados" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 341;BA.debugLine="almacen = 0"; +Debug.ShouldStop(1048576); +__ref.setField ("_almacen" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 342;BA.debugLine="rutaPreventa = 0"; +Debug.ShouldStop(2097152); +__ref.setField ("_rutapreventa" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 343;BA.debugLine="p_appUpdate.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_p_appupdate" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 345;BA.debugLine="LogColor(\"Revisa permisos Phone_State\", Colors.Gr"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("LogImpl","51573072",BA.ObjectToString("Revisa permisos Phone_State"),parent.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 346;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(33554432); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_ACCESS_FINE_LOCATION"))); + BA.debugLineNum = 347;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_created"), null); +this.state = 35; +return; +case 35: +//C +this.state = 9; +_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 = 348;BA.debugLine="If Result Then"; +Debug.ShouldStop(134217728); +if (true) break; + +case 9: +//if +this.state = 14; +if (_result.get().booleanValue()) { +this.state = 11; +}else { +this.state = 13; +}if (true) break; + +case 11: +//C +this.state = 14; + BA.debugLineNum = 349;BA.debugLine="Log(\"Con permisos de ubicacion\")"; +Debug.ShouldStop(268435456); +parent.__c.runVoidMethod ("LogImpl","51573076",RemoteObject.createImmutable("Con permisos de ubicacion"),0); + if (true) break; + +case 13: +//C +this.state = 14; + BA.debugLineNum = 351;BA.debugLine="Log(\"SIN permisos de ubicacion\")"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("LogImpl","51573078",RemoteObject.createImmutable("SIN permisos de ubicacion"),0); + if (true) break; + +case 14: +//C +this.state = 15; +; + BA.debugLineNum = 353;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(1); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_ACCESS_COARSE_LOCATION"))); + BA.debugLineNum = 354;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_created"), null); +this.state = 36; +return; +case 36: +//C +this.state = 15; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission); +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 355;BA.debugLine="If Result Then"; +Debug.ShouldStop(4); +if (true) break; + +case 15: +//if +this.state = 20; +if (_result.get().booleanValue()) { +this.state = 17; +}else { +this.state = 19; +}if (true) break; + +case 17: +//C +this.state = 20; + BA.debugLineNum = 356;BA.debugLine="Log(\"Con permisos de ubicacion\")"; +Debug.ShouldStop(8); +parent.__c.runVoidMethod ("LogImpl","51573083",RemoteObject.createImmutable("Con permisos de ubicacion"),0); + if (true) break; + +case 19: +//C +this.state = 20; + BA.debugLineNum = 358;BA.debugLine="Log(\"SIN permisos de ubicacion\")"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("LogImpl","51573085",RemoteObject.createImmutable("SIN permisos de ubicacion"),0); + if (true) break; + +case 20: +//C +this.state = 21; +; + BA.debugLineNum = 360;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(128); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_READ_PHONE_STATE"))); + BA.debugLineNum = 361;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_created"), null); +this.state = 37; +return; +case 37: +//C +this.state = 21; +_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 = 362;BA.debugLine="If Result Then"; +Debug.ShouldStop(512); +if (true) break; + +case 21: +//if +this.state = 24; +if (_result.get().booleanValue()) { +this.state = 23; +}if (true) break; + +case 23: +//C +this.state = 24; + if (true) break; + +case 24: +//C +this.state = 25; +; + BA.debugLineNum = 376;BA.debugLine="MES1.Initialize(Me, \"MES1\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_mes1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.manageexternalstorage.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(RemoteObject.createImmutable("MES1"))); + BA.debugLineNum = 378;BA.debugLine="Dim SdkVersion As Int = device.SdkVersion"; +Debug.ShouldStop(33554432); +_sdkversion = __ref.getField(false,"_device" /*RemoteObject*/ ).runMethod(true,"getSdkVersion");Debug.locals.put("SdkVersion", _sdkversion);Debug.locals.put("SdkVersion", _sdkversion); + BA.debugLineNum = 380;BA.debugLine="If SdkVersion < 30 Then"; +Debug.ShouldStop(134217728); +if (true) break; + +case 25: +//if +this.state = 34; +if (RemoteObject.solveBoolean("<",_sdkversion,BA.numberCast(double.class, 30))) { +this.state = 27; +}else { +this.state = 29; +}if (true) break; + +case 27: +//C +this.state = 34; + BA.debugLineNum = 382;BA.debugLine="Dim rp As RuntimePermissions"; +Debug.ShouldStop(536870912); +_rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");Debug.locals.put("rp", _rp); + BA.debugLineNum = 383;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_"; +Debug.ShouldStop(1073741824); +_rp.runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(_rp.getField(true,"PERMISSION_WRITE_EXTERNAL_STORAGE"))); + BA.debugLineNum = 384;BA.debugLine="Wait For Activity_PermissionResult (Permission A"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("WaitFor","activity_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_created"), null); +this.state = 38; +return; +case 38: +//C +this.state = 34; +_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); +; + if (true) break; + +case 29: +//C +this.state = 30; + BA.debugLineNum = 389;BA.debugLine="If Not(MES1.HasPermission) Then"; +Debug.ShouldStop(16); +if (true) break; + +case 30: +//if +this.state = 33; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_mes1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.manageexternalstorage.class, "_haspermission" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 32; +}if (true) break; + +case 32: +//C +this.state = 33; + BA.debugLineNum = 390;BA.debugLine="MsgboxAsync(\"This app requires access to all fi"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("This app requires access to all files, please enable the option")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Manage All Files"))),__ref.getField(false, "ba")); + BA.debugLineNum = 391;BA.debugLine="Wait For Msgbox_Result(Res As Int)"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_created"), null); +this.state = 39; +return; +case 39: +//C +this.state = 33; +_res = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Res", _res); +; + BA.debugLineNum = 393;BA.debugLine="MES1.GetPermission"; +Debug.ShouldStop(256); +__ref.getField(false,"_mes1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.manageexternalstorage.class, "_getpermission" /*RemoteObject*/ ); + BA.debugLineNum = 394;BA.debugLine="Wait For MES_StorageAvailable"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("WaitFor","mes_storageavailable", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "b4xpage_created"), null); +this.state = 40; +return; +case 40: +//C +this.state = 33; +; + if (true) break; + +case 33: +//C +this.state = 34; +; + if (true) break; + +case 34: +//C +this.state = -1; +; + BA.debugLineNum = 397;BA.debugLine="P_CIEGO.Height = Root.Height"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 398;BA.debugLine="P_CIEGO.Width = Root.Width"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_ciego" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 399;BA.debugLine="p_validacion.Height = Root.Height"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 400;BA.debugLine="p_validacion.Width = Root.Width"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 401;BA.debugLine="p_add_monto.Height = Root.Height"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 402;BA.debugLine="p_add_monto.Width = Root.Width"; +Debug.ShouldStop(131072); +__ref.getField(false,"_p_add_monto" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 405;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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 _mes_storageavailable(RemoteObject __ref) throws Exception{ +} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 25;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 26;BA.debugLine="Dim c2 As Cursor"; +b4xmainpage._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",b4xmainpage._c2); + //BA.debugLineNum = 27;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 = 28;BA.debugLine="Private Root As B4XView"; +b4xmainpage._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",b4xmainpage._root); + //BA.debugLineNum = 29;BA.debugLine="Private xui As XUI"; +b4xmainpage._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xmainpage._xui); + //BA.debugLineNum = 30;BA.debugLine="Dim s As C_Subs"; +b4xmainpage._s = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_subs");__ref.setField("_s",b4xmainpage._s); + //BA.debugLineNum = 31;BA.debugLine="Public login As B4XMainPage"; +b4xmainpage._login = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xmainpage");__ref.setField("_login",b4xmainpage._login); + //BA.debugLineNum = 32;BA.debugLine="Public principal As C_Principal"; +b4xmainpage._principal = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_principal");__ref.setField("_principal",b4xmainpage._principal); + //BA.debugLineNum = 33;BA.debugLine="Public clientes As C_Clientes"; +b4xmainpage._clientes = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_clientes");__ref.setField("_clientes",b4xmainpage._clientes); + //BA.debugLineNum = 34;BA.debugLine="Public cliente As C_Cliente"; +b4xmainpage._cliente = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_cliente");__ref.setField("_cliente",b4xmainpage._cliente); + //BA.debugLineNum = 35;BA.debugLine="Public productos As C_Productos"; +b4xmainpage._productos = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_productos");__ref.setField("_productos",b4xmainpage._productos); + //BA.debugLineNum = 36;BA.debugLine="Public updateAvailable As C_UpdateAvailable"; +b4xmainpage._updateavailable = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_updateavailable");__ref.setField("_updateavailable",b4xmainpage._updateavailable); + //BA.debugLineNum = 37;BA.debugLine="Public mapas As C_Mapas"; +b4xmainpage._mapas = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_mapas");__ref.setField("_mapas",b4xmainpage._mapas); + //BA.debugLineNum = 38;BA.debugLine="Public nuevoCliente As C_NuevoCliente"; +b4xmainpage._nuevocliente = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_nuevocliente");__ref.setField("_nuevocliente",b4xmainpage._nuevocliente); + //BA.debugLineNum = 39;BA.debugLine="Public ticketsDia As C_TicketsDia"; +b4xmainpage._ticketsdia = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_ticketsdia");__ref.setField("_ticketsdia",b4xmainpage._ticketsdia); + //BA.debugLineNum = 40;BA.debugLine="Public noVenta As C_NoVenta"; +b4xmainpage._noventa = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_noventa");__ref.setField("_noventa",b4xmainpage._noventa); + //BA.debugLineNum = 41;BA.debugLine="Public nota As C_Nota"; +b4xmainpage._nota = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_nota");__ref.setField("_nota",b4xmainpage._nota); + //BA.debugLineNum = 42;BA.debugLine="Public pedidos As C_Pedidos"; +b4xmainpage._pedidos = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_pedidos");__ref.setField("_pedidos",b4xmainpage._pedidos); + //BA.debugLineNum = 43;BA.debugLine="Public promos As C_Promos"; +b4xmainpage._promos = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_promos");__ref.setField("_promos",b4xmainpage._promos); + //BA.debugLineNum = 44;BA.debugLine="Public historico As C_Historico"; +b4xmainpage._historico = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_historico");__ref.setField("_historico",b4xmainpage._historico); + //BA.debugLineNum = 45;BA.debugLine="Public Provider As FileProvider"; +b4xmainpage._provider = RemoteObject.createNew ("SHARK2.keymon.com.mx.fileprovider");__ref.setField("_provider",b4xmainpage._provider); + //BA.debugLineNum = 57;BA.debugLine="Dim reqManager As DBRequestManager"; +b4xmainpage._reqmanager = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager");__ref.setField("_reqmanager",b4xmainpage._reqmanager); + //BA.debugLineNum = 58;BA.debugLine="Dim v As String = Application.VersionName"; +b4xmainpage._v = b4xmainpage.__c.getField(false,"Application").runMethod(true,"getVersionName");__ref.setField("_v",b4xmainpage._v); + //BA.debugLineNum = 59;BA.debugLine="Dim ruta As String"; +b4xmainpage._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",b4xmainpage._ruta); + //BA.debugLineNum = 60;BA.debugLine="Dim tgl As Toggle"; +b4xmainpage._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",b4xmainpage._tgl); + //BA.debugLineNum = 61;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 = 62;BA.debugLine="Dim usuario As String"; +b4xmainpage._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",b4xmainpage._usuario); + //BA.debugLineNum = 63;BA.debugLine="Dim batt As Int"; +b4xmainpage._batt = RemoteObject.createImmutable(0);__ref.setField("_batt",b4xmainpage._batt); + //BA.debugLineNum = 64;BA.debugLine="Dim skmt As SQL"; +b4xmainpage._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",b4xmainpage._skmt); + //BA.debugLineNum = 65;BA.debugLine="Dim montoActual, clientesTotal, clientesVenta, cl"; +b4xmainpage._montoactual = RemoteObject.createImmutable("");__ref.setField("_montoactual",b4xmainpage._montoactual); +b4xmainpage._clientestotal = RemoteObject.createImmutable("");__ref.setField("_clientestotal",b4xmainpage._clientestotal); +b4xmainpage._clientesventa = RemoteObject.createImmutable("");__ref.setField("_clientesventa",b4xmainpage._clientesventa); +b4xmainpage._clientesvisitados = RemoteObject.createImmutable("");__ref.setField("_clientesvisitados",b4xmainpage._clientesvisitados); +b4xmainpage._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",b4xmainpage._almacen); +b4xmainpage._rutapreventa = RemoteObject.createImmutable("");__ref.setField("_rutapreventa",b4xmainpage._rutapreventa); + //BA.debugLineNum = 66;BA.debugLine="Dim DBReqServer, fechaRuta As String"; +b4xmainpage._dbreqserver = RemoteObject.createImmutable("");__ref.setField("_dbreqserver",b4xmainpage._dbreqserver); +b4xmainpage._fecharuta = RemoteObject.createImmutable("");__ref.setField("_fecharuta",b4xmainpage._fecharuta); + //BA.debugLineNum = 67;BA.debugLine="Dim Logger As Boolean"; +b4xmainpage._logger = RemoteObject.createImmutable(false);__ref.setField("_logger",b4xmainpage._logger); + //BA.debugLineNum = 68;BA.debugLine="Dim mac_impresora As String"; +b4xmainpage._mac_impresora = RemoteObject.createImmutable("");__ref.setField("_mac_impresora",b4xmainpage._mac_impresora); + //BA.debugLineNum = 69;BA.debugLine="Dim Phn As PhoneId"; +b4xmainpage._phn = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneId");__ref.setField("_phn",b4xmainpage._phn); + //BA.debugLineNum = 71;BA.debugLine="Dim user As EditText"; +b4xmainpage._user = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_user",b4xmainpage._user); + //BA.debugLineNum = 72;BA.debugLine="Dim pass As EditText"; +b4xmainpage._pass = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_pass",b4xmainpage._pass); + //BA.debugLineNum = 73;BA.debugLine="Public tabulador As C_tabulador"; +b4xmainpage._tabulador = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_tabulador");__ref.setField("_tabulador",b4xmainpage._tabulador); + //BA.debugLineNum = 74;BA.debugLine="Dim c As Cursor"; +b4xmainpage._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",b4xmainpage._c); + //BA.debugLineNum = 75;BA.debugLine="Dim existe As String"; +b4xmainpage._existe = RemoteObject.createImmutable("");__ref.setField("_existe",b4xmainpage._existe); + //BA.debugLineNum = 76;BA.debugLine="Dim paso1 As String"; +b4xmainpage._paso1 = RemoteObject.createImmutable("");__ref.setField("_paso1",b4xmainpage._paso1); + //BA.debugLineNum = 77;BA.debugLine="Private IMEN As Label"; +b4xmainpage._imen = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_imen",b4xmainpage._imen); + //BA.debugLineNum = 78;BA.debugLine="Dim IMEI As String = \"\""; +b4xmainpage._imei = BA.ObjectToString("");__ref.setField("_imei",b4xmainpage._imei); + //BA.debugLineNum = 79;BA.debugLine="Dim alterno As String"; +b4xmainpage._alterno = RemoteObject.createImmutable("");__ref.setField("_alterno",b4xmainpage._alterno); + //BA.debugLineNum = 80;BA.debugLine="Private b_menu As Button"; +b4xmainpage._b_menu = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_menu",b4xmainpage._b_menu); + //BA.debugLineNum = 81;BA.debugLine="Dim PopupMenu As RSPopupMenu"; +b4xmainpage._popupmenu = RemoteObject.createNew ("com.rootsoft.rspopupmenu.RSPopupMenu");__ref.setField("_popupmenu",b4xmainpage._popupmenu); + //BA.debugLineNum = 82;BA.debugLine="Dim cmd As DBCommand"; +b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + //BA.debugLineNum = 83;BA.debugLine="Private PDF As Button"; +b4xmainpage._pdf = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_pdf",b4xmainpage._pdf); + //BA.debugLineNum = 84;BA.debugLine="Private bpv1 As BatteryProgressView"; +b4xmainpage._bpv1 = RemoteObject.createNew ("batteryprogressviewwrapper.batteryprogressviewWrapper");__ref.setField("_bpv1",b4xmainpage._bpv1); + //BA.debugLineNum = 85;BA.debugLine="Dim batterystatus(11) As Int"; +b4xmainpage._batterystatus = RemoteObject.createNewArray ("int", new int[] {11}, new Object[]{});__ref.setField("_batterystatus",b4xmainpage._batterystatus); + //BA.debugLineNum = 86;BA.debugLine="Private bu As BatteryUtilities"; +b4xmainpage._bu = RemoteObject.createNew ("SHARK2.keymon.com.mx.batteryutilities");__ref.setField("_bu",b4xmainpage._bu); + //BA.debugLineNum = 87;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 = 88;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 = 89;BA.debugLine="Private p_Main As Panel"; +b4xmainpage._p_main = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_main",b4xmainpage._p_main); + //BA.debugLineNum = 90;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 = 91;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 = 92;BA.debugLine="Private l_version As Label"; +b4xmainpage._l_version = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_version",b4xmainpage._l_version); + //BA.debugLineNum = 93;BA.debugLine="Private ImageView1 As ImageView"; +b4xmainpage._imageview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview1",b4xmainpage._imageview1); + //BA.debugLineNum = 94;BA.debugLine="Private Label2 As Label"; +b4xmainpage._label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label2",b4xmainpage._label2); + //BA.debugLineNum = 95;BA.debugLine="Private Entrar As Button"; +b4xmainpage._entrar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_entrar",b4xmainpage._entrar); + //BA.debugLineNum = 96;BA.debugLine="Dim tipo_venta As String"; +b4xmainpage._tipo_venta = RemoteObject.createImmutable("");__ref.setField("_tipo_venta",b4xmainpage._tipo_venta); + //BA.debugLineNum = 97;BA.debugLine="Dim bTerminarClicked As Boolean = False"; +b4xmainpage._bterminarclicked = b4xmainpage.__c.getField(true,"False");__ref.setField("_bterminarclicked",b4xmainpage._bterminarclicked); + //BA.debugLineNum = 98;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 = 99;BA.debugLine="Private l_server As Label"; +b4xmainpage._l_server = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_server",b4xmainpage._l_server); + //BA.debugLineNum = 100;BA.debugLine="Private b_enviarbd As Button"; +b4xmainpage._b_enviarbd = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_enviarbd",b4xmainpage._b_enviarbd); + //BA.debugLineNum = 101;BA.debugLine="Private b_importarBD As Button"; +b4xmainpage._b_importarbd = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_importarbd",b4xmainpage._b_importarbd); + //BA.debugLineNum = 102;BA.debugLine="Dim ime As IME"; +b4xmainpage._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",b4xmainpage._ime); + //BA.debugLineNum = 103;BA.debugLine="Dim MES1 As ManageExternalStorage"; +b4xmainpage._mes1 = RemoteObject.createNew ("SHARK2.keymon.com.mx.manageexternalstorage");__ref.setField("_mes1",b4xmainpage._mes1); + //BA.debugLineNum = 104;BA.debugLine="Dim device As Phone"; +b4xmainpage._device = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_device",b4xmainpage._device); + //BA.debugLineNum = 105;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 = 106;BA.debugLine="Private b_guardar As Button"; +b4xmainpage._b_guardar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guardar",b4xmainpage._b_guardar); + //BA.debugLineNum = 107;BA.debugLine="Private Panel11 As Panel"; +b4xmainpage._panel11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel11",b4xmainpage._panel11); + //BA.debugLineNum = 108;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 = 109;BA.debugLine="Private P_PICK_CIEGO As Panel"; +b4xmainpage._p_pick_ciego = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_pick_ciego",b4xmainpage._p_pick_ciego); + //BA.debugLineNum = 110;BA.debugLine="Dim 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 = 111;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 = 112;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 = 113;BA.debugLine="Dim Panel4 As Panel"; +b4xmainpage._panel4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel4",b4xmainpage._panel4); + //BA.debugLineNum = 114;BA.debugLine="Dim q_buscar As String"; +b4xmainpage._q_buscar = RemoteObject.createImmutable("");__ref.setField("_q_buscar",b4xmainpage._q_buscar); + //BA.debugLineNum = 115;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 = 116;BA.debugLine="Dim d As Cursor"; +b4xmainpage._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",b4xmainpage._d); + //BA.debugLineNum = 117;BA.debugLine="Dim a As Cursor"; +b4xmainpage._a = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_a",b4xmainpage._a); + //BA.debugLineNum = 118;BA.debugLine="Dim f As Cursor"; +b4xmainpage._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",b4xmainpage._f); + //BA.debugLineNum = 119;BA.debugLine="Dim idenviar As String"; +b4xmainpage._idenviar = RemoteObject.createImmutable("");__ref.setField("_idenviar",b4xmainpage._idenviar); + //BA.debugLineNum = 120;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 = 121;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 = 122;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 = 123;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 = 124;BA.debugLine="Private b_recarga As Button"; +b4xmainpage._b_recarga = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_recarga",b4xmainpage._b_recarga); + //BA.debugLineNum = 125;BA.debugLine="Dim recarga As String = \"0\""; +b4xmainpage._recarga = BA.ObjectToString("0");__ref.setField("_recarga",b4xmainpage._recarga); + //BA.debugLineNum = 126;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 = 127;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 = 128;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 = 129;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 = 130;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static void _copiadb(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("copiaDB (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,932); +if (RapidSub.canDelegate("copiadb")) { __ref.runUserSub(false, "b4xmainpage","copiadb", __ref); return;} +ResumableSub_copiaDB rsub = new ResumableSub_copiaDB(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_copiaDB extends BA.ResumableSub { +public ResumableSub_copiaDB(SHARK2.keymon.com.mx.b4xmainpage parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xmainpage parent; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); +RemoteObject _thedir = RemoteObject.createImmutable(""); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("copiaDB (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,932); +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 = 933;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(16); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_WRITE_EXTERNAL_STORAGE"))); + BA.debugLineNum = 934;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xmainpage", "copiadb"), null); +this.state = 18; +return; +case 18: +//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 = 935;BA.debugLine="Dim theDir As String = \"\""; +Debug.ShouldStop(64); +_thedir = BA.ObjectToString("");Debug.locals.put("theDir", _thedir);Debug.locals.put("theDir", _thedir); + BA.debugLineNum = 936;BA.debugLine="If Result Then"; +Debug.ShouldStop(128); +if (true) break; + +case 1: +//if +this.state = 17; +if (_result.get().booleanValue()) { +this.state = 3; +}else { +this.state = 16; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 943;BA.debugLine="Dim theDir As String"; +Debug.ShouldStop(16384); +_thedir = RemoteObject.createImmutable("");Debug.locals.put("theDir", _thedir); + BA.debugLineNum = 944;BA.debugLine="Try"; +Debug.ShouldStop(32768); +if (true) break; + +case 4: +//try +this.state = 9; +this.catchState = 8; +this.state = 6; +if (true) break; + +case 6: +//C +this.state = 9; +this.catchState = 8; + BA.debugLineNum = 945;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; +Debug.ShouldStop(65536); +parent.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmts"))); + BA.debugLineNum = 946;BA.debugLine="theDir = \"/kmts\""; +Debug.ShouldStop(131072); +_thedir = BA.ObjectToString("/kmts");Debug.locals.put("theDir", _thedir); + Debug.CheckDeviceExceptions(); +if (true) break; + +case 8: +//C +this.state = 9; +this.catchState = 0; + BA.debugLineNum = 948;BA.debugLine="theDir = \"\""; +Debug.ShouldStop(524288); +_thedir = BA.ObjectToString("");Debug.locals.put("theDir", _thedir); + if (true) break; +if (true) break; +; + BA.debugLineNum = 950;BA.debugLine="Try"; +Debug.ShouldStop(2097152); + +case 9: +//try +this.state = 14; +this.catchState = 0; +this.catchState = 13; +this.state = 11; +if (true) break; + +case 11: +//C +this.state = 14; +this.catchState = 13; + BA.debugLineNum = 951;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirInt"; +Debug.ShouldStop(4194304); +parent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("kmt.db")),(Object)(RemoteObject.concat(parent.__c.getField(false,"File").runMethod(true,"getDirInternal"),_thedir)),(Object)(RemoteObject.createImmutable("SHARK2_kmt.db"))); + BA.debugLineNum = 952;BA.debugLine="ToastMessageShow(\"Listo, copiado a \" & File.Dir"; +Debug.ShouldStop(8388608); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Listo, copiado a "),parent.__c.getField(false,"File").runMethod(true,"getDirInternal"),_thedir,RemoteObject.createImmutable("/SHARK2_kmt.db")))),(Object)(parent.__c.getField(true,"False"))); + Debug.CheckDeviceExceptions(); +if (true) break; + +case 13: +//C +this.state = 14; +this.catchState = 0; + BA.debugLineNum = 954;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se pudo hacer la copia: "),parent.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))))),(Object)(parent.__c.getField(true,"True"))); + if (true) break; +if (true) break; + +case 14: +//C +this.state = 17; +this.catchState = 0; +; + if (true) break; + +case 16: +//C +this.state = 17; + BA.debugLineNum = 957;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; +Debug.ShouldStop(268435456); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Sin permisos")),(Object)(parent.__c.getField(true,"False"))); + if (true) break; + +case 17: +//C +this.state = -1; +; + BA.debugLineNum = 959;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e0.toString());} + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _id_prod,RemoteObject _prod,RemoteObject _cant) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1079); +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 = 1079;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 1080;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(8388608); +_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 = 1081;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +Debug.ShouldStop(16777216); +_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 = 1082;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +Debug.ShouldStop(33554432); +_pa.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("PANEL_PICK_CIEGO")),__ref.getField(false, "ba")); + BA.debugLineNum = 1083;BA.debugLine="pa.Height = 55dip"; +Debug.ShouldStop(67108864); +_pa.runMethod(true,"setHeight",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55)))); + BA.debugLineNum = 1084;BA.debugLine="pa.Width = 298dip"; +Debug.ShouldStop(134217728); +_pa.runMethod(true,"setWidth",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 298)))); + BA.debugLineNum = 1086;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_id_prod,b4xmainpage.__c.getField(true,"CRLF"),_prod))); + BA.debugLineNum = 1087;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 1088;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; +Debug.ShouldStop(-2147483648); +__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 = 1089;BA.debugLine="ET_PICK_CIEGO.Text = cant"; +Debug.ShouldStop(1); +__ref.getField(false,"_et_pick_ciego" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_cant)); + BA.debugLineNum = 1092;BA.debugLine="Return pa"; +Debug.ShouldStop(8); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _pa.getObject()); + BA.debugLineNum = 1093;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +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,1095); +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 = 1095;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; +Debug.ShouldStop(64); + BA.debugLineNum = 1096;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(128); +_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 = 1097;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +Debug.ShouldStop(256); +_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 = 1098;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +Debug.ShouldStop(512); +_pa.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("PANEL_PICK_CIEGO")),__ref.getField(false, "ba")); + BA.debugLineNum = 1099;BA.debugLine="pa.Height = 55dip"; +Debug.ShouldStop(1024); +_pa.runMethod(true,"setHeight",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 55)))); + BA.debugLineNum = 1100;BA.debugLine="pa.Width = 298dip"; +Debug.ShouldStop(2048); +_pa.runMethod(true,"setWidth",b4xmainpage.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 298)))); + BA.debugLineNum = 1102;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_id_prod,b4xmainpage.__c.getField(true,"CRLF"),_prod))); + BA.debugLineNum = 1103;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_pick_ciego" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 1104;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; +Debug.ShouldStop(32768); +__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 = 1107;BA.debugLine="Return pa"; +Debug.ShouldStop(262144); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _pa.getObject()); + BA.debugLineNum = 1108;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dameusuario(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("dameUsuario (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,902); +if (RapidSub.canDelegate("dameusuario")) { return __ref.runUserSub(false, "b4xmainpage","dameusuario", __ref);} + BA.debugLineNum = 902;BA.debugLine="Sub dameUsuario"; +Debug.ShouldStop(32); + BA.debugLineNum = 903;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as EXISTE1 from usuarioa where usuario = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")})))); + BA.debugLineNum = 904;BA.debugLine="c.Position=0"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 905;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; +Debug.ShouldStop(256); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE1")))); + BA.debugLineNum = 906;BA.debugLine="c.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 907;BA.debugLine="If existe > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_existe" /*RemoteObject*/ )),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 908;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 909;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 910;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(8192); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + }else { + BA.debugLineNum = 912;BA.debugLine="usuario = \"SINUSUARIO\""; +Debug.ShouldStop(32768); +__ref.setField ("_usuario" /*RemoteObject*/ ,BA.ObjectToString("SINUSUARIO")); + }; + BA.debugLineNum = 914;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _entrar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Entrar_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,478); +if (RapidSub.canDelegate("entrar_click")) { return __ref.runUserSub(false, "b4xmainpage","entrar_click", __ref);} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.agraham.reflection.Reflection"); +RemoteObject _api = RemoteObject.createImmutable(0); +RemoteObject _pp = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +RemoteObject _id = RemoteObject.createImmutable(0); + BA.debugLineNum = 478;BA.debugLine="Sub Entrar_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 479;BA.debugLine="Log(\"|\" & Starter.DBReqServer)"; +Debug.ShouldStop(1073741824); +b4xmainpage.__c.runVoidMethod ("LogImpl","51703937",RemoteObject.concat(RemoteObject.createImmutable("|"),b4xmainpage._starter._dbreqserver /*RemoteObject*/ ),0); + BA.debugLineNum = 480;BA.debugLine="Dim r As Reflector"; +Debug.ShouldStop(-2147483648); +_r = RemoteObject.createNew ("anywheresoftware.b4a.agraham.reflection.Reflection");Debug.locals.put("r", _r); + BA.debugLineNum = 481;BA.debugLine="Dim Api As Int"; +Debug.ShouldStop(1); +_api = RemoteObject.createImmutable(0);Debug.locals.put("Api", _api); + BA.debugLineNum = 482;BA.debugLine="Dim PP As Phone"; +Debug.ShouldStop(2); +_pp = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("PP", _pp); + BA.debugLineNum = 483;BA.debugLine="Api = r.GetStaticField(\"android.os.Build$VERSION\""; +Debug.ShouldStop(4); +_api = BA.numberCast(int.class, _r.runMethod(false,"GetStaticField",(Object)(BA.ObjectToString("android.os.Build$VERSION")),(Object)(RemoteObject.createImmutable("SDK_INT"))));Debug.locals.put("Api", _api); + BA.debugLineNum = 484;BA.debugLine="If Api < 9 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("<",_api,BA.numberCast(double.class, 9))) { + BA.debugLineNum = 486;BA.debugLine="If File.Exists(File.DirInternal, \"__id\") Then"; +Debug.ShouldStop(32); +if (b4xmainpage.__c.getField(false,"File").runMethod(true,"Exists",(Object)(b4xmainpage.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("__id"))).get().booleanValue()) { + BA.debugLineNum = 487;BA.debugLine="IMEI = File.ReadString(File.DirInternal, \"__id"; +Debug.ShouldStop(64); +__ref.setField ("_imei" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"File").runMethod(true,"ReadString",(Object)(b4xmainpage.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("__id")))); + BA.debugLineNum = 488;BA.debugLine="Log(1&\"-\"&IMEI)"; +Debug.ShouldStop(128); +b4xmainpage.__c.runVoidMethod ("LogImpl","51703946",RemoteObject.concat(RemoteObject.createImmutable(1),RemoteObject.createImmutable("-"),__ref.getField(true,"_imei" /*RemoteObject*/ )),0); + }else { + BA.debugLineNum = 490;BA.debugLine="Dim id As Int"; +Debug.ShouldStop(512); +_id = RemoteObject.createImmutable(0);Debug.locals.put("id", _id); + BA.debugLineNum = 491;BA.debugLine="id = Rnd(0x10000000, 0x7FFFFFFF)"; +Debug.ShouldStop(1024); +_id = b4xmainpage.__c.runMethod(true,"Rnd",(Object)(BA.numberCast(int.class, ((int)0x10000000))),(Object)(BA.numberCast(int.class, ((int)0x7fffffff))));Debug.locals.put("id", _id); + BA.debugLineNum = 492;BA.debugLine="File.WriteString(File.DirInternal, \"__id\", id)"; +Debug.ShouldStop(2048); +b4xmainpage.__c.getField(false,"File").runVoidMethod ("WriteString",(Object)(b4xmainpage.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("__id")),(Object)(BA.NumberToString(_id))); + BA.debugLineNum = 493;BA.debugLine="IMEI = id"; +Debug.ShouldStop(4096); +__ref.setField ("_imei" /*RemoteObject*/ ,BA.NumberToString(_id)); + BA.debugLineNum = 494;BA.debugLine="Log(2&\"-\"&IMEI)"; +Debug.ShouldStop(8192); +b4xmainpage.__c.runVoidMethod ("LogImpl","51703952",RemoteObject.concat(RemoteObject.createImmutable(2),RemoteObject.createImmutable("-"),__ref.getField(true,"_imei" /*RemoteObject*/ )),0); + }; + }else { + BA.debugLineNum = 498;BA.debugLine="IMEI = r.GetStaticField(\"android.os.Build\", \"SE"; +Debug.ShouldStop(131072); +__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString(_r.runMethod(false,"GetStaticField",(Object)(BA.ObjectToString("android.os.Build")),(Object)(RemoteObject.createImmutable("SERIAL"))))); + }; + BA.debugLineNum = 501;BA.debugLine="If IMEI.ToLowerCase = \"unknown\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_imei" /*RemoteObject*/ ).runMethod(true,"toLowerCase"),BA.ObjectToString("unknown"))) { + BA.debugLineNum = 502;BA.debugLine="IMEI = PP.GetSettings(\"android_id\")"; +Debug.ShouldStop(2097152); +__ref.setField ("_imei" /*RemoteObject*/ ,_pp.runMethod(true,"GetSettings",(Object)(RemoteObject.createImmutable("android_id")))); + }; + BA.debugLineNum = 506;BA.debugLine="If user.Text = \"ALTERNO\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("ALTERNO"))) { + BA.debugLineNum = 507;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")})))); + BA.debugLineNum = 508;BA.debugLine="c.Position =0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 509;BA.debugLine="DBReqServer = c.GetString(\"CAT_CO_CONFIGURACION\""; +Debug.ShouldStop(268435456); +__ref.setField ("_dbreqserver" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CO_CONFIGURACION")))); + BA.debugLineNum = 510;BA.debugLine="alterno = c.GetString(\"CAT_CO_RESULTADO\")"; +Debug.ShouldStop(536870912); +__ref.setField ("_alterno" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CO_RESULTADO")))); + BA.debugLineNum = 511;BA.debugLine="c.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 512;BA.debugLine="If alterno = 1 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_alterno" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 513;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +Debug.ShouldStop(1); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")}))))); + BA.debugLineNum = 514;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +Debug.ShouldStop(2); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")}))))); + }else +{ BA.debugLineNum = 515;BA.debugLine="Else if alterno = 2 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_alterno" /*RemoteObject*/ ),BA.NumberToString(2))) { + BA.debugLineNum = 516;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +Debug.ShouldStop(8); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")}))))); + BA.debugLineNum = 517;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +Debug.ShouldStop(16); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")}))))); + }} +; + BA.debugLineNum = 519;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SERVER")})))); + BA.debugLineNum = 520;BA.debugLine="c.Position =0"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 521;BA.debugLine="DBReqServer = c.GetString(\"CAT_CO_CONFIGURACION\""; +Debug.ShouldStop(256); +__ref.setField ("_dbreqserver" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CO_CONFIGURACION")))); + BA.debugLineNum = 522;BA.debugLine="user.Text = DBReqServer"; +Debug.ShouldStop(512); +__ref.getField(false,"_user" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_dbreqserver" /*RemoteObject*/ ))); + BA.debugLineNum = 523;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 525;BA.debugLine="else if user.Text = \"KMTS1\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { + BA.debugLineNum = 526;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +Debug.ShouldStop(8192); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa"))); + BA.debugLineNum = 527;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES"; +Debug.ShouldStop(16384); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 528;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen"))); + BA.debugLineNum = 529;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A"; +Debug.ShouldStop(65536); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 530;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; +Debug.ShouldStop(131072); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION"))); + BA.debugLineNum = 531;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO"; +Debug.ShouldStop(262144); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO VERSION(NOVERSION) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("2.1"))}))))); + BA.debugLineNum = 532;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +Debug.ShouldStop(524288); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes"))); + }else +{ BA.debugLineNum = 533;BA.debugLine="else if user.Text = \"BERNA1\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("BERNA1"))) { + BA.debugLineNum = 534;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa"))); + BA.debugLineNum = 535;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.createImmutable("1"))}))))); + BA.debugLineNum = 536;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen"))); + BA.debugLineNum = 537;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("1"))}))))); + BA.debugLineNum = 538;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION"))); + BA.debugLineNum = 539;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO VERSION(NOVERSION) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("2.1"))}))))); + BA.debugLineNum = 540;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +Debug.ShouldStop(134217728); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes"))); + }else +{ BA.debugLineNum = 541;BA.debugLine="else if user.Text = \"IMEI\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("IMEI"))) { + BA.debugLineNum = 542;BA.debugLine="user.Text = IMEI"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_user" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_imei" /*RemoteObject*/ ))); + }}}} +; + BA.debugLineNum = 545;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as EXISTE1 from usuarioa where usuario = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")})))); + BA.debugLineNum = 546;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 547;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 = 548;BA.debugLine="If existe = 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_existe" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 549;BA.debugLine="If IMEI = \"\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_imei" /*RemoteObject*/ ),BA.ObjectToString(""))) { + BA.debugLineNum = 550;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(32); +b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 551;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 552;BA.debugLine="cmd.Name = \"select_usuario_SHARK2 \" 'Antes sele"; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_usuario_SHARK2 ")); + BA.debugLineNum = 553;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Trim"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"))})); + BA.debugLineNum = 554;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")"; +Debug.ShouldStop(512); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("usuario_10")))); + }else { + BA.debugLineNum = 556;BA.debugLine="If IMEI = \"\" Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_imei" /*RemoteObject*/ ),BA.ObjectToString(""))) { + BA.debugLineNum = 557;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(4096); +b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 558;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 559;BA.debugLine="cmd.Name = \"select_usuario_SHARK2\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_usuario_SHARK2")); + BA.debugLineNum = 560;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Tri"; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"))})); + BA.debugLineNum = 561;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("usuario_10")))); + }else { + BA.debugLineNum = 563;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(262144); +b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 564;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 565;BA.debugLine="cmd.Name = \"select_usuario_SHARK2\" 'Antes sele"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_usuario_SHARK2")); + BA.debugLineNum = 566;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Tri"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"))})); + BA.debugLineNum = 567;BA.debugLine="Log(\"Mandamos: \"&user.Text&\"|\"& pass.Text)"; +Debug.ShouldStop(4194304); +b4xmainpage.__c.runVoidMethod ("LogImpl","51704025",RemoteObject.concat(RemoteObject.createImmutable("Mandamos: "),__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("|"),__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText")),0); + BA.debugLineNum = 568;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("usuario_10")))); + }; + }; + BA.debugLineNum = 571;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(67108864); +b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 572;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 573;BA.debugLine="cmd.Name = \"select_version_SHARK2\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_version_SHARK2")); + BA.debugLineNum = 574;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("version")))); + }else { + BA.debugLineNum = 576;BA.debugLine="usuario = user.Text"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 577;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(1); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }; + BA.debugLineNum = 579;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _entrar_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Entrar_LongClick (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,997); +if (RapidSub.canDelegate("entrar_longclick")) { return __ref.runUserSub(false, "b4xmainpage","entrar_longclick", __ref);} + BA.debugLineNum = 997;BA.debugLine="Sub Entrar_LongClick"; +Debug.ShouldStop(16); + BA.debugLineNum = 999;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +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,1038); +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 = 1038;BA.debugLine="Private Sub et_buspc_TextChanged (Old As String, N"; +Debug.ShouldStop(8192); + BA.debugLineNum = 1039;BA.debugLine="If New = \"\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_new,BA.ObjectToString(""))) { + BA.debugLineNum = 1040;BA.debugLine="CLV_PICK_CIEGO.Clear"; +Debug.ShouldStop(32768); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear"); + }else +{ BA.debugLineNum = 1041;BA.debugLine="Else If New.Length >= 3 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("g",_new.runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 1042;BA.debugLine="CLV_PICK_CIEGO.Clear"; +Debug.ShouldStop(131072); +__ref.getField(false,"_clv_pick_ciego" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 1044;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\""; +Debug.ShouldStop(524288); +__ref.setField ("_q_buscar" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable("%"),__ref.getField(false,"_et_buspc" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("%"))); + BA.debugLineNum = 1045;BA.debugLine="Log(q_buscar)"; +Debug.ShouldStop(1048576); +b4xmainpage.__c.runVoidMethod ("LogImpl","53145735",__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),0); + BA.debugLineNum = 1046;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"select CAT"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_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 = 1047;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 = 1050;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(33554432); +{ +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 = 1051;BA.debugLine="c.Position = i"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1052;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("; +Debug.ShouldStop(134217728); +__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 (SHARK2.keymon.com.mx.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 = 1055;BA.debugLine="c.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1057;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"select CA"; +Debug.ShouldStop(1); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_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 = 1059;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(4); +{ +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 = 1060;BA.debugLine="d.Position = i"; +Debug.ShouldStop(8); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1061;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; +Debug.ShouldStop(16); +__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 (SHARK2.keymon.com.mx.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 = 1064;BA.debugLine="d.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 1066;BA.debugLine="Else If c.RowCount = 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1067;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"select CA"; +Debug.ShouldStop(1024); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_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 = 1069;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(4096); +{ +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 = 1070;BA.debugLine="d.Position = i"; +Debug.ShouldStop(8192); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1071;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; +Debug.ShouldStop(16384); +__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 (SHARK2.keymon.com.mx.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 = 1074;BA.debugLine="d.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }} +; + }} +; + BA.debugLineNum = 1077;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_pick_ciego_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("ET_PICK_CIEGO_TextChanged (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,1110); +if (RapidSub.canDelegate("et_pick_ciego_textchanged")) { return __ref.runUserSub(false, "b4xmainpage","et_pick_ciego_textchanged", __ref, _old, _new);} +RemoteObject _et = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 1110;BA.debugLine="Sub ET_PICK_CIEGO_TextChanged (Old As String, New"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 1111;BA.debugLine="Dim et As EditText = Sender"; +Debug.ShouldStop(4194304); +_et = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper"); +_et = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), b4xmainpage.__c.runMethod(false,"Sender",__ref.getField(false, "ba")));Debug.locals.put("et", _et);Debug.locals.put("et", _et); + BA.debugLineNum = 1112;BA.debugLine="If New.Length > 4 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",_new.runMethod(true,"length"),BA.numberCast(double.class, 4))) { + BA.debugLineNum = 1113;BA.debugLine="et.Text = Old"; +Debug.ShouldStop(16777216); +_et.runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_old)); + }; + BA.debugLineNum = 1115;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,871); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "b4xmainpage","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 871;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(64); + BA.debugLineNum = 872;BA.debugLine="If user.text = \"GPS\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("GPS"))) { + BA.debugLineNum = 873;BA.debugLine="user.Text=Location1.Latitude"; +Debug.ShouldStop(256); +__ref.getField(false,"_user" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_location1.runMethod(true,"getLatitude"))); + BA.debugLineNum = 874;BA.debugLine="pass.text=Location1.Longitude"; +Debug.ShouldStop(512); +__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_location1.runMethod(true,"getLongitude"))); + }; + BA.debugLineNum = 876;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _i_engrane_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("i_engrane_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,975); +if (RapidSub.canDelegate("i_engrane_click")) { return __ref.runUserSub(false, "b4xmainpage","i_engrane_click", __ref);} + BA.debugLineNum = 975;BA.debugLine="Sub i_engrane_Click"; +Debug.ShouldStop(16384); + BA.debugLineNum = 976;BA.debugLine="lv_server.Clear"; +Debug.ShouldStop(32768); +__ref.getField(false,"_lv_server" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 977;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(65536); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 978;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.net:1781\")"; +Debug.ShouldStop(131072); +__ref.getField(false,"_lv_server" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("http://keymon.net:1781")))); + BA.debugLineNum = 980;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi"; +Debug.ShouldStop(524288); +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:1781"))));}; + BA.debugLineNum = 982;BA.debugLine="Log($\"|${Starter.DBReqServer}|\"$)"; +Debug.ShouldStop(2097152); +b4xmainpage.__c.runVoidMethod ("LogImpl","52555911",(RemoteObject.concat(RemoteObject.createImmutable("|"),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((b4xmainpage._starter._dbreqserver /*RemoteObject*/ ))),RemoteObject.createImmutable("|"))),0); + BA.debugLineNum = 984;BA.debugLine="et_server.Text = Starter.DBReqServer"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(b4xmainpage._starter._dbreqserver /*RemoteObject*/ )); + BA.debugLineNum = 985;BA.debugLine="Subs.panelVisible(p_appUpdate,0,0)"; +Debug.ShouldStop(16777216); +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 = 986;BA.debugLine="If user.Text.trim = \"KMTS1\" Then b_importarBD.Vis"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"),BA.ObjectToString("KMTS1"))) { +__ref.getField(false,"_b_importarbd" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"True"));} +else { +__ref.getField(false,"_b_importarbd" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False"));}; + 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 _i_engrane_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("i_engrane_LongClick (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,993); +if (RapidSub.canDelegate("i_engrane_longclick")) { return __ref.runUserSub(false, "b4xmainpage","i_engrane_longclick", __ref);} + BA.debugLineNum = 993;BA.debugLine="Sub i_engrane_LongClick"; +Debug.ShouldStop(1); + BA.debugLineNum = 994;BA.debugLine="copiaDB"; +Debug.ShouldStop(2); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_copiadb" /*void*/ ); + BA.debugLineNum = 995;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 (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,132); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xmainpage","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 132;BA.debugLine="Public Sub Initialize"; +Debug.ShouldStop(8); + BA.debugLineNum = 134;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +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,581); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "b4xmainpage","jobdone", __ref, _job);} +RemoteObject _result = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbresult"); +RemoteObject _records = null; +RemoteObject _cat_ve_version = RemoteObject.createImmutable(""); +RemoteObject _k = RemoteObject.createImmutable(""); +RemoteObject _id_almacen = RemoteObject.createImmutable(""); +RemoteObject _cuenta = RemoteObject.createImmutable(""); +RemoteObject _id = RemoteObject.createImmutable(""); +RemoteObject _fecha_hoy = RemoteObject.createImmutable(""); +RemoteObject _name = RemoteObject.createImmutable(""); +RemoteObject _imei_base = RemoteObject.createImmutable(""); +RemoteObject _cat_pa_pass = RemoteObject.createImmutable(""); +RemoteObject _valido = RemoteObject.createImmutable(""); +Debug.locals.put("Job", _job); + BA.debugLineNum = 581;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(16); + BA.debugLineNum = 582;BA.debugLine="Log(\"JOBDONE MAINPAGE\")"; +Debug.ShouldStop(32); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769473",RemoteObject.createImmutable("JOBDONE MAINPAGE"),0); + BA.debugLineNum = 583;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IsInitia"; +Debug.ShouldStop(64); +if (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 584;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IndexOf"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("!",b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_job.getField(false,"_tag" /*RemoteObject*/ ))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 585;BA.debugLine="B4XPages.MainPage.reqManager.reqsList.RemoveAt("; +Debug.ShouldStop(256); +b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_job.getField(false,"_tag" /*RemoteObject*/ ))))); + BA.debugLineNum = 586;BA.debugLine="LogColor($\">>>>>> Quitamos ${Job.tag}\"$, Colors"; +Debug.ShouldStop(512); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769477",(RemoteObject.concat(RemoteObject.createImmutable(">>>>>> Quitamos "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_job.getField(false,"_tag" /*RemoteObject*/ ))),RemoteObject.createImmutable(""))),b4xmainpage.__c.getField(false,"Colors").getField(true,"Blue")); + }; + BA.debugLineNum = 588;BA.debugLine="LogColor(\">>>>>> \" & B4XPages.MainPage.reqManage"; +Debug.ShouldStop(2048); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769479",RemoteObject.concat(RemoteObject.createImmutable(">>>>>> "),b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(" - "),b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ )),b4xmainpage.__c.getField(false,"Colors").getField(true,"Blue")); + }; + BA.debugLineNum = 590;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),b4xmainpage.__c.getField(true,"False"))) { + BA.debugLineNum = 591;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Job.Error"; +Debug.ShouldStop(16384); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769482",RemoteObject.concat(RemoteObject.createImmutable("Error: "),_job.getField(false,"_tag" /*RemoteObject*/ ),RemoteObject.createImmutable(" : "),_job.getField(true,"_errormessage" /*RemoteObject*/ )),b4xmainpage.__c.getField(false,"Colors").getField(true,"Red")); + }else { + BA.debugLineNum = 593;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +Debug.ShouldStop(65536); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769484",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),b4xmainpage.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 594;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 595;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(262144); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 596;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("version")))) { + BA.debugLineNum = 597;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(1048576); +{ +final RemoteObject group16 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen16 = group16.runMethod(true,"getSize").get() +;int index16 = 0; +; +for (; index16 < groupLen16;index16++){ +_records = (group16.runMethod(false,"Get",index16));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 598;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION"))); + BA.debugLineNum = 599;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; +Debug.ShouldStop(4194304); +_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 = 600;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVER"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO VERSION(NOVERSION) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_ve_version)}))))); + } +}Debug.locals.put("records", _records); +; + }; + BA.debugLineNum = 604;BA.debugLine="If result.Tag = \"select_fechat\" Then 'query tag"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("select_fechat")))) { + BA.debugLineNum = 605;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(268435456); +{ +final RemoteObject group23 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen23 = group23.runMethod(true,"getSize").get() +;int index23 = 0; +; +for (; index23 < groupLen23;index23++){ +_records = (group23.runMethod(false,"Get",index23));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 606;BA.debugLine="For Each k As String In result.Columns.Keys"; +Debug.ShouldStop(536870912); +{ +final RemoteObject group24 = _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen24 = group24.runMethod(true,"getSize").get() +;int index24 = 0; +; +for (; index24 < groupLen24;index24++){ +_k = BA.ObjectToString(group24.runMethod(false,"Get",index24));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 607;BA.debugLine="Log(\"select_fechat: \" & k & \": \" & records(r"; +Debug.ShouldStop(1073741824); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769498",RemoteObject.concat(RemoteObject.createImmutable("select_fechat: "),_k,RemoteObject.createImmutable(": "),_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k)))))),0); + } +}Debug.locals.put("k", _k); +; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 613;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 614;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(32); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 615;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("agencia")))) { + BA.debugLineNum = 616;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(128); +{ +final RemoteObject group33 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen33 = group33.runMethod(true,"getSize").get() +;int index33 = 0; +; +for (; index33 < groupLen33;index33++){ +_records = (group33.runMethod(false,"Get",index33));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 617;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; +Debug.ShouldStop(256); +_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 = 622;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 623;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(16384); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 624;BA.debugLine="If result.Tag = \"SelectMontoLiq\" Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("SelectMontoLiq")))) { + BA.debugLineNum = 625;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(65536); +{ +final RemoteObject group41 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen41 = group41.runMethod(true,"getSize").get() +;int index41 = 0; +; +for (; index41 < groupLen41;index41++){ +_records = (group41.runMethod(false,"Get",index41));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 626;BA.debugLine="Dim CUENTA As String = records(result.Columns"; +Debug.ShouldStop(131072); +_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 = 628;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(524288); +b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 629;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(1048576); +__ref.setField ("_sdate" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 630;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(2097152); +__ref.setField ("_stime" /*RemoteObject*/ ,b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(b4xmainpage.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 631;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info")))); + BA.debugLineNum = 632;BA.debugLine="f.Position = 0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 633;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_a" /*RemoteObject*/ ).setObject (b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 634;BA.debugLine="a.Position = 0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 636;BA.debugLine="Private c2 As Cursor"; +Debug.ShouldStop(134217728); +b4xmainpage._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",b4xmainpage._c2); + BA.debugLineNum = 637;BA.debugLine="c2=skmt.ExecQuery(\"select USUARIO from usuari"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 638;BA.debugLine="c2.Position=0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 639;BA.debugLine="If c2.RowCount > 0 Then c2.GetString(\"USUARIO"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("GetString",(Object)(RemoteObject.createImmutable("USUARIO")));}; + BA.debugLineNum = 641;BA.debugLine="Log(CUENTA & \"----------------------!!\")"; +Debug.ShouldStop(1); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769532",RemoteObject.concat(_cuenta,RemoteObject.createImmutable("----------------------!!")),0); + BA.debugLineNum = 642;BA.debugLine="If CUENTA = \"0\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_cuenta,BA.ObjectToString("0"))) { + BA.debugLineNum = 644;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))),__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))})))); + BA.debugLineNum = 645;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 = 647;BA.debugLine="c.Position=0"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 648;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(128); +b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 649;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 650;BA.debugLine="cmd.Name = \"insert_Monto_Liq_SHARK2\""; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_Monto_Liq_SHARK2")); + BA.debugLineNum = 651;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; +Debug.ShouldStop(1024); +__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("EML_MONTO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO")))),RemoteObject.createImmutable(("VENTA")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_FECHA_PED"))))})); + BA.debugLineNum = 652;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_Mon_Li"; +Debug.ShouldStop(2048); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_Mon_Liq")))); + BA.debugLineNum = 653;BA.debugLine="MsgboxAsync(\"Monto Enviado\", \"Atención\")"; +Debug.ShouldStop(4096); +b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Monto Enviado")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 656;BA.debugLine="c.Close"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 657;BA.debugLine="Else if CUENTA > \"0\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cuenta),BA.numberCast(double.class, "0"))) { + BA.debugLineNum = 659;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (b4xmainpage._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO"))),__ref.getField(false,"_a" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))})))); + BA.debugLineNum = 660;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 = 662;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 663;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 664;BA.debugLine="cmd.Name = \"update_MontoCuenta_SHARK2\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_MontoCuenta_SHARK2")); + BA.debugLineNum = 665;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; +Debug.ShouldStop(16777216); +__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("EML_MONTO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO"))))})); + BA.debugLineNum = 667;BA.debugLine="Log(c.GetString(\"EML_MONTO\")& \" \" & c.GetSt"; +Debug.ShouldStop(67108864); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769558",RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_MONTO"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_ALMACEN"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_RUTA"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EML_USUARIO")))),0); + BA.debugLineNum = 668;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_MC\")"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("update_MC")))); + BA.debugLineNum = 669;BA.debugLine="MsgboxAsync(\"Se sobre escribio el Monto\", \""; +Debug.ShouldStop(268435456); +b4xmainpage.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Se sobre escribio el Monto")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 672;BA.debugLine="c2.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 673;BA.debugLine="c.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }} +; + BA.debugLineNum = 675;BA.debugLine="f.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 676;BA.debugLine="a.Close"; +Debug.ShouldStop(8); +__ref.getField(false,"_a" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 681;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 682;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(512); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 683;BA.debugLine="If result.Tag.As(String).IndexOf(\"PICK_C_\") > -"; +Debug.ShouldStop(1024); +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 = 685;BA.debugLine="Private id As String= result.Tag"; +Debug.ShouldStop(4096); +_id = BA.ObjectToString(_result.getField(false,"Tag" /*RemoteObject*/ ));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 686;BA.debugLine="id = id.SubString(id.IndexOf(\"_\")+3)"; +Debug.ShouldStop(8192); +_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 = 687;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(16384); +{ +final RemoteObject group91 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen91 = group91.runMethod(true,"getSize").get() +;int index91 = 0; +; +for (; index91 < groupLen91;index91++){ +_records = (group91.runMethod(false,"Get",index91));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 688;BA.debugLine="Dim CUENTA As String = records(result.Columns"; +Debug.ShouldStop(32768); +_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 = 689;BA.debugLine="Log(CUENTA)"; +Debug.ShouldStop(65536); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769580",_cuenta,0); + BA.debugLineNum = 690;BA.debugLine="Log(id)"; +Debug.ShouldStop(131072); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769581",_id,0); + BA.debugLineNum = 691;BA.debugLine="If CUENTA = 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_cuenta,BA.NumberToString(0))) { + BA.debugLineNum = 692;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P"; +Debug.ShouldStop(524288); +__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[] {_id})))); + BA.debugLineNum = 693;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 = 695;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 696;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8388608); +b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 697;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 698;BA.debugLine="cmd.Name = \"insert_PICKCIEGO_SHARK2\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_PICKCIEGO_SHARK2")); + BA.debugLineNum = 699;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; +Debug.ShouldStop(67108864); +__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("VENTA"))})); + BA.debugLineNum = 700;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_PC\")"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_PC")))); + }; + BA.debugLineNum = 703;BA.debugLine="c.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 704;BA.debugLine="Else if CUENTA > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cuenta),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 705;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P"; +Debug.ShouldStop(1); +__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[] {_id})))); + BA.debugLineNum = 706;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 708;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 709;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(16); +b4xmainpage._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",b4xmainpage._cmd); + BA.debugLineNum = 710;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 711;BA.debugLine="cmd.Name = \"update_PICKCIEGO_SHARK2\""; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_PICKCIEGO_SHARK2")); + BA.debugLineNum = 712;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))"; +Debug.ShouldStop(128); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769603",RemoteObject.concat(RemoteObject.createImmutable("FECHA"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),0); + BA.debugLineNum = 713;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; +Debug.ShouldStop(256); +__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("VENTA"))})); + BA.debugLineNum = 714;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")"; +Debug.ShouldStop(512); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("update_PC")))); + }; + BA.debugLineNum = 717;BA.debugLine="c.Close"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }} +; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 724;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 725;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(1048576); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 726;BA.debugLine="If result.Tag = \"fecha\" Then 'query tag"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("fecha")))) { + BA.debugLineNum = 727;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(4194304); +{ +final RemoteObject group125 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen125 = group125.runMethod(true,"getSize").get() +;int index125 = 0; +; +for (; index125 < groupLen125;index125++){ +_records = (group125.runMethod(false,"Get",index125));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 728;BA.debugLine="Dim FECHA_HOY As String = records(result.Colu"; +Debug.ShouldStop(8388608); +_fecha_hoy = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("FECHA")))))));Debug.locals.put("FECHA_HOY", _fecha_hoy);Debug.locals.put("FECHA_HOY", _fecha_hoy); + BA.debugLineNum = 729;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("FECHA"))}))))); + BA.debugLineNum = 730;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("FECHA")),(_fecha_hoy)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 735;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 736;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(-2147483648); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 737;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuario")))) { + BA.debugLineNum = 738;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(2); +{ +final RemoteObject group135 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen135 = group135.runMethod(true,"getSize").get() +;int index135 = 0; +; +for (; index135 < groupLen135;index135++){ +_records = (group135.runMethod(false,"Get",index135));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 739;BA.debugLine="Dim name As String = records(result.Columns.G"; +Debug.ShouldStop(4); +_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 = 740;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; +Debug.ShouldStop(8); +_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 = 741;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; +Debug.ShouldStop(16); +_imei_base = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_IDTELEFONO")))))));Debug.locals.put("IMEI_BASE", _imei_base);Debug.locals.put("IMEI_BASE", _imei_base); + BA.debugLineNum = 742;BA.debugLine="Log(records(result.Columns.Get(\"CAT_LO_IDTELE"; +Debug.ShouldStop(32); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769633",BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_IDTELEFONO"))))))),0); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 744;BA.debugLine="paso1 = 1"; +Debug.ShouldStop(128); +__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 745;BA.debugLine="ToastMessageShow(name, False)"; +Debug.ShouldStop(256); +b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(_name)),(Object)(b4xmainpage.__c.getField(true,"False"))); + BA.debugLineNum = 746;BA.debugLine="Log(\"////////////////////////// \"&name)"; +Debug.ShouldStop(512); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769637",RemoteObject.concat(RemoteObject.createImmutable("////////////////////////// "),_name),0); + }; + }; + BA.debugLineNum = 750;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 751;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(16384); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 752;BA.debugLine="If result.Tag = \"usuario_10\" Then 'query tag"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuario_10")))) { + BA.debugLineNum = 753;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(65536); +{ +final RemoteObject group149 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen149 = group149.runMethod(true,"getSize").get() +;int index149 = 0; +; +for (; index149 < groupLen149;index149++){ +_records = (group149.runMethod(false,"Get",index149));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 754;BA.debugLine="Dim name As String = records(result.Columns.G"; +Debug.ShouldStop(131072); +_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 = 755;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; +Debug.ShouldStop(262144); +_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 = 756;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; +Debug.ShouldStop(524288); +_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 = 758;BA.debugLine="Log(\"|\"&name&\"|\")"; +Debug.ShouldStop(2097152); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769649",RemoteObject.concat(RemoteObject.createImmutable("|"),_name,RemoteObject.createImmutable("|")),0); + BA.debugLineNum = 759;BA.debugLine="paso1 = 1"; +Debug.ShouldStop(4194304); +__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 760;BA.debugLine="IMEI_BASE = \"\""; +Debug.ShouldStop(8388608); +_imei_base = BA.ObjectToString("");Debug.locals.put("IMEI_BASE", _imei_base); + BA.debugLineNum = 761;BA.debugLine="IMEI = \"\""; +Debug.ShouldStop(16777216); +__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString("")); + }; + }; + BA.debugLineNum = 765;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 766;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(536870912); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 767;BA.debugLine="If result.Tag = \"contrasena\" Then 'query tag"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("contrasena")))) { + BA.debugLineNum = 768;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(-2147483648); +{ +final RemoteObject group163 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen163 = group163.runMethod(true,"getSize").get() +;int index163 = 0; +; +for (; index163 < groupLen163;index163++){ +_records = (group163.runMethod(false,"Get",index163));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 769;BA.debugLine="Dim CAT_PA_PASS As String = records(result.Co"; +Debug.ShouldStop(1); +_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 = 770;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_cat_pa_pass,__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethod(true,"getText"))) { + BA.debugLineNum = 771;BA.debugLine="Log(CAT_PA_PASS)"; +Debug.ShouldStop(4); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769662",_cat_pa_pass,0); + BA.debugLineNum = 772;BA.debugLine="p_validacion.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_validacion" /*RemoteObject*/ ).runMethod(true,"setVisible",b4xmainpage.__c.getField(true,"False")); + BA.debugLineNum = 773;BA.debugLine="et_codigo.Text = \"\""; +Debug.ShouldStop(16); +__ref.getField(false,"_et_codigo" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 774;BA.debugLine="If recarga = \"0\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_recarga" /*RemoteObject*/ ),BA.ObjectToString("0"))) { + BA.debugLineNum = 775;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; +Debug.ShouldStop(64); +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 = 776;BA.debugLine="Else If recarga = \"1\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_recarga" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 777;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUEN"; +Debug.ShouldStop(256); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 778;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUE"; +Debug.ShouldStop(512); +b4xmainpage._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("1"))}))))); + BA.debugLineNum = 779;BA.debugLine="B4XPages.MainPage.tipo_venta = \"RECARGA\""; +Debug.ShouldStop(1024); +b4xmainpage._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("RECARGA")); + BA.debugLineNum = 780;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(2048); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }} +; + }else { + BA.debugLineNum = 784;BA.debugLine="MsgboxAsync(\"Contraseña incorrecta\",\"Atenció"; +Debug.ShouldStop(32768); +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 = 790;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ruta")))) { + BA.debugLineNum = 791;BA.debugLine="Log(\"JOBDONE PRINCIPAL MAINPAGE\")"; +Debug.ShouldStop(4194304); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769682",RemoteObject.createImmutable("JOBDONE PRINCIPAL MAINPAGE"),0); + BA.debugLineNum = 792;BA.debugLine="For Each records() As Object In result.Rows"; +Debug.ShouldStop(8388608); +{ +final RemoteObject group185 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen185 = group185.runMethod(true,"getSize").get() +;int index185 = 0; +; +for (; index185 < groupLen185;index185++){ +_records = (group185.runMethod(false,"Get",index185));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 793;BA.debugLine="Dim VALIDO As String = records(result.Columns."; +Debug.ShouldStop(16777216); +_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 = 794;BA.debugLine="If VALIDO = \"OK\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_valido,BA.ObjectToString("OK"))) { + BA.debugLineNum = 795;BA.debugLine="Log(VALIDO)"; +Debug.ShouldStop(67108864); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769686",_valido,0); + }; + } +}Debug.locals.put("records", _records); +; + }; + BA.debugLineNum = 800;BA.debugLine="Job.Release"; +Debug.ShouldStop(-2147483648); +_job.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + }; + BA.debugLineNum = 802;BA.debugLine="Log($\"Paso1 = ${paso1} - Name: ${name} - IMEI: ${"; +Debug.ShouldStop(2); +b4xmainpage.__c.runVoidMethod ("LogImpl","51769693",(RemoteObject.concat(RemoteObject.createImmutable("Paso1 = "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_paso1" /*RemoteObject*/ )))),RemoteObject.createImmutable(" - Name: "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_name))),RemoteObject.createImmutable(" - IMEI: "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_imei" /*RemoteObject*/ )))),RemoteObject.createImmutable(" - IMEI_BASE: "),b4xmainpage.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_imei_base))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 803;BA.debugLine="If paso1 = 1 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_paso1" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 804;BA.debugLine="If IMEI = \"\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_imei" /*RemoteObject*/ ),BA.ObjectToString(""))) { + BA.debugLineNum = 805;BA.debugLine="If user.Text = \"KMTS1\" Then name = \"OKActivo\""; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { +_name = BA.ObjectToString("OKActivo");Debug.locals.put("name", _name);}; + BA.debugLineNum = 806;BA.debugLine="If name = \"OKActivo\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKActivo"))) { + BA.debugLineNum = 807;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +Debug.ShouldStop(64); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa"))); + BA.debugLineNum = 808;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUE"; +Debug.ShouldStop(128); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"))}))))); + BA.debugLineNum = 809;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen"))); + BA.debugLineNum = 810;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID"; +Debug.ShouldStop(512); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_id_almacen)}))))); + BA.debugLineNum = 811;BA.debugLine="usuario = user.Text"; +Debug.ShouldStop(1024); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 812;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(2048); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }else +{ BA.debugLineNum = 813;BA.debugLine="Else If name = \"OKExpirado\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKExpirado"))) { + BA.debugLineNum = 814;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrad"; +Debug.ShouldStop(8192); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 815;BA.debugLine="Else If name = \"OKCancelado\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKCancelado"))) { + BA.debugLineNum = 816;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administra"; +Debug.ShouldStop(32768); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 818;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'Ig"; +Debug.ShouldStop(131072); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }}} +; + BA.debugLineNum = 820;BA.debugLine="paso1 = 0"; +Debug.ShouldStop(524288); +__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(0)); + }else { + BA.debugLineNum = 822;BA.debugLine="If name = \"OKActivo\" & IMEI And IMEI = IMEI_BA"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKActivo"),__ref.getField(true,"_imei" /*RemoteObject*/ ))) && RemoteObject.solveBoolean("=",__ref.getField(true,"_imei" /*RemoteObject*/ ),_imei_base)) { + BA.debugLineNum = 823;BA.debugLine="If name = \"OKActivo\" & IMEI Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKActivo"),__ref.getField(true,"_imei" /*RemoteObject*/ )))) { + BA.debugLineNum = 824;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from usuarioa"))); + BA.debugLineNum = 825;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALU"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO USUARIOA VALUES (?,?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim")),(__ref.getField(false,"_pass" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"trim"))}))))); + BA.debugLineNum = 826;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_almacen"))); + BA.debugLineNum = 827;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(I"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)")),(Object)(b4xmainpage.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_id_almacen)}))))); + BA.debugLineNum = 828;BA.debugLine="usuario = user.Text"; +Debug.ShouldStop(134217728); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_user" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 829;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +Debug.ShouldStop(268435456); +b4xmainpage._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes"))); + }else +{ BA.debugLineNum = 830;BA.debugLine="Else If name = \"OKExpirado\"& IMEI Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKExpirado"),__ref.getField(true,"_imei" /*RemoteObject*/ )))) { + BA.debugLineNum = 831;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra"; +Debug.ShouldStop(1073741824); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 832;BA.debugLine="Else If name = \"OKCancelado\"& IMEI Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_name,RemoteObject.concat(RemoteObject.createImmutable("OKCancelado"),__ref.getField(true,"_imei" /*RemoteObject*/ )))) { + BA.debugLineNum = 833;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administr"; +Debug.ShouldStop(1); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 835;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i"; +Debug.ShouldStop(4); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }}} +; + BA.debugLineNum = 837;BA.debugLine="paso1 = 0"; +Debug.ShouldStop(16); +__ref.setField ("_paso1" /*RemoteObject*/ ,BA.NumberToString(0)); + }else +{ BA.debugLineNum = 838;BA.debugLine="Else IF name = \"OKActivo\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_name,BA.ObjectToString("OKActivo"))) { + BA.debugLineNum = 839;BA.debugLine="Msgbox(\"Telefono no VALIDO!\",\"\") 'ignore"; +Debug.ShouldStop(64); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Telefono no VALIDO!")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 841;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ig"; +Debug.ShouldStop(256); +b4xmainpage.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + }} +; + }; + }; + BA.debugLineNum = 845;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +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,1001); +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 = 1001;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,"; +Debug.ShouldStop(256); + BA.debugLineNum = 1002;BA.debugLine="Starter.DBReqServer = Value"; +Debug.ShouldStop(512); +b4xmainpage._starter._dbreqserver /*RemoteObject*/ = BA.ObjectToString(_value); + BA.debugLineNum = 1004;BA.debugLine="et_server.Text = Value"; +Debug.ShouldStop(2048); +__ref.getField(false,"_et_server" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_value)); + BA.debugLineNum = 1005;BA.debugLine="Starter.reinicializaReqManager(Value)"; +Debug.ShouldStop(4096); +b4xmainpage._starter.runVoidMethod ("_reinicializareqmanager" /*RemoteObject*/ ,(Object)(BA.ObjectToString(_value))); + BA.debugLineNum = 1007;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; +Debug.ShouldStop(16384); +b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Servidor modificado")),(Object)(b4xmainpage.__c.getField(true,"False"))); + BA.debugLineNum = 1008;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +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,966); +if (RapidSub.canDelegate("muestraprogreso")) { return __ref.runUserSub(false, "b4xmainpage","muestraprogreso", __ref, _mensaje);} +Debug.locals.put("mensaje", _mensaje); + BA.debugLineNum = 966;BA.debugLine="Sub muestraProgreso(mensaje As String)"; +Debug.ShouldStop(32); + BA.debugLineNum = 967;BA.debugLine="ProgressDialogShow(mensaje)"; +Debug.ShouldStop(64); +b4xmainpage.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(_mensaje))); + BA.debugLineNum = 968;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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,971); +if (RapidSub.canDelegate("ocultaprogreso")) { return __ref.runUserSub(false, "b4xmainpage","ocultaprogreso", __ref);} + BA.debugLineNum = 971;BA.debugLine="Sub ocultaProgreso"; +Debug.ShouldStop(1024); + BA.debugLineNum = 972;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(2048); +b4xmainpage.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 973;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +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,1393); +if (RapidSub.canDelegate("p_add_monto_click")) { return __ref.runUserSub(false, "b4xmainpage","p_add_monto_click", __ref);} + BA.debugLineNum = 1393;BA.debugLine="Private Sub p_add_monto_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 1395;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +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,1385); +if (RapidSub.canDelegate("p_ciego_click")) { return __ref.runUserSub(false, "b4xmainpage","p_ciego_click", __ref);} + BA.debugLineNum = 1385;BA.debugLine="Private Sub P_CIEGO_Click"; +Debug.ShouldStop(256); + BA.debugLineNum = 1387;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +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,1389); +if (RapidSub.canDelegate("p_validacion_click")) { return __ref.runUserSub(false, "b4xmainpage","p_validacion_click", __ref);} + BA.debugLineNum = 1389;BA.debugLine="Private Sub p_validacion_Click"; +Debug.ShouldStop(4096); + BA.debugLineNum = 1391;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pdf_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("PDF_Click (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,891); +if (RapidSub.canDelegate("pdf_click")) { return __ref.runUserSub(false, "b4xmainpage","pdf_click", __ref);} + BA.debugLineNum = 891;BA.debugLine="Sub PDF_Click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 893;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _popupmenu_dismiss(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("PopupMenu_Dismiss (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,878); +if (RapidSub.canDelegate("popupmenu_dismiss")) { return __ref.runUserSub(false, "b4xmainpage","popupmenu_dismiss", __ref);} + BA.debugLineNum = 878;BA.debugLine="Sub PopupMenu_Dismiss"; +Debug.ShouldStop(8192); + BA.debugLineNum = 879;BA.debugLine="ToastMessageShow(\"PopupMenu dismissed\", False)"; +Debug.ShouldStop(16384); +b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("PopupMenu dismissed")),(Object)(b4xmainpage.__c.getField(true,"False"))); + BA.debugLineNum = 880;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _popupmenu_menuitemclick(RemoteObject __ref,RemoteObject _itemid) throws Exception{ +try { + Debug.PushSubsStack("PopupMenu_MenuItemClick (b4xmainpage) ","b4xmainpage",2,__ref.getField(false, "ba"),__ref,882); +if (RapidSub.canDelegate("popupmenu_menuitemclick")) { return __ref.runUserSub(false, "b4xmainpage","popupmenu_menuitemclick", __ref, _itemid);} +Debug.locals.put("ItemId", _itemid); + BA.debugLineNum = 882;BA.debugLine="Sub PopupMenu_MenuItemClick (ItemId As Int) As Boo"; +Debug.ShouldStop(131072); + BA.debugLineNum = 883;BA.debugLine="ToastMessageShow(\"Item \" & ItemId & \" clicked.\","; +Debug.ShouldStop(262144); +b4xmainpage.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Item "),_itemid,RemoteObject.createImmutable(" clicked.")))),(Object)(b4xmainpage.__c.getField(true,"False"))); + BA.debugLineNum = 884;BA.debugLine="Return False"; +Debug.ShouldStop(524288); +if (true) return b4xmainpage.__c.getField(true,"False"); + BA.debugLineNum = 885;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xorderedmap.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xorderedmap.java new file mode 100644 index 0000000..837f643 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xorderedmap.java @@ -0,0 +1,34 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xorderedmap { + public static RemoteObject myClass; + public b4xorderedmap() { + } + public static PCBA staticBA = new PCBA(null, b4xorderedmap.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _map = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _list = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"list",_ref.getField(false, "_list"),"map",_ref.getField(false, "_map")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xorderedmap_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xorderedmap_subs_0.java new file mode 100644 index 0000000..fc8c5d1 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xorderedmap_subs_0.java @@ -0,0 +1,307 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xorderedmap_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private map As Map"; +b4xorderedmap._map = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_map",b4xorderedmap._map); + //BA.debugLineNum = 3;BA.debugLine="Private list As List"; +b4xorderedmap._list = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_list",b4xorderedmap._list); + //BA.debugLineNum = 4;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Clear (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,26); +if (RapidSub.canDelegate("clear")) { return __ref.runUserSub(false, "b4xorderedmap","clear", __ref);} + BA.debugLineNum = 26;BA.debugLine="Public Sub Clear"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 27;BA.debugLine="list.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_list" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 28;BA.debugLine="map.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 29;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _containskey(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("ContainsKey (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,46); +if (RapidSub.canDelegate("containskey")) { return __ref.runUserSub(false, "b4xorderedmap","containskey", __ref, _key);} +Debug.locals.put("Key", _key); + BA.debugLineNum = 46;BA.debugLine="Public Sub ContainsKey (Key As Object) As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 47;BA.debugLine="Return map.ContainsKey(Key)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(true,"ContainsKey",(Object)(_key)); + BA.debugLineNum = 48;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _get(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Get (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,37); +if (RapidSub.canDelegate("get")) { return __ref.runUserSub(false, "b4xorderedmap","get", __ref, _key);} +Debug.locals.put("Key", _key); + BA.debugLineNum = 37;BA.debugLine="Public Sub Get (Key As Object) As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 38;BA.debugLine="Return map.Get(Key)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_key)); + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getdataforserializator(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetDataForSerializator (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,65); +if (RapidSub.canDelegate("getdataforserializator")) { return __ref.runUserSub(false, "b4xorderedmap","getdataforserializator", __ref);} + BA.debugLineNum = 65;BA.debugLine="Public Sub GetDataForSerializator As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 66;BA.debugLine="Return Array(map, list)"; +Debug.JustUpdateDeviceLine(); +if (true) return (RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_map" /*RemoteObject*/ ).getObject()),(__ref.getField(false,"_list" /*RemoteObject*/ ).getObject())})); + BA.debugLineNum = 67;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getdefault(RemoteObject __ref,RemoteObject _key,RemoteObject _defaultvalue) throws Exception{ +try { + Debug.PushSubsStack("GetDefault (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,42); +if (RapidSub.canDelegate("getdefault")) { return __ref.runUserSub(false, "b4xorderedmap","getdefault", __ref, _key, _defaultvalue);} +Debug.locals.put("Key", _key); +Debug.locals.put("DefaultValue", _defaultvalue); + BA.debugLineNum = 42;BA.debugLine="Public Sub GetDefault (Key As Object, DefaultValue"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 43;BA.debugLine="Return map.GetDefault(Key, DefaultValue)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(false,"GetDefault",(Object)(_key),(Object)(_defaultvalue)); + BA.debugLineNum = 44;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getkeys(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getKeys (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,32); +if (RapidSub.canDelegate("getkeys")) { return __ref.runUserSub(false, "b4xorderedmap","getkeys", __ref);} + BA.debugLineNum = 32;BA.debugLine="Public Sub getKeys As List"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 33;BA.debugLine="Return list"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_list" /*RemoteObject*/ ); + BA.debugLineNum = 34;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSize (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,50); +if (RapidSub.canDelegate("getsize")) { return __ref.runUserSub(false, "b4xorderedmap","getsize", __ref);} + BA.debugLineNum = 50;BA.debugLine="Public Sub getSize As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 51;BA.debugLine="Return map.Size"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(true,"getSize"); + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getvalues(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getValues (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,55); +if (RapidSub.canDelegate("getvalues")) { return __ref.runUserSub(false, "b4xorderedmap","getvalues", __ref);} +RemoteObject _res = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _key = RemoteObject.declareNull("Object"); + BA.debugLineNum = 55;BA.debugLine="Public Sub getValues As List"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 56;BA.debugLine="Dim res As List"; +Debug.JustUpdateDeviceLine(); +_res = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("res", _res); + BA.debugLineNum = 57;BA.debugLine="res.Initialize"; +Debug.JustUpdateDeviceLine(); +_res.runVoidMethod ("Initialize"); + BA.debugLineNum = 58;BA.debugLine="For Each key As Object In list"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group3 = __ref.getField(false,"_list" /*RemoteObject*/ ); +final int groupLen3 = group3.runMethod(true,"getSize").get() +;int index3 = 0; +; +for (; index3 < groupLen3;index3++){ +_key = group3.runMethod(false,"Get",index3);Debug.locals.put("key", _key); +Debug.locals.put("key", _key); + BA.debugLineNum = 59;BA.debugLine="res.Add(map.Get(key))"; +Debug.JustUpdateDeviceLine(); +_res.runVoidMethod ("Add",(Object)(__ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_key)))); + } +}Debug.locals.put("key", _key); +; + BA.debugLineNum = 61;BA.debugLine="Return res"; +Debug.JustUpdateDeviceLine(); +if (true) return _res; + BA.debugLineNum = 62;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,6); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xorderedmap","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 6;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 7;BA.debugLine="map.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 8;BA.debugLine="list.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_list" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 9;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _put(RemoteObject __ref,RemoteObject _key,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("Put (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,12); +if (RapidSub.canDelegate("put")) { return __ref.runUserSub(false, "b4xorderedmap","put", __ref, _key, _value);} +Debug.locals.put("Key", _key); +Debug.locals.put("Value", _value); + BA.debugLineNum = 12;BA.debugLine="Public Sub Put (Key As Object, Value As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 13;BA.debugLine="If map.ContainsKey(Key) = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(true,"ContainsKey",(Object)(_key)),b4xorderedmap.__c.getField(true,"False"))) { + BA.debugLineNum = 14;BA.debugLine="list.Add(Key)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_list" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_key)); + }; + BA.debugLineNum = 16;BA.debugLine="map.Put(Key, Value)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(_key),(Object)(_value)); + BA.debugLineNum = 17;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _remove(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Remove (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,20); +if (RapidSub.canDelegate("remove")) { return __ref.runUserSub(false, "b4xorderedmap","remove", __ref, _key);} +Debug.locals.put("Key", _key); + BA.debugLineNum = 20;BA.debugLine="Public Sub Remove (Key As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 21;BA.debugLine="If map.ContainsKey(Key) = False Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_map" /*RemoteObject*/ ).runMethod(true,"ContainsKey",(Object)(_key)),b4xorderedmap.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 22;BA.debugLine="list.RemoveAt(list.IndexOf(Key))"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_list" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_list" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_key)))); + BA.debugLineNum = 23;BA.debugLine="map.Remove(Key)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)(_key)); + BA.debugLineNum = 24;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setdatafromserializator(RemoteObject __ref,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("SetDataFromSerializator (b4xorderedmap) ","b4xorderedmap",40,__ref.getField(false, "ba"),__ref,70); +if (RapidSub.canDelegate("setdatafromserializator")) { return __ref.runUserSub(false, "b4xorderedmap","setdatafromserializator", __ref, _data);} +RemoteObject _o = null; +Debug.locals.put("Data", _data); + BA.debugLineNum = 70;BA.debugLine="Public Sub SetDataFromSerializator (Data As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 71;BA.debugLine="Dim o() As Object = Data"; +Debug.JustUpdateDeviceLine(); +_o = (_data);Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 72;BA.debugLine="map = o(0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).setObject (_o.getArrayElement(false,BA.numberCast(int.class, 0))); + BA.debugLineNum = 73;BA.debugLine="list = o(1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_list" /*RemoteObject*/ ).setObject (_o.getArrayElement(false,BA.numberCast(int.class, 1))); + BA.debugLineNum = 74;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpages.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpages.java new file mode 100644 index 0000000..a45c575 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpages.java @@ -0,0 +1,68 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class b4xpages implements IRemote{ + public static b4xpages mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public b4xpages() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + private static PCBA pcBA = new PCBA(null, b4xpages.class); + static { + mostCurrent = new b4xpages(); + remoteMe = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpages"); + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("b4xpages"), "SHARK2.keymon.com.mx.b4xpages"); + RDebug.INSTANCE.eventTargets.put(new DeviceClass("SHARK2.keymon.com.mx.b4xpages"), new java.lang.ref.WeakReference (pcBA)); + } + + public static RemoteObject runMethod(boolean notUsed, String method, Object... args) throws Exception{ + return (RemoteObject) pcBA.raiseEvent(method.substring(1), args); + } + public static void runVoidMethod(String method, Object... args) throws Exception{ + runMethod(false, method, args); + } + public PCBA create(Object[] args) throws ClassNotFoundException{ + throw new RuntimeException("CREATE is not supported."); + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _mpm = RemoteObject.declareNull("Object"); +public static RemoteObject _delegate = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesdelegator"); +public static RemoteObject _globalcontext = RemoteObject.declareNull("Object"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(SHARK2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(SHARK2.keymon.com.mx.b4xcollections.class),"DateUtils",b4xpages.mostCurrent._dateutils,"Delegate",b4xpages._delegate,"GlobalContext",b4xpages._globalcontext,"HttpUtils2Service",Debug.moduleToString(SHARK2.keymon.com.mx.httputils2service.class),"Main",Debug.moduleToString(SHARK2.keymon.com.mx.main.class),"MAPA_CLIENTE",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_rutas.class),"mPM",b4xpages._mpm,"newinst2",Debug.moduleToString(SHARK2.keymon.com.mx.newinst2.class),"NotificationService",Debug.moduleToString(SHARK2.keymon.com.mx.notificationservice.class),"Pendientes",Debug.moduleToString(SHARK2.keymon.com.mx.pendientes.class),"Starter",Debug.moduleToString(SHARK2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(SHARK2.keymon.com.mx.subs.class),"Tracker",Debug.moduleToString(SHARK2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(SHARK2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpages_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpages_subs_0.java new file mode 100644 index 0000000..2c8234a --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpages_subs_0.java @@ -0,0 +1,318 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xpages_subs_0 { + + +public static RemoteObject _addmenuitem(RemoteObject _ba,RemoteObject _b4xpage,RemoteObject _title) throws Exception{ +try { + Debug.PushSubsStack("AddMenuItem (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,91); +if (RapidSub.canDelegate("addmenuitem")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","addmenuitem", _ba, _b4xpage, _title);} +; +Debug.locals.put("B4XPage", _b4xpage); +Debug.locals.put("Title", _title); + BA.debugLineNum = 91;BA.debugLine="Public Sub AddMenuItem(B4XPage As Object, Title As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 92;BA.debugLine="Return GetManager.AddMenuItem(B4XPage, Title)"; +Debug.JustUpdateDeviceLine(); +if (true) return _getmanager(_ba).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_addmenuitem" /*RemoteObject*/ ,(Object)(_b4xpage),(Object)(_title)); + BA.debugLineNum = 93;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _addpage(RemoteObject _ba,RemoteObject _id,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("AddPage (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,37); +if (RapidSub.canDelegate("addpage")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","addpage", _ba, _id, _b4xpage);} +; +Debug.locals.put("Id", _id); +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 37;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 38;BA.debugLine="GetManager.AddPage(Id, B4XPage)"; +Debug.JustUpdateDeviceLine(); +_getmanager(_ba).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_addpage" /*RemoteObject*/ ,(Object)(_id),(Object)(_b4xpage)); + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _addpageandcreate(RemoteObject _ba,RemoteObject _id,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("AddPageAndCreate (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,42); +if (RapidSub.canDelegate("addpageandcreate")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","addpageandcreate", _ba, _id, _b4xpage);} +; +Debug.locals.put("Id", _id); +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 42;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 43;BA.debugLine="GetManager.AddPageAndCreate(Id, B4XPage)"; +Debug.JustUpdateDeviceLine(); +_getmanager(_ba).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_addpageandcreate" /*RemoteObject*/ ,(Object)(_id),(Object)(_b4xpage)); + BA.debugLineNum = 44;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _closepage(RemoteObject _ba,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("ClosePage (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,62); +if (RapidSub.canDelegate("closepage")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","closepage", _ba, _b4xpage);} +; +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 62;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 63;BA.debugLine="GetManager.ClosePage (B4XPage)"; +Debug.JustUpdateDeviceLine(); +_getmanager(_ba).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_closepage" /*RemoteObject*/ ,(Object)(_b4xpage)); + BA.debugLineNum = 64;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getmanager(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("GetManager (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,14); +if (RapidSub.canDelegate("getmanager")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","getmanager", _ba);} +; + BA.debugLineNum = 14;BA.debugLine="Public Sub GetManager As B4XPagesManager"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 15;BA.debugLine="Return mPM"; +Debug.JustUpdateDeviceLine(); +if (true) return (b4xpages._mpm); + BA.debugLineNum = 16;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getnativeparent(RemoteObject _ba,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("GetNativeParent (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,79); +if (RapidSub.canDelegate("getnativeparent")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","getnativeparent", _ba, _b4xpage);} +; +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 79;BA.debugLine="Public Sub GetNativeParent (B4XPage As Object) As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 87;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Pare"; +Debug.JustUpdateDeviceLine(); +if (true) return _getmanager(_ba).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_findpifromb4xpage" /*RemoteObject*/ ,(Object)(_b4xpage)).getField(false,"Parent" /*RemoteObject*/ ).getField(false,"NativeType" /*RemoteObject*/ ); + BA.debugLineNum = 88;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpage(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("GetPage (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,27); +if (RapidSub.canDelegate("getpage")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","getpage", _ba, _id);} +; +Debug.locals.put("Id", _id); + BA.debugLineNum = 27;BA.debugLine="Public Sub GetPage (Id As String) As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 28;BA.debugLine="Return GetManager.GetPage(Id)"; +Debug.JustUpdateDeviceLine(); +if (true) return _getmanager(_ba).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_getpage" /*RemoteObject*/ ,(Object)(_id)); + BA.debugLineNum = 29;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpageid(RemoteObject _ba,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("GetPageId (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,32); +if (RapidSub.canDelegate("getpageid")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","getpageid", _ba, _b4xpage);} +; +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 32;BA.debugLine="Public Sub GetPageId (B4XPage As Object) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 33;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Id"; +Debug.JustUpdateDeviceLine(); +if (true) return _getmanager(_ba).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_findpifromb4xpage" /*RemoteObject*/ ,(Object)(_b4xpage)).getField(true,"Id" /*RemoteObject*/ ); + BA.debugLineNum = 34;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _internalsetpagesmanager(RemoteObject _ba,RemoteObject _pm) throws Exception{ +try { + Debug.PushSubsStack("InternalSetPagesManager (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,19); +if (RapidSub.canDelegate("internalsetpagesmanager")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","internalsetpagesmanager", _ba, _pm);} +; +Debug.locals.put("PM", _pm); + BA.debugLineNum = 19;BA.debugLine="Public Sub InternalSetPagesManager(PM As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 20;BA.debugLine="Delegate.Initialize"; +Debug.JustUpdateDeviceLine(); +b4xpages._delegate.runClassMethod (SHARK2.keymon.com.mx.b4xpagesdelegator.class, "_initialize" /*RemoteObject*/ ,BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba)); + BA.debugLineNum = 21;BA.debugLine="mPM = PM"; +Debug.JustUpdateDeviceLine(); +b4xpages._mpm = _pm; + BA.debugLineNum = 22;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isinitialized(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("IsInitialized (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,9); +if (RapidSub.canDelegate("isinitialized")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","isinitialized", _ba);} +; + BA.debugLineNum = 9;BA.debugLine="Public Sub IsInitialized As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 10;BA.debugLine="Return mPM Is B4XPagesManager"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(RemoteObject.solveBoolean("i",b4xpages._mpm, RemoteObject.createImmutable("SHARK2.keymon.com.mx.b4xpagesmanager"))); + BA.debugLineNum = 11;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mainpage(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("MainPage (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,73); +if (RapidSub.canDelegate("mainpage")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","mainpage", _ba);} +; + BA.debugLineNum = 73;BA.debugLine="Public Sub MainPage As B4XMainPage"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 74;BA.debugLine="Return GetManager.MainPage"; +Debug.JustUpdateDeviceLine(); +if (true) return _getmanager(_ba).getField(false,"_mainpage" /*RemoteObject*/ ); + BA.debugLineNum = 75;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private mPM As Object"; +b4xpages._mpm = RemoteObject.createNew ("Object"); + //BA.debugLineNum = 3;BA.debugLine="Public Delegate As B4XPagesDelegator"; +b4xpages._delegate = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xpagesdelegator"); + //BA.debugLineNum = 4;BA.debugLine="Public GlobalContext As Object"; +b4xpages._globalcontext = RemoteObject.createNew ("Object"); + //BA.debugLineNum = 5;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _settitle(RemoteObject _ba,RemoteObject _b4xpage,RemoteObject _title) throws Exception{ +try { + Debug.PushSubsStack("SetTitle (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,68); +if (RapidSub.canDelegate("settitle")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","settitle", _ba, _b4xpage, _title);} +; +Debug.locals.put("B4XPage", _b4xpage); +Debug.locals.put("Title", _title); + BA.debugLineNum = 68;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 69;BA.debugLine="GetManager.SetTitle(B4XPage, Title)"; +Debug.JustUpdateDeviceLine(); +_getmanager(_ba).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_settitle" /*RemoteObject*/ ,(Object)(_b4xpage),(Object)(_title)); + BA.debugLineNum = 70;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _showpage(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("ShowPage (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,50); +if (RapidSub.canDelegate("showpage")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","showpage", _ba, _id);} +; +Debug.locals.put("Id", _id); + BA.debugLineNum = 50;BA.debugLine="Public Sub ShowPage (Id As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 51;BA.debugLine="GetManager.ShowPage(Id)"; +Debug.JustUpdateDeviceLine(); +_getmanager(_ba).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_showpage" /*RemoteObject*/ ,(Object)(_id)); + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _showpageandremovepreviouspages(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("ShowPageAndRemovePreviousPages (b4xpages) ","b4xpages",34,_ba,b4xpages.mostCurrent,56); +if (RapidSub.canDelegate("showpageandremovepreviouspages")) { return SHARK2.keymon.com.mx.b4xpages.remoteMe.runUserSub(false, "b4xpages","showpageandremovepreviouspages", _ba, _id);} +; +Debug.locals.put("Id", _id); + BA.debugLineNum = 56;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 57;BA.debugLine="GetManager.ShowPageAndRemovePreviousPages (Id)"; +Debug.JustUpdateDeviceLine(); +_getmanager(_ba).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_showpageandremovepreviouspages" /*RemoteObject*/ ,(Object)(_id)); + BA.debugLineNum = 58;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpagesdelegator.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpagesdelegator.java new file mode 100644 index 0000000..811de73 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpagesdelegator.java @@ -0,0 +1,32 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xpagesdelegator { + public static RemoteObject myClass; + public b4xpagesdelegator() { + } + public static PCBA staticBA = new PCBA(null, b4xpagesdelegator.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpagesdelegator_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpagesdelegator_subs_0.java new file mode 100644 index 0000000..885fdb2 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpagesdelegator_subs_0.java @@ -0,0 +1,171 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xpagesdelegator_subs_0 { + + +public static RemoteObject _activity_actionbarhomeclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Activity_ActionBarHomeClick (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,35); +if (RapidSub.canDelegate("activity_actionbarhomeclick")) { return __ref.runUserSub(false, "b4xpagesdelegator","activity_actionbarhomeclick", __ref);} + BA.debugLineNum = 35;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 36;BA.debugLine="B4XPages.GetManager.Activity_ActionBarHomeClick"; +Debug.JustUpdateDeviceLine(); +b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_activity_actionbarhomeclick" /*RemoteObject*/ ); + BA.debugLineNum = 37;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_keypress(RemoteObject __ref,RemoteObject _keycode) throws Exception{ +try { + Debug.PushSubsStack("Activity_KeyPress (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,27); +if (RapidSub.canDelegate("activity_keypress")) { return __ref.runUserSub(false, "b4xpagesdelegator","activity_keypress", __ref, _keycode);} +Debug.locals.put("KeyCode", _keycode); + BA.debugLineNum = 27;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 28;BA.debugLine="Return B4XPages.GetManager.Activity_KeyPress (Key"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_activity_keypress" /*RemoteObject*/ ,(Object)(_keycode)); + BA.debugLineNum = 29;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_pause(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,52); +if (RapidSub.canDelegate("activity_pause")) { return __ref.runUserSub(false, "b4xpagesdelegator","activity_pause", __ref);} + BA.debugLineNum = 52;BA.debugLine="Public Sub Activity_Pause"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 53;BA.debugLine="B4XPages.GetManager.Activity_Pause"; +Debug.JustUpdateDeviceLine(); +b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_activity_pause" /*RemoteObject*/ ); + BA.debugLineNum = 54;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_permissionresult(RemoteObject __ref,RemoteObject _permission,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("Activity_PermissionResult (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,31); +if (RapidSub.canDelegate("activity_permissionresult")) { return __ref.runUserSub(false, "b4xpagesdelegator","activity_permissionresult", __ref, _permission, _result);} +Debug.locals.put("Permission", _permission); +Debug.locals.put("Result", _result); + BA.debugLineNum = 31;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 32;BA.debugLine="B4XPages.GetManager.RaiseEvent(B4XPages.GetManage"; +Debug.JustUpdateDeviceLine(); +b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ )),(Object)(BA.ObjectToString("B4XPage_PermissionResult")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_permission),(_result)}))); + BA.debugLineNum = 33;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_resume(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,48); +if (RapidSub.canDelegate("activity_resume")) { return __ref.runUserSub(false, "b4xpagesdelegator","activity_resume", __ref);} + BA.debugLineNum = 48;BA.debugLine="Public Sub Activity_Resume"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 49;BA.debugLine="B4XPages.GetManager.Activity_Resume"; +Debug.JustUpdateDeviceLine(); +b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_activity_resume" /*RemoteObject*/ ); + BA.debugLineNum = 50;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _create_menu(RemoteObject __ref,RemoteObject _menu) throws Exception{ +try { + Debug.PushSubsStack("Create_Menu (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,39); +if (RapidSub.canDelegate("create_menu")) { return __ref.runUserSub(false, "b4xpagesdelegator","create_menu", __ref, _menu);} +Debug.locals.put("Menu", _menu); + BA.debugLineNum = 39;BA.debugLine="Public Sub Create_Menu (Menu As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 40;BA.debugLine="B4XPages.GetManager.CreateMenu(Menu)"; +Debug.JustUpdateDeviceLine(); +b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_createmenu" /*RemoteObject*/ ,(Object)(_menu)); + BA.debugLineNum = 41;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,4); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xpagesdelegator","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 4;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 6;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mainform_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("MainForm_Resize (b4xpagesdelegator) ","b4xpagesdelegator",42,__ref.getField(false, "ba"),__ref,44); +if (RapidSub.canDelegate("mainform_resize")) { return __ref.runUserSub(false, "b4xpagesdelegator","mainform_resize", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 44;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 45;BA.debugLine="B4XPages.GetManager.MainForm_Resize(Width, Height"; +Debug.JustUpdateDeviceLine(); +b4xpagesdelegator._b4xpages.runMethod(false,"_getmanager" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")).runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_mainform_resize" /*RemoteObject*/ ,(Object)(_width),(Object)(_height)); + BA.debugLineNum = 46;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpagesmanager.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpagesmanager.java new file mode 100644 index 0000000..bb82aaa --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpagesmanager.java @@ -0,0 +1,45 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xpagesmanager { + public static RemoteObject myClass; + public b4xpagesmanager() { + } + public static PCBA staticBA = new PCBA(null, b4xpagesmanager.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _idtob4xpage = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xorderedmap"); +public static RemoteObject _rootb4xtopage = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xorderedmap"); +public static RemoteObject _context = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +public static RemoteObject _mstackofpageids = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xset"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mmainform = RemoteObject.declareNull("anywheresoftware.b4a.objects.ActivityWrapper"); +public static RemoteObject _showupindicator = RemoteObject.createImmutable(false); +public static RemoteObject _actionbar = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +public static RemoteObject _isforeground = RemoteObject.createImmutable(false); +public static RemoteObject _transitionanimationduration = RemoteObject.createImmutable(0); +public static RemoteObject _mainpage = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xmainpage"); +public static RemoteObject _stackstring = RemoteObject.createImmutable(""); +public static RemoteObject _logevents = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"ActionBar",_ref.getField(false, "_actionbar"),"Context",_ref.getField(false, "_context"),"DateUtils",_ref.getField(false, "_dateutils"),"IdToB4XPage",_ref.getField(false, "_idtob4xpage"),"IsForeground",_ref.getField(false, "_isforeground"),"LogEvents",_ref.getField(false, "_logevents"),"MainPage",_ref.getField(false, "_mainpage"),"mMainForm",_ref.getField(false, "_mmainform"),"mStackOfPageIds",_ref.getField(false, "_mstackofpageids"),"RootB4XToPage",_ref.getField(false, "_rootb4xtopage"),"ShowUpIndicator",_ref.getField(false, "_showupindicator"),"StackString",_ref.getField(false, "_stackstring"),"TransitionAnimationDuration",_ref.getField(false, "_transitionanimationduration"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpagesmanager_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpagesmanager_subs_0.java new file mode 100644 index 0000000..80e3446 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xpagesmanager_subs_0.java @@ -0,0 +1,1665 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xpagesmanager_subs_0 { + + +public static RemoteObject _activity_actionbarhomeclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Activity_ActionBarHomeClick (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,129); +if (RapidSub.canDelegate("activity_actionbarhomeclick")) { return __ref.runUserSub(false, "b4xpagesmanager","activity_actionbarhomeclick", __ref);} +RemoteObject _pi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); + BA.debugLineNum = 129;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 130;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ );Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 131;BA.debugLine="If pi <> Null Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_pi)) { + BA.debugLineNum = 132;BA.debugLine="If CloseRequestExists (pi) Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_closerequestexists" /*RemoteObject*/ ,(Object)(_pi)).get().booleanValue()) { + BA.debugLineNum = 133;BA.debugLine="HandleCloseRequest(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_handlecloserequest" /*void*/ ,(Object)(_pi)); + }else { + BA.debugLineNum = 135;BA.debugLine="ClosePage(pi.B4XPage)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_closepage" /*RemoteObject*/ ,(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ ))); + }; + }; + BA.debugLineNum = 138;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_keypress(RemoteObject __ref,RemoteObject _keycode) throws Exception{ +try { + Debug.PushSubsStack("Activity_KeyPress (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,468); +if (RapidSub.canDelegate("activity_keypress")) { return __ref.runUserSub(false, "b4xpagesmanager","activity_keypress", __ref, _keycode);} +RemoteObject _pi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("KeyCode", _keycode); + BA.debugLineNum = 468;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 469;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_keycode,BA.numberCast(double.class, b4xpagesmanager.__c.getField(false,"KeyCodes").getField(true,"KEYCODE_BACK")))) { + BA.debugLineNum = 470;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ );Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 471;BA.debugLine="If CloseRequestExists(pi) Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_closerequestexists" /*RemoteObject*/ ,(Object)(_pi)).get().booleanValue()) { + BA.debugLineNum = 472;BA.debugLine="HandleCloseRequest(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_handlecloserequest" /*void*/ ,(Object)(_pi)); + }else { + BA.debugLineNum = 474;BA.debugLine="ClosePage(pi.B4XPage)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_closepage" /*RemoteObject*/ ,(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 476;BA.debugLine="Return True"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesmanager.__c.getField(true,"True"); + }; + BA.debugLineNum = 478;BA.debugLine="Return False"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesmanager.__c.getField(true,"False"); + BA.debugLineNum = 479;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_pause(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,635); +if (RapidSub.canDelegate("activity_pause")) { return __ref.runUserSub(false, "b4xpagesmanager","activity_pause", __ref);} + BA.debugLineNum = 635;BA.debugLine="Public Sub Activity_Pause"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 636;BA.debugLine="RaiseEventWithResult(GetTopPage, \"B4XPage_Disappe"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_raiseeventwithresult" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ )),(Object)(BA.ObjectToString("B4XPage_Disappear")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))); + BA.debugLineNum = 637;BA.debugLine="BackgroundStateChanged(False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_backgroundstatechanged" /*RemoteObject*/ ,(Object)(b4xpagesmanager.__c.getField(true,"False"))); + BA.debugLineNum = 638;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_resume(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,610); +if (RapidSub.canDelegate("activity_resume")) { return __ref.runUserSub(false, "b4xpagesmanager","activity_resume", __ref);} +RemoteObject _shouldraise = RemoteObject.createImmutable(false); + BA.debugLineNum = 610;BA.debugLine="Public Sub Activity_Resume"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 611;BA.debugLine="Dim ShouldRaise As Boolean = IsForeground = False"; +Debug.JustUpdateDeviceLine(); +_shouldraise = BA.ObjectToBoolean(RemoteObject.solveBoolean("=",__ref.getField(true,"_isforeground" /*RemoteObject*/ ),b4xpagesmanager.__c.getField(true,"False")));Debug.locals.put("ShouldRaise", _shouldraise);Debug.locals.put("ShouldRaise", _shouldraise); + BA.debugLineNum = 612;BA.debugLine="BackgroundStateChanged(True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_backgroundstatechanged" /*RemoteObject*/ ,(Object)(b4xpagesmanager.__c.getField(true,"True"))); + BA.debugLineNum = 613;BA.debugLine="If ShouldRaise Then"; +Debug.JustUpdateDeviceLine(); +if (_shouldraise.get().booleanValue()) { + BA.debugLineNum = 614;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ )),(Object)(BA.ObjectToString("B4XPage_Appear")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))); + }; + BA.debugLineNum = 616;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _addmenuitem(RemoteObject __ref,RemoteObject _b4xpage,RemoteObject _title) throws Exception{ +try { + Debug.PushSubsStack("AddMenuItem (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,481); +if (RapidSub.canDelegate("addmenuitem")) { return __ref.runUserSub(false, "b4xpagesmanager","addmenuitem", __ref, _b4xpage, _title);} +RemoteObject _mi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4amenuitem"); +Debug.locals.put("B4XPage", _b4xpage); +Debug.locals.put("Title", _title); + BA.debugLineNum = 481;BA.debugLine="Public Sub AddMenuItem (B4XPage As Object, Title A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 482;BA.debugLine="Dim mi As B4AMenuItem"; +Debug.JustUpdateDeviceLine(); +_mi = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xpagesmanager._b4amenuitem");Debug.locals.put("mi", _mi); + BA.debugLineNum = 483;BA.debugLine="mi.Initialize"; +Debug.JustUpdateDeviceLine(); +_mi.runVoidMethod ("Initialize"); + BA.debugLineNum = 484;BA.debugLine="mi.Title = Title"; +Debug.JustUpdateDeviceLine(); +_mi.setField ("Title" /*RemoteObject*/ ,_title); + BA.debugLineNum = 485;BA.debugLine="mi.Tag = Title"; +Debug.JustUpdateDeviceLine(); +_mi.setField ("Tag" /*RemoteObject*/ ,BA.ObjectToString(_title)); + BA.debugLineNum = 486;BA.debugLine="FindPIFromB4XPage(B4XPage).Parent.MenuItems.Add(m"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_findpifromb4xpage" /*RemoteObject*/ ,(Object)(_b4xpage)).getField(false,"Parent" /*RemoteObject*/ ).getField(false,"MenuItems" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_mi))); + BA.debugLineNum = 487;BA.debugLine="Return mi"; +Debug.JustUpdateDeviceLine(); +if (true) return _mi; + BA.debugLineNum = 488;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _addpage(RemoteObject __ref,RemoteObject _id,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("AddPage (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,141); +if (RapidSub.canDelegate("addpage")) { return __ref.runUserSub(false, "b4xpagesmanager","addpage", __ref, _id, _b4xpage);} +RemoteObject _idtolower = RemoteObject.createImmutable(""); +Debug.locals.put("Id", _id); +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 141;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 142;BA.debugLine="Dim IdToLower As String = Id.ToLowerCase"; +Debug.JustUpdateDeviceLine(); +_idtolower = _id.runMethod(true,"toLowerCase");Debug.locals.put("IdToLower", _idtolower);Debug.locals.put("IdToLower", _idtolower); + BA.debugLineNum = 143;BA.debugLine="If IdToB4XPage.ContainsKey(IdToLower) Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_containskey" /*RemoteObject*/ ,(Object)((_idtolower))).get().booleanValue()) { + BA.debugLineNum = 144;BA.debugLine="Log($\"Page with this id already exists: ${IdToLo"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","952690947",(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 (SHARK2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)((_idtolower)),(Object)((__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_createb4xpageinfo" /*RemoteObject*/ ,(Object)(_b4xpage),(Object)(_idtolower),(Object)(b4xpagesmanager.__c.getField(true,"False")),(Object)((_id)))))); + BA.debugLineNum = 148;BA.debugLine="If IdToB4XPage.Size = 1 Then ShowPage(IdToLower)"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_showpage" /*RemoteObject*/ ,(Object)(_idtolower));}; + BA.debugLineNum = 149;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _addpageandcreate(RemoteObject __ref,RemoteObject _id,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("AddPageAndCreate (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,151); +if (RapidSub.canDelegate("addpageandcreate")) { return __ref.runUserSub(false, "b4xpagesmanager","addpageandcreate", __ref, _id, _b4xpage);} +Debug.locals.put("Id", _id); +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 151;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 152;BA.debugLine="AddPage (Id, B4XPage)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_addpage" /*RemoteObject*/ ,(Object)(_id),(Object)(_b4xpage)); + BA.debugLineNum = 153;BA.debugLine="CreatePageIfNeeded(GetPageFromId(Id))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_createpageifneeded" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_getpagefromid" /*RemoteObject*/ ,(Object)(_id)))); + BA.debugLineNum = 154;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _backgroundstatechanged(RemoteObject __ref,RemoteObject _newstate) throws Exception{ +try { + Debug.PushSubsStack("BackgroundStateChanged (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,618); +if (RapidSub.canDelegate("backgroundstatechanged")) { return __ref.runUserSub(false, "b4xpagesmanager","backgroundstatechanged", __ref, _newstate);} +RemoteObject _ev = RemoteObject.createImmutable(""); +RemoteObject _pi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("NewState", _newstate); + BA.debugLineNum = 618;BA.debugLine="Private Sub BackgroundStateChanged (NewState As Bo"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 619;BA.debugLine="If IsForeground = NewState Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_isforeground" /*RemoteObject*/ ),_newstate)) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 620;BA.debugLine="IsForeground = NewState"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_isforeground" /*RemoteObject*/ ,_newstate); + BA.debugLineNum = 621;BA.debugLine="Dim ev As String"; +Debug.JustUpdateDeviceLine(); +_ev = RemoteObject.createImmutable("");Debug.locals.put("ev", _ev); + BA.debugLineNum = 622;BA.debugLine="If IsForeground Then ev = \"B4XPage_Foreground\" El"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_isforeground" /*RemoteObject*/ ).get().booleanValue()) { +_ev = BA.ObjectToString("B4XPage_Foreground");Debug.locals.put("ev", _ev);} +else { +_ev = BA.ObjectToString("B4XPage_Background");Debug.locals.put("ev", _ev);}; + BA.debugLineNum = 623;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group5 = __ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_getvalues" /*RemoteObject*/ ); +final int groupLen5 = group5.runMethod(true,"getSize").get() +;int index5 = 0; +; +for (; index5 < groupLen5;index5++){ +_pi = (group5.runMethod(false,"Get",index5));Debug.locals.put("pi", _pi); +Debug.locals.put("pi", _pi); + BA.debugLineNum = 624;BA.debugLine="If xui.SubExists(pi.B4XPage, ev, 0) Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_ev),(Object)(BA.numberCast(int.class, 0))).get().booleanValue()) { + BA.debugLineNum = 625;BA.debugLine="LogEvent(pi, ev)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_logevent" /*RemoteObject*/ ,(Object)(_pi),(Object)(_ev)); + BA.debugLineNum = 626;BA.debugLine="If IsForeground Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_isforeground" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 627;BA.debugLine="CallSubDelayed(pi.B4XPage, ev)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_ev)); + }else { + BA.debugLineNum = 629;BA.debugLine="CallSub(pi.B4XPage, ev)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_ev)); + }; + }; + } +}Debug.locals.put("pi", _pi); +; + BA.debugLineNum = 633;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checkmainactivityorientations(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CheckMainActivityOrientations (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,96); +if (RapidSub.canDelegate("checkmainactivityorientations")) { return __ref.runUserSub(false, "b4xpagesmanager","checkmainactivityorientations", __ref);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _jme = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _isappcompat = RemoteObject.createImmutable(false); +RemoteObject _pi = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _activities = null; +RemoteObject _act = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _name = RemoteObject.createImmutable(""); +RemoteObject _screenorientation = RemoteObject.createImmutable(0); + BA.debugLineNum = 96;BA.debugLine="Private Sub CheckMainActivityOrientations"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 98;BA.debugLine="Dim jo As JavaObject"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("jo", _jo); + BA.debugLineNum = 99;BA.debugLine="jo.InitializeContext"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 101;BA.debugLine="ActionBar = jo.RunMethod(\"getActionBar\", Null)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_actionbar" /*RemoteObject*/ ).setObject (_jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getActionBar")),(Object)((b4xpagesmanager.__c.getField(false,"Null"))))); + BA.debugLineNum = 102;BA.debugLine="If ActionBar.IsInitialized = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_actionbar" /*RemoteObject*/ ).runMethod(true,"IsInitialized"),b4xpagesmanager.__c.getField(true,"False"))) { + BA.debugLineNum = 103;BA.debugLine="Dim jme As JavaObject = Me"; +Debug.JustUpdateDeviceLine(); +_jme = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jme = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref);Debug.locals.put("jme", _jme);Debug.locals.put("jme", _jme); + BA.debugLineNum = 104;BA.debugLine="Dim IsAppCompat As Boolean = jme.RunMethod(\"chec"; +Debug.JustUpdateDeviceLine(); +_isappcompat = BA.ObjectToBoolean(_jme.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("checkIfAppCompat")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_jo.getObject())}))));Debug.locals.put("IsAppCompat", _isappcompat);Debug.locals.put("IsAppCompat", _isappcompat); + BA.debugLineNum = 105;BA.debugLine="If IsAppCompat Then"; +Debug.JustUpdateDeviceLine(); +if (_isappcompat.get().booleanValue()) { + BA.debugLineNum = 106;BA.debugLine="ActionBar = jo.RunMethod(\"getSupportActionBar\","; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_actionbar" /*RemoteObject*/ ).setObject (_jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getSupportActionBar")),(Object)((b4xpagesmanager.__c.getField(false,"Null"))))); + }; + }; + BA.debugLineNum = 110;BA.debugLine="Dim pi As JavaObject = jo.RunMethodJO(\"getPackage"; +Debug.JustUpdateDeviceLine(); +_pi = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_pi = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _jo.runMethod(false,"RunMethodJO",(Object)(BA.ObjectToString("getPackageManager")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getPackageInfo")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(b4xpagesmanager.__c.getField(false,"Application").runMethod(true,"getPackageName")),RemoteObject.createImmutable((1))}))));Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 111;BA.debugLine="Dim activities() As Object = pi.GetField(\"activit"; +Debug.JustUpdateDeviceLine(); +_activities = (_pi.runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("activities"))));Debug.locals.put("activities", _activities);Debug.locals.put("activities", _activities); + BA.debugLineNum = 112;BA.debugLine="For Each Act As JavaObject In activities"; +Debug.JustUpdateDeviceLine(); +_act = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +{ +final RemoteObject group13 = _activities; +final int groupLen13 = group13.getField(true,"length").get() +;int index13 = 0; +; +for (; index13 < groupLen13;index13++){ +_act = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), group13.getArrayElement(false,RemoteObject.createImmutable(index13)));Debug.locals.put("Act", _act); +Debug.locals.put("Act", _act); + BA.debugLineNum = 113;BA.debugLine="Dim name As String = Act.GetField(\"name\")"; +Debug.JustUpdateDeviceLine(); +_name = BA.ObjectToString(_act.runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("name"))));Debug.locals.put("name", _name);Debug.locals.put("name", _name); + BA.debugLineNum = 114;BA.debugLine="If name.EndsWith(\".main\") Then"; +Debug.JustUpdateDeviceLine(); +if (_name.runMethod(true,"endsWith",(Object)(RemoteObject.createImmutable(".main"))).get().booleanValue()) { + BA.debugLineNum = 115;BA.debugLine="Dim screenOrientation As Int = Act.GetField(\"sc"; +Debug.JustUpdateDeviceLine(); +_screenorientation = BA.numberCast(int.class, _act.runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("screenOrientation"))));Debug.locals.put("screenOrientation", _screenorientation);Debug.locals.put("screenOrientation", _screenorientation); + BA.debugLineNum = 116;BA.debugLine="If screenOrientation = -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_screenorientation,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 117;BA.debugLine="LogColor(\"#SupportedOrientations attribute mus"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","952559893",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 ("SHARK2.keymon.com.mx.b4xorderedmap");__ref.setField("_idtob4xpage",b4xpagesmanager._idtob4xpage); + //BA.debugLineNum = 24;BA.debugLine="Private RootB4XToPage As B4XOrderedMap"; +b4xpagesmanager._rootb4xtopage = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xorderedmap");__ref.setField("_rootb4xtopage",b4xpagesmanager._rootb4xtopage); + //BA.debugLineNum = 26;BA.debugLine="Private Context As JavaObject"; +b4xpagesmanager._context = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");__ref.setField("_context",b4xpagesmanager._context); + //BA.debugLineNum = 27;BA.debugLine="Type B4XPageParent (NativeType As Activity, MenuI"; +; + //BA.debugLineNum = 28;BA.debugLine="Type B4AMenuItem (Title As Object, Bitmap As B4XB"; +; + //BA.debugLineNum = 34;BA.debugLine="Type B4XPageInfo (B4XPage As Object, Id As String"; +; + //BA.debugLineNum = 38;BA.debugLine="Public mStackOfPageIds As B4XSet"; +b4xpagesmanager._mstackofpageids = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xset");__ref.setField("_mstackofpageids",b4xpagesmanager._mstackofpageids); + //BA.debugLineNum = 39;BA.debugLine="Private xui As XUI 'ignore"; +b4xpagesmanager._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xpagesmanager._xui); + //BA.debugLineNum = 43;BA.debugLine="Private mMainForm As Activity"; +b4xpagesmanager._mmainform = RemoteObject.createNew ("anywheresoftware.b4a.objects.ActivityWrapper");__ref.setField("_mmainform",b4xpagesmanager._mmainform); + //BA.debugLineNum = 44;BA.debugLine="Public ShowUpIndicator As Boolean = True"; +b4xpagesmanager._showupindicator = b4xpagesmanager.__c.getField(true,"True");__ref.setField("_showupindicator",b4xpagesmanager._showupindicator); + //BA.debugLineNum = 45;BA.debugLine="Public ActionBar As JavaObject"; +b4xpagesmanager._actionbar = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");__ref.setField("_actionbar",b4xpagesmanager._actionbar); + //BA.debugLineNum = 49;BA.debugLine="Public IsForeground As Boolean"; +b4xpagesmanager._isforeground = RemoteObject.createImmutable(false);__ref.setField("_isforeground",b4xpagesmanager._isforeground); + //BA.debugLineNum = 50;BA.debugLine="Public TransitionAnimationDuration As Int = 100"; +b4xpagesmanager._transitionanimationduration = BA.numberCast(int.class, 100);__ref.setField("_transitionanimationduration",b4xpagesmanager._transitionanimationduration); + //BA.debugLineNum = 51;BA.debugLine="Public MainPage As B4XMainPage"; +b4xpagesmanager._mainpage = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xmainpage");__ref.setField("_mainpage",b4xpagesmanager._mainpage); + //BA.debugLineNum = 52;BA.debugLine="Private StackString As String"; +b4xpagesmanager._stackstring = RemoteObject.createImmutable("");__ref.setField("_stackstring",b4xpagesmanager._stackstring); + //BA.debugLineNum = 53;BA.debugLine="Public LogEvents As Boolean = False"; +b4xpagesmanager._logevents = b4xpagesmanager.__c.getField(true,"False");__ref.setField("_logevents",b4xpagesmanager._logevents); + //BA.debugLineNum = 54;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _closepage(RemoteObject __ref,RemoteObject _b4xpage) throws Exception{ +try { + Debug.PushSubsStack("ClosePage (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,209); +if (RapidSub.canDelegate("closepage")) { return __ref.runUserSub(false, "b4xpagesmanager","closepage", __ref, _b4xpage);} +RemoteObject _pi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +RemoteObject _isclosingtoppage = RemoteObject.createImmutable(false); +Debug.locals.put("B4XPage", _b4xpage); + BA.debugLineNum = 209;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 210;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_findpifromb4xpage" /*RemoteObject*/ ,(Object)(_b4xpage));Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 211;BA.debugLine="If mStackOfPageIds.Contains(pi.Id) = False Then R"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_contains" /*RemoteObject*/ ,(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))),b4xpagesmanager.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 212;BA.debugLine="If xui.IsB4i And GetTopPage <> pi Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i")) && RemoteObject.solveBoolean("!",__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ ),_pi)) { + BA.debugLineNum = 213;BA.debugLine="Log(\"Only top page can be closed\")"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","952953092",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 (SHARK2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 216;BA.debugLine="Log(\"First page cannot be closed\")"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","952953095",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 (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ ),_pi));Debug.locals.put("IsClosingTopPage", _isclosingtoppage);Debug.locals.put("IsClosingTopPage", _isclosingtoppage); + BA.debugLineNum = 220;BA.debugLine="ClosePageImpl(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_closepageimpl" /*RemoteObject*/ ,(Object)(_pi)); + BA.debugLineNum = 221;BA.debugLine="If IsClosingTopPage Then"; +Debug.JustUpdateDeviceLine(); +if (_isclosingtoppage.get().booleanValue()) { + BA.debugLineNum = 222;BA.debugLine="TopPageDisappear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_toppagedisappear" /*RemoteObject*/ ); + }; + BA.debugLineNum = 224;BA.debugLine="If xui.IsB4A And mStackOfPageIds.Size = 1 Then Re"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 225;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_remove" /*RemoteObject*/ ,(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))); + BA.debugLineNum = 226;BA.debugLine="If IsClosingTopPage Then"; +Debug.JustUpdateDeviceLine(); +if (_isclosingtoppage.get().booleanValue()) { + BA.debugLineNum = 227;BA.debugLine="If xui.IsB4A Then ShowPageImpl(GetTopPage)"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A").get().booleanValue()) { +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_showpageimpl" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ )));}; + BA.debugLineNum = 228;BA.debugLine="TopPageAppear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_toppageappear" /*RemoteObject*/ ); + }; + BA.debugLineNum = 230;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _closepageimpl(RemoteObject __ref,RemoteObject _pi) throws Exception{ +try { + Debug.PushSubsStack("ClosePageImpl (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,315); +if (RapidSub.canDelegate("closepageimpl")) { return __ref.runUserSub(false, "b4xpagesmanager","closepageimpl", __ref, _pi);} +RemoteObject _i = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); +Debug.locals.put("pi", _pi); + BA.debugLineNum = 315;BA.debugLine="Private Sub ClosePageImpl (pi As B4XPageInfo) 'ign"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 317;BA.debugLine="If mStackOfPageIds.Size = 1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 318;BA.debugLine="Dim i As Intent"; +Debug.JustUpdateDeviceLine(); +_i = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("i", _i); + BA.debugLineNum = 319;BA.debugLine="i.Initialize(i.ACTION_MAIN, \"\")"; +Debug.JustUpdateDeviceLine(); +_i.runVoidMethod ("Initialize",(Object)(_i.getField(true,"ACTION_MAIN")),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 320;BA.debugLine="i.AddCategory(\"android.intent.category.HOME\")"; +Debug.JustUpdateDeviceLine(); +_i.runVoidMethod ("AddCategory",(Object)(RemoteObject.createImmutable("android.intent.category.HOME"))); + BA.debugLineNum = 321;BA.debugLine="i.Flags = 0x10000000"; +Debug.JustUpdateDeviceLine(); +_i.runMethod(true,"setFlags",BA.numberCast(int.class, ((int)0x10000000))); + BA.debugLineNum = 322;BA.debugLine="StartActivity(i)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_i.getObject()))); + }else { + BA.debugLineNum = 324;BA.debugLine="pi.Root.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_pi.getField(false,"Root" /*RemoteObject*/ ).runVoidMethod ("RemoveViewFromParent"); + }; + BA.debugLineNum = 331;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _closerequestexists(RemoteObject __ref,RemoteObject _pi) throws Exception{ +try { + Debug.PushSubsStack("CloseRequestExists (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,534); +if (RapidSub.canDelegate("closerequestexists")) { return __ref.runUserSub(false, "b4xpagesmanager","closerequestexists", __ref, _pi);} +Debug.locals.put("pi", _pi); + BA.debugLineNum = 534;BA.debugLine="Private Sub CloseRequestExists (pi As B4XPageInfo)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 535;BA.debugLine="Return xui.SubExists(pi.B4XPage, \"B4XPage_CloseRe"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(BA.ObjectToString("B4XPage_CloseRequest")),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 536;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createb4xpageinfo(RemoteObject __ref,RemoteObject _b4xpage,RemoteObject _id,RemoteObject _created,RemoteObject _title) throws Exception{ +try { + Debug.PushSubsStack("CreateB4XPageInfo (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,420); +if (RapidSub.canDelegate("createb4xpageinfo")) { return __ref.runUserSub(false, "b4xpagesmanager","createb4xpageinfo", __ref, _b4xpage, _id, _created, _title);} +RemoteObject _t1 = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("B4XPage", _b4xpage); +Debug.locals.put("Id", _id); +Debug.locals.put("Created", _created); +Debug.locals.put("Title", _title); + BA.debugLineNum = 420;BA.debugLine="Private Sub CreateB4XPageInfo (B4XPage As Object,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 421;BA.debugLine="Dim t1 As B4XPageInfo"; +Debug.JustUpdateDeviceLine(); +_t1 = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo");Debug.locals.put("t1", _t1); + BA.debugLineNum = 422;BA.debugLine="t1.Initialize"; +Debug.JustUpdateDeviceLine(); +_t1.runVoidMethod ("Initialize"); + BA.debugLineNum = 423;BA.debugLine="t1.B4XPage = B4XPage"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("B4XPage" /*RemoteObject*/ ,_b4xpage); + BA.debugLineNum = 424;BA.debugLine="t1.Id = Id"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("Id" /*RemoteObject*/ ,_id); + BA.debugLineNum = 425;BA.debugLine="t1.Created = Created"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("Created" /*RemoteObject*/ ,_created); + BA.debugLineNum = 426;BA.debugLine="t1.Title = Title"; +Debug.JustUpdateDeviceLine(); +_t1.setField ("Title" /*RemoteObject*/ ,_title); + BA.debugLineNum = 427;BA.debugLine="Return t1"; +Debug.JustUpdateDeviceLine(); +if (true) return _t1; + BA.debugLineNum = 428;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createb4xpageparent(RemoteObject __ref,RemoteObject _nativetype) throws Exception{ +try { + Debug.PushSubsStack("CreateB4XPageParent (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,598); +if (RapidSub.canDelegate("createb4xpageparent")) { return __ref.runUserSub(false, "b4xpagesmanager","createb4xpageparent", __ref, _nativetype);} +RemoteObject _t1 = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent"); +Debug.locals.put("NativeType", _nativetype); + BA.debugLineNum = 598;BA.debugLine="Private Sub CreateB4XPageParent (NativeType As Obj"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 604;BA.debugLine="Dim t1 As B4XPageParent"; +Debug.JustUpdateDeviceLine(); +_t1 = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent");Debug.locals.put("t1", _t1); + BA.debugLineNum = 605;BA.debugLine="t1.Initialize"; +Debug.JustUpdateDeviceLine(); +_t1.runVoidMethod ("Initialize"); + BA.debugLineNum = 606;BA.debugLine="t1.NativeType = NativeType"; +Debug.JustUpdateDeviceLine(); +_t1.getField(false,"NativeType" /*RemoteObject*/ ).setObject (_nativetype); + BA.debugLineNum = 607;BA.debugLine="Return t1"; +Debug.JustUpdateDeviceLine(); +if (true) return _t1; + BA.debugLineNum = 608;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createmenu(RemoteObject __ref,RemoteObject _menu) throws Exception{ +try { + Debug.PushSubsStack("CreateMenu (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,494); +if (RapidSub.canDelegate("createmenu")) { return __ref.runUserSub(false, "b4xpagesmanager","createmenu", __ref, _menu);} +RemoteObject _pi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _mi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4amenuitem"); +RemoteObject _nativemenuitem = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _bd = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.BitmapDrawable"); +RemoteObject _listener = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("Menu", _menu); + BA.debugLineNum = 494;BA.debugLine="Public Sub CreateMenu (Menu As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 495;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ );Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 496;BA.debugLine="If pi = Null Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_pi)) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 497;BA.debugLine="Dim jo As JavaObject = Menu"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _menu);Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 498;BA.debugLine="For Each mi As B4AMenuItem In pi.Parent.MenuItems"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group4 = _pi.getField(false,"Parent" /*RemoteObject*/ ).getField(false,"MenuItems" /*RemoteObject*/ ); +final int groupLen4 = group4.runMethod(true,"getSize").get() +;int index4 = 0; +; +for (; index4 < groupLen4;index4++){ +_mi = (group4.runMethod(false,"Get",index4));Debug.locals.put("mi", _mi); +Debug.locals.put("mi", _mi); + BA.debugLineNum = 499;BA.debugLine="Dim NativeMenuItem As JavaObject = jo.RunMethod("; +Debug.JustUpdateDeviceLine(); +_nativemenuitem = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_nativemenuitem = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("add")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_mi.getField(false,"Title" /*RemoteObject*/ )}))));Debug.locals.put("NativeMenuItem", _nativemenuitem);Debug.locals.put("NativeMenuItem", _nativemenuitem); + BA.debugLineNum = 500;BA.debugLine="If mi.Bitmap.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (_mi.getField(false,"Bitmap" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 501;BA.debugLine="Dim bd As BitmapDrawable"; +Debug.JustUpdateDeviceLine(); +_bd = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.BitmapDrawable");Debug.locals.put("bd", _bd); + BA.debugLineNum = 502;BA.debugLine="bd.Initialize(mi.Bitmap)"; +Debug.JustUpdateDeviceLine(); +_bd.runVoidMethod ("Initialize",(Object)((_mi.getField(false,"Bitmap" /*RemoteObject*/ ).getObject()))); + BA.debugLineNum = 503;BA.debugLine="NativeMenuItem.RunMethod(\"setIcon\", Array(bd))"; +Debug.JustUpdateDeviceLine(); +_nativemenuitem.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setIcon")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_bd.getObject())}))); + }; + BA.debugLineNum = 505;BA.debugLine="If mi.AddToBar Then"; +Debug.JustUpdateDeviceLine(); +if (_mi.getField(true,"AddToBar" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 506;BA.debugLine="NativeMenuItem.RunMethod(\"setShowAsAction\", Arr"; +Debug.JustUpdateDeviceLine(); +_nativemenuitem.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setShowAsAction")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))}))); + }; + BA.debugLineNum = 508;BA.debugLine="Dim listener As JavaObject"; +Debug.JustUpdateDeviceLine(); +_listener = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("listener", _listener); + BA.debugLineNum = 509;BA.debugLine="listener.InitializeNewInstance(Application.Packa"; +Debug.JustUpdateDeviceLine(); +_listener.runVoidMethod ("InitializeNewInstance",(Object)(RemoteObject.concat(b4xpagesmanager.__c.getField(false,"Application").runMethod(true,"getPackageName"),RemoteObject.createImmutable(".b4xpagesmanager$PagesMenuListener"))),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {_pi.getField(false,"B4XPage" /*RemoteObject*/ ),(_mi.getField(true,"Tag" /*RemoteObject*/ ))}))); + BA.debugLineNum = 510;BA.debugLine="NativeMenuItem.RunMethod(\"setOnMenuItemClickList"; +Debug.JustUpdateDeviceLine(); +_nativemenuitem.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setOnMenuItemClickListener")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_listener.getObject())}))); + } +}Debug.locals.put("mi", _mi); +; + BA.debugLineNum = 512;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createpageifneeded(RemoteObject __ref,RemoteObject _pi) throws Exception{ +try { + Debug.PushSubsStack("CreatePageIfNeeded (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,352); +if (RapidSub.canDelegate("createpageifneeded")) { return __ref.runUserSub(false, "b4xpagesmanager","createpageifneeded", __ref, _pi);} +Debug.locals.put("pi", _pi); + BA.debugLineNum = 352;BA.debugLine="Private Sub CreatePageIfNeeded(pi As B4XPageInfo)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 353;BA.debugLine="If pi.Created Then Return"; +Debug.JustUpdateDeviceLine(); +if (_pi.getField(true,"Created" /*RemoteObject*/ ).get().booleanValue()) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 354;BA.debugLine="pi.IsFirst = IdToB4XPage.Size = 1"; +Debug.JustUpdateDeviceLine(); +_pi.setField ("IsFirst" /*RemoteObject*/ ,BA.ObjectToBoolean(RemoteObject.solveBoolean("=",__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1)))); + BA.debugLineNum = 355;BA.debugLine="CreatePageImpl (pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_createpageimpl" /*RemoteObject*/ ,(Object)(_pi)); + BA.debugLineNum = 356;BA.debugLine="pi.Created = True"; +Debug.JustUpdateDeviceLine(); +_pi.setField ("Created" /*RemoteObject*/ ,b4xpagesmanager.__c.getField(true,"True")); + BA.debugLineNum = 357;BA.debugLine="RootB4XToPage.Put(pi.Root, pi)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_rootb4xtopage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)((_pi.getField(false,"Root" /*RemoteObject*/ ).getObject())),(Object)((_pi))); + BA.debugLineNum = 358;BA.debugLine="LogEvent(pi, \"B4XPage_Created\")"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_logevent" /*RemoteObject*/ ,(Object)(_pi),(Object)(RemoteObject.createImmutable("B4XPage_Created"))); + BA.debugLineNum = 359;BA.debugLine="CallSub2(pi.B4XPage, \"B4XPage_Created\", pi.root)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(BA.ObjectToString("B4XPage_Created")),(Object)((_pi.getField(false,"Root" /*RemoteObject*/ )))); + BA.debugLineNum = 361;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createpageimpl(RemoteObject __ref,RemoteObject _pi) throws Exception{ +try { + Debug.PushSubsStack("CreatePageImpl (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,369); +if (RapidSub.canDelegate("createpageimpl")) { return __ref.runUserSub(false, "b4xpagesmanager","createpageimpl", __ref, _pi);} +Debug.locals.put("pi", _pi); + BA.debugLineNum = 369;BA.debugLine="Private Sub CreatePageImpl (pi As B4XPageInfo)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 381;BA.debugLine="pi.Root = xui.CreatePanel(\"root\")"; +Debug.JustUpdateDeviceLine(); +_pi.setField ("Root" /*RemoteObject*/ ,__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("root")))); + BA.debugLineNum = 382;BA.debugLine="pi.root.SetLayoutAnimated(0, 0, 0, 100%x, 100%y)"; +Debug.JustUpdateDeviceLine(); +_pi.getField(false,"Root" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xpagesmanager.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))),(Object)(b4xpagesmanager.__c.runMethod(true,"PerYToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba")))); + BA.debugLineNum = 383;BA.debugLine="pi.Parent = CreateB4XPageParent(mMainForm)"; +Debug.JustUpdateDeviceLine(); +_pi.setField ("Parent" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_createb4xpageparent" /*RemoteObject*/ ,(Object)((__ref.getField(false,"_mmainform" /*RemoteObject*/ ).getObject())))); + BA.debugLineNum = 384;BA.debugLine="pi.Parent.MenuItems.Initialize"; +Debug.JustUpdateDeviceLine(); +_pi.getField(false,"Parent" /*RemoteObject*/ ).getField(false,"MenuItems" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 392;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _findpifromb4xpage(RemoteObject __ref,RemoteObject _page) throws Exception{ +try { + Debug.PushSubsStack("FindPIFromB4XPage (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,306); +if (RapidSub.canDelegate("findpifromb4xpage")) { return __ref.runUserSub(false, "b4xpagesmanager","findpifromb4xpage", __ref, _page);} +RemoteObject _pi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("Page", _page); + BA.debugLineNum = 306;BA.debugLine="Public Sub FindPIFromB4XPage (Page As Object) As B"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 307;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group1 = __ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_getvalues" /*RemoteObject*/ ); +final int groupLen1 = group1.runMethod(true,"getSize").get() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_pi = (group1.runMethod(false,"Get",index1));Debug.locals.put("pi", _pi); +Debug.locals.put("pi", _pi); + BA.debugLineNum = 308;BA.debugLine="If pi.B4XPage = Page Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_pi.getField(false,"B4XPage" /*RemoteObject*/ ),_page)) { + BA.debugLineNum = 309;BA.debugLine="Return pi"; +Debug.JustUpdateDeviceLine(); +if (true) return _pi; + }; + } +}Debug.locals.put("pi", _pi); +; + BA.debugLineNum = 312;BA.debugLine="Return Null"; +Debug.JustUpdateDeviceLine(); +if (true) return (b4xpagesmanager.__c.getField(false,"Null")); + BA.debugLineNum = 313;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpage(RemoteObject __ref,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("GetPage (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,394); +if (RapidSub.canDelegate("getpage")) { return __ref.runUserSub(false, "b4xpagesmanager","getpage", __ref, _id);} +Debug.locals.put("Id", _id); + BA.debugLineNum = 394;BA.debugLine="Public Sub GetPage (Id As String) As Object"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 395;BA.debugLine="Return GetPageFromId(Id).B4XPage"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_getpagefromid" /*RemoteObject*/ ,(Object)(_id)).getField(false,"B4XPage" /*RemoteObject*/ ); + BA.debugLineNum = 396;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpagefromid(RemoteObject __ref,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("GetPageFromId (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,398); +if (RapidSub.canDelegate("getpagefromid")) { return __ref.runUserSub(false, "b4xpagesmanager","getpagefromid", __ref, _id);} +RemoteObject _pi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("id", _id); + BA.debugLineNum = 398;BA.debugLine="Private Sub GetPageFromId (id As String) As B4XPag"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 399;BA.debugLine="Dim pi As B4XPageInfo = IdToB4XPage.Get(id.ToLowe"; +Debug.JustUpdateDeviceLine(); +_pi = (__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)((_id.runMethod(true,"toLowerCase")))));Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 400;BA.debugLine="If pi = Null Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_pi)) { + BA.debugLineNum = 401;BA.debugLine="Log(\"Error: page id not found: \" & id)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","953608451",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","953608452",RemoteObject.concat(RemoteObject.createImmutable("Ids: "),__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ )),0); + }; + BA.debugLineNum = 404;BA.debugLine="Return pi"; +Debug.JustUpdateDeviceLine(); +if (true) return _pi; + BA.debugLineNum = 405;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpageinfofromroot(RemoteObject __ref,RemoteObject _root) throws Exception{ +try { + Debug.PushSubsStack("GetPageInfoFromRoot (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,407); +if (RapidSub.canDelegate("getpageinfofromroot")) { return __ref.runUserSub(false, "b4xpagesmanager","getpageinfofromroot", __ref, _root);} +Debug.locals.put("Root", _root); + BA.debugLineNum = 407;BA.debugLine="Public Sub GetPageInfoFromRoot (Root As B4XView) A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 408;BA.debugLine="Return RootB4XToPage.Get(Root)"; +Debug.JustUpdateDeviceLine(); +if (true) return (__ref.getField(false,"_rootb4xtopage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)((_root.getObject())))); + BA.debugLineNum = 409;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gettoppage(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetTopPage (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,592); +if (RapidSub.canDelegate("gettoppage")) { return __ref.runUserSub(false, "b4xpagesmanager","gettoppage", __ref);} + BA.debugLineNum = 592;BA.debugLine="Public Sub GetTopPage As B4XPageInfo"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 593;BA.debugLine="If mStackOfPageIds.Size = 0 Then Return Null"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { +if (true) return (b4xpagesmanager.__c.getField(false,"Null"));}; + BA.debugLineNum = 594;BA.debugLine="Return IdToB4XPage.Get(mStackOfPageIds.AsList.Get"; +Debug.JustUpdateDeviceLine(); +if (true) return (__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_get" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_aslist" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1)))))); + BA.debugLineNum = 595;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _handlecloserequest(RemoteObject __ref,RemoteObject _pi) throws Exception{ +try { + Debug.PushSubsStack("HandleCloseRequest (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,538); +if (RapidSub.canDelegate("handlecloserequest")) { __ref.runUserSub(false, "b4xpagesmanager","handlecloserequest", __ref, _pi); return;} +ResumableSub_HandleCloseRequest rsub = new ResumableSub_HandleCloseRequest(null,__ref,_pi); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_HandleCloseRequest extends BA.ResumableSub { +public ResumableSub_HandleCloseRequest(SHARK2.keymon.com.mx.b4xpagesmanager parent,RemoteObject __ref,RemoteObject _pi) { +this.parent = parent; +this.__ref = __ref; +this._pi = _pi; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xpagesmanager parent; +RemoteObject _pi; +RemoteObject _rs = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"); +RemoteObject _shouldclose = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("HandleCloseRequest (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,538); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("pi", _pi); + BA.debugLineNum = 539;BA.debugLine="LogEvent(pi, \"B4XPage_CloseRequest\")"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_logevent" /*RemoteObject*/ ,(Object)(_pi),(Object)(RemoteObject.createImmutable("B4XPage_CloseRequest"))); + BA.debugLineNum = 540;BA.debugLine="Dim rs As ResumableSub = CallSub(pi.B4XPage, \"B4X"; +Debug.JustUpdateDeviceLine(); +_rs = RemoteObject.createNew ("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"); +_rs = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), parent.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("B4XPage_CloseRequest"))));Debug.locals.put("rs", _rs);Debug.locals.put("rs", _rs); + BA.debugLineNum = 541;BA.debugLine="Wait For (rs) Complete (ShouldClose As Boolean)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","complete", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xpagesmanager", "handlecloserequest"), _rs); +this.state = 5; +return; +case 5: +//C +this.state = 1; +_shouldclose = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("ShouldClose", _shouldclose); +; + BA.debugLineNum = 542;BA.debugLine="If ShouldClose Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 4; +if (_shouldclose.get().booleanValue()) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 543;BA.debugLine="ClosePage(pi.B4XPage)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_closepage" /*RemoteObject*/ ,(Object)(_pi.getField(false,"B4XPage" /*RemoteObject*/ ))); + if (true) break; + +case 4: +//C +this.state = -1; +; + BA.debugLineNum = 545;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _complete(RemoteObject __ref,RemoteObject _shouldclose) throws Exception{ +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _activity) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,59); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xpagesmanager","initialize", __ref, _ba, _activity);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _module = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _nonmainpagewasadded = RemoteObject.createImmutable(false); +Debug.locals.put("ba", _ba); +Debug.locals.put("Activity", _activity); + BA.debugLineNum = 59;BA.debugLine="Public Sub Initialize (Activity As Activity)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 63;BA.debugLine="IdToB4XPage.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 64;BA.debugLine="RootB4XToPage.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_rootb4xtopage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 65;BA.debugLine="mStackOfPageIds.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 69;BA.debugLine="Context.InitializeContext"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_context" /*RemoteObject*/ ).runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 70;BA.debugLine="mMainForm = Activity"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mmainform" /*RemoteObject*/ ,_activity); + BA.debugLineNum = 71;BA.debugLine="CheckMainActivityOrientations"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_checkmainactivityorientations" /*RemoteObject*/ ); + BA.debugLineNum = 72;BA.debugLine="Dim jo As JavaObject = Me"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref);Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 73;BA.debugLine="Dim module As JavaObject"; +Debug.JustUpdateDeviceLine(); +_module = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("module", _module); + BA.debugLineNum = 74;BA.debugLine="module.InitializeStatic(jo.RunMethodJO(\"getActivi"; +Debug.JustUpdateDeviceLine(); +_module.runMethod(false,"InitializeStatic",(Object)(BA.ObjectToString(_jo.runMethod(false,"RunMethodJO",(Object)(BA.ObjectToString("getActivityBA")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("className")))))).runVoidMethod ("SetField",(Object)(BA.ObjectToString("dontPause")),(Object)((b4xpagesmanager.__c.getField(true,"True")))); + BA.debugLineNum = 78;BA.debugLine="B4XPages.InternalSetPagesManager(Me)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager._b4xpages.runVoidMethod ("_internalsetpagesmanager" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref)); + BA.debugLineNum = 79;BA.debugLine="MainPage.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mainpage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 80;BA.debugLine="Dim NonMainPageWasAdded As Boolean = IdToB4XPage."; +Debug.JustUpdateDeviceLine(); +_nonmainpagewasadded = BA.ObjectToBoolean(RemoteObject.solveBoolean(">",__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 0)));Debug.locals.put("NonMainPageWasAdded", _nonmainpagewasadded);Debug.locals.put("NonMainPageWasAdded", _nonmainpagewasadded); + BA.debugLineNum = 81;BA.debugLine="IdToB4XPage.Put(\"~~~~~temp~~~~\", CreateB4XPageInf"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable(("~~~~~temp~~~~"))),(Object)((__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_createb4xpageinfo" /*RemoteObject*/ ,(Object)((__ref.getField(false,"_mainpage" /*RemoteObject*/ ))),(Object)(BA.ObjectToString("")),(Object)(b4xpagesmanager.__c.getField(true,"False")),(Object)((RemoteObject.createImmutable(""))))))); + BA.debugLineNum = 82;BA.debugLine="BackgroundStateChanged(True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_backgroundstatechanged" /*RemoteObject*/ ,(Object)(b4xpagesmanager.__c.getField(true,"True"))); + BA.debugLineNum = 83;BA.debugLine="IdToB4XPage.Remove(\"~~~~~temp~~~~\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_idtob4xpage" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_remove" /*RemoteObject*/ ,(Object)((RemoteObject.createImmutable("~~~~~temp~~~~")))); + BA.debugLineNum = 84;BA.debugLine="AddPageAndCreate(\"MainPage\", MainPage)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_addpageandcreate" /*RemoteObject*/ ,(Object)(BA.ObjectToString("MainPage")),(Object)((__ref.getField(false,"_mainpage" /*RemoteObject*/ )))); + BA.debugLineNum = 85;BA.debugLine="If LogEvents = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_logevents" /*RemoteObject*/ ),b4xpagesmanager.__c.getField(true,"False"))) { + BA.debugLineNum = 86;BA.debugLine="Log(\"Call B4XPages.GetManager.LogEvents = True t"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","952494363",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 (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ )),(Object)(BA.ObjectToString("B4XPage_Appear")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))); + }; + }; + BA.debugLineNum = 93;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _logevent(RemoteObject __ref,RemoteObject _pi,RemoteObject _ev) throws Exception{ +try { + Debug.PushSubsStack("LogEvent (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,640); +if (RapidSub.canDelegate("logevent")) { return __ref.runUserSub(false, "b4xpagesmanager","logevent", __ref, _pi, _ev);} +RemoteObject _msg = RemoteObject.createImmutable(""); +Debug.locals.put("pi", _pi); +Debug.locals.put("ev", _ev); + BA.debugLineNum = 640;BA.debugLine="Private Sub LogEvent (pi As B4XPageInfo, ev As Str"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 641;BA.debugLine="If LogEvents Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_logevents" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 642;BA.debugLine="Dim msg As String = $\"*** ${pi.Id}: ${ev} ${Stac"; +Debug.JustUpdateDeviceLine(); +_msg = (RemoteObject.concat(RemoteObject.createImmutable("*** "),b4xpagesmanager.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))),RemoteObject.createImmutable(": "),b4xpagesmanager.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ev))),RemoteObject.createImmutable(" "),b4xpagesmanager.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_stackstring" /*RemoteObject*/ )))),RemoteObject.createImmutable("")));Debug.locals.put("msg", _msg);Debug.locals.put("msg", _msg); + BA.debugLineNum = 643;BA.debugLine="Log(msg)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","954722563",_msg,0); + }; + BA.debugLineNum = 645;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mainform_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("MainForm_Resize (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,585); +if (RapidSub.canDelegate("mainform_resize")) { return __ref.runUserSub(false, "b4xpagesmanager","mainform_resize", __ref, _width, _height);} +RemoteObject _w = RemoteObject.createImmutable(0); +RemoteObject _h = RemoteObject.createImmutable(0); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 585;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 586;BA.debugLine="Dim w As Int = Width"; +Debug.JustUpdateDeviceLine(); +_w = BA.numberCast(int.class, _width);Debug.locals.put("w", _w);Debug.locals.put("w", _w); + BA.debugLineNum = 587;BA.debugLine="Dim h As Int = Height"; +Debug.JustUpdateDeviceLine(); +_h = BA.numberCast(int.class, _height);Debug.locals.put("h", _h);Debug.locals.put("h", _h); + BA.debugLineNum = 588;BA.debugLine="RaiseEvent(GetPageInfoFromRoot(Sender), \"B4XPage_"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_getpageinfofromroot" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), b4xpagesmanager.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))))),(Object)(BA.ObjectToString("B4XPage_Resize")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_w),(_h)}))); + BA.debugLineNum = 589;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _raiseevent(RemoteObject __ref,RemoteObject _targetpage,RemoteObject _subname,RemoteObject _params) throws Exception{ +try { + Debug.PushSubsStack("RaiseEvent (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,548); +if (RapidSub.canDelegate("raiseevent")) { return __ref.runUserSub(false, "b4xpagesmanager","raiseevent", __ref, _targetpage, _subname, _params);} +RemoteObject _length = RemoteObject.createImmutable(0); +Debug.locals.put("TargetPage", _targetpage); +Debug.locals.put("SubName", _subname); +Debug.locals.put("Params", _params); + BA.debugLineNum = 548;BA.debugLine="Public Sub RaiseEvent (TargetPage As B4XPageInfo,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 549;BA.debugLine="If TargetPage = Null Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_targetpage)) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 550;BA.debugLine="Dim length As Int"; +Debug.JustUpdateDeviceLine(); +_length = RemoteObject.createImmutable(0);Debug.locals.put("length", _length); + BA.debugLineNum = 551;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_params)) { +_length = BA.numberCast(int.class, 0);Debug.locals.put("length", _length);} +else { +_length = _params.getField(true,"length");Debug.locals.put("length", _length);}; + BA.debugLineNum = 552;BA.debugLine="LogEvent(TargetPage, SubName)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_logevent" /*RemoteObject*/ ,(Object)(_targetpage),(Object)(_subname)); + BA.debugLineNum = 553;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname),(Object)(_length)),b4xpagesmanager.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 554;BA.debugLine="Select length"; +Debug.JustUpdateDeviceLine(); +switch (BA.switchObjectToInt(_length,BA.numberCast(int.class, 0),BA.numberCast(int.class, 1),BA.numberCast(int.class, 2))) { +case 0: { + BA.debugLineNum = 556;BA.debugLine="CallSubDelayed(TargetPage.B4XPage, SubName)"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname)); + break; } +case 1: { + BA.debugLineNum = 558;BA.debugLine="CallSubDelayed2(TargetPage.B4XPage, SubName, Pa"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname),(Object)(_params.getArrayElement(false,BA.numberCast(int.class, 0)))); + break; } +case 2: { + BA.debugLineNum = 560;BA.debugLine="CallSubDelayed3(TargetPage.B4XPage, SubName, Pa"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("CallSubDelayed3",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname),(Object)(_params.getArrayElement(false,BA.numberCast(int.class, 0))),(Object)(_params.getArrayElement(false,BA.numberCast(int.class, 1)))); + break; } +default: { + BA.debugLineNum = 562;BA.debugLine="Log(\"Too many parameters\")"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","954198286",RemoteObject.createImmutable("Too many parameters"),0); + break; } +} +; + BA.debugLineNum = 564;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _raiseeventwithresult(RemoteObject __ref,RemoteObject _targetpage,RemoteObject _subname,RemoteObject _params) throws Exception{ +try { + Debug.PushSubsStack("RaiseEventWithResult (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,566); +if (RapidSub.canDelegate("raiseeventwithresult")) { return __ref.runUserSub(false, "b4xpagesmanager","raiseeventwithresult", __ref, _targetpage, _subname, _params);} +RemoteObject _length = RemoteObject.createImmutable(0); +Debug.locals.put("TargetPage", _targetpage); +Debug.locals.put("SubName", _subname); +Debug.locals.put("Params", _params); + BA.debugLineNum = 566;BA.debugLine="Public Sub RaiseEventWithResult (TargetPage As B4X"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 567;BA.debugLine="If TargetPage = Null Then Return Null"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_targetpage)) { +if (true) return b4xpagesmanager.__c.getField(false,"Null");}; + BA.debugLineNum = 568;BA.debugLine="Dim length As Int"; +Debug.JustUpdateDeviceLine(); +_length = RemoteObject.createImmutable(0);Debug.locals.put("length", _length); + BA.debugLineNum = 569;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_params)) { +_length = BA.numberCast(int.class, 0);Debug.locals.put("length", _length);} +else { +_length = _params.getField(true,"length");Debug.locals.put("length", _length);}; + BA.debugLineNum = 570;BA.debugLine="LogEvent(TargetPage, SubName)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_logevent" /*RemoteObject*/ ,(Object)(_targetpage),(Object)(_subname)); + BA.debugLineNum = 571;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname),(Object)(_length)),b4xpagesmanager.__c.getField(true,"False"))) { +if (true) return b4xpagesmanager.__c.getField(false,"Null");}; + BA.debugLineNum = 572;BA.debugLine="Select length"; +Debug.JustUpdateDeviceLine(); +switch (BA.switchObjectToInt(_length,BA.numberCast(int.class, 0),BA.numberCast(int.class, 1),BA.numberCast(int.class, 2))) { +case 0: { + BA.debugLineNum = 574;BA.debugLine="Return CallSub(TargetPage.B4XPage, SubName)"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesmanager.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname)); + break; } +case 1: { + BA.debugLineNum = 576;BA.debugLine="Return CallSub2(TargetPage.B4XPage, SubName, Pa"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesmanager.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname),(Object)(_params.getArrayElement(false,BA.numberCast(int.class, 0)))); + break; } +case 2: { + BA.debugLineNum = 578;BA.debugLine="Return CallSub3(TargetPage.B4XPage, SubName, Pa"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesmanager.__c.runMethodAndSync(false,"CallSubNew3",__ref.getField(false, "ba"),(Object)(_targetpage.getField(false,"B4XPage" /*RemoteObject*/ )),(Object)(_subname),(Object)(_params.getArrayElement(false,BA.numberCast(int.class, 0))),(Object)(_params.getArrayElement(false,BA.numberCast(int.class, 1)))); + break; } +default: { + BA.debugLineNum = 580;BA.debugLine="Log(\"Too many parameters\")"; +Debug.JustUpdateDeviceLine(); +b4xpagesmanager.__c.runVoidMethod ("LogImpl","954263822",RemoteObject.createImmutable("Too many parameters"),0); + break; } +} +; + BA.debugLineNum = 582;BA.debugLine="Return Null"; +Debug.JustUpdateDeviceLine(); +if (true) return b4xpagesmanager.__c.getField(false,"Null"); + BA.debugLineNum = 583;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _settitle(RemoteObject __ref,RemoteObject _b4xpage,RemoteObject _title) throws Exception{ +try { + Debug.PushSubsStack("SetTitle (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,363); +if (RapidSub.canDelegate("settitle")) { return __ref.runUserSub(false, "b4xpagesmanager","settitle", __ref, _b4xpage, _title);} +RemoteObject _pi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("B4XPage", _b4xpage); +Debug.locals.put("Title", _title); + BA.debugLineNum = 363;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 364;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_findpifromb4xpage" /*RemoteObject*/ ,(Object)(_b4xpage));Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 365;BA.debugLine="pi.Title = Title"; +Debug.JustUpdateDeviceLine(); +_pi.setField ("Title" /*RemoteObject*/ ,_title); + BA.debugLineNum = 366;BA.debugLine="pi.Parent.NativeType.Title = Title"; +Debug.JustUpdateDeviceLine(); +_pi.getField(false,"Parent" /*RemoteObject*/ ).getField(false,"NativeType" /*RemoteObject*/ ).runMethod(false,"setTitle",BA.ObjectToCharSequence(_title)); + BA.debugLineNum = 367;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _showpage(RemoteObject __ref,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("ShowPage (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,156); +if (RapidSub.canDelegate("showpage")) { return __ref.runUserSub(false, "b4xpagesmanager","showpage", __ref, _id);} +RemoteObject _pi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +RemoteObject _top = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("Id", _id); + BA.debugLineNum = 156;BA.debugLine="Public Sub ShowPage (Id As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 157;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_getpagefromid" /*RemoteObject*/ ,(Object)(_id));Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 158;BA.debugLine="If pi = GetTopPage Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_pi,__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ ))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 159;BA.debugLine="CreatePageIfNeeded(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_createpageifneeded" /*RemoteObject*/ ,(Object)(_pi)); + BA.debugLineNum = 160;BA.debugLine="TopPageDisappear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_toppagedisappear" /*RemoteObject*/ ); + BA.debugLineNum = 162;BA.debugLine="Dim Top As B4XPageInfo = GetTopPage"; +Debug.JustUpdateDeviceLine(); +_top = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ );Debug.locals.put("Top", _top);Debug.locals.put("Top", _top); + BA.debugLineNum = 163;BA.debugLine="If Top <> Null Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_top)) { + BA.debugLineNum = 164;BA.debugLine="Top.Root.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_top.getField(false,"Root" /*RemoteObject*/ ).runVoidMethod ("RemoveViewFromParent"); + }; + BA.debugLineNum = 174;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_remove" /*RemoteObject*/ ,(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))); + BA.debugLineNum = 175;BA.debugLine="ShowPageImpl(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_showpageimpl" /*RemoteObject*/ ,(Object)(_pi)); + BA.debugLineNum = 176;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_add" /*RemoteObject*/ ,(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))); + BA.debugLineNum = 177;BA.debugLine="TopPageAppear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_toppageappear" /*RemoteObject*/ ); + BA.debugLineNum = 178;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _showpageandremovepreviouspages(RemoteObject __ref,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("ShowPageAndRemovePreviousPages (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,180); +if (RapidSub.canDelegate("showpageandremovepreviouspages")) { return __ref.runUserSub(false, "b4xpagesmanager","showpageandremovepreviouspages", __ref, _id);} +RemoteObject _pi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +RemoteObject _pagetoremove = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); +Debug.locals.put("Id", _id); + BA.debugLineNum = 180;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 181;BA.debugLine="If GetTopPage = Null Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ ))) { + BA.debugLineNum = 182;BA.debugLine="ShowPage(Id)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_showpage" /*RemoteObject*/ ,(Object)(_id)); + BA.debugLineNum = 183;BA.debugLine="Return"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 185;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_getpagefromid" /*RemoteObject*/ ,(Object)(_id));Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 186;BA.debugLine="CreatePageIfNeeded(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_createpageifneeded" /*RemoteObject*/ ,(Object)(_pi)); + BA.debugLineNum = 187;BA.debugLine="TopPageDisappear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_toppagedisappear" /*RemoteObject*/ ); + BA.debugLineNum = 191;BA.debugLine="For Each Id As String In mStackOfPageIds.AsList"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group8 = __ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_aslist" /*RemoteObject*/ ); +final int groupLen8 = group8.runMethod(true,"getSize").get() +;int index8 = 0; +; +for (; index8 < groupLen8;index8++){ +_id = BA.ObjectToString(group8.runMethod(false,"Get",index8));Debug.locals.put("Id", _id); +Debug.locals.put("Id", _id); + BA.debugLineNum = 192;BA.debugLine="Dim PageToRemove As B4XPageInfo = GetPageFromId("; +Debug.JustUpdateDeviceLine(); +_pagetoremove = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_getpagefromid" /*RemoteObject*/ ,(Object)(_id));Debug.locals.put("PageToRemove", _pagetoremove);Debug.locals.put("PageToRemove", _pagetoremove); + BA.debugLineNum = 194;BA.debugLine="PageToRemove.Root.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_pagetoremove.getField(false,"Root" /*RemoteObject*/ ).runVoidMethod ("RemoveViewFromParent"); + } +}Debug.locals.put("Id", _id); +; + BA.debugLineNum = 201;BA.debugLine="mStackOfPageIds.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_clear" /*RemoteObject*/ ); + BA.debugLineNum = 202;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_add" /*RemoteObject*/ ,(Object)((_pi.getField(true,"Id" /*RemoteObject*/ )))); + BA.debugLineNum = 203;BA.debugLine="If xui.IsB4A Or xui.IsB4J Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4A")) || RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4J"))) { + BA.debugLineNum = 204;BA.debugLine="ShowPageImpl(pi)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_showpageimpl" /*RemoteObject*/ ,(Object)(_pi)); + }; + BA.debugLineNum = 206;BA.debugLine="TopPageAppear"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_toppageappear" /*RemoteObject*/ ); + BA.debugLineNum = 207;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _showpageimpl(RemoteObject __ref,RemoteObject _pi) throws Exception{ +try { + Debug.PushSubsStack("ShowPageImpl (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,333); +if (RapidSub.canDelegate("showpageimpl")) { return __ref.runUserSub(false, "b4xpagesmanager","showpageimpl", __ref, _pi);} +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +Debug.locals.put("pi", _pi); + BA.debugLineNum = 333;BA.debugLine="Private Sub ShowPageImpl (pi As B4XPageInfo)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 339;BA.debugLine="If pi.Root.Parent.IsInitialized Then pi.Root.Remo"; +Debug.JustUpdateDeviceLine(); +if (_pi.getField(false,"Root" /*RemoteObject*/ ).runMethod(false,"getParent").runMethod(true,"IsInitialized").get().booleanValue()) { +_pi.getField(false,"Root" /*RemoteObject*/ ).runVoidMethod ("RemoveViewFromParent");}; + BA.debugLineNum = 340;BA.debugLine="Dim pnl As Panel = pi.Root"; +Debug.JustUpdateDeviceLine(); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper"); +_pnl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _pi.getField(false,"Root" /*RemoteObject*/ ).getObject());Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 341;BA.debugLine="If TransitionAnimationDuration > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_transitionanimationduration" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 342;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 20dip, 20dip)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mmainform" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_pnl.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xpagesmanager.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(b4xpagesmanager.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20))))); + BA.debugLineNum = 343;BA.debugLine="pnl.SetLayoutAnimated(TransitionAnimationDuratio"; +Debug.JustUpdateDeviceLine(); +_pnl.runVoidMethod ("SetLayoutAnimated",(Object)(__ref.getField(true,"_transitionanimationduration" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xpagesmanager.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))),(Object)(b4xpagesmanager.__c.runMethod(true,"PerYToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba")))); + }else { + BA.debugLineNum = 345;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 100%x, 100%y)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mmainform" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_pnl.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(b4xpagesmanager.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))),(Object)(b4xpagesmanager.__c.runMethod(true,"PerYToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba")))); + }; + BA.debugLineNum = 350;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _toppageappear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TopPageAppear (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,288); +if (RapidSub.canDelegate("toppageappear")) { return __ref.runUserSub(false, "b4xpagesmanager","toppageappear", __ref);} +RemoteObject _pi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); + BA.debugLineNum = 288;BA.debugLine="Private Sub TopPageAppear"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 289;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ );Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 290;BA.debugLine="If pi = Null Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_pi)) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 291;BA.debugLine="pi.Parent.NativeType.Title = pi.Title"; +Debug.JustUpdateDeviceLine(); +_pi.getField(false,"Parent" /*RemoteObject*/ ).getField(false,"NativeType" /*RemoteObject*/ ).runMethod(false,"setTitle",BA.ObjectToCharSequence(_pi.getField(false,"Title" /*RemoteObject*/ ))); + BA.debugLineNum = 292;BA.debugLine="If Not(xui.IsB4i) Then"; +Debug.JustUpdateDeviceLine(); +if (b4xpagesmanager.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i"))).get().booleanValue()) { + BA.debugLineNum = 293;BA.debugLine="If IsForeground Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_isforeground" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 294;BA.debugLine="RaiseEvent(pi, \"B4XPage_Appear\", Null)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_raiseevent" /*RemoteObject*/ ,(Object)(_pi),(Object)(BA.ObjectToString("B4XPage_Appear")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))); + }; + }; + BA.debugLineNum = 298;BA.debugLine="If ShowUpIndicator And ActionBar.IsInitialized Th"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(true,"_showupindicator" /*RemoteObject*/ )) && RemoteObject.solveBoolean(".",__ref.getField(false,"_actionbar" /*RemoteObject*/ ).runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 299;BA.debugLine="ActionBar.RunMethod(\"setDisplayHomeAsUpEnabled\","; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_actionbar" /*RemoteObject*/ ).runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setDisplayHomeAsUpEnabled")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((RemoteObject.solveBoolean(">",__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 1))))}))); + }; + BA.debugLineNum = 301;BA.debugLine="UpdateMenuItems"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_updatemenuitems" /*RemoteObject*/ ); + BA.debugLineNum = 303;BA.debugLine="UpdateStackString"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_updatestackstring" /*RemoteObject*/ ); + BA.debugLineNum = 304;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _toppagedisappear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TopPageDisappear (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,277); +if (RapidSub.canDelegate("toppagedisappear")) { return __ref.runUserSub(false, "b4xpagesmanager","toppagedisappear", __ref);} +RemoteObject _pi = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo"); + BA.debugLineNum = 277;BA.debugLine="Private Sub TopPageDisappear"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 278;BA.debugLine="If xui.IsB4J Then Return"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4J").get().booleanValue()) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 279;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +Debug.JustUpdateDeviceLine(); +_pi = __ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_gettoppage" /*RemoteObject*/ );Debug.locals.put("pi", _pi);Debug.locals.put("pi", _pi); + BA.debugLineNum = 280;BA.debugLine="If pi = Null Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("n",_pi)) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 281;BA.debugLine="If Not(xui.IsB4i) Then"; +Debug.JustUpdateDeviceLine(); +if (b4xpagesmanager.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"getIsB4i"))).get().booleanValue()) { + BA.debugLineNum = 282;BA.debugLine="If IsForeground Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_isforeground" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 283;BA.debugLine="RaiseEventWithResult(pi, \"B4XPage_Disappear\", N"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_raiseeventwithresult" /*RemoteObject*/ ,(Object)(_pi),(Object)(BA.ObjectToString("B4XPage_Disappear")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))); + }; + }; + BA.debugLineNum = 286;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _updatemenuitems(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("UpdateMenuItems (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,490); +if (RapidSub.canDelegate("updatemenuitems")) { return __ref.runUserSub(false, "b4xpagesmanager","updatemenuitems", __ref);} + BA.debugLineNum = 490;BA.debugLine="Private Sub UpdateMenuItems"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 491;BA.debugLine="Context.RunMethod(\"invalidateOptionsMenu\", Null)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_context" /*RemoteObject*/ ).runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("invalidateOptionsMenu")),(Object)((b4xpagesmanager.__c.getField(false,"Null")))); + BA.debugLineNum = 492;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _updatestackstring(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("UpdateStackString (b4xpagesmanager) ","b4xpagesmanager",43,__ref.getField(false, "ba"),__ref,647); +if (RapidSub.canDelegate("updatestackstring")) { return __ref.runUserSub(false, "b4xpagesmanager","updatestackstring", __ref);} +RemoteObject _sb = RemoteObject.declareNull("anywheresoftware.b4a.keywords.StringBuilderWrapper"); +RemoteObject _id = RemoteObject.createImmutable(""); + BA.debugLineNum = 647;BA.debugLine="Public Sub UpdateStackString"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 648;BA.debugLine="Dim sb As StringBuilder"; +Debug.JustUpdateDeviceLine(); +_sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");Debug.locals.put("sb", _sb); + BA.debugLineNum = 649;BA.debugLine="sb.Initialize"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Initialize"); + BA.debugLineNum = 650;BA.debugLine="sb.Append(\"[\")"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(RemoteObject.createImmutable("["))); + BA.debugLineNum = 651;BA.debugLine="If mStackOfPageIds.Size > 0 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_getsize" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 652;BA.debugLine="For Each id As String In mStackOfPageIds.AsList"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group5 = __ref.getField(false,"_mstackofpageids" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_aslist" /*RemoteObject*/ ); +final int groupLen5 = group5.runMethod(true,"getSize").get() +;int index5 = 0; +; +for (; index5 < groupLen5;index5++){ +_id = BA.ObjectToString(group5.runMethod(false,"Get",index5));Debug.locals.put("id", _id); +Debug.locals.put("id", _id); + BA.debugLineNum = 653;BA.debugLine="sb.Append(id).Append(\", \")"; +Debug.JustUpdateDeviceLine(); +_sb.runMethod(false,"Append",(Object)(_id)).runVoidMethod ("Append",(Object)(RemoteObject.createImmutable(", "))); + } +}Debug.locals.put("id", _id); +; + BA.debugLineNum = 655;BA.debugLine="sb.Remove(sb.Length - 2, sb.Length)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Remove",(Object)(RemoteObject.solve(new RemoteObject[] {_sb.runMethod(true,"getLength"),RemoteObject.createImmutable(2)}, "-",1, 1)),(Object)(_sb.runMethod(true,"getLength"))); + }; + BA.debugLineNum = 657;BA.debugLine="sb.Append(\"]\")"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(RemoteObject.createImmutable("]"))); + BA.debugLineNum = 658;BA.debugLine="StackString = sb.ToString"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_stackstring" /*RemoteObject*/ ,_sb.runMethod(true,"ToString")); + BA.debugLineNum = 659;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xplusminus.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xplusminus.java new file mode 100644 index 0000000..bbc1671 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xplusminus.java @@ -0,0 +1,58 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xplusminus { + public static RemoteObject myClass; + public b4xplusminus() { + } + public static PCBA staticBA = new PCBA(null, b4xplusminus.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _pnlplus = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _pnlminus = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lblplus = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lblminus = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _formation = RemoteObject.createImmutable(""); +public static RemoteObject _mcyclic = RemoteObject.createImmutable(false); +public static RemoteObject _mrapid = RemoteObject.createImmutable(false); +public static RemoteObject _mainlabel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _arrowssize = RemoteObject.createImmutable(0); +public static RemoteObject _mstringitems = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _mstartrange = RemoteObject.createImmutable(0); +public static RemoteObject _minterval = RemoteObject.createImmutable(0); +public static RemoteObject _mendrange = RemoteObject.createImmutable(0); +public static RemoteObject _mselectedindex = RemoteObject.createImmutable(0); +public static RemoteObject _loopindex = RemoteObject.createImmutable(0); +public static RemoteObject _rapidperiod1 = RemoteObject.createImmutable(0); +public static RemoteObject _rapidperiod2 = RemoteObject.createImmutable(0); +public static RemoteObject _formatter = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xformatter"); +public static RemoteObject _stringmode = RemoteObject.createImmutable(false); +public static RemoteObject _size = RemoteObject.createImmutable(0); +public static RemoteObject _mhaptic = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"ArrowsSize",_ref.getField(false, "_arrowssize"),"DateUtils",_ref.getField(false, "_dateutils"),"Formation",_ref.getField(false, "_formation"),"Formatter",_ref.getField(false, "_formatter"),"lblMinus",_ref.getField(false, "_lblminus"),"lblPlus",_ref.getField(false, "_lblplus"),"LoopIndex",_ref.getField(false, "_loopindex"),"MainLabel",_ref.getField(false, "_mainlabel"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mCyclic",_ref.getField(false, "_mcyclic"),"mEndRange",_ref.getField(false, "_mendrange"),"mEventName",_ref.getField(false, "_meventname"),"mHaptic",_ref.getField(false, "_mhaptic"),"mInterval",_ref.getField(false, "_minterval"),"mRapid",_ref.getField(false, "_mrapid"),"mSelectedIndex",_ref.getField(false, "_mselectedindex"),"mStartRange",_ref.getField(false, "_mstartrange"),"mStringItems",_ref.getField(false, "_mstringitems"),"pnlMinus",_ref.getField(false, "_pnlminus"),"pnlPlus",_ref.getField(false, "_pnlplus"),"RapidPeriod1",_ref.getField(false, "_rapidperiod1"),"RapidPeriod2",_ref.getField(false, "_rapidperiod2"),"Size",_ref.getField(false, "_size"),"StringMode",_ref.getField(false, "_stringmode"),"Tag",_ref.getField(false, "_tag"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xplusminus_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xplusminus_subs_0.java new file mode 100644 index 0000000..f643c77 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xplusminus_subs_0.java @@ -0,0 +1,873 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xplusminus_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xplusminus) ","b4xplusminus",60,__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 ("SHARK2.keymon.com.mx.b4xformatter");__ref.setField("_formatter",b4xplusminus._formatter); + //BA.debugLineNum = 26;BA.debugLine="Private StringMode As Boolean"; +b4xplusminus._stringmode = RemoteObject.createImmutable(false);__ref.setField("_stringmode",b4xplusminus._stringmode); + //BA.debugLineNum = 27;BA.debugLine="Private Size As Int"; +b4xplusminus._size = RemoteObject.createImmutable(0);__ref.setField("_size",b4xplusminus._size); + //BA.debugLineNum = 28;BA.debugLine="Public mHaptic As Boolean"; +b4xplusminus._mhaptic = RemoteObject.createImmutable(false);__ref.setField("_mhaptic",b4xplusminus._mhaptic); + //BA.debugLineNum = 29;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createlabel(RemoteObject __ref,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("CreateLabel (b4xplusminus) ","b4xplusminus",60,__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",60,__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 (SHARK2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1)),(Object)(b4xplusminus.__c.getField(true,"True"))); + BA.debugLineNum = 193;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xplusminus) ","b4xplusminus",60,__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 (SHARK2.keymon.com.mx.b4xformatter.class, "_getdefaultformat" /*RemoteObject*/ ).setField ("FormatFont" /*RemoteObject*/ ,__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runMethod(false,"getFont")); + BA.debugLineNum = 63;BA.debugLine="Formatter.GetDefaultFormat.TextColor = MainLabel."; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_formatter" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xformatter.class, "_getdefaultformat" /*RemoteObject*/ ).setField ("TextColor" /*RemoteObject*/ ,__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runMethod(true,"getTextColor")); + BA.debugLineNum = 64;BA.debugLine="If Formation = \"Horizontal\" Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_formation" /*RemoteObject*/ ),BA.ObjectToString("Horizontal"))) { + BA.debugLineNum = 65;BA.debugLine="lblPlus = CreateLabel(Chr(0xE315))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lblplus" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_createlabel" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xplusminus.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe315)))))))); + BA.debugLineNum = 66;BA.debugLine="lblMinus = CreateLabel(Chr(0xE314))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lblminus" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_createlabel" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xplusminus.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe314)))))))); + }else { + BA.debugLineNum = 68;BA.debugLine="lblPlus = CreateLabel(Chr(0xE316))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lblplus" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_createlabel" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xplusminus.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe316)))))))); + BA.debugLineNum = 69;BA.debugLine="lblMinus = CreateLabel(Chr(0xE313))"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lblminus" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_createlabel" /*RemoteObject*/ ,(Object)(BA.ObjectToString(b4xplusminus.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xe313)))))))); + }; + BA.debugLineNum = 71;BA.debugLine="lblMinus.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblminus" /*RemoteObject*/ ).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 72;BA.debugLine="lblPlus.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblplus" /*RemoteObject*/ ).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 73;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("CENTER"))); + BA.debugLineNum = 74;BA.debugLine="mBase.AddView(MainLabel, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 75;BA.debugLine="mBase.AddView(pnlPlus, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_pnlplus" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 76;BA.debugLine="mBase.AddView(pnlMinus, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mbase" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_pnlminus" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 77;BA.debugLine="pnlPlus.AddView(lblPlus, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlplus" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_lblplus" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 78;BA.debugLine="pnlMinus.AddView(lblMinus, 0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlminus" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_lblminus" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 79;BA.debugLine="SetIndex(-1, False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, -(double) (0 + 1))),(Object)(b4xplusminus.__c.getField(true,"False"))); + BA.debugLineNum = 80;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 81;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getselectedvalue(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSelectedValue (b4xplusminus) ","b4xplusminus",60,__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 (SHARK2.keymon.com.mx.b4xplusminus.class, "_getvalueimpl" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ))); + BA.debugLineNum = 119;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getvalueimpl(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("GetValueImpl (b4xplusminus) ","b4xplusminus",60,__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",60,__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 (SHARK2.keymon.com.mx.b4xplusminus.class, "_getvalueimpl" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1))));Debug.locals.put("v1", _v1);Debug.locals.put("v1", _v1); + BA.debugLineNum = 165;BA.debugLine="Dim v2 As Double = GetValueImpl(mSelectedIndex +"; +Debug.JustUpdateDeviceLine(); +_v2 = BA.numberCast(double.class, __ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_getvalueimpl" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "+",1, 1))));Debug.locals.put("v2", _v2);Debug.locals.put("v2", _v2); + BA.debugLineNum = 166;BA.debugLine="If Formatter.Format(v1) = Formatter.Format(v2) T"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_formatter" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xformatter.class, "_format" /*RemoteObject*/ ,(Object)(_v1)),__ref.getField(false,"_formatter" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xformatter.class, "_format" /*RemoteObject*/ ,(Object)(_v2)))) { + BA.debugLineNum = 167;BA.debugLine="mSelectedIndex = mSelectedIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mselectedindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + }; + }; + BA.debugLineNum = 170;BA.debugLine="If mSelectedIndex >= Size - 1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_size" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1)))) { + BA.debugLineNum = 171;BA.debugLine="If mCyclic Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mcyclic" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 172;BA.debugLine="mSelectedIndex = -1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mselectedindex" /*RemoteObject*/ ,BA.numberCast(int.class, -(double) (0 + 1))); + }else { + BA.debugLineNum = 174;BA.debugLine="mSelectedIndex = Size - 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mselectedindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_size" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1)); + BA.debugLineNum = 175;BA.debugLine="LoopIndex = LoopIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_loopindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_loopindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 176;BA.debugLine="Return"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.createImmutable(""); + }; + }; + BA.debugLineNum = 179;BA.debugLine="SetIndex(mSelectedIndex + 1, True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)),(Object)(b4xplusminus.__c.getField(true,"True"))); + BA.debugLineNum = 180;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xplusminus) ","b4xplusminus",60,__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 (SHARK2.keymon.com.mx.b4xformatter.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 35;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _internalsettextorcsbuildertolabel(RemoteObject __ref,RemoteObject _xlbl,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("InternalSetTextOrCSBuilderToLabel (b4xplusminus) ","b4xplusminus",60,__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",60,__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 (SHARK2.keymon.com.mx.b4xplusminus.class, "_touch" /*RemoteObject*/ ,(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("=",_action,BA.numberCast(double.class, __ref.getField(false,"_lblplus" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_DOWN"))))),(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("!",_action,BA.numberCast(double.class, __ref.getField(false,"_lblplus" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_MOVE"))))),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), b4xplusminus.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))); + BA.debugLineNum = 197;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setindex(RemoteObject __ref,RemoteObject _i,RemoteObject _raiseevent) throws Exception{ +try { + Debug.PushSubsStack("SetIndex (b4xplusminus) ","b4xplusminus",60,__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 (SHARK2.keymon.com.mx.b4xplusminus.class, "_getvalueimpl" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_mselectedindex" /*RemoteObject*/ )));Debug.locals.put("value", _value);Debug.locals.put("value", _value); + BA.debugLineNum = 149;BA.debugLine="If StringMode Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_stringmode" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 150;BA.debugLine="InternalSetTextOrCSBuilderToLabel(MainLabel, va"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_internalsettextorcsbuildertolabel" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mainlabel" /*RemoteObject*/ )),(Object)(_value)); + }else { + BA.debugLineNum = 152;BA.debugLine="MainLabel.Text = Formatter.Format(value)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mainlabel" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_formatter" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xformatter.class, "_format" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, _value))))); + }; + BA.debugLineNum = 154;BA.debugLine="If RaiseEvent And xui.SubExists(mCallBack, mEven"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",_raiseevent) && RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_valuechanged"))),(Object)(BA.numberCast(int.class, 1))))) { + BA.debugLineNum = 155;BA.debugLine="CallSub2(mCallBack, mEventName & \"_valuechanged"; +Debug.JustUpdateDeviceLine(); +b4xplusminus.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_valuechanged"))),(Object)(_value)); + }; + }; + BA.debugLineNum = 158;BA.debugLine="lblPlus.Enabled = Size > 0 And (mCyclic Or mSelec"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblplus" /*RemoteObject*/ ).runMethod(true,"setEnabled",BA.ObjectToBoolean(RemoteObject.solveBoolean(">",__ref.getField(true,"_size" /*RemoteObject*/ ),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",__ref.getField(true,"_mcyclic" /*RemoteObject*/ )) || RemoteObject.solveBoolean("<",__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_size" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1)))))))); + BA.debugLineNum = 159;BA.debugLine="lblMinus.Enabled = Size > 0 And (mCyclic Or mSele"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblminus" /*RemoteObject*/ ).runMethod(true,"setEnabled",BA.ObjectToBoolean(RemoteObject.solveBoolean(">",__ref.getField(true,"_size" /*RemoteObject*/ ),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean(".",__ref.getField(true,"_mcyclic" /*RemoteObject*/ )) || RemoteObject.solveBoolean(">",__ref.getField(true,"_mselectedindex" /*RemoteObject*/ ),BA.numberCast(double.class, 0))))))); + BA.debugLineNum = 160;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setnumericrange(RemoteObject __ref,RemoteObject _startrange,RemoteObject _endrange,RemoteObject _interval) throws Exception{ +try { + Debug.PushSubsStack("SetNumericRange (b4xplusminus) ","b4xplusminus",60,__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 (SHARK2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0)),(Object)(b4xplusminus.__c.getField(true,"False"))); + BA.debugLineNum = 115;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setselectedvalue(RemoteObject __ref,RemoteObject _v) throws Exception{ +try { + Debug.PushSubsStack("setSelectedValue (b4xplusminus) ","b4xplusminus",60,__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 (SHARK2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_mstringitems" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_v))),(Object)(b4xplusminus.__c.getField(true,"False"))); + }else { + BA.debugLineNum = 125;BA.debugLine="Dim n As Double = v"; +Debug.JustUpdateDeviceLine(); +_n = BA.numberCast(double.class, _v);Debug.locals.put("n", _n);Debug.locals.put("n", _n); + BA.debugLineNum = 126;BA.debugLine="SetIndex(Min(Size - 1, Max(0, Round((n - mStartR"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, b4xplusminus.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_size" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1))),(Object)(b4xplusminus.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 0)),(Object)(BA.numberCast(double.class, b4xplusminus.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_n,__ref.getField(true,"_mstartrange" /*RemoteObject*/ )}, "-",1, 0)),__ref.getField(true,"_minterval" /*RemoteObject*/ )}, "/",0, 0)))))))))),(Object)(b4xplusminus.__c.getField(true,"False"))); + }; + BA.debugLineNum = 128;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setstringitems(RemoteObject __ref,RemoteObject _list) throws Exception{ +try { + Debug.PushSubsStack("SetStringItems (b4xplusminus) ","b4xplusminus",60,__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 (SHARK2.keymon.com.mx.b4xplusminus.class, "_setindex" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, -(double) (0 + 1))),(Object)(b4xplusminus.__c.getField(true,"False"))); + BA.debugLineNum = 106;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _startdownloop(RemoteObject __ref,RemoteObject _up) throws Exception{ +try { + Debug.PushSubsStack("StartDownLoop (b4xplusminus) ","b4xplusminus",60,__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(SHARK2.keymon.com.mx.b4xplusminus parent,RemoteObject __ref,RemoteObject _up) { +this.parent = parent; +this.__ref = __ref; +this._up = _up; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xplusminus parent; +RemoteObject _up; +RemoteObject _myindex = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("StartDownLoop (b4xplusminus) ","b4xplusminus",60,__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 (SHARK2.keymon.com.mx.b4xplusminus.class, "_increment" /*RemoteObject*/ ); +if (true) break; + +case 14: +//C +this.state = 17; +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_decrement" /*RemoteObject*/ ); +if (true) break; + +case 17: +//C +this.state = 7; +; + BA.debugLineNum = 241;BA.debugLine="Sleep(RapidPeriod2)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xplusminus", "startdownloop"),__ref.getField(true,"_rapidperiod2" /*RemoteObject*/ )); +this.state = 20; +return; +case 20: +//C +this.state = 7; +; + if (true) break; + +case 18: +//C +this.state = -1; +; + BA.debugLineNum = 243;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _touch(RemoteObject __ref,RemoteObject _start,RemoteObject _stop,RemoteObject _pnl) throws Exception{ +try { + Debug.PushSubsStack("Touch (b4xplusminus) ","b4xplusminus",60,__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 (SHARK2.keymon.com.mx.b4xplusminus.class, "_increment" /*RemoteObject*/ ); + BA.debugLineNum = 205;BA.debugLine="StartDownLoop(True)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_startdownloop" /*void*/ ,(Object)(b4xplusminus.__c.getField(true,"True"))); + }else { + BA.debugLineNum = 207;BA.debugLine="Decrement"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_decrement" /*RemoteObject*/ ); + BA.debugLineNum = 208;BA.debugLine="StartDownLoop(False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xplusminus.class, "_startdownloop" /*void*/ ,(Object)(b4xplusminus.__c.getField(true,"False"))); + }; + }else +{ BA.debugLineNum = 210;BA.debugLine="Else If Stop Then"; +Debug.JustUpdateDeviceLine(); +if (_stop.get().booleanValue()) { + BA.debugLineNum = 211;BA.debugLine="LoopIndex = LoopIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_loopindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_loopindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + }} +; + BA.debugLineNum = 213;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xradiobutton.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xradiobutton.java new file mode 100644 index 0000000..8717a95 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xradiobutton.java @@ -0,0 +1,52 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xradiobutton { + public static RemoteObject myClass; + public b4xradiobutton() { + } + public static PCBA staticBA = new PCBA(null, b4xradiobutton.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _oncolor = RemoteObject.createImmutable(0); +public static RemoteObject _offcolor = RemoteObject.createImmutable(0); +public static RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +public static RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _mvalue = RemoteObject.createImmutable(false); +public static RemoteObject _transparent = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _loopindex = RemoteObject.createImmutable(0); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _onbrush = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _offbrush = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _menabled = RemoteObject.createImmutable(false); +public static RemoteObject _mhaptic = RemoteObject.createImmutable(false); +public static RemoteObject _size = RemoteObject.createImmutable(0); +public static RemoteObject _mlabel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _scale = RemoteObject.createImmutable(0f); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"bc",_ref.getField(false, "_bc"),"DateUtils",_ref.getField(false, "_dateutils"),"iv",_ref.getField(false, "_iv"),"LoopIndex",_ref.getField(false, "_loopindex"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEnabled",_ref.getField(false, "_menabled"),"mEventName",_ref.getField(false, "_meventname"),"mHaptic",_ref.getField(false, "_mhaptic"),"mLabel",_ref.getField(false, "_mlabel"),"mValue",_ref.getField(false, "_mvalue"),"OffBrush",_ref.getField(false, "_offbrush"),"OffColor",_ref.getField(false, "_offcolor"),"OnBrush",_ref.getField(false, "_onbrush"),"OnColor",_ref.getField(false, "_oncolor"),"pnl",_ref.getField(false, "_pnl"),"Scale",_ref.getField(false, "_scale"),"Size",_ref.getField(false, "_size"),"Tag",_ref.getField(false, "_tag"),"transparent",_ref.getField(false, "_transparent"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xradiobutton_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xradiobutton_subs_0.java new file mode 100644 index 0000000..1fdda16 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xradiobutton_subs_0.java @@ -0,0 +1,797 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xradiobutton_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width1,RemoteObject _height1) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xradiobutton) ","b4xradiobutton",61,__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 (SHARK2.keymon.com.mx.b4xradiobutton.class, "_setvalueimpl" /*void*/ ,(Object)(__ref.getField(true,"_mvalue" /*RemoteObject*/ )),(Object)(b4xradiobutton.__c.getField(true,"True"))); + BA.debugLineNum = 78;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; +b4xradiobutton._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4xradiobutton._meventname); + //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; +b4xradiobutton._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4xradiobutton._mcallback); + //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xradiobutton._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xradiobutton._mbase); + //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; +b4xradiobutton._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xradiobutton._xui); + //BA.debugLineNum = 11;BA.debugLine="Public OnColor, OffColor As Int"; +b4xradiobutton._oncolor = RemoteObject.createImmutable(0);__ref.setField("_oncolor",b4xradiobutton._oncolor); +b4xradiobutton._offcolor = RemoteObject.createImmutable(0);__ref.setField("_offcolor",b4xradiobutton._offcolor); + //BA.debugLineNum = 12;BA.debugLine="Private bc As BitmapCreator"; +b4xradiobutton._bc = RemoteObject.createNew ("b4a.example.bitmapcreator");__ref.setField("_bc",b4xradiobutton._bc); + //BA.debugLineNum = 13;BA.debugLine="Private iv As B4XView"; +b4xradiobutton._iv = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_iv",b4xradiobutton._iv); + //BA.debugLineNum = 14;BA.debugLine="Private mValue As Boolean"; +b4xradiobutton._mvalue = RemoteObject.createImmutable(false);__ref.setField("_mvalue",b4xradiobutton._mvalue); + //BA.debugLineNum = 15;BA.debugLine="Private transparent As BCBrush"; +b4xradiobutton._transparent = RemoteObject.createNew ("b4a.example.bcpath._bcbrush");__ref.setField("_transparent",b4xradiobutton._transparent); + //BA.debugLineNum = 16;BA.debugLine="Private LoopIndex As Int"; +b4xradiobutton._loopindex = RemoteObject.createImmutable(0);__ref.setField("_loopindex",b4xradiobutton._loopindex); + //BA.debugLineNum = 17;BA.debugLine="Public Tag As Object"; +b4xradiobutton._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4xradiobutton._tag); + //BA.debugLineNum = 18;BA.debugLine="Private OnBrush, OffBrush As BCBrush"; +b4xradiobutton._onbrush = RemoteObject.createNew ("b4a.example.bcpath._bcbrush");__ref.setField("_onbrush",b4xradiobutton._onbrush); +b4xradiobutton._offbrush = RemoteObject.createNew ("b4a.example.bcpath._bcbrush");__ref.setField("_offbrush",b4xradiobutton._offbrush); + //BA.debugLineNum = 19;BA.debugLine="Private mEnabled As Boolean = True"; +b4xradiobutton._menabled = b4xradiobutton.__c.getField(true,"True");__ref.setField("_menabled",b4xradiobutton._menabled); + //BA.debugLineNum = 20;BA.debugLine="Public mHaptic As Boolean"; +b4xradiobutton._mhaptic = RemoteObject.createImmutable(false);__ref.setField("_mhaptic",b4xradiobutton._mhaptic); + //BA.debugLineNum = 21;BA.debugLine="Private Size As Int"; +b4xradiobutton._size = RemoteObject.createImmutable(0);__ref.setField("_size",b4xradiobutton._size); + //BA.debugLineNum = 22;BA.debugLine="Public mLabel As B4XView"; +b4xradiobutton._mlabel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mlabel",b4xradiobutton._mlabel); + //BA.debugLineNum = 23;BA.debugLine="Private pnl As B4XView"; +b4xradiobutton._pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnl",b4xradiobutton._pnl); + //BA.debugLineNum = 24;BA.debugLine="Private Scale As Float 'ignore"; +b4xradiobutton._scale = RemoteObject.createImmutable(0f);__ref.setField("_scale",b4xradiobutton._scale); + //BA.debugLineNum = 25;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xradiobutton) ","b4xradiobutton",61,__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 (SHARK2.keymon.com.mx.b4xradiobutton.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 56;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw(RemoteObject __ref,RemoteObject _state) throws Exception{ +try { + Debug.PushSubsStack("Draw (b4xradiobutton) ","b4xradiobutton",61,__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",61,__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",61,__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",61,__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",61,__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",61,__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 (SHARK2.keymon.com.mx.b4xradiobutton.class, "_setvalueimpl" /*void*/ ,(Object)(b4xradiobutton.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_mvalue" /*RemoteObject*/ )))),(Object)(b4xradiobutton.__c.getField(true,"False"))); + BA.debugLineNum = 92;BA.debugLine="If mValue And xui.SubExists(mCallBack, mEventNam"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",__ref.getField(true,"_mvalue" /*RemoteObject*/ )) && RemoteObject.solveBoolean(".",__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Checked"))),(Object)(BA.numberCast(int.class, 0))))) { + BA.debugLineNum = 93;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Checke"; +Debug.JustUpdateDeviceLine(); +b4xradiobutton.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Checked")))); + }; + }; + BA.debugLineNum = 96;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setchecked(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setChecked (b4xradiobutton) ","b4xradiobutton",61,__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 (SHARK2.keymon.com.mx.b4xradiobutton.class, "_setvalueimpl" /*void*/ ,(Object)(_b),(Object)(b4xradiobutton.__c.getField(true,"False"))); + BA.debugLineNum = 138;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setenabled(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setEnabled (b4xradiobutton) ","b4xradiobutton",61,__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 (SHARK2.keymon.com.mx.b4xradiobutton.class, "_setvalueimpl" /*void*/ ,(Object)(__ref.getField(true,"_mvalue" /*RemoteObject*/ )),(Object)(b4xradiobutton.__c.getField(true,"True"))); + BA.debugLineNum = 147;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _settext(RemoteObject __ref,RemoteObject _t) throws Exception{ +try { + Debug.PushSubsStack("setText (b4xradiobutton) ","b4xradiobutton",61,__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",61,__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(SHARK2.keymon.com.mx.b4xradiobutton parent,RemoteObject __ref,RemoteObject _b,RemoteObject _immediate) { +this.parent = parent; +this.__ref = __ref; +this._b = _b; +this._immediate = _immediate; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xradiobutton parent; +RemoteObject _b; +RemoteObject _immediate; +int _i = 0; +RemoteObject _v = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _rb = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xradiobutton"); +RemoteObject _myindex = RemoteObject.createImmutable(0); +RemoteObject _start = RemoteObject.createImmutable(0L); +RemoteObject _duration = RemoteObject.createImmutable(0); +RemoteObject _state1 = RemoteObject.createImmutable(0f); +int step3; +int limit3; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("SetValueImpl (b4xradiobutton) ","b4xradiobutton",61,__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("SHARK2.keymon.com.mx.b4xradiobutton"))) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 104;BA.debugLine="Dim rb As B4XRadioButton = v.Tag"; +Debug.JustUpdateDeviceLine(); +_rb = (_v.runMethod(false,"getTag"));Debug.locals.put("rb", _rb);Debug.locals.put("rb", _rb); + BA.debugLineNum = 105;BA.debugLine="rb.Checked = False"; +Debug.JustUpdateDeviceLine(); +_rb.runClassMethod (SHARK2.keymon.com.mx.b4xradiobutton.class, "_setchecked" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 10: +//C +this.state = 60; +; + if (true) break; +if (true) break; + +case 11: +//C +this.state = 12; +Debug.locals.put("i", _i); +; + if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 109;BA.debugLine="LoopIndex = LoopIndex + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_loopindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_loopindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 110;BA.debugLine="If Immediate Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 13: +//if +this.state = 53; +if (_immediate.get().booleanValue()) { +this.state = 15; +}else { +this.state = 25; +}if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 111;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 16: +//if +this.state = 23; +if (__ref.getField(true,"_mvalue" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 18; +;} +else { +this.state = 20; +;}if (true) break; + +case 18: +//C +this.state = 23; +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xradiobutton.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 1))); +if (true) break; + +case 20: +//C +this.state = 23; +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xradiobutton.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 0))); +if (true) break; + +case 23: +//C +this.state = 53; +; + if (true) break; + +case 25: +//C +this.state = 26; + BA.debugLineNum = 113;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +Debug.JustUpdateDeviceLine(); +_myindex = __ref.getField(true,"_loopindex" /*RemoteObject*/ );Debug.locals.put("MyIndex", _myindex);Debug.locals.put("MyIndex", _myindex); + BA.debugLineNum = 114;BA.debugLine="Dim start As Long = DateTime.Now"; +Debug.JustUpdateDeviceLine(); +_start = parent.__c.getField(false,"DateTime").runMethod(true,"getNow");Debug.locals.put("start", _start);Debug.locals.put("start", _start); + BA.debugLineNum = 115;BA.debugLine="Dim duration As Int = 200"; +Debug.JustUpdateDeviceLine(); +_duration = BA.numberCast(int.class, 200);Debug.locals.put("duration", _duration);Debug.locals.put("duration", _duration); + BA.debugLineNum = 116;BA.debugLine="Do While DateTime.Now < start + duration"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 26: +//do while +this.state = 41; +while (RemoteObject.solveBoolean("<",parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.solve(new RemoteObject[] {_start,_duration}, "+",1, 2))) { +this.state = 28; +if (true) break; +} +if (true) break; + +case 28: +//C +this.state = 29; + BA.debugLineNum = 117;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; +Debug.JustUpdateDeviceLine(); +_state1 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),_start}, "-",1, 2)),_duration}, "/",0, 0));Debug.locals.put("state1", _state1);Debug.locals.put("state1", _state1); + BA.debugLineNum = 118;BA.debugLine="If mValue = False Then state1 = 1 - state1"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 29: +//if +this.state = 34; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_mvalue" /*RemoteObject*/ ),parent.__c.getField(true,"False"))) { +this.state = 31; +;}if (true) break; + +case 31: +//C +this.state = 34; +_state1 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1),_state1}, "-",1, 0));Debug.locals.put("state1", _state1); +if (true) break; + +case 34: +//C +this.state = 35; +; + BA.debugLineNum = 119;BA.debugLine="Draw(state1)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xradiobutton.class, "_draw" /*RemoteObject*/ ,(Object)(_state1)); + BA.debugLineNum = 120;BA.debugLine="Sleep(16)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xradiobutton", "setvalueimpl"),BA.numberCast(int.class, 16)); +this.state = 61; +return; +case 61: +//C +this.state = 35; +; + BA.debugLineNum = 121;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 35: +//if +this.state = 40; +if (RemoteObject.solveBoolean("!",_myindex,BA.numberCast(double.class, __ref.getField(true,"_loopindex" /*RemoteObject*/ )))) { +this.state = 37; +;}if (true) break; + +case 37: +//C +this.state = 40; +this.state = 41; +if (true) break; +if (true) break; + +case 40: +//C +this.state = 26; +; + if (true) break; +; + BA.debugLineNum = 123;BA.debugLine="If MyIndex = LoopIndex Then"; +Debug.JustUpdateDeviceLine(); + +case 41: +//if +this.state = 52; +if (RemoteObject.solveBoolean("=",_myindex,BA.numberCast(double.class, __ref.getField(true,"_loopindex" /*RemoteObject*/ )))) { +this.state = 43; +}if (true) break; + +case 43: +//C +this.state = 44; + BA.debugLineNum = 124;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 44: +//if +this.state = 51; +if (__ref.getField(true,"_mvalue" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 46; +;} +else { +this.state = 48; +;}if (true) break; + +case 46: +//C +this.state = 51; +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xradiobutton.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 1))); +if (true) break; + +case 48: +//C +this.state = 51; +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xradiobutton.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 0))); +if (true) break; + +case 51: +//C +this.state = 52; +; + if (true) break; + +case 52: +//C +this.state = 53; +; + if (true) break; +; + BA.debugLineNum = 127;BA.debugLine="If mEnabled Then"; +Debug.JustUpdateDeviceLine(); + +case 53: +//if +this.state = 58; +if (__ref.getField(true,"_menabled" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 55; +}else { +this.state = 57; +}if (true) break; + +case 55: +//C +this.state = 58; + BA.debugLineNum = 128;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; +Debug.JustUpdateDeviceLine(); +parent._xuiviewsutils.runVoidMethod ("_setalpha" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, 1))); + if (true) break; + +case 57: +//C +this.state = 58; + BA.debugLineNum = 130;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.4)"; +Debug.JustUpdateDeviceLine(); +parent._xuiviewsutils.runVoidMethod ("_setalpha" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, 0.4))); + if (true) break; + +case 58: +//C +this.state = -1; +; + BA.debugLineNum = 133;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xsearchtemplate.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xsearchtemplate.java new file mode 100644 index 0000000..dd6dc50 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xsearchtemplate.java @@ -0,0 +1,50 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xsearchtemplate { + public static RemoteObject myClass; + public b4xsearchtemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xsearchtemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _customlistview1 = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _xdialog = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xdialog"); +public static RemoteObject _searchfield = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xfloattextfield"); +public static RemoteObject _prefixlist = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _substringlist = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _texthighlightcolor = RemoteObject.createImmutable(0); +public static RemoteObject _itemhightlightcolor = RemoteObject.createImmutable(0); +public static RemoteObject _max_limit = RemoteObject.createImmutable(0); +public static RemoteObject _maxnumberofitemstoshow = RemoteObject.createImmutable(0); +public static RemoteObject _itemscache = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _allitems = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _selecteditem = RemoteObject.createImmutable(""); +public static RemoteObject _lastterm = RemoteObject.createImmutable(""); +public static RemoteObject _ime = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +public static RemoteObject _allowunlistedtext = RemoteObject.createImmutable(false); +public static RemoteObject _prefixonly = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AllItems",_ref.getField(false, "_allitems"),"AllowUnlistedText",_ref.getField(false, "_allowunlistedtext"),"CustomListView1",_ref.getField(false, "_customlistview1"),"DateUtils",_ref.getField(false, "_dateutils"),"IME",_ref.getField(false, "_ime"),"ItemHightlightColor",_ref.getField(false, "_itemhightlightcolor"),"ItemsCache",_ref.getField(false, "_itemscache"),"LastTerm",_ref.getField(false, "_lastterm"),"MAX_LIMIT",_ref.getField(false, "_max_limit"),"MaxNumberOfItemsToShow",_ref.getField(false, "_maxnumberofitemstoshow"),"mBase",_ref.getField(false, "_mbase"),"prefixList",_ref.getField(false, "_prefixlist"),"PrefixOnly",_ref.getField(false, "_prefixonly"),"SearchField",_ref.getField(false, "_searchfield"),"SelectedItem",_ref.getField(false, "_selecteditem"),"substringList",_ref.getField(false, "_substringlist"),"TextHighlightColor",_ref.getField(false, "_texthighlightcolor"),"xDialog",_ref.getField(false, "_xdialog"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xsearchtemplate_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xsearchtemplate_subs_0.java new file mode 100644 index 0000000..295b816 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xsearchtemplate_subs_0.java @@ -0,0 +1,748 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xsearchtemplate_subs_0 { + + +public static RemoteObject _additemstolist(RemoteObject __ref,RemoteObject _li,RemoteObject _full) throws Exception{ +try { + Debug.PushSubsStack("AddItemsToList (b4xsearchtemplate) ","b4xsearchtemplate",62,__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 ("SHARK2.keymon.com.mx.b4xdialog");__ref.setField("_xdialog",b4xsearchtemplate._xdialog); + //BA.debugLineNum = 6;BA.debugLine="Public SearchField As B4XFloatTextField"; +b4xsearchtemplate._searchfield = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xfloattextfield");__ref.setField("_searchfield",b4xsearchtemplate._searchfield); + //BA.debugLineNum = 7;BA.debugLine="Private prefixList As Map"; +b4xsearchtemplate._prefixlist = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_prefixlist",b4xsearchtemplate._prefixlist); + //BA.debugLineNum = 8;BA.debugLine="Private substringList As Map"; +b4xsearchtemplate._substringlist = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_substringlist",b4xsearchtemplate._substringlist); + //BA.debugLineNum = 9;BA.debugLine="Public TextHighlightColor As Int = 0xFFFD5C5C"; +b4xsearchtemplate._texthighlightcolor = BA.numberCast(int.class, ((int)0xfffd5c5c));__ref.setField("_texthighlightcolor",b4xsearchtemplate._texthighlightcolor); + //BA.debugLineNum = 10;BA.debugLine="Public ItemHightlightColor As Int = 0x7E008EFF"; +b4xsearchtemplate._itemhightlightcolor = BA.numberCast(int.class, ((int)0x7e008eff));__ref.setField("_itemhightlightcolor",b4xsearchtemplate._itemhightlightcolor); + //BA.debugLineNum = 11;BA.debugLine="Private MAX_LIMIT = 4 As Int"; +b4xsearchtemplate._max_limit = BA.numberCast(int.class, 4);__ref.setField("_max_limit",b4xsearchtemplate._max_limit); + //BA.debugLineNum = 12;BA.debugLine="Public MaxNumberOfItemsToShow As Int = 100"; +b4xsearchtemplate._maxnumberofitemstoshow = BA.numberCast(int.class, 100);__ref.setField("_maxnumberofitemstoshow",b4xsearchtemplate._maxnumberofitemstoshow); + //BA.debugLineNum = 13;BA.debugLine="Private ItemsCache As List"; +b4xsearchtemplate._itemscache = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_itemscache",b4xsearchtemplate._itemscache); + //BA.debugLineNum = 14;BA.debugLine="Private AllItems As List"; +b4xsearchtemplate._allitems = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_allitems",b4xsearchtemplate._allitems); + //BA.debugLineNum = 15;BA.debugLine="Public SelectedItem As String"; +b4xsearchtemplate._selecteditem = RemoteObject.createImmutable("");__ref.setField("_selecteditem",b4xsearchtemplate._selecteditem); + //BA.debugLineNum = 16;BA.debugLine="Private LastTerm As String"; +b4xsearchtemplate._lastterm = RemoteObject.createImmutable("");__ref.setField("_lastterm",b4xsearchtemplate._lastterm); + //BA.debugLineNum = 18;BA.debugLine="Private IME As IME"; +b4xsearchtemplate._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",b4xsearchtemplate._ime); + //BA.debugLineNum = 20;BA.debugLine="Public AllowUnlistedText As Boolean"; +b4xsearchtemplate._allowunlistedtext = RemoteObject.createImmutable(false);__ref.setField("_allowunlistedtext",b4xsearchtemplate._allowunlistedtext); + //BA.debugLineNum = 21;BA.debugLine="Public PrefixOnly As Boolean"; +b4xsearchtemplate._prefixonly = RemoteObject.createImmutable(false);__ref.setField("_prefixonly",b4xsearchtemplate._prefixonly); + //BA.debugLineNum = 22;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _customlistview1_itemclick(RemoteObject __ref,RemoteObject _index,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("CustomListView1_ItemClick (b4xsearchtemplate) ","b4xsearchtemplate",62,__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 (SHARK2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive"))); + BA.debugLineNum = 126;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xsearchtemplate) ","b4xsearchtemplate",62,__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",62,__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",62,__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 (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_gettextfield" /*RemoteObject*/ ).getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 50;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setImeOptions")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(b4xsearchtemplate.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(BA.numberCast(int.class, 33554432)),(Object)(BA.numberCast(int.class, 6))))}))); + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Resize (b4xsearchtemplate) ","b4xsearchtemplate",62,__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",62,__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 (SHARK2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Positive"))); + }else +{ BA.debugLineNum = 116;BA.debugLine="Else If CustomListView1.Size > 0 And LastTerm.Len"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(true,"_getsize"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(">",__ref.getField(true,"_lastterm" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 117;BA.debugLine="CustomListView1_ItemClick(0, CustomListView1.Get"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xsearchtemplate.class, "_customlistview1_itemclick" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, 0))))); + }} +; + BA.debugLineNum = 119;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _searchfield_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("SearchField_TextChanged (b4xsearchtemplate) ","b4xsearchtemplate",62,__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 (SHARK2.keymon.com.mx.b4xsearchtemplate.class, "_update" /*RemoteObject*/ ,(Object)(_new),(Object)(b4xsearchtemplate.__c.getField(true,"False"))); + BA.debugLineNum = 83;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setindex(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("SetIndex (b4xsearchtemplate) ","b4xsearchtemplate",62,__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",62,__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","972679455",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",62,__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(SHARK2.keymon.com.mx.b4xsearchtemplate parent,RemoteObject __ref,RemoteObject _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xsearchtemplate parent; +RemoteObject _dialog; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xsearchtemplate) ","b4xsearchtemplate",62,__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 (SHARK2.keymon.com.mx.b4xsearchtemplate.class, "_update" /*RemoteObject*/ ,(Object)(BA.ObjectToString("")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 73;BA.debugLine="CustomListView1.JumpToItem(0)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_jumptoitem",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 74;BA.debugLine="SearchField.Text = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_searchfield" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_settext" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 75;BA.debugLine="SearchField.TextField.RequestFocus"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_searchfield" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_gettextfield" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 77;BA.debugLine="IME.ShowKeyboard(SearchField.TextField)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("ShowKeyboard",(Object)((__ref.getField(false,"_searchfield" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xfloattextfield.class, "_gettextfield" /*RemoteObject*/ ).getObject()))); + BA.debugLineNum = 79;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _update(RemoteObject __ref,RemoteObject _term,RemoteObject _force) throws Exception{ +try { + Debug.PushSubsStack("Update (b4xsearchtemplate) ","b4xsearchtemplate",62,__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 (SHARK2.keymon.com.mx.b4xsearchtemplate.class, "_additemstolist" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_allitems" /*RemoteObject*/ )),(Object)(_str1)); + }else { + BA.debugLineNum = 102;BA.debugLine="If str1.Length > MAX_LIMIT Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_str1.runMethod(true,"length"),BA.numberCast(double.class, __ref.getField(true,"_max_limit" /*RemoteObject*/ )))) { + BA.debugLineNum = 103;BA.debugLine="str2 = str1.SubString2(0, MAX_LIMIT)"; +Debug.JustUpdateDeviceLine(); +_str2 = _str1.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(true,"_max_limit" /*RemoteObject*/ )));Debug.locals.put("str2", _str2); + }else { + BA.debugLineNum = 105;BA.debugLine="str2 = str1"; +Debug.JustUpdateDeviceLine(); +_str2 = _str1;Debug.locals.put("str2", _str2); + }; + BA.debugLineNum = 107;BA.debugLine="AddItemsToList(prefixList.Get(str2), str1)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xsearchtemplate.class, "_additemstolist" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), __ref.getField(false,"_prefixlist" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_str2)))),(Object)(_str1)); + BA.debugLineNum = 108;BA.debugLine="AddItemsToList(substringList.Get(str2), str1)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xsearchtemplate.class, "_additemstolist" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), __ref.getField(false,"_substringlist" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_str2)))),(Object)(_str1)); + }; + BA.debugLineNum = 110;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xseekbar.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xseekbar.java new file mode 100644 index 0000000..777d270 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xseekbar.java @@ -0,0 +1,53 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xseekbar { + public static RemoteObject myClass; + public b4xseekbar() { + } + public static PCBA staticBA = new PCBA(null, b4xseekbar.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _color1 = RemoteObject.createImmutable(0); +public static RemoteObject _color2 = RemoteObject.createImmutable(0); +public static RemoteObject _thumbcolor = RemoteObject.createImmutable(0); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _touchpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _mvalue = RemoteObject.createImmutable(0); +public static RemoteObject _minvalue = RemoteObject.createImmutable(0); +public static RemoteObject _maxvalue = RemoteObject.createImmutable(0); +public static RemoteObject _interval = RemoteObject.createImmutable(0); +public static RemoteObject _vertical = RemoteObject.createImmutable(false); +public static RemoteObject _size1 = RemoteObject.createImmutable(0); +public static RemoteObject _size2 = RemoteObject.createImmutable(0); +public static RemoteObject _radius1 = RemoteObject.createImmutable(0); +public static RemoteObject _radius2 = RemoteObject.createImmutable(0); +public static RemoteObject _pressed = RemoteObject.createImmutable(false); +public static RemoteObject _size = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"Color1",_ref.getField(false, "_color1"),"Color2",_ref.getField(false, "_color2"),"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"Interval",_ref.getField(false, "_interval"),"MaxValue",_ref.getField(false, "_maxvalue"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"MinValue",_ref.getField(false, "_minvalue"),"mValue",_ref.getField(false, "_mvalue"),"Pressed",_ref.getField(false, "_pressed"),"Radius1",_ref.getField(false, "_radius1"),"Radius2",_ref.getField(false, "_radius2"),"size",_ref.getField(false, "_size"),"Size1",_ref.getField(false, "_size1"),"Size2",_ref.getField(false, "_size2"),"Tag",_ref.getField(false, "_tag"),"ThumbColor",_ref.getField(false, "_thumbcolor"),"TouchPanel",_ref.getField(false, "_touchpanel"),"Vertical",_ref.getField(false, "_vertical"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xseekbar_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xseekbar_subs_0.java new file mode 100644 index 0000000..ca73618 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xseekbar_subs_0.java @@ -0,0 +1,425 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xseekbar_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xseekbar) ","b4xseekbar",63,__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 (SHARK2.keymon.com.mx.b4xseekbar.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 58;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 11;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 12;BA.debugLine="Private mEventName As String 'ignore"; +b4xseekbar._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",b4xseekbar._meventname); + //BA.debugLineNum = 13;BA.debugLine="Private mCallBack As Object 'ignore"; +b4xseekbar._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",b4xseekbar._mcallback); + //BA.debugLineNum = 14;BA.debugLine="Public mBase As B4XView 'ignore"; +b4xseekbar._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xseekbar._mbase); + //BA.debugLineNum = 15;BA.debugLine="Private xui As XUI 'ignore"; +b4xseekbar._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xseekbar._xui); + //BA.debugLineNum = 16;BA.debugLine="Public Color1, Color2, ThumbColor As Int"; +b4xseekbar._color1 = RemoteObject.createImmutable(0);__ref.setField("_color1",b4xseekbar._color1); +b4xseekbar._color2 = RemoteObject.createImmutable(0);__ref.setField("_color2",b4xseekbar._color2); +b4xseekbar._thumbcolor = RemoteObject.createImmutable(0);__ref.setField("_thumbcolor",b4xseekbar._thumbcolor); + //BA.debugLineNum = 17;BA.debugLine="Private cvs As B4XCanvas"; +b4xseekbar._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",b4xseekbar._cvs); + //BA.debugLineNum = 18;BA.debugLine="Public Tag As Object"; +b4xseekbar._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",b4xseekbar._tag); + //BA.debugLineNum = 19;BA.debugLine="Private TouchPanel As B4XView"; +b4xseekbar._touchpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_touchpanel",b4xseekbar._touchpanel); + //BA.debugLineNum = 20;BA.debugLine="Private mValue As Int"; +b4xseekbar._mvalue = RemoteObject.createImmutable(0);__ref.setField("_mvalue",b4xseekbar._mvalue); + //BA.debugLineNum = 21;BA.debugLine="Public MinValue, MaxValue As Int"; +b4xseekbar._minvalue = RemoteObject.createImmutable(0);__ref.setField("_minvalue",b4xseekbar._minvalue); +b4xseekbar._maxvalue = RemoteObject.createImmutable(0);__ref.setField("_maxvalue",b4xseekbar._maxvalue); + //BA.debugLineNum = 22;BA.debugLine="Public Interval As Int = 1"; +b4xseekbar._interval = BA.numberCast(int.class, 1);__ref.setField("_interval",b4xseekbar._interval); + //BA.debugLineNum = 23;BA.debugLine="Private Vertical As Boolean"; +b4xseekbar._vertical = RemoteObject.createImmutable(false);__ref.setField("_vertical",b4xseekbar._vertical); + //BA.debugLineNum = 24;BA.debugLine="Public Size1 = 4dip, Size2 = 2dip, Radius1 = 6dip"; +b4xseekbar._size1 = b4xseekbar.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 4)));__ref.setField("_size1",b4xseekbar._size1); +b4xseekbar._size2 = b4xseekbar.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)));__ref.setField("_size2",b4xseekbar._size2); +b4xseekbar._radius1 = b4xseekbar.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 6)));__ref.setField("_radius1",b4xseekbar._radius1); +b4xseekbar._radius2 = b4xseekbar.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 12)));__ref.setField("_radius2",b4xseekbar._radius2); + //BA.debugLineNum = 25;BA.debugLine="Private Pressed As Boolean"; +b4xseekbar._pressed = RemoteObject.createImmutable(false);__ref.setField("_pressed",b4xseekbar._pressed); + //BA.debugLineNum = 26;BA.debugLine="Private size As Int"; +b4xseekbar._size = RemoteObject.createImmutable(0);__ref.setField("_size",b4xseekbar._size); + //BA.debugLineNum = 27;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (b4xseekbar) ","b4xseekbar",63,__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 (SHARK2.keymon.com.mx.b4xseekbar.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))));}; + BA.debugLineNum = 50;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getvalue(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getValue (b4xseekbar) ","b4xseekbar",63,__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",63,__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",63,__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",63,__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 (SHARK2.keymon.com.mx.b4xseekbar.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 128;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setvaluebasedontouch(RemoteObject __ref,RemoteObject _x,RemoteObject _y) throws Exception{ +try { + Debug.PushSubsStack("SetValueBasedOnTouch (b4xseekbar) ","b4xseekbar",63,__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",63,__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 (SHARK2.keymon.com.mx.b4xseekbar.class, "_raisetouchstateevent" /*RemoteObject*/ ); + BA.debugLineNum = 92;BA.debugLine="SetValueBasedOnTouch(X, Y)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xseekbar.class, "_setvaluebasedontouch" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y))); + }else +{ BA.debugLineNum = 93;BA.debugLine="Else If Action = TouchPanel.TOUCH_ACTION_MOVE The"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_action,BA.numberCast(double.class, __ref.getField(false,"_touchpanel" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_MOVE")))) { + BA.debugLineNum = 94;BA.debugLine="SetValueBasedOnTouch(X, Y)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xseekbar.class, "_setvaluebasedontouch" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y))); + }else +{ BA.debugLineNum = 95;BA.debugLine="Else If Action = TouchPanel.TOUCH_ACTION_UP Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_action,BA.numberCast(double.class, __ref.getField(false,"_touchpanel" /*RemoteObject*/ ).getField(true,"TOUCH_ACTION_UP")))) { + BA.debugLineNum = 96;BA.debugLine="Pressed = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_pressed" /*RemoteObject*/ ,b4xseekbar.__c.getField(true,"False")); + BA.debugLineNum = 97;BA.debugLine="RaiseTouchStateEvent"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xseekbar.class, "_raisetouchstateevent" /*RemoteObject*/ ); + }}} +; + BA.debugLineNum = 99;BA.debugLine="Update"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xseekbar.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 100;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _update(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Update (b4xseekbar) ","b4xseekbar",63,__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/SHARK2/keymon/com/mx/b4xset.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xset.java new file mode 100644 index 0000000..f60f3d1 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xset.java @@ -0,0 +1,33 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xset { + public static RemoteObject myClass; + public b4xset() { + } + public static PCBA staticBA = new PCBA(null, b4xset.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _map = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xorderedmap"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"map",_ref.getField(false, "_map")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xset_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xset_subs_0.java new file mode 100644 index 0000000..a0d518f --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xset_subs_0.java @@ -0,0 +1,154 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xset_subs_0 { + + +public static RemoteObject _add(RemoteObject __ref,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("Add (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,9); +if (RapidSub.canDelegate("add")) { return __ref.runUserSub(false, "b4xset","add", __ref, _value);} +Debug.locals.put("Value", _value); + BA.debugLineNum = 9;BA.debugLine="Public Sub Add(Value As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 10;BA.debugLine="map.Put(Value, \"\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_put" /*RemoteObject*/ ,(Object)(_value),(Object)((RemoteObject.createImmutable("")))); + BA.debugLineNum = 11;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _aslist(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("AsList (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,29); +if (RapidSub.canDelegate("aslist")) { return __ref.runUserSub(false, "b4xset","aslist", __ref);} + BA.debugLineNum = 29;BA.debugLine="Public Sub AsList As List"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 30;BA.debugLine="Return map.Keys"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_getkeys" /*RemoteObject*/ ); + BA.debugLineNum = 31;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private map As B4XOrderedMap"; +b4xset._map = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xorderedmap");__ref.setField("_map",b4xset._map); + //BA.debugLineNum = 3;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Clear (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,25); +if (RapidSub.canDelegate("clear")) { return __ref.runUserSub(false, "b4xset","clear", __ref);} + BA.debugLineNum = 25;BA.debugLine="Public Sub Clear"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 26;BA.debugLine="map.Clear"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_clear" /*RemoteObject*/ ); + BA.debugLineNum = 27;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _contains(RemoteObject __ref,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("Contains (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,17); +if (RapidSub.canDelegate("contains")) { return __ref.runUserSub(false, "b4xset","contains", __ref, _value);} +Debug.locals.put("Value", _value); + BA.debugLineNum = 17;BA.debugLine="Public Sub Contains (Value As Object) As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 18;BA.debugLine="Return map.ContainsKey(Value)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_containskey" /*RemoteObject*/ ,(Object)(_value)); + BA.debugLineNum = 19;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getSize (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,21); +if (RapidSub.canDelegate("getsize")) { return __ref.runUserSub(false, "b4xset","getsize", __ref);} + BA.debugLineNum = 21;BA.debugLine="Public Sub getSize As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 22;BA.debugLine="Return map.Size"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_getsize" /*RemoteObject*/ ); + BA.debugLineNum = 23;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,5); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "b4xset","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 5;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 6;BA.debugLine="map.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 7;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _remove(RemoteObject __ref,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("Remove (b4xset) ","b4xset",41,__ref.getField(false, "ba"),__ref,13); +if (RapidSub.canDelegate("remove")) { return __ref.runUserSub(false, "b4xset","remove", __ref, _value);} +Debug.locals.put("Value", _value); + BA.debugLineNum = 13;BA.debugLine="Public Sub Remove(Value As Object)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 14;BA.debugLine="map.Remove(Value)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_map" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xorderedmap.class, "_remove" /*RemoteObject*/ ,(Object)(_value)); + BA.debugLineNum = 15;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xsignaturetemplate.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xsignaturetemplate.java new file mode 100644 index 0000000..6fb9122 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xsignaturetemplate.java @@ -0,0 +1,44 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xsignaturetemplate { + public static RemoteObject myClass; + public b4xsignaturetemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xsignaturetemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _lastx = RemoteObject.createImmutable(0f); +public static RemoteObject _lasty = RemoteObject.createImmutable(0f); +public static RemoteObject _strokewidth = RemoteObject.createImmutable(0f); +public static RemoteObject _strokecolor = RemoteObject.createImmutable(0); +public static RemoteObject _textcolor = RemoteObject.createImmutable(0); +public static RemoteObject _backgroundcolor = RemoteObject.createImmutable(0); +public static RemoteObject _adddateandtime = RemoteObject.createImmutable(false); +public static RemoteObject _textfont = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +public static RemoteObject _numberofpoints = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AddDateAndTime",_ref.getField(false, "_adddateandtime"),"BackgroundColor",_ref.getField(false, "_backgroundcolor"),"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"LastX",_ref.getField(false, "_lastx"),"LastY",_ref.getField(false, "_lasty"),"mBase",_ref.getField(false, "_mbase"),"NumberOfPoints",_ref.getField(false, "_numberofpoints"),"StrokeColor",_ref.getField(false, "_strokecolor"),"StrokeWidth",_ref.getField(false, "_strokewidth"),"TextColor",_ref.getField(false, "_textcolor"),"TextFont",_ref.getField(false, "_textfont"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xsignaturetemplate_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xsignaturetemplate_subs_0.java new file mode 100644 index 0000000..2526300 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xsignaturetemplate_subs_0.java @@ -0,0 +1,237 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xsignaturetemplate_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +b4xsignaturetemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xsignaturetemplate._xui); + //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; +b4xsignaturetemplate._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xsignaturetemplate._mbase); + //BA.debugLineNum = 4;BA.debugLine="Private cvs As B4XCanvas"; +b4xsignaturetemplate._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",b4xsignaturetemplate._cvs); + //BA.debugLineNum = 5;BA.debugLine="Private LastX, LastY As Float"; +b4xsignaturetemplate._lastx = RemoteObject.createImmutable(0f);__ref.setField("_lastx",b4xsignaturetemplate._lastx); +b4xsignaturetemplate._lasty = RemoteObject.createImmutable(0f);__ref.setField("_lasty",b4xsignaturetemplate._lasty); + //BA.debugLineNum = 6;BA.debugLine="Public StrokeWidth As Float = 2dip"; +b4xsignaturetemplate._strokewidth = BA.numberCast(float.class, b4xsignaturetemplate.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2))));__ref.setField("_strokewidth",b4xsignaturetemplate._strokewidth); + //BA.debugLineNum = 7;BA.debugLine="Public StrokeColor As Int = xui.Color_Black"; +b4xsignaturetemplate._strokecolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Black");__ref.setField("_strokecolor",b4xsignaturetemplate._strokecolor); + //BA.debugLineNum = 8;BA.debugLine="Public TextColor As Int = 0xFFFF8800"; +b4xsignaturetemplate._textcolor = BA.numberCast(int.class, ((int)0xffff8800));__ref.setField("_textcolor",b4xsignaturetemplate._textcolor); + //BA.debugLineNum = 9;BA.debugLine="Public BackgroundColor As Int = xui.Color_White"; +b4xsignaturetemplate._backgroundcolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White");__ref.setField("_backgroundcolor",b4xsignaturetemplate._backgroundcolor); + //BA.debugLineNum = 10;BA.debugLine="Public AddDateAndTime As Boolean = True"; +b4xsignaturetemplate._adddateandtime = b4xsignaturetemplate.__c.getField(true,"True");__ref.setField("_adddateandtime",b4xsignaturetemplate._adddateandtime); + //BA.debugLineNum = 11;BA.debugLine="Public TextFont As B4XFont"; +b4xsignaturetemplate._textfont = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont");__ref.setField("_textfont",b4xsignaturetemplate._textfont); + //BA.debugLineNum = 12;BA.debugLine="Public NumberOfPoints As Int"; +b4xsignaturetemplate._numberofpoints = RemoteObject.createImmutable(0);__ref.setField("_numberofpoints",b4xsignaturetemplate._numberofpoints); + //BA.debugLineNum = 13;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xsignaturetemplate) ","b4xsignaturetemplate",64,__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",64,__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",64,__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",64,__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",64,__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",64,__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",64,__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/SHARK2/keymon/com/mx/b4xswitch.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xswitch.java new file mode 100644 index 0000000..38fc257 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xswitch.java @@ -0,0 +1,50 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xswitch { + public static RemoteObject myClass; + public b4xswitch() { + } + public static PCBA staticBA = new PCBA(null, b4xswitch.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _oncolor = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _offcolor = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +public static RemoteObject _width = RemoteObject.createImmutable(0); +public static RemoteObject _height = RemoteObject.createImmutable(0); +public static RemoteObject _thumbcolor = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _iv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _mvalue = RemoteObject.createImmutable(false); +public static RemoteObject _transparent = RemoteObject.declareNull("b4a.example.bcpath._bcbrush"); +public static RemoteObject _loopindex = RemoteObject.createImmutable(0); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _scale = RemoteObject.createImmutable(0f); +public static RemoteObject _menabled = RemoteObject.createImmutable(false); +public static RemoteObject _mhaptic = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"bc",_ref.getField(false, "_bc"),"DateUtils",_ref.getField(false, "_dateutils"),"Height",_ref.getField(false, "_height"),"iv",_ref.getField(false, "_iv"),"LoopIndex",_ref.getField(false, "_loopindex"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEnabled",_ref.getField(false, "_menabled"),"mEventName",_ref.getField(false, "_meventname"),"mHaptic",_ref.getField(false, "_mhaptic"),"mValue",_ref.getField(false, "_mvalue"),"OffColor",_ref.getField(false, "_offcolor"),"OnColor",_ref.getField(false, "_oncolor"),"Scale",_ref.getField(false, "_scale"),"Tag",_ref.getField(false, "_tag"),"ThumbColor",_ref.getField(false, "_thumbcolor"),"transparent",_ref.getField(false, "_transparent"),"Width",_ref.getField(false, "_width"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xswitch_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xswitch_subs_0.java new file mode 100644 index 0000000..fc7a8cc --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xswitch_subs_0.java @@ -0,0 +1,659 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xswitch_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width1,RemoteObject _height1) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (b4xswitch) ","b4xswitch",65,__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",65,__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 (SHARK2.keymon.com.mx.b4xswitch.class, "_setvalueimpl" /*void*/ ,(Object)(BA.ObjectToBoolean(_props.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Value")))))),(Object)(b4xswitch.__c.getField(true,"True"))); + BA.debugLineNum = 58;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw(RemoteObject __ref,RemoteObject _state) throws Exception{ +try { + Debug.PushSubsStack("Draw (b4xswitch) ","b4xswitch",65,__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",65,__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",65,__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",65,__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",65,__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 (SHARK2.keymon.com.mx.b4xswitch.class, "_setvalueimpl" /*void*/ ,(Object)(b4xswitch.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_mvalue" /*RemoteObject*/ )))),(Object)(b4xswitch.__c.getField(true,"False"))); + BA.debugLineNum = 75;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Value"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_ValueChanged"))),(Object)(BA.numberCast(int.class, 1))).get().booleanValue()) { + BA.debugLineNum = 76;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; +Debug.JustUpdateDeviceLine(); +b4xswitch.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_ValueChanged"))),(Object)((__ref.getField(true,"_mvalue" /*RemoteObject*/ )))); + }; + }; + BA.debugLineNum = 79;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setenabled(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setEnabled (b4xswitch) ","b4xswitch",65,__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 (SHARK2.keymon.com.mx.b4xswitch.class, "_setvalueimpl" /*void*/ ,(Object)(__ref.getField(true,"_mvalue" /*RemoteObject*/ )),(Object)(b4xswitch.__c.getField(true,"True"))); + BA.debugLineNum = 120;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setvalue(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setValue (b4xswitch) ","b4xswitch",65,__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 (SHARK2.keymon.com.mx.b4xswitch.class, "_setvalueimpl" /*void*/ ,(Object)(_b),(Object)(b4xswitch.__c.getField(true,"False"))); + BA.debugLineNum = 111;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _setvalueimpl(RemoteObject __ref,RemoteObject _b,RemoteObject _immediate) throws Exception{ +try { + Debug.PushSubsStack("SetValueImpl (b4xswitch) ","b4xswitch",65,__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(SHARK2.keymon.com.mx.b4xswitch parent,RemoteObject __ref,RemoteObject _b,RemoteObject _immediate) { +this.parent = parent; +this.__ref = __ref; +this._b = _b; +this._immediate = _immediate; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xswitch parent; +RemoteObject _b; +RemoteObject _immediate; +RemoteObject _myindex = RemoteObject.createImmutable(0); +RemoteObject _start = RemoteObject.createImmutable(0L); +RemoteObject _duration = RemoteObject.createImmutable(0); +RemoteObject _state1 = RemoteObject.createImmutable(0f); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("SetValueImpl (b4xswitch) ","b4xswitch",65,__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 (SHARK2.keymon.com.mx.b4xswitch.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 1))); +if (true) break; + +case 8: +//C +this.state = 11; +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xswitch.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 0))); +if (true) break; + +case 11: +//C +this.state = 41; +; + if (true) break; + +case 13: +//C +this.state = 14; + BA.debugLineNum = 87;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +Debug.JustUpdateDeviceLine(); +_myindex = __ref.getField(true,"_loopindex" /*RemoteObject*/ );Debug.locals.put("MyIndex", _myindex);Debug.locals.put("MyIndex", _myindex); + BA.debugLineNum = 88;BA.debugLine="Dim start As Long = DateTime.Now"; +Debug.JustUpdateDeviceLine(); +_start = parent.__c.getField(false,"DateTime").runMethod(true,"getNow");Debug.locals.put("start", _start);Debug.locals.put("start", _start); + BA.debugLineNum = 89;BA.debugLine="Dim duration As Int = 200"; +Debug.JustUpdateDeviceLine(); +_duration = BA.numberCast(int.class, 200);Debug.locals.put("duration", _duration);Debug.locals.put("duration", _duration); + BA.debugLineNum = 90;BA.debugLine="Do While DateTime.Now < start + duration"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 14: +//do while +this.state = 29; +while (RemoteObject.solveBoolean("<",parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.solve(new RemoteObject[] {_start,_duration}, "+",1, 2))) { +this.state = 16; +if (true) break; +} +if (true) break; + +case 16: +//C +this.state = 17; + BA.debugLineNum = 91;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; +Debug.JustUpdateDeviceLine(); +_state1 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),_start}, "-",1, 2)),_duration}, "/",0, 0));Debug.locals.put("state1", _state1);Debug.locals.put("state1", _state1); + BA.debugLineNum = 92;BA.debugLine="If mValue = False Then state1 = 1 - state1"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 17: +//if +this.state = 22; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_mvalue" /*RemoteObject*/ ),parent.__c.getField(true,"False"))) { +this.state = 19; +;}if (true) break; + +case 19: +//C +this.state = 22; +_state1 = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1),_state1}, "-",1, 0));Debug.locals.put("state1", _state1); +if (true) break; + +case 22: +//C +this.state = 23; +; + BA.debugLineNum = 93;BA.debugLine="Draw(state1)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xswitch.class, "_draw" /*RemoteObject*/ ,(Object)(_state1)); + BA.debugLineNum = 94;BA.debugLine="Sleep(16)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xswitch", "setvalueimpl"),BA.numberCast(int.class, 16)); +this.state = 47; +return; +case 47: +//C +this.state = 23; +; + BA.debugLineNum = 95;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 23: +//if +this.state = 28; +if (RemoteObject.solveBoolean("!",_myindex,BA.numberCast(double.class, __ref.getField(true,"_loopindex" /*RemoteObject*/ )))) { +this.state = 25; +;}if (true) break; + +case 25: +//C +this.state = 28; +this.state = 29; +if (true) break; +if (true) break; + +case 28: +//C +this.state = 14; +; + if (true) break; +; + BA.debugLineNum = 97;BA.debugLine="If MyIndex = LoopIndex Then"; +Debug.JustUpdateDeviceLine(); + +case 29: +//if +this.state = 40; +if (RemoteObject.solveBoolean("=",_myindex,BA.numberCast(double.class, __ref.getField(true,"_loopindex" /*RemoteObject*/ )))) { +this.state = 31; +}if (true) break; + +case 31: +//C +this.state = 32; + BA.debugLineNum = 98;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 32: +//if +this.state = 39; +if (__ref.getField(true,"_mvalue" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 34; +;} +else { +this.state = 36; +;}if (true) break; + +case 34: +//C +this.state = 39; +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xswitch.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 1))); +if (true) break; + +case 36: +//C +this.state = 39; +__ref.runClassMethod (SHARK2.keymon.com.mx.b4xswitch.class, "_draw" /*RemoteObject*/ ,(Object)(BA.numberCast(float.class, 0))); +if (true) break; + +case 39: +//C +this.state = 40; +; + if (true) break; + +case 40: +//C +this.state = 41; +; + if (true) break; +; + BA.debugLineNum = 101;BA.debugLine="If mEnabled Then"; +Debug.JustUpdateDeviceLine(); + +case 41: +//if +this.state = 46; +if (__ref.getField(true,"_menabled" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 43; +}else { +this.state = 45; +}if (true) break; + +case 43: +//C +this.state = 46; + BA.debugLineNum = 102;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; +Debug.JustUpdateDeviceLine(); +parent._xuiviewsutils.runVoidMethod ("_setalpha" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, 1))); + if (true) break; + +case 45: +//C +this.state = 46; + BA.debugLineNum = 104;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.6)"; +Debug.JustUpdateDeviceLine(); +parent._xuiviewsutils.runVoidMethod ("_setalpha" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )),(Object)(BA.numberCast(float.class, 0.6))); + if (true) break; + +case 46: +//C +this.state = -1; +; + BA.debugLineNum = 106;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xtimedtemplate.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xtimedtemplate.java new file mode 100644 index 0000000..9bbbb21 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xtimedtemplate.java @@ -0,0 +1,38 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class b4xtimedtemplate { + public static RemoteObject myClass; + public b4xtimedtemplate() { + } + public static PCBA staticBA = new PCBA(null, b4xtimedtemplate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _anotherprogressbar1 = RemoteObject.declareNull("SHARK2.keymon.com.mx.anotherprogressbar"); +public static RemoteObject _mtemplate = RemoteObject.declareNull("Object"); +public static RemoteObject _timeoutmilliseconds = RemoteObject.createImmutable(0); +public static RemoteObject _index = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AnotherProgressBar1",_ref.getField(false, "_anotherprogressbar1"),"DateUtils",_ref.getField(false, "_dateutils"),"Index",_ref.getField(false, "_index"),"mBase",_ref.getField(false, "_mbase"),"mTemplate",_ref.getField(false, "_mtemplate"),"TimeoutMilliseconds",_ref.getField(false, "_timeoutmilliseconds"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xtimedtemplate_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xtimedtemplate_subs_0.java new file mode 100644 index 0000000..6cf35b1 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/b4xtimedtemplate_subs_0.java @@ -0,0 +1,224 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class b4xtimedtemplate_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; +b4xtimedtemplate._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",b4xtimedtemplate._xui); + //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; +b4xtimedtemplate._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",b4xtimedtemplate._mbase); + //BA.debugLineNum = 4;BA.debugLine="Private AnotherProgressBar1 As AnotherProgressBar"; +b4xtimedtemplate._anotherprogressbar1 = RemoteObject.createNew ("SHARK2.keymon.com.mx.anotherprogressbar");__ref.setField("_anotherprogressbar1",b4xtimedtemplate._anotherprogressbar1); + //BA.debugLineNum = 5;BA.debugLine="Private mTemplate As Object"; +b4xtimedtemplate._mtemplate = RemoteObject.createNew ("Object");__ref.setField("_mtemplate",b4xtimedtemplate._mtemplate); + //BA.debugLineNum = 6;BA.debugLine="Public TimeoutMilliseconds As Int = 10000"; +b4xtimedtemplate._timeoutmilliseconds = BA.numberCast(int.class, 10000);__ref.setField("_timeoutmilliseconds",b4xtimedtemplate._timeoutmilliseconds); + //BA.debugLineNum = 7;BA.debugLine="Private Index As Int"; +b4xtimedtemplate._index = RemoteObject.createImmutable(0);__ref.setField("_index",b4xtimedtemplate._index); + //BA.debugLineNum = 8;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _dialogclosed(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("DialogClosed (b4xtimedtemplate) ","b4xtimedtemplate",66,__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",66,__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",66,__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",66,__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(SHARK2.keymon.com.mx.b4xtimedtemplate parent,RemoteObject __ref,RemoteObject _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.b4xtimedtemplate parent; +RemoteObject _dialog; +RemoteObject _myindex = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Show (b4xtimedtemplate) ","b4xtimedtemplate",66,__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 (SHARK2.keymon.com.mx.anotherprogressbar.class, "_setvaluenoanimation" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 31;BA.debugLine="AnotherProgressBar1.ValueChangePerSecond = 100 /"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_anotherprogressbar1" /*RemoteObject*/ ).setField ("_valuechangepersecond" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(100),(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_timeoutmilliseconds" /*RemoteObject*/ ),RemoteObject.createImmutable(1000)}, "/",0, 0))}, "/",0, 0))); + BA.debugLineNum = 32;BA.debugLine="AnotherProgressBar1.Value = 100"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_anotherprogressbar1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.anotherprogressbar.class, "_setvalue" /*RemoteObject*/ ,BA.numberCast(int.class, 100)); + BA.debugLineNum = 33;BA.debugLine="Index = Index + 1"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_index" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_index" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 34;BA.debugLine="Dim MyIndex As Int = Index"; +Debug.JustUpdateDeviceLine(); +_myindex = __ref.getField(true,"_index" /*RemoteObject*/ );Debug.locals.put("MyIndex", _myindex);Debug.locals.put("MyIndex", _myindex); + BA.debugLineNum = 35;BA.debugLine="Sleep(TimeoutMilliseconds)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "b4xtimedtemplate", "show"),__ref.getField(true,"_timeoutmilliseconds" /*RemoteObject*/ )); +this.state = 5; +return; +case 5: +//C +this.state = 1; +; + BA.debugLineNum = 36;BA.debugLine="If MyIndex = Index Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 4; +if (RemoteObject.solveBoolean("=",_myindex,BA.numberCast(double.class, __ref.getField(true,"_index" /*RemoteObject*/ )))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 37;BA.debugLine="Dialog.Close(xui.DialogResponse_Cancel)"; +Debug.JustUpdateDeviceLine(); +_dialog.runClassMethod (SHARK2.keymon.com.mx.b4xdialog.class, "_close" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"DialogResponse_Cancel"))); + if (true) break; + +case 4: +//C +this.state = -1; +; + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/batteryutilities.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/batteryutilities.java new file mode 100644 index 0000000..95d1cf8 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/batteryutilities.java @@ -0,0 +1,33 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class batteryutilities { + public static RemoteObject myClass; + public batteryutilities() { + } + public static PCBA staticBA = new PCBA(null, batteryutilities.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _nativeme = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"nativeMe",_ref.getField(false, "_nativeme")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/batteryutilities_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/batteryutilities_subs_0.java new file mode 100644 index 0000000..802db0a --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/batteryutilities_subs_0.java @@ -0,0 +1,89 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class batteryutilities_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 3;BA.debugLine="Private nativeMe As JavaObject"; +batteryutilities._nativeme = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");__ref.setField("_nativeme",batteryutilities._nativeme); + //BA.debugLineNum = 5;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _getbatteryinformation(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getBatteryInformation (batteryutilities) ","batteryutilities",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 = 28;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbatterytechnolgy(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getBatteryTechnolgy (batteryutilities) ","batteryutilities",3,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("getbatterytechnolgy")) { return __ref.runUserSub(false, "batteryutilities","getbatterytechnolgy", __ref);} +RemoteObject _batterytech = RemoteObject.createImmutable(""); + BA.debugLineNum = 30;BA.debugLine="Public Sub getBatteryTechnolgy() As String"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 32;BA.debugLine="Dim batterytech As String"; +Debug.ShouldStop(-2147483648); +_batterytech = RemoteObject.createImmutable("");Debug.locals.put("batterytech", _batterytech); + BA.debugLineNum = 33;BA.debugLine="batterytech = nativeMe.RunMethod(\"getBatteryTechn"; +Debug.ShouldStop(1); +_batterytech = BA.ObjectToString(__ref.getField(false,"_nativeme" /*RemoteObject*/ ).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getBatteryTechnology")),(Object)((batteryutilities.__c.getField(false,"Null")))));Debug.locals.put("batterytech", _batterytech); + BA.debugLineNum = 34;BA.debugLine="Return batterytech"; +Debug.ShouldStop(2); +if (true) return _batterytech; + BA.debugLineNum = 36;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (batteryutilities) ","batteryutilities",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/SHARK2/keymon/com/mx/c_cliente.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_cliente.java new file mode 100644 index 0000000..9dfc6b8 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_cliente.java @@ -0,0 +1,192 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_cliente { + public static RemoteObject myClass; + public c_cliente() { + } + public static PCBA staticBA = new PCBA(null, c_cliente.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _p_cliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager"); +public static RemoteObject _cmd = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand"); +public static RemoteObject _ime = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +public static RemoteObject _credito_diponible = RemoteObject.createImmutable(""); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _clie_id = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _total_cliente = RemoteObject.createImmutable(""); +public static RemoteObject _m_lat = RemoteObject.createImmutable(""); +public static RemoteObject _m_lon = RemoteObject.createImmutable(""); +public static RemoteObject _m_lat_al = RemoteObject.createImmutable(""); +public static RemoteObject _m_lon_al = RemoteObject.createImmutable(""); +public static RemoteObject _btadmin = RemoteObject.declareNull("anywheresoftware.b4a.objects.Serial.BluetoothAdmin"); +public static RemoteObject _cmp20 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Serial"); +public static RemoteObject _printer = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.TextWriterWrapper"); +public static RemoteObject _paireddevices = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _l = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _tamano = RemoteObject.createImmutable(0); +public static RemoteObject _espacio = RemoteObject.createImmutable(0); +public static RemoteObject _blanco = RemoteObject.createImmutable(""); +public static RemoteObject _cuenta = RemoteObject.createImmutable(""); +public static RemoteObject _tipo_venta = RemoteObject.createImmutable(""); +public static RemoteObject _mac_impresora = RemoteObject.createImmutable(""); +public static RemoteObject _printer1 = RemoteObject.declareNull("SHARK2.keymon.com.mx.escposprinter"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _dd = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _la_cuenta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_nombre = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_calle = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_numero = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_nint = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_edo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_pob = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_col = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_cp = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_zona = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _gest = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _la_saldotot = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_saldooper = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _impresoraconectada = RemoteObject.createImmutable(false); +public static RemoteObject _tels = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _label10 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label11 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _tar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _errorimpresora = RemoteObject.createImmutable(0); +public static RemoteObject _la_comm = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_actdte = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_usuario = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _la_resultado = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_entre1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_entre2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_atiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_atiende2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _datos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _guardar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _nuevo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_total = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _s2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _res = RemoteObject.createImmutable(""); +public static RemoteObject _credi = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _hist = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _monto_compra = RemoteObject.createImmutable(""); +public static RemoteObject _meta = RemoteObject.createImmutable(""); +public static RemoteObject _meta2 = RemoteObject.createImmutable(""); +public static RemoteObject _verifica = RemoteObject.createImmutable(""); +public static RemoteObject _l_qr = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _bt_qr = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _codigo = RemoteObject.createImmutable(""); +public static RemoteObject _b_mapa = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _cuantos = RemoteObject.createImmutable(""); +public static RemoteObject _b_imp = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _toggla = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _pre_act = RemoteObject.createImmutable(0f); +public static RemoteObject _panel1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _i_compra = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_guarda_c = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_venta = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _la_gps = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_e_next = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _e_res_e = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _t_tenc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _panel2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _contador_e = RemoteObject.createImmutable(""); +public static RemoteObject _hr_res1 = RemoteObject.createImmutable(""); +public static RemoteObject _hr_res2 = RemoteObject.createImmutable(""); +public static RemoteObject _hr_res3 = RemoteObject.createImmutable(""); +public static RemoteObject _existe = RemoteObject.createImmutable(""); +public static RemoteObject _telefono = RemoteObject.createImmutable(""); +public static RemoteObject _t1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Timer"); +public static RemoteObject _rb1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _rb5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _stay_hh = RemoteObject.createImmutable(""); +public static RemoteObject _stay_mi = RemoteObject.createImmutable(""); +public static RemoteObject _stay_ss = RemoteObject.createImmutable(""); +public static RemoteObject _la_geo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _result = RemoteObject.createImmutable(0); +public static RemoteObject _cercavalor = RemoteObject.createImmutable(""); +public static RemoteObject _la_ruta = RemoteObject.createImmutable(""); +public static RemoteObject _b_like = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_gps = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _cb_factura = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper"); +public static RemoteObject _p_cbfactura = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _venimosdeticketsdia = RemoteObject.createImmutable(false); +public static RemoteObject _p_abono = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _et_abono = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_abono = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_cancelar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_abono1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _b_cxc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _clv_abonos = RemoteObject.declareNull("b4a.example3.customlistview"); +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 _d = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _l_montoabonostotal = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _j = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _h = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _distance = RemoteObject.createImmutable(0L); +public static RemoteObject _distance2 = RemoteObject.createImmutable(0L); +public static RemoteObject _cuest = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_cuestionario"); +public static RemoteObject _b_ventaabordo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_factura = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_limite = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_montoacredito = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_cancred = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_acred = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_credito = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _banderaimp = RemoteObject.createImmutable(0); +public static RemoteObject _k1 = RemoteObject.createImmutable(""); +public static RemoteObject _k2 = RemoteObject.createImmutable(""); +public static RemoteObject _k3 = RemoteObject.createImmutable(""); +public static RemoteObject _b_ubicar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_venta_credito = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_act_coords = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_giro = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_atiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _et_atiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_cancelatiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_acepatiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_giro = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _cb_giro = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _b_cancelgiro = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_acepgiro = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _giros = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.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_abono1",_ref.getField(false, "_b_abono1"),"b_acepatiende",_ref.getField(false, "_b_acepatiende"),"b_acepgiro",_ref.getField(false, "_b_acepgiro"),"b_acred",_ref.getField(false, "_b_acred"),"b_act_coords",_ref.getField(false, "_b_act_coords"),"b_cancelar",_ref.getField(false, "_b_cancelar"),"b_cancelatiende",_ref.getField(false, "_b_cancelatiende"),"b_cancelgiro",_ref.getField(false, "_b_cancelgiro"),"b_cancred",_ref.getField(false, "_b_cancred"),"b_cxc",_ref.getField(false, "_b_cxc"),"B_E_NEXT",_ref.getField(false, "_b_e_next"),"B_GPS",_ref.getField(false, "_b_gps"),"B_GUARDA_C",_ref.getField(false, "_b_guarda_c"),"B_IMP",_ref.getField(false, "_b_imp"),"b_like",_ref.getField(false, "_b_like"),"b_mapa",_ref.getField(false, "_b_mapa"),"b_ubicar",_ref.getField(false, "_b_ubicar"),"b_venta",_ref.getField(false, "_b_venta"),"b_venta_credito",_ref.getField(false, "_b_venta_credito"),"b_ventaabordo",_ref.getField(false, "_b_ventaabordo"),"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"),"c2",_ref.getField(false, "_c2"),"cb_factura",_ref.getField(false, "_cb_factura"),"cb_giro",_ref.getField(false, "_cb_giro"),"cercavalor",_ref.getField(false, "_cercavalor"),"clie_id",_ref.getField(false, "_clie_id"),"clv_abonos",_ref.getField(false, "_clv_abonos"),"cmd",_ref.getField(false, "_cmd"),"cmp20",_ref.getField(false, "_cmp20"),"CODIGO",_ref.getField(false, "_codigo"),"CONTADOR_E",_ref.getField(false, "_contador_e"),"Credi",_ref.getField(false, "_credi"),"credito_diponible",_ref.getField(false, "_credito_diponible"),"CUANTOS",_ref.getField(false, "_cuantos"),"cuenta",_ref.getField(false, "_cuenta"),"cuest",_ref.getField(false, "_cuest"),"d",_ref.getField(false, "_d"),"DateUtils",_ref.getField(false, "_dateutils"),"DATOS",_ref.getField(false, "_datos"),"DD",_ref.getField(false, "_dd"),"distance",_ref.getField(false, "_distance"),"distance2",_ref.getField(false, "_distance2"),"E_RES_E",_ref.getField(false, "_e_res_e"),"errorImpresora",_ref.getField(false, "_errorimpresora"),"ESPACIO",_ref.getField(false, "_espacio"),"et_abono",_ref.getField(false, "_et_abono"),"et_atiende",_ref.getField(false, "_et_atiende"),"et_montoacredito",_ref.getField(false, "_et_montoacredito"),"EXISTE",_ref.getField(false, "_existe"),"f",_ref.getField(false, "_f"),"g",_ref.getField(false, "_g"),"gest",_ref.getField(false, "_gest"),"giros",_ref.getField(false, "_giros"),"Guardar",_ref.getField(false, "_guardar"),"h",_ref.getField(false, "_h"),"HIST",_ref.getField(false, "_hist"),"HR_RES1",_ref.getField(false, "_hr_res1"),"HR_RES2",_ref.getField(false, "_hr_res2"),"HR_RES3",_ref.getField(false, "_hr_res3"),"I_COMPRA",_ref.getField(false, "_i_compra"),"ime",_ref.getField(false, "_ime"),"impresoraConectada",_ref.getField(false, "_impresoraconectada"),"j",_ref.getField(false, "_j"),"k1",_ref.getField(false, "_k1"),"k2",_ref.getField(false, "_k2"),"k3",_ref.getField(false, "_k3"),"L",_ref.getField(false, "_l"),"l_atiende",_ref.getField(false, "_l_atiende"),"l_atiende2",_ref.getField(false, "_l_atiende2"),"l_entre1",_ref.getField(false, "_l_entre1"),"l_entre2",_ref.getField(false, "_l_entre2"),"l_factura",_ref.getField(false, "_l_factura"),"l_folio",_ref.getField(false, "_l_folio"),"l_giro",_ref.getField(false, "_l_giro"),"l_limite",_ref.getField(false, "_l_limite"),"l_montoabonostotal",_ref.getField(false, "_l_montoabonostotal"),"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_GEO",_ref.getField(false, "_la_geo"),"LA_GPS",_ref.getField(false, "_la_gps"),"la_nint",_ref.getField(false, "_la_nint"),"La_nombre",_ref.getField(false, "_la_nombre"),"la_numero",_ref.getField(false, "_la_numero"),"la_pob",_ref.getField(false, "_la_pob"),"la_resultado",_ref.getField(false, "_la_resultado"),"LA_RUTA",_ref.getField(false, "_la_ruta"),"la_saldooper",_ref.getField(false, "_la_saldooper"),"la_saldotot",_ref.getField(false, "_la_saldotot"),"la_usuario",_ref.getField(false, "_la_usuario"),"la_zona",_ref.getField(false, "_la_zona"),"Label10",_ref.getField(false, "_label10"),"Label11",_ref.getField(false, "_label11"),"ListView1",_ref.getField(false, "_listview1"),"m_lat",_ref.getField(false, "_m_lat"),"m_lat_al",_ref.getField(false, "_m_lat_al"),"m_lon",_ref.getField(false, "_m_lon"),"m_lon_al",_ref.getField(false, "_m_lon_al"),"MAC_IMPRESORA",_ref.getField(false, "_mac_impresora"),"META",_ref.getField(false, "_meta"),"META2",_ref.getField(false, "_meta2"),"MONTO_COMPRA",_ref.getField(false, "_monto_compra"),"NUEVO",_ref.getField(false, "_nuevo"),"p_abono",_ref.getField(false, "_p_abono"),"p_atiende",_ref.getField(false, "_p_atiende"),"p_cbFactura",_ref.getField(false, "_p_cbfactura"),"p_cliente",_ref.getField(false, "_p_cliente"),"p_credito",_ref.getField(false, "_p_credito"),"p_giro",_ref.getField(false, "_p_giro"),"PairedDevices",_ref.getField(false, "_paireddevices"),"Panel1",_ref.getField(false, "_panel1"),"Panel2",_ref.getField(false, "_panel2"),"pre_act",_ref.getField(false, "_pre_act"),"printer",_ref.getField(false, "_printer"),"Printer1",_ref.getField(false, "_printer1"),"RB1",_ref.getField(false, "_rb1"),"RB2",_ref.getField(false, "_rb2"),"RB3",_ref.getField(false, "_rb3"),"RB4",_ref.getField(false, "_rb4"),"RB5",_ref.getField(false, "_rb5"),"reqManager",_ref.getField(false, "_reqmanager"),"res",_ref.getField(false, "_res"),"result",_ref.getField(false, "_result"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"s",_ref.getField(false, "_s"),"S2",_ref.getField(false, "_s2"),"sDate",_ref.getField(false, "_sdate"),"skmt",_ref.getField(false, "_skmt"),"stay_hh",_ref.getField(false, "_stay_hh"),"stay_mi",_ref.getField(false, "_stay_mi"),"stay_ss",_ref.getField(false, "_stay_ss"),"sTime",_ref.getField(false, "_stime"),"t_tenc",_ref.getField(false, "_t_tenc"),"t1",_ref.getField(false, "_t1"),"TAMANO",_ref.getField(false, "_tamano"),"Tar",_ref.getField(false, "_tar"),"TELEFONO",_ref.getField(false, "_telefono"),"Tels",_ref.getField(false, "_tels"),"tgl",_ref.getField(false, "_tgl"),"tipo_venta",_ref.getField(false, "_tipo_venta"),"Toggla",_ref.getField(false, "_toggla"),"total_cliente",_ref.getField(false, "_total_cliente"),"usuario",_ref.getField(false, "_usuario"),"venimosDeTicketsDia",_ref.getField(false, "_venimosdeticketsdia"),"VERIFICA",_ref.getField(false, "_verifica"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_cliente_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_cliente_subs_0.java new file mode 100644 index 0000000..b2a1407 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_cliente_subs_0.java @@ -0,0 +1,8670 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_cliente_subs_0 { + + +public static void _b_abono_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_abono_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2498); +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(SHARK2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_cliente parent; +RemoteObject _k = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _y = 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_abono_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2498); +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 = 2500;BA.debugLine="If et_abono.text > l_montoabonostotal.text Then"; +Debug.ShouldStop(8); +if (true) break; + +case 1: +//if +this.state = 28; +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 = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 28; + BA.debugLineNum = 2501;BA.debugLine="MsgboxAsync(\"El monto a abonar no puede ser mayo"; +Debug.ShouldStop(16); +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 5: +//C +this.state = 6; + BA.debugLineNum = 2503;BA.debugLine="If et_abono.Text <> \"\" Then"; +Debug.ShouldStop(64); +if (true) break; + +case 6: +//if +this.state = 27; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +this.state = 8; +}if (true) break; + +case 8: +//C +this.state = 9; + BA.debugLineNum = 2505;BA.debugLine="Dim k As Cursor = B4XPages.MainPage.skmt.ExecQu"; +Debug.ShouldStop(256); +_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._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA from CUENTAA"))));Debug.locals.put("k", _k);Debug.locals.put("k", _k); + BA.debugLineNum = 2506;BA.debugLine="k.Position = 0"; +Debug.ShouldStop(512); +_k.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2507;BA.debugLine="Log(k.GetString(\"CUENTA\"))"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("LogImpl","57864329",_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),0); + BA.debugLineNum = 2508;BA.debugLine="Dim y As Cursor = B4XPages.MainPage.skmt.ExecQu"; +Debug.ShouldStop(2048); +_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._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_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[] {_k.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))}))));Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 2509;BA.debugLine="y.position = 0"; +Debug.ShouldStop(4096); +_y.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2511;BA.debugLine="If y.RowCount = 0 Then"; +Debug.ShouldStop(16384); +if (true) break; + +case 9: +//if +this.state = 26; +if (RemoteObject.solveBoolean("=",_y.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 11; +}else +{ BA.debugLineNum = 2517;BA.debugLine="Else If et_abono.Text > y.GetString(\"a_abono\")"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, _y.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono")))))) { +this.state = 17; +}else +{ BA.debugLineNum = 2523;BA.debugLine="Else If et_abono.Text = y.GetString(\"a_abono\")"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"),_y.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))) { +this.state = 23; +}else +{ BA.debugLineNum = 2526;BA.debugLine="Else If et_abono.Text < y.GetString(\"a_abono\")"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, _y.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono")))))) { +this.state = 25; +}}}} +if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 2512;BA.debugLine="Msgbox2Async($\"¿Seguro que quieres realizar un"; +Debug.ShouldStop(32768); +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 = 2513;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_abono_click"), null); +this.state = 29; +return; +case 29: +//C +this.state = 12; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 2514;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 12: +//if +this.state = 15; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 14; +}if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 2515;BA.debugLine="imprime_pagare"; +Debug.ShouldStop(262144); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_imprime_pagare" /*void*/ ); + if (true) break; + +case 15: +//C +this.state = 26; +; + if (true) break; + +case 17: +//C +this.state = 18; + BA.debugLineNum = 2518;BA.debugLine="Msgbox2Async($\"¿Seguro que quieres realizar un"; +Debug.ShouldStop(2097152); +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 = 2519;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b_abono_click"), null); +this.state = 30; +return; +case 30: +//C +this.state = 18; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 2520;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(8388608); +if (true) break; + +case 18: +//if +this.state = 21; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 20; +}if (true) break; + +case 20: +//C +this.state = 21; + BA.debugLineNum = 2521;BA.debugLine="imprime_pagare"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_imprime_pagare" /*void*/ ); + if (true) break; + +case 21: +//C +this.state = 26; +; + if (true) break; + +case 23: +//C +this.state = 26; + BA.debugLineNum = 2524;BA.debugLine="p_abono.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 2525;BA.debugLine="et_abono.Text = \"\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + if (true) break; + +case 25: +//C +this.state = 26; + BA.debugLineNum = 2527;BA.debugLine="p_abono.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 2528;BA.debugLine="MsgboxAsync(\"El pago no puede ser menor al mon"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("El pago no puede ser menor al monto capturado.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 2529;BA.debugLine="et_abono.Text = \"\""; +Debug.ShouldStop(1); +__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + if (true) break; + +case 26: +//C +this.state = 27; +; + if (true) break; + +case 27: +//C +this.state = 28; +; + if (true) break; + +case 28: +//C +this.state = -1; +; + BA.debugLineNum = 2537;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(256); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 2538;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +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_abono1_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_abono1_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2546); +if (RapidSub.canDelegate("b_abono1_click")) { return __ref.runUserSub(false, "c_cliente","b_abono1_click", __ref);} + BA.debugLineNum = 2546;BA.debugLine="Private Sub b_abono1_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 2547;BA.debugLine="p_abono.Visible = True"; +Debug.ShouldStop(262144); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 2548;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_acepatiende_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_acepatiende_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2928); +if (RapidSub.canDelegate("b_acepatiende_click")) { return __ref.runUserSub(false, "c_cliente","b_acepatiende_click", __ref);} +RemoteObject _coord = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 2928;BA.debugLine="Private Sub b_acepatiende_Click"; +Debug.ShouldStop(32768); + BA.debugLineNum = 2929;BA.debugLine="If et_atiende.Text <> \"\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 2931;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skmt"; +Debug.ShouldStop(262144); +_coord = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_coord = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * from ATIENDE where CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord); + BA.debugLineNum = 2933;BA.debugLine="If coord.RowCount = 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2934;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ATIENDE(ATIENDE"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO ATIENDE(ATIENDE,CLIENTE) VALUES (?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText"),c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))}))))); + BA.debugLineNum = 2935;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; +Debug.ShouldStop(4194304); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set CAT_CL_ATIENDE1 = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa)"))))); + BA.debugLineNum = 2936;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +Debug.ShouldStop(8388608); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Datos actualizados.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 2937;BA.debugLine="l_atiende.Text = et_atiende.Text"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 2938;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 2939;BA.debugLine="p_atiende.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_p_atiende" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2940;BA.debugLine="et_atiende.Text = \"\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }else { + BA.debugLineNum = 2942;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE ATIENDE SET ATIENDE"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE ATIENDE SET ATIENDE = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText")}))))); + BA.debugLineNum = 2943;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; +Debug.ShouldStop(1073741824); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set CAT_CL_ATIENDE1 = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa)"))))); + BA.debugLineNum = 2944;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Datos actualizados.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 2945;BA.debugLine="l_atiende.Text = et_atiende.Text"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 2946;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(2); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 2947;BA.debugLine="p_atiende.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_p_atiende" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2948;BA.debugLine="et_atiende.Text = \"\""; +Debug.ShouldStop(8); +__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + }else { + BA.debugLineNum = 2953;BA.debugLine="MsgboxAsync(\"Por favor captura un nombre valido."; +Debug.ShouldStop(256); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor captura un nombre valido.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 2955;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_acepgiro_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_acepgiro_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2988); +if (RapidSub.canDelegate("b_acepgiro_click")) { return __ref.runUserSub(false, "c_cliente","b_acepgiro_click", __ref);} +RemoteObject _coord = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 2988;BA.debugLine="Private Sub b_acepgiro_Click"; +Debug.ShouldStop(2048); + BA.debugLineNum = 2989;BA.debugLine="If giros <> \"SELECCIONA UNA OPCIÓN\" Or cb_giro.Se"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_giros" /*RemoteObject*/ ),BA.ObjectToString("SELECCIONA UNA OPCIÓN")) || RemoteObject.solveBoolean("!",__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ ),BA.ObjectToString("SELECCIONA UNA OPCIÓN"))) { + BA.debugLineNum = 2990;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skmt"; +Debug.ShouldStop(8192); +_coord = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_coord = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * from GIROS_ACTUAL where CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord); + BA.debugLineNum = 2992;BA.debugLine="If coord.RowCount = 0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2993;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO GIROS_ACTUAL(GI"; +Debug.ShouldStop(65536); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO GIROS_ACTUAL(GIRO,CLIENTE) VALUES (?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(true,"_giros" /*RemoteObject*/ ),c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))}))))); + BA.debugLineNum = 2994;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; +Debug.ShouldStop(131072); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set CAT_CL_GIRO = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa)"))))); + BA.debugLineNum = 2995;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Datos actualizados.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 2996;BA.debugLine="l_giro.Text = giros"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_giro" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_giros" /*RemoteObject*/ ))); + BA.debugLineNum = 2997;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 2998;BA.debugLine="p_giro.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_p_giro" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2999;BA.debugLine="giros = \"SELECCIONA UNA OPCIÓN\""; +Debug.ShouldStop(4194304); +__ref.setField ("_giros" /*RemoteObject*/ ,BA.ObjectToString("SELECCIONA UNA OPCIÓN")); + }else { + BA.debugLineNum = 3001;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GIROS_ACTUAL SET GIR"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE GIROS_ACTUAL SET GIRO = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_giros" /*RemoteObject*/ )}))))); + BA.debugLineNum = 3002;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; +Debug.ShouldStop(33554432); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info set CAT_CL_GIRO = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )))),RemoteObject.createImmutable("' where CAT_CL_CODIGO In (select cuenta from cuentaa)"))))); + BA.debugLineNum = 3003;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +Debug.ShouldStop(67108864); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Datos actualizados.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 3004;BA.debugLine="l_giro.Text = giros"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_giro" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_giros" /*RemoteObject*/ ))); + BA.debugLineNum = 3005;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 3006;BA.debugLine="p_giro.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_giro" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 3007;BA.debugLine="giros = \"SELECCIONA UNA OPCIÓN\""; +Debug.ShouldStop(1073741824); +__ref.setField ("_giros" /*RemoteObject*/ ,BA.ObjectToString("SELECCIONA UNA OPCIÓN")); + }; + }else { + BA.debugLineNum = 3010;BA.debugLine="MsgboxAsync(\"Por favor selecciona un giro valido"; +Debug.ShouldStop(2); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor selecciona un giro valido.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 3012;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_acred_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_acred_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,861); +if (RapidSub.canDelegate("b_acred_click")) { return __ref.runUserSub(false, "c_cliente","b_acred_click", __ref);} +RemoteObject _limitcred = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 861;BA.debugLine="Private Sub b_acred_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 862;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 863;BA.debugLine="c2.Position=0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 864;BA.debugLine="usuario = c2.GetString(\"USUARIO\")"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 865;BA.debugLine="c2.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 866;BA.debugLine="Dim limitcred As Cursor"; +Debug.ShouldStop(2); +_limitcred = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("limitcred", _limitcred); + BA.debugLineNum = 867;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(4); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 868;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(8); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 869;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 = 870;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 = 871;BA.debugLine="limitcred = B4XPages.MainPage.skmt.ExecQuery(\"SEL"; +Debug.ShouldStop(64); +_limitcred = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_LIMITECREDITO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_LIMITECREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("limitcred", _limitcred); + BA.debugLineNum = 872;BA.debugLine="limitcred.Position = 0"; +Debug.ShouldStop(128); +_limitcred.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 873;BA.debugLine="l_limite.Text = \"Limite de credito: $\" & limitcre"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_limite" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Limite de credito: $"),_limitcred.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LIMITECREDITO")))))); + BA.debugLineNum = 874;BA.debugLine="If Subs.traeTotalClientepreventaparacredito >= l"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("g",c_cliente._subs.runMethod(true,"_traetotalclientepreventaparacredito" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.numberCast(double.class, _limitcred.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LIMITECREDITO")))))) { + BA.debugLineNum = 876;BA.debugLine="If et_montoacredito.Text > limitcred.GetString(\""; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, _limitcred.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LIMITECREDITO")))))) { + BA.debugLineNum = 877;BA.debugLine="MsgboxAsync(\"El monto del pagare no puede ser m"; +Debug.ShouldStop(4096); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("El monto del pagare no puede ser mayor al limite del credito")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 878;BA.debugLine="et_montoacredito.Text = limitcred.GetString(\"CA"; +Debug.ShouldStop(8192); +__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_limitcred.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LIMITECREDITO"))))); + }else { + BA.debugLineNum = 880;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CO"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) As REGISTRADO FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 881;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 882;BA.debugLine="If c.GetString(\"REGISTRADO\") = 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REGISTRADO"))),BA.NumberToString(0))) { + BA.debugLineNum = 884;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(524288); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA, PA_FECHA, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ )),((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),(__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 885;BA.debugLine="Log(\"Inserto: \" &\" Almacen: \"& ALMACEN &\" Ruta"; +Debug.ShouldStop(1048576); +c_cliente.__c.runVoidMethod ("LogImpl","55373976",RemoteObject.concat(RemoteObject.createImmutable("Inserto: "),RemoteObject.createImmutable(" Almacen: "),__ref.getField(true,"_almacen" /*RemoteObject*/ ),RemoteObject.createImmutable(" Ruta: "),__ref.getField(true,"_la_ruta" /*RemoteObject*/ ),RemoteObject.createImmutable(" Fecha: "),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),RemoteObject.createImmutable("Captura: "),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),RemoteObject.createImmutable(" Monto: "),__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable(" Usuario: "),__ref.getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.createImmutable(" Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),0); + BA.debugLineNum = 886;BA.debugLine="GuardaVenta"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_guardaventa" /*RemoteObject*/ ); + BA.debugLineNum = 887;BA.debugLine="p_credito.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_p_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + BA.debugLineNum = 890;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; +Debug.ShouldStop(33554432); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PAGARES set PA_FECHA = ?, PA_CAPTURA = ?, PA_MONTO = ? where PA_CLIENTE In (select cuenta from cuentaa)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),(__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 891;BA.debugLine="Log(\"Actualizo: \" &\" Almacen: \"& ALMACEN &\" Ru"; +Debug.ShouldStop(67108864); +c_cliente.__c.runVoidMethod ("LogImpl","55373982",RemoteObject.concat(RemoteObject.createImmutable("Actualizo: "),RemoteObject.createImmutable(" Almacen: "),__ref.getField(true,"_almacen" /*RemoteObject*/ ),RemoteObject.createImmutable(" Ruta: "),__ref.getField(true,"_la_ruta" /*RemoteObject*/ ),RemoteObject.createImmutable(" Fecha: "),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),RemoteObject.createImmutable("Captura: "),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),RemoteObject.createImmutable(" Monto: "),__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable(" Usuario: "),__ref.getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.createImmutable(" Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),0); + BA.debugLineNum = 892;BA.debugLine="GuardaVenta"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_guardaventa" /*RemoteObject*/ ); + BA.debugLineNum = 893;BA.debugLine="p_credito.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }; + }; + }else +{ BA.debugLineNum = 896;BA.debugLine="Else If Subs.traeTotalClientepreventaparacredito"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("<",c_cliente._subs.runMethod(true,"_traetotalclientepreventaparacredito" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.numberCast(double.class, _limitcred.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LIMITECREDITO")))))) { + BA.debugLineNum = 897;BA.debugLine="If et_montoacredito.Text > Subs.traeTotalCliente"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethod(true,"getText")),c_cliente._subs.runMethod(true,"_traetotalclientepreventaparacredito" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { + BA.debugLineNum = 898;BA.debugLine="MsgboxAsync(\"El monto del pagare no puede ser m"; +Debug.ShouldStop(2); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("El monto del pagare no puede ser mayor a la preventa registrada")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 899;BA.debugLine="et_montoacredito.Text = Subs.traeTotalClientepr"; +Debug.ShouldStop(4); +__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(c_cliente._subs.runMethod(true,"_traetotalclientepreventaparacredito" /*RemoteObject*/ ,__ref.getField(false, "ba")))); + }else { + BA.debugLineNum = 901;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CO"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) As REGISTRADO FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 902;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 903;BA.debugLine="If c.GetString(\"REGISTRADO\") = 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REGISTRADO"))),BA.NumberToString(0))) { + BA.debugLineNum = 905;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(256); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA, PA_FECHA, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ )),((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),(__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 906;BA.debugLine="Log(\"Aqui hay informacion variada e inserte: \""; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethod ("LogImpl","55373997",RemoteObject.concat(RemoteObject.createImmutable("Aqui hay informacion variada e inserte: "),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable("<<<<<<<<<<<<<<<<<<<<<")),0); + BA.debugLineNum = 907;BA.debugLine="GuardaVenta"; +Debug.ShouldStop(1024); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_guardaventa" /*RemoteObject*/ ); + BA.debugLineNum = 908;BA.debugLine="p_credito.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + BA.debugLineNum = 911;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; +Debug.ShouldStop(16384); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PAGARES set PA_FECHA = ?, PA_CAPTURA = ?, PA_MONTO = ? where PA_CLIENTE In (select cuenta from cuentaa)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),(__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 912;BA.debugLine="Log(\"Aqui hay informacion variada y acualice:"; +Debug.ShouldStop(32768); +c_cliente.__c.runVoidMethod ("LogImpl","55374003",RemoteObject.concat(RemoteObject.createImmutable("Aqui hay informacion variada y acualice: "),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable("<<<<<<<<<<<<<<<<<<<<<")),0); + BA.debugLineNum = 913;BA.debugLine="GuardaVenta"; +Debug.ShouldStop(65536); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_guardaventa" /*RemoteObject*/ ); + BA.debugLineNum = 914;BA.debugLine="p_credito.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_p_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }; + }; + }} +; + BA.debugLineNum = 918;BA.debugLine="limitcred.Close"; +Debug.ShouldStop(2097152); +_limitcred.runVoidMethod ("Close"); + BA.debugLineNum = 919;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_act_coords_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_act_coords_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2897); +if (RapidSub.canDelegate("b_act_coords_click")) { return __ref.runUserSub(false, "c_cliente","b_act_coords_click", __ref);} +RemoteObject _coord = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 2897;BA.debugLine="Private Sub b_act_coords_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 2898;BA.debugLine="h = B4XPages.MainPage.skmt.ExecQuery(\"SELECT IFNU"; +Debug.ShouldStop(131072); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT IFNULL(CAT_CL_BCOORDENADAS,0) AS CAT_CL_BCOORDENADAS from kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 2899;BA.debugLine="h.Position = 0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2900;BA.debugLine="Log(h.GetInt(\"CAT_CL_BCOORDENADAS\"))"; +Debug.ShouldStop(524288); +c_cliente.__c.runVoidMethod ("LogImpl","58519683",BA.NumberToString(__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_BCOORDENADAS")))),0); + BA.debugLineNum = 2901;BA.debugLine="If h.GetInt(\"CAT_CL_BCOORDENADAS\") <= 2 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("k",__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_BCOORDENADAS"))),BA.numberCast(double.class, 2))) { + BA.debugLineNum = 2902;BA.debugLine="Log(B4XPages.MainPage.lon_gps & \" , \" & B4XPages"; +Debug.ShouldStop(2097152); +c_cliente.__c.runVoidMethod ("LogImpl","58519685",RemoteObject.concat(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ),RemoteObject.createImmutable(" , "),c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),0); + BA.debugLineNum = 2904;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skmt"; +Debug.ShouldStop(8388608); +_coord = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_coord = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * from COORDENADAS where CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord); + BA.debugLineNum = 2906;BA.debugLine="If coord.RowCount = 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2907;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO COORDENADAS(LAT"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO COORDENADAS(LAT,LONG,CLIENTE,CANTIDAD) VALUES (?,?,?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {4},new Object[] {c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ),c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba")),BA.NumberToString((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_BCOORDENADAS"))),RemoteObject.createImmutable(1)}, "+",1, 1)))}))))); + BA.debugLineNum = 2908;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +Debug.ShouldStop(134217728); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info set CAT_CL_LONG = ?, CAT_CL_LAT =?, CAT_CL_BCOORDENADAS = ? where CAT_CL_CODIGO In (select cuenta from cuentaa)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_BCOORDENADAS"))),RemoteObject.createImmutable(1)}, "+",1, 1)))}))))); + BA.debugLineNum = 2909;BA.debugLine="MsgboxAsync(\"Coordenadas actualizadas.\",\"Atenci"; +Debug.ShouldStop(268435456); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Coordenadas actualizadas.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 2911;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE COORDENADAS SET LAT"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE COORDENADAS SET LAT = ?, LONG = ?,CANTIDAD = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ),c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),BA.NumberToString((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_BCOORDENADAS"))),RemoteObject.createImmutable(1)}, "+",1, 1)))}))))); + BA.debugLineNum = 2912;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +Debug.ShouldStop(-2147483648); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info set CAT_CL_LONG = ?, CAT_CL_LAT =?, CAT_CL_BCOORDENADAS = ? where CAT_CL_CODIGO In (select cuenta from cuentaa)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),((RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_CL_BCOORDENADAS"))),RemoteObject.createImmutable(1)}, "+",1, 1)))}))))); + BA.debugLineNum = 2913;BA.debugLine="MsgboxAsync(\"Coordenadas actualizadas.\",\"Atenci"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Coordenadas actualizadas.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 2918;BA.debugLine="MsgboxAsync(\"Las coordenadas de este cliente ya"; +Debug.ShouldStop(32); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Las coordenadas de este cliente ya fueron actualizadas.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 2920;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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",4,__ref.getField(false, "ba"),__ref,2540); +if (RapidSub.canDelegate("b_cancelar_click")) { return __ref.runUserSub(false, "c_cliente","b_cancelar_click", __ref);} + BA.debugLineNum = 2540;BA.debugLine="Private Sub b_cancelar_Click"; +Debug.ShouldStop(2048); + BA.debugLineNum = 2541;BA.debugLine="et_abono.Text = \"\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 2542;BA.debugLine="p_abono.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2543;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(16384); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 2544;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_cancelatiende_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_cancelatiende_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2957); +if (RapidSub.canDelegate("b_cancelatiende_click")) { return __ref.runUserSub(false, "c_cliente","b_cancelatiende_click", __ref);} + BA.debugLineNum = 2957;BA.debugLine="Private Sub b_cancelatiende_Click"; +Debug.ShouldStop(4096); + BA.debugLineNum = 2958;BA.debugLine="p_atiende.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_atiende" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2959;BA.debugLine="et_atiende.Text = \"\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 2960;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(32768); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 2961;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_cancelgiro_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_cancelgiro_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,3014); +if (RapidSub.canDelegate("b_cancelgiro_click")) { return __ref.runUserSub(false, "c_cliente","b_cancelgiro_click", __ref);} + BA.debugLineNum = 3014;BA.debugLine="Private Sub b_cancelgiro_Click"; +Debug.ShouldStop(32); + BA.debugLineNum = 3015;BA.debugLine="p_giro.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_p_giro" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 3016;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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",4,__ref.getField(false, "ba"),__ref,921); +if (RapidSub.canDelegate("b_cancred_click")) { return __ref.runUserSub(false, "c_cliente","b_cancred_click", __ref);} + BA.debugLineNum = 921;BA.debugLine="Private Sub b_cancred_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 922;BA.debugLine="p_credito.Visible = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_p_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 923;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +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",4,__ref.getField(false, "ba"),__ref,2550); +if (RapidSub.canDelegate("b_cxc_click")) { return __ref.runUserSub(false, "c_cliente","b_cxc_click", __ref);} +RemoteObject _total = RemoteObject.createImmutable(""); +int _i = 0; + BA.debugLineNum = 2550;BA.debugLine="Private Sub b_cxc_Click"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 2552;BA.debugLine="h = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CUEN"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA from CUENTAA")))); + BA.debugLineNum = 2553;BA.debugLine="h.Position = 0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2554;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethod ("LogImpl","58060932",__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),0); + BA.debugLineNum = 2555;BA.debugLine="j = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT a_a"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_j" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_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 = 2556;BA.debugLine="j.position = 0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2557;BA.debugLine="Log(j.RowCount)"; +Debug.ShouldStop(268435456); +c_cliente.__c.runVoidMethod ("LogImpl","58060935",BA.NumberToString(__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 2558;BA.debugLine="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 = 2560;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 = 2561;BA.debugLine="Dim total As String = 0"; +Debug.ShouldStop(1); +_total = BA.NumberToString(0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 2562;BA.debugLine="f = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CUE"; +Debug.ShouldStop(2); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA")))); + BA.debugLineNum = 2563;BA.debugLine="f.Position = 0"; +Debug.ShouldStop(4); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2565;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT NO"; +Debug.ShouldStop(16); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))})))); + BA.debugLineNum = 2566;BA.debugLine="clv_abonos.Clear"; +Debug.ShouldStop(32); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 2567;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(64); +{ +final int step14 = 1; +final int limit14 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step14 > 0 && _i <= limit14) || (step14 < 0 && _i >= limit14) ;_i = ((int)(0 + _i + step14)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2568;BA.debugLine="d.Position = i"; +Debug.ShouldStop(128); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2569;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA"; +Debug.ShouldStop(256); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (SHARK2.keymon.com.mx.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 = 2570;BA.debugLine="Log(d.GetString(\"NOTA\"))"; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethod ("LogImpl","58060948",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOTA"))),0); + BA.debugLineNum = 2571;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("LogImpl","58060949",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),0); + BA.debugLineNum = 2572;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; +Debug.ShouldStop(2048); +_total = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _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 = 2573;BA.debugLine="Log(total)"; +Debug.ShouldStop(4096); +c_cliente.__c.runVoidMethod ("LogImpl","58060951",_total,0); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 2575;BA.debugLine="l_montoabonostotal.Text = total"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_montoabonostotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_total)); + BA.debugLineNum = 2576;BA.debugLine="d.Close"; +Debug.ShouldStop(32768); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2577;BA.debugLine="f.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 2579;BA.debugLine="Else If j.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2580;BA.debugLine="p_abono.Visible = True"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 2581;BA.debugLine="et_abono.text = j.GetString(\"a_abono\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))); + BA.debugLineNum = 2582;BA.debugLine="Dim total As String = 0"; +Debug.ShouldStop(2097152); +_total = BA.NumberToString(0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 2583;BA.debugLine="f = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CUE"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA")))); + BA.debugLineNum = 2584;BA.debugLine="f.Position = 0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2586;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT NO"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))})))); + BA.debugLineNum = 2587;BA.debugLine="clv_abonos.Clear"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 2588;BA.debugLine="For i = 0 To d.RowCount - 1"; +Debug.ShouldStop(134217728); +{ +final int step33 = 1; +final int limit33 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*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 = 2589;BA.debugLine="d.Position = i"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2590;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_clv_abonos" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (SHARK2.keymon.com.mx.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 = 2591;BA.debugLine="Log(d.GetString(\"NOTA\"))"; +Debug.ShouldStop(1073741824); +c_cliente.__c.runVoidMethod ("LogImpl","58060969",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOTA"))),0); + BA.debugLineNum = 2592;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.runVoidMethod ("LogImpl","58060970",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),0); + BA.debugLineNum = 2593;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; +Debug.ShouldStop(1); +_total = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _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 = 2594;BA.debugLine="Log(total)"; +Debug.ShouldStop(2); +c_cliente.__c.runVoidMethod ("LogImpl","58060972",_total,0); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 2596;BA.debugLine="l_montoabonostotal.Text = total"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_montoabonostotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_total)); + BA.debugLineNum = 2597;BA.debugLine="d.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2598;BA.debugLine="f.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }} +; + BA.debugLineNum = 2601;BA.debugLine="h.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_h" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2602;BA.debugLine="j.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_j" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2605;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_cxc_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_cxc_LongClick (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2887); +if (RapidSub.canDelegate("b_cxc_longclick")) { return __ref.runUserSub(false, "c_cliente","b_cxc_longclick", __ref);} + BA.debugLineNum = 2887;BA.debugLine="Private Sub b_cxc_LongClick"; +Debug.ShouldStop(64); + BA.debugLineNum = 2889;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_e_next_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_E_NEXT_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2019); +if (RapidSub.canDelegate("b_e_next_click")) { return __ref.runUserSub(false, "c_cliente","b_e_next_click", __ref);} + BA.debugLineNum = 2019;BA.debugLine="Sub B_E_NEXT_Click"; +Debug.ShouldStop(4); + BA.debugLineNum = 2020;BA.debugLine="If E_RES_E.Text <> \"\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_e_res_e" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 2021;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +Debug.ShouldStop(16); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO) VALUES (?,?,?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_e_res_e" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(RemoteObject.createImmutable("DONDE"))}))))); + BA.debugLineNum = 2022;BA.debugLine="Panel2.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_panel2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2023;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(64); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }else { + BA.debugLineNum = 2025;BA.debugLine="Msgbox(\"SIN RESPUESTA\",\"AVISO\") 'Ignore"; +Debug.ShouldStop(256); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("SIN RESPUESTA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 2027;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_guarda_c_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_GUARDA_C_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1962); +if (RapidSub.canDelegate("b_guarda_c_click")) { return __ref.runUserSub(false, "c_cliente","b_guarda_c_click", __ref);} + BA.debugLineNum = 1962;BA.debugLine="Sub B_GUARDA_C_Click"; +Debug.ShouldStop(512); + BA.debugLineNum = 1963;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(1024); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1964;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(2048); +__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 = 1965;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(4096); +__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 = 1966;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 1967;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1968;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(32768); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 1969;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1970;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 1971;BA.debugLine="c.Position=0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1972;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(524288); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 1973;BA.debugLine="c.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1974;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(2097152); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {RemoteObject.createImmutable(("4")),RemoteObject.createImmutable((.01)),RemoteObject.createImmutable((.01)),RemoteObject.createImmutable((2)),RemoteObject.createImmutable(("KNORR RINDE MAS 70 GR")),RemoteObject.createImmutable(("GUNA2")),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 1975;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(4194304); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_FACE(HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN) VALUES (?,?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_i_compra" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 1976;BA.debugLine="Panel1.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_panel1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1978;BA.debugLine="Tar.Visible = True"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1979;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1981;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1983;BA.debugLine="Guardar.Visible = True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_guardar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1984;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_imp_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_IMP_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1148); +if (RapidSub.canDelegate("b_imp_click")) { return __ref.runUserSub(false, "c_cliente","b_imp_click", __ref);} + BA.debugLineNum = 1148;BA.debugLine="Sub B_IMP_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 1150;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTA")})))); + BA.debugLineNum = 1152;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 = 1154;BA.debugLine="imprime_venta"; +Debug.ShouldStop(2); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_imprime_venta" /*void*/ ); + BA.debugLineNum = 1155;BA.debugLine="t1.Initialize(\"T1\", 5000) ' 5 segundos de espera"; +Debug.ShouldStop(4); +__ref.getField(false,"_t1" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("T1")),(Object)(BA.numberCast(long.class, 5000))); + BA.debugLineNum = 1156;BA.debugLine="t1.Enabled = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + }else { + BA.debugLineNum = 1159;BA.debugLine="s = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE"; +Debug.ShouldStop(64); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE (PE_FOLIO = ? OR PE_FOLIO = ?) AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("PREVENTA_CONTADO"),RemoteObject.createImmutable("PREVENTA_CREDITO")})))); + BA.debugLineNum = 1161;BA.debugLine="If s.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1163;BA.debugLine="imprime_preventa"; +Debug.ShouldStop(1024); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_imprime_preventa" /*void*/ ); + }else { + BA.debugLineNum = 1166;BA.debugLine="Msgbox(\"No hay registros de venta o preventa pa"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("No hay registros de venta o preventa para imprimir")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Aviso"))),__ref.getField(false, "ba")); + }; + }; + BA.debugLineNum = 1169;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1170;BA.debugLine="If s <> Null Then s.Close"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("N",__ref.getField(false,"_s" /*RemoteObject*/ ))) { +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close");}; + BA.debugLineNum = 1171;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_mapa_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_mapa_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1144); +if (RapidSub.canDelegate("b_mapa_click")) { return __ref.runUserSub(false, "c_cliente","b_mapa_click", __ref);} + BA.debugLineNum = 1144;BA.debugLine="Sub b_mapa_Click"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 1145;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; +Debug.ShouldStop(16777216); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("mapas"))); + BA.debugLineNum = 1146;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_ubicar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_ubicar_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2891); +if (RapidSub.canDelegate("b_ubicar_click")) { return __ref.runUserSub(false, "c_cliente","b_ubicar_click", __ref);} + BA.debugLineNum = 2891;BA.debugLine="Private Sub b_ubicar_Click"; +Debug.ShouldStop(1024); + BA.debugLineNum = 2892;BA.debugLine="StartActivity(MAPA_CLIENTE)"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_cliente._mapa_cliente.getObject()))); + BA.debugLineNum = 2893;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_venta_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_venta_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1986); +if (RapidSub.canDelegate("b_venta_click")) { return __ref.runUserSub(false, "c_cliente","b_venta_click", __ref);} + BA.debugLineNum = 1986;BA.debugLine="Sub b_venta_Click"; +Debug.ShouldStop(2); + BA.debugLineNum = 1987;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(4); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1988;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(8); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1989;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(16); +__ref.setField ("_stime" /*RemoteObject*/ ,c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 2017;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_venta_credito_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_venta_credito_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,656); +if (RapidSub.canDelegate("b_venta_credito_click")) { return __ref.runUserSub(false, "c_cliente","b_venta_credito_click", __ref);} + BA.debugLineNum = 656;BA.debugLine="Private Sub b_venta_credito_Click"; +Debug.ShouldStop(32768); + BA.debugLineNum = 657;BA.debugLine="If la_cuenta.Text = \"0\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 658;BA.debugLine="B4XPages.MainPage.tipo_venta = \"ABORDO\""; +Debug.ShouldStop(131072); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("ABORDO")); + }else +{ BA.debugLineNum = 659;BA.debugLine="Else If la_cuenta.Text = \"1\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("1"))) { + BA.debugLineNum = 660;BA.debugLine="B4XPages.MainPage.tipo_venta = \"RECARGA\""; +Debug.ShouldStop(524288); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("RECARGA")); + }else { + BA.debugLineNum = 662;BA.debugLine="B4XPages.MainPage.tipo_venta = \"PREVENTA_CREDITO"; +Debug.ShouldStop(2097152); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("PREVENTA_CREDITO")); + }} +; + BA.debugLineNum = 664;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(8388608); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + BA.debugLineNum = 665;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_ventaabordo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_ventaabordo_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2688); +if (RapidSub.canDelegate("b_ventaabordo_click")) { return __ref.runUserSub(false, "c_cliente","b_ventaabordo_click", __ref);} + BA.debugLineNum = 2688;BA.debugLine="Private Sub b_ventaabordo_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 2690;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select * Fro"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select * From CAT_GUNAPROD2 where cat_gp_tipo <> ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PROMOS")})))); + BA.debugLineNum = 2691;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 = 2695;BA.debugLine="B4XPages.MainPage.tipo_venta = \"VENTA\""; +Debug.ShouldStop(64); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("VENTA")); + BA.debugLineNum = 2730;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(512); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + }else +{ BA.debugLineNum = 2733;BA.debugLine="Else If c.RowCount = 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2735;BA.debugLine="MsgboxAsync(\"No puedes hacer venta porque no tie"; +Debug.ShouldStop(16384); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No puedes hacer venta porque no tienes inventario abordo")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }} +; + BA.debugLineNum = 2739;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,253); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_cliente","b4xpage_appear", __ref);} +RemoteObject _cabonos = RemoteObject.createImmutable(""); +RemoteObject _factura = RemoteObject.createImmutable(""); +RemoteObject _cor_al = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _geo = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _credi2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _credi3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _total = RemoteObject.createImmutable(""); +int _i = 0; + BA.debugLineNum = 253;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 255;BA.debugLine="Guardar.Enabled = True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_guardar" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 256;BA.debugLine="gest.Enabled = True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 257;BA.debugLine="b_cxc.Enabled = True"; +Debug.ShouldStop(1); +__ref.getField(false,"_b_cxc" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 258;BA.debugLine="Tar.Enabled = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 259;BA.debugLine="Tels.Enabled = True"; +Debug.ShouldStop(4); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 260;BA.debugLine="b_ventaabordo.Enabled = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_b_ventaabordo" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 262;BA.debugLine="HIST.Enabled = True"; +Debug.ShouldStop(32); +__ref.getField(false,"_hist" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 263;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; +Debug.ShouldStop(64); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_cliente._starter._dbreqserver /*RemoteObject*/ )); + BA.debugLineNum = 264;BA.debugLine="LA_GPS.TextColor = Colors.Red"; +Debug.ShouldStop(128); +__ref.getField(false,"_la_gps" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 265;BA.debugLine="LA_GPS.Text = \"SIN UBICACION GPS\""; +Debug.ShouldStop(256); +__ref.getField(false,"_la_gps" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SIN UBICACION GPS")); + BA.debugLineNum = 266;BA.debugLine="cercavalor = 0"; +Debug.ShouldStop(512); +__ref.setField ("_cercavalor" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 267;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(1024); +if (c_cliente.__c.runMethod(true,"Not",(Object)(c_cliente._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 268;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_cliente.__c.getField(true,"True"))); + BA.debugLineNum = 269;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(4096); +c_cliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_cliente._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 272;BA.debugLine="cb_factura.Checked = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_cb_factura" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 273;BA.debugLine="p_abono.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 274;BA.debugLine="Subs.centraPanel(p_abono, Root.Width)"; +Debug.ShouldStop(131072); +c_cliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_abono" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 275;BA.debugLine="Subs.centraPanel(p_atiende, Root.Width)"; +Debug.ShouldStop(262144); +c_cliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_atiende" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 276;BA.debugLine="Subs.centraPanel(p_giro, Root.Width)"; +Debug.ShouldStop(524288); +c_cliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_giro" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 277;BA.debugLine="Subs.centraPanel(p_credito, Root.Width)"; +Debug.ShouldStop(1048576); +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 = 278;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_cliente.__c.getField(true,"True"))); + BA.debugLineNum = 279;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, CAT_CL_GIRO from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa) UNION ALL select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, CAT_CL_GIRO from kmt_info2 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 280;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"Select SUM(PE"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select SUM(PE_COSTO_TOT) As TOTAL_CLIE, SUM(PE_CANT) As CANT_CLIE, PC_FACTURA FROM PEDIDO_CLIENTE INNER JOIN PEDIDO ON PEDIDO_CLIENTE.PC_CLIENTE = PEDIDO.PE_CLIENTE WHERE (PE_CLIENTE IN (Select cuenta from cuentaa))")))); + BA.debugLineNum = 281;BA.debugLine="b = B4XPages.MainPage.skmt.ExecQuery(\"select COUN"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 282;BA.debugLine="b.Position = 0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 283;BA.debugLine="Dim cabonos As String = b.GetString(\"CLIENTE\")"; +Debug.ShouldStop(67108864); +_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 = 284;BA.debugLine="If cabonos = 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_cabonos,BA.NumberToString(0))) { + BA.debugLineNum = 285;BA.debugLine="b_cxc.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_b_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + BA.debugLineNum = 287;BA.debugLine="b_cxc.Visible = True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_b_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }; + BA.debugLineNum = 290;BA.debugLine="s.Position=0"; +Debug.ShouldStop(2); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 291;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 = 292;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 293;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(16); +__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 = 294;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(32); +__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 = 295;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \""; +Debug.ShouldStop(64); +__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))),RemoteObject.createImmutable(" "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOEXT")))))); + BA.debugLineNum = 296;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; +Debug.ShouldStop(128); +__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 = 297;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; +Debug.ShouldStop(256); +__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 = 298;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; +Debug.ShouldStop(512); +__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 = 299;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; +Debug.ShouldStop(1024); +__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 = 300;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1"))))); + BA.debugLineNum = 301;BA.debugLine="l_giro.Text = c.GetString(\"CAT_CL_GIRO\")"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_giro" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_GIRO"))))); + BA.debugLineNum = 302;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; +Debug.ShouldStop(8192); +__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 = 303;BA.debugLine="TELEFONO = c.GetString(\"CAT_CL_TELEFONO\")"; +Debug.ShouldStop(16384); +__ref.setField ("_telefono" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TELEFONO")))); + BA.debugLineNum = 304;BA.debugLine="l_total.Text = s.GetString(\"TOTAL_CLIE\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))); + BA.debugLineNum = 305;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; +Debug.ShouldStop(65536); +__ref.setField ("_total_cliente" /*RemoteObject*/ ,__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))); + BA.debugLineNum = 306;BA.debugLine="Private factura As String = 0"; +Debug.ShouldStop(131072); +_factura = BA.NumberToString(0);Debug.locals.put("factura", _factura);Debug.locals.put("factura", _factura); + BA.debugLineNum = 307;BA.debugLine="If s.GetString(\"PC_FACTURA\") <> Null And IsNumbe"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("N",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FACTURA")))) && RemoteObject.solveBoolean(".",c_cliente.__c.runMethod(true,"IsNumber",(Object)(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FACTURA"))))))) { +_factura = __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FACTURA")));Debug.locals.put("factura", _factura);}; + BA.debugLineNum = 308;BA.debugLine="If factura = \"1\" Then cb_factura.Checked = True"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_factura,BA.ObjectToString("1"))) { +__ref.getField(false,"_cb_factura" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_cliente.__c.getField(true,"True"));}; + BA.debugLineNum = 309;BA.debugLine="m_lat = \"0\""; +Debug.ShouldStop(1048576); +__ref.setField ("_m_lat" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 310;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat =c"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))),BA.ObjectToString(""))) { +__ref.setField ("_m_lat" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))));}; + BA.debugLineNum = 311;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\""; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_m_lat" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 5))) { +__ref.setField ("_m_lat" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 312;BA.debugLine="m_lon = \"0\""; +Debug.ShouldStop(8388608); +__ref.setField ("_m_lon" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 313;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon ="; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))),BA.ObjectToString(""))) { +__ref.setField ("_m_lon" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))));}; + BA.debugLineNum = 314;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\""; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_m_lon" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 5))) { +__ref.setField ("_m_lon" /*RemoteObject*/ ,BA.ObjectToString("0"));}; + BA.debugLineNum = 315;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(67108864); +__ref.setField ("_la_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 317;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\""; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO"))),BA.ObjectToString("0"))) { + BA.debugLineNum = 318;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SIN CODIGO")); + BA.debugLineNum = 319;BA.debugLine="L_QR.TextColor = Colors.Red"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 321;BA.debugLine="gest.VISIBLE = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 322;BA.debugLine="BT_QR.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_bt_qr" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }else { + BA.debugLineNum = 324;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISICO"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO"))))); + BA.debugLineNum = 325;BA.debugLine="L_QR.TextColor = Colors.Blue"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 326;BA.debugLine="BT_QR.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_bt_qr" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }; + }; + BA.debugLineNum = 330;BA.debugLine="Dim cor_al As Cursor = Starter.skmt.ExecQuery(\"SE"; +Debug.ShouldStop(512); +_cor_al = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cor_al = 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 LAT, LONG FROM COORDS_ALMACEN"))));Debug.locals.put("cor_al", _cor_al);Debug.locals.put("cor_al", _cor_al); + BA.debugLineNum = 331;BA.debugLine="If cor_al.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_cor_al.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 332;BA.debugLine="cor_al.Position = 0"; +Debug.ShouldStop(2048); +_cor_al.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 333;BA.debugLine="m_lat_al = cor_al.GetString(\"LAT\")"; +Debug.ShouldStop(4096); +__ref.setField ("_m_lat_al" /*RemoteObject*/ ,_cor_al.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LAT")))); + BA.debugLineNum = 334;BA.debugLine="m_lon_al = cor_al.GetString(\"LONG\")"; +Debug.ShouldStop(8192); +__ref.setField ("_m_lon_al" /*RemoteObject*/ ,_cor_al.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LONG")))); + }; + BA.debugLineNum = 337;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 338;BA.debugLine="s.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 339;BA.debugLine="S2=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +Debug.ShouldStop(262144); +__ref.getField(false,"_s2" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) AS CUANTOS from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 340;BA.debugLine="S2.Position =0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_s2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 341;BA.debugLine="CUANTOS = S2.GetString(\"CUANTOS\")"; +Debug.ShouldStop(1048576); +__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_s2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 342;BA.debugLine="S2.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_s2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 343;BA.debugLine="If CUANTOS > 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_cuantos" /*RemoteObject*/ )),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 344;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(HVD_COSTO_TOT) AS TOTAL from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 345;BA.debugLine="c2.Position =0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 346;BA.debugLine="MONTO_COMPRA = c2.GetString(\"TOTAL\")"; +Debug.ShouldStop(33554432); +__ref.setField ("_monto_compra" /*RemoteObject*/ ,__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))); + BA.debugLineNum = 347;BA.debugLine="c2.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 349;BA.debugLine="MONTO_COMPRA = \"0\""; +Debug.ShouldStop(268435456); +__ref.setField ("_monto_compra" /*RemoteObject*/ ,BA.ObjectToString("0")); + }; + BA.debugLineNum = 352;BA.debugLine="la_saldotot.Text = MONTO_COMPRA"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_la_saldotot" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_monto_compra" /*RemoteObject*/ ))); + BA.debugLineNum = 353;BA.debugLine="If MONTO_COMPRA <> \"0\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_monto_compra" /*RemoteObject*/ ),BA.ObjectToString("0"))) { + BA.debugLineNum = 354;BA.debugLine="META2 = 300 - MONTO_COMPRA"; +Debug.ShouldStop(2); +__ref.setField ("_meta2" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(300),BA.numberCast(double.class, __ref.getField(true,"_monto_compra" /*RemoteObject*/ ))}, "-",1, 0))); + }else { + BA.debugLineNum = 356;BA.debugLine="META2 = 300"; +Debug.ShouldStop(8); +__ref.setField ("_meta2" /*RemoteObject*/ ,BA.NumberToString(300)); + }; + BA.debugLineNum = 358;BA.debugLine="If META2 < 1 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(true,"_meta2" /*RemoteObject*/ )),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 359;BA.debugLine="META2 = \"CUBIERTO\""; +Debug.ShouldStop(64); +__ref.setField ("_meta2" /*RemoteObject*/ ,BA.ObjectToString("CUBIERTO")); + }; + BA.debugLineNum = 361;BA.debugLine="la_saldooper.Text = META2"; +Debug.ShouldStop(256); +__ref.getField(false,"_la_saldooper" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_meta2" /*RemoteObject*/ ))); + BA.debugLineNum = 362;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 363;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 = 364;BA.debugLine="C.Position=0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 365;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(4096); +__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))); + }; + BA.debugLineNum = 367;BA.debugLine="c.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 369;BA.debugLine="Dim geo As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(65536); +_geo = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_geo = 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 ACTIVA FROM GEOCERCA"))));Debug.locals.put("geo", _geo);Debug.locals.put("geo", _geo); + BA.debugLineNum = 370;BA.debugLine="If geo.RowCount > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",_geo.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 371;BA.debugLine="geo.Position = 0"; +Debug.ShouldStop(262144); +_geo.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 372;BA.debugLine="If geo.GetInt(\"ACTIVA\") = 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_geo.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("ACTIVA"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 373;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 375;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 376;BA.debugLine="Else If geo.GetInt(\"ACTIVA\") = 1 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_geo.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("ACTIVA"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 377;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 378;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }; + BA.debugLineNum = 388;BA.debugLine="If ALMACEN = \"4\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("4"))) { + BA.debugLineNum = 390;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU"; +Debug.ShouldStop(32); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("KNORR RINDE MAS 70 GR")})))); + BA.debugLineNum = 391;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(64); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 392;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { + BA.debugLineNum = 393;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("KNORR RINDE MAS 70 GR")})))); + BA.debugLineNum = 394;BA.debugLine="c.Position =0"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 400;BA.debugLine="c.Close"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + }; + BA.debugLineNum = 404;BA.debugLine="DD.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + }; + BA.debugLineNum = 408;BA.debugLine="If ALMACEN = \"16\" Or ALMACEN = \"13\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("16")) || RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("13"))) { + BA.debugLineNum = 409;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 411;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }; + BA.debugLineNum = 413;BA.debugLine="CallSubDelayed(Tracker, \"Track\")"; +Debug.ShouldStop(268435456); +c_cliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_cliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("Track"))); + BA.debugLineNum = 414;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +Debug.ShouldStop(536870912); +c_cliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_cliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLPSmall"))); + BA.debugLineNum = 415;BA.debugLine="If Tracker.FLP.IsInitialized And Tracker.FLP.GetL"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(".",c_cliente._tracker._flp /*RemoteObject*/ .runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",c_cliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 416;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(-2147483648); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(c_cliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude"))); + BA.debugLineNum = 417;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(1); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(c_cliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude"))); + BA.debugLineNum = 419;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; +Debug.ShouldStop(4); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_gps_locationchanged" /*RemoteObject*/ ,(Object)(c_cliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation"))); + }; + BA.debugLineNum = 436;BA.debugLine="If la_cuenta.Text = \"0\" Or la_cuenta.Text = \"1\" T"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("1"))) { + BA.debugLineNum = 437;BA.debugLine="p_cbFactura.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_cbfactura" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 438;BA.debugLine="l_factura.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_factura" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 439;BA.debugLine="b_ventaabordo.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_b_ventaabordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 440;BA.debugLine="gest.Visible = True"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }else { + BA.debugLineNum = 443;BA.debugLine="p_cbFactura.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_p_cbfactura" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 445;BA.debugLine="l_factura.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_factura" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 446;BA.debugLine="b_ventaabordo.Visible = True"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_b_ventaabordo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + }; + BA.debugLineNum = 451;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("MACIMP")})))); + BA.debugLineNum = 452;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 = 453;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 454;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; +Debug.ShouldStop(32); +c_cliente._starter._mac_impresora /*RemoteObject*/ = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))); + }; + BA.debugLineNum = 456;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",c_cliente._starter._mac_impresora /*RemoteObject*/ ,BA.ObjectToString(""))) { +c_cliente._starter._mac_impresora /*RemoteObject*/ = BA.ObjectToString("0");}; + BA.debugLineNum = 458;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(RemoteObject.createImmutable("Printer1"))); + BA.debugLineNum = 460;BA.debugLine="If Printer1.IsConnected = False Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ),c_cliente.__c.getField(true,"False"))) { + }else { + BA.debugLineNum = 464;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 465;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 466;BA.debugLine="Log(\"2\")"; +Debug.ShouldStop(131072); +c_cliente.__c.runVoidMethod ("LogImpl","54718805",RemoteObject.createImmutable("2"),0); + }; + BA.debugLineNum = 469;BA.debugLine="pre_act = Subs.traeTotalClientepreventaparacredit"; +Debug.ShouldStop(1048576); +__ref.setField ("_pre_act" /*RemoteObject*/ ,BA.numberCast(float.class, c_cliente._subs.runMethod(true,"_traetotalclientepreventaparacredito" /*RemoteObject*/ ,__ref.getField(false, "ba")))); + BA.debugLineNum = 473;BA.debugLine="Private credi2 As Cursor = B4XPages.MainPage.skmt"; +Debug.ShouldStop(16777216); +_credi2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_credi2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_CODIGO, Ifnull(SALDO_PENDIENTE,0) As SALDO_PENDIENTE, Ifnull(CAT_CL_LIMITECREDITO,0) As CAT_CL_LIMITECREDITO FROM KMT_INFO LEFT JOIN ABONOSP ON CAT_CL_CODIGO = CLIENTE WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_BCREDITO, CAT_CL_CODIGO, Ifnull(SALDO_PENDIENTE,0) As SALDO_PENDIENTE, Ifnull(CAT_CL_LIMITECREDITO,0) As CAT_CL_LIMITECREDITO FROM KMT_INFO2 LEFT JOIN ABONOSP ON CAT_CL_CODIGO = CLIENTE WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("credi2", _credi2);Debug.locals.put("credi2", _credi2); + BA.debugLineNum = 474;BA.debugLine="Log(credi2.RowCount)"; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethod ("LogImpl","54718813",BA.NumberToString(_credi2.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 475;BA.debugLine="If credi2.RowCount > 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",_credi2.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 476;BA.debugLine="credi2.Position = 0"; +Debug.ShouldStop(134217728); +_credi2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 477;BA.debugLine="credito_diponible = credi2.GetString (\"CAT_CL_LI"; +Debug.ShouldStop(268435456); +__ref.setField ("_credito_diponible" /*RemoteObject*/ ,_credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LIMITECREDITO")))); + BA.debugLineNum = 478;BA.debugLine="Log(credi2.GetString (\"CAT_CL_BCREDITO\"))"; +Debug.ShouldStop(536870912); +c_cliente.__c.runVoidMethod ("LogImpl","54718817",_credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),0); + BA.debugLineNum = 479;BA.debugLine="If credi2.GetString (\"CAT_CL_BCREDITO\") = \"1\" Th"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),BA.ObjectToString("1"))) { + BA.debugLineNum = 480;BA.debugLine="Log(credi2.GetString(\"SALDO_PENDIENTE\"))"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.runVoidMethod ("LogImpl","54718819",_credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),0); + BA.debugLineNum = 481;BA.debugLine="If credi2.GetString(\"SALDO_PENDIENTE\") > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 483;BA.debugLine="Private credi3 As Cursor = B4XPages.MainPage.s"; +Debug.ShouldStop(4); +_credi3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_credi3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO2 INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("credi3", _credi3);Debug.locals.put("credi3", _credi3); + BA.debugLineNum = 484;BA.debugLine="If credi3.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_credi3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 485;BA.debugLine="credi3.Position = 0"; +Debug.ShouldStop(16); +_credi3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 486;BA.debugLine="Dim total As String = 0"; +Debug.ShouldStop(32); +_total = BA.NumberToString(0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 487;BA.debugLine="For i = 0 To credi2.RowCount - 1"; +Debug.ShouldStop(64); +{ +final int step177 = 1; +final int limit177 = RemoteObject.solve(new RemoteObject[] {_credi2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step177 > 0 && _i <= limit177) || (step177 < 0 && _i >= limit177) ;_i = ((int)(0 + _i + step177)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 488;BA.debugLine="credi2.Position = i"; +Debug.ShouldStop(128); +_credi2.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 489;BA.debugLine="Log(credi2.GetString(\"SALDO_PENDIENTE\"))"; +Debug.ShouldStop(256); +c_cliente.__c.runVoidMethod ("LogImpl","54718828",_credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),0); + BA.debugLineNum = 490;BA.debugLine="total = total + credi2.GetString(\"SALDO_PEND"; +Debug.ShouldStop(512); +_total = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total),BA.numberCast(double.class, _credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))))}, "+",1, 0));Debug.locals.put("total", _total); + BA.debugLineNum = 491;BA.debugLine="Log(total)"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("LogImpl","54718830",_total,0); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 493;BA.debugLine="If NumberFormat2(total,1,2,2,False) <> Number"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("!",c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))),c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _credi3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))))) { + BA.debugLineNum = 494;BA.debugLine="MsgboxAsync(\"La venta sera en efectivo porqu"; +Debug.ShouldStop(8192); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("La venta sera en efectivo porque el pago del pagare es menor al total de la deuda.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 495;BA.debugLine="b_venta_credito.Visible = False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_b_venta_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 496;BA.debugLine="Else If credi2.GetString (\"SALDO_PENDIENTE\")"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),_credi3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))) { + BA.debugLineNum = 497;BA.debugLine="Log(\"AQUI ESTOY SI VISIBLE BOTON\")"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("LogImpl","54718836",RemoteObject.createImmutable("AQUI ESTOY SI VISIBLE BOTON"),0); + BA.debugLineNum = 498;BA.debugLine="b_venta_credito.Visible = False ''' AQUI ACT"; +Debug.ShouldStop(131072); +__ref.getField(false,"_b_venta_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }else { + BA.debugLineNum = 501;BA.debugLine="MsgboxAsync(\"La venta sera en efectivo por qu"; +Debug.ShouldStop(1048576); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("La venta sera en efectivo por que hay un pagare pendiente de pago")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 502;BA.debugLine="b_venta_credito.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_b_venta_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }; + BA.debugLineNum = 504;BA.debugLine="credi3.Close"; +Debug.ShouldStop(8388608); +_credi3.runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 505;BA.debugLine="Else If credi2.GetString(\"SALDO_PENDIENTE\") = 0"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),BA.NumberToString(0))) { + BA.debugLineNum = 506;BA.debugLine="b_venta_credito.Visible = False '' AQUI ACTIV"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_b_venta_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }} +; + }else { + BA.debugLineNum = 510;BA.debugLine="Log(1)"; +Debug.ShouldStop(536870912); +c_cliente.__c.runVoidMethod ("LogImpl","54718849",BA.NumberToString(1),0); + BA.debugLineNum = 511;BA.debugLine="b_venta_credito.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_b_venta_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 512;BA.debugLine="If credi2.GetString(\"SALDO_PENDIENTE\") > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 513;BA.debugLine="Private credi3 As Cursor = B4XPages.MainPage.s"; +Debug.ShouldStop(1); +_credi3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_credi3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO2 INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("credi3", _credi3);Debug.locals.put("credi3", _credi3); + BA.debugLineNum = 514;BA.debugLine="If credi3.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_credi3.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 515;BA.debugLine="credi3.Position = 0"; +Debug.ShouldStop(4); +_credi3.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 517;BA.debugLine="Dim total As String = 0"; +Debug.ShouldStop(16); +_total = BA.NumberToString(0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 518;BA.debugLine="For i = 0 To credi2.RowCount - 1"; +Debug.ShouldStop(32); +{ +final int step206 = 1; +final int limit206 = RemoteObject.solve(new RemoteObject[] {_credi2.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step206 > 0 && _i <= limit206) || (step206 < 0 && _i >= limit206) ;_i = ((int)(0 + _i + step206)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 519;BA.debugLine="credi2.Position = i"; +Debug.ShouldStop(64); +_credi2.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 520;BA.debugLine="Log(credi2.GetString(\"SALDO_PENDIENTE\"))"; +Debug.ShouldStop(128); +c_cliente.__c.runVoidMethod ("LogImpl","54718859",_credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),0); + BA.debugLineNum = 521;BA.debugLine="total = total + credi2.GetString(\"SALDO_PEND"; +Debug.ShouldStop(256); +_total = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _total),BA.numberCast(double.class, _credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))))}, "+",1, 0));Debug.locals.put("total", _total); + BA.debugLineNum = 522;BA.debugLine="Log(total)"; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethod ("LogImpl","54718861",_total,0); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 524;BA.debugLine="If NumberFormat2(total,1,2,2,False) <> Number"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("!",c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _total)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))),c_cliente.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _credi3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_cliente.__c.getField(true,"False"))))) { + BA.debugLineNum = 525;BA.debugLine="MsgboxAsync(\"La venta sera en efectivo porqu"; +Debug.ShouldStop(4096); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("La venta sera en efectivo porque el pago del pagare es menor al total de la deuda.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 526;BA.debugLine="Else If credi2.GetString (\"SALDO_PENDIENTE\")"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),_credi3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono"))))) { + }} +; + }else { + BA.debugLineNum = 529;BA.debugLine="MsgboxAsync(\"La venta sera en efectivo por qu"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("La venta sera en efectivo por que hay un pagare pendiente de pago")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 531;BA.debugLine="credi3.Close"; +Debug.ShouldStop(262144); +_credi3.runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 532;BA.debugLine="Else If credi2.GetString(\"SALDO_PENDIENTE\") = 0"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_credi2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE"))),BA.NumberToString(0))) { + }} +; + }; + }; + BA.debugLineNum = 537;BA.debugLine="credi2.Close"; +Debug.ShouldStop(16777216); +_credi2.runVoidMethod ("Close"); + BA.debugLineNum = 538;BA.debugLine="If la_cuenta.Text = \"0\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 539;BA.debugLine="gest.Text = \"Abordo\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Abordo")); + BA.debugLineNum = 540;BA.debugLine="B4XPages.MainPage.recarga = \"0\""; +Debug.ShouldStop(134217728); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_recarga" /*RemoteObject*/ ,BA.ObjectToString("0")); + }else +{ BA.debugLineNum = 541;BA.debugLine="Else If la_cuenta.Text = \"1\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("1"))) { + BA.debugLineNum = 542;BA.debugLine="gest.Text = \"Recarga\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Recarga")); + BA.debugLineNum = 543;BA.debugLine="B4XPages.MainPage.recarga = \"1\""; +Debug.ShouldStop(1073741824); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_recarga" /*RemoteObject*/ ,BA.ObjectToString("1")); + }else { + BA.debugLineNum = 546;BA.debugLine="gest.Text = \"Preventa\""; +Debug.ShouldStop(2); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Preventa")); + BA.debugLineNum = 547;BA.debugLine="B4XPages.MainPage.recarga = \"0\""; +Debug.ShouldStop(4); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_recarga" /*RemoteObject*/ ,BA.ObjectToString("0")); + }} +; + BA.debugLineNum = 549;BA.debugLine="LogColor(B4XPages.MainPage.recarga,Colors.Blue)"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","54718888",c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_recarga" /*RemoteObject*/ ),c_cliente.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 553;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,671); +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(SHARK2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_cliente parent; +RemoteObject _resultado1 = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,671); +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 = 675;BA.debugLine="If Starter.pre_viejo = pre_act Then"; +Debug.ShouldStop(4); +if (true) break; + +case 1: +//if +this.state = 32; +if (RemoteObject.solveBoolean("=",parent._starter._pre_viejo /*RemoteObject*/ ,BA.numberCast(double.class, __ref.getField(true,"_pre_act" /*RemoteObject*/ )))) { +this.state = 3; +}else { +this.state = 27; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 676;BA.debugLine="If (la_cuenta.Text <> \"0\" And la_cuenta.Text <>"; +Debug.ShouldStop(8); +if (true) break; + +case 4: +//if +this.state = 25; +if ((RemoteObject.solveBoolean("!",__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0")) && RemoteObject.solveBoolean("!",__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("1")))) { +this.state = 6; +}else { +this.state = 24; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 677;BA.debugLine="If banderaimp = 1 Then"; +Debug.ShouldStop(16); +if (true) break; + +case 7: +//if +this.state = 22; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { +this.state = 9; +}else { +this.state = 11; +}if (true) break; + +case 9: +//C +this.state = 22; + if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 679;BA.debugLine="cuest.encuestaIniciada = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).setField ("_encuestainiciada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + BA.debugLineNum = 680;BA.debugLine="cuest.ocultPanelPregunta"; +Debug.ShouldStop(128); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_ocultpanelpregunta" /*RemoteObject*/ ); + BA.debugLineNum = 681;BA.debugLine="If IsNumber(l_total.text) And Not(Subs.pedidoG"; +Debug.ShouldStop(256); +if (true) break; + +case 12: +//if +this.state = 21; +if (RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"IsNumber",(Object)(__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText")))) && RemoteObject.solveBoolean(".",parent.__c.runMethod(true,"Not",(Object)(parent._subs.runMethod(true,"_pedidoguardado" /*RemoteObject*/ ,__ref.getField(false, "ba")))))) { +this.state = 14; +}if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 682;BA.debugLine="LogColor(\"Hay Venta\", Colors.Red)"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("LogImpl","55111819",BA.ObjectToString("Hay Venta"),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 683;BA.debugLine="Private resultado1 As Int = Msgbox2($\"Va sali"; +Debug.ShouldStop(1024); +_resultado1 = parent.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Va salir sin haber guardado la venta, si continua, la venta se BORRARA."),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)((parent.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("¿Esta seguro que desea continuar?"))))),(Object)(BA.ObjectToCharSequence("SE VA A BORRAR LA VENTA")),(Object)(BA.ObjectToString("Borrar Venta")),(Object)(BA.ObjectToString("Guardar Venta")),(Object)(BA.ObjectToString("")),(Object)((parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba"));Debug.locals.put("resultado1", _resultado1);Debug.locals.put("resultado1", _resultado1); + BA.debugLineNum = 684;BA.debugLine="If resultado1 = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(2048); +if (true) break; + +case 15: +//if +this.state = 20; +if (RemoteObject.solveBoolean("=",_resultado1,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 17; +}else +{ BA.debugLineNum = 690;BA.debugLine="else if resultado1=DialogResponse.CANCEL Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_resultado1,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"CANCEL")))) { +this.state = 19; +}} +if (true) break; + +case 17: +//C +this.state = 20; + BA.debugLineNum = 685;BA.debugLine="Log(\"Borrra venta\")"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("LogImpl","55111822",RemoteObject.createImmutable("Borrra venta"),0); + BA.debugLineNum = 686;BA.debugLine="Subs.borraPedidoClienteActual"; +Debug.ShouldStop(8192); +parent._subs.runVoidMethod ("_borrapedidoclienteactual" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 687;BA.debugLine="ToastMessageShow(\"Venta Borrada\", False)"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Venta Borrada")),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 689;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(65536); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + if (true) break; + +case 19: +//C +this.state = 20; + BA.debugLineNum = 691;BA.debugLine="Log(\"Pedido guardado\")"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","55111828",RemoteObject.createImmutable("Pedido guardado"),0); + BA.debugLineNum = 692;BA.debugLine="Guardar_Click"; +Debug.ShouldStop(524288); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_guardar_click" /*void*/ ); + BA.debugLineNum = 693;BA.debugLine="ToastMessageShow(\"Venta Guardada\", False)"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Venta Guardada")),(Object)(parent.__c.getField(true,"False"))); + if (true) break; + +case 20: +//C +this.state = 21; +; + if (true) break; + +case 21: +//C +this.state = 22; +; + BA.debugLineNum = 697;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +Debug.ShouldStop(16777216); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes"))); + if (true) break; + +case 22: +//C +this.state = 25; +; + if (true) break; + +case 24: +//C +this.state = 25; + if (true) break; + +case 25: +//C +this.state = 32; +; + if (true) break; + +case 27: +//C +this.state = 28; + BA.debugLineNum = 706;BA.debugLine="If B4XPages.MainPage.recarga = \"1\" Then"; +Debug.ShouldStop(2); +if (true) break; + +case 28: +//if +this.state = 31; +if (RemoteObject.solveBoolean("=",parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_recarga" /*RemoteObject*/ ),BA.ObjectToString("1"))) { +this.state = 30; +}if (true) break; + +case 30: +//C +this.state = 31; + BA.debugLineNum = 707;BA.debugLine="B4XPages.ShowPage(\"login\")"; +Debug.ShouldStop(4); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("login"))); + if (true) break; + +case 31: +//C +this.state = 32; +; + if (true) break; + +case 32: +//C +this.state = -1; +; + BA.debugLineNum = 712;BA.debugLine="Return False"; +Debug.ShouldStop(128); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 713;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,183); +if (RapidSub.canDelegate("b4xpage_created")) { __ref.runUserSub(false, "c_cliente","b4xpage_created", __ref, _root1); return;} +ResumableSub_B4XPage_Created rsub = new ResumableSub_B4XPage_Created(null,__ref,_root1); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_Created extends BA.ResumableSub { +public ResumableSub_B4XPage_Created(SHARK2.keymon.com.mx.c_cliente parent,RemoteObject __ref,RemoteObject _root1) { +this.parent = parent; +this.__ref = __ref; +this._root1 = _root1; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_cliente parent; +RemoteObject _root1; +RemoteObject _cabonos = RemoteObject.createImmutable(""); +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _resultc = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,183); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 184;BA.debugLine="Root = Root1"; +Debug.ShouldStop(8388608); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 187;BA.debugLine="Root.LoadLayout(\"cliente\")"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("cliente")),__ref.getField(false, "ba")); + BA.debugLineNum = 188;BA.debugLine="cuest.Initialize(Me, \"cuest\", Root, Starter.skmt)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(BA.ObjectToString("cuest")),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ )),(Object)(parent._starter._skmt /*RemoteObject*/ )); + BA.debugLineNum = 189;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(268435456); +__ref.setField ("_ruta" /*RemoteObject*/ ,parent.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 190;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(536870912); +if (true) break; + +case 1: +//if +this.state = 4; +if (RemoteObject.solveBoolean("=",parent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),parent.__c.getField(true,"False"))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 191;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(1073741824); +parent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + if (true) break; + +case 4: +//C +this.state = 5; +; + BA.debugLineNum = 193;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +Debug.ShouldStop(1); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(BA.ObjectToString("kmt.db")),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 194;BA.debugLine="c = skmt.ExecQuery(\"select CAT_CL_CODIGO,CAT_CL_R"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA, CAT_CL_GIRO from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 195;BA.debugLine="s = skmt.ExecQuery(\"select sum(pe_costo_tot) as T"; +Debug.ShouldStop(4); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 196;BA.debugLine="b = skmt.ExecQuery(\"select COUNT(*) AS CLIENTE FR"; +Debug.ShouldStop(8); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 197;BA.debugLine="b.Position = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 198;BA.debugLine="Dim cabonos As String = b.GetString(\"CLIENTE\")"; +Debug.ShouldStop(32); +_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 = 199;BA.debugLine="If cabonos = 0 Then"; +Debug.ShouldStop(64); +if (true) break; + +case 5: +//if +this.state = 10; +if (RemoteObject.solveBoolean("=",_cabonos,BA.NumberToString(0))) { +this.state = 7; +}else { +this.state = 9; +}if (true) break; + +case 7: +//C +this.state = 10; + BA.debugLineNum = 200;BA.debugLine="b_cxc.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_b_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 202;BA.debugLine="b_cxc.Visible = True"; +Debug.ShouldStop(512); +__ref.getField(false,"_b_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 10: +//C +this.state = 11; +; + BA.debugLineNum = 205;BA.debugLine="s.Position=0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 206;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(8192); +if (true) break; + +case 11: +//if +this.state = 14; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 13; +}if (true) break; + +case 13: +//C +this.state = 14; + BA.debugLineNum = 207;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 208;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(32768); +__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 = 209;BA.debugLine="cuenta = c.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(65536); +__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))); + BA.debugLineNum = 210;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(131072); +__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 = 211;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c."; +Debug.ShouldStop(262144); +__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 = 212;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; +Debug.ShouldStop(524288); +__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 = 213;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; +Debug.ShouldStop(1048576); +__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 = 215;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_entre1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE1"))))); + BA.debugLineNum = 216;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_entre2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE2"))))); + BA.debugLineNum = 217;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_atiende" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_ATIENDE1"))))); + BA.debugLineNum = 218;BA.debugLine="l_giro.Text = c.GetString(\"CAT_CL_GIRO\")"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_giro" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_GIRO"))))); + BA.debugLineNum = 219;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; +Debug.ShouldStop(67108864); +__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 = 220;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\""; +Debug.ShouldStop(134217728); +__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 = 221;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; +Debug.ShouldStop(268435456); +__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 = 222;BA.debugLine="l_total.Text = s.GetString(\"TOTAL_CLIE\")"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))); + BA.debugLineNum = 223;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; +Debug.ShouldStop(1073741824); +__ref.setField ("_total_cliente" /*RemoteObject*/ ,__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))); + BA.debugLineNum = 224;BA.debugLine="MONTO_COMPRA = c.GetString(\"CAT_CL_MTOCOMPRA\")"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_monto_compra" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_MTOCOMPRA")))); + if (true) break; + +case 14: +//C +this.state = -1; +; + BA.debugLineNum = 226;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 227;BA.debugLine="s.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 228;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_btadmin" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("BlueTeeth"))); + BA.debugLineNum = 229;BA.debugLine="cmp20.Initialize(\"Printer\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("Printer"))); + BA.debugLineNum = 230;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(32); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_CAMERA"))); + BA.debugLineNum = 231;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b4xpage_created"), null); +this.state = 15; +return; +case 15: +//C +this.state = -1; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission); +_resultc = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("resultC", _resultc); +; + BA.debugLineNum = 232;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(128); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_WRITE_EXTERNAL_STORAGE"))); + BA.debugLineNum = 233;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "b4xpage_created"), null); +this.state = 16; +return; +case 16: +//C +this.state = -1; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission); +_resultc = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("resultC", _resultc); +; + BA.debugLineNum = 249;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _b4xpage_permissionresult(RemoteObject __ref,RemoteObject _permission,RemoteObject _resultc) throws Exception{ +} +public static RemoteObject _bt_qr_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("BT_QR_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1086); +if (RapidSub.canDelegate("bt_qr_click")) { return __ref.runUserSub(false, "c_cliente","bt_qr_click", __ref);} + BA.debugLineNum = 1086;BA.debugLine="Sub BT_QR_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 1094;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _calc_ean_checksum(RemoteObject __ref,RemoteObject _number) throws Exception{ +try { + Debug.PushSubsStack("calc_ean_checksum (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1129); +if (RapidSub.canDelegate("calc_ean_checksum")) { return __ref.runUserSub(false, "c_cliente","calc_ean_checksum", __ref, _number);} +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _co = RemoteObject.createImmutable('\0'); +RemoteObject _soma = RemoteObject.createImmutable(0); +RemoteObject _n = RemoteObject.createImmutable(0); +RemoteObject _digit = RemoteObject.createImmutable(0f); +Debug.locals.put("number", _number); + BA.debugLineNum = 1129;BA.debugLine="Sub calc_ean_checksum(number As String) As String"; +Debug.ShouldStop(256); + BA.debugLineNum = 1130;BA.debugLine="Dim i As Int"; +Debug.ShouldStop(512); +_i = RemoteObject.createImmutable(0);Debug.locals.put("i", _i); + BA.debugLineNum = 1131;BA.debugLine="Dim cO As Char"; +Debug.ShouldStop(1024); +_co = RemoteObject.createImmutable('\0');Debug.locals.put("cO", _co); + BA.debugLineNum = 1132;BA.debugLine="Dim soma As Int"; +Debug.ShouldStop(2048); +_soma = RemoteObject.createImmutable(0);Debug.locals.put("soma", _soma); + BA.debugLineNum = 1133;BA.debugLine="Dim n As Int"; +Debug.ShouldStop(4096); +_n = RemoteObject.createImmutable(0);Debug.locals.put("n", _n); + BA.debugLineNum = 1134;BA.debugLine="Dim digit As Float"; +Debug.ShouldStop(8192); +_digit = RemoteObject.createImmutable(0f);Debug.locals.put("digit", _digit); + BA.debugLineNum = 1135;BA.debugLine="soma = 0"; +Debug.ShouldStop(16384); +_soma = BA.numberCast(int.class, 0);Debug.locals.put("soma", _soma); + BA.debugLineNum = 1136;BA.debugLine="For i=0 To number.Length - 1"; +Debug.ShouldStop(32768); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_number.runMethod(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = BA.numberCast(int.class, 0) ; +for (;(step7 > 0 && _i.get().intValue() <= limit7) || (step7 < 0 && _i.get().intValue() >= limit7) ;_i = RemoteObject.createImmutable((int)(0 + _i.get().intValue() + step7)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1137;BA.debugLine="digit = number.SubString2(i,i+1)"; +Debug.ShouldStop(65536); +_digit = BA.numberCast(float.class, _number.runMethod(true,"substring",(Object)(_i),(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(1)}, "+",1, 1))));Debug.locals.put("digit", _digit); + BA.debugLineNum = 1138;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)"; +Debug.ShouldStop(131072); +_n = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_digit,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(2)}, "%",0, 1)),RemoteObject.createImmutable(2),RemoteObject.createImmutable(1)}, "*+",1, 1))}, "*",0, 0));Debug.locals.put("n", _n); + BA.debugLineNum = 1139;BA.debugLine="soma=soma+n"; +Debug.ShouldStop(262144); +_soma = RemoteObject.solve(new RemoteObject[] {_soma,_n}, "+",1, 1);Debug.locals.put("soma", _soma); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1141;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10"; +Debug.ShouldStop(1048576); +if (true) return RemoteObject.concat(_number,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(10),(RemoteObject.solve(new RemoteObject[] {_soma,RemoteObject.createImmutable(10)}, "%",0, 1))}, "-",1, 1)),RemoteObject.createImmutable(10)}, "%",0, 1))); + BA.debugLineNum = 1142;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_factura_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("cb_factura_CheckedChange (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2076); +if (RapidSub.canDelegate("cb_factura_checkedchange")) { return __ref.runUserSub(false, "c_cliente","cb_factura_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 2076;BA.debugLine="Private Sub cb_factura_CheckedChange(Checked As Bo"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 2078;BA.debugLine="If Checked Then p_cbFactura.Color = Colors.Green"; +Debug.ShouldStop(536870912); +if (_checked.get().booleanValue()) { +__ref.getField(false,"_p_cbfactura" /*RemoteObject*/ ).runVoidMethod ("setColor",c_cliente.__c.getField(false,"Colors").getField(true,"Green"));} +else { +__ref.getField(false,"_p_cbfactura" /*RemoteObject*/ ).runVoidMethod ("setColor",c_cliente.__c.getField(false,"Colors").getField(true,"Red"));}; + BA.debugLineNum = 2079;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cb_giro_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_giro_SelectedIndexChanged (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,3018); +if (RapidSub.canDelegate("cb_giro_selectedindexchanged")) { return __ref.runUserSub(false, "c_cliente","cb_giro_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 3018;BA.debugLine="Private Sub cb_giro_SelectedIndexChanged (Index As"; +Debug.ShouldStop(512); + BA.debugLineNum = 3019;BA.debugLine="giros = cb_giro.SelectedItem"; +Debug.ShouldStop(1024); +__ref.setField ("_giros" /*RemoteObject*/ ,__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )); + BA.debugLineNum = 3020;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 = 5;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 6;BA.debugLine="Private Root As B4XView 'ignore"; +c_cliente._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_cliente._root); + //BA.debugLineNum = 7;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 = 8;BA.debugLine="Private p_cliente As Panel"; +c_cliente._p_cliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_cliente",c_cliente._p_cliente); + //BA.debugLineNum = 9;BA.debugLine="Dim reqManager As DBRequestManager"; +c_cliente._reqmanager = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager");__ref.setField("_reqmanager",c_cliente._reqmanager); + //BA.debugLineNum = 10;BA.debugLine="Dim cmd As DBCommand"; +c_cliente._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_cliente._cmd); + //BA.debugLineNum = 11;BA.debugLine="Dim ime As IME"; +c_cliente._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",c_cliente._ime); + //BA.debugLineNum = 12;BA.debugLine="Dim credito_diponible As String"; +c_cliente._credito_diponible = RemoteObject.createImmutable("");__ref.setField("_credito_diponible",c_cliente._credito_diponible); + //BA.debugLineNum = 13;BA.debugLine="Dim g As GPS"; +c_cliente._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_cliente._g); + //BA.debugLineNum = 14;BA.debugLine="Dim ruta As String"; +c_cliente._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_cliente._ruta); + //BA.debugLineNum = 15;BA.debugLine="Dim skmt As SQL"; +c_cliente._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",c_cliente._skmt); + //BA.debugLineNum = 16;BA.debugLine="Dim clie_id As String"; +c_cliente._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_cliente._clie_id); + //BA.debugLineNum = 17;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 = 18;BA.debugLine="Dim usuario As String"; +c_cliente._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_cliente._usuario); + //BA.debugLineNum = 19;BA.debugLine="Dim total_cliente As String"; +c_cliente._total_cliente = RemoteObject.createImmutable("");__ref.setField("_total_cliente",c_cliente._total_cliente); + //BA.debugLineNum = 20;BA.debugLine="Dim m_lat, m_lon As String"; +c_cliente._m_lat = RemoteObject.createImmutable("");__ref.setField("_m_lat",c_cliente._m_lat); +c_cliente._m_lon = RemoteObject.createImmutable("");__ref.setField("_m_lon",c_cliente._m_lon); + //BA.debugLineNum = 21;BA.debugLine="Dim m_lat_al, m_lon_al As String"; +c_cliente._m_lat_al = RemoteObject.createImmutable("");__ref.setField("_m_lat_al",c_cliente._m_lat_al); +c_cliente._m_lon_al = RemoteObject.createImmutable("");__ref.setField("_m_lon_al",c_cliente._m_lon_al); + //BA.debugLineNum = 22;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +c_cliente._btadmin = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial.BluetoothAdmin");__ref.setField("_btadmin",c_cliente._btadmin); + //BA.debugLineNum = 23;BA.debugLine="Dim cmp20 As Serial"; +c_cliente._cmp20 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial");__ref.setField("_cmp20",c_cliente._cmp20); + //BA.debugLineNum = 24;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 = 25;BA.debugLine="Dim PairedDevices As Map"; +c_cliente._paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_paireddevices",c_cliente._paireddevices); + //BA.debugLineNum = 26;BA.debugLine="Dim L As List"; +c_cliente._l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_l",c_cliente._l); + //BA.debugLineNum = 27;BA.debugLine="Dim TAMANO As Int"; +c_cliente._tamano = RemoteObject.createImmutable(0);__ref.setField("_tamano",c_cliente._tamano); + //BA.debugLineNum = 28;BA.debugLine="Dim ESPACIO As Int"; +c_cliente._espacio = RemoteObject.createImmutable(0);__ref.setField("_espacio",c_cliente._espacio); + //BA.debugLineNum = 29;BA.debugLine="Dim BLANCO As String"; +c_cliente._blanco = RemoteObject.createImmutable("");__ref.setField("_blanco",c_cliente._blanco); + //BA.debugLineNum = 30;BA.debugLine="Dim cuenta As String"; +c_cliente._cuenta = RemoteObject.createImmutable("");__ref.setField("_cuenta",c_cliente._cuenta); + //BA.debugLineNum = 31;BA.debugLine="Dim tipo_venta As String = \"PREVENTA\""; +c_cliente._tipo_venta = BA.ObjectToString("PREVENTA");__ref.setField("_tipo_venta",c_cliente._tipo_venta); + //BA.debugLineNum = 32;BA.debugLine="Dim MAC_IMPRESORA As String"; +c_cliente._mac_impresora = RemoteObject.createImmutable("");__ref.setField("_mac_impresora",c_cliente._mac_impresora); + //BA.debugLineNum = 33;BA.debugLine="Dim Printer1 As EscPosPrinter"; +c_cliente._printer1 = RemoteObject.createNew ("SHARK2.keymon.com.mx.escposprinter");__ref.setField("_printer1",c_cliente._printer1); + //BA.debugLineNum = 34;BA.debugLine="Dim c As Cursor"; +c_cliente._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_cliente._c); + //BA.debugLineNum = 35;BA.debugLine="Dim s As Cursor"; +c_cliente._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_cliente._s); + //BA.debugLineNum = 36;BA.debugLine="Dim DD As Cursor"; +c_cliente._dd = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_dd",c_cliente._dd); + //BA.debugLineNum = 37;BA.debugLine="Dim c2 As Cursor"; +c_cliente._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",c_cliente._c2); + //BA.debugLineNum = 38;BA.debugLine="Dim ListView1 As ListView"; +c_cliente._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_cliente._listview1); + //BA.debugLineNum = 39;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 = 40;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 = 41;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 = 42;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 = 43;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 = 44;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 = 45;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 = 46;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 = 47;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 = 48;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 = 49;BA.debugLine="Dim gest As Button"; +c_cliente._gest = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_gest",c_cliente._gest); + //BA.debugLineNum = 50;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 = 51;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 = 52;BA.debugLine="Dim impresoraConectada As Boolean = False"; +c_cliente._impresoraconectada = c_cliente.__c.getField(true,"False");__ref.setField("_impresoraconectada",c_cliente._impresoraconectada); + //BA.debugLineNum = 53;BA.debugLine="Dim Tels As Button"; +c_cliente._tels = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_tels",c_cliente._tels); + //BA.debugLineNum = 54;BA.debugLine="Dim Label10 As Label"; +c_cliente._label10 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label10",c_cliente._label10); + //BA.debugLineNum = 55;BA.debugLine="Dim Label11 As Label"; +c_cliente._label11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label11",c_cliente._label11); + //BA.debugLineNum = 56;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +c_cliente._btadmin = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial.BluetoothAdmin");__ref.setField("_btadmin",c_cliente._btadmin); + //BA.debugLineNum = 57;BA.debugLine="Dim Tar As Button"; +c_cliente._tar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_tar",c_cliente._tar); + //BA.debugLineNum = 58;BA.debugLine="Dim errorImpresora As Int = 0"; +c_cliente._errorimpresora = BA.numberCast(int.class, 0);__ref.setField("_errorimpresora",c_cliente._errorimpresora); + //BA.debugLineNum = 59;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 = 60;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 = 61;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 = 62;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 = 63;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 = 64;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 = 65;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 = 66;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 = 67;BA.debugLine="Dim DATOS As Button"; +c_cliente._datos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_datos",c_cliente._datos); + //BA.debugLineNum = 68;BA.debugLine="Dim Guardar As Button"; +c_cliente._guardar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_guardar",c_cliente._guardar); + //BA.debugLineNum = 69;BA.debugLine="Dim NUEVO As Button"; +c_cliente._nuevo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_nuevo",c_cliente._nuevo); + //BA.debugLineNum = 72;BA.debugLine="Dim l_total As Label"; +c_cliente._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_cliente._l_total); + //BA.debugLineNum = 73;BA.debugLine="Dim c2 As Cursor"; +c_cliente._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",c_cliente._c2); + //BA.debugLineNum = 74;BA.debugLine="Dim S2 As Cursor"; +c_cliente._s2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s2",c_cliente._s2); + //BA.debugLineNum = 75;BA.debugLine="Private s As Cursor"; +c_cliente._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_cliente._s); + //BA.debugLineNum = 76;BA.debugLine="Dim res As String"; +c_cliente._res = RemoteObject.createImmutable("");__ref.setField("_res",c_cliente._res); + //BA.debugLineNum = 77;BA.debugLine="Dim Credi As Cursor"; +c_cliente._credi = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_credi",c_cliente._credi); + //BA.debugLineNum = 78;BA.debugLine="Private HIST As Button"; +c_cliente._hist = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_hist",c_cliente._hist); + //BA.debugLineNum = 79;BA.debugLine="Private MONTO_COMPRA As String"; +c_cliente._monto_compra = RemoteObject.createImmutable("");__ref.setField("_monto_compra",c_cliente._monto_compra); + //BA.debugLineNum = 80;BA.debugLine="Private META As String"; +c_cliente._meta = RemoteObject.createImmutable("");__ref.setField("_meta",c_cliente._meta); + //BA.debugLineNum = 81;BA.debugLine="Private META2 As String"; +c_cliente._meta2 = RemoteObject.createImmutable("");__ref.setField("_meta2",c_cliente._meta2); + //BA.debugLineNum = 82;BA.debugLine="Private VERIFICA As String"; +c_cliente._verifica = RemoteObject.createImmutable("");__ref.setField("_verifica",c_cliente._verifica); + //BA.debugLineNum = 83;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 = 84;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 = 86;BA.debugLine="Dim CODIGO As String"; +c_cliente._codigo = RemoteObject.createImmutable("");__ref.setField("_codigo",c_cliente._codigo); + //BA.debugLineNum = 88;BA.debugLine="Private b_mapa As Button"; +c_cliente._b_mapa = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_mapa",c_cliente._b_mapa); + //BA.debugLineNum = 89;BA.debugLine="Dim CUANTOS As String"; +c_cliente._cuantos = RemoteObject.createImmutable("");__ref.setField("_cuantos",c_cliente._cuantos); + //BA.debugLineNum = 90;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 = 91;BA.debugLine="Dim Toggla As Toggle"; +c_cliente._toggla = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_toggla",c_cliente._toggla); + //BA.debugLineNum = 92;BA.debugLine="Dim tgl As Toggle"; +c_cliente._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_cliente._tgl); + //BA.debugLineNum = 93;BA.debugLine="Dim pre_act As Float"; +c_cliente._pre_act = RemoteObject.createImmutable(0f);__ref.setField("_pre_act",c_cliente._pre_act); + //BA.debugLineNum = 95;BA.debugLine="Private Panel1 As Panel"; +c_cliente._panel1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel1",c_cliente._panel1); + //BA.debugLineNum = 96;BA.debugLine="Private I_COMPRA As EditText"; +c_cliente._i_compra = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_i_compra",c_cliente._i_compra); + //BA.debugLineNum = 97;BA.debugLine="Private B_GUARDA_C As Button"; +c_cliente._b_guarda_c = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_guarda_c",c_cliente._b_guarda_c); + //BA.debugLineNum = 98;BA.debugLine="Private b_venta As Button"; +c_cliente._b_venta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_venta",c_cliente._b_venta); + //BA.debugLineNum = 99;BA.debugLine="Dim ALMACEN As String"; +c_cliente._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_cliente._almacen); + //BA.debugLineNum = 100;BA.debugLine="Private LA_GPS As Label"; +c_cliente._la_gps = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_gps",c_cliente._la_gps); + //BA.debugLineNum = 101;BA.debugLine="Private B_E_NEXT As Button"; +c_cliente._b_e_next = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_e_next",c_cliente._b_e_next); + //BA.debugLineNum = 102;BA.debugLine="Private E_RES_E As EditText"; +c_cliente._e_res_e = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_e_res_e",c_cliente._e_res_e); + //BA.debugLineNum = 103;BA.debugLine="Private t_tenc As Label"; +c_cliente._t_tenc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_t_tenc",c_cliente._t_tenc); + //BA.debugLineNum = 104;BA.debugLine="Private Panel2 As Panel"; +c_cliente._panel2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel2",c_cliente._panel2); + //BA.debugLineNum = 105;BA.debugLine="Private CONTADOR_E As String"; +c_cliente._contador_e = RemoteObject.createImmutable("");__ref.setField("_contador_e",c_cliente._contador_e); + //BA.debugLineNum = 106;BA.debugLine="Private HR_RES1 As String"; +c_cliente._hr_res1 = RemoteObject.createImmutable("");__ref.setField("_hr_res1",c_cliente._hr_res1); + //BA.debugLineNum = 107;BA.debugLine="Private HR_RES2 As String"; +c_cliente._hr_res2 = RemoteObject.createImmutable("");__ref.setField("_hr_res2",c_cliente._hr_res2); + //BA.debugLineNum = 108;BA.debugLine="Private HR_RES3 As String"; +c_cliente._hr_res3 = RemoteObject.createImmutable("");__ref.setField("_hr_res3",c_cliente._hr_res3); + //BA.debugLineNum = 109;BA.debugLine="Private EXISTE As String"; +c_cliente._existe = RemoteObject.createImmutable("");__ref.setField("_existe",c_cliente._existe); + //BA.debugLineNum = 110;BA.debugLine="Private TELEFONO As String"; +c_cliente._telefono = RemoteObject.createImmutable("");__ref.setField("_telefono",c_cliente._telefono); + //BA.debugLineNum = 111;BA.debugLine="Dim t1 As Timer"; +c_cliente._t1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t1",c_cliente._t1); + //BA.debugLineNum = 112;BA.debugLine="Private RB1 As RadioButton"; +c_cliente._rb1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb1",c_cliente._rb1); + //BA.debugLineNum = 113;BA.debugLine="Private RB2 As RadioButton"; +c_cliente._rb2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb2",c_cliente._rb2); + //BA.debugLineNum = 114;BA.debugLine="Private RB3 As RadioButton"; +c_cliente._rb3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb3",c_cliente._rb3); + //BA.debugLineNum = 115;BA.debugLine="Private RB4 As RadioButton"; +c_cliente._rb4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb4",c_cliente._rb4); + //BA.debugLineNum = 116;BA.debugLine="Private RB5 As RadioButton"; +c_cliente._rb5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_rb5",c_cliente._rb5); + //BA.debugLineNum = 118;BA.debugLine="Private stay_hh As String"; +c_cliente._stay_hh = RemoteObject.createImmutable("");__ref.setField("_stay_hh",c_cliente._stay_hh); + //BA.debugLineNum = 119;BA.debugLine="Private stay_mi As String"; +c_cliente._stay_mi = RemoteObject.createImmutable("");__ref.setField("_stay_mi",c_cliente._stay_mi); + //BA.debugLineNum = 120;BA.debugLine="Private stay_ss As String"; +c_cliente._stay_ss = RemoteObject.createImmutable("");__ref.setField("_stay_ss",c_cliente._stay_ss); + //BA.debugLineNum = 122;BA.debugLine="Private LA_GEO As Label"; +c_cliente._la_geo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_la_geo",c_cliente._la_geo); + //BA.debugLineNum = 123;BA.debugLine="Dim result As Int"; +c_cliente._result = RemoteObject.createImmutable(0);__ref.setField("_result",c_cliente._result); + //BA.debugLineNum = 124;BA.debugLine="Private cercavalor As String"; +c_cliente._cercavalor = RemoteObject.createImmutable("");__ref.setField("_cercavalor",c_cliente._cercavalor); + //BA.debugLineNum = 125;BA.debugLine="Private LA_RUTA As String"; +c_cliente._la_ruta = RemoteObject.createImmutable("");__ref.setField("_la_ruta",c_cliente._la_ruta); + //BA.debugLineNum = 127;BA.debugLine="Private b_like As Button"; +c_cliente._b_like = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_like",c_cliente._b_like); + //BA.debugLineNum = 128;BA.debugLine="Private B_GPS As Button"; +c_cliente._b_gps = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_gps",c_cliente._b_gps); + //BA.debugLineNum = 130;BA.debugLine="Dim CODIGO As String"; +c_cliente._codigo = RemoteObject.createImmutable("");__ref.setField("_codigo",c_cliente._codigo); + //BA.debugLineNum = 131;BA.debugLine="Private cb_factura As CheckBox"; +c_cliente._cb_factura = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper");__ref.setField("_cb_factura",c_cliente._cb_factura); + //BA.debugLineNum = 132;BA.debugLine="Private p_cbFactura As Panel"; +c_cliente._p_cbfactura = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_cbfactura",c_cliente._p_cbfactura); + //BA.debugLineNum = 133;BA.debugLine="Dim venimosDeTicketsDia As Boolean = False"; +c_cliente._venimosdeticketsdia = c_cliente.__c.getField(true,"False");__ref.setField("_venimosdeticketsdia",c_cliente._venimosdeticketsdia); + //BA.debugLineNum = 134;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 = 135;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 = 136;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 = 137;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 = 138;BA.debugLine="Private b_abono1 As Button"; +c_cliente._b_abono1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_abono1",c_cliente._b_abono1); + //BA.debugLineNum = 139;BA.debugLine="Dim b As Cursor"; +c_cliente._b = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_b",c_cliente._b); + //BA.debugLineNum = 140;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 = 141;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 = 142;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 = 143;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 = 144;BA.debugLine="Dim d As Cursor"; +c_cliente._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_cliente._d); + //BA.debugLineNum = 145;BA.debugLine="Dim f As Cursor"; +c_cliente._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",c_cliente._f); + //BA.debugLineNum = 146;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 = 147;BA.debugLine="Dim j As Cursor"; +c_cliente._j = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_j",c_cliente._j); + //BA.debugLineNum = 148;BA.debugLine="Dim h As Cursor"; +c_cliente._h = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_h",c_cliente._h); + //BA.debugLineNum = 149;BA.debugLine="Dim distance As Long"; +c_cliente._distance = RemoteObject.createImmutable(0L);__ref.setField("_distance",c_cliente._distance); + //BA.debugLineNum = 150;BA.debugLine="Dim distance2 As Long"; +c_cliente._distance2 = RemoteObject.createImmutable(0L);__ref.setField("_distance2",c_cliente._distance2); + //BA.debugLineNum = 151;BA.debugLine="Dim cuest As C_Cuestionario"; +c_cliente._cuest = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_cuestionario");__ref.setField("_cuest",c_cliente._cuest); + //BA.debugLineNum = 152;BA.debugLine="Private b_ventaabordo As Button"; +c_cliente._b_ventaabordo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ventaabordo",c_cliente._b_ventaabordo); + //BA.debugLineNum = 153;BA.debugLine="Private l_factura As Label"; +c_cliente._l_factura = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_factura",c_cliente._l_factura); + //BA.debugLineNum = 154;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 = 155;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 = 156;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 = 157;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 = 158;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 = 159;BA.debugLine="Dim banderaimp As Int = 0"; +c_cliente._banderaimp = BA.numberCast(int.class, 0);__ref.setField("_banderaimp",c_cliente._banderaimp); + //BA.debugLineNum = 161;BA.debugLine="Dim k1,k2,k3 As String"; +c_cliente._k1 = RemoteObject.createImmutable("");__ref.setField("_k1",c_cliente._k1); +c_cliente._k2 = RemoteObject.createImmutable("");__ref.setField("_k2",c_cliente._k2); +c_cliente._k3 = RemoteObject.createImmutable("");__ref.setField("_k3",c_cliente._k3); + //BA.debugLineNum = 162;BA.debugLine="Private b_ubicar As Button"; +c_cliente._b_ubicar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ubicar",c_cliente._b_ubicar); + //BA.debugLineNum = 163;BA.debugLine="Private b_venta_credito As Button"; +c_cliente._b_venta_credito = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_venta_credito",c_cliente._b_venta_credito); + //BA.debugLineNum = 164;BA.debugLine="Private b_act_coords As Button"; +c_cliente._b_act_coords = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_act_coords",c_cliente._b_act_coords); + //BA.debugLineNum = 165;BA.debugLine="Private l_giro As Label"; +c_cliente._l_giro = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_giro",c_cliente._l_giro); + //BA.debugLineNum = 166;BA.debugLine="Private p_atiende As Panel"; +c_cliente._p_atiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_atiende",c_cliente._p_atiende); + //BA.debugLineNum = 167;BA.debugLine="Private et_atiende As EditText"; +c_cliente._et_atiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_atiende",c_cliente._et_atiende); + //BA.debugLineNum = 168;BA.debugLine="Private b_cancelatiende As Button"; +c_cliente._b_cancelatiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancelatiende",c_cliente._b_cancelatiende); + //BA.debugLineNum = 169;BA.debugLine="Private b_acepatiende As Button"; +c_cliente._b_acepatiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_acepatiende",c_cliente._b_acepatiende); + //BA.debugLineNum = 170;BA.debugLine="Private p_giro As Panel"; +c_cliente._p_giro = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_giro",c_cliente._p_giro); + //BA.debugLineNum = 171;BA.debugLine="Private cb_giro As B4XComboBox"; +c_cliente._cb_giro = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_giro",c_cliente._cb_giro); + //BA.debugLineNum = 172;BA.debugLine="Private b_cancelgiro As Button"; +c_cliente._b_cancelgiro = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_cancelgiro",c_cliente._b_cancelgiro); + //BA.debugLineNum = 173;BA.debugLine="Private b_acepgiro As Button"; +c_cliente._b_acepgiro = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_acepgiro",c_cliente._b_acepgiro); + //BA.debugLineNum = 174;BA.debugLine="Dim giros As String"; +c_cliente._giros = RemoteObject.createImmutable("");__ref.setField("_giros",c_cliente._giros); + //BA.debugLineNum = 175;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",4,__ref.getField(false, "ba"),__ref,2607); +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 = 2607;BA.debugLine="Sub CreateListItem(mostrar As String, mostrar1 As"; +Debug.ShouldStop(16384); + BA.debugLineNum = 2608;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(32768); +_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 = 2609;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 1, 10)"; +Debug.ShouldStop(65536); +_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 = 2610;BA.debugLine="p.LoadLayout(\"folioabono\")"; +Debug.ShouldStop(131072); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("folioabono")),__ref.getField(false, "ba")); + BA.debugLineNum = 2611;BA.debugLine="p.Height= 32dip"; +Debug.ShouldStop(262144); +_p.runMethod(true,"setHeight",c_cliente.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 32)))); + BA.debugLineNum = 2612;BA.debugLine="p.Width = 80dip"; +Debug.ShouldStop(524288); +_p.runMethod(true,"setWidth",c_cliente.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 80)))); + BA.debugLineNum = 2614;BA.debugLine="l_folio.Text = mostrar"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_folio" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_mostrar)); + BA.debugLineNum = 2615;BA.debugLine="l_saldo.Text = mostrar1"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_saldo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_mostrar1)); + BA.debugLineNum = 2618;BA.debugLine="Return p"; +Debug.ShouldStop(33554432); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _p.getObject()); + BA.debugLineNum = 2619;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cuest_preguntacontestada(RemoteObject __ref,RemoteObject _m) throws Exception{ +try { + Debug.PushSubsStack("cuest_preguntaContestada (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2621); +if (RapidSub.canDelegate("cuest_preguntacontestada")) { return __ref.runUserSub(false, "c_cliente","cuest_preguntacontestada", __ref, _m);} +Debug.locals.put("m", _m); + BA.debugLineNum = 2621;BA.debugLine="Sub cuest_preguntaContestada(m As Map)"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 2623;BA.debugLine="Log(m)"; +Debug.ShouldStop(1073741824); +c_cliente.__c.runVoidMethod ("LogImpl","58192002",BA.ObjectToString(_m),0); + BA.debugLineNum = 2626;BA.debugLine="m.Get(\"panel\").As(Panel).RemoveView 'Quitamos le"; +Debug.ShouldStop(2); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("panel")))))).runVoidMethod ("RemoveView"); + BA.debugLineNum = 2627;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(4); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 2628;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(8); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 2629;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from CUESTIONA"; +Debug.ShouldStop(16); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from CUESTIONARIO where Q_IDCLIENTE = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and Q_IDPREGUNTA = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idPregunta")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 2630;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into CUESTIONA"; +Debug.ShouldStop(32); +c_cliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into CUESTIONARIO (Q_RUTA, Q_ALMACEN, Q_IDCLIENTE, Q_IDPREGUNTA, Q_PREGUNTA, Q_IDRESPUESTA, Q_RESPUESTA, Q_FECHA) values ('"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idPregunta")))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pregunta")))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta")))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))))),RemoteObject.createImmutable("', '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))))),RemoteObject.createImmutable(" "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_cliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 2631;BA.debugLine="Select Case m.Get(\"idPregunta\")"; +Debug.ShouldStop(64); +switch (BA.switchObjectToInt(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idPregunta")))),RemoteObject.createImmutable(("1")),RemoteObject.createImmutable(("2")),RemoteObject.createImmutable(("3")),RemoteObject.createImmutable(("4")),RemoteObject.createImmutable(("5")),RemoteObject.createImmutable(("6")))) { +case 0: { + BA.debugLineNum = 2633;BA.debugLine="If m.Get(\"respuesta\") = \"No, está enrejado o no"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))),RemoteObject.createImmutable(("No, está enrejado o no se tiene acceso")))) { + BA.debugLineNum = 2634;BA.debugLine="Log(\"Tiendajon / Ventana / Kiosko\")"; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethod ("LogImpl","58192013",RemoteObject.createImmutable("Tiendajon / Ventana / Kiosko"),0); + BA.debugLineNum = 2635;BA.debugLine="ToastMessageShow(\"Tiendajon / Ventana / Kiosko"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Tiendajon / Ventana / Kiosko")),(Object)(c_cliente.__c.getField(true,"False"))); + BA.debugLineNum = 2636;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; +Debug.ShouldStop(2048); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_agregapregunta" /*RemoteObject*/ ,(Object)(BA.ObjectToString("6")),(Object)(BA.ObjectToString("¿Cuenta con caja de salida para cobro con sistema de computo?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("Si, tiene sistema de computo para cobro"),RemoteObject.createImmutable("No")}))))); + }else +{ BA.debugLineNum = 2637;BA.debugLine="Else if m.Get(\"respuesta\") = \"Si se pude accede"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))),RemoteObject.createImmutable(("Si se pude acceder")))) { + BA.debugLineNum = 2638;BA.debugLine="cuest.agregaPregunta(\"2\", \"¿Tiene al menos 2 p"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_agregapregunta" /*RemoteObject*/ ,(Object)(BA.ObjectToString("2")),(Object)(BA.ObjectToString("¿Tiene al menos 2 pasillos con acceso directo a la mercancía?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("Si tiene al menos 2 pasillos con acceso directo a la mercancía"),RemoteObject.createImmutable("No tiene pasillos o solo uno central")}))))); + }} +; + break; } +case 1: { + BA.debugLineNum = 2641;BA.debugLine="If m.Get(\"respuesta\") = \"Si tiene al menos 2 pa"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))),RemoteObject.createImmutable(("Si tiene al menos 2 pasillos con acceso directo a la mercancía")))) { + BA.debugLineNum = 2642;BA.debugLine="Log(\"Mini-Super\")"; +Debug.ShouldStop(131072); +c_cliente.__c.runVoidMethod ("LogImpl","58192021",RemoteObject.createImmutable("Mini-Super"),0); + BA.debugLineNum = 2643;BA.debugLine="ToastMessageShow(\"Mini-Super\", False)"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Mini-Super")),(Object)(c_cliente.__c.getField(true,"False"))); + BA.debugLineNum = 2644;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; +Debug.ShouldStop(524288); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_agregapregunta" /*RemoteObject*/ ,(Object)(BA.ObjectToString("6")),(Object)(BA.ObjectToString("¿Cuenta con caja de salida para cobro con sistema de computo?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("Si, tiene sistema de computo para cobro"),RemoteObject.createImmutable("No")}))))); + }else +{ BA.debugLineNum = 2645;BA.debugLine="else If m.Get(\"respuesta\") = \"No tiene pasillos"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))),RemoteObject.createImmutable(("No tiene pasillos o solo uno central")))) { + BA.debugLineNum = 2646;BA.debugLine="cuest.agregaPregunta(\"3\", \"¿Cuenta con enfriad"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_agregapregunta" /*RemoteObject*/ ,(Object)(BA.ObjectToString("3")),(Object)(BA.ObjectToString("¿Cuenta con enfriador horizontal para venta de perecederos como queso, jamon, crema, etc.?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("Si"),RemoteObject.createImmutable("No tiene enfriador horizontal.")}))))); + }} +; + break; } +case 2: { + BA.debugLineNum = 2649;BA.debugLine="Log(\"|\"&m.Get(\"respuesta\")&\"|\")"; +Debug.ShouldStop(16777216); +c_cliente.__c.runVoidMethod ("LogImpl","58192028",RemoteObject.concat(RemoteObject.createImmutable("|"),_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))),RemoteObject.createImmutable("|")),0); + BA.debugLineNum = 2650;BA.debugLine="If m.Get(\"respuesta\") = \"Si\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))),RemoteObject.createImmutable(("Si")))) { + BA.debugLineNum = 2651;BA.debugLine="Log(\"Miscelanea\")"; +Debug.ShouldStop(67108864); +c_cliente.__c.runVoidMethod ("LogImpl","58192030",RemoteObject.createImmutable("Miscelanea"),0); + BA.debugLineNum = 2652;BA.debugLine="ToastMessageShow(\"Miscelanea\", False)"; +Debug.ShouldStop(134217728); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Miscelanea")),(Object)(c_cliente.__c.getField(true,"False"))); + BA.debugLineNum = 2653;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_agregapregunta" /*RemoteObject*/ ,(Object)(BA.ObjectToString("6")),(Object)(BA.ObjectToString("¿Cuenta con caja de salida para cobro con sistema de computo?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("Si, tiene sistema de computo para cobro"),RemoteObject.createImmutable("No")}))))); + }else +{ BA.debugLineNum = 2654;BA.debugLine="else If m.Get(\"respuesta\") = \"No tiene enfriado"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))),RemoteObject.createImmutable(("No tiene enfriador horizontal.")))) { + BA.debugLineNum = 2655;BA.debugLine="cuest.agregaPregunta(\"4\", \"¿El local esta enfo"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_agregapregunta" /*RemoteObject*/ ,(Object)(BA.ObjectToString("4")),(Object)(BA.ObjectToString("¿El local esta enfocado a venta especializada?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("No"),RemoteObject.createImmutable("Si")}))))); + }} +; + break; } +case 3: { + BA.debugLineNum = 2658;BA.debugLine="If m.Get(\"respuesta\") = \"No\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))),RemoteObject.createImmutable(("No")))) { + BA.debugLineNum = 2659;BA.debugLine="Log(\"Abarrotera\")"; +Debug.ShouldStop(4); +c_cliente.__c.runVoidMethod ("LogImpl","58192038",RemoteObject.createImmutable("Abarrotera"),0); + BA.debugLineNum = 2660;BA.debugLine="ToastMessageShow(\"Abarrotera\", False)"; +Debug.ShouldStop(8); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Abarrotera")),(Object)(c_cliente.__c.getField(true,"False"))); + BA.debugLineNum = 2661;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; +Debug.ShouldStop(16); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_agregapregunta" /*RemoteObject*/ ,(Object)(BA.ObjectToString("6")),(Object)(BA.ObjectToString("¿Cuenta con caja de salida para cobro con sistema de computo?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("Si, tiene sistema de computo para cobro"),RemoteObject.createImmutable("No")}))))); + }else +{ BA.debugLineNum = 2662;BA.debugLine="else If m.Get(\"respuesta\") = \"Si\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))),RemoteObject.createImmutable(("Si")))) { + BA.debugLineNum = 2663;BA.debugLine="cuest.agregaPregunta(\"5\", \"¿Cual venta especia"; +Debug.ShouldStop(64); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_agregapregunta" /*RemoteObject*/ ,(Object)(BA.ObjectToString("5")),(Object)(BA.ObjectToString("¿Cual venta especializada?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {7},new Object[] {BA.ObjectToString("Carnicería / Pollería"),BA.ObjectToString("Cremería"),BA.ObjectToString("Depósito / Vinateria"),BA.ObjectToString("Dulcería"),BA.ObjectToString("Farmacia"),BA.ObjectToString("Fonda / Restaurante / Cafetería"),RemoteObject.createImmutable("Verdulería")}))))); + }} +; + break; } +case 4: { + BA.debugLineNum = 2666;BA.debugLine="Log(m.Get(\"respuesta\"))"; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethod ("LogImpl","58192045",BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta"))))),0); + BA.debugLineNum = 2667;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))))),(Object)(c_cliente.__c.getField(true,"False"))); + BA.debugLineNum = 2672;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; +Debug.ShouldStop(32768); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_agregapregunta" /*RemoteObject*/ ,(Object)(BA.ObjectToString("6")),(Object)(BA.ObjectToString("¿Cuenta con caja de salida para cobro con sistema de computo?")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("Si, tiene sistema de computo para cobro"),RemoteObject.createImmutable("No")}))))); + break; } +case 5: { + BA.debugLineNum = 2675;BA.debugLine="Log(m.Get(\"respuesta\"))"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethod ("LogImpl","58192054",BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta"))))),0); + BA.debugLineNum = 2676;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)"; +Debug.ShouldStop(524288); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("respuesta")))))),(Object)(c_cliente.__c.getField(true,"False"))); + BA.debugLineNum = 2677;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)"; +Debug.ShouldStop(1048576); +c_cliente.__c.runVoidMethod ("LogImpl","58192056",RemoteObject.concat(RemoteObject.createImmutable(">>>>>>>>>> "),__ref.getField(false,"_cuest" /*RemoteObject*/ ).getField(true,"_encuestainiciada" /*RemoteObject*/ )),0); + BA.debugLineNum = 2678;BA.debugLine="cuest.encuestaIniciada = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cuest" /*RemoteObject*/ ).setField ("_encuestainiciada" /*RemoteObject*/ ,c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 2679;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)"; +Debug.ShouldStop(4194304); +c_cliente.__c.runVoidMethod ("LogImpl","58192058",RemoteObject.concat(RemoteObject.createImmutable(">>>>>>>>>> "),__ref.getField(false,"_cuest" /*RemoteObject*/ ).getField(true,"_encuestainiciada" /*RemoteObject*/ )),0); + BA.debugLineNum = 2682;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_b4xpage_appear" /*RemoteObject*/ ); + break; } +} +; + BA.debugLineNum = 2685;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +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",4,__ref.getField(false, "ba"),__ref,723); +if (RapidSub.canDelegate("datos_click")) { return __ref.runUserSub(false, "c_cliente","datos_click", __ref);} + BA.debugLineNum = 723;BA.debugLine="Sub DATOS_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 724;BA.debugLine="B4XPages.ShowPage(\"telefonos\")"; +Debug.ShouldStop(524288); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("telefonos"))); + BA.debugLineNum = 725;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gest_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("gest_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,615); +if (RapidSub.canDelegate("gest_click")) { return __ref.runUserSub(false, "c_cliente","gest_click", __ref);} + BA.debugLineNum = 615;BA.debugLine="Sub gest_Click"; +Debug.ShouldStop(64); + BA.debugLineNum = 616;BA.debugLine="If la_cuenta.Text = \"0\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 617;BA.debugLine="B4XPages.MainPage.tipo_venta = \"ABORDO\""; +Debug.ShouldStop(256); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("ABORDO")); + }else +{ BA.debugLineNum = 618;BA.debugLine="Else If la_cuenta.Text = \"1\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("1"))) { + BA.debugLineNum = 619;BA.debugLine="B4XPages.MainPage.tipo_venta = \"RECARGA\""; +Debug.ShouldStop(1024); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("RECARGA")); + }else { + BA.debugLineNum = 621;BA.debugLine="B4XPages.MainPage.tipo_venta = \"PREVENTA_CONTADO"; +Debug.ShouldStop(4096); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("PREVENTA_CONTADO")); + }} +; + BA.debugLineNum = 653;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(4096); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + BA.debugLineNum = 654;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_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,555); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_cliente","gps_locationchanged", __ref, _location1);} +RemoteObject _l1 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +RemoteObject _l2 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +RemoteObject _l3 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +RemoteObject _geo = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 555;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(1024); + BA.debugLineNum = 557;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(".",c_cliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean("!",c_cliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 558;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(8192); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(c_cliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude"))); + BA.debugLineNum = 559;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(16384); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(c_cliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude"))); + }; + BA.debugLineNum = 563;BA.debugLine="Dim l1, l2,l3 As Location"; +Debug.ShouldStop(262144); +_l1 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("l1", _l1); +_l2 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("l2", _l2); +_l3 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper");Debug.locals.put("l3", _l3); + BA.debugLineNum = 564;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPage"; +Debug.ShouldStop(524288); +_l1.runVoidMethod ("Initialize2",(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(Object)(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))); + BA.debugLineNum = 566;BA.debugLine="l2.Initialize2(m_lat, m_lon)"; +Debug.ShouldStop(2097152); +_l2.runVoidMethod ("Initialize2",(Object)(__ref.getField(true,"_m_lat" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_m_lon" /*RemoteObject*/ ))); + BA.debugLineNum = 567;BA.debugLine="l3.Initialize2(m_lat_al,m_lon_al)"; +Debug.ShouldStop(4194304); +_l3.runVoidMethod ("Initialize2",(Object)(__ref.getField(true,"_m_lat_al" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_m_lon_al" /*RemoteObject*/ ))); + BA.debugLineNum = 568;BA.debugLine="BT_QR.Enabled = True"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_bt_qr" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 569;BA.debugLine="LA_GPS.TextColor = Colors.Blue"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_la_gps" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 570;BA.debugLine="LA_GPS.Text = \"CON UBICACION GPS\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_la_gps" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CON UBICACION GPS")); + BA.debugLineNum = 573;BA.debugLine="distance = l1.DistanceTo(l2) 'the result is i"; +Debug.ShouldStop(268435456); +__ref.setField ("_distance" /*RemoteObject*/ ,BA.numberCast(long.class, _l1.runMethod(true,"DistanceTo",(Object)((_l2.getObject()))))); + BA.debugLineNum = 574;BA.debugLine="distance2 = l1.DistanceTo(l3) 'the result is"; +Debug.ShouldStop(536870912); +__ref.setField ("_distance2" /*RemoteObject*/ ,BA.numberCast(long.class, _l1.runMethod(true,"DistanceTo",(Object)((_l3.getObject()))))); + BA.debugLineNum = 577;BA.debugLine="Dim geo As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(1); +_geo = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_geo = 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 ACTIVA FROM GEOCERCA"))));Debug.locals.put("geo", _geo);Debug.locals.put("geo", _geo); + BA.debugLineNum = 578;BA.debugLine="If geo.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_geo.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 579;BA.debugLine="geo.Position = 0"; +Debug.ShouldStop(4); +_geo.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 580;BA.debugLine="If geo.GetInt(\"ACTIVA\") = 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_geo.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("ACTIVA"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 581;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(16); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 583;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 584;BA.debugLine="Else If geo.GetInt(\"ACTIVA\") = 1 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_geo.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("ACTIVA"))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 585;BA.debugLine="If distance2 < 100 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_distance2" /*RemoteObject*/ ),BA.numberCast(long.class, 100))) { + BA.debugLineNum = 586;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; +Debug.ShouldStop(512); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 587;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(1024); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 589;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + BA.debugLineNum = 591;BA.debugLine="If distance < 50 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_distance" /*RemoteObject*/ ),BA.numberCast(long.class, 50))) { + BA.debugLineNum = 592;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; +Debug.ShouldStop(32768); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 593;BA.debugLine="Tels.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 595;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }else { + BA.debugLineNum = 597;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 598;BA.debugLine="Tels.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 599;BA.debugLine="gest.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"False")); + }; + }; + }} +; + }; + BA.debugLineNum = 605;BA.debugLine="LA_GEO.Text= $\"$1.2{distance/1000} kms\"$"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_la_geo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_distance" /*RemoteObject*/ ),RemoteObject.createImmutable(1000)}, "/",0, 0)))),RemoteObject.createImmutable(" kms"))))); + BA.debugLineNum = 606;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(536870912); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GPS"))); + BA.debugLineNum = 607;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(1073741824); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 608;BA.debugLine="CallSubDelayed(Tracker, \"CreateLocationRequest\")"; +Debug.ShouldStop(-2147483648); +c_cliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_cliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("CreateLocationRequest"))); + BA.debugLineNum = 609;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guadaventa2(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GUADAVENTA2 (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,945); +if (RapidSub.canDelegate("guadaventa2")) { return __ref.runUserSub(false, "c_cliente","guadaventa2", __ref);} +RemoteObject _cbfactura = RemoteObject.createImmutable(0); + BA.debugLineNum = 945;BA.debugLine="Sub GUADAVENTA2"; +Debug.ShouldStop(65536); + BA.debugLineNum = 946;BA.debugLine="Log(B4XPages.MainPage.recarga)"; +Debug.ShouldStop(131072); +c_cliente.__c.runVoidMethod ("LogImpl","55570561",c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_recarga" /*RemoteObject*/ ),0); + BA.debugLineNum = 947;BA.debugLine="If B4XPages.MainPage.recarga = \"0\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_recarga" /*RemoteObject*/ ),BA.ObjectToString("0"))) { + BA.debugLineNum = 948;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(524288); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 949;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(1048576); +__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 = 950;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(2097152); +__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 = 951;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 952;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 953;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(16777216); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 954;BA.debugLine="c.Close"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 955;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 956;BA.debugLine="c.Position=0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 957;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(268435456); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 958;BA.debugLine="c.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 959;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 960;BA.debugLine="c.Position=0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 962;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(2); +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 = 963;BA.debugLine="Private cbFactura As Int = 0"; +Debug.ShouldStop(4); +_cbfactura = BA.numberCast(int.class, 0);Debug.locals.put("cbFactura", _cbfactura);Debug.locals.put("cbFactura", _cbfactura); + BA.debugLineNum = 964;BA.debugLine="If cb_factura.Checked Then cbFactura = 1"; +Debug.ShouldStop(8); +if (__ref.getField(false,"_cb_factura" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_cbfactura = BA.numberCast(int.class, 1);Debug.locals.put("cbFactura", _cbfactura);}; + BA.debugLineNum = 965;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(16); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from NOVENTA where NV_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 966;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(32); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 967;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +Debug.ShouldStop(64); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT, PC_ENVIO_OK, PC_FACTURA) VALUES (?,?,?,?,?,?,?,?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),RemoteObject.createImmutable((0)),(_cbfactura)}))))); + BA.debugLineNum = 968;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; +Debug.ShouldStop(128); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 969;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; +Debug.ShouldStop(256); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info2 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }; + BA.debugLineNum = 971;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 972;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(2048); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 973;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(4096); +__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 = 974;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +Debug.ShouldStop(8192); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_OUT = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 976;BA.debugLine="Try"; +Debug.ShouldStop(32768); +try { BA.debugLineNum = 977;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (su"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "),RemoteObject.createImmutable("Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "),RemoteObject.createImmutable(" Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, "),RemoteObject.createImmutable("Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "),RemoteObject.createImmutable(" Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "),RemoteObject.createImmutable(" from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) "))))); + BA.debugLineNum = 983;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 984;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 6"; +Debug.ShouldStop(8388608); +__ref.setField ("_stay_hh" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HORAS_TOTALES")))),RemoteObject.createImmutable(60),RemoteObject.createImmutable(60)}, "**",0, 0))); + BA.debugLineNum = 985;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60"; +Debug.ShouldStop(16777216); +__ref.setField ("_stay_mi" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MINUTOS_TOTALES")))),RemoteObject.createImmutable(60)}, "*",0, 0))); + BA.debugLineNum = 986;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")"; +Debug.ShouldStop(33554432); +__ref.setField ("_stay_ss" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SEGUNDOS_TOTALES")))); + BA.debugLineNum = 987;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +Debug.ShouldStop(67108864); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_stay_hh" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_stay_mi" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_stay_ss" /*RemoteObject*/ ))}, "++",2, 0))}))))); + BA.debugLineNum = 988;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +Debug.ShouldStop(134217728); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_OUT set HSO_FIN = ? ")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 989;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + Debug.CheckDeviceExceptions(); +} + catch (Exception e39) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e39.toString()); BA.debugLineNum = 991;BA.debugLine="ToastMessageShow(\".\",True)"; +Debug.ShouldStop(1073741824); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(".")),(Object)(c_cliente.__c.getField(true,"True"))); + }; + BA.debugLineNum = 994;BA.debugLine="skmt.ExecNonQuery2(\"update PEDIDO_INICIO_FINAL s"; +Debug.ShouldStop(2); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update PEDIDO_INICIO_FINAL set PIF_HORA_FINAL = ? where PIF_CLIENTE = ? and PIF_HORA_FINAL = 0")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 996;BA.debugLine="Subs.actualizaTET(la_cuenta.text)"; +Debug.ShouldStop(8); +c_cliente._subs.runVoidMethod ("_actualizatet" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 997;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(16); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 1000;BA.debugLine="mandapiezas"; +Debug.ShouldStop(128); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_mandapiezas" /*RemoteObject*/ ); + BA.debugLineNum = 1001;BA.debugLine="B4XPages.MainPage.productos.reiniciarlistaProds"; +Debug.ShouldStop(256); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_productos" /*RemoteObject*/ ).setField ("_reiniciarlistaprods" /*RemoteObject*/ ,c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1002;BA.debugLine="B4XPages.MainPage.productos.prodsMap.Initialize"; +Debug.ShouldStop(512); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_productos" /*RemoteObject*/ ).getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1003;BA.debugLine="B4XPages.MainPage.promos.promosMap.Initialize"; +Debug.ShouldStop(1024); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_promos" /*RemoteObject*/ ).getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1004;BA.debugLine="Guardar.Enabled = True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_guardar" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1005;BA.debugLine="gest.Enabled = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1006;BA.debugLine="b_cxc.Enabled = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_b_cxc" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1007;BA.debugLine="Tar.Enabled = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1008;BA.debugLine="Tels.Enabled = True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1009;BA.debugLine="b_ventaabordo.Enabled = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_b_ventaabordo" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1011;BA.debugLine="HIST.Enabled = True"; +Debug.ShouldStop(262144); +__ref.getField(false,"_hist" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1012;BA.debugLine="banderaimp = 0"; +Debug.ShouldStop(524288); +__ref.setField ("_banderaimp" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1013;BA.debugLine="mandaPendientePagare"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_mandapendientepagare" /*RemoteObject*/ ); + BA.debugLineNum = 1014;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(2097152); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + }else +{ BA.debugLineNum = 1015;BA.debugLine="Else If B4XPages.MainPage.recarga = \"1\" Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_recarga" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 1016;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(8388608); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1017;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(16777216); +__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 = 1018;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(33554432); +__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 = 1019;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 1020;BA.debugLine="c.Position=0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1021;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(268435456); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 1022;BA.debugLine="c.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1023;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 1024;BA.debugLine="c.Position=0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1025;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 = 1026;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1027;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 1028;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1030;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(32); +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 = 1031;BA.debugLine="Private cbFactura As Int = 0"; +Debug.ShouldStop(64); +_cbfactura = BA.numberCast(int.class, 0);Debug.locals.put("cbFactura", _cbfactura);Debug.locals.put("cbFactura", _cbfactura); + BA.debugLineNum = 1032;BA.debugLine="If cb_factura.Checked Then cbFactura = 1"; +Debug.ShouldStop(128); +if (__ref.getField(false,"_cb_factura" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { +_cbfactura = BA.numberCast(int.class, 1);Debug.locals.put("cbFactura", _cbfactura);}; + BA.debugLineNum = 1033;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(256); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from NOVENTA where NV_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 1034;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(512); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 1035;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +Debug.ShouldStop(1024); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT, PC_ENVIO_OK, PC_FACTURA) VALUES (?,?,?,?,?,?,?,?,?)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),RemoteObject.createImmutable((0)),(_cbfactura)}))))); + BA.debugLineNum = 1036;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; +Debug.ShouldStop(2048); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }; + BA.debugLineNum = 1038;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1039;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(16384); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 1040;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(32768); +__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 = 1041;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +Debug.ShouldStop(65536); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_OUT = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 1061;BA.debugLine="skmt.ExecNonQuery2(\"update PEDIDO_INICIO_FINAL s"; +Debug.ShouldStop(16); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update PEDIDO_INICIO_FINAL set PIF_HORA_FINAL = ? where PIF_CLIENTE = ? and PIF_HORA_FINAL = 0")),(Object)(c_cliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(c_cliente.__c.getField(false,"DateTime").runMethod(true,"getNow")),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 1063;BA.debugLine="Subs.actualizaTET(la_cuenta.text)"; +Debug.ShouldStop(64); +c_cliente._subs.runVoidMethod ("_actualizatet" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 1064;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(128); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 1068;BA.debugLine="mandaPendientesrecarga"; +Debug.ShouldStop(2048); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_mandapendientesrecarga" /*RemoteObject*/ ); + BA.debugLineNum = 1069;BA.debugLine="mandapiezasrecarga"; +Debug.ShouldStop(4096); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_mandapiezasrecarga" /*RemoteObject*/ ); + BA.debugLineNum = 1070;BA.debugLine="B4XPages.MainPage.productos.reiniciarlistaProds"; +Debug.ShouldStop(8192); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_productos" /*RemoteObject*/ ).setField ("_reiniciarlistaprods" /*RemoteObject*/ ,c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 1071;BA.debugLine="B4XPages.MainPage.productos.prodsMap.Initialize"; +Debug.ShouldStop(16384); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_productos" /*RemoteObject*/ ).getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1072;BA.debugLine="B4XPages.MainPage.promos.promosMap.Initialize"; +Debug.ShouldStop(32768); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_promos" /*RemoteObject*/ ).getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1073;BA.debugLine="B4XPages.ShowPage(\"login\")"; +Debug.ShouldStop(65536); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("login"))); + BA.debugLineNum = 1074;BA.debugLine="B4XPages.MainPage.recarga = \"0\""; +Debug.ShouldStop(131072); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_recarga" /*RemoteObject*/ ,BA.ObjectToString("0")); + }} +; + BA.debugLineNum = 1076;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _guardar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Guardar_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,727); +if (RapidSub.canDelegate("guardar_click")) { __ref.runUserSub(false, "c_cliente","guardar_click", __ref); return;} +ResumableSub_Guardar_Click rsub = new ResumableSub_Guardar_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Guardar_Click extends BA.ResumableSub { +public ResumableSub_Guardar_Click(SHARK2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_cliente parent; +RemoteObject _fg = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _costo = RemoteObject.createImmutable(""); +RemoteObject _resultado = RemoteObject.createImmutable(0); +RemoteObject _cpagares = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Guardar_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,727); +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 = 728;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"Select COU"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select COUNT(Case WHEN PE_FOLIO = 'PREVENTA_CONTADO' THEN 1 END) AS CUANTOS_CONTADO,COUNT(Case WHEN PE_FOLIO = 'PREVENTA_CREDITO' THEN 1 END) AS CUANTOS_CREDITO FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta FROM CUENTAA) And (PE_FOLIO = ? OR PE_FOLIO = ?)")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("PREVENTA_CONTADO"),RemoteObject.createImmutable("PREVENTA_CREDITO")})))); + BA.debugLineNum = 729;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 731;BA.debugLine="Log(\"Esto es Contado<<<<<<<<<<<<<: \" & c.GetStri"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("LogImpl","55308420",RemoteObject.concat(RemoteObject.createImmutable("Esto es Contado<<<<<<<<<<<<<: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_CONTADO")))),0); + BA.debugLineNum = 732;BA.debugLine="Log(\"Esto es Credito<<<<<<<<<<<<<: \" & c.GetStri"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("LogImpl","55308421",RemoteObject.concat(RemoteObject.createImmutable("Esto es Credito<<<<<<<<<<<<<: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_CREDITO")))),0); + BA.debugLineNum = 735;BA.debugLine="If c.GetString(\"CUANTOS_CREDITO\") = 0 Then"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 1: +//if +this.state = 22; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_CREDITO"))),BA.NumberToString(0))) { +this.state = 3; +}else +{ BA.debugLineNum = 737;BA.debugLine="Else If c.GetString(\"CUANTOS_CREDITO\") > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_CREDITO")))),BA.numberCast(double.class, 0))) { +this.state = 5; +}} +if (true) break; + +case 3: +//C +this.state = 22; + BA.debugLineNum = 736;BA.debugLine="GuardaVenta"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_guardaventa" /*RemoteObject*/ ); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 738;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"Sele"; +Debug.ShouldStop(2); +_fg = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fg = 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(PE_COSTO_TOT),0) AS COSTO, PE_FOLIO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))));Debug.locals.put("fg", _fg);Debug.locals.put("fg", _fg); + BA.debugLineNum = 739;BA.debugLine="fg.Position = 0"; +Debug.ShouldStop(4); +_fg.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 740;BA.debugLine="Dim costo As String = fg.GetString(\"COSTO\")"; +Debug.ShouldStop(8); +_costo = _fg.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COSTO")));Debug.locals.put("costo", _costo);Debug.locals.put("costo", _costo); + BA.debugLineNum = 742;BA.debugLine="If costo > 0 And costo < 1000 Then"; +Debug.ShouldStop(32); +if (true) break; + +case 6: +//if +this.state = 21; +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _costo),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("<",BA.numberCast(double.class, _costo),BA.numberCast(double.class, 1000))) { +this.state = 8; +}else +{ BA.debugLineNum = 750;BA.debugLine="Else If costo >= 1000 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, _costo),BA.numberCast(double.class, 1000))) { +this.state = 14; +}} +if (true) break; + +case 8: +//C +this.state = 9; + BA.debugLineNum = 743;BA.debugLine="Msgbox2Async($\"¿Desea continuar?${CRLF}Si acep"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("¿Desea continuar?"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Si acepta, el pedido a crédito se borrará (mínimo $1,000)."),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Si cancela, podrá seguir agregando productos."))))),(Object)(BA.ObjectToCharSequence("Venta Minima de Credito")),(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 = 744;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(128); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "guardar_click"), null); +this.state = 23; +return; +case 23: +//C +this.state = 9; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 745;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(256); +if (true) break; + +case 9: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 11; +}if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 746;BA.debugLine="Subs.borraPedidoCredito"; +Debug.ShouldStop(512); +parent._subs.runVoidMethod ("_borrapedidocredito" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 747;BA.debugLine="GuardaVenta"; +Debug.ShouldStop(1024); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_guardaventa" /*RemoteObject*/ ); + if (true) break; + +case 12: +//C +this.state = 21; +; + if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 751;BA.debugLine="Dim cPagares As Cursor = B4XPages.MainPage.skm"; +Debug.ShouldStop(16384); +_cpagares = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cpagares = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) As REGISTRADO FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("cPagares", _cpagares);Debug.locals.put("cPagares", _cpagares); + BA.debugLineNum = 752;BA.debugLine="cPagares.Position = 0"; +Debug.ShouldStop(32768); +_cpagares.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 753;BA.debugLine="If cPagares.GetString(\"REGISTRADO\") = 0 Then"; +Debug.ShouldStop(65536); +if (true) break; + +case 15: +//if +this.state = 20; +if (RemoteObject.solveBoolean("=",_cpagares.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("REGISTRADO"))),BA.NumberToString(0))) { +this.state = 17; +}else { +this.state = 19; +}if (true) break; + +case 17: +//C +this.state = 20; + BA.debugLineNum = 754;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(131072); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA, PA_FECHA, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ )),((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),(_costo),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 755;BA.debugLine="Log(\"Aqui inserto: \" & \"Almacen: \" & ALMACEN &"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","55308444",RemoteObject.concat(RemoteObject.createImmutable("Aqui inserto: "),RemoteObject.createImmutable("Almacen: "),__ref.getField(true,"_almacen" /*RemoteObject*/ ),RemoteObject.createImmutable("Ruta "),__ref.getField(true,"_la_ruta" /*RemoteObject*/ ),RemoteObject.createImmutable("Fecha: "),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),RemoteObject.createImmutable("Captura: "),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),RemoteObject.createImmutable("Monto: "),_costo,RemoteObject.createImmutable("Usuario: "),__ref.getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.createImmutable("Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("<<<<<<<<<<<<<<<<<<<<<")),0); + BA.debugLineNum = 756;BA.debugLine="GuardaVenta"; +Debug.ShouldStop(524288); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_guardaventa" /*RemoteObject*/ ); + BA.debugLineNum = 757;BA.debugLine="p_credito.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 19: +//C +this.state = 20; + BA.debugLineNum = 759;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +Debug.ShouldStop(4194304); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PAGARES set PA_FECHA = ?, PA_CAPTURA = ?, PA_MONTO = ? where PA_CLIENTE In (select cuenta from cuentaa)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),(__ref.getField(false,"_et_montoacredito" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 760;BA.debugLine="Log(\"Aqui actualizo: \" & \"Almacen: \" & ALMACEN"; +Debug.ShouldStop(8388608); +parent.__c.runVoidMethod ("LogImpl","55308449",RemoteObject.concat(RemoteObject.createImmutable("Aqui actualizo: "),RemoteObject.createImmutable("Almacen: "),__ref.getField(true,"_almacen" /*RemoteObject*/ ),RemoteObject.createImmutable("Ruta "),__ref.getField(true,"_la_ruta" /*RemoteObject*/ ),RemoteObject.createImmutable("Fecha: "),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),RemoteObject.createImmutable("Captura: "),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ ))),RemoteObject.createImmutable("Monto: "),_costo,RemoteObject.createImmutable("Usuario: "),__ref.getField(true,"_usuario" /*RemoteObject*/ ),RemoteObject.createImmutable("Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("<<<<<<<<<<<<<<<<<<<<<")),0); + BA.debugLineNum = 761;BA.debugLine="GuardaVenta"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_guardaventa" /*RemoteObject*/ ); + BA.debugLineNum = 762;BA.debugLine="p_credito.Visible = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_p_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 20: +//C +this.state = 21; +; + BA.debugLineNum = 764;BA.debugLine="cPagares.Close"; +Debug.ShouldStop(134217728); +_cpagares.runVoidMethod ("Close"); + BA.debugLineNum = 765;BA.debugLine="GuardaVenta"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_guardaventa" /*RemoteObject*/ ); + if (true) break; + +case 21: +//C +this.state = 22; +; + BA.debugLineNum = 767;BA.debugLine="fg.Close"; +Debug.ShouldStop(1073741824); +_fg.runVoidMethod ("Close"); + if (true) break; + +case 22: +//C +this.state = -1; +; + BA.debugLineNum = 770;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 859;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _guardaventa(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GuardaVenta (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,925); +if (RapidSub.canDelegate("guardaventa")) { return __ref.runUserSub(false, "c_cliente","guardaventa", __ref);} + BA.debugLineNum = 925;BA.debugLine="Sub GuardaVenta"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 926;BA.debugLine="If pre_act <> Starter.pre_viejo Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_pre_act" /*RemoteObject*/ ),BA.numberCast(double.class, c_cliente._starter._pre_viejo /*RemoteObject*/ ))) { + BA.debugLineNum = 927;BA.debugLine="B_IMP_Click"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_b_imp_click" /*RemoteObject*/ ); + BA.debugLineNum = 928;BA.debugLine="Guardar.Enabled = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_guardar" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 929;BA.debugLine="gest.Enabled = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_gest" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 930;BA.debugLine="b_cxc.Enabled = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_b_cxc" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 931;BA.debugLine="Tar.Enabled = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_tar" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 932;BA.debugLine="Tels.Enabled = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_tels" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 933;BA.debugLine="b_ventaabordo.Enabled = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_b_ventaabordo" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 934;BA.debugLine="HIST.Enabled = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_hist" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 935;BA.debugLine="banderaimp = 1"; +Debug.ShouldStop(64); +__ref.setField ("_banderaimp" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + }else +{ BA.debugLineNum = 936;BA.debugLine="Else If pre_act = Starter.pre_viejo Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_pre_act" /*RemoteObject*/ ),BA.numberCast(double.class, c_cliente._starter._pre_viejo /*RemoteObject*/ ))) { + BA.debugLineNum = 937;BA.debugLine="If banderaimp = 1 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_banderaimp" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 938;BA.debugLine="B_IMP_Click"; +Debug.ShouldStop(512); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_b_imp_click" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 940;BA.debugLine="GUADAVENTA2"; +Debug.ShouldStop(2048); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_guadaventa2" /*RemoteObject*/ ); + }; + }} +; + BA.debugLineNum = 943;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _hist_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("HIST_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1082); +if (RapidSub.canDelegate("hist_click")) { return __ref.runUserSub(false, "c_cliente","hist_click", __ref);} + BA.debugLineNum = 1082;BA.debugLine="Sub HIST_Click"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 1083;BA.debugLine="B4XPages.ShowPage(\"Historico\")"; +Debug.ShouldStop(67108864); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Historico"))); + BA.debugLineNum = 1084;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +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",4,__ref.getField(false, "ba"),__ref,2741); +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(SHARK2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_cliente parent; +RemoteObject _elinefeed = RemoteObject.createImmutable(""); +RemoteObject _cont = RemoteObject.createImmutable(0); +RemoteObject _notaabono = RemoteObject.createImmutable(""); +RemoteObject _saldopendiente = RemoteObject.createImmutable(""); +RemoteObject _fechatabulador = null; +RemoteObject _fechatabulador2 = null; +RemoteObject _fechatabulador3 = RemoteObject.createImmutable(""); +RemoteObject _resultado = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("imprime_pagare (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2741); +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 = 2744;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 2745;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2746;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(33554432); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 2747;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(67108864); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 2748;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(134217728); +parent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 2749;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(268435456); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 2750;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(536870912); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 2751;BA.debugLine="c.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2753;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +Debug.ShouldStop(1); +_elinefeed = RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0d)))),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0a)))));Debug.locals.put("eLINEFEED", _elinefeed);Debug.locals.put("eLINEFEED", _elinefeed); + BA.debugLineNum = 2755;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 2756;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 2757;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(16); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 2759;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 2760;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(128); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 2761;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(256); +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 = 2762;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(512); +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 = 55; +return; +case 55: +//C +this.state = 7; +; + BA.debugLineNum = 2763;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(1024); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 2764;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(2048); +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 (SHARK2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 2765;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +Debug.ShouldStop(4096); +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 = 2767;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(16384); +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 = 56; +return; +case 56: +//C +this.state = 38; +; + BA.debugLineNum = 2768;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(32768); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 2771;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 2772;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(524288); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 2773;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(1048576); +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 (SHARK2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 2774;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(2097152); +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 = 57; +return; +case 57: +//C +this.state = 25; +; + BA.debugLineNum = 2775;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 = 2776;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 (SHARK2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 2777;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +Debug.ShouldStop(16777216); +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 = 2779;BA.debugLine="Sleep(500)"; +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, 500)); +this.state = 58; +return; +case 58: +//C +this.state = 38; +; + BA.debugLineNum = 2780;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 = 2783;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(1073741824); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 2784;BA.debugLine="ESPACIO = 22"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 22)); + BA.debugLineNum = 2785;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(1); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 2787;BA.debugLine="Printer1.WriteString(\"SHARK2 Distribuciones\" & e"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("SHARK2 Distribuciones"),_elinefeed))); + BA.debugLineNum = 2789;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 2790;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 2791;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eL"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor:"),__ref.getField(true,"_usuario" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 2792;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 2793;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 2794;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 2795;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 2796;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 2797;BA.debugLine="Dim notaabono As String"; +Debug.ShouldStop(4096); +_notaabono = RemoteObject.createImmutable("");Debug.locals.put("notaabono", _notaabono); + BA.debugLineNum = 2798;BA.debugLine="Dim saldopendiente As String"; +Debug.ShouldStop(8192); +_saldopendiente = RemoteObject.createImmutable("");Debug.locals.put("saldopendiente", _saldopendiente); + BA.debugLineNum = 2799;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NOTA, DIA_VEN"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NOTA, DIA_VENCIMIENTO, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 2800;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 39: +//if +this.state = 42; +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 = 2801;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2803;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; +Debug.ShouldStop(262144); +_fechatabulador = parent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("DIA_VENCIMIENTO")))));Debug.locals.put("fechatabulador", _fechatabulador);Debug.locals.put("fechatabulador", _fechatabulador); + BA.debugLineNum = 2804;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\""; +Debug.ShouldStop(524288); +_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 = 2805;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2"; +Debug.ShouldStop(1048576); +_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 = 2807;BA.debugLine="notaabono = c.GetString(\"NOTA\")"; +Debug.ShouldStop(4194304); +_notaabono = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOTA")));Debug.locals.put("notaabono", _notaabono); + BA.debugLineNum = 2808;BA.debugLine="saldopendiente = c.GetString(\"SALDO_PENDIENTE\")"; +Debug.ShouldStop(8388608); +_saldopendiente = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")));Debug.locals.put("saldopendiente", _saldopendiente); + if (true) break; + +case 42: +//C +this.state = 43; +; + BA.debugLineNum = 2810;BA.debugLine="c.Close"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2817;BA.debugLine="Log(notaabono)"; +Debug.ShouldStop(1); +parent.__c.runVoidMethod ("LogImpl","58323148",_notaabono,0); + BA.debugLineNum = 2818;BA.debugLine="Log(et_abono.Text)"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("LogImpl","58323149",__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"),0); + BA.debugLineNum = 2819;BA.debugLine="Printer1.WriteString(\"Comprobante de pago del pa"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Comprobante de pago del pagare"),_elinefeed))); + BA.debugLineNum = 2821;BA.debugLine="Printer1.WriteString(\"Folio: \" & notaabono & e"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Folio: "),_notaabono,_elinefeed))); + BA.debugLineNum = 2823;BA.debugLine="Printer1.WriteString(\"Monto deuda: \" & (NumberF"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Monto deuda: "),(parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, _saldopendiente)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))),_elinefeed))); + BA.debugLineNum = 2825;BA.debugLine="Printer1.WriteString(\"Monto abono: \" & (NumberF"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.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)))),_elinefeed))); + BA.debugLineNum = 2827;BA.debugLine="Printer1.WriteString(\"Restante: \" &(NumberFormat"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Restante: "),(parent.__c.runMethod(true,"NumberFormat",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _saldopendiente),BA.numberCast(double.class, __ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText"))}, "-",1, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))),_elinefeed))); + BA.debugLineNum = 2829;BA.debugLine="Printer1.WriteString(\"Fecha Abono: \" & sDate &"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Fecha Abono: "),__ref.getField(true,"_sdate" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 2831;BA.debugLine="Printer1.WriteString(\"Fecha vencimiento: \" & fec"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Fecha vencimiento: "),_fechatabulador3,_elinefeed))); + BA.debugLineNum = 2833;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 2834;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 2835;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 2836;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 2837;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 2838;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 2839;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 2841;BA.debugLine="Printer1.WriteString(\"--------------------------"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 2842;BA.debugLine="Printer1.WriteString(\"-------------FIRMA--------"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-------------FIRMA------------"),_elinefeed))); + BA.debugLineNum = 2844;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 2845;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 2846;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 2847;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 = 59; +return; +case 59: +//C +this.state = 43; +; + BA.debugLineNum = 2848;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 2850;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 2853;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; +Debug.ShouldStop(16); +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 = 2854;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_pagare"), null); +this.state = 60; +return; +case 60: +//C +this.state = 43; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 2855;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(64); +if (true) break; + +case 43: +//if +this.state = 54; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 45; +}else { +this.state = 47; +}if (true) break; + +case 45: +//C +this.state = 54; + BA.debugLineNum = 2856;BA.debugLine="imprime_pagare"; +Debug.ShouldStop(128); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_imprime_pagare" /*void*/ ); + if (true) break; + +case 47: +//C +this.state = 48; + BA.debugLineNum = 2858;BA.debugLine="h = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CUE"; +Debug.ShouldStop(512); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CUENTA from CUENTAA")))); + BA.debugLineNum = 2859;BA.debugLine="h.Position = 0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2860;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; +Debug.ShouldStop(2048); +parent.__c.runVoidMethod ("LogImpl","58323191",__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),0); + BA.debugLineNum = 2862;BA.debugLine="j = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT a_"; +Debug.ShouldStop(8192); +__ref.getField(false,"_j" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_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 = 2863;BA.debugLine="j.position = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2864;BA.debugLine="If j.RowCount = 0 Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 48: +//if +this.state = 53; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_j" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 50; +}else { +this.state = 52; +}if (true) break; + +case 50: +//C +this.state = 53; + BA.debugLineNum = 2865;BA.debugLine="p_abono.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 2867;BA.debugLine="skmt.ExecNonQuery($\"INSERT INTO ABONOS(a_usuari"; +Debug.ShouldStop(262144); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha) 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("')"))))); + BA.debugLineNum = 2868;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)"; +Debug.ShouldStop(524288); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Abono guardado")),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 2869;BA.debugLine="et_abono.Text = \"\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 2870;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_b4xpage_appear" /*RemoteObject*/ ); + if (true) break; + +case 52: +//C +this.state = 53; + BA.debugLineNum = 2872;BA.debugLine="p_abono.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_p_abono" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 2875;BA.debugLine="skmt.ExecNonQuery($\"UPDATE ABONOS set a_abono ="; +Debug.ShouldStop(67108864); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE ABONOS set a_abono = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable("' where a_usuario = '"),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable("' and a_ruta = '"),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("' and a_cliente In (select cuenta from cuentaa)"))))); + BA.debugLineNum = 2876;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Abono guardado")),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 2877;BA.debugLine="et_abono.Text = \"\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_et_abono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 2878;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(536870912); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_b4xpage_appear" /*RemoteObject*/ ); + if (true) break; + +case 53: +//C +this.state = 54; +; + if (true) break; + +case 54: +//C +this.state = -1; +; + BA.debugLineNum = 2885;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _imprime_preventa(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("imprime_preventa (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1212); +if (RapidSub.canDelegate("imprime_preventa")) { __ref.runUserSub(false, "c_cliente","imprime_preventa", __ref); return;} +ResumableSub_imprime_preventa rsub = new ResumableSub_imprime_preventa(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_imprime_preventa extends BA.ResumableSub { +public ResumableSub_imprime_preventa(SHARK2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_cliente parent; +RemoteObject _elinefeed = RemoteObject.createImmutable(""); +RemoteObject _cont = RemoteObject.createImmutable(0); +RemoteObject _bmp = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); +RemoteObject _myimage = RemoteObject.declareNull("SHARK2.keymon.com.mx.escposprinter._animage"); +RemoteObject _tipos_preventa = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _tipo = RemoteObject.createImmutable(""); +RemoteObject _siesacredi = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +int _e = 0; +RemoteObject _subtotal = RemoteObject.createImmutable(0); +RemoteObject _subtot = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _descuento = RemoteObject.createImmutable(0); +RemoteObject _total = RemoteObject.createImmutable(0); +RemoteObject _monto = RemoteObject.createImmutable(""); +RemoteObject _pamonto = RemoteObject.createImmutable(0); +RemoteObject _resultado = RemoteObject.createImmutable(0); +RemoteObject group63; +int index63; +int groupLen63; +int step72; +int limit72; +int step86; +int limit86; +int step102; +int limit102; +int step120; +int limit120; +int step129; +int limit129; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("imprime_preventa (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1212); +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 = 1213;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 1214;BA.debugLine="c.Position=0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1215;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(1073741824); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 1216;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(-2147483648); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1217;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(1); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1218;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(2); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1219;BA.debugLine="c.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1221;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +Debug.ShouldStop(16); +_elinefeed = RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0d)))),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0a)))));Debug.locals.put("eLINEFEED", _elinefeed);Debug.locals.put("eLINEFEED", _elinefeed); + BA.debugLineNum = 1223;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(64); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 1224;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 1225;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(256); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 1227;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 1228;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(2048); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 1229;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(4096); +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 = 1230;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_preventa"),BA.numberCast(int.class, 1000)); +this.state = 122; +return; +case 122: +//C +this.state = 7; +; + BA.debugLineNum = 1231;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 = 1232;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(32768); +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 (SHARK2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 1233;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +Debug.ShouldStop(65536); +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 = 1235;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_preventa"),BA.numberCast(int.class, 500)); +this.state = 123; +return; +case 123: +//C +this.state = 38; +; + BA.debugLineNum = 1236;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(524288); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 1239;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 1240;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(8388608); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 1241;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(16777216); +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 (SHARK2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 1242;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_preventa"),BA.numberCast(int.class, 1000)); +this.state = 124; +return; +case 124: +//C +this.state = 25; +; + BA.debugLineNum = 1243;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(67108864); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 1244;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(134217728); +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 (SHARK2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 1245;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +Debug.ShouldStop(268435456); +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 = 1247;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_preventa"),BA.numberCast(int.class, 500)); +this.state = 125; +return; +case 125: +//C +this.state = 38; +; + BA.debugLineNum = 1248;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 1251;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(4); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1252;BA.debugLine="ESPACIO = 22"; +Debug.ShouldStop(8); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 22)); + BA.debugLineNum = 1253;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(16); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 1256;BA.debugLine="Dim bmp As Bitmap"; +Debug.ShouldStop(128); +_bmp = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");Debug.locals.put("bmp", _bmp); + BA.debugLineNum = 1257;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 1258;BA.debugLine="bmp.InitializeResize(File.DirAssets, \"amigos.jpg"; +Debug.ShouldStop(512); +_bmp.runVoidMethod ("InitializeResize",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("amigos.jpg")),(Object)(BA.numberCast(int.class, 192)),(Object)(BA.numberCast(int.class, 252)),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 1259;BA.debugLine="Dim myimage As AnImage = Printer1.ImageToBWIMage"; +Debug.ShouldStop(1024); +_myimage = __ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_imagetobwimage" /*RemoteObject*/ ,(Object)(_bmp));Debug.locals.put("myimage", _myimage);Debug.locals.put("myimage", _myimage); + BA.debugLineNum = 1261;BA.debugLine="myimage = Printer1.DitherImage2D(myimage, 128)"; +Debug.ShouldStop(4096); +_myimage = __ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_ditherimage2d" /*RemoteObject*/ ,(Object)(_myimage),(Object)(BA.numberCast(int.class, 128)));Debug.locals.put("myimage", _myimage); + BA.debugLineNum = 1263;BA.debugLine="myimage= Printer1.PackImage(myimage)"; +Debug.ShouldStop(16384); +_myimage = __ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_packimage" /*RemoteObject*/ ,(Object)(_myimage));Debug.locals.put("myimage", _myimage); + BA.debugLineNum = 1264;BA.debugLine="Printer1.WriteString(CRLF) ' nudge the printer t"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(parent.__c.getField(true,"CRLF"))); + BA.debugLineNum = 1265;BA.debugLine="Printer1.WriteString(Printer1.REVERSE)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).getField(true,"_reverse" /*RemoteObject*/ ))); + BA.debugLineNum = 1267;BA.debugLine="Printer1.PrintImage(myimage)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_printimage" /*RemoteObject*/ ,(Object)(_myimage)); + BA.debugLineNum = 1268;BA.debugLine="Printer1.WriteString(Printer1.UNREVERSE)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).getField(true,"_unreverse" /*RemoteObject*/ ))); + BA.debugLineNum = 1270;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1290;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 1291;BA.debugLine="Printer1.WriteString(\"CANDY SHARK2\" & eLINEFEED)"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("CANDY SHARK2"),_elinefeed))); + BA.debugLineNum = 1292;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 1293;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 1294;BA.debugLine="Printer1.WriteString(\"Vendedor: \" & TraeVendedor"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor: "),__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_traevendedor" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 1295;BA.debugLine="Printer1.WriteString(\"Numero de Vendedor: \" & Tra"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Numero de Vendedor: "),__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_traenumvendedor" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 1296;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 1297;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta.T"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 1298;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 1299;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 1300;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 1302;BA.debugLine="Dim tipos_preventa As List"; +Debug.ShouldStop(2097152); +_tipos_preventa = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("tipos_preventa", _tipos_preventa); + BA.debugLineNum = 1303;BA.debugLine="tipos_preventa.Initialize"; +Debug.ShouldStop(4194304); +_tipos_preventa.runVoidMethod ("Initialize"); + BA.debugLineNum = 1304;BA.debugLine="tipos_preventa.Add(\"PREVENTA_CREDITO\")"; +Debug.ShouldStop(8388608); +_tipos_preventa.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("PREVENTA_CREDITO")))); + BA.debugLineNum = 1305;BA.debugLine="tipos_preventa.Add(\"PREVENTA_CONTADO\")"; +Debug.ShouldStop(16777216); +_tipos_preventa.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("PREVENTA_CONTADO")))); + BA.debugLineNum = 1307;BA.debugLine="For Each tipo As String In tipos_preventa"; +Debug.ShouldStop(67108864); +if (true) break; + +case 39: +//for +this.state = 109; +group63 = _tipos_preventa; +index63 = 0; +groupLen63 = group63.runMethod(true,"getSize").get(); +Debug.locals.put("tipo", _tipo); +this.state = 126; +if (true) break; + +case 126: +//C +this.state = 109; +if (index63 < groupLen63) { +this.state = 41; +_tipo = BA.ObjectToString(group63.runMethod(false,"Get",index63));Debug.locals.put("tipo", _tipo);} +if (true) break; + +case 127: +//C +this.state = 126; +index63++; +Debug.locals.put("tipo", _tipo); +if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 1308;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_tipo})))); + BA.debugLineNum = 1310;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (true) break; + +case 42: +//if +this.state = 108; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 44; +}if (true) break; + +case 44: +//C +this.state = 45; + BA.debugLineNum = 1312;BA.debugLine="Dim siesacredi As Cursor = skmt.ExecQuery(\"SELE"; +Debug.ShouldStop(-2147483648); +_siesacredi = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_siesacredi = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("siesacredi", _siesacredi);Debug.locals.put("siesacredi", _siesacredi); + BA.debugLineNum = 1313;BA.debugLine="Printer1.WriteString(\"----------\" & \"PREVENTA\""; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("----------"),RemoteObject.createImmutable("PREVENTA"),RemoteObject.createImmutable("----------"),_elinefeed))); + BA.debugLineNum = 1315;BA.debugLine="Printer1.WriteString(\"Cant. Precio"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Precio Importe"),_elinefeed))); + BA.debugLineNum = 1316;BA.debugLine="Printer1.WriteString(\"-------------------------"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 1319;BA.debugLine="s=skmt.ExecQuery2(\"select PE_BCAJAS,PE_PRONOMBR"; +Debug.ShouldStop(64); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_BCAJAS,PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU, PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {_tipo,parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))})))); + BA.debugLineNum = 1321;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(256); +if (true) break; + +case 45: +//if +this.state = 72; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 47; +}if (true) break; + +case 47: +//C +this.state = 48; + BA.debugLineNum = 1322;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(512); +if (true) break; + +case 48: +//for +this.state = 71; +step72 = 1; +limit72 = 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 = 128; +if (true) break; + +case 128: +//C +this.state = 71; +if ((step72 > 0 && _i <= limit72) || (step72 < 0 && _i >= limit72)) this.state = 50; +if (true) break; + +case 129: +//C +this.state = 128; +_i = ((int)(0 + _i + step72)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 50: +//C +this.state = 51; + BA.debugLineNum = 1323;BA.debugLine="S.Position=i"; +Debug.ShouldStop(1024); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1324;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_"; +Debug.ShouldStop(2048); +if (true) break; + +case 51: +//if +this.state = 70; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { +this.state = 53; +}else { +this.state = 55; +}if (true) break; + +case 53: +//C +this.state = 70; + BA.debugLineNum = 1325;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMB"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + if (true) break; + +case 55: +//C +this.state = 56; + BA.debugLineNum = 1327;BA.debugLine="If s.GetString(\"PE_BCAJAS\") = 0 Then"; +Debug.ShouldStop(16384); +if (true) break; + +case 56: +//if +this.state = 69; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_BCAJAS"))),BA.NumberToString(0))) { +this.state = 58; +}else { +this.state = 64; +}if (true) break; + +case 58: +//C +this.state = 59; + BA.debugLineNum = 1328;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOM"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 1329;BA.debugLine="k1 = NumberFormat(s.GETSTRING(\"PE_COSTOU\"),"; +Debug.ShouldStop(65536); +__ref.setField ("_k1" /*RemoteObject*/ ,parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))); + BA.debugLineNum = 1330;BA.debugLine="k2 = NumberFormat(s.GETSTRING(\"PE_COSTO_TOT"; +Debug.ShouldStop(131072); +__ref.setField ("_k2" /*RemoteObject*/ ,parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))); + BA.debugLineNum = 1332;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + k1.Length +"; +Debug.ShouldStop(524288); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_k1" /*RemoteObject*/ ).runMethod(true,"length"),__ref.getField(true,"_k2" /*RemoteObject*/ ).runMethod(true,"length")}, "++",2, 2))); + BA.debugLineNum = 1333;BA.debugLine="ESPACIO = 30"; +Debug.ShouldStop(1048576); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 30)); + BA.debugLineNum = 1334;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(2097152); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 1335;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(4194304); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 1336;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(8388608); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 1337;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(16777216); +if (true) break; + +case 59: +//for +this.state = 62; +step86 = 1; +limit86 = 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 = 130; +if (true) break; + +case 130: +//C +this.state = 62; +if ((step86 > 0 && _e <= limit86) || (step86 < 0 && _e >= limit86)) this.state = 61; +if (true) break; + +case 131: +//C +this.state = 130; +_e = ((int)(0 + _e + step86)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 61: +//C +this.state = 131; + BA.debugLineNum = 1338;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 62: +//C +this.state = 69; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 1341;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_CANT\")"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.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*/ ),__ref.getField(true,"_k1" /*RemoteObject*/ ),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(true,"_k2" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 1342;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(536870912); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1343;BA.debugLine="ESPACIO = 30"; +Debug.ShouldStop(1073741824); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 30)); + BA.debugLineNum = 1344;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(-2147483648); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 64: +//C +this.state = 65; + BA.debugLineNum = 1346;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOM"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 1347;BA.debugLine="k1 = NumberFormat((s.GETSTRING(\"PE_COSTO_TO"; +Debug.ShouldStop(4); +__ref.setField ("_k1" /*RemoteObject*/ ,parent.__c.runMethod(true,"NumberFormat",(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)))); + BA.debugLineNum = 1348;BA.debugLine="k2 = NumberFormat(s.GETSTRING(\"PE_COSTO_TOT"; +Debug.ShouldStop(8); +__ref.setField ("_k2" /*RemoteObject*/ ,parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))); + BA.debugLineNum = 1350;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + k1.Length +"; +Debug.ShouldStop(32); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_k1" /*RemoteObject*/ ).runMethod(true,"length"),__ref.getField(true,"_k2" /*RemoteObject*/ ).runMethod(true,"length")}, "++",2, 2))); + BA.debugLineNum = 1351;BA.debugLine="ESPACIO = 30"; +Debug.ShouldStop(64); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 30)); + BA.debugLineNum = 1352;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(128); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 1353;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(256); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 1354;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(512); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 1355;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(1024); +if (true) break; + +case 65: +//for +this.state = 68; +step102 = 1; +limit102 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 132; +if (true) break; + +case 132: +//C +this.state = 68; +if ((step102 > 0 && _e <= limit102) || (step102 < 0 && _e >= limit102)) this.state = 67; +if (true) break; + +case 133: +//C +this.state = 132; +_e = ((int)(0 + _e + step102)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 67: +//C +this.state = 133; + BA.debugLineNum = 1356;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(2048); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 68: +//C +this.state = 69; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 1359;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_CANT\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.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*/ ),__ref.getField(true,"_k1" /*RemoteObject*/ ),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(true,"_k2" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 1360;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(32768); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1361;BA.debugLine="ESPACIO = 30"; +Debug.ShouldStop(65536); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 30)); + BA.debugLineNum = 1362;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(131072); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 69: +//C +this.state = 70; +; + if (true) break; + +case 70: +//C +this.state = 129; +; + if (true) break; +if (true) break; + +case 71: +//C +this.state = 72; +Debug.locals.put("i", _i); +; + if (true) break; + +case 72: +//C +this.state = 73; +; + BA.debugLineNum = 1367;BA.debugLine="s.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1370;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 1371;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, PE_COSTOU, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CEDIS <> ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {_tipo,parent._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))})))); + BA.debugLineNum = 1373;BA.debugLine="If s.RowCount>0 Then"; +Debug.ShouldStop(268435456); +if (true) break; + +case 73: +//if +this.state = 89; +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 = 1374;BA.debugLine="Printer1.WriteString(\"---PRODUCTOS EN PROMOCIO"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("---PRODUCTOS EN PROMOCION---"),_elinefeed))); + BA.debugLineNum = 1375;BA.debugLine="Printer1.WriteString(\"Cant. Precio"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Precio Importe"),_elinefeed))); + BA.debugLineNum = 1376;BA.debugLine="Printer1.WriteString(\"------------------------"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 1378;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(2); +if (true) break; + +case 76: +//for +this.state = 88; +step120 = 1; +limit120 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 134; +if (true) break; + +case 134: +//C +this.state = 88; +if ((step120 > 0 && _i <= limit120) || (step120 < 0 && _i >= limit120)) this.state = 78; +if (true) break; + +case 135: +//C +this.state = 134; +_i = ((int)(0 + _i + step120)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 78: +//C +this.state = 79; + BA.debugLineNum = 1379;BA.debugLine="s.Position=i"; +Debug.ShouldStop(4); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1380;BA.debugLine="k1 = NumberFormat(s.GETSTRING(\"PE_COSTOU\"),0,"; +Debug.ShouldStop(8); +__ref.setField ("_k1" /*RemoteObject*/ ,parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))); + BA.debugLineNum = 1381;BA.debugLine="k2 = NumberFormat(s.GETSTRING(\"PE_COSTO_TOT\")"; +Debug.ShouldStop(16); +__ref.setField ("_k2" /*RemoteObject*/ ,parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))); + BA.debugLineNum = 1383;BA.debugLine="TAMANO = s.GetString(\"PE_CANT\").Length + k1.L"; +Debug.ShouldStop(64); +__ref.setField ("_tamano" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))).runMethod(true,"length"),__ref.getField(true,"_k1" /*RemoteObject*/ ).runMethod(true,"length"),__ref.getField(true,"_k2" /*RemoteObject*/ ).runMethod(true,"length")}, "++",2, 1)); + BA.debugLineNum = 1384;BA.debugLine="ESPACIO = 30"; +Debug.ShouldStop(128); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 30)); + BA.debugLineNum = 1385;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(256); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 1386;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(512); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 1387;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(1024); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 1388;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(2048); +if (true) break; + +case 79: +//for +this.state = 82; +step129 = 1; +limit129 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 136; +if (true) break; + +case 136: +//C +this.state = 82; +if ((step129 > 0 && _e <= limit129) || (step129 < 0 && _e >= limit129)) this.state = 81; +if (true) break; + +case 137: +//C +this.state = 136; +_e = ((int)(0 + _e + step129)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 81: +//C +this.state = 137; + BA.debugLineNum = 1389;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(4096); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 1391;BA.debugLine="If s.GetString(\"PE_PROID\") = s.GetString(\"PE_"; +Debug.ShouldStop(16384); + +case 82: +//if +this.state = 87; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))))) { +this.state = 84; +}else { +this.state = 86; +}if (true) break; + +case 84: +//C +this.state = 87; + BA.debugLineNum = 1392;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMB"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 1393;BA.debugLine="Printer1.WriteString(\" \"& eLINEFEED)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + if (true) break; + +case 86: +//C +this.state = 87; + BA.debugLineNum = 1395;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMB"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 1396;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_CANT\")"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.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*/ ),__ref.getField(true,"_k1" /*RemoteObject*/ ),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(true,"_k2" /*RemoteObject*/ ),_elinefeed))); + if (true) break; + +case 87: +//C +this.state = 135; +; + if (true) break; +if (true) break; + +case 88: +//C +this.state = 89; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 1400;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + if (true) break; + +case 89: +//C +this.state = 90; +; + BA.debugLineNum = 1418;BA.debugLine="s.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1419;BA.debugLine="s = skmt.ExecQuery($\"SELECT SUM(CAT_GP_PRECIO *"; +Debug.ShouldStop(1024); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT SUM(CAT_GP_PRECIO * PE_CANT) As SUBTOTAL FROM PEDIDO P INNER JOIN CAT_GUNAPROD C ON P.PE_PROID = C.CAT_GP_ID And P.PE_CEDIS = P.PE_PROID WHERE PE_CLIENTE IN (Select cuenta FROM CUENTAA) And PE_FOLIO = 'PREVENTA_CONTADO'"))))); + BA.debugLineNum = 1420;BA.debugLine="Dim subtotal As Double"; +Debug.ShouldStop(2048); +_subtotal = RemoteObject.createImmutable(0);Debug.locals.put("subtotal", _subtotal); + BA.debugLineNum = 1421;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1422;BA.debugLine="subtotal = s.GetDouble(\"SUBTOTAL\")"; +Debug.ShouldStop(8192); +_subtotal = __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("SUBTOTAL")));Debug.locals.put("subtotal", _subtotal); + BA.debugLineNum = 1423;BA.debugLine="s.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1425;BA.debugLine="Dim subtot As Cursor = skmt.ExecQuery(\"SELECT S"; +Debug.ShouldStop(65536); +_subtot = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_subtot = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT SUM(P.PE_COSTO_TOT) As TOTAL_SIN_PROMO FROM PEDIDO P INNER JOIN CAT_GUNAPROD C ON P.PE_PROID = C.CAT_GP_ID WHERE P.PE_CLIENTE IN (Select cuenta FROM CUENTAA) And P.PE_FOLIO = 'PREVENTA_CONTADO' And PE_CEDIS Not IN (Select DISTINCT PE_PROID FROM PEDIDO)"))));Debug.locals.put("subtot", _subtot);Debug.locals.put("subtot", _subtot); + BA.debugLineNum = 1426;BA.debugLine="subtot.Position = 0"; +Debug.ShouldStop(131072); +_subtot.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1427;BA.debugLine="subtotal = subtotal + subtot.GetDouble(\"TOTAL_S"; +Debug.ShouldStop(262144); +_subtotal = RemoteObject.solve(new RemoteObject[] {_subtotal,_subtot.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("TOTAL_SIN_PROMO")))}, "+",1, 0);Debug.locals.put("subtotal", _subtotal); + BA.debugLineNum = 1428;BA.debugLine="subtot.Close"; +Debug.ShouldStop(524288); +_subtot.runVoidMethod ("Close"); + BA.debugLineNum = 1430;BA.debugLine="subtotal = Round2(subtotal, 2)"; +Debug.ShouldStop(2097152); +_subtotal = parent.__c.runMethod(true,"Round2",(Object)(_subtotal),(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("subtotal", _subtotal); + BA.debugLineNum = 1431;BA.debugLine="Printer1.WriteString(\"Subtotal: $\" & NumberFo"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Subtotal: $"),parent.__c.runMethod(true,"NumberFormat",(Object)(_subtotal),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),_elinefeed))); + BA.debugLineNum = 1434;BA.debugLine="Dim descuento As Double"; +Debug.ShouldStop(33554432); +_descuento = RemoteObject.createImmutable(0);Debug.locals.put("descuento", _descuento); + BA.debugLineNum = 1435;BA.debugLine="s = skmt.ExecQuery2(\"SELECT SUM(PE_COSTO_TOT) A"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA_CONTADO")})))); + BA.debugLineNum = 1436;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1437;BA.debugLine="Dim total As Double = s.GetDouble(\"TOTAL\")"; +Debug.ShouldStop(268435456); +_total = __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("TOTAL")));Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 1438;BA.debugLine="descuento = subtotal - total"; +Debug.ShouldStop(536870912); +_descuento = RemoteObject.solve(new RemoteObject[] {_subtotal,_total}, "-",1, 0);Debug.locals.put("descuento", _descuento); + BA.debugLineNum = 1439;BA.debugLine="descuento = Round2(descuento, 2) ' Redondear de"; +Debug.ShouldStop(1073741824); +_descuento = parent.__c.runMethod(true,"Round2",(Object)(_descuento),(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("descuento", _descuento); + BA.debugLineNum = 1440;BA.debugLine="s.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1443;BA.debugLine="Printer1.WriteString(\"Total preventa: $\" & Nu"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total preventa: $"),parent.__c.runMethod(true,"NumberFormat",(Object)(_total),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),_elinefeed))); + BA.debugLineNum = 1444;BA.debugLine="Printer1.WriteString(\"Usted ahorro: $\" & Numb"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Usted ahorro: $"),parent.__c.runMethod(true,"NumberFormat",(Object)(_descuento),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),_elinefeed))); + BA.debugLineNum = 1448;BA.debugLine="Dim c As Cursor = skmt.ExecQuery2(\"SELECT SUM(P"; +Debug.ShouldStop(128); +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"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT SUM(PE_CANT) AS PC_NOART FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP) AND PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA_CONTADO")}))));__ref.setField("_c",parent._c); + BA.debugLineNum = 1449;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1450;BA.debugLine="Printer1.WriteString(\"Total art. preventa: \" &"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total art. preventa: "),parent.__c.runMethod(true,"NumberFormat",(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PC_NOART")))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))),_elinefeed))); + BA.debugLineNum = 1451;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1454;BA.debugLine="If tipo = \"PREVENTA_CREDITO\" Then"; +Debug.ShouldStop(8192); +if (true) break; + +case 90: +//if +this.state = 107; +if (RemoteObject.solveBoolean("=",_tipo,BA.ObjectToString("PREVENTA_CREDITO"))) { +this.state = 92; +}if (true) break; + +case 92: +//C +this.state = 93; + BA.debugLineNum = 1455;BA.debugLine="Dim siesacredi As Cursor = skmt.ExecQuery(\"SEL"; +Debug.ShouldStop(16384); +_siesacredi = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_siesacredi = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));Debug.locals.put("siesacredi", _siesacredi);Debug.locals.put("siesacredi", _siesacredi); + BA.debugLineNum = 1456;BA.debugLine="If siesacredi.RowCount > 0 Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 93: +//if +this.state = 106; +if (RemoteObject.solveBoolean(">",_siesacredi.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 95; +}if (true) break; + +case 95: +//C +this.state = 96; + BA.debugLineNum = 1457;BA.debugLine="siesacredi.Position = 0"; +Debug.ShouldStop(65536); +_siesacredi.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1458;BA.debugLine="Dim monto As String = siesacredi.GetString(\"P"; +Debug.ShouldStop(131072); +_monto = _siesacredi.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO")));Debug.locals.put("monto", _monto);Debug.locals.put("monto", _monto); + BA.debugLineNum = 1459;BA.debugLine="If monto = Null Or monto = \"\" Then monto = \"0"; +Debug.ShouldStop(262144); +if (true) break; + +case 96: +//if +this.state = 101; +if (RemoteObject.solveBoolean("n",_monto) || RemoteObject.solveBoolean("=",_monto,BA.ObjectToString(""))) { +this.state = 98; +;}if (true) break; + +case 98: +//C +this.state = 101; +_monto = BA.ObjectToString("0");Debug.locals.put("monto", _monto); +if (true) break; + +case 101: +//C +this.state = 102; +; + BA.debugLineNum = 1460;BA.debugLine="Printer1.WriteString(\"Total a credito: $\" &"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total a credito: $"),parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, _monto)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),_elinefeed))); + BA.debugLineNum = 1462;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) A"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_tipo})))); + BA.debugLineNum = 1463;BA.debugLine="s.Position =0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1464;BA.debugLine="Dim total As Double = IIf(s.GetString(\"TOTAL\""; +Debug.ShouldStop(8388608); +_total = BA.numberCast(double.class, ((RemoteObject.solveBoolean("n",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))) || RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))),BA.ObjectToString(""))) ? (RemoteObject.createImmutable((0))) : ((__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))))));Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 1465;BA.debugLine="Dim paMonto As Double = IIf(siesacredi.GetStr"; +Debug.ShouldStop(16777216); +_pamonto = BA.numberCast(double.class, ((RemoteObject.solveBoolean("n",_siesacredi.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO")))) || RemoteObject.solveBoolean("=",_siesacredi.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO"))),BA.ObjectToString(""))) ? (RemoteObject.createImmutable((0))) : ((_siesacredi.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO")))))));Debug.locals.put("paMonto", _pamonto);Debug.locals.put("paMonto", _pamonto); + BA.debugLineNum = 1467;BA.debugLine="If total > paMonto Then"; +Debug.ShouldStop(67108864); +if (true) break; + +case 102: +//if +this.state = 105; +if (RemoteObject.solveBoolean(">",_total,_pamonto)) { +this.state = 104; +}if (true) break; + +case 104: +//C +this.state = 105; + BA.debugLineNum = 1468;BA.debugLine="Printer1.WriteString(\"Total a contado: $\""; +Debug.ShouldStop(134217728); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total a contado: $"),parent.__c.runMethod(true,"NumberFormat",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))),BA.numberCast(double.class, _siesacredi.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PA_MONTO"))))}, "-",1, 0))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),_elinefeed))); + if (true) break; + +case 105: +//C +this.state = 106; +; + BA.debugLineNum = 1470;BA.debugLine="s.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 106: +//C +this.state = 107; +; + if (true) break; + +case 107: +//C +this.state = 108; +; + BA.debugLineNum = 1474;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(2); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + if (true) break; + +case 108: +//C +this.state = 127; +; + if (true) break; +if (true) break; + +case 109: +//C +this.state = 110; +Debug.locals.put("tipo", _tipo); +; + BA.debugLineNum = 1478;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 1479;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("----ESTE TICKET NO ES UN -----"),_elinefeed))); + BA.debugLineNum = 1480;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE DE PAGO NI FI"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--COMPROBANTE DE PAGO NI FISCAL-"),_elinefeed))); + BA.debugLineNum = 1481;BA.debugLine="Printer1.WriteString(\"--ES UN TICKET INFORMATIVO-"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--ES UN TICKET INFORMATIVO----"),_elinefeed))); + BA.debugLineNum = 1482;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(512); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 1483;BA.debugLine="If ALMACEN = \"2\" Then"; +Debug.ShouldStop(1024); +if (true) break; + +case 110: +//if +this.state = 115; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("2"))) { +this.state = 112; +}else +{ BA.debugLineNum = 1485;BA.debugLine="Else If ALMACEN = \"3\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_almacen" /*RemoteObject*/ ),BA.ObjectToString("3"))) { +this.state = 114; +}} +if (true) break; + +case 112: +//C +this.state = 115; + BA.debugLineNum = 1484;BA.debugLine="Printer1.WriteString(\"TEL.: 5591972829\" & eLINEF"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("TEL.: 5591972829"),_elinefeed))); + if (true) break; + +case 114: +//C +this.state = 115; + BA.debugLineNum = 1486;BA.debugLine="Printer1.WriteString(\"TEL.: 5579797285\" & eLINEF"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("TEL.: 5579797285"),_elinefeed))); + if (true) break; + +case 115: +//C +this.state = 116; +; + BA.debugLineNum = 1488;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 1489;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 1490;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 1491;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_preventa"),BA.numberCast(int.class, 1000)); +this.state = 138; +return; +case 138: +//C +this.state = 116; +; + BA.debugLineNum = 1492;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 1494;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 1496;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket?"; +Debug.ShouldStop(8388608); +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 = 1497;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_preventa"), null); +this.state = 139; +return; +case 139: +//C +this.state = 116; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 1498;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(33554432); +if (true) break; + +case 116: +//if +this.state = 121; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 118; +}else { +this.state = 120; +}if (true) break; + +case 118: +//C +this.state = 121; + BA.debugLineNum = 1499;BA.debugLine="B_IMP_Click"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_b_imp_click" /*RemoteObject*/ ); + if (true) break; + +case 120: +//C +this.state = 121; + BA.debugLineNum = 1501;BA.debugLine="GUADAVENTA2"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_guadaventa2" /*RemoteObject*/ ); + if (true) break; + +case 121: +//C +this.state = -1; +; + BA.debugLineNum = 1503;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _imprime_venta(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("imprime_venta (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1505); +if (RapidSub.canDelegate("imprime_venta")) { __ref.runUserSub(false, "c_cliente","imprime_venta", __ref); return;} +ResumableSub_imprime_venta rsub = new ResumableSub_imprime_venta(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_imprime_venta extends BA.ResumableSub { +public ResumableSub_imprime_venta(SHARK2.keymon.com.mx.c_cliente parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_cliente parent; +RemoteObject _elinefeed = RemoteObject.createImmutable(""); +RemoteObject _cont = RemoteObject.createImmutable(0); +RemoteObject _bmp = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); +RemoteObject _myimage = RemoteObject.declareNull("SHARK2.keymon.com.mx.escposprinter._animage"); +int _i = 0; +int _e = 0; +RemoteObject _resultado = RemoteObject.createImmutable(0); +int step65; +int limit65; +int step79; +int limit79; +int step95; +int limit95; +int step113; +int limit113; +int step127; +int limit127; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("imprime_venta (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1505); +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 = 1506;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 1507;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1508;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(8); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 1509;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(16); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1510;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(32); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1511;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(64); +__ref.setField ("_stime" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1512;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1518;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +Debug.ShouldStop(8192); +_elinefeed = RemoteObject.concat(RemoteObject.createImmutable(""),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0d)))),parent.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0a)))));Debug.locals.put("eLINEFEED", _elinefeed);Debug.locals.put("eLINEFEED", _elinefeed); + BA.debugLineNum = 1520;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Imprimiendo, un momento ...")))); + BA.debugLineNum = 1521;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(65536); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 1522;BA.debugLine="If Not(Printer1.IsConnected) Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 1524;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 1525;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(1048576); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 1526;BA.debugLine="Do While Not(impresoraConectada)"; +Debug.ShouldStop(2097152); +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 = 1527;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_venta"),BA.numberCast(int.class, 1000)); +this.state = 99; +return; +case 99: +//C +this.state = 7; +; + BA.debugLineNum = 1528;BA.debugLine="cont = cont + 1"; +Debug.ShouldStop(8388608); +_cont = RemoteObject.solve(new RemoteObject[] {_cont,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("cont", _cont); + BA.debugLineNum = 1529;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de"; +Debug.ShouldStop(16777216); +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 (SHARK2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 12: +//C +this.state = 13; +; + BA.debugLineNum = 1530;BA.debugLine="If cont > 15 Then impresoraConectada = True"; +Debug.ShouldStop(33554432); +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 = 1532;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_venta"),BA.numberCast(int.class, 500)); +this.state = 100; +return; +case 100: +//C +this.state = 38; +; + BA.debugLineNum = 1533;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(268435456); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 1536;BA.debugLine="Printer1.Connect"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); + BA.debugLineNum = 1537;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 = 1538;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; +Debug.ShouldStop(2); +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 (SHARK2.keymon.com.mx.escposprinter.class, "_isconnected" /*RemoteObject*/ ))))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 1539;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_venta"),BA.numberCast(int.class, 1000)); +this.state = 101; +return; +case 101: +//C +this.state = 25; +; + BA.debugLineNum = 1540;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 = 1541;BA.debugLine="If cont = 2 Then Printer1.Connect"; +Debug.ShouldStop(16); +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 (SHARK2.keymon.com.mx.escposprinter.class, "_connect" /*RemoteObject*/ ); +if (true) break; + +case 30: +//C +this.state = 31; +; + BA.debugLineNum = 1542;BA.debugLine="If cont > 4 Then impresoraConectada = True"; +Debug.ShouldStop(32); +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 = 1544;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(128); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_venta"),BA.numberCast(int.class, 500)); +this.state = 102; +return; +case 102: +//C +this.state = 38; +; + BA.debugLineNum = 1545;BA.debugLine="impresoraConectada = False"; +Debug.ShouldStop(256); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; + +case 38: +//C +this.state = 39; +; + BA.debugLineNum = 1548;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(2048); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1549;BA.debugLine="ESPACIO = 22"; +Debug.ShouldStop(4096); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 22)); + BA.debugLineNum = 1550;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(8192); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 1568;BA.debugLine="Dim bmp As Bitmap"; +Debug.ShouldStop(-2147483648); +_bmp = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");Debug.locals.put("bmp", _bmp); + BA.debugLineNum = 1569;BA.debugLine="Printer1.Justify = 1"; +Debug.ShouldStop(1); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_setjustify",BA.numberCast(int.class, 1)); + BA.debugLineNum = 1570;BA.debugLine="bmp.InitializeResize(File.DirAssets, \"amigos.jpg\""; +Debug.ShouldStop(2); +_bmp.runVoidMethod ("InitializeResize",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("amigos.jpg")),(Object)(BA.numberCast(int.class, 192)),(Object)(BA.numberCast(int.class, 252)),(Object)(parent.__c.getField(true,"True"))); + BA.debugLineNum = 1571;BA.debugLine="Dim myimage As AnImage = Printer1.ImageToBWIMage("; +Debug.ShouldStop(4); +_myimage = __ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_imagetobwimage" /*RemoteObject*/ ,(Object)(_bmp));Debug.locals.put("myimage", _myimage);Debug.locals.put("myimage", _myimage); + BA.debugLineNum = 1573;BA.debugLine="myimage = Printer1.DitherImage2D(myimage, 128)"; +Debug.ShouldStop(16); +_myimage = __ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_ditherimage2d" /*RemoteObject*/ ,(Object)(_myimage),(Object)(BA.numberCast(int.class, 128)));Debug.locals.put("myimage", _myimage); + BA.debugLineNum = 1575;BA.debugLine="myimage= Printer1.PackImage(myimage)"; +Debug.ShouldStop(64); +_myimage = __ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_packimage" /*RemoteObject*/ ,(Object)(_myimage));Debug.locals.put("myimage", _myimage); + BA.debugLineNum = 1576;BA.debugLine="Printer1.WriteString(CRLF) ' nudge the printer to"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(parent.__c.getField(true,"CRLF"))); + BA.debugLineNum = 1577;BA.debugLine="Printer1.WriteString(Printer1.REVERSE)"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).getField(true,"_reverse" /*RemoteObject*/ ))); + BA.debugLineNum = 1579;BA.debugLine="Printer1.PrintImage(myimage)"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_printimage" /*RemoteObject*/ ,(Object)(_myimage)); + BA.debugLineNum = 1580;BA.debugLine="Printer1.WriteString(Printer1.UNREVERSE)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_printer1" /*RemoteObject*/ ).getField(true,"_unreverse" /*RemoteObject*/ ))); + BA.debugLineNum = 1582;BA.debugLine="Printer1.Justify = 0"; +Debug.ShouldStop(8192); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_setjustify",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1584;BA.debugLine="Printer1.WriteString(\"CANDY SHARK2\" & eLINEFEED)"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("CANDY SHARK2"),_elinefeed))); + BA.debugLineNum = 1586;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 1587;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_stime" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 1588;BA.debugLine="Printer1.WriteString(\"Vendedor: \" & TraeVendedor"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Vendedor: "),__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_traevendedor" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 1589;BA.debugLine="Printer1.WriteString(\"Numero de Vendedor: \" & Tra"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Numero de Vendedor: "),__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_traenumvendedor" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 1590;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Tienda: "),__ref.getField(false,"_la_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 1591;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +Debug.ShouldStop(4194304); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("ID.Cliente: "),__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 1592;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Calle: "),__ref.getField(false,"_la_calle" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 1593;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Colonia: "),__ref.getField(false,"_la_col" /*RemoteObject*/ ).runMethod(true,"getText"),_elinefeed))); + BA.debugLineNum = 1597;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 1598;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTA")})))); + BA.debugLineNum = 1599;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 39: +//if +this.state = 88; +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 = 1600;BA.debugLine="Printer1.WriteString(\"-----------VENTA----------"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-----------VENTA-----------"),_elinefeed))); + BA.debugLineNum = 1603;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Precio Importe"),_elinefeed))); + BA.debugLineNum = 1605;BA.debugLine="Printer1.WriteString(\"--------------------------"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 1607;BA.debugLine="s=skmt.ExecQuery2(\"select PE_BCAJAS, PE_PRONOMBR"; +Debug.ShouldStop(64); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_BCAJAS, PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU, PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTA")})))); + BA.debugLineNum = 1608;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(128); +if (true) break; + +case 42: +//if +this.state = 69; +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 = 1609;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(256); +if (true) break; + +case 45: +//for +this.state = 68; +step65 = 1; +limit65 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 103; +if (true) break; + +case 103: +//C +this.state = 68; +if ((step65 > 0 && _i <= limit65) || (step65 < 0 && _i >= limit65)) this.state = 47; +if (true) break; + +case 104: +//C +this.state = 103; +_i = ((int)(0 + _i + step65)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 47: +//C +this.state = 48; + BA.debugLineNum = 1610;BA.debugLine="S.Position=i"; +Debug.ShouldStop(512); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1611;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; +Debug.ShouldStop(1024); +if (true) break; + +case 48: +//if +this.state = 67; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { +this.state = 50; +}else { +this.state = 52; +}if (true) break; + +case 50: +//C +this.state = 67; + BA.debugLineNum = 1612;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBR"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + if (true) break; + +case 52: +//C +this.state = 53; + BA.debugLineNum = 1616;BA.debugLine="If s.GetString(\"PE_BCAJAS\") = 0 Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 53: +//if +this.state = 66; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_BCAJAS"))),BA.NumberToString(0))) { +this.state = 55; +}else { +this.state = 61; +}if (true) break; + +case 55: +//C +this.state = 56; + BA.debugLineNum = 1619;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMB"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 1657;BA.debugLine="k1 = NumberFormat(s.GETSTRING(\"PE_COSTOU\"),0"; +Debug.ShouldStop(16777216); +__ref.setField ("_k1" /*RemoteObject*/ ,parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))); + BA.debugLineNum = 1658;BA.debugLine="k2 = NumberFormat(s.GETSTRING(\"PE_COSTO_TOT\""; +Debug.ShouldStop(33554432); +__ref.setField ("_k2" /*RemoteObject*/ ,parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))); + BA.debugLineNum = 1660;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + k1.Length + k"; +Debug.ShouldStop(134217728); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_k1" /*RemoteObject*/ ).runMethod(true,"length"),__ref.getField(true,"_k2" /*RemoteObject*/ ).runMethod(true,"length")}, "++",2, 2))); + BA.debugLineNum = 1661;BA.debugLine="ESPACIO = 30"; +Debug.ShouldStop(268435456); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 30)); + BA.debugLineNum = 1662;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(536870912); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 1663;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(1073741824); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 1664;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 1665;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(1); +if (true) break; + +case 56: +//for +this.state = 59; +step79 = 1; +limit79 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 105; +if (true) break; + +case 105: +//C +this.state = 59; +if ((step79 > 0 && _e <= limit79) || (step79 < 0 && _e >= limit79)) this.state = 58; +if (true) break; + +case 106: +//C +this.state = 105; +_e = ((int)(0 + _e + step79)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 58: +//C +this.state = 106; + BA.debugLineNum = 1666;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(2); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 59: +//C +this.state = 66; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 1669;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_CANT\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.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*/ ),__ref.getField(true,"_k1" /*RemoteObject*/ ),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(true,"_k2" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 1671;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(64); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1672;BA.debugLine="ESPACIO = 30"; +Debug.ShouldStop(128); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 30)); + BA.debugLineNum = 1673;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(256); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 61: +//C +this.state = 62; + BA.debugLineNum = 1676;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMB"; +Debug.ShouldStop(2048); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 1720;BA.debugLine="k1 = NumberFormat((s.GETSTRING(\"PE_COSTO_TOT"; +Debug.ShouldStop(8388608); +__ref.setField ("_k1" /*RemoteObject*/ ,parent.__c.runMethod(true,"NumberFormat",(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)))); + BA.debugLineNum = 1721;BA.debugLine="k2 = NumberFormat(s.GETSTRING(\"PE_COSTO_TOT\""; +Debug.ShouldStop(16777216); +__ref.setField ("_k2" /*RemoteObject*/ ,parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))); + BA.debugLineNum = 1723;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + k1.Length + k"; +Debug.ShouldStop(67108864); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_k1" /*RemoteObject*/ ).runMethod(true,"length"),__ref.getField(true,"_k2" /*RemoteObject*/ ).runMethod(true,"length")}, "++",2, 2))); + BA.debugLineNum = 1724;BA.debugLine="ESPACIO = 30"; +Debug.ShouldStop(134217728); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 30)); + BA.debugLineNum = 1725;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(268435456); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 1726;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(536870912); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 1727;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(1073741824); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 1728;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 62: +//for +this.state = 65; +step95 = 1; +limit95 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 107; +if (true) break; + +case 107: +//C +this.state = 65; +if ((step95 > 0 && _e <= limit95) || (step95 < 0 && _e >= limit95)) this.state = 64; +if (true) break; + +case 108: +//C +this.state = 107; +_e = ((int)(0 + _e + step95)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 64: +//C +this.state = 108; + BA.debugLineNum = 1729;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 65: +//C +this.state = 66; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 1732;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_CANT\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.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*/ ),__ref.getField(true,"_k1" /*RemoteObject*/ ),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(true,"_k2" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 1734;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(32); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1735;BA.debugLine="ESPACIO = 30"; +Debug.ShouldStop(64); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 30)); + BA.debugLineNum = 1736;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(128); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 66: +//C +this.state = 67; +; + if (true) break; + +case 67: +//C +this.state = 104; +; + 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 = 70; +; + BA.debugLineNum = 1743;BA.debugLine="s.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1744;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(32768); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 1745;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +Debug.ShouldStop(65536); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTA")})))); + BA.debugLineNum = 1746;BA.debugLine="If S.RowCount>0 Then"; +Debug.ShouldStop(131072); +if (true) break; + +case 70: +//if +this.state = 87; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 72; +}if (true) break; + +case 72: +//C +this.state = 73; + BA.debugLineNum = 1747;BA.debugLine="Printer1.WriteString(\"-------PROMOS VENTA------"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("-------PROMOS VENTA--------"),_elinefeed))); + BA.debugLineNum = 1748;BA.debugLine="Printer1.WriteString(\"Cant. Precio"; +Debug.ShouldStop(524288); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Cant. Precio Importe"),_elinefeed))); + BA.debugLineNum = 1749;BA.debugLine="Printer1.WriteString(\"-------------------------"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 1750;BA.debugLine="For i=0 To S.RowCount -1"; +Debug.ShouldStop(2097152); +if (true) break; + +case 73: +//for +this.state = 86; +step113 = 1; +limit113 = 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 = 109; +if (true) break; + +case 109: +//C +this.state = 86; +if ((step113 > 0 && _i <= limit113) || (step113 < 0 && _i >= limit113)) this.state = 75; +if (true) break; + +case 110: +//C +this.state = 109; +_i = ((int)(0 + _i + step113)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 75: +//C +this.state = 76; + BA.debugLineNum = 1751;BA.debugLine="s.Position=i"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1752;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; +Debug.ShouldStop(8388608); +if (true) break; + +case 76: +//if +this.state = 85; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))) { +this.state = 78; +}else { +this.state = 80; +}if (true) break; + +case 78: +//C +this.state = 85; + BA.debugLineNum = 1753;BA.debugLine="Printer1.WriteString(\"* \"& s.GetString(\"PE_PR"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("* "),__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 1754;BA.debugLine="Log(\"promo\")"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("LogImpl","56488313",RemoteObject.createImmutable("promo"),0); + if (true) break; + +case 80: +//C +this.state = 81; + BA.debugLineNum = 1757;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBR"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_elinefeed))); + BA.debugLineNum = 1799;BA.debugLine="k1 = NumberFormat(s.GETSTRING(\"PE_COSTOU\"),0,"; +Debug.ShouldStop(64); +__ref.setField ("_k1" /*RemoteObject*/ ,parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))); + BA.debugLineNum = 1800;BA.debugLine="k2 = NumberFormat(s.GETSTRING(\"PE_COSTO_TOT\")"; +Debug.ShouldStop(128); +__ref.setField ("_k2" /*RemoteObject*/ ,parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)))); + BA.debugLineNum = 1802;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + k1.Length + k2"; +Debug.ShouldStop(512); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("L_CANT"))),__ref.getField(true,"_k1" /*RemoteObject*/ ).runMethod(true,"length"),__ref.getField(true,"_k2" /*RemoteObject*/ ).runMethod(true,"length")}, "++",2, 2))); + BA.debugLineNum = 1803;BA.debugLine="ESPACIO = 30"; +Debug.ShouldStop(1024); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 30)); + BA.debugLineNum = 1804;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(2048); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + BA.debugLineNum = 1805;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +Debug.ShouldStop(4096); +__ref.setField ("_espacio" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),__ref.getField(true,"_tamano" /*RemoteObject*/ )}, "-",1, 1)); + BA.debugLineNum = 1806;BA.debugLine="ESPACIO = ESPACIO / 2"; +Debug.ShouldStop(8192); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 1807;BA.debugLine="For E=0 To ESPACIO -1"; +Debug.ShouldStop(16384); +if (true) break; + +case 81: +//for +this.state = 84; +step127 = 1; +limit127 = RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_espacio" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_e = 0 ; +Debug.locals.put("E", _e); +this.state = 111; +if (true) break; + +case 111: +//C +this.state = 84; +if ((step127 > 0 && _e <= limit127) || (step127 < 0 && _e >= limit127)) this.state = 83; +if (true) break; + +case 112: +//C +this.state = 111; +_e = ((int)(0 + _e + step127)) ; +Debug.locals.put("E", _e); +if (true) break; + +case 83: +//C +this.state = 112; + BA.debugLineNum = 1808;BA.debugLine="BLANCO = \" \" & BLANCO"; +Debug.ShouldStop(32768); +__ref.setField ("_blanco" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable(" "),__ref.getField(true,"_blanco" /*RemoteObject*/ ))); + if (true) break; +if (true) break; + +case 84: +//C +this.state = 85; +Debug.locals.put("E", _e); +; + BA.debugLineNum = 1811;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_CANT\") &"; +Debug.ShouldStop(262144); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.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*/ ),__ref.getField(true,"_k1" /*RemoteObject*/ ),__ref.getField(true,"_blanco" /*RemoteObject*/ ),__ref.getField(true,"_k2" /*RemoteObject*/ ),_elinefeed))); + BA.debugLineNum = 1813;BA.debugLine="TAMANO = 0"; +Debug.ShouldStop(1048576); +__ref.setField ("_tamano" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1814;BA.debugLine="ESPACIO = 30"; +Debug.ShouldStop(2097152); +__ref.setField ("_espacio" /*RemoteObject*/ ,BA.numberCast(int.class, 30)); + BA.debugLineNum = 1815;BA.debugLine="BLANCO = \" \""; +Debug.ShouldStop(4194304); +__ref.setField ("_blanco" /*RemoteObject*/ ,BA.ObjectToString(" ")); + if (true) break; + +case 85: +//C +this.state = 110; +; + if (true) break; +if (true) break; + +case 86: +//C +this.state = 87; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 1819;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + if (true) break; + +case 87: +//C +this.state = 88; +; + BA.debugLineNum = 1821;BA.debugLine="s.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1823;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) AS T"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTA")})))); + BA.debugLineNum = 1824;BA.debugLine="s.Position =0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1828;BA.debugLine="Printer1.WriteString(\"Total venta: $\" & Number"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total venta: $"),parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))),_elinefeed))); + BA.debugLineNum = 1830;BA.debugLine="s.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1831;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTA")})))); + BA.debugLineNum = 1832;BA.debugLine="C.Position=0"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1833;BA.debugLine="Printer1.WriteString(\"Total art. venta: \" &Numbe"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("Total art. venta: "),parent.__c.runMethod(true,"NumberFormat",(Object)(BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))),_elinefeed))); + BA.debugLineNum = 1834;BA.debugLine="c.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 88: +//C +this.state = 89; +; + BA.debugLineNum = 1855;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 1856;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 1859;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +Debug.ShouldStop(4); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("----ESTE TICKET NO ES UN -----"),_elinefeed))); + BA.debugLineNum = 1860;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; +Debug.ShouldStop(8); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--COMPROBANTE FISCAL, SOLO ES-"),_elinefeed))); + BA.debugLineNum = 1861;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +Debug.ShouldStop(16); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("--------INFORMATIVO-----------"),_elinefeed))); + BA.debugLineNum = 1862;BA.debugLine="Printer1.WriteString(\"---------------------------"; +Debug.ShouldStop(32); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable("------------------------------"),_elinefeed))); + BA.debugLineNum = 1863;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(64); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 1864;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(128); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 1865;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +Debug.ShouldStop(256); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(RemoteObject.createImmutable(" "),_elinefeed))); + BA.debugLineNum = 1866;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_cliente", "imprime_venta"),BA.numberCast(int.class, 1000)); +this.state = 113; +return; +case 113: +//C +this.state = 89; +; + BA.debugLineNum = 1867;BA.debugLine="Printer1.DisConnect"; +Debug.ShouldStop(1024); +__ref.getField(false,"_printer1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 1869;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 1871;BA.debugLine="s = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE ("; +Debug.ShouldStop(16384); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE (PE_FOLIO = ? OR PE_FOLIO = ?) AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("PREVENTA_CREDITO"),RemoteObject.createImmutable("PREVENTA_CONTADO")})))); + BA.debugLineNum = 1872;BA.debugLine="If s.RowCount = 0 Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 89: +//if +this.state = 98; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 91; +}if (true) break; + +case 91: +//C +this.state = 92; + BA.debugLineNum = 1873;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 = 1874;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", "imprime_venta"), null); +this.state = 114; +return; +case 114: +//C +this.state = 92; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 1875;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(262144); +if (true) break; + +case 92: +//if +this.state = 97; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 94; +}else { +this.state = 96; +}if (true) break; + +case 94: +//C +this.state = 97; + BA.debugLineNum = 1876;BA.debugLine="B_IMP_Click"; +Debug.ShouldStop(524288); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_b_imp_click" /*RemoteObject*/ ); + if (true) break; + +case 96: +//C +this.state = 97; + BA.debugLineNum = 1878;BA.debugLine="GUADAVENTA2"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_guadaventa2" /*RemoteObject*/ ); + if (true) break; + +case 97: +//C +this.state = 98; +; + if (true) break; + +case 98: +//C +this.state = -1; +; + BA.debugLineNum = 1884;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +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",4,__ref.getField(false, "ba"),__ref,178); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_cliente","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 178;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(131072); + BA.debugLineNum = 179;BA.debugLine="Return Me"; +Debug.ShouldStop(262144); +if (true) return __ref; + BA.debugLineNum = 180;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",4,__ref.getField(false, "ba"),__ref,2287); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_cliente","jobdone", __ref, _job);} +RemoteObject _resultado = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbresult"); +RemoteObject _cliente = RemoteObject.createImmutable(""); +RemoteObject _records = null; +RemoteObject _pars = null; +RemoteObject _piezasexiste = RemoteObject.createImmutable(0); +RemoteObject _pcnoarts = RemoteObject.createImmutable(""); +RemoteObject _pcmonto = RemoteObject.createImmutable(""); +RemoteObject _k = RemoteObject.createImmutable(""); +RemoteObject _idpreg = RemoteObject.createImmutable(""); +RemoteObject _idresp = RemoteObject.createImmutable(""); +Debug.locals.put("Job", _job); + BA.debugLineNum = 2287;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(16384); + BA.debugLineNum = 2289;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_cliente.__c.getField(true,"False"))) { + }else { + BA.debugLineNum = 2292;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +Debug.ShouldStop(524288); +c_cliente.__c.runVoidMethod ("LogImpl","57733253",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),c_cliente.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 2293;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2294;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +Debug.ShouldStop(2097152); +_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 2295;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_pedido"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("ins_pedidosPendientes_head_"))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 2296;BA.debugLine="Subs.logJobDoneResultados(resultado)"; +Debug.ShouldStop(8388608); +c_cliente._subs.runVoidMethod ("_logjobdoneresultados" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_resultado)); + BA.debugLineNum = 2297;BA.debugLine="Private cliente As String= resultado.Tag"; +Debug.ShouldStop(16777216); +_cliente = BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ));Debug.locals.put("cliente", _cliente);Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 2298;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +Debug.ShouldStop(33554432); +_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 = 2300;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(134217728); +{ +final RemoteObject group10 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen10 = group10.runMethod(true,"getSize").get() +;int index10 = 0; +; +for (; index10 < groupLen10;index10++){ +_records = (group10.runMethod(false,"Get",index10));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2301;BA.debugLine="If records(resultado.Columns.Get(\"AffectedRow"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",(BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("AffectedRows")))))))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2303;BA.debugLine="Private pars() As String = Regex.Split(\"_\","; +Debug.ShouldStop(1073741824); +_pars = c_cliente.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("_")),(Object)(BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ))));Debug.locals.put("pars", _pars);Debug.locals.put("pars", _pars); + BA.debugLineNum = 2304;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +Debug.ShouldStop(-2147483648); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update PEDIDO_CLIENTE set PC_ENVIO_OK = 1 where PC_CLIENTE = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pars.getArrayElement(true,BA.numberCast(int.class, 3))))),RemoteObject.createImmutable("'"))))); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2314;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2315;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +Debug.ShouldStop(1024); +_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 2316;BA.debugLine="If resultado.Tag = \"piezas\" Then 'query tag"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_resultado.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("piezas")))) { + BA.debugLineNum = 2318;BA.debugLine="Dim piezasexiste As Int"; +Debug.ShouldStop(8192); +_piezasexiste = RemoteObject.createImmutable(0);Debug.locals.put("piezasexiste", _piezasexiste); + BA.debugLineNum = 2320;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(32768); +{ +final RemoteObject group22 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen22 = group22.runMethod(true,"getSize").get() +;int index22 = 0; +; +for (; index22 < groupLen22;index22++){ +_records = (group22.runMethod(false,"Get",index22));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2322;BA.debugLine="piezasexiste = records(resultado.Columns.Get("; +Debug.ShouldStop(131072); +_piezasexiste = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COUNT(*)")))))));Debug.locals.put("piezasexiste", _piezasexiste); + BA.debugLineNum = 2323;BA.debugLine="Log(piezasexiste)"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethod ("LogImpl","57733284",BA.NumberToString(_piezasexiste),0); + BA.debugLineNum = 2324;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(524288); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 2325;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(1048576); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 2326;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(2097152); +__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 = 2327;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(4194304); +__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 = 2328;BA.debugLine="If piezasexiste = 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_piezasexiste,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2330;BA.debugLine="Dim PCNoArts As String"; +Debug.ShouldStop(33554432); +_pcnoarts = RemoteObject.createImmutable("");Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 2331;BA.debugLine="Dim PCMonto As String"; +Debug.ShouldStop(67108864); +_pcmonto = RemoteObject.createImmutable("");Debug.locals.put("PCMonto", _pcmonto); + BA.debugLineNum = 2332;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CL"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")})))); + BA.debugLineNum = 2335;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2336;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2337;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(1); +_pcnoarts = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")));Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 2338;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(2); +_pcmonto = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")));Debug.locals.put("PCMonto", _pcmonto); + }; + BA.debugLineNum = 2341;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(16); +c_cliente._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_cliente._cmd); + BA.debugLineNum = 2342;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2343;BA.debugLine="cmd.Name = \"insert_HVC_SHARK2\""; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_HVC_SHARK2")); + BA.debugLineNum = 2344;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {6},new Object[] {((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(_pcnoarts),(_pcmonto),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ ))})); + BA.debugLineNum = 2345;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insert_hvc\""; +Debug.ShouldStop(256); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_hvc")))); + }else +{ BA.debugLineNum = 2348;BA.debugLine="Else If piezasexiste = 1 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_piezasexiste,BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2349;BA.debugLine="Dim PCNoArts As String"; +Debug.ShouldStop(4096); +_pcnoarts = RemoteObject.createImmutable("");Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 2350;BA.debugLine="Dim PCMonto As String"; +Debug.ShouldStop(8192); +_pcmonto = RemoteObject.createImmutable("");Debug.locals.put("PCMonto", _pcmonto); + BA.debugLineNum = 2351;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CL"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")})))); + BA.debugLineNum = 2353;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 = 2354;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2355;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(262144); +_pcnoarts = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")));Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 2356;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(524288); +_pcmonto = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")));Debug.locals.put("PCMonto", _pcmonto); + }; + BA.debugLineNum = 2358;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2359;BA.debugLine="cmd.Name = \"update_HVC_SHARK2\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_HVC_SHARK2")); + BA.debugLineNum = 2360;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(_pcnoarts),(_pcmonto),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ )),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ ))})); + BA.debugLineNum = 2361;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvc\")"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("update_hvc")))); + }} +; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2370;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2371;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +Debug.ShouldStop(4); +_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 2372;BA.debugLine="If resultado.Tag = \"piezasrecarga\" Then 'query"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_resultado.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("piezasrecarga")))) { + BA.debugLineNum = 2374;BA.debugLine="Dim piezasexiste As Int"; +Debug.ShouldStop(32); +_piezasexiste = RemoteObject.createImmutable(0);Debug.locals.put("piezasexiste", _piezasexiste); + BA.debugLineNum = 2375;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(64); +{ +final RemoteObject group64 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen64 = group64.runMethod(true,"getSize").get() +;int index64 = 0; +; +for (; index64 < groupLen64;index64++){ +_records = (group64.runMethod(false,"Get",index64));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2376;BA.debugLine="piezasexiste = records(resultado.Columns.Get("; +Debug.ShouldStop(128); +_piezasexiste = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COUNT(*)")))))));Debug.locals.put("piezasexiste", _piezasexiste); + BA.debugLineNum = 2377;BA.debugLine="Log(piezasexiste)"; +Debug.ShouldStop(256); +c_cliente.__c.runVoidMethod ("LogImpl","57733338",BA.NumberToString(_piezasexiste),0); + BA.debugLineNum = 2378;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(512); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 2379;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(1024); +c_cliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 2380;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(2048); +__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 = 2381;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(4096); +__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 = 2382;BA.debugLine="If piezasexiste = 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_piezasexiste,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2383;BA.debugLine="Dim PCNoArts As String"; +Debug.ShouldStop(16384); +_pcnoarts = RemoteObject.createImmutable("");Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 2384;BA.debugLine="Dim PCMonto As String"; +Debug.ShouldStop(32768); +_pcmonto = RemoteObject.createImmutable("");Debug.locals.put("PCMonto", _pcmonto); + BA.debugLineNum = 2385;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CL"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("1")})))); + BA.debugLineNum = 2386;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 = 2387;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2388;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(524288); +_pcnoarts = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")));Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 2389;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(1048576); +_pcmonto = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")));Debug.locals.put("PCMonto", _pcmonto); + }; + BA.debugLineNum = 2391;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(4194304); +c_cliente._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_cliente._cmd); + BA.debugLineNum = 2392;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2393;BA.debugLine="cmd.Name = \"insert_HVC_SHARK2\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_HVC_SHARK2")); + BA.debugLineNum = 2394;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {6},new Object[] {((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),RemoteObject.createImmutable(("0")),(_pcnoarts),(_pcmonto),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ ))})); + BA.debugLineNum = 2395;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insert_hvc\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_hvc")))); + }else +{ BA.debugLineNum = 2397;BA.debugLine="Else If piezasexiste = 1 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_piezasexiste,BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2398;BA.debugLine="Dim PCNoArts As String"; +Debug.ShouldStop(536870912); +_pcnoarts = RemoteObject.createImmutable("");Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 2399;BA.debugLine="Dim PCMonto As String"; +Debug.ShouldStop(1073741824); +_pcmonto = RemoteObject.createImmutable("");Debug.locals.put("PCMonto", _pcmonto); + BA.debugLineNum = 2400;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CL"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("1")})))); + BA.debugLineNum = 2401;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2402;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2403;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(4); +_pcnoarts = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")));Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 2404;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(8); +_pcmonto = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")));Debug.locals.put("PCMonto", _pcmonto); + }; + BA.debugLineNum = 2406;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2407;BA.debugLine="cmd.Name = \"update_HVC_SHARK2\""; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("update_HVC_SHARK2")); + BA.debugLineNum = 2408;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),RemoteObject.createImmutable(("0")),(_pcnoarts),(_pcmonto),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ )),(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ ))})); + BA.debugLineNum = 2409;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvc\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("update_hvc")))); + }} +; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2435;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2436;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +Debug.ShouldStop(8); +_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 2437;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_abonos"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("ins_abonosPendientes_"))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 2438;BA.debugLine="Private cliente As String= resultado.Tag"; +Debug.ShouldStop(32); +_cliente = BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ));Debug.locals.put("cliente", _cliente);Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 2439;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +Debug.ShouldStop(64); +_cliente = _cliente.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_cliente.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("_"))),RemoteObject.createImmutable(18)}, "+",1, 1)));Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 2440;BA.debugLine="Log($\"Cliente2:${cliente}\"$)"; +Debug.ShouldStop(128); +c_cliente.__c.runVoidMethod ("LogImpl","57733401",(RemoteObject.concat(RemoteObject.createImmutable("Cliente2:"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2441;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(256); +{ +final RemoteObject group108 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen108 = group108.runMethod(true,"getSize").get() +;int index108 = 0; +; +for (; index108 < groupLen108;index108++){ +_records = (group108.runMethod(false,"Get",index108));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2442;BA.debugLine="For Each k As String In resultado.Columns.Key"; +Debug.ShouldStop(512); +{ +final RemoteObject group109 = _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen109 = group109.runMethod(true,"getSize").get() +;int index109 = 0; +; +for (; index109 < groupLen109;index109++){ +_k = BA.ObjectToString(group109.runMethod(false,"Get",index109));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 2443;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("LogImpl","57733404",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 = 2446;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE A"; +Debug.ShouldStop(8192); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE ABONOS set a_enviado = 1 where a_cliente = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("'"))))); + }; + }; + BA.debugLineNum = 2451;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2452;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +Debug.ShouldStop(524288); +_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 2453;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"insert_cli"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("insert_cliente_"))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 2454;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 = 2455;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(9)}, "+",1, 1)));Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 2456;BA.debugLine="Log($\"Cliente2:${cliente}\"$)"; +Debug.ShouldStop(8388608); +c_cliente.__c.runVoidMethod ("LogImpl","57733417",(RemoteObject.concat(RemoteObject.createImmutable("Cliente2:"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2457;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(16777216); +{ +final RemoteObject group122 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen122 = group122.runMethod(true,"getSize").get() +;int index122 = 0; +; +for (; index122 < groupLen122;index122++){ +_records = (group122.runMethod(false,"Get",index122));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2458;BA.debugLine="For Each k As String In resultado.Columns.Key"; +Debug.ShouldStop(33554432); +{ +final RemoteObject group123 = _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen123 = group123.runMethod(true,"getSize").get() +;int index123 = 0; +; +for (; index123 < groupLen123;index123++){ +_k = BA.ObjectToString(group123.runMethod(false,"Get",index123));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 2459;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +Debug.ShouldStop(67108864); +c_cliente.__c.runVoidMethod ("LogImpl","57733420",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 = 2462;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE C"; +Debug.ShouldStop(536870912); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE CLIENTE_NUEVO set CN_enviado = 1 where CN_ID_CLIENTE = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("'"))))); + }; + }; + BA.debugLineNum = 2467;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2468;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +Debug.ShouldStop(8); +_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 2469;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"insert_cue"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("insert_cuestionario_"))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 2470;BA.debugLine="Private pars() As String = Regex.Split(\"_\", re"; +Debug.ShouldStop(32); +_pars = c_cliente.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("_")),(Object)((BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ )))));Debug.locals.put("pars", _pars);Debug.locals.put("pars", _pars); + BA.debugLineNum = 2471;BA.debugLine="Log($\"${resultado.tag}|${pars(0)}\"$)"; +Debug.ShouldStop(64); +c_cliente.__c.runVoidMethod ("LogImpl","57733432",(RemoteObject.concat(RemoteObject.createImmutable(""),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_resultado.getField(false,"Tag" /*RemoteObject*/ ))),RemoteObject.createImmutable("|"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pars.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2472;BA.debugLine="Log($\"${pars(1)}\"$)"; +Debug.ShouldStop(128); +c_cliente.__c.runVoidMethod ("LogImpl","57733433",(RemoteObject.concat(RemoteObject.createImmutable(""),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pars.getArrayElement(true,BA.numberCast(int.class, 1))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2473;BA.debugLine="Log($\"${pars(2)}\"$)"; +Debug.ShouldStop(256); +c_cliente.__c.runVoidMethod ("LogImpl","57733434",(RemoteObject.concat(RemoteObject.createImmutable(""),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pars.getArrayElement(true,BA.numberCast(int.class, 2))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2474;BA.debugLine="Log($\"${pars(3)}\"$)"; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethod ("LogImpl","57733435",(RemoteObject.concat(RemoteObject.createImmutable(""),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pars.getArrayElement(true,BA.numberCast(int.class, 3))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2475;BA.debugLine="Log($\"${pars(4)}\"$)"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("LogImpl","57733436",(RemoteObject.concat(RemoteObject.createImmutable(""),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pars.getArrayElement(true,BA.numberCast(int.class, 4))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2476;BA.debugLine="Private cliente As String = pars(2)"; +Debug.ShouldStop(2048); +_cliente = _pars.getArrayElement(true,BA.numberCast(int.class, 2));Debug.locals.put("cliente", _cliente);Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 2477;BA.debugLine="Private idPreg As String = pars(3)"; +Debug.ShouldStop(4096); +_idpreg = _pars.getArrayElement(true,BA.numberCast(int.class, 3));Debug.locals.put("idPreg", _idpreg);Debug.locals.put("idPreg", _idpreg); + BA.debugLineNum = 2478;BA.debugLine="Private idResp As String = pars(4)"; +Debug.ShouldStop(8192); +_idresp = _pars.getArrayElement(true,BA.numberCast(int.class, 4));Debug.locals.put("idResp", _idresp);Debug.locals.put("idResp", _idresp); + BA.debugLineNum = 2479;BA.debugLine="Log($\"Cliente2:${cliente}, preg:${idPreg}, res"; +Debug.ShouldStop(16384); +c_cliente.__c.runVoidMethod ("LogImpl","57733440",(RemoteObject.concat(RemoteObject.createImmutable("Cliente2:"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable(", preg:"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idpreg))),RemoteObject.createImmutable(", res:"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idresp))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2480;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(32768); +{ +final RemoteObject group143 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen143 = group143.runMethod(true,"getSize").get() +;int index143 = 0; +; +for (; index143 < groupLen143;index143++){ +_records = (group143.runMethod(false,"Get",index143));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2481;BA.debugLine="For Each k As String In resultado.Columns.Key"; +Debug.ShouldStop(65536); +{ +final RemoteObject group144 = _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen144 = group144.runMethod(true,"getSize").get() +;int index144 = 0; +; +for (; index144 < groupLen144;index144++){ +_k = BA.ObjectToString(group144.runMethod(false,"Get",index144));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 2482;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +Debug.ShouldStop(131072); +c_cliente.__c.runVoidMethod ("LogImpl","57733443",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 = 2485;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE C"; +Debug.ShouldStop(1048576); +c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE CUESTIONARIO set Q_ENVIO_OK = 1 where Q_IDCLIENTE = '"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("' and Q_IDPREGUNTA='"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idpreg))),RemoteObject.createImmutable("' and Q_IDRESPUESTA='"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idresp))),RemoteObject.createImmutable("'"))))); + }; + }; + BA.debugLineNum = 2489;BA.debugLine="Job.Release"; +Debug.ShouldStop(16777216); +_job.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + }; + BA.debugLineNum = 2492;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_atiende_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_atiende_LongClick (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2922); +if (RapidSub.canDelegate("l_atiende_longclick")) { return __ref.runUserSub(false, "c_cliente","l_atiende_longclick", __ref);} + BA.debugLineNum = 2922;BA.debugLine="Private Sub l_atiende_LongClick"; +Debug.ShouldStop(512); + BA.debugLineNum = 2923;BA.debugLine="p_atiende.Height = Root.Height"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_atiende" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 2924;BA.debugLine="p_atiende.Width = Root.Width"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p_atiende" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 2925;BA.debugLine="p_atiende.Visible = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p_atiende" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 2926;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_giro_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_giro_LongClick (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2969); +if (RapidSub.canDelegate("l_giro_longclick")) { return __ref.runUserSub(false, "c_cliente","l_giro_longclick", __ref);} +RemoteObject _items = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _i = 0; + BA.debugLineNum = 2969;BA.debugLine="Private Sub l_giro_LongClick"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 2970;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT GIRO FROM CAT_"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT GIRO FROM CAT_GIRO order by 1")))); + BA.debugLineNum = 2971;BA.debugLine="Dim Items As List"; +Debug.ShouldStop(67108864); +_items = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items", _items); + BA.debugLineNum = 2972;BA.debugLine="Items.Initialize"; +Debug.ShouldStop(134217728); +_items.runVoidMethod ("Initialize"); + BA.debugLineNum = 2973;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCIÓN\")"; +Debug.ShouldStop(268435456); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("SELECCIONA UNA OPCIÓN")))); + BA.debugLineNum = 2974;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2975;BA.debugLine="For i = 0 To c.RowCount-1"; +Debug.ShouldStop(1073741824); +{ +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 = 2976;BA.debugLine="c.Position = i"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2977;BA.debugLine="Items.Add(c.GetString(\"GIRO\"))"; +Debug.ShouldStop(1); +_items.runVoidMethod ("Add",(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("GIRO")))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 2979;BA.debugLine="cb_giro.SetItems(Items)"; +Debug.ShouldStop(4); +__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items)); + }; + BA.debugLineNum = 2981;BA.debugLine="giros = \"SELECCIONA UNA OPCIÓN\""; +Debug.ShouldStop(16); +__ref.setField ("_giros" /*RemoteObject*/ ,BA.ObjectToString("SELECCIONA UNA OPCIÓN")); + BA.debugLineNum = 2982;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2983;BA.debugLine="p_giro.Height = Root.Height"; +Debug.ShouldStop(64); +__ref.getField(false,"_p_giro" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 2984;BA.debugLine="p_giro.Width = Root.Width"; +Debug.ShouldStop(128); +__ref.getField(false,"_p_giro" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 2985;BA.debugLine="p_giro.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_p_giro" /*RemoteObject*/ ).runMethod(true,"setVisible",c_cliente.__c.getField(true,"True")); + BA.debugLineNum = 2986;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +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",4,__ref.getField(false, "ba"),__ref,611); +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 = 611;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +Debug.ShouldStop(4); + BA.debugLineNum = 613;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mandapendientepagare(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("mandaPendientePagare (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2191); +if (RapidSub.canDelegate("mandapendientepagare")) { return __ref.runUserSub(false, "c_cliente","mandapendientepagare", __ref);} +int _i = 0; + BA.debugLineNum = 2191;BA.debugLine="Sub mandaPendientePagare"; +Debug.ShouldStop(16384); + BA.debugLineNum = 2192;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FR"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM ABONOS where ifnull(a_enviado, 0) <> 1")))); + BA.debugLineNum = 2193;BA.debugLine="Log($\"ABONO PENDIENTE: ${c.RowCount}\"$)"; +Debug.ShouldStop(65536); +c_cliente.__c.runVoidMethod ("LogImpl","57471106",(RemoteObject.concat(RemoteObject.createImmutable("ABONO PENDIENTE: "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2194;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 = 2195;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 = 2196;BA.debugLine="c.Position=i"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2197;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(1048576); +c_cliente._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_cliente._cmd); + BA.debugLineNum = 2198;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2199;BA.debugLine="cmd.Name = \"insert_abono_SHARK2\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_abono_SHARK2")); + BA.debugLineNum = 2200;BA.debugLine="cmd.Parameters = Array As Object( c.GetString(\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_usuario")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_ruta")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_cliente")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_abono")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_fecha")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 2201;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPen"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("ins_abonosPendientes_"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_cliente")))))),RemoteObject.createImmutable("")))))); + BA.debugLineNum = 2202;BA.debugLine="Log($\"ins_abonosPendientes_${c.GetString(\"a_cli"; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethod ("LogImpl","57471115",(RemoteObject.concat(RemoteObject.createImmutable("ins_abonosPendientes_"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_cliente")))))),RemoteObject.createImmutable(""))),0); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2205;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +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_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2081); +if (RapidSub.canDelegate("mandapendientes")) { return __ref.runUserSub(false, "c_cliente","mandapendientes", __ref);} +RemoteObject _pcnoarts = RemoteObject.createImmutable(""); +RemoteObject _pcmonto = RemoteObject.createImmutable(""); +int _i = 0; +RemoteObject _ab = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _bb = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cb = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 2081;BA.debugLine="Sub mandaPendientes"; +Debug.ShouldStop(1); + BA.debugLineNum = 2083;BA.debugLine="Log(\">>>>>>> MANDA PENDIENTES\")"; +Debug.ShouldStop(4); +c_cliente.__c.runVoidMethod ("LogImpl","57405570",RemoteObject.createImmutable(">>>>>>> MANDA PENDIENTES"),0); + BA.debugLineNum = 2084;BA.debugLine="Dim PCNoArts As String"; +Debug.ShouldStop(8); +_pcnoarts = RemoteObject.createImmutable("");Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 2085;BA.debugLine="Dim PCMonto As String"; +Debug.ShouldStop(16); +_pcmonto = RemoteObject.createImmutable("");Debug.locals.put("PCMonto", _pcmonto); + BA.debugLineNum = 2086;BA.debugLine="If usuario <> \"KMTS1\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_usuario" /*RemoteObject*/ ),BA.ObjectToString("KMTS1"))) { + BA.debugLineNum = 2105;BA.debugLine="c = skmt.ExecQuery($\"SELECT PE_ENVIO_OK, PE_CEDI"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT PE_ENVIO_OK, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS FROM PEDIDO where PE_ENVIO_OK <> 1"))))); + BA.debugLineNum = 2106;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethod ("LogImpl","57405593",(RemoteObject.concat(RemoteObject.createImmutable("Pedido PENDIENTE: "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2107;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 = 2108;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(134217728); +{ +final int step8 = 1; +final int limit8 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step8 > 0 && _i <= limit8) || (step8 < 0 && _i >= limit8) ;_i = ((int)(0 + _i + step8)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2109;BA.debugLine="c.Position=i"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2110;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(536870912); +c_cliente._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_cliente._cmd); + BA.debugLineNum = 2111;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2112;BA.debugLine="cmd.Name = \"insert_pedido2_SHARK2P3\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido2_SHARK2P3")); + BA.debugLineNum = 2113;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {16},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANTC")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_BCAJAS"))))})); + BA.debugLineNum = 2114;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP"; +Debug.ShouldStop(2); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("ins_pedidosPendientes_prods_"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),RemoteObject.createImmutable("_"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("")))))); + BA.debugLineNum = 2115;BA.debugLine="Log($\">>>> INS_PEDIDO= ${C.GetString(\"PE_CEDI"; +Debug.ShouldStop(4); +c_cliente.__c.runVoidMethod ("LogImpl","57405602",(RemoteObject.concat(RemoteObject.createImmutable(">>>> INS_PEDIDO= "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))))),RemoteObject.createImmutable(","),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_almacen" /*RemoteObject*/ )))),RemoteObject.createImmutable(","),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))))),RemoteObject.createImmutable(","),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))))),RemoteObject.createImmutable(","),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pcnoarts))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pcmonto))),RemoteObject.createImmutable(""))),0); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2122;BA.debugLine="Dim ab As Cursor = B4XPages.MainPage.skmt.ExecQu"; +Debug.ShouldStop(512); +_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_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT * from ABONOS where a_enviado is null")))));Debug.locals.put("ab", _ab);Debug.locals.put("ab", _ab); + BA.debugLineNum = 2123;BA.debugLine="Log(ab.RowCount)"; +Debug.ShouldStop(1024); +c_cliente.__c.runVoidMethod ("LogImpl","57405610",BA.NumberToString(_ab.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 2124;BA.debugLine="If ab.RowCount > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",_ab.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2125;BA.debugLine="For i=0 To ab.RowCount -1"; +Debug.ShouldStop(4096); +{ +final int step21 = 1; +final int limit21 = RemoteObject.solve(new RemoteObject[] {_ab.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step21 > 0 && _i <= limit21) || (step21 < 0 && _i >= limit21) ;_i = ((int)(0 + _i + step21)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2126;BA.debugLine="ab.Position = i"; +Debug.ShouldStop(8192); +_ab.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2127;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(16384); +c_cliente._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_cliente._cmd); + BA.debugLineNum = 2128;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2129;BA.debugLine="cmd.Name = \"insert_abono_SHARK2\""; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_abono_SHARK2")); + BA.debugLineNum = 2130;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[] {6},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*/ ))})); + BA.debugLineNum = 2131;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPe"; +Debug.ShouldStop(262144); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("ins_abonosPendientes_"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ab.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("a_cliente")))))),RemoteObject.createImmutable("")))))); + BA.debugLineNum = 2132;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_c"; +Debug.ShouldStop(524288); +c_cliente.__c.runVoidMethod ("LogImpl","57405619",(RemoteObject.concat(RemoteObject.createImmutable("ins_abonosPendientes_"),c_cliente.__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 = 2135;BA.debugLine="ab.Close"; +Debug.ShouldStop(4194304); +_ab.runVoidMethod ("Close"); + BA.debugLineNum = 2138;BA.debugLine="Dim bb As Cursor = B4XPages.MainPage.skmt.ExecQu"; +Debug.ShouldStop(33554432); +_bb = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_bb = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT * from CLIENTE_NUEVO where CN_enviado is null")))));Debug.locals.put("bb", _bb);Debug.locals.put("bb", _bb); + BA.debugLineNum = 2139;BA.debugLine="Dim cb As Cursor = B4XPages.MainPage.skmt.ExecQu"; +Debug.ShouldStop(67108864); +_cb = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cb = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT ID_ALMACEN from CAT_ALMACEN"))));Debug.locals.put("cb", _cb);Debug.locals.put("cb", _cb); + BA.debugLineNum = 2140;BA.debugLine="cb.Position = 0"; +Debug.ShouldStop(134217728); +_cb.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2141;BA.debugLine="If bb.RowCount > 0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(">",_bb.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2142;BA.debugLine="For i=0 To bb.RowCount -1"; +Debug.ShouldStop(536870912); +{ +final int step36 = 1; +final int limit36 = RemoteObject.solve(new RemoteObject[] {_bb.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step36 > 0 && _i <= limit36) || (step36 < 0 && _i >= limit36) ;_i = ((int)(0 + _i + step36)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2143;BA.debugLine="bb.Position = i"; +Debug.ShouldStop(1073741824); +_bb.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2144;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(-2147483648); +c_cliente._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_cliente._cmd); + BA.debugLineNum = 2145;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2146;BA.debugLine="cmd.Name = \"insert_cliente_SHARK2\""; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_cliente_SHARK2")); + BA.debugLineNum = 2147;BA.debugLine="cmd.Parameters = Array As Object( bb.GetString"; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_bb.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID_CLIENTE")))),(_bb.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NOMBRE")))),(c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_principal" /*RemoteObject*/ ).getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(_cb.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))))})); + BA.debugLineNum = 2148;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"insert_clien"; +Debug.ShouldStop(8); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("insert_cliente_"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_bb.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID_CLIENTE")))))),RemoteObject.createImmutable("")))))); + BA.debugLineNum = 2149;BA.debugLine="Log($\"insert_cliente_${bb.GetString(\"CN_ID_CLI"; +Debug.ShouldStop(16); +c_cliente.__c.runVoidMethod ("LogImpl","57405636",(RemoteObject.concat(RemoteObject.createImmutable("insert_cliente_"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_bb.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID_CLIENTE")))))),RemoteObject.createImmutable(""))),0); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 2151;BA.debugLine="Log(\"si lo hice\")"; +Debug.ShouldStop(64); +c_cliente.__c.runVoidMethod ("LogImpl","57405638",RemoteObject.createImmutable("si lo hice"),0); + }; + BA.debugLineNum = 2153;BA.debugLine="bb.Close"; +Debug.ShouldStop(256); +_bb.runVoidMethod ("Close"); + BA.debugLineNum = 2154;BA.debugLine="cb.Close"; +Debug.ShouldStop(512); +_cb.runVoidMethod ("Close"); + }; + BA.debugLineNum = 2189;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mandapendientesrecarga(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("mandaPendientesrecarga (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2207); +if (RapidSub.canDelegate("mandapendientesrecarga")) { return __ref.runUserSub(false, "c_cliente","mandapendientesrecarga", __ref);} +RemoteObject _pcnoarts = RemoteObject.createImmutable(""); +RemoteObject _pcmonto = RemoteObject.createImmutable(""); +int _i = 0; + BA.debugLineNum = 2207;BA.debugLine="Sub mandaPendientesrecarga"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 2209;BA.debugLine="Log(\">>>>>>> MANDA PENDIENTES\")"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("LogImpl","57536642",RemoteObject.createImmutable(">>>>>>> MANDA PENDIENTES"),0); + BA.debugLineNum = 2210;BA.debugLine="Dim PCNoArts As String"; +Debug.ShouldStop(2); +_pcnoarts = RemoteObject.createImmutable("");Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 2211;BA.debugLine="Dim PCMonto As String"; +Debug.ShouldStop(4); +_pcmonto = RemoteObject.createImmutable("");Debug.locals.put("PCMonto", _pcmonto); + BA.debugLineNum = 2212;BA.debugLine="If usuario <> \"KMTS1\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_usuario" /*RemoteObject*/ ),BA.ObjectToString("KMTS1"))) { + BA.debugLineNum = 2213;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(16); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info")))); + BA.debugLineNum = 2214;BA.debugLine="f.Position=0"; +Debug.ShouldStop(32); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2215;BA.debugLine="d = skmt.ExecQuery(\"SELECT * FROM PEDIDO_CLIENTE"; +Debug.ShouldStop(64); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PEDIDO_CLIENTE where PC_ENVIO_OK = 0 AND PC_CLIENTE = 1")))); + BA.debugLineNum = 2216;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM PEDIDO_CLIENTE"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM PEDIDO_CLIENTE where PC_ENVIO_OK = 0 AND PC_CLIENTE = 1")))); + BA.debugLineNum = 2217;BA.debugLine="Log($\"Pedido_Cliente PENDIENTE: ${c.RowCount}\"$)"; +Debug.ShouldStop(256); +c_cliente.__c.runVoidMethod ("LogImpl","57536650",(RemoteObject.concat(RemoteObject.createImmutable("Pedido_Cliente PENDIENTE: "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2218;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2219;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(1024); +{ +final int step11 = 1; +final int limit11 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step11 > 0 && _i <= limit11) || (step11 < 0 && _i >= limit11) ;_i = ((int)(0 + _i + step11)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2220;BA.debugLine="c.Position = i"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2221;BA.debugLine="Log($\"${c.GetString(\"PC_CLIENTE\")}|${c.GetStri"; +Debug.ShouldStop(4096); +c_cliente.__c.runVoidMethod ("LogImpl","57536654",(RemoteObject.concat(RemoteObject.createImmutable(""),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE")))))),RemoteObject.createImmutable("|"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))))),RemoteObject.createImmutable("|"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_ENVIO_OK")))))),RemoteObject.createImmutable("|"))),0); + BA.debugLineNum = 2222;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8192); +c_cliente._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_cliente._cmd); + BA.debugLineNum = 2223;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2224;BA.debugLine="cmd.Name = \"insert_pedidos_SHARK2\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedidos_SHARK2")); + BA.debugLineNum = 2225;BA.debugLine="cmd.Parameters = Array As Object(\"0\", c.GetStr"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {11},new Object[] {RemoteObject.createImmutable(("0")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_USER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_LON")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_LAT")))),(c_cliente._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FACTURA"))))})); + BA.debugLineNum = 2226;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(131072); +_pcnoarts = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")));Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 2227;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(262144); +_pcmonto = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")));Debug.locals.put("PCMonto", _pcmonto); + BA.debugLineNum = 2229;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("ins_pedidosPendientes_head_"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE")))))),RemoteObject.createImmutable("")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2232;BA.debugLine="f.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2234;BA.debugLine="c = skmt.ExecQuery($\"SELECT PE_ENVIO_OK, PE_CEDI"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT PE_ENVIO_OK, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS FROM PEDIDO where PE_ENVIO_OK <> 1 AND PE_FOLIO = 'RECARGA'"))))); + BA.debugLineNum = 2235;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; +Debug.ShouldStop(67108864); +c_cliente.__c.runVoidMethod ("LogImpl","57536668",(RemoteObject.concat(RemoteObject.createImmutable("Pedido PENDIENTE: "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2236;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 = 2237;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(268435456); +{ +final int step27 = 1; +final int limit27 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),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 = 2238;BA.debugLine="c.Position=i"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2239;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(1073741824); +c_cliente._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_cliente._cmd); + BA.debugLineNum = 2240;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2241;BA.debugLine="cmd.Name = \"insert_pedido3_SHARK2\""; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido3_SHARK2")); + BA.debugLineNum = 2242;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {17},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),RemoteObject.createImmutable(("0")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),RemoteObject.createImmutable(("ABORDO")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANTC")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_BCAJAS")))),(RemoteObject.createImmutable("RECARGA"))})); + BA.debugLineNum = 2243;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP"; +Debug.ShouldStop(4); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("ins_pedidosPendientes_prods_"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),RemoteObject.createImmutable("_"),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("")))))); + BA.debugLineNum = 2244;BA.debugLine="Log($\">>>> INS_PEDIDO= ${C.GetString(\"PE_CEDI"; +Debug.ShouldStop(8); +c_cliente.__c.runVoidMethod ("LogImpl","57536677",(RemoteObject.concat(RemoteObject.createImmutable(">>>> INS_PEDIDO= "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))))),RemoteObject.createImmutable(","),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_almacen" /*RemoteObject*/ )))),RemoteObject.createImmutable(","),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))))),RemoteObject.createImmutable(","),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))))),RemoteObject.createImmutable(","),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_RUTA")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_SIN")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pcnoarts))),RemoteObject.createImmutable(", "),c_cliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pcmonto))),RemoteObject.createImmutable(""))),0); + } +}Debug.locals.put("i", _i); +; + }; + }; + BA.debugLineNum = 2250;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mandapiezas(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("mandapiezas (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2269); +if (RapidSub.canDelegate("mandapiezas")) { return __ref.runUserSub(false, "c_cliente","mandapiezas", __ref);} +RemoteObject _pcnoarts = RemoteObject.createImmutable(""); +RemoteObject _pcmonto = RemoteObject.createImmutable(""); + BA.debugLineNum = 2269;BA.debugLine="Sub mandapiezas"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 2270;BA.debugLine="If l_total.Text <> Null Or l_total.Text <> \"null"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("N",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText")) || RemoteObject.solveBoolean("!",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { + BA.debugLineNum = 2271;BA.debugLine="Dim PCNoArts As String"; +Debug.ShouldStop(1073741824); +_pcnoarts = RemoteObject.createImmutable("");Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 2272;BA.debugLine="Dim PCMonto As String"; +Debug.ShouldStop(-2147483648); +_pcmonto = RemoteObject.createImmutable("");Debug.locals.put("PCMonto", _pcmonto); + BA.debugLineNum = 2273;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CLIENT"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")})))); + BA.debugLineNum = 2274;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2275;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2276;BA.debugLine="Log(la_cuenta.Text&\", \"& ALMACEN&\", \"& LA_RUTA)"; +Debug.ShouldStop(8); +c_cliente.__c.runVoidMethod ("LogImpl","57667719",RemoteObject.concat(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable(", "),__ref.getField(true,"_almacen" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(true,"_la_ruta" /*RemoteObject*/ )),0); + BA.debugLineNum = 2277;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(16); +c_cliente._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_cliente._cmd); + BA.debugLineNum = 2278;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2279;BA.debugLine="cmd.Name = \"select_piezas_SHARK2\""; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_piezas_SHARK2")); + BA.debugLineNum = 2280;BA.debugLine="cmd.Parameters = Array As Object(la_cuenta.Text"; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ ))})); + BA.debugLineNum = 2281;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"piezas\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("piezas")))); + }; + }; + BA.debugLineNum = 2285;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mandapiezasrecarga(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("mandapiezasrecarga (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2252); +if (RapidSub.canDelegate("mandapiezasrecarga")) { return __ref.runUserSub(false, "c_cliente","mandapiezasrecarga", __ref);} +RemoteObject _pcnoarts = RemoteObject.createImmutable(""); +RemoteObject _pcmonto = RemoteObject.createImmutable(""); + BA.debugLineNum = 2252;BA.debugLine="Sub mandapiezasrecarga"; +Debug.ShouldStop(2048); + BA.debugLineNum = 2253;BA.debugLine="If l_total.Text <> Null Or l_total.Text <> \"null"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("N",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText")) || RemoteObject.solveBoolean("!",__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { + BA.debugLineNum = 2254;BA.debugLine="Dim PCNoArts As String"; +Debug.ShouldStop(8192); +_pcnoarts = RemoteObject.createImmutable("");Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 2255;BA.debugLine="Dim PCMonto As String"; +Debug.ShouldStop(16384); +_pcmonto = RemoteObject.createImmutable("");Debug.locals.put("PCMonto", _pcmonto); + BA.debugLineNum = 2256;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CLIENT"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("1")})))); + BA.debugLineNum = 2257;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 = 2258;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2259;BA.debugLine="Log(la_cuenta.Text&\", \"& ALMACEN&\", \"& LA_RUTA)"; +Debug.ShouldStop(262144); +c_cliente.__c.runVoidMethod ("LogImpl","57602183",RemoteObject.concat(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable(", "),__ref.getField(true,"_almacen" /*RemoteObject*/ ),RemoteObject.createImmutable(", "),__ref.getField(true,"_la_ruta" /*RemoteObject*/ )),0); + BA.debugLineNum = 2260;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(524288); +c_cliente._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_cliente._cmd); + BA.debugLineNum = 2261;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2262;BA.debugLine="cmd.Name = \"select_piezas_SHARK2\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_piezas_SHARK2")); + BA.debugLineNum = 2263;BA.debugLine="cmd.Parameters = Array As Object(la_cuenta.Text"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_la_ruta" /*RemoteObject*/ ))})); + BA.debugLineNum = 2264;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"piezasrecarga"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("piezasrecarga")))); + }; + }; + BA.debugLineNum = 2267;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mods(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("MODS (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1); +if (RapidSub.canDelegate("mods")) { return __ref.runUserSub(false, "c_cliente","mods", __ref);} + BA.debugLineNum = 1;BA.debugLine="Sub MODS 'ignore"; +Debug.ShouldStop(1); + BA.debugLineNum = 3;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +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",4,__ref.getField(false, "ba"),__ref,1078); +if (RapidSub.canDelegate("nuevo_click")) { return __ref.runUserSub(false, "c_cliente","nuevo_click", __ref);} + BA.debugLineNum = 1078;BA.debugLine="Sub NUEVO_Click"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 1079;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +Debug.ShouldStop(4194304); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NuevoCliente"))); + BA.debugLineNum = 1080;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +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",4,__ref.getField(false, "ba"),__ref,2494); +if (RapidSub.canDelegate("p_abono_click")) { return __ref.runUserSub(false, "c_cliente","p_abono_click", __ref);} + BA.debugLineNum = 2494;BA.debugLine="Private Sub p_abono_Click"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 2496;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_atiende_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_atiende_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2963); +if (RapidSub.canDelegate("p_atiende_click")) { return __ref.runUserSub(false, "c_cliente","p_atiende_click", __ref);} + BA.debugLineNum = 2963;BA.debugLine="Private Sub p_atiende_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 2965;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_cliente_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_cliente_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2072); +if (RapidSub.canDelegate("p_cliente_click")) { return __ref.runUserSub(false, "c_cliente","p_cliente_click", __ref);} + BA.debugLineNum = 2072;BA.debugLine="Private Sub p_cliente_Click"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 2074;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_giro_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_giro_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,3022); +if (RapidSub.canDelegate("p_giro_click")) { return __ref.runUserSub(false, "c_cliente","p_giro_click", __ref);} + BA.debugLineNum = 3022;BA.debugLine="Private Sub p_giro_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 3024;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +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",4,__ref.getField(false, "ba"),__ref,1911); +if (RapidSub.canDelegate("printer_connected")) { return __ref.runUserSub(false, "c_cliente","printer_connected", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 1911;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 1912;BA.debugLine="If Success Then"; +Debug.ShouldStop(8388608); +if (_success.get().booleanValue()) { + }else { + BA.debugLineNum = 1917;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel"; +Debug.ShouldStop(268435456); +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 = 1918;BA.debugLine="StartPrinter"; +Debug.ShouldStop(536870912); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_startprinter" /*RemoteObject*/ ); + }; + }; + BA.debugLineNum = 1921;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +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",4,__ref.getField(false, "ba"),__ref,1886); +if (RapidSub.canDelegate("printer1_connected")) { return __ref.runUserSub(false, "c_cliente","printer1_connected", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 1886;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 1888;BA.debugLine="If Success Then"; +Debug.ShouldStop(-2147483648); +if (_success.get().booleanValue()) { + BA.debugLineNum = 1889;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; +Debug.ShouldStop(1); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Impresora conectada")),(Object)(c_cliente.__c.getField(true,"False"))); + BA.debugLineNum = 1890;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI"; +Debug.ShouldStop(2); +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 = 1891;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI"; +Debug.ShouldStop(4); +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 = 1894;BA.debugLine="impresoraConectada = True"; +Debug.ShouldStop(32); +__ref.setField ("_impresoraconectada" /*RemoteObject*/ ,c_cliente.__c.getField(true,"True")); + }else { + BA.debugLineNum = 1898;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; +Debug.ShouldStop(512); +c_cliente.__c.runVoidMethod ("LogImpl","56553612",BA.ObjectToString("Error conectando la impresora"),c_cliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1899;BA.debugLine="errorImpresora = errorImpresora + 1"; +Debug.ShouldStop(1024); +__ref.setField ("_errorimpresora" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)); + BA.debugLineNum = 1900;BA.debugLine="If errorImpresora > 1 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",__ref.getField(true,"_errorimpresora" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1901;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; +Debug.ShouldStop(4096); +c_cliente._starter._mac_impresora /*RemoteObject*/ = BA.ObjectToString("0"); + BA.debugLineNum = 1902;BA.debugLine="errorImpresora = 0"; +Debug.ShouldStop(8192); +__ref.setField ("_errorimpresora" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + }; + }; + BA.debugLineNum = 1905;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +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",4,__ref.getField(false, "ba"),__ref,1907); +if (RapidSub.canDelegate("printer1_error")) { return __ref.runUserSub(false, "c_cliente","printer1_error", __ref);} + BA.debugLineNum = 1907;BA.debugLine="Sub Printer1_Error"; +Debug.ShouldStop(262144); + BA.debugLineNum = 1908;BA.debugLine="Log(\"error printer\")"; +Debug.ShouldStop(524288); +c_cliente.__c.runVoidMethod ("LogImpl","56619137",RemoteObject.createImmutable("error printer"),0); + BA.debugLineNum = 1909;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb1_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RB1_CheckedChange (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2029); +if (RapidSub.canDelegate("rb1_checkedchange")) { return __ref.runUserSub(false, "c_cliente","rb1_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 2029;BA.debugLine="Sub RB1_CheckedChange(Checked As Boolean)"; +Debug.ShouldStop(4096); + BA.debugLineNum = 2030;BA.debugLine="If RB1.Checked = True Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_rb1" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True"))) { + BA.debugLineNum = 2031;BA.debugLine="E_RES_E.Text = \"CENTRAL DE ABASTOS\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_e_res_e" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("CENTRAL DE ABASTOS")); + }; + BA.debugLineNum = 2033;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb2_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RB2_CheckedChange (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2035); +if (RapidSub.canDelegate("rb2_checkedchange")) { return __ref.runUserSub(false, "c_cliente","rb2_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 2035;BA.debugLine="Sub RB2_CheckedChange(Checked As Boolean)"; +Debug.ShouldStop(262144); + BA.debugLineNum = 2036;BA.debugLine="If RB2.Checked = True Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_rb2" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True"))) { + BA.debugLineNum = 2037;BA.debugLine="E_RES_E.Text = \"AUTOSERVICIO\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_e_res_e" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("AUTOSERVICIO")); + }; + BA.debugLineNum = 2039;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb3_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RB3_CheckedChange (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2041); +if (RapidSub.canDelegate("rb3_checkedchange")) { return __ref.runUserSub(false, "c_cliente","rb3_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 2041;BA.debugLine="Sub RB3_CheckedChange(Checked As Boolean)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 2042;BA.debugLine="If RB3.Checked = True Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_rb3" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True"))) { + BA.debugLineNum = 2043;BA.debugLine="E_RES_E.Text = \"CLUB DE PRECIO\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_e_res_e" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("CLUB DE PRECIO")); + }; + BA.debugLineNum = 2045;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _rb4_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("RB4_CheckedChange (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,2047); +if (RapidSub.canDelegate("rb4_checkedchange")) { return __ref.runUserSub(false, "c_cliente","rb4_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 2047;BA.debugLine="Sub RB4_CheckedChange(Checked As Boolean)"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 2048;BA.debugLine="If RB4.Checked = True Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_rb4" /*RemoteObject*/ ).runMethod(true,"getChecked"),c_cliente.__c.getField(true,"True"))) { + BA.debugLineNum = 2049;BA.debugLine="E_RES_E.Text = \"DIRECTO PEDEGREE\""; +Debug.ShouldStop(1); +__ref.getField(false,"_e_res_e" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("DIRECTO PEDEGREE")); + }; + BA.debugLineNum = 2051;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _sc_result(RemoteObject __ref,RemoteObject _atype,RemoteObject _values,RemoteObject _image) throws Exception{ +try { + Debug.PushSubsStack("sc_result (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1096); +if (RapidSub.canDelegate("sc_result")) { __ref.runUserSub(false, "c_cliente","sc_result", __ref, _atype, _values, _image); return;} +ResumableSub_sc_result rsub = new ResumableSub_sc_result(null,__ref,_atype,_values,_image); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_sc_result extends BA.ResumableSub { +public ResumableSub_sc_result(SHARK2.keymon.com.mx.c_cliente parent,RemoteObject __ref,RemoteObject _atype,RemoteObject _values,RemoteObject _image) { +this.parent = parent; +this.__ref = __ref; +this._atype = _atype; +this._values = _values; +this._image = _image; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_cliente parent; +RemoteObject _atype; +RemoteObject _values; +RemoteObject _image; +RemoteObject _resultado = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("sc_result (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1096); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("atype", _atype); +Debug.locals.put("Values", _values); +Debug.locals.put("image", _image); + BA.debugLineNum = 1099;BA.debugLine="CODIGO = Values"; +Debug.ShouldStop(1024); +__ref.setField ("_codigo" /*RemoteObject*/ ,_values); + BA.debugLineNum = 1100;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; +Debug.ShouldStop(2048); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM kmt_info WHERE CAT_CL_NUM_SERIEFISICO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_codigo" /*RemoteObject*/ )})))); + BA.debugLineNum = 1101;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1102;BA.debugLine="If DD.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(8192); +if (true) break; + +case 1: +//if +this.state = 16; +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 16; + BA.debugLineNum = 1103;BA.debugLine="MsgboxAsync(\"Código ya asignado\", \"AVISO\")"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Código ya asignado")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 1105;BA.debugLine="If CODIGO.Length = 7 Then"; +Debug.ShouldStop(65536); +if (true) break; + +case 6: +//if +this.state = 15; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_codigo" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 7))) { +this.state = 8; +}else { +this.state = 14; +}if (true) break; + +case 8: +//C +this.state = 9; + BA.debugLineNum = 1106;BA.debugLine="Msgbox2Async(\"El código \"& CODIGO & \" es correc"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("El código "),__ref.getField(true,"_codigo" /*RemoteObject*/ ),RemoteObject.createImmutable(" es correcto?")))),(Object)(BA.ObjectToCharSequence("Title")),(Object)(BA.ObjectToString("Yes")),(Object)(BA.ObjectToString("Cancel")),(Object)(BA.ObjectToString("No")),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"), parent.__c.getField(false,"Null")),__ref.getField(false, "ba"),(Object)(parent.__c.getField(true,"False"))); + BA.debugLineNum = 1107;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", "sc_result"), null); +this.state = 17; +return; +case 17: +//C +this.state = 9; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 1108;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(524288); +if (true) break; + +case 9: +//if +this.state = 12; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 11; +}if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 1109;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE k"; +Debug.ShouldStop(1048576); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info set CAT_CL_NUM_SERIEFISICO = ?, CAT_CL_LONG = ?, CAT_CL_LAT =? where CAT_CL_CODIGO In (select cuenta from cuentaa)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_codigo" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 1110;BA.debugLine="L_QR.TEXT =CODIGO"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_codigo" /*RemoteObject*/ ))); + BA.debugLineNum = 1111;BA.debugLine="L_QR.TextColor = Colors.Blue"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_qr" /*RemoteObject*/ ).runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1112;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert i"; +Debug.ShouldStop(8388608); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into HIST_CODIGO_BARRAS(CODIGOKMTS, CODIGOB, LAT, LON) VALUES (?,?,?,?)")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_la_cuenta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_codigo" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + if (true) break; + +case 12: +//C +this.state = 15; +; + if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 1115;BA.debugLine="MsgboxAsync(\"Código No Valido\", \"AVISO\")"; +Debug.ShouldStop(67108864); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Código No Valido")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + if (true) break; + +case 15: +//C +this.state = 16; +; + if (true) break; + +case 16: +//C +this.state = -1; +; + BA.debugLineNum = 1118;BA.debugLine="DD.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1119;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _sc_timedout(RemoteObject __ref,RemoteObject _timedout) throws Exception{ +try { + Debug.PushSubsStack("sc_timedout (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1121); +if (RapidSub.canDelegate("sc_timedout")) { return __ref.runUserSub(false, "c_cliente","sc_timedout", __ref, _timedout);} +Debug.locals.put("timedOut", _timedout); + BA.debugLineNum = 1121;BA.debugLine="Sub sc_timedout(timedOut As Boolean)"; +Debug.ShouldStop(1); + BA.debugLineNum = 1122;BA.debugLine="Log(\"timedOut \" & timedOut)"; +Debug.ShouldStop(2); +c_cliente.__c.runVoidMethod ("LogImpl","55898241",RemoteObject.concat(RemoteObject.createImmutable("timedOut "),_timedout),0); + BA.debugLineNum = 1123;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sc_usercancelled(RemoteObject __ref,RemoteObject _usercancelled) throws Exception{ +try { + Debug.PushSubsStack("sc_usercancelled (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1125); +if (RapidSub.canDelegate("sc_usercancelled")) { return __ref.runUserSub(false, "c_cliente","sc_usercancelled", __ref, _usercancelled);} +Debug.locals.put("userCancelled", _usercancelled); + BA.debugLineNum = 1125;BA.debugLine="Sub sc_usercancelled(userCancelled As Boolean)"; +Debug.ShouldStop(16); + BA.debugLineNum = 1126;BA.debugLine="Log(\"userCancelled \" & userCancelled)"; +Debug.ShouldStop(32); +c_cliente.__c.runVoidMethod ("LogImpl","55963777",RemoteObject.concat(RemoteObject.createImmutable("userCancelled "),_usercancelled),0); + BA.debugLineNum = 1127;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +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",4,__ref.getField(false, "ba"),__ref,1923); +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 = 1923;BA.debugLine="Sub StartPrinter"; +Debug.ShouldStop(4); + BA.debugLineNum = 1924;BA.debugLine="Dim PairedDevices As Map"; +Debug.ShouldStop(8); +c_cliente._paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_paireddevices",c_cliente._paireddevices); + BA.debugLineNum = 1925;BA.debugLine="Dim L1 As List"; +Debug.ShouldStop(16); +_l1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("L1", _l1); + BA.debugLineNum = 1926;BA.debugLine="Dim resimp As Int"; +Debug.ShouldStop(32); +_resimp = RemoteObject.createImmutable(0);Debug.locals.put("resimp", _resimp); + BA.debugLineNum = 1927;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; +Debug.ShouldStop(64); +c_cliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Printing.....")),(Object)(c_cliente.__c.getField(true,"True"))); + BA.debugLineNum = 1928;BA.debugLine="PairedDevices.Initialize"; +Debug.ShouldStop(128); +__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1929;BA.debugLine="Try"; +Debug.ShouldStop(256); +try { BA.debugLineNum = 1930;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; +Debug.ShouldStop(512); +__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 = 1932;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; +Debug.ShouldStop(2048); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Getting Paired Devices")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba")); + BA.debugLineNum = 1933;BA.debugLine="printer.Close"; +Debug.ShouldStop(4096); +__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1934;BA.debugLine="cmp20.Disconnect"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect"); + }; + BA.debugLineNum = 1937;BA.debugLine="If PairedDevices.Size = 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1938;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No"; +Debug.ShouldStop(131072); +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 = 1939;BA.debugLine="Return"; +Debug.ShouldStop(262144); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 1942;BA.debugLine="If PairedDevices.Size = 1 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_paireddevices" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1943;BA.debugLine="Try"; +Debug.ShouldStop(4194304); +try { BA.debugLineNum = 1944;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G"; +Debug.ShouldStop(8388608); +__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 = 1946;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; +Debug.ShouldStop(33554432); +c_cliente.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Connecting")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Printer Error"))),__ref.getField(false, "ba")); + BA.debugLineNum = 1947;BA.debugLine="printer.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_printer" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1948;BA.debugLine="cmp20.Disconnect"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cmp20" /*RemoteObject*/ ).runVoidMethod ("Disconnect"); + }; + }else { + BA.debugLineNum = 1951;BA.debugLine="L1.Initialize"; +Debug.ShouldStop(1073741824); +_l1.runVoidMethod ("Initialize"); + BA.debugLineNum = 1952;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +Debug.ShouldStop(-2147483648); +{ +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 = 1953;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))"; +Debug.ShouldStop(1); +_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 = 1955;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign"; +Debug.ShouldStop(4); +_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 = 1956;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("!",_resimp,BA.numberCast(double.class, c_cliente.__c.getField(false,"DialogResponse").getField(true,"CANCEL")))) { + BA.debugLineNum = 1957;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))"; +Debug.ShouldStop(16); +__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 = 1960;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1173); +if (RapidSub.canDelegate("t1_tick")) { return __ref.runUserSub(false, "c_cliente","t1_tick", __ref);} + BA.debugLineNum = 1173;BA.debugLine="Sub T1_Tick"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 1176;BA.debugLine="s = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE ("; +Debug.ShouldStop(8388608); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (__ref.getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO WHERE (PE_FOLIO = ? OR PE_FOLIO = ?) AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("PREVENTA_CONTADO"),RemoteObject.createImmutable("PREVENTA_CREDITO")})))); + BA.debugLineNum = 1178;BA.debugLine="If s.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1179;BA.debugLine="imprime_preventa"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cliente.class, "_imprime_preventa" /*void*/ ); + }; + BA.debugLineNum = 1183;BA.debugLine="t1.Enabled = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_cliente.__c.getField(true,"False")); + BA.debugLineNum = 1184;BA.debugLine="If s <> Null Then s.Close"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("N",__ref.getField(false,"_s" /*RemoteObject*/ ))) { +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close");}; + BA.debugLineNum = 1185;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +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",4,__ref.getField(false, "ba"),__ref,715); +if (RapidSub.canDelegate("tar_click")) { return __ref.runUserSub(false, "c_cliente","tar_click", __ref);} + BA.debugLineNum = 715;BA.debugLine="Sub Tar_Click"; +Debug.ShouldStop(1024); + BA.debugLineNum = 716;BA.debugLine="B4XPages.ShowPage(\"Nota\")"; +Debug.ShouldStop(2048); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Nota"))); + BA.debugLineNum = 717;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tels_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Tels_Click (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,667); +if (RapidSub.canDelegate("tels_click")) { return __ref.runUserSub(false, "c_cliente","tels_click", __ref);} + BA.debugLineNum = 667;BA.debugLine="Sub Tels_Click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 668;BA.debugLine="B4XPages.ShowPage(\"NoVenta\")"; +Debug.ShouldStop(134217728); +c_cliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NoVenta"))); + BA.debugLineNum = 669;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traenumvendedor(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TraeNumVendedor (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1200); +if (RapidSub.canDelegate("traenumvendedor")) { return __ref.runUserSub(false, "c_cliente","traenumvendedor", __ref);} +RemoteObject _np = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _tel_preventa = RemoteObject.createImmutable(""); + BA.debugLineNum = 1200;BA.debugLine="Sub TraeNumVendedor As String"; +Debug.ShouldStop(32768); + BA.debugLineNum = 1201;BA.debugLine="Private np As Cursor"; +Debug.ShouldStop(65536); +_np = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("np", _np); + BA.debugLineNum = 1202;BA.debugLine="Private Tel_Preventa As String = \"\""; +Debug.ShouldStop(131072); +_tel_preventa = BA.ObjectToString("");Debug.locals.put("Tel_Preventa", _tel_preventa);Debug.locals.put("Tel_Preventa", _tel_preventa); + BA.debugLineNum = 1203;BA.debugLine="np = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT"; +Debug.ShouldStop(262144); +_np = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'TELEFONO'"))));Debug.locals.put("np", _np); + BA.debugLineNum = 1204;BA.debugLine="If np.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_np.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1205;BA.debugLine="np.Position = 0"; +Debug.ShouldStop(1048576); +_np.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1206;BA.debugLine="Tel_Preventa = np.GetString(\"CAT_VA_VALOR\")"; +Debug.ShouldStop(2097152); +_tel_preventa = _np.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")));Debug.locals.put("Tel_Preventa", _tel_preventa); + }; + BA.debugLineNum = 1208;BA.debugLine="np.Close"; +Debug.ShouldStop(8388608); +_np.runVoidMethod ("Close"); + BA.debugLineNum = 1209;BA.debugLine="Return Tel_Preventa"; +Debug.ShouldStop(16777216); +if (true) return _tel_preventa; + BA.debugLineNum = 1210;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traevendedor(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TraeVendedor (c_cliente) ","c_cliente",4,__ref.getField(false, "ba"),__ref,1187); +if (RapidSub.canDelegate("traevendedor")) { return __ref.runUserSub(false, "c_cliente","traevendedor", __ref);} +RemoteObject _pv = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _preventa = RemoteObject.createImmutable(""); + BA.debugLineNum = 1187;BA.debugLine="Sub TraeVendedor As String"; +Debug.ShouldStop(4); + BA.debugLineNum = 1189;BA.debugLine="Private pv As Cursor"; +Debug.ShouldStop(16); +_pv = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("pv", _pv); + BA.debugLineNum = 1190;BA.debugLine="Private Preventa As String = \"\""; +Debug.ShouldStop(32); +_preventa = BA.ObjectToString("");Debug.locals.put("Preventa", _preventa);Debug.locals.put("Preventa", _preventa); + BA.debugLineNum = 1191;BA.debugLine="pv = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT"; +Debug.ShouldStop(64); +_pv = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_cliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'nom_usuario'"))));Debug.locals.put("pv", _pv); + BA.debugLineNum = 1192;BA.debugLine="If pv.RowCount > 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_pv.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1193;BA.debugLine="pv.Position = 0"; +Debug.ShouldStop(256); +_pv.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1194;BA.debugLine="Preventa = pv.GetString(\"CAT_VA_VALOR\")"; +Debug.ShouldStop(512); +_preventa = _pv.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")));Debug.locals.put("Preventa", _preventa); + }; + BA.debugLineNum = 1196;BA.debugLine="pv.Close"; +Debug.ShouldStop(2048); +_pv.runVoidMethod ("Close"); + BA.debugLineNum = 1197;BA.debugLine="Return Preventa"; +Debug.ShouldStop(4096); +if (true) return _preventa; + BA.debugLineNum = 1198;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_clientes.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_clientes.java new file mode 100644 index 0000000..b0d66b3 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_clientes.java @@ -0,0 +1,62 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_clientes { + public static RemoteObject myClass; + public c_clientes() { + } + public static PCBA staticBA = new PCBA(null, c_clientes.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _d = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _entro = RemoteObject.createImmutable(""); +public static RemoteObject _gest = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _lfila = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _busca = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _colonia = RemoteObject.createImmutable(""); +public static RemoteObject _b_qr = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _qr = RemoteObject.declareNull("com.inforpires.baQRCode.baQRCode"); +public static RemoteObject _codigo = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _q_buscar = RemoteObject.createImmutable(""); +public static RemoteObject _p_clientes = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _customlistview1 = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _numerocliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _nombrecliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _direccion = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _cxc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_datosclie = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_buscar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _check = RemoteObject.createImmutable(0); +public static RemoteObject _l_baseodia = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _lista_punta = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _credito = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_buscar",_ref.getField(false, "_b_buscar"),"b_qr",_ref.getField(false, "_b_qr"),"busca",_ref.getField(false, "_busca"),"c",_ref.getField(false, "_c"),"c2",_ref.getField(false, "_c2"),"CHECK",_ref.getField(false, "_check"),"CODIGO",_ref.getField(false, "_codigo"),"colonia",_ref.getField(false, "_colonia"),"CREDITO",_ref.getField(false, "_credito"),"CustomListView1",_ref.getField(false, "_customlistview1"),"cxc",_ref.getField(false, "_cxc"),"d",_ref.getField(false, "_d"),"DateUtils",_ref.getField(false, "_dateutils"),"direccion",_ref.getField(false, "_direccion"),"entro",_ref.getField(false, "_entro"),"gest",_ref.getField(false, "_gest"),"l_baseodia",_ref.getField(false, "_l_baseodia"),"lfila",_ref.getField(false, "_lfila"),"lista_punta",_ref.getField(false, "_lista_punta"),"ListView1",_ref.getField(false, "_listview1"),"nombrecliente",_ref.getField(false, "_nombrecliente"),"numerocliente",_ref.getField(false, "_numerocliente"),"p_clientes",_ref.getField(false, "_p_clientes"),"p_datosclie",_ref.getField(false, "_p_datosclie"),"q_buscar",_ref.getField(false, "_q_buscar"),"qr",_ref.getField(false, "_qr"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"s",_ref.getField(false, "_s"),"STIME",_ref.getField(false, "_stime"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_clientes_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_clientes_subs_0.java new file mode 100644 index 0000000..5d1d3e1 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_clientes_subs_0.java @@ -0,0 +1,1617 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_clientes_subs_0 { + + +public static RemoteObject _b_buscar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_buscar_Click (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,467); +if (RapidSub.canDelegate("b_buscar_click")) { return __ref.runUserSub(false, "c_clientes","b_buscar_click", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); + BA.debugLineNum = 467;BA.debugLine="Private Sub b_buscar_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 468;BA.debugLine="Log(CHECK)"; +Debug.ShouldStop(524288); +c_clientes.__c.runVoidMethod ("LogImpl","510223617",BA.NumberToString(__ref.getField(true,"_check" /*RemoteObject*/ )),0); + BA.debugLineNum = 469;BA.debugLine="If CHECK = 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_check" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 470;BA.debugLine="l_baseodia.Text = \"Clientes de base de datos\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_baseodia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Clientes de base de datos")); + BA.debugLineNum = 471;BA.debugLine="CHECK = 1"; +Debug.ShouldStop(4194304); +__ref.setField ("_check" /*RemoteObject*/ ,BA.numberCast(int.class, 1)); + BA.debugLineNum = 472;BA.debugLine="busca.Text = \"\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 473;BA.debugLine="entro =\"2\""; +Debug.ShouldStop(16777216); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("2")); + BA.debugLineNum = 474;BA.debugLine="colonia = 0"; +Debug.ShouldStop(33554432); +__ref.setField ("_colonia" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 475;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info2 where gestion = 0 AND CAT_CL_CODIGO <> "),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.createImmutable("0")))),RemoteObject.createImmutable(" AND CAT_CL_CODIGO <> "),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.createImmutable("1")))),RemoteObject.createImmutable(" ORDER BY CAT_CL_CODIGO")))))); + BA.debugLineNum = 476;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 477;BA.debugLine="lfila.Text = \"NOMBRE\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("NOMBRE")); + BA.debugLineNum = 478;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 479;BA.debugLine="CustomListView1.Clear"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 480;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(-2147483648); +{ +final int step13 = 1; +final int limit13 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step13 > 0 && _i <= limit13) || (step13 < 0 && _i >= limit13) ;_i = ((int)(0 + _i + step13)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 481;BA.debugLine="c.Position = i"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 482;BA.debugLine="CustomListView1.Add(CreateListItem(c.GetString("; +Debug.ShouldStop(2); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (SHARK2.keymon.com.mx.c_clientes.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 483;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select C"; +Debug.ShouldStop(4); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'")))))); + BA.debugLineNum = 484;BA.debugLine="If d.RowCount = 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 485;BA.debugLine="cxc.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }else { + BA.debugLineNum = 487;BA.debugLine="cxc.Visible = True"; +Debug.ShouldStop(64); +__ref.getField(false,"_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"True")); + }; + BA.debugLineNum = 490;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select I"; +Debug.ShouldStop(512); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO = '"),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'")))))); + BA.debugLineNum = 492;BA.debugLine="If d.RowCount > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 493;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 494;BA.debugLine="LogColor(d.GetString(\"CAT_CL_BCREDITO\"),Colors"; +Debug.ShouldStop(8192); +c_clientes.__c.runVoidMethod ("LogImpl","510223643",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),c_clientes.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 495;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),BA.ObjectToString("1"))) { + BA.debugLineNum = 496;BA.debugLine="CREDITO.Visible = True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"True")); + }else { + BA.debugLineNum = 499;BA.debugLine="CREDITO.Visible = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }; + BA.debugLineNum = 501;BA.debugLine="d.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 503;BA.debugLine="CREDITO.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 506;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 = 507;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(67108864); +{ +final int step37 = 1; +final int limit37 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*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 = 508;BA.debugLine="c.Position=i"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 509;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(268435456); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 510;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(536870912); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 511;BA.debugLine="label1.TextSize = 13"; +Debug.ShouldStop(1073741824); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 512;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(-2147483648); +_label1.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 513;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(1); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 514;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(2); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 515;BA.debugLine="label2.TextSize = 13"; +Debug.ShouldStop(4); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 516;BA.debugLine="label2.TextColor = Colors.Black"; +Debug.ShouldStop(8); +_label2.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 517;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_CODI"; +Debug.ShouldStop(16); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 520;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 521;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(256); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + }else +{ BA.debugLineNum = 523;BA.debugLine="Else If CHECK = 1 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_check" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 524;BA.debugLine="l_baseodia.Text = \"Clientes del día de visita\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_baseodia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Clientes del día de visita")); + BA.debugLineNum = 525;BA.debugLine="CHECK = 0"; +Debug.ShouldStop(4096); +__ref.setField ("_check" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 526;BA.debugLine="busca.Text = \"\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 527;BA.debugLine="entro =\"2\""; +Debug.ShouldStop(16384); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("2")); + BA.debugLineNum = 528;BA.debugLine="colonia = 0"; +Debug.ShouldStop(32768); +__ref.setField ("_colonia" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 529;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 AND CAT_CL_CODIGO <> "),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.createImmutable("0")))),RemoteObject.createImmutable(" AND CAT_CL_CODIGO <> "),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.createImmutable("1")))),RemoteObject.createImmutable(" ORDER BY CAT_CL_CODIGO")))))); + BA.debugLineNum = 530;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(131072); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 531;BA.debugLine="lfila.Text = \"NOMBRE\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("NOMBRE")); + BA.debugLineNum = 532;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(524288); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 533;BA.debugLine="CustomListView1.Clear"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 534;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(2097152); +{ +final int step63 = 1; +final int limit63 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step63 > 0 && _i <= limit63) || (step63 < 0 && _i >= limit63) ;_i = ((int)(0 + _i + step63)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 535;BA.debugLine="c.Position = i"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 536;BA.debugLine="CustomListView1.Add(CreateListItem(c.GetString("; +Debug.ShouldStop(8388608); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (SHARK2.keymon.com.mx.c_clientes.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 537;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select C"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'")))))); + BA.debugLineNum = 538;BA.debugLine="If d.RowCount = 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 539;BA.debugLine="cxc.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }else { + BA.debugLineNum = 541;BA.debugLine="cxc.Visible = True"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"True")); + }; + BA.debugLineNum = 544;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select I"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '"),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'")))))); + BA.debugLineNum = 546;BA.debugLine="If d.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 547;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(4); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 548;BA.debugLine="LogColor(d.GetString(\"CAT_CL_BCREDITO\"),Colors"; +Debug.ShouldStop(8); +c_clientes.__c.runVoidMethod ("LogImpl","510223697",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),c_clientes.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 549;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),BA.ObjectToString("1"))) { + BA.debugLineNum = 550;BA.debugLine="CREDITO.Visible = True"; +Debug.ShouldStop(32); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"True")); + }else { + BA.debugLineNum = 552;BA.debugLine="CREDITO.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }; + BA.debugLineNum = 554;BA.debugLine="d.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 556;BA.debugLine="CREDITO.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 559;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 = 560;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(32768); +{ +final int step87 = 1; +final int limit87 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step87 > 0 && _i <= limit87) || (step87 < 0 && _i >= limit87) ;_i = ((int)(0 + _i + step87)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 561;BA.debugLine="c.Position=i"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 562;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(131072); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 563;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(262144); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 564;BA.debugLine="label1.TextSize = 13"; +Debug.ShouldStop(524288); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 565;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(1048576); +_label1.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 566;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(2097152); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 567;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(4194304); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 568;BA.debugLine="label2.TextSize = 13"; +Debug.ShouldStop(8388608); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 569;BA.debugLine="label2.TextColor = Colors.Black"; +Debug.ShouldStop(16777216); +_label2.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 570;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_CODI"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 573;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 574;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(536870912); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + }} +; + BA.debugLineNum = 577;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_qr_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_qr_Click (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,367); +if (RapidSub.canDelegate("b_qr_click")) { return __ref.runUserSub(false, "c_clientes","b_qr_click", __ref);} +RemoteObject _scan_width = RemoteObject.createImmutable(0); +RemoteObject _scan_height = RemoteObject.createImmutable(0); + BA.debugLineNum = 367;BA.debugLine="Sub b_qr_Click"; +Debug.ShouldStop(16384); + BA.debugLineNum = 368;BA.debugLine="Dim scan_width As Int"; +Debug.ShouldStop(32768); +_scan_width = RemoteObject.createImmutable(0);Debug.locals.put("scan_width", _scan_width); + BA.debugLineNum = 369;BA.debugLine="Dim scan_height As Int"; +Debug.ShouldStop(65536); +_scan_height = RemoteObject.createImmutable(0);Debug.locals.put("scan_height", _scan_height); + BA.debugLineNum = 370;BA.debugLine="scan_width = 400"; +Debug.ShouldStop(131072); +_scan_width = BA.numberCast(int.class, 400);Debug.locals.put("scan_width", _scan_width); + BA.debugLineNum = 371;BA.debugLine="scan_height = 400"; +Debug.ShouldStop(262144); +_scan_height = BA.numberCast(int.class, 400);Debug.locals.put("scan_height", _scan_height); + BA.debugLineNum = 372;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",5,__ref.getField(false, "ba"),__ref,66); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_clientes","b4xpage_appear", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); + BA.debugLineNum = 66;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(2); + BA.debugLineNum = 67;BA.debugLine="l_baseodia.Text = \"Clientes del día de visita\""; +Debug.ShouldStop(4); +__ref.getField(false,"_l_baseodia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Clientes del día de visita")); + BA.debugLineNum = 68;BA.debugLine="CHECK = 0"; +Debug.ShouldStop(8); +__ref.setField ("_check" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 69;BA.debugLine="busca.Text = \"\""; +Debug.ShouldStop(16); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 70;BA.debugLine="entro =\"2\""; +Debug.ShouldStop(32); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("2")); + BA.debugLineNum = 71;BA.debugLine="colonia = 0"; +Debug.ShouldStop(64); +__ref.setField ("_colonia" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 72;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 AND CAT_CL_CODIGO <> "),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.createImmutable("0")))),RemoteObject.createImmutable(" AND CAT_CL_CODIGO <> "),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.createImmutable("1")))),RemoteObject.createImmutable(" ORDER BY CAST(CAT_CL_NUM_SERIEFISICO AS INTEGER) ASC")))))); + BA.debugLineNum = 73;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(256); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 74;BA.debugLine="lfila.Text = \"NOMBRE\""; +Debug.ShouldStop(512); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("NOMBRE")); + BA.debugLineNum = 76;BA.debugLine="CallSubDelayed(Tracker, \"Track\")"; +Debug.ShouldStop(2048); +c_clientes.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_clientes._tracker.getObject())),(Object)(RemoteObject.createImmutable("Track"))); + BA.debugLineNum = 77;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +Debug.ShouldStop(4096); +c_clientes.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_clientes._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLPSmall"))); + BA.debugLineNum = 78;BA.debugLine="If Tracker.FLP.IsInitialized And Tracker.FLP.GetL"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(".",c_clientes._tracker._flp /*RemoteObject*/ .runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",c_clientes._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 79;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(16384); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(c_clientes._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude"))); + BA.debugLineNum = 80;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(32768); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(c_clientes._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude"))); + BA.debugLineNum = 82;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; +Debug.ShouldStop(131072); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_clientes.class, "_gps_locationchanged" /*RemoteObject*/ ,(Object)(c_clientes._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation"))); + }; + BA.debugLineNum = 85;BA.debugLine="CustomListView1.Clear"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 86;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(2097152); +{ +final int step17 = 1; +final int limit17 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step17 > 0 && _i <= limit17) || (step17 < 0 && _i >= limit17) ;_i = ((int)(0 + _i + step17)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 87;BA.debugLine="c.Position = i"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 88;BA.debugLine="CustomListView1.Add(CreateListItem(c.GetString(\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (SHARK2.keymon.com.mx.c_clientes.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE")))),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 89;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select CL"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'")))))); + BA.debugLineNum = 90;BA.debugLine="If d.RowCount = 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 91;BA.debugLine="cxc.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }else { + BA.debugLineNum = 93;BA.debugLine="cxc.Visible = True"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"True")); + }; + BA.debugLineNum = 96;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select IF"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '"),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'")))))); + BA.debugLineNum = 98;BA.debugLine="If d.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 99;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(4); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 100;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),BA.ObjectToString("1"))) { + BA.debugLineNum = 101;BA.debugLine="CREDITO.Visible = True"; +Debug.ShouldStop(16); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"True")); + }else { + BA.debugLineNum = 103;BA.debugLine="CREDITO.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }; + BA.debugLineNum = 105;BA.debugLine="d.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 107;BA.debugLine="CREDITO.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 110;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 = 111;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(16384); +{ +final int step40 = 1; +final int limit40 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step40 > 0 && _i <= limit40) || (step40 < 0 && _i >= limit40) ;_i = ((int)(0 + _i + step40)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 112;BA.debugLine="c.Position=i"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 113;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(65536); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 114;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(131072); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 115;BA.debugLine="label1.TextSize = 13"; +Debug.ShouldStop(262144); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 116;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(524288); +_label1.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 117;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(1048576); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 118;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(2097152); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 119;BA.debugLine="label2.TextSize = 13"; +Debug.ShouldStop(4194304); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 120;BA.debugLine="label2.TextColor = Colors.Black"; +Debug.ShouldStop(8388608); +_label2.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 121;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_CODIG"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 124;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 125;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(268435456); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + 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 _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,256); +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(SHARK2.keymon.com.mx.c_clientes parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_clientes parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,256); +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 = 263;BA.debugLine="Return True"; +Debug.ShouldStop(64); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"True")));return;}; + BA.debugLineNum = 264;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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",5,__ref.getField(false, "ba"),__ref,43); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_clientes","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 43;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(1024); + BA.debugLineNum = 44;BA.debugLine="Root = Root1"; +Debug.ShouldStop(2048); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 46;BA.debugLine="Root.LoadLayout(\"clientes\")"; +Debug.ShouldStop(8192); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("clientes")),__ref.getField(false, "ba")); + BA.debugLineNum = 48;BA.debugLine="entro =\"2\""; +Debug.ShouldStop(32768); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("2")); + BA.debugLineNum = 53;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(1048576); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_clientes.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 60;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",c_clientes.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_clientes.__c.getField(true,"False"))) { + BA.debugLineNum = 61;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(268435456); +c_clientes.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_clientes.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 63;BA.debugLine="qr.initialize"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_qr" /*RemoteObject*/ ).runVoidMethod ("initialize"); + 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 _busca_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("BUSCA_TextChanged (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,266); +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 = 266;BA.debugLine="Sub BUSCA_TextChanged (Old As String, New As Strin"; +Debug.ShouldStop(512); + BA.debugLineNum = 267;BA.debugLine="If CHECK = 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_check" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 268;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 = 269;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?)and gestion = 0 AND CAT_CL_CODIGO <> "),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.createImmutable("0")))),RemoteObject.createImmutable(" AND CAT_CL_CODIGO <> "),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.createImmutable("1")))),RemoteObject.createImmutable(" order by CAT_CL_CODIGO ")))),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ )})))); + BA.debugLineNum = 270;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(8192); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 271;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 = 273;BA.debugLine="CustomListView1.Clear"; +Debug.ShouldStop(65536); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 274;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 = 275;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 276;BA.debugLine="CustomListView1.Add(CreateListItem(c2.GetString"; +Debug.ShouldStop(524288); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (SHARK2.keymon.com.mx.c_clientes.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE")))),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 277;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select C"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'")))))); + BA.debugLineNum = 278;BA.debugLine="If d.RowCount = 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 279;BA.debugLine="cxc.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }else { + BA.debugLineNum = 281;BA.debugLine="cxc.Visible = True"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"True")); + }; + BA.debugLineNum = 284;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select I"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '"),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'")))))); + BA.debugLineNum = 286;BA.debugLine="If d.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 287;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 289;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),BA.ObjectToString("1"))) { + BA.debugLineNum = 290;BA.debugLine="CREDITO.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"True")); + }else { + BA.debugLineNum = 292;BA.debugLine="CREDITO.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }; + BA.debugLineNum = 294;BA.debugLine="d.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 296;BA.debugLine="CREDITO.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 300;BA.debugLine="If c2.RowCount>0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 301;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(4096); +{ +final int step30 = 1; +final int limit30 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step30 > 0 && _i <= limit30) || (step30 < 0 && _i >= limit30) ;_i = ((int)(0 + _i + step30)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 302;BA.debugLine="c2.Position=i"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 303;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(16384); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 304;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 = 305;BA.debugLine="label1.TextSize = 9"; +Debug.ShouldStop(65536); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 9)); + BA.debugLineNum = 306;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(131072); +_label1.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 307;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(262144); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 308;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 = 309;BA.debugLine="label2.TextSize = 17"; +Debug.ShouldStop(1048576); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 17)); + BA.debugLineNum = 310;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(2097152); +_label2.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 311;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; +Debug.ShouldStop(4194304); +__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 = 314;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(33554432); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + BA.debugLineNum = 315;BA.debugLine="c2.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else +{ BA.debugLineNum = 316;BA.debugLine="Else If CHECK = 1 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_check" /*RemoteObject*/ ),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 317;BA.debugLine="q_buscar = \"%\" & busca.Text & \"%\""; +Debug.ShouldStop(268435456); +__ref.setField ("_q_buscar" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable("%"),__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("%"))); + BA.debugLineNum = 318;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info2 where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?)and gestion = 0 order by CAT_CL_CODIGO ")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ ),__ref.getField(true,"_q_buscar" /*RemoteObject*/ )})))); + BA.debugLineNum = 319;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 320;BA.debugLine="lfila.text = \"Nombre y Calle\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Nombre y Calle")); + BA.debugLineNum = 322;BA.debugLine="CustomListView1.Clear"; +Debug.ShouldStop(2); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 323;BA.debugLine="For i = 0 To c2.RowCount - 1"; +Debug.ShouldStop(4); +{ +final int step51 = 1; +final int limit51 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).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 = 324;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(8); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 325;BA.debugLine="CustomListView1.Add(CreateListItem(c2.GetString"; +Debug.ShouldStop(16); +__ref.getField(false,"_customlistview1" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (SHARK2.keymon.com.mx.c_clientes.class, "_createlistitem" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE")))),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))).getObject()),(Object)(RemoteObject.createImmutable((_i)))); + BA.debugLineNum = 326;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select C"; +Debug.ShouldStop(32); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'")))))); + BA.debugLineNum = 327;BA.debugLine="If d.RowCount = 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 328;BA.debugLine="cxc.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }else { + BA.debugLineNum = 330;BA.debugLine="cxc.Visible = True"; +Debug.ShouldStop(512); +__ref.getField(false,"_cxc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"True")); + }; + BA.debugLineNum = 332;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select I"; +Debug.ShouldStop(2048); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO = '"),c_clientes.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")))))),RemoteObject.createImmutable("'")))))); + BA.debugLineNum = 334;BA.debugLine="If d.RowCount > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 335;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 336;BA.debugLine="LogColor(d.GetString(\"CAT_CL_BCREDITO\"),Colors"; +Debug.ShouldStop(32768); +c_clientes.__c.runVoidMethod ("LogImpl","59764934",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),c_clientes.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 337;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_BCREDITO"))),BA.ObjectToString("1"))) { + BA.debugLineNum = 338;BA.debugLine="CREDITO.Visible = True"; +Debug.ShouldStop(131072); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"True")); + }else { + BA.debugLineNum = 340;BA.debugLine="CREDITO.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }; + BA.debugLineNum = 342;BA.debugLine="d.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 344;BA.debugLine="CREDITO.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_credito" /*RemoteObject*/ ).runMethod(true,"setVisible",c_clientes.__c.getField(true,"False")); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 348;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 = 349;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(268435456); +{ +final int step75 = 1; +final int limit75 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step75 > 0 && _i <= limit75) || (step75 < 0 && _i >= limit75) ;_i = ((int)(0 + _i + step75)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 350;BA.debugLine="c2.Position=i"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 351;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(1073741824); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 352;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(-2147483648); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 353;BA.debugLine="label1.TextSize = 9"; +Debug.ShouldStop(1); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 9)); + BA.debugLineNum = 354;BA.debugLine="label1.TextColor = Colors.White"; +Debug.ShouldStop(2); +_label1.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 355;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(4); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 356;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(8); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 357;BA.debugLine="label2.TextSize = 17"; +Debug.ShouldStop(16); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 17)); + BA.debugLineNum = 358;BA.debugLine="label2.TextColor = Colors.White"; +Debug.ShouldStop(32); +_label2.runMethod(true,"setTextColor",c_clientes.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 359;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; +Debug.ShouldStop(64); +__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 = 362;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(512); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + BA.debugLineNum = 363;BA.debugLine="c2.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + }} +; + BA.debugLineNum = 365;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _calc_ean_checksum(RemoteObject __ref,RemoteObject _number) throws Exception{ +try { + Debug.PushSubsStack("calc_ean_checksum (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,395); +if (RapidSub.canDelegate("calc_ean_checksum")) { return __ref.runUserSub(false, "c_clientes","calc_ean_checksum", __ref, _number);} +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _co = RemoteObject.createImmutable('\0'); +RemoteObject _soma = RemoteObject.createImmutable(0); +RemoteObject _n = RemoteObject.createImmutable(0); +RemoteObject _digit = RemoteObject.createImmutable(0f); +Debug.locals.put("number", _number); + BA.debugLineNum = 395;BA.debugLine="Sub calc_ean_checksum(number As String) As String"; +Debug.ShouldStop(1024); + BA.debugLineNum = 396;BA.debugLine="Dim i As Int"; +Debug.ShouldStop(2048); +_i = RemoteObject.createImmutable(0);Debug.locals.put("i", _i); + BA.debugLineNum = 397;BA.debugLine="Dim cO As Char"; +Debug.ShouldStop(4096); +_co = RemoteObject.createImmutable('\0');Debug.locals.put("cO", _co); + BA.debugLineNum = 398;BA.debugLine="Dim soma As Int"; +Debug.ShouldStop(8192); +_soma = RemoteObject.createImmutable(0);Debug.locals.put("soma", _soma); + BA.debugLineNum = 399;BA.debugLine="Dim n As Int"; +Debug.ShouldStop(16384); +_n = RemoteObject.createImmutable(0);Debug.locals.put("n", _n); + BA.debugLineNum = 400;BA.debugLine="Dim digit As Float"; +Debug.ShouldStop(32768); +_digit = RemoteObject.createImmutable(0f);Debug.locals.put("digit", _digit); + BA.debugLineNum = 401;BA.debugLine="soma = 0"; +Debug.ShouldStop(65536); +_soma = BA.numberCast(int.class, 0);Debug.locals.put("soma", _soma); + BA.debugLineNum = 402;BA.debugLine="For i=0 To number.Length - 1"; +Debug.ShouldStop(131072); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_number.runMethod(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = BA.numberCast(int.class, 0) ; +for (;(step7 > 0 && _i.get().intValue() <= limit7) || (step7 < 0 && _i.get().intValue() >= limit7) ;_i = RemoteObject.createImmutable((int)(0 + _i.get().intValue() + step7)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 403;BA.debugLine="digit = number.SubString2(i,i+1)"; +Debug.ShouldStop(262144); +_digit = BA.numberCast(float.class, _number.runMethod(true,"substring",(Object)(_i),(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(1)}, "+",1, 1))));Debug.locals.put("digit", _digit); + BA.debugLineNum = 404;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)"; +Debug.ShouldStop(524288); +_n = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_digit,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(2)}, "%",0, 1)),RemoteObject.createImmutable(2),RemoteObject.createImmutable(1)}, "*+",1, 1))}, "*",0, 0));Debug.locals.put("n", _n); + BA.debugLineNum = 405;BA.debugLine="soma=soma+n"; +Debug.ShouldStop(1048576); +_soma = RemoteObject.solve(new RemoteObject[] {_soma,_n}, "+",1, 1);Debug.locals.put("soma", _soma); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 407;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10"; +Debug.ShouldStop(4194304); +if (true) return RemoteObject.concat(_number,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(10),(RemoteObject.solve(new RemoteObject[] {_soma,RemoteObject.createImmutable(10)}, "%",0, 1))}, "-",1, 1)),RemoteObject.createImmutable(10)}, "%",0, 1))); + BA.debugLineNum = 408;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_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 = 5;BA.debugLine="Dim c As Cursor"; +c_clientes._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_clientes._c); + //BA.debugLineNum = 6;BA.debugLine="Dim c2 As Cursor"; +c_clientes._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",c_clientes._c2); + //BA.debugLineNum = 7;BA.debugLine="Dim d As Cursor"; +c_clientes._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_clientes._d); + //BA.debugLineNum = 8;BA.debugLine="Dim s As Cursor"; +c_clientes._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_clientes._s); + //BA.debugLineNum = 9;BA.debugLine="Dim ListView1 As ListView"; +c_clientes._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_clientes._listview1); + //BA.debugLineNum = 10;BA.debugLine="Dim entro As String"; +c_clientes._entro = RemoteObject.createImmutable("");__ref.setField("_entro",c_clientes._entro); + //BA.debugLineNum = 11;BA.debugLine="Dim gest As Button"; +c_clientes._gest = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_gest",c_clientes._gest); + //BA.debugLineNum = 12;BA.debugLine="Dim lfila As Label"; +c_clientes._lfila = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lfila",c_clientes._lfila); + //BA.debugLineNum = 13;BA.debugLine="Dim busca As EditText"; +c_clientes._busca = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_busca",c_clientes._busca); + //BA.debugLineNum = 14;BA.debugLine="Dim colonia As String"; +c_clientes._colonia = RemoteObject.createImmutable("");__ref.setField("_colonia",c_clientes._colonia); + //BA.debugLineNum = 15;BA.debugLine="Private b_qr As Button"; +c_clientes._b_qr = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_qr",c_clientes._b_qr); + //BA.debugLineNum = 16;BA.debugLine="Private qr As QRCode"; +c_clientes._qr = RemoteObject.createNew ("com.inforpires.baQRCode.baQRCode");__ref.setField("_qr",c_clientes._qr); + //BA.debugLineNum = 18;BA.debugLine="Dim CODIGO As String"; +c_clientes._codigo = RemoteObject.createImmutable("");__ref.setField("_codigo",c_clientes._codigo); + //BA.debugLineNum = 19;BA.debugLine="Dim STIME As String"; +c_clientes._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_clientes._stime); + //BA.debugLineNum = 20;BA.debugLine="Dim ruta As String"; +c_clientes._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_clientes._ruta); + //BA.debugLineNum = 21;BA.debugLine="Dim q_buscar As String"; +c_clientes._q_buscar = RemoteObject.createImmutable("");__ref.setField("_q_buscar",c_clientes._q_buscar); + //BA.debugLineNum = 22;BA.debugLine="Private p_clientes As Panel"; +c_clientes._p_clientes = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_clientes",c_clientes._p_clientes); + //BA.debugLineNum = 23;BA.debugLine="Private CustomListView1 As CustomListView"; +c_clientes._customlistview1 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_customlistview1",c_clientes._customlistview1); + //BA.debugLineNum = 24;BA.debugLine="Private numerocliente As Label"; +c_clientes._numerocliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_numerocliente",c_clientes._numerocliente); + //BA.debugLineNum = 25;BA.debugLine="Private nombrecliente As Label"; +c_clientes._nombrecliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_nombrecliente",c_clientes._nombrecliente); + //BA.debugLineNum = 26;BA.debugLine="Private direccion As Label"; +c_clientes._direccion = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_direccion",c_clientes._direccion); + //BA.debugLineNum = 27;BA.debugLine="Private cxc As Label"; +c_clientes._cxc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_cxc",c_clientes._cxc); + //BA.debugLineNum = 28;BA.debugLine="Private p_datosclie As Panel"; +c_clientes._p_datosclie = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_datosclie",c_clientes._p_datosclie); + //BA.debugLineNum = 29;BA.debugLine="Private b_buscar As Button"; +c_clientes._b_buscar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_buscar",c_clientes._b_buscar); + //BA.debugLineNum = 30;BA.debugLine="Private CHECK As Int"; +c_clientes._check = RemoteObject.createImmutable(0);__ref.setField("_check",c_clientes._check); + //BA.debugLineNum = 31;BA.debugLine="Private l_baseodia As Label"; +c_clientes._l_baseodia = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_baseodia",c_clientes._l_baseodia); + //BA.debugLineNum = 32;BA.debugLine="Dim lista_punta As List"; +c_clientes._lista_punta = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_lista_punta",c_clientes._lista_punta); + //BA.debugLineNum = 33;BA.debugLine="Private CREDITO As Label"; +c_clientes._credito = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_credito",c_clientes._credito); + //BA.debugLineNum = 35;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _mostrar,RemoteObject _mostrar1,RemoteObject _mostrar2) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,155); +if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "c_clientes","createlistitem", __ref, _mostrar, _mostrar1, _mostrar2);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("mostrar", _mostrar); +Debug.locals.put("mostrar1", _mostrar1); +Debug.locals.put("mostrar2", _mostrar2); + BA.debugLineNum = 155;BA.debugLine="Sub CreateListItem(mostrar As String, mostrar1 As"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 156;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(134217728); +_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 = 157;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 1, 220)"; +Debug.ShouldStop(268435456); +_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, 220))); + BA.debugLineNum = 158;BA.debugLine="p.LoadLayout(\"datoscliente\")"; +Debug.ShouldStop(536870912); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("datoscliente")),__ref.getField(false, "ba")); + BA.debugLineNum = 159;BA.debugLine="p.Height= 60dip"; +Debug.ShouldStop(1073741824); +_p.runMethod(true,"setHeight",c_clientes.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))); + BA.debugLineNum = 161;BA.debugLine="nombrecliente.Text = mostrar"; +Debug.ShouldStop(1); +__ref.getField(false,"_nombrecliente" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_mostrar)); + BA.debugLineNum = 162;BA.debugLine="direccion.Text = mostrar1"; +Debug.ShouldStop(2); +__ref.getField(false,"_direccion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_mostrar1)); + BA.debugLineNum = 163;BA.debugLine="numerocliente.Text = mostrar2"; +Debug.ShouldStop(4); +__ref.getField(false,"_numerocliente" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_mostrar2)); + BA.debugLineNum = 164;BA.debugLine="p_datosclie.Tag = mostrar2"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_datosclie" /*RemoteObject*/ ).runMethod(false,"setTag",(_mostrar2)); + BA.debugLineNum = 167;BA.debugLine="Return p"; +Debug.ShouldStop(64); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _p.getObject()); + BA.debugLineNum = 168;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,143); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_clientes","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 143;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(16384); + BA.debugLineNum = 145;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(".",c_clientes._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean("!",c_clientes._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 146;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(131072); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(c_clientes._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude"))); + BA.debugLineNum = 147;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(262144); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(c_clientes._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude"))); + }; + BA.debugLineNum = 152;BA.debugLine="CallSubDelayed(Tracker, \"CreateLocationRequest\")"; +Debug.ShouldStop(8388608); +c_clientes.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_clientes._tracker.getObject())),(Object)(RemoteObject.createImmutable("CreateLocationRequest"))); + 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 _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_clientes","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 38;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(32); + BA.debugLineNum = 39;BA.debugLine="Return Me"; +Debug.ShouldStop(64); +if (true) return __ref; + BA.debugLineNum = 40;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview1_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemClick (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,197); +if (RapidSub.canDelegate("listview1_itemclick")) { return __ref.runUserSub(false, "c_clientes","listview1_itemclick", __ref, _position, _value);} +int _i = 0; +RemoteObject _mpoint = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +Debug.locals.put("Position", _position); +Debug.locals.put("value", _value); + BA.debugLineNum = 197;BA.debugLine="Sub ListView1_ItemClick (Position As Int, value As"; +Debug.ShouldStop(16); + BA.debugLineNum = 198;BA.debugLine="If colonia = 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_colonia" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 199;BA.debugLine="colonia = value"; +Debug.ShouldStop(64); +__ref.setField ("_colonia" /*RemoteObject*/ ,BA.ObjectToString(_value)); + }; + BA.debugLineNum = 201;BA.debugLine="If entro = \"2\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("2"))) { + BA.debugLineNum = 202;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; +Debug.ShouldStop(512); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_CALLE, CAT_CL_COLONIA, count(*) as cuantos from kmt_info where gestion = 0 and CAT_CL_COLONIA = ? GROUP BY CAT_CL_CALLE, CAT_CL_COLONIA order by CAT_CL_CALLE ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString(_value)})))); + BA.debugLineNum = 203;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(1024); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 204;BA.debugLine="lfila.text = \"Calle\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Calle")); + BA.debugLineNum = 205;BA.debugLine="If c2.RowCount>0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 206;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(8192); +{ +final int step9 = 1; +final int limit9 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step9 > 0 && _i <= limit9) || (step9 < 0 && _i >= limit9) ;_i = ((int)(0 + _i + step9)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 207;BA.debugLine="c2.Position=i"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 208;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CAL"; +Debug.ShouldStop(32768); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))))),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuantos")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 211;BA.debugLine="entro = \"3\""; +Debug.ShouldStop(262144); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("3")); + }else +{ BA.debugLineNum = 212;BA.debugLine="Else If entro = \"3\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("3"))) { + BA.debugLineNum = 213;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 and CAT_CL_CALLE = ? AND CAT_CL_COLONIA = ? order by CAT_CL_NOMBRE ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_value),__ref.getField(true,"_colonia" /*RemoteObject*/ )})))); + BA.debugLineNum = 214;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 215;BA.debugLine="lfila.text = \"Nombre\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Nombre")); + BA.debugLineNum = 216;BA.debugLine="If c2.RowCount>0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 217;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(16777216); +{ +final int step20 = 1; +final int limit20 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step20 > 0 && _i <= limit20) || (step20 < 0 && _i >= limit20) ;_i = ((int)(0 + _i + step20)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 218;BA.debugLine="c2.Position=i"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 219;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 222;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(536870912); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + }else +{ BA.debugLineNum = 223;BA.debugLine="Else If entro = \"4\" Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("4"))) { + BA.debugLineNum = 224;BA.debugLine="Dim mPoint As LatLng"; +Debug.ShouldStop(-2147483648); +_mpoint = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");Debug.locals.put("mPoint", _mpoint); + BA.debugLineNum = 225;BA.debugLine="mPoint.Initialize(B4XPages.MainPage.lat_gps, B4X"; +Debug.ShouldStop(1); +_mpoint.runVoidMethod ("Initialize",(Object)(BA.numberCast(double.class, c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))),(Object)(BA.numberCast(double.class, c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )))); + BA.debugLineNum = 234;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(512); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 235;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(1024); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_value}))))); + BA.debugLineNum = 236;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(2048); +c_clientes.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 237;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(4096); +__ref.setField ("_stime" /*RemoteObject*/ ,c_clientes.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_clientes.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 238;BA.debugLine="Starter.pre_viejo = Subs.traeTotalClienteprevent"; +Debug.ShouldStop(8192); +c_clientes._starter._pre_viejo /*RemoteObject*/ = BA.numberCast(float.class, c_clientes._subs.runMethod(true,"_traetotalclientepreventaparacredito" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 239;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; +Debug.ShouldStop(16384); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = ? AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("0")})))); + BA.debugLineNum = 240;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 241;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(1))) { + BA.debugLineNum = 242;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +Debug.ShouldStop(131072); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + }else { + BA.debugLineNum = 244;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +Debug.ShouldStop(524288); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_value}))))); + BA.debugLineNum = 245;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +Debug.ShouldStop(1048576); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + }; + BA.debugLineNum = 247;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +Debug.ShouldStop(4194304); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_OUT set HSO_INI = ? where HSO_INI = 0 ")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 248;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(8388608); +c_clientes.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 250;BA.debugLine="Subs.guardaClienteHoraInicio(value)"; +Debug.ShouldStop(33554432); +c_clientes._subs.runVoidMethod ("_guardaclientehorainicio" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_value))); + BA.debugLineNum = 252;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(134217728); +c_clientes._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }}} +; + 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 _p_clientes_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_clientes_Click (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,412); +if (RapidSub.canDelegate("p_clientes_click")) { return __ref.runUserSub(false, "c_clientes","p_clientes_click", __ref);} + BA.debugLineNum = 412;BA.debugLine="Private Sub p_clientes_Click"; +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 RemoteObject _p_datosclie_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_datosclie_Click (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,416); +if (RapidSub.canDelegate("p_datosclie_click")) { return __ref.runUserSub(false, "c_clientes","p_datosclie_click", __ref);} +int _i = 0; + BA.debugLineNum = 416;BA.debugLine="Private Sub p_datosclie_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 417;BA.debugLine="If colonia = 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_colonia" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 418;BA.debugLine="colonia = Sender.As(Panel).tag"; +Debug.ShouldStop(2); +__ref.setField ("_colonia" /*RemoteObject*/ ,BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), c_clientes.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))); + }; + BA.debugLineNum = 420;BA.debugLine="If entro = \"2\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("2"))) { + BA.debugLineNum = 421;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; +Debug.ShouldStop(16); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_CALLE, CAT_CL_COLONIA, count(*) as cuantos from kmt_info where gestion = 0 and CAT_CL_COLONIA = ? GROUP BY CAT_CL_CALLE, CAT_CL_COLONIA order by CAT_CL_CALLE ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), c_clientes.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))})))); + BA.debugLineNum = 422;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(32); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 423;BA.debugLine="lfila.text = \"Calle\""; +Debug.ShouldStop(64); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Calle")); + BA.debugLineNum = 424;BA.debugLine="If c2.RowCount>0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 425;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(256); +{ +final int step9 = 1; +final int limit9 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step9 > 0 && _i <= limit9) || (step9 < 0 && _i >= limit9) ;_i = ((int)(0 + _i + step9)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 426;BA.debugLine="c2.Position=i"; +Debug.ShouldStop(512); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 427;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CAL"; +Debug.ShouldStop(1024); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CALLE"))))),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuantos")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 430;BA.debugLine="entro = \"3\""; +Debug.ShouldStop(8192); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("3")); + }else +{ BA.debugLineNum = 431;BA.debugLine="Else If entro = \"3\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("3"))) { + BA.debugLineNum = 432;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 and CAT_CL_CALLE = ? AND CAT_CL_COLONIA = ? order by CAT_CL_NOMBRE ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), c_clientes.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag")),__ref.getField(true,"_colonia" /*RemoteObject*/ )})))); + BA.debugLineNum = 433;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(65536); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 434;BA.debugLine="lfila.text = \"Nombre\""; +Debug.ShouldStop(131072); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Nombre")); + BA.debugLineNum = 435;BA.debugLine="If c2.RowCount>0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 436;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(524288); +{ +final int step20 = 1; +final int limit20 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step20 > 0 && _i <= limit20) || (step20 < 0 && _i >= limit20) ;_i = ((int)(0 + _i + step20)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 437;BA.debugLine="c2.Position=i"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 438;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 441;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(16777216); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + }else +{ BA.debugLineNum = 442;BA.debugLine="Else If entro = \"4\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("4"))) { + BA.debugLineNum = 443;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(67108864); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 444;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(134217728); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), c_clientes.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag")}))))); + BA.debugLineNum = 445;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(268435456); +c_clientes.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 446;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(536870912); +__ref.setField ("_stime" /*RemoteObject*/ ,c_clientes.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_clientes.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 448;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = ? AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("0")})))); + BA.debugLineNum = 449;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(1); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 450;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(1))) { + BA.debugLineNum = 451;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +Debug.ShouldStop(4); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + }else { + BA.debugLineNum = 453;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +Debug.ShouldStop(16); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), c_clientes.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag")}))))); + BA.debugLineNum = 454;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +Debug.ShouldStop(32); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + }; + BA.debugLineNum = 456;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +Debug.ShouldStop(128); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_OUT set HSO_INI = ? where HSO_INI = 0 ")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 457;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(256); +c_clientes.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 459;BA.debugLine="Subs.guardaClienteHoraInicio(Sender.As(Panel).ta"; +Debug.ShouldStop(1024); +c_clientes._subs.runVoidMethod ("_guardaclientehorainicio" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), c_clientes.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag")))); + BA.debugLineNum = 461;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(4096); +c_clientes._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }}} +; + BA.debugLineNum = 465;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pointinpolygon(RemoteObject __ref,RemoteObject _point,RemoteObject _polygon) throws Exception{ +try { + Debug.PushSubsStack("PointInPolygon (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,170); +if (RapidSub.canDelegate("pointinpolygon")) { return __ref.runUserSub(false, "c_clientes","pointinpolygon", __ref, _point, _polygon);} +RemoteObject _x = RemoteObject.createImmutable(0); +RemoteObject _y = RemoteObject.createImmutable(0); +RemoteObject _inside = RemoteObject.createImmutable(false); +int _i = 0; +RemoteObject _j = RemoteObject.createImmutable(0); +RemoteObject _p1_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +RemoteObject _p2_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +RemoteObject _xi = RemoteObject.createImmutable(0); +RemoteObject _yi = RemoteObject.createImmutable(0); +RemoteObject _xj = RemoteObject.createImmutable(0); +RemoteObject _yj = RemoteObject.createImmutable(0); +RemoteObject _intersect = RemoteObject.createImmutable(false); +Debug.locals.put("point", _point); +Debug.locals.put("polygon", _polygon); + BA.debugLineNum = 170;BA.debugLine="Sub PointInPolygon(point As LatLng, polygon As Lis"; +Debug.ShouldStop(512); + BA.debugLineNum = 171;BA.debugLine="Dim x As Double = point.Longitude"; +Debug.ShouldStop(1024); +_x = _point.runMethod(true,"getLongitude");Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 172;BA.debugLine="Dim y As Double = point.Latitude"; +Debug.ShouldStop(2048); +_y = _point.runMethod(true,"getLatitude");Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 174;BA.debugLine="Dim inside As Boolean = False"; +Debug.ShouldStop(8192); +_inside = c_clientes.__c.getField(true,"False");Debug.locals.put("inside", _inside);Debug.locals.put("inside", _inside); + BA.debugLineNum = 175;BA.debugLine="For i = 0 To polygon.Size - 1"; +Debug.ShouldStop(16384); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_polygon.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 176;BA.debugLine="Dim j As Int = (i + 1) Mod polygon.Size"; +Debug.ShouldStop(32768); +_j = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1)),_polygon.runMethod(true,"getSize")}, "%",0, 1);Debug.locals.put("j", _j);Debug.locals.put("j", _j); + BA.debugLineNum = 177;BA.debugLine="Dim p1_1 As LatLng = polygon.Get(i)"; +Debug.ShouldStop(65536); +_p1_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +_p1_1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"), _polygon.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("p1_1", _p1_1);Debug.locals.put("p1_1", _p1_1); + BA.debugLineNum = 178;BA.debugLine="Dim p2_1 As LatLng = polygon.Get(j)"; +Debug.ShouldStop(131072); +_p2_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +_p2_1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"), _polygon.runMethod(false,"Get",(Object)(_j)));Debug.locals.put("p2_1", _p2_1);Debug.locals.put("p2_1", _p2_1); + BA.debugLineNum = 180;BA.debugLine="Dim xi As Double = p1_1.Longitude"; +Debug.ShouldStop(524288); +_xi = _p1_1.runMethod(true,"getLongitude");Debug.locals.put("xi", _xi);Debug.locals.put("xi", _xi); + BA.debugLineNum = 181;BA.debugLine="Dim yi As Double = p1_1.Latitude"; +Debug.ShouldStop(1048576); +_yi = _p1_1.runMethod(true,"getLatitude");Debug.locals.put("yi", _yi);Debug.locals.put("yi", _yi); + BA.debugLineNum = 182;BA.debugLine="Dim xj As Double = p2_1.Longitude"; +Debug.ShouldStop(2097152); +_xj = _p2_1.runMethod(true,"getLongitude");Debug.locals.put("xj", _xj);Debug.locals.put("xj", _xj); + BA.debugLineNum = 183;BA.debugLine="Dim yj As Double = p2_1.Latitude"; +Debug.ShouldStop(4194304); +_yj = _p2_1.runMethod(true,"getLatitude");Debug.locals.put("yj", _yj);Debug.locals.put("yj", _yj); + BA.debugLineNum = 185;BA.debugLine="Dim intersect As Boolean = ((yi > y) <> (yj > y)"; +Debug.ShouldStop(16777216); +_intersect = BA.ObjectToBoolean(RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("!",RemoteObject.createImmutable((RemoteObject.solveBoolean(">",_yi,_y))),BA.ObjectToBoolean((RemoteObject.solveBoolean(">",_yj,_y))))))) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("<",_x,RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_xj,_xi}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {_y,_yi}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {_yj,_yi}, "-",1, 0)),_xi}, "*/+",1, 0))))));Debug.locals.put("intersect", _intersect);Debug.locals.put("intersect", _intersect); + BA.debugLineNum = 186;BA.debugLine="If intersect Then"; +Debug.ShouldStop(33554432); +if (_intersect.get().booleanValue()) { + BA.debugLineNum = 187;BA.debugLine="inside = Not(inside)"; +Debug.ShouldStop(67108864); +_inside = c_clientes.__c.runMethod(true,"Not",(Object)(_inside));Debug.locals.put("inside", _inside); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 191;BA.debugLine="Return inside"; +Debug.ShouldStop(1073741824); +if (true) return _inside; + BA.debugLineNum = 194;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sc_noscan(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("sc_noScan (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,391); +if (RapidSub.canDelegate("sc_noscan")) { return __ref.runUserSub(false, "c_clientes","sc_noscan", __ref);} + BA.debugLineNum = 391;BA.debugLine="Sub sc_noScan"; +Debug.ShouldStop(64); + BA.debugLineNum = 392;BA.debugLine="Log(\"nothing returned from the scan !!!!!\")"; +Debug.ShouldStop(128); +c_clientes.__c.runVoidMethod ("LogImpl","59961473",RemoteObject.createImmutable("nothing returned from the scan !!!!!"),0); + BA.debugLineNum = 393;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sc_result(RemoteObject __ref,RemoteObject _atype,RemoteObject _values) throws Exception{ +try { + Debug.PushSubsStack("sc_result (c_clientes) ","c_clientes",5,__ref.getField(false, "ba"),__ref,374); +if (RapidSub.canDelegate("sc_result")) { return __ref.runUserSub(false, "c_clientes","sc_result", __ref, _atype, _values);} +Debug.locals.put("atype", _atype); +Debug.locals.put("Values", _values); + BA.debugLineNum = 374;BA.debugLine="Sub sc_result(atype As String,Values As String)"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 375;BA.debugLine="CODIGO = Values"; +Debug.ShouldStop(4194304); +__ref.setField ("_codigo" /*RemoteObject*/ ,_values); + BA.debugLineNum = 376;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CO"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select COUNT(*) AS ENCONTRADO from kmt_info where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_codigo" /*RemoteObject*/ )})))); + BA.debugLineNum = 377;BA.debugLine="c2.Position =0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 378;BA.debugLine="If c2.GetString(\"ENCONTRADO\") > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ENCONTRADO")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 379;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_CL_CODIGO from kmt_info where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_codigo" /*RemoteObject*/ )})))); + BA.debugLineNum = 380;BA.debugLine="s.Position =0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 381;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(268435456); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 382;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(536870912); +c_clientes._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_clientes.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))))}))))); + BA.debugLineNum = 383;BA.debugLine="s.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 385;BA.debugLine="B4XPages.ShowPage(\"clientes\")"; +Debug.ShouldStop(1); +c_clientes._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("clientes"))); + }else { + BA.debugLineNum = 387;BA.debugLine="Msgbox(\"CODIGO \" & CODIGO & \" NO ENCONTRADO\",\"AV"; +Debug.ShouldStop(4); +c_clientes.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("CODIGO "),__ref.getField(true,"_codigo" /*RemoteObject*/ ),RemoteObject.createImmutable(" NO ENCONTRADO")))),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 389;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/SHARK2/keymon/com/mx/c_cuestionario.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_cuestionario.java new file mode 100644 index 0000000..24adc80 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_cuestionario.java @@ -0,0 +1,42 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_cuestionario { + public static RemoteObject myClass; + public c_cuestionario() { + } + public static PCBA staticBA = new PCBA(null, c_cuestionario.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _baceptarpregunta = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _encuestainiciada = RemoteObject.createImmutable(false); +public static RemoteObject _root2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _eventname = RemoteObject.createImmutable(""); +public static RemoteObject _callback = RemoteObject.declareNull("Object"); +public static RemoteObject _vpreguntaactual = RemoteObject.createImmutable(""); +public static RemoteObject _db = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _panelsombra = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"bAceptarPregunta",_ref.getField(false, "_baceptarpregunta"),"CallBack",_ref.getField(false, "_callback"),"DateUtils",_ref.getField(false, "_dateutils"),"db",_ref.getField(false, "_db"),"encuestaIniciada",_ref.getField(false, "_encuestainiciada"),"EventName",_ref.getField(false, "_eventname"),"panelSombra",_ref.getField(false, "_panelsombra"),"Root",_ref.getField(false, "_root"),"Root2",_ref.getField(false, "_root2"),"vPreguntaActual",_ref.getField(false, "_vpreguntaactual"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_cuestionario_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_cuestionario_subs_0.java new file mode 100644 index 0000000..8f54ddd --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_cuestionario_subs_0.java @@ -0,0 +1,487 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_cuestionario_subs_0 { + + +public static RemoteObject _agregacolumna(RemoteObject __ref,RemoteObject _tabla,RemoteObject _columna,RemoteObject _tipo) throws Exception{ +try { + Debug.PushSubsStack("agregaColumna (c_cuestionario) ","c_cuestionario",6,__ref.getField(false, "ba"),__ref,157); +if (RapidSub.canDelegate("agregacolumna")) { return __ref.runUserSub(false, "c_cuestionario","agregacolumna", __ref, _tabla, _columna, _tipo);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("tabla", _tabla); +Debug.locals.put("columna", _columna); +Debug.locals.put("tipo", _tipo); + BA.debugLineNum = 157;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 158;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +Debug.ShouldStop(536870912); +try { BA.debugLineNum = 159;BA.debugLine="Private c As Cursor = db.ExecQuery($\"SELECT COUN"; +Debug.ShouldStop(1073741824); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_db" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT COUNT(*) AS fCol FROM pragma_table_info('"),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("') WHERE name='"),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 160;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(-2147483648); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 161;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { + BA.debugLineNum = 162;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +Debug.ShouldStop(2); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 163;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(4); +c_cuestionario.__c.runVoidMethod ("LogImpl","511010054",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\"."))),0); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e9) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 166;BA.debugLine="Try"; +Debug.ShouldStop(32); +try { BA.debugLineNum = 167;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +Debug.ShouldStop(64); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 168;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(128); +c_cuestionario.__c.runVoidMethod ("LogImpl","511010059",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\".."))),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e13) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e13.toString()); BA.debugLineNum = 170;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(512); +c_cuestionario.__c.runVoidMethod ("LogImpl","511010061",BA.ObjectToString(c_cuestionario.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0); + }; + }; + BA.debugLineNum = 173;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _agregapregunta(RemoteObject __ref,RemoteObject _id,RemoteObject _pregunta,RemoteObject _respuestas) throws Exception{ +try { + Debug.PushSubsStack("agregaPregunta (c_cuestionario) ","c_cuestionario",6,__ref.getField(false, "ba"),__ref,61); +if (RapidSub.canDelegate("agregapregunta")) { return __ref.runUserSub(false, "c_cuestionario","agregapregunta", __ref, _id, _pregunta, _respuestas);} +RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils"); +RemoteObject _cd = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.ColorDrawable"); +RemoteObject _panelx = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _r = null; +int _p = 0; +RemoteObject _newtop = RemoteObject.createImmutable(0); +Debug.locals.put("id", _id); +Debug.locals.put("pregunta", _pregunta); +Debug.locals.put("respuestas", _respuestas); + BA.debugLineNum = 61;BA.debugLine="Sub agregaPregunta(id As String, pregunta As Strin"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 62;BA.debugLine="encuestaIniciada = True"; +Debug.ShouldStop(536870912); +__ref.setField ("_encuestainiciada" /*RemoteObject*/ ,c_cuestionario.__c.getField(true,"True")); + BA.debugLineNum = 63;BA.debugLine="vPreguntaActual = id"; +Debug.ShouldStop(1073741824); +__ref.setField ("_vpreguntaactual" /*RemoteObject*/ ,_id); + BA.debugLineNum = 64;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("bAceptarPregunta"))); + BA.debugLineNum = 66;BA.debugLine="Private su As StringUtils"; +Debug.ShouldStop(2); +_su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils");Debug.locals.put("su", _su); + BA.debugLineNum = 67;BA.debugLine="panelSombra.Initialize(\"pSombra\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pSombra"))); + BA.debugLineNum = 68;BA.debugLine="Private cd As ColorDrawable"; +Debug.ShouldStop(8); +_cd = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.ColorDrawable");Debug.locals.put("cd", _cd); + BA.debugLineNum = 69;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)"; +Debug.ShouldStop(16); +_cd.runVoidMethod ("Initialize",(Object)(c_cuestionario.__c.getField(false,"Colors").runMethod(true,"ARGB",(Object)(BA.numberCast(int.class, 125)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)),(Object)(BA.numberCast(int.class, 98)))),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 70;BA.debugLine="panelSombra.Background = cd"; +Debug.ShouldStop(32); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(false,"setBackground",(_cd.getObject())); + BA.debugLineNum = 71;BA.debugLine="Private panelX As Panel 'Panel de la pregunta."; +Debug.ShouldStop(64); +_panelx = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");Debug.locals.put("panelX", _panelx); + BA.debugLineNum = 72;BA.debugLine="panelX.Initialize(\"pQuest\")"; +Debug.ShouldStop(128); +_panelx.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pQuest"))); + BA.debugLineNum = 73;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta."; +Debug.ShouldStop(256); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 74;BA.debugLine="lbl.Initialize(\"\")"; +Debug.ShouldStop(512); +_lbl.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 75;BA.debugLine="lbl.Text = pregunta"; +Debug.ShouldStop(1024); +_lbl.runMethod(true,"setText",BA.ObjectToCharSequence(_pregunta)); + BA.debugLineNum = 76;BA.debugLine="lbl.TextSize = 16"; +Debug.ShouldStop(2048); +_lbl.runMethod(true,"setTextSize",BA.numberCast(float.class, 16)); + BA.debugLineNum = 77;BA.debugLine="lbl.TextColor = Colors.Black"; +Debug.ShouldStop(4096); +_lbl.runMethod(true,"setTextColor",c_cuestionario.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 78;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)"; +Debug.ShouldStop(8192); +_cd.runVoidMethod ("Initialize2",(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"White")),(Object)(BA.numberCast(int.class, 20)),(Object)(BA.numberCast(int.class, 1)),(Object)(c_cuestionario.__c.getField(false,"Colors").getField(true,"Gray"))); + BA.debugLineNum = 79;BA.debugLine="panelX.Background = cd"; +Debug.ShouldStop(16384); +_panelx.runMethod(false,"setBackground",(_cd.getObject())); + BA.debugLineNum = 80;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20"; +Debug.ShouldStop(32768); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_panelx.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 80)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 200))))); + BA.debugLineNum = 81;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a"; +Debug.ShouldStop(65536); +__ref.getField(false,"_root2" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_cuestionario.__c.runMethod(true,"PerXToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba"))),(Object)(c_cuestionario.__c.runMethod(true,"PerYToCurrent",(Object)(BA.numberCast(float.class, 100)),__ref.getField(false, "ba")))); + BA.debugLineNum = 82;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *"; +Debug.ShouldStop(131072); +_panelx.runVoidMethod ("AddView",(Object)((_lbl.getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 20)))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 40))))); + BA.debugLineNum = 83;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l"; +Debug.ShouldStop(262144); +_lbl.runMethod(true,"setHeight",_su.runMethod(true,"MeasureMultilineTextHeight",(Object)((_lbl.getObject())),(Object)(BA.ObjectToCharSequence(_lbl.runMethod(true,"getText"))))); + BA.debugLineNum = 84;BA.debugLine="Private r(respuestas.Size) As RadioButton"; +Debug.ShouldStop(524288); +_r = RemoteObject.createNewArray ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper", new int[] {_respuestas.runMethod(true,"getSize").get().intValue()}, new Object[]{});Debug.locals.put("r", _r); + BA.debugLineNum = 85;BA.debugLine="For p = 0 To respuestas.Size - 1"; +Debug.ShouldStop(1048576); +{ +final int step23 = 1; +final int limit23 = RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step23 > 0 && _p <= limit23) || (step23 < 0 && _p >= limit23) ;_p = ((int)(0 + _p + step23)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 86;BA.debugLine="r(p).Initialize(\"r\")"; +Debug.ShouldStop(2097152); +_r.getArrayElement(false,BA.numberCast(int.class, _p)).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("r"))); + BA.debugLineNum = 87;BA.debugLine="r(p).Text = respuestas.Get(p)"; +Debug.ShouldStop(4194304); +_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setText",BA.ObjectToCharSequence(_respuestas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))); + BA.debugLineNum = 88;BA.debugLine="r(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregunt"; +Debug.ShouldStop(8388608); +_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_id),RemoteObject.createImmutable(("pregunta")),(_pregunta),RemoteObject.createImmutable(("panel")),(__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).getObject()),RemoteObject.createImmutable(("idRespuesta")),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "+",1, 1))})).getObject())); + BA.debugLineNum = 89;BA.debugLine="panelX.AddView(r(p), 10dip, (70 * (p + 1)), (pan"; +Debug.ShouldStop(16777216); +_panelx.runVoidMethod ("AddView",(Object)((_r.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)((RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(70),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "+",1, 1))}, "*",0, 1))),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.9)}, "*",0, 0)))),(Object)(BA.numberCast(int.class, 10))); + BA.debugLineNum = 90;BA.debugLine="r(p).Height = su.MeasureMultilineTextHeight(r(p)"; +Debug.ShouldStop(33554432); +_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {_su.runMethod(true,"MeasureMultilineTextHeight",(Object)((_r.getArrayElement(false,BA.numberCast(int.class, _p)).getObject())),(Object)(BA.ObjectToCharSequence(_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"getText")))),RemoteObject.createImmutable(25)}, "+",1, 1)); + BA.debugLineNum = 91;BA.debugLine="Private newTop As Int = lbl.top + lbl.Height + 1"; +Debug.ShouldStop(67108864); +_newtop = RemoteObject.solve(new RemoteObject[] {_lbl.runMethod(true,"getTop"),_lbl.runMethod(true,"getHeight"),RemoteObject.createImmutable(10)}, "++",2, 1);Debug.locals.put("newTop", _newtop);Debug.locals.put("newTop", _newtop); + BA.debugLineNum = 92;BA.debugLine="If p <> 0 Then newTop = r(p - 1).Top + r(p - 1)."; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("!",RemoteObject.createImmutable(_p),BA.numberCast(double.class, 0))) { +_newtop = RemoteObject.solve(new RemoteObject[] {_r.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getTop"),_r.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_p),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getHeight"),RemoteObject.createImmutable(5)}, "++",2, 1);Debug.locals.put("newTop", _newtop);}; + BA.debugLineNum = 93;BA.debugLine="r(p).Top = newTop"; +Debug.ShouldStop(268435456); +_r.getArrayElement(false,BA.numberCast(int.class, _p)).runMethod(true,"setTop",_newtop); + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 95;BA.debugLine="r(0).Checked = True"; +Debug.ShouldStop(1073741824); +_r.getArrayElement(false,BA.numberCast(int.class, 0)).runMethodAndSync(true,"setChecked",c_cuestionario.__c.getField(true,"True")); + BA.debugLineNum = 96;BA.debugLine="bAceptarPregunta.Text = \"Continuar\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Continuar")); + BA.debugLineNum = 97;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, newTop + r(r"; +Debug.ShouldStop(1); +_panelx.runVoidMethod ("AddView",(Object)((__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 10)),(Object)(RemoteObject.solve(new RemoteObject[] {_newtop,_r.getArrayElement(false,RemoteObject.solve(new RemoteObject[] {_respuestas.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1)).runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "++",2, 1)),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 150)))),(Object)(c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50))))); + BA.debugLineNum = 98;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc"; +Debug.ShouldStop(2); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 99;BA.debugLine="panelX.Height = bAceptarPregunta.Top + bAceptarPr"; +Debug.ShouldStop(4); +_panelx.runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getTop"),__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(true,"getHeight"),c_cuestionario.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 15)))}, "++",2, 1)); + BA.debugLineNum = 100;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /"; +Debug.ShouldStop(8); +_panelx.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 101;BA.debugLine="panelX.top = (Root2.Height / 3) - (panelX.Height"; +Debug.ShouldStop(16); +_panelx.runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(3)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {_panelx.runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 102;BA.debugLine="panelSombra.Width = Root2.Width"; +Debug.ShouldStop(32); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 103;BA.debugLine="panelSombra.Height = Root2.Height"; +Debug.ShouldStop(64); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root2" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 104;BA.debugLine="panelSombra.Elevation = 100"; +Debug.ShouldStop(128); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"setElevation",BA.numberCast(float.class, 100)); + BA.debugLineNum = 105;BA.debugLine="panelSombra.BringToFront"; +Debug.ShouldStop(256); +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 107;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_cuestionario) ","c_cuestionario",6,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_cuestionario","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 30;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 31;BA.debugLine="Root = Root1"; +Debug.ShouldStop(1073741824); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 33;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _baceptarpregunta_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("bAceptarPregunta_Click (c_cuestionario) ","c_cuestionario",6,__ref.getField(false, "ba"),__ref,122); +if (RapidSub.canDelegate("baceptarpregunta_click")) { return __ref.runUserSub(false, "c_cuestionario","baceptarpregunta_click", __ref);} +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 122;BA.debugLine="Private Sub bAceptarPregunta_Click"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 123;BA.debugLine="encuestaIniciada = True"; +Debug.ShouldStop(67108864); +__ref.setField ("_encuestainiciada" /*RemoteObject*/ ,c_cuestionario.__c.getField(true,"True")); + BA.debugLineNum = 124;BA.debugLine="Private m As Map = Sender.As(Button).tag.As(Map)"; +Debug.ShouldStop(134217728); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag")));Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 125;BA.debugLine="preguntaContestada(m)"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_preguntacontestada" /*RemoteObject*/ ,(Object)(_m)); + 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 _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_cuestionario._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_cuestionario._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_cuestionario._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_cuestionario._xui); + //BA.debugLineNum = 4;BA.debugLine="Private bAceptarPregunta As Button"; +c_cuestionario._baceptarpregunta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_baceptarpregunta",c_cuestionario._baceptarpregunta); + //BA.debugLineNum = 5;BA.debugLine="Dim encuestaIniciada As Boolean = False"; +c_cuestionario._encuestainiciada = c_cuestionario.__c.getField(true,"False");__ref.setField("_encuestainiciada",c_cuestionario._encuestainiciada); + //BA.debugLineNum = 6;BA.debugLine="Private Root2 As B4XView"; +c_cuestionario._root2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root2",c_cuestionario._root2); + //BA.debugLineNum = 7;BA.debugLine="Private EventName As String 'ignore"; +c_cuestionario._eventname = RemoteObject.createImmutable("");__ref.setField("_eventname",c_cuestionario._eventname); + //BA.debugLineNum = 8;BA.debugLine="Private CallBack As Object 'ignore"; +c_cuestionario._callback = RemoteObject.createNew ("Object");__ref.setField("_callback",c_cuestionario._callback); + //BA.debugLineNum = 9;BA.debugLine="Private vPreguntaActual As String"; +c_cuestionario._vpreguntaactual = RemoteObject.createImmutable("");__ref.setField("_vpreguntaactual",c_cuestionario._vpreguntaactual); + //BA.debugLineNum = 10;BA.debugLine="Private db As SQL"; +c_cuestionario._db = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_db",c_cuestionario._db); + //BA.debugLineNum = 12;BA.debugLine="Dim panelSombra As Panel 'Panel de sombra."; +c_cuestionario._panelsombra = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panelsombra",c_cuestionario._panelsombra); + //BA.debugLineNum = 13;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clienteconcuestionario(RemoteObject __ref,RemoteObject _idcliente) throws Exception{ +try { + Debug.PushSubsStack("clienteConCuestionario (c_cuestionario) ","c_cuestionario",6,__ref.getField(false, "ba"),__ref,141); +if (RapidSub.canDelegate("clienteconcuestionario")) { return __ref.runUserSub(false, "c_cuestionario","clienteconcuestionario", __ref, _idcliente);} +RemoteObject _r = RemoteObject.createImmutable(false); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 141;BA.debugLine="Sub clienteConCuestionario(idCliente As String) As"; +Debug.ShouldStop(4096); + BA.debugLineNum = 142;BA.debugLine="Private r As Boolean = False"; +Debug.ShouldStop(8192); +_r = c_cuestionario.__c.getField(true,"False");Debug.locals.put("r", _r);Debug.locals.put("r", _r); + BA.debugLineNum = 143;BA.debugLine="Private c As Cursor = db.ExecQuery($\"select count"; +Debug.ShouldStop(16384); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_db" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select count(*) as q from CUESTIONARIO where Q_IDCLIENTE = '"),c_cuestionario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idcliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 144;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32768); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 145;BA.debugLine="If c.GetInt(\"q\") > 0 Then r = True"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("q"))),BA.numberCast(double.class, 0))) { +_r = c_cuestionario.__c.getField(true,"True");Debug.locals.put("r", _r);}; + BA.debugLineNum = 146;BA.debugLine="Return r"; +Debug.ShouldStop(131072); +if (true) return _r; + BA.debugLineNum = 147;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _vcallback,RemoteObject _veventname,RemoteObject _vroot,RemoteObject _skmt) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_cuestionario) ","c_cuestionario",6,__ref.getField(false, "ba"),__ref,16); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_cuestionario","initialize", __ref, _ba, _vcallback, _veventname, _vroot, _skmt);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("vCallback", _vcallback); +Debug.locals.put("vEventName", _veventname); +Debug.locals.put("vRoot", _vroot); +Debug.locals.put("skmt", _skmt); + BA.debugLineNum = 16;BA.debugLine="Public Sub Initialize (vCallback As Object, vEvent"; +Debug.ShouldStop(32768); + BA.debugLineNum = 17;BA.debugLine="Root2 = vRoot"; +Debug.ShouldStop(65536); +__ref.setField ("_root2" /*RemoteObject*/ ,_vroot); + BA.debugLineNum = 18;BA.debugLine="EventName = vEventName"; +Debug.ShouldStop(131072); +__ref.setField ("_eventname" /*RemoteObject*/ ,_veventname); + BA.debugLineNum = 19;BA.debugLine="CallBack = vCallback"; +Debug.ShouldStop(262144); +__ref.setField ("_callback" /*RemoteObject*/ ,_vcallback); + BA.debugLineNum = 20;BA.debugLine="db = skmt"; +Debug.ShouldStop(524288); +__ref.setField ("_db" /*RemoteObject*/ ,_skmt); + BA.debugLineNum = 21;BA.debugLine="vPreguntaActual = 0"; +Debug.ShouldStop(1048576); +__ref.setField ("_vpreguntaactual" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 22;BA.debugLine="db.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CUEST"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CUESTIONARIO (Q_RUTA TEXT, Q_ALMACEN TEXT, Q_IDCLIENTE TEXT, Q_IDPREGUNTA TEXT, Q_PREGUNTA TEXT, Q_IDRESPUESTA TEXT, Q_RESPUESTA TEXT, Q_FECHA TEXT, Q_ENVIO_OK INTEGER DEFAULT 0)"))); + BA.debugLineNum = 23;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_ENVIO_OK\", \"TEXT"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_agregacolumna" /*RemoteObject*/ ,(Object)(BA.ObjectToString("CUESTIONARIO")),(Object)(BA.ObjectToString("Q_ENVIO_OK")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 24;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_RUTA\", \"TEXT\")"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_agregacolumna" /*RemoteObject*/ ,(Object)(BA.ObjectToString("CUESTIONARIO")),(Object)(BA.ObjectToString("Q_RUTA")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 25;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_ALMACEN\", \"TEXT\""; +Debug.ShouldStop(16777216); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_cuestionario.class, "_agregacolumna" /*RemoteObject*/ ,(Object)(BA.ObjectToString("CUESTIONARIO")),(Object)(BA.ObjectToString("Q_ALMACEN")),(Object)(RemoteObject.createImmutable("TEXT"))); + BA.debugLineNum = 26;BA.debugLine="Return Me"; +Debug.ShouldStop(33554432); +if (true) return __ref; + 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 _ocultpanelpregunta(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ocultPanelPregunta (c_cuestionario) ","c_cuestionario",6,__ref.getField(false, "ba"),__ref,150); +if (RapidSub.canDelegate("ocultpanelpregunta")) { return __ref.runUserSub(false, "c_cuestionario","ocultpanelpregunta", __ref);} + BA.debugLineNum = 150;BA.debugLine="Sub ocultPanelPregunta"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 151;BA.debugLine="If panelSombra.IsInitialized Then panelSombra.Rem"; +Debug.ShouldStop(4194304); +if (__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +__ref.getField(false,"_panelsombra" /*RemoteObject*/ ).runVoidMethod ("RemoveView");}; + 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 _preguntaactual(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("preguntaActual (c_cuestionario) ","c_cuestionario",6,__ref.getField(false, "ba"),__ref,41); +if (RapidSub.canDelegate("preguntaactual")) { return __ref.runUserSub(false, "c_cuestionario","preguntaactual", __ref);} + BA.debugLineNum = 41;BA.debugLine="Sub preguntaActual As String 'ignore"; +Debug.ShouldStop(256); + BA.debugLineNum = 42;BA.debugLine="Return vPreguntaActual"; +Debug.ShouldStop(512); +if (true) return __ref.getField(true,"_vpreguntaactual" /*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 _preguntacontestada(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("preguntaContestada (c_cuestionario) ","c_cuestionario",6,__ref.getField(false, "ba"),__ref,109); +if (RapidSub.canDelegate("preguntacontestada")) { return __ref.runUserSub(false, "c_cuestionario","preguntacontestada", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 109;BA.debugLine="private Sub preguntaContestada(Success As Map) 'ig"; +Debug.ShouldStop(4096); + BA.debugLineNum = 110;BA.debugLine="If SubExists(CallBack, EventName & \"_preguntaCont"; +Debug.ShouldStop(8192); +if (c_cuestionario.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_preguntaContestada")))).get().booleanValue()) { + BA.debugLineNum = 111;BA.debugLine="CallSubDelayed2(CallBack, EventName & \"_pregunta"; +Debug.ShouldStop(16384); +c_cuestionario.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_preguntaContestada"))),(Object)((_success))); + }; + BA.debugLineNum = 113;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _psombra_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("pSombra_Click (c_cuestionario) ","c_cuestionario",6,__ref.getField(false, "ba"),__ref,115); +if (RapidSub.canDelegate("psombra_click")) { return __ref.runUserSub(false, "c_cuestionario","psombra_click", __ref);} + BA.debugLineNum = 115;BA.debugLine="private Sub pSombra_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 116;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _r_checkedchange(RemoteObject __ref,RemoteObject _checked) throws Exception{ +try { + Debug.PushSubsStack("r_CheckedChange (c_cuestionario) ","c_cuestionario",6,__ref.getField(false, "ba"),__ref,118); +if (RapidSub.canDelegate("r_checkedchange")) { return __ref.runUserSub(false, "c_cuestionario","r_checkedchange", __ref, _checked);} +Debug.locals.put("Checked", _checked); + BA.debugLineNum = 118;BA.debugLine="private Sub r_CheckedChange(Checked As Boolean)"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 119;BA.debugLine="bAceptarPregunta.tag = CreateMap(\"idPregunta\":Sen"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_baceptarpregunta" /*RemoteObject*/ ).runMethod(false,"setTag",(c_cuestionario.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("idPregunta")),((BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))))),RemoteObject.createImmutable(("pregunta")),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pregunta")))),RemoteObject.createImmutable(("idRespuesta")),((BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idRespuesta"))))))),RemoteObject.createImmutable(("respuesta")),((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(true,"getText")),RemoteObject.createImmutable(("panel")),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"), c_cuestionario.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("panel"))))})).getObject())); + BA.debugLineNum = 120;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/SHARK2/keymon/com/mx/c_historico.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_historico.java new file mode 100644 index 0000000..77a5f0b --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_historico.java @@ -0,0 +1,52 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_historico { + public static RemoteObject myClass; + public c_historico() { + } + public static PCBA staticBA = new PCBA(null, c_historico.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _clie_id = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _regresar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _l_cant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _borra = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _existe = RemoteObject.createImmutable(""); +public static RemoteObject _result = RemoteObject.createImmutable(""); +public static RemoteObject _titulo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_desc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _listview2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_desc",_ref.getField(false, "_b_desc"),"borra",_ref.getField(false, "_borra"),"c",_ref.getField(false, "_c"),"clie_id",_ref.getField(false, "_clie_id"),"DateUtils",_ref.getField(false, "_dateutils"),"Existe",_ref.getField(false, "_existe"),"g",_ref.getField(false, "_g"),"L_CANT",_ref.getField(false, "_l_cant"),"L_TOTAL",_ref.getField(false, "_l_total"),"ListView1",_ref.getField(false, "_listview1"),"ListView2",_ref.getField(false, "_listview2"),"Regresar",_ref.getField(false, "_regresar"),"result",_ref.getField(false, "_result"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"sDate",_ref.getField(false, "_sdate"),"sTime",_ref.getField(false, "_stime"),"tgl",_ref.getField(false, "_tgl"),"Titulo",_ref.getField(false, "_titulo"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_historico_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_historico_subs_0.java new file mode 100644 index 0000000..949674c --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_historico_subs_0.java @@ -0,0 +1,402 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_historico_subs_0 { + + +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_historico) ","c_historico",7,__ref.getField(false, "ba"),__ref,51); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_historico","b4xpage_appear", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); + BA.debugLineNum = 51;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(262144); + BA.debugLineNum = 52;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(524288); +if (c_historico.__c.runMethod(true,"Not",(Object)(c_historico._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 53;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(1048576); +c_historico.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_historico.__c.getField(true,"True"))); + BA.debugLineNum = 54;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(2097152); +c_historico.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_historico._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 56;BA.debugLine="L_CANT.Text =\"\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 57;BA.debugLine="L_TOTAL.Text=\"\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 58;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 59;BA.debugLine="C.Position=0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 60;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +Debug.ShouldStop(134217728); +__ref.setField ("_existe" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("EXISTE")))); + BA.debugLineNum = 61;BA.debugLine="C.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 62;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HVD_CL"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc")))); + BA.debugLineNum = 63;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 64;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 = 65;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(1); +{ +final int step14 = 1; +final int limit14 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step14 > 0 && _i <= limit14) || (step14 < 0 && _i >= limit14) ;_i = ((int)(0 + _i + step14)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 66;BA.debugLine="c.Position=i"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 67;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(4); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 68;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(8); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 69;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(16); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 70;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(32); +_label1.runMethod(true,"setTextColor",c_historico.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 71;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(64); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 72;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(128); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 73;BA.debugLine="label2.TextSize = 10"; +Debug.ShouldStop(256); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 74;BA.debugLine="label2.TextColor = Colors.Blue"; +Debug.ShouldStop(512); +_label2.runMethod(true,"setTextColor",c_historico.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 75;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"HVD_PRONOMBR"; +Debug.ShouldStop(1024); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_PRONOMBRE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Cantidad #"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_CANT"))),RemoteObject.createImmutable(" SubTotal $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HVD_COSTO_TOT"))))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 78;BA.debugLine="If Existe <> 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_existe" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 79;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(H"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_historico._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 80;BA.debugLine="C.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 81;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))); + BA.debugLineNum = 82;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))))); + }; + BA.debugLineNum = 84;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",7,__ref.getField(false, "ba"),__ref,95); +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(SHARK2.keymon.com.mx.c_historico parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_historico parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_historico) ","c_historico",7,__ref.getField(false, "ba"),__ref,95); +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 = 98;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(2); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + BA.debugLineNum = 99;BA.debugLine="Return False"; +Debug.ShouldStop(4); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 100;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +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",7,__ref.getField(false, "ba"),__ref,35); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_historico","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 35;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(4); + BA.debugLineNum = 36;BA.debugLine="Root = Root1"; +Debug.ShouldStop(8); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 38;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(32); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_historico.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 39;BA.debugLine="Root.LoadLayout(\"nota\")"; +Debug.ShouldStop(64); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("nota")),__ref.getField(false, "ba")); + BA.debugLineNum = 40;BA.debugLine="borra.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_borra" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"False")); + BA.debugLineNum = 41;BA.debugLine="Titulo.Text = \"Acumulado\""; +Debug.ShouldStop(256); +__ref.getField(false,"_titulo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Acumulado")); + BA.debugLineNum = 42;BA.debugLine="b_desc.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_b_desc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"False")); + BA.debugLineNum = 43;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",c_historico.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_historico.__c.getField(true,"False"))) { + BA.debugLineNum = 44;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(2048); +c_historico.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_historico.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_historico._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_historico._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_historico._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_historico._xui); + //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +c_historico._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_historico._g); + //BA.debugLineNum = 6;BA.debugLine="Dim clie_id As String"; +c_historico._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_historico._clie_id); + //BA.debugLineNum = 7;BA.debugLine="Dim sDate,sTime As String"; +c_historico._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_historico._sdate); +c_historico._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_historico._stime); + //BA.debugLineNum = 8;BA.debugLine="Dim usuario As String"; +c_historico._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_historico._usuario); + //BA.debugLineNum = 10;BA.debugLine="Dim c As Cursor"; +c_historico._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_historico._c); + //BA.debugLineNum = 11;BA.debugLine="Dim ruta As String"; +c_historico._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_historico._ruta); + //BA.debugLineNum = 12;BA.debugLine="Dim Regresar As Button"; +c_historico._regresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_regresar",c_historico._regresar); + //BA.debugLineNum = 15;BA.debugLine="Dim ListView1 As ListView"; +c_historico._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_historico._listview1); + //BA.debugLineNum = 16;BA.debugLine="Dim L_CANT As Label"; +c_historico._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_historico._l_cant); + //BA.debugLineNum = 17;BA.debugLine="Dim L_TOTAL As Label"; +c_historico._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_historico._l_total); + //BA.debugLineNum = 18;BA.debugLine="Dim borra As Button"; +c_historico._borra = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_borra",c_historico._borra); + //BA.debugLineNum = 19;BA.debugLine="Dim Existe As String"; +c_historico._existe = RemoteObject.createImmutable("");__ref.setField("_existe",c_historico._existe); + //BA.debugLineNum = 20;BA.debugLine="Dim result As String"; +c_historico._result = RemoteObject.createImmutable("");__ref.setField("_result",c_historico._result); + //BA.debugLineNum = 23;BA.debugLine="Private Titulo As Label"; +c_historico._titulo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_titulo",c_historico._titulo); + //BA.debugLineNum = 24;BA.debugLine="Private b_desc As Button"; +c_historico._b_desc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_desc",c_historico._b_desc); + //BA.debugLineNum = 25;BA.debugLine="Private ListView2 As ListView"; +c_historico._listview2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview2",c_historico._listview2); + //BA.debugLineNum = 26;BA.debugLine="Dim tgl As Toggle"; +c_historico._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_historico._tgl); + //BA.debugLineNum = 27;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_historico) ","c_historico",7,__ref.getField(false, "ba"),__ref,86); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_historico","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 86;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(2097152); + 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 _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_historico) ","c_historico",7,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_historico","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 30;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 31;BA.debugLine="Return Me"; +Debug.ShouldStop(1073741824); +if (true) return __ref; + BA.debugLineNum = 32;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview1_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemClick (c_historico) ","c_historico",7,__ref.getField(false, "ba"),__ref,107); +if (RapidSub.canDelegate("listview1_itemclick")) { return __ref.runUserSub(false, "c_historico","listview1_itemclick", __ref, _position, _value);} +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 107;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; +Debug.ShouldStop(1024); + BA.debugLineNum = 108;BA.debugLine="ListView2.Visible = True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_listview2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"True")); + BA.debugLineNum = 109;BA.debugLine="ListView1.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"False")); + BA.debugLineNum = 110;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(8192); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 111;BA.debugLine="For i=0 To 20"; +Debug.ShouldStop(16384); +{ +final int step4 = 1; +final int limit4 = 20; +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 112;BA.debugLine="label1 = ListView2.SingleLineLayout.Label"; +Debug.ShouldStop(32768); +_label1 = __ref.getField(false,"_listview2" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 113;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(65536); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 114;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(131072); +_label1.runMethod(true,"setTextColor",c_historico.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 115;BA.debugLine="ListView2.AddSingleLine(i)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_listview2" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(_i))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 117;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview2_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView2_ItemClick (c_historico) ","c_historico",7,__ref.getField(false, "ba"),__ref,102); +if (RapidSub.canDelegate("listview2_itemclick")) { return __ref.runUserSub(false, "c_historico","listview2_itemclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 102;BA.debugLine="Sub ListView2_ItemClick (Position As Int, Value As"; +Debug.ShouldStop(32); + BA.debugLineNum = 103;BA.debugLine="ListView2.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_listview2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"False")); + BA.debugLineNum = 104;BA.debugLine="ListView1.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_historico.__c.getField(true,"True")); + 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 _regresar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Regresar_Click (c_historico) ","c_historico",7,__ref.getField(false, "ba"),__ref,91); +if (RapidSub.canDelegate("regresar_click")) { return __ref.runUserSub(false, "c_historico","regresar_click", __ref);} + BA.debugLineNum = 91;BA.debugLine="Sub Regresar_Click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 92;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(134217728); +c_historico._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + 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/SHARK2/keymon/com/mx/c_mapas.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_mapas.java new file mode 100644 index 0000000..372b468 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_mapas.java @@ -0,0 +1,34 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_mapas { + public static RemoteObject myClass; + public c_mapas() { + } + public static PCBA staticBA = new PCBA(null, c_mapas.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"Root",_ref.getField(false, "_root"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_mapas_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_mapas_subs_0.java new file mode 100644 index 0000000..d50ef10 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_mapas_subs_0.java @@ -0,0 +1,59 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_mapas_subs_0 { + + +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_mapas) ","c_mapas",8,__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",8,__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/SHARK2/keymon/com/mx/c_nota.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_nota.java new file mode 100644 index 0000000..9158ecc --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_nota.java @@ -0,0 +1,60 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_nota { + public static RemoteObject myClass; + public c_nota() { + } + public static PCBA staticBA = new PCBA(null, c_nota.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _clie_id = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _regresar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _l_cant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _borra = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _existe = RemoteObject.createImmutable(""); +public static RemoteObject _result = RemoteObject.createImmutable(""); +public static RemoteObject _desc = RemoteObject.createImmutable(""); +public static RemoteObject _titulo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_desc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _descuento = RemoteObject.createImmutable(""); +public static RemoteObject _folio = RemoteObject.createImmutable(""); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _p_nota = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _vamoaver = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _j3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"almacen",_ref.getField(false, "_almacen"),"b_desc",_ref.getField(false, "_b_desc"),"borra",_ref.getField(false, "_borra"),"c",_ref.getField(false, "_c"),"c2",_ref.getField(false, "_c2"),"clie_id",_ref.getField(false, "_clie_id"),"DateUtils",_ref.getField(false, "_dateutils"),"DESC",_ref.getField(false, "_desc"),"DESCUENTO",_ref.getField(false, "_descuento"),"Existe",_ref.getField(false, "_existe"),"folio",_ref.getField(false, "_folio"),"g",_ref.getField(false, "_g"),"j3",_ref.getField(false, "_j3"),"L_CANT",_ref.getField(false, "_l_cant"),"L_TOTAL",_ref.getField(false, "_l_total"),"ListView1",_ref.getField(false, "_listview1"),"p_nota",_ref.getField(false, "_p_nota"),"Regresar",_ref.getField(false, "_regresar"),"result",_ref.getField(false, "_result"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"sDate",_ref.getField(false, "_sdate"),"skmt",_ref.getField(false, "_skmt"),"sTime",_ref.getField(false, "_stime"),"tgl",_ref.getField(false, "_tgl"),"Titulo",_ref.getField(false, "_titulo"),"usuario",_ref.getField(false, "_usuario"),"vamoaver",_ref.getField(false, "_vamoaver"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_nota_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_nota_subs_0.java new file mode 100644 index 0000000..1956b38 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_nota_subs_0.java @@ -0,0 +1,955 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_nota_subs_0 { + + +public static RemoteObject _activity_pause(RemoteObject __ref,RemoteObject _userclosed) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (c_nota) ","c_nota",9,__ref.getField(false, "ba"),__ref,349); +if (RapidSub.canDelegate("activity_pause")) { return __ref.runUserSub(false, "c_nota","activity_pause", __ref, _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 349;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 351;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _actualizartotalespantalla(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ActualizarTotalesPantalla (c_nota) ","c_nota",9,__ref.getField(false, "ba"),__ref,331); +if (RapidSub.canDelegate("actualizartotalespantalla")) { return __ref.runUserSub(false, "c_nota","actualizartotalespantalla", __ref);} +RemoteObject _res = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 331;BA.debugLine="Private Sub ActualizarTotalesPantalla"; +Debug.ShouldStop(1024); + BA.debugLineNum = 333;BA.debugLine="Dim res As Cursor = B4XPages.MainPage.skmt.ExecQu"; +Debug.ShouldStop(4096); +_res = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_res = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT IFNULL(SUM(PE_CANT),0) AS PC_NOART, SUM(IFNULL(PE_COSTO_TOT,0)) AS PC_MONTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)"))));Debug.locals.put("res", _res);Debug.locals.put("res", _res); + BA.debugLineNum = 335;BA.debugLine="If res.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_res.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 336;BA.debugLine="res.Position = 0"; +Debug.ShouldStop(32768); +_res.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 337;BA.debugLine="L_CANT.Text = res.GetString(\"PC_NOART\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_res.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))); + BA.debugLineNum = 338;BA.debugLine="L_TOTAL.Text = \"$\" & NumberFormat2(res.GetDouble"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("$"),c_nota.__c.runMethod(true,"NumberFormat2",(Object)(_res.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PC_MONTO")))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_nota.__c.getField(true,"False")))))); + }else { + BA.debugLineNum = 340;BA.debugLine="L_CANT.Text = \"0\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + BA.debugLineNum = 341;BA.debugLine="L_TOTAL.Text = \"$0.00\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("$0.00")); + }; + BA.debugLineNum = 343;BA.debugLine="res.Close"; +Debug.ShouldStop(4194304); +_res.runVoidMethod ("Close"); + BA.debugLineNum = 346;BA.debugLine="If Subs.pedidoGuardado Then borra.Enabled = False"; +Debug.ShouldStop(33554432); +if (c_nota._subs.runMethod(true,"_pedidoguardado" /*RemoteObject*/ ,__ref.getField(false, "ba")).get().booleanValue()) { +__ref.getField(false,"_borra" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_nota.__c.getField(true,"False"));} +else { +__ref.getField(false,"_borra" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_nota.__c.getField(true,"True"));}; + BA.debugLineNum = 347;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_desc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_desc_Click (c_nota) ","c_nota",9,__ref.getField(false, "ba"),__ref,773); +if (RapidSub.canDelegate("b_desc_click")) { return __ref.runUserSub(false, "c_nota","b_desc_click", __ref);} + BA.debugLineNum = 773;BA.debugLine="Sub b_desc_Click"; +Debug.ShouldStop(16); + BA.debugLineNum = 774;BA.debugLine="If DESCUENTO = \"MENOS\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_descuento" /*RemoteObject*/ ),BA.ObjectToString("MENOS"))) { + BA.debugLineNum = 775;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(64); +c_nota.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 776;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(128); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 777;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(256); +__ref.setField ("_stime" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 778;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 779;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 780;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(2048); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 781;BA.debugLine="c.Close"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 782;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 783;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 784;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 = 785;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 786;BA.debugLine="result = Msgbox2(\"Seguro que desea dar descuent"; +Debug.ShouldStop(131072); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea dar descuento del 5%?")),(Object)(BA.ObjectToCharSequence("Dar descuento")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 787;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 788;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped"; +Debug.ShouldStop(524288); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT * .95, PE_DESC = 5 WHERE PE_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 789;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 790;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 791;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(4194304); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 792;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +Debug.ShouldStop(8388608); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 793;BA.debugLine="c.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 794;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }else +{ BA.debugLineNum = 796;BA.debugLine="ELSE IF DESCUENTO = \"MAS\" Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_descuento" /*RemoteObject*/ ),BA.ObjectToString("MAS"))) { + BA.debugLineNum = 797;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(268435456); +c_nota.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 798;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(536870912); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 799;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(1073741824); +__ref.setField ("_stime" /*RemoteObject*/ ,c_nota.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nota.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 800;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 801;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 802;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(2); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 803;BA.debugLine="c.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 804;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 805;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 806;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 = 807;BA.debugLine="c.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 808;BA.debugLine="result = Msgbox2(\"Seguro que desea CANCELAR el"; +Debug.ShouldStop(128); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea CANCELAR el descuento?")),(Object)(BA.ObjectToCharSequence("Cancelar descuento")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 809;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 810;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped"; +Debug.ShouldStop(512); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT / .95, PE_DESC = 0 WHERE PE_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 811;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 812;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 813;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(4096); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 814;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +Debug.ShouldStop(8192); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 815;BA.debugLine="c.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 816;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(32768); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }} +; + BA.debugLineNum = 819;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_nota) ","c_nota",9,__ref.getField(false, "ba"),__ref,182); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_nota","b4xpage_appear", __ref);} +RemoteObject _query = RemoteObject.createImmutable(""); +RemoteObject _almacenactual = RemoteObject.createImmutable(""); +int _i = 0; +RemoteObject _idprod = RemoteObject.createImmutable(""); +RemoteObject _nomprod = RemoteObject.createImmutable(""); +RemoteObject _factual = RemoteObject.createImmutable(""); +RemoteObject _presname = RemoteObject.createImmutable(""); +RemoteObject _cantpres = RemoteObject.createImmutable(""); +RemoteObject _uvmval = RemoteObject.createImmutable(0); +RemoteObject _cedisfila = RemoteObject.createImmutable(""); +RemoteObject _dirigidafila = RemoteObject.createImmutable(""); +RemoteObject _cantpzs = RemoteObject.createImmutable(0); +RemoteObject _cstitulo = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _csdetalle = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _datosidentificadores = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 182;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 184;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(8388608); +if (c_nota.__c.runMethod(true,"Not",(Object)(c_nota._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 185;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(16777216); +c_nota.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_nota.__c.getField(true,"True"))); + BA.debugLineNum = 186;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(33554432); +c_nota.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_nota._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 190;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT ID_A"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT ID_ALMACEN FROM CAT_ALMACEN")))); + BA.debugLineNum = 191;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 192;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 193;BA.debugLine="almacen = c.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(1); +__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))); + }; + BA.debugLineNum = 195;BA.debugLine="c.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 198;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 130dip"; +Debug.ShouldStop(32); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",c_nota.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 130)))); + BA.debugLineNum = 201;BA.debugLine="ListView1.TwoLinesLayout.Label.Height = 45dip"; +Debug.ShouldStop(256); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label").runMethod(true,"setHeight",c_nota.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 45)))); + BA.debugLineNum = 202;BA.debugLine="ListView1.TwoLinesLayout.Label.TextSize = 18"; +Debug.ShouldStop(512); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label").runMethod(true,"setTextSize",BA.numberCast(float.class, 18)); + BA.debugLineNum = 203;BA.debugLine="ListView1.TwoLinesLayout.Label.Typeface = Typefac"; +Debug.ShouldStop(1024); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label").runMethod(false,"setTypeface",c_nota.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")); + BA.debugLineNum = 204;BA.debugLine="ListView1.TwoLinesLayout.Label.TextColor = Colors"; +Debug.ShouldStop(2048); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label").runMethod(true,"setTextColor",c_nota.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 150)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)))); + BA.debugLineNum = 205;BA.debugLine="ListView1.TwoLinesLayout.Label.Gravity = Gravity."; +Debug.ShouldStop(4096); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label").runMethod(true,"setGravity",c_nota.__c.getField(false,"Gravity").getField(true,"CENTER_VERTICAL")); + BA.debugLineNum = 208;BA.debugLine="ListView1.TwoLinesLayout.SecondLabel.Height = 80d"; +Debug.ShouldStop(32768); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel").runMethod(true,"setHeight",c_nota.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 80)))); + BA.debugLineNum = 209;BA.debugLine="ListView1.TwoLinesLayout.SecondLabel.Top = 45dip"; +Debug.ShouldStop(65536); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel").runMethod(true,"setTop",c_nota.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 45)))); + BA.debugLineNum = 210;BA.debugLine="ListView1.TwoLinesLayout.SecondLabel.TextSize = 1"; +Debug.ShouldStop(131072); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel").runMethod(true,"setTextSize",BA.numberCast(float.class, 14)); + BA.debugLineNum = 214;BA.debugLine="Dim query As String = \"SELECT PE_PRONOMBRE, PE_CO"; +Debug.ShouldStop(2097152); +_query = RemoteObject.concat(RemoteObject.createImmutable("SELECT PE_PRONOMBRE, PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS, "),RemoteObject.createImmutable("PE_PRESENTACION, PE_CANTC, PE_UVM, PE_PROID, PE_DIRIGIDA "),RemoteObject.createImmutable("FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM cuentaa) "),RemoteObject.createImmutable("ORDER BY PE_CEDIS,PE_COSTO_TOT, PE_PRONOMBRE"));Debug.locals.put("query", _query);Debug.locals.put("query", _query); + BA.debugLineNum = 219;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(query)"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(_query))); + BA.debugLineNum = 220;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 221;BA.debugLine="vamoaver.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_vamoaver" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 269;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 270;BA.debugLine="Dim almacenActual As String = Subs.traeAlmacen '"; +Debug.ShouldStop(8192); +_almacenactual = c_nota._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("almacenActual", _almacenactual);Debug.locals.put("almacenActual", _almacenactual); + BA.debugLineNum = 272;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(32768); +{ +final int step26 = 1; +final int limit26 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step26 > 0 && _i <= limit26) || (step26 < 0 && _i >= limit26) ;_i = ((int)(0 + _i + step26)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 273;BA.debugLine="c.Position = i"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 276;BA.debugLine="Dim idProd As String = c.GetString(\"PE_PROID\")"; +Debug.ShouldStop(524288); +_idprod = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")));Debug.locals.put("idProd", _idprod);Debug.locals.put("idProd", _idprod); + BA.debugLineNum = 277;BA.debugLine="Dim nomProd As String = c.GetString(\"PE_PRONOMB"; +Debug.ShouldStop(1048576); +_nomprod = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")));Debug.locals.put("nomProd", _nomprod);Debug.locals.put("nomProd", _nomprod); + BA.debugLineNum = 278;BA.debugLine="Dim fActual As String = c.GetString(\"PE_FOLIO\")"; +Debug.ShouldStop(2097152); +_factual = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")));Debug.locals.put("fActual", _factual);Debug.locals.put("fActual", _factual); + BA.debugLineNum = 279;BA.debugLine="Dim presName As String = c.GetString(\"PE_PRESEN"; +Debug.ShouldStop(4194304); +_presname = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRESENTACION")));Debug.locals.put("presName", _presname);Debug.locals.put("presName", _presname); + BA.debugLineNum = 280;BA.debugLine="Dim cantPres As String = c.GetString(\"PE_CANTC\""; +Debug.ShouldStop(8388608); +_cantpres = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANTC")));Debug.locals.put("cantPres", _cantpres);Debug.locals.put("cantPres", _cantpres); + BA.debugLineNum = 281;BA.debugLine="Dim uvmVal As Int = c.GetInt(\"PE_UVM\")"; +Debug.ShouldStop(16777216); +_uvmval = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_UVM")));Debug.locals.put("uvmVal", _uvmval);Debug.locals.put("uvmVal", _uvmval); + BA.debugLineNum = 282;BA.debugLine="Dim cedisFila As String = c.GetString(\"PE_CEDIS"; +Debug.ShouldStop(33554432); +_cedisfila = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")));Debug.locals.put("cedisFila", _cedisfila);Debug.locals.put("cedisFila", _cedisfila); + BA.debugLineNum = 283;BA.debugLine="Dim dirigidaFila As String = c.GetString(\"PE_DI"; +Debug.ShouldStop(67108864); +_dirigidafila = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DIRIGIDA")));Debug.locals.put("dirigidaFila", _dirigidafila);Debug.locals.put("dirigidaFila", _dirigidafila); + BA.debugLineNum = 284;BA.debugLine="Dim cantPzs As Int = c.GetInt(\"PE_CANT\")"; +Debug.ShouldStop(134217728); +_cantpzs = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("cantPzs", _cantpzs);Debug.locals.put("cantPzs", _cantpzs); + BA.debugLineNum = 286;BA.debugLine="If cantPres = \"\" Or cantPres = \"null\" Then cant"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_cantpres,BA.ObjectToString("")) || RemoteObject.solveBoolean("=",_cantpres,BA.ObjectToString("null"))) { +_cantpres = BA.ObjectToString("0");Debug.locals.put("cantPres", _cantpres);}; + BA.debugLineNum = 290;BA.debugLine="Dim csTitulo As CSBuilder"; +Debug.ShouldStop(2); +_cstitulo = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("csTitulo", _cstitulo); + BA.debugLineNum = 291;BA.debugLine="csTitulo.Initialize"; +Debug.ShouldStop(4); +_cstitulo.runVoidMethod ("Initialize"); + BA.debugLineNum = 293;BA.debugLine="If cedisFila <> almacenActual Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("!",_cedisfila,_almacenactual)) { + BA.debugLineNum = 295;BA.debugLine="csTitulo.Color(Colors.RGB(0, 150, 136)).Typefa"; +Debug.ShouldStop(64); +_cstitulo.runMethod(false,"Color",(Object)(c_nota.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 150)),(Object)(BA.numberCast(int.class, 136))))).runMethod(false,"Typeface",(Object)(c_nota.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_nomprod,RemoteObject.createImmutable(" (PROMO)"))))).runVoidMethod ("PopAll"); + }else { + BA.debugLineNum = 298;BA.debugLine="csTitulo.Color(Colors.RGB(150, 0, 0)).Typeface"; +Debug.ShouldStop(512); +_cstitulo.runMethod(false,"Color",(Object)(c_nota.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 150)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))))).runMethod(false,"Typeface",(Object)(c_nota.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nomprod))).runVoidMethod ("PopAll"); + }; + BA.debugLineNum = 302;BA.debugLine="Dim csDetalle As CSBuilder"; +Debug.ShouldStop(8192); +_csdetalle = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("csDetalle", _csdetalle); + BA.debugLineNum = 303;BA.debugLine="csDetalle.Initialize"; +Debug.ShouldStop(16384); +_csdetalle.runVoidMethod ("Initialize"); + BA.debugLineNum = 306;BA.debugLine="If uvmVal > 1 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",_uvmval,BA.numberCast(double.class, 1))) { + BA.debugLineNum = 307;BA.debugLine="csDetalle.Color(Colors.Blue).Size(17).Append(p"; +Debug.ShouldStop(262144); +_csdetalle.runMethod(false,"Color",(Object)(c_nota.__c.getField(false,"Colors").getField(true,"Blue"))).runMethod(false,"Size",(Object)(BA.numberCast(int.class, 17))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_presname.runMethod(true,"toUpperCase"),RemoteObject.createImmutable(": "),(RemoteObject.solve(new RemoteObject[] {_cantpzs,_uvmval}, "/",0, 0)))))).runMethod(false,"Pop").runMethod(false,"Pop").runVoidMethod ("Append",(Object)(BA.ObjectToCharSequence(c_nota.__c.getField(true,"CRLF")))); + BA.debugLineNum = 308;BA.debugLine="csDetalle.Size(6).Append(CRLF).Pop"; +Debug.ShouldStop(524288); +_csdetalle.runMethod(false,"Size",(Object)(BA.numberCast(int.class, 6))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_nota.__c.getField(true,"CRLF")))).runVoidMethod ("Pop"); + }; + BA.debugLineNum = 312;BA.debugLine="csDetalle.Color(Colors.DarkGray).Size(13).Appen"; +Debug.ShouldStop(8388608); +_csdetalle.runMethod(false,"Color",(Object)(c_nota.__c.getField(false,"Colors").getField(true,"DarkGray"))).runMethod(false,"Size",(Object)(BA.numberCast(int.class, 13))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Piezas: ")))).runMethod(false,"Color",(Object)(c_nota.__c.getField(false,"Colors").getField(true,"Black"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("#"),_cantpzs)))).runVoidMethod ("Pop"); + BA.debugLineNum = 313;BA.debugLine="csDetalle.Append(\" | \").Color(Colors.DarkGray"; +Debug.ShouldStop(16777216); +_csdetalle.runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(" | ")))).runMethod(false,"Color",(Object)(c_nota.__c.getField(false,"Colors").getField(true,"DarkGray"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Subtotal: ")))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff008000)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("$"),c_nota.__c.runMethod(true,"NumberFormat2",(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_nota.__c.getField(true,"False"))))))).runVoidMethod ("PopAll"); + BA.debugLineNum = 316;BA.debugLine="Dim datosIdentificadores As Map = CreateMap(\"id"; +Debug.ShouldStop(134217728); +_datosidentificadores = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_datosidentificadores = c_nota.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_idprod),RemoteObject.createImmutable(("nombre")),(_nomprod),RemoteObject.createImmutable(("cedis")),(_cedisfila),RemoteObject.createImmutable(("pres")),(_presname),RemoteObject.createImmutable(("uvm")),(_uvmval),RemoteObject.createImmutable(("dir")),(_dirigidafila),RemoteObject.createImmutable(("folio")),(_factual),RemoteObject.createImmutable(("cant")),(_cantpzs)}));Debug.locals.put("datosIdentificadores", _datosidentificadores);Debug.locals.put("datosIdentificadores", _datosidentificadores); + BA.debugLineNum = 320;BA.debugLine="ListView1.AddTwoLines2(csTitulo, csDetalle, dat"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines2",(Object)(BA.ObjectToCharSequence(_cstitulo.getObject())),(Object)(BA.ObjectToCharSequence(_csdetalle.getObject())),(Object)((_datosidentificadores.getObject()))); + BA.debugLineNum = 322;BA.debugLine="vamoaver.Add(fActual)"; +Debug.ShouldStop(2); +__ref.getField(false,"_vamoaver" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_factual))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 325;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 328;BA.debugLine="ActualizarTotalesPantalla"; +Debug.ShouldStop(128); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_nota.class, "_actualizartotalespantalla" /*RemoteObject*/ ); + BA.debugLineNum = 329;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_nota) ","c_nota",9,__ref.getField(false, "ba"),__ref,362); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_nota","b4xpage_closerequest", __ref);} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(SHARK2.keymon.com.mx.c_nota parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_nota parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_nota) ","c_nota",9,__ref.getField(false, "ba"),__ref,362); +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 = 365;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(4096); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 366;BA.debugLine="Return False"; +Debug.ShouldStop(8192); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 367;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_nota) ","c_nota",9,__ref.getField(false, "ba"),__ref,42); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_nota","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 42;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(512); + BA.debugLineNum = 43;BA.debugLine="Root = Root1"; +Debug.ShouldStop(1024); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 44;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(2048); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_nota.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 45;BA.debugLine="Root.LoadLayout(\"nota\")"; +Debug.ShouldStop(4096); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("nota")),__ref.getField(false, "ba")); + BA.debugLineNum = 46;BA.debugLine="borra.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_borra" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nota.__c.getField(true,"True")); + BA.debugLineNum = 47;BA.debugLine="Titulo.Text = \"Pedido Actual\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_titulo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Pedido Actual")); + 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 _borra_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("borra_Click (c_nota) ","c_nota",9,__ref.getField(false, "ba"),__ref,369); +if (RapidSub.canDelegate("borra_click")) { return __ref.runUserSub(false, "c_nota","borra_click", __ref);} +int _i = 0; +RemoteObject _tablainventario = RemoteObject.createImmutable(""); + BA.debugLineNum = 369;BA.debugLine="Sub borra_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 370;BA.debugLine="Log(\"Entre al btn borrar\")"; +Debug.ShouldStop(131072); +c_nota.__c.runVoidMethod ("LogImpl","512451841",RemoteObject.createImmutable("Entre al btn borrar"),0); + BA.debugLineNum = 371;BA.debugLine="result = Msgbox2(\"Seguro que desa borrar el pedi"; +Debug.ShouldStop(262144); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desa borrar el pedido?")),(Object)(BA.ObjectToCharSequence("Cancelar pedido")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 372;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 373;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE_PR"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) ")))); + BA.debugLineNum = 374;BA.debugLine="Log($\"select PE_PROID,PE_CANT FROM PEDIDO where"; +Debug.ShouldStop(2097152); +c_nota.__c.runVoidMethod ("LogImpl","512451845",(RemoteObject.createImmutable("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa)")),0); + BA.debugLineNum = 375;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 = 376;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(8388608); +{ +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 = 379;BA.debugLine="c.Position=i"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 381;BA.debugLine="Dim tablaInventario As String"; +Debug.ShouldStop(268435456); +_tablainventario = RemoteObject.createImmutable("");Debug.locals.put("tablaInventario", _tablainventario); + BA.debugLineNum = 383;BA.debugLine="If c.GetString(\"PE_FOLIO\") = \"PREVENTA_CONTADO"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("PREVENTA_CONTADO")) || RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("ABORDO"))) { + BA.debugLineNum = 384;BA.debugLine="tablaInventario = \"CAT_GUNAPROD\""; +Debug.ShouldStop(-2147483648); +_tablainventario = BA.ObjectToString("CAT_GUNAPROD");Debug.locals.put("tablaInventario", _tablainventario); + BA.debugLineNum = 385;BA.debugLine="Log(\"1\")"; +Debug.ShouldStop(1); +c_nota.__c.runVoidMethod ("LogImpl","512451856",RemoteObject.createImmutable("1"),0); + }else +{ BA.debugLineNum = 386;BA.debugLine="Else If c.GetString(\"PE_FOLIO\") = \"VENTA\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("VENTA"))) { + BA.debugLineNum = 387;BA.debugLine="tablaInventario = \"CAT_GUNAPROD2\""; +Debug.ShouldStop(4); +_tablainventario = BA.ObjectToString("CAT_GUNAPROD2");Debug.locals.put("tablaInventario", _tablainventario); + BA.debugLineNum = 388;BA.debugLine="Log(2)"; +Debug.ShouldStop(8); +c_nota.__c.runVoidMethod ("LogImpl","512451859",BA.NumberToString(2),0); + }else +{ BA.debugLineNum = 389;BA.debugLine="Else If c.GetString(\"PE_FOLIO\") = \"RECARGA\" Th"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("RECARGA"))) { + BA.debugLineNum = 390;BA.debugLine="tablaInventario = \"CAT_GUNAPROD\""; +Debug.ShouldStop(32); +_tablainventario = BA.ObjectToString("CAT_GUNAPROD");Debug.locals.put("tablaInventario", _tablainventario); + BA.debugLineNum = 391;BA.debugLine="Log(3)"; +Debug.ShouldStop(64); +c_nota.__c.runVoidMethod ("LogImpl","512451862",BA.NumberToString(3),0); + }else +{ BA.debugLineNum = 392;BA.debugLine="Else If c.GetString(\"PE_FOLIO\") = \"PREVENTA_CR"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("PREVENTA_CREDITO"))) { + BA.debugLineNum = 393;BA.debugLine="tablaInventario = \"CAT_GUNAPROD4\""; +Debug.ShouldStop(256); +_tablainventario = BA.ObjectToString("CAT_GUNAPROD4");Debug.locals.put("tablaInventario", _tablainventario); + BA.debugLineNum = 394;BA.debugLine="Log(4)"; +Debug.ShouldStop(512); +c_nota.__c.runVoidMethod ("LogImpl","512451865",BA.NumberToString(4),0); + }}}} +; + BA.debugLineNum = 396;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update"; +Debug.ShouldStop(2048); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tablainventario))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?")))),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))}))))); + BA.debugLineNum = 397;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(4096); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ")),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),RemoteObject.createImmutable(((double)(Double.parseDouble(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))).get()))*-(double) (0 + 1)))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 400;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(32768); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 401;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(65536); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 402;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +Debug.ShouldStop(131072); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 403;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(262144); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + BA.debugLineNum = 405;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_nota._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_nota._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_nota._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_nota._xui); + //BA.debugLineNum = 5;BA.debugLine="Dim skmt As SQL"; +c_nota._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",c_nota._skmt); + //BA.debugLineNum = 6;BA.debugLine="Dim g As GPS"; +c_nota._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_nota._g); + //BA.debugLineNum = 7;BA.debugLine="Dim clie_id As String"; +c_nota._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_nota._clie_id); + //BA.debugLineNum = 8;BA.debugLine="Dim sDate,sTime As String"; +c_nota._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_nota._sdate); +c_nota._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_nota._stime); + //BA.debugLineNum = 9;BA.debugLine="Dim usuario As String"; +c_nota._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_nota._usuario); + //BA.debugLineNum = 11;BA.debugLine="Dim c As Cursor"; +c_nota._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_nota._c); + //BA.debugLineNum = 12;BA.debugLine="Dim ruta As String"; +c_nota._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_nota._ruta); + //BA.debugLineNum = 13;BA.debugLine="Dim Regresar As Button"; +c_nota._regresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_regresar",c_nota._regresar); + //BA.debugLineNum = 15;BA.debugLine="Dim ListView1 As ListView"; +c_nota._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_nota._listview1); + //BA.debugLineNum = 16;BA.debugLine="Dim L_CANT As Label"; +c_nota._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_nota._l_cant); + //BA.debugLineNum = 17;BA.debugLine="Dim L_TOTAL As Label"; +c_nota._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_nota._l_total); + //BA.debugLineNum = 18;BA.debugLine="Dim borra As Button"; +c_nota._borra = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_borra",c_nota._borra); + //BA.debugLineNum = 19;BA.debugLine="Dim Existe As String"; +c_nota._existe = RemoteObject.createImmutable("");__ref.setField("_existe",c_nota._existe); + //BA.debugLineNum = 20;BA.debugLine="Dim result As String"; +c_nota._result = RemoteObject.createImmutable("");__ref.setField("_result",c_nota._result); + //BA.debugLineNum = 22;BA.debugLine="Dim DESC As String"; +c_nota._desc = RemoteObject.createImmutable("");__ref.setField("_desc",c_nota._desc); + //BA.debugLineNum = 24;BA.debugLine="Private Titulo As Label"; +c_nota._titulo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_titulo",c_nota._titulo); + //BA.debugLineNum = 25;BA.debugLine="Private b_desc As Button"; +c_nota._b_desc = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_desc",c_nota._b_desc); + //BA.debugLineNum = 26;BA.debugLine="Dim DESCUENTO As String"; +c_nota._descuento = RemoteObject.createImmutable("");__ref.setField("_descuento",c_nota._descuento); + //BA.debugLineNum = 27;BA.debugLine="Dim folio As String"; +c_nota._folio = RemoteObject.createImmutable("");__ref.setField("_folio",c_nota._folio); + //BA.debugLineNum = 28;BA.debugLine="Dim tgl As Toggle"; +c_nota._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_nota._tgl); + //BA.debugLineNum = 29;BA.debugLine="Private almacen As String"; +c_nota._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_nota._almacen); + //BA.debugLineNum = 30;BA.debugLine="Private p_nota As Panel"; +c_nota._p_nota = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_nota",c_nota._p_nota); + //BA.debugLineNum = 31;BA.debugLine="Dim vamoaver As List"; +c_nota._vamoaver = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_vamoaver",c_nota._vamoaver); + //BA.debugLineNum = 32;BA.debugLine="Dim c2 As Cursor"; +c_nota._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",c_nota._c2); + //BA.debugLineNum = 33;BA.debugLine="Dim j3 As Cursor"; +c_nota._j3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_j3",c_nota._j3); + //BA.debugLineNum = 34;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_nota) ","c_nota",9,__ref.getField(false, "ba"),__ref,353); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_nota","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 353;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(1); + BA.debugLineNum = 356;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_nota) ","c_nota",9,__ref.getField(false, "ba"),__ref,37); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_nota","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 37;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(16); + BA.debugLineNum = 38;BA.debugLine="Return Me"; +Debug.ShouldStop(32); +if (true) return __ref; + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview1_itemlongclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemLongClick (c_nota) ","c_nota",9,__ref.getField(false, "ba"),__ref,686); +if (RapidSub.canDelegate("listview1_itemlongclick")) { return __ref.runUserSub(false, "c_nota","listview1_itemlongclick", __ref, _position, _value);} +RemoteObject _datos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _idprod = RemoteObject.createImmutable(""); +RemoteObject _nom = RemoteObject.createImmutable(""); +RemoteObject _presname = RemoteObject.createImmutable(""); +RemoteObject _uvmval = RemoteObject.createImmutable(0); +RemoteObject _cedis = RemoteObject.createImmutable(""); +RemoteObject _folioactual = RemoteObject.createImmutable(""); +RemoteObject _cantregresar = RemoteObject.createImmutable(0); +RemoteObject _tablainv = RemoteObject.createImmutable(""); +int _j = 0; +RemoteObject _qdelete = RemoteObject.createImmutable(""); +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 686;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +Debug.ShouldStop(8192); + BA.debugLineNum = 688;BA.debugLine="Dim datos As Map = Value"; +Debug.ShouldStop(32768); +_datos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_datos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _value);Debug.locals.put("datos", _datos);Debug.locals.put("datos", _datos); + BA.debugLineNum = 690;BA.debugLine="Dim idProd As String = datos.Get(\"id\")"; +Debug.ShouldStop(131072); +_idprod = BA.ObjectToString(_datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("idProd", _idprod);Debug.locals.put("idProd", _idprod); + BA.debugLineNum = 691;BA.debugLine="Dim nom As String = datos.Get(\"nombre\")"; +Debug.ShouldStop(262144); +_nom = BA.ObjectToString(_datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nombre")))));Debug.locals.put("nom", _nom);Debug.locals.put("nom", _nom); + BA.debugLineNum = 692;BA.debugLine="Dim presName As String = datos.Get(\"pres\")"; +Debug.ShouldStop(524288); +_presname = BA.ObjectToString(_datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pres")))));Debug.locals.put("presName", _presname);Debug.locals.put("presName", _presname); + BA.debugLineNum = 693;BA.debugLine="Dim uvmVal As Int = datos.Get(\"uvm\")"; +Debug.ShouldStop(1048576); +_uvmval = BA.numberCast(int.class, _datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("uvm")))));Debug.locals.put("uvmVal", _uvmval);Debug.locals.put("uvmVal", _uvmval); + BA.debugLineNum = 694;BA.debugLine="Dim cedis As String = datos.Get(\"cedis\")"; +Debug.ShouldStop(2097152); +_cedis = BA.ObjectToString(_datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cedis")))));Debug.locals.put("cedis", _cedis);Debug.locals.put("cedis", _cedis); + BA.debugLineNum = 695;BA.debugLine="Dim folioActual As String = datos.Get(\"folio\")"; +Debug.ShouldStop(4194304); +_folioactual = BA.ObjectToString(_datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("folio")))));Debug.locals.put("folioActual", _folioactual);Debug.locals.put("folioActual", _folioactual); + BA.debugLineNum = 696;BA.debugLine="Dim cantRegresar As Int = datos.Get(\"cant\")"; +Debug.ShouldStop(8388608); +_cantregresar = BA.numberCast(int.class, _datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant")))));Debug.locals.put("cantRegresar", _cantregresar);Debug.locals.put("cantRegresar", _cantregresar); + BA.debugLineNum = 697;BA.debugLine="Log(folioActual)"; +Debug.ShouldStop(16777216); +c_nota.__c.runVoidMethod ("LogImpl","512517387",_folioactual,0); + BA.debugLineNum = 698;BA.debugLine="Log(cedis)"; +Debug.ShouldStop(33554432); +c_nota.__c.runVoidMethod ("LogImpl","512517388",_cedis,0); + BA.debugLineNum = 700;BA.debugLine="result = Msgbox2(\"¿Seguro que desea borrar \" & no"; +Debug.ShouldStop(134217728); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_nota.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("¿Seguro que desea borrar "),_nom,RemoteObject.createImmutable(" ("),_presname,RemoteObject.createImmutable(")?")))),(Object)(BA.ObjectToCharSequence("Borrar Artículo")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_nota.__c.runMethod(false,"LoadBitmap",(Object)(c_nota.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 702;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_nota.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 704;BA.debugLine="Dim tablaInv As String"; +Debug.ShouldStop(-2147483648); +_tablainv = RemoteObject.createImmutable("");Debug.locals.put("tablaInv", _tablainv); + BA.debugLineNum = 708;BA.debugLine="If folioActual = \"PREVENTA_CONTADO\" Or folioActu"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_folioactual,BA.ObjectToString("PREVENTA_CONTADO")) || RemoteObject.solveBoolean("=",_folioactual,BA.ObjectToString("ABORDO"))) { + BA.debugLineNum = 709;BA.debugLine="tablaInv = \"CAT_GUNAPROD\""; +Debug.ShouldStop(16); +_tablainv = BA.ObjectToString("CAT_GUNAPROD");Debug.locals.put("tablaInv", _tablainv); + BA.debugLineNum = 710;BA.debugLine="Log(\"1\")"; +Debug.ShouldStop(32); +c_nota.__c.runVoidMethod ("LogImpl","512517400",RemoteObject.createImmutable("1"),0); + }else +{ BA.debugLineNum = 711;BA.debugLine="Else If folioActual = \"VENTA\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_folioactual,BA.ObjectToString("VENTA"))) { + BA.debugLineNum = 712;BA.debugLine="tablaInv = \"CAT_GUNAPROD2\""; +Debug.ShouldStop(128); +_tablainv = BA.ObjectToString("CAT_GUNAPROD2");Debug.locals.put("tablaInv", _tablainv); + BA.debugLineNum = 713;BA.debugLine="Log(2)"; +Debug.ShouldStop(256); +c_nota.__c.runVoidMethod ("LogImpl","512517403",BA.NumberToString(2),0); + }else +{ BA.debugLineNum = 714;BA.debugLine="Else If folioActual = \"RECARGA\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_folioactual,BA.ObjectToString("RECARGA"))) { + BA.debugLineNum = 715;BA.debugLine="tablaInv = \"CAT_GUNAPROD\""; +Debug.ShouldStop(1024); +_tablainv = BA.ObjectToString("CAT_GUNAPROD");Debug.locals.put("tablaInv", _tablainv); + BA.debugLineNum = 716;BA.debugLine="Log(3)"; +Debug.ShouldStop(2048); +c_nota.__c.runVoidMethod ("LogImpl","512517406",BA.NumberToString(3),0); + }else +{ BA.debugLineNum = 717;BA.debugLine="Else If folioActual = \"PREVENTA_CREDITO\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_folioactual,BA.ObjectToString("PREVENTA_CREDITO"))) { + BA.debugLineNum = 718;BA.debugLine="tablaInv = \"CAT_GUNAPROD4\""; +Debug.ShouldStop(8192); +_tablainv = BA.ObjectToString("CAT_GUNAPROD4");Debug.locals.put("tablaInv", _tablainv); + BA.debugLineNum = 719;BA.debugLine="Log(4)"; +Debug.ShouldStop(16384); +c_nota.__c.runVoidMethod ("LogImpl","512517409",BA.NumberToString(4),0); + }}}} +; + BA.debugLineNum = 722;BA.debugLine="If cedis <> Subs.traeAlmacen Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("!",_cedis,c_nota._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { + BA.debugLineNum = 725;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_j3" /*RemoteObject*/ ).setObject (c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ? and PE_CEDIS = ?) AND PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {_nom,_cedis,_folioactual})))); + BA.debugLineNum = 726;BA.debugLine="Log(j3.RowCount)"; +Debug.ShouldStop(2097152); +c_nota.__c.runVoidMethod ("LogImpl","512517416",BA.NumberToString(__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 727;BA.debugLine="If j3.RowCount > 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 728;BA.debugLine="Log(\"Soy promo\")"; +Debug.ShouldStop(8388608); +c_nota.__c.runVoidMethod ("LogImpl","512517418",RemoteObject.createImmutable("Soy promo"),0); + BA.debugLineNum = 729;BA.debugLine="For j = 0 To j3.RowCount -1"; +Debug.ShouldStop(16777216); +{ +final int step32 = 1; +final int limit32 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j = 0 ; +for (;(step32 > 0 && _j <= limit32) || (step32 < 0 && _j >= limit32) ;_j = ((int)(0 + _j + step32)) ) { +Debug.locals.put("j", _j); + BA.debugLineNum = 730;BA.debugLine="Log(\"aqui tronare?\")"; +Debug.ShouldStop(33554432); +c_nota.__c.runVoidMethod ("LogImpl","512517420",RemoteObject.createImmutable("aqui tronare?"),0); + BA.debugLineNum = 732;BA.debugLine="j3.Position = j"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _j)); + BA.debugLineNum = 733;BA.debugLine="Log(j3.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(268435456); +c_nota.__c.runVoidMethod ("LogImpl","512517423",__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + BA.debugLineNum = 734;BA.debugLine="Log($\"update ${tablaInv} set CAT_GP_ALMACEN ="; +Debug.ShouldStop(536870912); +c_nota.__c.runVoidMethod ("LogImpl","512517424",(RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tablainv))),RemoteObject.createImmutable(" set CAT_GP_ALMACEN = CAT_GP_ALMACEN + '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable("' where CAT_GP_ID = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))),0); + BA.debugLineNum = 735;BA.debugLine="If vamoaver.Get(Position) = \"PREVENTA_CREDITO"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_vamoaver" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_position)),RemoteObject.createImmutable(("PREVENTA_CREDITO")))) { + BA.debugLineNum = 736;BA.debugLine="Starter.skmt.ExecNonQuery($\"update CAT_GUNAP"; +Debug.ShouldStop(-2147483648); +c_nota._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update CAT_GUNAPROD4 set CAT_GP_ALMACEN = CAT_GP_ALMACEN + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 737;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete"; +Debug.ShouldStop(1); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis= '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + }else { + BA.debugLineNum = 739;BA.debugLine="Starter.skmt.ExecNonQuery($\"update ${tablaIn"; +Debug.ShouldStop(4); +c_nota._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tablainv))),RemoteObject.createImmutable(" set CAT_GP_ALMACEN = CAT_GP_ALMACEN + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 740;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete"; +Debug.ShouldStop(8); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis= '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + }; + } +}Debug.locals.put("j", _j); +; + }; + BA.debugLineNum = 745;BA.debugLine="j3.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 747;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1024); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 751;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ${"; +Debug.ShouldStop(16384); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tablainv))),RemoteObject.createImmutable(" SET CAT_GP_ALMACEN = CAT_GP_ALMACEN + "),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cantregresar))),RemoteObject.createImmutable(" WHERE CAT_GP_ID = '"),c_nota.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idprod))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 758;BA.debugLine="Dim qDelete As String = \"DELETE FROM PEDIDO WHE"; +Debug.ShouldStop(2097152); +_qdelete = RemoteObject.concat(RemoteObject.createImmutable("DELETE FROM PEDIDO WHERE PE_PROID = ? AND PE_PRESENTACION = ? "),RemoteObject.createImmutable("AND PE_UVM = ? AND PE_CEDIS = ? "),RemoteObject.createImmutable("AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = ?"));Debug.locals.put("qDelete", _qdelete);Debug.locals.put("qDelete", _qdelete); + BA.debugLineNum = 762;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(qDelete, A"; +Debug.ShouldStop(33554432); +c_nota._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(_qdelete),(Object)(c_nota.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {5},new Object[] {(_idprod),(_presname),(_uvmval),(_cedis),(_folioactual)}))))); + BA.debugLineNum = 764;BA.debugLine="LogColor(\"Borrado exitoso de Nota: \" & nom & \""; +Debug.ShouldStop(134217728); +c_nota.__c.runVoidMethod ("LogImpl","512517454",RemoteObject.concat(RemoteObject.createImmutable("Borrado exitoso de Nota: "),_nom,RemoteObject.createImmutable(" ("),_presname,RemoteObject.createImmutable(")")),c_nota.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 767;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_nota.class, "_b4xpage_appear" /*RemoteObject*/ ); + }; + }; + 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 _p_nota_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_nota_Click (c_nota) ","c_nota",9,__ref.getField(false, "ba"),__ref,821); +if (RapidSub.canDelegate("p_nota_click")) { return __ref.runUserSub(false, "c_nota","p_nota_click", __ref);} + BA.debugLineNum = 821;BA.debugLine="Private Sub p_nota_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 823;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _regresar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Regresar_Click (c_nota) ","c_nota",9,__ref.getField(false, "ba"),__ref,358); +if (RapidSub.canDelegate("regresar_click")) { return __ref.runUserSub(false, "c_nota","regresar_click", __ref);} + BA.debugLineNum = 358;BA.debugLine="Sub Regresar_Click"; +Debug.ShouldStop(32); + BA.debugLineNum = 359;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(64); +c_nota._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 360;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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/SHARK2/keymon/com/mx/c_noventa.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_noventa.java new file mode 100644 index 0000000..37541d3 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_noventa.java @@ -0,0 +1,55 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_noventa { + public static RemoteObject myClass; + public c_noventa() { + } + public static PCBA staticBA = new PCBA(null, c_noventa.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _cancela = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _guarda = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _r_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _r_2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _r_3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _e_comm = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _motivo = RemoteObject.createImmutable(""); +public static RemoteObject _cuenta = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _r_4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager"); +public static RemoteObject _stay_hh = RemoteObject.createImmutable(""); +public static RemoteObject _stay_mi = RemoteObject.createImmutable(""); +public static RemoteObject _stay_ss = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"c",_ref.getField(false, "_c"),"CANCELA",_ref.getField(false, "_cancela"),"cuenta",_ref.getField(false, "_cuenta"),"DateUtils",_ref.getField(false, "_dateutils"),"e_comm",_ref.getField(false, "_e_comm"),"g",_ref.getField(false, "_g"),"GUARDA",_ref.getField(false, "_guarda"),"motivo",_ref.getField(false, "_motivo"),"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"),"reqManager",_ref.getField(false, "_reqmanager"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"sDate",_ref.getField(false, "_sdate"),"skmt",_ref.getField(false, "_skmt"),"stay_hh",_ref.getField(false, "_stay_hh"),"stay_mi",_ref.getField(false, "_stay_mi"),"stay_ss",_ref.getField(false, "_stay_ss"),"sTime",_ref.getField(false, "_stime"),"tgl",_ref.getField(false, "_tgl"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_noventa_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_noventa_subs_0.java new file mode 100644 index 0000000..40e70b5 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_noventa_subs_0.java @@ -0,0 +1,507 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_noventa_subs_0 { + + +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_noventa) ","c_noventa",10,__ref.getField(false, "ba"),__ref,50); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_noventa","b4xpage_appear", __ref);} + BA.debugLineNum = 50;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(131072); + BA.debugLineNum = 51;BA.debugLine="e_comm.Text=\"\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_e_comm" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 52;BA.debugLine="tgl.Initialize"; +Debug.ShouldStop(524288); +__ref.getField(false,"_tgl" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba")); + BA.debugLineNum = 53;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(1048576); +if (c_noventa.__c.runMethod(true,"Not",(Object)(c_noventa._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 54;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(2097152); +c_noventa.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_noventa.__c.getField(true,"True"))); + BA.debugLineNum = 55;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(4194304); +c_noventa.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_noventa._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 57;BA.debugLine="r_1.Checked = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_r_1" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_noventa.__c.getField(true,"False")); + BA.debugLineNum = 58;BA.debugLine="r_2.Checked = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_r_2" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_noventa.__c.getField(true,"False")); + BA.debugLineNum = 59;BA.debugLine="r_3.Checked = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_r_3" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_noventa.__c.getField(true,"False")); + BA.debugLineNum = 60;BA.debugLine="r_4.Checked = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_r_4" /*RemoteObject*/ ).runMethodAndSync(true,"setChecked",c_noventa.__c.getField(true,"False")); + BA.debugLineNum = 61;BA.debugLine="e_comm.Text = \"\""; +Debug.ShouldStop(268435456); +__ref.getField(false,"_e_comm" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + 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 _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_noventa) ","c_noventa",10,__ref.getField(false, "ba"),__ref,35); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_noventa","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 35;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(4); + BA.debugLineNum = 36;BA.debugLine="Root = Root1"; +Debug.ShouldStop(8); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 38;BA.debugLine="Root.LoadLayout(\"noventa\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("noventa")),__ref.getField(false, "ba")); + BA.debugLineNum = 39;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(64); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_noventa.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 41;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",c_noventa.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_noventa.__c.getField(true,"False"))) { + BA.debugLineNum = 42;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(512); +c_noventa.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_noventa.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 44;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_noventa._starter._dbreqserver /*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 _cancela_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CANCELA_Click (c_noventa) ","c_noventa",10,__ref.getField(false, "ba"),__ref,69); +if (RapidSub.canDelegate("cancela_click")) { return __ref.runUserSub(false, "c_noventa","cancela_click", __ref);} + BA.debugLineNum = 69;BA.debugLine="Sub CANCELA_Click"; +Debug.ShouldStop(16); + BA.debugLineNum = 70;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(32); +c_noventa._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 71;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_noventa._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_noventa._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_noventa._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_noventa._xui); + //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +c_noventa._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_noventa._g); + //BA.debugLineNum = 6;BA.debugLine="Dim ruta As String"; +c_noventa._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_noventa._ruta); + //BA.debugLineNum = 7;BA.debugLine="Dim skmt As SQL"; +c_noventa._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",c_noventa._skmt); + //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; +c_noventa._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_noventa._c); + //BA.debugLineNum = 10;BA.debugLine="Dim CANCELA As Button"; +c_noventa._cancela = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_cancela",c_noventa._cancela); + //BA.debugLineNum = 11;BA.debugLine="Dim GUARDA As Button"; +c_noventa._guarda = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_guarda",c_noventa._guarda); + //BA.debugLineNum = 12;BA.debugLine="Dim r_1 As RadioButton"; +c_noventa._r_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_r_1",c_noventa._r_1); + //BA.debugLineNum = 13;BA.debugLine="Dim r_2 As RadioButton"; +c_noventa._r_2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_r_2",c_noventa._r_2); + //BA.debugLineNum = 14;BA.debugLine="Dim r_3 As RadioButton"; +c_noventa._r_3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_r_3",c_noventa._r_3); + //BA.debugLineNum = 15;BA.debugLine="Dim e_comm As EditText"; +c_noventa._e_comm = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_e_comm",c_noventa._e_comm); + //BA.debugLineNum = 16;BA.debugLine="Dim motivo As String"; +c_noventa._motivo = RemoteObject.createImmutable("");__ref.setField("_motivo",c_noventa._motivo); + //BA.debugLineNum = 17;BA.debugLine="Dim cuenta As String"; +c_noventa._cuenta = RemoteObject.createImmutable("");__ref.setField("_cuenta",c_noventa._cuenta); + //BA.debugLineNum = 18;BA.debugLine="Dim usuario As String"; +c_noventa._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_noventa._usuario); + //BA.debugLineNum = 19;BA.debugLine="Dim sDate,sTime As String"; +c_noventa._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_noventa._sdate); +c_noventa._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_noventa._stime); + //BA.debugLineNum = 21;BA.debugLine="Dim tgl As Toggle"; +c_noventa._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_noventa._tgl); + //BA.debugLineNum = 22;BA.debugLine="Dim r_4 As RadioButton"; +c_noventa._r_4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_r_4",c_noventa._r_4); + //BA.debugLineNum = 23;BA.debugLine="Dim reqManager As DBRequestManager"; +c_noventa._reqmanager = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager");__ref.setField("_reqmanager",c_noventa._reqmanager); + //BA.debugLineNum = 24;BA.debugLine="Private stay_hh As String"; +c_noventa._stay_hh = RemoteObject.createImmutable("");__ref.setField("_stay_hh",c_noventa._stay_hh); + //BA.debugLineNum = 25;BA.debugLine="Private stay_mi As String"; +c_noventa._stay_mi = RemoteObject.createImmutable("");__ref.setField("_stay_mi",c_noventa._stay_mi); + //BA.debugLineNum = 26;BA.debugLine="Private stay_ss As String"; +c_noventa._stay_ss = RemoteObject.createImmutable("");__ref.setField("_stay_ss",c_noventa._stay_ss); + //BA.debugLineNum = 27;BA.debugLine="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",10,__ref.getField(false, "ba"),__ref,64); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_noventa","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 64;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(-2147483648); + 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 _guarda_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GUARDA_Click (c_noventa) ","c_noventa",10,__ref.getField(false, "ba"),__ref,72); +if (RapidSub.canDelegate("guarda_click")) { return __ref.runUserSub(false, "c_noventa","guarda_click", __ref);} +int _i = 0; +RemoteObject _crevisa = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 72;BA.debugLine="Sub GUARDA_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 73;BA.debugLine="If r_1.Checked Then"; +Debug.ShouldStop(256); +if (__ref.getField(false,"_r_1" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 74;BA.debugLine="motivo = \"CERRADO\""; +Debug.ShouldStop(512); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("CERRADO")); + }else +{ BA.debugLineNum = 75;BA.debugLine="Else If r_2.Checked Then"; +Debug.ShouldStop(1024); +if (__ref.getField(false,"_r_2" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 76;BA.debugLine="motivo = \"NO COMPRA\""; +Debug.ShouldStop(2048); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("NO COMPRA")); + }else +{ BA.debugLineNum = 77;BA.debugLine="Else If r_3.Checked Then"; +Debug.ShouldStop(4096); +if (__ref.getField(false,"_r_3" /*RemoteObject*/ ).runMethod(true,"getChecked").get().booleanValue()) { + BA.debugLineNum = 78;BA.debugLine="motivo = \"CON PRODUCTO\""; +Debug.ShouldStop(8192); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("CON PRODUCTO")); + }else { + BA.debugLineNum = 80;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; +Debug.ShouldStop(32768); +__ref.setField ("_motivo" /*RemoteObject*/ ,BA.ObjectToString("NO ESTA EL ENCARGADO")); + }}} +; + BA.debugLineNum = 82;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(131072); +c_noventa.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 83;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(262144); +__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 = 84;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(524288); +__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 = 85;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CUENTA"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CUENTA from cuentaa")))); + BA.debugLineNum = 86;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 87;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(4194304); +__ref.setField ("_cuenta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 88;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 89;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 90;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(33554432); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 91;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE_PRO"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) ")))); + BA.debugLineNum = 92;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 = 93;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(268435456); +{ +final int step21 = 1; +final int limit21 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step21 > 0 && _i <= limit21) || (step21 < 0 && _i >= limit21) ;_i = ((int)(0 + _i + step21)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 94;BA.debugLine="c.Position=i"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 95;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update ca"; +Debug.ShouldStop(1073741824); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))))}))))); + BA.debugLineNum = 96;BA.debugLine="Subs.borraPedidoClienteActual"; +Debug.ShouldStop(-2147483648); +c_noventa._subs.runVoidMethod ("_borrapedidoclienteactual" /*RemoteObject*/ ,__ref.getField(false, "ba")); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 103;BA.debugLine="Dim cRevisa As Cursor = B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(64); +_crevisa = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_crevisa = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT distinct NV_CLIENTE FROM NOVENTA WHERE NV_CLIENTE = '"),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_cuenta" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))));Debug.locals.put("cRevisa", _crevisa);Debug.locals.put("cRevisa", _crevisa); + BA.debugLineNum = 104;BA.debugLine="If cRevisa.RowCount > 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_crevisa.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 105;BA.debugLine="cRevisa.Position = 0"; +Debug.ShouldStop(256); +_crevisa.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 106;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +Debug.ShouldStop(512); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }else { + BA.debugLineNum = 108;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(2048); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON) VALUES(?,?,?,?,?,?,?) ")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(__ref.getField(true,"_cuenta" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_motivo" /*RemoteObject*/ )),(__ref.getField(false,"_e_comm" /*RemoteObject*/ ).runMethod(true,"getText")),(c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 109;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +Debug.ShouldStop(4096); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + }; + BA.debugLineNum = 111;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(16384); +c_noventa.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 112;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(32768); +__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 = 113;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +Debug.ShouldStop(65536); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 116;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (subs"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "),RemoteObject.createImmutable("Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "),RemoteObject.createImmutable(" Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, "),RemoteObject.createImmutable("Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "),RemoteObject.createImmutable(" Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "),RemoteObject.createImmutable(" from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) "))))); + BA.debugLineNum = 122;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 123;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 60"; +Debug.ShouldStop(67108864); +__ref.setField ("_stay_hh" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HORAS_TOTALES")))),RemoteObject.createImmutable(60),RemoteObject.createImmutable(60)}, "**",0, 0))); + BA.debugLineNum = 124;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60"; +Debug.ShouldStop(134217728); +__ref.setField ("_stay_mi" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MINUTOS_TOTALES")))),RemoteObject.createImmutable(60)}, "*",0, 0))); + BA.debugLineNum = 125;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")"; +Debug.ShouldStop(268435456); +__ref.setField ("_stay_ss" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("SEGUNDOS_TOTALES")))); + BA.debugLineNum = 127;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +Debug.ShouldStop(1073741824); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_stay_hh" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_stay_mi" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_stay_ss" /*RemoteObject*/ ))}, "++",2, 0))}))))); + BA.debugLineNum = 128;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +Debug.ShouldStop(-2147483648); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_OUT set HSO_FIN = ? ")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 129;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(1); +c_noventa.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 131;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update PEDI"; +Debug.ShouldStop(4); +c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update PEDIDO_INICIO_FINAL set PIF_HORA_FINAL = ? where PIF_CLIENTE = ? and PIF_HORA_FINAL = 0")),(Object)(c_noventa.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(c_noventa.__c.getField(false,"DateTime").runMethod(true,"getNow")),(__ref.getField(true,"_cuenta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 132;BA.debugLine="LogColor($\"actualizamos \"${cuenta}, hora_final=$"; +Debug.ShouldStop(8); +c_noventa.__c.runVoidMethod ("LogImpl","513107260",(RemoteObject.concat(RemoteObject.createImmutable("actualizamos \""),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_cuenta" /*RemoteObject*/ )))),RemoteObject.createImmutable(", hora_final="),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_noventa.__c.getField(false,"DateTime").runMethod(true,"getNow")))),RemoteObject.createImmutable(""))),c_noventa.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 135;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(64); +c_noventa._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + 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 _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_noventa) ","c_noventa",10,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_noventa","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 30;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 31;BA.debugLine="Return Me"; +Debug.ShouldStop(1073741824); +if (true) return __ref; + BA.debugLineNum = 32;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _jobdone(RemoteObject __ref,RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("JobDone (c_noventa) ","c_noventa",10,__ref.getField(false, "ba"),__ref,156); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_noventa","jobdone", __ref, _job);} +RemoteObject _resultado = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbresult"); +RemoteObject _cliente = RemoteObject.createImmutable(""); +RemoteObject _records = null; +RemoteObject _k = RemoteObject.createImmutable(""); +Debug.locals.put("Job", _job); + BA.debugLineNum = 156;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 157;BA.debugLine="Log(Job.Success)"; +Debug.ShouldStop(268435456); +c_noventa.__c.runVoidMethod ("LogImpl","513238273",BA.ObjectToString(_job.getField(true,"_success" /*RemoteObject*/ )),0); + BA.debugLineNum = 158;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_noventa.__c.getField(true,"False"))) { + BA.debugLineNum = 159;BA.debugLine="ToastMessageShow(\"Error: \" & Job.ErrorMessage, Tr"; +Debug.ShouldStop(1073741824); +c_noventa.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Error: "),_job.getField(true,"_errormessage" /*RemoteObject*/ )))),(Object)(c_noventa.__c.getField(true,"True"))); + }else { + BA.debugLineNum = 161;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job)"; +Debug.ShouldStop(1); +c_noventa.__c.runVoidMethod ("LogImpl","513238277",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),c_noventa.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 162;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 163;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJob"; +Debug.ShouldStop(4); +_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 164;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"insert_nov"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("insert_noventa_"))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 165;BA.debugLine="Private cliente As String= resultado.Tag"; +Debug.ShouldStop(16); +_cliente = BA.ObjectToString(_resultado.getField(false,"Tag" /*RemoteObject*/ ));Debug.locals.put("cliente", _cliente);Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 166;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_\""; +Debug.ShouldStop(32); +_cliente = _cliente.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_cliente.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("_"))),RemoteObject.createImmutable(9)}, "+",1, 1)));Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 167;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; +Debug.ShouldStop(64); +c_noventa.__c.runVoidMethod ("LogImpl","513238283",(RemoteObject.concat(RemoteObject.createImmutable("Cliente1:"),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 168;BA.debugLine="Starter.skmt.ExecNonQuery($\"update NOVENTA set"; +Debug.ShouldStop(128); +c_noventa._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update NOVENTA set NV_ENVIO_OK = '1' where NV_CLIENTE = '"),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 169;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(256); +{ +final RemoteObject group13 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen13 = group13.runMethod(true,"getSize").get() +;int index13 = 0; +; +for (; index13 < groupLen13;index13++){ +_records = (group13.runMethod(false,"Get",index13));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 170;BA.debugLine="For Each k As String In resultado.Columns.Keys"; +Debug.ShouldStop(512); +{ +final RemoteObject group14 = _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen14 = group14.runMethod(true,"getSize").get() +;int index14 = 0; +; +for (; index14 < groupLen14;index14++){ +_k = BA.ObjectToString(group14.runMethod(false,"Get",index14));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 171;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & records"; +Debug.ShouldStop(1024); +c_noventa.__c.runVoidMethod ("LogImpl","513238287",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 = 176;BA.debugLine="Job.Release"; +Debug.ShouldStop(32768); +_job.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + }; + 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 _mandapendientesnoventa(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("mandaPendientesnoventa (c_noventa) ","c_noventa",10,__ref.getField(false, "ba"),__ref,138); +if (RapidSub.canDelegate("mandapendientesnoventa")) { return __ref.runUserSub(false, "c_noventa","mandapendientesnoventa", __ref);} +int _i = 0; +RemoteObject _cmd = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand"); + BA.debugLineNum = 138;BA.debugLine="Sub mandaPendientesnoventa"; +Debug.ShouldStop(512); + BA.debugLineNum = 141;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FR"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_noventa._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM NOVENTA where ifnull(NV_ENVIO_OK, 0) <> 1")))); + BA.debugLineNum = 142;BA.debugLine="Log($\"NO VENTA PENDIENTE: ${c.RowCount}\"$)"; +Debug.ShouldStop(8192); +c_noventa.__c.runVoidMethod ("LogImpl","513172740",(RemoteObject.concat(RemoteObject.createImmutable("NO VENTA PENDIENTE: "),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 143;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 = 144;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(32768); +{ +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 = 145;BA.debugLine="c.Position=i"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 146;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(131072); +_cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 147;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(262144); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 148;BA.debugLine="cmd.Name = \"insert_noventa_SHARK2\""; +Debug.ShouldStop(524288); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_noventa_SHARK2")); + BA.debugLineNum = 149;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"N"; +Debug.ShouldStop(1048576); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_USER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_MOTIVO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_COMM")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_LAT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_LON")))),(c_noventa._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(c_noventa._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_CLIENTE"))))))})); + BA.debugLineNum = 150;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"insert_novent"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("insert_noventa_"),c_noventa.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_CLIENTE")))))),RemoteObject.createImmutable("")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 154;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/SHARK2/keymon/com/mx/c_nuevocliente.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_nuevocliente.java new file mode 100644 index 0000000..e885f6b --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_nuevocliente.java @@ -0,0 +1,76 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_nuevocliente { + public static RemoteObject myClass; + public c_nuevocliente() { + } + public static PCBA staticBA = new PCBA(null, c_nuevocliente.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _cancela = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _guarda = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _cuenta = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _sdate2 = RemoteObject.createImmutable(""); +public static RemoteObject _stime2 = RemoteObject.createImmutable(""); +public static RemoteObject _no_cliente = RemoteObject.createImmutable(""); +public static RemoteObject _no_ruta = RemoteObject.createImmutable(""); +public static RemoteObject _lista_punta = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _r_4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper"); +public static RemoteObject _e_nombre = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _l_sinubicacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_nuevocliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_botones = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_cam = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_camara = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_foto_inci = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _frontcamera = RemoteObject.createImmutable(false); +public static RemoteObject _fototomada = RemoteObject.createImmutable(""); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _et_direccion = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _lat = RemoteObject.createImmutable(0); +public static RemoteObject _lon = RemoteObject.createImmutable(0); +public static RemoteObject _b_ubicacion = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _label3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _cb_giro = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xcombobox"); +public static RemoteObject _giros = RemoteObject.createImmutable(""); +public static RemoteObject _l_atiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_atiende = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _label5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_colonia = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_telefono = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _et_cp = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _label6 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"ALMACEN",_ref.getField(false, "_almacen"),"b_foto_inci",_ref.getField(false, "_b_foto_inci"),"b_ubicacion",_ref.getField(false, "_b_ubicacion"),"c",_ref.getField(false, "_c"),"CANCELA",_ref.getField(false, "_cancela"),"cb_giro",_ref.getField(false, "_cb_giro"),"cuenta",_ref.getField(false, "_cuenta"),"DateUtils",_ref.getField(false, "_dateutils"),"E_NOMBRE",_ref.getField(false, "_e_nombre"),"ET_Atiende",_ref.getField(false, "_et_atiende"),"et_colonia",_ref.getField(false, "_et_colonia"),"et_cp",_ref.getField(false, "_et_cp"),"et_direccion",_ref.getField(false, "_et_direccion"),"et_telefono",_ref.getField(false, "_et_telefono"),"fototomada",_ref.getField(false, "_fototomada"),"frontCamera",_ref.getField(false, "_frontcamera"),"g",_ref.getField(false, "_g"),"giros",_ref.getField(false, "_giros"),"GUARDA",_ref.getField(false, "_guarda"),"L_Atiende",_ref.getField(false, "_l_atiende"),"l_sinUbicacion",_ref.getField(false, "_l_sinubicacion"),"Label1",_ref.getField(false, "_label1"),"Label2",_ref.getField(false, "_label2"),"Label3",_ref.getField(false, "_label3"),"Label5",_ref.getField(false, "_label5"),"Label6",_ref.getField(false, "_label6"),"lat",_ref.getField(false, "_lat"),"lista_punta",_ref.getField(false, "_lista_punta"),"lon",_ref.getField(false, "_lon"),"no_cliente",_ref.getField(false, "_no_cliente"),"no_ruta",_ref.getField(false, "_no_ruta"),"p_botones",_ref.getField(false, "_p_botones"),"p_cam",_ref.getField(false, "_p_cam"),"p_camara",_ref.getField(false, "_p_camara"),"p_nuevoCliente",_ref.getField(false, "_p_nuevocliente"),"r_4",_ref.getField(false, "_r_4"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"sDate",_ref.getField(false, "_sdate"),"sDate2",_ref.getField(false, "_sdate2"),"sTime",_ref.getField(false, "_stime"),"sTime2",_ref.getField(false, "_stime2"),"tgl",_ref.getField(false, "_tgl"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_nuevocliente_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_nuevocliente_subs_0.java new file mode 100644 index 0000000..eac03e0 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_nuevocliente_subs_0.java @@ -0,0 +1,918 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_nuevocliente_subs_0 { + + +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_nuevocliente) ","c_nuevocliente",12,__ref.getField(false, "ba"),__ref,95); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_nuevocliente","b4xpage_appear", __ref);} +RemoteObject _pol = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _poli = 0; +RemoteObject _coords = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +RemoteObject _items = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _i = 0; + BA.debugLineNum = 95;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 96;BA.debugLine="et_direccion.Text = \"\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_et_direccion" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 97;BA.debugLine="E_NOMBRE.Text = \"\""; +Debug.ShouldStop(1); +__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 98;BA.debugLine="ET_Atiende.Text = \"\""; +Debug.ShouldStop(2); +__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 99;BA.debugLine="et_colonia.Text = \"\""; +Debug.ShouldStop(4); +__ref.getField(false,"_et_colonia" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 100;BA.debugLine="et_telefono.Text = \"\""; +Debug.ShouldStop(8); +__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 101;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(16); +if (c_nuevocliente.__c.runMethod(true,"Not",(Object)(c_nuevocliente._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 102;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(32); +c_nuevocliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_nuevocliente.__c.getField(true,"True"))); + BA.debugLineNum = 103;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(64); +c_nuevocliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_nuevocliente._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 105;BA.debugLine="GUARDA.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_guarda" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"False")); + BA.debugLineNum = 106;BA.debugLine="Subs.panelVisible(p_nuevoCliente, 0, 0)"; +Debug.ShouldStop(512); +c_nuevocliente._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_nuevocliente" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 107;BA.debugLine="p_nuevoCliente.Height = Root.Height"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_nuevocliente" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 108;BA.debugLine="p_nuevoCliente.Width = Root.Width"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p_nuevocliente" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 109;BA.debugLine="Subs.centraEtiqueta(Label1, Root.Width)"; +Debug.ShouldStop(4096); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_label1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 110;BA.debugLine="Subs.centraEtiqueta(Label5, Root.Width)"; +Debug.ShouldStop(8192); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_label5" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 111;BA.debugLine="Subs.centraEtiqueta(Label6, Root.Width)"; +Debug.ShouldStop(16384); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_label6" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 112;BA.debugLine="Subs.centraEtiqueta(Label2, Root.Width)"; +Debug.ShouldStop(32768); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_label2" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 113;BA.debugLine="Subs.centraEtiqueta(Label3, Root.Width)"; +Debug.ShouldStop(65536); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_label3" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 114;BA.debugLine="Subs.centraEtiqueta(l_sinUbicacion, Root.Width)"; +Debug.ShouldStop(131072); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_l_sinubicacion" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 115;BA.debugLine="Subs.centraEtiqueta(b_ubicacion, Root.Width)"; +Debug.ShouldStop(262144); +c_nuevocliente._subs.runVoidMethod ("_centraetiqueta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_b_ubicacion" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 116;BA.debugLine="Subs.centraPanel(p_botones, Root.Width)"; +Debug.ShouldStop(524288); +c_nuevocliente._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_botones" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 117;BA.debugLine="E_NOMBRE.Left = Round(Root.Width/2)-(E_NOMBRE.Wid"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_nuevocliente.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 118;BA.debugLine="et_cp.Left = Round(Root.Width/2)-(E_NOMBRE.Width/"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_et_cp" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_nuevocliente.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 119;BA.debugLine="et_colonia.Left = Round(Root.Width/2)-(et_colonia"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_et_colonia" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_nuevocliente.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_et_colonia" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 120;BA.debugLine="et_direccion.Left = Round(Root.Width/2)-(et_direc"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_et_direccion" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_nuevocliente.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_et_direccion" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 121;BA.debugLine="If B4XPages.MainPage.lat_gps <> \"0.0\" Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("!",c_nuevocliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),BA.ObjectToString("0.0"))) { + BA.debugLineNum = 122;BA.debugLine="GUARDA.Visible = True 'Si hay ubicaccion, mostra"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_guarda" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"True")); + BA.debugLineNum = 123;BA.debugLine="l_sinUbicacion.Visible = True"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_sinubicacion" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"True")); + }; + BA.debugLineNum = 126;BA.debugLine="CallSubDelayed(Tracker, \"Track\")"; +Debug.ShouldStop(536870912); +c_nuevocliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_nuevocliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("Track"))); + BA.debugLineNum = 127;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +Debug.ShouldStop(1073741824); +c_nuevocliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_nuevocliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLPSmall"))); + BA.debugLineNum = 128;BA.debugLine="If Tracker.FLP.IsInitialized And Tracker.FLP.GetL"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(".",c_nuevocliente._tracker._flp /*RemoteObject*/ .runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",c_nuevocliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 129;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(1); +c_nuevocliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(c_nuevocliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude"))); + BA.debugLineNum = 130;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(2); +c_nuevocliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(c_nuevocliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude"))); + BA.debugLineNum = 132;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; +Debug.ShouldStop(8); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_nuevocliente.class, "_gps_locationchanged" /*RemoteObject*/ ,(Object)(c_nuevocliente._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation"))); + }; + BA.debugLineNum = 135;BA.debugLine="lista_punta.Initialize"; +Debug.ShouldStop(64); +__ref.getField(false,"_lista_punta" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 136;BA.debugLine="Dim pol As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(128); +_pol = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pol = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_nuevocliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT LAT, LONG FROM POLIGONO"))));Debug.locals.put("pol", _pol);Debug.locals.put("pol", _pol); + BA.debugLineNum = 137;BA.debugLine="If pol.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_pol.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 139;BA.debugLine="For poli = 0 To pol.RowCount -1"; +Debug.ShouldStop(1024); +{ +final int step40 = 1; +final int limit40 = RemoteObject.solve(new RemoteObject[] {_pol.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_poli = 0 ; +for (;(step40 > 0 && _poli <= limit40) || (step40 < 0 && _poli >= limit40) ;_poli = ((int)(0 + _poli + step40)) ) { +Debug.locals.put("poli", _poli); + BA.debugLineNum = 140;BA.debugLine="pol.Position = poli"; +Debug.ShouldStop(2048); +_pol.runMethod(true,"setPosition",BA.numberCast(int.class, _poli)); + BA.debugLineNum = 141;BA.debugLine="Dim coords As LatLng"; +Debug.ShouldStop(4096); +_coords = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");Debug.locals.put("coords", _coords); + BA.debugLineNum = 142;BA.debugLine="coords.Initialize(pol.GetString(\"LAT\"), pol.Get"; +Debug.ShouldStop(8192); +_coords.runVoidMethod ("Initialize",(Object)(BA.numberCast(double.class, _pol.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LAT"))))),(Object)(BA.numberCast(double.class, _pol.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LONG")))))); + BA.debugLineNum = 143;BA.debugLine="lista_punta.Add(coords)"; +Debug.ShouldStop(16384); +__ref.getField(false,"_lista_punta" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_coords.getObject()))); + } +}Debug.locals.put("poli", _poli); +; + }; + BA.debugLineNum = 147;BA.debugLine="If Not(Starter.GPS.GPSEnabled) Then"; +Debug.ShouldStop(262144); +if (c_nuevocliente.__c.runMethod(true,"Not",(Object)(c_nuevocliente._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 148;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; +Debug.ShouldStop(524288); +c_nuevocliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo.")),(Object)(c_nuevocliente.__c.getField(true,"True"))); + BA.debugLineNum = 149;BA.debugLine="StartActivity(Starter.GPS.LocationSettingsIntent"; +Debug.ShouldStop(1048576); +c_nuevocliente.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_nuevocliente._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }else { + BA.debugLineNum = 151;BA.debugLine="Starter.GPS.Start(0, 0)"; +Debug.ShouldStop(4194304); +c_nuevocliente._starter._gps /*RemoteObject*/ .runVoidMethodAndSync ("Start",__ref.getField(false, "ba"),(Object)(BA.numberCast(long.class, 0)),(Object)(BA.numberCast(float.class, 0))); + }; + BA.debugLineNum = 154;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +Debug.ShouldStop(33554432); +c_nuevocliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_nuevocliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLPSmall"))); + BA.debugLineNum = 156;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT GIRO FROM CAT_"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nuevocliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT GIRO FROM CAT_GIRO order by 1")))); + BA.debugLineNum = 157;BA.debugLine="Dim Items As List"; +Debug.ShouldStop(268435456); +_items = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Items", _items); + BA.debugLineNum = 158;BA.debugLine="Items.Initialize"; +Debug.ShouldStop(536870912); +_items.runVoidMethod ("Initialize"); + BA.debugLineNum = 159;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCIÓN\")"; +Debug.ShouldStop(1073741824); +_items.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("SELECCIONA UNA OPCIÓN")))); + BA.debugLineNum = 160;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 = 161;BA.debugLine="For i = 0 To c.RowCount-1"; +Debug.ShouldStop(1); +{ +final int step59 = 1; +final int limit59 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step59 > 0 && _i <= limit59) || (step59 < 0 && _i >= limit59) ;_i = ((int)(0 + _i + step59)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 162;BA.debugLine="c.Position = i"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 163;BA.debugLine="Items.Add(c.GetString(\"GIRO\"))"; +Debug.ShouldStop(4); +_items.runVoidMethod ("Add",(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("GIRO")))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 165;BA.debugLine="cb_giro.SetItems(Items)"; +Debug.ShouldStop(16); +__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xcombobox.class, "_setitems" /*RemoteObject*/ ,(Object)(_items)); + }; + BA.debugLineNum = 167;BA.debugLine="giros = \"SELECCIONA UNA OPCIÓN\""; +Debug.ShouldStop(64); +__ref.setField ("_giros" /*RemoteObject*/ ,BA.ObjectToString("SELECCIONA UNA OPCIÓN")); + BA.debugLineNum = 168;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + 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 void _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_nuevocliente) ","c_nuevocliente",12,__ref.getField(false, "ba"),__ref,55); +if (RapidSub.canDelegate("b4xpage_created")) { __ref.runUserSub(false, "c_nuevocliente","b4xpage_created", __ref, _root1); return;} +ResumableSub_B4XPage_Created rsub = new ResumableSub_B4XPage_Created(null,__ref,_root1); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_Created extends BA.ResumableSub { +public ResumableSub_B4XPage_Created(SHARK2.keymon.com.mx.c_nuevocliente parent,RemoteObject __ref,RemoteObject _root1) { +this.parent = parent; +this.__ref = __ref; +this._root1 = _root1; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_nuevocliente parent; +RemoteObject _root1; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_nuevocliente) ","c_nuevocliente",12,__ref.getField(false, "ba"),__ref,55); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 57;BA.debugLine="Root = Root1"; +Debug.ShouldStop(16777216); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 59;BA.debugLine="Root.LoadLayout(\"nuevocliente\")"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("nuevocliente")),__ref.getField(false, "ba")); + BA.debugLineNum = 60;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(134217728); +__ref.setField ("_ruta" /*RemoteObject*/ ,parent.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 61;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(268435456); +if (true) break; + +case 1: +//if +this.state = 4; +if (RemoteObject.solveBoolean("=",parent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),parent.__c.getField(true,"False"))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 62;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(536870912); +parent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + if (true) break; + +case 4: +//C +this.state = 5; +; + BA.debugLineNum = 76;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(2048); +parent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(parent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_WRITE_EXTERNAL_STORAGE"))); + BA.debugLineNum = 77;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_nuevocliente", "b4xpage_created"), null); +this.state = 17; +return; +case 17: +//C +this.state = 5; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission); +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 78;BA.debugLine="If Result Then"; +Debug.ShouldStop(8192); +if (true) break; + +case 5: +//if +this.state = 10; +if (_result.get().booleanValue()) { +this.state = 7; +}else { +this.state = 9; +}if (true) break; + +case 7: +//C +this.state = 10; + BA.debugLineNum = 79;BA.debugLine="Log(\"Con permisos para escritura\")"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("LogImpl","516580632",RemoteObject.createImmutable("Con permisos para escritura"),0); + if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 81;BA.debugLine="ToastMessageShow(\"Sin permisos de escritura!!!\","; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Sin permisos de escritura!!!")),(Object)(parent.__c.getField(true,"True"))); + if (true) break; + +case 10: +//C +this.state = 11; +; + BA.debugLineNum = 84;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_READ_EXTERNAL_STORAGE"))); + BA.debugLineNum = 85;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_nuevocliente", "b4xpage_created"), null); +this.state = 18; +return; +case 18: +//C +this.state = 11; +_permission = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Permission", _permission); +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 86;BA.debugLine="If Result Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 11: +//if +this.state = 16; +if (_result.get().booleanValue()) { +this.state = 13; +}else { +this.state = 15; +}if (true) break; + +case 13: +//C +this.state = 16; + BA.debugLineNum = 87;BA.debugLine="Log(\"Con permisos para escritura\")"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("LogImpl","516580640",RemoteObject.createImmutable("Con permisos para escritura"),0); + if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 89;BA.debugLine="ToastMessageShow(\"Sin permisos de lectura!!!\", T"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Sin permisos de lectura!!!")),(Object)(parent.__c.getField(true,"True"))); + if (true) break; + +case 16: +//C +this.state = -1; +; + BA.debugLineNum = 91;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _b4xpage_permissionresult(RemoteObject __ref,RemoteObject _permission,RemoteObject _result) throws Exception{ +} +public static RemoteObject _cancela_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CANCELA_Click (c_nuevocliente) ","c_nuevocliente",12,__ref.getField(false, "ba"),__ref,189); +if (RapidSub.canDelegate("cancela_click")) { return __ref.runUserSub(false, "c_nuevocliente","cancela_click", __ref);} + BA.debugLineNum = 189;BA.debugLine="Sub CANCELA_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 190;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(536870912); +c_nuevocliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Principal"))); + BA.debugLineNum = 191;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; +Debug.ShouldStop(1073741824); +c_nuevocliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_nuevocliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLP"))); + 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 _cb_giro_selectedindexchanged(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("cb_giro_SelectedIndexChanged (c_nuevocliente) ","c_nuevocliente",12,__ref.getField(false, "ba"),__ref,423); +if (RapidSub.canDelegate("cb_giro_selectedindexchanged")) { return __ref.runUserSub(false, "c_nuevocliente","cb_giro_selectedindexchanged", __ref, _index);} +Debug.locals.put("Index", _index); + BA.debugLineNum = 423;BA.debugLine="Private Sub cb_giro_SelectedIndexChanged (Index As"; +Debug.ShouldStop(64); + BA.debugLineNum = 424;BA.debugLine="giros = cb_giro.SelectedItem"; +Debug.ShouldStop(128); +__ref.setField ("_giros" /*RemoteObject*/ ,__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*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 _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 = 5;BA.debugLine="Dim g As GPS"; +c_nuevocliente._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_nuevocliente._g); + //BA.debugLineNum = 6;BA.debugLine="Dim ruta As String"; +c_nuevocliente._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_nuevocliente._ruta); + //BA.debugLineNum = 7;BA.debugLine="Dim c As Cursor"; +c_nuevocliente._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_nuevocliente._c); + //BA.debugLineNum = 9;BA.debugLine="Dim CANCELA As Button"; +c_nuevocliente._cancela = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_cancela",c_nuevocliente._cancela); + //BA.debugLineNum = 10;BA.debugLine="Dim GUARDA As Button"; +c_nuevocliente._guarda = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_guarda",c_nuevocliente._guarda); + //BA.debugLineNum = 11;BA.debugLine="Dim cuenta As String"; +c_nuevocliente._cuenta = RemoteObject.createImmutable("");__ref.setField("_cuenta",c_nuevocliente._cuenta); + //BA.debugLineNum = 12;BA.debugLine="Dim usuario As String"; +c_nuevocliente._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_nuevocliente._usuario); + //BA.debugLineNum = 13;BA.debugLine="Dim sDate,sTime As String"; +c_nuevocliente._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_nuevocliente._sdate); +c_nuevocliente._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_nuevocliente._stime); + //BA.debugLineNum = 14;BA.debugLine="Dim sDate2,sTime2 As String"; +c_nuevocliente._sdate2 = RemoteObject.createImmutable("");__ref.setField("_sdate2",c_nuevocliente._sdate2); +c_nuevocliente._stime2 = RemoteObject.createImmutable("");__ref.setField("_stime2",c_nuevocliente._stime2); + //BA.debugLineNum = 15;BA.debugLine="Dim no_cliente As String"; +c_nuevocliente._no_cliente = RemoteObject.createImmutable("");__ref.setField("_no_cliente",c_nuevocliente._no_cliente); + //BA.debugLineNum = 16;BA.debugLine="Dim no_ruta As String"; +c_nuevocliente._no_ruta = RemoteObject.createImmutable("");__ref.setField("_no_ruta",c_nuevocliente._no_ruta); + //BA.debugLineNum = 17;BA.debugLine="Dim lista_punta As List"; +c_nuevocliente._lista_punta = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_lista_punta",c_nuevocliente._lista_punta); + //BA.debugLineNum = 18;BA.debugLine="Dim r_4 As RadioButton"; +c_nuevocliente._r_4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper");__ref.setField("_r_4",c_nuevocliente._r_4); + //BA.debugLineNum = 19;BA.debugLine="Dim E_NOMBRE As EditText"; +c_nuevocliente._e_nombre = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_e_nombre",c_nuevocliente._e_nombre); + //BA.debugLineNum = 20;BA.debugLine="Dim tgl As Toggle"; +c_nuevocliente._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_nuevocliente._tgl); + //BA.debugLineNum = 21;BA.debugLine="Private l_sinUbicacion As Label"; +c_nuevocliente._l_sinubicacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_sinubicacion",c_nuevocliente._l_sinubicacion); + //BA.debugLineNum = 22;BA.debugLine="Private p_nuevoCliente As Panel"; +c_nuevocliente._p_nuevocliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_nuevocliente",c_nuevocliente._p_nuevocliente); + //BA.debugLineNum = 23;BA.debugLine="Private Label1 As Label"; +c_nuevocliente._label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label1",c_nuevocliente._label1); + //BA.debugLineNum = 24;BA.debugLine="Private p_botones As Panel"; +c_nuevocliente._p_botones = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_botones",c_nuevocliente._p_botones); + //BA.debugLineNum = 25;BA.debugLine="Private p_cam As Panel"; +c_nuevocliente._p_cam = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_cam",c_nuevocliente._p_cam); + //BA.debugLineNum = 26;BA.debugLine="Private p_camara As Panel"; +c_nuevocliente._p_camara = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_camara",c_nuevocliente._p_camara); + //BA.debugLineNum = 27;BA.debugLine="Private b_foto_inci As Button"; +c_nuevocliente._b_foto_inci = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_foto_inci",c_nuevocliente._b_foto_inci); + //BA.debugLineNum = 29;BA.debugLine="Dim frontCamera As Boolean = False"; +c_nuevocliente._frontcamera = c_nuevocliente.__c.getField(true,"False");__ref.setField("_frontcamera",c_nuevocliente._frontcamera); + //BA.debugLineNum = 30;BA.debugLine="Dim fototomada As String = \"0\""; +c_nuevocliente._fototomada = BA.ObjectToString("0");__ref.setField("_fototomada",c_nuevocliente._fototomada); + //BA.debugLineNum = 31;BA.debugLine="Dim ALMACEN As String"; +c_nuevocliente._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_nuevocliente._almacen); + //BA.debugLineNum = 32;BA.debugLine="Private et_direccion As EditText"; +c_nuevocliente._et_direccion = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_direccion",c_nuevocliente._et_direccion); + //BA.debugLineNum = 33;BA.debugLine="Private Label2 As Label"; +c_nuevocliente._label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label2",c_nuevocliente._label2); + //BA.debugLineNum = 34;BA.debugLine="Dim lat As Double = 0"; +c_nuevocliente._lat = BA.numberCast(double.class, 0);__ref.setField("_lat",c_nuevocliente._lat); + //BA.debugLineNum = 35;BA.debugLine="Dim lon As Double = 0"; +c_nuevocliente._lon = BA.numberCast(double.class, 0);__ref.setField("_lon",c_nuevocliente._lon); + //BA.debugLineNum = 36;BA.debugLine="Private b_ubicacion As Label"; +c_nuevocliente._b_ubicacion = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_b_ubicacion",c_nuevocliente._b_ubicacion); + //BA.debugLineNum = 37;BA.debugLine="Private Label3 As Label"; +c_nuevocliente._label3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label3",c_nuevocliente._label3); + //BA.debugLineNum = 38;BA.debugLine="Private cb_giro As B4XComboBox"; +c_nuevocliente._cb_giro = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xcombobox");__ref.setField("_cb_giro",c_nuevocliente._cb_giro); + //BA.debugLineNum = 39;BA.debugLine="Dim giros As String"; +c_nuevocliente._giros = RemoteObject.createImmutable("");__ref.setField("_giros",c_nuevocliente._giros); + //BA.debugLineNum = 40;BA.debugLine="Private L_Atiende As Label"; +c_nuevocliente._l_atiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_atiende",c_nuevocliente._l_atiende); + //BA.debugLineNum = 41;BA.debugLine="Private ET_Atiende As EditText"; +c_nuevocliente._et_atiende = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_atiende",c_nuevocliente._et_atiende); + //BA.debugLineNum = 42;BA.debugLine="Private Label5 As Label"; +c_nuevocliente._label5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label5",c_nuevocliente._label5); + //BA.debugLineNum = 43;BA.debugLine="Private et_colonia As EditText"; +c_nuevocliente._et_colonia = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_colonia",c_nuevocliente._et_colonia); + //BA.debugLineNum = 44;BA.debugLine="Private et_telefono As EditText"; +c_nuevocliente._et_telefono = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_telefono",c_nuevocliente._et_telefono); + //BA.debugLineNum = 45;BA.debugLine="Private et_cp As EditText"; +c_nuevocliente._et_cp = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_cp",c_nuevocliente._et_cp); + //BA.debugLineNum = 46;BA.debugLine="Private Label6 As Label"; +c_nuevocliente._label6 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label6",c_nuevocliente._label6); + //BA.debugLineNum = 47;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_nuevocliente) ","c_nuevocliente",12,__ref.getField(false, "ba"),__ref,171); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_nuevocliente","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 171;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(1024); + BA.debugLineNum = 172;BA.debugLine="If B4XPages.MainPage.lat_gps <> \"0.0\" Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("!",c_nuevocliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),BA.ObjectToString("0.0"))) { + BA.debugLineNum = 173;BA.debugLine="GUARDA.Visible = True 'Si hay ubicaccion, mostra"; +Debug.ShouldStop(4096); +__ref.getField(false,"_guarda" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"True")); + BA.debugLineNum = 174;BA.debugLine="l_sinUbicacion.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_sinubicacion" /*RemoteObject*/ ).runMethod(true,"setVisible",c_nuevocliente.__c.getField(true,"True")); + BA.debugLineNum = 175;BA.debugLine="lat = Location1.Latitude"; +Debug.ShouldStop(16384); +__ref.setField ("_lat" /*RemoteObject*/ ,_location1.runMethod(true,"getLatitude")); + BA.debugLineNum = 176;BA.debugLine="lon = Location1.Longitude"; +Debug.ShouldStop(32768); +__ref.setField ("_lon" /*RemoteObject*/ ,_location1.runMethod(true,"getLongitude")); + BA.debugLineNum = 177;BA.debugLine="l_sinUbicacion.Text = (\"Latitud: \" & lat & \", Lo"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_sinubicacion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Latitud: "),__ref.getField(true,"_lat" /*RemoteObject*/ ),RemoteObject.createImmutable(", Longotud: "),__ref.getField(true,"_lon" /*RemoteObject*/ ))))); + }; + BA.debugLineNum = 180;BA.debugLine="b_ubicacion.TextSize = 13"; +Debug.ShouldStop(524288); +__ref.getField(false,"_b_ubicacion" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 181;BA.debugLine="b_ubicacion.Text = $\"Precisión GPS $1.0{Location1"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_b_ubicacion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Precisión GPS "),c_nuevocliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((_location1.runMethod(true,"getAccuracy")))),RemoteObject.createImmutable(" m"))))); + BA.debugLineNum = 182;BA.debugLine="If Location1.Accuracy > 200 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_location1.runMethod(true,"getAccuracy"),BA.numberCast(double.class, 200))) { + BA.debugLineNum = 183;BA.debugLine="b_ubicacion.TextColor = Colors.Red"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_b_ubicacion" /*RemoteObject*/ ).runMethod(true,"setTextColor",c_nuevocliente.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 184;BA.debugLine="b_ubicacion.TextSize = 16"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_b_ubicacion" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 16)); + BA.debugLineNum = 185;BA.debugLine="b_ubicacion.Text = $\"Mala señal $1.0{Location1.A"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_b_ubicacion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Mala señal "),c_nuevocliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((_location1.runMethod(true,"getAccuracy")))),RemoteObject.createImmutable(" m"))))); + }; + BA.debugLineNum = 187;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guarda_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GUARDA_Click (c_nuevocliente) ","c_nuevocliente",12,__ref.getField(false, "ba"),__ref,220); +if (RapidSub.canDelegate("guarda_click")) { return __ref.runUserSub(false, "c_nuevocliente","guarda_click", __ref);} +RemoteObject _hora = RemoteObject.createImmutable(""); +RemoteObject _mins = RemoteObject.createImmutable(""); +RemoteObject _segs = RemoteObject.createImmutable(""); + BA.debugLineNum = 220;BA.debugLine="Sub GUARDA_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 229;BA.debugLine="ToastMessageShow(\"El punto está DENTRO del polí"; +Debug.ShouldStop(16); +c_nuevocliente.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("El punto está DENTRO del polígono")),(Object)(c_nuevocliente.__c.getField(true,"True"))); + BA.debugLineNum = 230;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +Debug.ShouldStop(32); +c_nuevocliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NuevoCliente"))); + BA.debugLineNum = 234;BA.debugLine="If E_NOMBRE.Text = \"\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 235;BA.debugLine="MsgboxAsync(\"Por favor captura el nombre de la"; +Debug.ShouldStop(1024); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor captura el nombre de la Tienda")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 237;BA.debugLine="Else If et_direccion.Text.Length > 3 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_et_direccion" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 239;BA.debugLine="If lat <> 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_lat" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 241;BA.debugLine="If giros <> \"SELECCIONA UNA OPCIÓN\" Or cb_gir"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_giros" /*RemoteObject*/ ),BA.ObjectToString("SELECCIONA UNA OPCIÓN")) || RemoteObject.solveBoolean("!",__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ ),BA.ObjectToString("SELECCIONA UNA OPCIÓN"))) { + BA.debugLineNum = 243;BA.debugLine="If ET_Atiende.Text <> \"\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 244;BA.debugLine="If et_colonia.Text <> \"\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_colonia" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 245;BA.debugLine="If et_colonia.Text <> \"\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_colonia" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 246;BA.debugLine="If et_cp.Text <> \"\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_et_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 248;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(8388608); +c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 249;BA.debugLine="DateTime.Timeformat = \"HHmmss\""; +Debug.ShouldStop(16777216); +c_nuevocliente.__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_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nuevocliente.__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_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 252;BA.debugLine="Log($\" //////////// Date: ${sDate} - T"; +Debug.ShouldStop(134217728); +c_nuevocliente.__c.runVoidMethod ("LogImpl","516908320",(RemoteObject.concat(RemoteObject.createImmutable(" //////////// Date: "),c_nuevocliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_sdate" /*RemoteObject*/ )))),RemoteObject.createImmutable(" - Time: "),c_nuevocliente.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_stime" /*RemoteObject*/ )))),RemoteObject.createImmutable(" ////////////////"))),0); + BA.debugLineNum = 254;BA.debugLine="Private hora As String = sTime.SubString"; +Debug.ShouldStop(536870912); +_hora = __ref.getField(true,"_stime" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("hora", _hora);Debug.locals.put("hora", _hora); + BA.debugLineNum = 255;BA.debugLine="Private mins As String = sTime.SubString"; +Debug.ShouldStop(1073741824); +_mins = __ref.getField(true,"_stime" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("mins", _mins);Debug.locals.put("mins", _mins); + BA.debugLineNum = 256;BA.debugLine="Private segs As String = sTime.SubString"; +Debug.ShouldStop(-2147483648); +_segs = __ref.getField(true,"_stime" /*RemoteObject*/ ).runMethod(true,"substring",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("segs", _segs);Debug.locals.put("segs", _segs); + BA.debugLineNum = 257;BA.debugLine="sTime = hora & \":\" & mins & \":\" & segs"; +Debug.ShouldStop(1); +__ref.setField ("_stime" /*RemoteObject*/ ,RemoteObject.concat(_hora,RemoteObject.createImmutable(":"),_mins,RemoteObject.createImmutable(":"),_segs)); + BA.debugLineNum = 258;BA.debugLine="Log(\"////////////// sTime: \"&sTime&\" ///"; +Debug.ShouldStop(2); +c_nuevocliente.__c.runVoidMethod ("LogImpl","516908326",RemoteObject.concat(RemoteObject.createImmutable("////////////// sTime: "),__ref.getField(true,"_stime" /*RemoteObject*/ ),RemoteObject.createImmutable(" ////////////////")),0); + BA.debugLineNum = 259;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nuevocliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA FROM kmt_info")))); + BA.debugLineNum = 260;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 261;BA.debugLine="no_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(16); +__ref.setField ("_no_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 262;BA.debugLine="no_cliente = \"N\" & sTime & no_ruta"; +Debug.ShouldStop(32); +__ref.setField ("_no_cliente" /*RemoteObject*/ ,RemoteObject.concat(RemoteObject.createImmutable("N"),__ref.getField(true,"_stime" /*RemoteObject*/ ),__ref.getField(true,"_no_ruta" /*RemoteObject*/ ))); + BA.debugLineNum = 263;BA.debugLine="Log(\"++ ++ no_cliente = \"&no_cliente)"; +Debug.ShouldStop(64); +c_nuevocliente.__c.runVoidMethod ("LogImpl","516908331",RemoteObject.concat(RemoteObject.createImmutable("++ ++ no_cliente = "),__ref.getField(true,"_no_cliente" /*RemoteObject*/ )),0); + BA.debugLineNum = 264;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 266;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(512); +c_nuevocliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_nuevocliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_no_cliente" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 267;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from C"; +Debug.ShouldStop(1024); +c_nuevocliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 268;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(2048); +c_nuevocliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_nuevocliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_no_cliente" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 269;BA.debugLine="c = Starter.skmt.ExecQuery(\"select ID_AL"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nuevocliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 270;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 = 271;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 272;BA.debugLine="ALMACEN = c.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(32768); +__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))); + }; + BA.debugLineNum = 274;BA.debugLine="c.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 275;BA.debugLine="c = Starter.skmt.ExecQuery(\"select usuar"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_nuevocliente._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 276;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 277;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 = 278;BA.debugLine="c.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 282;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +Debug.ShouldStop(33554432); +c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("dd/MM/yyyy")); + BA.debugLineNum = 283;BA.debugLine="DateTime.Timeformat = \"HH:mm:ss\""; +Debug.ShouldStop(67108864); +c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 284;BA.debugLine="sDate2 = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(134217728); +__ref.setField ("_sdate2" /*RemoteObject*/ ,c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 285;BA.debugLine="sTime2 = DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(268435456); +__ref.setField ("_stime2" /*RemoteObject*/ ,c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_nuevocliente.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 287;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(1073741824); +c_nuevocliente._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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO,CAT_CL_CP) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?,?) ")),(Object)(c_nuevocliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {20},new Object[] {(__ref.getField(true,"_no_cliente" /*RemoteObject*/ )),(__ref.getField(true,"_no_ruta" /*RemoteObject*/ )),(__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),(c_nuevocliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_nuevocliente._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ )),(__ref.getField(false,"_et_cp" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 288;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(-2147483648); +c_nuevocliente._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CLIENTES_NUEVOS(CN_ID, CN_FECHA, CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA,CN_COLONIA, CN_TELEFONO,CN_CP) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_nuevocliente.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {14},new Object[] {__ref.getField(true,"_no_cliente" /*RemoteObject*/ ),RemoteObject.concat(__ref.getField(true,"_sdate2" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime2" /*RemoteObject*/ )),__ref.getField(true,"_usuario" /*RemoteObject*/ ),BA.NumberToString(__ref.getField(true,"_lat" /*RemoteObject*/ )),BA.NumberToString(__ref.getField(true,"_lon" /*RemoteObject*/ )),__ref.getField(false,"_e_nombre" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_et_direccion" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(true,"_almacen" /*RemoteObject*/ ),__ref.getField(true,"_no_ruta" /*RemoteObject*/ ),__ref.getField(false,"_cb_giro" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xcombobox.class, "_getselecteditem" /*RemoteObject*/ ),__ref.getField(false,"_et_atiende" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_et_colonia" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_et_telefono" /*RemoteObject*/ ).runMethod(true,"getText"),__ref.getField(false,"_et_cp" /*RemoteObject*/ ).runMethod(true,"getText")}))))); + BA.debugLineNum = 290;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(2); +c_nuevocliente._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 291;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; +Debug.ShouldStop(4); +c_nuevocliente.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((c_nuevocliente._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLP"))); + }else { + BA.debugLineNum = 293;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar el"; +Debug.ShouldStop(16); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor, debe capturar el C.P. el negocio.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 296;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar la"; +Debug.ShouldStop(128); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor, debe capturar la colonia el negocio.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 299;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar el t"; +Debug.ShouldStop(1024); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor, debe capturar el telfono.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 303;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar al en"; +Debug.ShouldStop(16384); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor, debe capturar al encargado que atiende el negocio.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 306;BA.debugLine="MsgboxAsync(\"Por favor captura el giro del c"; +Debug.ShouldStop(131072); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor captura el giro del cliente")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 309;BA.debugLine="MsgboxAsync(\"Por favor revisa que tengas seña"; +Debug.ShouldStop(1048576); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor revisa que tengas señal GPS")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 312;BA.debugLine="MsgboxAsync(\"Por favor captura la dirección de"; +Debug.ShouldStop(8388608); +c_nuevocliente.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("Por favor captura la dirección del cliente")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + }} +; + BA.debugLineNum = 319;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_nuevocliente) ","c_nuevocliente",12,__ref.getField(false, "ba"),__ref,50); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_nuevocliente","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 50;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(131072); + BA.debugLineNum = 51;BA.debugLine="Return Me"; +Debug.ShouldStop(262144); +if (true) return __ref; + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_nuevocliente_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_nuevoCliente_Click (c_nuevocliente) ","c_nuevocliente",12,__ref.getField(false, "ba"),__ref,324); +if (RapidSub.canDelegate("p_nuevocliente_click")) { return __ref.runUserSub(false, "c_nuevocliente","p_nuevocliente_click", __ref);} + BA.debugLineNum = 324;BA.debugLine="Private Sub p_nuevoCliente_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 326;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pointinpolygon(RemoteObject __ref,RemoteObject _point,RemoteObject _polygon) throws Exception{ +try { + Debug.PushSubsStack("PointInPolygon (c_nuevocliente) ","c_nuevocliente",12,__ref.getField(false, "ba"),__ref,194); +if (RapidSub.canDelegate("pointinpolygon")) { return __ref.runUserSub(false, "c_nuevocliente","pointinpolygon", __ref, _point, _polygon);} +RemoteObject _x = RemoteObject.createImmutable(0); +RemoteObject _y = RemoteObject.createImmutable(0); +RemoteObject _inside = RemoteObject.createImmutable(false); +int _i = 0; +RemoteObject _j = RemoteObject.createImmutable(0); +RemoteObject _p1_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +RemoteObject _p2_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +RemoteObject _xi = RemoteObject.createImmutable(0); +RemoteObject _yi = RemoteObject.createImmutable(0); +RemoteObject _xj = RemoteObject.createImmutable(0); +RemoteObject _yj = RemoteObject.createImmutable(0); +RemoteObject _intersect = RemoteObject.createImmutable(false); +Debug.locals.put("point", _point); +Debug.locals.put("polygon", _polygon); + BA.debugLineNum = 194;BA.debugLine="Sub PointInPolygon(point As LatLng, polygon As Lis"; +Debug.ShouldStop(2); + BA.debugLineNum = 195;BA.debugLine="Dim x As Double = point.Longitude"; +Debug.ShouldStop(4); +_x = _point.runMethod(true,"getLongitude");Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 196;BA.debugLine="Dim y As Double = point.Latitude"; +Debug.ShouldStop(8); +_y = _point.runMethod(true,"getLatitude");Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 198;BA.debugLine="Dim inside As Boolean = False"; +Debug.ShouldStop(32); +_inside = c_nuevocliente.__c.getField(true,"False");Debug.locals.put("inside", _inside);Debug.locals.put("inside", _inside); + BA.debugLineNum = 199;BA.debugLine="For i = 0 To polygon.Size - 1"; +Debug.ShouldStop(64); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_polygon.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 200;BA.debugLine="Dim j As Int = (i + 1) Mod polygon.Size"; +Debug.ShouldStop(128); +_j = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1)),_polygon.runMethod(true,"getSize")}, "%",0, 1);Debug.locals.put("j", _j);Debug.locals.put("j", _j); + BA.debugLineNum = 201;BA.debugLine="Dim p1_1 As LatLng = polygon.Get(i)"; +Debug.ShouldStop(256); +_p1_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +_p1_1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"), _polygon.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("p1_1", _p1_1);Debug.locals.put("p1_1", _p1_1); + BA.debugLineNum = 202;BA.debugLine="Dim p2_1 As LatLng = polygon.Get(j)"; +Debug.ShouldStop(512); +_p2_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +_p2_1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"), _polygon.runMethod(false,"Get",(Object)(_j)));Debug.locals.put("p2_1", _p2_1);Debug.locals.put("p2_1", _p2_1); + BA.debugLineNum = 204;BA.debugLine="Dim xi As Double = p1_1.Longitude"; +Debug.ShouldStop(2048); +_xi = _p1_1.runMethod(true,"getLongitude");Debug.locals.put("xi", _xi);Debug.locals.put("xi", _xi); + BA.debugLineNum = 205;BA.debugLine="Dim yi As Double = p1_1.Latitude"; +Debug.ShouldStop(4096); +_yi = _p1_1.runMethod(true,"getLatitude");Debug.locals.put("yi", _yi);Debug.locals.put("yi", _yi); + BA.debugLineNum = 206;BA.debugLine="Dim xj As Double = p2_1.Longitude"; +Debug.ShouldStop(8192); +_xj = _p2_1.runMethod(true,"getLongitude");Debug.locals.put("xj", _xj);Debug.locals.put("xj", _xj); + BA.debugLineNum = 207;BA.debugLine="Dim yj As Double = p2_1.Latitude"; +Debug.ShouldStop(16384); +_yj = _p2_1.runMethod(true,"getLatitude");Debug.locals.put("yj", _yj);Debug.locals.put("yj", _yj); + BA.debugLineNum = 209;BA.debugLine="Dim intersect As Boolean = ((yi > y) <> (yj > y)"; +Debug.ShouldStop(65536); +_intersect = BA.ObjectToBoolean(RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("!",RemoteObject.createImmutable((RemoteObject.solveBoolean(">",_yi,_y))),BA.ObjectToBoolean((RemoteObject.solveBoolean(">",_yj,_y))))))) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("<",_x,RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_xj,_xi}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {_y,_yi}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {_yj,_yi}, "-",1, 0)),_xi}, "*/+",1, 0))))));Debug.locals.put("intersect", _intersect);Debug.locals.put("intersect", _intersect); + BA.debugLineNum = 210;BA.debugLine="If intersect Then"; +Debug.ShouldStop(131072); +if (_intersect.get().booleanValue()) { + BA.debugLineNum = 211;BA.debugLine="inside = Not(inside)"; +Debug.ShouldStop(262144); +_inside = c_nuevocliente.__c.runMethod(true,"Not",(Object)(_inside));Debug.locals.put("inside", _inside); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 215;BA.debugLine="Return inside"; +Debug.ShouldStop(4194304); +if (true) return _inside; + BA.debugLineNum = 218;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_pedidos.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_pedidos.java new file mode 100644 index 0000000..f59c258 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_pedidos.java @@ -0,0 +1,84 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_pedidos { + public static RemoteObject myClass; + public c_pedidos() { + } + public static PCBA staticBA = new PCBA(null, c_pedidos.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _t3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Timer"); +public static RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +public static RemoteObject _sb = RemoteObject.declareNull("anywheresoftware.b4a.keywords.StringBuilderWrapper"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _e = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _h = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _cc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _dd = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _l_tipo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_sub = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_marca = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_desc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_precio = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_bodega = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _cantidad = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _guardar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _terminar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _img_prod = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _img_paso = null; +public static RemoteObject _l_proid = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _clie_id = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _t_venta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _promo_c = RemoteObject.createImmutable(""); +public static RemoteObject _i_fotol = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _desc_promo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _nopromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _tot_art_promo = RemoteObject.createImmutable(""); +public static RemoteObject _cambio = RemoteObject.createImmutable(""); +public static RemoteObject _costo_tot = RemoteObject.createImmutable(""); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _preciosin = RemoteObject.createImmutable(""); +public static RemoteObject _cl_ruta = RemoteObject.createImmutable(""); +public static RemoteObject _d = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _tot_art_promor = RemoteObject.createImmutable(""); +public static RemoteObject _promo_cr = RemoteObject.createImmutable(""); +public static RemoteObject _total_promo = RemoteObject.createImmutable(""); +public static RemoteObject _hccp_cant = RemoteObject.createImmutable(""); +public static RemoteObject _tgl = RemoteObject.declareNull("com.rootsoft.togglelibrary.ToggleLibrary"); +public static RemoteObject _precio_cero = RemoteObject.createImmutable(""); +public static RemoteObject _bonsabor = RemoteObject.createImmutable(""); +public static RemoteObject _bonsabor2 = RemoteObject.createImmutable(""); +public static RemoteObject _cmd = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand"); +public static RemoteObject _p_pedido = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"ALMACEN",_ref.getField(false, "_almacen"),"BONSABOR",_ref.getField(false, "_bonsabor"),"BONSABOR2",_ref.getField(false, "_bonsabor2"),"c",_ref.getField(false, "_c"),"cambio",_ref.getField(false, "_cambio"),"cantidad",_ref.getField(false, "_cantidad"),"CC",_ref.getField(false, "_cc"),"cl_ruta",_ref.getField(false, "_cl_ruta"),"clie_id",_ref.getField(false, "_clie_id"),"cmd",_ref.getField(false, "_cmd"),"COSTO_TOT",_ref.getField(false, "_costo_tot"),"d",_ref.getField(false, "_d"),"DateUtils",_ref.getField(false, "_dateutils"),"DD",_ref.getField(false, "_dd"),"DESC_PROMO",_ref.getField(false, "_desc_promo"),"e",_ref.getField(false, "_e"),"f",_ref.getField(false, "_f"),"g",_ref.getField(false, "_g"),"guardar",_ref.getField(false, "_guardar"),"h",_ref.getField(false, "_h"),"HCCP_CANT",_ref.getField(false, "_hccp_cant"),"i_fotol",_ref.getField(false, "_i_fotol"),"IMG_PASO",_ref.getField(false, "_img_paso"),"img_prod",_ref.getField(false, "_img_prod"),"l_bodega",_ref.getField(false, "_l_bodega"),"l_desc",_ref.getField(false, "_l_desc"),"l_marca",_ref.getField(false, "_l_marca"),"l_precio",_ref.getField(false, "_l_precio"),"L_PROID",_ref.getField(false, "_l_proid"),"l_sub",_ref.getField(false, "_l_sub"),"l_tipo",_ref.getField(false, "_l_tipo"),"nopromo",_ref.getField(false, "_nopromo"),"p",_ref.getField(false, "_p"),"p_pedido",_ref.getField(false, "_p_pedido"),"precio_Cero",_ref.getField(false, "_precio_cero"),"preciosin",_ref.getField(false, "_preciosin"),"PROMO_C",_ref.getField(false, "_promo_c"),"PROMO_CR",_ref.getField(false, "_promo_cr"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"sb",_ref.getField(false, "_sb"),"sDate",_ref.getField(false, "_sdate"),"skmt",_ref.getField(false, "_skmt"),"sTime",_ref.getField(false, "_stime"),"t_venta",_ref.getField(false, "_t_venta"),"t3",_ref.getField(false, "_t3"),"Terminar",_ref.getField(false, "_terminar"),"tgl",_ref.getField(false, "_tgl"),"TOT_ART_PROMO",_ref.getField(false, "_tot_art_promo"),"TOT_ART_PROMOR",_ref.getField(false, "_tot_art_promor"),"TOTAL_PROMO",_ref.getField(false, "_total_promo"),"usuario",_ref.getField(false, "_usuario"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_pedidos_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_pedidos_subs_0.java new file mode 100644 index 0000000..7481b3e --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_pedidos_subs_0.java @@ -0,0 +1,1686 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_pedidos_subs_0 { + + +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_pedidos) ","c_pedidos",13,__ref.getField(false, "ba"),__ref,79); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_pedidos","b4xpage_appear", __ref);} +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); + BA.debugLineNum = 79;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(16384); + BA.debugLineNum = 80;BA.debugLine="tgl.Initialize"; +Debug.ShouldStop(32768); +__ref.getField(false,"_tgl" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba")); + BA.debugLineNum = 81;BA.debugLine="BONSABOR = 0"; +Debug.ShouldStop(65536); +__ref.setField ("_bonsabor" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 82;BA.debugLine="BONSABOR2 = 0"; +Debug.ShouldStop(131072); +__ref.setField ("_bonsabor2" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 83;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(262144); +if (c_pedidos.__c.runMethod(true,"Not",(Object)(c_pedidos._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { + BA.debugLineNum = 84;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +Debug.ShouldStop(524288); +c_pedidos.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(c_pedidos.__c.getField(true,"True"))); + BA.debugLineNum = 85;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(1048576); +c_pedidos.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_pedidos._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + }; + BA.debugLineNum = 87;BA.debugLine="cantidad.Text = \"\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 88;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 89;BA.debugLine="C.Position =0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 90;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(33554432); +__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))); + BA.debugLineNum = 91;BA.debugLine="C.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 92;BA.debugLine="i_fotol.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_i_fotol" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"False")); + BA.debugLineNum = 93;BA.debugLine="sb.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_sb" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 94;BA.debugLine="p.Shell(\"ping -c1 -W1 177.244.63.54\",Null, sb,Nul"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p" /*RemoteObject*/ ).runVoidMethod ("Shell",(Object)(BA.ObjectToString("ping -c1 -W1 177.244.63.54")),(Object)((c_pedidos.__c.getField(false,"Null"))),(Object)((__ref.getField(false,"_sb" /*RemoteObject*/ ).getObject())),(Object)((c_pedidos.__c.getField(false,"Null")))); + BA.debugLineNum = 95;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_pedidos.__c.getField(true,"True"))); + BA.debugLineNum = 96;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_GP"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_DEV from CAT_GUNAPROD where CAT_GP_NOMBRE In (Select PDESC from PROID)")))); + BA.debugLineNum = 97;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 98;BA.debugLine="L_PROID.Text = c.GetString(\"CAT_GP_ID\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))))); + BA.debugLineNum = 99;BA.debugLine="l_tipo.Text = c.GetString(\"CAT_GP_TIPO\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_TIPO"))))); + BA.debugLineNum = 100;BA.debugLine="l_sub.Text = c.GetString(\"CAT_GP_SUBTIPO\")"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_sub" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_SUBTIPO"))))); + BA.debugLineNum = 101;BA.debugLine="l_marca.Text = c.GetString(\"CAT_GP_CLASIF\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF"))))); + BA.debugLineNum = 102;BA.debugLine="l_desc.Text = c.GetString(\"CAT_GP_NOMBRE\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))); + BA.debugLineNum = 103;BA.debugLine="l_precio.Text = c.GetDouble(\"CAT_GP_PRECIO\")"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_precio" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))))); + BA.debugLineNum = 104;BA.debugLine="l_bodega.Text = c.GetString(\"CAT_GP_ALMACEN\")"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN"))))); + BA.debugLineNum = 105;BA.debugLine="IMG_PASO = c.GetBlob(\"CAT_GP_IMG\")"; +Debug.ShouldStop(256); +__ref.setField ("_img_paso" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(false,"GetBlob",(Object)(RemoteObject.createImmutable("CAT_GP_IMG")))); + BA.debugLineNum = 106;BA.debugLine="PROMO_C = c.GetString(\"CAT_GP_STS\")"; +Debug.ShouldStop(512); +__ref.setField ("_promo_c" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_STS")))); + BA.debugLineNum = 107;BA.debugLine="cambio = c.GetString(\"CAT_GP_DEV\")"; +Debug.ShouldStop(1024); +__ref.setField ("_cambio" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_DEV")))); + BA.debugLineNum = 108;BA.debugLine="preciosin = c.GetString(\"CAT_GP_IMP2\")"; +Debug.ShouldStop(2048); +__ref.setField ("_preciosin" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_IMP2")))); + BA.debugLineNum = 109;BA.debugLine="PROMO_CR = c.GetString(\"CAT_GP_IMP1\")"; +Debug.ShouldStop(4096); +__ref.setField ("_promo_cr" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_IMP1")))); + BA.debugLineNum = 110;BA.debugLine="cambio = \"0\""; +Debug.ShouldStop(8192); +__ref.setField ("_cambio" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 112;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select count"; +Debug.ShouldStop(32768); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as CUANTOS FROM pedido WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select cuenta from cuentaa) ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))})))); + BA.debugLineNum = 113;BA.debugLine="e.Position =0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 114;BA.debugLine="If e.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { + BA.debugLineNum = 115;BA.debugLine="If l_marca.text = \"PROMOS\" And l_tipo.Text =\"PRO"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS"))) { + BA.debugLineNum = 116;BA.debugLine="DESC_PROMO.Visible = True"; +Debug.ShouldStop(524288); +__ref.getField(false,"_desc_promo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"True")); + BA.debugLineNum = 117;BA.debugLine="CC=B4XPages.MainPage.skmt.ExecQuery2(\"select co"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cc" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as CUANTOS FROM PROMOS_COMP WHERE CAT_PA_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))})))); + BA.debugLineNum = 118;BA.debugLine="CC.Position =0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 119;BA.debugLine="If CC.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { + BA.debugLineNum = 120;BA.debugLine="l_bodega.Text = \"0\" ' se modifica a cero para"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + }else { + BA.debugLineNum = 122;BA.debugLine="CC.Close"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cc" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 123;BA.debugLine="CC=B4XPages.MainPage.skmt.ExecQuery2(\"select C"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cc" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE FROM PROMOS_COMP WHERE CAT_PA_ID = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))})))); + BA.debugLineNum = 124;BA.debugLine="CC.Position =0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 126;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT C"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))})))); + BA.debugLineNum = 127;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 128;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { + BA.debugLineNum = 129;BA.debugLine="HCCP_CANT = 0"; +Debug.ShouldStop(1); +__ref.setField ("_hccp_cant" /*RemoteObject*/ ,BA.NumberToString(0)); + }else { + BA.debugLineNum = 131;BA.debugLine="DD.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 132;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +Debug.ShouldStop(8); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT HCCP_CANT FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))})))); + BA.debugLineNum = 133;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(16); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 134;BA.debugLine="HCCP_CANT = DD.GetString(\"HCCP_CANT\")"; +Debug.ShouldStop(32); +__ref.setField ("_hccp_cant" /*RemoteObject*/ ,__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HCCP_CANT")))); + BA.debugLineNum = 135;BA.debugLine="DD.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 137;BA.debugLine="BONSABOR = HCCP_CANT"; +Debug.ShouldStop(256); +__ref.setField ("_bonsabor" /*RemoteObject*/ ,__ref.getField(true,"_hccp_cant" /*RemoteObject*/ )); + BA.debugLineNum = 138;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT C"; +Debug.ShouldStop(512); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))})))); + BA.debugLineNum = 139;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 140;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { + BA.debugLineNum = 141;BA.debugLine="HCCP_CANT = 0"; +Debug.ShouldStop(4096); +__ref.setField ("_hccp_cant" /*RemoteObject*/ ,BA.NumberToString(0)); + }else { + BA.debugLineNum = 143;BA.debugLine="DD.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 144;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +Debug.ShouldStop(32768); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT SUM(HVD_CANT) AS HCCP_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))})))); + BA.debugLineNum = 145;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 146;BA.debugLine="HCCP_CANT = DD.GetString(\"HCCP_CANT\")"; +Debug.ShouldStop(131072); +__ref.setField ("_hccp_cant" /*RemoteObject*/ ,__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HCCP_CANT")))); + BA.debugLineNum = 147;BA.debugLine="DD.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 149;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"Select C"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_dd" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PROID IN (select CAT_GP_ID from CAT_GUNAPROD where CAT_GP_CLASIF = ?) ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))})))); + BA.debugLineNum = 150;BA.debugLine="DD.Position =0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 151;BA.debugLine="BONSABOR2 = DD.GetString(\"CUANTOS\")"; +Debug.ShouldStop(4194304); +__ref.setField ("_bonsabor2" /*RemoteObject*/ ,__ref.getField(false,"_dd" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 152;BA.debugLine="DD.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_dd" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 153;BA.debugLine="TOTAL_PROMO = CC.GetString(\"CAT_PA_MAXPROMCLIE"; +Debug.ShouldStop(16777216); +__ref.setField ("_total_promo" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROMCLIE")))),BA.numberCast(double.class, __ref.getField(true,"_hccp_cant" /*RemoteObject*/ ))}, "-",1, 0))); + BA.debugLineNum = 154;BA.debugLine="If HCCP_CANT = 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_hccp_cant" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 155;BA.debugLine="l_bodega.Text = CC.GetString(\"CAT_PA_MAXPROM\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROM"))))); + }else +{ BA.debugLineNum = 156;BA.debugLine="Else IF TOTAL_PROMO > CC.GetString(\"CAT_PA_MAX"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_total_promo" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROMREC")))))) { + BA.debugLineNum = 157;BA.debugLine="l_bodega.Text = CC.GetString(\"CAT_PA_MAXPROM"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_cc" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROMREC"))))); + }else { + BA.debugLineNum = 159;BA.debugLine="l_bodega.Text = TOTAL_PROMO"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_total_promo" /*RemoteObject*/ ))); + }} +; + }; + }else { + BA.debugLineNum = 163;BA.debugLine="DESC_PROMO.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_desc_promo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"False")); + }; + BA.debugLineNum = 165;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 166;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CASE"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CASE WHEN pe_costo_tot is null then 0 else sum( pe_costo_tot ) end as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 167;BA.debugLine="c.Position=0"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 168;BA.debugLine="t_venta.Text = c.GetString(\"TOTAL_CLIE\")"; +Debug.ShouldStop(128); +__ref.getField(false,"_t_venta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))))); + BA.debugLineNum = 169;BA.debugLine="c.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 170;BA.debugLine="Terminar.Visible = True"; +Debug.ShouldStop(512); +__ref.getField(false,"_terminar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"True")); + BA.debugLineNum = 171;BA.debugLine="guardar.Visible = True"; +Debug.ShouldStop(1024); +__ref.getField(false,"_guardar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"True")); + BA.debugLineNum = 172;BA.debugLine="cantidad.Visible = True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"True")); + BA.debugLineNum = 173;BA.debugLine="If cambio = \"1\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cambio" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 174;BA.debugLine="nopromo.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_nopromo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"True")); + }else { + BA.debugLineNum = 176;BA.debugLine="nopromo.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_nopromo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"False")); + }; + BA.debugLineNum = 178;BA.debugLine="Dim out As OutputStream"; +Debug.ShouldStop(131072); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("out", _out); + BA.debugLineNum = 179;BA.debugLine="out = File.OpenOutput(ruta, \"1.jpg\", False)"; +Debug.ShouldStop(262144); +_out = c_pedidos.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(BA.ObjectToString("1.jpg")),(Object)(c_pedidos.__c.getField(true,"False")));Debug.locals.put("out", _out); + BA.debugLineNum = 180;BA.debugLine="out.WriteBytes(IMG_PASO, 0, IMG_PASO.Length)"; +Debug.ShouldStop(524288); +_out.runVoidMethod ("WriteBytes",(Object)(__ref.getField(false,"_img_paso" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_img_paso" /*RemoteObject*/ ).getField(true,"length"))); + BA.debugLineNum = 181;BA.debugLine="out.Close"; +Debug.ShouldStop(1048576); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 182;BA.debugLine="img_prod.Bitmap = LoadBitmap(ruta,\"1.jpg\")"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_img_prod" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_pedidos.__c.runMethod(false,"LoadBitmap",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("1.jpg"))).getObject())); + BA.debugLineNum = 183;BA.debugLine="TOT_ART_PROMO = \"0\""; +Debug.ShouldStop(4194304); +__ref.setField ("_tot_art_promo" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 184;BA.debugLine="TOT_ART_PROMOR = \"0\""; +Debug.ShouldStop(8388608); +__ref.setField ("_tot_art_promor" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 185;BA.debugLine="If l_marca.text = \"PROMOS\" And l_tipo.Text =\"PRO"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 186;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE NO PUEDE TENER ESTA"; +Debug.ShouldStop(33554432); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("ALERTA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("EL CLIENTE NO PUEDE TENER ESTA PROMOCION"))),__ref.getField(false, "ba")); + BA.debugLineNum = 187;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(67108864); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }else +{ BA.debugLineNum = 188;BA.debugLine="ELSE IF l_marca.text = \"PROMOS\" And l_tipo.Text"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROUNI1")) && RemoteObject.solveBoolean("!",__ref.getField(true,"_bonsabor" /*RemoteObject*/ ),BA.ObjectToString("1")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_bonsabor2" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 189;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE NO PUEDE TENER ESTA"; +Debug.ShouldStop(268435456); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("ALERTA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("EL CLIENTE NO PUEDE TENER ESTA PROMOCION"))),__ref.getField(false, "ba")); + BA.debugLineNum = 190;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(536870912); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }} +; + }else { + BA.debugLineNum = 193;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE YA COMPRO ESTE PRODU"; +Debug.ShouldStop(1); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("ALERTA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("EL CLIENTE YA COMPRO ESTE PRODUCTO REVISAR NOTA"))),__ref.getField(false, "ba")); + BA.debugLineNum = 194;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(2); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }; + BA.debugLineNum = 196;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_pedidos) ","c_pedidos",13,__ref.getField(false, "ba"),__ref,531); +if (RapidSub.canDelegate("b4xpage_closerequest")) { return __ref.runUserSub(false, "c_pedidos","b4xpage_closerequest", __ref);} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(SHARK2.keymon.com.mx.c_pedidos parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_pedidos parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_pedidos) ","c_pedidos",13,__ref.getField(false, "ba"),__ref,531); +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 = 534;BA.debugLine="Msgbox(\"Presione Boton Terminar.\",\"ADVERTENCIA\")"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Presione Boton Terminar.")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + BA.debugLineNum = 535;BA.debugLine="Return False"; +Debug.ShouldStop(4194304); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 536;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_pedidos) ","c_pedidos",13,__ref.getField(false, "ba"),__ref,64); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_pedidos","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 64;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 65;BA.debugLine="Root = Root1"; +Debug.ShouldStop(1); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 67;BA.debugLine="Root.LoadLayout(\"pedido\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("pedido")),__ref.getField(false, "ba")); + BA.debugLineNum = 68;BA.debugLine="i_fotol.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_i_fotol" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"False")); + BA.debugLineNum = 70;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(32); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 71;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",c_pedidos.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_pedidos.__c.getField(true,"False"))) { + BA.debugLineNum = 72;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(128); +c_pedidos.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_pedidos.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 75;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 = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_pedidos._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_pedidos._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_pedidos._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_pedidos._xui); + //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; +c_pedidos._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_pedidos._g); + //BA.debugLineNum = 6;BA.debugLine="Dim ruta As String"; +c_pedidos._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_pedidos._ruta); + //BA.debugLineNum = 7;BA.debugLine="Dim skmt As SQL"; +c_pedidos._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",c_pedidos._skmt); + //BA.debugLineNum = 8;BA.debugLine="Private t3 As Timer"; +c_pedidos._t3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t3",c_pedidos._t3); + //BA.debugLineNum = 9;BA.debugLine="Dim p As Phone"; +c_pedidos._p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_p",c_pedidos._p); + //BA.debugLineNum = 10;BA.debugLine="Dim sb As StringBuilder"; +c_pedidos._sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");__ref.setField("_sb",c_pedidos._sb); + //BA.debugLineNum = 12;BA.debugLine="Dim c As Cursor"; +c_pedidos._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_pedidos._c); + //BA.debugLineNum = 13;BA.debugLine="Dim e As Cursor"; +c_pedidos._e = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_e",c_pedidos._e); + //BA.debugLineNum = 14;BA.debugLine="Dim f As Cursor"; +c_pedidos._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",c_pedidos._f); + //BA.debugLineNum = 15;BA.debugLine="Dim h As Cursor"; +c_pedidos._h = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_h",c_pedidos._h); + //BA.debugLineNum = 16;BA.debugLine="Dim CC As Cursor"; +c_pedidos._cc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_cc",c_pedidos._cc); + //BA.debugLineNum = 17;BA.debugLine="Dim DD As Cursor"; +c_pedidos._dd = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_dd",c_pedidos._dd); + //BA.debugLineNum = 18;BA.debugLine="Dim l_tipo As Label"; +c_pedidos._l_tipo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_tipo",c_pedidos._l_tipo); + //BA.debugLineNum = 19;BA.debugLine="Dim l_sub As Label"; +c_pedidos._l_sub = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_sub",c_pedidos._l_sub); + //BA.debugLineNum = 20;BA.debugLine="Dim l_marca As Label"; +c_pedidos._l_marca = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_marca",c_pedidos._l_marca); + //BA.debugLineNum = 21;BA.debugLine="Dim l_desc As Label"; +c_pedidos._l_desc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_desc",c_pedidos._l_desc); + //BA.debugLineNum = 22;BA.debugLine="Dim l_precio As Label"; +c_pedidos._l_precio = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_precio",c_pedidos._l_precio); + //BA.debugLineNum = 23;BA.debugLine="Dim l_bodega As Label"; +c_pedidos._l_bodega = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_bodega",c_pedidos._l_bodega); + //BA.debugLineNum = 24;BA.debugLine="Dim cantidad As EditText"; +c_pedidos._cantidad = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_cantidad",c_pedidos._cantidad); + //BA.debugLineNum = 25;BA.debugLine="Dim guardar As Button"; +c_pedidos._guardar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_guardar",c_pedidos._guardar); + //BA.debugLineNum = 26;BA.debugLine="Dim Terminar As Button"; +c_pedidos._terminar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_terminar",c_pedidos._terminar); + //BA.debugLineNum = 27;BA.debugLine="Dim img_prod As ImageView"; +c_pedidos._img_prod = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_img_prod",c_pedidos._img_prod); + //BA.debugLineNum = 28;BA.debugLine="Dim IMG_PASO() As Byte"; +c_pedidos._img_paso = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});__ref.setField("_img_paso",c_pedidos._img_paso); + //BA.debugLineNum = 29;BA.debugLine="Dim L_PROID As Label"; +c_pedidos._l_proid = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_proid",c_pedidos._l_proid); + //BA.debugLineNum = 30;BA.debugLine="Dim clie_id As String"; +c_pedidos._clie_id = RemoteObject.createImmutable("");__ref.setField("_clie_id",c_pedidos._clie_id); + //BA.debugLineNum = 31;BA.debugLine="Dim sDate,sTime As String"; +c_pedidos._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_pedidos._sdate); +c_pedidos._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_pedidos._stime); + //BA.debugLineNum = 32;BA.debugLine="Dim usuario As String"; +c_pedidos._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_pedidos._usuario); + //BA.debugLineNum = 34;BA.debugLine="Dim t_venta As Label"; +c_pedidos._t_venta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_t_venta",c_pedidos._t_venta); + //BA.debugLineNum = 35;BA.debugLine="Dim PROMO_C As String"; +c_pedidos._promo_c = RemoteObject.createImmutable("");__ref.setField("_promo_c",c_pedidos._promo_c); + //BA.debugLineNum = 36;BA.debugLine="Dim i_fotol As ImageView"; +c_pedidos._i_fotol = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_i_fotol",c_pedidos._i_fotol); + //BA.debugLineNum = 37;BA.debugLine="Private DESC_PROMO As Button"; +c_pedidos._desc_promo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_desc_promo",c_pedidos._desc_promo); + //BA.debugLineNum = 38;BA.debugLine="Private nopromo As Button"; +c_pedidos._nopromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_nopromo",c_pedidos._nopromo); + //BA.debugLineNum = 39;BA.debugLine="Dim TOT_ART_PROMO As String"; +c_pedidos._tot_art_promo = RemoteObject.createImmutable("");__ref.setField("_tot_art_promo",c_pedidos._tot_art_promo); + //BA.debugLineNum = 40;BA.debugLine="Dim cambio As String"; +c_pedidos._cambio = RemoteObject.createImmutable("");__ref.setField("_cambio",c_pedidos._cambio); + //BA.debugLineNum = 41;BA.debugLine="Dim COSTO_TOT As String"; +c_pedidos._costo_tot = RemoteObject.createImmutable("");__ref.setField("_costo_tot",c_pedidos._costo_tot); + //BA.debugLineNum = 42;BA.debugLine="Dim ALMACEN As String"; +c_pedidos._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_pedidos._almacen); + //BA.debugLineNum = 43;BA.debugLine="Dim preciosin As String"; +c_pedidos._preciosin = RemoteObject.createImmutable("");__ref.setField("_preciosin",c_pedidos._preciosin); + //BA.debugLineNum = 44;BA.debugLine="Dim cl_ruta As String"; +c_pedidos._cl_ruta = RemoteObject.createImmutable("");__ref.setField("_cl_ruta",c_pedidos._cl_ruta); + //BA.debugLineNum = 45;BA.debugLine="Dim d As Cursor"; +c_pedidos._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_pedidos._d); + //BA.debugLineNum = 46;BA.debugLine="Dim TOT_ART_PROMOR As String"; +c_pedidos._tot_art_promor = RemoteObject.createImmutable("");__ref.setField("_tot_art_promor",c_pedidos._tot_art_promor); + //BA.debugLineNum = 47;BA.debugLine="Dim PROMO_CR As String"; +c_pedidos._promo_cr = RemoteObject.createImmutable("");__ref.setField("_promo_cr",c_pedidos._promo_cr); + //BA.debugLineNum = 48;BA.debugLine="Dim TOTAL_PROMO As String"; +c_pedidos._total_promo = RemoteObject.createImmutable("");__ref.setField("_total_promo",c_pedidos._total_promo); + //BA.debugLineNum = 49;BA.debugLine="Dim HCCP_CANT As String"; +c_pedidos._hccp_cant = RemoteObject.createImmutable("");__ref.setField("_hccp_cant",c_pedidos._hccp_cant); + //BA.debugLineNum = 50;BA.debugLine="Dim tgl As Toggle"; +c_pedidos._tgl = RemoteObject.createNew ("com.rootsoft.togglelibrary.ToggleLibrary");__ref.setField("_tgl",c_pedidos._tgl); + //BA.debugLineNum = 51;BA.debugLine="Dim precio_Cero As String"; +c_pedidos._precio_cero = RemoteObject.createImmutable("");__ref.setField("_precio_cero",c_pedidos._precio_cero); + //BA.debugLineNum = 52;BA.debugLine="Private BONSABOR As String"; +c_pedidos._bonsabor = RemoteObject.createImmutable("");__ref.setField("_bonsabor",c_pedidos._bonsabor); + //BA.debugLineNum = 53;BA.debugLine="Private BONSABOR2 As String"; +c_pedidos._bonsabor2 = RemoteObject.createImmutable("");__ref.setField("_bonsabor2",c_pedidos._bonsabor2); + //BA.debugLineNum = 54;BA.debugLine="Dim cmd As DBCommand"; +c_pedidos._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_pedidos._cmd); + //BA.debugLineNum = 55;BA.debugLine="Private p_pedido As Panel"; +c_pedidos._p_pedido = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_pedido",c_pedidos._p_pedido); + //BA.debugLineNum = 56;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _desc_promo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("DESC_PROMO_Click (c_pedidos) ","c_pedidos",13,__ref.getField(false, "ba"),__ref,548); +if (RapidSub.canDelegate("desc_promo_click")) { return __ref.runUserSub(false, "c_pedidos","desc_promo_click", __ref);} + BA.debugLineNum = 548;BA.debugLine="Sub DESC_PROMO_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 549;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(16); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROIDID"))); + BA.debugLineNum = 550;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(32); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROIDID VALUES (?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 551;BA.debugLine="B4XPages.ShowPage(\"detalle_promo\")"; +Debug.ShouldStop(64); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("detalle_promo"))); + BA.debugLineNum = 552;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_pedidos) ","c_pedidos",13,__ref.getField(false, "ba"),__ref,359); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_pedidos","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 359;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(64); + 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 _guardar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("guardar_Click (c_pedidos) ","c_pedidos",13,__ref.getField(false, "ba"),__ref,198); +if (RapidSub.canDelegate("guardar_click")) { return __ref.runUserSub(false, "c_pedidos","guardar_click", __ref);} +int _i = 0; + BA.debugLineNum = 198;BA.debugLine="Sub guardar_Click"; +Debug.ShouldStop(32); + BA.debugLineNum = 199;BA.debugLine="If cantidad.Text = \"\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 200;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(128); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }else +{ BA.debugLineNum = 201;BA.debugLine="ELSE If cantidad.Text > l_bodega.Text Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"getText")))) { + BA.debugLineNum = 202;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; +Debug.ShouldStop(512); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Exede la existencia")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 203;BA.debugLine="Else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_promo_c" /*RemoteObject*/ )),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 204;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(2048); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROIDID"))); + BA.debugLineNum = 205;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(4096); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROIDID VALUES (?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 206;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)")))); + BA.debugLineNum = 207;BA.debugLine="c.Position =0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 208;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOSD"))),BA.NumberToString(0))) { + BA.debugLineNum = 209;BA.debugLine="Msgbox(\"No tiene venta el cliente para la promo"; +Debug.ShouldStop(65536); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("No tiene venta el cliente para la promo")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 211;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)")))); + BA.debugLineNum = 212;BA.debugLine="C.Position =0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 213;BA.debugLine="TOT_ART_PROMO = C.GetString(\"TOT_ART_PROMO\")"; +Debug.ShouldStop(1048576); +__ref.setField ("_tot_art_promo" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOT_ART_PROMO")))); + BA.debugLineNum = 214;BA.debugLine="COSTO_TOT = C.GetString(\"COSTO_TOT\")"; +Debug.ShouldStop(2097152); +__ref.setField ("_costo_tot" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COSTO_TOT")))); + BA.debugLineNum = 215;BA.debugLine="C.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 216;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)")))); + BA.debugLineNum = 217;BA.debugLine="c.Position =0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 218;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOSD"))),BA.NumberToString(0))) { + BA.debugLineNum = 219;BA.debugLine="TOT_ART_PROMOR = \"0\" 'Msgbox(\"No tiene venta e"; +Debug.ShouldStop(67108864); +__ref.setField ("_tot_art_promor" /*RemoteObject*/ ,BA.ObjectToString("0")); + }else { + BA.debugLineNum = 221;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)")))); + BA.debugLineNum = 222;BA.debugLine="C.Position =0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 223;BA.debugLine="TOT_ART_PROMOR = C.GetString(\"TOT_ART_PROMO\")"; +Debug.ShouldStop(1073741824); +__ref.setField ("_tot_art_promor" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOT_ART_PROMO")))); + }; + BA.debugLineNum = 225;BA.debugLine="C.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 226;BA.debugLine="PROMO_C = PROMO_C * cantidad.Text"; +Debug.ShouldStop(2); +__ref.setField ("_promo_c" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_promo_c" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0))); + BA.debugLineNum = 227;BA.debugLine="PROMO_CR = PROMO_CR * cantidad.Text"; +Debug.ShouldStop(4); +__ref.setField ("_promo_cr" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_promo_cr" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0))); + BA.debugLineNum = 228;BA.debugLine="If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tot_art_promo" /*RemoteObject*/ ),__ref.getField(true,"_promo_c" /*RemoteObject*/ )) && RemoteObject.solveBoolean("=",__ref.getField(true,"_tot_art_promor" /*RemoteObject*/ ),__ref.getField(true,"_promo_cr" /*RemoteObject*/ ))) { + BA.debugLineNum = 229;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; +Debug.ShouldStop(16); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 230;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(32); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1")))); + BA.debugLineNum = 231;BA.debugLine="If D.RowCount>0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 232;BA.debugLine="For i=0 To D.RowCount -1"; +Debug.ShouldStop(128); +{ +final int step34 = 1; +final int limit34 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step34 > 0 && _i <= limit34) || (step34 < 0 && _i >= limit34) ;_i = ((int)(0 + _i + step34)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 233;BA.debugLine="D.Position=i"; +Debug.ShouldStop(256); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 234;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +Debug.ShouldStop(512); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO_SIMPTOS")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD"))))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 237;BA.debugLine="D.Close"; +Debug.ShouldStop(4096); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 238;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(8192); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1")))); + BA.debugLineNum = 239;BA.debugLine="If D.RowCount>0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 240;BA.debugLine="For i=0 To D.RowCount -1"; +Debug.ShouldStop(32768); +{ +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 = 241;BA.debugLine="D.Position=i"; +Debug.ShouldStop(65536); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 242;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +Debug.ShouldStop(131072); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO_SIMPTOS")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD"))))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 245;BA.debugLine="D.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 246;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(2097152); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 247;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(4194304); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 248;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(8388608); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 249;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 250;BA.debugLine="c.Position=0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 251;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(67108864); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 252;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 253;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 254;BA.debugLine="c.Position=0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 255;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(1073741824); +__ref.setField ("_cl_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 256;BA.debugLine="c.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 257;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + 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")))); + BA.debugLineNum = 260;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select cou"; +Debug.ShouldStop(8); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 ")))); + BA.debugLineNum = 262;BA.debugLine="e.Position =0"; +Debug.ShouldStop(32); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 263;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 264;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; +Debug.ShouldStop(128); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_IDPROD, CAT_DP_PZAS,CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 ")))); + BA.debugLineNum = 267;BA.debugLine="If f.RowCount>0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 268;BA.debugLine="For i=0 To f.RowCount -1"; +Debug.ShouldStop(2048); +{ +final int step67 = 1; +final int limit67 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step67 > 0 && _i <= limit67) || (step67 < 0 && _i >= limit67) ;_i = ((int)(0 + _i + step67)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 269;BA.debugLine="f.Position=i"; +Debug.ShouldStop(4096); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 270;BA.debugLine="precio_Cero = f.GetString(\"CAT_DP_PRECIO\")"; +Debug.ShouldStop(8192); +__ref.setField ("_precio_cero" /*RemoteObject*/ ,__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))); + BA.debugLineNum = 271;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2(\"select"; +Debug.ShouldStop(16384); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(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,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))})))); + BA.debugLineNum = 272;BA.debugLine="h.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 274;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; +Debug.ShouldStop(131072); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_precio_cero" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "**",0, 0)),(__ref.getField(true,"_precio_cero" /*RemoteObject*/ )),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0)),(__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 275;BA.debugLine="h.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_h" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 278;BA.debugLine="f.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 280;BA.debugLine="e.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 281;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(16777216); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((0)),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 282;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update c"; +Debug.ShouldStop(33554432); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + }else { + BA.debugLineNum = 284;BA.debugLine="Msgbox(\"Tiene \" & TOT_ART_PROMO & \" \" & TOT_AR"; +Debug.ShouldStop(134217728); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Tiene "),__ref.getField(true,"_tot_art_promo" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_tot_art_promor" /*RemoteObject*/ ),RemoteObject.createImmutable(" y necesita "),__ref.getField(true,"_promo_c" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_promo_cr" /*RemoteObject*/ ),RemoteObject.createImmutable(" Para la Promo. ")))),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }; + }; + BA.debugLineNum = 287;BA.debugLine="cantidad.Text = \"\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 288;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(-2147483648); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }else +{ BA.debugLineNum = 289;BA.debugLine="else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_promo_c" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 290;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(2); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROIDID"))); + BA.debugLineNum = 291;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(4); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROIDID VALUES (?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 292;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 293;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 294;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(32); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 295;BA.debugLine="c.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 296;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(128); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 297;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(256); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 298;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(512); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 299;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 300;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 301;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(4096); +__ref.setField ("_cl_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 302;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 303;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 304;BA.debugLine="c.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 305;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 = 308;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +Debug.ShouldStop(524288); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) ")))); + BA.debugLineNum = 309;BA.debugLine="e.Position =0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 310;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 311;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)")))); + BA.debugLineNum = 312;BA.debugLine="For i =0 To f.RowCount -1"; +Debug.ShouldStop(8388608); +{ +final int step108 = 1; +final int limit108 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step108 > 0 && _i <= limit108) || (step108 < 0 && _i >= limit108) ;_i = ((int)(0 + _i + step108)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 313;BA.debugLine="F.Position =i"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 314;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(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,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))})))); + BA.debugLineNum = 315;BA.debugLine="h.Position=0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 316;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(134217728); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS"))))}, "**",0, 0)),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0)),(__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 317;BA.debugLine="h.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_h" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 319;BA.debugLine="f.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 321;BA.debugLine="e.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 323;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(4); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((0)),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 324;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; +Debug.ShouldStop(8); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 325;BA.debugLine="cantidad.Text = \"\""; +Debug.ShouldStop(16); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 326;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 327;BA.debugLine="c.Position=0"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 328;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(128); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 329;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +Debug.ShouldStop(256); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 330;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +Debug.ShouldStop(512); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 331;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(1024); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }else { + BA.debugLineNum = 333;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(4096); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 334;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(8192); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 335;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(16384); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 336;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 337;BA.debugLine="c.Position=0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 338;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(131072); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 339;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 340;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 341;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 342;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(2097152); +__ref.setField ("_cl_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 343;BA.debugLine="c.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 344;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 345;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 346;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(33554432); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 347;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(67108864); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN, PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_precio" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0)),(__ref.getField(false,"_l_precio" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(__ref.getField(true,"_preciosin" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 348;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; +Debug.ShouldStop(134217728); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 349;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 350;BA.debugLine="c.Position=0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 351;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(1073741824); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 352;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +Debug.ShouldStop(-2147483648); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 353;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +Debug.ShouldStop(1); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 354;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(2); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 355;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(4); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }}}} +; + BA.debugLineNum = 357;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _i_fotol_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("i_fotol_Click (c_pedidos) ","c_pedidos",13,__ref.getField(false, "ba"),__ref,543); +if (RapidSub.canDelegate("i_fotol_click")) { return __ref.runUserSub(false, "c_pedidos","i_fotol_click", __ref);} + BA.debugLineNum = 543;BA.debugLine="Sub i_fotol_Click"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 544;BA.debugLine="i_fotol.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_i_fotol" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"False")); + BA.debugLineNum = 546;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _img_prod_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("img_prod_Click (c_pedidos) ","c_pedidos",13,__ref.getField(false, "ba"),__ref,538); +if (RapidSub.canDelegate("img_prod_click")) { return __ref.runUserSub(false, "c_pedidos","img_prod_click", __ref);} + BA.debugLineNum = 538;BA.debugLine="Sub img_prod_Click"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 539;BA.debugLine="i_fotol.Visible = True"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_i_fotol" /*RemoteObject*/ ).runMethod(true,"setVisible",c_pedidos.__c.getField(true,"True")); + BA.debugLineNum = 540;BA.debugLine="i_fotol.Bitmap = LoadBitmap(ruta,\"1.jpg\")"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_i_fotol" /*RemoteObject*/ ).runMethod(false,"setBitmap",(c_pedidos.__c.runMethod(false,"LoadBitmap",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("1.jpg"))).getObject())); + BA.debugLineNum = 542;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 (c_pedidos) ","c_pedidos",13,__ref.getField(false, "ba"),__ref,59); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_pedidos","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 59;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 60;BA.debugLine="Return Me"; +Debug.ShouldStop(134217728); +if (true) return __ref; + BA.debugLineNum = 61;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _nopromo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("nopromo_Click (c_pedidos) ","c_pedidos",13,__ref.getField(false, "ba"),__ref,554); +if (RapidSub.canDelegate("nopromo_click")) { return __ref.runUserSub(false, "c_pedidos","nopromo_click", __ref);} + BA.debugLineNum = 554;BA.debugLine="Sub nopromo_Click"; +Debug.ShouldStop(512); + BA.debugLineNum = 555;BA.debugLine="If cantidad.Text = \"\" Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 556;BA.debugLine="Msgbox(\"Cantidad no puede ser 0\",\"Cantidad\") 'ig"; +Debug.ShouldStop(2048); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Cantidad no puede ser 0")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Cantidad"))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 557;BA.debugLine="Else If cantidad.Text > l_bodega.Text Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"getText")))) { + BA.debugLineNum = 558;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; +Debug.ShouldStop(8192); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Exede la existencia")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 560;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(32768); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 561;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(65536); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 562;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(131072); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 563;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 564;BA.debugLine="c.Position=0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 565;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(1048576); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 566;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 567;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 568;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(8388608); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 569;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(16777216); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {RemoteObject.createImmutable(("COACALCO")),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((0)),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 570;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; +Debug.ShouldStop(33554432); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 571;BA.debugLine="cantidad.Text = \"\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 572;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(134217728); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + }} +; + 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 _p_pedido_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_pedido_Click (c_pedidos) ","c_pedidos",13,__ref.getField(false, "ba"),__ref,576); +if (RapidSub.canDelegate("p_pedido_click")) { return __ref.runUserSub(false, "c_pedidos","p_pedido_click", __ref);} + BA.debugLineNum = 576;BA.debugLine="Private Sub p_pedido_Click"; +Debug.ShouldStop(-2147483648); + 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 RemoteObject _terminar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Terminar_Click (c_pedidos) ","c_pedidos",13,__ref.getField(false, "ba"),__ref,364); +if (RapidSub.canDelegate("terminar_click")) { return __ref.runUserSub(false, "c_pedidos","terminar_click", __ref);} +int _i = 0; + BA.debugLineNum = 364;BA.debugLine="Sub Terminar_Click"; +Debug.ShouldStop(2048); + BA.debugLineNum = 365;BA.debugLine="If cantidad.Text = \"\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 366;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(8192); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }else +{ BA.debugLineNum = 367;BA.debugLine="ELSE If cantidad.Text > l_bodega.Text Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_bodega" /*RemoteObject*/ ).runMethod(true,"getText")))) { + BA.debugLineNum = 368;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; +Debug.ShouldStop(32768); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Exede la existencia")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }else +{ BA.debugLineNum = 369;BA.debugLine="Else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(true,"_promo_c" /*RemoteObject*/ )),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 370;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(131072); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROIDID"))); + BA.debugLineNum = 371;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(262144); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROIDID VALUES (?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 372;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)")))); + BA.debugLineNum = 373;BA.debugLine="c.Position =0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 374;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOSD"))),BA.NumberToString(0))) { + BA.debugLineNum = 375;BA.debugLine="Msgbox(\"No tiene venta el cliente para la promo"; +Debug.ShouldStop(4194304); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("No tiene venta el cliente para la promo")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 377;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)")))); + BA.debugLineNum = 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="TOT_ART_PROMO = C.GetString(\"TOT_ART_PROMO\")"; +Debug.ShouldStop(67108864); +__ref.setField ("_tot_art_promo" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOT_ART_PROMO")))); + BA.debugLineNum = 380;BA.debugLine="COSTO_TOT = C.GetString(\"COSTO_TOT\")"; +Debug.ShouldStop(134217728); +__ref.setField ("_costo_tot" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COSTO_TOT")))); + BA.debugLineNum = 381;BA.debugLine="C.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 382;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)")))); + BA.debugLineNum = 383;BA.debugLine="c.Position =0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 384;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOSD"))),BA.NumberToString(0))) { + BA.debugLineNum = 385;BA.debugLine="TOT_ART_PROMOR = \"0\" 'Msgbox(\"No tiene venta e"; +Debug.ShouldStop(1); +__ref.setField ("_tot_art_promor" /*RemoteObject*/ ,BA.ObjectToString("0")); + }else { + BA.debugLineNum = 387;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)")))); + BA.debugLineNum = 388;BA.debugLine="C.Position =0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 389;BA.debugLine="TOT_ART_PROMOR = C.GetString(\"TOT_ART_PROMO\")"; +Debug.ShouldStop(16); +__ref.setField ("_tot_art_promor" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOT_ART_PROMO")))); + }; + BA.debugLineNum = 391;BA.debugLine="C.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 392;BA.debugLine="PROMO_C = PROMO_C * cantidad.Text"; +Debug.ShouldStop(128); +__ref.setField ("_promo_c" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_promo_c" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0))); + BA.debugLineNum = 393;BA.debugLine="PROMO_CR = PROMO_CR * cantidad.Text"; +Debug.ShouldStop(256); +__ref.setField ("_promo_cr" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_promo_cr" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0))); + BA.debugLineNum = 394;BA.debugLine="If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_tot_art_promo" /*RemoteObject*/ ),__ref.getField(true,"_promo_c" /*RemoteObject*/ )) && RemoteObject.solveBoolean("=",__ref.getField(true,"_tot_art_promor" /*RemoteObject*/ ),__ref.getField(true,"_promo_cr" /*RemoteObject*/ ))) { + BA.debugLineNum = 398;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; +Debug.ShouldStop(8192); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 399;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(16384); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1")))); + BA.debugLineNum = 400;BA.debugLine="If D.RowCount>0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 401;BA.debugLine="For i=0 To D.RowCount -1"; +Debug.ShouldStop(65536); +{ +final int step34 = 1; +final int limit34 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step34 > 0 && _i <= limit34) || (step34 < 0 && _i >= limit34) ;_i = ((int)(0 + _i + step34)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 402;BA.debugLine="D.Position=i"; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 403;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +Debug.ShouldStop(262144); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO_SIMPTOS")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD"))))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 406;BA.debugLine="D.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 407;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1")))); + BA.debugLineNum = 408;BA.debugLine="If D.RowCount>0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 409;BA.debugLine="For i=0 To D.RowCount -1"; +Debug.ShouldStop(16777216); +{ +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 = 410;BA.debugLine="D.Position=i"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 411;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +Debug.ShouldStop(67108864); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO_SIMPTOS")))),(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD"))))}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 414;BA.debugLine="D.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 415;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(1073741824); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 416;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 417;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(1); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 418;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 419;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 420;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(8); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 421;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 422;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 423;BA.debugLine="c.Position=0"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 424;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(128); +__ref.setField ("_cl_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 425;BA.debugLine="c.Close"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 426;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 427;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 428;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(2048); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 430;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select cou"; +Debug.ShouldStop(8192); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 ")))); + BA.debugLineNum = 432;BA.debugLine="e.Position =0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 433;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 434;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; +Debug.ShouldStop(131072); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_IDPROD, CAT_DP_PZAS,CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 ")))); + BA.debugLineNum = 437;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 = 438;BA.debugLine="For i=0 To f.RowCount -1"; +Debug.ShouldStop(2097152); +{ +final int step67 = 1; +final int limit67 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step67 > 0 && _i <= limit67) || (step67 < 0 && _i >= limit67) ;_i = ((int)(0 + _i + step67)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 439;BA.debugLine="f.Position=i"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 440;BA.debugLine="precio_Cero = f.GetString(\"CAT_DP_PRECIO\")"; +Debug.ShouldStop(8388608); +__ref.setField ("_precio_cero" /*RemoteObject*/ ,__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))); + BA.debugLineNum = 441;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2(\"select"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(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,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))})))); + BA.debugLineNum = 442;BA.debugLine="h.Position=0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 443;BA.debugLine="Log(111)"; +Debug.ShouldStop(67108864); +c_pedidos.__c.runVoidMethod ("LogImpl","517498191",BA.NumberToString(111),0); + BA.debugLineNum = 444;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; +Debug.ShouldStop(134217728); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_precio_cero" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "**",0, 0)),(__ref.getField(true,"_precio_cero" /*RemoteObject*/ )),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0)),(__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 445;BA.debugLine="h.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_h" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 448;BA.debugLine="f.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 450;BA.debugLine="e.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 451;BA.debugLine="Log(222)"; +Debug.ShouldStop(4); +c_pedidos.__c.runVoidMethod ("LogImpl","517498199",BA.NumberToString(222),0); + BA.debugLineNum = 452;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(8); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((0)),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 453;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update c"; +Debug.ShouldStop(16); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + }else { + BA.debugLineNum = 455;BA.debugLine="Msgbox(\"Tiene \" & TOT_ART_PROMO & \" \" & TOT_AR"; +Debug.ShouldStop(64); +c_pedidos.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Tiene "),__ref.getField(true,"_tot_art_promo" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_tot_art_promor" /*RemoteObject*/ ),RemoteObject.createImmutable(" y necesita "),__ref.getField(true,"_promo_c" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_promo_cr" /*RemoteObject*/ ),RemoteObject.createImmutable(" Para la Promo. ")))),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("ADVERTENCIA"))),__ref.getField(false, "ba")); + }; + }; + BA.debugLineNum = 458;BA.debugLine="cantidad.Text = \"\""; +Debug.ShouldStop(512); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 459;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(1024); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }else +{ BA.debugLineNum = 460;BA.debugLine="else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_marca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_l_tipo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("PROMOS")) && RemoteObject.solveBoolean("=",__ref.getField(true,"_promo_c" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 461;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(4096); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROIDID"))); + BA.debugLineNum = 462;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(8192); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROIDID VALUES (?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 463;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 464;BA.debugLine="c.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 465;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(65536); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 466;BA.debugLine="c.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 467;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(262144); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 468;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(524288); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 469;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(1048576); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 470;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 471;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 472;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(8388608); +__ref.setField ("_cl_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 473;BA.debugLine="c.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 474;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 475;BA.debugLine="c.Position=0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 476;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 = 478;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) ")))); + BA.debugLineNum = 479;BA.debugLine="e.Position =0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 480;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 481;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_"; +Debug.ShouldStop(1); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)")))); + BA.debugLineNum = 482;BA.debugLine="For i =0 To f.RowCount -1"; +Debug.ShouldStop(2); +{ +final int step110 = 1; +final int limit110 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step110 > 0 && _i <= limit110) || (step110 < 0 && _i >= limit110) ;_i = ((int)(0 + _i + step110)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 483;BA.debugLine="F.Position =i"; +Debug.ShouldStop(4); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 484;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +Debug.ShouldStop(8); +__ref.getField(false,"_h" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(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,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))})))); + BA.debugLineNum = 485;BA.debugLine="h.Position=0"; +Debug.ShouldStop(16); +__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 486;BA.debugLine="Log(333)"; +Debug.ShouldStop(32); +c_pedidos.__c.runVoidMethod ("LogImpl","517498234",BA.NumberToString(333),0); + BA.debugLineNum = 487;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +Debug.ShouldStop(64); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS"))))}, "**",0, 0)),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0)),(__ref.getField(false,"_h" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 488;BA.debugLine="h.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_h" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 490;BA.debugLine="f.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 492;BA.debugLine="e.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 493;BA.debugLine="Log(444)"; +Debug.ShouldStop(4096); +c_pedidos.__c.runVoidMethod ("LogImpl","517498241",BA.NumberToString(444),0); + BA.debugLineNum = 494;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(8192); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((0)),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 495;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; +Debug.ShouldStop(16384); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 496;BA.debugLine="cantidad.Text = \"\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 497;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 498;BA.debugLine="c.Position=0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 499;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(262144); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 500;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +Debug.ShouldStop(524288); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 501;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +Debug.ShouldStop(1048576); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 502;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(2097152); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }else { + BA.debugLineNum = 504;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(8388608); +c_pedidos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 505;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(16777216); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 506;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(33554432); +__ref.setField ("_stime" /*RemoteObject*/ ,c_pedidos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_pedidos.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 507;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa")))); + BA.debugLineNum = 508;BA.debugLine="c.Position=0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 509;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(268435456); +__ref.setField ("_clie_id" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")))); + BA.debugLineNum = 510;BA.debugLine="c.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 511;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)")))); + BA.debugLineNum = 512;BA.debugLine="c.Position=0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 513;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(1); +__ref.setField ("_cl_ruta" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")))); + BA.debugLineNum = 514;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 515;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa")))); + BA.debugLineNum = 516;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 517;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(16); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 518;BA.debugLine="Log(555)"; +Debug.ShouldStop(32); +c_pedidos.__c.runVoidMethod ("LogImpl","517498266",BA.NumberToString(555),0); + BA.debugLineNum = 519;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(64); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_precio" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0)),(__ref.getField(false,"_l_precio" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_desc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(__ref.getField(true,"_preciosin" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 520;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; +Debug.ShouldStop(128); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 521;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")))); + BA.debugLineNum = 522;BA.debugLine="c.Position=0"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 523;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(1024); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 524;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +Debug.ShouldStop(2048); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(__ref.getField(true,"_clie_id" /*RemoteObject*/ )),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ )),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(true,"_cl_ruta" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 525;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +Debug.ShouldStop(4096); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 526;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(8192); +c_pedidos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ")),(Object)(c_pedidos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_proid" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_cantidad" /*RemoteObject*/ ).runMethod(true,"getText"))}))))); + BA.debugLineNum = 527;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(16384); +c_pedidos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }}}} +; + BA.debugLineNum = 529;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/SHARK2/keymon/com/mx/c_principal.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_principal.java new file mode 100644 index 0000000..7df7e61 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_principal.java @@ -0,0 +1,271 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_principal { + public static RemoteObject myClass; + public c_principal() { + } + public static PCBA staticBA = new PCBA(null, c_principal.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _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 _rd = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_respaldodiario"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager"); +public static RemoteObject _conectado = RemoteObject.createImmutable(""); +public static RemoteObject _ime = RemoteObject.declareNull("anywheresoftware.b4a.objects.IME"); +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 _g = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _trabajar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _d = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _b = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _e = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _d2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _lv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _cargar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _pendiente = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _foto1 = null; +public static RemoteObject _usuario = RemoteObject.createImmutable(""); +public static RemoteObject _connecta = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _conn = RemoteObject.createImmutable(""); +public static RemoteObject _subir = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _cmd = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand"); +public static RemoteObject _tope = RemoteObject.createImmutable(0); +public static RemoteObject _count_clie = RemoteObject.createImmutable(0); +public static RemoteObject _fecha = RemoteObject.createImmutable(""); +public static RemoteObject _drop = RemoteObject.createImmutable(0); +public static RemoteObject _efectiva = RemoteObject.createImmutable(0); +public static RemoteObject _l_montod = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_cuantosc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_drop = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_efectiva = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ctast = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _busca = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _cuantos = RemoteObject.createImmutable(""); +public static RemoteObject _l_cuantosn = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _e_ruta = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _l_porvisitar = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_mapa = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_ruta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _almacen = RemoteObject.createImmutable(""); +public static RemoteObject _img2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _listo1 = RemoteObject.createImmutable(""); +public static RemoteObject _listo2 = RemoteObject.createImmutable(""); +public static RemoteObject _listo3 = RemoteObject.createImmutable(""); +public static RemoteObject _listo4 = RemoteObject.createImmutable(""); +public static RemoteObject _listo5 = RemoteObject.createImmutable(""); +public static RemoteObject _ejecutando = RemoteObject.createImmutable(""); +public static RemoteObject _res = RemoteObject.createImmutable(""); +public static RemoteObject _inve = RemoteObject.createImmutable(""); +public static RemoteObject _cuantos_pedidosc = RemoteObject.createImmutable(""); +public static RemoteObject _cuantos_pedido = RemoteObject.createImmutable(""); +public static RemoteObject _cuantos_noventa = RemoteObject.createImmutable(""); +public static RemoteObject _datos_iguales = RemoteObject.createImmutable(""); +public static RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.PhoneId"); +public static RemoteObject _imei = RemoteObject.createImmutable(""); +public static RemoteObject _inv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _clave = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_ok_pas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _paso = RemoteObject.createImmutable(""); +public static RemoteObject _usuario1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _connecta1 = RemoteObject.createImmutable(0); +public static RemoteObject _armafolio = RemoteObject.createImmutable(""); +public static RemoteObject _nuevo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _s_cc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _s_cp = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _s_ch = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _pb2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ProgressBarWrapper"); +public static RemoteObject _pb1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ProgressBarWrapper"); +public static RemoteObject _l_p_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_p_2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_p_3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _carga = RemoteObject.createImmutable(""); +public static RemoteObject _porcentaje = RemoteObject.createImmutable(""); +public static RemoteObject _p_resumen = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_ok_res = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _resumen = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_cuantost = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _img3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _imageview3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _imageview5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _l_tickprom = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_marcas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _imageview9 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _e_ruta2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _resdia = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _hacer_ped = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _nvo_cliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _tickets_dia = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _l_monto_ks = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_monto_kp = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_monto_k = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_monto_c1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_monto_c2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_monto_c3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_encuesta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _bpv1 = RemoteObject.declareNull("batteryprogressviewwrapper.batteryprogressviewWrapper"); +public static RemoteObject _batterystatus = null; +public static RemoteObject _bu = RemoteObject.declareNull("SHARK2.keymon.com.mx.batteryutilities"); +public static RemoteObject _l_nes = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_real = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_alcance = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vplan = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vreal = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_efec_vis = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_visitcc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_efec_pv = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_efec_pura = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_cte_promo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_reden_promo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_lin_tick = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _scroll_resdia = RemoteObject.declareNull("anywheresoftware.b4a.objects.ScrollViewWrapper"); +public static RemoteObject _l_acumulado = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_unilever = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_rechazop = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_rechazom = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vta_3mes = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vta_2mes = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vta_1mes = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_mes_py = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_frec_de_creal = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_frec_de_cobj = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_cob_visit = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_visit_real = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_visit_plan = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_eco = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_cob_ccc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ctes = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vpo_vta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vpo_obj = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ds_vta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ds_obj = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_dra_vta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_dra_obj = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_alcancem = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_tendencia = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_vta_acum = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_obj_mes = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ds_objd = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ds_vtad = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _lpt = RemoteObject.createImmutable(""); +public static RemoteObject _steyin = RemoteObject.createImmutable(""); +public static RemoteObject _steyout = RemoteObject.createImmutable(""); +public static RemoteObject _l_prio = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_secund = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_comp = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _stay_hh = RemoteObject.createImmutable(""); +public static RemoteObject _stay_mi = RemoteObject.createImmutable(""); +public static RemoteObject _stay_ss = RemoteObject.createImmutable(""); +public static RemoteObject _sdate = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _horaingreso = RemoteObject.createImmutable(""); +public static RemoteObject _l_quala = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_ferrero = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_sanmarcos = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_campari = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_iberia = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_bepensa = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_scj = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_medj = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_duracell = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_guna = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_kimb = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_tresm = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_redb = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _btn_ubicar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_comm = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_total_mm = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_vive = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_guna = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_ba = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_comis = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_mm_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_vive_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_guna_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_ba_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total_comis_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_ok_comiss = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _panel_c = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _titleheight = RemoteObject.createImmutable(0); +public static RemoteObject _title2height = RemoteObject.createImmutable(0); +public static RemoteObject _dividerheight = RemoteObject.createImmutable(0); +public static RemoteObject _clv1 = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _pnltitle = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _b_marcas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _panel5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lbltitle = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_ok_panel5 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_principal = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_mandainfo = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _label22 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_rutasuplencia = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _userpiezas = RemoteObject.createImmutable(""); +public static RemoteObject _b_abordo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_abordo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_venta = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_preventa = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_abordo = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _panel11 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _clv_pick_ciego = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _p_pick_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _et_pick_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _l_pick_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_ciego = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _panel4 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _q_buscar = RemoteObject.createImmutable(""); +public static RemoteObject _et_buspc = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_tabulador = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_b_tabulador = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _pnlcobranza = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _clvcobranza = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _pnlbtncobranza = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _btncobranza = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _pnlbtnregresar = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _btnregresar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_secuencia = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _pnlcontenedorcobranza = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _l_nombre = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_cuentaxcobrar = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_abono = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _pnlcabecero = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lblabono = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _lblsaldo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _lblcliente = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _lblsec = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _pnltotal = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lbltotal = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _lblversion = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _lista_punta = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _p_prod = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lv_prod_prin = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _b_regreso = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_productos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"ALMACEN",_ref.getField(false, "_almacen"),"armafolio",_ref.getField(false, "_armafolio"),"b",_ref.getField(false, "_b"),"b_abordo",_ref.getField(false, "_b_abordo"),"B_COMM",_ref.getField(false, "_b_comm"),"b_mapa",_ref.getField(false, "_b_mapa"),"B_MARCAS",_ref.getField(false, "_b_marcas"),"B_OK_COMISS",_ref.getField(false, "_b_ok_comiss"),"B_OK_PANEL5",_ref.getField(false, "_b_ok_panel5"),"B_OK_PAS",_ref.getField(false, "_b_ok_pas"),"B_OK_RES",_ref.getField(false, "_b_ok_res"),"b_productos",_ref.getField(false, "_b_productos"),"b_regreso",_ref.getField(false, "_b_regreso"),"b_tabulador",_ref.getField(false, "_b_tabulador"),"batterystatus",_ref.getField(false, "_batterystatus"),"bpv1",_ref.getField(false, "_bpv1"),"Btn_Ubicar",_ref.getField(false, "_btn_ubicar"),"btnCobranza",_ref.getField(false, "_btncobranza"),"btnRegresar",_ref.getField(false, "_btnregresar"),"bu",_ref.getField(false, "_bu"),"BUSCA",_ref.getField(false, "_busca"),"c",_ref.getField(false, "_c"),"CARGA",_ref.getField(false, "_carga"),"cargar",_ref.getField(false, "_cargar"),"CLAVE",_ref.getField(false, "_clave"),"CLV_PICK_CIEGO",_ref.getField(false, "_clv_pick_ciego"),"CLV1",_ref.getField(false, "_clv1"),"clvCobranza",_ref.getField(false, "_clvcobranza"),"cmd",_ref.getField(false, "_cmd"),"conectado",_ref.getField(false, "_conectado"),"conn",_ref.getField(false, "_conn"),"connecta",_ref.getField(false, "_connecta"),"connecta1",_ref.getField(false, "_connecta1"),"COUNT_CLIE",_ref.getField(false, "_count_clie"),"Cuantos",_ref.getField(false, "_cuantos"),"cuantos_noventa",_ref.getField(false, "_cuantos_noventa"),"cuantos_pedido",_ref.getField(false, "_cuantos_pedido"),"cuantos_pedidosc",_ref.getField(false, "_cuantos_pedidosc"),"d",_ref.getField(false, "_d"),"D2",_ref.getField(false, "_d2"),"DateUtils",_ref.getField(false, "_dateutils"),"datos_iguales",_ref.getField(false, "_datos_iguales"),"DividerHeight",_ref.getField(false, "_dividerheight"),"drop",_ref.getField(false, "_drop"),"e",_ref.getField(false, "_e"),"e_ruta",_ref.getField(false, "_e_ruta"),"E_RUTA2",_ref.getField(false, "_e_ruta2"),"efectiva",_ref.getField(false, "_efectiva"),"EJECUTANDO",_ref.getField(false, "_ejecutando"),"et_buspc",_ref.getField(false, "_et_buspc"),"ET_PICK_CIEGO",_ref.getField(false, "_et_pick_ciego"),"f",_ref.getField(false, "_f"),"fecha",_ref.getField(false, "_fecha"),"foto1",_ref.getField(false, "_foto1"),"g",_ref.getField(false, "_g"),"hacer_ped",_ref.getField(false, "_hacer_ped"),"HORAINGRESO",_ref.getField(false, "_horaingreso"),"ImageView3",_ref.getField(false, "_imageview3"),"ImageView5",_ref.getField(false, "_imageview5"),"ImageView9",_ref.getField(false, "_imageview9"),"ime",_ref.getField(false, "_ime"),"imei",_ref.getField(false, "_imei"),"img2",_ref.getField(false, "_img2"),"img3",_ref.getField(false, "_img3"),"inv",_ref.getField(false, "_inv"),"inve",_ref.getField(false, "_inve"),"l_Abono",_ref.getField(false, "_l_abono"),"L_ABORDO",_ref.getField(false, "_l_abordo"),"L_ACUMULADO",_ref.getField(false, "_l_acumulado"),"L_ALCANCE",_ref.getField(false, "_l_alcance"),"L_ALCANCEM",_ref.getField(false, "_l_alcancem"),"L_BEPENSA",_ref.getField(false, "_l_bepensa"),"L_CAMPARI",_ref.getField(false, "_l_campari"),"L_COB_CCC",_ref.getField(false, "_l_cob_ccc"),"L_COB_VISIT",_ref.getField(false, "_l_cob_visit"),"L_COMP",_ref.getField(false, "_l_comp"),"l_ctast",_ref.getField(false, "_l_ctast"),"L_CTE_PROMO",_ref.getField(false, "_l_cte_promo"),"L_CTES",_ref.getField(false, "_l_ctes"),"l_cuantosc",_ref.getField(false, "_l_cuantosc"),"l_cuantosn",_ref.getField(false, "_l_cuantosn"),"L_CUANTOST",_ref.getField(false, "_l_cuantost"),"l_CuentaXCobrar",_ref.getField(false, "_l_cuentaxcobrar"),"L_DRA_OBJ",_ref.getField(false, "_l_dra_obj"),"L_DRA_VTA",_ref.getField(false, "_l_dra_vta"),"l_drop",_ref.getField(false, "_l_drop"),"L_DS_OBJ",_ref.getField(false, "_l_ds_obj"),"L_DS_OBJD",_ref.getField(false, "_l_ds_objd"),"L_DS_VTA",_ref.getField(false, "_l_ds_vta"),"L_DS_VTAD",_ref.getField(false, "_l_ds_vtad"),"L_DURACELL",_ref.getField(false, "_l_duracell"),"L_ECO",_ref.getField(false, "_l_eco"),"L_EFEC_PURA",_ref.getField(false, "_l_efec_pura"),"L_EFEC_PV",_ref.getField(false, "_l_efec_pv"),"L_EFEC_VIS",_ref.getField(false, "_l_efec_vis"),"l_efectiva",_ref.getField(false, "_l_efectiva"),"l_encuesta",_ref.getField(false, "_l_encuesta"),"L_FERRERO",_ref.getField(false, "_l_ferrero"),"L_FREC_DE_COBJ",_ref.getField(false, "_l_frec_de_cobj"),"L_FREC_DE_CREAL",_ref.getField(false, "_l_frec_de_creal"),"L_GUNA",_ref.getField(false, "_l_guna"),"L_IBERIA",_ref.getField(false, "_l_iberia"),"L_KIMB",_ref.getField(false, "_l_kimb"),"L_LIN_TICK",_ref.getField(false, "_l_lin_tick"),"L_MARCAS",_ref.getField(false, "_l_marcas"),"L_MEDJ",_ref.getField(false, "_l_medj"),"L_MES_PY",_ref.getField(false, "_l_mes_py"),"l_monto_c1",_ref.getField(false, "_l_monto_c1"),"l_monto_c2",_ref.getField(false, "_l_monto_c2"),"l_monto_c3",_ref.getField(false, "_l_monto_c3"),"l_monto_k",_ref.getField(false, "_l_monto_k"),"l_monto_kp",_ref.getField(false, "_l_monto_kp"),"l_monto_ks",_ref.getField(false, "_l_monto_ks"),"L_MONTOD",_ref.getField(false, "_l_montod"),"L_NES",_ref.getField(false, "_l_nes"),"l_Nombre",_ref.getField(false, "_l_nombre"),"L_OBJ_MES",_ref.getField(false, "_l_obj_mes"),"L_P_1",_ref.getField(false, "_l_p_1"),"L_P_2",_ref.getField(false, "_l_p_2"),"L_P_3",_ref.getField(false, "_l_p_3"),"L_PICK_CIEGO",_ref.getField(false, "_l_pick_ciego"),"l_porvisitar",_ref.getField(false, "_l_porvisitar"),"L_PREVENTA",_ref.getField(false, "_l_preventa"),"L_PRIO",_ref.getField(false, "_l_prio"),"L_QUALA",_ref.getField(false, "_l_quala"),"L_REAL",_ref.getField(false, "_l_real"),"L_RECHAZOM",_ref.getField(false, "_l_rechazom"),"L_RECHAZOP",_ref.getField(false, "_l_rechazop"),"L_REDB",_ref.getField(false, "_l_redb"),"L_REDEN_PROMO",_ref.getField(false, "_l_reden_promo"),"l_ruta",_ref.getField(false, "_l_ruta"),"l_rutasuplencia",_ref.getField(false, "_l_rutasuplencia"),"L_SANMARCOS",_ref.getField(false, "_l_sanmarcos"),"L_SCJ",_ref.getField(false, "_l_scj"),"l_Secuencia",_ref.getField(false, "_l_secuencia"),"L_SECUND",_ref.getField(false, "_l_secund"),"L_TENDENCIA",_ref.getField(false, "_l_tendencia"),"L_TICKPROM",_ref.getField(false, "_l_tickprom"),"L_TOTAL_BA",_ref.getField(false, "_l_total_ba"),"L_TOTAL_BA_1",_ref.getField(false, "_l_total_ba_1"),"L_TOTAL_COMIS",_ref.getField(false, "_l_total_comis"),"L_TOTAL_COMIS_1",_ref.getField(false, "_l_total_comis_1"),"L_TOTAL_GUNA",_ref.getField(false, "_l_total_guna"),"L_TOTAL_GUNA_1",_ref.getField(false, "_l_total_guna_1"),"L_TOTAL_MM",_ref.getField(false, "_l_total_mm"),"L_TOTAL_MM_1",_ref.getField(false, "_l_total_mm_1"),"L_TOTAL_VIVE",_ref.getField(false, "_l_total_vive"),"L_TOTAL_VIVE_1",_ref.getField(false, "_l_total_vive_1"),"L_TRESM",_ref.getField(false, "_l_tresm"),"L_UNILEVER",_ref.getField(false, "_l_unilever"),"L_VENTA",_ref.getField(false, "_l_venta"),"L_VISIT_PLAN",_ref.getField(false, "_l_visit_plan"),"L_VISIT_REAL",_ref.getField(false, "_l_visit_real"),"L_VISITCC",_ref.getField(false, "_l_visitcc"),"L_VPLAN",_ref.getField(false, "_l_vplan"),"L_VPO_OBJ",_ref.getField(false, "_l_vpo_obj"),"L_VPO_VTA",_ref.getField(false, "_l_vpo_vta"),"L_VREAL",_ref.getField(false, "_l_vreal"),"L_VTA_1MES",_ref.getField(false, "_l_vta_1mes"),"L_VTA_2MES",_ref.getField(false, "_l_vta_2mes"),"L_VTA_3MES",_ref.getField(false, "_l_vta_3mes"),"L_VTA_ACUM",_ref.getField(false, "_l_vta_acum"),"Label22",_ref.getField(false, "_label22"),"lblAbono",_ref.getField(false, "_lblabono"),"lblCliente",_ref.getField(false, "_lblcliente"),"lblSaldo",_ref.getField(false, "_lblsaldo"),"lblSec",_ref.getField(false, "_lblsec"),"lblTitle",_ref.getField(false, "_lbltitle"),"lblTotal",_ref.getField(false, "_lbltotal"),"lblVersion",_ref.getField(false, "_lblversion"),"lista_punta",_ref.getField(false, "_lista_punta"),"Listo1",_ref.getField(false, "_listo1"),"Listo2",_ref.getField(false, "_listo2"),"Listo3",_ref.getField(false, "_listo3"),"Listo4",_ref.getField(false, "_listo4"),"Listo5",_ref.getField(false, "_listo5"),"LPT",_ref.getField(false, "_lpt"),"lv",_ref.getField(false, "_lv"),"lv_prod_Prin",_ref.getField(false, "_lv_prod_prin"),"NUEVO",_ref.getField(false, "_nuevo"),"nvo_cliente",_ref.getField(false, "_nvo_cliente"),"p",_ref.getField(false, "_p"),"p_abordo",_ref.getField(false, "_p_abordo"),"p_b_tabulador",_ref.getField(false, "_p_b_tabulador"),"P_CIEGO",_ref.getField(false, "_p_ciego"),"p_mandaInfo",_ref.getField(false, "_p_mandainfo"),"P_PICK_CIEGO",_ref.getField(false, "_p_pick_ciego"),"p_principal",_ref.getField(false, "_p_principal"),"p_prod",_ref.getField(false, "_p_prod"),"P_RESUMEN",_ref.getField(false, "_p_resumen"),"P1",_ref.getField(false, "_p1"),"Panel_C",_ref.getField(false, "_panel_c"),"Panel11",_ref.getField(false, "_panel11"),"Panel4",_ref.getField(false, "_panel4"),"Panel5",_ref.getField(false, "_panel5"),"PASO",_ref.getField(false, "_paso"),"PB1",_ref.getField(false, "_pb1"),"PB2",_ref.getField(false, "_pb2"),"pendiente",_ref.getField(false, "_pendiente"),"PHONE",_ref.getField(false, "_phone"),"pnlBtnCobranza",_ref.getField(false, "_pnlbtncobranza"),"pnlBtnRegresar",_ref.getField(false, "_pnlbtnregresar"),"pnlCabecero",_ref.getField(false, "_pnlcabecero"),"pnlCobranza",_ref.getField(false, "_pnlcobranza"),"pnlContenedorCobranza",_ref.getField(false, "_pnlcontenedorcobranza"),"pnlTitle",_ref.getField(false, "_pnltitle"),"pnlTotal",_ref.getField(false, "_pnltotal"),"PORCENTAJE",_ref.getField(false, "_porcentaje"),"q_buscar",_ref.getField(false, "_q_buscar"),"rd",_ref.getField(false, "_rd"),"reqManager",_ref.getField(false, "_reqmanager"),"RES",_ref.getField(false, "_res"),"resdia",_ref.getField(false, "_resdia"),"Resumen",_ref.getField(false, "_resumen"),"Root",_ref.getField(false, "_root"),"rp",_ref.getField(false, "_rp"),"s",_ref.getField(false, "_s"),"S_CC",_ref.getField(false, "_s_cc"),"S_CH",_ref.getField(false, "_s_ch"),"S_CP",_ref.getField(false, "_s_cp"),"sb",_ref.getField(false, "_sb"),"SCROLL_RESDIA",_ref.getField(false, "_scroll_resdia"),"sDate",_ref.getField(false, "_sdate"),"stay_hh",_ref.getField(false, "_stay_hh"),"stay_mi",_ref.getField(false, "_stay_mi"),"stay_ss",_ref.getField(false, "_stay_ss"),"STEYIN",_ref.getField(false, "_steyin"),"STEYOUT",_ref.getField(false, "_steyout"),"sTime",_ref.getField(false, "_stime"),"Subir",_ref.getField(false, "_subir"),"t1",_ref.getField(false, "_t1"),"tickets_dia",_ref.getField(false, "_tickets_dia"),"Title2Height",_ref.getField(false, "_title2height"),"TitleHeight",_ref.getField(false, "_titleheight"),"TOPE",_ref.getField(false, "_tope"),"trabajar",_ref.getField(false, "_trabajar"),"userpiezas",_ref.getField(false, "_userpiezas"),"usuario",_ref.getField(false, "_usuario"),"USUARIO1",_ref.getField(false, "_usuario1"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_principal_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_principal_subs_0.java new file mode 100644 index 0000000..7540ca9 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_principal_subs_0.java @@ -0,0 +1,8910 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_principal_subs_0 { + + +public static RemoteObject _addtitle(RemoteObject __ref,RemoteObject _title) throws Exception{ +try { + Debug.PushSubsStack("AddTitle (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3243); +if (RapidSub.canDelegate("addtitle")) { return __ref.runUserSub(false, "c_principal","addtitle", __ref, _title);} +RemoteObject _p_marcas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _td = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_principal._titledata"); +Debug.locals.put("Title", _title); + BA.debugLineNum = 3243;BA.debugLine="Sub AddTitle (Title As String)"; +Debug.ShouldStop(1024); + BA.debugLineNum = 3244;BA.debugLine="Dim p_MARCAS As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(2048); +_p_marcas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p_marcas = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p_MARCAS", _p_marcas);Debug.locals.put("p_MARCAS", _p_marcas); + BA.debugLineNum = 3245;BA.debugLine="p_MARCAS.SetLayoutAnimated(0, 0, 0, CLV1.AsView.W"; +Debug.ShouldStop(4096); +_p_marcas.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_clv1" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(__ref.getField(true,"_titleheight" /*RemoteObject*/ ))); + BA.debugLineNum = 3246;BA.debugLine="p_MARCAS.LoadLayout(\"CellTitle\")"; +Debug.ShouldStop(8192); +_p_marcas.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("CellTitle")),__ref.getField(false, "ba")); + BA.debugLineNum = 3247;BA.debugLine="lblTitle.Text = Title"; +Debug.ShouldStop(16384); +__ref.getField(false,"_lbltitle" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_title)); + BA.debugLineNum = 3248;BA.debugLine="Dim td As TitleData"; +Debug.ShouldStop(32768); +_td = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_principal._titledata");Debug.locals.put("td", _td); + BA.debugLineNum = 3249;BA.debugLine="td.Title = Title"; +Debug.ShouldStop(65536); +_td.setField ("Title" /*RemoteObject*/ ,_title); + BA.debugLineNum = 3250;BA.debugLine="CLV1.Add(p_MARCAS, td)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_add",(Object)(_p_marcas),(Object)((_td))); + BA.debugLineNum = 3251;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_comm_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_COMM_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3113); +if (RapidSub.canDelegate("b_comm_click")) { return __ref.runUserSub(false, "c_principal","b_comm_click", __ref);} + BA.debugLineNum = 3113;BA.debugLine="Sub B_COMM_Click"; +Debug.ShouldStop(256); + BA.debugLineNum = 3114;BA.debugLine="Btn_Ubicar.Visible=False"; +Debug.ShouldStop(512); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3115;BA.debugLine="SCROLL_RESDIA.Visible = True"; +Debug.ShouldStop(1024); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3116;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"COMIS\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("COMIS")),__ref.getField(false, "ba")); + BA.debugLineNum = 3117;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel_C.Height"; +Debug.ShouldStop(4096); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 3118;BA.debugLine="Panel4.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3119;BA.debugLine="Panel_C.Visible = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3122;BA.debugLine="NUEVO.Visible =False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3123;BA.debugLine="BUSCA.Visible=False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3124;BA.debugLine="connecta.Visible=False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3125;BA.debugLine="Subir.Visible=False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3126;BA.debugLine="cargar.Visible=False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3127;BA.debugLine="Resumen.Visible= False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3145;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_mapa_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_mapa_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2578); +if (RapidSub.canDelegate("b_mapa_click")) { return __ref.runUserSub(false, "c_principal","b_mapa_click", __ref);} + BA.debugLineNum = 2578;BA.debugLine="Sub b_mapa_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 2579;BA.debugLine="Log(\"mapClic\")"; +Debug.ShouldStop(262144); +c_principal.__c.runVoidMethod ("LogImpl","514286849",RemoteObject.createImmutable("mapClic"),0); + BA.debugLineNum = 2580;BA.debugLine="B4XPages.GetPage(\"Mapas\")"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runVoidMethod ("_getpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Mapas"))); + BA.debugLineNum = 2581;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_marcas_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_MARCAS_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3159); +if (RapidSub.canDelegate("b_marcas_click")) { return __ref.runUserSub(false, "c_principal","b_marcas_click", __ref);} +int _i = 0; + BA.debugLineNum = 3159;BA.debugLine="Sub B_MARCAS_Click"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 3184;BA.debugLine="SCROLL_RESDIA.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3185;BA.debugLine="Panel5.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_panel5" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3186;BA.debugLine="pnlTitle.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_pnltitle" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3187;BA.debugLine="pnlTitle.SetLayoutAnimated(0, 0, 0, CLV1.AsView.W"; +Debug.ShouldStop(262144); +__ref.getField(false,"_pnltitle" /*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,"_clv1" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_titleheight" /*RemoteObject*/ ),__ref.getField(true,"_dividerheight" /*RemoteObject*/ )}, "+",1, 1))); + BA.debugLineNum = 3188;BA.debugLine="pnlTitle.LoadLayout(\"CellTitle\")"; +Debug.ShouldStop(524288); +__ref.getField(false,"_pnltitle" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("CellTitle")),__ref.getField(false, "ba")); + BA.debugLineNum = 3189;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_GP"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CAT_GP_CLASIF, SUM(TOTAL) AS TOTAL FROM TOTAL_MARCAS GROUP BY CAT_GP_CLASIF")))); + BA.debugLineNum = 3190;BA.debugLine="CLV1.Clear"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 3191;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 = 3192;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(8388608); +{ +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 = 3193;BA.debugLine="c.Position=i"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3194;BA.debugLine="AddTitle(c.GetString(\"CAT_GP_CLASIF\"))"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_addtitle" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF"))))); + BA.debugLineNum = 3195;BA.debugLine="If c.GetString(\"CAT_GP_CLASIF\") = \"PROMOS\" Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF"))),BA.ObjectToString("PROMOS"))) { + BA.debugLineNum = 3196;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT SUM"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT SUM(PE_CANT) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID")))); + BA.debugLineNum = 3197;BA.debugLine="d.Position=0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3198;BA.debugLine="CLV1.AddTextItem(\"CANTIDAD DE PROMOS = \" & d.G"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("CANTIDAD DE PROMOS = "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3199;BA.debugLine="d.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 3201;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery2(\"select CO"; +Debug.ShouldStop(1); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select COUNT(*) AS CUANTOS from HIST_MARCAS_CUOTAS where HMC_MARCA = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF")))})))); + BA.debugLineNum = 3202;BA.debugLine="f.Position=0"; +Debug.ShouldStop(2); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3203;BA.debugLine="If f.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3204;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select H"; +Debug.ShouldStop(8); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select HMC_MARCA, HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF")))})))); + BA.debugLineNum = 3205;BA.debugLine="e.Position=0"; +Debug.ShouldStop(16); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3206;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT c"; +Debug.ShouldStop(32); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT count(distinct(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from cat_gunaprod WHERE CAT_GP_CLASIF =?)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF")))})))); + BA.debugLineNum = 3207;BA.debugLine="d.Position=0"; +Debug.ShouldStop(64); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3208;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge"; +Debug.ShouldStop(128); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("TOTAL PREVENTA = $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3209;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & e.GetString"; +Debug.ShouldStop(256); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("M E T A = $"),__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_TOTAL")))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3210;BA.debugLine="CLV1.AddTextItem(\"FALTA = $\" & (e.GetString("; +Debug.ShouldStop(512); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("FALTA = $"),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_TOTAL")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))}, "-",1, 0))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3211;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString"; +Debug.ShouldStop(1024); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("CLIENTES = "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3212;BA.debugLine="d.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3213;BA.debugLine="e.Close"; +Debug.ShouldStop(4096); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 3215;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT c"; +Debug.ShouldStop(16384); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT count(distinct(pe_cliente)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from cat_gunaprod WHERE CAT_GP_CLASIF =?)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_CLASIF")))})))); + BA.debugLineNum = 3216;BA.debugLine="d.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3217;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge"; +Debug.ShouldStop(65536); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("TOTAL PREVENTA = $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3218;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & \"1000\",\"1\")"; +Debug.ShouldStop(131072); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("M E T A = $"),RemoteObject.createImmutable("1000")))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3219;BA.debugLine="CLV1.AddTextItem(\"FALTA = $\" & (1000 - c.Get"; +Debug.ShouldStop(262144); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("FALTA = $"),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(1000),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))}, "-",1, 0))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3220;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString"; +Debug.ShouldStop(524288); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("CLIENTES = "),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3221;BA.debugLine="d.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 3223;BA.debugLine="f.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 3227;BA.debugLine="c.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3228;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HMC_MA"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select HMC_MARCA, HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA not in (SELECT CAT_GP_CLASIF FROM TOTAL_MARCAS )")))); + BA.debugLineNum = 3229;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 = 3230;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(536870912); +{ +final int step47 = 1; +final int limit47 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step47 > 0 && _i <= limit47) || (step47 < 0 && _i >= limit47) ;_i = ((int)(0 + _i + step47)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3231;BA.debugLine="c.Position=i"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3232;BA.debugLine="AddTitle(c.GetString(\"HMC_MARCA\"))"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_addtitle" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_MARCA"))))); + BA.debugLineNum = 3233;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $ 0.00\",\"1\""; +Debug.ShouldStop(1); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)(RemoteObject.createImmutable(("TOTAL PREVENTA = $ 0.00"))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3234;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & C.GetString(\""; +Debug.ShouldStop(2); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)((RemoteObject.concat(RemoteObject.createImmutable("M E T A = $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HMC_TOTAL")))))),(Object)((RemoteObject.createImmutable("1")))); + BA.debugLineNum = 3235;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = 0\",\"1\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_clv1" /*RemoteObject*/ ).runVoidMethod ("_addtextitem",(Object)(RemoteObject.createImmutable(("CLIENTES = 0"))),(Object)((RemoteObject.createImmutable("1")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 3238;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3241;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_ok_comiss_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_OK_COMISS_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3147); +if (RapidSub.canDelegate("b_ok_comiss_click")) { return __ref.runUserSub(false, "c_principal","b_ok_comiss_click", __ref);} + BA.debugLineNum = 3147;BA.debugLine="Sub B_OK_COMISS_Click"; +Debug.ShouldStop(1024); + BA.debugLineNum = 3148;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3149;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3150;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3151;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3152;BA.debugLine="P_RESUMEN.Visible=False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3153;BA.debugLine="Panel_C.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_panel_c" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3154;BA.debugLine="SCROLL_RESDIA.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3155;BA.debugLine="Btn_Ubicar.Visible=True"; +Debug.ShouldStop(262144); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3156;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_ok_panel5_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_OK_PANEL5_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3253); +if (RapidSub.canDelegate("b_ok_panel5_click")) { return __ref.runUserSub(false, "c_principal","b_ok_panel5_click", __ref);} + BA.debugLineNum = 3253;BA.debugLine="Sub B_OK_PANEL5_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 3254;BA.debugLine="Panel5.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_panel5" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3255;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3256;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3257;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3258;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3259;BA.debugLine="P_RESUMEN.Visible=False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3260;BA.debugLine="Panel4.Visible=False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3261;BA.debugLine="SCROLL_RESDIA.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3262;BA.debugLine="Btn_Ubicar.Visible=True"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3263;BA.debugLine="p_principal.Visible = True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3265;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_ok_pas_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_OK_PAS_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2702); +if (RapidSub.canDelegate("b_ok_pas_click")) { return __ref.runUserSub(false, "c_principal","b_ok_pas_click", __ref);} +RemoteObject _cn = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _gh = 0; +RemoteObject _c12 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +RemoteObject _c13 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 2702;BA.debugLine="Sub B_OK_PAS_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 2703;BA.debugLine="If CARGA = \"SUBIR\" And S_CP.Text = \"INFO OK\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("SUBIR")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("INFO OK"))) { + BA.debugLineNum = 2704;BA.debugLine="P1.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2705;BA.debugLine="p_mandaInfo.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2706;BA.debugLine="Btn_Ubicar.Visible=True"; +Debug.ShouldStop(131072); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2708;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(524288); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2709;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2710;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2711;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2712;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2713;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; +Debug.ShouldStop(16777216); +c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + }else +{ BA.debugLineNum = 2714;BA.debugLine="Else If CARGA = \"SUBIR\" And S_CP.Text = \"ERROR\" T"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("SUBIR")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("ERROR"))) { + BA.debugLineNum = 2715;BA.debugLine="Msgbox(\"Tiene que subir de nuevo la información\""; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Tiene que subir de nuevo la información")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atención"))),__ref.getField(false, "ba")); + BA.debugLineNum = 2716;BA.debugLine="P1.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2717;BA.debugLine="p_mandaInfo.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2719;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2720;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2721;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(1); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2722;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(2); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2723;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(4); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2724;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; +Debug.ShouldStop(8); +c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + }else +{ BA.debugLineNum = 2725;BA.debugLine="Else if CARGA = \"SUBIR\" And S_CP.Text <> \"INFO OK"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("SUBIR")) && RemoteObject.solveBoolean("!",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("INFO OK"))) { + BA.debugLineNum = 2726;BA.debugLine="RES = Msgbox2(\"Seguro que desea abortar el proc"; +Debug.ShouldStop(32); +__ref.setField ("_res" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea abortar el proceso")),(Object)(BA.ObjectToCharSequence("Cierre")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 2727;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 2728;BA.debugLine="P1.Visible = False"; +Debug.ShouldStop(128); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2730;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(512); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2731;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(1024); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2732;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2733;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2734;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2735;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; +Debug.ShouldStop(16384); +c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 2736;BA.debugLine="ExitApplication"; +Debug.ShouldStop(32768); +c_principal.__c.runVoidMethod ("ExitApplication"); + }; + }}} +; + BA.debugLineNum = 2739;BA.debugLine="If CARGA = \"CARGAR\" And S_CP.Text = \"LISTO\" And S"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("CARGAR")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO")) && RemoteObject.solveBoolean("=",__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO"))) { + BA.debugLineNum = 2740;BA.debugLine="P1.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2741;BA.debugLine="p_mandaInfo.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2742;BA.debugLine="p_mandaInfo.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2743;BA.debugLine="Btn_Ubicar.Visible=True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2745;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2746;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2747;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2748;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2749;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2750;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; +Debug.ShouldStop(536870912); +c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 2752;BA.debugLine="Dim cn As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(-2147483648); +_cn = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cn = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM CLIENTES_NUEVOS"))));Debug.locals.put("cn", _cn);Debug.locals.put("cn", _cn); + BA.debugLineNum = 2753;BA.debugLine="If cn.RowCount > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",_cn.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2754;BA.debugLine="For gh = 0 To cn.RowCount -1"; +Debug.ShouldStop(2); +{ +final int step47 = 1; +final int limit47 = RemoteObject.solve(new RemoteObject[] {_cn.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_gh = 0 ; +for (;(step47 > 0 && _gh <= limit47) || (step47 < 0 && _gh >= limit47) ;_gh = ((int)(0 + _gh + step47)) ) { +Debug.locals.put("gh", _gh); + BA.debugLineNum = 2755;BA.debugLine="cn.Position = gh"; +Debug.ShouldStop(4); +_cn.runMethod(true,"setPosition",BA.numberCast(int.class, _gh)); + BA.debugLineNum = 2756;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; +Debug.ShouldStop(8); +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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?) ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {19},new Object[] {(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_RUTA")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NOMBRE")))),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LON")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LAT")))),(_cn.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_GIRO"))))}))))); + } +}Debug.locals.put("gh", _gh); +; + }; + BA.debugLineNum = 2760;BA.debugLine="If E_RUTA2.Text <> \"\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 2761;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +Debug.ShouldStop(256); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTA_SUPLENCIA(RS_RUTA) VALUES(?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")}))))); + }; + BA.debugLineNum = 2763;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(1024); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTAA(RUTAA) VALUES(?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")}))))); + BA.debugLineNum = 2764;BA.debugLine="checaPedido"; +Debug.ShouldStop(2048); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_checapedido" /*RemoteObject*/ ); + BA.debugLineNum = 2766;BA.debugLine="Dim c12 As Cursor = Starter.skmt.ExecQuery(\"Sel"; +Debug.ShouldStop(8192); +_c12 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c12 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'PREVENTA'"))));Debug.locals.put("c12", _c12);Debug.locals.put("c12", _c12); + BA.debugLineNum = 2767;BA.debugLine="If c12.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_c12.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2768;BA.debugLine="For i = 0 To c12.RowCount - 1"; +Debug.ShouldStop(32768); +{ +final int step59 = 1; +final int limit59 = RemoteObject.solve(new RemoteObject[] {_c12.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step59 > 0 && _i <= limit59) || (step59 < 0 && _i >= limit59) ;_i = ((int)(0 + _i + step59)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2769;BA.debugLine="c12.Position = i"; +Debug.ShouldStop(65536); +_c12.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2770;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO"; +Debug.ShouldStop(131072); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE CAT_GUNAPROD SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c12.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c12.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2773;BA.debugLine="c12.Close"; +Debug.ShouldStop(1048576); +_c12.runVoidMethod ("Close"); + BA.debugLineNum = 2775;BA.debugLine="Dim c13 As Cursor = Starter.skmt.ExecQuery(\"Sel"; +Debug.ShouldStop(4194304); +_c13 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c13 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'VENTA'"))));Debug.locals.put("c13", _c13);Debug.locals.put("c13", _c13); + BA.debugLineNum = 2776;BA.debugLine="If c13.RowCount > 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",_c13.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2777;BA.debugLine="For i = 0 To c13.RowCount - 1"; +Debug.ShouldStop(16777216); +{ +final int step67 = 1; +final int limit67 = RemoteObject.solve(new RemoteObject[] {_c13.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step67 > 0 && _i <= limit67) || (step67 < 0 && _i >= limit67) ;_i = ((int)(0 + _i + step67)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2778;BA.debugLine="c13.Position = i"; +Debug.ShouldStop(33554432); +_c13.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2779;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO"; +Debug.ShouldStop(67108864); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE CAT_GUNAPROD2 SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c13.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" WHERE CAT_GP_ID = '"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_c13.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2782;BA.debugLine="c13.Close"; +Debug.ShouldStop(536870912); +_c13.runVoidMethod ("Close"); + BA.debugLineNum = 2784;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + }else +{ BA.debugLineNum = 2785;BA.debugLine="Else if CARGA = \"CARGAR\" And (S_CP.Text <> \"LISTO"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_carga" /*RemoteObject*/ ),BA.ObjectToString("CARGAR")) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("!",__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO")) || RemoteObject.solveBoolean("!",__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("LISTO")) || RemoteObject.solveBoolean("!",__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"getText"),RemoteObject.createImmutable("LISTO")))))) { + BA.debugLineNum = 2786;BA.debugLine="RES = Msgbox2(\"Seguro que desea abortar el proc"; +Debug.ShouldStop(2); +__ref.setField ("_res" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence("Seguro que desea abortar el proceso")),(Object)(BA.ObjectToCharSequence("Cierre")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_principal.__c.runMethod(false,"LoadBitmap",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 2787;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 2788;BA.debugLine="P1.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2789;BA.debugLine="p_mandaInfo.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2791;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(64); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2792;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(128); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2793;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(256); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2794;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(512); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2795;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2796;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; +Debug.ShouldStop(2048); +c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_principal" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 2797;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info"))); + BA.debugLineNum = 2798;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cod_result"))); + BA.debugLineNum = 2799;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from hist_gest"))); + BA.debugLineNum = 2800;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(32768); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod"))); + BA.debugLineNum = 2801;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod2"))); + BA.debugLineNum = 2802;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod3"))); + BA.debugLineNum = 2803;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod4"))); + BA.debugLineNum = 2804;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ"))); + BA.debugLineNum = 2805;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from telefonos"))); + BA.debugLineNum = 2806;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(2097152); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS"))); + BA.debugLineNum = 2807;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(4194304); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_PROMOS"))); + BA.debugLineNum = 2808;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(8388608); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_CLIENTE_CANT_PROMOS"))); + BA.debugLineNum = 2809;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROMOS_COMP"))); + BA.debugLineNum = 2810;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(33554432); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_VERIFICACION"))); + BA.debugLineNum = 2811;BA.debugLine="ExitApplication"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethod ("ExitApplication"); + }; + }} +; + BA.debugLineNum = 2814;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_ok_res_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B_OK_RES_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2836); +if (RapidSub.canDelegate("b_ok_res_click")) { return __ref.runUserSub(false, "c_principal","b_ok_res_click", __ref);} + BA.debugLineNum = 2836;BA.debugLine="Sub B_OK_RES_Click"; +Debug.ShouldStop(524288); + BA.debugLineNum = 2838;BA.debugLine="NUEVO.Visible =True"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2839;BA.debugLine="BUSCA.Visible=True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2840;BA.debugLine="connecta.Visible=True"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2841;BA.debugLine="Resumen.Visible= True"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2842;BA.debugLine="P_RESUMEN.Visible=False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2843;BA.debugLine="Panel4.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2844;BA.debugLine="SCROLL_RESDIA.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2845;BA.debugLine="Btn_Ubicar.Visible=True"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2846;BA.debugLine="p_principal.Visible = True"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2847;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_productos_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_productos_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3418); +if (RapidSub.canDelegate("b_productos_click")) { return __ref.runUserSub(false, "c_principal","b_productos_click", __ref);} +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +RemoteObject _itemtext = RemoteObject.createImmutable(""); + BA.debugLineNum = 3418;BA.debugLine="Private Sub b_productos_Click"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 3420;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(134217728); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 3421;BA.debugLine="label1 = lv_prod_Prin.SingleLineLayout.Label"; +Debug.ShouldStop(268435456); +_label1 = __ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 3422;BA.debugLine="label1.TextSize = 14"; +Debug.ShouldStop(536870912); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 14)); + BA.debugLineNum = 3423;BA.debugLine="p_prod.Width = Root.Width"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 3424;BA.debugLine="p_prod.Height = Root.Height"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 3425;BA.debugLine="b_regreso.Left = (p_prod.Width - b_regreso.Width)"; +Debug.ShouldStop(1); +__ref.getField(false,"_b_regreso" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_b_regreso" /*RemoteObject*/ ).runMethod(true,"getWidth")}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0))); + BA.debugLineNum = 3426;BA.debugLine="b_regreso.Top = p_prod.Height - b_regreso.Height"; +Debug.ShouldStop(2); +__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 = 3428;BA.debugLine="p_prod.Visible = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3429;BA.debugLine="p_prod.BringToFront"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 3432;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel"; +Debug.ShouldStop(128); +c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_principal._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_GP_NOMBRE AS HVD_PRONOMBRE, IFNULL(cat_gp_almacen, 0) AS HVD_RECHAZOCANT from CAT_GUNAPROD2 WHERE CAT_GP_TIPO <> 'PROMOS' AND CAT_GP_SUBTIPO <> 'PROMOS' order by CAT_GP_NOMBRE asc"))));__ref.setField("_c",c_principal._c); + BA.debugLineNum = 3434;BA.debugLine="lv_prod_Prin.SingleLineLayout.Label.TextColor = C"; +Debug.ShouldStop(512); +__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 = 3435;BA.debugLine="lv_prod_Prin.Clear"; +Debug.ShouldStop(1024); +__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 3436;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 = 3437;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(4096); +{ +final int step14 = 1; +final int limit14 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step14 > 0 && _i <= limit14) || (step14 < 0 && _i >= limit14) ;_i = ((int)(0 + _i + step14)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3438;BA.debugLine="c.Position = i"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3439;BA.debugLine="Dim itemText As String"; +Debug.ShouldStop(16384); +_itemtext = RemoteObject.createImmutable("");Debug.locals.put("itemText", _itemtext); + BA.debugLineNum = 3443;BA.debugLine="itemText = $\"${c.GetString(\"HVD_PRONOMBRE\")} ${"; +Debug.ShouldStop(262144); +_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(" "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_principal.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Cantidad: "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("HVD_RECHAZOCANT"))))))),RemoteObject.createImmutable("")));Debug.locals.put("itemText", _itemtext); + BA.debugLineNum = 3444;BA.debugLine="lv_prod_Prin.AddSingleLine(itemText)"; +Debug.ShouldStop(524288); +__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(_itemtext))); + } +}Debug.locals.put("i", _i); +; + }else { + BA.debugLineNum = 3449;BA.debugLine="lv_prod_Prin.AddSingleLine(\"No hay datos disponi"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_lv_prod_prin" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("No hay datos disponibles.")))); + }; + BA.debugLineNum = 3451;BA.debugLine="c.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3453;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +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,3410); +if (RapidSub.canDelegate("b_regreso_click")) { return __ref.runUserSub(false, "c_principal","b_regreso_click", __ref);} + BA.debugLineNum = 3410;BA.debugLine="Private Sub b_regreso_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 3411;BA.debugLine="p_prod.Visible = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3412;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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,3316); +if (RapidSub.canDelegate("b_tabulador_click")) { return __ref.runUserSub(false, "c_principal","b_tabulador_click", __ref);} + BA.debugLineNum = 3316;BA.debugLine="Private Sub b_tabulador_Click"; +Debug.ShouldStop(524288); + BA.debugLineNum = 3317;BA.debugLine="B4XPages.ShowPage(\"tabulador\")"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("tabulador"))); + BA.debugLineNum = 3318;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,387); +if (RapidSub.canDelegate("b4xpage_appear")) { __ref.runUserSub(false, "c_principal","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(SHARK2.keymon.com.mx.c_principal parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_principal parent; +RemoteObject _conven = RemoteObject.createImmutable(0); +RemoteObject _sinven = RemoteObject.createImmutable(0); +RemoteObject _cursor = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cnoventa = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _totclientes = RemoteObject.createImmutable(0); +RemoteObject _fg = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _costo_cred = RemoteObject.createImmutable(0); +RemoteObject _costo_contado = RemoteObject.createImmutable(0); +RemoteObject _resultado = RemoteObject.createImmutable(0); +RemoteObject _pol = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _poli = 0; +RemoteObject _coords = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +int step210; +int limit210; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,387); +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 = 389;BA.debugLine="rd.respaldaPedido"; +Debug.ShouldStop(16); +__ref.getField(false,"_rd" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_respaldodiario.class, "_respaldapedido" /*RemoteObject*/ ); + BA.debugLineNum = 390;BA.debugLine="rd.respaldaInventarios"; +Debug.ShouldStop(32); +__ref.getField(false,"_rd" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_respaldodiario.class, "_respaldainventarios" /*RemoteObject*/ ); + BA.debugLineNum = 391;BA.debugLine="rd.respaldaPaquetes"; +Debug.ShouldStop(64); +__ref.getField(false,"_rd" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_respaldodiario.class, "_respaldapaquetes" /*RemoteObject*/ ); + BA.debugLineNum = 392;BA.debugLine="HORAINGRESO =\"000000\""; +Debug.ShouldStop(128); +__ref.setField ("_horaingreso" /*RemoteObject*/ ,BA.ObjectToString("000000")); + BA.debugLineNum = 393;BA.debugLine="Btn_Ubicar.Left = (Root.Width/2) - (Btn_Ubicar.Wi"; +Debug.ShouldStop(256); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 394;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; +Debug.ShouldStop(512); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(parent._starter._dbreqserver /*RemoteObject*/ )); + BA.debugLineNum = 395;BA.debugLine="Log(Starter.DBReqServer)"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("LogImpl","513697032",parent._starter._dbreqserver /*RemoteObject*/ ,0); + BA.debugLineNum = 396;BA.debugLine="PASO =0"; +Debug.ShouldStop(2048); +__ref.setField ("_paso" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 397;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +Debug.ShouldStop(4096); +if (true) break; + +case 1: +//if +this.state = 10; +if (parent.__c.runMethod(true,"Not",(Object)(parent._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"))).get().booleanValue()) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 398;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; +Debug.ShouldStop(8192); +if (true) break; + +case 4: +//if +this.state = 9; +if (RemoteObject.solveBoolean("!",parent._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +this.state = 6; +;}if (true) break; + +case 6: +//C +this.state = 9; +parent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Es necesario tener el GPS encendido")),(Object)(parent.__c.getField(true,"True"))); +if (true) break; + +case 9: +//C +this.state = 10; +; + BA.debugLineNum = 399;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((parent._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + if (true) break; + +case 10: +//C +this.state = 11; +; + BA.debugLineNum = 401;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select count"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("FECHA")})))); + BA.debugLineNum = 402;BA.debugLine="c.Position =0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 403;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +Debug.ShouldStop(262144); +if (true) break; + +case 11: +//if +this.state = 20; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(0))) { +this.state = 13; +}else { +this.state = 15; +}if (true) break; + +case 13: +//C +this.state = 20; + BA.debugLineNum = 404;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 405;BA.debugLine="cmd.Name = \"select_fecha\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_fecha")); + BA.debugLineNum = 406;BA.debugLine="Log( Starter.DBReqServer)"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("LogImpl","513697043",parent._starter._dbreqserver /*RemoteObject*/ ,0); + BA.debugLineNum = 407;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("fecha")))); + BA.debugLineNum = 408;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'ignore"; +Debug.ShouldStop(8388608); +parent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("AJUSTAR FECHA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + BA.debugLineNum = 409;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 411;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT_"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("FECHA")})))); + BA.debugLineNum = 412;BA.debugLine="c.Position=0"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 413;BA.debugLine="Dim sDate,sTime As String"; +Debug.ShouldStop(268435456); +parent._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",parent._sdate); +parent._stime = RemoteObject.createImmutable("");__ref.setField("_stime",parent._stime); + BA.debugLineNum = 414;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +Debug.ShouldStop(536870912); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyyyMMdd")); + BA.debugLineNum = 415;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(1073741824); +__ref.setField ("_sdate" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 416;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 16: +//if +this.state = 19; +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")))),BA.numberCast(double.class, __ref.getField(true,"_sdate" /*RemoteObject*/ )))) { +this.state = 18; +}if (true) break; + +case 18: +//C +this.state = 19; + BA.debugLineNum = 417;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS"; +Debug.ShouldStop(1); +parent.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("AVISO"))),__ref.getField(false, "ba")); + BA.debugLineNum = 418;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 419;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(4); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + if (true) break; + +case 19: +//C +this.state = 20; +; + BA.debugLineNum = 421;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 20: +//C +this.state = 21; +; + BA.debugLineNum = 423;BA.debugLine="c.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 424;BA.debugLine="If EJECUTANDO =0 Then"; +Debug.ShouldStop(128); +if (true) break; + +case 21: +//if +this.state = 24; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ejecutando" /*RemoteObject*/ ),BA.NumberToString(0))) { +this.state = 23; +}if (true) break; + +case 23: +//C +this.state = 24; + BA.debugLineNum = 425;BA.debugLine="Listo1 = 0"; +Debug.ShouldStop(256); +__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 426;BA.debugLine="Listo2 = 0"; +Debug.ShouldStop(512); +__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 427;BA.debugLine="Listo3 = 0"; +Debug.ShouldStop(1024); +__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 428;BA.debugLine="Listo4 = 0"; +Debug.ShouldStop(2048); +__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 429;BA.debugLine="Listo5 = 0"; +Debug.ShouldStop(4096); +__ref.setField ("_listo5" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 430;BA.debugLine="inve = 0"; +Debug.ShouldStop(8192); +__ref.setField ("_inve" /*RemoteObject*/ ,BA.NumberToString(0)); + BA.debugLineNum = 431;BA.debugLine="img2.Visible =False"; +Debug.ShouldStop(16384); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 24: +//C +this.state = 25; +; + BA.debugLineNum = 433;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(65536); +parent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 434;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(131072); +__ref.setField ("_fecha" /*RemoteObject*/ ,parent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(parent.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 435;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count("; +Debug.ShouldStop(262144); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOS from pedido_cliente WHERE PC_CLIENTE <> 0 AND PC_CLIENTE <> 1")))); + BA.debugLineNum = 436;BA.debugLine="b.Position=0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 437;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; +Debug.ShouldStop(1048576); +__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 438;BA.debugLine="b.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 440;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(8388608); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0")))); + BA.debugLineNum = 441;BA.debugLine="d.Position=0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 442;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(33554432); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_CODIGO <>0 OR CAT_CL_CODIGO <>1 ")))); + BA.debugLineNum = 443;BA.debugLine="e.Position=0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 444;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(134217728); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CAT_CL_RUTA from kmt_info WHERE CAT_CL_CODIGO <>0 OR CAT_CL_CODIGO <>1 ")))); + BA.debugLineNum = 445;BA.debugLine="f.Position=0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 446;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))))); + BA.debugLineNum = 447;BA.debugLine="f.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 448;BA.debugLine="If l_ruta.Text = 0 Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 25: +//if +this.state = 30; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.NumberToString(0))) { +this.state = 27; +}else { +this.state = 29; +}if (true) break; + +case 27: +//C +this.state = 30; + BA.debugLineNum = 449;BA.debugLine="l_ruta.Text =0"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 450;BA.debugLine="p_b_tabulador.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_b_tabulador" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 451;BA.debugLine="pnlBtnCobranza.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_pnlbtncobranza" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 29: +//C +this.state = 30; + BA.debugLineNum = 453;BA.debugLine="p_b_tabulador.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_p_b_tabulador" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 454;BA.debugLine="pnlBtnCobranza.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_pnlbtncobranza" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 455;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(64); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info")))); + BA.debugLineNum = 456;BA.debugLine="f.Position=0"; +Debug.ShouldStop(128); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 457;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))))); + BA.debugLineNum = 458;BA.debugLine="f.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; +; + BA.debugLineNum = 460;BA.debugLine="If Cuantos = 0 Then"; +Debug.ShouldStop(2048); + +case 30: +//if +this.state = 43; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos" /*RemoteObject*/ ),BA.NumberToString(0))) { +this.state = 32; +}else { +this.state = 34; +}if (true) break; + +case 32: +//C +this.state = 43; + BA.debugLineNum = 461;BA.debugLine="L_MONTOD.Text =0"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 462;BA.debugLine="l_cuantosc.Text = 0"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 463;BA.debugLine="l_cuantosn.Text = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 464;BA.debugLine="L_CUANTOST.Text = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 465;BA.debugLine="drop = 0"; +Debug.ShouldStop(65536); +__ref.setField ("_drop" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 466;BA.debugLine="l_drop.Text = 0"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 467;BA.debugLine="efectiva = 0"; +Debug.ShouldStop(262144); +__ref.setField ("_efectiva" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 468;BA.debugLine="l_efectiva.text =0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 469;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +Debug.ShouldStop(1048576); +__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 = 470;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +Debug.ShouldStop(2097152); +__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 = 471;BA.debugLine="d.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 472;BA.debugLine="e.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 473;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS from noventa")))); + BA.debugLineNum = 474;BA.debugLine="b.Position=0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 475;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; +Debug.ShouldStop(67108864); +__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 = 476;BA.debugLine="b.close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 34: +//C +this.state = 35; + BA.debugLineNum = 478;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM("; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select SUM(PE_COSTO_TOT) as MONTO_DIA, COUNT(DISTINCT(PE_CLIENTE)) AS CLIENTES_DIA from PEDIDO WHERE PE_CLIENTE <> 0")))); + BA.debugLineNum = 479;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS from noventa")))); + BA.debugLineNum = 480;BA.debugLine="c.Position=0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 481;BA.debugLine="b.Position=0"; +Debug.ShouldStop(1); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 482;BA.debugLine="L_MONTOD.Text = c.GetString(\"MONTO_DIA\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))))); + BA.debugLineNum = 483;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA"))))); + BA.debugLineNum = 485;BA.debugLine="D2=B4XPages.MainPage.skmt.ExecQuery(\"select COU"; +Debug.ShouldStop(16); +__ref.getField(false,"_d2" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select COUNT(*) AS CUANTOS from PEDIDO ")))); + BA.debugLineNum = 486;BA.debugLine="D2.Position = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_d2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 487;BA.debugLine="LPT = D2.GetString(\"CUANTOS\") / l_cuantosc.Text"; +Debug.ShouldStop(64); +__ref.setField ("_lpt" /*RemoteObject*/ ,BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_d2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, __ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0))); + BA.debugLineNum = 488;BA.debugLine="D2.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_d2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 490;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; +Debug.ShouldStop(512); +__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 = 491;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt"; +Debug.ShouldStop(1024); +__ref.setField ("_efectiva" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA")))),BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR"))))}, "/",0, 0)); + BA.debugLineNum = 492;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_efectiva" /*RemoteObject*/ ),RemoteObject.createImmutable(100)}, "*",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 493;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +Debug.ShouldStop(4096); +__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 = 494;BA.debugLine="d.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 495;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +Debug.ShouldStop(16384); +__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 = 496;BA.debugLine="L_CUANTOST.Text = l_cuantosc.Text + l_cuantosn.T"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"getText"))}, "+",1, 0))); + BA.debugLineNum = 497;BA.debugLine="drop = L_CUANTOST.Text / l_porvisitar.Text"; +Debug.ShouldStop(65536); +__ref.setField ("_drop" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)); + BA.debugLineNum = 498;BA.debugLine="l_drop.Text = Round(drop * 100)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(parent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_drop" /*RemoteObject*/ ),RemoteObject.createImmutable(100)}, "*",0, 0))))); + BA.debugLineNum = 499;BA.debugLine="If L_CUANTOST.Text < 40 Then"; +Debug.ShouldStop(262144); +if (true) break; + +case 35: +//if +this.state = 42; +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 40))) { +this.state = 37; +}else +{ BA.debugLineNum = 501;BA.debugLine="Else If L_CUANTOST.Text > = 40 And L_CUANTOST."; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("g",BA.numberCast(double.class, __ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 40)) && RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 50))) { +this.state = 39; +}else { +this.state = 41; +}} +if (true) break; + +case 37: +//C +this.state = 42; + BA.debugLineNum = 500;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,"; +Debug.ShouldStop(524288); +__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("tache_rojo.png"))).getObject())); + if (true) break; + +case 39: +//C +this.state = 42; + BA.debugLineNum = 502;BA.debugLine="ImageView3.bitmap = LoadBitmap(File.DirAssets,"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alerta_amarilla.png"))).getObject())); + if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 504;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_imageview3" /*RemoteObject*/ ).runMethod(false,"setBitmap",(parent.__c.runMethod(false,"LoadBitmap",(Object)(parent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("palomita_verde.png"))).getObject())); + if (true) break; + +case 42: +//C +this.state = 43; +; + BA.debugLineNum = 514;BA.debugLine="b.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 515;BA.debugLine="c.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 43: +//C +this.state = 44; +; + BA.debugLineNum = 517;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 518;BA.debugLine="b.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 519;BA.debugLine="e.Close"; +Debug.ShouldStop(64); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 520;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN")))); + BA.debugLineNum = 521;BA.debugLine="C.Position =0"; +Debug.ShouldStop(256); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 522;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(512); +__ref.setField ("_almacen" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")))); + BA.debugLineNum = 523;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 524;BA.debugLine="bu.Initialize"; +Debug.ShouldStop(2048); +__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.batteryutilities.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 525;BA.debugLine="batterystatus = bu.BatteryInformation"; +Debug.ShouldStop(4096); +__ref.setField ("_batterystatus" /*RemoteObject*/ ,__ref.getField(false,"_bu" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.batteryutilities.class, "_getbatteryinformation" /*RemoteObject*/ )); + BA.debugLineNum = 528;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 529;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 530;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 = 531;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 540;BA.debugLine="Dim conVen As Int = 0"; +Debug.ShouldStop(134217728); +_conven = BA.numberCast(int.class, 0);Debug.locals.put("conVen", _conven);Debug.locals.put("conVen", _conven); + BA.debugLineNum = 541;BA.debugLine="Dim sinVen As Int = 0"; +Debug.ShouldStop(268435456); +_sinven = BA.numberCast(int.class, 0);Debug.locals.put("sinVen", _sinven);Debug.locals.put("sinVen", _sinven); + BA.debugLineNum = 543;BA.debugLine="Dim cursor As Cursor = Starter.skmt.ExecQuery($\"S"; +Debug.ShouldStop(1073741824); +_cursor = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cursor = 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(PE_COSTO_TOT) AS PE_COSTO_TOT, COUNT(DISTINCT PE_CLIENTE) AS PE_CLIENTE FROM PEDIDO WHERE PE_FOLIO <> 'RECARGA'")))));Debug.locals.put("cursor", _cursor);Debug.locals.put("cursor", _cursor); + BA.debugLineNum = 544;BA.debugLine="If cursor.RowCount > 0 Then"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 44: +//if +this.state = 47; +if (RemoteObject.solveBoolean(">",_cursor.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 46; +}if (true) break; + +case 46: +//C +this.state = 47; + BA.debugLineNum = 545;BA.debugLine="cursor.Position = 0"; +Debug.ShouldStop(1); +_cursor.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 546;BA.debugLine="B4XPages.MainPage.montoActual = cursor.GetString"; +Debug.ShouldStop(2); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_montoactual" /*RemoteObject*/ ,_cursor.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))); + BA.debugLineNum = 547;BA.debugLine="B4XPages.MainPage.clientesventa = cursor.GetStri"; +Debug.ShouldStop(4); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientesventa" /*RemoteObject*/ ,_cursor.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))); + BA.debugLineNum = 548;BA.debugLine="conVen = cursor.GetInt(\"PE_CLIENTE\")"; +Debug.ShouldStop(8); +_conven = _cursor.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CLIENTE")));Debug.locals.put("conVen", _conven); + if (true) break; + +case 47: +//C +this.state = 48; +; + BA.debugLineNum = 550;BA.debugLine="Log(\"Clientes con venta: \" & conVen)"; +Debug.ShouldStop(32); +parent.__c.runVoidMethod ("LogImpl","513697187",RemoteObject.concat(RemoteObject.createImmutable("Clientes con venta: "),_conven),0); + BA.debugLineNum = 552;BA.debugLine="Dim cNoVenta As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(128); +_cnoventa = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cnoventa = 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 COUNT(DISTINCT NV_CLIENTE) AS NV_CLIENTE FROM NOVENTA")))));Debug.locals.put("cNoVenta", _cnoventa);Debug.locals.put("cNoVenta", _cnoventa); + BA.debugLineNum = 553;BA.debugLine="If cNoVenta.RowCount > 0 Then"; +Debug.ShouldStop(256); +if (true) break; + +case 48: +//if +this.state = 51; +if (RemoteObject.solveBoolean(">",_cnoventa.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 50; +}if (true) break; + +case 50: +//C +this.state = 51; + BA.debugLineNum = 554;BA.debugLine="cNoVenta.Position = 0"; +Debug.ShouldStop(512); +_cnoventa.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 555;BA.debugLine="sinVen = cNoVenta.GetInt(\"NV_CLIENTE\")"; +Debug.ShouldStop(1024); +_sinven = _cnoventa.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("NV_CLIENTE")));Debug.locals.put("sinVen", _sinven); + BA.debugLineNum = 557;BA.debugLine="Log(\"Clientes sin venta: \" & sinVen)"; +Debug.ShouldStop(4096); +parent.__c.runVoidMethod ("LogImpl","513697194",RemoteObject.concat(RemoteObject.createImmutable("Clientes sin venta: "),_sinven),0); + BA.debugLineNum = 559;BA.debugLine="Dim totClientes As Int = sinVen + conVen"; +Debug.ShouldStop(16384); +_totclientes = RemoteObject.solve(new RemoteObject[] {_sinven,_conven}, "+",1, 1);Debug.locals.put("totClientes", _totclientes);Debug.locals.put("totClientes", _totclientes); + BA.debugLineNum = 560;BA.debugLine="Log(\"Total clientes visitados: \" & totClientes)"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("LogImpl","513697197",RemoteObject.concat(RemoteObject.createImmutable("Total clientes visitados: "),_totclientes),0); + if (true) break; + +case 51: +//C +this.state = 52; +; + BA.debugLineNum = 565;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)"; +Debug.ShouldStop(1048576); +parent._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 = 566;BA.debugLine="B4XPages.MainPage.clientestotal = totClientes"; +Debug.ShouldStop(2097152); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientestotal" /*RemoteObject*/ ,BA.NumberToString(_totclientes)); + BA.debugLineNum = 567;BA.debugLine="B4XPages.MainPage.clientesvisitados = l_porvisita"; +Debug.ShouldStop(4194304); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_clientesvisitados" /*RemoteObject*/ ,__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 568;BA.debugLine="B4XPages.MainPage.ALMACEN = ALMACEN"; +Debug.ShouldStop(8388608); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_almacen" /*RemoteObject*/ ,__ref.getField(true,"_almacen" /*RemoteObject*/ )); + BA.debugLineNum = 569;BA.debugLine="B4XPages.MainPage.rutapreventa = l_ruta.Text"; +Debug.ShouldStop(16777216); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_rutapreventa" /*RemoteObject*/ ,__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")); + BA.debugLineNum = 572;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 573;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 574;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(536870912); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 575;BA.debugLine="B4XPages.MainPage.usuario = usuario"; +Debug.ShouldStop(1073741824); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_usuario" /*RemoteObject*/ ,__ref.getField(true,"_usuario" /*RemoteObject*/ )); + BA.debugLineNum = 576;BA.debugLine="c.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 578;BA.debugLine="CallSub(Starter, \"ENVIA_ULTIMA_GPS\")"; +Debug.ShouldStop(2); +parent.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)((parent._starter.getObject())),(Object)(RemoteObject.createImmutable("ENVIA_ULTIMA_GPS"))); + BA.debugLineNum = 581;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select RS_R"; +Debug.ShouldStop(16); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RS_RUTA FROM RUTA_SUPLENCIA")))); + BA.debugLineNum = 582;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 583;BA.debugLine="If s.RowCount = 0 Then"; +Debug.ShouldStop(64); +if (true) break; + +case 52: +//if +this.state = 57; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 54; +}else +{ BA.debugLineNum = 589;BA.debugLine="Else If s.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 56; +}} +if (true) break; + +case 54: +//C +this.state = 57; + BA.debugLineNum = 585;BA.debugLine="Label22.Visible = False"; +Debug.ShouldStop(256); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 586;BA.debugLine="l_rutasuplencia.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 587;BA.debugLine="l_rutasuplencia.Text = \"\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + if (true) break; + +case 56: +//C +this.state = 57; + BA.debugLineNum = 591;BA.debugLine="Label22.Visible = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 592;BA.debugLine="l_rutasuplencia.Visible = True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 593;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RS_RUTA"))))); + if (true) break; + +case 57: +//C +this.state = 58; +; + BA.debugLineNum = 596;BA.debugLine="s.Close"; +Debug.ShouldStop(524288); +__ref.getField(false,"_s" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 598;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select RUTA"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RUTAA FROM RUTAA")))); + BA.debugLineNum = 599;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 600;BA.debugLine="If s.RowCount = 0 Then"; +Debug.ShouldStop(8388608); +if (true) break; + +case 58: +//if +this.state = 63; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 60; +}else +{ BA.debugLineNum = 605;BA.debugLine="Else If s.RowCount > 0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 62; +}} +if (true) break; + +case 60: +//C +this.state = 63; + BA.debugLineNum = 603;BA.debugLine="l_ruta.Text = 0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + if (true) break; + +case 62: +//C +this.state = 63; + BA.debugLineNum = 607;BA.debugLine="l_ruta.Text = s.GetString(\"RUTAA\")"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RUTAA"))))); + if (true) break; +; + BA.debugLineNum = 611;BA.debugLine="If l_ruta.Text = \"0\" Then"; +Debug.ShouldStop(4); + +case 63: +//if +this.state = 68; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { +this.state = 65; +}else { +this.state = 67; +}if (true) break; + +case 65: +//C +this.state = 68; + BA.debugLineNum = 612;BA.debugLine="p_abordo.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 613;BA.debugLine="b_productos.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_b_productos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 67: +//C +this.state = 68; + BA.debugLineNum = 615;BA.debugLine="p_abordo.Visible = True"; +Debug.ShouldStop(64); +__ref.getField(false,"_p_abordo" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 616;BA.debugLine="b_productos.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_b_productos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + if (true) break; + +case 68: +//C +this.state = 69; +; + BA.debugLineNum = 630;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +Debug.ShouldStop(2097152); +_fg = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fg = 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(CASE WHEN PE_FOLIO = 'PREVENTA_CREDITO' THEN PE_COSTO_TOT ELSE 0 END), 0) AS COSTO_CRED, IFNULL(SUM(CASE WHEN PE_FOLIO = 'PREVENTA_CONTADO' THEN PE_COSTO_TOT ELSE 0 END), 0) AS COSTO_CONTADO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO IN ('PREVENTA_CREDITO', 'PREVENTA_CONTADO')"))));Debug.locals.put("fg", _fg);Debug.locals.put("fg", _fg); + BA.debugLineNum = 632;BA.debugLine="fg.Position = 0"; +Debug.ShouldStop(8388608); +_fg.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 633;BA.debugLine="Dim COSTO_CRED As Double = fg.GetDouble(\"COSTO_CR"; +Debug.ShouldStop(16777216); +_costo_cred = _fg.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("COSTO_CRED")));Debug.locals.put("COSTO_CRED", _costo_cred);Debug.locals.put("COSTO_CRED", _costo_cred); + BA.debugLineNum = 634;BA.debugLine="Dim COSTO_CONTADO As Double = fg.GetDouble(\"COSTO"; +Debug.ShouldStop(33554432); +_costo_contado = _fg.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("COSTO_CONTADO")));Debug.locals.put("COSTO_CONTADO", _costo_contado);Debug.locals.put("COSTO_CONTADO", _costo_contado); + BA.debugLineNum = 636;BA.debugLine="Log(\"Costo Crédito: \" & COSTO_CRED & \"<<<<<<<<<<<"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("LogImpl","513697273",RemoteObject.concat(RemoteObject.createImmutable("Costo Crédito: "),_costo_cred,RemoteObject.createImmutable("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<")),0); + BA.debugLineNum = 637;BA.debugLine="Log(\"Costo Contado: \" & COSTO_CONTADO & \"<<<<<<<<"; +Debug.ShouldStop(268435456); +parent.__c.runVoidMethod ("LogImpl","513697274",RemoteObject.concat(RemoteObject.createImmutable("Costo Contado: "),_costo_contado,RemoteObject.createImmutable("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<")),0); + BA.debugLineNum = 639;BA.debugLine="If COSTO_CRED > 0 And COSTO_CRED < 1000 Then"; +Debug.ShouldStop(1073741824); +if (true) break; + +case 69: +//if +this.state = 76; +if (RemoteObject.solveBoolean(">",_costo_cred,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("<",_costo_cred,BA.numberCast(double.class, 1000))) { +this.state = 71; +}if (true) break; + +case 71: +//C +this.state = 72; + BA.debugLineNum = 640;BA.debugLine="Msgbox2Async($\"Se ha detectado venta a crédito m"; +Debug.ShouldStop(-2147483648); +parent.__c.runVoidMethod ("Msgbox2Async",(Object)(BA.ObjectToCharSequence((RemoteObject.createImmutable("Se ha detectado venta a crédito menor a $1000 pesos. ¿Desea borrarla?")))),(Object)(BA.ObjectToCharSequence("Venta Mínima de Crédito")),(Object)(BA.ObjectToString("Sí")),(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 = 641;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_principal", "b4xpage_appear"), null); +this.state = 89; +return; +case 89: +//C +this.state = 72; +_resultado = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("resultado", _resultado); +; + BA.debugLineNum = 642;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(2); +if (true) break; + +case 72: +//if +this.state = 75; +if (RemoteObject.solveBoolean("=",_resultado,BA.numberCast(double.class, parent.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { +this.state = 74; +}if (true) break; + +case 74: +//C +this.state = 75; + BA.debugLineNum = 643;BA.debugLine="Subs.borraPedidoCredito"; +Debug.ShouldStop(4); +parent._subs.runVoidMethod ("_borrapedidocredito" /*RemoteObject*/ ,__ref.getField(false, "ba")); + if (true) break; + +case 75: +//C +this.state = 76; +; + if (true) break; + +case 76: +//C +this.state = 77; +; + BA.debugLineNum = 647;BA.debugLine="fg.Close"; +Debug.ShouldStop(64); +_fg.runVoidMethod ("Close"); + BA.debugLineNum = 649;BA.debugLine="CallSubDelayed(Tracker, \"Track\")"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((parent._tracker.getObject())),(Object)(RemoteObject.createImmutable("Track"))); + BA.debugLineNum = 650;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)((parent._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLPSmall"))); + BA.debugLineNum = 651;BA.debugLine="If Tracker.FLP.IsInitialized And Tracker.FLP.GetL"; +Debug.ShouldStop(1024); +if (true) break; + +case 77: +//if +this.state = 80; +if (RemoteObject.solveBoolean(".",parent._tracker._flp /*RemoteObject*/ .runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized"))) { +this.state = 79; +}if (true) break; + +case 79: +//C +this.state = 80; + BA.debugLineNum = 652;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(2048); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude"))); + BA.debugLineNum = 653;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +Debug.ShouldStop(4096); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude"))); + BA.debugLineNum = 655;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; +Debug.ShouldStop(16384); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_gps_locationchanged" /*RemoteObject*/ ,(Object)(parent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation"))); + if (true) break; + +case 80: +//C +this.state = 81; +; + BA.debugLineNum = 657;BA.debugLine="lista_punta.Initialize"; +Debug.ShouldStop(65536); +__ref.getField(false,"_lista_punta" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 658;BA.debugLine="Dim pol As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(131072); +_pol = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pol = 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 LAT, LONG FROM POLIGONO"))));Debug.locals.put("pol", _pol);Debug.locals.put("pol", _pol); + BA.debugLineNum = 659;BA.debugLine="If pol.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (true) break; + +case 81: +//if +this.state = 88; +if (RemoteObject.solveBoolean(">",_pol.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 83; +}if (true) break; + +case 83: +//C +this.state = 84; + BA.debugLineNum = 661;BA.debugLine="For poli = 0 To pol.RowCount -1"; +Debug.ShouldStop(1048576); +if (true) break; + +case 84: +//for +this.state = 87; +step210 = 1; +limit210 = RemoteObject.solve(new RemoteObject[] {_pol.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_poli = 0 ; +Debug.locals.put("poli", _poli); +this.state = 90; +if (true) break; + +case 90: +//C +this.state = 87; +if ((step210 > 0 && _poli <= limit210) || (step210 < 0 && _poli >= limit210)) this.state = 86; +if (true) break; + +case 91: +//C +this.state = 90; +_poli = ((int)(0 + _poli + step210)) ; +Debug.locals.put("poli", _poli); +if (true) break; + +case 86: +//C +this.state = 91; + BA.debugLineNum = 662;BA.debugLine="pol.Position = poli"; +Debug.ShouldStop(2097152); +_pol.runMethod(true,"setPosition",BA.numberCast(int.class, _poli)); + BA.debugLineNum = 663;BA.debugLine="Dim coords As LatLng"; +Debug.ShouldStop(4194304); +_coords = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");Debug.locals.put("coords", _coords); + BA.debugLineNum = 664;BA.debugLine="coords.Initialize(pol.GetString(\"LAT\"), pol.Get"; +Debug.ShouldStop(8388608); +_coords.runVoidMethod ("Initialize",(Object)(BA.numberCast(double.class, _pol.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LAT"))))),(Object)(BA.numberCast(double.class, _pol.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LONG")))))); + BA.debugLineNum = 665;BA.debugLine="lista_punta.Add(coords)"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_lista_punta" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_coords.getObject()))); + if (true) break; +if (true) break; + +case 87: +//C +this.state = 88; +Debug.locals.put("poli", _poli); +; + if (true) break; + +case 88: +//C +this.state = -1; +; + BA.debugLineNum = 668;BA.debugLine="checaPedido"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_checapedido" /*RemoteObject*/ ); + BA.debugLineNum = 670;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +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_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2488); +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(SHARK2.keymon.com.mx.c_principal parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_principal parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2488); +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 = 2490;BA.debugLine="If SCROLL_RESDIA.Visible Then"; +Debug.ShouldStop(33554432); +if (true) break; + +case 1: +//if +this.state = 12; +if (__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 3; +}else +{ BA.debugLineNum = 2494;BA.debugLine="Else if p_prod.Visible Then"; +Debug.ShouldStop(536870912); +if (__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 5; +}else +{ BA.debugLineNum = 2497;BA.debugLine="Else if Panel5.Visible Then"; +Debug.ShouldStop(1); +if (__ref.getField(false,"_panel5" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 7; +}else +{ BA.debugLineNum = 2500;BA.debugLine="Else If pnlCobranza.Visible Then"; +Debug.ShouldStop(8); +if (__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 9; +}else { +this.state = 11; +}}}} +if (true) break; + +case 3: +//C +this.state = 12; + BA.debugLineNum = 2491;BA.debugLine="SCROLL_RESDIA.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 2492;BA.debugLine="B_OK_RES_Click"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b_ok_res_click" /*RemoteObject*/ ); + BA.debugLineNum = 2493;BA.debugLine="Return False"; +Debug.ShouldStop(268435456); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 5: +//C +this.state = 12; + BA.debugLineNum = 2495;BA.debugLine="p_prod.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_prod" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 2496;BA.debugLine="Return False"; +Debug.ShouldStop(-2147483648); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 7: +//C +this.state = 12; + BA.debugLineNum = 2498;BA.debugLine="B_OK_PANEL5_Click"; +Debug.ShouldStop(2); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b_ok_panel5_click" /*RemoteObject*/ ); + BA.debugLineNum = 2499;BA.debugLine="Return False"; +Debug.ShouldStop(4); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 9: +//C +this.state = 12; + BA.debugLineNum = 2501;BA.debugLine="pnlCobranza.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 2502;BA.debugLine="Return False"; +Debug.ShouldStop(32); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 11: +//C +this.state = 12; + BA.debugLineNum = 2504;BA.debugLine="B4XPages.ShowPage(\"login\")"; +Debug.ShouldStop(128); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("login"))); + if (true) break; + +case 12: +//C +this.state = -1; +; + BA.debugLineNum = 2506;BA.debugLine="Return False"; +Debug.ShouldStop(512); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 2507;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +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,254); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_principal","b4xpage_created", __ref, _root1);} +RemoteObject _ruta = RemoteObject.createImmutable(""); +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 254;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 255;BA.debugLine="Root = Root1"; +Debug.ShouldStop(1073741824); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 257;BA.debugLine="Root.LoadLayout(\"principal\")"; +Debug.ShouldStop(1); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("principal")),__ref.getField(false, "ba")); + BA.debugLineNum = 258;BA.debugLine="rd.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_rd" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_respaldodiario.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 259;BA.debugLine="rd.vacuum"; +Debug.ShouldStop(4); +__ref.getField(false,"_rd" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_respaldodiario.class, "_vacuum" /*RemoteObject*/ ); + BA.debugLineNum = 260;BA.debugLine="EJECUTANDO=1"; +Debug.ShouldStop(8); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 261;BA.debugLine="Dim ruta As String"; +Debug.ShouldStop(16); +_ruta = RemoteObject.createImmutable("");Debug.locals.put("ruta", _ruta); + BA.debugLineNum = 262;BA.debugLine="img2.Visible =False"; +Debug.ShouldStop(32); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 263;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(64); +_ruta = c_principal.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("ruta", _ruta); + BA.debugLineNum = 264;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",c_principal.__c.getField(false,"File").runMethod(true,"Exists",(Object)(_ruta),(Object)(RemoteObject.createImmutable("kmt.db"))),c_principal.__c.getField(true,"False"))) { + BA.debugLineNum = 265;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(256); +c_principal.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_principal.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(_ruta),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 267;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(1024); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 268;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(2048); +__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 = 269;BA.debugLine="B4XPages.MainPage.skmt.Initialize(ruta,\"kmt.db\","; +Debug.ShouldStop(4096); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(_ruta),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_principal.__c.getField(true,"True"))); + BA.debugLineNum = 270;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count("; +Debug.ShouldStop(8192); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOS from pedido_cliente")))); + BA.debugLineNum = 271;BA.debugLine="b.Position=0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 272;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; +Debug.ShouldStop(32768); +__ref.setField ("_cuantos" /*RemoteObject*/ ,__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))); + BA.debugLineNum = 273;BA.debugLine="b.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 274;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0")))); + BA.debugLineNum = 275;BA.debugLine="d.Position=0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 276;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(524288); +__ref.getField(false,"_e" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as POR_VISITAR from kmt_info")))); + BA.debugLineNum = 277;BA.debugLine="e.Position=0"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 278;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +Debug.ShouldStop(2097152); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CAT_CL_RUTA from kmt_info")))); + BA.debugLineNum = 279;BA.debugLine="f.Position=0"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 280;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))))); + BA.debugLineNum = 281;BA.debugLine="f.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 282;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 = 283;BA.debugLine="l_ruta.Text =0"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }else { + BA.debugLineNum = 285;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_f" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info")))); + BA.debugLineNum = 286;BA.debugLine="f.Position=0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 287;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_f" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA"))))); + BA.debugLineNum = 288;BA.debugLine="f.Close"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_f" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 290;BA.debugLine="If Cuantos = 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos" /*RemoteObject*/ ),BA.NumberToString(0))) { + BA.debugLineNum = 291;BA.debugLine="L_MONTOD.Text =0"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 292;BA.debugLine="l_cuantosc.Text = 0"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 293;BA.debugLine="l_cuantosn.Text = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 294;BA.debugLine="drop = 0"; +Debug.ShouldStop(32); +__ref.setField ("_drop" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 295;BA.debugLine="l_drop.Text = 0"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 296;BA.debugLine="efectiva = 0"; +Debug.ShouldStop(128); +__ref.setField ("_efectiva" /*RemoteObject*/ ,BA.numberCast(double.class, 0)); + BA.debugLineNum = 297;BA.debugLine="l_efectiva.text =0"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 298;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +Debug.ShouldStop(512); +__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 = 299;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +Debug.ShouldStop(1024); +__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 = 301;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pc_monto) as MONTO_DIA, count(pc_cliente) AS CLIENTES_DIA from pedido_cliente where PC_CLIENTE <> 0 AND PC_CLIENTE <> 1")))); + BA.debugLineNum = 302;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +Debug.ShouldStop(8192); +__ref.getField(false,"_b" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(*) as CUANTOS from noventa")))); + BA.debugLineNum = 304;BA.debugLine="c.Position=0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 305;BA.debugLine="b.Position=0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_b" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 306;BA.debugLine="L_MONTOD.Text = c.GetString(\"MONTO_DIA\")"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))))); + BA.debugLineNum = 307;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")"; +Debug.ShouldStop(262144); +__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA"))))); + BA.debugLineNum = 308;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; +Debug.ShouldStop(524288); +__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 = 310;BA.debugLine="l_drop.Text = Round2(drop,2)"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(__ref.getField(true,"_drop" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 311;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt"; +Debug.ShouldStop(4194304); +__ref.setField ("_efectiva" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTES_DIA")))),BA.numberCast(double.class, __ref.getField(false,"_e" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("POR_VISITAR"))))}, "/",0, 0)); + BA.debugLineNum = 312;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_efectiva" /*RemoteObject*/ ),RemoteObject.createImmutable(100)}, "*",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 313;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; +Debug.ShouldStop(16777216); +__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 = 314;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +Debug.ShouldStop(33554432); +__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 = 315;BA.debugLine="b.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_b" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 316;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 318;BA.debugLine="d.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 319;BA.debugLine="e.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_e" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 321;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select RS_R"; +Debug.ShouldStop(1); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select RS_RUTA FROM RUTA_SUPLENCIA")))); + BA.debugLineNum = 322;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(2); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 323;BA.debugLine="If s.RowCount = 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 324;BA.debugLine="Label22.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 325;BA.debugLine="l_rutasuplencia.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 326;BA.debugLine="Else If s.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 327;BA.debugLine="Label22.Visible = True"; +Debug.ShouldStop(64); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 328;BA.debugLine="l_rutasuplencia.Visible = True"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 329;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("RS_RUTA"))))); + }} +; + BA.debugLineNum = 331;BA.debugLine="Starter.Skmt.ExecNonQuery($\"create table if not e"; +Debug.ShouldStop(1024); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("create table if not exists kmt_info2 ("),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_gettablecolumnlist" /*RemoteObject*/ ,(Object)(c_principal._starter._skmt /*RemoteObject*/ ),(Object)(RemoteObject.createImmutable("kmt_info")))))),RemoteObject.createImmutable(")"))))); + BA.debugLineNum = 332;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _btn_ubicar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Btn_Ubicar_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3088); +if (RapidSub.canDelegate("btn_ubicar_click")) { __ref.runUserSub(false, "c_principal","btn_ubicar_click", __ref); return;} +ResumableSub_Btn_Ubicar_Click rsub = new ResumableSub_Btn_Ubicar_Click(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Btn_Ubicar_Click extends BA.ResumableSub { +public ResumableSub_Btn_Ubicar_Click(SHARK2.keymon.com.mx.c_principal parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_principal parent; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Btn_Ubicar_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3088); +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 = 3089;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; +Debug.ShouldStop(65536); +__ref.getField(false,"_rp" /*RemoteObject*/ ).runVoidMethod ("CheckAndRequest",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_rp" /*RemoteObject*/ ).getField(true,"PERMISSION_ACCESS_FINE_LOCATION"))); + BA.debugLineNum = 3090;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +Debug.ShouldStop(131072); +parent.__c.runVoidMethod ("WaitFor","b4xpage_permissionresult", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_principal", "btn_ubicar_click"), null); +this.state = 5; +return; +case 5: +//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 = 3091;BA.debugLine="If Result Then"; +Debug.ShouldStop(262144); +if (true) break; + +case 1: +//if +this.state = 4; +if (_result.get().booleanValue()) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 3092;BA.debugLine="StartActivity(MAPA_RUTAS)"; +Debug.ShouldStop(524288); +parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((parent._mapa_rutas.getObject()))); + if (true) break; + +case 4: +//C +this.state = -1; +; + BA.debugLineNum = 3094;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _b4xpage_permissionresult(RemoteObject __ref,RemoteObject _permission,RemoteObject _result) throws Exception{ +} +public static RemoteObject _btncobranza_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnCobranza_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3320); +if (RapidSub.canDelegate("btncobranza_click")) { return __ref.runUserSub(false, "c_principal","btncobranza_click", __ref);} +RemoteObject _ct = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 3320;BA.debugLine="Private Sub btnCobranza_Click"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 3321;BA.debugLine="Log(\"Entrando al Panel de Cobranza\")"; +Debug.ShouldStop(16777216); +c_principal.__c.runVoidMethod ("LogImpl","515990785",RemoteObject.createImmutable("Entrando al Panel de Cobranza"),0); + BA.debugLineNum = 3323;BA.debugLine="pnlCobranza.Width = Root.Width"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 3324;BA.debugLine="pnlCobranza.Height = Root.Height"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 3325;BA.debugLine="pnlCobranza.Left = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3326;BA.debugLine="pnlCobranza.Top = 0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3327;BA.debugLine="pnlCobranza.BringToFront"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 3328;BA.debugLine="pnlCobranza.Visible = True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3329;BA.debugLine="pnlTotal.Visible = True"; +Debug.ShouldStop(1); +__ref.getField(false,"_pnltotal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 3330;BA.debugLine="Dim ct As Cursor = B4XPages.MainPage.skmt.ExecQue"; +Debug.ShouldStop(2); +_ct = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_ct = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT IFNULL(sum(IFNULL(a.a_abono,0)),0) as suma_abono FROM kmt_info2 ki LEFT JOIN ABONOSP ap ON ki.CAT_CL_CODIGO = ap.CLIENTE LEFT JOIN ABONOS a ON ki.CAT_CL_CODIGO = a.a_cliente WHERE CAST(ap.SALDO_PENDIENTE AS REAL) > 0")))));Debug.locals.put("ct", _ct);Debug.locals.put("ct", _ct); + BA.debugLineNum = 3331;BA.debugLine="ct.Position = 0"; +Debug.ShouldStop(4); +_ct.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3332;BA.debugLine="If ct.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_ct.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3333;BA.debugLine="lblTotal.Text = \"El total abonado es: $\" & ct.ge"; +Debug.ShouldStop(16); +__ref.getField(false,"_lbltotal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("El total abonado es: $"),_ct.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("suma_abono")))))); + }; + BA.debugLineNum = 3335;BA.debugLine="lblVersion.Text = Application.VersionName"; +Debug.ShouldStop(64); +__ref.getField(false,"_lblversion" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))); + BA.debugLineNum = 3336;BA.debugLine="ct.Close"; +Debug.ShouldStop(128); +_ct.runVoidMethod ("Close"); + BA.debugLineNum = 3337;BA.debugLine="CargarDatosCobranza"; +Debug.ShouldStop(256); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_cargardatoscobranza" /*RemoteObject*/ ); + BA.debugLineNum = 3338;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btnregresar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnRegresar_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3396); +if (RapidSub.canDelegate("btnregresar_click")) { return __ref.runUserSub(false, "c_principal","btnregresar_click", __ref);} + BA.debugLineNum = 3396;BA.debugLine="Private Sub btnRegresar_Click"; +Debug.ShouldStop(8); + BA.debugLineNum = 3397;BA.debugLine="pnlCobranza.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3398;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +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,2574); +if (RapidSub.canDelegate("busca_click")) { return __ref.runUserSub(false, "c_principal","busca_click", __ref);} + BA.debugLineNum = 2574;BA.debugLine="Sub BUSCA_Click"; +Debug.ShouldStop(8192); + BA.debugLineNum = 2575;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("TicketsDia"))); + BA.debugLineNum = 2576;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _carga_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CARGA_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2864); +if (RapidSub.canDelegate("carga_click")) { return __ref.runUserSub(false, "c_principal","carga_click", __ref);} + BA.debugLineNum = 2864;BA.debugLine="Sub CARGA_Click"; +Debug.ShouldStop(32768); + BA.debugLineNum = 2865;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + BA.debugLineNum = 2866;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +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,1113); +if (RapidSub.canDelegate("cargar_click")) { return __ref.runUserSub(false, "c_principal","cargar_click", __ref);} +RemoteObject _pedidodiaanterior = RemoteObject.createImmutable(false); +RemoteObject _cp = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _fecha2 = null; +RemoteObject _dia = RemoteObject.createImmutable(""); +RemoteObject _dia2 = RemoteObject.createImmutable(""); + BA.debugLineNum = 1113;BA.debugLine="Sub cargar_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 1114;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; +Debug.ShouldStop(33554432); +_pedidodiaanterior = c_principal.__c.getField(true,"False");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior);Debug.locals.put("pedidodiaanterior", _pedidodiaanterior); + BA.debugLineNum = 1115;BA.debugLine="Dim cp As Cursor = B4XPages.MainPage.skmt.ExecQue"; +Debug.ShouldStop(67108864); +_cp = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cp = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select * from PEDIDO"))));Debug.locals.put("cp", _cp);Debug.locals.put("cp", _cp); + BA.debugLineNum = 1116;BA.debugLine="If cp.RowCount > 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",_cp.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1117;BA.debugLine="cp.Position = 0"; +Debug.ShouldStop(268435456); +_cp.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1118;BA.debugLine="Private fecha As String = cp.GetString(\"PE_FECHA"; +Debug.ShouldStop(536870912); +c_principal._fecha = _cp.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")));__ref.setField("_fecha",c_principal._fecha); + BA.debugLineNum = 1119;BA.debugLine="Dim fecha2() As String = Regex.Split(\"/\",fecha)"; +Debug.ShouldStop(1073741824); +_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 = 1120;BA.debugLine="Dim dia As String = fecha2(1)"; +Debug.ShouldStop(-2147483648); +_dia = _fecha2.getArrayElement(true,BA.numberCast(int.class, 1));Debug.locals.put("dia", _dia);Debug.locals.put("dia", _dia); + BA.debugLineNum = 1121;BA.debugLine="Log(dia)"; +Debug.ShouldStop(1); +c_principal.__c.runVoidMethod ("LogImpl","513959176",_dia,0); + BA.debugLineNum = 1122;BA.debugLine="Dim dia2 As String = DateTime.GetDayOfMonth(Date"; +Debug.ShouldStop(2); +_dia2 = BA.NumberToString(c_principal.__c.getField(false,"DateTime").runMethod(true,"GetDayOfMonth",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))));Debug.locals.put("dia2", _dia2);Debug.locals.put("dia2", _dia2); + BA.debugLineNum = 1123;BA.debugLine="Log(dia & \" , \" & dia2)"; +Debug.ShouldStop(4); +c_principal.__c.runVoidMethod ("LogImpl","513959178",RemoteObject.concat(_dia,RemoteObject.createImmutable(" , "),_dia2),0); + BA.debugLineNum = 1124;BA.debugLine="If dia < dia2 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _dia),BA.numberCast(double.class, _dia2))) { + BA.debugLineNum = 1125;BA.debugLine="pedidodiaanterior = True"; +Debug.ShouldStop(16); +_pedidodiaanterior = c_principal.__c.getField(true,"True");Debug.locals.put("pedidodiaanterior", _pedidodiaanterior); + }; + }; + BA.debugLineNum = 1128;BA.debugLine="If Not (pedidodiaanterior) Then"; +Debug.ShouldStop(128); +if (c_principal.__c.runMethod(true,"Not",(Object)(_pedidodiaanterior)).get().booleanValue()) { + BA.debugLineNum = 1129;BA.debugLine="CARGA = \"CARGAR\""; +Debug.ShouldStop(256); +__ref.setField ("_carga" /*RemoteObject*/ ,BA.ObjectToString("CARGAR")); + BA.debugLineNum = 1130;BA.debugLine="p_mandaInfo.Width = Root.Width"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 1131;BA.debugLine="p_mandaInfo.Height = Root.Height"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 1132;BA.debugLine="P1.Left = (p_mandaInfo.Width/2) - (P1.Width/2)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 1133;BA.debugLine="P1.top = (p_mandaInfo.Height/2) - (P1.Height/2)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 1134;BA.debugLine="img2.Visible =True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1135;BA.debugLine="L_P_1.Visible = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_p_1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1136;BA.debugLine="S_CC.Visible = True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1137;BA.debugLine="Btn_Ubicar.Visible=False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1138;BA.debugLine="P1.Visible = True"; +Debug.ShouldStop(131072); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1139;BA.debugLine="p_mandaInfo.Visible = True"; +Debug.ShouldStop(262144); +__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1140;BA.debugLine="p_principal.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1141;BA.debugLine="Subs.panelVisible(P1, 0, 0)"; +Debug.ShouldStop(1048576); +c_principal._subs.runVoidMethod ("_panelvisible" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p1" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 1142;BA.debugLine="Subs.centraPanel(P1, Root.Width)"; +Debug.ShouldStop(2097152); +c_principal._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 1143;BA.debugLine="Subs.centraPanelV(P1, Root.Height)"; +Debug.ShouldStop(4194304); +c_principal._subs.runVoidMethod ("_centrapanelv" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p1" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + BA.debugLineNum = 1145;BA.debugLine="NUEVO.Visible =False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1146;BA.debugLine="BUSCA.Visible=False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1147;BA.debugLine="connecta.Visible=False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1148;BA.debugLine="L_P_3.Visible = True"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1149;BA.debugLine="S_CH.Visible = True"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1150;BA.debugLine="PB1.Visible = True"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1151;BA.debugLine="Resumen.Visible= False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1153;BA.debugLine="L_P_1.Text = \"Catalogo de Clientes\""; +Debug.ShouldStop(1); +__ref.getField(false,"_l_p_1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Catalogo de Clientes")); + BA.debugLineNum = 1154;BA.debugLine="L_P_2.Text = \"Catalogos de Productos\""; +Debug.ShouldStop(2); +__ref.getField(false,"_l_p_2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Catalogos de Productos")); + BA.debugLineNum = 1155;BA.debugLine="L_P_3.Text = \"Catalogos Historicos\""; +Debug.ShouldStop(4); +__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Catalogos Historicos")); + BA.debugLineNum = 1156;BA.debugLine="S_CC.Text = \"EN PROCESO\""; +Debug.ShouldStop(8); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO")); + BA.debugLineNum = 1157;BA.debugLine="S_CH.Text = \"EN PROCESO\""; +Debug.ShouldStop(16); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO")); + BA.debugLineNum = 1158;BA.debugLine="S_CP.Text = \"EN PROCESO\""; +Debug.ShouldStop(32); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO")); + BA.debugLineNum = 1159;BA.debugLine="PB1.Progress = 0"; +Debug.ShouldStop(64); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1160;BA.debugLine="PB2.Progress = 0"; +Debug.ShouldStop(128); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1161;BA.debugLine="EJECUTANDO = 1"; +Debug.ShouldStop(256); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1164;BA.debugLine="TOPE = 0"; +Debug.ShouldStop(2048); +__ref.setField ("_tope" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 1166;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTA_SUPLENCIA"))); + BA.debugLineNum = 1167;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTAA"))); + BA.debugLineNum = 1168;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(32768); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM GEOCERCA"))); + BA.debugLineNum = 1169;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM COORDS_ALMACEN"))); + BA.debugLineNum = 1170;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CLIENTE_NUEVO"))); + BA.debugLineNum = 1171;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info"))); + BA.debugLineNum = 1172;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info2"))); + BA.debugLineNum = 1173;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cod_result"))); + BA.debugLineNum = 1174;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(2097152); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from hist_gest"))); + BA.debugLineNum = 1175;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(4194304); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod"))); + BA.debugLineNum = 1176;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(8388608); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod2"))); + BA.debugLineNum = 1177;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod3"))); + BA.debugLineNum = 1178;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(33554432); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod4"))); + BA.debugLineNum = 1179;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(67108864); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ"))); + BA.debugLineNum = 1180;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(134217728); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from telefonos"))); + BA.debugLineNum = 1181;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(268435456); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS"))); + BA.debugLineNum = 1182;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(536870912); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_PROMOS"))); + BA.debugLineNum = 1183;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(1073741824); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_CLIENTE_CANT_PROMOS"))); + BA.debugLineNum = 1184;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROMOS_COMP"))); + BA.debugLineNum = 1185;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(1); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_VERIFICACION"))); + BA.debugLineNum = 1186;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO\""; +Debug.ShouldStop(2); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_GIRO"))); + BA.debugLineNum = 1187;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(4); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM MARCAS_RUTAS"))); + BA.debugLineNum = 1188;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(8); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_STAY_STORE"))); + BA.debugLineNum = 1189;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(16); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GEOCERCA"))); + BA.debugLineNum = 1190;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(32); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_MARCAS_CUOTAS"))); + BA.debugLineNum = 1192;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(128); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ABONOSP"))); + BA.debugLineNum = 1194;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select co"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(CAT_VA_DESCRIPCION) as HoraIngreso from cat_variables where CAT_VA_DESCRIPCION = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("HoraIngreso")})))); + BA.debugLineNum = 1195;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1196;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(2048); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 1198;BA.debugLine="If c.GetString(\"HoraIngreso\") > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HoraIngreso")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1199;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update ca"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update cat_variables set CAT_VA_VALOR = ? WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))),RemoteObject.createImmutable("HoraIngreso")}))))); + }else { + BA.debugLineNum = 1201;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_VALOR,CAT_VA_DESCRIPCION) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow"))),RemoteObject.createImmutable("HoraIngreso")}))))); + }; + BA.debugLineNum = 1203;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1204;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(524288); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 1205;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 1206;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1207;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 = 1208;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1210;BA.debugLine="Dim sDate,sTime As String"; +Debug.ShouldStop(33554432); +c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate); +c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime); + BA.debugLineNum = 1211;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(67108864); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1212;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(134217728); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1213;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(268435456); +__ref.setField ("_stime" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1215;BA.debugLine="Dim P As PhoneId"; +Debug.ShouldStop(1073741824); +c_principal._p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneId");__ref.setField("_p",c_principal._p); + BA.debugLineNum = 1217;BA.debugLine="imei = \"xxxx\""; +Debug.ShouldStop(1); +__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString("xxxx")); + BA.debugLineNum = 1218;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1219;BA.debugLine="cmd.Name =\"insert_drop_SHARK2\""; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_SHARK2")); + BA.debugLineNum = 1220;BA.debugLine="cmd.Parameters = Array As Object(usuario,e_ruta."; +Debug.ShouldStop(8); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_sdate" /*RemoteObject*/ )),(__ref.getField(true,"_imei" /*RemoteObject*/ )),(__ref.getField(true,"_stime" /*RemoteObject*/ )),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("")),RemoteObject.createImmutable(("CARGA")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))})); + BA.debugLineNum = 1222;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_noventa")))); + BA.debugLineNum = 1224;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1225;BA.debugLine="cmd.Name = \"select_cat_gunaprod_SHARK2\""; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod_SHARK2")); + BA.debugLineNum = 1226;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1227;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; +Debug.ShouldStop(1024); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprod")))); + BA.debugLineNum = 1229;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1230;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_SHARK2\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod2_SHARK2")); + BA.debugLineNum = 1231;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,e_ruta."; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1232;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod2\")"; +Debug.ShouldStop(32768); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprod2")))); + BA.debugLineNum = 1239;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1240;BA.debugLine="cmd.Name = \"select_coords_almacen_SHARK2\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_coords_almacen_SHARK2")); + BA.debugLineNum = 1241;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1242;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("coords_almacen")))); + BA.debugLineNum = 1249;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1250;BA.debugLine="cmd.Name = \"select_cat_GIRO_SHARK2\""; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_GIRO_SHARK2")); + BA.debugLineNum = 1251;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"giro\")"; +Debug.ShouldStop(4); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("giro")))); + BA.debugLineNum = 1258;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1259;BA.debugLine="cmd.Name = \"select_cat_paquetes_SHARK2\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_paquetes_SHARK2")); + BA.debugLineNum = 1260;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1261;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprodp\")"; +Debug.ShouldStop(4096); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprodp")))); + BA.debugLineNum = 1264;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1265;BA.debugLine="cmd.Name = \"select_cat_paquetess_SHARK2\""; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_paquetess_SHARK2")); + BA.debugLineNum = 1266;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1267;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprodp\")"; +Debug.ShouldStop(262144); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprodp")))); + BA.debugLineNum = 1269;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1270;BA.debugLine="cmd.Name = \"select_cat_detallepa_SHARK2\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_detallepa_SHARK2")); + BA.debugLineNum = 1271;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1272;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"detallepaq\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("detallepaq")))); + BA.debugLineNum = 1274;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1275;BA.debugLine="cmd.Name = \"select_cat_clientes_SHARK2\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes_SHARK2")); + BA.debugLineNum = 1276;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(134217728); +__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 = 1277;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("kmt_datos")))); + BA.debugLineNum = 1279;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1280;BA.debugLine="cmd.Name = \"select_cat_clientes_todos_SHARK2\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes_todos_SHARK2")); + BA.debugLineNum = 1281;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(1); +__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 = 1282;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos_todo"; +Debug.ShouldStop(2); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("kmt_datos_todos")))); + BA.debugLineNum = 1284;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1285;BA.debugLine="cmd.Name = \"select_hist_datos_SHARK2\""; +Debug.ShouldStop(16); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_datos_SHARK2")); + BA.debugLineNum = 1286;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1287;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; +Debug.ShouldStop(64); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_datos")))); + BA.debugLineNum = 1289;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1290;BA.debugLine="cmd.Name = \"select_hist_promos_SHARK2\""; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_promos_SHARK2")); + BA.debugLineNum = 1291;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(1024); +__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 = 1292;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_promos\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_promos")))); + BA.debugLineNum = 1299;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1300;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_SHARK2\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_cliente_promos_SHARK2")); + BA.debugLineNum = 1301;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(1048576); +__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 = 1302;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_cliente_p"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_cliente_promos")))); + BA.debugLineNum = 1304;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1305;BA.debugLine="cmd.Name = \"select_nom_user_SHARK2\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_nom_user_SHARK2")); + BA.debugLineNum = 1306;BA.debugLine="cmd.Parameters = Array As Object(usuario)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_usuario" /*RemoteObject*/ ))})); + BA.debugLineNum = 1307;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"nom_user\")"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("nom_user")))); + BA.debugLineNum = 1309;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1310;BA.debugLine="cmd.Name = \"select_telefono_SHARK2\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_telefono_SHARK2")); + BA.debugLineNum = 1311;BA.debugLine="cmd.Parameters = Array As Object(usuario)"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_usuario" /*RemoteObject*/ ))})); + BA.debugLineNum = 1312;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"telefono\")"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("telefono")))); + BA.debugLineNum = 1320;BA.debugLine="If E_RUTA2.text <> \"\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 1324;BA.debugLine="E_RUTA2.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1325;BA.debugLine="Panel11.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_panel11" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1327;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1328;BA.debugLine="cmd.Name = \"select_cat_clientes_SHARK2\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes_SHARK2")); + BA.debugLineNum = 1329;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1330;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; +Debug.ShouldStop(131072); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("kmt_datos")))); + BA.debugLineNum = 1332;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1333;BA.debugLine="cmd.Name = \"select_cat_clientes_todos_SHARK2\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_clientes_todos_SHARK2")); + BA.debugLineNum = 1334;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1335;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos_tod"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("kmt_datos_todos")))); + 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_hist_datos_SHARK2\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_datos_SHARK2")); + BA.debugLineNum = 1339;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1340;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_datos")))); + BA.debugLineNum = 1342;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1343;BA.debugLine="cmd.Name = \"select_hist_promos_SHARK2\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_promos_SHARK2")); + BA.debugLineNum = 1344;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1345;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_promos\")"; +Debug.ShouldStop(1); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_promos")))); + BA.debugLineNum = 1347;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1348;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_SHARK2\""; +Debug.ShouldStop(8); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_hist_cliente_promos_SHARK2")); + BA.debugLineNum = 1349;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +Debug.ShouldStop(16); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1350;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_cliente_"; +Debug.ShouldStop(32); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_cliente_promos")))); + }; + BA.debugLineNum = 1353;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1354;BA.debugLine="cmd.Name = \"select_promo_comp_SHARK2\""; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_promo_comp_SHARK2")); + BA.debugLineNum = 1355;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 1356;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_comp_prom"; +Debug.ShouldStop(2048); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("hist_comp_promos")))); + BA.debugLineNum = 1363;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(262144); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1364;BA.debugLine="cmd.Name = \"select_fecha\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_fecha")); + BA.debugLineNum = 1365;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +Debug.ShouldStop(1048576); +__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 = 1366;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("fecha")))); + BA.debugLineNum = 1378;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1379;BA.debugLine="cmd.Name = \"select_marcas_rutas_SHARK2\""; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_marcas_rutas_SHARK2")); + BA.debugLineNum = 1380;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut"; +Debug.ShouldStop(8); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1381;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"marcas_rutas\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("marcas_rutas")))); + BA.debugLineNum = 1404;BA.debugLine="cargar.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1405;BA.debugLine="Subir.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1406;BA.debugLine="inv.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1407;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias")),(Object)(c_principal.__c.getField(true,"True")));}; + }else { + BA.debugLineNum = 1409;BA.debugLine="Log(\"XXXX\")"; +Debug.ShouldStop(1); +c_principal.__c.runVoidMethod ("LogImpl","513959464",RemoteObject.createImmutable("XXXX"),0); + BA.debugLineNum = 1410;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; +Debug.ShouldStop(2); +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 = 1412;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cargardatoscobranza(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CargarDatosCobranza (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3340); +if (RapidSub.canDelegate("cargardatoscobranza")) { return __ref.runUserSub(false, "c_principal","cargardatoscobranza", __ref);} +int _i = 0; +RemoteObject _v = RemoteObject.declareNull("anywheresoftware.b4a.objects.ConcreteViewWrapper"); +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _pitem = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _codigo = RemoteObject.createImmutable(""); +RemoteObject _nombre = RemoteObject.createImmutable(""); +RemoteObject _lblempty = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); + BA.debugLineNum = 3340;BA.debugLine="Private Sub CargarDatosCobranza"; +Debug.ShouldStop(2048); + BA.debugLineNum = 3341;BA.debugLine="For i = pnlCobranza.NumberOfViews - 1 To 0 Step -"; +Debug.ShouldStop(4096); +{ +final int step1 = -1; +final int limit1 = 0; +_i = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(true,"getNumberOfViews"),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 = 3342;BA.debugLine="Dim v As View = pnlCobranza.GetView(i)"; +Debug.ShouldStop(8192); +_v = RemoteObject.createNew ("anywheresoftware.b4a.objects.ConcreteViewWrapper"); +_v = __ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("v", _v);Debug.locals.put("v", _v); + BA.debugLineNum = 3343;BA.debugLine="If v Is Label Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("i",_v.getObjectOrNull(), RemoteObject.createImmutable("android.widget.TextView"))) { + BA.debugLineNum = 3344;BA.debugLine="Dim lbl As Label = v"; +Debug.ShouldStop(32768); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper"); +_lbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _v.getObject());Debug.locals.put("lbl", _lbl);Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 3345;BA.debugLine="If lbl.Text = \"No hay cuentas por cobrar\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_lbl.runMethod(true,"getText"),BA.ObjectToString("No hay cuentas por cobrar"))) { + BA.debugLineNum = 3346;BA.debugLine="pnlCobranza.RemoveViewAt(i)"; +Debug.ShouldStop(131072); +__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runVoidMethod ("RemoveViewAt",(Object)(BA.numberCast(int.class, _i))); + }; + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 3350;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"SELECT ROW"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT ROW_NUMBER() OVER (ORDER BY ki.CAT_CL_NOMBRE) AS Secuencia, ki.CAT_CL_CODIGO, ki.CAT_CL_NOMBRE, ap.SALDO_PENDIENTE, IFNULL(a.a_abono,0) as a_abono FROM kmt_info2 ki LEFT JOIN ABONOSP ap ON ki.CAT_CL_CODIGO = ap.CLIENTE LEFT JOIN ABONOS a ON ki.CAT_CL_CODIGO = a.a_cliente WHERE CAST(ap.SALDO_PENDIENTE AS REAL) > 0"))))); + BA.debugLineNum = 3351;BA.debugLine="Log(\"Número de registros: \" & c.RowCount)"; +Debug.ShouldStop(4194304); +c_principal.__c.runVoidMethod ("LogImpl","516056331",RemoteObject.concat(RemoteObject.createImmutable("Número de registros: "),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 3353;BA.debugLine="clvCobranza.Clear"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_clvcobranza" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 3355;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(67108864); +{ +final int step13 = 1; +final int limit13 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step13 > 0 && _i <= limit13) || (step13 < 0 && _i >= limit13) ;_i = ((int)(0 + _i + step13)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 3356;BA.debugLine="c.Position = i"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 3358;BA.debugLine="Dim pItem As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(536870912); +_pitem = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pitem = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("pItem", _pitem);Debug.locals.put("pItem", _pitem); + BA.debugLineNum = 3359;BA.debugLine="pItem.LoadLayout(\"C_CuentasXCobrar\")"; +Debug.ShouldStop(1073741824); +_pitem.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("C_CuentasXCobrar")),__ref.getField(false, "ba")); + BA.debugLineNum = 3360;BA.debugLine="pItem.SetLayoutAnimated(0, 0, 0, Root.Width, 100"; +Debug.ShouldStop(-2147483648); +_pitem.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100))))); + BA.debugLineNum = 3361;BA.debugLine="pItem.Color = Colors.White"; +Debug.ShouldStop(1); +_pitem.runMethod(true,"setColor",c_principal.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 3363;BA.debugLine="pnlContenedorCobranza.SetLayoutAnimated(0, 0, 0,"; +Debug.ShouldStop(4); +__ref.getField(false,"_pnlcontenedorcobranza" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_pitem.runMethod(true,"getWidth")),(Object)(_pitem.runMethod(true,"getHeight"))); + BA.debugLineNum = 3364;BA.debugLine="pnlContenedorCobranza.Color = xui.Color_Transpar"; +Debug.ShouldStop(8); +__ref.getField(false,"_pnlcontenedorcobranza" /*RemoteObject*/ ).runVoidMethod ("setColor",__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Transparent")); + BA.debugLineNum = 3366;BA.debugLine="l_Secuencia.Text = c.GetString(\"Secuencia\")"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_secuencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("Secuencia"))))); + BA.debugLineNum = 3369;BA.debugLine="Dim codigo As String = c.GetString(\"CAT_CL_CODIG"; +Debug.ShouldStop(256); +_codigo = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO")));Debug.locals.put("codigo", _codigo);Debug.locals.put("codigo", _codigo); + BA.debugLineNum = 3370;BA.debugLine="Dim nombre As String = c.GetString(\"CAT_CL_NOMBR"; +Debug.ShouldStop(512); +_nombre = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")));Debug.locals.put("nombre", _nombre);Debug.locals.put("nombre", _nombre); + BA.debugLineNum = 3371;BA.debugLine="If codigo = Null Then codigo = \"\""; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("n",_codigo)) { +_codigo = BA.ObjectToString("");Debug.locals.put("codigo", _codigo);}; + BA.debugLineNum = 3372;BA.debugLine="If nombre = Null Then nombre = \"\""; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("n",_nombre)) { +_nombre = BA.ObjectToString("");Debug.locals.put("nombre", _nombre);}; + BA.debugLineNum = 3373;BA.debugLine="l_Nombre.SingleLine = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_nombre" /*RemoteObject*/ ).runVoidMethod ("setSingleLine",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 3374;BA.debugLine="l_Nombre.Text = codigo & \" \" & nombre"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_nombre" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_codigo,RemoteObject.createImmutable(" "),_nombre))); + BA.debugLineNum = 3376;BA.debugLine="l_CuentaXCobrar.Text = \"$\" & NumberFormat(c.GetD"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_cuentaxcobrar" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("$"),c_principal.__c.runMethod(true,"NumberFormat",(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("SALDO_PENDIENTE")))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)))))); + BA.debugLineNum = 3377;BA.debugLine="l_Abono.Text = \"$\" & NumberFormat(c.GetDouble(\"a"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_abono" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("$"),c_principal.__c.runMethod(true,"NumberFormat",(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("a_abono")))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)))))); + BA.debugLineNum = 3379;BA.debugLine="clvCobranza.Add(pItem, \"Item-\" & i)"; +Debug.ShouldStop(262144); +__ref.getField(false,"_clvcobranza" /*RemoteObject*/ ).runVoidMethod ("_add",(Object)(_pitem),(Object)((RemoteObject.concat(RemoteObject.createImmutable("Item-"),RemoteObject.createImmutable(_i))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 3382;BA.debugLine="c.Close"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3383;BA.debugLine="pnlCobranza.Invalidate"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runVoidMethod ("Invalidate"); + BA.debugLineNum = 3385;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 = 3386;BA.debugLine="Dim lblEmpty As Label"; +Debug.ShouldStop(33554432); +_lblempty = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lblEmpty", _lblempty); + BA.debugLineNum = 3387;BA.debugLine="lblEmpty.Initialize(\"\")"; +Debug.ShouldStop(67108864); +_lblempty.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 3388;BA.debugLine="lblEmpty.Text = \"No hay cuentas por cobrar\""; +Debug.ShouldStop(134217728); +_lblempty.runMethod(true,"setText",BA.ObjectToCharSequence("No hay cuentas por cobrar")); + BA.debugLineNum = 3389;BA.debugLine="lblEmpty.TextSize = 16"; +Debug.ShouldStop(268435456); +_lblempty.runMethod(true,"setTextSize",BA.numberCast(float.class, 16)); + BA.debugLineNum = 3390;BA.debugLine="lblEmpty.TextColor = Colors.Gray"; +Debug.ShouldStop(536870912); +_lblempty.runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Gray")); + BA.debugLineNum = 3391;BA.debugLine="lblEmpty.Gravity = Gravity.CENTER"; +Debug.ShouldStop(1073741824); +_lblempty.runMethod(true,"setGravity",c_principal.__c.getField(false,"Gravity").getField(true,"CENTER")); + BA.debugLineNum = 3392;BA.debugLine="pnlCobranza.AddView(lblEmpty, 0, 100dip, Root.Wi"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_pnlcobranza" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((_lblempty.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100)))),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50))))); + }; + BA.debugLineNum = 3394;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checapedido(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("checaPedido (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3280); +if (RapidSub.canDelegate("checapedido")) { return __ref.runUserSub(false, "c_principal","checapedido", __ref);} +RemoteObject _coord = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _cor = 0; + BA.debugLineNum = 3280;BA.debugLine="Sub checaPedido"; +Debug.ShouldStop(32768); + BA.debugLineNum = 3281;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set ge"; +Debug.ShouldStop(65536); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info set gestion = 0"))); + BA.debugLineNum = 3282;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 PC_CLIENTE FROM PEDIDO_CLIENTE"))));__ref.setField("_c",c_principal._c); + BA.debugLineNum = 3283;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 = 3284;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; +Debug.ShouldStop(524288); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("Update kmt_info set gestion = 2 WHERE CAT_CL_CODIGO IN (SELECT PC_CLIENTE FROM PEDIDO_CLIENTE)"))); + }; + BA.debugLineNum = 3286;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; +Debug.ShouldStop(2097152); +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 = 3287;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 = 3288;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; +Debug.ShouldStop(8388608); +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)"))); + }; + BA.debugLineNum = 3291;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(67108864); +_coord = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_coord = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM COORDENADAS"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord); + BA.debugLineNum = 3292;BA.debugLine="If coord.RowCount > 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3293;BA.debugLine="For cor = 0 To coord.RowCount -1"; +Debug.ShouldStop(268435456); +{ +final int step12 = 1; +final int limit12 = RemoteObject.solve(new RemoteObject[] {_coord.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_cor = 0 ; +for (;(step12 > 0 && _cor <= limit12) || (step12 < 0 && _cor >= limit12) ;_cor = ((int)(0 + _cor + step12)) ) { +Debug.locals.put("cor", _cor); + BA.debugLineNum = 3294;BA.debugLine="coord.Position = cor"; +Debug.ShouldStop(536870912); +_coord.runMethod(true,"setPosition",BA.numberCast(int.class, _cor)); + BA.debugLineNum = 3295;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +Debug.ShouldStop(1073741824); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info set CAT_CL_LONG = ?, CAT_CL_LAT =?, CAT_CL_BCOORDENADAS = ? where CAT_CL_CODIGO = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LAT")))),(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LONG")))),((RemoteObject.solve(new RemoteObject[] {_coord.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CANTIDAD"))),RemoteObject.createImmutable(1)}, "+",1, 1))),(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))))}))))); + } +}Debug.locals.put("cor", _cor); +; + }; + BA.debugLineNum = 3299;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(4); +_coord = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_coord = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM ATIENDE"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord); + BA.debugLineNum = 3300;BA.debugLine="If coord.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3301;BA.debugLine="For cor = 0 To coord.RowCount -1"; +Debug.ShouldStop(16); +{ +final int step19 = 1; +final int limit19 = RemoteObject.solve(new RemoteObject[] {_coord.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_cor = 0 ; +for (;(step19 > 0 && _cor <= limit19) || (step19 < 0 && _cor >= limit19) ;_cor = ((int)(0 + _cor + step19)) ) { +Debug.locals.put("cor", _cor); + BA.debugLineNum = 3302;BA.debugLine="coord.Position = cor"; +Debug.ShouldStop(32); +_coord.runMethod(true,"setPosition",BA.numberCast(int.class, _cor)); + BA.debugLineNum = 3303;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +Debug.ShouldStop(64); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info set CAT_CL_ATIENDE1 = ? where CAT_CL_CODIGO = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ATIENDE")))),(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))))}))))); + } +}Debug.locals.put("cor", _cor); +; + }; + BA.debugLineNum = 3307;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(1024); +_coord = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_coord = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM GIROS_ACTUAL"))));Debug.locals.put("coord", _coord);Debug.locals.put("coord", _coord); + BA.debugLineNum = 3308;BA.debugLine="If coord.RowCount > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",_coord.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3309;BA.debugLine="For cor = 0 To coord.RowCount -1"; +Debug.ShouldStop(4096); +{ +final int step26 = 1; +final int limit26 = RemoteObject.solve(new RemoteObject[] {_coord.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_cor = 0 ; +for (;(step26 > 0 && _cor <= limit26) || (step26 < 0 && _cor >= limit26) ;_cor = ((int)(0 + _cor + step26)) ) { +Debug.locals.put("cor", _cor); + BA.debugLineNum = 3310;BA.debugLine="coord.Position = cor"; +Debug.ShouldStop(8192); +_coord.runMethod(true,"setPosition",BA.numberCast(int.class, _cor)); + BA.debugLineNum = 3311;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE kmt_info set CAT_CL_GIRO = ? where CAT_CL_CODIGO = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("GIRO")))),(_coord.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))))}))))); + } +}Debug.locals.put("cor", _cor); +; + }; + BA.debugLineNum = 3314;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _chkiftableexists(RemoteObject __ref,RemoteObject _db,RemoteObject _table) throws Exception{ +try { + Debug.PushSubsStack("chkIfTableExists (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,334); +if (RapidSub.canDelegate("chkiftableexists")) { return __ref.runUserSub(false, "c_principal","chkiftableexists", __ref, _db, _table);} +RemoteObject _t = RemoteObject.createImmutable(false); +Debug.locals.put("db", _db); +Debug.locals.put("table", _table); + BA.debugLineNum = 334;BA.debugLine="Sub chkIfTableExists(db As SQL, table As String) A"; +Debug.ShouldStop(8192); + BA.debugLineNum = 335;BA.debugLine="Private t As Boolean = False 'ignore"; +Debug.ShouldStop(16384); +_t = c_principal.__c.getField(true,"False");Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 336;BA.debugLine="If db.IsInitialized Then"; +Debug.ShouldStop(32768); +if (_db.runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 337;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"S"; +Debug.ShouldStop(65536); +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.concat(RemoteObject.createImmutable("SELECT name FROM sqlite_master WHERE type='table' AND name='"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_table))),RemoteObject.createImmutable("'"))))));__ref.setField("_c",c_principal._c); + BA.debugLineNum = 338;BA.debugLine="If c.RowCount > 0 Then t = True"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +_t = c_principal.__c.getField(true,"True");Debug.locals.put("t", _t);}; + BA.debugLineNum = 339;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 341;BA.debugLine="Return t"; +Debug.ShouldStop(1048576); +if (true) return _t; + BA.debugLineNum = 342;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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="Public rp As RuntimePermissions"; +c_principal._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");__ref.setField("_rp",c_principal._rp); + //BA.debugLineNum = 3;BA.debugLine="Private Root As B4XView 'ignore"; +c_principal._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_principal._root); + //BA.debugLineNum = 4;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 = 6;BA.debugLine="Dim rd As C_RespaldoDiario"; +c_principal._rd = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_respaldodiario");__ref.setField("_rd",c_principal._rd); + //BA.debugLineNum = 7;BA.debugLine="Dim reqManager As DBRequestManager"; +c_principal._reqmanager = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager");__ref.setField("_reqmanager",c_principal._reqmanager); + //BA.debugLineNum = 8;BA.debugLine="Dim conectado As String"; +c_principal._conectado = RemoteObject.createImmutable("");__ref.setField("_conectado",c_principal._conectado); + //BA.debugLineNum = 9;BA.debugLine="Dim ime As IME"; +c_principal._ime = RemoteObject.createNew ("anywheresoftware.b4a.objects.IME");__ref.setField("_ime",c_principal._ime); + //BA.debugLineNum = 10;BA.debugLine="Dim t1 As Timer"; +c_principal._t1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer");__ref.setField("_t1",c_principal._t1); + //BA.debugLineNum = 11;BA.debugLine="Dim sb As StringBuilder"; +c_principal._sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");__ref.setField("_sb",c_principal._sb); + //BA.debugLineNum = 12;BA.debugLine="Dim PHONE As Phone"; +c_principal._phone = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_phone",c_principal._phone); + //BA.debugLineNum = 13;BA.debugLine="Dim g As GPS"; +c_principal._g = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS");__ref.setField("_g",c_principal._g); + //BA.debugLineNum = 14;BA.debugLine="Dim trabajar As Button"; +c_principal._trabajar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_trabajar",c_principal._trabajar); + //BA.debugLineNum = 16;BA.debugLine="Dim c As Cursor"; +c_principal._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_principal._c); + //BA.debugLineNum = 17;BA.debugLine="Dim d As Cursor"; +c_principal._d = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d",c_principal._d); + //BA.debugLineNum = 18;BA.debugLine="Dim b As Cursor"; +c_principal._b = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_b",c_principal._b); + //BA.debugLineNum = 19;BA.debugLine="Dim e As Cursor"; +c_principal._e = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_e",c_principal._e); + //BA.debugLineNum = 20;BA.debugLine="Dim f As Cursor"; +c_principal._f = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_f",c_principal._f); + //BA.debugLineNum = 21;BA.debugLine="Dim D2 As Cursor"; +c_principal._d2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_d2",c_principal._d2); + //BA.debugLineNum = 22;BA.debugLine="Dim lv As ListView"; +c_principal._lv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv",c_principal._lv); + //BA.debugLineNum = 23;BA.debugLine="Dim cargar As Button"; +c_principal._cargar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_cargar",c_principal._cargar); + //BA.debugLineNum = 24;BA.debugLine="Dim pendiente As Button"; +c_principal._pendiente = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_pendiente",c_principal._pendiente); + //BA.debugLineNum = 25;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 = 26;BA.debugLine="Dim usuario As String"; +c_principal._usuario = RemoteObject.createImmutable("");__ref.setField("_usuario",c_principal._usuario); + //BA.debugLineNum = 27;BA.debugLine="Dim connecta As Button"; +c_principal._connecta = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_connecta",c_principal._connecta); + //BA.debugLineNum = 28;BA.debugLine="Dim conn As String"; +c_principal._conn = RemoteObject.createImmutable("");__ref.setField("_conn",c_principal._conn); + //BA.debugLineNum = 29;BA.debugLine="Dim Subir As Button"; +c_principal._subir = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_subir",c_principal._subir); + //BA.debugLineNum = 30;BA.debugLine="Dim cmd As DBCommand"; +c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + //BA.debugLineNum = 31;BA.debugLine="Dim TOPE As Int"; +c_principal._tope = RemoteObject.createImmutable(0);__ref.setField("_tope",c_principal._tope); + //BA.debugLineNum = 32;BA.debugLine="Dim COUNT_CLIE As Int"; +c_principal._count_clie = RemoteObject.createImmutable(0);__ref.setField("_count_clie",c_principal._count_clie); + //BA.debugLineNum = 33;BA.debugLine="Dim fecha As String"; +c_principal._fecha = RemoteObject.createImmutable("");__ref.setField("_fecha",c_principal._fecha); + //BA.debugLineNum = 34;BA.debugLine="Dim drop As Double"; +c_principal._drop = RemoteObject.createImmutable(0);__ref.setField("_drop",c_principal._drop); + //BA.debugLineNum = 35;BA.debugLine="Dim efectiva As Double"; +c_principal._efectiva = RemoteObject.createImmutable(0);__ref.setField("_efectiva",c_principal._efectiva); + //BA.debugLineNum = 36;BA.debugLine="Dim L_MONTOD As Label"; +c_principal._l_montod = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_montod",c_principal._l_montod); + //BA.debugLineNum = 37;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 = 38;BA.debugLine="Dim l_drop As Label"; +c_principal._l_drop = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_drop",c_principal._l_drop); + //BA.debugLineNum = 39;BA.debugLine="Dim l_efectiva As Label"; +c_principal._l_efectiva = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efectiva",c_principal._l_efectiva); + //BA.debugLineNum = 40;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 = 41;BA.debugLine="Dim BUSCA As Button"; +c_principal._busca = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_busca",c_principal._busca); + //BA.debugLineNum = 42;BA.debugLine="Dim Cuantos As String"; +c_principal._cuantos = RemoteObject.createImmutable("");__ref.setField("_cuantos",c_principal._cuantos); + //BA.debugLineNum = 43;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 = 44;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 = 45;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 = 46;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 = 47;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 = 48;BA.debugLine="Dim ALMACEN As String"; +c_principal._almacen = RemoteObject.createImmutable("");__ref.setField("_almacen",c_principal._almacen); + //BA.debugLineNum = 49;BA.debugLine="Private img2 As ImageView"; +c_principal._img2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_img2",c_principal._img2); + //BA.debugLineNum = 50;BA.debugLine="Dim Listo1 As String"; +c_principal._listo1 = RemoteObject.createImmutable("");__ref.setField("_listo1",c_principal._listo1); + //BA.debugLineNum = 51;BA.debugLine="Dim Listo2 As String"; +c_principal._listo2 = RemoteObject.createImmutable("");__ref.setField("_listo2",c_principal._listo2); + //BA.debugLineNum = 52;BA.debugLine="Dim Listo3 As String"; +c_principal._listo3 = RemoteObject.createImmutable("");__ref.setField("_listo3",c_principal._listo3); + //BA.debugLineNum = 53;BA.debugLine="Dim Listo4 As String"; +c_principal._listo4 = RemoteObject.createImmutable("");__ref.setField("_listo4",c_principal._listo4); + //BA.debugLineNum = 54;BA.debugLine="Dim Listo5 As String"; +c_principal._listo5 = RemoteObject.createImmutable("");__ref.setField("_listo5",c_principal._listo5); + //BA.debugLineNum = 55;BA.debugLine="Dim EJECUTANDO As String"; +c_principal._ejecutando = RemoteObject.createImmutable("");__ref.setField("_ejecutando",c_principal._ejecutando); + //BA.debugLineNum = 56;BA.debugLine="Dim RES As String"; +c_principal._res = RemoteObject.createImmutable("");__ref.setField("_res",c_principal._res); + //BA.debugLineNum = 57;BA.debugLine="Dim inve As String"; +c_principal._inve = RemoteObject.createImmutable("");__ref.setField("_inve",c_principal._inve); + //BA.debugLineNum = 58;BA.debugLine="Dim cuantos_pedidosc As String"; +c_principal._cuantos_pedidosc = RemoteObject.createImmutable("");__ref.setField("_cuantos_pedidosc",c_principal._cuantos_pedidosc); + //BA.debugLineNum = 59;BA.debugLine="Dim cuantos_pedido As String"; +c_principal._cuantos_pedido = RemoteObject.createImmutable("");__ref.setField("_cuantos_pedido",c_principal._cuantos_pedido); + //BA.debugLineNum = 60;BA.debugLine="Dim cuantos_noventa As String"; +c_principal._cuantos_noventa = RemoteObject.createImmutable("");__ref.setField("_cuantos_noventa",c_principal._cuantos_noventa); + //BA.debugLineNum = 61;BA.debugLine="Dim datos_iguales As String"; +c_principal._datos_iguales = RemoteObject.createImmutable("");__ref.setField("_datos_iguales",c_principal._datos_iguales); + //BA.debugLineNum = 62;BA.debugLine="Dim p As PhoneId"; +c_principal._p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneId");__ref.setField("_p",c_principal._p); + //BA.debugLineNum = 63;BA.debugLine="Dim imei As String"; +c_principal._imei = RemoteObject.createImmutable("");__ref.setField("_imei",c_principal._imei); + //BA.debugLineNum = 65;BA.debugLine="Private inv As Button"; +c_principal._inv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_inv",c_principal._inv); + //BA.debugLineNum = 66;BA.debugLine="Private P1 As Panel"; +c_principal._p1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p1",c_principal._p1); + //BA.debugLineNum = 67;BA.debugLine="Private CLAVE As EditText"; +c_principal._clave = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_clave",c_principal._clave); + //BA.debugLineNum = 68;BA.debugLine="Private B_OK_PAS As Button"; +c_principal._b_ok_pas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ok_pas",c_principal._b_ok_pas); + //BA.debugLineNum = 69;BA.debugLine="Dim PASO As String"; +c_principal._paso = RemoteObject.createImmutable("");__ref.setField("_paso",c_principal._paso); + //BA.debugLineNum = 70;BA.debugLine="Private USUARIO1 As EditText"; +c_principal._usuario1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_usuario1",c_principal._usuario1); + //BA.debugLineNum = 71;BA.debugLine="Dim connecta1 As Double"; +c_principal._connecta1 = RemoteObject.createImmutable(0);__ref.setField("_connecta1",c_principal._connecta1); + //BA.debugLineNum = 72;BA.debugLine="Dim armafolio As String"; +c_principal._armafolio = RemoteObject.createImmutable("");__ref.setField("_armafolio",c_principal._armafolio); + //BA.debugLineNum = 73;BA.debugLine="Private NUEVO As Button"; +c_principal._nuevo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_nuevo",c_principal._nuevo); + //BA.debugLineNum = 74;BA.debugLine="Private S_CC As Label"; +c_principal._s_cc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_s_cc",c_principal._s_cc); + //BA.debugLineNum = 75;BA.debugLine="Private S_CP As Label"; +c_principal._s_cp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_s_cp",c_principal._s_cp); + //BA.debugLineNum = 76;BA.debugLine="Private S_CH As Label"; +c_principal._s_ch = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_s_ch",c_principal._s_ch); + //BA.debugLineNum = 77;BA.debugLine="Private PB2 As ProgressBar"; +c_principal._pb2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ProgressBarWrapper");__ref.setField("_pb2",c_principal._pb2); + //BA.debugLineNum = 78;BA.debugLine="Private PB1 As ProgressBar"; +c_principal._pb1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ProgressBarWrapper");__ref.setField("_pb1",c_principal._pb1); + //BA.debugLineNum = 79;BA.debugLine="Private L_P_1 As Label"; +c_principal._l_p_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_p_1",c_principal._l_p_1); + //BA.debugLineNum = 80;BA.debugLine="Private L_P_2 As Label"; +c_principal._l_p_2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_p_2",c_principal._l_p_2); + //BA.debugLineNum = 81;BA.debugLine="Private L_P_3 As Label"; +c_principal._l_p_3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_p_3",c_principal._l_p_3); + //BA.debugLineNum = 82;BA.debugLine="Private CARGA As String"; +c_principal._carga = RemoteObject.createImmutable("");__ref.setField("_carga",c_principal._carga); + //BA.debugLineNum = 83;BA.debugLine="Private PORCENTAJE As String"; +c_principal._porcentaje = RemoteObject.createImmutable("");__ref.setField("_porcentaje",c_principal._porcentaje); + //BA.debugLineNum = 84;BA.debugLine="Private P_RESUMEN As Panel"; +c_principal._p_resumen = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_resumen",c_principal._p_resumen); + //BA.debugLineNum = 85;BA.debugLine="Private B_OK_RES As Button"; +c_principal._b_ok_res = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ok_res",c_principal._b_ok_res); + //BA.debugLineNum = 86;BA.debugLine="Private Resumen As Button"; +c_principal._resumen = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_resumen",c_principal._resumen); + //BA.debugLineNum = 87;BA.debugLine="Private L_CUANTOST As Label"; +c_principal._l_cuantost = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cuantost",c_principal._l_cuantost); + //BA.debugLineNum = 88;BA.debugLine="Private img3 As ImageView"; +c_principal._img3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_img3",c_principal._img3); + //BA.debugLineNum = 89;BA.debugLine="Private ImageView3 As ImageView"; +c_principal._imageview3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview3",c_principal._imageview3); + //BA.debugLineNum = 90;BA.debugLine="Private ImageView5 As ImageView"; +c_principal._imageview5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview5",c_principal._imageview5); + //BA.debugLineNum = 91;BA.debugLine="Private L_TICKPROM As Label"; +c_principal._l_tickprom = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_tickprom",c_principal._l_tickprom); + //BA.debugLineNum = 92;BA.debugLine="Private L_MARCAS As ListView"; +c_principal._l_marcas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_l_marcas",c_principal._l_marcas); + //BA.debugLineNum = 93;BA.debugLine="Private ImageView9 As ImageView"; +c_principal._imageview9 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview9",c_principal._imageview9); + //BA.debugLineNum = 94;BA.debugLine="Private E_RUTA2 As EditText"; +c_principal._e_ruta2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_e_ruta2",c_principal._e_ruta2); + //BA.debugLineNum = 95;BA.debugLine="Private resdia As ImageView"; +c_principal._resdia = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_resdia",c_principal._resdia); + //BA.debugLineNum = 96;BA.debugLine="Private hacer_ped As ImageView"; +c_principal._hacer_ped = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_hacer_ped",c_principal._hacer_ped); + //BA.debugLineNum = 97;BA.debugLine="Private nvo_cliente As ImageView"; +c_principal._nvo_cliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_nvo_cliente",c_principal._nvo_cliente); + //BA.debugLineNum = 98;BA.debugLine="Private tickets_dia As ImageView"; +c_principal._tickets_dia = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_tickets_dia",c_principal._tickets_dia); + //BA.debugLineNum = 99;BA.debugLine="Private l_monto_ks As Label"; +c_principal._l_monto_ks = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_ks",c_principal._l_monto_ks); + //BA.debugLineNum = 100;BA.debugLine="Private l_monto_kp As Label"; +c_principal._l_monto_kp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_kp",c_principal._l_monto_kp); + //BA.debugLineNum = 101;BA.debugLine="Private l_monto_k As Label"; +c_principal._l_monto_k = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_k",c_principal._l_monto_k); + //BA.debugLineNum = 102;BA.debugLine="Private l_monto_c1 As Label"; +c_principal._l_monto_c1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_c1",c_principal._l_monto_c1); + //BA.debugLineNum = 103;BA.debugLine="Private l_monto_c2 As Label"; +c_principal._l_monto_c2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_c2",c_principal._l_monto_c2); + //BA.debugLineNum = 104;BA.debugLine="Private l_monto_c3 As Label"; +c_principal._l_monto_c3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_monto_c3",c_principal._l_monto_c3); + //BA.debugLineNum = 105;BA.debugLine="Private l_encuesta As Label"; +c_principal._l_encuesta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_encuesta",c_principal._l_encuesta); + //BA.debugLineNum = 106;BA.debugLine="Private bpv1 As BatteryProgressView"; +c_principal._bpv1 = RemoteObject.createNew ("batteryprogressviewwrapper.batteryprogressviewWrapper");__ref.setField("_bpv1",c_principal._bpv1); + //BA.debugLineNum = 107;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 = 108;BA.debugLine="Private bu As BatteryUtilities"; +c_principal._bu = RemoteObject.createNew ("SHARK2.keymon.com.mx.batteryutilities");__ref.setField("_bu",c_principal._bu); + //BA.debugLineNum = 109;BA.debugLine="Private L_NES As Label"; +c_principal._l_nes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_nes",c_principal._l_nes); + //BA.debugLineNum = 110;BA.debugLine="Private L_REAL As Label"; +c_principal._l_real = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_real",c_principal._l_real); + //BA.debugLineNum = 111;BA.debugLine="Private L_ALCANCE As Label"; +c_principal._l_alcance = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_alcance",c_principal._l_alcance); + //BA.debugLineNum = 112;BA.debugLine="Private L_VPLAN As Label"; +c_principal._l_vplan = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vplan",c_principal._l_vplan); + //BA.debugLineNum = 113;BA.debugLine="Private L_VREAL As Label"; +c_principal._l_vreal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vreal",c_principal._l_vreal); + //BA.debugLineNum = 114;BA.debugLine="Private L_EFEC_VIS As Label"; +c_principal._l_efec_vis = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efec_vis",c_principal._l_efec_vis); + //BA.debugLineNum = 115;BA.debugLine="Private L_VISITCC As Label"; +c_principal._l_visitcc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_visitcc",c_principal._l_visitcc); + //BA.debugLineNum = 116;BA.debugLine="Private L_EFEC_PV As Label"; +c_principal._l_efec_pv = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efec_pv",c_principal._l_efec_pv); + //BA.debugLineNum = 117;BA.debugLine="Private L_EFEC_PURA As Label"; +c_principal._l_efec_pura = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_efec_pura",c_principal._l_efec_pura); + //BA.debugLineNum = 118;BA.debugLine="Private L_CTE_PROMO As Label"; +c_principal._l_cte_promo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cte_promo",c_principal._l_cte_promo); + //BA.debugLineNum = 119;BA.debugLine="Private L_REDEN_PROMO As Label"; +c_principal._l_reden_promo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_reden_promo",c_principal._l_reden_promo); + //BA.debugLineNum = 120;BA.debugLine="Private L_LIN_TICK As Label"; +c_principal._l_lin_tick = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_lin_tick",c_principal._l_lin_tick); + //BA.debugLineNum = 121;BA.debugLine="Private SCROLL_RESDIA As ScrollView"; +c_principal._scroll_resdia = RemoteObject.createNew ("anywheresoftware.b4a.objects.ScrollViewWrapper");__ref.setField("_scroll_resdia",c_principal._scroll_resdia); + //BA.debugLineNum = 122;BA.debugLine="Private L_ACUMULADO As Label"; +c_principal._l_acumulado = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_acumulado",c_principal._l_acumulado); + //BA.debugLineNum = 123;BA.debugLine="Private L_UNILEVER As Label"; +c_principal._l_unilever = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_unilever",c_principal._l_unilever); + //BA.debugLineNum = 124;BA.debugLine="Private L_RECHAZOP As Label"; +c_principal._l_rechazop = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rechazop",c_principal._l_rechazop); + //BA.debugLineNum = 125;BA.debugLine="Private L_RECHAZOM As Label"; +c_principal._l_rechazom = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rechazom",c_principal._l_rechazom); + //BA.debugLineNum = 126;BA.debugLine="Private L_VTA_3MES As Label"; +c_principal._l_vta_3mes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vta_3mes",c_principal._l_vta_3mes); + //BA.debugLineNum = 127;BA.debugLine="Private L_VTA_2MES As Label"; +c_principal._l_vta_2mes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vta_2mes",c_principal._l_vta_2mes); + //BA.debugLineNum = 128;BA.debugLine="Private L_VTA_1MES As Label"; +c_principal._l_vta_1mes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vta_1mes",c_principal._l_vta_1mes); + //BA.debugLineNum = 129;BA.debugLine="Private L_MES_PY As Label"; +c_principal._l_mes_py = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_mes_py",c_principal._l_mes_py); + //BA.debugLineNum = 130;BA.debugLine="Private L_FREC_DE_CREAL As Label"; +c_principal._l_frec_de_creal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_frec_de_creal",c_principal._l_frec_de_creal); + //BA.debugLineNum = 131;BA.debugLine="Private L_FREC_DE_COBJ As Label"; +c_principal._l_frec_de_cobj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_frec_de_cobj",c_principal._l_frec_de_cobj); + //BA.debugLineNum = 132;BA.debugLine="Private L_COB_VISIT As Label"; +c_principal._l_cob_visit = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cob_visit",c_principal._l_cob_visit); + //BA.debugLineNum = 133;BA.debugLine="Private L_VISIT_REAL As Label"; +c_principal._l_visit_real = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_visit_real",c_principal._l_visit_real); + //BA.debugLineNum = 134;BA.debugLine="Private L_VISIT_PLAN As Label"; +c_principal._l_visit_plan = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_visit_plan",c_principal._l_visit_plan); + //BA.debugLineNum = 135;BA.debugLine="Private L_ECO As Label"; +c_principal._l_eco = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_eco",c_principal._l_eco); + //BA.debugLineNum = 136;BA.debugLine="Private L_COB_CCC As Label"; +c_principal._l_cob_ccc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cob_ccc",c_principal._l_cob_ccc); + //BA.debugLineNum = 137;BA.debugLine="Private L_CTES As Label"; +c_principal._l_ctes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ctes",c_principal._l_ctes); + //BA.debugLineNum = 138;BA.debugLine="Private L_VPO_VTA As Label"; +c_principal._l_vpo_vta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vpo_vta",c_principal._l_vpo_vta); + //BA.debugLineNum = 139;BA.debugLine="Private L_VPO_OBJ As Label"; +c_principal._l_vpo_obj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vpo_obj",c_principal._l_vpo_obj); + //BA.debugLineNum = 140;BA.debugLine="Private L_DS_VTA As Label"; +c_principal._l_ds_vta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ds_vta",c_principal._l_ds_vta); + //BA.debugLineNum = 141;BA.debugLine="Private L_DS_OBJ As Label"; +c_principal._l_ds_obj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ds_obj",c_principal._l_ds_obj); + //BA.debugLineNum = 142;BA.debugLine="Private L_DRA_VTA As Label"; +c_principal._l_dra_vta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_dra_vta",c_principal._l_dra_vta); + //BA.debugLineNum = 143;BA.debugLine="Private L_DRA_OBJ As Label"; +c_principal._l_dra_obj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_dra_obj",c_principal._l_dra_obj); + //BA.debugLineNum = 144;BA.debugLine="Private L_ALCANCEM As Label"; +c_principal._l_alcancem = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_alcancem",c_principal._l_alcancem); + //BA.debugLineNum = 145;BA.debugLine="Private L_TENDENCIA As Label"; +c_principal._l_tendencia = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_tendencia",c_principal._l_tendencia); + //BA.debugLineNum = 146;BA.debugLine="Private L_VTA_ACUM As Label"; +c_principal._l_vta_acum = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_vta_acum",c_principal._l_vta_acum); + //BA.debugLineNum = 147;BA.debugLine="Private L_OBJ_MES As Label"; +c_principal._l_obj_mes = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_obj_mes",c_principal._l_obj_mes); + //BA.debugLineNum = 148;BA.debugLine="Private L_DS_OBJD As Label"; +c_principal._l_ds_objd = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ds_objd",c_principal._l_ds_objd); + //BA.debugLineNum = 149;BA.debugLine="Private L_DS_VTAD As Label"; +c_principal._l_ds_vtad = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ds_vtad",c_principal._l_ds_vtad); + //BA.debugLineNum = 150;BA.debugLine="Private LPT As String"; +c_principal._lpt = RemoteObject.createImmutable("");__ref.setField("_lpt",c_principal._lpt); + //BA.debugLineNum = 151;BA.debugLine="Private STEYIN As String"; +c_principal._steyin = RemoteObject.createImmutable("");__ref.setField("_steyin",c_principal._steyin); + //BA.debugLineNum = 152;BA.debugLine="Private STEYOUT As String"; +c_principal._steyout = RemoteObject.createImmutable("");__ref.setField("_steyout",c_principal._steyout); + //BA.debugLineNum = 153;BA.debugLine="Private L_PRIO As Label"; +c_principal._l_prio = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prio",c_principal._l_prio); + //BA.debugLineNum = 154;BA.debugLine="Private L_SECUND As Label"; +c_principal._l_secund = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_secund",c_principal._l_secund); + //BA.debugLineNum = 155;BA.debugLine="Private L_COMP As Label"; +c_principal._l_comp = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_comp",c_principal._l_comp); + //BA.debugLineNum = 156;BA.debugLine="Private stay_hh As String"; +c_principal._stay_hh = RemoteObject.createImmutable("");__ref.setField("_stay_hh",c_principal._stay_hh); + //BA.debugLineNum = 157;BA.debugLine="Private stay_mi As String"; +c_principal._stay_mi = RemoteObject.createImmutable("");__ref.setField("_stay_mi",c_principal._stay_mi); + //BA.debugLineNum = 158;BA.debugLine="Private stay_ss As String"; +c_principal._stay_ss = RemoteObject.createImmutable("");__ref.setField("_stay_ss",c_principal._stay_ss); + //BA.debugLineNum = 159;BA.debugLine="Dim sDate,sTime As String"; +c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate); +c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime); + //BA.debugLineNum = 160;BA.debugLine="Dim HORAINGRESO As String"; +c_principal._horaingreso = RemoteObject.createImmutable("");__ref.setField("_horaingreso",c_principal._horaingreso); + //BA.debugLineNum = 161;BA.debugLine="Private L_QUALA As Label"; +c_principal._l_quala = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_quala",c_principal._l_quala); + //BA.debugLineNum = 162;BA.debugLine="Private L_FERRERO As Label"; +c_principal._l_ferrero = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_ferrero",c_principal._l_ferrero); + //BA.debugLineNum = 163;BA.debugLine="Private L_SANMARCOS As Label"; +c_principal._l_sanmarcos = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_sanmarcos",c_principal._l_sanmarcos); + //BA.debugLineNum = 164;BA.debugLine="Private L_CAMPARI As Label"; +c_principal._l_campari = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_campari",c_principal._l_campari); + //BA.debugLineNum = 165;BA.debugLine="Private L_IBERIA As Label"; +c_principal._l_iberia = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_iberia",c_principal._l_iberia); + //BA.debugLineNum = 166;BA.debugLine="Private L_BEPENSA As Label"; +c_principal._l_bepensa = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_bepensa",c_principal._l_bepensa); + //BA.debugLineNum = 167;BA.debugLine="Private L_SCJ As Label"; +c_principal._l_scj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_scj",c_principal._l_scj); + //BA.debugLineNum = 168;BA.debugLine="Private L_MEDJ As Label"; +c_principal._l_medj = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_medj",c_principal._l_medj); + //BA.debugLineNum = 169;BA.debugLine="Private L_DURACELL As Label"; +c_principal._l_duracell = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_duracell",c_principal._l_duracell); + //BA.debugLineNum = 170;BA.debugLine="Private L_GUNA As Label"; +c_principal._l_guna = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_guna",c_principal._l_guna); + //BA.debugLineNum = 171;BA.debugLine="Private L_KIMB As Label"; +c_principal._l_kimb = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_kimb",c_principal._l_kimb); + //BA.debugLineNum = 172;BA.debugLine="Private L_TRESM As Label"; +c_principal._l_tresm = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_tresm",c_principal._l_tresm); + //BA.debugLineNum = 173;BA.debugLine="Private L_REDB As Label"; +c_principal._l_redb = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_redb",c_principal._l_redb); + //BA.debugLineNum = 174;BA.debugLine="Private Btn_Ubicar As Button"; +c_principal._btn_ubicar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_btn_ubicar",c_principal._btn_ubicar); + //BA.debugLineNum = 175;BA.debugLine="Private B_COMM As Button"; +c_principal._b_comm = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_comm",c_principal._b_comm); + //BA.debugLineNum = 176;BA.debugLine="Private L_TOTAL_MM As Label"; +c_principal._l_total_mm = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_mm",c_principal._l_total_mm); + //BA.debugLineNum = 177;BA.debugLine="Private L_TOTAL_VIVE As Label"; +c_principal._l_total_vive = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_vive",c_principal._l_total_vive); + //BA.debugLineNum = 178;BA.debugLine="Private L_TOTAL_GUNA As Label"; +c_principal._l_total_guna = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_guna",c_principal._l_total_guna); + //BA.debugLineNum = 179;BA.debugLine="Private L_TOTAL_BA As Label"; +c_principal._l_total_ba = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_ba",c_principal._l_total_ba); + //BA.debugLineNum = 180;BA.debugLine="Private L_TOTAL_COMIS As Label"; +c_principal._l_total_comis = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_comis",c_principal._l_total_comis); + //BA.debugLineNum = 181;BA.debugLine="Private L_TOTAL_MM_1 As Label"; +c_principal._l_total_mm_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_mm_1",c_principal._l_total_mm_1); + //BA.debugLineNum = 182;BA.debugLine="Private L_TOTAL_VIVE_1 As Label"; +c_principal._l_total_vive_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_vive_1",c_principal._l_total_vive_1); + //BA.debugLineNum = 183;BA.debugLine="Private L_TOTAL_GUNA_1 As Label"; +c_principal._l_total_guna_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_guna_1",c_principal._l_total_guna_1); + //BA.debugLineNum = 184;BA.debugLine="Private L_TOTAL_BA_1 As Label"; +c_principal._l_total_ba_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_ba_1",c_principal._l_total_ba_1); + //BA.debugLineNum = 185;BA.debugLine="Private L_TOTAL_COMIS_1 As Label"; +c_principal._l_total_comis_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total_comis_1",c_principal._l_total_comis_1); + //BA.debugLineNum = 186;BA.debugLine="Private B_OK_COMISS As Button"; +c_principal._b_ok_comiss = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ok_comiss",c_principal._b_ok_comiss); + //BA.debugLineNum = 187;BA.debugLine="Private Panel_C As Panel"; +c_principal._panel_c = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel_c",c_principal._panel_c); + //BA.debugLineNum = 188;BA.debugLine="Private TitleHeight As Int = 50dip"; +c_principal._titleheight = c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)));__ref.setField("_titleheight",c_principal._titleheight); + //BA.debugLineNum = 189;BA.debugLine="Private Title2Height As Int = 100dip"; +c_principal._title2height = c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100)));__ref.setField("_title2height",c_principal._title2height); + //BA.debugLineNum = 190;BA.debugLine="Private DividerHeight As Int = 5dip"; +c_principal._dividerheight = c_principal.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)));__ref.setField("_dividerheight",c_principal._dividerheight); + //BA.debugLineNum = 191;BA.debugLine="Private CLV1 As CustomListView"; +c_principal._clv1 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv1",c_principal._clv1); + //BA.debugLineNum = 192;BA.debugLine="Private pnlTitle As B4XView"; +c_principal._pnltitle = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnltitle",c_principal._pnltitle); + //BA.debugLineNum = 193;BA.debugLine="Private xui As XUI"; +c_principal._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_principal._xui); + //BA.debugLineNum = 194;BA.debugLine="Type TitleData (Title As String)"; +; + //BA.debugLineNum = 195;BA.debugLine="Private B_MARCAS As Button"; +c_principal._b_marcas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_marcas",c_principal._b_marcas); + //BA.debugLineNum = 196;BA.debugLine="Private Panel5 As Panel"; +c_principal._panel5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel5",c_principal._panel5); + //BA.debugLineNum = 197;BA.debugLine="Private lblTitle As Label"; +c_principal._lbltitle = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lbltitle",c_principal._lbltitle); + //BA.debugLineNum = 198;BA.debugLine="Private B_OK_PANEL5 As Button"; +c_principal._b_ok_panel5 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_ok_panel5",c_principal._b_ok_panel5); + //BA.debugLineNum = 199;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 = 200;BA.debugLine="Private p_mandaInfo As Panel"; +c_principal._p_mandainfo = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_mandainfo",c_principal._p_mandainfo); + //BA.debugLineNum = 201;BA.debugLine="Dim s As Cursor"; +c_principal._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_principal._s); + //BA.debugLineNum = 202;BA.debugLine="Private Label22 As Label"; +c_principal._label22 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_label22",c_principal._label22); + //BA.debugLineNum = 203;BA.debugLine="Private l_rutasuplencia As Label"; +c_principal._l_rutasuplencia = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_rutasuplencia",c_principal._l_rutasuplencia); + //BA.debugLineNum = 204;BA.debugLine="Dim userpiezas As String"; +c_principal._userpiezas = RemoteObject.createImmutable("");__ref.setField("_userpiezas",c_principal._userpiezas); + //BA.debugLineNum = 205;BA.debugLine="Private b_abordo As Button"; +c_principal._b_abordo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_abordo",c_principal._b_abordo); + //BA.debugLineNum = 206;BA.debugLine="Private L_ABORDO As Label"; +c_principal._l_abordo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_abordo",c_principal._l_abordo); + //BA.debugLineNum = 207;BA.debugLine="Private L_VENTA As Label"; +c_principal._l_venta = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_venta",c_principal._l_venta); + //BA.debugLineNum = 208;BA.debugLine="Private L_PREVENTA As Label"; +c_principal._l_preventa = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_preventa",c_principal._l_preventa); + //BA.debugLineNum = 209;BA.debugLine="Private p_abordo As Panel"; +c_principal._p_abordo = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_abordo",c_principal._p_abordo); + //BA.debugLineNum = 210;BA.debugLine="Private Panel11 As Panel"; +c_principal._panel11 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel11",c_principal._panel11); + //BA.debugLineNum = 211;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 = 212;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 = 213;BA.debugLine="Dim 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 = 214;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 = 215;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 = 216;BA.debugLine="Dim Panel4 As Panel"; +c_principal._panel4 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel4",c_principal._panel4); + //BA.debugLineNum = 217;BA.debugLine="Dim q_buscar As String"; +c_principal._q_buscar = RemoteObject.createImmutable("");__ref.setField("_q_buscar",c_principal._q_buscar); + //BA.debugLineNum = 218;BA.debugLine="Private et_buspc As EditText"; +c_principal._et_buspc = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_buspc",c_principal._et_buspc); + //BA.debugLineNum = 219;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 = 220;BA.debugLine="Private p_b_tabulador As Panel"; +c_principal._p_b_tabulador = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_b_tabulador",c_principal._p_b_tabulador); + //BA.debugLineNum = 221;BA.debugLine="Private pnlCobranza As Panel"; +c_principal._pnlcobranza = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnlcobranza",c_principal._pnlcobranza); + //BA.debugLineNum = 222;BA.debugLine="Private clvCobranza As CustomListView"; +c_principal._clvcobranza = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clvcobranza",c_principal._clvcobranza); + //BA.debugLineNum = 223;BA.debugLine="Private pnlBtnCobranza As Panel"; +c_principal._pnlbtncobranza = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnlbtncobranza",c_principal._pnlbtncobranza); + //BA.debugLineNum = 224;BA.debugLine="Private btnCobranza As Button"; +c_principal._btncobranza = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_btncobranza",c_principal._btncobranza); + //BA.debugLineNum = 225;BA.debugLine="Private pnlBtnRegresar As Panel"; +c_principal._pnlbtnregresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnlbtnregresar",c_principal._pnlbtnregresar); + //BA.debugLineNum = 226;BA.debugLine="Private btnRegresar As Button"; +c_principal._btnregresar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_btnregresar",c_principal._btnregresar); + //BA.debugLineNum = 227;BA.debugLine="Private l_Secuencia As Label"; +c_principal._l_secuencia = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_secuencia",c_principal._l_secuencia); + //BA.debugLineNum = 228;BA.debugLine="Dim pnlContenedorCobranza As Panel"; +c_principal._pnlcontenedorcobranza = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnlcontenedorcobranza",c_principal._pnlcontenedorcobranza); + //BA.debugLineNum = 229;BA.debugLine="Private l_Nombre As Label"; +c_principal._l_nombre = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_nombre",c_principal._l_nombre); + //BA.debugLineNum = 230;BA.debugLine="Private l_CuentaXCobrar As Label"; +c_principal._l_cuentaxcobrar = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cuentaxcobrar",c_principal._l_cuentaxcobrar); + //BA.debugLineNum = 231;BA.debugLine="Private l_Abono As Label"; +c_principal._l_abono = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_abono",c_principal._l_abono); + //BA.debugLineNum = 232;BA.debugLine="Private pnlCabecero As Panel"; +c_principal._pnlcabecero = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnlcabecero",c_principal._pnlcabecero); + //BA.debugLineNum = 233;BA.debugLine="Private lblAbono As Label"; +c_principal._lblabono = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lblabono",c_principal._lblabono); + //BA.debugLineNum = 234;BA.debugLine="Private lblSaldo As Label"; +c_principal._lblsaldo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lblsaldo",c_principal._lblsaldo); + //BA.debugLineNum = 235;BA.debugLine="Private lblCliente As Label"; +c_principal._lblcliente = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lblcliente",c_principal._lblcliente); + //BA.debugLineNum = 236;BA.debugLine="Private lblSec As Label"; +c_principal._lblsec = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lblsec",c_principal._lblsec); + //BA.debugLineNum = 237;BA.debugLine="Private pnlTotal As Panel"; +c_principal._pnltotal = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnltotal",c_principal._pnltotal); + //BA.debugLineNum = 238;BA.debugLine="Private lblTotal As Label"; +c_principal._lbltotal = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lbltotal",c_principal._lbltotal); + //BA.debugLineNum = 239;BA.debugLine="Private lblVersion As Label"; +c_principal._lblversion = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lblversion",c_principal._lblversion); + //BA.debugLineNum = 240;BA.debugLine="Dim lista_punta As List"; +c_principal._lista_punta = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_lista_punta",c_principal._lista_punta); + //BA.debugLineNum = 241;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 = 242;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 = 243;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 = 244;BA.debugLine="Private b_productos As Button"; +c_principal._b_productos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_productos",c_principal._b_productos); + //BA.debugLineNum = 246;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,2509); +if (RapidSub.canDelegate("connecta_click")) { return __ref.runUserSub(false, "c_principal","connecta_click", __ref);} + BA.debugLineNum = 2509;BA.debugLine="Sub connecta_Click"; +Debug.ShouldStop(4096); + BA.debugLineNum = 2510;BA.debugLine="Log( Starter.DBReqServer)"; +Debug.ShouldStop(8192); +c_principal.__c.runVoidMethod ("LogImpl","514155777",c_principal._starter._dbreqserver /*RemoteObject*/ ,0); + BA.debugLineNum = 2511;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; +Debug.ShouldStop(16384); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(c_principal._starter._dbreqserver /*RemoteObject*/ )); + BA.debugLineNum = 2512;BA.debugLine="ime.HideKeyboard"; +Debug.ShouldStop(32768); +__ref.getField(false,"_ime" /*RemoteObject*/ ).runVoidMethod ("HideKeyboard",__ref.getField(false, "ba")); + BA.debugLineNum = 2513;BA.debugLine="connecta1 = connecta1 + 1"; +Debug.ShouldStop(65536); +__ref.setField ("_connecta1" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_connecta1" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 0)); + BA.debugLineNum = 2515;BA.debugLine="imei = \"xxxx\""; +Debug.ShouldStop(262144); +__ref.setField ("_imei" /*RemoteObject*/ ,BA.ObjectToString("xxxx")); + BA.debugLineNum = 2516;BA.debugLine="conn = \"1\""; +Debug.ShouldStop(524288); +__ref.setField ("_conn" /*RemoteObject*/ ,BA.ObjectToString("1")); + BA.debugLineNum = 2536;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(128); +c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 2537;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2539;BA.debugLine="cmd.Name = \"select_ruta_SHARK23\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_ruta_SHARK23")); + BA.debugLineNum = 2540;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta."; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 2542;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")"; +Debug.ShouldStop(8192); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("ruta")))); + BA.debugLineNum = 2544;BA.debugLine="If e_ruta.Text = \"KMTS1\" Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("KMTS1"))) { + BA.debugLineNum = 2545;BA.debugLine="cargar.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2546;BA.debugLine="Subir.Visible = True"; +Debug.ShouldStop(131072); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2547;BA.debugLine="e_ruta.Text = \"\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + BA.debugLineNum = 2550;BA.debugLine="If e_ruta.Text = \"BERNA1\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("BERNA1"))) { + BA.debugLineNum = 2551;BA.debugLine="cargar.Visible = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2552;BA.debugLine="Subir.Visible = True"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2553;BA.debugLine="e_ruta.Text = \"\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + BA.debugLineNum = 2556;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)"; +Debug.ShouldStop(134217728); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Validando Conexión.")),(Object)(c_principal.__c.getField(true,"True"))); + 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 RemoteObject _e_ruta_enterpressed(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("e_ruta_EnterPressed (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2583); +if (RapidSub.canDelegate("e_ruta_enterpressed")) { return __ref.runUserSub(false, "c_principal","e_ruta_enterpressed", __ref);} + BA.debugLineNum = 2583;BA.debugLine="Sub e_ruta_EnterPressed"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 2584;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("FIN DIA"))) { + BA.debugLineNum = 2585;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre"; +Debug.ShouldStop(16777216); +__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 = 2586;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_res" /*RemoteObject*/ ),BA.NumberToString(c_principal.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 2587;BA.debugLine="e_ruta.Text = \"\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 2588;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO"; +Debug.ShouldStop(134217728); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_GIRO"))); + BA.debugLineNum = 2589;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(268435456); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CLIENTE_NUEVO"))); + BA.debugLineNum = 2590;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(536870912); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM GEOCERCA"))); + BA.debugLineNum = 2591;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(1073741824); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ATIENDE"))); + BA.debugLineNum = 2592;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM GIROS_ACTUAL"))); + BA.debugLineNum = 2593;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(1); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM COORDS_ALMACEN"))); + BA.debugLineNum = 2594;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(2); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from COORDENADAS"))); + BA.debugLineNum = 2595;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(4); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PICKCIEGO_HECHO"))); + BA.debugLineNum = 2596;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(8); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente"))); + BA.debugLineNum = 2597;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(16); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido"))); + BA.debugLineNum = 2598;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(32); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PAGARES"))); + BA.debugLineNum = 2599;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(64); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from noventa"))); + BA.debugLineNum = 2600;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(128); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from clie_act"))); + BA.debugLineNum = 2601;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(256); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info"))); + BA.debugLineNum = 2602;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(512); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from kmt_info2"))); + BA.debugLineNum = 2603;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(1024); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod"))); + BA.debugLineNum = 2604;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod2"))); + BA.debugLineNum = 2605;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod3"))); + BA.debugLineNum = 2606;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod4"))); + BA.debugLineNum = 2607;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ"))); + BA.debugLineNum = 2608;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(32768); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VENTAS"))); + BA.debugLineNum = 2609;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_VERIFICACION"))); + BA.debugLineNum = 2610;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(131072); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_ENCUESTA"))); + BA.debugLineNum = 2611;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_STAY_OUT"))); + BA.debugLineNum = 2612;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GPS"))); + BA.debugLineNum = 2613;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_FACE"))); + BA.debugLineNum = 2614;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"INSERT INT"; +Debug.ShouldStop(2097152); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)"))); + BA.debugLineNum = 2615;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(4194304); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_CODIGO_BARRAS"))); + BA.debugLineNum = 2616;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(8388608); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ABONOSP"))); + BA.debugLineNum = 2617;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ABONOS"))); + BA.debugLineNum = 2618;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(33554432); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM PICK_CIEGO"))); + BA.debugLineNum = 2619;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(67108864); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTA_SUPLENCIA"))); + BA.debugLineNum = 2620;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(134217728); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM RUTAA"))); + BA.debugLineNum = 2621;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(268435456); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM CLIENTES_NUEVOS"))); + BA.debugLineNum = 2622;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +Debug.ShouldStop(536870912); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM TABULADOR_MONEDAS"))); + BA.debugLineNum = 2623;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +Debug.ShouldStop(1073741824); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM TABULADOR_BILLETES"))); + BA.debugLineNum = 2624;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM ENV_MONTO_LIQ"))); + BA.debugLineNum = 2625;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 2626;BA.debugLine="l_rutasuplencia.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2627;BA.debugLine="Label22.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_label22" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2628;BA.debugLine="l_rutasuplencia.Text = \"\""; +Debug.ShouldStop(8); +__ref.getField(false,"_l_rutasuplencia" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + }; + }; + BA.debugLineNum = 2631;BA.debugLine="If e_ruta.Text = \"IWL\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("IWL"))) { + BA.debugLineNum = 2633;BA.debugLine="NUEVO.Visible =False"; +Debug.ShouldStop(256); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2634;BA.debugLine="BUSCA.Visible=False"; +Debug.ShouldStop(512); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2635;BA.debugLine="connecta.Visible=False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2636;BA.debugLine="img3.Visible =True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_img3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2637;BA.debugLine="Resumen.Visible= False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + BA.debugLineNum = 2639;BA.debugLine="If e_ruta.Text = \"SUPLENCIA\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("SUPLENCIA"))) { + BA.debugLineNum = 2640;BA.debugLine="E_RUTA2.Visible = True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_e_ruta2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2641;BA.debugLine="Panel11.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_panel11" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2643;BA.debugLine="e_ruta.Text= \"\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + }; + BA.debugLineNum = 2645;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _e_ruta_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("e_ruta_TextChanged (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3097); +if (RapidSub.canDelegate("e_ruta_textchanged")) { return __ref.runUserSub(false, "c_principal","e_ruta_textchanged", __ref, _old, _new);} +RemoteObject _validchars = RemoteObject.createImmutable(""); +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 3097;BA.debugLine="Sub e_ruta_TextChanged (Old As String, New As Stri"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 3098;BA.debugLine="Dim validChars As String =\"ABCDEFGHIJKLMNOPQRSTUV"; +Debug.ShouldStop(33554432); +_validchars = BA.ObjectToString("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 ");Debug.locals.put("validChars", _validchars);Debug.locals.put("validChars", _validchars); + BA.debugLineNum = 3100;BA.debugLine="If Old <> \"KMTS1\" Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("!",_old,BA.ObjectToString("KMTS1"))) { + BA.debugLineNum = 3102;BA.debugLine="Try"; +Debug.ShouldStop(536870912); +try { BA.debugLineNum = 3103;BA.debugLine="If validChars.Contains(New.SubString(New.Length"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_validchars.runMethod(true,"contains",(Object)(_new.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_new.runMethod(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1))))),c_principal.__c.getField(true,"False"))) { + BA.debugLineNum = 3104;BA.debugLine="e_ruta.Text = New.SubString2(0, New.Length-1)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_new.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {_new.runMethod(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1))))); + BA.debugLineNum = 3105;BA.debugLine="e_ruta.SelectionStart = e_ruta.Text.Length"; +Debug.ShouldStop(1); +__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"setSelectionStart",__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText").runMethod(true,"length")); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e9) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 3108;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(8); +c_principal.__c.runVoidMethod ("LogImpl","515335435",BA.ObjectToString(c_principal.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0); + }; + }; + BA.debugLineNum = 3111;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gettablecolumnlist(RemoteObject __ref,RemoteObject _db,RemoteObject _table) throws Exception{ +try { + Debug.PushSubsStack("getTableColumnList (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,366); +if (RapidSub.canDelegate("gettablecolumnlist")) { return __ref.runUserSub(false, "c_principal","gettablecolumnlist", __ref, _db, _table);} +RemoteObject _l = RemoteObject.createImmutable(""); +int _i = 0; +Debug.locals.put("db", _db); +Debug.locals.put("table", _table); + BA.debugLineNum = 366;BA.debugLine="Sub getTableColumnList(db As SQL, table As String)"; +Debug.ShouldStop(8192); + BA.debugLineNum = 367;BA.debugLine="Private l As String = \"\""; +Debug.ShouldStop(16384); +_l = BA.ObjectToString("");Debug.locals.put("l", _l);Debug.locals.put("l", _l); + BA.debugLineNum = 368;BA.debugLine="If chkIfTableExists(db, table) Then"; +Debug.ShouldStop(32768); +if (__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_chkiftableexists" /*RemoteObject*/ ,(Object)(_db),(Object)(_table)).get().booleanValue()) { + BA.debugLineNum = 369;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"p"; +Debug.ShouldStop(65536); +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.concat(RemoteObject.createImmutable("pragma table_info("),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_table))),RemoteObject.createImmutable(")"))))));__ref.setField("_c",c_principal._c); + BA.debugLineNum = 370;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 = 371;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(262144); +{ +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 = 372;BA.debugLine="c.Position = i"; +Debug.ShouldStop(524288); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 373;BA.debugLine="If l.Length = 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_l.runMethod(true,"length"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 374;BA.debugLine="l = $\"${c.GetString(\"name\")} ${c.GetString(\"t"; +Debug.ShouldStop(2097152); +_l = (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("name")))))),RemoteObject.createImmutable(" "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("type")))))),RemoteObject.createImmutable("")));Debug.locals.put("l", _l); + }else { + BA.debugLineNum = 376;BA.debugLine="l = $\"${l}, ${c.GetString(\"name\")} ${c.GetStr"; +Debug.ShouldStop(8388608); +_l = (RemoteObject.concat(RemoteObject.createImmutable(""),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_l))),RemoteObject.createImmutable(", "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("name")))))),RemoteObject.createImmutable(" "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("type")))))),RemoteObject.createImmutable("")));Debug.locals.put("l", _l); + }; + } +}Debug.locals.put("i", _i); +; + }; + }else { + BA.debugLineNum = 381;BA.debugLine="Return \"No existe la tabla.\""; +Debug.ShouldStop(268435456); +if (true) return BA.ObjectToString("No existe la tabla."); + }; + BA.debugLineNum = 383;BA.debugLine="c.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 384;BA.debugLine="Return l"; +Debug.ShouldStop(-2147483648); +if (true) return _l; + BA.debugLineNum = 385;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gettablecolumnlistname(RemoteObject __ref,RemoteObject _db,RemoteObject _table) throws Exception{ +try { + Debug.PushSubsStack("getTableColumnListName (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,345); +if (RapidSub.canDelegate("gettablecolumnlistname")) { return __ref.runUserSub(false, "c_principal","gettablecolumnlistname", __ref, _db, _table);} +RemoteObject _l = RemoteObject.createImmutable(""); +int _i = 0; +Debug.locals.put("db", _db); +Debug.locals.put("table", _table); + BA.debugLineNum = 345;BA.debugLine="Sub getTableColumnListName(db As SQL, table As Str"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 346;BA.debugLine="Private l As String = \"\""; +Debug.ShouldStop(33554432); +_l = BA.ObjectToString("");Debug.locals.put("l", _l);Debug.locals.put("l", _l); + BA.debugLineNum = 347;BA.debugLine="If chkIfTableExists(db, table) Then"; +Debug.ShouldStop(67108864); +if (__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_chkiftableexists" /*RemoteObject*/ ,(Object)(_db),(Object)(_table)).get().booleanValue()) { + BA.debugLineNum = 348;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"p"; +Debug.ShouldStop(134217728); +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.concat(RemoteObject.createImmutable("pragma table_info("),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_table))),RemoteObject.createImmutable(")"))))));__ref.setField("_c",c_principal._c); + BA.debugLineNum = 349;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 = 350;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(536870912); +{ +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 = 351;BA.debugLine="c.Position = i"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 352;BA.debugLine="If l.Length = 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_l.runMethod(true,"length"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 353;BA.debugLine="l = $\"${c.GetString(\"name\")}\"$"; +Debug.ShouldStop(1); +_l = (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("name")))))),RemoteObject.createImmutable("")));Debug.locals.put("l", _l); + }else { + BA.debugLineNum = 355;BA.debugLine="l = $\"${l}, ${c.GetString(\"name\")}\"$"; +Debug.ShouldStop(4); +_l = (RemoteObject.concat(RemoteObject.createImmutable(""),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_l))),RemoteObject.createImmutable(", "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("name")))))),RemoteObject.createImmutable("")));Debug.locals.put("l", _l); + }; + } +}Debug.locals.put("i", _i); +; + }; + }else { + BA.debugLineNum = 360;BA.debugLine="Return \"No existe la tabla.\""; +Debug.ShouldStop(128); +if (true) return BA.ObjectToString("No existe la tabla."); + }; + BA.debugLineNum = 362;BA.debugLine="c.Close"; +Debug.ShouldStop(512); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 363;BA.debugLine="Return l"; +Debug.ShouldStop(1024); +if (true) return _l; + BA.debugLineNum = 364;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gps_locationchanged(RemoteObject __ref,RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3084); +if (RapidSub.canDelegate("gps_locationchanged")) { return __ref.runUserSub(false, "c_principal","gps_locationchanged", __ref, _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 3084;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 3086;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _hacer_ped_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("hacer_ped_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3058); +if (RapidSub.canDelegate("hacer_ped_click")) { return __ref.runUserSub(false, "c_principal","hacer_ped_click", __ref);} + BA.debugLineNum = 3058;BA.debugLine="Sub hacer_ped_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 3059;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Clientes"))); + BA.debugLineNum = 3060;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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,249); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_principal","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 249;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 250;BA.debugLine="Return Me"; +Debug.ShouldStop(33554432); +if (true) return __ref; + BA.debugLineNum = 251;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _inv_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("inv_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2647); +if (RapidSub.canDelegate("inv_click")) { return __ref.runUserSub(false, "c_principal","inv_click", __ref);} + BA.debugLineNum = 2647;BA.debugLine="Sub inv_Click"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 2648;BA.debugLine="img2.Visible =True"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2649;BA.debugLine="EJECUTANDO = 1"; +Debug.ShouldStop(16777216); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 2650;BA.debugLine="inve = 1"; +Debug.ShouldStop(33554432); +__ref.setField ("_inve" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 2651;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(67108864); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod"))); + BA.debugLineNum = 2652;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(134217728); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from cat_gunaprod2"))); + BA.debugLineNum = 2653;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(268435456); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_DETALLES_PAQ"))); + BA.debugLineNum = 2654;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 2655;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2656;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_usuario" /*RemoteObject*/ ,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")))); + BA.debugLineNum = 2657;BA.debugLine="c.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2658;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2659;BA.debugLine="cmd.Name = \"select_cat_gunaprod_SHARK2\""; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_gunaprod_SHARK2")); + BA.debugLineNum = 2660;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(8); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 2661;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprod")))); + BA.debugLineNum = 2662;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2663;BA.debugLine="cmd.Name = \"select_cat_paquetes_SHARK2\""; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_paquetes_SHARK2")); + BA.debugLineNum = 2664;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(128); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 2665;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprodp\")"; +Debug.ShouldStop(256); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("gunaprodp")))); + BA.debugLineNum = 2667;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2668;BA.debugLine="cmd.Name = \"select_cat_detallepa_SHARK2\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cat_detallepa_SHARK2")); + BA.debugLineNum = 2669;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ ))})); + BA.debugLineNum = 2670;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"detallepaq\")"; +Debug.ShouldStop(8192); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("detallepaq")))); + BA.debugLineNum = 2672;BA.debugLine="cargar.Visible = False"; +Debug.ShouldStop(32768); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2673;BA.debugLine="Subir.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2674;BA.debugLine="connecta.Visible = True"; +Debug.ShouldStop(131072); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2675;BA.debugLine="inv.Visible = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2676;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; +Debug.ShouldStop(524288); +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 = 2677;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _iv_abordo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("iv_abordo_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3273); +if (RapidSub.canDelegate("iv_abordo_click")) { return __ref.runUserSub(false, "c_principal","iv_abordo_click", __ref);} + BA.debugLineNum = 3273;BA.debugLine="Private Sub iv_abordo_Click"; +Debug.ShouldStop(256); + BA.debugLineNum = 3274;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +Debug.ShouldStop(512); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 3275;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; +Debug.ShouldStop(1024); +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("0"))}))))); + BA.debugLineNum = 3276;BA.debugLine="B4XPages.MainPage.tipo_venta = \"ABORDO\""; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_tipo_venta" /*RemoteObject*/ ,BA.ObjectToString("ABORDO")); + BA.debugLineNum = 3277;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Productos"))); + BA.debugLineNum = 3278;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _jobdone(RemoteObject __ref,RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("JobDone (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,1414); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_principal","jobdone", __ref, _job);} +RemoteObject _result = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbresult"); +RemoteObject _records = null; +RemoteObject _k = RemoteObject.createImmutable(""); +RemoteObject _n = RemoteObject.createImmutable(""); +RemoteObject _giro = RemoteObject.createImmutable(""); +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_mtocompra = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_num_seriefisico = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_bcredito = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_limitecredito = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_giro = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_tipocliente = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_bcoordenadas = RemoteObject.createImmutable(""); +RemoteObject _resultado = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbresult"); +RemoteObject _piezasexiste = RemoteObject.createImmutable(0); +RemoteObject _pcnoarts = RemoteObject.createImmutable(""); +RemoteObject _pcmonto = RemoteObject.createImmutable(""); +RemoteObject _cat_cl_dias_visita = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_objmes = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_venta = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_tendencia = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_alcance = RemoteObject.createImmutable(""); +RemoteObject _hisr_ra_draobj = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_dravta = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_dsobj = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_dsvta = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_vpoobj = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_vpovta = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_ctes = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_cobccc = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_eco = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_visitplan = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_visireal = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_cobvisit = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_freccompobj = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_freccomreal = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_ventames1 = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_ventames2 = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_ventames3 = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_ventames4 = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_rechazo = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_rechazoporcen = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana1 = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana1_dias = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana1_dra = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana2 = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana2_dias = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana2_dra = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana3 = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana3_dias = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana3_dra = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana4 = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana4_dias = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana4_dra = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana5 = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana5_dias = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana5_dra = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana1_lpt = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana2_lpt = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana3_lpt = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana4_lpt = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_semana5_lpt = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_ruta = RemoteObject.createImmutable(""); +RemoteObject _hist_ra_idalmacen = RemoteObject.createImmutable(""); +RemoteObject _hp_cliente = RemoteObject.createImmutable(""); +RemoteObject _hp_codigo_promocion = RemoteObject.createImmutable(""); +RemoteObject _hccp_cliente = RemoteObject.createImmutable(""); +RemoteObject _hccp_promo = RemoteObject.createImmutable(""); +RemoteObject _hccp_cant = RemoteObject.createImmutable(""); +RemoteObject _cat_al_geocerca = RemoteObject.createImmutable(""); +RemoteObject _cat_al_latitud = RemoteObject.createImmutable(""); +RemoteObject _cat_al_longitud = RemoteObject.createImmutable(""); +RemoteObject _hmc_marca = RemoteObject.createImmutable(""); +RemoteObject _hmc_total = RemoteObject.createImmutable(""); +RemoteObject _cat_pa_id = RemoteObject.createImmutable(""); +RemoteObject _cat_pa_maxprom = RemoteObject.createImmutable(""); +RemoteObject _cat_pa_maxpromrec = RemoteObject.createImmutable(""); +RemoteObject _cat_pa_maxpromclie = RemoteObject.createImmutable(""); +RemoteObject _cat_ve_idprod = RemoteObject.createImmutable(""); +RemoteObject _cat_ve_nombre = RemoteObject.createImmutable(""); +RemoteObject _cat_ve_orden = RemoteObject.createImmutable(""); +RemoteObject _hvd_marca = RemoteObject.createImmutable(""); +RemoteObject _clientes = RemoteObject.createImmutable(""); +RemoteObject _hc_ruta = RemoteObject.createImmutable(""); +RemoteObject _hc_cuota1 = RemoteObject.createImmutable(""); +RemoteObject _hc_cuota2 = RemoteObject.createImmutable(""); +RemoteObject _hc_cuota3 = RemoteObject.createImmutable(""); +RemoteObject _hc_cuota4 = RemoteObject.createImmutable(""); +RemoteObject _hc_cuota5 = RemoteObject.createImmutable(""); +RemoteObject _hc_cuota6 = RemoteObject.createImmutable(""); +RemoteObject _hc_meta1 = RemoteObject.createImmutable(""); +RemoteObject _hc_meta2 = RemoteObject.createImmutable(""); +RemoteObject _hc_meta3 = RemoteObject.createImmutable(""); +RemoteObject _hc_meta4 = RemoteObject.createImmutable(""); +RemoteObject _hc_meta5 = RemoteObject.createImmutable(""); +RemoteObject _hc_meta6 = 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_clasif = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_sts = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_tipo = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_subtipo = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_img = null; +RemoteObject _cat_gp_almacen = RemoteObject.createImmutable(0); +RemoteObject _cat_gp_dev = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_tipoprod = RemoteObject.createImmutable(0); +RemoteObject _cat_gp_iniciativa = RemoteObject.createImmutable(0); +RemoteObject _cat_gp_tipoprod2 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_precio1 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_precio2 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_precio3 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_precio4 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_precio5 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_precio6 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_precio7 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_precio8 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_precio9 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_precio10 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_precio11 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_presentacion1 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_presentacion2 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_presentacion3 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_presentacion4 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_presentacion5 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_presentacion6 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_presentacion7 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_presentacion8 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_presentacion9 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_presentacion10 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_presentacion11 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_umv1 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_umv2 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_umv3 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_umv4 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_umv5 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_umv6 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_umv7 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_umv8 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_umv9 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_umv10 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_umv11 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_dirigida1 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_dirigida2 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_dirigida3 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_dirigida4 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_dirigida5 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_dirigida6 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_dirigida7 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_dirigida8 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_dirigida9 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_dirigida10 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_dirigida11 = RemoteObject.createImmutable(""); +RemoteObject _cat_gp_precio = RemoteObject.createImmutable(""); +RemoteObject _cat_dp_precio4 = RemoteObject.createImmutable(0f); +RemoteObject _cat_dp_conversion1 = RemoteObject.createImmutable(0); +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_cliente = RemoteObject.createImmutable(""); +RemoteObject _hvd_pronombre = RemoteObject.createImmutable(""); +RemoteObject _hvd_cant = RemoteObject.createImmutable(""); +RemoteObject _hvd_costo_tot = RemoteObject.createImmutable(""); +RemoteObject _cat_va_descripcion = RemoteObject.createImmutable(""); +RemoteObject _cat_va_valor = RemoteObject.createImmutable(""); +RemoteObject _cuantosp = RemoteObject.createImmutable(0); +RemoteObject _cuantosc = RemoteObject.createImmutable(0); +RemoteObject _cuantosn = RemoteObject.createImmutable(0); +RemoteObject _cat_ve_version = RemoteObject.createImmutable(""); +RemoteObject _valido = RemoteObject.createImmutable(""); +RemoteObject _name2 = RemoteObject.createImmutable(""); +RemoteObject _fecha_hoy = RemoteObject.createImmutable(""); +RemoteObject _idcliente = RemoteObject.createImmutable(""); +RemoteObject _telefono = RemoteObject.createImmutable(""); +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _nombre_user = RemoteObject.createImmutable(""); +Debug.locals.put("Job", _job); + BA.debugLineNum = 1414;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(32); + BA.debugLineNum = 1415;BA.debugLine="Log(\"JOBDONE PRINCIPAL\")"; +Debug.ShouldStop(64); +c_principal.__c.runVoidMethod ("LogImpl","514024705",RemoteObject.createImmutable("JOBDONE PRINCIPAL"),0); + BA.debugLineNum = 1416;BA.debugLine="If reqManager.reqsList.IsInitialized Then 'Si ten"; +Debug.ShouldStop(128); +if (__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 1417;BA.debugLine="If reqManager.reqsList.IndexOf(Job.tag) <> -1 Th"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_job.getField(false,"_tag" /*RemoteObject*/ ))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 1418;BA.debugLine="reqManager.reqsList.RemoveAt(reqManager.reqsLis"; +Debug.ShouldStop(512); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_job.getField(false,"_tag" /*RemoteObject*/ ))))); + BA.debugLineNum = 1419;BA.debugLine="LogColor($\">>>>>> Quitamos ${Job.tag}\"$, Colors"; +Debug.ShouldStop(1024); +c_principal.__c.runVoidMethod ("LogImpl","514024709",(RemoteObject.concat(RemoteObject.createImmutable(">>>>>> Quitamos "),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_job.getField(false,"_tag" /*RemoteObject*/ ))),RemoteObject.createImmutable(""))),c_principal.__c.getField(false,"Colors").getField(true,"Blue")); + }; + BA.debugLineNum = 1421;BA.debugLine="LogColor(\">>>>>> \" & reqManager.reqsList.Size &"; +Debug.ShouldStop(4096); +c_principal.__c.runVoidMethod ("LogImpl","514024711",RemoteObject.concat(RemoteObject.createImmutable(">>>>>> "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(" - "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).getField(false,"_reqslist" /*RemoteObject*/ )),c_principal.__c.getField(false,"Colors").getField(true,"Blue")); + }; + BA.debugLineNum = 1423;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_principal.__c.getField(true,"False"))) { + BA.debugLineNum = 1424;BA.debugLine="Log(\"ERROR\")"; +Debug.ShouldStop(32768); +c_principal.__c.runVoidMethod ("LogImpl","514024714",RemoteObject.createImmutable("ERROR"),0); + BA.debugLineNum = 1425;BA.debugLine="LogColor(\"Error: \" & reqManager.HandleJob(Job).t"; +Debug.ShouldStop(65536); +c_principal.__c.runVoidMethod ("LogImpl","514024715",RemoteObject.concat(RemoteObject.createImmutable("Error: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(" : "),_job.getField(true,"_errormessage" /*RemoteObject*/ )),c_principal.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1426;BA.debugLine="Log(\"ex\")"; +Debug.ShouldStop(131072); +c_principal.__c.runVoidMethod ("LogImpl","514024716",RemoteObject.createImmutable("ex"),0); + BA.debugLineNum = 1427;BA.debugLine="Log(2)"; +Debug.ShouldStop(262144); +c_principal.__c.runVoidMethod ("LogImpl","514024717",BA.NumberToString(2),0); + }else { + BA.debugLineNum = 1430;BA.debugLine="Log(3)"; +Debug.ShouldStop(2097152); +c_principal.__c.runVoidMethod ("LogImpl","514024720",BA.NumberToString(3),0); + BA.debugLineNum = 1431;BA.debugLine="Log(ALMACEN)"; +Debug.ShouldStop(4194304); +c_principal.__c.runVoidMethod ("LogImpl","514024721",__ref.getField(true,"_almacen" /*RemoteObject*/ ),0); + BA.debugLineNum = 1432;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +Debug.ShouldStop(8388608); +c_principal.__c.runVoidMethod ("LogImpl","514024722",RemoteObject.concat(RemoteObject.createImmutable("JobDone: '"),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable("' - Registros: "),__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job)).getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),c_principal.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 160)),(Object)(BA.numberCast(int.class, 0)))); + BA.debugLineNum = 1434;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1435;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(67108864); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1436;BA.debugLine="If RESULT.Tag = \"update_gps\" Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("update_gps")))) { + BA.debugLineNum = 1437;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(268435456); +{ +final RemoteObject group21 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen21 = group21.runMethod(true,"getSize").get() +;int index21 = 0; +; +for (; index21 < groupLen21;index21++){ +_records = (group21.runMethod(false,"Get",index21));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1438;BA.debugLine="Log(\"==========================REGISTROS=\"&RE"; +Debug.ShouldStop(536870912); +c_principal.__c.runVoidMethod ("LogImpl","514024728",RemoteObject.concat(RemoteObject.createImmutable("==========================REGISTROS="),_result.getField(false,"Rows" /*RemoteObject*/ )),0); + BA.debugLineNum = 1439;BA.debugLine="For Each k As String In RESULT.Columns.Keys"; +Debug.ShouldStop(1073741824); +{ +final RemoteObject group23 = _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen23 = group23.runMethod(true,"getSize").get() +;int index23 = 0; +; +for (; index23 < groupLen23;index23++){ +_k = BA.ObjectToString(group23.runMethod(false,"Get",index23));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 1440;BA.debugLine="Log(RESULT.Tag & \": \" & k & \": \" & records(R"; +Debug.ShouldStop(-2147483648); +c_principal.__c.runVoidMethod ("LogImpl","514024730",RemoteObject.concat(_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(": "),_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 = 1444;BA.debugLine="If RESULT.Tag = \"ins_pedidos\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ins_pedidos")))) { + BA.debugLineNum = 1445;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(16); +{ +final RemoteObject group29 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen29 = group29.runMethod(true,"getSize").get() +;int index29 = 0; +; +for (; index29 < groupLen29;index29++){ +_records = (group29.runMethod(false,"Get",index29));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1446;BA.debugLine="Log(\"==========================REGISTROS=\"&RE"; +Debug.ShouldStop(32); +c_principal.__c.runVoidMethod ("LogImpl","514024736",RemoteObject.concat(RemoteObject.createImmutable("==========================REGISTROS="),_result.getField(false,"Rows" /*RemoteObject*/ )),0); + BA.debugLineNum = 1447;BA.debugLine="For Each k As String In RESULT.Columns.Keys"; +Debug.ShouldStop(64); +{ +final RemoteObject group31 = _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen31 = group31.runMethod(true,"getSize").get() +;int index31 = 0; +; +for (; index31 < groupLen31;index31++){ +_k = BA.ObjectToString(group31.runMethod(false,"Get",index31));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 1448;BA.debugLine="Log(RESULT.Tag & \": \" & k & \": \" & records(R"; +Debug.ShouldStop(128); +c_principal.__c.runVoidMethod ("LogImpl","514024738",RemoteObject.concat(_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(": "),_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 = 1452;BA.debugLine="If RESULT.Tag = \"usuarioA\" Then 'query tag"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuarioA")))) { + BA.debugLineNum = 1453;BA.debugLine="Private n As String = \"Sin Usuario\""; +Debug.ShouldStop(4096); +_n = BA.ObjectToString("Sin Usuario");Debug.locals.put("n", _n);Debug.locals.put("n", _n); + BA.debugLineNum = 1454;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(8192); +{ +final RemoteObject group38 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen38 = group38.runMethod(true,"getSize").get() +;int index38 = 0; +; +for (; index38 < groupLen38;index38++){ +_records = (group38.runMethod(false,"Get",index38));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1455;BA.debugLine="n = records(RESULT.Columns.Get(\"USUARIO\"))"; +Debug.ShouldStop(16384); +_n = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("USUARIO")))))));Debug.locals.put("n", _n); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1457;BA.debugLine="LogColor(\"**************************\"&n, Color"; +Debug.ShouldStop(65536); +c_principal.__c.runVoidMethod ("LogImpl","514024747",RemoteObject.concat(RemoteObject.createImmutable("**************************"),_n),c_principal.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 1458;BA.debugLine="If n = \"OKActivo\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_n,BA.ObjectToString("OKActivo"))) { + BA.debugLineNum = 1459;BA.debugLine="Log(\"Usuario guardado en BD es 'Valido'\")"; +Debug.ShouldStop(262144); +c_principal.__c.runVoidMethod ("LogImpl","514024749",RemoteObject.createImmutable("Usuario guardado en BD es 'Valido'"),0); + }else +{ BA.debugLineNum = 1460;BA.debugLine="Else If n = \"OKExpirado\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_n,BA.ObjectToString("OKExpirado"))) { + BA.debugLineNum = 1461;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra"; +Debug.ShouldStop(1048576); +c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + BA.debugLineNum = 1462;BA.debugLine="B4XPages.ShowPage(\"B4XMainPage\")"; +Debug.ShouldStop(2097152); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("B4XMainPage"))); + }else +{ BA.debugLineNum = 1463;BA.debugLine="Else If n = \"OKCancelado\" Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_n,BA.ObjectToString("OKCancelado"))) { + BA.debugLineNum = 1464;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administr"; +Debug.ShouldStop(8388608); +c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + BA.debugLineNum = 1465;BA.debugLine="B4XPages.ShowPage(\"B4XMainPage\")"; +Debug.ShouldStop(16777216); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("B4XMainPage"))); + }else { + BA.debugLineNum = 1467;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethodAndSync ("Msgbox",(Object)(BA.ObjectToCharSequence("Usuario o password No validos")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(""))),__ref.getField(false, "ba")); + BA.debugLineNum = 1468;BA.debugLine="B4XPages.ShowPage(\"B4XMainPage\")"; +Debug.ShouldStop(134217728); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("B4XMainPage"))); + }}} +; + BA.debugLineNum = 1470;BA.debugLine="Log(\"***************** \"&n)"; +Debug.ShouldStop(536870912); +c_principal.__c.runVoidMethod ("LogImpl","514024760",RemoteObject.concat(RemoteObject.createImmutable("***************** "),_n),0); + }; + }; + BA.debugLineNum = 1474;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1475;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(4); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1476;BA.debugLine="If RESULT.Tag = \"giro\" Then 'query tag"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("giro")))) { + BA.debugLineNum = 1477;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(16); +{ +final RemoteObject group60 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen60 = group60.runMethod(true,"getSize").get() +;int index60 = 0; +; +for (; index60 < groupLen60;index60++){ +_records = (group60.runMethod(false,"Get",index60));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1478;BA.debugLine="Dim giro As String = records(RESULT.Columns."; +Debug.ShouldStop(32); +_giro = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GR_DESC")))))));Debug.locals.put("giro", _giro);Debug.locals.put("giro", _giro); + BA.debugLineNum = 1480;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; +Debug.ShouldStop(128); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GIRO(GIRO) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_giro)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1482;BA.debugLine="If PB2.Progress = 0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1483;BA.debugLine="PB2.Progress = 30"; +Debug.ShouldStop(1024); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 1484;BA.debugLine="S_CP.Text = \"CARGANDO\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 1485;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 1486;BA.debugLine="PB2.Progress = 60"; +Debug.ShouldStop(8192); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 1487;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 1488;BA.debugLine="PB2.Progress = 100"; +Debug.ShouldStop(32768); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 1489;BA.debugLine="S_CP.Text = \"LISTO\""; +Debug.ShouldStop(65536); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + BA.debugLineNum = 1491;BA.debugLine="Listo3 =1"; +Debug.ShouldStop(262144); +__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1492;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo1" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo2" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 1493;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 1494;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1495;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(4194304); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }else +{ BA.debugLineNum = 1496;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1"; +Debug.ShouldStop(8388608); +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 = 1497;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 1498;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1499;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(67108864); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }} +; + }; + }; + BA.debugLineNum = 1505;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1506;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(2); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1507;BA.debugLine="If RESULT.Tag = \"kmt_datos\" Then 'query tag"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("kmt_datos")))) { + BA.debugLineNum = 1508;BA.debugLine="S_CC.TEXT = \"CARGANDO\""; +Debug.ShouldStop(8); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + BA.debugLineNum = 1509;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(16); +{ +final RemoteObject group89 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen89 = group89.runMethod(true,"getSize").get() +;int index89 = 0; +; +for (; index89 < groupLen89;index89++){ +_records = (group89.runMethod(false,"Get",index89));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1510;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT."; +Debug.ShouldStop(32); +_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 = 1511;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co"; +Debug.ShouldStop(64); +_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 = 1512;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(128); +_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 = 1513;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL"; +Debug.ShouldStop(256); +_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 = 1514;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL"; +Debug.ShouldStop(512); +_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 = 1515;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL"; +Debug.ShouldStop(1024); +_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 = 1516;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C"; +Debug.ShouldStop(2048); +_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 = 1517;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C"; +Debug.ShouldStop(4096); +_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 = 1518;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C"; +Debug.ShouldStop(8192); +_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 = 1519;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C"; +Debug.ShouldStop(16384); +_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 = 1520;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT."; +Debug.ShouldStop(32768); +_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 = 1521;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT."; +Debug.ShouldStop(65536); +_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 = 1522;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT"; +Debug.ShouldStop(131072); +_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 = 1523;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co"; +Debug.ShouldStop(262144); +_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 = 1524;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col"; +Debug.ShouldStop(524288); +_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 = 1525;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu"; +Debug.ShouldStop(1048576); +_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 = 1526;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co"; +Debug.ShouldStop(2097152); +_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 = 1527;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col"; +Debug.ShouldStop(4194304); +_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 = 1528;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; +Debug.ShouldStop(8388608); +_cat_cl_mtocompra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_MTOCOMPRA")))))));Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra);Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra); + BA.debugLineNum = 1529;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; +Debug.ShouldStop(16777216); +_cat_cl_num_seriefisico = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO")))))));Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico);Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico); + BA.debugLineNum = 1530;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL"; +Debug.ShouldStop(33554432); +_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 = 1531;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records("; +Debug.ShouldStop(67108864); +_cat_cl_limitecredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LIMITECREDITO")))))));Debug.locals.put("CAT_CL_LIMITECREDITO", _cat_cl_limitecredito);Debug.locals.put("CAT_CL_LIMITECREDITO", _cat_cl_limitecredito); + BA.debugLineNum = 1532;BA.debugLine="Dim CAT_CL_GIRO As String = records(RESULT.Co"; +Debug.ShouldStop(134217728); +_cat_cl_giro = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_GIRO")))))));Debug.locals.put("CAT_CL_GIRO", _cat_cl_giro);Debug.locals.put("CAT_CL_GIRO", _cat_cl_giro); + BA.debugLineNum = 1534;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE"; +Debug.ShouldStop(536870912); +_cat_cl_tipocliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE")))))));Debug.locals.put("CAT_CL_TIPOCLIENTE", _cat_cl_tipocliente);Debug.locals.put("CAT_CL_TIPOCLIENTE", _cat_cl_tipocliente); + BA.debugLineNum = 1536;BA.debugLine="Dim CAT_CL_BCOORDENADAS As String = 0"; +Debug.ShouldStop(-2147483648); +_cat_cl_bcoordenadas = BA.NumberToString(0);Debug.locals.put("CAT_CL_BCOORDENADAS", _cat_cl_bcoordenadas);Debug.locals.put("CAT_CL_BCOORDENADAS", _cat_cl_bcoordenadas); + BA.debugLineNum = 1537;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO 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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO, gestion,CAT_CL_BCOORDENADAS, CAT_CL_GIRO,CAT_CL_TIPOCLIENTE) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?,0,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {25},new Object[] {(_cat_cl_codigo),(_cat_cl_ruta),(_cat_cl_nombre),(_cat_cl_atiende1),(_cat_cl_atiente2),(_cat_cl_telefono),(_cat_cl_email),(_cat_cl_calle),(_cat_cl_noext),(_cat_cl_noint),(_cat_cl_calle1),(_cat_cl_calle2),(_cat_cl_colonia),(_cat_cl_muni),(_cat_cl_edo),(_cat_cl_cp),(_cat_cl_long),(_cat_cl_lat),(_cat_cl_mtocompra),(_cat_cl_num_seriefisico),(_cat_cl_bcredito),(_cat_cl_limitecredito),(_cat_cl_bcoordenadas),(_cat_cl_giro),(_cat_cl_tipocliente)}))))); + BA.debugLineNum = 1538;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(2); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_cl_codigo)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1540;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; +Debug.ShouldStop(8); +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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0) ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {18},new Object[] {RemoteObject.createImmutable(("0")),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(("VENTA ABORDO")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("NULL")),RemoteObject.createImmutable(("null")),(RemoteObject.createImmutable("NULL"))}))))); + BA.debugLineNum = 1541;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; +Debug.ShouldStop(16); +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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0) ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {18},new Object[] {RemoteObject.createImmutable(("1")),(__ref.getField(false,"_e_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(("VENTA RECARGA")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("null")),RemoteObject.createImmutable(("NULL")),RemoteObject.createImmutable(("null")),(RemoteObject.createImmutable("NULL"))}))))); + BA.debugLineNum = 1542;BA.debugLine="Listo1 = 1"; +Debug.ShouldStop(32); +__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1543;BA.debugLine="S_CC.Text = \"LISTO\""; +Debug.ShouldStop(64); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + BA.debugLineNum = 1544;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Catalogo Clientes Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));}; + BA.debugLineNum = 1545;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(256); +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 = 1546;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(512); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 1547;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1548;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(2048); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + }; + }; + BA.debugLineNum = 1553;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1554;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +Debug.ShouldStop(131072); +_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 1555;BA.debugLine="If resultado.Tag = \"piezas\" Then 'query tag"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_resultado.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("piezas")))) { + BA.debugLineNum = 1557;BA.debugLine="Dim piezasexiste As Int"; +Debug.ShouldStop(1048576); +_piezasexiste = RemoteObject.createImmutable(0);Debug.locals.put("piezasexiste", _piezasexiste); + BA.debugLineNum = 1559;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(4194304); +{ +final RemoteObject group134 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen134 = group134.runMethod(true,"getSize").get() +;int index134 = 0; +; +for (; index134 < groupLen134;index134++){ +_records = (group134.runMethod(false,"Get",index134));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1561;BA.debugLine="piezasexiste = records(resultado.Columns.Get("; +Debug.ShouldStop(16777216); +_piezasexiste = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("COUNT(*)")))))));Debug.locals.put("piezasexiste", _piezasexiste); + BA.debugLineNum = 1562;BA.debugLine="Log(piezasexiste)"; +Debug.ShouldStop(33554432); +c_principal.__c.runVoidMethod ("LogImpl","514024852",BA.NumberToString(_piezasexiste),0); + BA.debugLineNum = 1563;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(67108864); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1564;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(134217728); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 1565;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(268435456); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1566;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(536870912); +__ref.setField ("_stime" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1568;BA.debugLine="If piezasexiste = 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_piezasexiste,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1570;BA.debugLine="Dim PCNoArts As String"; +Debug.ShouldStop(2); +_pcnoarts = RemoteObject.createImmutable("");Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 1571;BA.debugLine="Dim PCMonto As String"; +Debug.ShouldStop(4); +_pcmonto = RemoteObject.createImmutable("");Debug.locals.put("PCMonto", _pcmonto); + BA.debugLineNum = 1572;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"SELEC"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ? AND PC_CLIENTE <> 1")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_userpiezas" /*RemoteObject*/ )})))); + BA.debugLineNum = 1574;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 = 1575;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1576;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(128); +_pcnoarts = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")));Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 1577;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(256); +_pcmonto = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")));Debug.locals.put("PCMonto", _pcmonto); + }; + BA.debugLineNum = 1580;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(2048); +c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1581;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4096); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1582;BA.debugLine="cmd.Name = \"insert_HVC_SHARK2\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_HVC_SHARK2")); + BA.debugLineNum = 1583;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {6},new Object[] {((RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),__ref.getField(true,"_stime" /*RemoteObject*/ )))),(__ref.getField(true,"_userpiezas" /*RemoteObject*/ )),(_pcnoarts),(_pcmonto),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 1584;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insert_hvc\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("insert_hvc")))); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1596;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1597;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(268435456); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1598;BA.debugLine="If RESULT.Tag = \"kmt_datos_todos\" Then 'query t"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("kmt_datos_todos")))) { + BA.debugLineNum = 1599;BA.debugLine="S_CC.TEXT = \"CARGANDO\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + BA.debugLineNum = 1600;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(-2147483648); +{ +final RemoteObject group163 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen163 = group163.runMethod(true,"getSize").get() +;int index163 = 0; +; +for (; index163 < groupLen163;index163++){ +_records = (group163.runMethod(false,"Get",index163));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1601;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT."; +Debug.ShouldStop(1); +_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 = 1602;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co"; +Debug.ShouldStop(2); +_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 = 1603;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(4); +_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 = 1604;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL"; +Debug.ShouldStop(8); +_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 = 1605;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL"; +Debug.ShouldStop(16); +_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 = 1606;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL"; +Debug.ShouldStop(32); +_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 = 1607;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C"; +Debug.ShouldStop(64); +_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 = 1608;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C"; +Debug.ShouldStop(128); +_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 = 1609;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C"; +Debug.ShouldStop(256); +_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 = 1610;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C"; +Debug.ShouldStop(512); +_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 = 1611;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT."; +Debug.ShouldStop(1024); +_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 = 1612;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT."; +Debug.ShouldStop(2048); +_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 = 1613;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT"; +Debug.ShouldStop(4096); +_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 = 1614;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co"; +Debug.ShouldStop(8192); +_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 = 1615;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col"; +Debug.ShouldStop(16384); +_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 = 1616;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu"; +Debug.ShouldStop(32768); +_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 = 1617;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co"; +Debug.ShouldStop(65536); +_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 = 1618;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col"; +Debug.ShouldStop(131072); +_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 = 1619;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; +Debug.ShouldStop(262144); +_cat_cl_mtocompra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_MTOCOMPRA")))))));Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra);Debug.locals.put("CAT_CL_MTOCOMPRA", _cat_cl_mtocompra); + BA.debugLineNum = 1620;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; +Debug.ShouldStop(524288); +_cat_cl_num_seriefisico = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_NUM_SERIEFISICO")))))));Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico);Debug.locals.put("CAT_CL_NUM_SERIEFISICO", _cat_cl_num_seriefisico); + BA.debugLineNum = 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 = 1622;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records("; +Debug.ShouldStop(2097152); +_cat_cl_limitecredito = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_LIMITECREDITO")))))));Debug.locals.put("CAT_CL_LIMITECREDITO", _cat_cl_limitecredito);Debug.locals.put("CAT_CL_LIMITECREDITO", _cat_cl_limitecredito); + BA.debugLineNum = 1623;BA.debugLine="Dim CAT_CL_DIAS_VISITA As String = records(RE"; +Debug.ShouldStop(4194304); +_cat_cl_dias_visita = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_DIAS_VISITA")))))));Debug.locals.put("CAT_CL_DIAS_VISITA", _cat_cl_dias_visita);Debug.locals.put("CAT_CL_DIAS_VISITA", _cat_cl_dias_visita); + BA.debugLineNum = 1624;BA.debugLine="Dim CAT_CL_GIRO As String = records(RESULT.Co"; +Debug.ShouldStop(8388608); +_cat_cl_giro = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_GIRO")))))));Debug.locals.put("CAT_CL_GIRO", _cat_cl_giro);Debug.locals.put("CAT_CL_GIRO", _cat_cl_giro); + BA.debugLineNum = 1625;BA.debugLine="Dim CAT_CL_GIRO As String = records(RESULT.Co"; +Debug.ShouldStop(16777216); +_cat_cl_giro = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_CL_GIRO")))))));Debug.locals.put("CAT_CL_GIRO", _cat_cl_giro);Debug.locals.put("CAT_CL_GIRO", _cat_cl_giro); + BA.debugLineNum = 1626;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(33554432); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO kmt_info2(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_DIAS_VISITA, CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO,CAT_CL_GIRO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0, ?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {24},new Object[] {(_cat_cl_codigo),(_cat_cl_ruta),(_cat_cl_nombre),(_cat_cl_atiende1),(_cat_cl_atiente2),(_cat_cl_telefono),(_cat_cl_email),(_cat_cl_calle),(_cat_cl_noext),(_cat_cl_noint),(_cat_cl_calle1),(_cat_cl_calle2),(_cat_cl_colonia),(_cat_cl_muni),(_cat_cl_edo),(_cat_cl_cp),(_cat_cl_long),(_cat_cl_lat),(_cat_cl_mtocompra),(_cat_cl_num_seriefisico),(_cat_cl_dias_visita),(_cat_cl_bcredito),(_cat_cl_limitecredito),(_cat_cl_giro)}))))); + BA.debugLineNum = 1627;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(67108864); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_cl_codigo)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1629;BA.debugLine="Listo1 = 1"; +Debug.ShouldStop(268435456); +__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1630;BA.debugLine="S_CC.Text = \"LISTO\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + BA.debugLineNum = 1631;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Catalogo Clientes Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));}; + BA.debugLineNum = 1632;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(-2147483648); +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 = 1633;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + 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 = 1640;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1641;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(256); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1642;BA.debugLine="If RESULT.Tag = \"resum_apk\" Then 'query tag"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("resum_apk")))) { + BA.debugLineNum = 1643;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(1024); +{ +final RemoteObject group205 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen205 = group205.runMethod(true,"getSize").get() +;int index205 = 0; +; +for (; index205 < groupLen205;index205++){ +_records = (group205.runMethod(false,"Get",index205));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1644;BA.debugLine="Dim HIST_RA_OBJMES As String = records(RESULT"; +Debug.ShouldStop(2048); +_hist_ra_objmes = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_OBJMES")))))));Debug.locals.put("HIST_RA_OBJMES", _hist_ra_objmes);Debug.locals.put("HIST_RA_OBJMES", _hist_ra_objmes); + BA.debugLineNum = 1645;BA.debugLine="Dim HIST_RA_VENTA As String = records(RESULT."; +Debug.ShouldStop(4096); +_hist_ra_venta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VENTA")))))));Debug.locals.put("HIST_RA_VENTA", _hist_ra_venta);Debug.locals.put("HIST_RA_VENTA", _hist_ra_venta); + BA.debugLineNum = 1646;BA.debugLine="Dim HIST_RA_TENDENCIA As String = records(RES"; +Debug.ShouldStop(8192); +_hist_ra_tendencia = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_TENDENCIA")))))));Debug.locals.put("HIST_RA_TENDENCIA", _hist_ra_tendencia);Debug.locals.put("HIST_RA_TENDENCIA", _hist_ra_tendencia); + BA.debugLineNum = 1647;BA.debugLine="Dim HIST_RA_ALCANCE As String = records(RESUL"; +Debug.ShouldStop(16384); +_hist_ra_alcance = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_ALCANCE")))))));Debug.locals.put("HIST_RA_ALCANCE", _hist_ra_alcance);Debug.locals.put("HIST_RA_ALCANCE", _hist_ra_alcance); + BA.debugLineNum = 1648;BA.debugLine="Dim HISR_RA_DRAOBJ As String = records(RESULT"; +Debug.ShouldStop(32768); +_hisr_ra_draobj = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HISR_RA_DRAOBJ")))))));Debug.locals.put("HISR_RA_DRAOBJ", _hisr_ra_draobj);Debug.locals.put("HISR_RA_DRAOBJ", _hisr_ra_draobj); + BA.debugLineNum = 1649;BA.debugLine="Dim HIST_RA_DRAVTA As String = records(RESULT"; +Debug.ShouldStop(65536); +_hist_ra_dravta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_DRAVTA")))))));Debug.locals.put("HIST_RA_DRAVTA", _hist_ra_dravta);Debug.locals.put("HIST_RA_DRAVTA", _hist_ra_dravta); + BA.debugLineNum = 1650;BA.debugLine="Dim HIST_RA_DSOBJ As String = records(RESULT."; +Debug.ShouldStop(131072); +_hist_ra_dsobj = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_DSOBJ")))))));Debug.locals.put("HIST_RA_DSOBJ", _hist_ra_dsobj);Debug.locals.put("HIST_RA_DSOBJ", _hist_ra_dsobj); + BA.debugLineNum = 1651;BA.debugLine="Dim HIST_RA_DSVTA As String = records(RESULT."; +Debug.ShouldStop(262144); +_hist_ra_dsvta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_DSVTA")))))));Debug.locals.put("HIST_RA_DSVTA", _hist_ra_dsvta);Debug.locals.put("HIST_RA_DSVTA", _hist_ra_dsvta); + BA.debugLineNum = 1652;BA.debugLine="Dim HIST_RA_VPOOBJ As String = records(RESULT"; +Debug.ShouldStop(524288); +_hist_ra_vpoobj = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VPOOBJ")))))));Debug.locals.put("HIST_RA_VPOOBJ", _hist_ra_vpoobj);Debug.locals.put("HIST_RA_VPOOBJ", _hist_ra_vpoobj); + BA.debugLineNum = 1653;BA.debugLine="Dim HIST_RA_VPOVTA As String = records(RESULT"; +Debug.ShouldStop(1048576); +_hist_ra_vpovta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VPOVTA")))))));Debug.locals.put("HIST_RA_VPOVTA", _hist_ra_vpovta);Debug.locals.put("HIST_RA_VPOVTA", _hist_ra_vpovta); + BA.debugLineNum = 1654;BA.debugLine="Dim HIST_RA_CTES As String = records(RESULT.C"; +Debug.ShouldStop(2097152); +_hist_ra_ctes = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_CTES")))))));Debug.locals.put("HIST_RA_CTES", _hist_ra_ctes);Debug.locals.put("HIST_RA_CTES", _hist_ra_ctes); + BA.debugLineNum = 1655;BA.debugLine="Dim HIST_RA_COBCCC As String = records(RESULT"; +Debug.ShouldStop(4194304); +_hist_ra_cobccc = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_COBCCC")))))));Debug.locals.put("HIST_RA_COBCCC", _hist_ra_cobccc);Debug.locals.put("HIST_RA_COBCCC", _hist_ra_cobccc); + BA.debugLineNum = 1656;BA.debugLine="Dim HIST_RA_ECO As String = records(RESULT.Co"; +Debug.ShouldStop(8388608); +_hist_ra_eco = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_ECO")))))));Debug.locals.put("HIST_RA_ECO", _hist_ra_eco);Debug.locals.put("HIST_RA_ECO", _hist_ra_eco); + BA.debugLineNum = 1657;BA.debugLine="Dim HIST_RA_VISITPLAN As String = records(RES"; +Debug.ShouldStop(16777216); +_hist_ra_visitplan = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VISITPLAN")))))));Debug.locals.put("HIST_RA_VISITPLAN", _hist_ra_visitplan);Debug.locals.put("HIST_RA_VISITPLAN", _hist_ra_visitplan); + BA.debugLineNum = 1658;BA.debugLine="Dim HIST_RA_VISIREAL As String = records(RESU"; +Debug.ShouldStop(33554432); +_hist_ra_visireal = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VISIREAL")))))));Debug.locals.put("HIST_RA_VISIREAL", _hist_ra_visireal);Debug.locals.put("HIST_RA_VISIREAL", _hist_ra_visireal); + BA.debugLineNum = 1659;BA.debugLine="Dim HIST_RA_COBVISIT As String = records(RESU"; +Debug.ShouldStop(67108864); +_hist_ra_cobvisit = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_COBVISIT")))))));Debug.locals.put("HIST_RA_COBVISIT", _hist_ra_cobvisit);Debug.locals.put("HIST_RA_COBVISIT", _hist_ra_cobvisit); + BA.debugLineNum = 1660;BA.debugLine="Dim HIST_RA_FRECCOMPOBJ As String = records(R"; +Debug.ShouldStop(134217728); +_hist_ra_freccompobj = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_FRECCOMPOBJ")))))));Debug.locals.put("HIST_RA_FRECCOMPOBJ", _hist_ra_freccompobj);Debug.locals.put("HIST_RA_FRECCOMPOBJ", _hist_ra_freccompobj); + BA.debugLineNum = 1661;BA.debugLine="Dim HIST_RA_FRECCOMREAL As String = records(R"; +Debug.ShouldStop(268435456); +_hist_ra_freccomreal = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_FRECCOMREAL")))))));Debug.locals.put("HIST_RA_FRECCOMREAL", _hist_ra_freccomreal);Debug.locals.put("HIST_RA_FRECCOMREAL", _hist_ra_freccomreal); + BA.debugLineNum = 1662;BA.debugLine="Dim HIST_RA_VENTAMES1 As String = records(RES"; +Debug.ShouldStop(536870912); +_hist_ra_ventames1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VENTAMES1")))))));Debug.locals.put("HIST_RA_VENTAMES1", _hist_ra_ventames1);Debug.locals.put("HIST_RA_VENTAMES1", _hist_ra_ventames1); + BA.debugLineNum = 1663;BA.debugLine="Dim HIST_RA_VENTAMES2 As String = records(RES"; +Debug.ShouldStop(1073741824); +_hist_ra_ventames2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VENTAMES2")))))));Debug.locals.put("HIST_RA_VENTAMES2", _hist_ra_ventames2);Debug.locals.put("HIST_RA_VENTAMES2", _hist_ra_ventames2); + BA.debugLineNum = 1664;BA.debugLine="Dim HIST_RA_VENTAMES3 As String = records(RES"; +Debug.ShouldStop(-2147483648); +_hist_ra_ventames3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VENTAMES3")))))));Debug.locals.put("HIST_RA_VENTAMES3", _hist_ra_ventames3);Debug.locals.put("HIST_RA_VENTAMES3", _hist_ra_ventames3); + BA.debugLineNum = 1665;BA.debugLine="Dim HIST_RA_VENTAMES4 As String = records(RES"; +Debug.ShouldStop(1); +_hist_ra_ventames4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_VENTAMES4")))))));Debug.locals.put("HIST_RA_VENTAMES4", _hist_ra_ventames4);Debug.locals.put("HIST_RA_VENTAMES4", _hist_ra_ventames4); + BA.debugLineNum = 1666;BA.debugLine="Dim HIST_RA_RECHAZO As String = records(RESUL"; +Debug.ShouldStop(2); +_hist_ra_rechazo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_RECHAZO")))))));Debug.locals.put("HIST_RA_RECHAZO", _hist_ra_rechazo);Debug.locals.put("HIST_RA_RECHAZO", _hist_ra_rechazo); + BA.debugLineNum = 1667;BA.debugLine="Dim HIST_RA_RECHAZOPORCEN As String = records"; +Debug.ShouldStop(4); +_hist_ra_rechazoporcen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_RECHAZOPORCEN")))))));Debug.locals.put("HIST_RA_RECHAZOPORCEN", _hist_ra_rechazoporcen);Debug.locals.put("HIST_RA_RECHAZOPORCEN", _hist_ra_rechazoporcen); + BA.debugLineNum = 1668;BA.debugLine="Dim HIST_RA_SEMANA1 As String = records(RESUL"; +Debug.ShouldStop(8); +_hist_ra_semana1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA1")))))));Debug.locals.put("HIST_RA_SEMANA1", _hist_ra_semana1);Debug.locals.put("HIST_RA_SEMANA1", _hist_ra_semana1); + BA.debugLineNum = 1669;BA.debugLine="Dim HIST_RA_SEMANA1_DIAS As String = records("; +Debug.ShouldStop(16); +_hist_ra_semana1_dias = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA1_DIAS")))))));Debug.locals.put("HIST_RA_SEMANA1_DIAS", _hist_ra_semana1_dias);Debug.locals.put("HIST_RA_SEMANA1_DIAS", _hist_ra_semana1_dias); + BA.debugLineNum = 1670;BA.debugLine="Dim HIST_RA_SEMANA1_DRA As String = records(R"; +Debug.ShouldStop(32); +_hist_ra_semana1_dra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA1_DRA")))))));Debug.locals.put("HIST_RA_SEMANA1_DRA", _hist_ra_semana1_dra);Debug.locals.put("HIST_RA_SEMANA1_DRA", _hist_ra_semana1_dra); + BA.debugLineNum = 1671;BA.debugLine="Dim HIST_RA_SEMANA2 As String = records(RESUL"; +Debug.ShouldStop(64); +_hist_ra_semana2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA2")))))));Debug.locals.put("HIST_RA_SEMANA2", _hist_ra_semana2);Debug.locals.put("HIST_RA_SEMANA2", _hist_ra_semana2); + BA.debugLineNum = 1672;BA.debugLine="Dim HIST_RA_SEMANA2_DIAS As String = records("; +Debug.ShouldStop(128); +_hist_ra_semana2_dias = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA2_DIAS")))))));Debug.locals.put("HIST_RA_SEMANA2_DIAS", _hist_ra_semana2_dias);Debug.locals.put("HIST_RA_SEMANA2_DIAS", _hist_ra_semana2_dias); + BA.debugLineNum = 1673;BA.debugLine="Dim HIST_RA_SEMANA2_DRA As String = records(R"; +Debug.ShouldStop(256); +_hist_ra_semana2_dra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA2_DRA")))))));Debug.locals.put("HIST_RA_SEMANA2_DRA", _hist_ra_semana2_dra);Debug.locals.put("HIST_RA_SEMANA2_DRA", _hist_ra_semana2_dra); + BA.debugLineNum = 1674;BA.debugLine="Dim HIST_RA_SEMANA3 As String = records(RESUL"; +Debug.ShouldStop(512); +_hist_ra_semana3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA3")))))));Debug.locals.put("HIST_RA_SEMANA3", _hist_ra_semana3);Debug.locals.put("HIST_RA_SEMANA3", _hist_ra_semana3); + BA.debugLineNum = 1675;BA.debugLine="Dim HIST_RA_SEMANA3_DIAS As String = records("; +Debug.ShouldStop(1024); +_hist_ra_semana3_dias = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA3_DIAS")))))));Debug.locals.put("HIST_RA_SEMANA3_DIAS", _hist_ra_semana3_dias);Debug.locals.put("HIST_RA_SEMANA3_DIAS", _hist_ra_semana3_dias); + BA.debugLineNum = 1676;BA.debugLine="Dim HIST_RA_SEMANA3_DRA As String = records(R"; +Debug.ShouldStop(2048); +_hist_ra_semana3_dra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA3_DRA")))))));Debug.locals.put("HIST_RA_SEMANA3_DRA", _hist_ra_semana3_dra);Debug.locals.put("HIST_RA_SEMANA3_DRA", _hist_ra_semana3_dra); + BA.debugLineNum = 1677;BA.debugLine="Dim HIST_RA_SEMANA4 As String = records(RESUL"; +Debug.ShouldStop(4096); +_hist_ra_semana4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA4")))))));Debug.locals.put("HIST_RA_SEMANA4", _hist_ra_semana4);Debug.locals.put("HIST_RA_SEMANA4", _hist_ra_semana4); + BA.debugLineNum = 1678;BA.debugLine="Dim HIST_RA_SEMANA4_DIAS As String = records("; +Debug.ShouldStop(8192); +_hist_ra_semana4_dias = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA4_DIAS")))))));Debug.locals.put("HIST_RA_SEMANA4_DIAS", _hist_ra_semana4_dias);Debug.locals.put("HIST_RA_SEMANA4_DIAS", _hist_ra_semana4_dias); + BA.debugLineNum = 1679;BA.debugLine="Dim HIST_RA_SEMANA4_DRA As String = records(R"; +Debug.ShouldStop(16384); +_hist_ra_semana4_dra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA4_DRA")))))));Debug.locals.put("HIST_RA_SEMANA4_DRA", _hist_ra_semana4_dra);Debug.locals.put("HIST_RA_SEMANA4_DRA", _hist_ra_semana4_dra); + BA.debugLineNum = 1680;BA.debugLine="Dim HIST_RA_SEMANA5 As String = records(RESUL"; +Debug.ShouldStop(32768); +_hist_ra_semana5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA5")))))));Debug.locals.put("HIST_RA_SEMANA5", _hist_ra_semana5);Debug.locals.put("HIST_RA_SEMANA5", _hist_ra_semana5); + BA.debugLineNum = 1681;BA.debugLine="Dim HIST_RA_SEMANA5_DIAS As String = records("; +Debug.ShouldStop(65536); +_hist_ra_semana5_dias = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA5_DIAS")))))));Debug.locals.put("HIST_RA_SEMANA5_DIAS", _hist_ra_semana5_dias);Debug.locals.put("HIST_RA_SEMANA5_DIAS", _hist_ra_semana5_dias); + BA.debugLineNum = 1682;BA.debugLine="Dim HIST_RA_SEMANA5_DRA As String = records(R"; +Debug.ShouldStop(131072); +_hist_ra_semana5_dra = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA5_DRA")))))));Debug.locals.put("HIST_RA_SEMANA5_DRA", _hist_ra_semana5_dra);Debug.locals.put("HIST_RA_SEMANA5_DRA", _hist_ra_semana5_dra); + BA.debugLineNum = 1683;BA.debugLine="Dim HIST_RA_SEMANA1_LPT As String = records(R"; +Debug.ShouldStop(262144); +_hist_ra_semana1_lpt = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA1_LPT")))))));Debug.locals.put("HIST_RA_SEMANA1_LPT", _hist_ra_semana1_lpt);Debug.locals.put("HIST_RA_SEMANA1_LPT", _hist_ra_semana1_lpt); + BA.debugLineNum = 1684;BA.debugLine="Dim HIST_RA_SEMANA2_LPT As String = records(R"; +Debug.ShouldStop(524288); +_hist_ra_semana2_lpt = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA2_LPT")))))));Debug.locals.put("HIST_RA_SEMANA2_LPT", _hist_ra_semana2_lpt);Debug.locals.put("HIST_RA_SEMANA2_LPT", _hist_ra_semana2_lpt); + BA.debugLineNum = 1685;BA.debugLine="Dim HIST_RA_SEMANA3_LPT As String = records(R"; +Debug.ShouldStop(1048576); +_hist_ra_semana3_lpt = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA3_LPT")))))));Debug.locals.put("HIST_RA_SEMANA3_LPT", _hist_ra_semana3_lpt);Debug.locals.put("HIST_RA_SEMANA3_LPT", _hist_ra_semana3_lpt); + BA.debugLineNum = 1686;BA.debugLine="Dim HIST_RA_SEMANA4_LPT As String = records(R"; +Debug.ShouldStop(2097152); +_hist_ra_semana4_lpt = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA4_LPT")))))));Debug.locals.put("HIST_RA_SEMANA4_LPT", _hist_ra_semana4_lpt);Debug.locals.put("HIST_RA_SEMANA4_LPT", _hist_ra_semana4_lpt); + BA.debugLineNum = 1687;BA.debugLine="Dim HIST_RA_SEMANA5_LPT As String = records(R"; +Debug.ShouldStop(4194304); +_hist_ra_semana5_lpt = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_SEMANA5_LPT")))))));Debug.locals.put("HIST_RA_SEMANA5_LPT", _hist_ra_semana5_lpt);Debug.locals.put("HIST_RA_SEMANA5_LPT", _hist_ra_semana5_lpt); + BA.debugLineNum = 1688;BA.debugLine="Dim HIST_RA_RUTA As String = records(RESULT.C"; +Debug.ShouldStop(8388608); +_hist_ra_ruta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_RUTA")))))));Debug.locals.put("HIST_RA_RUTA", _hist_ra_ruta);Debug.locals.put("HIST_RA_RUTA", _hist_ra_ruta); + BA.debugLineNum = 1689;BA.debugLine="Dim HIST_RA_IDALMACEN As String = records(RES"; +Debug.ShouldStop(16777216); +_hist_ra_idalmacen = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HIST_RA_IDALMACEN")))))));Debug.locals.put("HIST_RA_IDALMACEN", _hist_ra_idalmacen);Debug.locals.put("HIST_RA_IDALMACEN", _hist_ra_idalmacen); + BA.debugLineNum = 1691;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(67108864); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_RESUM_APK(HIST_RA_OBJMES,HIST_RA_VENTA,HIST_RA_TENDENCIA,HIST_RA_ALCANCE,HISR_RA_DRAOBJ,HIST_RA_DRAVTA,HIST_RA_DSOBJ,HIST_RA_DSVTA,HIST_RA_VPOOBJ,HIST_RA_VPOVTA,HIST_RA_CTES,HIST_RA_COBCCC,HIST_RA_ECO,HIST_RA_VISITPLAN,HIST_RA_VISIREAL,HIST_RA_COBVISIT,HIST_RA_FRECCOMPOBJ,HIST_RA_FRECCOMREAL,HIST_RA_VENTAMES1,HIST_RA_VENTAMES2,HIST_RA_VENTAMES3,HIST_RA_VENTAMES4,HIST_RA_RECHAZO,HIST_RA_RECHAZOPORCEN,HIST_RA_SEMANA1,HIST_RA_SEMANA1_DIAS,HIST_RA_SEMANA1_DRA,HIST_RA_SEMANA2,HIST_RA_SEMANA2_DIAS,HIST_RA_SEMANA2_DRA,HIST_RA_SEMANA3,HIST_RA_SEMANA3_DIAS,HIST_RA_SEMANA3_DRA,HIST_RA_SEMANA4,HIST_RA_SEMANA4_DIAS,HIST_RA_SEMANA4_DRA,HIST_RA_SEMANA5,HIST_RA_SEMANA5_DIAS,HIST_RA_SEMANA5_DRA,HIST_RA_SEMANA1_LPT,HIST_RA_SEMANA2_LPT,HIST_RA_SEMANA3_LPT,HIST_RA_SEMANA4_LPT,HIST_RA_SEMANA5_LPT,HIST_RA_RUTA,HIST_RA_IDALMACEN) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {46},new Object[] {(_hist_ra_objmes),(_hist_ra_venta),(_hist_ra_tendencia),(_hist_ra_alcance),(_hisr_ra_draobj),(_hist_ra_dravta),(_hist_ra_dsobj),(_hist_ra_dsvta),(_hist_ra_vpoobj),(_hist_ra_vpovta),(_hist_ra_ctes),(_hist_ra_cobccc),(_hist_ra_eco),(_hist_ra_visitplan),(_hist_ra_visireal),(_hist_ra_cobvisit),(_hist_ra_freccompobj),(_hist_ra_freccomreal),(_hist_ra_ventames1),(_hist_ra_ventames2),(_hist_ra_ventames3),(_hist_ra_ventames4),(_hist_ra_rechazo),(_hist_ra_rechazoporcen),(_hist_ra_semana1),(_hist_ra_semana1_dias),(_hist_ra_semana1_dra),(_hist_ra_semana2),(_hist_ra_semana2_dias),(_hist_ra_semana2_dra),(_hist_ra_semana3),(_hist_ra_semana3_dias),(_hist_ra_semana3_dra),(_hist_ra_semana4),(_hist_ra_semana4_dias),(_hist_ra_semana4_dra),(_hist_ra_semana5),(_hist_ra_semana5_dias),(_hist_ra_semana5_dra),(_hist_ra_semana1_lpt),(_hist_ra_semana2_lpt),(_hist_ra_semana3_lpt),(_hist_ra_semana4_lpt),(_hist_ra_semana5_lpt),(_hist_ra_ruta),(_hist_ra_idalmacen)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1694;BA.debugLine="Listo1 = 1"; +Debug.ShouldStop(536870912); +__ref.setField ("_listo1" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1695;BA.debugLine="S_CC.Text = \"LISTO\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + BA.debugLineNum = 1696;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Catalogo Resumen Actualizado.")),(Object)(c_principal.__c.getField(true,"True")));}; + }; + }; + BA.debugLineNum = 1700;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1701;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(16); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1702;BA.debugLine="If RESULT.Tag = \"hist_promos\" Then 'query tag"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_promos")))) { + BA.debugLineNum = 1703;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(64); +{ +final RemoteObject group262 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen262 = group262.runMethod(true,"getSize").get() +;int index262 = 0; +; +for (; index262 < groupLen262;index262++){ +_records = (group262.runMethod(false,"Get",index262));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1704;BA.debugLine="Dim HP_CLIENTE As String = records(RESULT.Col"; +Debug.ShouldStop(128); +_hp_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HP_CLIENTE")))))));Debug.locals.put("HP_CLIENTE", _hp_cliente);Debug.locals.put("HP_CLIENTE", _hp_cliente); + BA.debugLineNum = 1705;BA.debugLine="Dim HP_CODIGO_PROMOCION As String = records(R"; +Debug.ShouldStop(256); +_hp_codigo_promocion = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HP_CODIGO_PROMOCION")))))));Debug.locals.put("HP_CODIGO_PROMOCION", _hp_codigo_promocion);Debug.locals.put("HP_CODIGO_PROMOCION", _hp_codigo_promocion); + BA.debugLineNum = 1706;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(512); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_PROMOS(HP_CLIENTE, HP_CODIGO_PROMOCION) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_hp_cliente),(_hp_codigo_promocion)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1708;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Historico Promociones Actualizado.")),(Object)(c_principal.__c.getField(true,"True")));}; + BA.debugLineNum = 1709;BA.debugLine="If PB1.Progress = 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1710;BA.debugLine="PB1.Progress = 30"; +Debug.ShouldStop(8192); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 1711;BA.debugLine="S_CH.Text = \"CARGANDO\""; +Debug.ShouldStop(16384); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 1712;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 1713;BA.debugLine="PB1.Progress = 60"; +Debug.ShouldStop(65536); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 1714;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 1715;BA.debugLine="PB1.Progress = 100"; +Debug.ShouldStop(262144); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 1716;BA.debugLine="S_CH.Text = \"LISTO\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + }; + }; + BA.debugLineNum = 1721;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1722;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(33554432); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1723;BA.debugLine="If RESULT.Tag = \"hist_cliente_promos\" Then 'que"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_cliente_promos")))) { + BA.debugLineNum = 1724;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(134217728); +{ +final RemoteObject group282 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen282 = group282.runMethod(true,"getSize").get() +;int index282 = 0; +; +for (; index282 < groupLen282;index282++){ +_records = (group282.runMethod(false,"Get",index282));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1725;BA.debugLine="Dim HCCP_CLIENTE As String = records(RESULT.C"; +Debug.ShouldStop(268435456); +_hccp_cliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCCP_CLIENTE")))))));Debug.locals.put("HCCP_CLIENTE", _hccp_cliente);Debug.locals.put("HCCP_CLIENTE", _hccp_cliente); + BA.debugLineNum = 1726;BA.debugLine="Dim HCCP_PROMO As String = records(RESULT.Col"; +Debug.ShouldStop(536870912); +_hccp_promo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCCP_PROMO")))))));Debug.locals.put("HCCP_PROMO", _hccp_promo);Debug.locals.put("HCCP_PROMO", _hccp_promo); + BA.debugLineNum = 1727;BA.debugLine="Dim HCCP_CANT As String = records(RESULT.Colu"; +Debug.ShouldStop(1073741824); +_hccp_cant = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HCCP_CANT")))))));Debug.locals.put("HCCP_CANT", _hccp_cant);Debug.locals.put("HCCP_CANT", _hccp_cant); + BA.debugLineNum = 1728;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(-2147483648); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_CLIENTE_CANT_PROMOS(HCCP_CLIENTE, HCCP_PROMO, HCCP_CANT) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_hccp_cliente),(_hccp_promo),(_hccp_cant)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1730;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(" Historico Clientes Promociones Actualizado.")),(Object)(c_principal.__c.getField(true,"True")));}; + }; + }; + BA.debugLineNum = 1734;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1735;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(64); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1736;BA.debugLine="If RESULT.Tag = \"GEOCERCA\" Then 'query tag"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("GEOCERCA")))) { + BA.debugLineNum = 1737;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(256); +{ +final RemoteObject group294 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen294 = group294.runMethod(true,"getSize").get() +;int index294 = 0; +; +for (; index294 < groupLen294;index294++){ +_records = (group294.runMethod(false,"Get",index294));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1738;BA.debugLine="Dim CAT_AL_GEOCERCA As String = records(RESUL"; +Debug.ShouldStop(512); +_cat_al_geocerca = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_GEOCERCA")))))));Debug.locals.put("CAT_AL_GEOCERCA", _cat_al_geocerca);Debug.locals.put("CAT_AL_GEOCERCA", _cat_al_geocerca); + BA.debugLineNum = 1739;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1024); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO GEOCERCA(ACTIVA) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_cat_al_geocerca)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1744;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1745;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(65536); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1746;BA.debugLine="If RESULT.Tag = \"coords_almacen\" Then 'query ta"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("coords_almacen")))) { + BA.debugLineNum = 1747;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(262144); +{ +final RemoteObject group303 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen303 = group303.runMethod(true,"getSize").get() +;int index303 = 0; +; +for (; index303 < groupLen303;index303++){ +_records = (group303.runMethod(false,"Get",index303));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1748;BA.debugLine="Dim CAT_AL_LATITUD As String = records(RESULT"; +Debug.ShouldStop(524288); +_cat_al_latitud = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LATITUD")))))));Debug.locals.put("CAT_AL_LATITUD", _cat_al_latitud);Debug.locals.put("CAT_AL_LATITUD", _cat_al_latitud); + BA.debugLineNum = 1749;BA.debugLine="Dim CAT_AL_LONGITUD As String = records(RESUL"; +Debug.ShouldStop(1048576); +_cat_al_longitud = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_AL_LONGITUD")))))));Debug.locals.put("CAT_AL_LONGITUD", _cat_al_longitud);Debug.locals.put("CAT_AL_LONGITUD", _cat_al_longitud); + BA.debugLineNum = 1750;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(2097152); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO COORDS_ALMACEN(LAT,LONG) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cat_al_latitud),(_cat_al_longitud)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1755;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1756;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(134217728); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1757;BA.debugLine="If RESULT.Tag = \"HIST_MARCAS_CUOTAS\" Then 'quer"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("HIST_MARCAS_CUOTAS")))) { + BA.debugLineNum = 1758;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(536870912); +{ +final RemoteObject group313 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen313 = group313.runMethod(true,"getSize").get() +;int index313 = 0; +; +for (; index313 < groupLen313;index313++){ +_records = (group313.runMethod(false,"Get",index313));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1759;BA.debugLine="Dim HMC_MARCA As String = records(RESULT.Colu"; +Debug.ShouldStop(1073741824); +_hmc_marca = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HMC_MARCA")))))));Debug.locals.put("HMC_MARCA", _hmc_marca);Debug.locals.put("HMC_MARCA", _hmc_marca); + BA.debugLineNum = 1760;BA.debugLine="Dim HMC_TOTAL As String = records(RESULT.Colu"; +Debug.ShouldStop(-2147483648); +_hmc_total = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HMC_TOTAL")))))));Debug.locals.put("HMC_TOTAL", _hmc_total);Debug.locals.put("HMC_TOTAL", _hmc_total); + BA.debugLineNum = 1761;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_MARCAS_CUOTAS(HMC_MARCA, HMC_TOTAL) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_hmc_marca),(_hmc_total)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1763;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(" Historico Marcas")),(Object)(c_principal.__c.getField(true,"True")));}; + }; + }; + BA.debugLineNum = 1767;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1768;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(128); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1769;BA.debugLine="If RESULT.Tag = \"hist_comp_promos\" Then 'query"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_comp_promos")))) { + BA.debugLineNum = 1770;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(512); +{ +final RemoteObject group324 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen324 = group324.runMethod(true,"getSize").get() +;int index324 = 0; +; +for (; index324 < groupLen324;index324++){ +_records = (group324.runMethod(false,"Get",index324));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1771;BA.debugLine="Dim CAT_PA_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(1024); +_cat_pa_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_ID")))))));Debug.locals.put("CAT_PA_ID", _cat_pa_id);Debug.locals.put("CAT_PA_ID", _cat_pa_id); + BA.debugLineNum = 1772;BA.debugLine="Dim CAT_PA_MAXPROM As String = records(RESULT"; +Debug.ShouldStop(2048); +_cat_pa_maxprom = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_MAXPROM")))))));Debug.locals.put("CAT_PA_MAXPROM", _cat_pa_maxprom);Debug.locals.put("CAT_PA_MAXPROM", _cat_pa_maxprom); + BA.debugLineNum = 1773;BA.debugLine="Dim CAT_PA_MAXPROMREC As String = records(RES"; +Debug.ShouldStop(4096); +_cat_pa_maxpromrec = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_MAXPROMREC")))))));Debug.locals.put("CAT_PA_MAXPROMREC", _cat_pa_maxpromrec);Debug.locals.put("CAT_PA_MAXPROMREC", _cat_pa_maxpromrec); + BA.debugLineNum = 1774;BA.debugLine="Dim CAT_PA_MAXPROMCLIE As String = records(RE"; +Debug.ShouldStop(8192); +_cat_pa_maxpromclie = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_PA_MAXPROMCLIE")))))));Debug.locals.put("CAT_PA_MAXPROMCLIE", _cat_pa_maxpromclie);Debug.locals.put("CAT_PA_MAXPROMCLIE", _cat_pa_maxpromclie); + BA.debugLineNum = 1775;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROMOS_COMP(CAT_PA_ID, CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE) VALUES (?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_cat_pa_id),(_cat_pa_maxprom),(_cat_pa_maxpromrec),(_cat_pa_maxpromclie)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1777;BA.debugLine="If PB1.Progress = 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1778;BA.debugLine="PB1.Progress = 30"; +Debug.ShouldStop(131072); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 1779;BA.debugLine="S_CH.Text = \"CARGANDO\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 1780;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 1781;BA.debugLine="PB1.Progress = 60"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 1782;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 1783;BA.debugLine="PB1.Progress = 100"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 1784;BA.debugLine="S_CH.Text = \"LISTO\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + }; + }; + BA.debugLineNum = 1789;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1790;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(536870912); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1791;BA.debugLine="If RESULT.Tag = \"cat_verificacion\" Then 'query"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("cat_verificacion")))) { + BA.debugLineNum = 1792;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(-2147483648); +{ +final RemoteObject group345 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen345 = group345.runMethod(true,"getSize").get() +;int index345 = 0; +; +for (; index345 < groupLen345;index345++){ +_records = (group345.runMethod(false,"Get",index345));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1793;BA.debugLine="Dim CAT_VE_IDPROD As String = records(RESULT."; +Debug.ShouldStop(1); +_cat_ve_idprod = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VE_IDPROD")))))));Debug.locals.put("CAT_VE_IDPROD", _cat_ve_idprod);Debug.locals.put("CAT_VE_IDPROD", _cat_ve_idprod); + BA.debugLineNum = 1794;BA.debugLine="Dim CAT_VE_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(2); +_cat_ve_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VE_NOMBRE")))))));Debug.locals.put("CAT_VE_NOMBRE", _cat_ve_nombre);Debug.locals.put("CAT_VE_NOMBRE", _cat_ve_nombre); + BA.debugLineNum = 1795;BA.debugLine="Dim CAT_VE_ORDEN As String = records(RESULT.C"; +Debug.ShouldStop(4); +_cat_ve_orden = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VE_ORDEN")))))));Debug.locals.put("CAT_VE_ORDEN", _cat_ve_orden);Debug.locals.put("CAT_VE_ORDEN", _cat_ve_orden); + BA.debugLineNum = 1796;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(8); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VERIFICACION(CAT_VE_IDPROD, CAT_VE_NOMBRE,CAT_VE_ORDEN) VALUES (?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_cat_ve_idprod),(_cat_ve_nombre),(_cat_ve_orden)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1801;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1802;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(512); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1803;BA.debugLine="If RESULT.Tag = \"marcas_rutas\" Then 'query tag"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("marcas_rutas")))) { + BA.debugLineNum = 1804;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(2048); +{ +final RemoteObject group356 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen356 = group356.runMethod(true,"getSize").get() +;int index356 = 0; +; +for (; index356 < groupLen356;index356++){ +_records = (group356.runMethod(false,"Get",index356));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1805;BA.debugLine="Dim HVD_MARCA As String = records(RESULT.Colu"; +Debug.ShouldStop(4096); +_hvd_marca = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HVD_MARCA")))))));Debug.locals.put("HVD_MARCA", _hvd_marca);Debug.locals.put("HVD_MARCA", _hvd_marca); + BA.debugLineNum = 1806;BA.debugLine="Dim CLIENTES As String = records(RESULT.Colum"; +Debug.ShouldStop(8192); +_clientes = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CLIENTES")))))));Debug.locals.put("CLIENTES", _clientes);Debug.locals.put("CLIENTES", _clientes); + BA.debugLineNum = 1807;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO MARCAS_RUTAS(HVD_MARCA, CLIENTES) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_hvd_marca),(_clientes)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1813;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1814;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(2097152); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1815;BA.debugLine="If RESULT.Tag = \"CUOTAS\" Then 'query tag"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("CUOTAS")))) { + BA.debugLineNum = 1816;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(8388608); +{ +final RemoteObject group366 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen366 = group366.runMethod(true,"getSize").get() +;int index366 = 0; +; +for (; index366 < groupLen366;index366++){ +_records = (group366.runMethod(false,"Get",index366));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1817;BA.debugLine="Dim HC_RUTA As String = records(RESULT.Column"; +Debug.ShouldStop(16777216); +_hc_ruta = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_RUTA")))))));Debug.locals.put("HC_RUTA", _hc_ruta);Debug.locals.put("HC_RUTA", _hc_ruta); + BA.debugLineNum = 1818;BA.debugLine="Dim HC_CUOTA1 As String = records(RESULT.Colu"; +Debug.ShouldStop(33554432); +_hc_cuota1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CUOTA1")))))));Debug.locals.put("HC_CUOTA1", _hc_cuota1);Debug.locals.put("HC_CUOTA1", _hc_cuota1); + BA.debugLineNum = 1819;BA.debugLine="Dim HC_CUOTA2 As String = records(RESULT.Colu"; +Debug.ShouldStop(67108864); +_hc_cuota2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CUOTA2")))))));Debug.locals.put("HC_CUOTA2", _hc_cuota2);Debug.locals.put("HC_CUOTA2", _hc_cuota2); + BA.debugLineNum = 1820;BA.debugLine="Dim HC_CUOTA3 As String = records(RESULT.Colu"; +Debug.ShouldStop(134217728); +_hc_cuota3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CUOTA3")))))));Debug.locals.put("HC_CUOTA3", _hc_cuota3);Debug.locals.put("HC_CUOTA3", _hc_cuota3); + BA.debugLineNum = 1821;BA.debugLine="Dim HC_CUOTA4 As String = records(RESULT.Colu"; +Debug.ShouldStop(268435456); +_hc_cuota4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CUOTA4")))))));Debug.locals.put("HC_CUOTA4", _hc_cuota4);Debug.locals.put("HC_CUOTA4", _hc_cuota4); + BA.debugLineNum = 1822;BA.debugLine="Dim HC_CUOTA5 As String = records(RESULT.Colu"; +Debug.ShouldStop(536870912); +_hc_cuota5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CUOTA5")))))));Debug.locals.put("HC_CUOTA5", _hc_cuota5);Debug.locals.put("HC_CUOTA5", _hc_cuota5); + BA.debugLineNum = 1823;BA.debugLine="Dim HC_CUOTA6 As String = records(RESULT.Colu"; +Debug.ShouldStop(1073741824); +_hc_cuota6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CUOTA6")))))));Debug.locals.put("HC_CUOTA6", _hc_cuota6);Debug.locals.put("HC_CUOTA6", _hc_cuota6); + BA.debugLineNum = 1824;BA.debugLine="Dim HC_META1 As String = records(RESULT.Colum"; +Debug.ShouldStop(-2147483648); +_hc_meta1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_META1")))))));Debug.locals.put("HC_META1", _hc_meta1);Debug.locals.put("HC_META1", _hc_meta1); + BA.debugLineNum = 1825;BA.debugLine="Dim HC_META2 As String = records(RESULT.Colum"; +Debug.ShouldStop(1); +_hc_meta2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_META2")))))));Debug.locals.put("HC_META2", _hc_meta2);Debug.locals.put("HC_META2", _hc_meta2); + BA.debugLineNum = 1826;BA.debugLine="Dim HC_META3 As String = records(RESULT.Colum"; +Debug.ShouldStop(2); +_hc_meta3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_META3")))))));Debug.locals.put("HC_META3", _hc_meta3);Debug.locals.put("HC_META3", _hc_meta3); + BA.debugLineNum = 1827;BA.debugLine="Dim HC_META4 As String = records(RESULT.Colum"; +Debug.ShouldStop(4); +_hc_meta4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_META4")))))));Debug.locals.put("HC_META4", _hc_meta4);Debug.locals.put("HC_META4", _hc_meta4); + BA.debugLineNum = 1828;BA.debugLine="Dim HC_META5 As String = records(RESULT.Colum"; +Debug.ShouldStop(8); +_hc_meta5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_META5")))))));Debug.locals.put("HC_META5", _hc_meta5);Debug.locals.put("HC_META5", _hc_meta5); + BA.debugLineNum = 1829;BA.debugLine="Dim HC_META6 As String = records(RESULT.Colum"; +Debug.ShouldStop(16); +_hc_meta6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_META6")))))));Debug.locals.put("HC_META6", _hc_meta6);Debug.locals.put("HC_META6", _hc_meta6); + BA.debugLineNum = 1830;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(32); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_CUOTAS(HC_RUTA, HC_CUOTA1,HC_CUOTA2,HC_CUOTA3,HC_CUOTA4,HC_CUOTA5,HC_CUOTA6,HC_META1,HC_META2,HC_META3,HC_META4,HC_META5,HC_META6) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {13},new Object[] {(_hc_ruta),(_hc_cuota1),(_hc_cuota2),(_hc_cuota3),(_hc_cuota4),(_hc_cuota5),(_hc_cuota6),(_hc_meta1),(_hc_meta2),(_hc_meta3),(_hc_meta4),(_hc_meta5),(_hc_meta6)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 1850;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1851;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(67108864); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1852;BA.debugLine="If RESULT.Tag = \"gunaprod\" Then 'query tag"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod")))) { + BA.debugLineNum = 1853;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));}; + BA.debugLineNum = 1854;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(536870912); +{ +final RemoteObject group388 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen388 = group388.runMethod(true,"getSize").get() +;int index388 = 0; +; +for (; index388 < groupLen388;index388++){ +_records = (group388.runMethod(false,"Get",index388));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1855;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(1073741824); +_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 = 1856;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(-2147483648); +_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 = 1857;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; +Debug.ShouldStop(1); +_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 = 1858;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; +Debug.ShouldStop(2); +_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 = 1859;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; +Debug.ShouldStop(4); +_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 = 1860;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; +Debug.ShouldStop(8); +_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 = 1861;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; +Debug.ShouldStop(16); +_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 = 1862;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; +Debug.ShouldStop(32); +_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 = 1863;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; +Debug.ShouldStop(64); +_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 = 1864;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; +Debug.ShouldStop(128); +_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_DP_ALMACEN")))))));Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen); + BA.debugLineNum = 1865;BA.debugLine="Dim CAT_GP_DEV As String = records(RESULT.Col"; +Debug.ShouldStop(256); +_cat_gp_dev = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DEV")))))));Debug.locals.put("CAT_GP_DEV", _cat_gp_dev);Debug.locals.put("CAT_GP_DEV", _cat_gp_dev); + BA.debugLineNum = 1866;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; +Debug.ShouldStop(512); +_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_DP_TIPOPROD")))))));Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod); + BA.debugLineNum = 1867;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT"; +Debug.ShouldStop(1024); +_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_DP_INICIATIVA")))))));Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa); + BA.debugLineNum = 1869;BA.debugLine="Dim CAT_GP_TIPOPROD2 As String = 0"; +Debug.ShouldStop(4096); +_cat_gp_tipoprod2 = BA.NumberToString(0);Debug.locals.put("CAT_GP_TIPOPROD2", _cat_gp_tipoprod2);Debug.locals.put("CAT_GP_TIPOPROD2", _cat_gp_tipoprod2); + BA.debugLineNum = 1872;BA.debugLine="Dim CAT_GP_PRECIO1 As String = records(RESULT"; +Debug.ShouldStop(32768); +_cat_gp_precio1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO1")))))));Debug.locals.put("CAT_GP_PRECIO1", _cat_gp_precio1);Debug.locals.put("CAT_GP_PRECIO1", _cat_gp_precio1); + BA.debugLineNum = 1873;BA.debugLine="Dim CAT_GP_PRECIO2 As String = records(RESULT"; +Debug.ShouldStop(65536); +_cat_gp_precio2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO2")))))));Debug.locals.put("CAT_GP_PRECIO2", _cat_gp_precio2);Debug.locals.put("CAT_GP_PRECIO2", _cat_gp_precio2); + BA.debugLineNum = 1874;BA.debugLine="Dim CAT_GP_PRECIO3 As String = records(RESULT"; +Debug.ShouldStop(131072); +_cat_gp_precio3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO3")))))));Debug.locals.put("CAT_GP_PRECIO3", _cat_gp_precio3);Debug.locals.put("CAT_GP_PRECIO3", _cat_gp_precio3); + BA.debugLineNum = 1875;BA.debugLine="Dim CAT_GP_PRECIO4 As String = records(RESULT"; +Debug.ShouldStop(262144); +_cat_gp_precio4 = BA.ObjectToString(_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_GP_PRECIO4", _cat_gp_precio4);Debug.locals.put("CAT_GP_PRECIO4", _cat_gp_precio4); + BA.debugLineNum = 1876;BA.debugLine="Dim CAT_GP_PRECIO5 As String = records(RESULT"; +Debug.ShouldStop(524288); +_cat_gp_precio5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO5")))))));Debug.locals.put("CAT_GP_PRECIO5", _cat_gp_precio5);Debug.locals.put("CAT_GP_PRECIO5", _cat_gp_precio5); + BA.debugLineNum = 1877;BA.debugLine="Dim CAT_GP_PRECIO6 As String = records(RESULT"; +Debug.ShouldStop(1048576); +_cat_gp_precio6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO6")))))));Debug.locals.put("CAT_GP_PRECIO6", _cat_gp_precio6);Debug.locals.put("CAT_GP_PRECIO6", _cat_gp_precio6); + BA.debugLineNum = 1878;BA.debugLine="Dim CAT_GP_PRECIO7 As String = records(RESULT"; +Debug.ShouldStop(2097152); +_cat_gp_precio7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO7")))))));Debug.locals.put("CAT_GP_PRECIO7", _cat_gp_precio7);Debug.locals.put("CAT_GP_PRECIO7", _cat_gp_precio7); + BA.debugLineNum = 1879;BA.debugLine="Dim CAT_GP_PRECIO8 As String = records(RESULT"; +Debug.ShouldStop(4194304); +_cat_gp_precio8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO8")))))));Debug.locals.put("CAT_GP_PRECIO8", _cat_gp_precio8);Debug.locals.put("CAT_GP_PRECIO8", _cat_gp_precio8); + BA.debugLineNum = 1880;BA.debugLine="Dim CAT_GP_PRECIO9 As String = records(RESULT"; +Debug.ShouldStop(8388608); +_cat_gp_precio9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO9")))))));Debug.locals.put("CAT_GP_PRECIO9", _cat_gp_precio9);Debug.locals.put("CAT_GP_PRECIO9", _cat_gp_precio9); + BA.debugLineNum = 1881;BA.debugLine="Dim CAT_GP_PRECIO10 As String = records(RESUL"; +Debug.ShouldStop(16777216); +_cat_gp_precio10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO10")))))));Debug.locals.put("CAT_GP_PRECIO10", _cat_gp_precio10);Debug.locals.put("CAT_GP_PRECIO10", _cat_gp_precio10); + BA.debugLineNum = 1882;BA.debugLine="Dim CAT_GP_PRECIO11 As String = records(RESUL"; +Debug.ShouldStop(33554432); +_cat_gp_precio11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO11")))))));Debug.locals.put("CAT_GP_PRECIO11", _cat_gp_precio11);Debug.locals.put("CAT_GP_PRECIO11", _cat_gp_precio11); + BA.debugLineNum = 1885;BA.debugLine="Dim CAT_GP_PRESENTACION1 As String = records("; +Debug.ShouldStop(268435456); +_cat_gp_presentacion1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION1")))))));Debug.locals.put("CAT_GP_PRESENTACION1", _cat_gp_presentacion1);Debug.locals.put("CAT_GP_PRESENTACION1", _cat_gp_presentacion1); + BA.debugLineNum = 1886;BA.debugLine="Dim CAT_GP_PRESENTACION2 As String = records("; +Debug.ShouldStop(536870912); +_cat_gp_presentacion2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION2")))))));Debug.locals.put("CAT_GP_PRESENTACION2", _cat_gp_presentacion2);Debug.locals.put("CAT_GP_PRESENTACION2", _cat_gp_presentacion2); + BA.debugLineNum = 1887;BA.debugLine="Dim CAT_GP_PRESENTACION3 As String = records("; +Debug.ShouldStop(1073741824); +_cat_gp_presentacion3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION3")))))));Debug.locals.put("CAT_GP_PRESENTACION3", _cat_gp_presentacion3);Debug.locals.put("CAT_GP_PRESENTACION3", _cat_gp_presentacion3); + BA.debugLineNum = 1888;BA.debugLine="Dim CAT_GP_PRESENTACION4 As String = records("; +Debug.ShouldStop(-2147483648); +_cat_gp_presentacion4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION4")))))));Debug.locals.put("CAT_GP_PRESENTACION4", _cat_gp_presentacion4);Debug.locals.put("CAT_GP_PRESENTACION4", _cat_gp_presentacion4); + BA.debugLineNum = 1889;BA.debugLine="Dim CAT_GP_PRESENTACION5 As String = records("; +Debug.ShouldStop(1); +_cat_gp_presentacion5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION5")))))));Debug.locals.put("CAT_GP_PRESENTACION5", _cat_gp_presentacion5);Debug.locals.put("CAT_GP_PRESENTACION5", _cat_gp_presentacion5); + BA.debugLineNum = 1890;BA.debugLine="Dim CAT_GP_PRESENTACION6 As String = records("; +Debug.ShouldStop(2); +_cat_gp_presentacion6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION6")))))));Debug.locals.put("CAT_GP_PRESENTACION6", _cat_gp_presentacion6);Debug.locals.put("CAT_GP_PRESENTACION6", _cat_gp_presentacion6); + BA.debugLineNum = 1891;BA.debugLine="Dim CAT_GP_PRESENTACION7 As String = records("; +Debug.ShouldStop(4); +_cat_gp_presentacion7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION7")))))));Debug.locals.put("CAT_GP_PRESENTACION7", _cat_gp_presentacion7);Debug.locals.put("CAT_GP_PRESENTACION7", _cat_gp_presentacion7); + BA.debugLineNum = 1892;BA.debugLine="Dim CAT_GP_PRESENTACION8 As String = records("; +Debug.ShouldStop(8); +_cat_gp_presentacion8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION8")))))));Debug.locals.put("CAT_GP_PRESENTACION8", _cat_gp_presentacion8);Debug.locals.put("CAT_GP_PRESENTACION8", _cat_gp_presentacion8); + BA.debugLineNum = 1893;BA.debugLine="Dim CAT_GP_PRESENTACION9 As String = records("; +Debug.ShouldStop(16); +_cat_gp_presentacion9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION9")))))));Debug.locals.put("CAT_GP_PRESENTACION9", _cat_gp_presentacion9);Debug.locals.put("CAT_GP_PRESENTACION9", _cat_gp_presentacion9); + BA.debugLineNum = 1894;BA.debugLine="Dim CAT_GP_PRESENTACION10 As String = records"; +Debug.ShouldStop(32); +_cat_gp_presentacion10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION10")))))));Debug.locals.put("CAT_GP_PRESENTACION10", _cat_gp_presentacion10);Debug.locals.put("CAT_GP_PRESENTACION10", _cat_gp_presentacion10); + BA.debugLineNum = 1895;BA.debugLine="Dim CAT_GP_PRESENTACION11 As String = records"; +Debug.ShouldStop(64); +_cat_gp_presentacion11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION11")))))));Debug.locals.put("CAT_GP_PRESENTACION11", _cat_gp_presentacion11);Debug.locals.put("CAT_GP_PRESENTACION11", _cat_gp_presentacion11); + BA.debugLineNum = 1898;BA.debugLine="Dim CAT_GP_UMV1 As String = records(RESULT.Co"; +Debug.ShouldStop(512); +_cat_gp_umv1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV1")))))));Debug.locals.put("CAT_GP_UMV1", _cat_gp_umv1);Debug.locals.put("CAT_GP_UMV1", _cat_gp_umv1); + BA.debugLineNum = 1899;BA.debugLine="Dim CAT_GP_UMV2 As String = records(RESULT.Co"; +Debug.ShouldStop(1024); +_cat_gp_umv2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV2")))))));Debug.locals.put("CAT_GP_UMV2", _cat_gp_umv2);Debug.locals.put("CAT_GP_UMV2", _cat_gp_umv2); + BA.debugLineNum = 1900;BA.debugLine="Dim CAT_GP_UMV3 As String = records(RESULT.Co"; +Debug.ShouldStop(2048); +_cat_gp_umv3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV3")))))));Debug.locals.put("CAT_GP_UMV3", _cat_gp_umv3);Debug.locals.put("CAT_GP_UMV3", _cat_gp_umv3); + BA.debugLineNum = 1901;BA.debugLine="Dim CAT_GP_UMV4 As String = records(RESULT.Co"; +Debug.ShouldStop(4096); +_cat_gp_umv4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV4")))))));Debug.locals.put("CAT_GP_UMV4", _cat_gp_umv4);Debug.locals.put("CAT_GP_UMV4", _cat_gp_umv4); + BA.debugLineNum = 1902;BA.debugLine="Dim CAT_GP_UMV5 As String = records(RESULT.Co"; +Debug.ShouldStop(8192); +_cat_gp_umv5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV5")))))));Debug.locals.put("CAT_GP_UMV5", _cat_gp_umv5);Debug.locals.put("CAT_GP_UMV5", _cat_gp_umv5); + BA.debugLineNum = 1903;BA.debugLine="Dim CAT_GP_UMV6 As String = records(RESULT.Co"; +Debug.ShouldStop(16384); +_cat_gp_umv6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV6")))))));Debug.locals.put("CAT_GP_UMV6", _cat_gp_umv6);Debug.locals.put("CAT_GP_UMV6", _cat_gp_umv6); + BA.debugLineNum = 1904;BA.debugLine="Dim CAT_GP_UMV7 As String = records(RESULT.Co"; +Debug.ShouldStop(32768); +_cat_gp_umv7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV7")))))));Debug.locals.put("CAT_GP_UMV7", _cat_gp_umv7);Debug.locals.put("CAT_GP_UMV7", _cat_gp_umv7); + BA.debugLineNum = 1905;BA.debugLine="Dim CAT_GP_UMV8 As String = records(RESULT.Co"; +Debug.ShouldStop(65536); +_cat_gp_umv8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV8")))))));Debug.locals.put("CAT_GP_UMV8", _cat_gp_umv8);Debug.locals.put("CAT_GP_UMV8", _cat_gp_umv8); + BA.debugLineNum = 1906;BA.debugLine="Dim CAT_GP_UMV9 As String = records(RESULT.Co"; +Debug.ShouldStop(131072); +_cat_gp_umv9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV9")))))));Debug.locals.put("CAT_GP_UMV9", _cat_gp_umv9);Debug.locals.put("CAT_GP_UMV9", _cat_gp_umv9); + BA.debugLineNum = 1907;BA.debugLine="Dim CAT_GP_UMV10 As String = records(RESULT.C"; +Debug.ShouldStop(262144); +_cat_gp_umv10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV10")))))));Debug.locals.put("CAT_GP_UMV10", _cat_gp_umv10);Debug.locals.put("CAT_GP_UMV10", _cat_gp_umv10); + BA.debugLineNum = 1908;BA.debugLine="Dim CAT_GP_UMV11 As String = records(RESULT.C"; +Debug.ShouldStop(524288); +_cat_gp_umv11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV11")))))));Debug.locals.put("CAT_GP_UMV11", _cat_gp_umv11);Debug.locals.put("CAT_GP_UMV11", _cat_gp_umv11); + BA.debugLineNum = 1911;BA.debugLine="Dim CAT_GP_DIRIGIDA1 As String = records(RESU"; +Debug.ShouldStop(4194304); +_cat_gp_dirigida1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA1")))))));Debug.locals.put("CAT_GP_DIRIGIDA1", _cat_gp_dirigida1);Debug.locals.put("CAT_GP_DIRIGIDA1", _cat_gp_dirigida1); + BA.debugLineNum = 1912;BA.debugLine="Dim CAT_GP_DIRIGIDA2 As String = records(RESU"; +Debug.ShouldStop(8388608); +_cat_gp_dirigida2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA2")))))));Debug.locals.put("CAT_GP_DIRIGIDA2", _cat_gp_dirigida2);Debug.locals.put("CAT_GP_DIRIGIDA2", _cat_gp_dirigida2); + BA.debugLineNum = 1913;BA.debugLine="Dim CAT_GP_DIRIGIDA3 As String = records(RESU"; +Debug.ShouldStop(16777216); +_cat_gp_dirigida3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA3")))))));Debug.locals.put("CAT_GP_DIRIGIDA3", _cat_gp_dirigida3);Debug.locals.put("CAT_GP_DIRIGIDA3", _cat_gp_dirigida3); + BA.debugLineNum = 1914;BA.debugLine="Dim CAT_GP_DIRIGIDA4 As String = records(RESU"; +Debug.ShouldStop(33554432); +_cat_gp_dirigida4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA4")))))));Debug.locals.put("CAT_GP_DIRIGIDA4", _cat_gp_dirigida4);Debug.locals.put("CAT_GP_DIRIGIDA4", _cat_gp_dirigida4); + BA.debugLineNum = 1915;BA.debugLine="Dim CAT_GP_DIRIGIDA5 As String = records(RESU"; +Debug.ShouldStop(67108864); +_cat_gp_dirigida5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA5")))))));Debug.locals.put("CAT_GP_DIRIGIDA5", _cat_gp_dirigida5);Debug.locals.put("CAT_GP_DIRIGIDA5", _cat_gp_dirigida5); + BA.debugLineNum = 1916;BA.debugLine="Dim CAT_GP_DIRIGIDA6 As String = records(RESU"; +Debug.ShouldStop(134217728); +_cat_gp_dirigida6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA6")))))));Debug.locals.put("CAT_GP_DIRIGIDA6", _cat_gp_dirigida6);Debug.locals.put("CAT_GP_DIRIGIDA6", _cat_gp_dirigida6); + BA.debugLineNum = 1917;BA.debugLine="Dim CAT_GP_DIRIGIDA7 As String = records(RESU"; +Debug.ShouldStop(268435456); +_cat_gp_dirigida7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA7")))))));Debug.locals.put("CAT_GP_DIRIGIDA7", _cat_gp_dirigida7);Debug.locals.put("CAT_GP_DIRIGIDA7", _cat_gp_dirigida7); + BA.debugLineNum = 1918;BA.debugLine="Dim CAT_GP_DIRIGIDA8 As String = records(RESU"; +Debug.ShouldStop(536870912); +_cat_gp_dirigida8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA8")))))));Debug.locals.put("CAT_GP_DIRIGIDA8", _cat_gp_dirigida8);Debug.locals.put("CAT_GP_DIRIGIDA8", _cat_gp_dirigida8); + BA.debugLineNum = 1919;BA.debugLine="Dim CAT_GP_DIRIGIDA9 As String = records(RESU"; +Debug.ShouldStop(1073741824); +_cat_gp_dirigida9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA9")))))));Debug.locals.put("CAT_GP_DIRIGIDA9", _cat_gp_dirigida9);Debug.locals.put("CAT_GP_DIRIGIDA9", _cat_gp_dirigida9); + BA.debugLineNum = 1920;BA.debugLine="Dim CAT_GP_DIRIGIDA10 As String = records(RES"; +Debug.ShouldStop(-2147483648); +_cat_gp_dirigida10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA10")))))));Debug.locals.put("CAT_GP_DIRIGIDA10", _cat_gp_dirigida10);Debug.locals.put("CAT_GP_DIRIGIDA10", _cat_gp_dirigida10); + BA.debugLineNum = 1921;BA.debugLine="Dim CAT_GP_DIRIGIDA11 As String = records(RES"; +Debug.ShouldStop(1); +_cat_gp_dirigida11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA11")))))));Debug.locals.put("CAT_GP_DIRIGIDA11", _cat_gp_dirigida11);Debug.locals.put("CAT_GP_DIRIGIDA11", _cat_gp_dirigida11); + BA.debugLineNum = 1924;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T"; +Debug.ShouldStop(8); +_cat_gp_nombre = _cat_gp_nombre.runMethod(true,"trim");Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre); + BA.debugLineNum = 1925;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(16); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD(CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_IMP1, CAT_GP_IMP2, CAT_GP_CLASIF, CAT_GP_STS, CAT_GP_TIPO, CAT_GP_SUBTIPO, CAT_GP_IMG, CAT_GP_ALMACEN, CAT_GP_DEV, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA, CAT_GP_TIPOPROD2, CAT_GP_PRECIO1, CAT_GP_PRECIO2, CAT_GP_PRECIO3, CAT_GP_PRECIO4, CAT_GP_PRECIO5, CAT_GP_PRECIO6, CAT_GP_PRECIO7, CAT_GP_PRECIO8, CAT_GP_PRECIO9, CAT_GP_PRECIO10, CAT_GP_PRECIO11, CAT_GP_PRESENTACION1, CAT_GP_PRESENTACION2, CAT_GP_PRESENTACION3, CAT_GP_PRESENTACION4, CAT_GP_PRESENTACION5, CAT_GP_PRESENTACION6, CAT_GP_PRESENTACION7, CAT_GP_PRESENTACION8, CAT_GP_PRESENTACION9, CAT_GP_PRESENTACION10, CAT_GP_PRESENTACION11, CAT_GP_UMV1, CAT_GP_UMV2, CAT_GP_UMV3, CAT_GP_UMV4, CAT_GP_UMV5, CAT_GP_UMV6, CAT_GP_UMV7, CAT_GP_UMV8, CAT_GP_UMV9, CAT_GP_UMV10, CAT_GP_UMV11, CAT_GP_DIRIGIDA1, CAT_GP_DIRIGIDA2, CAT_GP_DIRIGIDA3, CAT_GP_DIRIGIDA4, CAT_GP_DIRIGIDA5, CAT_GP_DIRIGIDA6, CAT_GP_DIRIGIDA7, CAT_GP_DIRIGIDA8, CAT_GP_DIRIGIDA9, CAT_GP_DIRIGIDA10, CAT_GP_DIRIGIDA11) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {58},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_dev),(_cat_gp_tipoprod),(_cat_gp_iniciativa),(_cat_gp_tipoprod2),(_cat_gp_precio1),(_cat_gp_precio2),(_cat_gp_precio3),(_cat_gp_precio4),(_cat_gp_precio5),(_cat_gp_precio6),(_cat_gp_precio7),(_cat_gp_precio8),(_cat_gp_precio9),(_cat_gp_precio10),(_cat_gp_precio11),(_cat_gp_presentacion1),(_cat_gp_presentacion2),(_cat_gp_presentacion3),(_cat_gp_presentacion4),(_cat_gp_presentacion5),(_cat_gp_presentacion6),(_cat_gp_presentacion7),(_cat_gp_presentacion8),(_cat_gp_presentacion9),(_cat_gp_presentacion10),(_cat_gp_presentacion11),(_cat_gp_umv1),(_cat_gp_umv2),(_cat_gp_umv3),(_cat_gp_umv4),(_cat_gp_umv5),(_cat_gp_umv6),(_cat_gp_umv7),(_cat_gp_umv8),(_cat_gp_umv9),(_cat_gp_umv10),(_cat_gp_umv11),(_cat_gp_dirigida1),(_cat_gp_dirigida2),(_cat_gp_dirigida3),(_cat_gp_dirigida4),(_cat_gp_dirigida5),(_cat_gp_dirigida6),(_cat_gp_dirigida7),(_cat_gp_dirigida8),(_cat_gp_dirigida9),(_cat_gp_dirigida10),(_cat_gp_dirigida11)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1928;BA.debugLine="Listo2=1"; +Debug.ShouldStop(128); +__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 1929;BA.debugLine="If PB2.Progress = 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1930;BA.debugLine="PB2.Progress = 30"; +Debug.ShouldStop(512); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 1931;BA.debugLine="S_CP.Text = \"CARGANDO\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 1932;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 1933;BA.debugLine="PB2.Progress = 60"; +Debug.ShouldStop(4096); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 1934;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 1935;BA.debugLine="PB2.Progress = 100"; +Debug.ShouldStop(16384); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 1936;BA.debugLine="S_CP.Text = \"LISTO\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + BA.debugLineNum = 1938;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Productos Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));}; + BA.debugLineNum = 1939;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(262144); +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 = 1940;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(524288); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 1941;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 1942;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(2097152); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + }; + }; + BA.debugLineNum = 1947;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1948;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(134217728); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1949;BA.debugLine="If RESULT.Tag = \"gunaprod3\" Then 'query tag"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod3")))) { + BA.debugLineNum = 1950;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));}; + BA.debugLineNum = 1951;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(1073741824); +{ +final RemoteObject group472 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen472 = group472.runMethod(true,"getSize").get() +;int index472 = 0; +; +for (; index472 < groupLen472;index472++){ +_records = (group472.runMethod(false,"Get",index472));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1952;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(-2147483648); +_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 = 1953;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(1); +_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 = 1954;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; +Debug.ShouldStop(2); +_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 = 1955;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; +Debug.ShouldStop(4); +_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 = 1956;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; +Debug.ShouldStop(8); +_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 = 1957;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; +Debug.ShouldStop(16); +_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 = 1958;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; +Debug.ShouldStop(32); +_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 = 1959;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; +Debug.ShouldStop(64); +_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 = 1960;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; +Debug.ShouldStop(128); +_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 = 1961;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; +Debug.ShouldStop(256); +_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 = 1962;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; +Debug.ShouldStop(512); +_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_DP_ALMACEN")))))));Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen); + BA.debugLineNum = 1964;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; +Debug.ShouldStop(2048); +_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_DP_TIPOPROD")))))));Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod); + BA.debugLineNum = 1965;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT"; +Debug.ShouldStop(4096); +_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_DP_INICIATIVA")))))));Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa); + BA.debugLineNum = 1966;BA.debugLine="Dim CAT_DP_PRECIO4 As Float = records(RESULT."; +Debug.ShouldStop(8192); +_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 = 1967;BA.debugLine="Dim CAT_DP_CONVERSION1 As Int = records(RESUL"; +Debug.ShouldStop(16384); +_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 = 1970;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T"; +Debug.ShouldStop(131072); +_cat_gp_nombre = _cat_gp_nombre.runMethod(true,"trim");Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre); + BA.debugLineNum = 1971;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(262144); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_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 = 1976;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 1977;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(16777216); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 1978;BA.debugLine="If RESULT.Tag = \"gunaprod2\" Then 'query tag"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprod2")))) { + BA.debugLineNum = 1979;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO"));}; + BA.debugLineNum = 1980;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(134217728); +{ +final RemoteObject group497 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen497 = group497.runMethod(true,"getSize").get() +;int index497 = 0; +; +for (; index497 < groupLen497;index497++){ +_records = (group497.runMethod(false,"Get",index497));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1981;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(268435456); +_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 = 1982;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(536870912); +_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 = 1983;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; +Debug.ShouldStop(1073741824); +_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 = 1984;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; +Debug.ShouldStop(-2147483648); +_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 = 1985;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; +Debug.ShouldStop(1); +_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 = 1986;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; +Debug.ShouldStop(2); +_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 = 1987;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; +Debug.ShouldStop(4); +_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 = 1988;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; +Debug.ShouldStop(8); +_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 = 1989;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; +Debug.ShouldStop(16); +_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 = 1990;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; +Debug.ShouldStop(32); +_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_DP_ALMACEN")))))));Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen); + BA.debugLineNum = 1991;BA.debugLine="Dim CAT_GP_DEV As String = records(RESULT.Col"; +Debug.ShouldStop(64); +_cat_gp_dev = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DEV")))))));Debug.locals.put("CAT_GP_DEV", _cat_gp_dev);Debug.locals.put("CAT_GP_DEV", _cat_gp_dev); + BA.debugLineNum = 1992;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; +Debug.ShouldStop(128); +_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_DP_TIPOPROD")))))));Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod);Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod); + BA.debugLineNum = 1993;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT"; +Debug.ShouldStop(256); +_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_DP_INICIATIVA")))))));Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa);Debug.locals.put("CAT_GP_INICIATIVA", _cat_gp_iniciativa); + BA.debugLineNum = 1994;BA.debugLine="Dim CAT_GP_TIPOPROD2 As String = records(RESU"; +Debug.ShouldStop(512); +_cat_gp_tipoprod2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_TIPOPROD2")))))));Debug.locals.put("CAT_GP_TIPOPROD2", _cat_gp_tipoprod2);Debug.locals.put("CAT_GP_TIPOPROD2", _cat_gp_tipoprod2); + BA.debugLineNum = 1997;BA.debugLine="Dim CAT_GP_PRECIO1 As String = records(RESULT"; +Debug.ShouldStop(4096); +_cat_gp_precio1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO1")))))));Debug.locals.put("CAT_GP_PRECIO1", _cat_gp_precio1);Debug.locals.put("CAT_GP_PRECIO1", _cat_gp_precio1); + BA.debugLineNum = 1998;BA.debugLine="Dim CAT_GP_PRECIO2 As String = records(RESULT"; +Debug.ShouldStop(8192); +_cat_gp_precio2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO2")))))));Debug.locals.put("CAT_GP_PRECIO2", _cat_gp_precio2);Debug.locals.put("CAT_GP_PRECIO2", _cat_gp_precio2); + BA.debugLineNum = 1999;BA.debugLine="Dim CAT_GP_PRECIO3 As String = records(RESULT"; +Debug.ShouldStop(16384); +_cat_gp_precio3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO3")))))));Debug.locals.put("CAT_GP_PRECIO3", _cat_gp_precio3);Debug.locals.put("CAT_GP_PRECIO3", _cat_gp_precio3); + BA.debugLineNum = 2000;BA.debugLine="Dim CAT_GP_PRECIO4 As String = records(RESULT"; +Debug.ShouldStop(32768); +_cat_gp_precio4 = BA.ObjectToString(_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_GP_PRECIO4", _cat_gp_precio4);Debug.locals.put("CAT_GP_PRECIO4", _cat_gp_precio4); + BA.debugLineNum = 2001;BA.debugLine="Dim CAT_GP_PRECIO5 As String = records(RESULT"; +Debug.ShouldStop(65536); +_cat_gp_precio5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO5")))))));Debug.locals.put("CAT_GP_PRECIO5", _cat_gp_precio5);Debug.locals.put("CAT_GP_PRECIO5", _cat_gp_precio5); + BA.debugLineNum = 2002;BA.debugLine="Dim CAT_GP_PRECIO6 As String = records(RESULT"; +Debug.ShouldStop(131072); +_cat_gp_precio6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO6")))))));Debug.locals.put("CAT_GP_PRECIO6", _cat_gp_precio6);Debug.locals.put("CAT_GP_PRECIO6", _cat_gp_precio6); + BA.debugLineNum = 2003;BA.debugLine="Dim CAT_GP_PRECIO7 As String = records(RESULT"; +Debug.ShouldStop(262144); +_cat_gp_precio7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO7")))))));Debug.locals.put("CAT_GP_PRECIO7", _cat_gp_precio7);Debug.locals.put("CAT_GP_PRECIO7", _cat_gp_precio7); + BA.debugLineNum = 2004;BA.debugLine="Dim CAT_GP_PRECIO8 As String = records(RESULT"; +Debug.ShouldStop(524288); +_cat_gp_precio8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO8")))))));Debug.locals.put("CAT_GP_PRECIO8", _cat_gp_precio8);Debug.locals.put("CAT_GP_PRECIO8", _cat_gp_precio8); + BA.debugLineNum = 2005;BA.debugLine="Dim CAT_GP_PRECIO9 As String = records(RESULT"; +Debug.ShouldStop(1048576); +_cat_gp_precio9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO9")))))));Debug.locals.put("CAT_GP_PRECIO9", _cat_gp_precio9);Debug.locals.put("CAT_GP_PRECIO9", _cat_gp_precio9); + BA.debugLineNum = 2006;BA.debugLine="Dim CAT_GP_PRECIO10 As String = records(RESUL"; +Debug.ShouldStop(2097152); +_cat_gp_precio10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO10")))))));Debug.locals.put("CAT_GP_PRECIO10", _cat_gp_precio10);Debug.locals.put("CAT_GP_PRECIO10", _cat_gp_precio10); + BA.debugLineNum = 2007;BA.debugLine="Dim CAT_GP_PRECIO11 As String = records(RESUL"; +Debug.ShouldStop(4194304); +_cat_gp_precio11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRECIO11")))))));Debug.locals.put("CAT_GP_PRECIO11", _cat_gp_precio11);Debug.locals.put("CAT_GP_PRECIO11", _cat_gp_precio11); + BA.debugLineNum = 2010;BA.debugLine="Dim CAT_GP_PRESENTACION1 As String = records("; +Debug.ShouldStop(33554432); +_cat_gp_presentacion1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION1")))))));Debug.locals.put("CAT_GP_PRESENTACION1", _cat_gp_presentacion1);Debug.locals.put("CAT_GP_PRESENTACION1", _cat_gp_presentacion1); + BA.debugLineNum = 2011;BA.debugLine="Dim CAT_GP_PRESENTACION2 As String = records("; +Debug.ShouldStop(67108864); +_cat_gp_presentacion2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION2")))))));Debug.locals.put("CAT_GP_PRESENTACION2", _cat_gp_presentacion2);Debug.locals.put("CAT_GP_PRESENTACION2", _cat_gp_presentacion2); + BA.debugLineNum = 2012;BA.debugLine="Dim CAT_GP_PRESENTACION3 As String = records("; +Debug.ShouldStop(134217728); +_cat_gp_presentacion3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION3")))))));Debug.locals.put("CAT_GP_PRESENTACION3", _cat_gp_presentacion3);Debug.locals.put("CAT_GP_PRESENTACION3", _cat_gp_presentacion3); + BA.debugLineNum = 2013;BA.debugLine="Dim CAT_GP_PRESENTACION4 As String = records("; +Debug.ShouldStop(268435456); +_cat_gp_presentacion4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION4")))))));Debug.locals.put("CAT_GP_PRESENTACION4", _cat_gp_presentacion4);Debug.locals.put("CAT_GP_PRESENTACION4", _cat_gp_presentacion4); + BA.debugLineNum = 2014;BA.debugLine="Dim CAT_GP_PRESENTACION5 As String = records("; +Debug.ShouldStop(536870912); +_cat_gp_presentacion5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION5")))))));Debug.locals.put("CAT_GP_PRESENTACION5", _cat_gp_presentacion5);Debug.locals.put("CAT_GP_PRESENTACION5", _cat_gp_presentacion5); + BA.debugLineNum = 2015;BA.debugLine="Dim CAT_GP_PRESENTACION6 As String = records("; +Debug.ShouldStop(1073741824); +_cat_gp_presentacion6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION6")))))));Debug.locals.put("CAT_GP_PRESENTACION6", _cat_gp_presentacion6);Debug.locals.put("CAT_GP_PRESENTACION6", _cat_gp_presentacion6); + BA.debugLineNum = 2016;BA.debugLine="Dim CAT_GP_PRESENTACION7 As String = records("; +Debug.ShouldStop(-2147483648); +_cat_gp_presentacion7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION7")))))));Debug.locals.put("CAT_GP_PRESENTACION7", _cat_gp_presentacion7);Debug.locals.put("CAT_GP_PRESENTACION7", _cat_gp_presentacion7); + BA.debugLineNum = 2017;BA.debugLine="Dim CAT_GP_PRESENTACION8 As String = records("; +Debug.ShouldStop(1); +_cat_gp_presentacion8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION8")))))));Debug.locals.put("CAT_GP_PRESENTACION8", _cat_gp_presentacion8);Debug.locals.put("CAT_GP_PRESENTACION8", _cat_gp_presentacion8); + BA.debugLineNum = 2018;BA.debugLine="Dim CAT_GP_PRESENTACION9 As String = records("; +Debug.ShouldStop(2); +_cat_gp_presentacion9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION9")))))));Debug.locals.put("CAT_GP_PRESENTACION9", _cat_gp_presentacion9);Debug.locals.put("CAT_GP_PRESENTACION9", _cat_gp_presentacion9); + BA.debugLineNum = 2019;BA.debugLine="Dim CAT_GP_PRESENTACION10 As String = records"; +Debug.ShouldStop(4); +_cat_gp_presentacion10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION10")))))));Debug.locals.put("CAT_GP_PRESENTACION10", _cat_gp_presentacion10);Debug.locals.put("CAT_GP_PRESENTACION10", _cat_gp_presentacion10); + BA.debugLineNum = 2020;BA.debugLine="Dim CAT_GP_PRESENTACION11 As String = records"; +Debug.ShouldStop(8); +_cat_gp_presentacion11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_PRESENTACION11")))))));Debug.locals.put("CAT_GP_PRESENTACION11", _cat_gp_presentacion11);Debug.locals.put("CAT_GP_PRESENTACION11", _cat_gp_presentacion11); + BA.debugLineNum = 2023;BA.debugLine="Dim CAT_GP_UMV1 As String = records(RESULT.Co"; +Debug.ShouldStop(64); +_cat_gp_umv1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV1")))))));Debug.locals.put("CAT_GP_UMV1", _cat_gp_umv1);Debug.locals.put("CAT_GP_UMV1", _cat_gp_umv1); + BA.debugLineNum = 2024;BA.debugLine="Dim CAT_GP_UMV2 As String = records(RESULT.Co"; +Debug.ShouldStop(128); +_cat_gp_umv2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV2")))))));Debug.locals.put("CAT_GP_UMV2", _cat_gp_umv2);Debug.locals.put("CAT_GP_UMV2", _cat_gp_umv2); + BA.debugLineNum = 2025;BA.debugLine="Dim CAT_GP_UMV3 As String = records(RESULT.Co"; +Debug.ShouldStop(256); +_cat_gp_umv3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV3")))))));Debug.locals.put("CAT_GP_UMV3", _cat_gp_umv3);Debug.locals.put("CAT_GP_UMV3", _cat_gp_umv3); + BA.debugLineNum = 2026;BA.debugLine="Dim CAT_GP_UMV4 As String = records(RESULT.Co"; +Debug.ShouldStop(512); +_cat_gp_umv4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV4")))))));Debug.locals.put("CAT_GP_UMV4", _cat_gp_umv4);Debug.locals.put("CAT_GP_UMV4", _cat_gp_umv4); + BA.debugLineNum = 2027;BA.debugLine="Dim CAT_GP_UMV5 As String = records(RESULT.Co"; +Debug.ShouldStop(1024); +_cat_gp_umv5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV5")))))));Debug.locals.put("CAT_GP_UMV5", _cat_gp_umv5);Debug.locals.put("CAT_GP_UMV5", _cat_gp_umv5); + BA.debugLineNum = 2028;BA.debugLine="Dim CAT_GP_UMV6 As String = records(RESULT.Co"; +Debug.ShouldStop(2048); +_cat_gp_umv6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV6")))))));Debug.locals.put("CAT_GP_UMV6", _cat_gp_umv6);Debug.locals.put("CAT_GP_UMV6", _cat_gp_umv6); + BA.debugLineNum = 2029;BA.debugLine="Dim CAT_GP_UMV7 As String = records(RESULT.Co"; +Debug.ShouldStop(4096); +_cat_gp_umv7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV7")))))));Debug.locals.put("CAT_GP_UMV7", _cat_gp_umv7);Debug.locals.put("CAT_GP_UMV7", _cat_gp_umv7); + BA.debugLineNum = 2030;BA.debugLine="Dim CAT_GP_UMV8 As String = records(RESULT.Co"; +Debug.ShouldStop(8192); +_cat_gp_umv8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV8")))))));Debug.locals.put("CAT_GP_UMV8", _cat_gp_umv8);Debug.locals.put("CAT_GP_UMV8", _cat_gp_umv8); + BA.debugLineNum = 2031;BA.debugLine="Dim CAT_GP_UMV9 As String = records(RESULT.Co"; +Debug.ShouldStop(16384); +_cat_gp_umv9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV9")))))));Debug.locals.put("CAT_GP_UMV9", _cat_gp_umv9);Debug.locals.put("CAT_GP_UMV9", _cat_gp_umv9); + BA.debugLineNum = 2032;BA.debugLine="Dim CAT_GP_UMV10 As String = records(RESULT.C"; +Debug.ShouldStop(32768); +_cat_gp_umv10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV10")))))));Debug.locals.put("CAT_GP_UMV10", _cat_gp_umv10);Debug.locals.put("CAT_GP_UMV10", _cat_gp_umv10); + BA.debugLineNum = 2033;BA.debugLine="Dim CAT_GP_UMV11 As String = records(RESULT.C"; +Debug.ShouldStop(65536); +_cat_gp_umv11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_UMV11")))))));Debug.locals.put("CAT_GP_UMV11", _cat_gp_umv11);Debug.locals.put("CAT_GP_UMV11", _cat_gp_umv11); + BA.debugLineNum = 2036;BA.debugLine="Dim CAT_GP_DIRIGIDA1 As String = records(RESU"; +Debug.ShouldStop(524288); +_cat_gp_dirigida1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA1")))))));Debug.locals.put("CAT_GP_DIRIGIDA1", _cat_gp_dirigida1);Debug.locals.put("CAT_GP_DIRIGIDA1", _cat_gp_dirigida1); + BA.debugLineNum = 2037;BA.debugLine="Dim CAT_GP_DIRIGIDA2 As String = records(RESU"; +Debug.ShouldStop(1048576); +_cat_gp_dirigida2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA2")))))));Debug.locals.put("CAT_GP_DIRIGIDA2", _cat_gp_dirigida2);Debug.locals.put("CAT_GP_DIRIGIDA2", _cat_gp_dirigida2); + BA.debugLineNum = 2038;BA.debugLine="Dim CAT_GP_DIRIGIDA3 As String = records(RESU"; +Debug.ShouldStop(2097152); +_cat_gp_dirigida3 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA3")))))));Debug.locals.put("CAT_GP_DIRIGIDA3", _cat_gp_dirigida3);Debug.locals.put("CAT_GP_DIRIGIDA3", _cat_gp_dirigida3); + BA.debugLineNum = 2039;BA.debugLine="Dim CAT_GP_DIRIGIDA4 As String = records(RESU"; +Debug.ShouldStop(4194304); +_cat_gp_dirigida4 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA4")))))));Debug.locals.put("CAT_GP_DIRIGIDA4", _cat_gp_dirigida4);Debug.locals.put("CAT_GP_DIRIGIDA4", _cat_gp_dirigida4); + BA.debugLineNum = 2040;BA.debugLine="Dim CAT_GP_DIRIGIDA5 As String = records(RESU"; +Debug.ShouldStop(8388608); +_cat_gp_dirigida5 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA5")))))));Debug.locals.put("CAT_GP_DIRIGIDA5", _cat_gp_dirigida5);Debug.locals.put("CAT_GP_DIRIGIDA5", _cat_gp_dirigida5); + BA.debugLineNum = 2041;BA.debugLine="Dim CAT_GP_DIRIGIDA6 As String = records(RESU"; +Debug.ShouldStop(16777216); +_cat_gp_dirigida6 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA6")))))));Debug.locals.put("CAT_GP_DIRIGIDA6", _cat_gp_dirigida6);Debug.locals.put("CAT_GP_DIRIGIDA6", _cat_gp_dirigida6); + BA.debugLineNum = 2042;BA.debugLine="Dim CAT_GP_DIRIGIDA7 As String = records(RESU"; +Debug.ShouldStop(33554432); +_cat_gp_dirigida7 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA7")))))));Debug.locals.put("CAT_GP_DIRIGIDA7", _cat_gp_dirigida7);Debug.locals.put("CAT_GP_DIRIGIDA7", _cat_gp_dirigida7); + BA.debugLineNum = 2043;BA.debugLine="Dim CAT_GP_DIRIGIDA8 As String = records(RESU"; +Debug.ShouldStop(67108864); +_cat_gp_dirigida8 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA8")))))));Debug.locals.put("CAT_GP_DIRIGIDA8", _cat_gp_dirigida8);Debug.locals.put("CAT_GP_DIRIGIDA8", _cat_gp_dirigida8); + BA.debugLineNum = 2044;BA.debugLine="Dim CAT_GP_DIRIGIDA9 As String = records(RESU"; +Debug.ShouldStop(134217728); +_cat_gp_dirigida9 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA9")))))));Debug.locals.put("CAT_GP_DIRIGIDA9", _cat_gp_dirigida9);Debug.locals.put("CAT_GP_DIRIGIDA9", _cat_gp_dirigida9); + BA.debugLineNum = 2045;BA.debugLine="Dim CAT_GP_DIRIGIDA10 As String = records(RES"; +Debug.ShouldStop(268435456); +_cat_gp_dirigida10 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA10")))))));Debug.locals.put("CAT_GP_DIRIGIDA10", _cat_gp_dirigida10);Debug.locals.put("CAT_GP_DIRIGIDA10", _cat_gp_dirigida10); + BA.debugLineNum = 2046;BA.debugLine="Dim CAT_GP_DIRIGIDA11 As String = records(RES"; +Debug.ShouldStop(536870912); +_cat_gp_dirigida11 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_DP_DIRIGIDA11")))))));Debug.locals.put("CAT_GP_DIRIGIDA11", _cat_gp_dirigida11);Debug.locals.put("CAT_GP_DIRIGIDA11", _cat_gp_dirigida11); + BA.debugLineNum = 2049;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T"; +Debug.ShouldStop(1); +_cat_gp_nombre = _cat_gp_nombre.runMethod(true,"trim");Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre); + BA.debugLineNum = 2050;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(2); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_IMP1, CAT_GP_IMP2, CAT_GP_CLASIF, CAT_GP_STS, CAT_GP_TIPO, CAT_GP_SUBTIPO, CAT_GP_IMG, CAT_GP_ALMACEN, CAT_GP_DEV, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA, CAT_GP_TIPOPROD2, CAT_GP_PRECIO1, CAT_GP_PRECIO2, CAT_GP_PRECIO3, CAT_GP_PRECIO4, CAT_GP_PRECIO5, CAT_GP_PRECIO6, CAT_GP_PRECIO7, CAT_GP_PRECIO8, CAT_GP_PRECIO9, CAT_GP_PRECIO10, CAT_GP_PRECIO11, CAT_GP_PRESENTACION1, CAT_GP_PRESENTACION2, CAT_GP_PRESENTACION3, CAT_GP_PRESENTACION4, CAT_GP_PRESENTACION5, CAT_GP_PRESENTACION6, CAT_GP_PRESENTACION7, CAT_GP_PRESENTACION8, CAT_GP_PRESENTACION9, CAT_GP_PRESENTACION10, CAT_GP_PRESENTACION11, CAT_GP_UMV1, CAT_GP_UMV2, CAT_GP_UMV3, CAT_GP_UMV4, CAT_GP_UMV5, CAT_GP_UMV6, CAT_GP_UMV7, CAT_GP_UMV8, CAT_GP_UMV9, CAT_GP_UMV10, CAT_GP_UMV11, CAT_GP_DIRIGIDA1, CAT_GP_DIRIGIDA2, CAT_GP_DIRIGIDA3, CAT_GP_DIRIGIDA4, CAT_GP_DIRIGIDA5, CAT_GP_DIRIGIDA6, CAT_GP_DIRIGIDA7, CAT_GP_DIRIGIDA8, CAT_GP_DIRIGIDA9, CAT_GP_DIRIGIDA10, CAT_GP_DIRIGIDA11) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {58},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_dev),(_cat_gp_tipoprod),(_cat_gp_iniciativa),(_cat_gp_tipoprod2),(_cat_gp_precio1),(_cat_gp_precio2),(_cat_gp_precio3),(_cat_gp_precio4),(_cat_gp_precio5),(_cat_gp_precio6),(_cat_gp_precio7),(_cat_gp_precio8),(_cat_gp_precio9),(_cat_gp_precio10),(_cat_gp_precio11),(_cat_gp_presentacion1),(_cat_gp_presentacion2),(_cat_gp_presentacion3),(_cat_gp_presentacion4),(_cat_gp_presentacion5),(_cat_gp_presentacion6),(_cat_gp_presentacion7),(_cat_gp_presentacion8),(_cat_gp_presentacion9),(_cat_gp_presentacion10),(_cat_gp_presentacion11),(_cat_gp_umv1),(_cat_gp_umv2),(_cat_gp_umv3),(_cat_gp_umv4),(_cat_gp_umv5),(_cat_gp_umv6),(_cat_gp_umv7),(_cat_gp_umv8),(_cat_gp_umv9),(_cat_gp_umv10),(_cat_gp_umv11),(_cat_gp_dirigida1),(_cat_gp_dirigida2),(_cat_gp_dirigida3),(_cat_gp_dirigida4),(_cat_gp_dirigida5),(_cat_gp_dirigida6),(_cat_gp_dirigida7),(_cat_gp_dirigida8),(_cat_gp_dirigida9),(_cat_gp_dirigida10),(_cat_gp_dirigida11)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2053;BA.debugLine="Listo2=1"; +Debug.ShouldStop(16); +__ref.setField ("_listo2" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 2054;BA.debugLine="If PB2.Progress = 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2055;BA.debugLine="PB2.Progress = 30"; +Debug.ShouldStop(64); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2056;BA.debugLine="S_CP.Text = \"CARGANDO\""; +Debug.ShouldStop(128); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 2057;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2058;BA.debugLine="PB2.Progress = 60"; +Debug.ShouldStop(512); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2059;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2060;BA.debugLine="PB2.Progress = 100"; +Debug.ShouldStop(2048); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2061;BA.debugLine="S_CP.Text = \"LISTO\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + BA.debugLineNum = 2063;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Productos Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));}; + BA.debugLineNum = 2064;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(32768); +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 = 2065;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(65536); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 2066;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2067;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(262144); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + }; + }; + BA.debugLineNum = 2072;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2073;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(16777216); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2074;BA.debugLine="If RESULT.Tag = \"gunaprodp\" Then 'query tag"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprodp")))) { + BA.debugLineNum = 2075;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(67108864); +{ +final RemoteObject group580 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen580 = group580.runMethod(true,"getSize").get() +;int index580 = 0; +; +for (; index580 < groupLen580;index580++){ +_records = (group580.runMethod(false,"Get",index580));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2076;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(134217728); +_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 = 2077;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(268435456); +_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 = 2078;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; +Debug.ShouldStop(536870912); +_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 = 2079;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; +Debug.ShouldStop(1073741824); +_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 = 2080;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; +Debug.ShouldStop(-2147483648); +_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 = 2081;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; +Debug.ShouldStop(1); +_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 = 2082;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; +Debug.ShouldStop(2); +_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 = 2083;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; +Debug.ShouldStop(4); +_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 = 2084;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; +Debug.ShouldStop(8); +_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 = 2085;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; +Debug.ShouldStop(16); +_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 = 2086;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; +Debug.ShouldStop(32); +_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 = 2087;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; +Debug.ShouldStop(64); +_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 = 2088;BA.debugLine="CAT_GP_TIPOPROD = \"5\""; +Debug.ShouldStop(128); +_cat_gp_tipoprod = BA.numberCast(int.class, "5");Debug.locals.put("CAT_GP_TIPOPROD", _cat_gp_tipoprod); + BA.debugLineNum = 2089;BA.debugLine="If CAT_GP_ID = \"PAQUNI003\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_cat_gp_id,BA.ObjectToString("PAQUNI003"))) { + BA.debugLineNum = 2090;BA.debugLine="CAT_GP_ALMACEN = 60"; +Debug.ShouldStop(512); +_cat_gp_almacen = BA.numberCast(int.class, 60);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen); + }; + BA.debugLineNum = 2093;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T"; +Debug.ShouldStop(4096); +_cat_gp_nombre = _cat_gp_nombre.runMethod(true,"trim");Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre); + BA.debugLineNum = 2094;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(8192); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO1,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_precio),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_tipoprod)}))))); + BA.debugLineNum = 2095;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(16384); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO1,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_precio),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_tipoprod)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2099;BA.debugLine="If PB2.Progress = 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2100;BA.debugLine="PB2.Progress = 30"; +Debug.ShouldStop(524288); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2101;BA.debugLine="S_CP.Text = \"CARGANDO\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 2102;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2103;BA.debugLine="PB2.Progress = 60"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2104;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2105;BA.debugLine="PB2.Progress = 100"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2106;BA.debugLine="S_CP.Text = \"LISTO\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + BA.debugLineNum = 2108;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Promociones Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));}; + BA.debugLineNum = 2109;BA.debugLine="Listo4=1"; +Debug.ShouldStop(268435456); +__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 2110;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(536870912); +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 = 2111;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 2112;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2113;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(1); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }else +{ BA.debugLineNum = 2114;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 = 2115;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(4); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 2116;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(8); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2117;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(16); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }} +; + }; + }; + BA.debugLineNum = 2122;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2123;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(1024); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2124;BA.debugLine="If RESULT.Tag = \"gunaprodps\" Then 'query tag"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("gunaprodps")))) { + BA.debugLineNum = 2125;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(4096); +{ +final RemoteObject group626 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen626 = group626.runMethod(true,"getSize").get() +;int index626 = 0; +; +for (; index626 < groupLen626;index626++){ +_records = (group626.runMethod(false,"Get",index626));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2127;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(16384); +_cat_gp_id = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ID")))))));Debug.locals.put("CAT_GP_ID", _cat_gp_id);Debug.locals.put("CAT_GP_ID", _cat_gp_id); + BA.debugLineNum = 2128;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; +Debug.ShouldStop(32768); +_cat_gp_nombre = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_NOMBRE")))))));Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre); + BA.debugLineNum = 2129;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; +Debug.ShouldStop(65536); +_cat_gp_imp1 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP1")))))));Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1);Debug.locals.put("CAT_GP_IMP1", _cat_gp_imp1); + BA.debugLineNum = 2130;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; +Debug.ShouldStop(131072); +_cat_gp_imp2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP2")))))));Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2);Debug.locals.put("CAT_GP_IMP2", _cat_gp_imp2); + BA.debugLineNum = 2131;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; +Debug.ShouldStop(262144); +_cat_gp_precio = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_PRECIO")))))));Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio);Debug.locals.put("CAT_GP_PRECIO", _cat_gp_precio); + BA.debugLineNum = 2132;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; +Debug.ShouldStop(524288); +_cat_gp_clasif = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_CLASIF")))))));Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif);Debug.locals.put("CAT_GP_CLASIF", _cat_gp_clasif); + BA.debugLineNum = 2133;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; +Debug.ShouldStop(1048576); +_cat_gp_sts = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_STS")))))));Debug.locals.put("CAT_GP_STS", _cat_gp_sts);Debug.locals.put("CAT_GP_STS", _cat_gp_sts); + BA.debugLineNum = 2134;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; +Debug.ShouldStop(2097152); +_cat_gp_tipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_TIPO")))))));Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo);Debug.locals.put("CAT_GP_TIPO", _cat_gp_tipo); + BA.debugLineNum = 2135;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; +Debug.ShouldStop(4194304); +_cat_gp_subtipo = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_SUBTIPO")))))));Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo);Debug.locals.put("CAT_GP_SUBTIPO", _cat_gp_subtipo); + BA.debugLineNum = 2136;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; +Debug.ShouldStop(8388608); +_cat_gp_img = (_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMG")))))));Debug.locals.put("CAT_GP_IMG", _cat_gp_img);Debug.locals.put("CAT_GP_IMG", _cat_gp_img); + BA.debugLineNum = 2137;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; +Debug.ShouldStop(16777216); +_cat_gp_almacen = BA.numberCast(int.class, _records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ALMACEN")))))));Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen);Debug.locals.put("CAT_GP_ALMACEN", _cat_gp_almacen); + BA.debugLineNum = 2138;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; +Debug.ShouldStop(33554432); +_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 = 2139;BA.debugLine="Log(\"XXXXXXXX gunaprodps XXXXXXXX \" & record"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethod ("LogImpl","514025429",RemoteObject.concat(RemoteObject.createImmutable("XXXXXXXX gunaprodps XXXXXXXX "),_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_ID")))))),RemoteObject.createImmutable("|"),_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_GP_IMP1"))))))),0); + BA.debugLineNum = 2140;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T"; +Debug.ShouldStop(134217728); +_cat_gp_nombre = _cat_gp_nombre.runMethod(true,"trim");Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre);Debug.locals.put("CAT_GP_NOMBRE", _cat_gp_nombre); + BA.debugLineNum = 2141;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(268435456); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_GUNAPROD(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO1,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(_cat_gp_id),(_cat_gp_nombre),(_cat_gp_imp1),(_cat_gp_imp2),(_cat_gp_precio),(_cat_gp_clasif),(_cat_gp_sts),(_cat_gp_tipo),(_cat_gp_subtipo),(_cat_gp_img),(_cat_gp_almacen),(_cat_gp_tipoprod)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2145;BA.debugLine="If PB2.Progress = 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2146;BA.debugLine="PB2.Progress = 30"; +Debug.ShouldStop(2); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2147;BA.debugLine="S_CP.Text = \"CARGANDO\""; +Debug.ShouldStop(4); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + BA.debugLineNum = 2148;BA.debugLine="Log(\"C4\")"; +Debug.ShouldStop(8); +c_principal.__c.runVoidMethod ("LogImpl","514025438",RemoteObject.createImmutable("C4"),0); + }else +{ BA.debugLineNum = 2149;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2150;BA.debugLine="PB2.Progress = 60"; +Debug.ShouldStop(32); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2151;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2152;BA.debugLine="PB2.Progress = 100"; +Debug.ShouldStop(128); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2153;BA.debugLine="S_CP.Text = \"LISTO\""; +Debug.ShouldStop(256); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + BA.debugLineNum = 2154;BA.debugLine="Log(\"3\")"; +Debug.ShouldStop(512); +c_principal.__c.runVoidMethod ("LogImpl","514025444",RemoteObject.createImmutable("3"),0); + }}} +; + BA.debugLineNum = 2156;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Promociones especiales Actualizados.")),(Object)(c_principal.__c.getField(true,"True")));}; + BA.debugLineNum = 2158;BA.debugLine="Listo4=1"; +Debug.ShouldStop(8192); +__ref.setField ("_listo4" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 2159;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 = 2160;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(32768); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 2161;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2162;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(131072); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }else +{ BA.debugLineNum = 2163;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_listo4" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_listo3" /*RemoteObject*/ ),BA.NumberToString(1)) && RemoteObject.solveBoolean("=",__ref.getField(true,"_inve" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 2164;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(524288); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 2165;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2166;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(2097152); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }} +; + }; + }; + BA.debugLineNum = 2171;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2172;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(134217728); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2173;BA.debugLine="If RESULT.Tag = \"detallepaq\" Then 'query tag"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("detallepaq")))) { + BA.debugLineNum = 2174;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(536870912); +{ +final RemoteObject group670 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen670 = group670.runMethod(true,"getSize").get() +;int index670 = 0; +; +for (; index670 < groupLen670;index670++){ +_records = (group670.runMethod(false,"Get",index670));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2175;BA.debugLine="Dim CAT_DP_ALMACEN As String = records(RESUL"; +Debug.ShouldStop(1073741824); +_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 = 2176;BA.debugLine="Dim CAT_DP_ID As String = records(RESULT.Colu"; +Debug.ShouldStop(-2147483648); +_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 = 2177;BA.debugLine="Dim CAT_DP_IDPROD As String = records(RESULT."; +Debug.ShouldStop(1); +_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 = 2178;BA.debugLine="Dim CAT_DP_TIPO As String = records(RESULT.Co"; +Debug.ShouldStop(2); +_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 = 2179;BA.debugLine="Dim CAT_DP_PZAS As String = records(RESULT.Co"; +Debug.ShouldStop(4); +_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 = 2180;BA.debugLine="Dim CAT_DP_USUARIO As String = records(RESUL"; +Debug.ShouldStop(8); +_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 = 2181;BA.debugLine="Dim CAT_DP_FECHA As String = records(RESULT.C"; +Debug.ShouldStop(16); +_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 = 2182;BA.debugLine="Dim CAT_DP_REGALO As String = records(RESULT"; +Debug.ShouldStop(32); +_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 = 2183;BA.debugLine="Dim CAT_DP_CLASIF As String = records(RESULT"; +Debug.ShouldStop(64); +_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 = 2184;BA.debugLine="Dim CAT_DP_PRECIO As String = records(RESULT."; +Debug.ShouldStop(128); +_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 = 2185;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records"; +Debug.ShouldStop(256); +_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 = 2186;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(512); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_DETALLES_PAQ(CAT_DP_ALMACEN,CAT_DP_ID,CAT_DP_IDPROD,CAT_DP_TIPO,CAT_DP_PZAS,CAT_DP_USUARIO,CAT_DP_FECHA,CAT_DP_REGALO,CAT_DP_CLASIF,CAT_DP_PRECIO,CAT_DP_PRECIO_SIMPTOS) VALUES (?,?,?,?,?,?,?,?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(_cat_dp_almacen),(_cat_dp_id),(_cat_dp_idprod),(_cat_dp_tipo),(_cat_dp_pzas),(_cat_dp_usuario),(_cat_dp_fecha),(_cat_dp_regalo),(_cat_dp_clasif),(_cat_dp_precio),(_cat_dp_precio_simptos)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2188;BA.debugLine="If PB2.Progress = 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2189;BA.debugLine="PB2.Progress = 30"; +Debug.ShouldStop(4096); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2190;BA.debugLine="S_CP.Text = \"CARGANDO\""; +Debug.ShouldStop(8192); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 2191;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2192;BA.debugLine="PB2.Progress = 60"; +Debug.ShouldStop(32768); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2193;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2194;BA.debugLine="PB2.Progress = 100"; +Debug.ShouldStop(131072); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2195;BA.debugLine="S_CP.Text = \"LISTO\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + BA.debugLineNum = 2197;BA.debugLine="Listo3 =1"; +Debug.ShouldStop(1048576); +__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 2198;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; +Debug.ShouldStop(2097152); +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 = 2199;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 2200;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2201;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(16777216); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }else +{ BA.debugLineNum = 2202;BA.debugLine="Else If Listo4 = 1 And Listo3 = 1 And inve = 1"; +Debug.ShouldStop(33554432); +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 = 2203;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 2204;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2205;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(268435456); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }} +; + }; + }; + BA.debugLineNum = 2211;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2212;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(8); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2213;BA.debugLine="If RESULT.Tag = \"hist_datos\" Then 'query tag"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("hist_datos")))) { + BA.debugLineNum = 2214;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(32); +{ +final RemoteObject group708 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen708 = group708.runMethod(true,"getSize").get() +;int index708 = 0; +; +for (; index708 < groupLen708;index708++){ +_records = (group708.runMethod(false,"Get",index708));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2215;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co"; +Debug.ShouldStop(64); +_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 = 2216;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT."; +Debug.ShouldStop(128); +_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 = 2217;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum"; +Debug.ShouldStop(256); +_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 = 2218;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT."; +Debug.ShouldStop(512); +_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 = 2219;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1024); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT) VALUES (?,?,?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {4},new Object[] {(_hvd_cliente),(_hvd_pronombre),(_hvd_cant),(_hvd_costo_tot)}))))); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2221;BA.debugLine="Listo3 =1"; +Debug.ShouldStop(4096); +__ref.setField ("_listo3" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 2222;BA.debugLine="If PB1.Progress = 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2223;BA.debugLine="PB1.Progress = 30"; +Debug.ShouldStop(16384); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 30)); + BA.debugLineNum = 2224;BA.debugLine="S_CH.Text = \"CARGANDO\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CARGANDO")); + }else +{ BA.debugLineNum = 2225;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 30))) { + BA.debugLineNum = 2226;BA.debugLine="PB1.Progress = 60"; +Debug.ShouldStop(131072); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 60)); + }else +{ BA.debugLineNum = 2227;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 60))) { + BA.debugLineNum = 2228;BA.debugLine="PB1.Progress = 100"; +Debug.ShouldStop(524288); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2229;BA.debugLine="S_CH.Text = \"LISTO\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("LISTO")); + }}} +; + BA.debugLineNum = 2231;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Venta historico Actualizado.")),(Object)(c_principal.__c.getField(true,"True")));}; + BA.debugLineNum = 2232;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 = 2233;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 2234;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2235;BA.debugLine="EJECUTANDO=0"; +Debug.ShouldStop(67108864); +__ref.setField ("_ejecutando" /*RemoteObject*/ ,BA.NumberToString(0)); + }; + }; + }; + BA.debugLineNum = 2240;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2241;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(1); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2242;BA.debugLine="If RESULT.Tag = \"variables\" Then 'query tag"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("variables")))) { + BA.debugLineNum = 2243;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(4); +{ +final RemoteObject group736 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen736 = group736.runMethod(true,"getSize").get() +;int index736 = 0; +; +for (; index736 < groupLen736;index736++){ +_records = (group736.runMethod(false,"Get",index736));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2244;BA.debugLine="Dim Cat_Va_Descripcion As String = records(RE"; +Debug.ShouldStop(8); +_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 = 2245;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C"; +Debug.ShouldStop(16); +_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 = 2246;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(32); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cat_va_descripcion),(_cat_va_valor)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2251;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2252;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(2048); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2253;BA.debugLine="If RESULT.Tag = \"CUESTIONARIO\" Then 'query tag"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("CUESTIONARIO")))) { + BA.debugLineNum = 2254;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(8192); +{ +final RemoteObject group746 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen746 = group746.runMethod(true,"getSize").get() +;int index746 = 0; +; +for (; index746 < groupLen746;index746++){ +_records = (group746.runMethod(false,"Get",index746));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2255;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C"; +Debug.ShouldStop(16384); +_cat_va_valor = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_VALOR")))))));Debug.locals.put("Cat_Va_Valor", _cat_va_valor);Debug.locals.put("Cat_Va_Valor", _cat_va_valor); + BA.debugLineNum = 2256;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE"; +Debug.ShouldStop(32768); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("CUESTIONARIO"))}))))); + BA.debugLineNum = 2257;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("CUESTIONARIO")),(_cat_va_valor)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2262;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2263;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(4194304); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2264;BA.debugLine="If RESULT.Tag = \"valida_pedido\" Then 'query tag"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_pedido")))) { + BA.debugLineNum = 2265;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(16777216); +{ +final RemoteObject group756 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen756 = group756.runMethod(true,"getSize").get() +;int index756 = 0; +; +for (; index756 < groupLen756;index756++){ +_records = (group756.runMethod(false,"Get",index756));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2266;BA.debugLine="Dim CUANTOSP As Int = records(RESULT.Columns."; +Debug.ShouldStop(33554432); +_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 = 2267;BA.debugLine="If cuantos_pedido <= CUANTOSP Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("k",BA.numberCast(double.class, __ref.getField(true,"_cuantos_pedido" /*RemoteObject*/ )),BA.numberCast(double.class, _cuantosp))) { + BA.debugLineNum = 2269;BA.debugLine="datos_iguales = \"ok\""; +Debug.ShouldStop(268435456); +__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok")); + BA.debugLineNum = 2270;BA.debugLine="S_CP.Text = \"INFO OK\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("INFO OK")); + }else { + BA.debugLineNum = 2272;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se cargo bien la info P. Sync Nuevamente"),_cuantosp,RemoteObject.createImmutable(" "),__ref.getField(true,"_cuantos_pedido" /*RemoteObject*/ )))),(Object)(c_principal.__c.getField(true,"True")));}; + BA.debugLineNum = 2273;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-2)\""; +Debug.ShouldStop(1); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ENVIAR DATOS (K-2)")); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2279;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2280;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(128); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2281;BA.debugLine="If RESULT.Tag = \"valida_pedidoc\" Then 'query ta"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_pedidoc")))) { + BA.debugLineNum = 2282;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(512); +{ +final RemoteObject group771 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen771 = group771.runMethod(true,"getSize").get() +;int index771 = 0; +; +for (; index771 < groupLen771;index771++){ +_records = (group771.runMethod(false,"Get",index771));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2283;BA.debugLine="Dim CUANTOSC As Int = records(RESULT.Columns."; +Debug.ShouldStop(1024); +_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 = 2284;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_pedidosc" /*RemoteObject*/ ),BA.NumberToString(_cuantosc))) { + BA.debugLineNum = 2286;BA.debugLine="datos_iguales = \"ok\""; +Debug.ShouldStop(8192); +__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok")); + }else { + BA.debugLineNum = 2288;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se cargo bien la info C. Sync Nuevamente"),_cuantosc,RemoteObject.createImmutable(" "),__ref.getField(true,"_cuantos_pedidosc" /*RemoteObject*/ )))),(Object)(c_principal.__c.getField(true,"True")));}; + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2294;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2295;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(4194304); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2296;BA.debugLine="If RESULT.Tag = \"valida_noventa\" Then 'query ta"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("valida_noventa")))) { + BA.debugLineNum = 2297;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(16777216); +{ +final RemoteObject group784 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen784 = group784.runMethod(true,"getSize").get() +;int index784 = 0; +; +for (; index784 < groupLen784;index784++){ +_records = (group784.runMethod(false,"Get",index784));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2298;BA.debugLine="Dim CUANTOSN As Int = records(RESULT.Columns."; +Debug.ShouldStop(33554432); +_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 = 2299;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_cuantos_noventa" /*RemoteObject*/ ),BA.NumberToString(_cuantosn))) { + BA.debugLineNum = 2301;BA.debugLine="datos_iguales = \"ok\""; +Debug.ShouldStop(268435456); +__ref.setField ("_datos_iguales" /*RemoteObject*/ ,BA.ObjectToString("ok")); + }else { + BA.debugLineNum = 2303;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se cargo bien la info N. Sync Nuevamente"),_cuantosn,RemoteObject.createImmutable(" "),__ref.getField(true,"_cuantos_noventa" /*RemoteObject*/ )))),(Object)(c_principal.__c.getField(true,"True")));}; + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2309;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2310;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(32); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2311;BA.debugLine="If RESULT.Tag = \"ins_pedido\" Then 'query tag"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ins_pedido")))) { + BA.debugLineNum = 2312;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(128); +{ +final RemoteObject group797 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen797 = group797.runMethod(true,"getSize").get() +;int index797 = 0; +; +for (; index797 < groupLen797;index797++){ +_records = (group797.runMethod(false,"Get",index797));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2313;BA.debugLine="PB2.Progress = PB2.Progress + 5"; +Debug.ShouldStop(256); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),RemoteObject.createImmutable(5)}, "+",1, 1)); + BA.debugLineNum = 2314;BA.debugLine="S_CP.Text = \"SUBIENDO\""; +Debug.ShouldStop(512); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("SUBIENDO")); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2316;BA.debugLine="PB2.Progress = 100"; +Debug.ShouldStop(2048); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 100)); + BA.debugLineNum = 2317;BA.debugLine="S_CP.Text = \"REVISANDO ...\""; +Debug.ShouldStop(4096); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("REVISANDO ...")); + BA.debugLineNum = 2318;BA.debugLine="Log(\"5\")"; +Debug.ShouldStop(8192); +c_principal.__c.runVoidMethod ("LogImpl","514025608",RemoteObject.createImmutable("5"),0); + }; + }; + BA.debugLineNum = 2322;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2323;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(262144); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2324;BA.debugLine="If RESULT.Tag = \"version\" Then 'query tag"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("version")))) { + BA.debugLineNum = 2325;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(1048576); +{ +final RemoteObject group809 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen809 = group809.runMethod(true,"getSize").get() +;int index809 = 0; +; +for (; index809 < groupLen809;index809++){ +_records = (group809.runMethod(false,"Get",index809));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2326;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +Debug.ShouldStop(2097152); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from VERSION"))); + BA.debugLineNum = 2327;BA.debugLine="Dim CAT_VE_VERSION As String = records(RESULT"; +Debug.ShouldStop(4194304); +_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 = 2328;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(8388608); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO 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 = 2333;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2334;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(536870912); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2335;BA.debugLine="If RESULT.Tag = \"count_cli\" Then 'query tag"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("count_cli")))) { + BA.debugLineNum = 2336;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(-2147483648); +{ +final RemoteObject group819 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen819 = group819.runMethod(true,"getSize").get() +;int index819 = 0; +; +for (; index819 < groupLen819;index819++){ +_records = (group819.runMethod(false,"Get",index819));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2337;BA.debugLine="COUNT_CLIE = records(RESULT.Columns.Get(\"COUN"; +Debug.ShouldStop(1); +__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 = 2342;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2343;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(64); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2344;BA.debugLine="If RESULT.Tag = \"ruta\" Then 'query tag"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ruta")))) { + BA.debugLineNum = 2345;BA.debugLine="Log(\"JOBDONE PRINCIPAL RUTA\")"; +Debug.ShouldStop(256); +c_principal.__c.runVoidMethod ("LogImpl","514025635",RemoteObject.createImmutable("JOBDONE PRINCIPAL RUTA"),0); + BA.debugLineNum = 2346;BA.debugLine="Log(RESULT.Rows.Size)"; +Debug.ShouldStop(512); +c_principal.__c.runVoidMethod ("LogImpl","514025636",BA.NumberToString(_result.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),0); + BA.debugLineNum = 2347;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(1024); +{ +final RemoteObject group829 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen829 = group829.runMethod(true,"getSize").get() +;int index829 = 0; +; +for (; index829 < groupLen829;index829++){ +_records = (group829.runMethod(false,"Get",index829));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2348;BA.debugLine="Dim VALIDO As String = records(RESULT.Columns"; +Debug.ShouldStop(2048); +_valido = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("VALIDO")))))));Debug.locals.put("VALIDO", _valido);Debug.locals.put("VALIDO", _valido); + BA.debugLineNum = 2349;BA.debugLine="Log(\"|\"&VALIDO)"; +Debug.ShouldStop(4096); +c_principal.__c.runVoidMethod ("LogImpl","514025639",RemoteObject.concat(RemoteObject.createImmutable("|"),_valido),0); + BA.debugLineNum = 2350;BA.debugLine="If VALIDO = \"OK\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_valido,BA.ObjectToString("OK"))) { + BA.debugLineNum = 2351;BA.debugLine="cargar.Visible = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2352;BA.debugLine="Subir.Visible = True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2353;BA.debugLine="inv.Visible = True"; +Debug.ShouldStop(65536); +__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2354;BA.debugLine="connecta.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2355;BA.debugLine="If conn = \"1\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_conn" /*RemoteObject*/ ),BA.ObjectToString("1"))) { + BA.debugLineNum = 2356;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; +Debug.ShouldStop(524288); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Existe Conexión con el Servidor.")),(Object)(c_principal.__c.getField(true,"True"))); + }; + }else { + BA.debugLineNum = 2359;BA.debugLine="cargar.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2360;BA.debugLine="Subir.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2361;BA.debugLine="inv.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_inv" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2362;BA.debugLine="connecta.Visible = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2363;BA.debugLine="ToastMessageShow(\"Ruta invalida.\" , True)"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Ruta invalida.")),(Object)(c_principal.__c.getField(true,"True"))); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2369;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2370;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(2); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2371;BA.debugLine="If RESULT.Tag = \"usuario\" Then 'query tag"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("usuario")))) { + BA.debugLineNum = 2372;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(8); +{ +final RemoteObject group853 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen853 = group853.runMethod(true,"getSize").get() +;int index853 = 0; +; +for (; index853 < groupLen853;index853++){ +_records = (group853.runMethod(false,"Get",index853));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2373;BA.debugLine="Dim name2 As String = records(RESULT.Columns."; +Debug.ShouldStop(16); +_name2 = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("VALIDO")))))));Debug.locals.put("name2", _name2);Debug.locals.put("name2", _name2); + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 2375;BA.debugLine="If name2 = \"OK\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_name2,BA.ObjectToString("OK"))) { + BA.debugLineNum = 2376;BA.debugLine="PASO = 1"; +Debug.ShouldStop(128); +__ref.setField ("_paso" /*RemoteObject*/ ,BA.NumberToString(1)); + }; + BA.debugLineNum = 2378;BA.debugLine="P1.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2379;BA.debugLine="p_mandaInfo.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + }; + }; + BA.debugLineNum = 2383;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2384;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +Debug.ShouldStop(32768); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2385;BA.debugLine="If RESULT.Tag = \"fecha\" Then 'query tag"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("fecha")))) { + BA.debugLineNum = 2386;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(131072); +{ +final RemoteObject group866 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen866 = group866.runMethod(true,"getSize").get() +;int index866 = 0; +; +for (; index866 < groupLen866;index866++){ +_records = (group866.runMethod(false,"Get",index866));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2387;BA.debugLine="Dim FECHA_HOY As String = records(RESULT.Colu"; +Debug.ShouldStop(262144); +_fecha_hoy = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("FECHA")))))));Debug.locals.put("FECHA_HOY", _fecha_hoy);Debug.locals.put("FECHA_HOY", _fecha_hoy); + BA.debugLineNum = 2388;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +Debug.ShouldStop(524288); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("FECHA"))}))))); + BA.debugLineNum = 2389;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1048576); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("FECHA")),(_fecha_hoy)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + }; + BA.debugLineNum = 2432;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2433;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; +Debug.ShouldStop(1); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2434;BA.debugLine="If RESULT.Tag = \"ins_cuestionario\" Then 'query t"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("ins_cuestionario")))) { + BA.debugLineNum = 2435;BA.debugLine="Subs.logJobDoneResultados(RESULT)"; +Debug.ShouldStop(4); +c_principal._subs.runVoidMethod ("_logjobdoneresultados" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_result)); + }; + BA.debugLineNum = 2438;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; +Debug.ShouldStop(32); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2439;BA.debugLine="If RESULT.Tag = \"test\" Then 'query tag"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("test")))) { + BA.debugLineNum = 2440;BA.debugLine="Log(\">>>>>>>>>>>>> TEST\")"; +Debug.ShouldStop(128); +c_principal.__c.runVoidMethod ("LogImpl","514025730",RemoteObject.createImmutable(">>>>>>>>>>>>> TEST"),0); + BA.debugLineNum = 2441;BA.debugLine="Subs.logJobDoneResultados(RESULT)"; +Debug.ShouldStop(256); +c_principal._subs.runVoidMethod ("_logjobdoneresultados" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_result)); + }; + BA.debugLineNum = 2444;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; +Debug.ShouldStop(2048); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2445;BA.debugLine="If RESULT.Tag = \"clientes_cuestionario\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("clientes_cuestionario")))) { + BA.debugLineNum = 2446;BA.debugLine="Log(\"Entramos a clientes_cuestionario - Regs:\""; +Debug.ShouldStop(8192); +c_principal.__c.runVoidMethod ("LogImpl","514025736",RemoteObject.concat(RemoteObject.createImmutable("Entramos a clientes_cuestionario - Regs:"),_result.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")),0); + BA.debugLineNum = 2447;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_CUE"; +Debug.ShouldStop(16384); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from HIST_CUESTIONARIO"))); + BA.debugLineNum = 2448;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(32768); +{ +final RemoteObject group888 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen888 = group888.runMethod(true,"getSize").get() +;int index888 = 0; +; +for (; index888 < groupLen888;index888++){ +_records = (group888.runMethod(false,"Get",index888));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2449;BA.debugLine="Dim idCliente As String = records(RESULT.Colum"; +Debug.ShouldStop(65536); +_idcliente = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("HC_CLIENTE")))))));Debug.locals.put("idCliente", _idcliente);Debug.locals.put("idCliente", _idcliente); + BA.debugLineNum = 2450;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_C"; +Debug.ShouldStop(131072); +c_principal._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_CUESTIONARIO(HC_CLIENTE) VALUES (?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_idcliente)}))))); + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2455;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 2456;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; +Debug.ShouldStop(8388608); +_result = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("RESULT", _result);Debug.locals.put("RESULT", _result); + BA.debugLineNum = 2457;BA.debugLine="If RESULT.Tag = \"telefono\" Then 'query tag"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_result.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("telefono")))) { + BA.debugLineNum = 2459;BA.debugLine="For Each records() As Object In RESULT.Rows"; +Debug.ShouldStop(67108864); +{ +final RemoteObject group897 = _result.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen897 = group897.runMethod(true,"getSize").get() +;int index897 = 0; +; +for (; index897 < groupLen897;index897++){ +_records = (group897.runMethod(false,"Get",index897));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2460;BA.debugLine="Dim TELEFONO As String = \"\""; +Debug.ShouldStop(134217728); +_telefono = BA.ObjectToString("");Debug.locals.put("TELEFONO", _telefono);Debug.locals.put("TELEFONO", _telefono); + BA.debugLineNum = 2462;BA.debugLine="If RESULT.Columns.Get(\"CAT_LO_IDTELEFONO\") <>"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("N",_result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_IDTELEFONO")))))) { + BA.debugLineNum = 2463;BA.debugLine="Dim index As Int = RESULT.Columns.Get(\"CAT_LO"; +Debug.ShouldStop(1073741824); +_index = BA.numberCast(int.class, _result.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_IDTELEFONO")))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 2464;BA.debugLine="If records(index) <> Null Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("N",_records.getArrayElement(false,_index))) { + BA.debugLineNum = 2465;BA.debugLine="TELEFONO = records(index)"; +Debug.ShouldStop(1); +_telefono = BA.ObjectToString(_records.getArrayElement(false,_index));Debug.locals.put("TELEFONO", _telefono); + }; + }; + BA.debugLineNum = 2469;BA.debugLine="If TELEFONO <> \"\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("!",_telefono,BA.ObjectToString(""))) { + BA.debugLineNum = 2470;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE"; +Debug.ShouldStop(32); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("TELEFONO"))}))))); + BA.debugLineNum = 2471;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(64); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("TELEFONO")),(_telefono)}))))); + }; + } +}Debug.locals.put("records", _records); +; + }; + }; + BA.debugLineNum = 2477;BA.debugLine="If resultado.Tag = \"nom_user\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_resultado.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("nom_user")))) { + BA.debugLineNum = 2478;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(8192); +{ +final RemoteObject group913 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen913 = group913.runMethod(true,"getSize").get() +;int index913 = 0; +; +for (; index913 < groupLen913;index913++){ +_records = (group913.runMethod(false,"Get",index913));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 2479;BA.debugLine="Dim nombre_user As String = records(resultado.C"; +Debug.ShouldStop(16384); +_nombre_user = BA.ObjectToString(_records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("CAT_LO_NOMBRE")))))));Debug.locals.put("nombre_user", _nombre_user);Debug.locals.put("nombre_user", _nombre_user); + BA.debugLineNum = 2480;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FR"; +Debug.ShouldStop(32768); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("nom_usuario"))}))))); + BA.debugLineNum = 2481;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +Debug.ShouldStop(65536); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO 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(("nom_usuario")),(_nombre_user)}))))); + } +}Debug.locals.put("records", _records); +; + }; + BA.debugLineNum = 2485;BA.debugLine="Job.Release"; +Debug.ShouldStop(1048576); +_job.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 2486;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mapfragment1_longclick(RemoteObject __ref,RemoteObject _mpoint) throws Exception{ +try { + Debug.PushSubsStack("MapFragment1_LongClick (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,698); +if (RapidSub.canDelegate("mapfragment1_longclick")) { return __ref.runUserSub(false, "c_principal","mapfragment1_longclick", __ref, _mpoint);} +RemoteObject _dentro = RemoteObject.createImmutable(false); +Debug.locals.put("mPoint", _mpoint); + BA.debugLineNum = 698;BA.debugLine="Sub MapFragment1_LongClick (mPoint As LatLng)"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 700;BA.debugLine="If lista_punta.Size > 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_lista_punta" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 701;BA.debugLine="Dim dentro As Boolean = PointInPolygon(mPoint, l"; +Debug.ShouldStop(268435456); +_dentro = __ref.runClassMethod (SHARK2.keymon.com.mx.c_principal.class, "_pointinpolygon" /*RemoteObject*/ ,(Object)(_mpoint),(Object)(__ref.getField(false,"_lista_punta" /*RemoteObject*/ )));Debug.locals.put("dentro", _dentro);Debug.locals.put("dentro", _dentro); + BA.debugLineNum = 703;BA.debugLine="If dentro Then"; +Debug.ShouldStop(1073741824); +if (_dentro.get().booleanValue()) { + BA.debugLineNum = 704;BA.debugLine="ToastMessageShow(\"El punto está DENTRO del polí"; +Debug.ShouldStop(-2147483648); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("El punto está DENTRO del polígono")),(Object)(c_principal.__c.getField(true,"True"))); + }else { + BA.debugLineNum = 706;BA.debugLine="ToastMessageShow(\"El punto está FUERA del políg"; +Debug.ShouldStop(2); +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("El punto está FUERA del polígono")),(Object)(c_principal.__c.getField(true,"True"))); + }; + }; + BA.debugLineNum = 709;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _nuevo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("NUEVO_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2816); +if (RapidSub.canDelegate("nuevo_click")) { return __ref.runUserSub(false, "c_principal","nuevo_click", __ref);} +RemoteObject _mpoint = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); + BA.debugLineNum = 2816;BA.debugLine="Sub NUEVO_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 2820;BA.debugLine="Dim mPoint As LatLng"; +Debug.ShouldStop(8); +_mpoint = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");Debug.locals.put("mPoint", _mpoint); + BA.debugLineNum = 2821;BA.debugLine="mPoint.Initialize(B4XPages.MainPage.lat_gps, B4XP"; +Debug.ShouldStop(16); +_mpoint.runVoidMethod ("Initialize",(Object)(BA.numberCast(double.class, c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))),(Object)(BA.numberCast(double.class, c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )))); + BA.debugLineNum = 2828;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NuevoCliente"))); + BA.debugLineNum = 2834;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _nvo_cliente_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("nvo_cliente_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3062); +if (RapidSub.canDelegate("nvo_cliente_click")) { return __ref.runUserSub(false, "c_principal","nvo_cliente_click", __ref);} +RemoteObject _mpoint = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); + BA.debugLineNum = 3062;BA.debugLine="Sub nvo_cliente_Click"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 3065;BA.debugLine="Dim mPoint As LatLng"; +Debug.ShouldStop(16777216); +_mpoint = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");Debug.locals.put("mPoint", _mpoint); + BA.debugLineNum = 3066;BA.debugLine="mPoint.Initialize(B4XPages.MainPage.lat_gps, B4XP"; +Debug.ShouldStop(33554432); +_mpoint.runVoidMethod ("Initialize",(Object)(BA.numberCast(double.class, c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))),(Object)(BA.numberCast(double.class, c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )))); + BA.debugLineNum = 3073;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +Debug.ShouldStop(1); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("NuevoCliente"))); + BA.debugLineNum = 3078;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_mandainfo_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_mandaInfo_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3269); +if (RapidSub.canDelegate("p_mandainfo_click")) { return __ref.runUserSub(false, "c_principal","p_mandainfo_click", __ref);} + BA.debugLineNum = 3269;BA.debugLine="Private Sub p_mandaInfo_Click"; +Debug.ShouldStop(16); + BA.debugLineNum = 3271;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +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,3414); +if (RapidSub.canDelegate("p_prod_click")) { return __ref.runUserSub(false, "c_principal","p_prod_click", __ref);} + BA.debugLineNum = 3414;BA.debugLine="Private Sub p_prod_Click"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 3416;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_resumen_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("P_RESUMEN_click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2860); +if (RapidSub.canDelegate("p_resumen_click")) { return __ref.runUserSub(false, "c_principal","p_resumen_click", __ref);} + BA.debugLineNum = 2860;BA.debugLine="Sub P_RESUMEN_click"; +Debug.ShouldStop(2048); + BA.debugLineNum = 2862;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pnlcobranza_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("pnlCobranza_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3400); +if (RapidSub.canDelegate("pnlcobranza_click")) { return __ref.runUserSub(false, "c_principal","pnlcobranza_click", __ref);} + BA.debugLineNum = 3400;BA.debugLine="Private Sub pnlCobranza_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 3402;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pointinpolygon(RemoteObject __ref,RemoteObject _point,RemoteObject _polygon) throws Exception{ +try { + Debug.PushSubsStack("PointInPolygon (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,672); +if (RapidSub.canDelegate("pointinpolygon")) { return __ref.runUserSub(false, "c_principal","pointinpolygon", __ref, _point, _polygon);} +RemoteObject _x = RemoteObject.createImmutable(0); +RemoteObject _y = RemoteObject.createImmutable(0); +RemoteObject _inside = RemoteObject.createImmutable(false); +int _i = 0; +RemoteObject _j = RemoteObject.createImmutable(0); +RemoteObject _p1_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +RemoteObject _p2_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +RemoteObject _xi = RemoteObject.createImmutable(0); +RemoteObject _yi = RemoteObject.createImmutable(0); +RemoteObject _xj = RemoteObject.createImmutable(0); +RemoteObject _yj = RemoteObject.createImmutable(0); +RemoteObject _intersect = RemoteObject.createImmutable(false); +Debug.locals.put("point", _point); +Debug.locals.put("polygon", _polygon); + BA.debugLineNum = 672;BA.debugLine="Sub PointInPolygon(point As LatLng, polygon As Lis"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 673;BA.debugLine="Dim x As Double = point.Longitude"; +Debug.ShouldStop(1); +_x = _point.runMethod(true,"getLongitude");Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 674;BA.debugLine="Dim y As Double = point.Latitude"; +Debug.ShouldStop(2); +_y = _point.runMethod(true,"getLatitude");Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 676;BA.debugLine="Dim inside As Boolean = False"; +Debug.ShouldStop(8); +_inside = c_principal.__c.getField(true,"False");Debug.locals.put("inside", _inside);Debug.locals.put("inside", _inside); + BA.debugLineNum = 677;BA.debugLine="For i = 0 To polygon.Size - 1"; +Debug.ShouldStop(16); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_polygon.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 678;BA.debugLine="Dim j As Int = (i + 1) Mod polygon.Size"; +Debug.ShouldStop(32); +_j = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1)),_polygon.runMethod(true,"getSize")}, "%",0, 1);Debug.locals.put("j", _j);Debug.locals.put("j", _j); + BA.debugLineNum = 679;BA.debugLine="Dim p1_1 As LatLng = polygon.Get(i)"; +Debug.ShouldStop(64); +_p1_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +_p1_1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"), _polygon.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("p1_1", _p1_1);Debug.locals.put("p1_1", _p1_1); + BA.debugLineNum = 680;BA.debugLine="Dim p2_1 As LatLng = polygon.Get(j)"; +Debug.ShouldStop(128); +_p2_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +_p2_1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"), _polygon.runMethod(false,"Get",(Object)(_j)));Debug.locals.put("p2_1", _p2_1);Debug.locals.put("p2_1", _p2_1); + BA.debugLineNum = 682;BA.debugLine="Dim xi As Double = p1_1.Longitude"; +Debug.ShouldStop(512); +_xi = _p1_1.runMethod(true,"getLongitude");Debug.locals.put("xi", _xi);Debug.locals.put("xi", _xi); + BA.debugLineNum = 683;BA.debugLine="Dim yi As Double = p1_1.Latitude"; +Debug.ShouldStop(1024); +_yi = _p1_1.runMethod(true,"getLatitude");Debug.locals.put("yi", _yi);Debug.locals.put("yi", _yi); + BA.debugLineNum = 684;BA.debugLine="Dim xj As Double = p2_1.Longitude"; +Debug.ShouldStop(2048); +_xj = _p2_1.runMethod(true,"getLongitude");Debug.locals.put("xj", _xj);Debug.locals.put("xj", _xj); + BA.debugLineNum = 685;BA.debugLine="Dim yj As Double = p2_1.Latitude"; +Debug.ShouldStop(4096); +_yj = _p2_1.runMethod(true,"getLatitude");Debug.locals.put("yj", _yj);Debug.locals.put("yj", _yj); + BA.debugLineNum = 687;BA.debugLine="Dim intersect As Boolean = ((yi > y) <> (yj > y)"; +Debug.ShouldStop(16384); +_intersect = BA.ObjectToBoolean(RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("!",RemoteObject.createImmutable((RemoteObject.solveBoolean(">",_yi,_y))),BA.ObjectToBoolean((RemoteObject.solveBoolean(">",_yj,_y))))))) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("<",_x,RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_xj,_xi}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {_y,_yi}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {_yj,_yi}, "-",1, 0)),_xi}, "*/+",1, 0))))));Debug.locals.put("intersect", _intersect);Debug.locals.put("intersect", _intersect); + BA.debugLineNum = 688;BA.debugLine="If intersect Then"; +Debug.ShouldStop(32768); +if (_intersect.get().booleanValue()) { + BA.debugLineNum = 689;BA.debugLine="inside = Not(inside)"; +Debug.ShouldStop(65536); +_inside = c_principal.__c.runMethod(true,"Not",(Object)(_inside));Debug.locals.put("inside", _inside); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 693;BA.debugLine="Return inside"; +Debug.ShouldStop(1048576); +if (true) return _inside; + BA.debugLineNum = 696;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _resdia_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("resdia_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2868); +if (RapidSub.canDelegate("resdia_click")) { return __ref.runUserSub(false, "c_principal","resdia_click", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _cuantos_obj = RemoteObject.createImmutable(""); + BA.debugLineNum = 2868;BA.debugLine="Sub resdia_Click"; +Debug.ShouldStop(524288); + BA.debugLineNum = 2869;BA.debugLine="p_principal.Visible = False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_p_principal" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2870;BA.debugLine="Btn_Ubicar.Visible=False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_btn_ubicar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2871;BA.debugLine="SCROLL_RESDIA.Visible = True"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2872;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"RESDIA\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("RESDIA")),__ref.getField(false, "ba")); + BA.debugLineNum = 2873;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel4.Height"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_scroll_resdia" /*RemoteObject*/ ).runMethod(false,"getPanel").runMethod(true,"setHeight",__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 2874;BA.debugLine="Panel4.Visible = True"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_panel4" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2876;BA.debugLine="NUEVO.Visible =False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2877;BA.debugLine="BUSCA.Visible=False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2878;BA.debugLine="connecta.Visible=False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2879;BA.debugLine="Subir.Visible=False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2880;BA.debugLine="cargar.Visible=False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2881;BA.debugLine="Resumen.Visible= False"; +Debug.ShouldStop(1); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2883;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select COUNT"; +Debug.ShouldStop(4); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select COUNT(*) AS CUANTOS FROM HIST_ENCUESTA WHERE HE_TIPO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("TELEFONO")})))); + BA.debugLineNum = 2884;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(8); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2885;BA.debugLine="l_encuesta.Text = d.GetString(\"CUANTOS\")"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_encuesta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))); + BA.debugLineNum = 2886;BA.debugLine="d.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2888;BA.debugLine="L_MARCAS.CLEAR"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 2889;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select disti"; +Debug.ShouldStop(256); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select distinct HE_CLIE AS CLIENTE FROM HIST_ENCUESTA WHERE HE_TIPO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("TELEFONO")})))); + BA.debugLineNum = 2890;BA.debugLine="If D.RowCount>0 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2891;BA.debugLine="For i=0 To D.RowCount -1"; +Debug.ShouldStop(1024); +{ +final int step20 = 1; +final int limit20 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step20 > 0 && _i <= limit20) || (step20 < 0 && _i >= limit20) ;_i = ((int)(0 + _i + step20)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2892;BA.debugLine="D.Position=i"; +Debug.ShouldStop(2048); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 2893;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select HE"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select HE_RES from HIST_ENCUESTA where HE_CLIE = ? AND HE_TIPO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))),RemoteObject.createImmutable("TELEFONO")})))); + BA.debugLineNum = 2894;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2895;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(16384); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 2896;BA.debugLine="label1 = L_MARCAS.TwoLinesLayout.Label"; +Debug.ShouldStop(32768); +_label1 = __ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 2897;BA.debugLine="label1.TextSize = 13"; +Debug.ShouldStop(65536); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 2898;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(131072); +_label1.runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 2899;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(262144); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 2900;BA.debugLine="label2 = L_MARCAS.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(524288); +_label2 = __ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 2901;BA.debugLine="label2.TextSize = 13"; +Debug.ShouldStop(1048576); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 2902;BA.debugLine="label2.TextColor = Colors.Black"; +Debug.ShouldStop(2097152); +_label2.runMethod(true,"setTextColor",c_principal.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 2903;BA.debugLine="L_MARCAS.AddTwoLines(d.GetString(\"CLIENTE\"),\"TE"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_marcas" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("TELEFONO :"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("HE_RES"))))))); + BA.debugLineNum = 2904;BA.debugLine="c.Close"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 2907;BA.debugLine="d.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2909;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPO = ? )")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("RTEC")})))); + BA.debugLineNum = 2910;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2911;BA.debugLine="l_monto_k.Text = c.GetString(\"MONTO_DIA\")"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_monto_k" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))))); + BA.debugLineNum = 2912;BA.debugLine="If l_monto_k.Text = \"null\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_monto_k" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { + BA.debugLineNum = 2913;BA.debugLine="l_monto_k.Text = \"0\""; +Debug.ShouldStop(1); +__ref.getField(false,"_l_monto_k" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + }; + BA.debugLineNum = 2915;BA.debugLine="c.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2917;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPO = ? )")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PING")})))); + BA.debugLineNum = 2918;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2919;BA.debugLine="l_monto_kp.Text = c.GetString(\"MONTO_DIA\")"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_monto_kp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))))); + BA.debugLineNum = 2920;BA.debugLine="If l_monto_kp.Text = \"null\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_monto_kp" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { + BA.debugLineNum = 2921;BA.debugLine="l_monto_kp.Text = \"0\""; +Debug.ShouldStop(256); +__ref.getField(false,"_l_monto_kp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + }; + BA.debugLineNum = 2923;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2933;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum(P"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 ")))); + BA.debugLineNum = 2934;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2935;BA.debugLine="l_monto_ks.Text = Subs.traeTotalCliente"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal._subs.runMethod(true,"_traetotalcliente" /*RemoteObject*/ ,__ref.getField(false, "ba")))); + BA.debugLineNum = 2937;BA.debugLine="If l_monto_ks.Text = \"null\" Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { + BA.debugLineNum = 2938;BA.debugLine="l_monto_ks.Text = \"0\""; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + }; + BA.debugLineNum = 2940;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2941;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select sum(PE_COSTO_TOT) As PREVENTA from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")})))); + BA.debugLineNum = 2942;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2943;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2944;BA.debugLine="L_PREVENTA.Text = Subs.traeTotalClientepreventa"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_preventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal._subs.runMethod(true,"_traetotalclientepreventa" /*RemoteObject*/ ,__ref.getField(false, "ba")))); + BA.debugLineNum = 2945;BA.debugLine="If L_PREVENTA.TEXT = \"null\" Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_preventa" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { + BA.debugLineNum = 2946;BA.debugLine="L_PREVENTA.Text = \"0\""; +Debug.ShouldStop(2); +__ref.getField(false,"_l_preventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + }; + }; + BA.debugLineNum = 2949;BA.debugLine="c.Close"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2950;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select sum(PE_COSTO_TOT) As VENTA from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTA")})))); + BA.debugLineNum = 2951;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2952;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2953;BA.debugLine="L_VENTA.Text = Subs.traeTotalClienteventa"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_venta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal._subs.runMethod(true,"_traetotalclienteventa" /*RemoteObject*/ ,__ref.getField(false, "ba")))); + BA.debugLineNum = 2954;BA.debugLine="If L_VENTA.TEXT = \"null\" Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_venta" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { + BA.debugLineNum = 2955;BA.debugLine="L_VENTA.Text = \"0\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_venta" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + }; + }; + BA.debugLineNum = 2958;BA.debugLine="c.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2959;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select sum(PE_COSTO_TOT) As ABORDO from pedido where PE_FOLIO = ? AND PE_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("ABORDO"),RemoteObject.createImmutable("0")})))); + BA.debugLineNum = 2960;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 = 2961;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2962;BA.debugLine="L_ABORDO.Text = Subs.traeTotalClienteabordo"; +Debug.ShouldStop(131072); +__ref.getField(false,"_l_abordo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal._subs.runMethod(true,"_traetotalclienteabordo" /*RemoteObject*/ ,__ref.getField(false, "ba")))); + BA.debugLineNum = 2963;BA.debugLine="If L_ABORDO.TEXT = \"null\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_l_abordo" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("null"))) { + BA.debugLineNum = 2964;BA.debugLine="L_ABORDO.Text = \"0\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_abordo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + }; + }; + BA.debugLineNum = 2967;BA.debugLine="c.Close"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2968;BA.debugLine="Dim cuantos_obj As String"; +Debug.ShouldStop(8388608); +_cuantos_obj = RemoteObject.createImmutable("");Debug.locals.put("cuantos_obj", _cuantos_obj); + BA.debugLineNum = 2969;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) AS TOTAL from HIST_MARCAS_CUOTAS ")))); + BA.debugLineNum = 2970;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2971;BA.debugLine="cuantos_obj = c.GetString(\"TOTAL\")"; +Debug.ShouldStop(67108864); +_cuantos_obj = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")));Debug.locals.put("cuantos_obj", _cuantos_obj); + BA.debugLineNum = 2972;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2974;BA.debugLine="If cuantos_obj > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cuantos_obj),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2975;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select SUM("; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select SUM( HMC_TOTAL) AS TOTAL from HIST_MARCAS_CUOTAS ")))); + BA.debugLineNum = 2976;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2977;BA.debugLine="L_NES.Text = c.GetString(\"TOTAL\")"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL"))))); + BA.debugLineNum = 2978;BA.debugLine="c.Close"; +Debug.ShouldStop(2); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 2980;BA.debugLine="L_REAL.Text = l_monto_ks.Text"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 2981;BA.debugLine="L_ALCANCE.Text = Round2((L_NES.Text / L_REAL.Text"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_alcance" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_nes" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_real" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "/+",1, 0))),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 2982;BA.debugLine="L_VPLAN.Text = l_porvisitar.Text"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_vplan" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 2983;BA.debugLine="L_VREAL.Text = L_CUANTOST.text"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_vreal" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_cuantost" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 2984;BA.debugLine="L_EFEC_VIS.Text = Round2(L_VREAL.text / L_VPLAN.T"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_efec_vis" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_vreal" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_vplan" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 2985;BA.debugLine="L_VISITCC.Text = l_cuantosc.text"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText"))); + BA.debugLineNum = 2986;BA.debugLine="L_EFEC_PV.Text = Round2(L_VISITCC.Text / L_VREAL."; +Debug.ShouldStop(512); +__ref.getField(false,"_l_efec_pv" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_vreal" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 2987;BA.debugLine="L_EFEC_PURA.Text = Round2(L_VISITCC.Text / L_VPLA"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_efec_pura" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_vplan" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 2988;BA.debugLine="L_LIN_TICK.Text = LPT"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_lin_tick" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_lpt" /*RemoteObject*/ ))); + BA.debugLineNum = 2989;BA.debugLine="If l_monto_ks.Text <> \"0\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_l_monto_ks" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString("0"))) { + BA.debugLineNum = 2991;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select COU"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select COUNT(DISTINCT(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {__ref.getField(true,"_almacen" /*RemoteObject*/ )})))); + BA.debugLineNum = 2992;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2993;BA.debugLine="L_CTE_PROMO.Text = c.GetString(\"CUANTOS\")"; +Debug.ShouldStop(65536); +__ref.getField(false,"_l_cte_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))); + BA.debugLineNum = 2994;BA.debugLine="c.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 2995;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +Debug.ShouldStop(262144); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPOPROD = ?) ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PRIORITARIO")})))); + BA.debugLineNum = 2996;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(524288); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3003;BA.debugLine="Log(\"|\"&d.GetString(\"MONTO_DIA\")&\"|\")"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethod ("LogImpl","514942343",RemoteObject.concat(RemoteObject.createImmutable("|"),__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))),RemoteObject.createImmutable("|")),0); + BA.debugLineNum = 3005;BA.debugLine="L_PRIO.Text = d.GetString(\"MONTO_DIA\")"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_prio" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))))); + BA.debugLineNum = 3006;BA.debugLine="d.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3008;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPOPROD = ?) ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("ESTRATEGICO")})))); + BA.debugLineNum = 3009;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(1); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3010;BA.debugLine="L_SECUND.Text =d.GetString(\"MONTO_DIA\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_secund" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))))); + BA.debugLineNum = 3011;BA.debugLine="d.Close"; +Debug.ShouldStop(4); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3013;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +Debug.ShouldStop(16); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPOPROD = ?) ")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("COMPLEMENTARIO")})))); + BA.debugLineNum = 3014;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(32); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3015;BA.debugLine="L_COMP.Text =d.GetString(\"MONTO_DIA\")"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_comp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("MONTO_DIA"))))); + BA.debugLineNum = 3016;BA.debugLine="d.Close"; +Debug.ShouldStop(128); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + }else { + BA.debugLineNum = 3018;BA.debugLine="L_PRIO.Text = \"0\""; +Debug.ShouldStop(512); +__ref.getField(false,"_l_prio" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + BA.debugLineNum = 3019;BA.debugLine="L_SECUND.Text = \"0\""; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_secund" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + BA.debugLineNum = 3020;BA.debugLine="L_COMP.Text = \"0\""; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_comp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + }; + BA.debugLineNum = 3023;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID ")))); + BA.debugLineNum = 3024;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3025;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 3026;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; +Debug.ShouldStop(131072); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select sum(pe_cant) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID ")))); + BA.debugLineNum = 3027;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(262144); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3028;BA.debugLine="L_CTE_PROMO.Text = d.GetString(\"CUANTOS\")"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_cte_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))))); + BA.debugLineNum = 3029;BA.debugLine="d.Close"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3030;BA.debugLine="L_REDEN_PROMO.TEXT = Round2(L_VISITCC.Text / L_C"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_reden_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(false,"_l_cte_promo" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + }else { + BA.debugLineNum = 3032;BA.debugLine="L_CTE_PROMO.Text = 0"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_cte_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 3033;BA.debugLine="L_REDEN_PROMO.Text = 0"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_reden_promo" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(0)); + }; + BA.debugLineNum = 3035;BA.debugLine="c.Close"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3036;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select COUNT(*) AS CUANTOS FROM PEDIDO ")))); + BA.debugLineNum = 3037;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3038;BA.debugLine="L_LIN_TICK.Text = Round2(d.GetString(\"CUANTOS\") /"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_lin_tick" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_principal.__c.runMethod(true,"Round2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, __ref.getField(false,"_l_visitcc" /*RemoteObject*/ ).runMethod(true,"getText"))}, "/",0, 0)),(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 3039;BA.debugLine="d.Close"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3041;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +Debug.ShouldStop(1); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select count(*) as CUANTOS from HIST_CUOTAS ")))); + BA.debugLineNum = 3042;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(2); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 3043;BA.debugLine="If d.GetString(\"CUANTOS\") > 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS")))),BA.numberCast(double.class, 0))) { + }else { + BA.debugLineNum = 3051;BA.debugLine="l_monto_c1.Text = 4000"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_monto_c1" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(4000)); + BA.debugLineNum = 3052;BA.debugLine="l_monto_c2.Text = 2000"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_monto_c2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(2000)); + BA.debugLineNum = 3053;BA.debugLine="l_monto_c3.Text = 1000"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_monto_c3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(1000)); + }; + BA.debugLineNum = 3055;BA.debugLine="d.Close"; +Debug.ShouldStop(16384); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 3056;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _resumen_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Resumen_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,2849); +if (RapidSub.canDelegate("resumen_click")) { return __ref.runUserSub(false, "c_principal","resumen_click", __ref);} + BA.debugLineNum = 2849;BA.debugLine="Sub Resumen_Click"; +Debug.ShouldStop(1); + BA.debugLineNum = 2850;BA.debugLine="P_RESUMEN.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 2858;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +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,712); +if (RapidSub.canDelegate("subir_click")) { return __ref.runUserSub(false, "c_principal","subir_click", __ref);} +int _i = 0; +RemoteObject _dia = RemoteObject.createImmutable(0); +RemoteObject _dialetra = RemoteObject.createImmutable(""); +RemoteObject _pcnoarts = RemoteObject.createImmutable(""); +RemoteObject _pcmonto = RemoteObject.createImmutable(""); + BA.debugLineNum = 712;BA.debugLine="Sub Subir_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 713;BA.debugLine="CARGA = \"SUBIR\""; +Debug.ShouldStop(256); +__ref.setField ("_carga" /*RemoteObject*/ ,BA.ObjectToString("SUBIR")); + BA.debugLineNum = 714;BA.debugLine="p_mandaInfo.Width = Root.Width"; +Debug.ShouldStop(512); +__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 715;BA.debugLine="p_mandaInfo.Height = Root.Height"; +Debug.ShouldStop(1024); +__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 716;BA.debugLine="P1.Visible = True"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 717;BA.debugLine="P1.Left = (p_mandaInfo.Width/2) - (P1.Width/2)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 718;BA.debugLine="P1.top = (p_mandaInfo.Height/2) - (P1.Height/2)"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p1" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 719;BA.debugLine="p_mandaInfo.Visible = True"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 720;BA.debugLine="P1.BringToFront"; +Debug.ShouldStop(32768); +__ref.getField(false,"_p1" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 721;BA.debugLine="p_mandaInfo.BringToFront"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_mandainfo" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 723;BA.debugLine="NUEVO.Visible =False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_nuevo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 724;BA.debugLine="BUSCA.Visible=False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 725;BA.debugLine="connecta.Visible=False"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_connecta" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 726;BA.debugLine="Subir.Visible=False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_subir" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 727;BA.debugLine="cargar.Visible=False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cargar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 728;BA.debugLine="L_P_1.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_p_1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 729;BA.debugLine="S_CC.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_s_cc" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 730;BA.debugLine="L_P_3.Visible = False"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 731;BA.debugLine="S_CH.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 732;BA.debugLine="PB1.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 733;BA.debugLine="Resumen.Visible= False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_resumen" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 734;BA.debugLine="L_P_2.Text = \"Envio de Pedidos\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_p_2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Envio de Pedidos")); + BA.debugLineNum = 735;BA.debugLine="L_P_3.Text = \"Envio de Pedidos\""; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_p_3" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("Envio de Pedidos")); + BA.debugLineNum = 736;BA.debugLine="S_CH.Text = \"EN PROCESO\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_s_ch" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO")); + BA.debugLineNum = 737;BA.debugLine="S_CP.Text = \"EN PROCESO\""; +Debug.ShouldStop(1); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("EN PROCESO")); + BA.debugLineNum = 738;BA.debugLine="PB1.Progress = 0"; +Debug.ShouldStop(2); +__ref.getField(false,"_pb1" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0)); + BA.debugLineNum = 739;BA.debugLine="PB2.Progress = 0"; +Debug.ShouldStop(4); +__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"setProgress",BA.numberCast(int.class, 0)); + BA.debugLineNum = 745;BA.debugLine="PASO = 1"; +Debug.ShouldStop(256); +__ref.setField ("_paso" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 747;BA.debugLine="If PASO = 1 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_paso" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 748;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fro"; +Debug.ShouldStop(2048); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from PEDIDO WHERE PE_PRONOMBRE = ? ")),(Object)(c_principal.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("N/A"))}))))); + BA.debugLineNum = 749;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(4096); +c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE not In (select PE_CLIENTE from pedido)"))); + BA.debugLineNum = 750;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar"; +Debug.ShouldStop(8192); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select usuario from usuarioa")))); + BA.debugLineNum = 751;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 752;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 = 753;BA.debugLine="c.Close"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 754;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HGDAT"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select HGDATE, HGLAT, HGLON from HIST_GPS")))); + BA.debugLineNum = 755;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 = 756;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(524288); +{ +final int step37 = 1; +final int limit37 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*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 = 757;BA.debugLine="c.Position=i"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 758;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(2097152); +c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 759;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 760;BA.debugLine="cmd.Name = \"UPDATE_SHARK2_ACTUAL2_GPS\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("UPDATE_SHARK2_ACTUAL2_GPS")); + BA.debugLineNum = 761;BA.debugLine="cmd.Parameters = Array As String(B4XPages.Main"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,(RemoteObject.createNewArray("String",new int[] {12},new Object[] {c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_montoactual" /*RemoteObject*/ ),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_clientestotal" /*RemoteObject*/ ),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_clientesventa" /*RemoteObject*/ ),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_clientesvisitados" /*RemoteObject*/ ),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ ),BA.NumberToString(c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_batt" /*RemoteObject*/ )),BA.NumberToString(0),BA.NumberToString(0),BA.NumberToString(0),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_almacen" /*RemoteObject*/ ),c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_rutapreventa" /*RemoteObject*/ )}))); + BA.debugLineNum = 762;BA.debugLine="reqManager.ExecuteCommand(cmd , \"update_gps\")"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("update_gps")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 765;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 835;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CN_ID, CN_FECHA"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CN_ID, CN_FECHA , CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_FOTO, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA, CN_COLONIA, CN_TELEFONO, CN_CP FROM CLIENTES_NUEVOS")))); + BA.debugLineNum = 836;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 = 837;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(16); +{ +final int step49 = 1; +final int limit49 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step49 > 0 && _i <= limit49) || (step49 < 0 && _i >= limit49) ;_i = ((int)(0 + _i + step49)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 838;BA.debugLine="c.Position = i"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 839;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTim"; +Debug.ShouldStop(64); +_dia = c_principal.__c.getField(false,"DateTime").runMethod(true,"GetDayOfWeek",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("dia", _dia);Debug.locals.put("dia", _dia); + BA.debugLineNum = 840;BA.debugLine="If dia = 2 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 2))) { + BA.debugLineNum = 841;BA.debugLine="Dim dialetra As String = \"LUNES\""; +Debug.ShouldStop(256); +_dialetra = BA.ObjectToString("LUNES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 842;BA.debugLine="Else If dia = 3 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 3))) { + BA.debugLineNum = 843;BA.debugLine="Dim dialetra As String = \"MARTES\""; +Debug.ShouldStop(1024); +_dialetra = BA.ObjectToString("MARTES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 844;BA.debugLine="Else If dia = 4 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 4))) { + BA.debugLineNum = 845;BA.debugLine="Dim dialetra As String = \"MIERCOLES\""; +Debug.ShouldStop(4096); +_dialetra = BA.ObjectToString("MIERCOLES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 846;BA.debugLine="Else If dia = 5 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 5))) { + BA.debugLineNum = 847;BA.debugLine="Dim dialetra As String = \"JUEVES\""; +Debug.ShouldStop(16384); +_dialetra = BA.ObjectToString("JUEVES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 848;BA.debugLine="Else If dia = 6 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 6))) { + BA.debugLineNum = 849;BA.debugLine="Dim dialetra As String = \"VIERNES\""; +Debug.ShouldStop(65536); +_dialetra = BA.ObjectToString("VIERNES");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }else +{ BA.debugLineNum = 850;BA.debugLine="Else If dia = 7 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_dia,BA.numberCast(double.class, 7))) { + BA.debugLineNum = 851;BA.debugLine="Dim dialetra As String = \"SABADO\""; +Debug.ShouldStop(262144); +_dialetra = BA.ObjectToString("SABADO");Debug.locals.put("dialetra", _dialetra);Debug.locals.put("dialetra", _dialetra); + }}}}}} +; + BA.debugLineNum = 853;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(1048576); +c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 854;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 855;BA.debugLine="cmd.Name = \"insert_clientesnuevos_SHARK24\""; +Debug.ShouldStop(4194304); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_clientesnuevos_SHARK24")); + BA.debugLineNum = 856;BA.debugLine="Log(c.GetString(\"CN_ID\")&\" ,\"& c.GetString("; +Debug.ShouldStop(8388608); +c_principal.__c.runVoidMethod ("LogImpl","513893776",RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_FECHA"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_USER"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LAT"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LON"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NOMBRE"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_DIRECCION"))),RemoteObject.createImmutable(" ,"),__ref.getField(true,"_almacen" /*RemoteObject*/ ),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_RUTA"))),RemoteObject.createImmutable(" ,"),RemoteObject.createImmutable("En espera"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_GIRO"))),RemoteObject.createImmutable(" ,"),_dialetra,__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_SOLICITA"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_COLONIA"))),RemoteObject.createImmutable(" ,"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_TELEFONO")))),0); + BA.debugLineNum = 857;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {16},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_ID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_USER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LAT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_LON")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_NOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_DIRECCION")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_RUTA")))),RemoteObject.createImmutable(("En espera")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_GIRO")))),(_dialetra),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_SOLICITA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_COLONIA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_TELEFONO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CN_CP"))))})); + BA.debugLineNum = 858;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_clientes"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_clientesn")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 861;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 877;BA.debugLine="Dim PCNoArts As String"; +Debug.ShouldStop(4096); +_pcnoarts = RemoteObject.createImmutable("");Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 878;BA.debugLine="Dim PCMonto As String"; +Debug.ShouldStop(8192); +_pcmonto = RemoteObject.createImmutable("");Debug.locals.put("PCMonto", _pcmonto); + BA.debugLineNum = 879;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT PC_"; +Debug.ShouldStop(16384); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT, PC_COSTO_SIN, PC_RUTA, PC_ALMACEN, PC_FACTURA FROM PEDIDO_CLIENTE WHERE PC_CLIENTE <> '1' ")))); + BA.debugLineNum = 880;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery(\"SELECT COU"; +Debug.ShouldStop(32768); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) as CUANTOS_PEDIDOSC FROM PEDIDO_CLIENTE WHERE PC_CLIENTE <> 1 ")))); + BA.debugLineNum = 881;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 = 882;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(131072); +{ +final int step79 = 1; +final int limit79 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).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 = 883;BA.debugLine="c.Position = i"; +Debug.ShouldStop(262144); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 884;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(524288); +c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 885;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 886;BA.debugLine="cmd.Name = \"insert_pedidos_SHARK2\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedidos_SHARK2")); + BA.debugLineNum = 887;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +Debug.ShouldStop(4194304); +_pcnoarts = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")));Debug.locals.put("PCNoArts", _pcnoarts); + BA.debugLineNum = 888;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +Debug.ShouldStop(8388608); +_pcmonto = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")));Debug.locals.put("PCMonto", _pcmonto); + BA.debugLineNum = 889;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {11},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_USER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_LON")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_LAT")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE")))))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_FACTURA"))))})); + BA.debugLineNum = 890;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedidos\")"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("ins_pedidos")))); + BA.debugLineNum = 891;BA.debugLine="Log(\">>>>>> INSERT PEDIDO_CLIENTE\")"; +Debug.ShouldStop(67108864); +c_principal.__c.runVoidMethod ("LogImpl","513893811",RemoteObject.createImmutable(">>>>>> INSERT PEDIDO_CLIENTE"),0); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 894;BA.debugLine="c.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 895;BA.debugLine="d.Position = 0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 896;BA.debugLine="cuantos_pedidosc = d.GetString(\"CUANTOS_PEDIDOSC"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_cuantos_pedidosc" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_PEDIDOSC")))); + BA.debugLineNum = 897;BA.debugLine="d.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 900;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT PE_"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS, PE_DIRIGIDA, PE_PRESENTACION, PE_UVM FROM PEDIDO WHERE PE_FOLIO <> 'RECARGA'")))); + BA.debugLineNum = 901;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery(\"SELECT COU"; +Debug.ShouldStop(16); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO")))); + BA.debugLineNum = 902;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 = 903;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(64); +{ +final int step98 = 1; +final int limit98 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step98 > 0 && _i <= limit98) || (step98 < 0 && _i >= limit98) ;_i = ((int)(0 + _i + step98)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 904;BA.debugLine="c.Position = i"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 905;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(256); +c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 906;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(512); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 907;BA.debugLine="cmd.Name = \"insert_pedido4_SHARK2\" 'CON TOTALE"; +Debug.ShouldStop(1024); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_pedido4_SHARK2")); + BA.debugLineNum = 909;BA.debugLine="If c.GetString(\"PE_FOLIO\") = \"PREVENTA_CONTADO"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("PREVENTA_CONTADO"))) { + BA.debugLineNum = 910;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,c.Ge"; +Debug.ShouldStop(8192); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {18},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))}, "/",0, 0))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__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_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),RemoteObject.createImmutable(("PREVENTA")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DIRIGIDA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRESENTACION")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))})); + }else +{ BA.debugLineNum = 911;BA.debugLine="Else If c.GetString(\"PE_FOLIO\") = \"PREVENTA_CR"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("PREVENTA_CREDITO"))) { + BA.debugLineNum = 912;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,c.Ge"; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {18},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))}, "/",0, 0))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__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_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),RemoteObject.createImmutable(("PREVENTA")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DIRIGIDA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRESENTACION")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))})); + }else +{ BA.debugLineNum = 913;BA.debugLine="Else If c.GetString(\"PE_FOLIO\") = \"ABORDO\" The"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("ABORDO"))) { + BA.debugLineNum = 914;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,c.Ge"; +Debug.ShouldStop(131072); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {18},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))}, "/",0, 0))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__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_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),RemoteObject.createImmutable(("ABORDO")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DIRIGIDA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRESENTACION")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))})); + }else { + BA.debugLineNum = 916;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,c.Ge"; +Debug.ShouldStop(524288); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {18},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU")))),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))),BA.numberCast(double.class, __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))}, "/",0, 0))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO")))),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__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_COSTO_SIN")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DESC")))),RemoteObject.createImmutable(("VENTA")),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DIRIGIDA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRESENTACION")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_UVM"))))})); + }}} +; + BA.debugLineNum = 918;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("ins_pedidosPendientes_prods_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE")))))),RemoteObject.createImmutable("_"),c_principal.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 921;BA.debugLine="c.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 922;BA.debugLine="d.Position=0"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 923;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")"; +Debug.ShouldStop(67108864); +__ref.setField ("_cuantos_pedido" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_PEDIDO")))); + BA.debugLineNum = 924;BA.debugLine="d.Close"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 927;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT NV_C"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON FROM NOVENTA")))); + BA.debugLineNum = 928;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUN"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_d" /*RemoteObject*/ ).setObject (c_principal._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA")))); + BA.debugLineNum = 929;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 930;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(2); +{ +final int step122 = 1; +final int limit122 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step122 > 0 && _i <= limit122) || (step122 < 0 && _i >= limit122) ;_i = ((int)(0 + _i + step122)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 931;BA.debugLine="c.Position=i"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 932;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8); +c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 933;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 934;BA.debugLine="cmd.Name = \"insert_noventa_SHARK2\""; +Debug.ShouldStop(32); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_noventa_SHARK2")); + BA.debugLineNum = 935;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +Debug.ShouldStop(64); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_CLIENTE")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_FECHA")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_USER")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_MOTIVO")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_COMM")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_LAT")))),(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_LON")))),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal._subs.runMethod(true,"_traeruta2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_CLIENTE"))))))})); + BA.debugLineNum = 936;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\""; +Debug.ShouldStop(128); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_noventa")))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 939;BA.debugLine="c.Close"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 940;BA.debugLine="d.Position=0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 941;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +Debug.ShouldStop(4096); +__ref.setField ("_cuantos_noventa" /*RemoteObject*/ ,__ref.getField(false,"_d" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS_NOVENTA")))); + BA.debugLineNum = 942;BA.debugLine="d.Close"; +Debug.ShouldStop(8192); +__ref.getField(false,"_d" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 998;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1064;BA.debugLine="t1.Initialize(\"T1\", 30000) ' 1000 = 1 second"; +Debug.ShouldStop(128); +__ref.getField(false,"_t1" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("T1")),(Object)(BA.numberCast(long.class, 30000))); + BA.debugLineNum = 1065;BA.debugLine="t1.Enabled = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1066;BA.debugLine="Dim sDate,sTime As String"; +Debug.ShouldStop(512); +c_principal._sdate = RemoteObject.createImmutable("");__ref.setField("_sdate",c_principal._sdate); +c_principal._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_principal._stime); + BA.debugLineNum = 1067;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(1024); +c_principal.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1068;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(2048); +__ref.setField ("_sdate" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1069;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(4096); +__ref.setField ("_stime" /*RemoteObject*/ ,c_principal.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_principal.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 1070;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(8192); +c_principal._cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");__ref.setField("_cmd",c_principal._cmd); + BA.debugLineNum = 1071;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(16384); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1072;BA.debugLine="cmd.Name =\"insert_drop_SHARK2\""; +Debug.ShouldStop(32768); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("insert_drop_SHARK2")); + BA.debugLineNum = 1073;BA.debugLine="cmd.Parameters = Array As Object(usuario,l_ruta."; +Debug.ShouldStop(65536); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(__ref.getField(true,"_usuario" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")),(RemoteObject.concat(__ref.getField(true,"_sdate" /*RemoteObject*/ ),__ref.getField(true,"_stime" /*RemoteObject*/ ))),(__ref.getField(false,"_l_porvisitar" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_drop" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_efectiva" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_cuantosc" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_cuantosn" /*RemoteObject*/ ).runMethod(true,"getText")),(__ref.getField(false,"_l_montod" /*RemoteObject*/ ).runMethod(true,"getText")),RemoteObject.createImmutable(("ENVIO")),(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(c_principal.__c.getField(false,"Application").runMethod(true,"getVersionName"))})); + BA.debugLineNum = 1074;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")"; +Debug.ShouldStop(131072); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)((RemoteObject.createImmutable("inst_noventa")))); + BA.debugLineNum = 1075;BA.debugLine="img2.Visible =True"; +Debug.ShouldStop(262144); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"True")); + BA.debugLineNum = 1076;BA.debugLine="PORCENTAJE = Round(100/ (cuantos_noventa + cuant"; +Debug.ShouldStop(524288); +__ref.setField ("_porcentaje" /*RemoteObject*/ ,BA.NumberToString(c_principal.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(100),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(true,"_cuantos_noventa" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_cuantos_pedido" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_cuantos_pedidosc" /*RemoteObject*/ )),RemoteObject.createImmutable(1)}, "+++",3, 0))}, "/",0, 0))))); + BA.debugLineNum = 1077;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("!",c_principal._starter._marcacel /*RemoteObject*/ ,BA.ObjectToString("Sony"))) { +c_principal.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "),__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText")))),(Object)(c_principal.__c.getField(true,"True")));}; + }; + BA.debugLineNum = 1110;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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,2679); +if (RapidSub.canDelegate("t1_tick")) { return __ref.runUserSub(false, "c_principal","t1_tick", __ref);} + BA.debugLineNum = 2679;BA.debugLine="Sub t1_tick"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 2680;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2681;BA.debugLine="cmd.Name = \"select_cuantos_pedido_SHARK2\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_pedido_SHARK2")); + BA.debugLineNum = 2682;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +Debug.ShouldStop(33554432); +__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 = 2683;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("valida_pedido")))); + BA.debugLineNum = 2685;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2686;BA.debugLine="cmd.Name = \"select_cuantos_noventa_SHARK2\""; +Debug.ShouldStop(536870912); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_noventa_SHARK2")); + BA.debugLineNum = 2687;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_almacen" /*RemoteObject*/ )),(__ref.getField(false,"_l_ruta" /*RemoteObject*/ ).runMethod(true,"getText"))})); + BA.debugLineNum = 2688;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\""; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("valida_noventa")))); + BA.debugLineNum = 2690;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2691;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc_SHARK2\""; +Debug.ShouldStop(4); +__ref.getField(false,"_cmd" /*RemoteObject*/ ).setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_cuantos_pedidoc_SHARK2")); + BA.debugLineNum = 2692;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +Debug.ShouldStop(8); +__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 = 2693;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\""; +Debug.ShouldStop(16); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_cmd" /*RemoteObject*/ )),(Object)(BA.numberCast(int.class, 0)),(Object)((RemoteObject.createImmutable("valida_pedidoc")))); + BA.debugLineNum = 2695;BA.debugLine="If PB2.Progress = 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_pb2" /*RemoteObject*/ ).runMethod(true,"getProgress"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2696;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-1)\""; +Debug.ShouldStop(128); +__ref.getField(false,"_s_cp" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("ENVIAR DATOS (K-1)")); + }; + BA.debugLineNum = 2698;BA.debugLine="img2.Visible=False"; +Debug.ShouldStop(512); +__ref.getField(false,"_img2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2699;BA.debugLine="t1.Enabled = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_t1" /*RemoteObject*/ ).runMethod(true,"setEnabled",c_principal.__c.getField(true,"False")); + BA.debugLineNum = 2700;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _tickets_dia_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("tickets_dia_Click (c_principal) ","c_principal",11,__ref.getField(false, "ba"),__ref,3080); +if (RapidSub.canDelegate("tickets_dia_click")) { return __ref.runUserSub(false, "c_principal","tickets_dia_click", __ref);} + BA.debugLineNum = 3080;BA.debugLine="Sub tickets_dia_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 3081;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")"; +Debug.ShouldStop(256); +c_principal._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("TicketsDia"))); + BA.debugLineNum = 3082;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_productos.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_productos.java new file mode 100644 index 0000000..137ba44 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_productos.java @@ -0,0 +1,118 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_productos { + public static RemoteObject myClass; + public c_productos() { + } + public static PCBA staticBA = new PCBA(null, c_productos.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _q_buscar = RemoteObject.createImmutable(""); +public static RemoteObject _forzarbusqueda = RemoteObject.createImmutable(false); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _lv_catalogos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _lv_promos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _entro = RemoteObject.createImmutable(""); +public static RemoteObject _gest = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _lfila = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _marca = RemoteObject.createImmutable(""); +public static RemoteObject _tipo = RemoteObject.createImmutable(""); +public static RemoteObject _subtipo = RemoteObject.createImmutable(""); +public static RemoteObject _busca = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _ya_entro = RemoteObject.createImmutable(""); +public static RemoteObject _tiene_promos = RemoteObject.createImmutable(""); +public static RemoteObject _res = RemoteObject.createImmutable(""); +public static RemoteObject _s1 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _bmp = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); +public static RemoteObject _ciclo = RemoteObject.createImmutable(""); +public static RemoteObject _b_qr = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_productos = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _clv_productos = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _imageview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _panel3 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_prods = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _i_prod = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _l_prodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_prodmas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_pcant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _et_pcant = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_prodmenos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_terminar1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_continuar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_total = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_totprods = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _totalprods = RemoteObject.createImmutable(0); +public static RemoteObject _totalcompra = RemoteObject.createImmutable(0f); +public static RemoteObject _etcanthasfocus = RemoteObject.createImmutable(false); +public static RemoteObject _prodsmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _l_cargando = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_info = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_buscar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_botonesventa = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lv_tipo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _lv_subtipo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _p_vistapreviatrans = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lv_prodspedido = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _b_rechazar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_aceptar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_vistaprevia = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _folio = RemoteObject.createImmutable(""); +public static RemoteObject _result = RemoteObject.createImmutable(""); +public static RemoteObject _l_cant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _prodspedidoactual = RemoteObject.createImmutable(""); +public static RemoteObject _montopedidoactual = RemoteObject.createImmutable(""); +public static RemoteObject _clv_prods_ll = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _pclv = RemoteObject.declareNull("SHARK2.keymon.com.mx.preoptimizedclv"); +public static RemoteObject _listaprods = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _pedidomap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _p_botmasmen = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _reiniciarlistaprods = RemoteObject.createImmutable(false); +public static RemoteObject _listatiempos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _clienteid = RemoteObject.createImmutable(""); +public static RemoteObject _rutausuario = RemoteObject.createImmutable(""); +public static RemoteObject _haypedido = RemoteObject.createImmutable(false); +public static RemoteObject _listahints = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _vamoaver = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _j3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _invtotal = RemoteObject.createImmutable(0); +public static RemoteObject _et_pcantc = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_prodmenosc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmasc = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _totalcajasmaspiezas = RemoteObject.createImmutable(0); +public static RemoteObject _cajas = RemoteObject.createImmutable(0); +public static RemoteObject _piezas = RemoteObject.createImmutable(0); +public static RemoteObject _p_botmasmenc = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _tipoclienteactual = RemoteObject.createImmutable(""); +public static RemoteObject _cantsmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_aceptar",_ref.getField(false, "_b_aceptar"),"b_buscar",_ref.getField(false, "_b_buscar"),"b_continuar",_ref.getField(false, "_b_continuar"),"b_prodMas",_ref.getField(false, "_b_prodmas"),"b_prodMasc",_ref.getField(false, "_b_prodmasc"),"b_prodMenos",_ref.getField(false, "_b_prodmenos"),"b_prodMenosc",_ref.getField(false, "_b_prodmenosc"),"b_qr",_ref.getField(false, "_b_qr"),"b_rechazar",_ref.getField(false, "_b_rechazar"),"b_terminar1",_ref.getField(false, "_b_terminar1"),"bmp",_ref.getField(false, "_bmp"),"BUSCA",_ref.getField(false, "_busca"),"c",_ref.getField(false, "_c"),"c2",_ref.getField(false, "_c2"),"C3",_ref.getField(false, "_c3"),"cajas",_ref.getField(false, "_cajas"),"cantsMap",_ref.getField(false, "_cantsmap"),"ciclo",_ref.getField(false, "_ciclo"),"clienteId",_ref.getField(false, "_clienteid"),"clv_prods_ll",_ref.getField(false, "_clv_prods_ll"),"clv_productos",_ref.getField(false, "_clv_productos"),"DateUtils",_ref.getField(false, "_dateutils"),"entro",_ref.getField(false, "_entro"),"et_pCant",_ref.getField(false, "_et_pcant"),"et_pCantc",_ref.getField(false, "_et_pcantc"),"etCantHasFocus",_ref.getField(false, "_etcanthasfocus"),"folio",_ref.getField(false, "_folio"),"forzarBusqueda",_ref.getField(false, "_forzarbusqueda"),"gest",_ref.getField(false, "_gest"),"hayPedido",_ref.getField(false, "_haypedido"),"i_prod",_ref.getField(false, "_i_prod"),"ImageView1",_ref.getField(false, "_imageview1"),"invTotal",_ref.getField(false, "_invtotal"),"j3",_ref.getField(false, "_j3"),"l_cant",_ref.getField(false, "_l_cant"),"l_Cargando",_ref.getField(false, "_l_cargando"),"l_info",_ref.getField(false, "_l_info"),"l_pCant",_ref.getField(false, "_l_pcant"),"l_prodX",_ref.getField(false, "_l_prodx"),"l_total",_ref.getField(false, "_l_total"),"l_total2",_ref.getField(false, "_l_total2"),"l_totProds",_ref.getField(false, "_l_totprods"),"lfila",_ref.getField(false, "_lfila"),"listaHints",_ref.getField(false, "_listahints"),"listaProds",_ref.getField(false, "_listaprods"),"listaTiempos",_ref.getField(false, "_listatiempos"),"lv_catalogos",_ref.getField(false, "_lv_catalogos"),"lv_prodsPedido",_ref.getField(false, "_lv_prodspedido"),"lv_promos",_ref.getField(false, "_lv_promos"),"lv_subtipo",_ref.getField(false, "_lv_subtipo"),"lv_tipo",_ref.getField(false, "_lv_tipo"),"marca",_ref.getField(false, "_marca"),"montoPedidoActual",_ref.getField(false, "_montopedidoactual"),"p_botMasMen",_ref.getField(false, "_p_botmasmen"),"p_botMasMenc",_ref.getField(false, "_p_botmasmenc"),"p_botonesVenta",_ref.getField(false, "_p_botonesventa"),"p_prods",_ref.getField(false, "_p_prods"),"p_productos",_ref.getField(false, "_p_productos"),"p_vistaPrevia",_ref.getField(false, "_p_vistaprevia"),"p_vistaPreviaTrans",_ref.getField(false, "_p_vistapreviatrans"),"Panel3",_ref.getField(false, "_panel3"),"PCLV",_ref.getField(false, "_pclv"),"pedidoMap",_ref.getField(false, "_pedidomap"),"piezas",_ref.getField(false, "_piezas"),"prodsMap",_ref.getField(false, "_prodsmap"),"prodsPedidoActual",_ref.getField(false, "_prodspedidoactual"),"q_buscar",_ref.getField(false, "_q_buscar"),"r",_ref.getField(false, "_r"),"reiniciarlistaProds",_ref.getField(false, "_reiniciarlistaprods"),"RES",_ref.getField(false, "_res"),"result",_ref.getField(false, "_result"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"rutaUsuario",_ref.getField(false, "_rutausuario"),"s",_ref.getField(false, "_s"),"S1",_ref.getField(false, "_s1"),"skmt",_ref.getField(false, "_skmt"),"subtipo",_ref.getField(false, "_subtipo"),"TIENE_PROMOS",_ref.getField(false, "_tiene_promos"),"tipo",_ref.getField(false, "_tipo"),"tipoClienteActual",_ref.getField(false, "_tipoclienteactual"),"totalcajasmaspiezas",_ref.getField(false, "_totalcajasmaspiezas"),"totalCompra",_ref.getField(false, "_totalcompra"),"totalProds",_ref.getField(false, "_totalprods"),"vamoaver",_ref.getField(false, "_vamoaver"),"xui",_ref.getField(false, "_xui"),"ya_entro",_ref.getField(false, "_ya_entro")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_productos_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_productos_subs_0.java new file mode 100644 index 0000000..b6adbed --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_productos_subs_0.java @@ -0,0 +1,5546 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_productos_subs_0 { + + +public static RemoteObject _actualizaretiquetastotales(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ActualizarEtiquetasTotales (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1254); +if (RapidSub.canDelegate("actualizaretiquetastotales")) { return __ref.runUserSub(false, "c_productos","actualizaretiquetastotales", __ref);} +RemoteObject _h = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + BA.debugLineNum = 1254;BA.debugLine="Private Sub ActualizarEtiquetasTotales"; +Debug.ShouldStop(32); + BA.debugLineNum = 1255;BA.debugLine="Dim h As Cursor = B4XPages.MainPage.skmt.ExecQuer"; +Debug.ShouldStop(64); +_h = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_h = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ifnull(sum(PE_CANT),0) as PC_NOART, ifnull(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))));Debug.locals.put("h", _h);Debug.locals.put("h", _h); + BA.debugLineNum = 1256;BA.debugLine="h.Position = 0"; +Debug.ShouldStop(128); +_h.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1258;BA.debugLine="l_cant.Text = h.GetString(\"PC_NOART\")"; +Debug.ShouldStop(512); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))); + BA.debugLineNum = 1259;BA.debugLine="l_total2.Text = NumberFormat2(h.GetDouble(\"PC_MON"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_total2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_productos.__c.runMethod(true,"NumberFormat2",(Object)(_h.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PC_MONTO")))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False"))))); + BA.debugLineNum = 1261;BA.debugLine="h.Close"; +Debug.ShouldStop(4096); +_h.runVoidMethod ("Close"); + BA.debugLineNum = 1262;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _actualizarlabelexistencias(RemoteObject __ref,RemoteObject _v,RemoteObject _idprod) throws Exception{ +try { + Debug.PushSubsStack("ActualizarLabelExistencias (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,2625); +if (RapidSub.canDelegate("actualizarlabelexistencias")) { return __ref.runUserSub(false, "c_productos","actualizarlabelexistencias", __ref, _v, _idprod);} +RemoteObject _parent = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _child = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _nuevostock = RemoteObject.createImmutable(0); +RemoteObject _prodnombre = RemoteObject.createImmutable(""); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +Debug.locals.put("v", _v); +Debug.locals.put("idProd", _idprod); + BA.debugLineNum = 2625;BA.debugLine="Private Sub ActualizarLabelExistencias(v As View,"; +Debug.ShouldStop(1); + BA.debugLineNum = 2628;BA.debugLine="Dim parent As B4XView = v.Parent"; +Debug.ShouldStop(8); +_parent = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_parent = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _v.runMethod(false,"getParent"));Debug.locals.put("parent", _parent);Debug.locals.put("parent", _parent); + BA.debugLineNum = 2632;BA.debugLine="For Each child As B4XView In parent.GetAllViewsRe"; +Debug.ShouldStop(128); +_child = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +{ +final RemoteObject group2 = _parent.runMethod(false,"GetAllViewsRecursive"); +final int groupLen2 = group2.runMethod(true,"getSize").get() +;int index2 = 0; +; +for (; index2 < groupLen2;index2++){ +_child = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), group2.runMethod(false,"Get",index2));Debug.locals.put("child", _child); +Debug.locals.put("child", _child); + BA.debugLineNum = 2633;BA.debugLine="If child Is Label Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("i",_child.getObjectOrNull(), RemoteObject.createImmutable("android.widget.TextView"))) { + BA.debugLineNum = 2634;BA.debugLine="Dim lbl As Label = child"; +Debug.ShouldStop(512); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper"); +_lbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _child.getObject());Debug.locals.put("lbl", _lbl);Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 2636;BA.debugLine="If lbl.Text.Contains(\"Existencias:\") Then"; +Debug.ShouldStop(2048); +if (_lbl.runMethod(true,"getText").runMethod(true,"contains",(Object)(RemoteObject.createImmutable("Existencias:"))).get().booleanValue()) { + BA.debugLineNum = 2637;BA.debugLine="Dim nuevoStock As Int = Subs.traeinventario(id"; +Debug.ShouldStop(4096); +_nuevostock = BA.numberCast(int.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_idprod)));Debug.locals.put("nuevoStock", _nuevostock);Debug.locals.put("nuevoStock", _nuevostock); + BA.debugLineNum = 2638;BA.debugLine="Dim prodNombre As String = Subs.traeProdNombre"; +Debug.ShouldStop(8192); +_prodnombre = c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_idprod));Debug.locals.put("prodNombre", _prodnombre);Debug.locals.put("prodNombre", _prodnombre); + BA.debugLineNum = 2640;BA.debugLine="Dim cs As CSBuilder"; +Debug.ShouldStop(32768); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 2641;BA.debugLine="cs.Initialize.Color(Colors.Red).Bold.Append(pr"; +Debug.ShouldStop(65536); +_cs.runMethod(false,"Initialize").runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Bold").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_prodnombre))).runMethod(false,"Pop").runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Size",(Object)(BA.numberCast(int.class, 12))).runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Black"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),_nuevostock)))).runVoidMethod ("Pop"); + BA.debugLineNum = 2644;BA.debugLine="lbl.Text = cs"; +Debug.ShouldStop(524288); +_lbl.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.getObject())); + BA.debugLineNum = 2645;BA.debugLine="Exit ' Ya lo encontramos, salimos del bucle"; +Debug.ShouldStop(1048576); +if (true) break; + }; + }; + } +}Debug.locals.put("child", _child); +; + BA.debugLineNum = 2649;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _actualizarlabelnombrepresentacion(RemoteObject __ref,RemoteObject _v,RemoteObject _nombrepres,RemoteObject _totalunidades) throws Exception{ +try { + Debug.PushSubsStack("ActualizarLabelNombrePresentacion (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,2712); +if (RapidSub.canDelegate("actualizarlabelnombrepresentacion")) { return __ref.runUserSub(false, "c_productos","actualizarlabelnombrepresentacion", __ref, _v, _nombrepres, _totalunidades);} +RemoteObject _parent = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _child = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +Debug.locals.put("v", _v); +Debug.locals.put("nombrePres", _nombrepres); +Debug.locals.put("totalUnidades", _totalunidades); + BA.debugLineNum = 2712;BA.debugLine="Private Sub ActualizarLabelNombrePresentacion(v As"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 2714;BA.debugLine="Dim parent As B4XView = v.Parent"; +Debug.ShouldStop(33554432); +_parent = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_parent = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _v.runMethod(false,"getParent"));Debug.locals.put("parent", _parent);Debug.locals.put("parent", _parent); + BA.debugLineNum = 2717;BA.debugLine="For Each child As B4XView In parent.GetAllViewsRe"; +Debug.ShouldStop(268435456); +_child = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +{ +final RemoteObject group2 = _parent.runMethod(false,"GetAllViewsRecursive"); +final int groupLen2 = group2.runMethod(true,"getSize").get() +;int index2 = 0; +; +for (; index2 < groupLen2;index2++){ +_child = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), group2.runMethod(false,"Get",index2));Debug.locals.put("child", _child); +Debug.locals.put("child", _child); + BA.debugLineNum = 2718;BA.debugLine="If child Is Label Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("i",_child.getObjectOrNull(), RemoteObject.createImmutable("android.widget.TextView"))) { + BA.debugLineNum = 2719;BA.debugLine="Dim lbl As Label = child"; +Debug.ShouldStop(1073741824); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper"); +_lbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), _child.getObject());Debug.locals.put("lbl", _lbl);Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 2722;BA.debugLine="If lbl.Text.ToUpperCase.Contains(nombrePres.ToU"; +Debug.ShouldStop(2); +if (_lbl.runMethod(true,"getText").runMethod(true,"toUpperCase").runMethod(true,"contains",(Object)(_nombrepres.runMethod(true,"toUpperCase"))).get().booleanValue()) { + BA.debugLineNum = 2723;BA.debugLine="lbl.Text = nombrePres.ToUpperCase & \": \" & tot"; +Debug.ShouldStop(4); +_lbl.runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(_nombrepres.runMethod(true,"toUpperCase"),RemoteObject.createImmutable(": "),_totalunidades))); + BA.debugLineNum = 2724;BA.debugLine="Exit"; +Debug.ShouldStop(8); +if (true) break; + }; + }; + } +}Debug.locals.put("child", _child); +; + BA.debugLineNum = 2728;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _actualizartotalespedido(RemoteObject __ref,RemoteObject _idclie) throws Exception{ +try { + Debug.PushSubsStack("ActualizarTotalesPedido (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1680); +if (RapidSub.canDelegate("actualizartotalespedido")) { return __ref.runUserSub(false, "c_productos","actualizartotalespedido", __ref, _idclie);} +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +RemoteObject _h = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _usuario = RemoteObject.createImmutable(""); +Debug.locals.put("idClie", _idclie); + BA.debugLineNum = 1680;BA.debugLine="Private Sub ActualizarTotalesPedido(idClie As Stri"; +Debug.ShouldStop(32768); + BA.debugLineNum = 1681;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(65536); +c_productos.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 1682;BA.debugLine="Dim sDate As String = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(131072); +_sdate = c_productos.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_productos.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate);Debug.locals.put("sDate", _sdate); + BA.debugLineNum = 1683;BA.debugLine="Dim sTime As String = DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(262144); +_stime = c_productos.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_productos.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime);Debug.locals.put("sTime", _stime); + BA.debugLineNum = 1686;BA.debugLine="Dim h As Cursor = B4XPages.MainPage.skmt.ExecQuer"; +Debug.ShouldStop(2097152); +_h = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_h = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("SELECT SUM(PE_CANT) as PC_NOART, SUM(PE_COSTO_TOT) as PC_MONTO FROM PEDIDO WHERE PE_CLIENTE = '"),_idclie,RemoteObject.createImmutable("'")))));Debug.locals.put("h", _h);Debug.locals.put("h", _h); + BA.debugLineNum = 1687;BA.debugLine="h.Position = 0"; +Debug.ShouldStop(4194304); +_h.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1689;BA.debugLine="If h.RowCount > 0 And h.GetString(\"PC_NOART\") <>"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",_h.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("N",_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))) { + BA.debugLineNum = 1691;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(67108864); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("DELETE FROM pedido_cliente WHERE PC_CLIENTE = '"),_idclie,RemoteObject.createImmutable("'")))); + BA.debugLineNum = 1693;BA.debugLine="Dim usuario As String = Subs.traeUsuarioDeBD 'As"; +Debug.ShouldStop(268435456); +_usuario = c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("usuario", _usuario);Debug.locals.put("usuario", _usuario); + BA.debugLineNum = 1694;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(536870912); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {7},new Object[] {(_idclie),(RemoteObject.concat(_sdate,RemoteObject.createImmutable(" "),_stime)),(_usuario),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART")))),(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO")))),(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lon_gps" /*RemoteObject*/ )),(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_lat_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 1697;BA.debugLine="l_cant.Text = h.GetString(\"PC_NOART\")"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))))); + BA.debugLineNum = 1698;BA.debugLine="l_total2.Text = NumberFormat2(h.GetDouble(\"PC_MO"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_total2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(c_productos.__c.runMethod(true,"NumberFormat2",(Object)(_h.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PC_MONTO")))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False"))))); + }else { + BA.debugLineNum = 1701;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(16); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("DELETE FROM pedido_cliente WHERE PC_CLIENTE = '"),_idclie,RemoteObject.createImmutable("'")))); + BA.debugLineNum = 1702;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +Debug.ShouldStop(32); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("UPDATE kmt_info SET gestion = 0 WHERE CAT_CL_CODIGO = '"),_idclie,RemoteObject.createImmutable("'")))); + BA.debugLineNum = 1703;BA.debugLine="l_cant.Text = \"0\""; +Debug.ShouldStop(64); +__ref.getField(false,"_l_cant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0")); + BA.debugLineNum = 1704;BA.debugLine="l_total2.Text = \"0.00\""; +Debug.ShouldStop(128); +__ref.getField(false,"_l_total2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("0.00")); + }; + BA.debugLineNum = 1706;BA.debugLine="h.Close"; +Debug.ShouldStop(512); +_h.runVoidMethod ("Close"); + BA.debugLineNum = 1707;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_aceptar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_aceptar_Click (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1392); +if (RapidSub.canDelegate("b_aceptar_click")) { return __ref.runUserSub(false, "c_productos","b_aceptar_click", __ref);} + BA.debugLineNum = 1392;BA.debugLine="Private Sub b_aceptar_Click"; +Debug.ShouldStop(32768); + BA.debugLineNum = 1393;BA.debugLine="p_vistaPreviaTrans.Visible=False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1394;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(131072); +c_productos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 1395;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_continuar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_continuar_Click (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1264); +if (RapidSub.canDelegate("b_continuar_click")) { return __ref.runUserSub(false, "c_productos","b_continuar_click", __ref);} +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _fg = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _costo = RemoteObject.createImmutable(""); + BA.debugLineNum = 1264;BA.debugLine="Private Sub b_continuar_Click"; +Debug.ShouldStop(32768); + BA.debugLineNum = 1265;BA.debugLine="Log(\"b_continuar_Click\")"; +Debug.ShouldStop(65536); +c_productos.__c.runVoidMethod ("LogImpl","519202049",RemoteObject.createImmutable("b_continuar_Click"),0); + BA.debugLineNum = 1266;BA.debugLine="cuentaProds"; +Debug.ShouldStop(131072); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 1268;BA.debugLine="Log($\"prodsMap=${prodsMap}\"$)"; +Debug.ShouldStop(524288); +c_productos.__c.runVoidMethod ("LogImpl","519202052",(RemoteObject.concat(RemoteObject.createImmutable("prodsMap="),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 1275;BA.debugLine="Log(\"promos-inv, prods-inv, cat-vis\")"; +Debug.ShouldStop(67108864); +c_productos.__c.runVoidMethod ("LogImpl","519202059",RemoteObject.createImmutable("promos-inv, prods-inv, cat-vis"),0); + BA.debugLineNum = 1276;BA.debugLine="lv_promos.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1277;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1278;BA.debugLine="lv_subtipo.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_lv_subtipo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1279;BA.debugLine="lv_tipo.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_lv_tipo" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1280;BA.debugLine="lv_catalogos.Visible = True"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 1281;BA.debugLine="Log(\"Continuar\")"; +Debug.ShouldStop(1); +c_productos.__c.runVoidMethod ("LogImpl","519202065",RemoteObject.createImmutable("Continuar"),0); + BA.debugLineNum = 1282;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; +Debug.ShouldStop(2); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = c_productos._subs.runMethod(false,"_traetotalesclienteactual" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 1283;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; +Debug.ShouldStop(4); +__ref.setField ("_prodspedidoactual" /*RemoteObject*/ ,BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("productos")))))); + BA.debugLineNum = 1284;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; +Debug.ShouldStop(8); +__ref.setField ("_montopedidoactual" /*RemoteObject*/ ,BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))); + BA.debugLineNum = 1285;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"Select"; +Debug.ShouldStop(16); +_fg = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fg = 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 IFNULL(sum(PE_COSTO_TOT),0) AS COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))));Debug.locals.put("fg", _fg);Debug.locals.put("fg", _fg); + BA.debugLineNum = 1286;BA.debugLine="fg.Position = 0"; +Debug.ShouldStop(32); +_fg.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1287;BA.debugLine="Dim costo As String = fg.GetString(\"COSTO\")"; +Debug.ShouldStop(64); +_costo = _fg.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COSTO")));Debug.locals.put("costo", _costo);Debug.locals.put("costo", _costo); + BA.debugLineNum = 1289;BA.debugLine="If costo > 0 And costo < 1000 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _costo),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("<",BA.numberCast(double.class, _costo),BA.numberCast(double.class, 1000))) { + BA.debugLineNum = 1290;BA.debugLine="result = Msgbox2($\"¿Desea continuar?${CRLF}Si ac"; +Debug.ShouldStop(512); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_productos.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("¿Desea continuar?"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Si acepta, el pedido se borrará (mínimo $1,000)."),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Si cancela, podrá seguir agregando productos."))))),(Object)(BA.ObjectToCharSequence("Venta Minima de Credito")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_productos.__c.runMethod(false,"LoadBitmap",(Object)(c_productos.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 1291;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_productos.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 1292;BA.debugLine="Subs.borraPedidoCredito"; +Debug.ShouldStop(2048); +c_productos._subs.runVoidMethod ("_borrapedidocredito" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 1293;BA.debugLine="B4XPages.MainPage.promos.promosMap.Initialize"; +Debug.ShouldStop(4096); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_promos" /*RemoteObject*/ ).getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1294;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(8192); +c_productos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }else { + BA.debugLineNum = 1296;BA.debugLine="lv_catalogos.Visible = True"; +Debug.ShouldStop(32768); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + }; + }; + BA.debugLineNum = 1299;BA.debugLine="fg.Close"; +Debug.ShouldStop(262144); +_fg.runVoidMethod ("Close"); + BA.debugLineNum = 1300;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",14,__ref.getField(false, "ba"),__ref,645); +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 _panelcajas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _panelpiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lprodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _inv = RemoteObject.createImmutable(""); +RemoteObject _existencias = RemoteObject.createImmutable(""); +RemoteObject _id = RemoteObject.createImmutable(""); +RemoteObject _fg = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _nombrex = RemoteObject.createImmutable(""); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _o = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _invactualizado = RemoteObject.createImmutable(""); +RemoteObject _maxcajas = RemoteObject.createImmutable(0); + BA.debugLineNum = 645;BA.debugLine="Sub b_prodMas_Click"; +Debug.ShouldStop(16); + BA.debugLineNum = 646;BA.debugLine="totalcajasmaspiezas = 0"; +Debug.ShouldStop(32); +__ref.setField ("_totalcajasmaspiezas" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 647;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(64); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_productos.__c.getField(true,"False")); + BA.debugLineNum = 648;BA.debugLine="Root.RequestFocus"; +Debug.ShouldStop(128); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 651;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +Debug.ShouldStop(1024); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 652;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +Debug.ShouldStop(2048); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 653;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(4096); +_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 = 654;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +Debug.ShouldStop(8192); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 655;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; +Debug.ShouldStop(16384); +_panelcajas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelcajas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("panelcajas", _panelcajas);Debug.locals.put("panelcajas", _panelcajas); + BA.debugLineNum = 656;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +Debug.ShouldStop(32768); +_panelpiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelpiezas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("panelpiezas", _panelpiezas);Debug.locals.put("panelpiezas", _panelpiezas); + BA.debugLineNum = 657;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +Debug.ShouldStop(65536); +_lacant2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant2 = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant2", _lacant2);Debug.locals.put("laCant2", _lacant2); + BA.debugLineNum = 658;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +Debug.ShouldStop(131072); +_lprodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lprodx = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("lProdX", _lprodx);Debug.locals.put("lProdX", _lprodx); + BA.debugLineNum = 661;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; +Debug.ShouldStop(1048576); +_precio = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 662;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(index"; +Debug.ShouldStop(2097152); +_inv = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen")))));Debug.locals.put("inv", _inv);Debug.locals.put("inv", _inv); + BA.debugLineNum = 663;BA.debugLine="Private existencias As String = clv_prods_ll.GetV"; +Debug.ShouldStop(4194304); +_existencias = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen")))));Debug.locals.put("existencias", _existencias);Debug.locals.put("existencias", _existencias); + BA.debugLineNum = 664;BA.debugLine="Log($\"Existencias: ${existencias}\"$)"; +Debug.ShouldStop(8388608); +c_productos.__c.runVoidMethod ("LogImpl","518808851",(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_existencias))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 665;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 666;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +Debug.ShouldStop(33554432); +_id = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 683;BA.debugLine="Log(B4XPages.MainPage.tipo_venta)"; +Debug.ShouldStop(1024); +c_productos.__c.runVoidMethod ("LogImpl","518808870",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),0); + BA.debugLineNum = 684;BA.debugLine="Log(B4XPages.MainPage.cliente.credito_diponible)"; +Debug.ShouldStop(2048); +c_productos.__c.runVoidMethod ("LogImpl","518808871",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(true,"_credito_diponible" /*RemoteObject*/ ),0); + BA.debugLineNum = 685;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +Debug.ShouldStop(4096); +c_productos.__c.runVoidMethod ("LogImpl","518808872",_lacant.runMethod(true,"getText"),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 686;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_CREDI"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_CREDITO"))) { + BA.debugLineNum = 687;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"Selec"; +Debug.ShouldStop(16384); +_fg = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fg = 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 IFNULL(sum(PE_COSTO_TOT),0) AS COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))));Debug.locals.put("fg", _fg);Debug.locals.put("fg", _fg); + BA.debugLineNum = 688;BA.debugLine="fg.Position = 0"; +Debug.ShouldStop(32768); +_fg.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 690;BA.debugLine="If fg.GetString(\"COSTO\") + precio <= B4XPages.Ma"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("k",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _fg.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COSTO")))),BA.numberCast(double.class, _precio)}, "+",1, 0),BA.numberCast(double.class, c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(true,"_credito_diponible" /*RemoteObject*/ )))) { + BA.debugLineNum = 691;BA.debugLine="If Subs.traeinventario(id) > 0 And (laCant.Text"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("k",BA.numberCast(double.class, _lacant.runMethod(true,"getText")),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))))))) { + BA.debugLineNum = 693;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"alma"; +Debug.ShouldStop(1048576); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("almacen"))),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _inv),RemoteObject.createImmutable(1)}, "-",1, 0))))); + BA.debugLineNum = 694;BA.debugLine="inv = inv - 1"; +Debug.ShouldStop(2097152); +_inv = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _inv),RemoteObject.createImmutable(1)}, "-",1, 0));Debug.locals.put("inv", _inv); + BA.debugLineNum = 696;BA.debugLine="laCant.Text = NumberFormat2((laCant.Text + 1),"; +Debug.ShouldStop(8388608); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(c_productos.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_productos.__c.getField(true,"False"))))); + }; + BA.debugLineNum = 699;BA.debugLine="Private nombreX As String = Subs.traeProdNombre"; +Debug.ShouldStop(67108864); +_nombrex = c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("nombreX", _nombrex);Debug.locals.put("nombreX", _nombrex); + BA.debugLineNum = 702;BA.debugLine="If laCant.Text > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 703;BA.debugLine="panelcajas.Visible = False"; +Debug.ShouldStop(1073741824); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 704;BA.debugLine="Else If laCant.Text = 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 705;BA.debugLine="panelcajas.Visible = True"; +Debug.ShouldStop(1); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + }} +; + BA.debugLineNum = 708;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +Debug.ShouldStop(8); +c_productos.__c.runVoidMethod ("LogImpl","518808895",_lacant.runMethod(true,"getText"),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 715;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio"; +Debug.ShouldStop(1024); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_precio),(Object)(BA.numberCast(int.class, _lacant.runMethod(true,"getText"))),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0))); + BA.debugLineNum = 716;BA.debugLine="cuentaProds"; +Debug.ShouldStop(2048); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 718;BA.debugLine="If 1 = 1 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(1),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 719;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(16384); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 720;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(32768); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 721;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(65536); +_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_o = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 722;BA.debugLine="Private invActualizado As String = \"0\""; +Debug.ShouldStop(131072); +_invactualizado = BA.ObjectToString("0");Debug.locals.put("invActualizado", _invactualizado);Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 723;BA.debugLine="If o.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_o.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 724;BA.debugLine="o.Position = 0"; +Debug.ShouldStop(524288); +_o.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 725;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\""; +Debug.ShouldStop(1048576); +_invactualizado = _o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")));Debug.locals.put("invActualizado", _invactualizado); + }; + BA.debugLineNum = 727;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"p"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",(BA.numberCast(float.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))))),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean("=",(BA.numberCast(int.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 728;BA.debugLine="Private maxcajas As Int = 0"; +Debug.ShouldStop(8388608); +_maxcajas = BA.numberCast(int.class, 0);Debug.locals.put("maxcajas", _maxcajas);Debug.locals.put("maxcajas", _maxcajas); + BA.debugLineNum = 729;BA.debugLine="Log(\"cajas a 0\")"; +Debug.ShouldStop(16777216); +c_productos.__c.runVoidMethod ("LogImpl","518808916",RemoteObject.createImmutable("cajas a 0"),0); + }else { + BA.debugLineNum = 731;BA.debugLine="Private maxcajas As Int = invActualizado/clv_"; +Debug.ShouldStop(67108864); +_maxcajas = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _invactualizado),BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))}, "/",0, 0));Debug.locals.put("maxcajas", _maxcajas);Debug.locals.put("maxcajas", _maxcajas); + BA.debugLineNum = 732;BA.debugLine="Log(\"cajas no a 0\")"; +Debug.ShouldStop(134217728); +c_productos.__c.runVoidMethod ("LogImpl","518808919",RemoteObject.createImmutable("cajas no a 0"),0); + }; + BA.debugLineNum = 734;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.re"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(2),BA.numberCast(double.class, 2))) { +_lprodx.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nombrex))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),_invactualizado)))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff017f01)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(" $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precio)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Max. Cajas: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxcajas))),RemoteObject.createImmutable("")))))).runMethod(false,"PopAll").getObject()));}; + }; + BA.debugLineNum = 737;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinven"; +Debug.ShouldStop(1); +__ref.setField ("_invtotal" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcajasmaspiezas" /*RemoteObject*/ ),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))); + }else { + BA.debugLineNum = 740;BA.debugLine="MsgboxAsync(\"No se puede meter mas venta a cred"; +Debug.ShouldStop(8); +c_productos.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No se puede meter mas venta a credito por que supera el limite del credito")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atencion"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 743;BA.debugLine="If Subs.traeinventario(id) > 0 And (laCant.Text"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("k",BA.numberCast(double.class, _lacant.runMethod(true,"getText")),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))))))) { + BA.debugLineNum = 745;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"almac"; +Debug.ShouldStop(256); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("almacen"))),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _inv),RemoteObject.createImmutable(1)}, "-",1, 0))))); + BA.debugLineNum = 746;BA.debugLine="inv = inv - 1"; +Debug.ShouldStop(512); +_inv = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _inv),RemoteObject.createImmutable(1)}, "-",1, 0));Debug.locals.put("inv", _inv); + BA.debugLineNum = 748;BA.debugLine="laCant.Text = NumberFormat2((laCant.Text + 1),"; +Debug.ShouldStop(2048); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(c_productos.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_productos.__c.getField(true,"False"))))); + }; + BA.debugLineNum = 751;BA.debugLine="Private nombreX As String = Subs.traeProdNombre("; +Debug.ShouldStop(16384); +_nombrex = c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("nombreX", _nombrex);Debug.locals.put("nombreX", _nombrex); + BA.debugLineNum = 754;BA.debugLine="If laCant.Text > 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 755;BA.debugLine="panelcajas.Visible = False"; +Debug.ShouldStop(262144); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 756;BA.debugLine="Else If laCant.Text = 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 757;BA.debugLine="panelcajas.Visible = True"; +Debug.ShouldStop(1048576); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + }} +; + BA.debugLineNum = 760;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +Debug.ShouldStop(8388608); +c_productos.__c.runVoidMethod ("LogImpl","518808947",_lacant.runMethod(true,"getText"),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 767;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; +Debug.ShouldStop(1073741824); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_precio),(Object)(BA.numberCast(int.class, _lacant.runMethod(true,"getText"))),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0))); + BA.debugLineNum = 768;BA.debugLine="cuentaProds"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 770;BA.debugLine="If 1 = 1 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(1),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 771;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(4); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 772;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(8); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 773;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(16); +_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_o = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 774;BA.debugLine="Private invActualizado As String = \"0\""; +Debug.ShouldStop(32); +_invactualizado = BA.ObjectToString("0");Debug.locals.put("invActualizado", _invactualizado);Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 775;BA.debugLine="If o.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_o.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 776;BA.debugLine="o.Position = 0"; +Debug.ShouldStop(128); +_o.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 777;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; +Debug.ShouldStop(256); +_invactualizado = _o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")));Debug.locals.put("invActualizado", _invactualizado); + }; + BA.debugLineNum = 779;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pr"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",(BA.numberCast(float.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))))),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean("=",(BA.numberCast(int.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 780;BA.debugLine="Private maxcajas As Int = 0"; +Debug.ShouldStop(2048); +_maxcajas = BA.numberCast(int.class, 0);Debug.locals.put("maxcajas", _maxcajas);Debug.locals.put("maxcajas", _maxcajas); + BA.debugLineNum = 781;BA.debugLine="Log(\"cajas a 0\")"; +Debug.ShouldStop(4096); +c_productos.__c.runVoidMethod ("LogImpl","518808968",RemoteObject.createImmutable("cajas a 0"),0); + }else { + BA.debugLineNum = 783;BA.debugLine="Private maxcajas As Int = invActualizado/clv_p"; +Debug.ShouldStop(16384); +_maxcajas = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _invactualizado),BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))}, "/",0, 0));Debug.locals.put("maxcajas", _maxcajas);Debug.locals.put("maxcajas", _maxcajas); + BA.debugLineNum = 784;BA.debugLine="Log(\"cajas no a 0\")"; +Debug.ShouldStop(32768); +c_productos.__c.runVoidMethod ("LogImpl","518808971",RemoteObject.createImmutable("cajas no a 0"),0); + }; + BA.debugLineNum = 786;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(2),BA.numberCast(double.class, 2))) { +_lprodx.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nombrex))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),_invactualizado)))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff017f01)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(" $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precio)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Max. Cajas: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxcajas))),RemoteObject.createImmutable("")))))).runMethod(false,"PopAll").getObject()));}; + }; + BA.debugLineNum = 789;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinvent"; +Debug.ShouldStop(1048576); +__ref.setField ("_invtotal" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcajasmaspiezas" /*RemoteObject*/ ),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))); + }; + BA.debugLineNum = 792;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +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",14,__ref.getField(false, "ba"),__ref,2179); +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 _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lprodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _panelcajas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _panelpiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _inv = RemoteObject.createImmutable(""); +RemoteObject _existencias = RemoteObject.createImmutable(""); +RemoteObject _conversion = RemoteObject.createImmutable(""); +RemoteObject _preciocaja = RemoteObject.createImmutable(""); +RemoteObject _id = RemoteObject.createImmutable(""); +RemoteObject _fg = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _nombrex = RemoteObject.createImmutable(""); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _o = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _invactualizado = RemoteObject.createImmutable(""); +RemoteObject _maxcajas2 = RemoteObject.createImmutable(0); + BA.debugLineNum = 2179;BA.debugLine="Sub b_prodMasc_Click"; +Debug.ShouldStop(4); + BA.debugLineNum = 2180;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(8); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_productos.__c.getField(true,"False")); + BA.debugLineNum = 2181;BA.debugLine="Root.RequestFocus"; +Debug.ShouldStop(16); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 2184;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +Debug.ShouldStop(128); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 2185;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +Debug.ShouldStop(256); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 2186;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(512); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = _pnl0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("pnl", _pnl);Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 2187;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +Debug.ShouldStop(1024); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 2188;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +Debug.ShouldStop(2048); +_lacant2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant2 = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant2", _lacant2);Debug.locals.put("laCant2", _lacant2); + BA.debugLineNum = 2189;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +Debug.ShouldStop(4096); +_lprodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lprodx = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("lProdX", _lprodx);Debug.locals.put("lProdX", _lprodx); + BA.debugLineNum = 2190;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; +Debug.ShouldStop(8192); +_panelcajas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelcajas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("panelcajas", _panelcajas);Debug.locals.put("panelcajas", _panelcajas); + BA.debugLineNum = 2191;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +Debug.ShouldStop(16384); +_panelpiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelpiezas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("panelpiezas", _panelpiezas);Debug.locals.put("panelpiezas", _panelpiezas); + BA.debugLineNum = 2193;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; +Debug.ShouldStop(65536); +_precio = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 2194;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(index"; +Debug.ShouldStop(131072); +_inv = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen")))));Debug.locals.put("inv", _inv);Debug.locals.put("inv", _inv); + BA.debugLineNum = 2195;BA.debugLine="Private existencias As String = clv_prods_ll.GetV"; +Debug.ShouldStop(262144); +_existencias = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen")))));Debug.locals.put("existencias", _existencias);Debug.locals.put("existencias", _existencias); + BA.debugLineNum = 2196;BA.debugLine="Private conversion As String = clv_prods_ll.GetVa"; +Debug.ShouldStop(524288); +_conversion = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))));Debug.locals.put("conversion", _conversion);Debug.locals.put("conversion", _conversion); + BA.debugLineNum = 2197;BA.debugLine="Private preciocaja As String = clv_prods_ll.GetVa"; +Debug.ShouldStop(1048576); +_preciocaja = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))));Debug.locals.put("preciocaja", _preciocaja);Debug.locals.put("preciocaja", _preciocaja); + BA.debugLineNum = 2198;BA.debugLine="Log(conversion)"; +Debug.ShouldStop(2097152); +c_productos.__c.runVoidMethod ("LogImpl","520381715",_conversion,0); + BA.debugLineNum = 2199;BA.debugLine="Log($\"Existencias: ${existencias}\"$)"; +Debug.ShouldStop(4194304); +c_productos.__c.runVoidMethod ("LogImpl","520381716",(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_existencias))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2200;BA.debugLine="If laCant2.Text = \"\" Then laCant2.Text = 0"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_lacant2.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant2.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 2201;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +Debug.ShouldStop(16777216); +_id = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 2218;BA.debugLine="Log(B4XPages.MainPage.tipo_venta)"; +Debug.ShouldStop(512); +c_productos.__c.runVoidMethod ("LogImpl","520381735",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),0); + BA.debugLineNum = 2219;BA.debugLine="Log(\"--------------->Credito Disponible: \"&B4XPag"; +Debug.ShouldStop(1024); +c_productos.__c.runVoidMethod ("LogImpl","520381736",RemoteObject.concat(RemoteObject.createImmutable("--------------->Credito Disponible: "),c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(true,"_credito_diponible" /*RemoteObject*/ )),0); + BA.debugLineNum = 2220;BA.debugLine="Log(preciocaja)"; +Debug.ShouldStop(2048); +c_productos.__c.runVoidMethod ("LogImpl","520381737",_preciocaja,0); + BA.debugLineNum = 2222;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_CREDI"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_CREDITO"))) { + BA.debugLineNum = 2223;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"Selec"; +Debug.ShouldStop(16384); +_fg = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fg = 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 Ifnull(sum(PE_COSTO_TOT),0) AS COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))));Debug.locals.put("fg", _fg);Debug.locals.put("fg", _fg); + BA.debugLineNum = 2224;BA.debugLine="fg.Position = 0"; +Debug.ShouldStop(32768); +_fg.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2225;BA.debugLine="If fg.GetString(\"COSTO\") + preciocaja <= B4XPage"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("k",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _fg.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COSTO")))),BA.numberCast(double.class, _preciocaja)}, "+",1, 0),BA.numberCast(double.class, c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(true,"_credito_diponible" /*RemoteObject*/ )))) { + BA.debugLineNum = 2226;BA.debugLine="Log(Subs.traeinventario(id))"; +Debug.ShouldStop(131072); +c_productos.__c.runVoidMethod ("LogImpl","520381743",c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)),0); + BA.debugLineNum = 2227;BA.debugLine="Log((laCant2.Text * conversion) + conversion)"; +Debug.ShouldStop(262144); +c_productos.__c.runVoidMethod ("LogImpl","520381744",BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0)),BA.numberCast(double.class, _conversion)}, "+",1, 0)),0); + BA.debugLineNum = 2228;BA.debugLine="Log((laCant2.Text *conversion)+ Subs.traeinvent"; +Debug.ShouldStop(524288); +c_productos.__c.runVoidMethod ("LogImpl","520381745",BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0)),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0)),0); + BA.debugLineNum = 2229;BA.debugLine="If Subs.traeinventario(id) > 0 And ((laCant2.Te"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("k",RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0)),BA.numberCast(double.class, _conversion)}, "+",1, 0),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0)),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))))))) { + BA.debugLineNum = 2231;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"alma"; +Debug.ShouldStop(4194304); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("almacen"))),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _inv),BA.numberCast(double.class, _conversion)}, "-",1, 0))))); + BA.debugLineNum = 2232;BA.debugLine="inv = inv - conversion"; +Debug.ShouldStop(8388608); +_inv = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _inv),BA.numberCast(double.class, _conversion)}, "-",1, 0));Debug.locals.put("inv", _inv); + BA.debugLineNum = 2234;BA.debugLine="laCant2.Text = NumberFormat2((laCant2.Text + 1"; +Debug.ShouldStop(33554432); +_lacant2.runMethod(true,"setText",BA.ObjectToCharSequence(c_productos.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_productos.__c.getField(true,"False"))))); + BA.debugLineNum = 2236;BA.debugLine="Log(\"cuando entro aqui?\")"; +Debug.ShouldStop(134217728); +c_productos.__c.runVoidMethod ("LogImpl","520381753",RemoteObject.createImmutable("cuando entro aqui?"),0); + }; + BA.debugLineNum = 2238;BA.debugLine="Private nombreX As String = Subs.traeProdNombre"; +Debug.ShouldStop(536870912); +_nombrex = c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("nombreX", _nombrex);Debug.locals.put("nombreX", _nombrex); + BA.debugLineNum = 2240;BA.debugLine="Log((laCant2.Text * conversion))"; +Debug.ShouldStop(-2147483648); +c_productos.__c.runVoidMethod ("LogImpl","520381757",BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0))),0); + BA.debugLineNum = 2241;BA.debugLine="If laCant2.Text > 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2242;BA.debugLine="panelpiezas.Visible = False"; +Debug.ShouldStop(2); +_panelpiezas.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 2243;BA.debugLine="Else If laCant2.Text = 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_lacant2.runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 2244;BA.debugLine="panelpiezas.Visible = True"; +Debug.ShouldStop(8); +_panelpiezas.runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + }} +; + BA.debugLineNum = 2254;BA.debugLine="Subs.actualizaProducto2(Subs.traeAlmacen,precio"; +Debug.ShouldStop(8192); +c_productos._subs.runVoidMethod ("_actualizaproducto2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_preciocaja),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0)))),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(_lacant2.runMethod(true,"getText")),(Object)(BA.NumberToString(1))); + BA.debugLineNum = 2255;BA.debugLine="cuentaProds"; +Debug.ShouldStop(16384); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 2257;BA.debugLine="If 1 = 1 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(1),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2258;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(131072); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 2259;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(262144); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 2260;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($"; +Debug.ShouldStop(524288); +_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_o = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 2261;BA.debugLine="Private invActualizado As String = \"0\""; +Debug.ShouldStop(1048576); +_invactualizado = BA.ObjectToString("0");Debug.locals.put("invActualizado", _invactualizado);Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 2262;BA.debugLine="If o.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_o.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2263;BA.debugLine="o.Position = 0"; +Debug.ShouldStop(4194304); +_o.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2264;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\""; +Debug.ShouldStop(8388608); +_invactualizado = _o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")));Debug.locals.put("invActualizado", _invactualizado); + }; + BA.debugLineNum = 2266;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"p"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",(BA.numberCast(float.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))))),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean("=",(BA.numberCast(int.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2267;BA.debugLine="Private maxcajas2 As Int = 0"; +Debug.ShouldStop(67108864); +_maxcajas2 = BA.numberCast(int.class, 0);Debug.locals.put("maxcajas2", _maxcajas2);Debug.locals.put("maxcajas2", _maxcajas2); + BA.debugLineNum = 2268;BA.debugLine="Log(\"cajas a 0\")"; +Debug.ShouldStop(134217728); +c_productos.__c.runVoidMethod ("LogImpl","520381785",RemoteObject.createImmutable("cajas a 0"),0); + }else { + BA.debugLineNum = 2270;BA.debugLine="Private maxcajas2 As Int = invActualizado/clv"; +Debug.ShouldStop(536870912); +_maxcajas2 = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _invactualizado),BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))}, "/",0, 0));Debug.locals.put("maxcajas2", _maxcajas2);Debug.locals.put("maxcajas2", _maxcajas2); + BA.debugLineNum = 2271;BA.debugLine="Log(\"cajas no a 0\")"; +Debug.ShouldStop(1073741824); +c_productos.__c.runVoidMethod ("LogImpl","520381788",RemoteObject.createImmutable("cajas no a 0"),0); + }; + BA.debugLineNum = 2273;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.re"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(2),BA.numberCast(double.class, 2))) { +_lprodx.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nombrex))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),_invactualizado)))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff017f01)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(" $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precio)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Max. Cajas: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxcajas2))),RemoteObject.createImmutable("")))))).runMethod(false,"PopAll").getObject()));}; + }; + BA.debugLineNum = 2276;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinven"; +Debug.ShouldStop(8); +__ref.setField ("_invtotal" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcajasmaspiezas" /*RemoteObject*/ ),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))); + }else { + BA.debugLineNum = 2279;BA.debugLine="MsgboxAsync(\"No se puede meter mas venta a cred"; +Debug.ShouldStop(64); +c_productos.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No se puede meter mas venta a credito por que supera el limite del credito")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atencion"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 2282;BA.debugLine="Log(Subs.traeinventario(id))"; +Debug.ShouldStop(512); +c_productos.__c.runVoidMethod ("LogImpl","520381799",c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)),0); + BA.debugLineNum = 2283;BA.debugLine="Log((laCant2.Text * conversion) + conversion)"; +Debug.ShouldStop(1024); +c_productos.__c.runVoidMethod ("LogImpl","520381800",BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0)),BA.numberCast(double.class, _conversion)}, "+",1, 0)),0); + BA.debugLineNum = 2284;BA.debugLine="Log((laCant2.Text *conversion)+ Subs.traeinventa"; +Debug.ShouldStop(2048); +c_productos.__c.runVoidMethod ("LogImpl","520381801",BA.NumberToString(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0)),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0)),0); + BA.debugLineNum = 2285;BA.debugLine="If Subs.traeinventario(id) > 0 And ((laCant2.Tex"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("k",RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0)),BA.numberCast(double.class, _conversion)}, "+",1, 0),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0)),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))))))) { + BA.debugLineNum = 2287;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"almac"; +Debug.ShouldStop(16384); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("almacen"))),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _inv),BA.numberCast(double.class, _conversion)}, "-",1, 0))))); + BA.debugLineNum = 2288;BA.debugLine="inv = inv - conversion"; +Debug.ShouldStop(32768); +_inv = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _inv),BA.numberCast(double.class, _conversion)}, "-",1, 0));Debug.locals.put("inv", _inv); + BA.debugLineNum = 2290;BA.debugLine="laCant2.Text = NumberFormat2((laCant2.Text + 1)"; +Debug.ShouldStop(131072); +_lacant2.runMethod(true,"setText",BA.ObjectToCharSequence(c_productos.__c.runMethod(true,"NumberFormat2",(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_productos.__c.getField(true,"False"))))); + BA.debugLineNum = 2292;BA.debugLine="Log(\"cuando entro aqui?\")"; +Debug.ShouldStop(524288); +c_productos.__c.runVoidMethod ("LogImpl","520381809",RemoteObject.createImmutable("cuando entro aqui?"),0); + }; + BA.debugLineNum = 2294;BA.debugLine="Private nombreX As String = Subs.traeProdNombre("; +Debug.ShouldStop(2097152); +_nombrex = c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("nombreX", _nombrex);Debug.locals.put("nombreX", _nombrex); + BA.debugLineNum = 2296;BA.debugLine="Log((laCant2.Text * conversion))"; +Debug.ShouldStop(8388608); +c_productos.__c.runVoidMethod ("LogImpl","520381813",BA.NumberToString((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0))),0); + BA.debugLineNum = 2297;BA.debugLine="If laCant2.Text > 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2298;BA.debugLine="panelpiezas.Visible = False"; +Debug.ShouldStop(33554432); +_panelpiezas.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 2299;BA.debugLine="Else If laCant2.Text = 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_lacant2.runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 2300;BA.debugLine="panelpiezas.Visible = True"; +Debug.ShouldStop(134217728); +_panelpiezas.runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + }} +; + BA.debugLineNum = 2310;BA.debugLine="Subs.actualizaProducto2(Subs.traeAlmacen,precioc"; +Debug.ShouldStop(32); +c_productos._subs.runVoidMethod ("_actualizaproducto2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_preciocaja),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0)))),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(_lacant2.runMethod(true,"getText")),(Object)(BA.NumberToString(1))); + BA.debugLineNum = 2311;BA.debugLine="cuentaProds"; +Debug.ShouldStop(64); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 2313;BA.debugLine="If 1 = 1 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(1),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2314;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(512); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 2315;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(1024); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 2316;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(2048); +_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_o = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 2317;BA.debugLine="Private invActualizado As String = \"0\""; +Debug.ShouldStop(4096); +_invactualizado = BA.ObjectToString("0");Debug.locals.put("invActualizado", _invactualizado);Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 2318;BA.debugLine="If o.RowCount > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_o.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2319;BA.debugLine="o.Position = 0"; +Debug.ShouldStop(16384); +_o.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2320;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; +Debug.ShouldStop(32768); +_invactualizado = _o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")));Debug.locals.put("invActualizado", _invactualizado); + }; + BA.debugLineNum = 2322;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pr"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",(BA.numberCast(float.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))))),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean("=",(BA.numberCast(int.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2323;BA.debugLine="Private maxcajas2 As Int = 0"; +Debug.ShouldStop(262144); +_maxcajas2 = BA.numberCast(int.class, 0);Debug.locals.put("maxcajas2", _maxcajas2);Debug.locals.put("maxcajas2", _maxcajas2); + BA.debugLineNum = 2324;BA.debugLine="Log(\"cajas a 0\")"; +Debug.ShouldStop(524288); +c_productos.__c.runVoidMethod ("LogImpl","520381841",RemoteObject.createImmutable("cajas a 0"),0); + }else { + BA.debugLineNum = 2326;BA.debugLine="Private maxcajas2 As Int = invActualizado/clv_"; +Debug.ShouldStop(2097152); +_maxcajas2 = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _invactualizado),BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))}, "/",0, 0));Debug.locals.put("maxcajas2", _maxcajas2);Debug.locals.put("maxcajas2", _maxcajas2); + BA.debugLineNum = 2327;BA.debugLine="Log(\"cajas no a 0\")"; +Debug.ShouldStop(4194304); +c_productos.__c.runVoidMethod ("LogImpl","520381844",RemoteObject.createImmutable("cajas no a 0"),0); + }; + BA.debugLineNum = 2329;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(2),BA.numberCast(double.class, 2))) { +_lprodx.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nombrex))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),_invactualizado)))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff017f01)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(" $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precio)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Max. Cajas: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxcajas2))),RemoteObject.createImmutable("")))))).runMethod(false,"PopAll").getObject()));}; + }; + BA.debugLineNum = 2332;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinvent"; +Debug.ShouldStop(134217728); +__ref.setField ("_invtotal" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcajasmaspiezas" /*RemoteObject*/ ),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))); + }; + BA.debugLineNum = 2336;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +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",14,__ref.getField(false, "ba"),__ref,552); +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 _lacant2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _panelbotonesc = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lprodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _panelcajas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _panelpiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _tmpmap1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _id = RemoteObject.createImmutable(""); +RemoteObject _tmpmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _nombrex = RemoteObject.createImmutable(""); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _o = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _invactualizado = RemoteObject.createImmutable(""); +RemoteObject _maxcajas = RemoteObject.createImmutable(0); + BA.debugLineNum = 552;BA.debugLine="Sub b_prodMenos_Click"; +Debug.ShouldStop(128); + BA.debugLineNum = 553;BA.debugLine="totalcajasmaspiezas = 0"; +Debug.ShouldStop(256); +__ref.setField ("_totalcajasmaspiezas" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 554;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(512); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_productos.__c.getField(true,"False")); + BA.debugLineNum = 555;BA.debugLine="Root.RequestFocus"; +Debug.ShouldStop(1024); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 557;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +Debug.ShouldStop(4096); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 558;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +Debug.ShouldStop(8192); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 559;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(16384); +_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 = 560;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +Debug.ShouldStop(32768); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 561;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +Debug.ShouldStop(65536); +_lacant2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant2 = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant2", _lacant2);Debug.locals.put("laCant2", _lacant2); + BA.debugLineNum = 562;BA.debugLine="Dim panelbotonesc As B4XView = pnl.GetView(3)"; +Debug.ShouldStop(131072); +_panelbotonesc = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelbotonesc = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("panelbotonesc", _panelbotonesc);Debug.locals.put("panelbotonesc", _panelbotonesc); + BA.debugLineNum = 563;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +Debug.ShouldStop(262144); +_lprodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lprodx = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("lProdX", _lprodx);Debug.locals.put("lProdX", _lprodx); + BA.debugLineNum = 564;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; +Debug.ShouldStop(524288); +_panelcajas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelcajas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("panelcajas", _panelcajas);Debug.locals.put("panelcajas", _panelcajas); + BA.debugLineNum = 565;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +Debug.ShouldStop(1048576); +_panelpiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelpiezas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("panelpiezas", _panelpiezas);Debug.locals.put("panelpiezas", _panelpiezas); + BA.debugLineNum = 567;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 = 569;BA.debugLine="laCant.Text = $\"${NumberFormat2(laCant.Text-1,0,0"; +Debug.ShouldStop(16777216); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "-",1, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 570;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +Debug.ShouldStop(33554432); +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 = 571;BA.debugLine="Private tmpMap1 As Map = clv_prods_ll.GetValue(in"; +Debug.ShouldStop(67108864); +_tmpmap1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap1 = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index))));Debug.locals.put("tmpMap1", _tmpmap1);Debug.locals.put("tmpMap1", _tmpmap1); + BA.debugLineNum = 572;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; +Debug.ShouldStop(134217728); +_precio = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 573;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +Debug.ShouldStop(268435456); +_id = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 574;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +Debug.ShouldStop(536870912); +_tmpmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap = c_productos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("precio")),(_precio),RemoteObject.createImmutable(("cant")),(_lacant.runMethod(true,"getText")),RemoteObject.createImmutable(("almacen")),(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))}));Debug.locals.put("tmpMap", _tmpmap);Debug.locals.put("tmpMap", _tmpmap); + BA.debugLineNum = 575;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; +Debug.ShouldStop(1073741824); +_nombrex = c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("nombreX", _nombrex);Debug.locals.put("nombreX", _nombrex); + BA.debugLineNum = 576;BA.debugLine="LogColor(tmpMap1,Colors.Magenta)"; +Debug.ShouldStop(-2147483648); +c_productos.__c.runVoidMethod ("LogImpl","518743320",BA.ObjectToString(_tmpmap1),c_productos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 578;BA.debugLine="If laCant.Text = 0 Then prodsMap.Remove(id)"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.NumberToString(0))) { +__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)((_id)));}; + BA.debugLineNum = 579;BA.debugLine="If laCant.Text = 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 580;BA.debugLine="panelcajas.Visible = True"; +Debug.ShouldStop(8); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 581;BA.debugLine="Else If laCant.Text > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 582;BA.debugLine="panelcajas.Visible = False"; +Debug.ShouldStop(32); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }} +; + BA.debugLineNum = 589;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; +Debug.ShouldStop(4096); +c_productos.__c.runVoidMethod ("LogImpl","518743333",RemoteObject.concat(RemoteObject.createImmutable("prodsMap="),__ref.getField(false,"_prodsmap" /*RemoteObject*/ )),c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 591;BA.debugLine="Log($\"${Subs.traeAlmacen}, ${precio}, ${laCant.te"; +Debug.ShouldStop(16384); +c_productos.__c.runVoidMethod ("LogImpl","518743335",(RemoteObject.concat(RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_precio))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_lacant.runMethod(true,"getText")))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_clienteid" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 592;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; +Debug.ShouldStop(32768); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_precio),(Object)(BA.numberCast(int.class, _lacant.runMethod(true,"getText"))),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0))); + BA.debugLineNum = 593;BA.debugLine="cuentaProds"; +Debug.ShouldStop(65536); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 594;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; +Debug.ShouldStop(131072); +c_productos.__c.runVoidMethod ("LogImpl","518743338",RemoteObject.concat(RemoteObject.createImmutable("prodsMap="),__ref.getField(false,"_prodsmap" /*RemoteObject*/ )),c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 595;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; +Debug.ShouldStop(262144); +c_productos.__c.runVoidMethod ("LogImpl","518743339",(RemoteObject.concat(RemoteObject.createImmutable("Total Prods: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalprods" /*RemoteObject*/ )))),RemoteObject.createImmutable(", Total Compra: $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 596;BA.debugLine="If 1 = 1 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(1),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 597;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(1048576); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 598;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(2097152); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 599;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(4194304); +_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_o = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 600;BA.debugLine="Private invActualizado As String = \"0\""; +Debug.ShouldStop(8388608); +_invactualizado = BA.ObjectToString("0");Debug.locals.put("invActualizado", _invactualizado);Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 601;BA.debugLine="If o.RowCount > 0 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",_o.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 602;BA.debugLine="o.Position = 0"; +Debug.ShouldStop(33554432); +_o.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 603;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; +Debug.ShouldStop(67108864); +_invactualizado = _o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")));Debug.locals.put("invActualizado", _invactualizado); + }; + BA.debugLineNum = 605;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pre"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",(BA.numberCast(float.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))))),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean("=",(BA.numberCast(int.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 606;BA.debugLine="Private maxcajas As Int = 0"; +Debug.ShouldStop(536870912); +_maxcajas = BA.numberCast(int.class, 0);Debug.locals.put("maxcajas", _maxcajas);Debug.locals.put("maxcajas", _maxcajas); + BA.debugLineNum = 607;BA.debugLine="Log(\"cajas a 0\")"; +Debug.ShouldStop(1073741824); +c_productos.__c.runVoidMethod ("LogImpl","518743351",RemoteObject.createImmutable("cajas a 0"),0); + }else { + BA.debugLineNum = 609;BA.debugLine="Private maxcajas As Int = invActualizado/clv_pr"; +Debug.ShouldStop(1); +_maxcajas = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _invactualizado),BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))}, "/",0, 0));Debug.locals.put("maxcajas", _maxcajas);Debug.locals.put("maxcajas", _maxcajas); + BA.debugLineNum = 610;BA.debugLine="Log(\"cajas no a 0\")"; +Debug.ShouldStop(2); +c_productos.__c.runVoidMethod ("LogImpl","518743354",RemoteObject.createImmutable("cajas no a 0"),0); + }; + BA.debugLineNum = 613;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(2),BA.numberCast(double.class, 2))) { +_lprodx.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nombrex))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),_invactualizado)))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff017f01)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(" $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precio)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Max. Cajas: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxcajas))),RemoteObject.createImmutable("")))))).runMethod(false,"PopAll").getObject()));}; + }; + BA.debugLineNum = 616;BA.debugLine="If laCant.Text = 0 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 617;BA.debugLine="If maxcajas > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_maxcajas,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 618;BA.debugLine="panelcajas.Visible = True"; +Debug.ShouldStop(512); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + }else { + BA.debugLineNum = 620;BA.debugLine="panelcajas.Visible = False"; +Debug.ShouldStop(2048); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }; + }else +{ BA.debugLineNum = 622;BA.debugLine="Else If laCant.Text > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 623;BA.debugLine="panelcajas.Visible = False"; +Debug.ShouldStop(16384); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }} +; + BA.debugLineNum = 625;BA.debugLine="If Subs.totalPedido < 1 Then laCant.Text = \"0\""; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, c_productos._subs.runMethod(true,"_totalpedido" /*RemoteObject*/ ,__ref.getField(false, "ba"))),BA.numberCast(double.class, 1))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence("0"));}; + BA.debugLineNum = 626;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +Debug.ShouldStop(131072); +__ref.setField ("_invtotal" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcajasmaspiezas" /*RemoteObject*/ ),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))); + BA.debugLineNum = 628;BA.debugLine="If tmpMap1.Get(\"conversion\") = \"1\" Or tmpMap1.Get"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_tmpmap1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))),RemoteObject.createImmutable(("1"))) || RemoteObject.solveBoolean("=",_tmpmap1.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))),RemoteObject.createImmutable(("0")))) { + BA.debugLineNum = 629;BA.debugLine="Log(\"invisible\")"; +Debug.ShouldStop(1048576); +c_productos.__c.runVoidMethod ("LogImpl","518743373",RemoteObject.createImmutable("invisible"),0); + BA.debugLineNum = 630;BA.debugLine="panelbotonesc.Visible = False"; +Debug.ShouldStop(2097152); +_panelbotonesc.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }; + BA.debugLineNum = 632;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"alma"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen"))))),BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion"))))))) { + BA.debugLineNum = 633;BA.debugLine="Log(clv_prods_ll.GetValue(index).As(Map).Get(\"ca"; +Debug.ShouldStop(16777216); +c_productos.__c.runVoidMethod ("LogImpl","518743377",BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant"))))),0); + BA.debugLineNum = 634;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"can"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",(BA.numberCast(int.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant")))))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 635;BA.debugLine="Log(\"Aqui debemos ponerlo invisible\")"; +Debug.ShouldStop(67108864); +c_productos.__c.runVoidMethod ("LogImpl","518743379",RemoteObject.createImmutable("Aqui debemos ponerlo invisible"),0); + BA.debugLineNum = 636;BA.debugLine="panelcajas.Visible = False"; +Debug.ShouldStop(134217728); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }else { + }; + }; + BA.debugLineNum = 643;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_prodmenosc_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMenosc_Click (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,2108); +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 _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lprodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _panelcajas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _panelpiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _tmpmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _id = RemoteObject.createImmutable(""); +RemoteObject _nombrex = RemoteObject.createImmutable(""); +RemoteObject _conversion = RemoteObject.createImmutable(""); +RemoteObject _preciocaja = RemoteObject.createImmutable(""); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _o = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _invactualizado = RemoteObject.createImmutable(""); +RemoteObject _maxcajas2 = RemoteObject.createImmutable(0); + BA.debugLineNum = 2108;BA.debugLine="Sub b_prodMenosc_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 2109;BA.debugLine="totalcajasmaspiezas = 0"; +Debug.ShouldStop(268435456); +__ref.setField ("_totalcajasmaspiezas" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 2110;BA.debugLine="etCantHasFocus = False"; +Debug.ShouldStop(536870912); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,c_productos.__c.getField(true,"False")); + BA.debugLineNum = 2111;BA.debugLine="Root.RequestFocus"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethod ("RequestFocus"); + BA.debugLineNum = 2113;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +Debug.ShouldStop(1); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 2114;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +Debug.ShouldStop(2); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 2115;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 = 2116;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +Debug.ShouldStop(8); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 2117;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +Debug.ShouldStop(16); +_lacant2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant2 = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant2", _lacant2);Debug.locals.put("laCant2", _lacant2); + BA.debugLineNum = 2118;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +Debug.ShouldStop(32); +_lprodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lprodx = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("lProdX", _lprodx);Debug.locals.put("lProdX", _lprodx); + BA.debugLineNum = 2119;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; +Debug.ShouldStop(64); +_panelcajas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelcajas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("panelcajas", _panelcajas);Debug.locals.put("panelcajas", _panelcajas); + BA.debugLineNum = 2120;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +Debug.ShouldStop(128); +_panelpiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelpiezas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("panelpiezas", _panelpiezas);Debug.locals.put("panelpiezas", _panelpiezas); + BA.debugLineNum = 2122;BA.debugLine="If laCant2.Text = \"\" Then laCant2.Text = 0"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_lacant2.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant2.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 2124;BA.debugLine="laCant2.Text = $\"${NumberFormat2(laCant2.Text-1,0"; +Debug.ShouldStop(2048); +_lacant2.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "-",1, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 2125;BA.debugLine="If laCant2.Text < 0 Then laCant2.Text = 0"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { +_lacant2.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 2126;BA.debugLine="Private tmpMap As Map = clv_prods_ll.GetValue(ind"; +Debug.ShouldStop(8192); +_tmpmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index))));Debug.locals.put("tmpMap", _tmpmap);Debug.locals.put("tmpMap", _tmpmap); + BA.debugLineNum = 2127;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; +Debug.ShouldStop(16384); +_precio = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 2128;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +Debug.ShouldStop(32768); +_id = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 2129;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +Debug.ShouldStop(65536); +_tmpmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap = c_productos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("precio")),(_precio),RemoteObject.createImmutable(("cant")),(_lacant2.runMethod(true,"getText")),RemoteObject.createImmutable(("almacen")),(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))}));Debug.locals.put("tmpMap", _tmpmap);Debug.locals.put("tmpMap", _tmpmap); + BA.debugLineNum = 2130;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; +Debug.ShouldStop(131072); +_nombrex = c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("nombreX", _nombrex);Debug.locals.put("nombreX", _nombrex); + BA.debugLineNum = 2131;BA.debugLine="Private conversion As String = clv_prods_ll.GetVa"; +Debug.ShouldStop(262144); +_conversion = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))));Debug.locals.put("conversion", _conversion);Debug.locals.put("conversion", _conversion); + BA.debugLineNum = 2132;BA.debugLine="Private preciocaja As String = clv_prods_ll.GetVa"; +Debug.ShouldStop(524288); +_preciocaja = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))));Debug.locals.put("preciocaja", _preciocaja);Debug.locals.put("preciocaja", _preciocaja); + BA.debugLineNum = 2133;BA.debugLine="Log(tmpMap)"; +Debug.ShouldStop(1048576); +c_productos.__c.runVoidMethod ("LogImpl","520316185",BA.ObjectToString(_tmpmap),0); + BA.debugLineNum = 2135;BA.debugLine="If laCant2.Text = 0 Then prodsMap.Remove(id)"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_lacant2.runMethod(true,"getText"),BA.NumberToString(0))) { +__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)((_id)));}; + BA.debugLineNum = 2136;BA.debugLine="If laCant2.Text = 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_lacant2.runMethod(true,"getText"),BA.NumberToString(0))) { + BA.debugLineNum = 2137;BA.debugLine="panelpiezas.Visible = True"; +Debug.ShouldStop(16777216); +_panelpiezas.runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + }else +{ BA.debugLineNum = 2138;BA.debugLine="Else If laCant2.Text > 0 Or clv_prods_ll.GetValue"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean("<",BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion"))))),BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen"))))))) { + BA.debugLineNum = 2139;BA.debugLine="panelpiezas.Visible = False"; +Debug.ShouldStop(67108864); +_panelpiezas.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }} +; + BA.debugLineNum = 2146;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; +Debug.ShouldStop(2); +c_productos.__c.runVoidMethod ("LogImpl","520316198",RemoteObject.concat(RemoteObject.createImmutable("prodsMap="),__ref.getField(false,"_prodsmap" /*RemoteObject*/ )),c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 2148;BA.debugLine="Log($\"${Subs.traeAlmacen}, ${precio}, ${laCant2.t"; +Debug.ShouldStop(8); +c_productos.__c.runVoidMethod ("LogImpl","520316200",(RemoteObject.concat(RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_precio))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_lacant2.runMethod(true,"getText")))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable(", "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_clienteid" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2150;BA.debugLine="Subs.actualizaProducto2(Subs.traeAlmacen, precio"; +Debug.ShouldStop(32); +c_productos._subs.runVoidMethod ("_actualizaproducto2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_preciocaja),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0)))),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(_lacant2.runMethod(true,"getText")),(Object)(BA.NumberToString(1))); + BA.debugLineNum = 2151;BA.debugLine="cuentaProds"; +Debug.ShouldStop(64); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 2152;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; +Debug.ShouldStop(128); +c_productos.__c.runVoidMethod ("LogImpl","520316204",RemoteObject.concat(RemoteObject.createImmutable("prodsMap="),__ref.getField(false,"_prodsmap" /*RemoteObject*/ )),c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 2153;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; +Debug.ShouldStop(256); +c_productos.__c.runVoidMethod ("LogImpl","520316205",(RemoteObject.concat(RemoteObject.createImmutable("Total Prods: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalprods" /*RemoteObject*/ )))),RemoteObject.createImmutable(", Total Compra: $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 2154;BA.debugLine="If 1 = 1 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(1),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2155;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(1024); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 2156;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(2048); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 2157;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(4096); +_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_o = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 2158;BA.debugLine="Private invActualizado As String = \"0\""; +Debug.ShouldStop(8192); +_invactualizado = BA.ObjectToString("0");Debug.locals.put("invActualizado", _invactualizado);Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 2159;BA.debugLine="If o.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_o.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2160;BA.debugLine="o.Position = 0"; +Debug.ShouldStop(32768); +_o.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2161;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; +Debug.ShouldStop(65536); +_invactualizado = _o.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")));Debug.locals.put("invActualizado", _invactualizado); + }; + BA.debugLineNum = 2163;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pre"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",(BA.numberCast(float.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))))),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean("=",(BA.numberCast(int.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2164;BA.debugLine="Private maxcajas2 As Int = 0"; +Debug.ShouldStop(524288); +_maxcajas2 = BA.numberCast(int.class, 0);Debug.locals.put("maxcajas2", _maxcajas2);Debug.locals.put("maxcajas2", _maxcajas2); + BA.debugLineNum = 2165;BA.debugLine="Log(\"cajas a 0\")"; +Debug.ShouldStop(1048576); +c_productos.__c.runVoidMethod ("LogImpl","520316217",RemoteObject.createImmutable("cajas a 0"),0); + }else { + BA.debugLineNum = 2167;BA.debugLine="Private maxcajas2 As Int = invActualizado/clv_p"; +Debug.ShouldStop(4194304); +_maxcajas2 = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _invactualizado),BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))}, "/",0, 0));Debug.locals.put("maxcajas2", _maxcajas2);Debug.locals.put("maxcajas2", _maxcajas2); + BA.debugLineNum = 2168;BA.debugLine="Log(\"cajas no a 0\")"; +Debug.ShouldStop(8388608); +c_productos.__c.runVoidMethod ("LogImpl","520316220",RemoteObject.createImmutable("cajas no a 0"),0); + }; + BA.debugLineNum = 2170;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(2),BA.numberCast(double.class, 2))) { +_lprodx.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nombrex))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),_invactualizado)))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff017f01)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(" $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precio)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Max. Cajas: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxcajas2))),RemoteObject.createImmutable("")))))).runMethod(false,"PopAll").getObject()));}; + }; + BA.debugLineNum = 2173;BA.debugLine="If Subs.totalPedido < 1 Then laCant2.Text = \"0\""; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, c_productos._subs.runMethod(true,"_totalpedido" /*RemoteObject*/ ,__ref.getField(false, "ba"))),BA.numberCast(double.class, 1))) { +_lacant2.runMethod(true,"setText",BA.ObjectToCharSequence("0"));}; + BA.debugLineNum = 2174;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +Debug.ShouldStop(536870912); +__ref.setField ("_invtotal" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcajasmaspiezas" /*RemoteObject*/ ),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))); + BA.debugLineNum = 2177;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_qr_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_QR_Click (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,508); +if (RapidSub.canDelegate("b_qr_click")) { return __ref.runUserSub(false, "c_productos","b_qr_click", __ref);} + BA.debugLineNum = 508;BA.debugLine="Sub b_QR_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 509;BA.debugLine="If ciclo = 1 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ciclo" /*RemoteObject*/ ),BA.NumberToString(1))) { + BA.debugLineNum = 510;BA.debugLine="ciclo = 2"; +Debug.ShouldStop(536870912); +__ref.setField ("_ciclo" /*RemoteObject*/ ,BA.NumberToString(2)); + BA.debugLineNum = 511;BA.debugLine="ya_entro = \"0\""; +Debug.ShouldStop(1073741824); +__ref.setField ("_ya_entro" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 512;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_b4xpage_appear" /*void*/ ); + }else +{ BA.debugLineNum = 513;BA.debugLine="else if ciclo = 2 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ciclo" /*RemoteObject*/ ),BA.NumberToString(2))) { + BA.debugLineNum = 514;BA.debugLine="ciclo = 3"; +Debug.ShouldStop(2); +__ref.setField ("_ciclo" /*RemoteObject*/ ,BA.NumberToString(3)); + BA.debugLineNum = 515;BA.debugLine="ya_entro = \"0\""; +Debug.ShouldStop(4); +__ref.setField ("_ya_entro" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 516;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(8); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_b4xpage_appear" /*void*/ ); + }else +{ BA.debugLineNum = 517;BA.debugLine="else if ciclo = 3 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ciclo" /*RemoteObject*/ ),BA.NumberToString(3))) { + BA.debugLineNum = 518;BA.debugLine="ciclo = 4"; +Debug.ShouldStop(32); +__ref.setField ("_ciclo" /*RemoteObject*/ ,BA.NumberToString(4)); + BA.debugLineNum = 519;BA.debugLine="ya_entro = \"0\""; +Debug.ShouldStop(64); +__ref.setField ("_ya_entro" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 520;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(128); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_b4xpage_appear" /*void*/ ); + }else +{ BA.debugLineNum = 521;BA.debugLine="else if ciclo = 4 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ciclo" /*RemoteObject*/ ),BA.NumberToString(4))) { + BA.debugLineNum = 522;BA.debugLine="ciclo = 5"; +Debug.ShouldStop(512); +__ref.setField ("_ciclo" /*RemoteObject*/ ,BA.NumberToString(5)); + BA.debugLineNum = 523;BA.debugLine="ya_entro = \"0\""; +Debug.ShouldStop(1024); +__ref.setField ("_ya_entro" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 524;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(2048); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_b4xpage_appear" /*void*/ ); + }else +{ BA.debugLineNum = 525;BA.debugLine="else if ciclo = 5 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_ciclo" /*RemoteObject*/ ),BA.NumberToString(5))) { + BA.debugLineNum = 526;BA.debugLine="ciclo = 1"; +Debug.ShouldStop(8192); +__ref.setField ("_ciclo" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 527;BA.debugLine="ya_entro = \"0\""; +Debug.ShouldStop(16384); +__ref.setField ("_ya_entro" /*RemoteObject*/ ,BA.ObjectToString("0")); + BA.debugLineNum = 528;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(32768); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_b4xpage_appear" /*void*/ ); + }}}}} +; + 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 _b_rechazar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_rechazar_Click (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1369); +if (RapidSub.canDelegate("b_rechazar_click")) { return __ref.runUserSub(false, "c_productos","b_rechazar_click", __ref);} + BA.debugLineNum = 1369;BA.debugLine="Private Sub b_rechazar_Click"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 1371;BA.debugLine="result = Msgbox2($\"Seguro que desea borrar el pe"; +Debug.ShouldStop(67108864); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_productos.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Seguro que desea borrar el pedido completo?"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Haciendo clic largo sobre un producto se pueden borrar articulos independientes."))))),(Object)(BA.ObjectToCharSequence("Rechazar Pedido")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_productos.__c.runMethod(false,"LoadBitmap",(Object)(c_productos.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 1372;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_productos.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 1373;BA.debugLine="Subs.borraPedidoClienteActual"; +Debug.ShouldStop(268435456); +c_productos._subs.runVoidMethod ("_borrapedidoclienteactual" /*RemoteObject*/ ,__ref.getField(false, "ba")); + BA.debugLineNum = 1374;BA.debugLine="prodsMap.Initialize"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1375;BA.debugLine="B4XPages.MainPage.promos.promosMap.Initialize"; +Debug.ShouldStop(1073741824); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_promos" /*RemoteObject*/ ).getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1378;BA.debugLine="clv_prods_ll.Clear"; +Debug.ShouldStop(2); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 1379;BA.debugLine="Log(\"Positivo\")"; +Debug.ShouldStop(4); +c_productos.__c.runVoidMethod ("LogImpl","519660810",RemoteObject.createImmutable("Positivo"),0); + BA.debugLineNum = 1380;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(8); +c_productos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }else { + BA.debugLineNum = 1382;BA.debugLine="Log(\"NO Positivo\")"; +Debug.ShouldStop(32); +c_productos.__c.runVoidMethod ("LogImpl","519660813",RemoteObject.createImmutable("NO Positivo"),0); + BA.debugLineNum = 1383;BA.debugLine="p_vistaPreviaTrans.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }; + BA.debugLineNum = 1388;BA.debugLine="p_vistaPreviaTrans.Visible=False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1389;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(4096); +c_productos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 1390;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_terminar1_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_terminar1_Click (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1151); +if (RapidSub.canDelegate("b_terminar1_click")) { return __ref.runUserSub(false, "c_productos","b_terminar1_click", __ref);} +RemoteObject _q = RemoteObject.createImmutable(""); +RemoteObject _c_prods = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _almacenactual = RemoteObject.createImmutable(""); +int _i = 0; +RemoteObject _nomprod = RemoteObject.createImmutable(""); +RemoteObject _idprod = RemoteObject.createImmutable(""); +RemoteObject _presname = RemoteObject.createImmutable(""); +RemoteObject _cantpres = RemoteObject.createImmutable(""); +RemoteObject _uvmval = RemoteObject.createImmutable(0); +RemoteObject _cedisfila = RemoteObject.createImmutable(""); +RemoteObject _foliofila = RemoteObject.createImmutable(""); +RemoteObject _dirfila = RemoteObject.createImmutable(""); +RemoteObject _cantpzs = RemoteObject.createImmutable(0); +RemoteObject _cstitulo = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _detalle = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _datosidentidad = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 1151;BA.debugLine="Sub b_terminar1_Click"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 1153;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete from"; +Debug.ShouldStop(1); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from PEDIDO WHERE PE_PRONOMBRE = ? ")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("N/A"))}))))); + BA.debugLineNum = 1155;BA.debugLine="lv_promos.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1156;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1157;BA.debugLine="lv_catalogos.Visible = True"; +Debug.ShouldStop(16); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 1158;BA.debugLine="lv_prodsPedido.Clear"; +Debug.ShouldStop(32); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 1163;BA.debugLine="lv_prodsPedido.TwoLinesLayout.ItemHeight = 140dip"; +Debug.ShouldStop(1024); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").runMethod(true,"setItemHeight",c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 140)))); + BA.debugLineNum = 1166;BA.debugLine="lv_prodsPedido.TwoLinesLayout.Label.Height = 45di"; +Debug.ShouldStop(8192); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label").runMethod(true,"setHeight",c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 45)))); + BA.debugLineNum = 1167;BA.debugLine="lv_prodsPedido.TwoLinesLayout.Label.TextSize = 14"; +Debug.ShouldStop(16384); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label").runMethod(true,"setTextSize",BA.numberCast(float.class, 14)); + BA.debugLineNum = 1168;BA.debugLine="lv_prodsPedido.TwoLinesLayout.Label.Typeface = Ty"; +Debug.ShouldStop(32768); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label").runMethod(false,"setTypeface",c_productos.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD")); + BA.debugLineNum = 1169;BA.debugLine="lv_prodsPedido.TwoLinesLayout.Label.Gravity = Gra"; +Debug.ShouldStop(65536); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label").runMethod(true,"setGravity",c_productos.__c.getField(false,"Gravity").getField(true,"CENTER_VERTICAL")); + BA.debugLineNum = 1172;BA.debugLine="lv_prodsPedido.TwoLinesLayout.SecondLabel.Height"; +Debug.ShouldStop(524288); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel").runMethod(true,"setHeight",c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 90)))); + BA.debugLineNum = 1173;BA.debugLine="lv_prodsPedido.TwoLinesLayout.SecondLabel.Top = 5"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel").runMethod(true,"setTop",c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)))); + BA.debugLineNum = 1174;BA.debugLine="lv_prodsPedido.TwoLinesLayout.SecondLabel.TextSiz"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel").runMethod(true,"setTextSize",BA.numberCast(float.class, 14)); + BA.debugLineNum = 1177;BA.debugLine="Private q As String = \"SELECT PE_PRONOMBRE, PE_CO"; +Debug.ShouldStop(16777216); +_q = RemoteObject.concat(RemoteObject.createImmutable("SELECT PE_PRONOMBRE, PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRESENTACION, PE_CANTC, PE_UVM, PE_PROID, PE_DIRIGIDA "),RemoteObject.createImmutable("FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS,PE_COSTO_TOT, PE_PRONOMBRE"));Debug.locals.put("q", _q);Debug.locals.put("q", _q); + BA.debugLineNum = 1180;BA.debugLine="Private c_prods As Cursor = B4XPages.MainPage.skm"; +Debug.ShouldStop(134217728); +_c_prods = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c_prods = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(_q)));Debug.locals.put("c_prods", _c_prods);Debug.locals.put("c_prods", _c_prods); + BA.debugLineNum = 1182;BA.debugLine="If c_prods.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",_c_prods.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1183;BA.debugLine="vamoaver.Initialize"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_vamoaver" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1184;BA.debugLine="Dim almacenActual As String = Subs.traeAlmacen '"; +Debug.ShouldStop(-2147483648); +_almacenactual = c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("almacenActual", _almacenactual);Debug.locals.put("almacenActual", _almacenactual); + BA.debugLineNum = 1186;BA.debugLine="For i = 0 To c_prods.RowCount - 1"; +Debug.ShouldStop(2); +{ +final int step19 = 1; +final int limit19 = RemoteObject.solve(new RemoteObject[] {_c_prods.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 = 1187;BA.debugLine="c_prods.Position = i"; +Debug.ShouldStop(4); +_c_prods.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1190;BA.debugLine="Dim nomProd As String = c_prods.GetString(\"PE_P"; +Debug.ShouldStop(32); +_nomprod = _c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE")));Debug.locals.put("nomProd", _nomprod);Debug.locals.put("nomProd", _nomprod); + BA.debugLineNum = 1191;BA.debugLine="Dim idProd As String = c_prods.GetString(\"PE_PR"; +Debug.ShouldStop(64); +_idprod = _c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")));Debug.locals.put("idProd", _idprod);Debug.locals.put("idProd", _idprod); + BA.debugLineNum = 1192;BA.debugLine="Dim presName As String = c_prods.GetString(\"PE_"; +Debug.ShouldStop(128); +_presname = _c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRESENTACION")));Debug.locals.put("presName", _presname);Debug.locals.put("presName", _presname); + BA.debugLineNum = 1193;BA.debugLine="Dim cantPres As String = c_prods.GetString(\"PE_"; +Debug.ShouldStop(256); +_cantpres = _c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANTC")));Debug.locals.put("cantPres", _cantpres);Debug.locals.put("cantPres", _cantpres); + BA.debugLineNum = 1194;BA.debugLine="Dim uvmVal As Int = c_prods.GetInt(\"PE_UVM\")"; +Debug.ShouldStop(512); +_uvmval = _c_prods.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_UVM")));Debug.locals.put("uvmVal", _uvmval);Debug.locals.put("uvmVal", _uvmval); + BA.debugLineNum = 1195;BA.debugLine="Dim cedisFila As String = c_prods.GetString(\"PE"; +Debug.ShouldStop(1024); +_cedisfila = _c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS")));Debug.locals.put("cedisFila", _cedisfila);Debug.locals.put("cedisFila", _cedisfila); + BA.debugLineNum = 1196;BA.debugLine="Dim folioFila As String = c_prods.GetString(\"PE"; +Debug.ShouldStop(2048); +_foliofila = _c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")));Debug.locals.put("folioFila", _foliofila);Debug.locals.put("folioFila", _foliofila); + BA.debugLineNum = 1197;BA.debugLine="Dim dirFila As String = c_prods.GetString(\"PE_D"; +Debug.ShouldStop(4096); +_dirfila = _c_prods.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DIRIGIDA")));Debug.locals.put("dirFila", _dirfila);Debug.locals.put("dirFila", _dirfila); + BA.debugLineNum = 1198;BA.debugLine="Dim cantPzs As Int = c_prods.GetInt(\"PE_CANT\")"; +Debug.ShouldStop(8192); +_cantpzs = _c_prods.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("cantPzs", _cantpzs);Debug.locals.put("cantPzs", _cantpzs); + BA.debugLineNum = 1200;BA.debugLine="If cantPres = \"\" Or cantPres = \"null\" Then cant"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_cantpres,BA.ObjectToString("")) || RemoteObject.solveBoolean("=",_cantpres,BA.ObjectToString("null"))) { +_cantpres = BA.ObjectToString("0");Debug.locals.put("cantPres", _cantpres);}; + BA.debugLineNum = 1205;BA.debugLine="Dim csTitulo As CSBuilder"; +Debug.ShouldStop(1048576); +_cstitulo = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("csTitulo", _cstitulo); + BA.debugLineNum = 1206;BA.debugLine="csTitulo.Initialize"; +Debug.ShouldStop(2097152); +_cstitulo.runVoidMethod ("Initialize"); + BA.debugLineNum = 1208;BA.debugLine="If cedisFila <> almacenActual Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("!",_cedisfila,_almacenactual)) { + BA.debugLineNum = 1210;BA.debugLine="csTitulo.Color(Colors.RGB(0, 150, 136)).Typefa"; +Debug.ShouldStop(33554432); +_cstitulo.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 150)),(Object)(BA.numberCast(int.class, 136))))).runMethod(false,"Typeface",(Object)(c_productos.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_nomprod,RemoteObject.createImmutable(" (PROMO)"))))).runVoidMethod ("PopAll"); + }else { + BA.debugLineNum = 1213;BA.debugLine="csTitulo.Color(Colors.RGB(150, 0, 0)).Typeface"; +Debug.ShouldStop(268435456); +_cstitulo.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 150)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0))))).runMethod(false,"Typeface",(Object)(c_productos.__c.getField(false,"Typeface").getField(false,"DEFAULT_BOLD"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nomprod))).runVoidMethod ("PopAll"); + }; + BA.debugLineNum = 1219;BA.debugLine="Dim detalle As CSBuilder"; +Debug.ShouldStop(4); +_detalle = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("detalle", _detalle); + BA.debugLineNum = 1220;BA.debugLine="detalle.Initialize"; +Debug.ShouldStop(8); +_detalle.runVoidMethod ("Initialize"); + BA.debugLineNum = 1221;BA.debugLine="detalle.Append(CRLF) ' Salto de línea inicial p"; +Debug.ShouldStop(16); +_detalle.runVoidMethod ("Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1224;BA.debugLine="If uvmVal > 1 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_uvmval,BA.numberCast(double.class, 1))) { + BA.debugLineNum = 1225;BA.debugLine="detalle.Color(Colors.Blue).Size(14).Append(pre"; +Debug.ShouldStop(256); +_detalle.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Blue"))).runMethod(false,"Size",(Object)(BA.numberCast(int.class, 14))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_presname.runMethod(true,"toUpperCase"),RemoteObject.createImmutable(": "),(RemoteObject.solve(new RemoteObject[] {_cantpzs,_uvmval}, "/",0, 0)))))).runMethod(false,"Pop").runMethod(false,"Pop").runVoidMethod ("Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))); + BA.debugLineNum = 1226;BA.debugLine="detalle.Size(6).Append(CRLF).Pop"; +Debug.ShouldStop(512); +_detalle.runMethod(false,"Size",(Object)(BA.numberCast(int.class, 6))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runVoidMethod ("Pop"); + }; + BA.debugLineNum = 1229;BA.debugLine="detalle.Color(Colors.DarkGray).Size(13).Append("; +Debug.ShouldStop(4096); +_detalle.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"DarkGray"))).runMethod(false,"Size",(Object)(BA.numberCast(int.class, 13))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Piezas: ")))).runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Black"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("#"),_cantpzs)))).runVoidMethod ("Pop"); + BA.debugLineNum = 1230;BA.debugLine="detalle.Append(\" | \").Color(Colors.DarkGray)."; +Debug.ShouldStop(8192); +_detalle.runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable(" | ")))).runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"DarkGray"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Subtotal: ")))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff008000)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("$"),c_productos.__c.runMethod(true,"NumberFormat2",(Object)(_c_prods.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT")))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False"))))))).runVoidMethod ("PopAll"); + BA.debugLineNum = 1233;BA.debugLine="Dim datosIdentidad As Map = CreateMap(\"id\": idP"; +Debug.ShouldStop(65536); +_datosidentidad = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_datosidentidad = c_productos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_idprod),RemoteObject.createImmutable(("nombre")),(_nomprod),RemoteObject.createImmutable(("cedis")),(_cedisfila),RemoteObject.createImmutable(("pres")),(_presname),RemoteObject.createImmutable(("uvm")),(_uvmval),RemoteObject.createImmutable(("dir")),(_dirfila),RemoteObject.createImmutable(("folio")),(_foliofila),RemoteObject.createImmutable(("cant")),(_cantpzs)}));Debug.locals.put("datosIdentidad", _datosidentidad);Debug.locals.put("datosIdentidad", _datosidentidad); + BA.debugLineNum = 1236;BA.debugLine="lv_prodsPedido.AddTwoLines2(csTitulo, detalle,"; +Debug.ShouldStop(524288); +__ref.getField(false,"_lv_prodspedido" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines2",(Object)(BA.ObjectToCharSequence(_cstitulo.getObject())),(Object)(BA.ObjectToCharSequence(_detalle.getObject())),(Object)((_datosidentidad.getObject()))); + BA.debugLineNum = 1238;BA.debugLine="vamoaver.Add(folioFila)"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_vamoaver" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_foliofila))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1241;BA.debugLine="ActualizarEtiquetasTotales"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_actualizaretiquetastotales" /*RemoteObject*/ ); + }; + BA.debugLineNum = 1243;BA.debugLine="c_prods.Close"; +Debug.ShouldStop(67108864); +_c_prods.runVoidMethod ("Close"); + BA.debugLineNum = 1246;BA.debugLine="p_vistaPreviaTrans.Width = Root.Width"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 1247;BA.debugLine="p_vistaPreviaTrans.Height = Root.Height"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 1248;BA.debugLine="Subs.centraPanel(p_vistaPrevia, Root.Width)"; +Debug.ShouldStop(-2147483648); +c_productos._subs.runVoidMethod ("_centrapanel" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_p_vistaprevia" /*RemoteObject*/ )),(Object)(__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"))); + BA.debugLineNum = 1249;BA.debugLine="p_vistaPrevia.Visible = True"; +Debug.ShouldStop(1); +__ref.getField(false,"_p_vistaprevia" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 1250;BA.debugLine="p_vistaPreviaTrans.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 1251;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,141); +if (RapidSub.canDelegate("b4xpage_appear")) { __ref.runUserSub(false, "c_productos","b4xpage_appear", __ref); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { +public ResumableSub_B4XPage_Appear(SHARK2.keymon.com.mx.c_productos parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_productos parent; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _haypromos = RemoteObject.createImmutable(false); +int _i = 0; +RemoteObject _tm = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +int step63; +int limit63; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,141); +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 = 142;BA.debugLine="Log(Subs.traeTipoCliente2)"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("LogImpl","518153473",parent._subs.runMethod(true,"_traetipocliente2" /*RemoteObject*/ ,__ref.getField(false, "ba")),0); + BA.debugLineNum = 143;BA.debugLine="tipoClienteActual = Subs.traeTipoCliente2"; +Debug.ShouldStop(16384); +__ref.setField ("_tipoclienteactual" /*RemoteObject*/ ,parent._subs.runMethod(true,"_traetipocliente2" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 144;BA.debugLine="Log(B4XPages.MainPage.tipo_venta)"; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("LogImpl","518153475",parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),0); + BA.debugLineNum = 145;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_CONTA"; +Debug.ShouldStop(65536); +if (true) break; + +case 1: +//if +this.state = 10; +if (RemoteObject.solveBoolean("=",parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_CONTADO")) || RemoteObject.solveBoolean("=",parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("ABORDO"))) { +this.state = 3; +}else +{ BA.debugLineNum = 148;BA.debugLine="Else If B4XPages.MainPage.tipo_venta = \"VENTA\" Th"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("VENTA"))) { +this.state = 5; +}else +{ BA.debugLineNum = 151;BA.debugLine="Else If B4XPages.MainPage.tipo_venta = \"RECARGA\""; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("RECARGA"))) { +this.state = 7; +}else +{ BA.debugLineNum = 154;BA.debugLine="Else If B4XPages.MainPage.tipo_venta = \"PREVENTA_"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_CREDITO"))) { +this.state = 9; +}}}} +if (true) break; + +case 3: +//C +this.state = 10; + BA.debugLineNum = 146;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\""; +Debug.ShouldStop(131072); +parent._starter._tabla /*RemoteObject*/ = BA.ObjectToString("CAT_GUNAPROD"); + BA.debugLineNum = 147;BA.debugLine="Log(\"1\")"; +Debug.ShouldStop(262144); +parent.__c.runVoidMethod ("LogImpl","518153478",RemoteObject.createImmutable("1"),0); + if (true) break; + +case 5: +//C +this.state = 10; + BA.debugLineNum = 149;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\""; +Debug.ShouldStop(1048576); +parent._starter._tabla /*RemoteObject*/ = BA.ObjectToString("CAT_GUNAPROD2"); + BA.debugLineNum = 150;BA.debugLine="Log(2)"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("LogImpl","518153481",BA.NumberToString(2),0); + if (true) break; + +case 7: +//C +this.state = 10; + BA.debugLineNum = 152;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\""; +Debug.ShouldStop(8388608); +parent._starter._tabla /*RemoteObject*/ = BA.ObjectToString("CAT_GUNAPROD"); + BA.debugLineNum = 153;BA.debugLine="Log(3)"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("LogImpl","518153484",BA.NumberToString(3),0); + if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 155;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD4\""; +Debug.ShouldStop(67108864); +parent._starter._tabla /*RemoteObject*/ = BA.ObjectToString("CAT_GUNAPROD4"); + BA.debugLineNum = 156;BA.debugLine="Log(4)"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("LogImpl","518153487",BA.NumberToString(4),0); + if (true) break; + +case 10: +//C +this.state = 11; +; + BA.debugLineNum = 158;BA.debugLine="Log(Starter.tabla)"; +Debug.ShouldStop(536870912); +parent.__c.runVoidMethod ("LogImpl","518153489",parent._starter._tabla /*RemoteObject*/ ,0); + BA.debugLineNum = 159;BA.debugLine="clienteId = Subs.traeCliente"; +Debug.ShouldStop(1073741824); +__ref.setField ("_clienteid" /*RemoteObject*/ ,parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 160;BA.debugLine="rutaUsuario = Subs.traeRuta(Subs.traeCliente)"; +Debug.ShouldStop(-2147483648); +__ref.setField ("_rutausuario" /*RemoteObject*/ ,parent._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(parent._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))); + BA.debugLineNum = 161;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +Debug.ShouldStop(1); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("PRIORITARIO")),(RemoteObject.createImmutable("1"))}))))); + BA.debugLineNum = 162;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +Debug.ShouldStop(2); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("ESTRATEGICO")),(RemoteObject.createImmutable("2"))}))))); + BA.debugLineNum = 163;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +Debug.ShouldStop(4); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("COMPLEMENTARIO")),(RemoteObject.createImmutable("3"))}))))); + BA.debugLineNum = 164;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +Debug.ShouldStop(8); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("CATALOGO REGULAR")),(RemoteObject.createImmutable("0"))}))))); + BA.debugLineNum = 165;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +Debug.ShouldStop(16); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_CLASIF = (?) ")),(Object)(parent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("PROMOS")),(RemoteObject.createImmutable("PROMOS"))}))))); + BA.debugLineNum = 166;BA.debugLine="clv_prods_ll.GetBase.SetLayoutAnimated(0, 5dip, 1"; +Debug.ShouldStop(32); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getbase").runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))),(Object)(parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 130)))),(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(10)}, "+",1, 1)),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(0.74)}, "*",0, 0)))); + BA.debugLineNum = 167;BA.debugLine="clv_prods_ll.Base_Resize(clv_prods_ll.GetBase.Wid"; +Debug.ShouldStop(64); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_base_resize",(Object)(BA.numberCast(double.class, __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"getHeight")))); + BA.debugLineNum = 168;BA.debugLine="If B4XPages.MainPage.bTerminarClicked Then"; +Debug.ShouldStop(128); +if (true) break; + +case 11: +//if +this.state = 14; +if (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_bterminarclicked" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 13; +}if (true) break; + +case 13: +//C +this.state = 14; + BA.debugLineNum = 169;BA.debugLine="lv_catalogos.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 170;BA.debugLine="lv_promos.Visible = False"; +Debug.ShouldStop(512); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 171;BA.debugLine="lv_tipo.Visible = False"; +Debug.ShouldStop(1024); +__ref.getField(false,"_lv_tipo" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 172;BA.debugLine="lv_subtipo.Visible = False"; +Debug.ShouldStop(2048); +__ref.getField(false,"_lv_subtipo" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 173;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(4096); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 174;BA.debugLine="B4XPages.MainPage.bTerminarClicked = False"; +Debug.ShouldStop(8192); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_bterminarclicked" /*RemoteObject*/ ,parent.__c.getField(true,"False")); + if (true) break; +; + BA.debugLineNum = 176;BA.debugLine="If ya_entro <> \"1\" Then"; +Debug.ShouldStop(32768); + +case 14: +//if +this.state = 23; +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_ya_entro" /*RemoteObject*/ ),BA.ObjectToString("1"))) { +this.state = 16; +}if (true) break; + +case 16: +//C +this.state = 17; + BA.debugLineNum = 177;BA.debugLine="If BUSCA.Text <> \"\" Then BUSCA.Text =\"\""; +Debug.ShouldStop(65536); +if (true) break; + +case 17: +//if +this.state = 22; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +this.state = 19; +;}if (true) break; + +case 19: +//C +this.state = 22; +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); +if (true) break; + +case 22: +//C +this.state = 23; +; + BA.debugLineNum = 178;BA.debugLine="entro =\"3\""; +Debug.ShouldStop(131072); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("3")); + BA.debugLineNum = 179;BA.debugLine="lv_catalogos.Clear"; +Debug.ShouldStop(262144); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 180;BA.debugLine="Sleep(100)"; +Debug.ShouldStop(524288); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_productos", "b4xpage_appear"),BA.numberCast(int.class, 100)); +this.state = 64; +return; +case 64: +//C +this.state = 23; +; + BA.debugLineNum = 181;BA.debugLine="lfila.Text = \"CATALOGOS\""; +Debug.ShouldStop(1048576); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CATALOGOS")); + BA.debugLineNum = 182;BA.debugLine="p_productos.Height = Root.Height"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_p_productos" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 183;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 184;BA.debugLine="lv_catalogos.Visible = True"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 185;BA.debugLine="p_botonesVenta.Visible = False"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_p_botonesventa" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 186;BA.debugLine="p_botonesVenta.Top = clv_prods_ll.AsView.top + c"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_p_botonesventa" /*RemoteObject*/ ).runMethod(true,"setTop",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getTop"),__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getHeight"),RemoteObject.createImmutable(10)}, "+-",2, 1)); + BA.debugLineNum = 187;BA.debugLine="lv_promos.Visible = False"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 23: +//C +this.state = 24; +; + BA.debugLineNum = 189;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(268435456); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 190;BA.debugLine="label1 = lv_catalogos.SingleLineLayout.Label"; +Debug.ShouldStop(536870912); +_label1 = __ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 191;BA.debugLine="label1.TextSize = 17"; +Debug.ShouldStop(1073741824); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 17)); + BA.debugLineNum = 192;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(-2147483648); +_label1.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 193;BA.debugLine="lv_catalogos.Clear"; +Debug.ShouldStop(1); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 194;BA.debugLine="lv_catalogos.AddSingleLine(\"CATALOGO\")"; +Debug.ShouldStop(2); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("CATALOGO")))); + BA.debugLineNum = 196;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select cou"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select count(*) as hayPromos from "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_TIPO = 'PROMOS'")))))); + BA.debugLineNum = 197;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 198;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"SELECT CUE"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT CUENTA FROM CUENTAA"))))); + BA.debugLineNum = 199;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(64); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 200;BA.debugLine="If c.GetString(\"CUENTA\") <> \"0\" And c.GetString(\""; +Debug.ShouldStop(128); +if (true) break; + +case 24: +//if +this.state = 52; +if (RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),BA.ObjectToString("0")) && RemoteObject.solveBoolean("!",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA"))),BA.ObjectToString("1"))) { +this.state = 26; +}if (true) break; + +case 26: +//C +this.state = 27; + BA.debugLineNum = 201;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select CA"; +Debug.ShouldStop(256); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO1, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_PRECIO1 > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))")))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString("PROMOS"),RemoteObject.createImmutable("PROMOS")})))); + BA.debugLineNum = 204;BA.debugLine="Private hayPromos As Boolean = False"; +Debug.ShouldStop(2048); +_haypromos = parent.__c.getField(true,"False");Debug.locals.put("hayPromos", _haypromos);Debug.locals.put("hayPromos", _haypromos); + BA.debugLineNum = 205;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (true) break; + +case 27: +//if +this.state = 51; +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 29; +}else { +this.state = 50; +}if (true) break; + +case 29: +//C +this.state = 30; + BA.debugLineNum = 206;BA.debugLine="Log(\"Esto es un conteo --->\"&c2.RowCount) 'Isaa"; +Debug.ShouldStop(8192); +parent.__c.runVoidMethod ("LogImpl","518153537",RemoteObject.concat(RemoteObject.createImmutable("Esto es un conteo --->"),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 207;BA.debugLine="For i = 0 To c2.RowCount - 1"; +Debug.ShouldStop(16384); +if (true) break; + +case 30: +//for +this.state = 43; +step63 = 1; +limit63 = 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 = 65; +if (true) break; + +case 65: +//C +this.state = 43; +if ((step63 > 0 && _i <= limit63) || (step63 < 0 && _i >= limit63)) this.state = 32; +if (true) break; + +case 66: +//C +this.state = 65; +_i = ((int)(0 + _i + step63)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 32: +//C +this.state = 33; + BA.debugLineNum = 208;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(32768); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 209;BA.debugLine="Log(\"Esto es i----->\" & i) 'Isaac"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("LogImpl","518153540",RemoteObject.concat(RemoteObject.createImmutable("Esto es i----->"),RemoteObject.createImmutable(_i)),0); + BA.debugLineNum = 210;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; +Debug.ShouldStop(131072); +_tm = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tm = parent._subs.runMethod(false,"_procesapromocion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )));Debug.locals.put("tm", _tm);Debug.locals.put("tm", _tm); + BA.debugLineNum = 213;BA.debugLine="If tm <> Null Then"; +Debug.ShouldStop(1048576); +if (true) break; + +case 33: +//if +this.state = 42; +if (RemoteObject.solveBoolean("N",_tm)) { +this.state = 35; +}else { +this.state = 41; +}if (true) break; + +case 35: +//C +this.state = 36; + BA.debugLineNum = 214;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestra"; +Debug.ShouldStop(2097152); +if (true) break; + +case 36: +//if +this.state = 39; +if (RemoteObject.solveBoolean("=",_tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("status")))),RemoteObject.createImmutable(("ok")))) { +this.state = 38; +}if (true) break; + +case 38: +//C +this.state = 39; + BA.debugLineNum = 215;BA.debugLine="hayPromos = True"; +Debug.ShouldStop(4194304); +_haypromos = parent.__c.getField(true,"True");Debug.locals.put("hayPromos", _haypromos); + if (true) break; + +case 39: +//C +this.state = 42; +; + if (true) break; + +case 41: +//C +this.state = 42; + BA.debugLineNum = 218;BA.debugLine="Log(\"El Map devuelto por procesaPromocion es"; +Debug.ShouldStop(33554432); +parent.__c.runVoidMethod ("LogImpl","518153549",RemoteObject.createImmutable("El Map devuelto por procesaPromocion es null"),0); + if (true) break; + +case 42: +//C +this.state = 66; +; + if (true) break; +if (true) break; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 221;BA.debugLine="If hayPromos Then lv_catalogos.AddSingleLine(\"P"; +Debug.ShouldStop(268435456); + +case 43: +//if +this.state = 48; +if (_haypromos.get().booleanValue()) { +this.state = 45; +;}if (true) break; + +case 45: +//C +this.state = 48; +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("PROMOS")))); +if (true) break; + +case 48: +//C +this.state = 51; +; + if (true) break; + +case 50: +//C +this.state = 51; + BA.debugLineNum = 223;BA.debugLine="Log(\"NO HAY PROMOS\")"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("LogImpl","518153554",RemoteObject.createImmutable("NO HAY PROMOS"),0); + if (true) break; + +case 51: +//C +this.state = 52; +; + BA.debugLineNum = 225;BA.debugLine="c2.Close"; +Debug.ShouldStop(1); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 52: +//C +this.state = 53; +; + BA.debugLineNum = 227;BA.debugLine="Sleep(100)"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_productos", "b4xpage_appear"),BA.numberCast(int.class, 100)); +this.state = 67; +return; +case 67: +//C +this.state = 53; +; + BA.debugLineNum = 228;BA.debugLine="l_total.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 229;BA.debugLine="l_totProds.Visible = False"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 230;BA.debugLine="l_total.Left = 5dip"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setLeft",parent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))); + BA.debugLineNum = 231;BA.debugLine="l_totProds.Width = Root.Width * 0.19"; +Debug.ShouldStop(64); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.19)}, "*",0, 0))); + BA.debugLineNum = 232;BA.debugLine="l_total.Left = l_totProds.Width + 20"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setLeft",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(20)}, "+",1, 1)); + BA.debugLineNum = 233;BA.debugLine="l_total.Width = Root.Width * 0.25"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.25)}, "*",0, 0))); + BA.debugLineNum = 235;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; +Debug.ShouldStop(1024); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = parent._subs.runMethod(false,"_traetotalesclienteactual" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 236;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; +Debug.ShouldStop(2048); +__ref.setField ("_prodspedidoactual" /*RemoteObject*/ ,BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("productos")))))); + BA.debugLineNum = 237;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; +Debug.ShouldStop(4096); +__ref.setField ("_montopedidoactual" /*RemoteObject*/ ,BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))); + BA.debugLineNum = 238;BA.debugLine="hayPedido = Subs.hayPedido"; +Debug.ShouldStop(8192); +__ref.setField ("_haypedido" /*RemoteObject*/ ,parent._subs.runMethod(true,"_haypedido" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 240;BA.debugLine="B4XPages.MainPage.productos.clv_prods_ll.Clear"; +Debug.ShouldStop(32768); +parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_productos" /*RemoteObject*/ ).getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 241;BA.debugLine="If reiniciarlistaProds Then"; +Debug.ShouldStop(65536); +if (true) break; + +case 53: +//if +this.state = 58; +if (__ref.getField(true,"_reiniciarlistaprods" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 55; +}else +{ BA.debugLineNum = 245;BA.debugLine="else If hayPedido Then"; +Debug.ShouldStop(1048576); +if (__ref.getField(true,"_haypedido" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 57; +}} +if (true) break; + +case 55: +//C +this.state = 58; + BA.debugLineNum = 244;BA.debugLine="clv_prods_ll.Clear"; +Debug.ShouldStop(524288); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_clear"); + if (true) break; + +case 57: +//C +this.state = 58; + BA.debugLineNum = 249;BA.debugLine="clv_prods_ll.Clear"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_clear"); + if (true) break; +; + BA.debugLineNum = 251;BA.debugLine="If clv_prods_ll.Size = 0 Then LlenaProdsLL(Null)"; +Debug.ShouldStop(67108864); + +case 58: +//if +this.state = 63; +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getsize"),BA.numberCast(double.class, 0))) { +this.state = 60; +;}if (true) break; + +case 60: +//C +this.state = 63; +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_llenaprodsll" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), parent.__c.getField(false,"Null"))); +if (true) break; + +case 63: +//C +this.state = -1; +; + BA.debugLineNum = 252;BA.debugLine="clv_prods_ll.JumpToItem(0) 'Vamos al primer artíc"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_jumptoitem",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 253;BA.debugLine="PCLV.lblHint.SetTextSizeAnimated(0,13)"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_lblhint" /*RemoteObject*/ ).runVoidMethod ("SetTextSizeAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(float.class, 13))); + BA.debugLineNum = 254;BA.debugLine="PCLV.B4XSeekBar1.Color1=Colors.Transparent"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_color1" /*RemoteObject*/ ,parent.__c.getField(false,"Colors").getField(true,"Transparent")); + BA.debugLineNum = 255;BA.debugLine="PCLV.B4XSeekBar1.Color2=Colors.Transparent"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_color2" /*RemoteObject*/ ,parent.__c.getField(false,"Colors").getField(true,"Transparent")); + BA.debugLineNum = 256;BA.debugLine="PCLV.B4XSeekBar1.ThumbColor=Colors.Transparent"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_thumbcolor" /*RemoteObject*/ ,parent.__c.getField(false,"Colors").getField(true,"Transparent")); + BA.debugLineNum = 257;BA.debugLine="PCLV.B4XSeekBar1.mBase.Left=Root.Width *110"; +Debug.ShouldStop(1); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"setLeft",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(110)}, "*",0, 1)); + BA.debugLineNum = 259;BA.debugLine="PCLV.B4XSeekBar1.mBase.Height=0"; +Debug.ShouldStop(4); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"setHeight",BA.numberCast(int.class, 0)); + BA.debugLineNum = 260;BA.debugLine="PCLV.pnlOverlay.Height = clv_prods_ll.AsView.Heig"; +Debug.ShouldStop(8); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_pnloverlay" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getHeight")); + BA.debugLineNum = 261;BA.debugLine="PCLV.B4XSeekBar1.Update"; +Debug.ShouldStop(16); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xseekbar.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 262;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xpage_closerequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,458); +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(SHARK2.keymon.com.mx.c_productos parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_productos parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_CloseRequest (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,458); +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 = 461;BA.debugLine="If l_info.Visible Then"; +Debug.ShouldStop(4096); +if (true) break; + +case 1: +//if +this.state = 16; +if (__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 3; +}else +{ BA.debugLineNum = 464;BA.debugLine="else if p_vistaPreviaTrans.Visible Then"; +Debug.ShouldStop(32768); +if (__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 5; +}else +{ BA.debugLineNum = 467;BA.debugLine="else if lv_promos.visible Then"; +Debug.ShouldStop(262144); +if (__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"getVisible").get().booleanValue()) { +this.state = 7; +}else +{ BA.debugLineNum = 474;BA.debugLine="else if clv_prods_ll.AsView.Visible Then"; +Debug.ShouldStop(33554432); +if (__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getVisible").get().booleanValue()) { +this.state = 9; +}else +{ BA.debugLineNum = 493;BA.debugLine="else If entro = \"4\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("4"))) { +this.state = 11; +}else +{ BA.debugLineNum = 497;BA.debugLine="Else If entro = \"3\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("3"))) { +this.state = 13; +}else { +this.state = 15; +}}}}}} +if (true) break; + +case 3: +//C +this.state = 16; + BA.debugLineNum = 462;BA.debugLine="l_info.Visible = False"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 463;BA.debugLine="Return False"; +Debug.ShouldStop(16384); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 5: +//C +this.state = 16; + BA.debugLineNum = 465;BA.debugLine="p_vistaPreviaTrans.Visible = False"; +Debug.ShouldStop(65536); +__ref.getField(false,"_p_vistapreviatrans" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 466;BA.debugLine="Return False"; +Debug.ShouldStop(131072); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 7: +//C +this.state = 16; + BA.debugLineNum = 468;BA.debugLine="lv_promos.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 469;BA.debugLine="lv_catalogos.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 470;BA.debugLine="p_botonesVenta.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_p_botonesventa" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 471;BA.debugLine="l_total.Visible = False"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 472;BA.debugLine="l_totProds.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 473;BA.debugLine="Return False"; +Debug.ShouldStop(16777216); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 9: +//C +this.state = 16; + BA.debugLineNum = 475;BA.debugLine="lfila.text = \"CATALOGO\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CATALOGO")); + BA.debugLineNum = 476;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 477;BA.debugLine="lv_subtipo.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_lv_subtipo" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 478;BA.debugLine="p_botonesVenta.Visible = False"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_botonesventa" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 479;BA.debugLine="l_total.Visible = False"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 480;BA.debugLine="l_totProds.Visible = False"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 481;BA.debugLine="lv_catalogos.Visible = True"; +Debug.ShouldStop(1); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 482;BA.debugLine="Return False"; +Debug.ShouldStop(2); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 11: +//C +this.state = 16; + BA.debugLineNum = 494;BA.debugLine="entro = \"3\""; +Debug.ShouldStop(8192); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("3")); + BA.debugLineNum = 495;BA.debugLine="B4XPage_Appear"; +Debug.ShouldStop(16384); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_b4xpage_appear" /*void*/ ); + BA.debugLineNum = 496;BA.debugLine="Return True"; +Debug.ShouldStop(32768); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"True")));return;}; + if (true) break; + +case 13: +//C +this.state = 16; + BA.debugLineNum = 498;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(131072); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 499;BA.debugLine="Return False"; +Debug.ShouldStop(262144); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 501;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(1048576); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 502;BA.debugLine="Return False"; +Debug.ShouldStop(2097152); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + if (true) break; + +case 16: +//C +this.state = -1; +; + BA.debugLineNum = 504;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_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,100); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_productos","b4xpage_created", __ref, _root1);} +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 100;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(8); + BA.debugLineNum = 101;BA.debugLine="Root = Root1"; +Debug.ShouldStop(16); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 104;BA.debugLine="Root.LoadLayout(\"productos\")"; +Debug.ShouldStop(128); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("productos")),__ref.getField(false, "ba")); + BA.debugLineNum = 105;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(256); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_productos.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 106;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",c_productos.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_productos.__c.getField(true,"False"))) { + BA.debugLineNum = 107;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(1024); +c_productos.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_productos.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 109;BA.debugLine="PCLV.Initialize(Me, \"PCLV\", clv_prods_ll)"; +Debug.ShouldStop(4096); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.preoptimizedclv.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(BA.ObjectToString("PCLV")),(Object)(__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ))); + BA.debugLineNum = 110;BA.debugLine="ciclo = 1"; +Debug.ShouldStop(8192); +__ref.setField ("_ciclo" /*RemoteObject*/ ,BA.NumberToString(1)); + BA.debugLineNum = 111;BA.debugLine="l_info.Width = Root.Width * 0.8"; +Debug.ShouldStop(16384); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setWidth",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(0.8)}, "*",0, 0))); + BA.debugLineNum = 112;BA.debugLine="l_info.Left = (Root.Width/2) - (l_info.Width/2)"; +Debug.ShouldStop(32768); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0)),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 113;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select dist"; +Debug.ShouldStop(65536); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select distinct CAT_GP_TIPO from cat_gunaprod where CAT_GP_TIPO <> 'PROMOS' order by CAT_GP_TIPO")))); + BA.debugLineNum = 114;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 = 115;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(262144); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 116;BA.debugLine="label1 = lv_tipo.SingleLineLayout.Label"; +Debug.ShouldStop(524288); +_label1 = __ref.getField(false,"_lv_tipo" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 117;BA.debugLine="label1.TextSize = 17"; +Debug.ShouldStop(1048576); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 17)); + BA.debugLineNum = 118;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(2097152); +_label1.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 119;BA.debugLine="lv_tipo.Clear"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_lv_tipo" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 120;BA.debugLine="For i=0 To c.RowCount-1"; +Debug.ShouldStop(8388608); +{ +final int step18 = 1; +final int limit18 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step18 > 0 && _i <= limit18) || (step18 < 0 && _i >= limit18) ;_i = ((int)(0 + _i + step18)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 121;BA.debugLine="c.Position=i"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 122;BA.debugLine="Log(\"ENTRE AQUI EN PROMOS create\")"; +Debug.ShouldStop(33554432); +c_productos.__c.runVoidMethod ("LogImpl","518087958",RemoteObject.createImmutable("ENTRE AQUI EN PROMOS create"),0); + BA.debugLineNum = 123;BA.debugLine="lv_tipo.AddSingleLine(c.GetString(\"CAT_GP_TIPO\""; +Debug.ShouldStop(67108864); +__ref.getField(false,"_lv_tipo" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_TIPO")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 126;BA.debugLine="c.Close"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 129;BA.debugLine="listaTiempos.Initialize"; +Debug.ShouldStop(1); +__ref.getField(false,"_listatiempos" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 130;BA.debugLine="listaProds.Initialize"; +Debug.ShouldStop(2); +__ref.getField(false,"_listaprods" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 131;BA.debugLine="pedidoMap.Initialize"; +Debug.ShouldStop(4); +__ref.getField(false,"_pedidomap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 132;BA.debugLine="listaHints.Initialize"; +Debug.ShouldStop(8); +__ref.getField(false,"_listahints" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 135;BA.debugLine="clv_prods_ll.Clear"; +Debug.ShouldStop(64); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 136;BA.debugLine="prodsMap.Initialize"; +Debug.ShouldStop(128); +__ref.getField(false,"_prodsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 137;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btnmasdinamico_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnMasDinamico_Click (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,2651); +if (RapidSub.canDelegate("btnmasdinamico_click")) { return __ref.runUserSub(false, "c_productos","btnmasdinamico_click", __ref);} +RemoteObject _btn = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +RemoteObject _info = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _et = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +RemoteObject _pres = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _idprod = RemoteObject.createImmutable(""); +RemoteObject _stockdisponible = RemoteObject.createImmutable(0); +RemoteObject _umv = RemoteObject.createImmutable(0); +RemoteObject _cantactual = RemoteObject.createImmutable(0); +RemoteObject _nuevacant = RemoteObject.createImmutable(0); +RemoteObject _unidades = RemoteObject.createImmutable(0); + BA.debugLineNum = 2651;BA.debugLine="Sub btnMasDinamico_Click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 2652;BA.debugLine="Dim btn As Button = Sender"; +Debug.ShouldStop(134217728); +_btn = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); +_btn = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ButtonWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba")));Debug.locals.put("btn", _btn);Debug.locals.put("btn", _btn); + BA.debugLineNum = 2653;BA.debugLine="Dim info As Map = btn.Tag"; +Debug.ShouldStop(268435456); +_info = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_info = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _btn.runMethod(false,"getTag"));Debug.locals.put("info", _info);Debug.locals.put("info", _info); + BA.debugLineNum = 2654;BA.debugLine="Dim et As EditText = info.Get(\"et\")"; +Debug.ShouldStop(536870912); +_et = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper"); +_et = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _info.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("et")))));Debug.locals.put("et", _et);Debug.locals.put("et", _et); + BA.debugLineNum = 2655;BA.debugLine="Dim pres As Map = info.Get(\"pres\")"; +Debug.ShouldStop(1073741824); +_pres = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_pres = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _info.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pres")))));Debug.locals.put("pres", _pres);Debug.locals.put("pres", _pres); + BA.debugLineNum = 2656;BA.debugLine="Dim idProd As String = info.Get(\"id\")"; +Debug.ShouldStop(-2147483648); +_idprod = BA.ObjectToString(_info.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("idProd", _idprod);Debug.locals.put("idProd", _idprod); + BA.debugLineNum = 2658;BA.debugLine="Dim stockDisponible As Int = Subs.traeinventario("; +Debug.ShouldStop(2); +_stockdisponible = BA.numberCast(int.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_idprod)));Debug.locals.put("stockDisponible", _stockdisponible);Debug.locals.put("stockDisponible", _stockdisponible); + BA.debugLineNum = 2659;BA.debugLine="Dim umv As Int = pres.Get(\"umv\")"; +Debug.ShouldStop(4); +_umv = BA.numberCast(int.class, _pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("umv")))));Debug.locals.put("umv", _umv);Debug.locals.put("umv", _umv); + BA.debugLineNum = 2661;BA.debugLine="Dim cantActual As Int = 0"; +Debug.ShouldStop(16); +_cantactual = BA.numberCast(int.class, 0);Debug.locals.put("cantActual", _cantactual);Debug.locals.put("cantActual", _cantactual); + BA.debugLineNum = 2662;BA.debugLine="If et.Text <> \"\" Then cantActual = et.Text"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("!",_et.runMethod(true,"getText"),BA.ObjectToString(""))) { +_cantactual = BA.numberCast(int.class, _et.runMethod(true,"getText"));Debug.locals.put("cantActual", _cantactual);}; + BA.debugLineNum = 2664;BA.debugLine="If stockDisponible >= umv Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("g",_stockdisponible,BA.numberCast(double.class, _umv))) { + BA.debugLineNum = 2665;BA.debugLine="Dim nuevaCant As Int = cantActual + umv"; +Debug.ShouldStop(256); +_nuevacant = RemoteObject.solve(new RemoteObject[] {_cantactual,_umv}, "+",1, 1);Debug.locals.put("nuevaCant", _nuevacant);Debug.locals.put("nuevaCant", _nuevacant); + BA.debugLineNum = 2666;BA.debugLine="et.Text = nuevaCant"; +Debug.ShouldStop(512); +_et.runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_nuevacant)); + BA.debugLineNum = 2669;BA.debugLine="Dim unidades As Int = nuevaCant / umv"; +Debug.ShouldStop(4096); +_unidades = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_nuevacant,_umv}, "/",0, 0));Debug.locals.put("unidades", _unidades);Debug.locals.put("unidades", _unidades); + BA.debugLineNum = 2670;BA.debugLine="ActualizarLabelNombrePresentacion(btn, pres.Get("; +Debug.ShouldStop(8192); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_actualizarlabelnombrepresentacion" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ConcreteViewWrapper"), _btn.getObject()),(Object)(BA.ObjectToString(_pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nombre")))))),(Object)(_unidades)); + BA.debugLineNum = 2673;BA.debugLine="Subs.actualizaProductoDinamico(Subs.traeAlmacen,"; +Debug.ShouldStop(65536); +c_productos._subs.runVoidMethod ("_actualizaproductodinamico" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.numberCast(float.class, _pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))))),(Object)(BA.numberCast(int.class, _et.runMethod(true,"getText"))),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_idprod))),(Object)(_idprod),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0)),(Object)(BA.ObjectToString(_pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("listaprecio")))))),(Object)(_umv),(Object)(BA.ObjectToString(_pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nombre"))))))); + BA.debugLineNum = 2676;BA.debugLine="ActualizarLabelExistencias(btn, idProd)"; +Debug.ShouldStop(524288); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_actualizarlabelexistencias" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ConcreteViewWrapper"), _btn.getObject()),(Object)(_idprod)); + BA.debugLineNum = 2677;BA.debugLine="cuentaProds"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 2679;BA.debugLine="ToastMessageShow(\"Inventario insuficiente. Stock"; +Debug.ShouldStop(4194304); +c_productos.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Inventario insuficiente. Stock: "),_stockdisponible))),(Object)(c_productos.__c.getField(true,"False"))); + }; + BA.debugLineNum = 2681;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btnmenosdinamico_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("btnMenosDinamico_Click (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,2683); +if (RapidSub.canDelegate("btnmenosdinamico_click")) { return __ref.runUserSub(false, "c_productos","btnmenosdinamico_click", __ref);} +RemoteObject _btn = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +RemoteObject _info = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _et = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +RemoteObject _pres = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _idprod = RemoteObject.createImmutable(""); +RemoteObject _cantactual = RemoteObject.createImmutable(0); +RemoteObject _umv = RemoteObject.createImmutable(0); +RemoteObject _nuevacant = RemoteObject.createImmutable(0); +RemoteObject _unidades = RemoteObject.createImmutable(0); + BA.debugLineNum = 2683;BA.debugLine="Sub btnMenosDinamico_Click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 2684;BA.debugLine="Dim btn As Button = Sender"; +Debug.ShouldStop(134217728); +_btn = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); +_btn = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ButtonWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba")));Debug.locals.put("btn", _btn);Debug.locals.put("btn", _btn); + BA.debugLineNum = 2685;BA.debugLine="Dim info As Map = btn.Tag"; +Debug.ShouldStop(268435456); +_info = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_info = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _btn.runMethod(false,"getTag"));Debug.locals.put("info", _info);Debug.locals.put("info", _info); + BA.debugLineNum = 2686;BA.debugLine="Dim et As EditText = info.Get(\"et\")"; +Debug.ShouldStop(536870912); +_et = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper"); +_et = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), _info.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("et")))));Debug.locals.put("et", _et);Debug.locals.put("et", _et); + BA.debugLineNum = 2687;BA.debugLine="Dim pres As Map = info.Get(\"pres\")"; +Debug.ShouldStop(1073741824); +_pres = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_pres = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _info.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pres")))));Debug.locals.put("pres", _pres);Debug.locals.put("pres", _pres); + BA.debugLineNum = 2688;BA.debugLine="Dim idProd As String = info.Get(\"id\")"; +Debug.ShouldStop(-2147483648); +_idprod = BA.ObjectToString(_info.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("idProd", _idprod);Debug.locals.put("idProd", _idprod); + BA.debugLineNum = 2690;BA.debugLine="Dim cantActual As Int = 0"; +Debug.ShouldStop(2); +_cantactual = BA.numberCast(int.class, 0);Debug.locals.put("cantActual", _cantactual);Debug.locals.put("cantActual", _cantactual); + BA.debugLineNum = 2691;BA.debugLine="If et.Text <> \"\" Then cantActual = et.Text"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("!",_et.runMethod(true,"getText"),BA.ObjectToString(""))) { +_cantactual = BA.numberCast(int.class, _et.runMethod(true,"getText"));Debug.locals.put("cantActual", _cantactual);}; + BA.debugLineNum = 2693;BA.debugLine="If cantActual > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_cantactual,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2694;BA.debugLine="Dim umv As Int = pres.Get(\"umv\")"; +Debug.ShouldStop(32); +_umv = BA.numberCast(int.class, _pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("umv")))));Debug.locals.put("umv", _umv);Debug.locals.put("umv", _umv); + BA.debugLineNum = 2695;BA.debugLine="Dim nuevaCant As Int = cantActual - umv"; +Debug.ShouldStop(64); +_nuevacant = RemoteObject.solve(new RemoteObject[] {_cantactual,_umv}, "-",1, 1);Debug.locals.put("nuevaCant", _nuevacant);Debug.locals.put("nuevaCant", _nuevacant); + BA.debugLineNum = 2696;BA.debugLine="If nuevaCant < 0 Then nuevaCant = 0"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("<",_nuevacant,BA.numberCast(double.class, 0))) { +_nuevacant = BA.numberCast(int.class, 0);Debug.locals.put("nuevaCant", _nuevacant);}; + BA.debugLineNum = 2697;BA.debugLine="et.Text = nuevaCant"; +Debug.ShouldStop(256); +_et.runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_nuevacant)); + BA.debugLineNum = 2700;BA.debugLine="Dim unidades As Int = nuevaCant / umv"; +Debug.ShouldStop(2048); +_unidades = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_nuevacant,_umv}, "/",0, 0));Debug.locals.put("unidades", _unidades);Debug.locals.put("unidades", _unidades); + BA.debugLineNum = 2701;BA.debugLine="ActualizarLabelNombrePresentacion(btn, pres.Get("; +Debug.ShouldStop(4096); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_actualizarlabelnombrepresentacion" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ConcreteViewWrapper"), _btn.getObject()),(Object)(BA.ObjectToString(_pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nombre")))))),(Object)(_unidades)); + BA.debugLineNum = 2704;BA.debugLine="Subs.actualizaProductoDinamico(Subs.traeAlmacen,"; +Debug.ShouldStop(32768); +c_productos._subs.runVoidMethod ("_actualizaproductodinamico" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(BA.numberCast(float.class, _pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))))),(Object)(BA.numberCast(int.class, _et.runMethod(true,"getText"))),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_idprod))),(Object)(_idprod),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0)),(Object)(BA.ObjectToString(_pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("listaprecio")))))),(Object)(_umv),(Object)(BA.ObjectToString(_pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nombre"))))))); + BA.debugLineNum = 2707;BA.debugLine="ActualizarLabelExistencias(btn, idProd)"; +Debug.ShouldStop(262144); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_actualizarlabelexistencias" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ConcreteViewWrapper"), _btn.getObject()),(Object)(_idprod)); + BA.debugLineNum = 2708;BA.debugLine="cuentaProds"; +Debug.ShouldStop(524288); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + }; + BA.debugLineNum = 2710;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1960); +if (RapidSub.canDelegate("busca_textchanged")) { return __ref.runUserSub(false, "c_productos","busca_textchanged", __ref, _old, _new);} +RemoteObject _query = RemoteObject.createImmutable(""); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 1960;BA.debugLine="Sub Busca_TextChanged (Old As String, New As Strin"; +Debug.ShouldStop(128); + BA.debugLineNum = 1962;BA.debugLine="If Not(clv_prods_ll.AsView.Visible) Then clv_prod"; +Debug.ShouldStop(512); +if (c_productos.__c.runMethod(true,"Not",(Object)(__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getVisible"))).get().booleanValue()) { +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",c_productos.__c.getField(true,"True"));}; + BA.debugLineNum = 1966;BA.debugLine="If New.Length > 0 And New.Length < 3 And Not(forz"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_new.runMethod(true,"length"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("<",_new.runMethod(true,"length"),BA.numberCast(double.class, 3)) && RemoteObject.solveBoolean(".",c_productos.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_forzarbusqueda" /*RemoteObject*/ ))))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 1968;BA.debugLine="forzarBusqueda = False"; +Debug.ShouldStop(32768); +__ref.setField ("_forzarbusqueda" /*RemoteObject*/ ,c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1969;BA.debugLine="Log(\"Texto buscado: [\" & New.Trim & \"]\")"; +Debug.ShouldStop(65536); +c_productos.__c.runVoidMethod ("LogImpl","520119561",RemoteObject.concat(RemoteObject.createImmutable("Texto buscado: ["),_new.runMethod(true,"trim"),RemoteObject.createImmutable("]")),0); + BA.debugLineNum = 1972;BA.debugLine="If New.Trim = \"\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_new.runMethod(true,"trim"),BA.ObjectToString(""))) { + BA.debugLineNum = 1975;BA.debugLine="Log(\"Búsqueda borrada. Restaurando catálogo prin"; +Debug.ShouldStop(4194304); +c_productos.__c.runVoidMethod ("LogImpl","520119567",RemoteObject.createImmutable("Búsqueda borrada. Restaurando catálogo principal..."),0); + BA.debugLineNum = 1976;BA.debugLine="LlenaProdsLL(Null)"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_llenaprodsll" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_productos.__c.getField(false,"Null"))); + }else { + BA.debugLineNum = 1980;BA.debugLine="Dim query As String = $\"SELECT * FROM ${Starter."; +Debug.ShouldStop(134217728); +_query = (RemoteObject.concat(RemoteObject.createImmutable("SELECT * FROM "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" WHERE CAT_GP_STS = 1 AND CAT_GP_TIPO <> 'PROMOS' AND CAT_GP_SUBTIPO <> 'PROMOS' AND CAT_GP_NOMBRE LIKE '%"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_new))),RemoteObject.createImmutable("%' ORDER BY CAT_GP_NOMBRE")));Debug.locals.put("query", _query);Debug.locals.put("query", _query); + BA.debugLineNum = 1981;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(268435456); +_p = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_p = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(_query)));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 1983;BA.debugLine="Log(\"Buscando: \" & New & \" - Resultados encontra"; +Debug.ShouldStop(1073741824); +c_productos.__c.runVoidMethod ("LogImpl","520119575",RemoteObject.concat(RemoteObject.createImmutable("Buscando: "),_new,RemoteObject.createImmutable(" - Resultados encontrados: "),_p.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 1984;BA.debugLine="LlenaProdsLL(p)"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_llenaprodsll" /*RemoteObject*/ ,(Object)(_p)); + }; + BA.debugLineNum = 1986;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +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 ruta As String"; +c_productos._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_productos._ruta); + //BA.debugLineNum = 5;BA.debugLine="Dim q_buscar As String"; +c_productos._q_buscar = RemoteObject.createImmutable("");__ref.setField("_q_buscar",c_productos._q_buscar); + //BA.debugLineNum = 6;BA.debugLine="Dim forzarBusqueda As Boolean = False"; +c_productos._forzarbusqueda = c_productos.__c.getField(true,"False");__ref.setField("_forzarbusqueda",c_productos._forzarbusqueda); + //BA.debugLineNum = 7;BA.debugLine="Dim skmt As SQL"; +c_productos._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",c_productos._skmt); + //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; +c_productos._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_productos._c); + //BA.debugLineNum = 9;BA.debugLine="Dim c2 As Cursor"; +c_productos._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c2",c_productos._c2); + //BA.debugLineNum = 10;BA.debugLine="Dim C3 As Cursor"; +c_productos._c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c3",c_productos._c3); + //BA.debugLineNum = 11;BA.debugLine="Dim s As Cursor"; +c_productos._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_productos._s); + //BA.debugLineNum = 12;BA.debugLine="Dim lv_catalogos As ListView"; +c_productos._lv_catalogos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_catalogos",c_productos._lv_catalogos); + //BA.debugLineNum = 13;BA.debugLine="Dim lv_promos As ListView"; +c_productos._lv_promos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_promos",c_productos._lv_promos); + //BA.debugLineNum = 14;BA.debugLine="Dim entro As String"; +c_productos._entro = RemoteObject.createImmutable("");__ref.setField("_entro",c_productos._entro); + //BA.debugLineNum = 15;BA.debugLine="Dim gest As Button"; +c_productos._gest = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_gest",c_productos._gest); + //BA.debugLineNum = 16;BA.debugLine="Dim lfila As Label"; +c_productos._lfila = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_lfila",c_productos._lfila); + //BA.debugLineNum = 17;BA.debugLine="Dim marca As String"; +c_productos._marca = RemoteObject.createImmutable("");__ref.setField("_marca",c_productos._marca); + //BA.debugLineNum = 18;BA.debugLine="Dim tipo As String"; +c_productos._tipo = RemoteObject.createImmutable("");__ref.setField("_tipo",c_productos._tipo); + //BA.debugLineNum = 19;BA.debugLine="Dim subtipo As String"; +c_productos._subtipo = RemoteObject.createImmutable("");__ref.setField("_subtipo",c_productos._subtipo); + //BA.debugLineNum = 20;BA.debugLine="Private BUSCA As EditText"; +c_productos._busca = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_busca",c_productos._busca); + //BA.debugLineNum = 21;BA.debugLine="Dim ya_entro As String"; +c_productos._ya_entro = RemoteObject.createImmutable("");__ref.setField("_ya_entro",c_productos._ya_entro); + //BA.debugLineNum = 22;BA.debugLine="Dim TIENE_PROMOS As String"; +c_productos._tiene_promos = RemoteObject.createImmutable("");__ref.setField("_tiene_promos",c_productos._tiene_promos); + //BA.debugLineNum = 23;BA.debugLine="Dim RES As String"; +c_productos._res = RemoteObject.createImmutable("");__ref.setField("_res",c_productos._res); + //BA.debugLineNum = 24;BA.debugLine="Dim S1 As Cursor"; +c_productos._s1 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s1",c_productos._s1); + //BA.debugLineNum = 25;BA.debugLine="Dim bmp As Bitmap"; +c_productos._bmp = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");__ref.setField("_bmp",c_productos._bmp); + //BA.debugLineNum = 26;BA.debugLine="Dim ciclo As String"; +c_productos._ciclo = RemoteObject.createImmutable("");__ref.setField("_ciclo",c_productos._ciclo); + //BA.debugLineNum = 27;BA.debugLine="Private b_qr As Button"; +c_productos._b_qr = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_qr",c_productos._b_qr); + //BA.debugLineNum = 28;BA.debugLine="Private p_productos As Panel"; +c_productos._p_productos = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_productos",c_productos._p_productos); + //BA.debugLineNum = 29;BA.debugLine="Dim clv_productos As CustomListView"; +c_productos._clv_productos = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_productos",c_productos._clv_productos); + //BA.debugLineNum = 30;BA.debugLine="Private ImageView1 As ImageView"; +c_productos._imageview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_imageview1",c_productos._imageview1); + //BA.debugLineNum = 31;BA.debugLine="Private Panel3 As Panel"; +c_productos._panel3 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_panel3",c_productos._panel3); + //BA.debugLineNum = 32;BA.debugLine="Private p_prods As Panel"; +c_productos._p_prods = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_prods",c_productos._p_prods); + //BA.debugLineNum = 33;BA.debugLine="Private i_prod As ImageView"; +c_productos._i_prod = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_i_prod",c_productos._i_prod); + //BA.debugLineNum = 34;BA.debugLine="Private l_prodX As Label"; +c_productos._l_prodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prodx",c_productos._l_prodx); + //BA.debugLineNum = 35;BA.debugLine="Private b_prodMas As Button"; +c_productos._b_prodmas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmas",c_productos._b_prodmas); + //BA.debugLineNum = 36;BA.debugLine="Private l_pCant As Label"; +c_productos._l_pcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pcant",c_productos._l_pcant); + //BA.debugLineNum = 37;BA.debugLine="Private et_pCant As EditText"; +c_productos._et_pcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_pcant",c_productos._et_pcant); + //BA.debugLineNum = 38;BA.debugLine="Private b_prodMenos As Button"; +c_productos._b_prodmenos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmenos",c_productos._b_prodmenos); + //BA.debugLineNum = 39;BA.debugLine="Dim b_terminar1 As Button"; +c_productos._b_terminar1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_terminar1",c_productos._b_terminar1); + //BA.debugLineNum = 40;BA.debugLine="Dim b_continuar As Button"; +c_productos._b_continuar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_continuar",c_productos._b_continuar); + //BA.debugLineNum = 41;BA.debugLine="Private l_total As Label"; +c_productos._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_productos._l_total); + //BA.debugLineNum = 42;BA.debugLine="Private l_totProds As Label"; +c_productos._l_totprods = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_totprods",c_productos._l_totprods); + //BA.debugLineNum = 43;BA.debugLine="Dim totalProds As Int = 0"; +c_productos._totalprods = BA.numberCast(int.class, 0);__ref.setField("_totalprods",c_productos._totalprods); + //BA.debugLineNum = 44;BA.debugLine="Dim totalCompra As Float = 0"; +c_productos._totalcompra = BA.numberCast(float.class, 0);__ref.setField("_totalcompra",c_productos._totalcompra); + //BA.debugLineNum = 45;BA.debugLine="Dim etCantHasFocus As Boolean = False"; +c_productos._etcanthasfocus = c_productos.__c.getField(true,"False");__ref.setField("_etcanthasfocus",c_productos._etcanthasfocus); + //BA.debugLineNum = 46;BA.debugLine="Dim prodsMap As Map"; +c_productos._prodsmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_prodsmap",c_productos._prodsmap); + //BA.debugLineNum = 47;BA.debugLine="Private l_Cargando As Label"; +c_productos._l_cargando = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cargando",c_productos._l_cargando); + //BA.debugLineNum = 48;BA.debugLine="Private l_info As Label"; +c_productos._l_info = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_info",c_productos._l_info); + //BA.debugLineNum = 49;BA.debugLine="Private b_buscar As Button"; +c_productos._b_buscar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_buscar",c_productos._b_buscar); + //BA.debugLineNum = 50;BA.debugLine="Private p_botonesVenta As Panel"; +c_productos._p_botonesventa = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_botonesventa",c_productos._p_botonesventa); + //BA.debugLineNum = 51;BA.debugLine="Private lv_tipo As ListView"; +c_productos._lv_tipo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_tipo",c_productos._lv_tipo); + //BA.debugLineNum = 52;BA.debugLine="Private lv_subtipo As ListView"; +c_productos._lv_subtipo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_subtipo",c_productos._lv_subtipo); + //BA.debugLineNum = 53;BA.debugLine="Private p_vistaPreviaTrans As Panel"; +c_productos._p_vistapreviatrans = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_vistapreviatrans",c_productos._p_vistapreviatrans); + //BA.debugLineNum = 54;BA.debugLine="Private lv_prodsPedido As ListView"; +c_productos._lv_prodspedido = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_prodspedido",c_productos._lv_prodspedido); + //BA.debugLineNum = 55;BA.debugLine="Private b_rechazar As Button"; +c_productos._b_rechazar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_rechazar",c_productos._b_rechazar); + //BA.debugLineNum = 56;BA.debugLine="Private b_aceptar As Button"; +c_productos._b_aceptar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_aceptar",c_productos._b_aceptar); + //BA.debugLineNum = 57;BA.debugLine="Private p_vistaPrevia As Panel"; +c_productos._p_vistaprevia = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_vistaprevia",c_productos._p_vistaprevia); + //BA.debugLineNum = 58;BA.debugLine="Dim folio As String"; +c_productos._folio = RemoteObject.createImmutable("");__ref.setField("_folio",c_productos._folio); + //BA.debugLineNum = 59;BA.debugLine="Dim result As String"; +c_productos._result = RemoteObject.createImmutable("");__ref.setField("_result",c_productos._result); + //BA.debugLineNum = 60;BA.debugLine="Private l_cant As Label"; +c_productos._l_cant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_cant",c_productos._l_cant); + //BA.debugLineNum = 61;BA.debugLine="Private l_total2 As Label"; +c_productos._l_total2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total2",c_productos._l_total2); + //BA.debugLineNum = 62;BA.debugLine="Dim prodsPedidoActual As String"; +c_productos._prodspedidoactual = RemoteObject.createImmutable("");__ref.setField("_prodspedidoactual",c_productos._prodspedidoactual); + //BA.debugLineNum = 63;BA.debugLine="Dim montoPedidoActual As String"; +c_productos._montopedidoactual = RemoteObject.createImmutable("");__ref.setField("_montopedidoactual",c_productos._montopedidoactual); + //BA.debugLineNum = 64;BA.debugLine="Dim clv_prods_ll As CustomListView"; +c_productos._clv_prods_ll = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_prods_ll",c_productos._clv_prods_ll); + //BA.debugLineNum = 65;BA.debugLine="Private PCLV As PreoptimizedCLV"; +c_productos._pclv = RemoteObject.createNew ("SHARK2.keymon.com.mx.preoptimizedclv");__ref.setField("_pclv",c_productos._pclv); + //BA.debugLineNum = 66;BA.debugLine="Dim listaProds As List"; +c_productos._listaprods = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_listaprods",c_productos._listaprods); + //BA.debugLineNum = 68;BA.debugLine="Dim pedidoMap As Map"; +c_productos._pedidomap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_pedidomap",c_productos._pedidomap); + //BA.debugLineNum = 69;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 = 70;BA.debugLine="Dim reiniciarlistaProds As Boolean= False"; +c_productos._reiniciarlistaprods = c_productos.__c.getField(true,"False");__ref.setField("_reiniciarlistaprods",c_productos._reiniciarlistaprods); + //BA.debugLineNum = 72;BA.debugLine="Dim listaTiempos As List"; +c_productos._listatiempos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_listatiempos",c_productos._listatiempos); + //BA.debugLineNum = 73;BA.debugLine="Dim clienteId As String"; +c_productos._clienteid = RemoteObject.createImmutable("");__ref.setField("_clienteid",c_productos._clienteid); + //BA.debugLineNum = 74;BA.debugLine="Dim rutaUsuario As String"; +c_productos._rutausuario = RemoteObject.createImmutable("");__ref.setField("_rutausuario",c_productos._rutausuario); + //BA.debugLineNum = 75;BA.debugLine="Dim hayPedido As Boolean"; +c_productos._haypedido = RemoteObject.createImmutable(false);__ref.setField("_haypedido",c_productos._haypedido); + //BA.debugLineNum = 76;BA.debugLine="Dim listaHints As List"; +c_productos._listahints = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_listahints",c_productos._listahints); + //BA.debugLineNum = 77;BA.debugLine="Dim r As Cursor"; +c_productos._r = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_r",c_productos._r); + //BA.debugLineNum = 78;BA.debugLine="Dim vamoaver As List"; +c_productos._vamoaver = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_vamoaver",c_productos._vamoaver); + //BA.debugLineNum = 79;BA.debugLine="Dim j3 As Cursor"; +c_productos._j3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_j3",c_productos._j3); + //BA.debugLineNum = 80;BA.debugLine="Dim invTotal As Int"; +c_productos._invtotal = RemoteObject.createImmutable(0);__ref.setField("_invtotal",c_productos._invtotal); + //BA.debugLineNum = 81;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 = 82;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 = 83;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 = 84;BA.debugLine="Dim totalcajasmaspiezas As Int"; +c_productos._totalcajasmaspiezas = RemoteObject.createImmutable(0);__ref.setField("_totalcajasmaspiezas",c_productos._totalcajasmaspiezas); + //BA.debugLineNum = 85;BA.debugLine="Dim cajas As Int"; +c_productos._cajas = RemoteObject.createImmutable(0);__ref.setField("_cajas",c_productos._cajas); + //BA.debugLineNum = 86;BA.debugLine="Dim piezas As Int"; +c_productos._piezas = RemoteObject.createImmutable(0);__ref.setField("_piezas",c_productos._piezas); + //BA.debugLineNum = 87;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 = 90;BA.debugLine="Dim tipoClienteActual As String = \"DETALLE\""; +c_productos._tipoclienteactual = BA.ObjectToString("DETALLE");__ref.setField("_tipoclienteactual",c_productos._tipoclienteactual); + //BA.debugLineNum = 91;BA.debugLine="Dim cantsMap As Map"; +c_productos._cantsmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_cantsmap",c_productos._cantsmap); + //BA.debugLineNum = 92;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clv_prods_ll_itemclick(RemoteObject __ref,RemoteObject _index,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("clv_prods_ll_ItemClick (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1709); +if (RapidSub.canDelegate("clv_prods_ll_itemclick")) { return __ref.runUserSub(false, "c_productos","clv_prods_ll_itemclick", __ref, _index, _value);} +Debug.locals.put("Index", _index); +Debug.locals.put("Value", _value); + BA.debugLineNum = 1709;BA.debugLine="Private Sub clv_prods_ll_ItemClick (Index As Int,"; +Debug.ShouldStop(4096); + BA.debugLineNum = 1710;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _clv_prods_ll_visiblerangechanged(RemoteObject __ref,RemoteObject _firstindex,RemoteObject _lastindex) throws Exception{ +try { + Debug.PushSubsStack("clv_prods_ll_VisibleRangeChanged (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1787); +if (RapidSub.canDelegate("clv_prods_ll_visiblerangechanged")) { return __ref.runUserSub(false, "c_productos","clv_prods_ll_visiblerangechanged", __ref, _firstindex, _lastindex);} +int _i = 0; +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _data = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _base = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _lblinfo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _presentaciones = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _vtop = RemoteObject.createImmutable(0); +RemoteObject _pres = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _lbltipo = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _cantpiezas = RemoteObject.createImmutable(0); +RemoteObject _factorumv = RemoteObject.createImmutable(0); +RemoteObject _unidadesexistentes = RemoteObject.createImmutable(0); +RemoteObject _lblprice = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _bm = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +RemoteObject _et = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +RemoteObject _bp = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +RemoteObject _taginfo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +Debug.locals.put("FirstIndex", _firstindex); +Debug.locals.put("LastIndex", _lastindex); + BA.debugLineNum = 1787;BA.debugLine="Private Sub clv_prods_ll_VisibleRangeChanged (Firs"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 1788;BA.debugLine="For i = Max(0, FirstIndex - 2) To Min(LastIndex +"; +Debug.ShouldStop(134217728); +{ +final int step1 = 1; +final int limit1 = (int) (0 + c_productos.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_lastindex,RemoteObject.createImmutable(2)}, "+",1, 1))),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1)))).get().doubleValue()); +_i = (int) (0 + c_productos.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 0)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_firstindex,RemoteObject.createImmutable(2)}, "-",1, 1)))).get().doubleValue()) ; +for (;(step1 > 0 && _i <= limit1) || (step1 < 0 && _i >= limit1) ;_i = ((int)(0 + _i + step1)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1789;BA.debugLine="Dim Pnl As B4XView = clv_prods_ll.GetPanel(i)"; +Debug.ShouldStop(268435456); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("Pnl", _pnl);Debug.locals.put("Pnl", _pnl); + BA.debugLineNum = 1791;BA.debugLine="If i >= FirstIndex And i <= LastIndex Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("g",RemoteObject.createImmutable(_i),BA.numberCast(double.class, _firstindex)) && RemoteObject.solveBoolean("k",RemoteObject.createImmutable(_i),BA.numberCast(double.class, _lastindex))) { + BA.debugLineNum = 1792;BA.debugLine="If Pnl.NumberOfViews = 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_pnl.runMethod(true,"getNumberOfViews"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1793;BA.debugLine="Dim data As Map = clv_prods_ll.GetValue(i)"; +Debug.ShouldStop(1); +_data = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_data = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("data", _data);Debug.locals.put("data", _data); + BA.debugLineNum = 1796;BA.debugLine="Dim base As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(8); +_base = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_base = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("base", _base);Debug.locals.put("base", _base); + BA.debugLineNum = 1800;BA.debugLine="base.SetColorAndBorder(xui.Color_White, 1dip,"; +Debug.ShouldStop(128); +_base.runVoidMethod ("SetColorAndBorder",(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White")),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))),(Object)(__ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Black")),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 8))))); + BA.debugLineNum = 1803;BA.debugLine="Pnl.AddView(base, 5dip, 2dip, Pnl.Width - 10di"; +Debug.ShouldStop(1024); +_pnl.runVoidMethod ("AddView",(Object)((_base.getObject())),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 5)))),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 2)))),(Object)(RemoteObject.solve(new RemoteObject[] {_pnl.runMethod(true,"getWidth"),c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))}, "-",1, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_pnl.runMethod(true,"getHeight"),c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 4)))}, "-",1, 1))); + BA.debugLineNum = 1806;BA.debugLine="Dim cs As CSBuilder"; +Debug.ShouldStop(8192); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 1807;BA.debugLine="cs.Initialize.Color(Colors.Red).Bold.Append(da"; +Debug.ShouldStop(16384); +_cs.runMethod(false,"Initialize").runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Bold").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_data.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prod"))))))).runMethod(false,"Pop").runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Size",(Object)(BA.numberCast(int.class, 12))).runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Black"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),_data.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen")))))))).runVoidMethod ("Pop"); + BA.debugLineNum = 1810;BA.debugLine="Dim lblInfo As Label : lblInfo.Initialize(\"\")"; +Debug.ShouldStop(131072); +_lblinfo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lblInfo", _lblinfo); + BA.debugLineNum = 1810;BA.debugLine="Dim lblInfo As Label : lblInfo.Initialize(\"\")"; +Debug.ShouldStop(131072); +_lblinfo.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 1811;BA.debugLine="Dim xlbl As B4XView = lblInfo"; +Debug.ShouldStop(262144); +_xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_xlbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lblinfo.getObject());Debug.locals.put("xlbl", _xlbl);Debug.locals.put("xlbl", _xlbl); + BA.debugLineNum = 1812;BA.debugLine="xlbl.Text = cs"; +Debug.ShouldStop(524288); +_xlbl.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.getObject())); + BA.debugLineNum = 1813;BA.debugLine="lblInfo.Gravity = Gravity.TOP"; +Debug.ShouldStop(1048576); +_lblinfo.runMethod(true,"setGravity",c_productos.__c.getField(false,"Gravity").getField(true,"TOP")); + BA.debugLineNum = 1814;BA.debugLine="base.AddView(xlbl, 10dip, 8dip, base.Width * 0"; +Debug.ShouldStop(2097152); +_base.runVoidMethod ("AddView",(Object)((_xlbl.getObject())),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 8)))),(Object)(BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_base.runMethod(true,"getWidth"),RemoteObject.createImmutable(0.55)}, "*",0, 0))),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 45))))); + BA.debugLineNum = 1817;BA.debugLine="Dim presentaciones As List = data.Get(\"present"; +Debug.ShouldStop(16777216); +_presentaciones = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_presentaciones = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _data.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("presentaciones")))));Debug.locals.put("presentaciones", _presentaciones);Debug.locals.put("presentaciones", _presentaciones); + BA.debugLineNum = 1818;BA.debugLine="Dim vTop As Int = 10dip"; +Debug.ShouldStop(33554432); +_vtop = c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)));Debug.locals.put("vTop", _vtop);Debug.locals.put("vTop", _vtop); + BA.debugLineNum = 1820;BA.debugLine="For Each pres As Map In presentaciones"; +Debug.ShouldStop(134217728); +_pres = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +{ +final RemoteObject group19 = _presentaciones; +final int groupLen19 = group19.runMethod(true,"getSize").get() +;int index19 = 0; +; +for (; index19 < groupLen19;index19++){ +_pres = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), group19.runMethod(false,"Get",index19));Debug.locals.put("pres", _pres); +Debug.locals.put("pres", _pres); + BA.debugLineNum = 1822;BA.debugLine="Dim lblTipo As Label : lblTipo.Initialize(\"\")"; +Debug.ShouldStop(536870912); +_lbltipo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lblTipo", _lbltipo); + BA.debugLineNum = 1822;BA.debugLine="Dim lblTipo As Label : lblTipo.Initialize(\"\")"; +Debug.ShouldStop(536870912); +_lbltipo.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 1823;BA.debugLine="lblTipo.Text = pres.Get(\"nombre\")"; +Debug.ShouldStop(1073741824); +_lbltipo.runMethod(true,"setText",BA.ObjectToCharSequence(_pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nombre")))))); + BA.debugLineNum = 1824;BA.debugLine="lblTipo.TextColor = Colors.Black ' <--- Camb"; +Debug.ShouldStop(-2147483648); +_lbltipo.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 1825;BA.debugLine="lblTipo.TextSize = 14 ' <--- Tama"; +Debug.ShouldStop(1); +_lbltipo.runMethod(true,"setTextSize",BA.numberCast(float.class, 14)); + BA.debugLineNum = 1827;BA.debugLine="lblTipo.Gravity = Gravity.LEFT"; +Debug.ShouldStop(4); +_lbltipo.runMethod(true,"setGravity",c_productos.__c.getField(false,"Gravity").getField(true,"LEFT")); + BA.debugLineNum = 1830;BA.debugLine="Dim cantPiezas As Int = pres.Get(\"cantidad\")"; +Debug.ShouldStop(32); +_cantpiezas = BA.numberCast(int.class, _pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cantidad")))));Debug.locals.put("cantPiezas", _cantpiezas);Debug.locals.put("cantPiezas", _cantpiezas); + BA.debugLineNum = 1831;BA.debugLine="Dim factorUmv As Int = pres.Get(\"umv\")"; +Debug.ShouldStop(64); +_factorumv = BA.numberCast(int.class, _pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("umv")))));Debug.locals.put("factorUmv", _factorumv);Debug.locals.put("factorUmv", _factorumv); + BA.debugLineNum = 1832;BA.debugLine="Dim unidadesExistentes As Int = 0"; +Debug.ShouldStop(128); +_unidadesexistentes = BA.numberCast(int.class, 0);Debug.locals.put("unidadesExistentes", _unidadesexistentes);Debug.locals.put("unidadesExistentes", _unidadesexistentes); + BA.debugLineNum = 1835;BA.debugLine="If factorUmv > 0 Then unidadesExistentes = ca"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_factorumv,BA.numberCast(double.class, 0))) { +_unidadesexistentes = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_cantpiezas,_factorumv}, "/",0, 0));Debug.locals.put("unidadesExistentes", _unidadesexistentes);}; + BA.debugLineNum = 1837;BA.debugLine="Dim lblTipo As Label : lblTipo.Initialize(\"\")"; +Debug.ShouldStop(4096); +_lbltipo = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lblTipo", _lbltipo); + BA.debugLineNum = 1837;BA.debugLine="Dim lblTipo As Label : lblTipo.Initialize(\"\")"; +Debug.ShouldStop(4096); +_lbltipo.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 1839;BA.debugLine="lblTipo.Text = pres.Get(\"nombre\").As(String)."; +Debug.ShouldStop(16384); +_lbltipo.runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat((BA.ObjectToString(_pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nombre")))))).runMethod(true,"toUpperCase"),RemoteObject.createImmutable(": "),_unidadesexistentes))); + BA.debugLineNum = 1840;BA.debugLine="lblTipo.TextColor = Colors.Black"; +Debug.ShouldStop(32768); +_lbltipo.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 1841;BA.debugLine="lblTipo.TextSize = 14"; +Debug.ShouldStop(65536); +_lbltipo.runMethod(true,"setTextSize",BA.numberCast(float.class, 14)); + BA.debugLineNum = 1842;BA.debugLine="lblTipo.Gravity = Gravity.LEFT"; +Debug.ShouldStop(131072); +_lbltipo.runMethod(true,"setGravity",c_productos.__c.getField(false,"Gravity").getField(true,"LEFT")); + BA.debugLineNum = 1846;BA.debugLine="base.AddView(lblTipo, base.Width - 145dip, vT"; +Debug.ShouldStop(2097152); +_base.runVoidMethod ("AddView",(Object)((_lbltipo.getObject())),(Object)(RemoteObject.solve(new RemoteObject[] {_base.runMethod(true,"getWidth"),c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 145)))}, "-",1, 1)),(Object)(_vtop),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 140)))),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 22))))); + BA.debugLineNum = 1849;BA.debugLine="Dim lblPrice As Label : lblPrice.Initialize(\""; +Debug.ShouldStop(16777216); +_lblprice = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lblPrice", _lblprice); + BA.debugLineNum = 1849;BA.debugLine="Dim lblPrice As Label : lblPrice.Initialize(\""; +Debug.ShouldStop(16777216); +_lblprice.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 1850;BA.debugLine="lblPrice.Text = \"$\" & NumberFormat2(pres.Get("; +Debug.ShouldStop(33554432); +_lblprice.runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("$"),c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))))),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")))))); + BA.debugLineNum = 1851;BA.debugLine="lblPrice.TextColor = 0xFF008000"; +Debug.ShouldStop(67108864); +_lblprice.runMethod(true,"setTextColor",BA.numberCast(int.class, ((int)0xff008000))); + BA.debugLineNum = 1852;BA.debugLine="lblPrice.TextSize = 14 ' <--- Tamb"; +Debug.ShouldStop(134217728); +_lblprice.runMethod(true,"setTextSize",BA.numberCast(float.class, 14)); + BA.debugLineNum = 1853;BA.debugLine="lblPrice.Gravity = Gravity.CENTER_VERTICAL"; +Debug.ShouldStop(268435456); +_lblprice.runMethod(true,"setGravity",c_productos.__c.getField(false,"Gravity").getField(true,"CENTER_VERTICAL")); + BA.debugLineNum = 1854;BA.debugLine="base.AddView(lblPrice, base.Width - 215dip, v"; +Debug.ShouldStop(536870912); +_base.runVoidMethod ("AddView",(Object)((_lblprice.getObject())),(Object)(RemoteObject.solve(new RemoteObject[] {_base.runMethod(true,"getWidth"),c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 215)))}, "-",1, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_vtop,c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 22)))}, "+",1, 1)),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 65)))),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 42))))); + BA.debugLineNum = 1857;BA.debugLine="Dim bM As Button : bM.Initialize(\"btnMenosDin"; +Debug.ShouldStop(1); +_bm = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");Debug.locals.put("bM", _bm); + BA.debugLineNum = 1857;BA.debugLine="Dim bM As Button : bM.Initialize(\"btnMenosDin"; +Debug.ShouldStop(1); +_bm.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("btnMenosDinamico"))); + BA.debugLineNum = 1858;BA.debugLine="bM.Text = \"-\" : bM.TextColor = Colors.White :"; +Debug.ShouldStop(2); +_bm.runMethod(true,"setText",BA.ObjectToCharSequence("-")); + BA.debugLineNum = 1858;BA.debugLine="bM.Text = \"-\" : bM.TextColor = Colors.White :"; +Debug.ShouldStop(2); +_bm.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 1858;BA.debugLine="bM.Text = \"-\" : bM.TextColor = Colors.White :"; +Debug.ShouldStop(2); +_bm.runVoidMethod ("setColor",BA.numberCast(int.class, ((int)0xfff4511e))); + BA.debugLineNum = 1860;BA.debugLine="Dim et As EditText : et.Initialize(\"etCantDin"; +Debug.ShouldStop(8); +_et = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");Debug.locals.put("et", _et); + BA.debugLineNum = 1860;BA.debugLine="Dim et As EditText : et.Initialize(\"etCantDin"; +Debug.ShouldStop(8); +_et.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("etCantDinamico"))); + BA.debugLineNum = 1861;BA.debugLine="et.Text = pres.Get(\"cantidad\")"; +Debug.ShouldStop(16); +_et.runMethodAndSync(true,"setText",BA.ObjectToCharSequence(_pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cantidad")))))); + BA.debugLineNum = 1862;BA.debugLine="et.InputType = et.INPUT_TYPE_NUMBERS"; +Debug.ShouldStop(32); +_et.runMethod(true,"setInputType",_et.getField(true,"INPUT_TYPE_NUMBERS")); + BA.debugLineNum = 1863;BA.debugLine="et.Gravity = Gravity.CENTER"; +Debug.ShouldStop(64); +_et.runMethod(true,"setGravity",c_productos.__c.getField(false,"Gravity").getField(true,"CENTER")); + BA.debugLineNum = 1864;BA.debugLine="et.Background = Null"; +Debug.ShouldStop(128); +_et.runMethod(false,"setBackground",(c_productos.__c.getField(false,"Null"))); + BA.debugLineNum = 1866;BA.debugLine="Dim bP As Button : bP.Initialize(\"btnMasDinam"; +Debug.ShouldStop(512); +_bp = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");Debug.locals.put("bP", _bp); + BA.debugLineNum = 1866;BA.debugLine="Dim bP As Button : bP.Initialize(\"btnMasDinam"; +Debug.ShouldStop(512); +_bp.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("btnMasDinamico"))); + BA.debugLineNum = 1867;BA.debugLine="bP.Text = \"+\" : bP.TextColor = Colors.White :"; +Debug.ShouldStop(1024); +_bp.runMethod(true,"setText",BA.ObjectToCharSequence("+")); + BA.debugLineNum = 1867;BA.debugLine="bP.Text = \"+\" : bP.TextColor = Colors.White :"; +Debug.ShouldStop(1024); +_bp.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"White")); + BA.debugLineNum = 1867;BA.debugLine="bP.Text = \"+\" : bP.TextColor = Colors.White :"; +Debug.ShouldStop(1024); +_bp.runVoidMethod ("setColor",BA.numberCast(int.class, ((int)0xff000080))); + BA.debugLineNum = 1869;BA.debugLine="Dim tagInfo As Map = CreateMap(\"id\": data.Get"; +Debug.ShouldStop(4096); +_taginfo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_taginfo = c_productos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),_data.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))),RemoteObject.createImmutable(("col")),_pres.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("col_index")))),RemoteObject.createImmutable(("et")),(_et.getObject()),RemoteObject.createImmutable(("pres")),(_pres.getObject()),RemoteObject.createImmutable(("almacen")),_data.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen"))))}));Debug.locals.put("tagInfo", _taginfo);Debug.locals.put("tagInfo", _taginfo); + BA.debugLineNum = 1870;BA.debugLine="bM.Tag = tagInfo : bP.Tag = tagInfo : et.Tag"; +Debug.ShouldStop(8192); +_bm.runMethod(false,"setTag",(_taginfo.getObject())); + BA.debugLineNum = 1870;BA.debugLine="bM.Tag = tagInfo : bP.Tag = tagInfo : et.Tag"; +Debug.ShouldStop(8192); +_bp.runMethod(false,"setTag",(_taginfo.getObject())); + BA.debugLineNum = 1870;BA.debugLine="bM.Tag = tagInfo : bP.Tag = tagInfo : et.Tag"; +Debug.ShouldStop(8192); +_et.runMethod(false,"setTag",(_taginfo.getObject())); + BA.debugLineNum = 1873;BA.debugLine="base.AddView(bM, base.Width - 145dip, vTop +"; +Debug.ShouldStop(65536); +_base.runVoidMethod ("AddView",(Object)((_bm.getObject())),(Object)(RemoteObject.solve(new RemoteObject[] {_base.runMethod(true,"getWidth"),c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 145)))}, "-",1, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_vtop,c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 22)))}, "+",1, 1)),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 38)))),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 42))))); + BA.debugLineNum = 1874;BA.debugLine="base.AddView(et, base.Width - 105dip, vTop +"; +Debug.ShouldStop(131072); +_base.runVoidMethod ("AddView",(Object)((_et.getObject())),(Object)(RemoteObject.solve(new RemoteObject[] {_base.runMethod(true,"getWidth"),c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 105)))}, "-",1, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_vtop,c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 22)))}, "+",1, 1)),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 45)))),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 42))))); + BA.debugLineNum = 1875;BA.debugLine="base.AddView(bP, base.Width - 58dip, vTop + 2"; +Debug.ShouldStop(262144); +_base.runVoidMethod ("AddView",(Object)((_bp.getObject())),(Object)(RemoteObject.solve(new RemoteObject[] {_base.runMethod(true,"getWidth"),c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 58)))}, "-",1, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_vtop,c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 22)))}, "+",1, 1)),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 38)))),(Object)(c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 42))))); + BA.debugLineNum = 1878;BA.debugLine="vTop = vTop + 75dip"; +Debug.ShouldStop(2097152); +_vtop = RemoteObject.solve(new RemoteObject[] {_vtop,c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 75)))}, "+",1, 1);Debug.locals.put("vTop", _vtop); + BA.debugLineNum = 1879;BA.debugLine="et.Enabled = False"; +Debug.ShouldStop(4194304); +_et.runMethod(true,"setEnabled",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1880;BA.debugLine="et.TextColor = Colors.Black"; +Debug.ShouldStop(8388608); +_et.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + } +}Debug.locals.put("pres", _pres); +; + }; + }else { + BA.debugLineNum = 1884;BA.debugLine="If Pnl.NumberOfViews > 0 Then Pnl.RemoveAllView"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",_pnl.runMethod(true,"getNumberOfViews"),BA.numberCast(double.class, 0))) { +_pnl.runVoidMethod ("RemoveAllViews");}; + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1887;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _text,RemoteObject _preciou,RemoteObject _inv,RemoteObject _width,RemoteObject _height,RemoteObject _img,RemoteObject _prodid,RemoteObject _bc,RemoteObject _tc) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,535); +if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "c_productos","createlistitem", __ref, _text, _preciou, _inv, _width, _height, _img, _prodid, _bc, _tc);} +Debug.locals.put("Text", _text); +Debug.locals.put("precioU", _preciou); +Debug.locals.put("inv", _inv); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); +Debug.locals.put("img", _img); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("bc", _bc); +Debug.locals.put("tc", _tc); + BA.debugLineNum = 535;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 550;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cuentaprods(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("cuentaProds (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,956); +if (RapidSub.canDelegate("cuentaprods")) { return __ref.runUserSub(false, "c_productos","cuentaprods", __ref);} + BA.debugLineNum = 956;BA.debugLine="Sub cuentaProds"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 958;BA.debugLine="Log(\"===========================\")"; +Debug.ShouldStop(536870912); +c_productos.__c.runVoidMethod ("LogImpl","519005442",RemoteObject.createImmutable("==========================="),0); + BA.debugLineNum = 959;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(1073741824); +c_productos._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_productos._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select sum(PE_COSTO_TOT) as total, sum(PE_CANT) as cant from PEDIDO where PE_CLIENTE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_clienteid" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))));__ref.setField("_c",c_productos._c); + BA.debugLineNum = 962;BA.debugLine="p_botonesVenta.Visible = True"; +Debug.ShouldStop(2); +__ref.getField(false,"_p_botonesventa" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 963;BA.debugLine="p_botonesVenta.BringToFront"; +Debug.ShouldStop(4); +__ref.getField(false,"_p_botonesventa" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 964;BA.debugLine="c.Position=0"; +Debug.ShouldStop(8); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 966;BA.debugLine="c.Close"; +Debug.ShouldStop(32); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 968;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_pcant_focuschanged(RemoteObject __ref,RemoteObject _hasfocus) throws Exception{ +try { + Debug.PushSubsStack("et_pCant_FocusChanged (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,794); +if (RapidSub.canDelegate("et_pcant_focuschanged")) { return __ref.runUserSub(false, "c_productos","et_pcant_focuschanged", __ref, _hasfocus);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _id = RemoteObject.createImmutable(""); +Debug.locals.put("HasFocus", _hasfocus); + BA.debugLineNum = 794;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 795;BA.debugLine="LogColor($\"focus changed=${HasFocus}\"$, Colors.Ma"; +Debug.ShouldStop(67108864); +c_productos.__c.runVoidMethod ("LogImpl","518874369",(RemoteObject.concat(RemoteObject.createImmutable("focus changed="),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_hasfocus))),RemoteObject.createImmutable(""))),c_productos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 796;BA.debugLine="If et_pCant.Text = \"\" Then et_pCant.Text = \"0\""; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("0"));}; + BA.debugLineNum = 797;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +Debug.ShouldStop(268435456); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 798;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +Debug.ShouldStop(536870912); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 799;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(1073741824); +_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 = 800;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +Debug.ShouldStop(-2147483648); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 801;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +Debug.ShouldStop(1); +_lacant2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant2 = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant2", _lacant2);Debug.locals.put("laCant2", _lacant2); + BA.debugLineNum = 802;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +Debug.ShouldStop(2); +_id = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 803;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = \"0\""; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence("0"));}; + BA.debugLineNum = 804;BA.debugLine="etCantHasFocus = HasFocus"; +Debug.ShouldStop(8); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,_hasfocus); + BA.debugLineNum = 805;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +Debug.ShouldStop(16); +c_productos.__c.runVoidMethod ("LogImpl","518874379",_lacant.runMethod(true,"getText"),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 806;BA.debugLine="If laCant2.IsInitialized Then"; +Debug.ShouldStop(32); +if (_lacant2.runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 807;BA.debugLine="totalcajasmaspiezas = laCant.Text + laCant2.Text"; +Debug.ShouldStop(64); +__ref.setField ("_totalcajasmaspiezas" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),BA.numberCast(double.class, _lacant2.runMethod(true,"getText"))}, "+",1, 0))); + }else { + BA.debugLineNum = 809;BA.debugLine="totalcajasmaspiezas = laCant.Text"; +Debug.ShouldStop(256); +__ref.setField ("_totalcajasmaspiezas" /*RemoteObject*/ ,BA.numberCast(int.class, _lacant.runMethod(true,"getText"))); + }; + BA.debugLineNum = 811;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +Debug.ShouldStop(1024); +__ref.setField ("_invtotal" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcajasmaspiezas" /*RemoteObject*/ ),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))); + BA.debugLineNum = 813;BA.debugLine="cuentaProds"; +Debug.ShouldStop(4096); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 814;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_pcant_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_pCant_TextChanged (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,816); +if (RapidSub.canDelegate("et_pcant_textchanged")) { return __ref.runUserSub(false, "c_productos","et_pcant_textchanged", __ref, _old, _new);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lprodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _id = RemoteObject.createImmutable(""); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _inv = RemoteObject.createImmutable(""); +RemoteObject _nombrex = RemoteObject.createImmutable(""); +RemoteObject _panelcajas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _panelpiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _fg = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _o = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _invactualizado = RemoteObject.createImmutable(""); +RemoteObject _maxcajas = RemoteObject.createImmutable(0); +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 816;BA.debugLine="Private Sub et_pCant_TextChanged (Old As String, N"; +Debug.ShouldStop(32768); + BA.debugLineNum = 819;BA.debugLine="If etCantHasFocus = True Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ ),c_productos.__c.getField(true,"True"))) { + BA.debugLineNum = 820;BA.debugLine="LogColor($\"txt changed: ${Old}|${New}, hasfocus="; +Debug.ShouldStop(524288); +c_productos.__c.runVoidMethod ("LogImpl","518939908",(RemoteObject.concat(RemoteObject.createImmutable("txt changed: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_old))),RemoteObject.createImmutable("|"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_new))),RemoteObject.createImmutable(", hasfocus="),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),c_productos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 821;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView("; +Debug.ShouldStop(1048576); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 822;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(inde"; +Debug.ShouldStop(2097152); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 823;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(4194304); +_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 = 824;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2"; +Debug.ShouldStop(8388608); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 825;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView("; +Debug.ShouldStop(16777216); +_lacant2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant2 = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant2", _lacant2);Debug.locals.put("laCant2", _lacant2); + BA.debugLineNum = 826;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +Debug.ShouldStop(33554432); +_lprodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lprodx = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("lProdX", _lprodx);Debug.locals.put("lProdX", _lprodx); + BA.debugLineNum = 827;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index"; +Debug.ShouldStop(67108864); +_id = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 828;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(i"; +Debug.ShouldStop(134217728); +_precio = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 829;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(inde"; +Debug.ShouldStop(268435456); +_inv = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen")))));Debug.locals.put("inv", _inv);Debug.locals.put("inv", _inv); + BA.debugLineNum = 830;BA.debugLine="Private inv As String=Subs.traeinventario(id)"; +Debug.ShouldStop(536870912); +_inv = c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("inv", _inv);Debug.locals.put("inv", _inv); + BA.debugLineNum = 831;BA.debugLine="Private nombreX As String = Subs.traeProdNombre("; +Debug.ShouldStop(1073741824); +_nombrex = c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("nombreX", _nombrex);Debug.locals.put("nombreX", _nombrex); + BA.debugLineNum = 832;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; +Debug.ShouldStop(-2147483648); +_panelcajas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelcajas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("panelcajas", _panelcajas);Debug.locals.put("panelcajas", _panelcajas); + BA.debugLineNum = 833;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +Debug.ShouldStop(1); +_panelpiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelpiezas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("panelpiezas", _panelpiezas);Debug.locals.put("panelpiezas", _panelpiezas); + BA.debugLineNum = 834;BA.debugLine="If(New = \"\" Or New = Null Or New = \"-\") Then New"; +Debug.ShouldStop(2); +if ((RemoteObject.solveBoolean("=",_new,BA.ObjectToString("")) || RemoteObject.solveBoolean("n",_new) || RemoteObject.solveBoolean("=",_new,RemoteObject.createImmutable("-")))) { +_new = BA.NumberToString(0);Debug.locals.put("New", _new);}; + BA.debugLineNum = 836;BA.debugLine="If(New > invTotal) Then"; +Debug.ShouldStop(8); +if ((RemoteObject.solveBoolean(">",BA.numberCast(double.class, _new),BA.numberCast(double.class, __ref.getField(true,"_invtotal" /*RemoteObject*/ ))))) { + BA.debugLineNum = 837;BA.debugLine="Sender.As(EditText).text = invTotal"; +Debug.ShouldStop(16); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_invtotal" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 840;BA.debugLine="If New = \"\" Then New = 0"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_new,BA.ObjectToString(""))) { +_new = BA.NumberToString(0);Debug.locals.put("New", _new);}; + BA.debugLineNum = 841;BA.debugLine="If Old = \"\" Or Old = Null Then New = 0"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_old,BA.ObjectToString("")) || RemoteObject.solveBoolean("n",_old)) { +_new = BA.NumberToString(0);Debug.locals.put("New", _new);}; + BA.debugLineNum = 842;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 843;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +Debug.ShouldStop(1024); +c_productos.__c.runVoidMethod ("LogImpl","518939931",_lacant.runMethod(true,"getText"),c_productos.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 844;BA.debugLine="If New > 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _new),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 845;BA.debugLine="panelcajas.Visible = False"; +Debug.ShouldStop(4096); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 846;BA.debugLine="Else If New = 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_new,BA.NumberToString(0))) { + BA.debugLineNum = 847;BA.debugLine="panelcajas.Visible = True"; +Debug.ShouldStop(16384); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + }} +; + BA.debugLineNum = 849;BA.debugLine="Log(Old)"; +Debug.ShouldStop(65536); +c_productos.__c.runVoidMethod ("LogImpl","518939937",_old,0); + BA.debugLineNum = 850;BA.debugLine="If Old <> \"\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("!",_old,BA.ObjectToString(""))) { + BA.debugLineNum = 851;BA.debugLine="Log(\"--------------->Credito Disponible: \"&B4XP"; +Debug.ShouldStop(262144); +c_productos.__c.runVoidMethod ("LogImpl","518939939",RemoteObject.concat(RemoteObject.createImmutable("--------------->Credito Disponible: "),c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(true,"_credito_diponible" /*RemoteObject*/ )),0); + BA.debugLineNum = 852;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_CRE"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("PREVENTA_CREDITO"))) { + BA.debugLineNum = 853;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"Sel"; +Debug.ShouldStop(1048576); +_fg = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fg = 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 IFNULL(sum(PE_COSTO_TOT),0) AS COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))));Debug.locals.put("fg", _fg);Debug.locals.put("fg", _fg); + BA.debugLineNum = 854;BA.debugLine="fg.Position = 0"; +Debug.ShouldStop(2097152); +_fg.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 855;BA.debugLine="If Old = \"\" Or Old = Null Then New = 0"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_old,BA.ObjectToString("")) || RemoteObject.solveBoolean("n",_old)) { +_new = BA.NumberToString(0);Debug.locals.put("New", _new);}; + BA.debugLineNum = 856;BA.debugLine="Log(precio &\" * \"&Old)"; +Debug.ShouldStop(8388608); +c_productos.__c.runVoidMethod ("LogImpl","518939944",RemoteObject.concat(_precio,RemoteObject.createImmutable(" * "),_old),0); + BA.debugLineNum = 857;BA.debugLine="Log(fg.GetString(\"COSTO\") +(precio*New))"; +Debug.ShouldStop(16777216); +c_productos.__c.runVoidMethod ("LogImpl","518939945",BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _fg.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COSTO")))),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _precio),BA.numberCast(double.class, _new)}, "*",0, 0))}, "+",1, 0)),0); + BA.debugLineNum = 858;BA.debugLine="If fg.GetString(\"COSTO\") +((precio*New)-(preci"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("k",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _fg.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COSTO")))),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _precio),BA.numberCast(double.class, _new)}, "*",0, 0)),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _precio),BA.numberCast(double.class, _old)}, "*",0, 0))}, "-",1, 0))}, "+",1, 0),BA.numberCast(double.class, c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(true,"_credito_diponible" /*RemoteObject*/ )))) { + BA.debugLineNum = 864;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant.Tex"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(".",c_productos.__c.runMethod(true,"Not",(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("=",_old,BA.ObjectToString("0")) && RemoteObject.solveBoolean("=",_new,RemoteObject.createImmutable("")))))) && RemoteObject.solveBoolean("N",_lacant.runMethod(true,"getText")) && RemoteObject.solveBoolean("!",_lacant.runMethod(true,"getText"),BA.ObjectToString("")) && RemoteObject.solveBoolean(".",__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ ))) { + BA.debugLineNum = 865;BA.debugLine="Log(\"actualizamos producto\")"; +Debug.ShouldStop(1); +c_productos.__c.runVoidMethod ("LogImpl","518939953",RemoteObject.createImmutable("actualizamos producto"),0); + BA.debugLineNum = 866;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, pre"; +Debug.ShouldStop(2); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_precio),(Object)(BA.numberCast(int.class, _lacant.runMethod(true,"getText"))),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0))); + BA.debugLineNum = 867;BA.debugLine="cuentaProds"; +Debug.ShouldStop(4); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + }; + BA.debugLineNum = 878;BA.debugLine="If 1 = 1 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(1),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 879;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(16384); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 880;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(32768); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 881;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery"; +Debug.ShouldStop(65536); +_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_o = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 882;BA.debugLine="Private invActualizado As String = \"0\""; +Debug.ShouldStop(131072); +_invactualizado = BA.ObjectToString("0");Debug.locals.put("invActualizado", _invactualizado);Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 884;BA.debugLine="o.Position = 0"; +Debug.ShouldStop(524288); +_o.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 885;BA.debugLine="invActualizado = Subs.traeinventario(id)"; +Debug.ShouldStop(1048576); +_invactualizado = c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 886;BA.debugLine="Log(Subs.traeinventario(id))"; +Debug.ShouldStop(2097152); +c_productos.__c.runVoidMethod ("LogImpl","518939974",c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)),0); + BA.debugLineNum = 888;BA.debugLine="If New = \"\" Then New = 0"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_new,BA.ObjectToString(""))) { +_new = BA.NumberToString(0);Debug.locals.put("New", _new);}; + BA.debugLineNum = 889;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get("; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",(BA.numberCast(float.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))))),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean("=",(BA.numberCast(int.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 890;BA.debugLine="Private maxcajas As Int = 0"; +Debug.ShouldStop(33554432); +_maxcajas = BA.numberCast(int.class, 0);Debug.locals.put("maxcajas", _maxcajas);Debug.locals.put("maxcajas", _maxcajas); + BA.debugLineNum = 891;BA.debugLine="Log(\"cajas a 0\")"; +Debug.ShouldStop(67108864); +c_productos.__c.runVoidMethod ("LogImpl","518939979",RemoteObject.createImmutable("cajas a 0"),0); + }else { + BA.debugLineNum = 893;BA.debugLine="Private maxcajas As Int = invActualizado/cl"; +Debug.ShouldStop(268435456); +_maxcajas = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _invactualizado),BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))}, "/",0, 0));Debug.locals.put("maxcajas", _maxcajas);Debug.locals.put("maxcajas", _maxcajas); + BA.debugLineNum = 894;BA.debugLine="Log(\"cajas no a 0\")"; +Debug.ShouldStop(536870912); +c_productos.__c.runVoidMethod ("LogImpl","518939982",RemoteObject.createImmutable("cajas no a 0"),0); + }; + BA.debugLineNum = 896;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(no"; +Debug.ShouldStop(-2147483648); +_lprodx.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nombrex))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),(c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))))))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff017f01)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(" $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precio)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Max. Cajas: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxcajas))),RemoteObject.createImmutable("")))))).runMethod(false,"PopAll").getObject())); + }; + }else { + BA.debugLineNum = 899;BA.debugLine="laCant.Text = 0"; +Debug.ShouldStop(4); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 900;BA.debugLine="MsgboxAsync(\"No se puede meter mas venta a cr"; +Debug.ShouldStop(8); +c_productos.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No se puede meter mas venta a credito por que supera el limite del credito")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atencion"))),__ref.getField(false, "ba")); + }; + }else { + BA.debugLineNum = 908;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant.Text"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(".",c_productos.__c.runMethod(true,"Not",(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("=",_old,BA.ObjectToString("0")) && RemoteObject.solveBoolean("=",_new,RemoteObject.createImmutable("")))))) && RemoteObject.solveBoolean("N",_lacant.runMethod(true,"getText")) && RemoteObject.solveBoolean("!",_lacant.runMethod(true,"getText"),BA.ObjectToString("")) && RemoteObject.solveBoolean(".",__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ ))) { + BA.debugLineNum = 909;BA.debugLine="Log(\"actualizamos producto\")"; +Debug.ShouldStop(4096); +c_productos.__c.runVoidMethod ("LogImpl","518939997",RemoteObject.createImmutable("actualizamos producto"),0); + BA.debugLineNum = 910;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, prec"; +Debug.ShouldStop(8192); +c_productos._subs.runVoidMethod ("_actualizaproducto" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_precio),(Object)(BA.numberCast(int.class, _lacant.runMethod(true,"getText"))),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0))); + BA.debugLineNum = 911;BA.debugLine="cuentaProds"; +Debug.ShouldStop(16384); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + }; + BA.debugLineNum = 922;BA.debugLine="If 1 = 1 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(1),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 923;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(67108864); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 924;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(134217728); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 925;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery("; +Debug.ShouldStop(268435456); +_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_o = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 926;BA.debugLine="Private invActualizado As String = \"0\""; +Debug.ShouldStop(536870912); +_invactualizado = BA.ObjectToString("0");Debug.locals.put("invActualizado", _invactualizado);Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 928;BA.debugLine="o.Position = 0"; +Debug.ShouldStop(-2147483648); +_o.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 929;BA.debugLine="invActualizado = Subs.traeinventario(id)"; +Debug.ShouldStop(1); +_invactualizado = c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 930;BA.debugLine="Log(Subs.traeinventario(id))"; +Debug.ShouldStop(2); +c_productos.__c.runVoidMethod ("LogImpl","518940018",c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)),0); + BA.debugLineNum = 932;BA.debugLine="If New = \"\" Then New = 0"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_new,BA.ObjectToString(""))) { +_new = BA.NumberToString(0);Debug.locals.put("New", _new);}; + BA.debugLineNum = 933;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\""; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",(BA.numberCast(float.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))))),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean("=",(BA.numberCast(int.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 934;BA.debugLine="Private maxcajas As Int = 0"; +Debug.ShouldStop(32); +_maxcajas = BA.numberCast(int.class, 0);Debug.locals.put("maxcajas", _maxcajas);Debug.locals.put("maxcajas", _maxcajas); + BA.debugLineNum = 935;BA.debugLine="Log(\"cajas a 0\")"; +Debug.ShouldStop(64); +c_productos.__c.runVoidMethod ("LogImpl","518940023",RemoteObject.createImmutable("cajas a 0"),0); + }else { + BA.debugLineNum = 937;BA.debugLine="Private maxcajas As Int = invActualizado/clv"; +Debug.ShouldStop(256); +_maxcajas = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _invactualizado),BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))}, "/",0, 0));Debug.locals.put("maxcajas", _maxcajas);Debug.locals.put("maxcajas", _maxcajas); + BA.debugLineNum = 938;BA.debugLine="Log(\"cajas no a 0\")"; +Debug.ShouldStop(512); +c_productos.__c.runVoidMethod ("LogImpl","518940026",RemoteObject.createImmutable("cajas no a 0"),0); + }; + BA.debugLineNum = 940;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(nom"; +Debug.ShouldStop(2048); +_lprodx.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nombrex))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),(c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))))))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff017f01)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(" $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precio)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Max. Cajas: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxcajas))),RemoteObject.createImmutable("")))))).runMethod(false,"PopAll").getObject())); + }; + }; + }; + BA.debugLineNum = 944;BA.debugLine="If New > 0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _new),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 945;BA.debugLine="panelcajas.Visible = False"; +Debug.ShouldStop(65536); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 946;BA.debugLine="Else If New = 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_new,BA.NumberToString(0))) { + BA.debugLineNum = 947;BA.debugLine="If maxcajas = 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_maxcajas,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 948;BA.debugLine="panelcajas.Visible = False"; +Debug.ShouldStop(524288); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }else { + BA.debugLineNum = 950;BA.debugLine="panelcajas.Visible = True"; +Debug.ShouldStop(2097152); +_panelcajas.runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + }; + }} +; + }; + BA.debugLineNum = 954;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_pcantc_focuschanged(RemoteObject __ref,RemoteObject _hasfocus) throws Exception{ +try { + Debug.PushSubsStack("et_pCantc_FocusChanged (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,2338); +if (RapidSub.canDelegate("et_pcantc_focuschanged")) { return __ref.runUserSub(false, "c_productos","et_pcantc_focuschanged", __ref, _hasfocus);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _id = RemoteObject.createImmutable(""); +Debug.locals.put("HasFocus", _hasfocus); + BA.debugLineNum = 2338;BA.debugLine="Private Sub et_pCantc_FocusChanged (HasFocus As Bo"; +Debug.ShouldStop(2); + BA.debugLineNum = 2339;BA.debugLine="LogColor($\"focus changed=${HasFocus}\"$, Colors.Ma"; +Debug.ShouldStop(4); +c_productos.__c.runVoidMethod ("LogImpl","520447233",(RemoteObject.concat(RemoteObject.createImmutable("focus changed="),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_hasfocus))),RemoteObject.createImmutable(""))),c_productos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 2340;BA.debugLine="If et_pCantc.Text = \"\" Then et_pCantc.Text = \"0\""; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_pcantc" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { +__ref.getField(false,"_et_pcantc" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("0"));}; + BA.debugLineNum = 2341;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +Debug.ShouldStop(16); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 2342;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +Debug.ShouldStop(32); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 2343;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(64); +_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 = 2344;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +Debug.ShouldStop(128); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 2345;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +Debug.ShouldStop(256); +_lacant2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant2 = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant2", _lacant2);Debug.locals.put("laCant2", _lacant2); + BA.debugLineNum = 2346;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +Debug.ShouldStop(512); +_id = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 2347;BA.debugLine="If laCant2.Text = \"\" Then laCant2.Text = \"0\""; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_lacant2.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant2.runMethod(true,"setText",BA.ObjectToCharSequence("0"));}; + BA.debugLineNum = 2348;BA.debugLine="etCantHasFocus = HasFocus"; +Debug.ShouldStop(2048); +__ref.setField ("_etcanthasfocus" /*RemoteObject*/ ,_hasfocus); + BA.debugLineNum = 2355;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +Debug.ShouldStop(262144); +__ref.setField ("_invtotal" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcajasmaspiezas" /*RemoteObject*/ ),BA.numberCast(double.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))}, "+",1, 0))); + BA.debugLineNum = 2357;BA.debugLine="cuentaProds"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 2358;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_pcantc_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_pCantc_TextChanged (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,2360); +if (RapidSub.canDelegate("et_pcantc_textchanged")) { return __ref.runUserSub(false, "c_productos","et_pcantc_textchanged", __ref, _old, _new);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lprodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _id = RemoteObject.createImmutable(""); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _inv = RemoteObject.createImmutable(""); +RemoteObject _nombrex = RemoteObject.createImmutable(""); +RemoteObject _panelcajas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _panelpiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _conversion = RemoteObject.createImmutable(""); +RemoteObject _preciocaja = RemoteObject.createImmutable(""); +RemoteObject _fg = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _totalcajaspermi = RemoteObject.createImmutable(0); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _o = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _invactualizado = RemoteObject.createImmutable(""); +RemoteObject _maxcajas2 = RemoteObject.createImmutable(0); +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 2360;BA.debugLine="Private Sub et_pCantc_TextChanged (Old As String,"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 2363;BA.debugLine="If etCantHasFocus = True Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ ),c_productos.__c.getField(true,"True"))) { + BA.debugLineNum = 2366;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView("; +Debug.ShouldStop(536870912); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 2367;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(inde"; +Debug.ShouldStop(1073741824); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 2368;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 = 2369;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2"; +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, 2)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 2370;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView("; +Debug.ShouldStop(2); +_lacant2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant2 = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("laCant2", _lacant2);Debug.locals.put("laCant2", _lacant2); + BA.debugLineNum = 2371;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +Debug.ShouldStop(4); +_lprodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lprodx = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("lProdX", _lprodx);Debug.locals.put("lProdX", _lprodx); + BA.debugLineNum = 2372;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index"; +Debug.ShouldStop(8); +_id = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 2373;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(i"; +Debug.ShouldStop(16); +_precio = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio")))));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 2374;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(inde"; +Debug.ShouldStop(32); +_inv = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("almacen")))));Debug.locals.put("inv", _inv);Debug.locals.put("inv", _inv); + BA.debugLineNum = 2375;BA.debugLine="Private inv As String=Subs.traeinventario(id)"; +Debug.ShouldStop(64); +_inv = c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("inv", _inv);Debug.locals.put("inv", _inv); + BA.debugLineNum = 2376;BA.debugLine="Private nombreX As String = Subs.traeProdNombre("; +Debug.ShouldStop(128); +_nombrex = c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("nombreX", _nombrex);Debug.locals.put("nombreX", _nombrex); + BA.debugLineNum = 2377;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; +Debug.ShouldStop(256); +_panelcajas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelcajas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 3)));Debug.locals.put("panelcajas", _panelcajas);Debug.locals.put("panelcajas", _panelcajas); + BA.debugLineNum = 2378;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +Debug.ShouldStop(512); +_panelpiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_panelpiezas = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("panelpiezas", _panelpiezas);Debug.locals.put("panelpiezas", _panelpiezas); + BA.debugLineNum = 2379;BA.debugLine="Private conversion As String = clv_prods_ll.GetV"; +Debug.ShouldStop(1024); +_conversion = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))));Debug.locals.put("conversion", _conversion);Debug.locals.put("conversion", _conversion); + BA.debugLineNum = 2380;BA.debugLine="Private preciocaja As String = clv_prods_ll.GetV"; +Debug.ShouldStop(2048); +_preciocaja = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))));Debug.locals.put("preciocaja", _preciocaja);Debug.locals.put("preciocaja", _preciocaja); + BA.debugLineNum = 2381;BA.debugLine="invTotal = Subs.traeinventario(id)"; +Debug.ShouldStop(4096); +__ref.setField ("_invtotal" /*RemoteObject*/ ,BA.numberCast(int.class, c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)))); + BA.debugLineNum = 2382;BA.debugLine="Log(\"inventario total \"& invTotal)"; +Debug.ShouldStop(8192); +c_productos.__c.runVoidMethod ("LogImpl","520512790",RemoteObject.concat(RemoteObject.createImmutable("inventario total "),__ref.getField(true,"_invtotal" /*RemoteObject*/ )),0); + BA.debugLineNum = 2383;BA.debugLine="If(New = \"\" Or New = Null Or New = \"-\") Then New"; +Debug.ShouldStop(16384); +if ((RemoteObject.solveBoolean("=",_new,BA.ObjectToString("")) || RemoteObject.solveBoolean("n",_new) || RemoteObject.solveBoolean("=",_new,RemoteObject.createImmutable("-")))) { +_new = BA.NumberToString(0);Debug.locals.put("New", _new);}; + BA.debugLineNum = 2385;BA.debugLine="Log(($\"new*conversion ${New * conversion} > ${i"; +Debug.ShouldStop(65536); +c_productos.__c.runVoidMethod ("LogImpl","520512793",((RemoteObject.concat(RemoteObject.createImmutable("new*conversion "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _new),BA.numberCast(double.class, _conversion)}, "*",0, 0)))),RemoteObject.createImmutable(" > "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_invtotal" /*RemoteObject*/ )))),RemoteObject.createImmutable(" = "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable(((RemoteObject.solveBoolean(">",(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _new),BA.numberCast(double.class, _conversion)}, "*",0, 0)),BA.numberCast(double.class, __ref.getField(true,"_invtotal" /*RemoteObject*/ )))))))),RemoteObject.createImmutable("")))),0); + BA.debugLineNum = 2386;BA.debugLine="If((New * conversion) > invTotal) Then"; +Debug.ShouldStop(131072); +if ((RemoteObject.solveBoolean(">",(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _new),BA.numberCast(double.class, _conversion)}, "*",0, 0)),BA.numberCast(double.class, __ref.getField(true,"_invtotal" /*RemoteObject*/ ))))) { + BA.debugLineNum = 2388;BA.debugLine="Sender.As(EditText).text = 0"; +Debug.ShouldStop(524288); +(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.EditTextWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 2389;BA.debugLine="New = 0"; +Debug.ShouldStop(1048576); +_new = BA.NumberToString(0);Debug.locals.put("New", _new); + BA.debugLineNum = 2391;BA.debugLine="pnl.GetView(2).Visible = True"; +Debug.ShouldStop(4194304); +_pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 2392;BA.debugLine="Log(\"ponemos en 0\")"; +Debug.ShouldStop(8388608); +c_productos.__c.runVoidMethod ("LogImpl","520512800",RemoteObject.createImmutable("ponemos en 0"),0); + }; + BA.debugLineNum = 2394;BA.debugLine="Log(\"--------------->Credito Disponible: \"&B4XPa"; +Debug.ShouldStop(33554432); +c_productos.__c.runVoidMethod ("LogImpl","520512802",RemoteObject.concat(RemoteObject.createImmutable("--------------->Credito Disponible: "),c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(true,"_credito_diponible" /*RemoteObject*/ )),0); + BA.debugLineNum = 2395;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"Selec"; +Debug.ShouldStop(67108864); +_fg = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_fg = 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 IFNULL(sum(PE_COSTO_TOT),0) AS COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))));Debug.locals.put("fg", _fg);Debug.locals.put("fg", _fg); + BA.debugLineNum = 2396;BA.debugLine="fg.Position = 0"; +Debug.ShouldStop(134217728); +_fg.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2397;BA.debugLine="If Old = \"\" Or Old = Null Then New = 0"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_old,BA.ObjectToString("")) || RemoteObject.solveBoolean("n",_old)) { +_new = BA.NumberToString(0);Debug.locals.put("New", _new);}; + BA.debugLineNum = 2398;BA.debugLine="Log(preciocaja &\" * \"&Old)"; +Debug.ShouldStop(536870912); +c_productos.__c.runVoidMethod ("LogImpl","520512806",RemoteObject.concat(_preciocaja,RemoteObject.createImmutable(" * "),_old),0); + BA.debugLineNum = 2399;BA.debugLine="Log((fg.GetString(\"COSTO\") + (preciocaja*New)) &"; +Debug.ShouldStop(1073741824); +c_productos.__c.runVoidMethod ("LogImpl","520512807",RemoteObject.concat((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _fg.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COSTO")))),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciocaja),BA.numberCast(double.class, _new)}, "*",0, 0))}, "+",1, 0)),RemoteObject.createImmutable(" Monto Actual<-------")),0); + BA.debugLineNum = 2400;BA.debugLine="If fg.GetString(\"COSTO\") +((preciocaja*New)) >"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _fg.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("COSTO")))),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _preciocaja),BA.numberCast(double.class, _new)}, "*",0, 0)))}, "+",1, 0),BA.numberCast(double.class, c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).getField(true,"_credito_diponible" /*RemoteObject*/ )))) { + BA.debugLineNum = 2401;BA.debugLine="laCant2.Text = 0"; +Debug.ShouldStop(1); +_lacant2.runMethod(true,"setText",BA.ObjectToCharSequence(0)); + BA.debugLineNum = 2402;BA.debugLine="MsgboxAsync(\"No se puede meter mas venta a cred"; +Debug.ShouldStop(2); +c_productos.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence("No se puede meter mas venta a credito por que supera el limite del credito")),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Atencion"))),__ref.getField(false, "ba")); + }; + BA.debugLineNum = 2405;BA.debugLine="Log(\"inventario total despues de max \"& invTotal"; +Debug.ShouldStop(16); +c_productos.__c.runVoidMethod ("LogImpl","520512813",RemoteObject.concat(RemoteObject.createImmutable("inventario total despues de max "),__ref.getField(true,"_invtotal" /*RemoteObject*/ )),0); + BA.debugLineNum = 2406;BA.debugLine="If New = \"\" Then New = 0"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_new,BA.ObjectToString(""))) { +_new = BA.NumberToString(0);Debug.locals.put("New", _new);}; + BA.debugLineNum = 2407;BA.debugLine="If laCant2.Text = \"\" Then laCant2.Text = 0"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_lacant2.runMethod(true,"getText"),BA.ObjectToString(""))) { +_lacant2.runMethod(true,"setText",BA.ObjectToCharSequence(0));}; + BA.debugLineNum = 2409;BA.debugLine="If New > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _new),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2410;BA.debugLine="Log(\"lo ocultamos\")"; +Debug.ShouldStop(512); +c_productos.__c.runVoidMethod ("LogImpl","520512818",RemoteObject.createImmutable("lo ocultamos"),0); + BA.debugLineNum = 2411;BA.debugLine="panelpiezas.Visible = False"; +Debug.ShouldStop(1024); +_panelpiezas.runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + }else +{ BA.debugLineNum = 2412;BA.debugLine="Else If New = 0 Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",_new,BA.NumberToString(0))) { + BA.debugLineNum = 2413;BA.debugLine="panelpiezas.Visible = True"; +Debug.ShouldStop(4096); +_panelpiezas.runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + }} +; + BA.debugLineNum = 2420;BA.debugLine="Log(\"InvTotal: \" & invTotal)"; +Debug.ShouldStop(524288); +c_productos.__c.runVoidMethod ("LogImpl","520512828",RemoteObject.concat(RemoteObject.createImmutable("InvTotal: "),__ref.getField(true,"_invtotal" /*RemoteObject*/ )),0); + BA.debugLineNum = 2421;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant2.Text"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(".",c_productos.__c.runMethod(true,"Not",(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("=",_old,BA.ObjectToString("0")) && RemoteObject.solveBoolean("=",_new,RemoteObject.createImmutable("")))))) && RemoteObject.solveBoolean("N",_lacant2.runMethod(true,"getText")) && RemoteObject.solveBoolean("!",_lacant2.runMethod(true,"getText"),BA.ObjectToString("")) && RemoteObject.solveBoolean(".",__ref.getField(true,"_etcanthasfocus" /*RemoteObject*/ ))) { + BA.debugLineNum = 2422;BA.debugLine="If invTotal - (laCant2.Text * conversion) >= 0"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("g",RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_invtotal" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0))}, "-",1, 0),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2423;BA.debugLine="LogColor(\"validacion inventariio \" & (invTotal"; +Debug.ShouldStop(4194304); +c_productos.__c.runVoidMethod ("LogImpl","520512831",RemoteObject.concat(RemoteObject.createImmutable("validacion inventariio "),(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_invtotal" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0))}, "-",1, 0))),c_productos.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 2424;BA.debugLine="Log(\"actualizamos producto\")"; +Debug.ShouldStop(8388608); +c_productos.__c.runVoidMethod ("LogImpl","520512832",RemoteObject.createImmutable("actualizamos producto"),0); + BA.debugLineNum = 2425;BA.debugLine="Subs.actualizaProducto2(Subs.traeAlmacen, pre"; +Debug.ShouldStop(16777216); +c_productos._subs.runVoidMethod ("_actualizaproducto2" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(_preciocaja),(Object)(BA.numberCast(int.class, (RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant2.runMethod(true,"getText")),BA.numberCast(double.class, _conversion)}, "*",0, 0)))),(Object)(c_productos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))),(Object)(_id),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )),(Object)(c_productos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(__ref.getField(true,"_rutausuario" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(_lacant2.runMethod(true,"getText")),(Object)(BA.NumberToString(1))); + BA.debugLineNum = 2426;BA.debugLine="cuentaProds"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_cuentaprods" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 2428;BA.debugLine="Private totalcajaspermi As Int = invTotal / co"; +Debug.ShouldStop(134217728); +_totalcajaspermi = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_invtotal" /*RemoteObject*/ ),BA.numberCast(double.class, _conversion)}, "/",0, 0));Debug.locals.put("totalcajaspermi", _totalcajaspermi);Debug.locals.put("totalcajaspermi", _totalcajaspermi); + BA.debugLineNum = 2429;BA.debugLine="laCant2.Text = totalcajaspermi"; +Debug.ShouldStop(268435456); +_lacant2.runMethod(true,"setText",BA.ObjectToCharSequence(_totalcajaspermi)); + BA.debugLineNum = 2430;BA.debugLine="Log(\"cajas permitidas total por guerra \"& tota"; +Debug.ShouldStop(536870912); +c_productos.__c.runVoidMethod ("LogImpl","520512838",RemoteObject.concat(RemoteObject.createImmutable("cajas permitidas total por guerra "),_totalcajaspermi),0); + }; + }; + BA.debugLineNum = 2433;BA.debugLine="LogColor(\"la cant2 \" & laCant2.Text,Colors.Green"; +Debug.ShouldStop(1); +c_productos.__c.runVoidMethod ("LogImpl","520512841",RemoteObject.concat(RemoteObject.createImmutable("la cant2 "),_lacant2.runMethod(true,"getText")),c_productos.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 2443;BA.debugLine="If 1 = 1 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(1),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2444;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(2048); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 2445;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(4096); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 2446;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\""; +Debug.ShouldStop(8192); +_o = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_o = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 2447;BA.debugLine="Private invActualizado As String = \"0\""; +Debug.ShouldStop(16384); +_invactualizado = BA.ObjectToString("0");Debug.locals.put("invActualizado", _invactualizado);Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 2449;BA.debugLine="o.Position = 0"; +Debug.ShouldStop(65536); +_o.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 2450;BA.debugLine="invActualizado = Subs.traeinventario(id)"; +Debug.ShouldStop(131072); +_invactualizado = c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id));Debug.locals.put("invActualizado", _invactualizado); + BA.debugLineNum = 2451;BA.debugLine="Log(Subs.traeinventario(id))"; +Debug.ShouldStop(262144); +c_productos.__c.runVoidMethod ("LogImpl","520512859",c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id)),0); + BA.debugLineNum = 2453;BA.debugLine="If New = \"\" Then New = 0"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_new,BA.ObjectToString(""))) { +_new = BA.NumberToString(0);Debug.locals.put("New", _new);}; + BA.debugLineNum = 2454;BA.debugLine="Log(clv_prods_ll.GetValue(index).As(Map).Get(\"p"; +Debug.ShouldStop(2097152); +c_productos.__c.runVoidMethod ("LogImpl","520512862",RemoteObject.concat((BA.numberCast(float.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))))),RemoteObject.createImmutable(" Precio caja")),0); + BA.debugLineNum = 2455;BA.debugLine="Log(clv_prods_ll.GetValue(index).As(Map).Get(\"c"; +Debug.ShouldStop(4194304); +c_productos.__c.runVoidMethod ("LogImpl","520512863",RemoteObject.concat((BA.numberCast(int.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))),RemoteObject.createImmutable(" Conversion")),0); + BA.debugLineNum = 2456;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pr"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",(BA.numberCast(float.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("precio_caja")))))),BA.numberCast(double.class, 0)) || RemoteObject.solveBoolean("=",(BA.numberCast(int.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 2457;BA.debugLine="Private maxcajas2 As Int = 0"; +Debug.ShouldStop(16777216); +_maxcajas2 = BA.numberCast(int.class, 0);Debug.locals.put("maxcajas2", _maxcajas2);Debug.locals.put("maxcajas2", _maxcajas2); + BA.debugLineNum = 2458;BA.debugLine="Log(\"cajas a 0\")"; +Debug.ShouldStop(33554432); +c_productos.__c.runVoidMethod ("LogImpl","520512866",RemoteObject.createImmutable("cajas a 0"),0); + }else { + BA.debugLineNum = 2460;BA.debugLine="Private maxcajas2 As Int = invActualizado/clv_"; +Debug.ShouldStop(134217728); +_maxcajas2 = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _invactualizado),BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getvalue",(Object)(_index)))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("conversion")))))}, "/",0, 0));Debug.locals.put("maxcajas2", _maxcajas2);Debug.locals.put("maxcajas2", _maxcajas2); + BA.debugLineNum = 2461;BA.debugLine="Log(\"cajas no a 0\")"; +Debug.ShouldStop(268435456); +c_productos.__c.runVoidMethod ("LogImpl","520512869",RemoteObject.createImmutable("cajas no a 0"),0); + }; + BA.debugLineNum = 2463;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(nombr"; +Debug.ShouldStop(1073741824); +_lprodx.runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_productos.__c.getField(false,"Colors").getField(true,"Red"))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_nombrex))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_productos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Existencias: "),(c_productos._subs.runMethod(true,"_traeinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_id))))))).runMethod(false,"Color",(Object)(BA.numberCast(int.class, ((int)0xff017f01)))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(" $"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.runMethod(true,"NumberFormat2",(Object)(BA.numberCast(double.class, _precio)),(Object)(BA.numberCast(int.class, 1)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(c_productos.__c.getField(true,"False")))))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Max. Cajas: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxcajas2))),RemoteObject.createImmutable("")))))).runMethod(false,"PopAll").getObject())); + }; + }; + BA.debugLineNum = 2466;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,95); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_productos","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 95;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 96;BA.debugLine="Return Me"; +Debug.ShouldStop(-2147483648); +if (true) return __ref; + BA.debugLineNum = 97;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_info_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_info_Click (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1308); +if (RapidSub.canDelegate("l_info_click")) { return __ref.runUserSub(false, "c_productos","l_info_click", __ref);} + BA.debugLineNum = 1308;BA.debugLine="Private Sub l_info_Click"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 1309;BA.debugLine="l_info.Visible = False"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 1310;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_prodx_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_prodx_click (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1712); +if (RapidSub.canDelegate("l_prodx_click")) { return __ref.runUserSub(false, "c_productos","l_prodx_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _p0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cant1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); + BA.debugLineNum = 1712;BA.debugLine="Sub l_prodx_click"; +Debug.ShouldStop(32768); + BA.debugLineNum = 1713;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +Debug.ShouldStop(65536); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 1714;BA.debugLine="Private p0 As B4XView = clv_prods_ll.GetPanel(ind"; +Debug.ShouldStop(131072); +_p0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p0 = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("p0", _p0);Debug.locals.put("p0", _p0); + BA.debugLineNum = 1715;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +Debug.ShouldStop(262144); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = _p0.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0)));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 1716;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView(2"; +Debug.ShouldStop(524288); +_cant1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_cant1 = _p.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2)));Debug.locals.put("cant1", _cant1);Debug.locals.put("cant1", _cant1); + BA.debugLineNum = 1717;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +Debug.ShouldStop(1048576); +_index = __ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 1719;BA.debugLine="Log(cant1.Text)"; +Debug.ShouldStop(4194304); +c_productos.__c.runVoidMethod ("LogImpl","519988487",_cant1.runMethod(true,"getText"),0); + BA.debugLineNum = 1720;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _l_prodx_longclick(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("l_prodX_LongClick (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1302); +if (RapidSub.canDelegate("l_prodx_longclick")) { return __ref.runUserSub(false, "c_productos","l_prodx_longclick", __ref);} + BA.debugLineNum = 1302;BA.debugLine="Private Sub l_prodX_LongClick"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 1303;BA.debugLine="Log(\"longclic = \"&Sender.as(Label).tag)"; +Debug.ShouldStop(4194304); +c_productos.__c.runVoidMethod ("LogImpl","519267585",RemoteObject.concat(RemoteObject.createImmutable("longclic = "),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag")),0); + BA.debugLineNum = 1304;BA.debugLine="l_info.Text = Sender.as(Label).tag"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), c_productos.__c.runMethod(false,"Sender",__ref.getField(false, "ba")))).runMethod(false,"getTag"))); + BA.debugLineNum = 1305;BA.debugLine="l_info.Visible = True"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 1306;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _llenacatalogo(RemoteObject __ref,RemoteObject _subtipo1) throws Exception{ +try { + Debug.PushSubsStack("llenaCatalogo (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,433); +if (RapidSub.canDelegate("llenacatalogo")) { return __ref.runUserSub(false, "c_productos","llenacatalogo", __ref, _subtipo1);} +Debug.locals.put("subtipo1", _subtipo1); + BA.debugLineNum = 433;BA.debugLine="Sub llenaCatalogo(subtipo1 As String)"; +Debug.ShouldStop(65536); + BA.debugLineNum = 456;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _llenaprodsll(RemoteObject __ref,RemoteObject _p) throws Exception{ +try { + Debug.PushSubsStack("LlenaProdsLL (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1988); +if (RapidSub.canDelegate("llenaprodsll")) { return __ref.runUserSub(false, "c_productos","llenaprodsll", __ref, _p);} +RemoteObject _pe = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _idprod = RemoteObject.createImmutable(""); +RemoteObject _presentacionesvalidas = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _i = 0; +RemoteObject _precio = RemoteObject.createImmutable(0); +RemoteObject _presnombre = RemoteObject.createImmutable(""); +RemoteObject _dirigida = RemoteObject.createImmutable(""); +RemoteObject _umvval = RemoteObject.createImmutable(0); +RemoteObject _cantexistente = RemoteObject.createImmutable(0); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lpres = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _alturaitem = RemoteObject.createImmutable(0); +Debug.locals.put("p", _p); + BA.debugLineNum = 1988;BA.debugLine="Sub LlenaProdsLL(p As ResultSet)"; +Debug.ShouldStop(8); + BA.debugLineNum = 1989;BA.debugLine="Log(\"--- Iniciando LlenaProdsLL (11 Niveles) ---\""; +Debug.ShouldStop(16); +c_productos.__c.runVoidMethod ("LogImpl","520185089",RemoteObject.createImmutable("--- Iniciando LlenaProdsLL (11 Niveles) ---"),0); + BA.debugLineNum = 1990;BA.debugLine="listaProds.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_listaprods" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1991;BA.debugLine="listaHints.Initialize"; +Debug.ShouldStop(64); +__ref.getField(false,"_listahints" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 1992;BA.debugLine="cantsMap.Initialize"; +Debug.ShouldStop(128); +__ref.getField(false,"_cantsmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 2005;BA.debugLine="If hayPedido Then"; +Debug.ShouldStop(1048576); +if (__ref.getField(true,"_haypedido" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 2006;BA.debugLine="Dim pe As ResultSet = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(2097152); +_pe = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_pe = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT PE_PROID, PE_DIRIGIDA, PE_CANT FROM PEDIDO WHERE PE_CLIENTE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_clienteid" /*RemoteObject*/ )))),RemoteObject.createImmutable("' AND PE_FOLIO ='"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))));Debug.locals.put("pe", _pe);Debug.locals.put("pe", _pe); + BA.debugLineNum = 2007;BA.debugLine="Do While pe.NextRow"; +Debug.ShouldStop(4194304); +while (_pe.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 2009;BA.debugLine="cantsMap.Put(pe.GetString(\"PE_PROID\") & \"_\" & p"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_cantsmap" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((RemoteObject.concat(_pe.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID"))),RemoteObject.createImmutable("_"),_pe.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_DIRIGIDA")))))),(Object)((_pe.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")))))); + } +; + BA.debugLineNum = 2011;BA.debugLine="pe.Close"; +Debug.ShouldStop(67108864); +_pe.runVoidMethod ("Close"); + }; + BA.debugLineNum = 2015;BA.debugLine="If p = Null Or p.IsInitialized = False Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("n",_p) || RemoteObject.solveBoolean("=",_p.runMethod(true,"IsInitialized"),c_productos.__c.getField(true,"False"))) { + BA.debugLineNum = 2016;BA.debugLine="Log(Starter.tabla)"; +Debug.ShouldStop(-2147483648); +c_productos.__c.runVoidMethod ("LogImpl","520185116",c_productos._starter._tabla /*RemoteObject*/ ,0); + BA.debugLineNum = 2017;BA.debugLine="p = B4XPages.MainPage.skmt.ExecQuery($\"SELECT *"; +Debug.ShouldStop(1); +_p = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT * FROM "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" WHERE CAT_GP_STS = 1 AND CAT_GP_TIPO <> 'PROMOS' AND CAT_GP_SUBTIPO <> 'PROMOS' ORDER BY CAT_GP_NOMBRE"))))));Debug.locals.put("p", _p); + }; + BA.debugLineNum = 2021;BA.debugLine="Do While p.NextRow"; +Debug.ShouldStop(16); +while (_p.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 2022;BA.debugLine="Log(p.GetString(\"CAT_GP_ID\"))"; +Debug.ShouldStop(32); +c_productos.__c.runVoidMethod ("LogImpl","520185122",_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))),0); + BA.debugLineNum = 2023;BA.debugLine="Dim idProd As String = p.GetString(\"CAT_GP_ID\")"; +Debug.ShouldStop(64); +_idprod = _p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")));Debug.locals.put("idProd", _idprod);Debug.locals.put("idProd", _idprod); + BA.debugLineNum = 2024;BA.debugLine="Dim presentacionesValidas As List : presentacion"; +Debug.ShouldStop(128); +_presentacionesvalidas = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("presentacionesValidas", _presentacionesvalidas); + BA.debugLineNum = 2024;BA.debugLine="Dim presentacionesValidas As List : presentacion"; +Debug.ShouldStop(128); +_presentacionesvalidas.runVoidMethod ("Initialize"); + BA.debugLineNum = 2027;BA.debugLine="For i = 1 To 11"; +Debug.ShouldStop(1024); +{ +final int step21 = 1; +final int limit21 = 11; +_i = 1 ; +for (;(step21 > 0 && _i <= limit21) || (step21 < 0 && _i >= limit21) ;_i = ((int)(0 + _i + step21)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 2028;BA.debugLine="Dim precio As Double = p.GetDouble(\"CAT_GP_PREC"; +Debug.ShouldStop(2048); +_precio = _p.runMethod(true,"GetDouble",(Object)(RemoteObject.concat(RemoteObject.createImmutable("CAT_GP_PRECIO"),RemoteObject.createImmutable(_i))));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 2029;BA.debugLine="Dim presNombre As String = p.GetString(\"CAT_GP_"; +Debug.ShouldStop(4096); +_presnombre = _p.runMethod(true,"GetString",(Object)(RemoteObject.concat(RemoteObject.createImmutable("CAT_GP_PRESENTACION"),RemoteObject.createImmutable(_i))));Debug.locals.put("presNombre", _presnombre);Debug.locals.put("presNombre", _presnombre); + BA.debugLineNum = 2030;BA.debugLine="Dim dirigida As String = p.GetString(\"CAT_GP_DI"; +Debug.ShouldStop(8192); +_dirigida = _p.runMethod(true,"GetString",(Object)(RemoteObject.concat(RemoteObject.createImmutable("CAT_GP_DIRIGIDA"),RemoteObject.createImmutable(_i))));Debug.locals.put("dirigida", _dirigida);Debug.locals.put("dirigida", _dirigida); + BA.debugLineNum = 2031;BA.debugLine="Dim umvVal As Int = p.GetInt(\"CAT_GP_UMV\" & i)"; +Debug.ShouldStop(16384); +_umvval = _p.runMethod(true,"GetInt",(Object)(RemoteObject.concat(RemoteObject.createImmutable("CAT_GP_UMV"),RemoteObject.createImmutable(_i))));Debug.locals.put("umvVal", _umvval);Debug.locals.put("umvVal", _umvval); + BA.debugLineNum = 2032;BA.debugLine="Log(precio)"; +Debug.ShouldStop(32768); +c_productos.__c.runVoidMethod ("LogImpl","520185132",BA.NumberToString(_precio),0); + BA.debugLineNum = 2033;BA.debugLine="Log(presNombre)"; +Debug.ShouldStop(65536); +c_productos.__c.runVoidMethod ("LogImpl","520185133",_presnombre,0); + BA.debugLineNum = 2034;BA.debugLine="Log(dirigida)"; +Debug.ShouldStop(131072); +c_productos.__c.runVoidMethod ("LogImpl","520185134",_dirigida,0); + BA.debugLineNum = 2035;BA.debugLine="Log(umvVal)"; +Debug.ShouldStop(262144); +c_productos.__c.runVoidMethod ("LogImpl","520185135",BA.NumberToString(_umvval),0); + BA.debugLineNum = 2039;BA.debugLine="If precio > 0 And presNombre <> \"\" And dirigida"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",_precio,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("!",_presnombre,BA.ObjectToString("")) && RemoteObject.solveBoolean("!",_dirigida,BA.ObjectToString("")) && RemoteObject.solveBoolean(">",_umvval,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2041;BA.debugLine="Log(tipoClienteActual.ToUpperCase)"; +Debug.ShouldStop(16777216); +c_productos.__c.runVoidMethod ("LogImpl","520185141",__ref.getField(true,"_tipoclienteactual" /*RemoteObject*/ ).runMethod(true,"toUpperCase"),0); + BA.debugLineNum = 2042;BA.debugLine="If dirigida.ToUpperCase = tipoClienteActual.To"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_dirigida.runMethod(true,"toUpperCase"),__ref.getField(true,"_tipoclienteactual" /*RemoteObject*/ ).runMethod(true,"toUpperCase"))) { + BA.debugLineNum = 2043;BA.debugLine="Dim cantExistente As Int = cantsMap.GetDefaul"; +Debug.ShouldStop(67108864); +_cantexistente = BA.numberCast(int.class, __ref.getField(false,"_cantsmap" /*RemoteObject*/ ).runMethod(false,"GetDefault",(Object)((RemoteObject.concat(_idprod,RemoteObject.createImmutable("_"),RemoteObject.createImmutable(_i)))),(Object)(RemoteObject.createImmutable((0)))));Debug.locals.put("cantExistente", _cantexistente);Debug.locals.put("cantExistente", _cantexistente); + BA.debugLineNum = 2045;BA.debugLine="presentacionesValidas.Add(CreateMap( _ \"c"; +Debug.ShouldStop(268435456); +_presentacionesvalidas.runVoidMethod ("Add",(Object)((c_productos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("col_index")),RemoteObject.createImmutable((_i)),RemoteObject.createImmutable(("nombre")),(_presnombre),RemoteObject.createImmutable(("precio")),(_precio),RemoteObject.createImmutable(("umv")),(_umvval),RemoteObject.createImmutable(("cantidad")),(_cantexistente),RemoteObject.createImmutable(("dirigida")),(_dirigida),RemoteObject.createImmutable(("listaprecio")),RemoteObject.createImmutable((_i))})).getObject()))); + }; + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 2057;BA.debugLine="Log(presentacionesValidas)"; +Debug.ShouldStop(256); +c_productos.__c.runVoidMethod ("LogImpl","520185157",BA.ObjectToString(_presentacionesvalidas),0); + BA.debugLineNum = 2059;BA.debugLine="If presentacionesValidas.Size > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_presentacionesvalidas.runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2060;BA.debugLine="listaProds.Add(CreateMap( _ \"id"; +Debug.ShouldStop(2048); +__ref.getField(false,"_listaprods" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((c_productos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_idprod),RemoteObject.createImmutable(("prod")),(_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),RemoteObject.createImmutable(("almacen")),(_p.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")))),RemoteObject.createImmutable(("presentaciones")),(_presentacionesvalidas.getObject())})).getObject()))); + BA.debugLineNum = 2066;BA.debugLine="listaHints.Add(p.GetString(\"CAT_GP_NOMBRE\"))"; +Debug.ShouldStop(131072); +__ref.getField(false,"_listahints" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_p.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))))); + }; + } +; + BA.debugLineNum = 2069;BA.debugLine="p.Close"; +Debug.ShouldStop(1048576); +_p.runVoidMethod ("Close"); + BA.debugLineNum = 2072;BA.debugLine="clv_prods_ll.Clear"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 2073;BA.debugLine="PCLV.Commit"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.preoptimizedclv.class, "_commit" /*RemoteObject*/ ); + BA.debugLineNum = 2075;BA.debugLine="For Each m As Map In listaProds"; +Debug.ShouldStop(67108864); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +{ +final RemoteObject group47 = __ref.getField(false,"_listaprods" /*RemoteObject*/ ); +final int groupLen47 = group47.runMethod(true,"getSize").get() +;int index47 = 0; +; +for (; index47 < groupLen47;index47++){ +_m = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), group47.runMethod(false,"Get",index47));Debug.locals.put("m", _m); +Debug.locals.put("m", _m); + BA.debugLineNum = 2077;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(268435456); +_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 = 2078;BA.debugLine="Dim lPres As List = m.Get(\"presentaciones\")"; +Debug.ShouldStop(536870912); +_lpres = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_lpres = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("presentaciones")))));Debug.locals.put("lPres", _lpres);Debug.locals.put("lPres", _lpres); + BA.debugLineNum = 2080;BA.debugLine="Dim alturaItem As Int = 45dip + (lPres.Size * 60"; +Debug.ShouldStop(-2147483648); +_alturaitem = RemoteObject.solve(new RemoteObject[] {c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 45))),(RemoteObject.solve(new RemoteObject[] {_lpres.runMethod(true,"getSize"),c_productos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 60)))}, "*",0, 1))}, "+",1, 1);Debug.locals.put("alturaItem", _alturaitem);Debug.locals.put("alturaItem", _alturaitem); + BA.debugLineNum = 2082;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsVi"; +Debug.ShouldStop(2); +_pnl.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(_alturaitem)); + BA.debugLineNum = 2083;BA.debugLine="clv_prods_ll.Add(pnl, m)"; +Debug.ShouldStop(4); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runVoidMethod ("_add",(Object)(_pnl),(Object)((_m.getObject()))); + } +}Debug.locals.put("m", _m); +; + BA.debugLineNum = 2087;BA.debugLine="If clv_prods_ll.Size > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getsize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 2091;BA.debugLine="PCLV.B4XSeekBar1.MaxValue = clv_prods_ll.Size"; +Debug.ShouldStop(1024); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_maxvalue" /*RemoteObject*/ ,__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getsize")); + BA.debugLineNum = 2092;BA.debugLine="PCLV.B4XSeekBar1.MinValue = 0"; +Debug.ShouldStop(2048); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_minvalue" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 2093;BA.debugLine="PCLV.B4XSeekBar1.Interval = clv_prods_ll.Size/20"; +Debug.ShouldStop(4096); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_interval" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(20)}, "/",0, 0))); + BA.debugLineNum = 2094;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size"; +Debug.ShouldStop(8192); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xseekbar.class, "_setvalue" /*RemoteObject*/ ,__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(true,"_getsize")); + BA.debugLineNum = 2095;BA.debugLine="PCLV.B4XSeekBar1.Update"; +Debug.ShouldStop(16384); +__ref.getField(false,"_pclv" /*RemoteObject*/ ).getField(false,"_b4xseekbar1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xseekbar.class, "_update" /*RemoteObject*/ ); + }; + BA.debugLineNum = 2097;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lv_catalogos_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_catalogos_ItemClick (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,268); +if (RapidSub.canDelegate("lv_catalogos_itemclick")) { return __ref.runUserSub(false, "c_productos","lv_catalogos_itemclick", __ref, _position, _value);} +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label13 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label14 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +RemoteObject _tm = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 268;BA.debugLine="Sub lv_catalogos_ItemClick (Position As Int, Value"; +Debug.ShouldStop(2048); + BA.debugLineNum = 269;BA.debugLine="If Value = \"CATALOGO\" Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("CATALOGO")))) { + BA.debugLineNum = 280;BA.debugLine="lv_catalogos.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 281;BA.debugLine="lfila.text = \"PRODUCTOS\""; +Debug.ShouldStop(16777216); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("PRODUCTOS")); + BA.debugLineNum = 284;BA.debugLine="LlenaProdsLL(Null)"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_llenaprodsll" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), c_productos.__c.getField(false,"Null"))); + BA.debugLineNum = 287;BA.debugLine="clv_prods_ll.AsView.Visible = True"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 288;BA.debugLine="clv_prods_ll.AsView.BringToFront"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runVoidMethod ("BringToFront"); + }else { + BA.debugLineNum = 291;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 292;BA.debugLine="lv_promos.Visible = True"; +Debug.ShouldStop(8); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 293;BA.debugLine="lfila.text = \"PROMOCIONES\""; +Debug.ShouldStop(16); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("PROMOCIONES")); + BA.debugLineNum = 294;BA.debugLine="lv_catalogos.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 295;BA.debugLine="lv_promos.Clear"; +Debug.ShouldStop(64); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 296;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(128); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 297;BA.debugLine="label1 = lv_promos.TwoLinesLayout.Label"; +Debug.ShouldStop(256); +_label1 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 298;BA.debugLine="label1.TextSize = 12"; +Debug.ShouldStop(512); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 299;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(1024); +_label1.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 300;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(2048); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 301;BA.debugLine="label2 = lv_promos.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(4096); +_label2 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 302;BA.debugLine="label2.TextSize = 12"; +Debug.ShouldStop(8192); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 303;BA.debugLine="label2.TextColor = Colors.Black"; +Debug.ShouldStop(16384); +_label2.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 304;BA.debugLine="Dim label13 As Label"; +Debug.ShouldStop(32768); +_label13 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label13", _label13); + BA.debugLineNum = 305;BA.debugLine="label13 = lv_promos.TwoLinesAndBitmap.Label"; +Debug.ShouldStop(65536); +_label13 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesAndBitmap").getField(false,"Label");Debug.locals.put("label13", _label13); + BA.debugLineNum = 306;BA.debugLine="label13.TextSize = 12"; +Debug.ShouldStop(131072); +_label13.runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 307;BA.debugLine="label13.TextColor = Colors.Black"; +Debug.ShouldStop(262144); +_label13.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 308;BA.debugLine="Dim label14 As Label"; +Debug.ShouldStop(524288); +_label14 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label14", _label14); + BA.debugLineNum = 309;BA.debugLine="label14 = lv_promos.TwoLinesAndBitmap.SecondLabe"; +Debug.ShouldStop(1048576); +_label14 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesAndBitmap").getField(false,"SecondLabel");Debug.locals.put("label14", _label14); + BA.debugLineNum = 310;BA.debugLine="label14.TextSize = 12"; +Debug.ShouldStop(2097152); +_label14.runMethod(true,"setTextSize",BA.numberCast(float.class, 12)); + BA.debugLineNum = 311;BA.debugLine="label14.TextColor = Colors.Black"; +Debug.ShouldStop(4194304); +_label14.runMethod(true,"setTextColor",c_productos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 312;BA.debugLine="lfila.text = \"PROMOS\""; +Debug.ShouldStop(8388608); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("PROMOS")); + BA.debugLineNum = 314;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO1, CAT_GP_ALMACEN, CAT_GP_IMG from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_PRECIO1 > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) )")))),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.ObjectToString(_value),BA.ObjectToString(_value)})))); + BA.debugLineNum = 316;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 = 317;BA.debugLine="For i = 0 To c2.RowCount - 1"; +Debug.ShouldStop(268435456); +{ +final int step32 = 1; +final int limit32 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step32 > 0 && _i <= limit32) || (step32 < 0 && _i >= limit32) ;_i = ((int)(0 + _i + step32)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 318;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 319;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; +Debug.ShouldStop(1073741824); +_tm = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tm = c_productos._subs.runMethod(false,"_procesapromocion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )));Debug.locals.put("tm", _tm);Debug.locals.put("tm", _tm); + BA.debugLineNum = 321;BA.debugLine="If tm <> Null Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("N",_tm)) { + BA.debugLineNum = 322;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("=",_tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("status")))),RemoteObject.createImmutable(("ok")))) { + BA.debugLineNum = 323;BA.debugLine="lv_promos.AddTwoLines(c2.GetString(\"CAT_GP_N"; +Debug.ShouldStop(4); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("# "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN"))),RemoteObject.createImmutable(" $ "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO1"))),RemoteObject.createImmutable(" F:"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("mp")))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosCant")))),RemoteObject.createImmutable(" V:"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("mp")))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesCant")))))))); + }; + }else { + BA.debugLineNum = 326;BA.debugLine="Log(\"El Map devuelto por procesaPromocion es"; +Debug.ShouldStop(32); +c_productos.__c.runVoidMethod ("LogImpl","518284602",RemoteObject.concat(RemoteObject.createImmutable("El Map devuelto por procesaPromocion es null para el producto: "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),0); + }; + } +}Debug.locals.put("i", _i); +; + }else { + BA.debugLineNum = 330;BA.debugLine="ToastMessageShow(\"No hay promociones disponible"; +Debug.ShouldStop(512); +c_productos.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("No hay promociones disponibles.")),(Object)(c_productos.__c.getField(true,"False"))); + }; + BA.debugLineNum = 332;BA.debugLine="c2.Close"; +Debug.ShouldStop(2048); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 333;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(4096); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + }; + BA.debugLineNum = 335;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _lv_catalogos2_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_catalogos2_ItemClick (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,337); +if (RapidSub.canDelegate("lv_catalogos2_itemclick")) { __ref.runUserSub(false, "c_productos","lv_catalogos2_itemclick", __ref, _position, _value); return;} +ResumableSub_lv_catalogos2_ItemClick rsub = new ResumableSub_lv_catalogos2_ItemClick(null,__ref,_position,_value); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_lv_catalogos2_ItemClick extends BA.ResumableSub { +public ResumableSub_lv_catalogos2_ItemClick(SHARK2.keymon.com.mx.c_productos parent,RemoteObject __ref,RemoteObject _position,RemoteObject _value) { +this.parent = parent; +this.__ref = __ref; +this._position = _position; +this._value = _value; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_productos parent; +RemoteObject _position; +RemoteObject _value; +RemoteObject _cliente = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_cliente"); +RemoteObject _iniciocontador = RemoteObject.createImmutable(""); +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label13 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label14 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +int _i = 0; +RemoteObject _tm = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +int step57; +int limit57; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("lv_catalogos2_ItemClick (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,337); +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 = 338;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 339;BA.debugLine="BUSCA.Text = \"\""; +Debug.ShouldStop(262144); +__ref.getField(false,"_busca" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 340;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie"; +Debug.ShouldStop(524288); +_cliente = (parent._b4xpages.runMethod(false,"_getpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))));Debug.locals.put("cliente", _cliente);Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 341;BA.debugLine="Log($\"value=${Value}\"$)"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("LogImpl","518350084",(RemoteObject.concat(RemoteObject.createImmutable("value="),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_value)),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 342;BA.debugLine="If Value = \"PROMOS\" And cliente.cuenta <> \"N\" The"; +Debug.ShouldStop(2097152); +if (true) break; + +case 1: +//if +this.state = 6; +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("PROMOS"))) && RemoteObject.solveBoolean("!",_cliente.getField(true,"_cuenta" /*RemoteObject*/ ),BA.ObjectToString("N"))) { +this.state = 3; +}else +{ BA.debugLineNum = 346;BA.debugLine="Else if Value = \"PROMOS\" And cliente.cuenta = \"N\""; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("PROMOS"))) && RemoteObject.solveBoolean("=",_cliente.getField(true,"_cuenta" /*RemoteObject*/ ),BA.ObjectToString("N"))) { +this.state = 5; +}} +if (true) break; + +case 3: +//C +this.state = 6; + BA.debugLineNum = 343;BA.debugLine="entro = \"3\""; +Debug.ShouldStop(4194304); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("3")); + BA.debugLineNum = 344;BA.debugLine="marca = \"PROMOS\""; +Debug.ShouldStop(8388608); +__ref.setField ("_marca" /*RemoteObject*/ ,BA.ObjectToString("PROMOS")); + BA.debugLineNum = 345;BA.debugLine="tipo = \"PROMOS\""; +Debug.ShouldStop(16777216); +__ref.setField ("_tipo" /*RemoteObject*/ ,BA.ObjectToString("PROMOS")); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 347;BA.debugLine="entro = \"5\""; +Debug.ShouldStop(67108864); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("5")); + BA.debugLineNum = 348;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(134217728); +parent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + if (true) break; +; + BA.debugLineNum = 350;BA.debugLine="If Value = \"PROMOS\" Then"; +Debug.ShouldStop(536870912); + +case 6: +//if +this.state = 11; +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("PROMOS")))) { +this.state = 8; +}else { +this.state = 10; +}if (true) break; + +case 8: +//C +this.state = 11; + BA.debugLineNum = 351;BA.debugLine="LogColor(\"Promos\", Colors.red)"; +Debug.ShouldStop(1073741824); +parent.__c.runVoidMethod ("LogImpl","518350094",BA.ObjectToString("Promos"),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 352;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO1, CAT_GP_ALMACEN, CAT_GP_IMG from "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_PRECIO1 > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD = ? AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) ) ORDER BY 1")))),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {BA.ObjectToString(_value),__ref.getField(true,"_marca" /*RemoteObject*/ ),__ref.getField(true,"_tipo" /*RemoteObject*/ )})))); + if (true) break; + +case 10: +//C +this.state = 11; + BA.debugLineNum = 354;BA.debugLine="LogColor(\"Catalogo\", Colors.red)"; +Debug.ShouldStop(2); +parent.__c.runVoidMethod ("LogImpl","518350097",BA.ObjectToString("Catalogo"),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 355;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery($\"select CAT"; +Debug.ShouldStop(4); +__ref.getField(false,"_c2" /*RemoteObject*/ ).setObject (parent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO1, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_PRECIO1 > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD <> 'PROMOS' ")))))); + if (true) break; +; + BA.debugLineNum = 357;BA.debugLine="If Value = \"CATALOGO\" Then"; +Debug.ShouldStop(16); + +case 11: +//if +this.state = 28; +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("CATALOGO")))) { +this.state = 13; +}else { +this.state = 15; +}if (true) break; + +case 13: +//C +this.state = 28; + BA.debugLineNum = 358;BA.debugLine="lv_catalogos.Visible = False"; +Debug.ShouldStop(32); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 359;BA.debugLine="lv_promos.Visible = False"; +Debug.ShouldStop(64); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 360;BA.debugLine="lfila.text = \"CATALOGO\""; +Debug.ShouldStop(128); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("CATALOGO")); + BA.debugLineNum = 361;BA.debugLine="Log(\"PGS\")"; +Debug.ShouldStop(256); +parent.__c.runVoidMethod ("LogImpl","518350104",RemoteObject.createImmutable("PGS"),0); + BA.debugLineNum = 362;BA.debugLine="ProgressDialogShow(\"Cargando catalogo ...\")"; +Debug.ShouldStop(512); +parent.__c.runVoidMethod ("ProgressDialogShow",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Cargando catalogo ...")))); + BA.debugLineNum = 363;BA.debugLine="Sleep(100)"; +Debug.ShouldStop(1024); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_productos", "lv_catalogos2_itemclick"),BA.numberCast(int.class, 100)); +this.state = 29; +return; +case 29: +//C +this.state = 28; +; + BA.debugLineNum = 364;BA.debugLine="Private inicioContador As String = DateTime.Now"; +Debug.ShouldStop(2048); +_iniciocontador = BA.NumberToString(parent.__c.getField(false,"DateTime").runMethod(true,"getNow"));Debug.locals.put("inicioContador", _iniciocontador);Debug.locals.put("inicioContador", _iniciocontador); + BA.debugLineNum = 365;BA.debugLine="llenaCatalogo(False)"; +Debug.ShouldStop(4096); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_llenacatalogo" /*RemoteObject*/ ,(Object)(BA.ObjectToString(parent.__c.getField(true,"False")))); + BA.debugLineNum = 366;BA.debugLine="clv_prods_ll.AsView.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 367;BA.debugLine="Log(\"PGH\")"; +Debug.ShouldStop(16384); +parent.__c.runVoidMethod ("LogImpl","518350110",RemoteObject.createImmutable("PGH"),0); + BA.debugLineNum = 368;BA.debugLine="LogColor(\"TIEMPO DE PROCESO DEL CATALOGO: \" & (("; +Debug.ShouldStop(32768); +parent.__c.runVoidMethod ("LogImpl","518350111",RemoteObject.concat(RemoteObject.createImmutable("TIEMPO DE PROCESO DEL CATALOGO: "),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {parent.__c.getField(false,"DateTime").runMethod(true,"getNow"),BA.numberCast(double.class, _iniciocontador)}, "-",1, 0)),RemoteObject.createImmutable(1000)}, "/",0, 0))),parent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 369;BA.debugLine="ProgressDialogHide"; +Debug.ShouldStop(65536); +parent.__c.runVoidMethod ("ProgressDialogHide"); + BA.debugLineNum = 370;BA.debugLine="c2.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 15: +//C +this.state = 16; + BA.debugLineNum = 372;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(524288); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 373;BA.debugLine="lv_promos.Visible = True"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 374;BA.debugLine="lv_catalogos.Visible = False"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + BA.debugLineNum = 375;BA.debugLine="lv_promos.Clear"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 376;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(8388608); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 377;BA.debugLine="label1 = lv_promos.TwoLinesLayout.Label"; +Debug.ShouldStop(16777216); +_label1 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 378;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(33554432); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 379;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(67108864); +_label1.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 380;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(134217728); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 381;BA.debugLine="label2 = lv_promos.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(268435456); +_label2 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 382;BA.debugLine="label2.TextSize = 15"; +Debug.ShouldStop(536870912); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 383;BA.debugLine="label2.TextColor = Colors.Black"; +Debug.ShouldStop(1073741824); +_label2.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 384;BA.debugLine="Dim label13 As Label"; +Debug.ShouldStop(-2147483648); +_label13 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label13", _label13); + BA.debugLineNum = 385;BA.debugLine="label13 = lv_promos.TwoLinesAndBitmap.Label"; +Debug.ShouldStop(1); +_label13 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesAndBitmap").getField(false,"Label");Debug.locals.put("label13", _label13); + BA.debugLineNum = 386;BA.debugLine="label13.TextSize = 15"; +Debug.ShouldStop(2); +_label13.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 387;BA.debugLine="label13.TextColor = Colors.Black"; +Debug.ShouldStop(4); +_label13.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 388;BA.debugLine="Dim label14 As Label"; +Debug.ShouldStop(8); +_label14 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label14", _label14); + BA.debugLineNum = 389;BA.debugLine="label14 = lv_promos.TwoLinesAndBitmap.SecondLabe"; +Debug.ShouldStop(16); +_label14 = __ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(false,"getTwoLinesAndBitmap").getField(false,"SecondLabel");Debug.locals.put("label14", _label14); + BA.debugLineNum = 390;BA.debugLine="label14.TextSize = 15"; +Debug.ShouldStop(32); +_label14.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 391;BA.debugLine="label14.TextColor = Colors.Black"; +Debug.ShouldStop(64); +_label14.runMethod(true,"setTextColor",parent.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 392;BA.debugLine="lfila.text = \"PROMOS\""; +Debug.ShouldStop(128); +__ref.getField(false,"_lfila" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("PROMOS")); + BA.debugLineNum = 393;BA.debugLine="If c2.RowCount > 0 Then"; +Debug.ShouldStop(256); +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 = 394;BA.debugLine="For i=0 To c2.RowCount -1"; +Debug.ShouldStop(512); +if (true) break; + +case 19: +//for +this.state = 26; +step57 = 1; +limit57 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 30; +if (true) break; + +case 30: +//C +this.state = 26; +if ((step57 > 0 && _i <= limit57) || (step57 < 0 && _i >= limit57)) this.state = 21; +if (true) break; + +case 31: +//C +this.state = 30; +_i = ((int)(0 + _i + step57)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 21: +//C +this.state = 22; + BA.debugLineNum = 395;BA.debugLine="c2.Position=i"; +Debug.ShouldStop(1024); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 396;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; +Debug.ShouldStop(2048); +_tm = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tm = parent._subs.runMethod(false,"_procesapromocion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ )));Debug.locals.put("tm", _tm);Debug.locals.put("tm", _tm); + BA.debugLineNum = 397;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; +Debug.ShouldStop(4096); +if (true) break; + +case 22: +//if +this.state = 25; +if (RemoteObject.solveBoolean("=",_tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("status")))),RemoteObject.createImmutable(("ok")))) { +this.state = 24; +}if (true) break; + +case 24: +//C +this.state = 25; + BA.debugLineNum = 398;BA.debugLine="lv_promos.AddTwoLines(c2.GetString(\"CAT_GP_NO"; +Debug.ShouldStop(8192); +__ref.getField(false,"_lv_promos" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("# "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN"))),RemoteObject.createImmutable(" $ "),__ref.getField(false,"_c2" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_PRECIO"))),RemoteObject.createImmutable(" F:"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("mp")))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosCant")))),RemoteObject.createImmutable(" V:"),(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _tm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("mp")))))).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesCant")))))))); + if (true) break; + +case 25: +//C +this.state = 31; +; + if (true) break; +if (true) break; + +case 26: +//C +this.state = 27; +Debug.locals.put("i", _i); +; + if (true) break; + +case 27: +//C +this.state = 28; +; + BA.debugLineNum = 402;BA.debugLine="c2.Close"; +Debug.ShouldStop(131072); +__ref.getField(false,"_c2" /*RemoteObject*/ ).runVoidMethod ("Close"); + if (true) break; + +case 28: +//C +this.state = -1; +; + BA.debugLineNum = 404;BA.debugLine="entro = \"4\""; +Debug.ShouldStop(524288); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("4")); + BA.debugLineNum = 405;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _lv_prodspedido_itemlongclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_prodsPedido_ItemLongClick (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1583); +if (RapidSub.canDelegate("lv_prodspedido_itemlongclick")) { return __ref.runUserSub(false, "c_productos","lv_prodspedido_itemlongclick", __ref, _position, _value);} +RemoteObject _datos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _idprod = RemoteObject.createImmutable(""); +RemoteObject _nom = RemoteObject.createImmutable(""); +RemoteObject _presname = RemoteObject.createImmutable(""); +RemoteObject _uvmval = RemoteObject.createImmutable(0); +RemoteObject _cedis = RemoteObject.createImmutable(""); +RemoteObject _dirtarget = RemoteObject.createImmutable(""); +RemoteObject _folioactual = RemoteObject.createImmutable(""); +RemoteObject _cantregresar = RemoteObject.createImmutable(0); +RemoteObject _tablainventario = RemoteObject.createImmutable(""); +int _j = 0; +RemoteObject _qdelete = RemoteObject.createImmutable(""); +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 1583;BA.debugLine="Private Sub lv_prodsPedido_ItemLongClick (Position"; +Debug.ShouldStop(16384); + BA.debugLineNum = 1585;BA.debugLine="If Not(Value Is Map) Then"; +Debug.ShouldStop(65536); +if (c_productos.__c.runMethod(true,"Not",(Object)(BA.ObjectToBoolean(RemoteObject.solveBoolean("i",_value, RemoteObject.createImmutable("java.util.Map"))))).get().booleanValue()) { + BA.debugLineNum = 1586;BA.debugLine="Log(\"Error: El valor recibido no es un Mapa de d"; +Debug.ShouldStop(131072); +c_productos.__c.runVoidMethod ("LogImpl","519791875",RemoteObject.createImmutable("Error: El valor recibido no es un Mapa de datos."),0); + BA.debugLineNum = 1587;BA.debugLine="Return"; +Debug.ShouldStop(262144); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 1591;BA.debugLine="Dim datos As Map = Value"; +Debug.ShouldStop(4194304); +_datos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_datos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _value);Debug.locals.put("datos", _datos);Debug.locals.put("datos", _datos); + BA.debugLineNum = 1592;BA.debugLine="Dim idProd As String = datos.Get(\"id\")"; +Debug.ShouldStop(8388608); +_idprod = BA.ObjectToString(_datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))));Debug.locals.put("idProd", _idprod);Debug.locals.put("idProd", _idprod); + BA.debugLineNum = 1593;BA.debugLine="Dim nom As String = datos.Get(\"nombre\")"; +Debug.ShouldStop(16777216); +_nom = BA.ObjectToString(_datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("nombre")))));Debug.locals.put("nom", _nom);Debug.locals.put("nom", _nom); + BA.debugLineNum = 1594;BA.debugLine="Dim presName As String = datos.Get(\"pres\")"; +Debug.ShouldStop(33554432); +_presname = BA.ObjectToString(_datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("pres")))));Debug.locals.put("presName", _presname);Debug.locals.put("presName", _presname); + BA.debugLineNum = 1595;BA.debugLine="Dim uvmVal As Int = datos.Get(\"uvm\")"; +Debug.ShouldStop(67108864); +_uvmval = BA.numberCast(int.class, _datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("uvm")))));Debug.locals.put("uvmVal", _uvmval);Debug.locals.put("uvmVal", _uvmval); + BA.debugLineNum = 1596;BA.debugLine="Dim cedis As String = datos.Get(\"cedis\")"; +Debug.ShouldStop(134217728); +_cedis = BA.ObjectToString(_datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cedis")))));Debug.locals.put("cedis", _cedis);Debug.locals.put("cedis", _cedis); + BA.debugLineNum = 1597;BA.debugLine="Dim dirTarget As String = datos.Get(\"dir\")"; +Debug.ShouldStop(268435456); +_dirtarget = BA.ObjectToString(_datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("dir")))));Debug.locals.put("dirTarget", _dirtarget);Debug.locals.put("dirTarget", _dirtarget); + BA.debugLineNum = 1598;BA.debugLine="Dim folioActual As String = datos.Get(\"folio\")"; +Debug.ShouldStop(536870912); +_folioactual = BA.ObjectToString(_datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("folio")))));Debug.locals.put("folioActual", _folioactual);Debug.locals.put("folioActual", _folioactual); + BA.debugLineNum = 1599;BA.debugLine="Dim cantRegresar As Int = datos.Get(\"cant\")"; +Debug.ShouldStop(1073741824); +_cantregresar = BA.numberCast(int.class, _datos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("cant")))));Debug.locals.put("cantRegresar", _cantregresar);Debug.locals.put("cantRegresar", _cantregresar); + BA.debugLineNum = 1600;BA.debugLine="Log(cedis)"; +Debug.ShouldStop(-2147483648); +c_productos.__c.runVoidMethod ("LogImpl","519791889",_cedis,0); + BA.debugLineNum = 1601;BA.debugLine="Log(folioActual)"; +Debug.ShouldStop(1); +c_productos.__c.runVoidMethod ("LogImpl","519791890",_folioactual,0); + BA.debugLineNum = 1603;BA.debugLine="Log(\"Intentando borrar -> ID: \" & idProd & \" | No"; +Debug.ShouldStop(4); +c_productos.__c.runVoidMethod ("LogImpl","519791892",RemoteObject.concat(RemoteObject.createImmutable("Intentando borrar -> ID: "),_idprod,RemoteObject.createImmutable(" | Nombre: "),_nom,RemoteObject.createImmutable(" | Almacen: "),_cedis),0); + BA.debugLineNum = 1605;BA.debugLine="result = Msgbox2(\"¿Seguro que desea borrar \" & no"; +Debug.ShouldStop(16); +__ref.setField ("_result" /*RemoteObject*/ ,BA.NumberToString(c_productos.__c.runMethodAndSync(true,"Msgbox2",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("¿Seguro que desea borrar "),_nom,RemoteObject.createImmutable(" ("),_presname,RemoteObject.createImmutable(")?")))),(Object)(BA.ObjectToCharSequence("Borrar Artículo")),(Object)(BA.ObjectToString("Si")),(Object)(BA.ObjectToString("")),(Object)(BA.ObjectToString("No")),(Object)((c_productos.__c.runMethod(false,"LoadBitmap",(Object)(c_productos.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("alert2.png"))).getObject())),__ref.getField(false, "ba")))); + BA.debugLineNum = 1607;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_result" /*RemoteObject*/ ),BA.NumberToString(c_productos.__c.getField(false,"DialogResponse").getField(true,"POSITIVE")))) { + BA.debugLineNum = 1609;BA.debugLine="Dim tablaInventario As String"; +Debug.ShouldStop(256); +_tablainventario = RemoteObject.createImmutable("");Debug.locals.put("tablaInventario", _tablainventario); + BA.debugLineNum = 1611;BA.debugLine="If folioActual = \"PREVENTA_CONTADO\" Or folioActu"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",_folioactual,BA.ObjectToString("PREVENTA_CONTADO")) || RemoteObject.solveBoolean("=",_folioactual,BA.ObjectToString("ABORDO"))) { + BA.debugLineNum = 1612;BA.debugLine="tablaInventario = \"CAT_GUNAPROD\""; +Debug.ShouldStop(2048); +_tablainventario = BA.ObjectToString("CAT_GUNAPROD");Debug.locals.put("tablaInventario", _tablainventario); + BA.debugLineNum = 1613;BA.debugLine="Log(\"1\")"; +Debug.ShouldStop(4096); +c_productos.__c.runVoidMethod ("LogImpl","519791902",RemoteObject.createImmutable("1"),0); + }else +{ BA.debugLineNum = 1614;BA.debugLine="Else If folioActual = \"VENTA\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_folioactual,BA.ObjectToString("VENTA"))) { + BA.debugLineNum = 1615;BA.debugLine="tablaInventario = \"CAT_GUNAPROD2\""; +Debug.ShouldStop(16384); +_tablainventario = BA.ObjectToString("CAT_GUNAPROD2");Debug.locals.put("tablaInventario", _tablainventario); + BA.debugLineNum = 1616;BA.debugLine="Log(2)"; +Debug.ShouldStop(32768); +c_productos.__c.runVoidMethod ("LogImpl","519791905",BA.NumberToString(2),0); + }else +{ BA.debugLineNum = 1617;BA.debugLine="Else If folioActual = \"RECARGA\" Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_folioactual,BA.ObjectToString("RECARGA"))) { + BA.debugLineNum = 1618;BA.debugLine="tablaInventario = \"CAT_GUNAPROD\""; +Debug.ShouldStop(131072); +_tablainventario = BA.ObjectToString("CAT_GUNAPROD");Debug.locals.put("tablaInventario", _tablainventario); + BA.debugLineNum = 1619;BA.debugLine="Log(3)"; +Debug.ShouldStop(262144); +c_productos.__c.runVoidMethod ("LogImpl","519791908",BA.NumberToString(3),0); + }else +{ BA.debugLineNum = 1620;BA.debugLine="Else If folioActual = \"PREVENTA_CREDITO\" Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("=",_folioactual,BA.ObjectToString("PREVENTA_CREDITO"))) { + BA.debugLineNum = 1621;BA.debugLine="tablaInventario = \"CAT_GUNAPROD4\""; +Debug.ShouldStop(1048576); +_tablainventario = BA.ObjectToString("CAT_GUNAPROD4");Debug.locals.put("tablaInventario", _tablainventario); + BA.debugLineNum = 1622;BA.debugLine="Log(4)"; +Debug.ShouldStop(2097152); +c_productos.__c.runVoidMethod ("LogImpl","519791911",BA.NumberToString(4),0); + }}}} +; + BA.debugLineNum = 1626;BA.debugLine="If cedis <> Subs.traeAlmacen Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("!",_cedis,c_productos._subs.runMethod(true,"_traealmacen" /*RemoteObject*/ ,__ref.getField(false, "ba")))) { + BA.debugLineNum = 1627;BA.debugLine="Log(\"entre\")"; +Debug.ShouldStop(67108864); +c_productos.__c.runVoidMethod ("LogImpl","519791916",RemoteObject.createImmutable("entre"),0); + BA.debugLineNum = 1628;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_j3" /*RemoteObject*/ ).setObject (c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ? and PE_CEDIS = ?) AND PE_FOLIO = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {3},new Object[] {_nom,_cedis,_folioactual})))); + BA.debugLineNum = 1629;BA.debugLine="Log(j3.RowCount)"; +Debug.ShouldStop(268435456); +c_productos.__c.runVoidMethod ("LogImpl","519791918",BA.NumberToString(__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount")),0); + BA.debugLineNum = 1630;BA.debugLine="If j3.RowCount > 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1631;BA.debugLine="Log(\"Soy promo\")"; +Debug.ShouldStop(1073741824); +c_productos.__c.runVoidMethod ("LogImpl","519791920",RemoteObject.createImmutable("Soy promo"),0); + BA.debugLineNum = 1632;BA.debugLine="For j = 0 To j3.RowCount -1"; +Debug.ShouldStop(-2147483648); +{ +final int step39 = 1; +final int limit39 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_j = 0 ; +for (;(step39 > 0 && _j <= limit39) || (step39 < 0 && _j >= limit39) ;_j = ((int)(0 + _j + step39)) ) { +Debug.locals.put("j", _j); + BA.debugLineNum = 1633;BA.debugLine="Log(\"aqui tronare?\")"; +Debug.ShouldStop(1); +c_productos.__c.runVoidMethod ("LogImpl","519791922",RemoteObject.createImmutable("aqui tronare?"),0); + BA.debugLineNum = 1635;BA.debugLine="j3.Position = j"; +Debug.ShouldStop(4); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _j)); + BA.debugLineNum = 1636;BA.debugLine="Log(j3.GetString(\"PE_CANT\"))"; +Debug.ShouldStop(8); +c_productos.__c.runVoidMethod ("LogImpl","519791925",__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT"))),0); + BA.debugLineNum = 1637;BA.debugLine="Log($\"update ${tablaInventario} set CAT_GP_AL"; +Debug.ShouldStop(16); +c_productos.__c.runVoidMethod ("LogImpl","519791926",(RemoteObject.concat(RemoteObject.createImmutable("update "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tablainventario))),RemoteObject.createImmutable(" set CAT_GP_ALMACEN = CAT_GP_ALMACEN + '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable("' where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))),0); + BA.debugLineNum = 1638;BA.debugLine="If vamoaver.Get(Position) = \"PREVENTA_CREDITO"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_vamoaver" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_position)),RemoteObject.createImmutable(("PREVENTA_CREDITO")))) { + BA.debugLineNum = 1639;BA.debugLine="Starter.skmt.ExecNonQuery($\"update CAT_GUNAP"; +Debug.ShouldStop(64); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update CAT_GUNAPROD4 set CAT_GP_ALMACEN = CAT_GP_ALMACEN + "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1640;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete"; +Debug.ShouldStop(128); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis= '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + }else { + BA.debugLineNum = 1642;BA.debugLine="Starter.skmt.ExecNonQuery($\"update ${tablaIn"; +Debug.ShouldStop(512); +c_productos._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tablainventario))),RemoteObject.createImmutable(" set CAT_GP_ALMACEN = CAT_GP_ALMACEN + "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1643;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete"; +Debug.ShouldStop(1024); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis= '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))))),RemoteObject.createImmutable("' AND PE_PROID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_j3" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + }; + } +}Debug.locals.put("j", _j); +; + }; + BA.debugLineNum = 1648;BA.debugLine="j3.Close"; +Debug.ShouldStop(32768); +__ref.getField(false,"_j3" /*RemoteObject*/ ).runVoidMethod ("Close"); + BA.debugLineNum = 1650;BA.debugLine="ActualizarTotalesPedido(clienteId)"; +Debug.ShouldStop(131072); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_actualizartotalespedido" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ ))); + BA.debugLineNum = 1651;BA.debugLine="b_terminar1_Click"; +Debug.ShouldStop(262144); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_b_terminar1_click" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 1655;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ${"; +Debug.ShouldStop(4194304); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tablainventario))),RemoteObject.createImmutable(" SET CAT_GP_ALMACEN = CAT_GP_ALMACEN + "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cantregresar))),RemoteObject.createImmutable(" WHERE CAT_GP_ID = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idprod))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1658;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +Debug.ShouldStop(33554432); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO INVENT_X_ENVIAR (ALMACEN, PROID, CANTIDAD) VALUES(?,?,?)")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_cedis),(_idprod),RemoteObject.createImmutable(((double) (0 + _cantregresar.get().intValue())*-(double) (0 + 1)))}))))); + BA.debugLineNum = 1662;BA.debugLine="Dim qDelete As String = \"DELETE FROM PEDIDO WHE"; +Debug.ShouldStop(536870912); +_qdelete = RemoteObject.concat(RemoteObject.createImmutable("DELETE FROM PEDIDO WHERE PE_PROID = ? AND PE_PRESENTACION = ? "),RemoteObject.createImmutable("AND PE_UVM = ? AND PE_DIRIGIDA = ? AND PE_CEDIS = ? "),RemoteObject.createImmutable("AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = ?"));Debug.locals.put("qDelete", _qdelete);Debug.locals.put("qDelete", _qdelete); + BA.debugLineNum = 1666;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(qDelete, A"; +Debug.ShouldStop(2); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(_qdelete),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(_idprod),(_presname),(_uvmval),(_dirtarget),(_cedis),(_folioactual)}))))); + BA.debugLineNum = 1668;BA.debugLine="LogColor(\"Borrado exitoso de base de datos.\", C"; +Debug.ShouldStop(8); +c_productos.__c.runVoidMethod ("LogImpl","519791957",BA.ObjectToString("Borrado exitoso de base de datos."),c_productos.__c.getField(false,"Colors").getField(true,"Green")); + BA.debugLineNum = 1671;BA.debugLine="ActualizarTotalesPedido(clienteId)"; +Debug.ShouldStop(64); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_actualizartotalespedido" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_clienteid" /*RemoteObject*/ ))); + BA.debugLineNum = 1672;BA.debugLine="b_terminar1_Click"; +Debug.ShouldStop(128); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_b_terminar1_click" /*RemoteObject*/ ); + }; + }; + BA.debugLineNum = 1677;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lv_promos_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_promos_ItemClick (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,407); +if (RapidSub.canDelegate("lv_promos_itemclick")) { return __ref.runUserSub(false, "c_productos","lv_promos_itemclick", __ref, _position, _value);} +RemoteObject _cliente = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_cliente"); +RemoteObject _promos = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_promos"); +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 407;BA.debugLine="Sub lv_promos_ItemClick (Position As Int, Value As"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 408;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_clv_prods_ll" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",c_productos.__c.getField(true,"False")); + BA.debugLineNum = 409;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie"; +Debug.ShouldStop(16777216); +_cliente = (c_productos._b4xpages.runMethod(false,"_getpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))));Debug.locals.put("cliente", _cliente);Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 411;BA.debugLine="If Value = \"PROMOS\" And cliente.cuenta <> \"N\" The"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("PROMOS"))) && RemoteObject.solveBoolean("!",_cliente.getField(true,"_cuenta" /*RemoteObject*/ ),BA.ObjectToString("N"))) { + BA.debugLineNum = 412;BA.debugLine="entro = \"3\""; +Debug.ShouldStop(134217728); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("3")); + BA.debugLineNum = 413;BA.debugLine="marca = \"PROMOS\""; +Debug.ShouldStop(268435456); +__ref.setField ("_marca" /*RemoteObject*/ ,BA.ObjectToString("PROMOS")); + BA.debugLineNum = 414;BA.debugLine="tipo = \"PROMOS\""; +Debug.ShouldStop(536870912); +__ref.setField ("_tipo" /*RemoteObject*/ ,BA.ObjectToString("PROMOS")); + }else +{ BA.debugLineNum = 415;BA.debugLine="Else if Value = \"PROMOS\" And cliente.cuenta = \"N\""; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_value,RemoteObject.createImmutable(("PROMOS"))) && RemoteObject.solveBoolean("=",_cliente.getField(true,"_cuenta" /*RemoteObject*/ ),BA.ObjectToString("N"))) { + BA.debugLineNum = 416;BA.debugLine="entro = \"5\""; +Debug.ShouldStop(-2147483648); +__ref.setField ("_entro" /*RemoteObject*/ ,BA.ObjectToString("5")); + BA.debugLineNum = 417;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(1); +c_productos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Cliente"))); + }} +; + BA.debugLineNum = 419;BA.debugLine="If entro = \"3\" Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("3"))) { + }else +{ BA.debugLineNum = 421;BA.debugLine="Else If entro = \"4\" Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_entro" /*RemoteObject*/ ),BA.ObjectToString("4"))) { + BA.debugLineNum = 423;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(64); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from PROID"))); + BA.debugLineNum = 424;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(128); +c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PROID VALUES (?)")),(Object)(c_productos.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_value}))))); + BA.debugLineNum = 425;BA.debugLine="Dim promos As C_Promos = B4XPages.GetPage(\"Promo"; +Debug.ShouldStop(256); +_promos = (c_productos._b4xpages.runMethod(false,"_getpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Promos"))));Debug.locals.put("promos", _promos);Debug.locals.put("promos", _promos); + BA.debugLineNum = 426;BA.debugLine="promos.laPromo = Subs.traeProdIdDeBD.Get(\"id\")"; +Debug.ShouldStop(512); +_promos.setField ("_lapromo" /*RemoteObject*/ ,BA.ObjectToString(c_productos._subs.runMethod(false,"_traeprodiddebd" /*RemoteObject*/ ,__ref.getField(false, "ba")).runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))))); + BA.debugLineNum = 427;BA.debugLine="promos.elCliente = Subs.traeUsuarioDeBD"; +Debug.ShouldStop(1024); +_promos.setField ("_elcliente" /*RemoteObject*/ ,c_productos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 428;BA.debugLine="B4XPages.ShowPage(\"Promos\")"; +Debug.ShouldStop(2048); +c_productos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Promos"))); + }} +; + BA.debugLineNum = 430;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lv_promos_itemlongclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_promos_ItemLongClick (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1312); +if (RapidSub.canDelegate("lv_promos_itemlongclick")) { return __ref.runUserSub(false, "c_productos","lv_promos_itemlongclick", __ref, _position, _value);} +RemoteObject _id = RemoteObject.createImmutable(""); +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 1312;BA.debugLine="Private Sub lv_promos_ItemLongClick (Position As I"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 1313;BA.debugLine="Log(\"Promo longclic = \"&Value)"; +Debug.ShouldStop(1); +c_productos.__c.runVoidMethod ("LogImpl","519398657",RemoteObject.concat(RemoteObject.createImmutable("Promo longclic = "),_value),0); + BA.debugLineNum = 1314;BA.debugLine="Private id As String = \"\""; +Debug.ShouldStop(2); +_id = BA.ObjectToString("");Debug.locals.put("id", _id);Debug.locals.put("id", _id); + BA.debugLineNum = 1315;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuer"; +Debug.ShouldStop(4); +c_productos._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +c_productos._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_productos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID from "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_TIPO = 'PROMOS' and CAT_GP_NOMBRE = '"),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_value)),RemoteObject.createImmutable("'"))))));__ref.setField("_c",c_productos._c); + BA.debugLineNum = 1316;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 = 1317;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1318;BA.debugLine="id = c.GetString(\"CAT_GP_ID\")"; +Debug.ShouldStop(32); +_id = __ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")));Debug.locals.put("id", _id); + }; + BA.debugLineNum = 1320;BA.debugLine="l_info.Text = $\"ID: ${id}${CRLF}${Value}\"$"; +Debug.ShouldStop(128); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("ID: "),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_productos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),c_productos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_value)),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 1321;BA.debugLine="l_info.Visible = True"; +Debug.ShouldStop(256); +__ref.getField(false,"_l_info" /*RemoteObject*/ ).runMethod(true,"setVisible",c_productos.__c.getField(true,"True")); + BA.debugLineNum = 1322;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lv_subtipo_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_subtipo_ItemClick (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1349); +if (RapidSub.canDelegate("lv_subtipo_itemclick")) { return __ref.runUserSub(false, "c_productos","lv_subtipo_itemclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 1349;BA.debugLine="Private Sub lv_subtipo_ItemClick (Position As Int,"; +Debug.ShouldStop(16); + BA.debugLineNum = 1363;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _lv_tipo_itemclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("lv_tipo_ItemClick (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1329); +if (RapidSub.canDelegate("lv_tipo_itemclick")) { return __ref.runUserSub(false, "c_productos","lv_tipo_itemclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 1329;BA.debugLine="Private Sub lv_tipo_ItemClick (Position As Int, Va"; +Debug.ShouldStop(65536); + BA.debugLineNum = 1347;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_vistapreviatrans_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_vistaPreviaTrans_Click (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,1365); +if (RapidSub.canDelegate("p_vistapreviatrans_click")) { return __ref.runUserSub(false, "c_productos","p_vistapreviatrans_click", __ref);} + BA.debugLineNum = 1365;BA.debugLine="Private Sub p_vistaPreviaTrans_Click"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 1367;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pclv_addprods(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("PCLV_AddProds (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,264); +if (RapidSub.canDelegate("pclv_addprods")) { return __ref.runUserSub(false, "c_productos","pclv_addprods", __ref);} + BA.debugLineNum = 264;BA.debugLine="Sub PCLV_AddProds"; +Debug.ShouldStop(128); + 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 _pclv_hintrequested(RemoteObject __ref,RemoteObject _index) throws Exception{ +try { + Debug.PushSubsStack("PCLV_HintRequested (c_productos) ","c_productos",14,__ref.getField(false, "ba"),__ref,2100); +if (RapidSub.canDelegate("pclv_hintrequested")) { return __ref.runUserSub(false, "c_productos","pclv_hintrequested", __ref, _index);} +RemoteObject _word = RemoteObject.createImmutable(""); +Debug.locals.put("Index", _index); + BA.debugLineNum = 2100;BA.debugLine="Sub PCLV_HintRequested(Index As Int) As Object"; +Debug.ShouldStop(524288); + BA.debugLineNum = 2101;BA.debugLine="Dim word As String = listaHints.get(Index)"; +Debug.ShouldStop(1048576); +_word = BA.ObjectToString(__ref.getField(false,"_listahints" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(_index)));Debug.locals.put("word", _word);Debug.locals.put("word", _word); + BA.debugLineNum = 2102;BA.debugLine="Return word"; +Debug.ShouldStop(2097152); +if (true) return (_word); + BA.debugLineNum = 2103;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/SHARK2/keymon/com/mx/c_promos.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_promos.java new file mode 100644 index 0000000..63c9749 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_promos.java @@ -0,0 +1,87 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_promos { + public static RemoteObject myClass; + public c_promos() { + } + public static PCBA staticBA = new PCBA(null, c_promos.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _l_promodesc = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _lv_prodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _clv_prodsvariabes = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _clv_prodsvariabes2 = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _l_prodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_prodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_prodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _i_prod = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +public static RemoteObject _l_prodx = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _p_prods = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _b_prodmenos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmenos2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_pcant = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _b_prodmas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_prodmas2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _l_pcant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _totalprods = RemoteObject.createImmutable(0); +public static RemoteObject _prodsvar1 = RemoteObject.createImmutable(0); +public static RemoteObject _prodsvar2 = RemoteObject.createImmutable(0); +public static RemoteObject _prodsvarreq = RemoteObject.createImmutable(0); +public static RemoteObject _prodsvarreq_ = RemoteObject.createImmutable(0); +public static RemoteObject _prodsvarreq2 = RemoteObject.createImmutable(0); +public static RemoteObject _prodsvarreq2_ = RemoteObject.createImmutable(0); +public static RemoteObject _totalcompra = RemoteObject.createImmutable(0f); +public static RemoteObject _prodsfijostot = RemoteObject.createImmutable(0f); +public static RemoteObject _tpf = RemoteObject.createImmutable(0); +public static RemoteObject _tpf2 = RemoteObject.createImmutable(0); +public static RemoteObject _maxcantpromos = RemoteObject.createImmutable(0); +public static RemoteObject _l_totprods = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _l_total = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_terminar1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_promociones = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _prodsids = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _prodscants = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _prodsprecios = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _prodsids2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _prodscants2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _prodsprecios2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _estapromo = RemoteObject.createImmutable(""); +public static RemoteObject _estecliente = RemoteObject.createImmutable(""); +public static RemoteObject _b_promomas = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_promomenos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _et_promocant = RemoteObject.declareNull("anywheresoftware.b4a.objects.EditTextWrapper"); +public static RemoteObject _l_promoscant = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +public static RemoteObject _b_continuar = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _p_prodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _p_prodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _lapromo = RemoteObject.createImmutable(""); +public static RemoteObject _elcliente = RemoteObject.createImmutable(""); +public static RemoteObject _prodspedidoactual = RemoteObject.createImmutable(""); +public static RemoteObject _montopedidoactual = RemoteObject.createImmutable(""); +public static RemoteObject _promosmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_continuar",_ref.getField(false, "_b_continuar"),"b_prodMas",_ref.getField(false, "_b_prodmas"),"b_prodMas2",_ref.getField(false, "_b_prodmas2"),"b_prodMenos",_ref.getField(false, "_b_prodmenos"),"b_prodMenos2",_ref.getField(false, "_b_prodmenos2"),"b_promoMas",_ref.getField(false, "_b_promomas"),"b_promoMenos",_ref.getField(false, "_b_promomenos"),"b_terminar1",_ref.getField(false, "_b_terminar1"),"clv_prodsVariabes",_ref.getField(false, "_clv_prodsvariabes"),"clv_prodsVariabes2",_ref.getField(false, "_clv_prodsvariabes2"),"DateUtils",_ref.getField(false, "_dateutils"),"elCliente",_ref.getField(false, "_elcliente"),"estaPromo",_ref.getField(false, "_estapromo"),"esteCliente",_ref.getField(false, "_estecliente"),"et_pCant",_ref.getField(false, "_et_pcant"),"et_promoCant",_ref.getField(false, "_et_promocant"),"i_prod",_ref.getField(false, "_i_prod"),"l_pCant",_ref.getField(false, "_l_pcant"),"l_prodsFijos",_ref.getField(false, "_l_prodsfijos"),"l_prodsVariables",_ref.getField(false, "_l_prodsvariables"),"l_prodsVariables2",_ref.getField(false, "_l_prodsvariables2"),"l_prodX",_ref.getField(false, "_l_prodx"),"l_promoDesc",_ref.getField(false, "_l_promodesc"),"l_promosCant",_ref.getField(false, "_l_promoscant"),"l_total",_ref.getField(false, "_l_total"),"l_totProds",_ref.getField(false, "_l_totprods"),"laPromo",_ref.getField(false, "_lapromo"),"lv_prodsFijos",_ref.getField(false, "_lv_prodsfijos"),"maxCantPromos",_ref.getField(false, "_maxcantpromos"),"montoPedidoActual",_ref.getField(false, "_montopedidoactual"),"p_prods",_ref.getField(false, "_p_prods"),"p_prodsVariables",_ref.getField(false, "_p_prodsvariables"),"p_prodsVariables2",_ref.getField(false, "_p_prodsvariables2"),"p_promociones",_ref.getField(false, "_p_promociones"),"prodsCants",_ref.getField(false, "_prodscants"),"prodsCants2",_ref.getField(false, "_prodscants2"),"prodsFijosTot",_ref.getField(false, "_prodsfijostot"),"prodsIds",_ref.getField(false, "_prodsids"),"prodsIds2",_ref.getField(false, "_prodsids2"),"prodsPedidoActual",_ref.getField(false, "_prodspedidoactual"),"prodsPrecios",_ref.getField(false, "_prodsprecios"),"prodsPrecios2",_ref.getField(false, "_prodsprecios2"),"prodsVar1",_ref.getField(false, "_prodsvar1"),"prodsVar2",_ref.getField(false, "_prodsvar2"),"prodsVarReq",_ref.getField(false, "_prodsvarreq"),"prodsVarReq_",_ref.getField(false, "_prodsvarreq_"),"prodsVarReq2",_ref.getField(false, "_prodsvarreq2"),"prodsVarReq2_",_ref.getField(false, "_prodsvarreq2_"),"promosMap",_ref.getField(false, "_promosmap"),"Root",_ref.getField(false, "_root"),"su",_ref.getField(false, "_su"),"totalCompra",_ref.getField(false, "_totalcompra"),"totalProds",_ref.getField(false, "_totalprods"),"tpf",_ref.getField(false, "_tpf"),"tpf2",_ref.getField(false, "_tpf2"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_promos_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_promos_subs_0.java new file mode 100644 index 0000000..90c848d --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_promos_subs_0.java @@ -0,0 +1,1685 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_promos_subs_0 { + + +public static RemoteObject _agregafijosalista(RemoteObject __ref,RemoteObject _mp,RemoteObject _addlistitem) throws Exception{ +try { + Debug.PushSubsStack("agregaFijosALista (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,216); +if (RapidSub.canDelegate("agregafijosalista")) { return __ref.runUserSub(false, "c_promos","agregafijosalista", __ref, _mp, _addlistitem);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _cont = RemoteObject.createImmutable(0); +RemoteObject _pf = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _p = RemoteObject.createImmutable(""); +RemoteObject _tpi = RemoteObject.createImmutable(""); +RemoteObject _tpr = RemoteObject.createImmutable(""); +RemoteObject _ntpi = RemoteObject.createImmutable(0); +Debug.locals.put("mp", _mp); +Debug.locals.put("addListItem", _addlistitem); + BA.debugLineNum = 216;BA.debugLine="Sub agregaFijosALista(mp As Map, addListItem As Bo"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 217;BA.debugLine="Private thisLog As Boolean = False"; +Debug.ShouldStop(16777216); +_thislog = c_promos.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 218;BA.debugLine="Private cont As Int = 0"; +Debug.ShouldStop(33554432); +_cont = BA.numberCast(int.class, 0);Debug.locals.put("cont", _cont);Debug.locals.put("cont", _cont); + BA.debugLineNum = 219;BA.debugLine="prodsFijosTot = 0"; +Debug.ShouldStop(67108864); +__ref.setField ("_prodsfijostot" /*RemoteObject*/ ,BA.numberCast(float.class, 0)); + BA.debugLineNum = 220;BA.debugLine="Dim pf As List = mp.Get(\"prodsFijos\")"; +Debug.ShouldStop(134217728); +_pf = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_pf = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijos")))));Debug.locals.put("pf", _pf);Debug.locals.put("pf", _pf); + BA.debugLineNum = 221;BA.debugLine="If pf.Size < 1 Then pf.Add(\"Sin productos fijos.\""; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("<",_pf.runMethod(true,"getSize"),BA.numberCast(double.class, 1))) { +_pf.runVoidMethod ("Add",(Object)((RemoteObject.createImmutable("Sin productos fijos."))));}; + BA.debugLineNum = 225;BA.debugLine="prodsIds.clear"; +Debug.ShouldStop(1); +__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 226;BA.debugLine="prodsCants.clear"; +Debug.ShouldStop(2); +__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 227;BA.debugLine="prodsPrecios.clear"; +Debug.ShouldStop(4); +__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 228;BA.debugLine="prodsIds.Add(estaPromo)"; +Debug.ShouldStop(8); +__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((__ref.getField(true,"_estapromo" /*RemoteObject*/ )))); + BA.debugLineNum = 229;BA.debugLine="prodsCants.Add(et_promoCant.text.As(Int))"; +Debug.ShouldStop(16); +__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(((BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))))); + BA.debugLineNum = 230;BA.debugLine="prodsPrecios.Add(0)"; +Debug.ShouldStop(32); +__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(RemoteObject.createImmutable((0)))); + BA.debugLineNum = 231;BA.debugLine="For Each p As String In pf"; +Debug.ShouldStop(64); +{ +final RemoteObject group12 = _pf; +final int groupLen12 = group12.runMethod(true,"getSize").get() +;int index12 = 0; +; +for (; index12 < groupLen12;index12++){ +_p = BA.ObjectToString(group12.runMethod(false,"Get",index12));Debug.locals.put("p", _p); +Debug.locals.put("p", _p); + BA.debugLineNum = 233;BA.debugLine="If mp.Get(\"prodsFijosPiezas\").As(List).Size > 0"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))))).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 234;BA.debugLine="Private tpi As String = mp.Get(\"prodsFijosPieza"; +Debug.ShouldStop(512); +_tpi = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))))).runMethod(false,"Get",(Object)(_cont)));Debug.locals.put("tpi", _tpi);Debug.locals.put("tpi", _tpi); + }else { + BA.debugLineNum = 236;BA.debugLine="Private tpi As String = 0"; +Debug.ShouldStop(2048); +_tpi = BA.NumberToString(0);Debug.locals.put("tpi", _tpi);Debug.locals.put("tpi", _tpi); + }; + BA.debugLineNum = 238;BA.debugLine="If mp.Get(\"prodsFijosPrecios\").As(List).Size > 0"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",(RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPrecios")))))).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 239;BA.debugLine="Private tpr As String = mp.Get(\"prodsFijosPreci"; +Debug.ShouldStop(16384); +_tpr = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPrecios")))))).runMethod(false,"Get",(Object)(_cont)));Debug.locals.put("tpr", _tpr);Debug.locals.put("tpr", _tpr); + }else { + BA.debugLineNum = 241;BA.debugLine="Private tpr As String = 0"; +Debug.ShouldStop(65536); +_tpr = BA.NumberToString(0);Debug.locals.put("tpr", _tpr);Debug.locals.put("tpr", _tpr); + }; + BA.debugLineNum = 243;BA.debugLine="prodsFijosTot = prodsFijosTot + (tpi * tpr)"; +Debug.ShouldStop(262144); +__ref.setField ("_prodsfijostot" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsfijostot" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _tpi),BA.numberCast(double.class, _tpr)}, "*",0, 0))}, "+",1, 0))); + BA.debugLineNum = 244;BA.debugLine="If thisLog Then Log(\"|\"&tpi&\"|\"&p)"; +Debug.ShouldStop(524288); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521168156",RemoteObject.concat(RemoteObject.createImmutable("|"),_tpi,RemoteObject.createImmutable("|"),_p),0);}; + BA.debugLineNum = 245;BA.debugLine="Private ntpi As Int = tpi * et_promoCant.text"; +Debug.ShouldStop(1048576); +_ntpi = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _tpi),BA.numberCast(double.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText"))}, "*",0, 0));Debug.locals.put("ntpi", _ntpi);Debug.locals.put("ntpi", _ntpi); + BA.debugLineNum = 246;BA.debugLine="If addListItem And tpi > 0 Then lv_prodsFijos.Ad"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(".",_addlistitem) && RemoteObject.solveBoolean(">",BA.numberCast(double.class, _tpi),BA.numberCast(double.class, 0))) { +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runVoidMethod ("AddSingleLine",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(_ntpi,RemoteObject.createImmutable(" "),c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_p)),RemoteObject.createImmutable(" - $"),_tpr))));}; + BA.debugLineNum = 247;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 = 250;BA.debugLine="prodsIds.Add(p)"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_p))); + BA.debugLineNum = 251;BA.debugLine="prodsCants.Add(tpi.As(Int)*et_promoCant.text.As("; +Debug.ShouldStop(67108864); +__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.solve(new RemoteObject[] {(BA.numberCast(int.class, _tpi)),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))); + BA.debugLineNum = 252;BA.debugLine="prodsPrecios.Add(tpr) '*et_promoCant.text.As(Int"; +Debug.ShouldStop(134217728); +__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_tpr))); + } +}Debug.locals.put("p", _p); +; + 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 _b_continuar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_continuar_Click (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,556); +if (RapidSub.canDelegate("b_continuar_click")) { return __ref.runUserSub(false, "c_promos","b_continuar_click", __ref);} +int _t = 0; +RemoteObject _pn = RemoteObject.createImmutable(""); +RemoteObject _prodspage = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_productos"); + BA.debugLineNum = 556;BA.debugLine="Private Sub b_continuar_Click"; +Debug.ShouldStop(2048); + BA.debugLineNum = 557;BA.debugLine="cuentaProds"; +Debug.ShouldStop(4096); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 558;BA.debugLine="Log(\"============================================"; +Debug.ShouldStop(8192); +c_promos.__c.runVoidMethod ("LogImpl","522020098",RemoteObject.createImmutable("===================================================================="),0); + BA.debugLineNum = 559;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro"; +Debug.ShouldStop(16384); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_t = 0 ; +for (;(step3 > 0 && _t <= limit3) || (step3 < 0 && _t >= limit3) ;_t = ((int)(0 + _t + step3)) ) { +Debug.locals.put("t", _t); + BA.debugLineNum = 560;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +Debug.ShouldStop(32768); +_pn = c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))));Debug.locals.put("pn", _pn);Debug.locals.put("pn", _pn); + BA.debugLineNum = 561;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsPr"; +Debug.ShouldStop(65536); +c_promos._subs.runVoidMethod ("_guardaproductosingestion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(BA.ObjectToString(__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(_pn),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),(Object)(BA.NumberToString(0)),(Object)(c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0))); + } +}Debug.locals.put("t", _t); +; + BA.debugLineNum = 563;BA.debugLine="For t = 0 To prodsIds2.Size - 1 'Guardamos los pr"; +Debug.ShouldStop(262144); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_t = 0 ; +for (;(step7 > 0 && _t <= limit7) || (step7 < 0 && _t >= limit7) ;_t = ((int)(0 + _t + step7)) ) { +Debug.locals.put("t", _t); + BA.debugLineNum = 564;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +Debug.ShouldStop(524288); +_pn = c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))));Debug.locals.put("pn", _pn);Debug.locals.put("pn", _pn); + BA.debugLineNum = 565;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsPr"; +Debug.ShouldStop(1048576); +c_promos._subs.runVoidMethod ("_guardaproductosingestion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(BA.ObjectToString(__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(_pn),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),(Object)(BA.NumberToString(0)),(Object)(c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0))); + } +}Debug.locals.put("t", _t); +; + BA.debugLineNum = 579;BA.debugLine="lv_prodsFijos.Clear"; +Debug.ShouldStop(4); +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 582;BA.debugLine="Private prodspage As C_Productos"; +Debug.ShouldStop(32); +_prodspage = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_productos");Debug.locals.put("prodspage", _prodspage); + BA.debugLineNum = 583;BA.debugLine="If prodspage.IsInitialized Then"; +Debug.ShouldStop(64); +if (_prodspage.runMethod(true,"IsInitialized" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 584;BA.debugLine="prodspage.lv_catalogos.Visible = True"; +Debug.ShouldStop(128); +_prodspage.getField(false,"_lv_catalogos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"True")); + BA.debugLineNum = 585;BA.debugLine="prodspage.lv_promos.Visible = False"; +Debug.ShouldStop(256); +_prodspage.getField(false,"_lv_promos" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + BA.debugLineNum = 586;BA.debugLine="prodspage.clv_productos.AsView.Visible = False"; +Debug.ShouldStop(512); +_prodspage.getField(false,"_clv_productos" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + }; + BA.debugLineNum = 588;BA.debugLine="B4XPages.MainPage.bTerminarClicked = True"; +Debug.ShouldStop(2048); +c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_bterminarclicked" /*RemoteObject*/ ,c_promos.__c.getField(true,"True")); + BA.debugLineNum = 589;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(4096); +c_promos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + 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 _b_prodmas_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMas_Click (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,321); +if (RapidSub.canDelegate("b_prodmas_click")) { return __ref.runUserSub(false, "c_promos","b_prodmas_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _prodid = RemoteObject.createImmutable(""); +RemoteObject _tmpmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 321;BA.debugLine="Sub b_prodMas_Click"; +Debug.ShouldStop(1); + BA.debugLineNum = 322;BA.debugLine="If prodsVar1 < prodsVarReq Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_prodsvar1" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_prodsvarreq" /*RemoteObject*/ )))) { + BA.debugLineNum = 323;BA.debugLine="Dim index As Int = clv_prodsVariabes.GetItemFrom"; +Debug.ShouldStop(4); +_index = __ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_promos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 324;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel"; +Debug.ShouldStop(8); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 325;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 = 327;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4"; +Debug.ShouldStop(64); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 330;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.T"; +Debug.ShouldStop(512); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_promos.__c.runMethod(false, "ArrayToList", (Object)(c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag"))))));Debug.locals.put("esteTag", _estetag);Debug.locals.put("esteTag", _estetag); + BA.debugLineNum = 332;BA.debugLine="If laCant.Text + 1 <= esteTag.get(1) Then"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("k",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))))) { + BA.debugLineNum = 333;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text+1}\"$"; +Debug.ShouldStop(4096); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 334;BA.debugLine="cuentaProds"; +Debug.ShouldStop(8192); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + }; + BA.debugLineNum = 338;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laC"; +Debug.ShouldStop(131072); +_precio = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 340;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laC"; +Debug.ShouldStop(524288); +_prodid = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 2));Debug.locals.put("prodId", _prodid);Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 341;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":preci"; +Debug.ShouldStop(1048576); +_tmpmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap = c_promos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("precio")),(_precio),RemoteObject.createImmutable(("cant")),(_lacant.runMethod(true,"getText")),RemoteObject.createImmutable(("almacen")),(__ref.getField(true,"_estapromo" /*RemoteObject*/ ))}));Debug.locals.put("tmpMap", _tmpmap);Debug.locals.put("tmpMap", _tmpmap); + BA.debugLineNum = 343;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((_prodid)),(Object)((_tmpmap.getObject()))); + }; + 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_prodmas2_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMas2_Click (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,376); +if (RapidSub.canDelegate("b_prodmas2_click")) { return __ref.runUserSub(false, "c_promos","b_prodmas2_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _prodid = RemoteObject.createImmutable(""); +RemoteObject _tmpmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 376;BA.debugLine="Sub b_prodMas2_Click"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 378;BA.debugLine="If prodsVar2 < prodsVarReq2 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_prodsvar2" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_prodsvarreq2" /*RemoteObject*/ )))) { + BA.debugLineNum = 379;BA.debugLine="Dim index As Int = clv_prodsVariabes2.GetItemFro"; +Debug.ShouldStop(67108864); +_index = __ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_promos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 380;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes2.GetPane"; +Debug.ShouldStop(134217728); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 381;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(268435456); +_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 = 383;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4"; +Debug.ShouldStop(1073741824); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 386;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.T"; +Debug.ShouldStop(2); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_promos.__c.runMethod(false, "ArrayToList", (Object)(c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag"))))));Debug.locals.put("esteTag", _estetag);Debug.locals.put("esteTag", _estetag); + BA.debugLineNum = 388;BA.debugLine="If laCant.Text + 1 <= esteTag.get(1) Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("k",RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))))) { + BA.debugLineNum = 389;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text+1}\"$"; +Debug.ShouldStop(16); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "+",1, 0)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 390;BA.debugLine="cuentaProds"; +Debug.ShouldStop(32); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + }; + BA.debugLineNum = 394;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laC"; +Debug.ShouldStop(512); +_precio = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 396;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laC"; +Debug.ShouldStop(2048); +_prodid = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 2));Debug.locals.put("prodId", _prodid);Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 397;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":preci"; +Debug.ShouldStop(4096); +_tmpmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap = c_promos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("precio")),(_precio),RemoteObject.createImmutable(("cant")),(_lacant.runMethod(true,"getText")),RemoteObject.createImmutable(("almacen")),(__ref.getField(true,"_estapromo" /*RemoteObject*/ ))}));Debug.locals.put("tmpMap", _tmpmap);Debug.locals.put("tmpMap", _tmpmap); + BA.debugLineNum = 399;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +Debug.ShouldStop(16384); +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((_prodid)),(Object)((_tmpmap.getObject()))); + }; + BA.debugLineNum = 405;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_prodmenos_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMenos_Click (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,297); +if (RapidSub.canDelegate("b_prodmenos_click")) { return __ref.runUserSub(false, "c_promos","b_prodmenos_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _prodid = RemoteObject.createImmutable(""); +RemoteObject _tmpmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 297;BA.debugLine="Sub b_prodMenos_Click"; +Debug.ShouldStop(256); + BA.debugLineNum = 298;BA.debugLine="Dim index As Int = clv_prodsVariabes.GetItemFromV"; +Debug.ShouldStop(512); +_index = __ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_promos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 299;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel("; +Debug.ShouldStop(1024); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 300;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +Debug.ShouldStop(2048); +_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 = 302;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4)"; +Debug.ShouldStop(8192); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 304;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +Debug.ShouldStop(32768); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "-",1, 0)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 305;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +Debug.ShouldStop(65536); +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 = 308;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laCa"; +Debug.ShouldStop(524288); +_precio = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 310;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laCa"; +Debug.ShouldStop(2097152); +_prodid = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 2));Debug.locals.put("prodId", _prodid);Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 311;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +Debug.ShouldStop(4194304); +_tmpmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap = c_promos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("precio")),(_precio),RemoteObject.createImmutable(("cant")),(_lacant.runMethod(true,"getText")),RemoteObject.createImmutable(("almacen")),(__ref.getField(true,"_estapromo" /*RemoteObject*/ ))}));Debug.locals.put("tmpMap", _tmpmap);Debug.locals.put("tmpMap", _tmpmap); + BA.debugLineNum = 313;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((_prodid)),(Object)((_tmpmap.getObject()))); + BA.debugLineNum = 314;BA.debugLine="If laCant.Text = 0 Then promosMap.Remove(prodId)"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.NumberToString(0))) { +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)((_prodid)));}; + BA.debugLineNum = 316;BA.debugLine="cuentaProds"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + 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_prodmenos2_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_prodMenos2_Click (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,352); +if (RapidSub.canDelegate("b_prodmenos2_click")) { return __ref.runUserSub(false, "c_promos","b_prodmenos2_click", __ref);} +RemoteObject _index = RemoteObject.createImmutable(0); +RemoteObject _pnl0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _lacant = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _precio = RemoteObject.createImmutable(""); +RemoteObject _prodid = RemoteObject.createImmutable(""); +RemoteObject _tmpmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 352;BA.debugLine="Sub b_prodMenos2_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 353;BA.debugLine="Dim index As Int = clv_prodsVariabes2.GetItemFrom"; +Debug.ShouldStop(1); +_index = __ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(true,"_getitemfromview",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), c_promos.__c.runMethod(false,"Sender",__ref.getField(false, "ba"))));Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 354;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes2.GetPanel"; +Debug.ShouldStop(2); +_pnl0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_pnl0 = __ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(_index));Debug.locals.put("pnl0", _pnl0);Debug.locals.put("pnl0", _pnl0); + BA.debugLineNum = 355;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 = 357;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4)"; +Debug.ShouldStop(16); +_lacant = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_lacant = _pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("laCant", _lacant);Debug.locals.put("laCant", _lacant); + BA.debugLineNum = 359;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; +Debug.ShouldStop(64); +_lacant.runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _lacant.runMethod(true,"getText")),RemoteObject.createImmutable(1)}, "-",1, 0)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 360;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +Debug.ShouldStop(128); +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 = 363;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laCa"; +Debug.ShouldStop(1024); +_precio = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 0));Debug.locals.put("precio", _precio);Debug.locals.put("precio", _precio); + BA.debugLineNum = 365;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laCa"; +Debug.ShouldStop(4096); +_prodid = c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_lacant.runMethod(false,"getTag")))).getArrayElement(true,BA.numberCast(int.class, 2));Debug.locals.put("prodId", _prodid);Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 366;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +Debug.ShouldStop(8192); +_tmpmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_tmpmap = c_promos.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("precio")),(_precio),RemoteObject.createImmutable(("cant")),(_lacant.runMethod(true,"getText")),RemoteObject.createImmutable(("almacen")),(__ref.getField(true,"_estapromo" /*RemoteObject*/ ))}));Debug.locals.put("tmpMap", _tmpmap);Debug.locals.put("tmpMap", _tmpmap); + BA.debugLineNum = 368;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +Debug.ShouldStop(32768); +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)((_prodid)),(Object)((_tmpmap.getObject()))); + BA.debugLineNum = 369;BA.debugLine="If laCant.Text = 0 Then promosMap.Remove(prodId)"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_lacant.runMethod(true,"getText"),BA.NumberToString(0))) { +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Remove",(Object)((_prodid)));}; + BA.debugLineNum = 371;BA.debugLine="cuentaProds"; +Debug.ShouldStop(262144); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 374;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_promomas_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_promoMas_Click (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,512); +if (RapidSub.canDelegate("b_promomas_click")) { return __ref.runUserSub(false, "c_promos","b_promomas_click", __ref);} + BA.debugLineNum = 512;BA.debugLine="Private Sub b_promoMas_Click"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 513;BA.debugLine="If et_promoCant.Text < maxCantPromos Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(true,"_maxcantpromos" /*RemoteObject*/ )))) { + BA.debugLineNum = 514;BA.debugLine="et_promoCant.Text = et_promoCant.Text.As(Int) +"; +Debug.ShouldStop(2); +__ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText"))),RemoteObject.createImmutable(1)}, "+",1, 1))); + BA.debugLineNum = 515;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 *"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_prodsfijos" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos fijos ("),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_tpf2" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(")"))))); + BA.debugLineNum = 516;BA.debugLine="l_prodsVariables.Text = $\"Productos variables re"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 517;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables2 requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq2_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 518;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; +Debug.ShouldStop(32); +__ref.setField ("_tpf" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_tpf2" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 519;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.A"; +Debug.ShouldStop(64); +__ref.setField ("_prodsvarreq" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 520;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text"; +Debug.ShouldStop(128); +__ref.setField ("_prodsvarreq2" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq2_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 521;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, P"; +Debug.ShouldStop(256); +c_promos.__c.runVoidMethod ("LogImpl","521889033",(RemoteObject.concat(RemoteObject.createImmutable("Max promos="),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))))),RemoteObject.createImmutable(", Prods fijos="),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_tpf" /*RemoteObject*/ )))),RemoteObject.createImmutable(", "))),0); + }; + BA.debugLineNum = 523;BA.debugLine="If et_promoCant.text > maxCantPromos Then et_prom"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(true,"_maxcantpromos" /*RemoteObject*/ )))) { +__ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_maxcantpromos" /*RemoteObject*/ )));}; + BA.debugLineNum = 524;BA.debugLine="cuentaProds"; +Debug.ShouldStop(2048); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 525;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_promomenos_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_promoMenos_Click (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,498); +if (RapidSub.canDelegate("b_promomenos_click")) { return __ref.runUserSub(false, "c_promos","b_promomenos_click", __ref);} + BA.debugLineNum = 498;BA.debugLine="Private Sub b_promoMenos_Click"; +Debug.ShouldStop(131072); + BA.debugLineNum = 499;BA.debugLine="If et_promoCant.Text > 1 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 500;BA.debugLine="et_promoCant.Text = et_promoCant.Text.As(Int) -"; +Debug.ShouldStop(524288); +__ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(RemoteObject.solve(new RemoteObject[] {(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText"))),RemoteObject.createImmutable(1)}, "-",1, 1))); + }; + BA.debugLineNum = 502;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 * e"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_l_prodsfijos" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos fijos ("),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_tpf2" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(")"))))); + BA.debugLineNum = 503;BA.debugLine="l_prodsVariables.Text = $\"Productos variables req"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_l_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 504;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2 r"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables2 requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq2_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 505;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; +Debug.ShouldStop(16777216); +__ref.setField ("_tpf" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_tpf2" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 506;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.As"; +Debug.ShouldStop(33554432); +__ref.setField ("_prodsvarreq" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 507;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text."; +Debug.ShouldStop(67108864); +__ref.setField ("_prodsvarreq2" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq2_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 508;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, Pr"; +Debug.ShouldStop(134217728); +c_promos.__c.runVoidMethod ("LogImpl","521823498",(RemoteObject.concat(RemoteObject.createImmutable("Max promos="),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))))),RemoteObject.createImmutable(", Prods fijos="),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_tpf" /*RemoteObject*/ )))),RemoteObject.createImmutable(", "))),0); + BA.debugLineNum = 509;BA.debugLine="cuentaProds"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 510;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_terminar1_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_terminar1_Click (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,527); +if (RapidSub.canDelegate("b_terminar1_click")) { return __ref.runUserSub(false, "c_promos","b_terminar1_click", __ref);} +int _t = 0; +RemoteObject _pn = RemoteObject.createImmutable(""); + BA.debugLineNum = 527;BA.debugLine="Private Sub b_terminar1_Click"; +Debug.ShouldStop(16384); + BA.debugLineNum = 528;BA.debugLine="cuentaProds"; +Debug.ShouldStop(32768); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 529;BA.debugLine="Log(\"============================================"; +Debug.ShouldStop(65536); +c_promos.__c.runVoidMethod ("LogImpl","521954562",RemoteObject.createImmutable("===================================================================="),0); + BA.debugLineNum = 530;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro"; +Debug.ShouldStop(131072); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_t = 0 ; +for (;(step3 > 0 && _t <= limit3) || (step3 < 0 && _t >= limit3) ;_t = ((int)(0 + _t + step3)) ) { +Debug.locals.put("t", _t); + BA.debugLineNum = 531;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +Debug.ShouldStop(262144); +_pn = c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))));Debug.locals.put("pn", _pn);Debug.locals.put("pn", _pn); + BA.debugLineNum = 532;BA.debugLine="If prodsCants.Get(t) > 0 Then Subs.guardaProduct"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t)))),BA.numberCast(double.class, 0))) { +c_promos._subs.runVoidMethod ("_guardaproductosingestion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(BA.ObjectToString(__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(_pn),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),(Object)(BA.NumberToString(0)),(Object)(c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0)));}; + } +}Debug.locals.put("t", _t); +; + BA.debugLineNum = 534;BA.debugLine="For t = 0 To prodsIds2.Size - 1 'Guardamos los pr"; +Debug.ShouldStop(2097152); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_t = 0 ; +for (;(step7 > 0 && _t <= limit7) || (step7 < 0 && _t >= limit7) ;_t = ((int)(0 + _t + step7)) ) { +Debug.locals.put("t", _t); + BA.debugLineNum = 535;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +Debug.ShouldStop(4194304); +_pn = c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))));Debug.locals.put("pn", _pn);Debug.locals.put("pn", _pn); + BA.debugLineNum = 536;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsPr"; +Debug.ShouldStop(8388608); +c_promos._subs.runVoidMethod ("_guardaproductosingestion" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(BA.ObjectToString(__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(_pn),(Object)(BA.ObjectToString(__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _t))))),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traefecha" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeusuariodebd" /*RemoteObject*/ ,__ref.getField(false, "ba"))),(Object)(c_promos._subs.runMethod(true,"_traeruta" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(c_promos._subs.runMethod(true,"_traecliente" /*RemoteObject*/ ,__ref.getField(false, "ba"))))),(Object)(BA.NumberToString(0)),(Object)(c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(true,"_tipo_venta" /*RemoteObject*/ )),(Object)(BA.NumberToString(0)),(Object)(BA.NumberToString(0))); + } +}Debug.locals.put("t", _t); +; + BA.debugLineNum = 550;BA.debugLine="lv_prodsFijos.Clear"; +Debug.ShouldStop(32); +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 551;BA.debugLine="B4XPages.MainPage.bTerminarClicked = True"; +Debug.ShouldStop(64); +c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).setField ("_bterminarclicked" /*RemoteObject*/ ,c_promos.__c.getField(true,"True")); + BA.debugLineNum = 552;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +Debug.ShouldStop(128); +c_promos._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("productos"))); + BA.debugLineNum = 553;BA.debugLine="B4XPages.MainPage.productos.b_terminar1_Click"; +Debug.ShouldStop(256); +c_promos._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_productos" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.c_productos.class, "_b_terminar1_click" /*RemoteObject*/ ); + BA.debugLineNum = 554;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_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,68); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_promos","b4xpage_appear", __ref);} +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); + BA.debugLineNum = 68;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(8); + BA.debugLineNum = 70;BA.debugLine="prodsIds.Initialize"; +Debug.ShouldStop(32); +__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 71;BA.debugLine="prodsCants.Initialize"; +Debug.ShouldStop(64); +__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 72;BA.debugLine="prodsPrecios.Initialize"; +Debug.ShouldStop(128); +__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 73;BA.debugLine="prodsIds2.Initialize"; +Debug.ShouldStop(256); +__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 74;BA.debugLine="prodsCants2.Initialize"; +Debug.ShouldStop(512); +__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 75;BA.debugLine="prodsPrecios2.Initialize"; +Debug.ShouldStop(1024); +__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 76;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; +Debug.ShouldStop(2048); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = c_promos._subs.runMethod(false,"_traetotalesclienteactual" /*RemoteObject*/ ,__ref.getField(false, "ba"));Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 77;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; +Debug.ShouldStop(4096); +__ref.setField ("_prodspedidoactual" /*RemoteObject*/ ,BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("productos")))))); + BA.debugLineNum = 78;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; +Debug.ShouldStop(8192); +__ref.setField ("_montopedidoactual" /*RemoteObject*/ ,BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("monto")))))); + BA.debugLineNum = 80;BA.debugLine="If laPromo <> \"\" Then muestraPromo(laPromo, elCli"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_lapromo" /*RemoteObject*/ ),BA.ObjectToString(""))) { +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_muestrapromo" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_lapromo" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_elcliente" /*RemoteObject*/ )));}; + 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 _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,53); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_promos","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 53;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 54;BA.debugLine="Root = Root1"; +Debug.ShouldStop(2097152); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 56;BA.debugLine="Root.LoadLayout(\"promociones\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("promociones")),__ref.getField(false, "ba")); + BA.debugLineNum = 58;BA.debugLine="p_promociones.Height= Root.Height"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_p_promociones" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 59;BA.debugLine="p_promociones.Width= Root.Width"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_p_promociones" /*RemoteObject*/ ).runMethod(true,"setWidth",__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth")); + BA.debugLineNum = 61;BA.debugLine="promosMap.Initialize"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_promosmap" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 62;BA.debugLine="p_promociones.Top=0"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_p_promociones" /*RemoteObject*/ ).runMethod(true,"setTop",BA.numberCast(int.class, 0)); + BA.debugLineNum = 63;BA.debugLine="p_promociones.Left=0"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_p_promociones" /*RemoteObject*/ ).runMethod(true,"setLeft",BA.numberCast(int.class, 0)); + BA.debugLineNum = 64;BA.debugLine="b_terminar1.Left = Root.Width - (b_terminar1.Widt"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_b_terminar1" /*RemoteObject*/ ).runMethod(true,"setLeft",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_b_terminar1" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(10)}, "+",1, 1))}, "-",1, 1)); + BA.debugLineNum = 65;BA.debugLine="b_continuar.Left = Root.Width - b_terminar1.Width"; +Debug.ShouldStop(1); +__ref.getField(false,"_b_continuar" /*RemoteObject*/ ).runMethod(true,"setLeft",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_root" /*RemoteObject*/ ).runMethod(true,"getWidth"),__ref.getField(false,"_b_terminar1" /*RemoteObject*/ ).runMethod(true,"getWidth"),(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_b_continuar" /*RemoteObject*/ ).runMethod(true,"getWidth"),RemoteObject.createImmutable(20)}, "+",1, 1))}, "--",2, 1)); + BA.debugLineNum = 66;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +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_promos._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_promos._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI"; +c_promos._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_promos._xui); + //BA.debugLineNum = 4;BA.debugLine="Private l_promoDesc As Label"; +c_promos._l_promodesc = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_promodesc",c_promos._l_promodesc); + //BA.debugLineNum = 5;BA.debugLine="Private lv_prodsFijos As ListView"; +c_promos._lv_prodsfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_lv_prodsfijos",c_promos._lv_prodsfijos); + //BA.debugLineNum = 6;BA.debugLine="Private clv_prodsVariabes, clv_prodsVariabes2 As"; +c_promos._clv_prodsvariabes = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_prodsvariabes",c_promos._clv_prodsvariabes); +c_promos._clv_prodsvariabes2 = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_clv_prodsvariabes2",c_promos._clv_prodsvariabes2); + //BA.debugLineNum = 7;BA.debugLine="Private l_prodsFijos As Label"; +c_promos._l_prodsfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prodsfijos",c_promos._l_prodsfijos); + //BA.debugLineNum = 8;BA.debugLine="Private l_prodsVariables, l_prodsVariables2 As La"; +c_promos._l_prodsvariables = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prodsvariables",c_promos._l_prodsvariables); +c_promos._l_prodsvariables2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prodsvariables2",c_promos._l_prodsvariables2); + //BA.debugLineNum = 9;BA.debugLine="Private i_prod As ImageView"; +c_promos._i_prod = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper");__ref.setField("_i_prod",c_promos._i_prod); + //BA.debugLineNum = 10;BA.debugLine="Private l_prodX As Label"; +c_promos._l_prodx = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_prodx",c_promos._l_prodx); + //BA.debugLineNum = 11;BA.debugLine="Private p_prods As Panel"; +c_promos._p_prods = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_prods",c_promos._p_prods); + //BA.debugLineNum = 12;BA.debugLine="Private b_prodMenos, b_prodMenos2 As Button"; +c_promos._b_prodmenos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmenos",c_promos._b_prodmenos); +c_promos._b_prodmenos2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmenos2",c_promos._b_prodmenos2); + //BA.debugLineNum = 13;BA.debugLine="Private et_pCant As EditText"; +c_promos._et_pcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_pcant",c_promos._et_pcant); + //BA.debugLineNum = 14;BA.debugLine="Private b_prodMas, b_prodMas2 As Button"; +c_promos._b_prodmas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmas",c_promos._b_prodmas); +c_promos._b_prodmas2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_prodmas2",c_promos._b_prodmas2); + //BA.debugLineNum = 15;BA.debugLine="Private l_pCant As Label"; +c_promos._l_pcant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_pcant",c_promos._l_pcant); + //BA.debugLineNum = 16;BA.debugLine="Dim totalProds As Int = 0"; +c_promos._totalprods = BA.numberCast(int.class, 0);__ref.setField("_totalprods",c_promos._totalprods); + //BA.debugLineNum = 17;BA.debugLine="Dim prodsVar1 As Int = 0"; +c_promos._prodsvar1 = BA.numberCast(int.class, 0);__ref.setField("_prodsvar1",c_promos._prodsvar1); + //BA.debugLineNum = 18;BA.debugLine="Dim prodsVar2 As Int = 0"; +c_promos._prodsvar2 = BA.numberCast(int.class, 0);__ref.setField("_prodsvar2",c_promos._prodsvar2); + //BA.debugLineNum = 19;BA.debugLine="Dim prodsVarReq As Int = 0"; +c_promos._prodsvarreq = BA.numberCast(int.class, 0);__ref.setField("_prodsvarreq",c_promos._prodsvarreq); + //BA.debugLineNum = 20;BA.debugLine="Dim prodsVarReq_ As Int = 0"; +c_promos._prodsvarreq_ = BA.numberCast(int.class, 0);__ref.setField("_prodsvarreq_",c_promos._prodsvarreq_); + //BA.debugLineNum = 21;BA.debugLine="Dim prodsVarReq2 As Int = 0"; +c_promos._prodsvarreq2 = BA.numberCast(int.class, 0);__ref.setField("_prodsvarreq2",c_promos._prodsvarreq2); + //BA.debugLineNum = 22;BA.debugLine="Dim prodsVarReq2_ As Int = 0"; +c_promos._prodsvarreq2_ = BA.numberCast(int.class, 0);__ref.setField("_prodsvarreq2_",c_promos._prodsvarreq2_); + //BA.debugLineNum = 23;BA.debugLine="Dim totalCompra As Float = 0"; +c_promos._totalcompra = BA.numberCast(float.class, 0);__ref.setField("_totalcompra",c_promos._totalcompra); + //BA.debugLineNum = 24;BA.debugLine="Dim prodsFijosTot As Float = 0"; +c_promos._prodsfijostot = BA.numberCast(float.class, 0);__ref.setField("_prodsfijostot",c_promos._prodsfijostot); + //BA.debugLineNum = 25;BA.debugLine="Dim tpf As Int = 0"; +c_promos._tpf = BA.numberCast(int.class, 0);__ref.setField("_tpf",c_promos._tpf); + //BA.debugLineNum = 26;BA.debugLine="Dim tpf2 As Int = 0"; +c_promos._tpf2 = BA.numberCast(int.class, 0);__ref.setField("_tpf2",c_promos._tpf2); + //BA.debugLineNum = 27;BA.debugLine="Dim maxCantPromos As Int = 1"; +c_promos._maxcantpromos = BA.numberCast(int.class, 1);__ref.setField("_maxcantpromos",c_promos._maxcantpromos); + //BA.debugLineNum = 28;BA.debugLine="Private l_totProds As Label"; +c_promos._l_totprods = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_totprods",c_promos._l_totprods); + //BA.debugLineNum = 29;BA.debugLine="Private l_total As Label"; +c_promos._l_total = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_total",c_promos._l_total); + //BA.debugLineNum = 30;BA.debugLine="Private b_terminar1 As Button"; +c_promos._b_terminar1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_terminar1",c_promos._b_terminar1); + //BA.debugLineNum = 31;BA.debugLine="Private p_promociones As Panel"; +c_promos._p_promociones = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_promociones",c_promos._p_promociones); + //BA.debugLineNum = 32;BA.debugLine="Dim prodsIds, prodsCants, prodsPrecios, prodsIds2"; +c_promos._prodsids = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_prodsids",c_promos._prodsids); +c_promos._prodscants = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_prodscants",c_promos._prodscants); +c_promos._prodsprecios = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_prodsprecios",c_promos._prodsprecios); +c_promos._prodsids2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_prodsids2",c_promos._prodsids2); +c_promos._prodscants2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_prodscants2",c_promos._prodscants2); +c_promos._prodsprecios2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_prodsprecios2",c_promos._prodsprecios2); + //BA.debugLineNum = 33;BA.debugLine="Dim estaPromo, esteCliente As String"; +c_promos._estapromo = RemoteObject.createImmutable("");__ref.setField("_estapromo",c_promos._estapromo); +c_promos._estecliente = RemoteObject.createImmutable("");__ref.setField("_estecliente",c_promos._estecliente); + //BA.debugLineNum = 34;BA.debugLine="Private b_promoMas As Button"; +c_promos._b_promomas = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_promomas",c_promos._b_promomas); + //BA.debugLineNum = 35;BA.debugLine="Private b_promoMenos As Button"; +c_promos._b_promomenos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_promomenos",c_promos._b_promomenos); + //BA.debugLineNum = 36;BA.debugLine="Private et_promoCant As EditText"; +c_promos._et_promocant = RemoteObject.createNew ("anywheresoftware.b4a.objects.EditTextWrapper");__ref.setField("_et_promocant",c_promos._et_promocant); + //BA.debugLineNum = 37;BA.debugLine="Private l_promosCant As Label"; +c_promos._l_promoscant = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");__ref.setField("_l_promoscant",c_promos._l_promoscant); + //BA.debugLineNum = 38;BA.debugLine="Private b_continuar As Button"; +c_promos._b_continuar = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_continuar",c_promos._b_continuar); + //BA.debugLineNum = 39;BA.debugLine="Private p_prodsVariables, p_prodsVariables2 As Pa"; +c_promos._p_prodsvariables = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_prodsvariables",c_promos._p_prodsvariables); +c_promos._p_prodsvariables2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_prodsvariables2",c_promos._p_prodsvariables2); + //BA.debugLineNum = 40;BA.debugLine="Dim laPromo = \"\", elCliente = \"\" As String"; +c_promos._lapromo = BA.ObjectToString("");__ref.setField("_lapromo",c_promos._lapromo); +c_promos._elcliente = BA.ObjectToString("");__ref.setField("_elcliente",c_promos._elcliente); + //BA.debugLineNum = 41;BA.debugLine="Dim prodsPedidoActual As String"; +c_promos._prodspedidoactual = RemoteObject.createImmutable("");__ref.setField("_prodspedidoactual",c_promos._prodspedidoactual); + //BA.debugLineNum = 42;BA.debugLine="Dim montoPedidoActual As String"; +c_promos._montopedidoactual = RemoteObject.createImmutable("");__ref.setField("_montopedidoactual",c_promos._montopedidoactual); + //BA.debugLineNum = 43;BA.debugLine="Dim promosMap As Map"; +c_promos._promosmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");__ref.setField("_promosmap",c_promos._promosmap); + //BA.debugLineNum = 44;BA.debugLine="Dim su As StringUtils"; +c_promos._su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils");__ref.setField("_su",c_promos._su); + //BA.debugLineNum = 45;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createlistitem(RemoteObject __ref,RemoteObject _text,RemoteObject _preciou,RemoteObject _inv,RemoteObject _width,RemoteObject _height,RemoteObject _img,RemoteObject _prodid) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,256); +if (RapidSub.canDelegate("createlistitem")) { return __ref.runUserSub(false, "c_promos","createlistitem", __ref, _text, _preciou, _inv, _width, _height, _img, _prodid);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Text", _text); +Debug.locals.put("precioU", _preciou); +Debug.locals.put("inv", _inv); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); +Debug.locals.put("img", _img); +Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 256;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 257;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.ShouldStop(1); +_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 = 258;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.ShouldStop(2); +_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 = 259;BA.debugLine="p.LoadLayout(\"prodItem1\")"; +Debug.ShouldStop(4); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("prodItem1")),__ref.getField(false, "ba")); + BA.debugLineNum = 260;BA.debugLine="l_prodX.TextSize = 15"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 261;BA.debugLine="l_prodX.Text = Text"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_text)); + BA.debugLineNum = 262;BA.debugLine="l_prodX.TextSize = 15"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 265;BA.debugLine="p_prods.height = su.MeasureMultilineTextHeight(l_"; +Debug.ShouldStop(256); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_su" /*RemoteObject*/ ).runMethod(true,"MeasureMultilineTextHeight",(Object)((__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).getObject())),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable(20)}, "+",1, 1)); + BA.debugLineNum = 266;BA.debugLine="If p_prods.Height < Height Then p_prods.Height ="; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getHeight"),BA.numberCast(double.class, _height))) { +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"setHeight",_height);}; + BA.debugLineNum = 267;BA.debugLine="l_prodX.Height = p_prods.Height"; +Debug.ShouldStop(1024); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 268;BA.debugLine="l_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +Debug.ShouldStop(2048); +__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(_preciou,RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid))); + BA.debugLineNum = 269;BA.debugLine="et_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +Debug.ShouldStop(4096); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(_preciou,RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid))); + BA.debugLineNum = 270;BA.debugLine="et_pCant.BringToFront"; +Debug.ShouldStop(8192); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 272;BA.debugLine="p.Height = p_prods.Height"; +Debug.ShouldStop(32768); +_p.runMethod(true,"setHeight",__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 273;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 = 274;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createlistitem2(RemoteObject __ref,RemoteObject _text,RemoteObject _preciou,RemoteObject _inv,RemoteObject _width,RemoteObject _height,RemoteObject _img,RemoteObject _prodid) throws Exception{ +try { + Debug.PushSubsStack("CreateListItem2 (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,276); +if (RapidSub.canDelegate("createlistitem2")) { return __ref.runUserSub(false, "c_promos","createlistitem2", __ref, _text, _preciou, _inv, _width, _height, _img, _prodid);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("Text", _text); +Debug.locals.put("precioU", _preciou); +Debug.locals.put("inv", _inv); +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); +Debug.locals.put("img", _img); +Debug.locals.put("prodId", _prodid); + BA.debugLineNum = 276;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; +Debug.ShouldStop(524288); + BA.debugLineNum = 277;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 = 278;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +Debug.ShouldStop(2097152); +_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 = 279;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +Debug.ShouldStop(4194304); +_p.runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("prodItem2")),__ref.getField(false, "ba")); + BA.debugLineNum = 280;BA.debugLine="l_prodX.TextSize = 15"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 281;BA.debugLine="l_prodX.Text = Text"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_text)); + BA.debugLineNum = 282;BA.debugLine="l_prodX.TextSize = 15"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 285;BA.debugLine="p_prods.height = su.MeasureMultilineTextHeight(l_"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_su" /*RemoteObject*/ ).runMethod(true,"MeasureMultilineTextHeight",(Object)((__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).getObject())),(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"getText")))),RemoteObject.createImmutable(20)}, "+",1, 1)); + BA.debugLineNum = 286;BA.debugLine="If p_prods.Height < Height Then p_prods.Height ="; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getHeight"),BA.numberCast(double.class, _height))) { +__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"setHeight",_height);}; + BA.debugLineNum = 287;BA.debugLine="l_prodX.Height = p_prods.Height"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_l_prodx" /*RemoteObject*/ ).runMethod(true,"setHeight",__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 289;BA.debugLine="l_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(_preciou,RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid))); + BA.debugLineNum = 290;BA.debugLine="et_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +Debug.ShouldStop(2); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runMethod(false,"setTag",(RemoteObject.concat(_preciou,RemoteObject.createImmutable("|"),_inv,RemoteObject.createImmutable("|"),_prodid))); + BA.debugLineNum = 291;BA.debugLine="et_pCant.BringToFront"; +Debug.ShouldStop(4); +__ref.getField(false,"_et_pcant" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 293;BA.debugLine="p.Height = p_prods.Height"; +Debug.ShouldStop(16); +_p.runMethod(true,"setHeight",__ref.getField(false,"_p_prods" /*RemoteObject*/ ).runMethod(true,"getHeight")); + BA.debugLineNum = 294;BA.debugLine="Return p"; +Debug.ShouldStop(32); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.PanelWrapper"), _p.getObject()); + BA.debugLineNum = 295;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cuentaprods(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("cuentaProds (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,413); +if (RapidSub.canDelegate("cuentaprods")) { return __ref.runUserSub(false, "c_promos","cuentaprods", __ref);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _tcpf = RemoteObject.createImmutable(0f); +int _pf = 0; +int _i = 0; +RemoteObject _p0 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _cant1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _estetag = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _cant2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); + BA.debugLineNum = 413;BA.debugLine="Sub cuentaProds"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 416;BA.debugLine="Private thisLog As Boolean = False"; +Debug.ShouldStop(-2147483648); +_thislog = c_promos.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 418;BA.debugLine="prodsIds2.Clear"; +Debug.ShouldStop(2); +__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 419;BA.debugLine="prodsCants2.Clear"; +Debug.ShouldStop(4); +__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 420;BA.debugLine="prodsPrecios2.Clear"; +Debug.ShouldStop(8); +__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 421;BA.debugLine="lv_prodsFijos.Clear"; +Debug.ShouldStop(16); +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 422;BA.debugLine="prodsVar1 = 0"; +Debug.ShouldStop(32); +__ref.setField ("_prodsvar1" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 423;BA.debugLine="prodsVar2 = 0"; +Debug.ShouldStop(64); +__ref.setField ("_prodsvar2" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 424;BA.debugLine="agregaFijosALista(Subs.traePromo(estaPromo, esteC"; +Debug.ShouldStop(128); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_agregafijosalista" /*RemoteObject*/ ,(Object)(c_promos._subs.runMethod(false,"_traepromo" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(true,"_estapromo" /*RemoteObject*/ )),(Object)(__ref.getField(true,"_estecliente" /*RemoteObject*/ )))),(Object)(c_promos.__c.getField(true,"True"))); + BA.debugLineNum = 426;BA.debugLine="Private tcpf As Float = 0 'Total de compra de pro"; +Debug.ShouldStop(512); +_tcpf = BA.numberCast(float.class, 0);Debug.locals.put("tcpf", _tcpf);Debug.locals.put("tcpf", _tcpf); + BA.debugLineNum = 427;BA.debugLine="For pf = 0 To prodsIds.Size - 1"; +Debug.ShouldStop(1024); +{ +final int step10 = 1; +final int limit10 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_prodsids" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_pf = 0 ; +for (;(step10 > 0 && _pf <= limit10) || (step10 < 0 && _pf >= limit10) ;_pf = ((int)(0 + _pf + step10)) ) { +Debug.locals.put("pf", _pf); + BA.debugLineNum = 428;BA.debugLine="If thisLog Then Log($\"${tcpf} + ${prodsCants.Get"; +Debug.ShouldStop(2048); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521692431",(RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tcpf))),RemoteObject.createImmutable(" + "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(__ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pf))))),RemoteObject.createImmutable(" * "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pf))))),RemoteObject.createImmutable(" = "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pf)))),BA.numberCast(double.class, __ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pf))))}, "*",0, 0))))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 429;BA.debugLine="tcpf = tcpf + (prodsPrecios.Get(pf) * prodsCants"; +Debug.ShouldStop(4096); +_tcpf = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_tcpf,(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, __ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pf)))),BA.numberCast(double.class, __ref.getField(false,"_prodscants" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pf))))}, "*",0, 0))}, "+",1, 0));Debug.locals.put("tcpf", _tcpf); + } +}Debug.locals.put("pf", _pf); +; + BA.debugLineNum = 432;BA.debugLine="totalCompra = tcpf"; +Debug.ShouldStop(32768); +__ref.setField ("_totalcompra" /*RemoteObject*/ ,_tcpf); + BA.debugLineNum = 433;BA.debugLine="totalProds = tpf 'Cantidad total de productos fij"; +Debug.ShouldStop(65536); +__ref.setField ("_totalprods" /*RemoteObject*/ ,__ref.getField(true,"_tpf" /*RemoteObject*/ )); + BA.debugLineNum = 435;BA.debugLine="For i = 0 To clv_prodsVariabes.GetSize - 1"; +Debug.ShouldStop(262144); +{ +final int step16 = 1; +final int limit16 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step16 > 0 && _i <= limit16) || (step16 < 0 && _i >= limit16) ;_i = ((int)(0 + _i + step16)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 436;BA.debugLine="Private p0 As B4XView = clv_prodsVariabes.GetPan"; +Debug.ShouldStop(524288); +_p0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p0 = __ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("p0", _p0);Debug.locals.put("p0", _p0); + BA.debugLineNum = 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, 4)));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 = 440;BA.debugLine="totalProds = totalProds + cant1.Text"; +Debug.ShouldStop(8388608); +__ref.setField ("_totalprods" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalprods" /*RemoteObject*/ ),BA.numberCast(double.class, _cant1.runMethod(true,"getText"))}, "+",1, 0))); + BA.debugLineNum = 441;BA.debugLine="prodsVar1 = prodsVar1 + cant1.Text"; +Debug.ShouldStop(16777216); +__ref.setField ("_prodsvar1" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvar1" /*RemoteObject*/ ),BA.numberCast(double.class, _cant1.runMethod(true,"getText"))}, "+",1, 0))); + BA.debugLineNum = 442;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", cant"; +Debug.ShouldStop(33554432); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_promos.__c.runMethod(false, "ArrayToList", (Object)(c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_cant1.runMethod(false,"getTag"))))));Debug.locals.put("esteTag", _estetag);Debug.locals.put("esteTag", _estetag); + BA.debugLineNum = 443;BA.debugLine="If cant1.Text > esteTag.Get(1) Then cant1.Text ="; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cant1.runMethod(true,"getText")),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))))) { +_cant1.runMethod(true,"setText",BA.ObjectToCharSequence(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))));}; + BA.debugLineNum = 444;BA.debugLine="If cant1.Text > 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cant1.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 446;BA.debugLine="totalCompra = totalCompra + (esteTag.get(0) * c"; +Debug.ShouldStop(536870912); +__ref.setField ("_totalcompra" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcompra" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))),BA.numberCast(double.class, _cant1.runMethod(true,"getText"))}, "*",0, 0))}, "+",1, 0))); + BA.debugLineNum = 447;BA.debugLine="If thisLog Then Log($\"Cant: ${cant1.Text}, Suma"; +Debug.ShouldStop(1073741824); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521692450",(RemoteObject.concat(RemoteObject.createImmutable("Cant: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant1.runMethod(true,"getText")))),RemoteObject.createImmutable(", Suma: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 448;BA.debugLine="prodsIds2.Add(esteTag.Get(2))"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 449;BA.debugLine="prodsCants2.Add(cant1.Text)"; +Debug.ShouldStop(1); +__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_cant1.runMethod(true,"getText")))); + BA.debugLineNum = 450;BA.debugLine="prodsPrecios2.Add(esteTag.get(0))"; +Debug.ShouldStop(2); +__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0))))); + }; + BA.debugLineNum = 452;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Total: $"),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 453;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalprods" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 456;BA.debugLine="For i = 0 To clv_prodsVariabes2.GetSize - 1"; +Debug.ShouldStop(128); +{ +final int step35 = 1; +final int limit35 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step35 > 0 && _i <= limit35) || (step35 < 0 && _i >= limit35) ;_i = ((int)(0 + _i + step35)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 457;BA.debugLine="Private p0 As B4XView = clv_prodsVariabes2.GetPa"; +Debug.ShouldStop(256); +_p0 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p0 = __ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(false,"_getpanel",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("p0", _p0);Debug.locals.put("p0", _p0); + BA.debugLineNum = 458;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +Debug.ShouldStop(512); +_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 = 459;BA.debugLine="Private cant2 As B4XView = p.GetView(2).GetView("; +Debug.ShouldStop(1024); +_cant2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_cant2 = _p.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 2))).runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 4)));Debug.locals.put("cant2", _cant2);Debug.locals.put("cant2", _cant2); + BA.debugLineNum = 460;BA.debugLine="totalProds = totalProds + cant2.Text"; +Debug.ShouldStop(2048); +__ref.setField ("_totalprods" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalprods" /*RemoteObject*/ ),BA.numberCast(double.class, _cant2.runMethod(true,"getText"))}, "+",1, 0))); + BA.debugLineNum = 461;BA.debugLine="prodsVar2 = prodsVar2 + cant2.Text"; +Debug.ShouldStop(4096); +__ref.setField ("_prodsvar2" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvar2" /*RemoteObject*/ ),BA.numberCast(double.class, _cant2.runMethod(true,"getText"))}, "+",1, 0))); + BA.debugLineNum = 462;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", cant"; +Debug.ShouldStop(8192); +_estetag = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_estetag = c_promos.__c.runMethod(false, "ArrayToList", (Object)(c_promos.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(BA.ObjectToString(_cant2.runMethod(false,"getTag"))))));Debug.locals.put("esteTag", _estetag);Debug.locals.put("esteTag", _estetag); + BA.debugLineNum = 463;BA.debugLine="If cant2.Text > esteTag.Get(1) Then cant2.Text ="; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cant2.runMethod(true,"getText")),BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))))) { +_cant2.runMethod(true,"setText",BA.ObjectToCharSequence(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 1)))));}; + BA.debugLineNum = 464;BA.debugLine="If cant2.Text > 0 Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _cant2.runMethod(true,"getText")),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 466;BA.debugLine="totalCompra = totalCompra + (esteTag.get(0) * c"; +Debug.ShouldStop(131072); +__ref.setField ("_totalcompra" /*RemoteObject*/ ,BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_totalcompra" /*RemoteObject*/ ),(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))),BA.numberCast(double.class, _cant2.runMethod(true,"getText"))}, "*",0, 0))}, "+",1, 0))); + BA.debugLineNum = 467;BA.debugLine="If thisLog Then Log($\"Cant: ${cant2.Text}, Suma"; +Debug.ShouldStop(262144); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521692470",(RemoteObject.concat(RemoteObject.createImmutable("Cant: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant2.runMethod(true,"getText")))),RemoteObject.createImmutable(", Suma: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 468;BA.debugLine="prodsIds2.Add(esteTag.Get(2))"; +Debug.ShouldStop(524288); +__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 2))))); + BA.debugLineNum = 469;BA.debugLine="prodsCants2.Add(cant2.Text)"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_cant2.runMethod(true,"getText")))); + BA.debugLineNum = 470;BA.debugLine="prodsPrecios2.Add(esteTag.get(0))"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_estetag.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0))))); + }; + BA.debugLineNum = 472;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Total: $"),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 473;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalprods" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 476;BA.debugLine="If thisLog Then Log($\"Total Prods: ${totalProds},"; +Debug.ShouldStop(134217728); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521692479",(RemoteObject.concat(RemoteObject.createImmutable("Total Prods: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalprods" /*RemoteObject*/ )))),RemoteObject.createImmutable(", Total: $"),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 477;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Total: $"),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_totalcompra" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 478;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_totalprods" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 479;BA.debugLine="If totalProds < prodsVarReq + prodsVarReq2 + tpf"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_totalprods" /*RemoteObject*/ ),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq" /*RemoteObject*/ ),__ref.getField(true,"_prodsvarreq2" /*RemoteObject*/ ),__ref.getField(true,"_tpf" /*RemoteObject*/ )}, "++",2, 1))) || RemoteObject.solveBoolean(">",__ref.getField(true,"_totalprods" /*RemoteObject*/ ),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq" /*RemoteObject*/ ),__ref.getField(true,"_prodsvarreq2" /*RemoteObject*/ ),__ref.getField(true,"_tpf" /*RemoteObject*/ )}, "++",2, 1)))) { + BA.debugLineNum = 481;BA.debugLine="b_terminar1.Visible = False"; +Debug.ShouldStop(1); +__ref.getField(false,"_b_terminar1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + BA.debugLineNum = 482;BA.debugLine="b_continuar.Visible = False"; +Debug.ShouldStop(2); +__ref.getField(false,"_b_continuar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + }else { + BA.debugLineNum = 485;BA.debugLine="b_terminar1.Visible = True"; +Debug.ShouldStop(16); +__ref.getField(false,"_b_terminar1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"True")); + BA.debugLineNum = 486;BA.debugLine="b_continuar.Visible = True"; +Debug.ShouldStop(32); +__ref.getField(false,"_b_continuar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"True")); + }; + BA.debugLineNum = 488;BA.debugLine="If thisLog Then LogColor($\"${prodsIds}${CRLF}${pr"; +Debug.ShouldStop(128); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521692491",(RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodsids" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_promos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodscants" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_promos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodsprecios" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""))),c_promos.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 489;BA.debugLine="If thisLog Then LogColor($\"${prodsIds2}${CRLF}${p"; +Debug.ShouldStop(256); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521692492",(RemoteObject.concat(RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodsids2" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_promos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodscants2" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_promos.__c.getField(true,"CRLF")))),RemoteObject.createImmutable(""),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_prodsprecios2" /*RemoteObject*/ ).getObject()))),RemoteObject.createImmutable(""))),c_promos.__c.getField(false,"Colors").getField(true,"Magenta"));}; + BA.debugLineNum = 491;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_pcant_focuschanged(RemoteObject __ref,RemoteObject _hasfocus) throws Exception{ +try { + Debug.PushSubsStack("et_pCant_FocusChanged (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,493); +if (RapidSub.canDelegate("et_pcant_focuschanged")) { return __ref.runUserSub(false, "c_promos","et_pcant_focuschanged", __ref, _hasfocus);} +Debug.locals.put("HasFocus", _hasfocus); + BA.debugLineNum = 493;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo"; +Debug.ShouldStop(4096); + BA.debugLineNum = 494;BA.debugLine="LogColor(\"focus changed\", Colors.Magenta)"; +Debug.ShouldStop(8192); +c_promos.__c.runVoidMethod ("LogImpl","521757953",BA.ObjectToString("focus changed"),c_promos.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 495;BA.debugLine="cuentaProds"; +Debug.ShouldStop(16384); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 496;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _et_pcant_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_pCant_TextChanged (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,408); +if (RapidSub.canDelegate("et_pcant_textchanged")) { return __ref.runUserSub(false, "c_promos","et_pcant_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 408;BA.debugLine="Private Sub et_pCant_TextChanged (Old As String, N"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 410;BA.debugLine="cuentaProds"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + 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 _et_promocant_textchanged(RemoteObject __ref,RemoteObject _old,RemoteObject _new) throws Exception{ +try { + Debug.PushSubsStack("et_promoCant_TextChanged (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,603); +if (RapidSub.canDelegate("et_promocant_textchanged")) { return __ref.runUserSub(false, "c_promos","et_promocant_textchanged", __ref, _old, _new);} +Debug.locals.put("Old", _old); +Debug.locals.put("New", _new); + BA.debugLineNum = 603;BA.debugLine="Private Sub et_promoCant_TextChanged (Old As Strin"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 605;BA.debugLine="If et_promoCant.Text = \"\" Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText"),BA.ObjectToString(""))) { + BA.debugLineNum = 606;BA.debugLine="et_promoCant.Text = 1"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(1)); + }; + BA.debugLineNum = 610;BA.debugLine="If et_promoCant.Text < maxCantPromos Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(true,"_maxcantpromos" /*RemoteObject*/ )))) { + BA.debugLineNum = 612;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 *"; +Debug.ShouldStop(8); +__ref.getField(false,"_l_prodsfijos" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos fijos ("),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_tpf2" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(")"))))); + BA.debugLineNum = 613;BA.debugLine="l_prodsVariables.Text = $\"Productos variables re"; +Debug.ShouldStop(16); +__ref.getField(false,"_l_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 614;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2"; +Debug.ShouldStop(32); +__ref.getField(false,"_l_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables2 requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq2_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 615;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; +Debug.ShouldStop(64); +__ref.setField ("_tpf" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_tpf2" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 616;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.A"; +Debug.ShouldStop(128); +__ref.setField ("_prodsvarreq" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 617;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text"; +Debug.ShouldStop(256); +__ref.setField ("_prodsvarreq2" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_prodsvarreq2_" /*RemoteObject*/ ),(BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))}, "*",0, 1)); + BA.debugLineNum = 618;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, P"; +Debug.ShouldStop(512); +c_promos.__c.runVoidMethod ("LogImpl","522085647",(RemoteObject.concat(RemoteObject.createImmutable("Max promos="),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((BA.numberCast(int.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")))))),RemoteObject.createImmutable(", Prods fijos="),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_tpf" /*RemoteObject*/ )))),RemoteObject.createImmutable(", "))),0); + }; + BA.debugLineNum = 620;BA.debugLine="If et_promoCant.text > maxCantPromos Then et_prom"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, __ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethod(true,"getText")),BA.numberCast(double.class, __ref.getField(true,"_maxcantpromos" /*RemoteObject*/ )))) { +__ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(__ref.getField(true,"_maxcantpromos" /*RemoteObject*/ )));}; + BA.debugLineNum = 621;BA.debugLine="cuentaProds"; +Debug.ShouldStop(4096); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 622;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,48); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_promos","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 48;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(32768); + BA.debugLineNum = 49;BA.debugLine="Return Me"; +Debug.ShouldStop(65536); +if (true) return __ref; + BA.debugLineNum = 50;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _muestrapromo(RemoteObject __ref,RemoteObject _promo,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("muestraPromo (c_promos) ","c_promos",15,__ref.getField(false, "ba"),__ref,84); +if (RapidSub.canDelegate("muestrapromo")) { return __ref.runUserSub(false, "c_promos","muestrapromo", __ref, _promo, _cliente);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _mp = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _prodspromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _invdisppromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _cs = RemoteObject.declareNull("anywheresoftware.b4a.objects.CSBuilder"); +RemoteObject _listapv = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _listapreciospv = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _listapv2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _listapreciospv2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _pv = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _pv2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _pfp = RemoteObject.createImmutable(0); +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _p = RemoteObject.createImmutable(""); +RemoteObject _indicepv = RemoteObject.createImmutable(""); +RemoteObject _esteprecio = RemoteObject.createImmutable(""); +RemoteObject _thisprod = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _indicepv2 = RemoteObject.createImmutable(""); +Debug.locals.put("promo", _promo); +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 84;BA.debugLine="Sub muestraPromo(promo As String, cliente As Strin"; +Debug.ShouldStop(524288); + BA.debugLineNum = 85;BA.debugLine="Private thisLog As Boolean = False"; +Debug.ShouldStop(1048576); +_thislog = c_promos.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 87;BA.debugLine="estaPromo = promo"; +Debug.ShouldStop(4194304); +__ref.setField ("_estapromo" /*RemoteObject*/ ,_promo); + BA.debugLineNum = 88;BA.debugLine="esteCliente = cliente"; +Debug.ShouldStop(8388608); +__ref.setField ("_estecliente" /*RemoteObject*/ ,_cliente); + BA.debugLineNum = 89;BA.debugLine="Private mp As Map = Subs.traePromo(promo, cliente"; +Debug.ShouldStop(16777216); +_mp = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_mp = c_promos._subs.runMethod(false,"_traepromo" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_promo),(Object)(_cliente));Debug.locals.put("mp", _mp);Debug.locals.put("mp", _mp); + BA.debugLineNum = 90;BA.debugLine="Private prodsPromo As Map = mp.Get(\"productos\") '"; +Debug.ShouldStop(33554432); +_prodspromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_prodspromo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("productos")))));Debug.locals.put("prodsPromo", _prodspromo);Debug.locals.put("prodsPromo", _prodspromo); + BA.debugLineNum = 91;BA.debugLine="Private invDispPromo As Map = Subs.traemosInventa"; +Debug.ShouldStop(67108864); +_invdisppromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_invdisppromo = c_promos._subs.runMethod(false,"_traemosinventariodisponibleparapromo" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_promo));Debug.locals.put("invDispPromo", _invdisppromo);Debug.locals.put("invDispPromo", _invdisppromo); + BA.debugLineNum = 93;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods"; +Debug.ShouldStop(268435456); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521102601",RemoteObject.concat(RemoteObject.createImmutable("Max promos por inv de prods FIJOS: "),c_promos._subs.runMethod(true,"_revisamaxpromosprodsfijosporinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_mp))),0);}; + BA.debugLineNum = 94;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods"; +Debug.ShouldStop(536870912); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521102602",RemoteObject.concat(RemoteObject.createImmutable("Max promos por inv de prods VARIABLES: "),c_promos._subs.runMethod(true,"_revisamaxpromosprodsvariablesporinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_mp))),0);}; + BA.debugLineNum = 95;BA.debugLine="maxCantPromos = Subs.revisaMaxPromosProdsVariable"; +Debug.ShouldStop(1073741824); +__ref.setField ("_maxcantpromos" /*RemoteObject*/ ,c_promos._subs.runMethod(true,"_revisamaxpromosprodsvariablesporinventario" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_mp))); + BA.debugLineNum = 96;BA.debugLine="et_promoCant.Text = 1"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_et_promocant" /*RemoteObject*/ ).runMethodAndSync(true,"setText",BA.ObjectToCharSequence(1)); + BA.debugLineNum = 97;BA.debugLine="l_promosCant.text = \"Max promos: \" & maxCantPromo"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_promoscant" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Max promos: "),__ref.getField(true,"_maxcantpromos" /*RemoteObject*/ )))); + BA.debugLineNum = 98;BA.debugLine="Private cs As CSBuilder"; +Debug.ShouldStop(2); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.objects.CSBuilder");Debug.locals.put("cs", _cs); + BA.debugLineNum = 99;BA.debugLine="cs.Initialize"; +Debug.ShouldStop(4); +_cs.runVoidMethod ("Initialize"); + BA.debugLineNum = 100;BA.debugLine="If thisLog Then Log(mp)"; +Debug.ShouldStop(8); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521102608",BA.ObjectToString(_mp),0);}; + BA.debugLineNum = 101;BA.debugLine="If thisLog Then Log(prodsPromo)"; +Debug.ShouldStop(16); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521102609",BA.ObjectToString(_prodspromo),0);}; + BA.debugLineNum = 102;BA.debugLine="Private listaPV As List = mp.Get(\"prodsVariables\""; +Debug.ShouldStop(32); +_listapv = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_listapv = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables")))));Debug.locals.put("listaPV", _listapv);Debug.locals.put("listaPV", _listapv); + BA.debugLineNum = 103;BA.debugLine="Private listaPreciosPV As List = mp.Get(\"prodsVar"; +Debug.ShouldStop(64); +_listapreciospv = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_listapreciospv = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesPrecios")))));Debug.locals.put("listaPreciosPV", _listapreciospv);Debug.locals.put("listaPreciosPV", _listapreciospv); + BA.debugLineNum = 104;BA.debugLine="Private listaPV2 As List = mp.Get(\"prodsVariables"; +Debug.ShouldStop(128); +_listapv2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_listapv2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2")))));Debug.locals.put("listaPV2", _listapv2);Debug.locals.put("listaPV2", _listapv2); + BA.debugLineNum = 105;BA.debugLine="Private listaPreciosPV2 As List = mp.Get(\"prodsVa"; +Debug.ShouldStop(256); +_listapreciospv2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_listapreciospv2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesPrecios2")))));Debug.locals.put("listaPreciosPV2", _listapreciospv2);Debug.locals.put("listaPreciosPV2", _listapreciospv2); + BA.debugLineNum = 110;BA.debugLine="l_promoDesc.Text = cs.Color(Colors.RGB(100,149,23"; +Debug.ShouldStop(8192); +__ref.getField(false,"_l_promodesc" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence(_cs.runMethod(false,"Color",(Object)(c_promos.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 100)),(Object)(BA.numberCast(int.class, 149)),(Object)(BA.numberCast(int.class, 237))))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Promocion: ")))).runMethod(false,"Pop").runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_promos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_promo))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(c_promos.__c.getField(true,"CRLF")))).runMethod(false,"Append",(Object)(BA.ObjectToCharSequence(_mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("descripcion"))))))).runMethod(false,"PopAll").getObject())); + BA.debugLineNum = 111;BA.debugLine="prodsFijosTot = 0"; +Debug.ShouldStop(16384); +__ref.setField ("_prodsfijostot" /*RemoteObject*/ ,BA.numberCast(float.class, 0)); + BA.debugLineNum = 114;BA.debugLine="Dim pv As List = mp.Get(\"prodsVariables\")"; +Debug.ShouldStop(131072); +_pv = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_pv = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables")))));Debug.locals.put("pv", _pv);Debug.locals.put("pv", _pv); + BA.debugLineNum = 115;BA.debugLine="Dim pv2 As List = mp.Get(\"prodsVariables2\")"; +Debug.ShouldStop(262144); +_pv2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_pv2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2")))));Debug.locals.put("pv2", _pv2);Debug.locals.put("pv2", _pv2); + BA.debugLineNum = 116;BA.debugLine="If thisLog Then Log(mp)"; +Debug.ShouldStop(524288); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521102624",BA.ObjectToString(_mp),0);}; + BA.debugLineNum = 117;BA.debugLine="tpf = 0"; +Debug.ShouldStop(1048576); +__ref.setField ("_tpf" /*RemoteObject*/ ,BA.numberCast(int.class, 0)); + BA.debugLineNum = 118;BA.debugLine="For Each pfp As Int In mp.Get(\"prodsFijosPiezas\")"; +Debug.ShouldStop(2097152); +{ +final RemoteObject group26 = (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))))); +final int groupLen26 = group26.runMethod(true,"getSize").get() +;int index26 = 0; +; +for (; index26 < groupLen26;index26++){ +_pfp = BA.numberCast(int.class, group26.runMethod(false,"Get",index26));Debug.locals.put("pfp", _pfp); +Debug.locals.put("pfp", _pfp); + BA.debugLineNum = 119;BA.debugLine="tpf = tpf + pfp"; +Debug.ShouldStop(4194304); +__ref.setField ("_tpf" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_tpf" /*RemoteObject*/ ),_pfp}, "+",1, 1)); + } +}Debug.locals.put("pfp", _pfp); +; + BA.debugLineNum = 121;BA.debugLine="tpf2 = tpf"; +Debug.ShouldStop(16777216); +__ref.setField ("_tpf2" /*RemoteObject*/ ,__ref.getField(true,"_tpf" /*RemoteObject*/ )); + BA.debugLineNum = 123;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf})\"$"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_l_prodsfijos" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos fijos ("),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_tpf" /*RemoteObject*/ )))),RemoteObject.createImmutable(")"))))); + BA.debugLineNum = 124;BA.debugLine="prodsVarReq = mp.Get(\"prodsVariablesRequeridos\")"; +Debug.ShouldStop(134217728); +__ref.setField ("_prodsvarreq" /*RemoteObject*/ ,BA.numberCast(int.class, _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesRequeridos")))))); + BA.debugLineNum = 125;BA.debugLine="prodsVarReq_ = prodsVarReq"; +Debug.ShouldStop(268435456); +__ref.setField ("_prodsvarreq_" /*RemoteObject*/ ,__ref.getField(true,"_prodsvarreq" /*RemoteObject*/ )); + BA.debugLineNum = 126;BA.debugLine="prodsVarReq2 = mp.Get(\"prodsVariables2Requeridos\""; +Debug.ShouldStop(536870912); +__ref.setField ("_prodsvarreq2" /*RemoteObject*/ ,BA.numberCast(int.class, _mp.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2Requeridos")))))); + BA.debugLineNum = 127;BA.debugLine="prodsVarReq2_ = prodsVarReq2"; +Debug.ShouldStop(1073741824); +__ref.setField ("_prodsvarreq2_" /*RemoteObject*/ ,__ref.getField(true,"_prodsvarreq2" /*RemoteObject*/ )); + BA.debugLineNum = 129;BA.debugLine="l_prodsVariables.Text = $\"Productos variables req"; +Debug.ShouldStop(1); +__ref.getField(false,"_l_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_prodsvarreq" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 130;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2 r"; +Debug.ShouldStop(2); +__ref.getField(false,"_l_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos variables2 requeridos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_prodsvarreq2" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 131;BA.debugLine="If prodsVarReq = 0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_prodsvarreq" /*RemoteObject*/ ),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 132;BA.debugLine="p_prodsVariables.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + }else { + BA.debugLineNum = 134;BA.debugLine="p_prodsVariables.Visible = True"; +Debug.ShouldStop(32); +__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"True")); + }; + BA.debugLineNum = 137;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(256); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 138;BA.debugLine="label1 = lv_prodsFijos.SingleLineLayout.Label"; +Debug.ShouldStop(512); +_label1 = __ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 139;BA.debugLine="label1.TextSize = 13"; +Debug.ShouldStop(1024); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 140;BA.debugLine="label1.TextColor = Colors.black"; +Debug.ShouldStop(2048); +_label1.runMethod(true,"setTextColor",c_promos.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 141;BA.debugLine="lv_prodsFijos.SingleLineLayout.ItemHeight = 30dip"; +Debug.ShouldStop(4096); +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runMethod(false,"getSingleLineLayout").runMethod(true,"setItemHeight",c_promos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 30)))); + BA.debugLineNum = 142;BA.debugLine="lv_prodsFijos.Clear"; +Debug.ShouldStop(8192); +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 144;BA.debugLine="lv_prodsFijos.Clear"; +Debug.ShouldStop(32768); +__ref.getField(false,"_lv_prodsfijos" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 145;BA.debugLine="agregaFijosALista(mp, True)"; +Debug.ShouldStop(65536); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_agregafijosalista" /*RemoteObject*/ ,(Object)(_mp),(Object)(c_promos.__c.getField(true,"True"))); + BA.debugLineNum = 146;BA.debugLine="If thisLog Then Log(\"Total prods fijos = \" & prod"; +Debug.ShouldStop(131072); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521102654",RemoteObject.concat(RemoteObject.createImmutable("Total prods fijos = "),__ref.getField(true,"_prodsfijostot" /*RemoteObject*/ )),0);}; + BA.debugLineNum = 148;BA.debugLine="l_totProds.text = $\"Productos: ${tpf}\"$"; +Debug.ShouldStop(524288); +__ref.getField(false,"_l_totprods" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Productos: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_tpf" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 149;BA.debugLine="l_total.Text = $\"Total: $$1.2{prodsFijosTot}\"$"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_l_total" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Total: $"),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.2")),(Object)((__ref.getField(true,"_prodsfijostot" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 155;BA.debugLine="If thisLog Then Log($\"PV1: ${pv.Size}, ${pv}\"$)"; +Debug.ShouldStop(67108864); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521102663",(RemoteObject.concat(RemoteObject.createImmutable("PV1: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pv.runMethod(true,"getSize")))),RemoteObject.createImmutable(", "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pv.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 156;BA.debugLine="If thisLog Then Log($\"PV2: ${pv2.Size}, ${pv2}\"$)"; +Debug.ShouldStop(134217728); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521102664",(RemoteObject.concat(RemoteObject.createImmutable("PV2: "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pv2.runMethod(true,"getSize")))),RemoteObject.createImmutable(", "),c_promos.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pv2.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 157;BA.debugLine="If thisLog Then Log(\"invDisp=\" & invDispPromo)"; +Debug.ShouldStop(268435456); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521102665",RemoteObject.concat(RemoteObject.createImmutable("invDisp="),_invdisppromo),0);}; + BA.debugLineNum = 158;BA.debugLine="clv_prodsVariabes.Clear"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 159;BA.debugLine="clv_prodsVariabes2.Clear"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runVoidMethod ("_clear"); + BA.debugLineNum = 160;BA.debugLine="For Each p As String In pv"; +Debug.ShouldStop(-2147483648); +{ +final RemoteObject group58 = _pv; +final int groupLen58 = group58.runMethod(true,"getSize").get() +;int index58 = 0; +; +for (; index58 < groupLen58;index58++){ +_p = BA.ObjectToString(group58.runMethod(false,"Get",index58));Debug.locals.put("p", _p); +Debug.locals.put("p", _p); + BA.debugLineNum = 161;BA.debugLine="If invDispPromo.ContainsKey(p) Then 'Si no esta"; +Debug.ShouldStop(1); +if (_invdisppromo.runMethod(true,"ContainsKey",(Object)((_p))).get().booleanValue()) { + BA.debugLineNum = 162;BA.debugLine="Private indicePV = listaPV.IndexOf(p)"; +Debug.ShouldStop(2); +_indicepv = BA.NumberToString(_listapv.runMethod(true,"IndexOf",(Object)((_p))));Debug.locals.put("indicePV", _indicepv);Debug.locals.put("indicePV", _indicepv); + BA.debugLineNum = 164;BA.debugLine="Private estePrecio = listaPreciosPV.Get(indiceP"; +Debug.ShouldStop(8); +_esteprecio = BA.ObjectToString(_listapreciospv.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _indicepv))));Debug.locals.put("estePrecio", _esteprecio);Debug.locals.put("estePrecio", _esteprecio); + BA.debugLineNum = 169;BA.debugLine="Private thisProd As Map = prodsPromo.Get(p)"; +Debug.ShouldStop(256); +_thisprod = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_thisprod = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _prodspromo.runMethod(false,"Get",(Object)((_p))));Debug.locals.put("thisProd", _thisprod);Debug.locals.put("thisProd", _thisprod); + BA.debugLineNum = 170;BA.debugLine="If thisLog Then Log(thisProd)"; +Debug.ShouldStop(512); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521102678",BA.ObjectToString(_thisprod),0);}; + BA.debugLineNum = 171;BA.debugLine="clv_prodsVariabes.Add(CreateListItem(Subs.traeP"; +Debug.ShouldStop(1024); +__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_createlistitem" /*RemoteObject*/ ,(Object)(RemoteObject.concat(c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_p)),c_promos.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Hay "),_invdisppromo.runMethod(false,"Get",(Object)((_p))),RemoteObject.createImmutable(" $"),_esteprecio)),(Object)(_esteprecio),(Object)(BA.numberCast(int.class, _invdisppromo.runMethod(false,"Get",(Object)((_p))))),(Object)(__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_promos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)))),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"), c_promos.__c.getField(false,"Null")),(Object)(_p)).getObject()),(Object)((_p))); + }; + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 174;BA.debugLine="For Each p As String In pv2"; +Debug.ShouldStop(8192); +{ +final RemoteObject group67 = _pv2; +final int groupLen67 = group67.runMethod(true,"getSize").get() +;int index67 = 0; +; +for (; index67 < groupLen67;index67++){ +_p = BA.ObjectToString(group67.runMethod(false,"Get",index67));Debug.locals.put("p", _p); +Debug.locals.put("p", _p); + BA.debugLineNum = 175;BA.debugLine="If invDispPromo.ContainsKey(p) Then 'Si no esta"; +Debug.ShouldStop(16384); +if (_invdisppromo.runMethod(true,"ContainsKey",(Object)((_p))).get().booleanValue()) { + BA.debugLineNum = 180;BA.debugLine="Private indicePV2 = listaPV2.IndexOf(p)"; +Debug.ShouldStop(524288); +_indicepv2 = BA.NumberToString(_listapv2.runMethod(true,"IndexOf",(Object)((_p))));Debug.locals.put("indicePV2", _indicepv2);Debug.locals.put("indicePV2", _indicepv2); + BA.debugLineNum = 183;BA.debugLine="Private estePrecio = listaPreciosPV2.Get(indice"; +Debug.ShouldStop(4194304); +_esteprecio = BA.ObjectToString(_listapreciospv2.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _indicepv2))));Debug.locals.put("estePrecio", _esteprecio);Debug.locals.put("estePrecio", _esteprecio); + BA.debugLineNum = 188;BA.debugLine="Private thisProd As Map = prodsPromo.Get(p)"; +Debug.ShouldStop(134217728); +_thisprod = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_thisprod = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _prodspromo.runMethod(false,"Get",(Object)((_p))));Debug.locals.put("thisProd", _thisprod);Debug.locals.put("thisProd", _thisprod); + BA.debugLineNum = 189;BA.debugLine="If thisLog Then Log(thisProd)"; +Debug.ShouldStop(268435456); +if (_thislog.get().booleanValue()) { +c_promos.__c.runVoidMethod ("LogImpl","521102697",BA.ObjectToString(_thisprod),0);}; + BA.debugLineNum = 190;BA.debugLine="clv_prodsVariabes2.Add(CreateListItem2(Subs.tra"; +Debug.ShouldStop(536870912); +__ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runVoidMethod ("_add",RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_createlistitem2" /*RemoteObject*/ ,(Object)(RemoteObject.concat(c_promos._subs.runMethod(true,"_traeprodnombre" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(_p)),c_promos.__c.getField(true,"CRLF"),RemoteObject.createImmutable("Hay "),_invdisppromo.runMethod(false,"Get",(Object)((_p))),RemoteObject.createImmutable(" $"),_esteprecio)),(Object)(_esteprecio),(Object)(BA.numberCast(int.class, _invdisppromo.runMethod(false,"Get",(Object)((_p))))),(Object)(__ref.getField(false,"_clv_prodsvariabes2" /*RemoteObject*/ ).runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(c_promos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 50)))),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"), c_promos.__c.getField(false,"Null")),(Object)(_p)).getObject()),(Object)((_p))); + }; + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 193;BA.debugLine="If pv2.Size = 0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("=",_pv2.runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 195;BA.debugLine="l_prodsVariables2.Visible = False"; +Debug.ShouldStop(4); +__ref.getField(false,"_l_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + BA.debugLineNum = 196;BA.debugLine="p_prodsVariables2.Visible = False"; +Debug.ShouldStop(8); +__ref.getField(false,"_p_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + BA.debugLineNum = 198;BA.debugLine="p_prodsVariables.Height = 410dip"; +Debug.ShouldStop(32); +__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setHeight",c_promos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 410)))); + BA.debugLineNum = 199;BA.debugLine="clv_prodsVariabes.GetBase.Height = p_prodsVariab"; +Debug.ShouldStop(64); +__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "-",1, 1)); + BA.debugLineNum = 203;BA.debugLine="clv_prodsVariabes.Base_Resize(clv_prodsVariabes."; +Debug.ShouldStop(1024); +__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runVoidMethod ("_base_resize",(Object)(BA.numberCast(double.class, __ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "-",1, 1)))); + }else { + BA.debugLineNum = 205;BA.debugLine="l_prodsVariables2.Visible = True"; +Debug.ShouldStop(4096); +__ref.getField(false,"_l_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"True")); + BA.debugLineNum = 206;BA.debugLine="p_prodsVariables2.Visible = True"; +Debug.ShouldStop(8192); +__ref.getField(false,"_p_prodsvariables2" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"True")); + BA.debugLineNum = 207;BA.debugLine="p_prodsVariables.Height = 210dip"; +Debug.ShouldStop(16384); +__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"setHeight",c_promos.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 210)))); + BA.debugLineNum = 208;BA.debugLine="clv_prodsVariabes.GetBase.Height = p_prodsVariab"; +Debug.ShouldStop(32768); +__ref.getField(false,"_clv_prodsvariabes" /*RemoteObject*/ ).runMethod(false,"_getbase").runMethod(true,"setHeight",RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_p_prodsvariables" /*RemoteObject*/ ).runMethod(true,"getHeight"),RemoteObject.createImmutable(20)}, "-",1, 1)); + }; + BA.debugLineNum = 210;BA.debugLine="b_terminar1.Visible = False"; +Debug.ShouldStop(131072); +__ref.getField(false,"_b_terminar1" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + BA.debugLineNum = 211;BA.debugLine="b_continuar.Visible = False"; +Debug.ShouldStop(262144); +__ref.getField(false,"_b_continuar" /*RemoteObject*/ ).runMethod(true,"setVisible",c_promos.__c.getField(true,"False")); + BA.debugLineNum = 212;BA.debugLine="cuentaProds"; +Debug.ShouldStop(524288); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_promos.class, "_cuentaprods" /*RemoteObject*/ ); + BA.debugLineNum = 213;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/SHARK2/keymon/com/mx/c_respaldodiario.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_respaldodiario.java new file mode 100644 index 0000000..abb4b9d --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_respaldodiario.java @@ -0,0 +1,39 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_respaldodiario { + public static RemoteObject myClass; + public c_respaldodiario() { + } + public static PCBA staticBA = new PCBA(null, c_respaldodiario.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _rkmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _safepath = RemoteObject.createImmutable(""); +public static RemoteObject _fechahoy = RemoteObject.createImmutable(""); +public static RemoteObject _skmtattached = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"fechaHoy",_ref.getField(false, "_fechahoy"),"rkmt",_ref.getField(false, "_rkmt"),"Root",_ref.getField(false, "_root"),"safePath",_ref.getField(false, "_safepath"),"skmt",_ref.getField(false, "_skmt"),"skmtAttached",_ref.getField(false, "_skmtattached"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_respaldodiario_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_respaldodiario_subs_0.java new file mode 100644 index 0000000..27ae870 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_respaldodiario_subs_0.java @@ -0,0 +1,459 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_respaldodiario_subs_0 { + + +public static RemoteObject _agregacolumna(RemoteObject __ref,RemoteObject _tabla,RemoteObject _columna,RemoteObject _tipo) throws Exception{ +try { + Debug.PushSubsStack("agregaColumna (c_respaldodiario) ","c_respaldodiario",16,__ref.getField(false, "ba"),__ref,128); +if (RapidSub.canDelegate("agregacolumna")) { return __ref.runUserSub(false, "c_respaldodiario","agregacolumna", __ref, _tabla, _columna, _tipo);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("tabla", _tabla); +Debug.locals.put("columna", _columna); +Debug.locals.put("tipo", _tipo); + BA.debugLineNum = 128;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 129;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +Debug.ShouldStop(1); +try { BA.debugLineNum = 130;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(2); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), c_respaldodiario._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT COUNT(*) AS fCol FROM pragma_table_info('"),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("') WHERE name='"),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 131;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 132;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { + BA.debugLineNum = 133;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +Debug.ShouldStop(16); +c_respaldodiario._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 134;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(32); +c_respaldodiario.__c.runVoidMethod ("LogImpl","522675462",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\"."))),0); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e9) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 137;BA.debugLine="Try"; +Debug.ShouldStop(256); +try { BA.debugLineNum = 138;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +Debug.ShouldStop(512); +c_respaldodiario._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 139;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(1024); +c_respaldodiario.__c.runVoidMethod ("LogImpl","522675467",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\".."))),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e13) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e13.toString()); BA.debugLineNum = 141;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(4096); +c_respaldodiario.__c.runVoidMethod ("LogImpl","522675469",BA.ObjectToString(c_respaldodiario.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0); + }; + }; + BA.debugLineNum = 144;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _agregacolumna2(RemoteObject __ref,RemoteObject _db,RemoteObject _tabla,RemoteObject _columna,RemoteObject _tipo) throws Exception{ +try { + Debug.PushSubsStack("agregaColumna2 (c_respaldodiario) ","c_respaldodiario",16,__ref.getField(false, "ba"),__ref,146); +if (RapidSub.canDelegate("agregacolumna2")) { return __ref.runUserSub(false, "c_respaldodiario","agregacolumna2", __ref, _db, _tabla, _columna, _tipo);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("db", _db); +Debug.locals.put("tabla", _tabla); +Debug.locals.put("columna", _columna); +Debug.locals.put("tipo", _tipo); + BA.debugLineNum = 146;BA.debugLine="Sub agregaColumna2(db As SQL, tabla As String, col"; +Debug.ShouldStop(131072); + BA.debugLineNum = 147;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +Debug.ShouldStop(262144); +try { BA.debugLineNum = 148;BA.debugLine="Private c As Cursor = db.ExecQuery($\"SELECT COUN"; +Debug.ShouldStop(524288); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), _db.runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT COUNT(*) AS fCol FROM pragma_table_info('"),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("') WHERE name='"),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 149;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1048576); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 150;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { + BA.debugLineNum = 151;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +Debug.ShouldStop(4194304); +_db.runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 152;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(8388608); +c_respaldodiario.__c.runVoidMethod ("LogImpl","522740998",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\"."))),0); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e9) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 155;BA.debugLine="Try"; +Debug.ShouldStop(67108864); +try { BA.debugLineNum = 156;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +Debug.ShouldStop(134217728); +_db.runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 157;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(268435456); +c_respaldodiario.__c.runVoidMethod ("LogImpl","522741003",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\".."))),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e13) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e13.toString()); BA.debugLineNum = 159;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(1073741824); +c_respaldodiario.__c.runVoidMethod ("LogImpl","522741005",BA.ObjectToString(c_respaldodiario.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0); + }; + }; + 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 _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_respaldodiario) ","c_respaldodiario",16,__ref.getField(false, "ba"),__ref,60); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_respaldodiario","b4xpage_created", __ref, _root1);} +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 60;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 61;BA.debugLine="Root = Root1"; +Debug.ShouldStop(268435456); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 63;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +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_respaldodiario._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_respaldodiario._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_respaldodiario._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_respaldodiario._xui); + //BA.debugLineNum = 4;BA.debugLine="Dim skmt, rkmt As SQL"; +c_respaldodiario._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_skmt",c_respaldodiario._skmt); +c_respaldodiario._rkmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_rkmt",c_respaldodiario._rkmt); + //BA.debugLineNum = 6;BA.debugLine="Dim safePath As String"; +c_respaldodiario._safepath = RemoteObject.createImmutable("");__ref.setField("_safepath",c_respaldodiario._safepath); + //BA.debugLineNum = 7;BA.debugLine="Dim fechaHoy As String"; +c_respaldodiario._fechahoy = RemoteObject.createImmutable("");__ref.setField("_fechahoy",c_respaldodiario._fechahoy); + //BA.debugLineNum = 8;BA.debugLine="Dim skmtAttached As Boolean = False"; +c_respaldodiario._skmtattached = c_respaldodiario.__c.getField(true,"False");__ref.setField("_skmtattached",c_respaldodiario._skmtattached); + //BA.debugLineNum = 9;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (c_respaldodiario) ","c_respaldodiario",16,__ref.getField(false, "ba"),__ref,12); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_respaldodiario","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +RemoteObject _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +RemoteObject _dirp = RemoteObject.createImmutable(""); +RemoteObject _dir = RemoteObject.createImmutable(""); +RemoteObject _name = null; +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 12;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(2048); + BA.debugLineNum = 14;BA.debugLine="Dim rp As RuntimePermissions"; +Debug.ShouldStop(8192); +_rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");Debug.locals.put("rp", _rp); + BA.debugLineNum = 15;BA.debugLine="Dim Dirp As String = File.DirInternal"; +Debug.ShouldStop(16384); +_dirp = c_respaldodiario.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("Dirp", _dirp);Debug.locals.put("Dirp", _dirp); + BA.debugLineNum = 16;BA.debugLine="Dim Dir As String"; +Debug.ShouldStop(32768); +_dir = RemoteObject.createImmutable("");Debug.locals.put("Dir", _dir); + BA.debugLineNum = 18;BA.debugLine="Try"; +Debug.ShouldStop(131072); +try { BA.debugLineNum = 19;BA.debugLine="File.MakeDir(Dirp,\"/kmts\")"; +Debug.ShouldStop(262144); +c_respaldodiario.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(_dirp),(Object)(RemoteObject.createImmutable("/kmts"))); + BA.debugLineNum = 20;BA.debugLine="Dir = \"/kmts\""; +Debug.ShouldStop(524288); +_dir = BA.ObjectToString("/kmts");Debug.locals.put("Dir", _dir); + Debug.CheckDeviceExceptions(); +} + catch (Exception e8) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e8.toString()); BA.debugLineNum = 23;BA.debugLine="Dir = \"\""; +Debug.ShouldStop(4194304); +_dir = BA.ObjectToString("");Debug.locals.put("Dir", _dir); + }; + BA.debugLineNum = 27;BA.debugLine="safePath = Dirp & Dir"; +Debug.ShouldStop(67108864); +__ref.setField ("_safepath" /*RemoteObject*/ ,RemoteObject.concat(_dirp,_dir)); + BA.debugLineNum = 29;BA.debugLine="If Not(File.IsDirectory(Dirp, Dir)) Then safePath"; +Debug.ShouldStop(268435456); +if (c_respaldodiario.__c.runMethod(true,"Not",(Object)(c_respaldodiario.__c.getField(false,"File").runMethod(true,"IsDirectory",(Object)(_dirp),(Object)(_dir)))).get().booleanValue()) { +__ref.setField ("_safepath" /*RemoteObject*/ ,_rp.runMethod(true,"GetSafeDirDefaultExternal",(Object)(RemoteObject.createImmutable("kmts"))));}; + BA.debugLineNum = 30;BA.debugLine="Private name() As String = Regex.split(\" \", Appli"; +Debug.ShouldStop(536870912); +_name = c_respaldodiario.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(c_respaldodiario.__c.getField(false,"Application").runMethod(true,"getLabelName")));Debug.locals.put("name", _name);Debug.locals.put("name", _name); + BA.debugLineNum = 31;BA.debugLine="rkmt.Initialize(safePath,$\"${name(0)}.rkmt.km\"$,"; +Debug.ShouldStop(1073741824); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(__ref.getField(true,"_safepath" /*RemoteObject*/ )),(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_name.getArrayElement(true,BA.numberCast(int.class, 0))))),RemoteObject.createImmutable(".rkmt.km")))),(Object)(c_respaldodiario.__c.getField(true,"True"))); + BA.debugLineNum = 32;BA.debugLine="skmt.Initialize(File.DirInternal,\"kmt.db\", False)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(c_respaldodiario.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_respaldodiario.__c.getField(true,"False"))); + BA.debugLineNum = 33;BA.debugLine="rkmt.ExecNonQuery($\"create table if not exists pe"; +Debug.ShouldStop(1); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("create table if not exists pedidos (pe_folio NUMERIC, pe_desc NUMERIC, pe_costo_sin TEXT, pe_ruta TEXT, pe_cedis TEXT, pe_costo_tot NUMERIC, pe_costou NUMERIC, pe_cant NUMERIC, pe_pronombre TEXT, pe_proid TEXT, pe_cliente TEXT, pe_fecha TEXT, pe_usuario TEXT)")))); + BA.debugLineNum = 34;BA.debugLine="agregaColumna2(rkmt,\"pedidos\",\"pe_cantc\",\"text\")"; +Debug.ShouldStop(2); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_respaldodiario.class, "_agregacolumna2" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_rkmt" /*RemoteObject*/ )),(Object)(BA.ObjectToString("pedidos")),(Object)(BA.ObjectToString("pe_cantc")),(Object)(RemoteObject.createImmutable("text"))); + BA.debugLineNum = 35;BA.debugLine="agregaColumna2(rkmt,\"pedidos\",\"pe_bcajas\",\"text\")"; +Debug.ShouldStop(4); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_respaldodiario.class, "_agregacolumna2" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_rkmt" /*RemoteObject*/ )),(Object)(BA.ObjectToString("pedidos")),(Object)(BA.ObjectToString("pe_bcajas")),(Object)(RemoteObject.createImmutable("text"))); + BA.debugLineNum = 36;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +Debug.ShouldStop(8); +try { BA.debugLineNum = 37;BA.debugLine="Private c As Cursor = rkmt.ExecQuery($\"SELECT CO"; +Debug.ShouldStop(16); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_rkmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("SELECT COUNT(*) AS fCol FROM pragma_table_info('pedidos') WHERE name='pe_envio_ok'")))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 38;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 39;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { + BA.debugLineNum = 40;BA.debugLine="rkmt.ExecNonQuery($\"ALTER TABLE pedidos ADD COL"; +Debug.ShouldStop(128); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("ALTER TABLE pedidos ADD COLUMN pe_envio_ok INT")))); + BA.debugLineNum = 41;BA.debugLine="Log($\"Columna \"pe_envio_ok INT\", agregada a \"pe"; +Debug.ShouldStop(256); +c_respaldodiario.__c.runVoidMethod ("LogImpl","522216733",(RemoteObject.createImmutable("Columna \"pe_envio_ok INT\", agregada a \"pedidos}\".")),0); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e26) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e26.toString()); BA.debugLineNum = 44;BA.debugLine="Try"; +Debug.ShouldStop(2048); +try { BA.debugLineNum = 45;BA.debugLine="rkmt.ExecNonQuery($\"ALTER TABLE pedidos ADD COL"; +Debug.ShouldStop(4096); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("ALTER TABLE pedidos ADD COLUMN pe_envio_ok INT")))); + BA.debugLineNum = 46;BA.debugLine="Log($\"Columna \"pe_envio_ok INT\", agregada a \"pe"; +Debug.ShouldStop(8192); +c_respaldodiario.__c.runVoidMethod ("LogImpl","522216738",(RemoteObject.createImmutable("Columna \"pe_envio_ok INT\", agregada a \"pedidos\"..")),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e30) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e30.toString()); BA.debugLineNum = 48;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(32768); +c_respaldodiario.__c.runVoidMethod ("LogImpl","522216740",BA.ObjectToString(c_respaldodiario.__c.runMethod(false,"LastException",__ref.getField(false, "ba"))),0); + }; + }; + BA.debugLineNum = 51;BA.debugLine="rkmt.ExecNonQuery($\"create table if not exists in"; +Debug.ShouldStop(262144); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("create table if not exists inventarios (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_tipoprod2 TEXT, fecha TEXT)")))); + BA.debugLineNum = 52;BA.debugLine="rkmt.ExecNonQuery($\"create table if not exists pa"; +Debug.ShouldStop(524288); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.createImmutable("create table if not exists paquetes (cat_dp_precio_simptos TEXT, cat_dp_precio TEXT, cat_dp_almacen TEXT, cat_dp_id TEXT, cat_dp_idprod TEXT, cat_dp_tipo TEXT, cat_dp_pzas TEXT, cat_dp_usuario TEXT, cat_dp_fecha TEXT, cat_dp_regalo TEXT, cat_dp_clasif TEXT, fecha TEXT)")))); + BA.debugLineNum = 53;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(1048576); +c_respaldodiario.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 54;BA.debugLine="fechaHoy = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(2097152); +__ref.setField ("_fechahoy" /*RemoteObject*/ ,c_respaldodiario.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_respaldodiario.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 55;BA.debugLine="revisaSkmtAttached"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_respaldodiario.class, "_revisaskmtattached" /*RemoteObject*/ ); + BA.debugLineNum = 56;BA.debugLine="Return Me"; +Debug.ShouldStop(8388608); +if (true) return __ref; + BA.debugLineNum = 57;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _respaldainventarios(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("respaldaInventarios (c_respaldodiario) ","c_respaldodiario",16,__ref.getField(false, "ba"),__ref,92); +if (RapidSub.canDelegate("respaldainventarios")) { return __ref.runUserSub(false, "c_respaldodiario","respaldainventarios", __ref);} +RemoteObject _inicio = RemoteObject.createImmutable(""); + BA.debugLineNum = 92;BA.debugLine="Sub respaldaInventarios"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 94;BA.debugLine="Private inicio As String = DateTime.Now"; +Debug.ShouldStop(536870912); +_inicio = BA.NumberToString(c_respaldodiario.__c.getField(false,"DateTime").runMethod(true,"getNow"));Debug.locals.put("inicio", _inicio);Debug.locals.put("inicio", _inicio); + BA.debugLineNum = 97;BA.debugLine="rkmt.BeginTransaction"; +Debug.ShouldStop(1); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("BeginTransaction"); + BA.debugLineNum = 98;BA.debugLine="rkmt.ExecNonQuery($\"delete from inventarios where"; +Debug.ShouldStop(2); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from inventarios where fecha = '"),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_fechahoy" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 100;BA.debugLine="rkmt.TransactionSuccessful 'Si no se pone Transac"; +Debug.ShouldStop(8); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("TransactionSuccessful"); + BA.debugLineNum = 101;BA.debugLine="rkmt.EndTransaction"; +Debug.ShouldStop(16); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("EndTransaction"); + 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 _respaldapaquetes(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("respaldaPaquetes (c_respaldodiario) ","c_respaldodiario",16,__ref.getField(false, "ba"),__ref,106); +if (RapidSub.canDelegate("respaldapaquetes")) { return __ref.runUserSub(false, "c_respaldodiario","respaldapaquetes", __ref);} +RemoteObject _inicio = RemoteObject.createImmutable(""); + BA.debugLineNum = 106;BA.debugLine="Sub respaldaPaquetes"; +Debug.ShouldStop(512); + BA.debugLineNum = 107;BA.debugLine="Private inicio As String = DateTime.Now"; +Debug.ShouldStop(1024); +_inicio = BA.NumberToString(c_respaldodiario.__c.getField(false,"DateTime").runMethod(true,"getNow"));Debug.locals.put("inicio", _inicio);Debug.locals.put("inicio", _inicio); + BA.debugLineNum = 109;BA.debugLine="rkmt.BeginTransaction"; +Debug.ShouldStop(4096); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("BeginTransaction"); + BA.debugLineNum = 111;BA.debugLine="rkmt.ExecNonQuery($\"delete from paquetes where fe"; +Debug.ShouldStop(16384); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from paquetes where fecha = '"),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_fechahoy" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 112;BA.debugLine="rkmt.ExecNonQuery($\"insert into paquetes (cat_dp_"; +Debug.ShouldStop(32768); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into paquetes (cat_dp_precio_simptos, cat_dp_precio, 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, fecha) select cat_dp_precio_simptos, cat_dp_precio, 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, '"),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_fechahoy" /*RemoteObject*/ )))),RemoteObject.createImmutable("' as fecha from skmt1.cat_detalles_paq"))))); + BA.debugLineNum = 113;BA.debugLine="rkmt.TransactionSuccessful 'Si no se pone Transac"; +Debug.ShouldStop(65536); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("TransactionSuccessful"); + BA.debugLineNum = 114;BA.debugLine="rkmt.EndTransaction"; +Debug.ShouldStop(131072); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("EndTransaction"); + BA.debugLineNum = 116;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _respaldapedido(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("respaldaPedido (c_respaldodiario) ","c_respaldodiario",16,__ref.getField(false, "ba"),__ref,79); +if (RapidSub.canDelegate("respaldapedido")) { return __ref.runUserSub(false, "c_respaldodiario","respaldapedido", __ref);} +RemoteObject _inicio = RemoteObject.createImmutable(""); + BA.debugLineNum = 79;BA.debugLine="Sub respaldaPedido"; +Debug.ShouldStop(16384); + BA.debugLineNum = 80;BA.debugLine="Private inicio As String = DateTime.Now"; +Debug.ShouldStop(32768); +_inicio = BA.NumberToString(c_respaldodiario.__c.getField(false,"DateTime").runMethod(true,"getNow"));Debug.locals.put("inicio", _inicio);Debug.locals.put("inicio", _inicio); + BA.debugLineNum = 81;BA.debugLine="Log(\"copiando pedidos ...\")"; +Debug.ShouldStop(65536); +c_respaldodiario.__c.runVoidMethod ("LogImpl","522413314",RemoteObject.createImmutable("copiando pedidos ..."),0); + BA.debugLineNum = 82;BA.debugLine="rkmt.BeginTransaction"; +Debug.ShouldStop(131072); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("BeginTransaction"); + BA.debugLineNum = 83;BA.debugLine="rkmt.ExecNonQuery($\"delete from pedidos where sub"; +Debug.ShouldStop(262144); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedidos where substr(pe_fecha, 1, 10) = '"),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_fechahoy" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 85;BA.debugLine="rkmt.TransactionSuccessful 'Si no se pone Transac"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("TransactionSuccessful"); + BA.debugLineNum = 86;BA.debugLine="rkmt.EndTransaction"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("EndTransaction"); + BA.debugLineNum = 88;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisaskmtattached(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("revisaSkmtAttached (c_respaldodiario) ","c_respaldodiario",16,__ref.getField(false, "ba"),__ref,66); +if (RapidSub.canDelegate("revisaskmtattached")) { return __ref.runUserSub(false, "c_respaldodiario","revisaskmtattached", __ref);} +RemoteObject _rs = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); + BA.debugLineNum = 66;BA.debugLine="Sub revisaSkmtAttached"; +Debug.ShouldStop(2); + BA.debugLineNum = 67;BA.debugLine="skmtAttached = False"; +Debug.ShouldStop(4); +__ref.setField ("_skmtattached" /*RemoteObject*/ ,c_respaldodiario.__c.getField(true,"False")); + BA.debugLineNum = 68;BA.debugLine="Dim rs As ResultSet = rkmt.ExecQuery(\"SELECT * FR"; +Debug.ShouldStop(8); +_rs = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_rs = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), __ref.getField(false,"_rkmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT * FROM pragma_database_list"))));Debug.locals.put("rs", _rs);Debug.locals.put("rs", _rs); + BA.debugLineNum = 69;BA.debugLine="Do While rs.NextRow 'Revisamos si esta montada \"k"; +Debug.ShouldStop(16); +while (_rs.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 70;BA.debugLine="If rs.GetString(\"name\") = \"skmt1\" Then skmtAttac"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("=",_rs.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("name"))),BA.ObjectToString("skmt1"))) { +__ref.setField ("_skmtattached" /*RemoteObject*/ ,c_respaldodiario.__c.getField(true,"True"));}; + } +; + BA.debugLineNum = 72;BA.debugLine="If Not(skmtAttached) Then"; +Debug.ShouldStop(128); +if (c_respaldodiario.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_skmtattached" /*RemoteObject*/ ))).get().booleanValue()) { + BA.debugLineNum = 73;BA.debugLine="rkmt.ExecNonQuery($\"attach database '${File.Comb"; +Debug.ShouldStop(256); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("attach database '"),c_respaldodiario.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_respaldodiario.__c.getField(false,"File").runMethod(true,"Combine",(Object)(c_respaldodiario.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmt.db")))))),RemoteObject.createImmutable("' as skmt1;"))))); + BA.debugLineNum = 74;BA.debugLine="skmtAttached = True"; +Debug.ShouldStop(512); +__ref.setField ("_skmtattached" /*RemoteObject*/ ,c_respaldodiario.__c.getField(true,"True")); + }; + 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 _vacuum(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("vacuum (c_respaldodiario) ","c_respaldodiario",16,__ref.getField(false, "ba"),__ref,118); +if (RapidSub.canDelegate("vacuum")) { return __ref.runUserSub(false, "c_respaldodiario","vacuum", __ref);} + BA.debugLineNum = 118;BA.debugLine="Sub vacuum"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 119;BA.debugLine="Log(\"Vacuum\")"; +Debug.ShouldStop(4194304); +c_respaldodiario.__c.runVoidMethod ("LogImpl","522609921",RemoteObject.createImmutable("Vacuum"),0); + BA.debugLineNum = 120;BA.debugLine="rkmt.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_rkmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 121;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +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/SHARK2/keymon/com/mx/c_subs.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_subs.java new file mode 100644 index 0000000..dbbdf62 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_subs.java @@ -0,0 +1,44 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_subs { + public static RemoteObject myClass; + public c_subs() { + } + public static PCBA staticBA = new PCBA(null, c_subs.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager"); +public static RemoteObject _eventname = RemoteObject.createImmutable(""); +public static RemoteObject _callback = RemoteObject.declareNull("Object"); +public static RemoteObject _phn = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +public static RemoteObject _devmodel = RemoteObject.createImmutable(""); +public static RemoteObject _db = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +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 _reqslist = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _reqerror = RemoteObject.createImmutable(false); +public static RemoteObject _subslogs = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"CallBack",_ref.getField(false, "_callback"),"DateUtils",_ref.getField(false, "_dateutils"),"db",_ref.getField(false, "_db"),"devModel",_ref.getField(false, "_devmodel"),"errorLog",_ref.getField(false, "_errorlog"),"EventName",_ref.getField(false, "_eventname"),"kmt",_ref.getField(false, "_kmt"),"phn",_ref.getField(false, "_phn"),"reqError",_ref.getField(false, "_reqerror"),"reqManager",_ref.getField(false, "_reqmanager"),"reqsList",_ref.getField(false, "_reqslist"),"ssid",_ref.getField(false, "_ssid"),"subsLogs",_ref.getField(false, "_subslogs")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_subs_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_subs_subs_0.java new file mode 100644 index 0000000..061a9a7 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_subs_subs_0.java @@ -0,0 +1,1663 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_subs_subs_0 { + + +public static RemoteObject _agregacolumna(RemoteObject __ref,RemoteObject _tabla,RemoteObject _columna,RemoteObject _tipo) throws Exception{ +try { + Debug.PushSubsStack("agregaColumna (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,417); +if (RapidSub.canDelegate("agregacolumna")) { return __ref.runUserSub(false, "c_subs","agregacolumna", __ref, _tabla, _columna, _tipo);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +Debug.locals.put("tabla", _tabla); +Debug.locals.put("columna", _columna); +Debug.locals.put("tipo", _tipo); + BA.debugLineNum = 417;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +Debug.ShouldStop(1); + BA.debugLineNum = 418;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +Debug.ShouldStop(2); +try { BA.debugLineNum = 419;BA.debugLine="Private c As Cursor = db.ExecQuery($\"SELECT COUN"; +Debug.ShouldStop(4); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_db" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT COUNT(*) AS fCol FROM pragma_table_info('"),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("') WHERE name='"),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 420;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 421;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { + BA.debugLineNum = 422;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +Debug.ShouldStop(32); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 423;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(64); +c_subs.__c.runVoidMethod ("LogImpl","524969222",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\"."))),0); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e9) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e9.toString()); BA.debugLineNum = 426;BA.debugLine="Try"; +Debug.ShouldStop(512); +try { BA.debugLineNum = 427;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +Debug.ShouldStop(1024); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 428;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(2048); +c_subs.__c.runVoidMethod ("LogImpl","524969227",(RemoteObject.concat(RemoteObject.createImmutable("Columna \""),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable("\", agregada a \""),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("\".."))),0); + Debug.CheckDeviceExceptions(); +} + catch (Exception e13) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e13.toString()); BA.debugLineNum = 430;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(8192); +c_subs.__c.runVoidMethod ("LogImpl","524969229",BA.ObjectToString(c_subs.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA"))),0); + }; + }; + BA.debugLineNum = 433;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _borralogdb(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("borraLogDB (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,247); +if (RapidSub.canDelegate("borralogdb")) { return __ref.runUserSub(false, "c_subs","borralogdb", __ref);} + BA.debugLineNum = 247;BA.debugLine="Sub borraLogDB 'ignore"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 248;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +Debug.ShouldStop(8388608); +c_subs.__c.runVoidMethod ("LogImpl","524051713",BA.ObjectToString("Borramos BD de log"),c_subs.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 249;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_kmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from bitacora"))); + BA.debugLineNum = 250;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_kmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + 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 _buscadbusuario(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("buscaDBUsuario (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,369); +if (RapidSub.canDelegate("buscadbusuario")) { return __ref.runUserSub(false, "c_subs","buscadbusuario", __ref);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _usuario = RemoteObject.createImmutable(""); + BA.debugLineNum = 369;BA.debugLine="Sub buscaDBUsuario As String 'ignore"; +Debug.ShouldStop(65536); + BA.debugLineNum = 370;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(131072); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 371;BA.debugLine="Private usuario As String = \"SinUsuario\""; +Debug.ShouldStop(262144); +_usuario = BA.ObjectToString("SinUsuario");Debug.locals.put("usuario", _usuario);Debug.locals.put("usuario", _usuario); + BA.debugLineNum = 372;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(524288); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_kmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));Debug.locals.put("c", _c); + BA.debugLineNum = 373;BA.debugLine="c.Position=0"; +Debug.ShouldStop(1048576); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 374;BA.debugLine="If c.RowCount > 0 Then usuario = c.GetString(\"USU"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +_usuario = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")));Debug.locals.put("usuario", _usuario);}; + BA.debugLineNum = 375;BA.debugLine="Return usuario"; +Debug.ShouldStop(4194304); +if (true) return _usuario; + BA.debugLineNum = 376;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centraetiqueta(RemoteObject __ref,RemoteObject _elemento,RemoteObject _anchoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraEtiqueta (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,349); +if (RapidSub.canDelegate("centraetiqueta")) { return __ref.runUserSub(false, "c_subs","centraetiqueta", __ref, _elemento, _anchoelementosuperior);} +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 349;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 350;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +Debug.ShouldStop(536870912); +_elemento.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_subs.__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 = 351;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centrapanel(RemoteObject __ref,RemoteObject _elemento,RemoteObject _anchoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraPanel (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,354); +if (RapidSub.canDelegate("centrapanel")) { return __ref.runUserSub(false, "c_subs","centrapanel", __ref, _elemento, _anchoelementosuperior);} +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 354;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; +Debug.ShouldStop(2); + BA.debugLineNum = 355;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +Debug.ShouldStop(4); +_elemento.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_subs.__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 = 356;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centrapanelv(RemoteObject __ref,RemoteObject _elemento,RemoteObject _altoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraPanelV (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,359); +if (RapidSub.canDelegate("centrapanelv")) { return __ref.runUserSub(false, "c_subs","centrapanelv", __ref, _elemento, _altoelementosuperior);} +Debug.locals.put("elemento", _elemento); +Debug.locals.put("altoElementoSuperior", _altoelementosuperior); + BA.debugLineNum = 359;BA.debugLine="Sub centraPanelV(elemento As Panel, altoElementoSu"; +Debug.ShouldStop(64); + BA.debugLineNum = 360;BA.debugLine="elemento.Top = Round(altoElementoSuperior/2)-(ele"; +Debug.ShouldStop(128); +_elemento.runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_subs.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {_altoelementosuperior,RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {_elemento.runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 361;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centraprogressbar(RemoteObject __ref,RemoteObject _elemento,RemoteObject _anchoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraProgressBar (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,364); +if (RapidSub.canDelegate("centraprogressbar")) { return __ref.runUserSub(false, "c_subs","centraprogressbar", __ref, _elemento, _anchoelementosuperior);} +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 364;BA.debugLine="Sub centraProgressBar(elemento As ProgressBar, anc"; +Debug.ShouldStop(2048); + BA.debugLineNum = 365;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +Debug.ShouldStop(4096); +_elemento.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {c_subs.__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 = 366;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checknotificationaccess(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CheckNotificationAccess (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,595); +if (RapidSub.canDelegate("checknotificationaccess")) { return __ref.runUserSub(false, "c_subs","checknotificationaccess", __ref);} +RemoteObject _ph = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +RemoteObject _nstr = RemoteObject.createImmutable(""); +RemoteObject _pstr = RemoteObject.createImmutable(""); +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.agraham.reflection.Reflection"); + BA.debugLineNum = 595;BA.debugLine="Sub CheckNotificationAccess As Boolean 'ignore"; +Debug.ShouldStop(262144); + BA.debugLineNum = 596;BA.debugLine="Dim ph As Phone"; +Debug.ShouldStop(524288); +_ph = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("ph", _ph); + BA.debugLineNum = 597;BA.debugLine="Dim nstr, pstr As String"; +Debug.ShouldStop(1048576); +_nstr = RemoteObject.createImmutable("");Debug.locals.put("nstr", _nstr); +_pstr = RemoteObject.createImmutable("");Debug.locals.put("pstr", _pstr); + BA.debugLineNum = 598;BA.debugLine="Dim r As Reflector"; +Debug.ShouldStop(2097152); +_r = RemoteObject.createNew ("anywheresoftware.b4a.agraham.reflection.Reflection");Debug.locals.put("r", _r); + BA.debugLineNum = 599;BA.debugLine="pstr = r.GetStaticField(\"anywheresoftware.b4a.BA\""; +Debug.ShouldStop(4194304); +_pstr = BA.ObjectToString(_r.runMethod(false,"GetStaticField",(Object)(BA.ObjectToString("anywheresoftware.b4a.BA")),(Object)(RemoteObject.createImmutable("packageName"))));Debug.locals.put("pstr", _pstr); + BA.debugLineNum = 600;BA.debugLine="nstr = ph.GetSettings(\"enabled_notification_liste"; +Debug.ShouldStop(8388608); +_nstr = _ph.runMethod(true,"GetSettings",(Object)(RemoteObject.createImmutable("enabled_notification_listeners")));Debug.locals.put("nstr", _nstr); + BA.debugLineNum = 601;BA.debugLine="Return nstr.Contains(pstr)"; +Debug.ShouldStop(16777216); +if (true) return _nstr.runMethod(true,"contains",(Object)(_pstr)); + BA.debugLineNum = 602;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +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 = 6;BA.debugLine="Dim reqManager As DBRequestManager"; +c_subs._reqmanager = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager");__ref.setField("_reqmanager",c_subs._reqmanager); + //BA.debugLineNum = 7;BA.debugLine="Private EventName As String 'ignore"; +c_subs._eventname = RemoteObject.createImmutable("");__ref.setField("_eventname",c_subs._eventname); + //BA.debugLineNum = 8;BA.debugLine="Private CallBack As Object 'ignore"; +c_subs._callback = RemoteObject.createNew ("Object");__ref.setField("_callback",c_subs._callback); + //BA.debugLineNum = 9;BA.debugLine="Dim phn As Phone"; +c_subs._phn = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_phn",c_subs._phn); + //BA.debugLineNum = 10;BA.debugLine="Dim devModel As String"; +c_subs._devmodel = RemoteObject.createImmutable("");__ref.setField("_devmodel",c_subs._devmodel); + //BA.debugLineNum = 11;BA.debugLine="Dim db, kmt, errorLog As SQL 'Requiere la libreri"; +c_subs._db = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_db",c_subs._db); +c_subs._kmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_kmt",c_subs._kmt); +c_subs._errorlog = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");__ref.setField("_errorlog",c_subs._errorlog); + //BA.debugLineNum = 12;BA.debugLine="Dim ssid As String 'ignore"; +c_subs._ssid = RemoteObject.createImmutable("");__ref.setField("_ssid",c_subs._ssid); + //BA.debugLineNum = 13;BA.debugLine="Dim reqsList As List"; +c_subs._reqslist = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_reqslist",c_subs._reqslist); + //BA.debugLineNum = 14;BA.debugLine="Dim reqError As Boolean = False"; +c_subs._reqerror = c_subs.__c.getField(true,"False");__ref.setField("_reqerror",c_subs._reqerror); + //BA.debugLineNum = 15;BA.debugLine="Private subsLogs As Boolean = False"; +c_subs._subslogs = c_subs.__c.getField(true,"False");__ref.setField("_subslogs",c_subs._subslogs); + //BA.debugLineNum = 16;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _copiadb(RemoteObject __ref,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("copiaDB (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,307); +if (RapidSub.canDelegate("copiadb")) { return __ref.runUserSub(false, "c_subs","copiadb", __ref, _result);} +RemoteObject _p = RemoteObject.createImmutable(""); +RemoteObject _thedir = RemoteObject.createImmutable(""); +Debug.locals.put("result", _result); + BA.debugLineNum = 307;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; +Debug.ShouldStop(262144); + BA.debugLineNum = 308;BA.debugLine="ToastMessageShow(\"copiaDB\", False)"; +Debug.ShouldStop(524288); +c_subs.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("copiaDB")),(Object)(c_subs.__c.getField(true,"False"))); + BA.debugLineNum = 309;BA.debugLine="If result Then"; +Debug.ShouldStop(1048576); +if (_result.get().booleanValue()) { + BA.debugLineNum = 310;BA.debugLine="Dim p As String"; +Debug.ShouldStop(2097152); +_p = RemoteObject.createImmutable("");Debug.locals.put("p", _p); + BA.debugLineNum = 311;BA.debugLine="If File.ExternalWritable Then"; +Debug.ShouldStop(4194304); +if (c_subs.__c.getField(false,"File").runMethod(true,"getExternalWritable").get().booleanValue()) { + BA.debugLineNum = 312;BA.debugLine="p = File.DirInternal"; +Debug.ShouldStop(8388608); +_p = c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("p", _p); + }else { + BA.debugLineNum = 315;BA.debugLine="p = File.DirInternal"; +Debug.ShouldStop(67108864); +_p = c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("p", _p); + }; + BA.debugLineNum = 318;BA.debugLine="Dim theDir As String"; +Debug.ShouldStop(536870912); +_thedir = RemoteObject.createImmutable("");Debug.locals.put("theDir", _thedir); + BA.debugLineNum = 319;BA.debugLine="Try"; +Debug.ShouldStop(1073741824); +try { BA.debugLineNum = 320;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; +Debug.ShouldStop(-2147483648); +c_subs.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmts"))); + BA.debugLineNum = 321;BA.debugLine="theDir = \"/kmts\""; +Debug.ShouldStop(1); +_thedir = BA.ObjectToString("/kmts");Debug.locals.put("theDir", _thedir); + Debug.CheckDeviceExceptions(); +} + catch (Exception e14) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e14.toString()); BA.debugLineNum = 323;BA.debugLine="theDir = \"\""; +Debug.ShouldStop(4); +_thedir = BA.ObjectToString("");Debug.locals.put("theDir", _thedir); + }; + BA.debugLineNum = 325;BA.debugLine="Try"; +Debug.ShouldStop(16); +try { BA.debugLineNum = 326;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirInt"; +Debug.ShouldStop(32); +c_subs.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("kmt.db")),(Object)(RemoteObject.concat(c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal"),_thedir)),(Object)(RemoteObject.createImmutable("cedex_kmt.db"))); + BA.debugLineNum = 327;BA.debugLine="File.Copy(File.DirInternal,\"errorLog.db\",File.D"; +Debug.ShouldStop(64); +c_subs.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("errorLog.db")),(Object)(RemoteObject.concat(c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal"),_thedir)),(Object)(RemoteObject.createImmutable("cedex_errorLog.db"))); + BA.debugLineNum = 328;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)"; +Debug.ShouldStop(128); +c_subs.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("BD copiada!")),(Object)(c_subs.__c.getField(true,"False"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e21) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e21.toString()); BA.debugLineNum = 330;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; +Debug.ShouldStop(512); +c_subs.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("No se pudo hacer la copia: "),c_subs.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA"))))),(Object)(c_subs.__c.getField(true,"True"))); + }; + BA.debugLineNum = 332;BA.debugLine="Log(\"rootExternal=\"&p)"; +Debug.ShouldStop(2048); +c_subs.__c.runVoidMethod ("LogImpl","524248345",RemoteObject.concat(RemoteObject.createImmutable("rootExternal="),_p),0); + BA.debugLineNum = 333;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +Debug.ShouldStop(4096); +c_subs.__c.runVoidMethod ("LogImpl","524248346",RemoteObject.concat(RemoteObject.createImmutable("File.DirInternal="),c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal")),0); + BA.debugLineNum = 334;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +Debug.ShouldStop(8192); +c_subs.__c.runVoidMethod ("LogImpl","524248347",RemoteObject.concat(RemoteObject.createImmutable("File.DirInternal="),c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal")),0); + }else { + BA.debugLineNum = 336;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; +Debug.ShouldStop(32768); +c_subs.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Sin permisos")),(Object)(c_subs.__c.getField(true,"False"))); + }; + BA.debugLineNum = 338;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createnotification(RemoteObject __ref,RemoteObject _body) throws Exception{ +try { + Debug.PushSubsStack("CreateNotification (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,469); +if (RapidSub.canDelegate("createnotification")) { return __ref.runUserSub(false, "c_subs","createnotification", __ref, _body);} +RemoteObject _notification = RemoteObject.declareNull("anywheresoftware.b4a.objects.NotificationWrapper"); +Debug.locals.put("Body", _body); + BA.debugLineNum = 469;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 470;BA.debugLine="Dim notification As Notification"; +Debug.ShouldStop(2097152); +_notification = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper");Debug.locals.put("notification", _notification); + BA.debugLineNum = 471;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +Debug.ShouldStop(4194304); +_notification.runVoidMethod ("Initialize2",(Object)(_notification.getField(true,"IMPORTANCE_LOW"))); + BA.debugLineNum = 472;BA.debugLine="notification.Icon = \"icon\""; +Debug.ShouldStop(8388608); +_notification.runVoidMethod ("setIcon",BA.ObjectToString("icon")); + BA.debugLineNum = 473;BA.debugLine="notification.SetInfo(\"Tester\", Body, Main)"; +Debug.ShouldStop(16777216); +_notification.runVoidMethod ("SetInfoNew",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence("Tester")),(Object)(BA.ObjectToCharSequence(_body)),(Object)((c_subs._main.getObject()))); + BA.debugLineNum = 474;BA.debugLine="Return notification"; +Debug.ShouldStop(33554432); +if (true) return _notification; + BA.debugLineNum = 475;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dbinit(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("dbInit (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,30); +if (RapidSub.canDelegate("dbinit")) { return __ref.runUserSub(false, "c_subs","dbinit", __ref);} + BA.debugLineNum = 30;BA.debugLine="Sub dbInit As SQL"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 31;BA.debugLine="If File.Exists(File.DirInternal, \"kmt.db\") = Fals"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",c_subs.__c.getField(false,"File").runMethod(true,"Exists",(Object)(c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmt.db"))),c_subs.__c.getField(true,"False"))) { +c_subs.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_subs.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmt.db")));}; + BA.debugLineNum = 32;BA.debugLine="db.Initialize(File.DirInternal,\"kmt.db\", True)"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_db" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("kmt.db")),(Object)(c_subs.__c.getField(true,"True"))); + BA.debugLineNum = 33;BA.debugLine="dbOk(True)"; +Debug.ShouldStop(1); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_dbok" /*RemoteObject*/ ,(Object)(c_subs.__c.getField(true,"True"))); + BA.debugLineNum = 35;BA.debugLine="Return db"; +Debug.ShouldStop(4); +if (true) return __ref.getField(false,"_db" /*RemoteObject*/ ); + BA.debugLineNum = 36;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dbok(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("dbOk (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("dbok")) { return __ref.runUserSub(false, "c_subs","dbok", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 38;BA.debugLine="Sub dbOk(Success As Boolean)"; +Debug.ShouldStop(32); + BA.debugLineNum = 39;BA.debugLine="If SubExists(CallBack, EventName & \"_dbOk\") Then"; +Debug.ShouldStop(64); +if (c_subs.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_dbOk")))).get().booleanValue()) { + BA.debugLineNum = 40;BA.debugLine="CallSub2(CallBack, EventName & \"_dbOk\", Success)"; +Debug.ShouldStop(128); +c_subs.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_dbOk"))),(Object)((_success))); + }; + BA.debugLineNum = 42;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _deleteerrorlog_db(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("deleteErrorLog_DB (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,180); +if (RapidSub.canDelegate("deleteerrorlog_db")) { return __ref.runUserSub(false, "c_subs","deleteerrorlog_db", __ref);} + BA.debugLineNum = 180;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; +Debug.ShouldStop(524288); + BA.debugLineNum = 181;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_errorlog" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from errores"))); + BA.debugLineNum = 182;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_errorlog" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 183;BA.debugLine="ToastMessageShow(\"BD Errores Borrada\", False)"; +Debug.ShouldStop(4194304); +c_subs.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("BD Errores Borrada")),(Object)(c_subs.__c.getField(true,"False"))); + BA.debugLineNum = 184;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _deletegps_db(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("deleteGPS_DB (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,173); +if (RapidSub.canDelegate("deletegps_db")) { return __ref.runUserSub(false, "c_subs","deletegps_db", __ref);} + BA.debugLineNum = 173;BA.debugLine="Sub deleteGPS_DB 'ignore"; +Debug.ShouldStop(4096); + BA.debugLineNum = 174;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; +Debug.ShouldStop(8192); +__ref.getField(false,"_kmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from RUTA_GPS"))); + BA.debugLineNum = 175;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(16384); +__ref.getField(false,"_kmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 176;BA.debugLine="ToastMessageShow(\"Borramos BD Coords GPS\", False)"; +Debug.ShouldStop(32768); +c_subs.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Borramos BD Coords GPS")),(Object)(c_subs.__c.getField(true,"False"))); + BA.debugLineNum = 177;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _enviook(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("envioOk (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,71); +if (RapidSub.canDelegate("enviook")) { return __ref.runUserSub(false, "c_subs","enviook", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 71;BA.debugLine="Sub envioOk(Success As Boolean)"; +Debug.ShouldStop(64); + BA.debugLineNum = 73;BA.debugLine="If SubExists(CallBack, EventName & \"_envioOk\") Th"; +Debug.ShouldStop(256); +if (c_subs.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_envioOk")))).get().booleanValue()) { + BA.debugLineNum = 74;BA.debugLine="CallSub2(CallBack, EventName & \"_envioOk\", Succe"; +Debug.ShouldStop(512); +c_subs.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_envioOk"))),(Object)((_success))); + }; + 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 _enviotest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("envioTest (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,58); +if (RapidSub.canDelegate("enviotest")) { return __ref.runUserSub(false, "c_subs","enviotest", __ref);} +RemoteObject _cmd = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand"); +int _i = 0; + BA.debugLineNum = 58;BA.debugLine="Sub envioTest"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 59;BA.debugLine="reqsList.Initialize ' Ponemos la lista de DBReque"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 60;BA.debugLine="Private cmd As DBCommand"; +Debug.ShouldStop(134217728); +_cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 61;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(268435456); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 62;BA.debugLine="cmd.Name = \"select_fecha\""; +Debug.ShouldStop(536870912); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("select_fecha")); + BA.debugLineNum = 63;BA.debugLine="For i = 0 To 50"; +Debug.ShouldStop(1073741824); +{ +final int step5 = 1; +final int limit5 = 50; +_i = 0 ; +for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 65;BA.debugLine="reqManager.ExecuteQuery(cmd, 0, $\"select_fecha_$"; +Debug.ShouldStop(1); +__ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executequery" /*RemoteObject*/ ,(Object)(_cmd),(Object)(BA.numberCast(int.class, 0)),(Object)(((RemoteObject.concat(RemoteObject.createImmutable("select_fecha_"),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable((_i)))),RemoteObject.createImmutable("")))))); + BA.debugLineNum = 66;BA.debugLine="reqsList.Add($\"select_fecha_${i}\"$)"; +Debug.ShouldStop(2); +__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(((RemoteObject.concat(RemoteObject.createImmutable("select_fecha_"),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable((_i)))),RemoteObject.createImmutable("")))))); + } +}Debug.locals.put("i", _i); +; + 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 _fechainiciohoy(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("fechaInicioHoy (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,206); +if (RapidSub.canDelegate("fechainiciohoy")) { return __ref.runUserSub(false, "c_subs","fechainiciohoy", __ref);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _h = RemoteObject.createImmutable(""); + BA.debugLineNum = 206;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; +Debug.ShouldStop(8192); + BA.debugLineNum = 207;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +Debug.ShouldStop(16384); +_origformat = c_subs.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 208;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; +Debug.ShouldStop(32768); +c_subs.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyMMdd")); + BA.debugLineNum = 209;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(65536); +_h = RemoteObject.concat(c_subs.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_subs.__c.getField(false,"DateTime").runMethod(true,"getNow"))),RemoteObject.createImmutable("000000"));Debug.locals.put("h", _h);Debug.locals.put("h", _h); + BA.debugLineNum = 210;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +Debug.ShouldStop(131072); +c_subs.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 211;BA.debugLine="Log(\"Hoy=\"&h)"; +Debug.ShouldStop(262144); +c_subs.__c.runVoidMethod ("LogImpl","523789573",RemoteObject.concat(RemoteObject.createImmutable("Hoy="),_h),0); + BA.debugLineNum = 212;BA.debugLine="Return h"; +Debug.ShouldStop(524288); +if (true) return _h; + BA.debugLineNum = 213;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _fechakmt(RemoteObject __ref,RemoteObject _fecha) throws Exception{ +try { + Debug.PushSubsStack("fechaKMT (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,133); +if (RapidSub.canDelegate("fechakmt")) { return __ref.runUserSub(false, "c_subs","fechakmt", __ref, _fecha);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _nuevafecha = RemoteObject.createImmutable(""); +Debug.locals.put("fecha", _fecha); + BA.debugLineNum = 133;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; +Debug.ShouldStop(16); + BA.debugLineNum = 135;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +Debug.ShouldStop(64); +_origformat = c_subs.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 136;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +Debug.ShouldStop(128); +c_subs.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyMMddHHmmss")); + BA.debugLineNum = 137;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; +Debug.ShouldStop(256); +_nuevafecha = c_subs.__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 = 138;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +Debug.ShouldStop(512); +c_subs.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 140;BA.debugLine="Return nuevaFecha"; +Debug.ShouldStop(2048); +if (true) return _nuevafecha; + BA.debugLineNum = 141;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _fechakmt2ticks(RemoteObject __ref,RemoteObject _fkmt) throws Exception{ +try { + Debug.PushSubsStack("fechaKMT2Ticks (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,275); +if (RapidSub.canDelegate("fechakmt2ticks")) { return __ref.runUserSub(false, "c_subs","fechakmt2ticks", __ref, _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 = 275;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; +Debug.ShouldStop(262144); + BA.debugLineNum = 276;BA.debugLine="Try"; +Debug.ShouldStop(524288); +try { BA.debugLineNum = 277;BA.debugLine="If fKMT.Length = 12 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_fkmt.runMethod(true,"length"),BA.numberCast(double.class, 12))) { + BA.debugLineNum = 278;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; +Debug.ShouldStop(2097152); +_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 = 279;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; +Debug.ShouldStop(4194304); +_partehora = _fkmt.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 6)));Debug.locals.put("parteHora", _partehora);Debug.locals.put("parteHora", _partehora); + BA.debugLineNum = 280;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; +Debug.ShouldStop(8388608); +_origformat = c_subs.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 281;BA.debugLine="DateTime.DateFormat=\"yymmdd\""; +Debug.ShouldStop(16777216); +c_subs.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yymmdd")); + BA.debugLineNum = 282;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +Debug.ShouldStop(33554432); +c_subs.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 283;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; +Debug.ShouldStop(67108864); +_ticks = c_subs.__c.getField(false,"DateTime").runMethod(true,"DateTimeParse",(Object)(_partefecha),(Object)(_partehora));Debug.locals.put("ticks", _ticks);Debug.locals.put("ticks", _ticks); + BA.debugLineNum = 284;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +Debug.ShouldStop(134217728); +c_subs.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 285;BA.debugLine="Return ticks"; +Debug.ShouldStop(268435456); +Debug.CheckDeviceExceptions();if (true) return _ticks; + }else { + BA.debugLineNum = 287;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; +Debug.ShouldStop(1073741824); +c_subs.__c.runVoidMethod ("LogImpl","524117260",RemoteObject.concat(RemoteObject.createImmutable("Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"),_fkmt,RemoteObject.createImmutable("' largo="),_fkmt.runMethod(true,"length")),0); + BA.debugLineNum = 288;BA.debugLine="Return 0"; +Debug.ShouldStop(-2147483648); +Debug.CheckDeviceExceptions();if (true) return BA.numberCast(long.class, 0); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e16) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e16.toString()); BA.debugLineNum = 291;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(4); +c_subs.__c.runVoidMethod ("LogImpl","524117264",BA.ObjectToString(c_subs.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA"))),0); + BA.debugLineNum = 292;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; +Debug.ShouldStop(8); +c_subs.__c.runVoidMethod ("LogImpl","524117265",(RemoteObject.concat(RemoteObject.createImmutable("Fecha dada: "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fkmt))),RemoteObject.createImmutable(", Parte Fecha: "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_partefecha))),RemoteObject.createImmutable(", Parte Hora: "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_partehora))),RemoteObject.createImmutable(""))),c_subs.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 293;BA.debugLine="Return 0"; +Debug.ShouldStop(16); +if (true) return BA.numberCast(long.class, 0); + }; + BA.debugLineNum = 295;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(0L); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getphnid(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getPhnId (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,113); +if (RapidSub.canDelegate("getphnid")) { return __ref.runUserSub(false, "c_subs","getphnid", __ref);} +RemoteObject _t = RemoteObject.createImmutable(""); +RemoteObject _s = RemoteObject.createImmutable(""); + BA.debugLineNum = 113;BA.debugLine="Sub getPhnId As String 'ignore"; +Debug.ShouldStop(65536); + BA.debugLineNum = 115;BA.debugLine="devModel = phn.Model"; +Debug.ShouldStop(262144); +__ref.setField ("_devmodel" /*RemoteObject*/ ,__ref.getField(false,"_phn" /*RemoteObject*/ ).runMethod(true,"getModel")); + BA.debugLineNum = 116;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("k",__ref.getField(true,"_devmodel" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 117;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; +Debug.ShouldStop(1048576); +_t = __ref.getField(false,"_phn" /*RemoteObject*/ ).runMethod(true,"GetSettings",(Object)(RemoteObject.createImmutable("android_id")));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 118;BA.debugLine="devModel = t"; +Debug.ShouldStop(2097152); +__ref.setField ("_devmodel" /*RemoteObject*/ ,_t); + }; + BA.debugLineNum = 120;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("g",__ref.getField(true,"_devmodel" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 121;BA.debugLine="File.WriteString(File.DirInternal, \"phnId.txt\","; +Debug.ShouldStop(16777216); +c_subs.__c.getField(false,"File").runVoidMethod ("WriteString",(Object)(c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("phnId.txt")),(Object)(__ref.getField(true,"_devmodel" /*RemoteObject*/ ))); + }else +{ BA.debugLineNum = 123;BA.debugLine="Else If devModel.Length < 3 Then ' Si no tenemos"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_devmodel" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 124;BA.debugLine="Dim s As String = File.ReadString(File.DirIntern"; +Debug.ShouldStop(134217728); +_s = c_subs.__c.getField(false,"File").runMethod(true,"ReadString",(Object)(c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("phnId.txt")));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 125;BA.debugLine="devModel = s"; +Debug.ShouldStop(268435456); +__ref.setField ("_devmodel" /*RemoteObject*/ ,_s); + }} +; + BA.debugLineNum = 129;BA.debugLine="Return devModel"; +Debug.ShouldStop(1); +if (true) return __ref.getField(true,"_devmodel" /*RemoteObject*/ ); + 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 _guardaappinfo(RemoteObject __ref,RemoteObject _skmt) throws Exception{ +try { + Debug.PushSubsStack("guardaAppInfo (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,387); +if (RapidSub.canDelegate("guardaappinfo")) { return __ref.runUserSub(false, "c_subs","guardaappinfo", __ref, _skmt);} +Debug.locals.put("skmt", _skmt); + BA.debugLineNum = 387;BA.debugLine="Sub guardaAppInfo(skmt As SQL) 'ignore"; +Debug.ShouldStop(4); + BA.debugLineNum = 388;BA.debugLine="skmt.ExecNonQuery(\"delete from CAT_VARIABLES wher"; +Debug.ShouldStop(8); +_skmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'"))); + BA.debugLineNum = 389;BA.debugLine="skmt.ExecNonQuery($\"insert into CAT_VARIABLES (CA"; +Debug.ShouldStop(16); +_skmt.runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_NAME', '"),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_subs.__c.getField(false,"Application").runMethod(true,"getLabelName")))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 390;BA.debugLine="skmt.ExecNonQuery($\"insert into CAT_VARIABLES (CA"; +Debug.ShouldStop(32); +_skmt.runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_VERSION', '"),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_subs.__c.getField(false,"Application").runMethod(true,"getVersionName")))),RemoteObject.createImmutable("')"))))); + 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 _guardainfoenarchivo(RemoteObject __ref,RemoteObject _coords) throws Exception{ +try { + Debug.PushSubsStack("guardaInfoEnArchivo (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,144); +if (RapidSub.canDelegate("guardainfoenarchivo")) { return __ref.runUserSub(false, "c_subs","guardainfoenarchivo", __ref, _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 = 144;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; +Debug.ShouldStop(32768); + BA.debugLineNum = 146;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; +Debug.ShouldStop(131072); +_origformat = c_subs.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 147;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; +Debug.ShouldStop(262144); +c_subs.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MMM-dd HH:mm:ss")); + BA.debugLineNum = 148;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N"; +Debug.ShouldStop(524288); +_lastupdate = c_subs.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_subs.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("lastUpdate", _lastupdate);Debug.locals.put("lastUpdate", _lastupdate); + BA.debugLineNum = 149;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +Debug.ShouldStop(1048576); +c_subs.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 151;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 = 152;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +Debug.ShouldStop(8388608); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = c_subs.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(c_subs.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("gps.txt")),(Object)(c_subs.__c.getField(true,"True")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 153;BA.debugLine="Dim s As String = ubic & CRLF"; +Debug.ShouldStop(16777216); +_s = RemoteObject.concat(_ubic,c_subs.__c.getField(true,"CRLF"));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 154;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 = 155;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 = 156;BA.debugLine="out.Close"; +Debug.ShouldStop(134217728); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 157;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardainfoenbd(RemoteObject __ref,RemoteObject _coords) throws Exception{ +try { + Debug.PushSubsStack("guardaInfoEnBD (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,160); +if (RapidSub.canDelegate("guardainfoenbd")) { return __ref.runUserSub(false, "c_subs","guardainfoenbd", __ref, _coords);} +RemoteObject _latlon = null; +Debug.locals.put("coords", _coords); + BA.debugLineNum = 160;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 161;BA.debugLine="Log(\"Guardamos ubicacion en BD - \"&coords)"; +Debug.ShouldStop(1); +c_subs.__c.runVoidMethod ("LogImpl","523592961",RemoteObject.concat(RemoteObject.createImmutable("Guardamos ubicacion en BD - "),_coords),0); + BA.debugLineNum = 162;BA.debugLine="Try"; +Debug.ShouldStop(2); +try { BA.debugLineNum = 163;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; +Debug.ShouldStop(4); +_latlon = c_subs.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(_coords));Debug.locals.put("latlon", _latlon);Debug.locals.put("latlon", _latlon); + BA.debugLineNum = 164;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("<",_latlon.getField(true,"length"),BA.numberCast(double.class, 2))) { +_latlon = c_subs.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(",")),(Object)(_coords));Debug.locals.put("latlon", _latlon);}; + BA.debugLineNum = 165;BA.debugLine="If subsLogs Then Log(\"LatLon=\"&latlon)"; +Debug.ShouldStop(16); +if (__ref.getField(true,"_subslogs" /*RemoteObject*/ ).get().booleanValue()) { +c_subs.__c.runVoidMethod ("LogImpl","523592965",RemoteObject.concat(RemoteObject.createImmutable("LatLon="),_latlon),0);}; + BA.debugLineNum = 166;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(FECHA, L"; +Debug.ShouldStop(32); +__ref.getField(false,"_kmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)")),(Object)(c_subs.__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",__ref.getField(false, "ba"), e8.toString()); BA.debugLineNum = 168;BA.debugLine="LogColor(LastException, Colors.red)"; +Debug.ShouldStop(128); +c_subs.__c.runVoidMethod ("LogImpl","523592968",BA.ObjectToString(c_subs.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA"))),c_subs.__c.getField(false,"Colors").getField(true,"Red")); + }; + 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 _inicializabd(RemoteObject __ref,RemoteObject _ruta,RemoteObject _bdname) throws Exception{ +try { + Debug.PushSubsStack("inicializaBD (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,404); +if (RapidSub.canDelegate("inicializabd")) { return __ref.runUserSub(false, "c_subs","inicializabd", __ref, _ruta, _bdname);} +RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +Debug.locals.put("ruta", _ruta); +Debug.locals.put("BDName", _bdname); + BA.debugLineNum = 404;BA.debugLine="Sub inicializaBD(ruta As String, BDName As String)"; +Debug.ShouldStop(524288); + BA.debugLineNum = 405;BA.debugLine="Dim skmt As SQL"; +Debug.ShouldStop(1048576); +_skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL");Debug.locals.put("skmt", _skmt); + BA.debugLineNum = 406;BA.debugLine="If File.Exists(ruta, BDName) = False Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",c_subs.__c.getField(false,"File").runMethod(true,"Exists",(Object)(_ruta),(Object)(_bdname)),c_subs.__c.getField(true,"False"))) { + BA.debugLineNum = 407;BA.debugLine="File.Copy(File.DirAssets, BDName, ruta, BDName)"; +Debug.ShouldStop(4194304); +c_subs.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_subs.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(_bdname),(Object)(_ruta),(Object)(_bdname)); + BA.debugLineNum = 408;BA.debugLine="LogColor($\"Copiamos ${BDName} de ${File.DirAsset"; +Debug.ShouldStop(8388608); +c_subs.__c.runVoidMethod ("LogImpl","524903684",(RemoteObject.concat(RemoteObject.createImmutable("Copiamos "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_bdname))),RemoteObject.createImmutable(" de "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((c_subs.__c.getField(false,"File").runMethod(true,"getDirAssets")))),RemoteObject.createImmutable(" a "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_ruta))),RemoteObject.createImmutable(""))),c_subs.__c.getField(false,"Colors").getField(true,"Green")); + }; + BA.debugLineNum = 410;BA.debugLine="skmt.Initialize(ruta, BDName, True)"; +Debug.ShouldStop(33554432); +_skmt.runVoidMethod ("Initialize",(Object)(_ruta),(Object)(_bdname),(Object)(c_subs.__c.getField(true,"True"))); + BA.debugLineNum = 411;BA.debugLine="Return skmt"; +Debug.ShouldStop(67108864); +if (true) return _skmt; + BA.debugLineNum = 412;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +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 (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,19); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_subs","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 = 19;BA.debugLine="Public Sub Initialize (vCallback As Object, vEvent"; +Debug.ShouldStop(262144); + BA.debugLineNum = 20;BA.debugLine="reqsList.Initialize"; +Debug.ShouldStop(524288); +__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 21;BA.debugLine="EventName = vEventName"; +Debug.ShouldStop(1048576); +__ref.setField ("_eventname" /*RemoteObject*/ ,_veventname); + BA.debugLineNum = 22;BA.debugLine="CallBack = vCallback"; +Debug.ShouldStop(2097152); +__ref.setField ("_callback" /*RemoteObject*/ ,_vcallback); + BA.debugLineNum = 23;BA.debugLine="db = dbInit"; +Debug.ShouldStop(4194304); +__ref.setField ("_db" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_dbinit" /*RemoteObject*/ )); + BA.debugLineNum = 24;BA.debugLine="reqManager = reqManagerInit"; +Debug.ShouldStop(8388608); +__ref.setField ("_reqmanager" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_reqmanagerinit" /*RemoteObject*/ )); + BA.debugLineNum = 25;BA.debugLine="Return Me"; +Debug.ShouldStop(16777216); +if (true) return __ref; + BA.debugLineNum = 26;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _installapk(RemoteObject __ref,RemoteObject _dir,RemoteObject _apk) throws Exception{ +try { + Debug.PushSubsStack("InstallAPK (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,297); +if (RapidSub.canDelegate("installapk")) { return __ref.runUserSub(false, "c_subs","installapk", __ref, _dir, _apk);} +RemoteObject _i = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); +Debug.locals.put("dir", _dir); +Debug.locals.put("apk", _apk); + BA.debugLineNum = 297;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; +Debug.ShouldStop(256); + BA.debugLineNum = 298;BA.debugLine="If File.Exists(dir, apk) Then"; +Debug.ShouldStop(512); +if (c_subs.__c.getField(false,"File").runMethod(true,"Exists",(Object)(_dir),(Object)(_apk)).get().booleanValue()) { + BA.debugLineNum = 299;BA.debugLine="Dim i As Intent"; +Debug.ShouldStop(1024); +_i = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("i", _i); + BA.debugLineNum = 300;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; +Debug.ShouldStop(2048); +_i.runVoidMethod ("Initialize",(Object)(_i.getField(true,"ACTION_VIEW")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("file://"),c_subs.__c.getField(false,"File").runMethod(true,"Combine",(Object)(_dir),(Object)(_apk))))); + BA.debugLineNum = 301;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +Debug.ShouldStop(4096); +_i.runVoidMethod ("SetType",(Object)(RemoteObject.createImmutable("application/vnd.android.package-archive"))); + BA.debugLineNum = 302;BA.debugLine="StartActivity(i)"; +Debug.ShouldStop(8192); +c_subs.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_i.getObject()))); + }; + 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 _jobdone(RemoteObject __ref,RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("JobDone (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,78); +if (RapidSub.canDelegate("jobdone")) { return __ref.runUserSub(false, "c_subs","jobdone", __ref, _job);} +RemoteObject _resultado = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbresult"); +RemoteObject _records = null; +RemoteObject _k = RemoteObject.createImmutable(""); +Debug.locals.put("Job", _job); + BA.debugLineNum = 78;BA.debugLine="Sub JobDone(Job As HttpJob)"; +Debug.ShouldStop(8192); + BA.debugLineNum = 79;BA.debugLine="LogColor(\"C_SUBS JOBDONE - \" & Job.Success, Color"; +Debug.ShouldStop(16384); +c_subs.__c.runVoidMethod ("LogImpl","523330817",RemoteObject.concat(RemoteObject.createImmutable("C_SUBS JOBDONE - "),_job.getField(true,"_success" /*RemoteObject*/ )),c_subs.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 80;BA.debugLine="If Job.Success = False Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_success" /*RemoteObject*/ ),c_subs.__c.getField(true,"False"))) { + BA.debugLineNum = 81;BA.debugLine="Log($\"Error en el request ${Job.Tag}\"$)"; +Debug.ShouldStop(65536); +c_subs.__c.runVoidMethod ("LogImpl","523330819",(RemoteObject.concat(RemoteObject.createImmutable("Error en el request "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_job.getField(false,"_tag" /*RemoteObject*/ ))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 82;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro"; +Debug.ShouldStop(131072); +c_subs.__c.runVoidMethod ("LogImpl","523330820",RemoteObject.concat(RemoteObject.createImmutable("** "),_job.getField(false,"_tag" /*RemoteObject*/ ),RemoteObject.createImmutable(" Error: "),_job.getField(true,"_errormessage" /*RemoteObject*/ )),c_subs.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 83;BA.debugLine="If reqsList.IndexOf(Job.Tag) > -1 Then reqsList."; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_job.getField(false,"_tag" /*RemoteObject*/ ))),BA.numberCast(double.class, -(double) (0 + 1)))) { +__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_job.getField(false,"_tag" /*RemoteObject*/ )))));}; + BA.debugLineNum = 84;BA.debugLine="reqError = True"; +Debug.ShouldStop(524288); +__ref.setField ("_reqerror" /*RemoteObject*/ ,c_subs.__c.getField(true,"True")); + }else { + BA.debugLineNum = 86;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_job.getField(true,"_jobname" /*RemoteObject*/ ),BA.ObjectToString("DBRequest"))) { + BA.debugLineNum = 87;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +Debug.ShouldStop(4194304); +_resultado = __ref.getField(false,"_reqmanager" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_handlejob" /*RemoteObject*/ ,(Object)(_job));Debug.locals.put("resultado", _resultado);Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 88;BA.debugLine="If reqsList.IndexOf(resultado.Tag) > -1 Then re"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_resultado.getField(false,"Tag" /*RemoteObject*/ ))),BA.numberCast(double.class, -(double) (0 + 1)))) { +__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IndexOf",(Object)(_resultado.getField(false,"Tag" /*RemoteObject*/ )))));}; + BA.debugLineNum = 89;BA.debugLine="If resultado.Tag = \"select_fecha\" Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("=",_resultado.getField(false,"Tag" /*RemoteObject*/ ),RemoteObject.createImmutable(("select_fecha")))) { + BA.debugLineNum = 90;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 = 91;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 = 92;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +Debug.ShouldStop(134217728); +c_subs.__c.runVoidMethod ("LogImpl","523330830",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 = 98;BA.debugLine="Log(reqsList.Size)"; +Debug.ShouldStop(2); +c_subs.__c.runVoidMethod ("LogImpl","523330836",BA.NumberToString(__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"getSize")),0); + BA.debugLineNum = 99;BA.debugLine="If reqsList.Size = 0 Then 'Ya no hay DBReqs pendi"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 100;BA.debugLine="Log(reqError)"; +Debug.ShouldStop(8); +c_subs.__c.runVoidMethod ("LogImpl","523330838",BA.ObjectToString(__ref.getField(true,"_reqerror" /*RemoteObject*/ )),0); + BA.debugLineNum = 101;BA.debugLine="If Not(reqError) Then"; +Debug.ShouldStop(16); +if (c_subs.__c.runMethod(true,"Not",(Object)(__ref.getField(true,"_reqerror" /*RemoteObject*/ ))).get().booleanValue()) { + BA.debugLineNum = 102;BA.debugLine="envioOk(True)"; +Debug.ShouldStop(32); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_enviook" /*RemoteObject*/ ,(Object)(c_subs.__c.getField(true,"True"))); + }else { + BA.debugLineNum = 104;BA.debugLine="envioOk(False)"; +Debug.ShouldStop(128); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_enviook" /*RemoteObject*/ ,(Object)(c_subs.__c.getField(true,"False"))); + }; + BA.debugLineNum = 106;BA.debugLine="reqError = False"; +Debug.ShouldStop(512); +__ref.setField ("_reqerror" /*RemoteObject*/ ,c_subs.__c.getField(true,"False")); + BA.debugLineNum = 107;BA.debugLine="Log(\"-= FIN =-\")"; +Debug.ShouldStop(1024); +c_subs.__c.runVoidMethod ("LogImpl","523330845",RemoteObject.createImmutable("-= FIN =-"),0); + }; + BA.debugLineNum = 109;BA.debugLine="Job.Release"; +Debug.ShouldStop(4096); +_job.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + 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 _log2db(RemoteObject __ref,RemoteObject _texto) throws Exception{ +try { + Debug.PushSubsStack("log2DB (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,216); +if (RapidSub.canDelegate("log2db")) { return __ref.runUserSub(false, "c_subs","log2db", __ref, _texto);} +Debug.locals.put("texto", _texto); + BA.debugLineNum = 216;BA.debugLine="Sub log2DB(texto As String) 'ignore"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 217;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; +Debug.ShouldStop(16777216); +c_subs.__c.runVoidMethod ("LogImpl","523855105",RemoteObject.concat(__ref.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_fechakmt" /*RemoteObject*/ ,(Object)(BA.NumberToString(c_subs.__c.getField(false,"DateTime").runMethod(true,"getNow")))),RemoteObject.createImmutable(" - log2BD: '"),_texto,RemoteObject.createImmutable("'")),c_subs.__c.getField(false,"Colors").getField(true,"LightGray")); + BA.debugLineNum = 218;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO bitacora(fecha, te"; +Debug.ShouldStop(33554432); +__ref.getField(false,"_kmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO bitacora(fecha, texto) VALUES (?,?)")),(Object)(c_subs.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_fechakmt" /*RemoteObject*/ ,(Object)(BA.NumberToString(c_subs.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(_texto)}))))); + BA.debugLineNum = 219;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _logjobdoneresultados(RemoteObject __ref,RemoteObject _resultado) throws Exception{ +try { + Debug.PushSubsStack("logJobDoneResultados (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,394); +if (RapidSub.canDelegate("logjobdoneresultados")) { return __ref.runUserSub(false, "c_subs","logjobdoneresultados", __ref, _resultado);} +RemoteObject _records = null; +RemoteObject _k = RemoteObject.createImmutable(""); +Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 394;BA.debugLine="Sub logJobDoneResultados(resultado As DBResult) 'i"; +Debug.ShouldStop(512); + BA.debugLineNum = 395;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(1024); +{ +final RemoteObject group1 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen1 = group1.runMethod(true,"getSize").get() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_records = (group1.runMethod(false,"Get",index1));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 396;BA.debugLine="LogColor($\"====== ${resultado.Tag} - REGISTROS ="; +Debug.ShouldStop(2048); +c_subs.__c.runVoidMethod ("LogImpl","524838146",(RemoteObject.concat(RemoteObject.createImmutable("====== "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_resultado.getField(false,"Tag" /*RemoteObject*/ ))),RemoteObject.createImmutable(" - REGISTROS = "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_resultado.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")))),RemoteObject.createImmutable(""))),c_subs.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 215)),(Object)(BA.numberCast(int.class, 37)),(Object)(BA.numberCast(int.class, 0)))); + BA.debugLineNum = 397;BA.debugLine="For Each k As String In resultado.Columns.Keys"; +Debug.ShouldStop(4096); +{ +final RemoteObject group3 = _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen3 = group3.runMethod(true,"getSize").get() +;int index3 = 0; +; +for (; index3 < groupLen3;index3++){ +_k = BA.ObjectToString(group3.runMethod(false,"Get",index3));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 398;BA.debugLine="LogColor(k & \" = \" & records(resultado.Columns."; +Debug.ShouldStop(8192); +c_subs.__c.runVoidMethod ("LogImpl","524838148",RemoteObject.concat(_k,RemoteObject.createImmutable(" = "),_records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k)))))),c_subs.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 215)),(Object)(BA.numberCast(int.class, 37)),(Object)(BA.numberCast(int.class, 0)))); + } +}Debug.locals.put("k", _k); +; + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 401;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _masdexxmins(RemoteObject __ref,RemoteObject _hora,RemoteObject _mins) throws Exception{ +try { + Debug.PushSubsStack("masDeXXMins (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,222); +if (RapidSub.canDelegate("masdexxmins")) { return __ref.runUserSub(false, "c_subs","masdexxmins", __ref, _hora, _mins);} +Debug.locals.put("hora", _hora); +Debug.locals.put("mins", _mins); + BA.debugLineNum = 222;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 223;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("<",(RemoteObject.solve(new RemoteObject[] {_hora,_mins,c_subs.__c.getField(false,"DateTime").getField(true,"TicksPerMinute")}, "+*",1, 2)),c_subs.__c.getField(false,"DateTime").runMethod(true,"getNow"))) { + BA.debugLineNum = 224;BA.debugLine="Return True"; +Debug.ShouldStop(-2147483648); +if (true) return c_subs.__c.getField(true,"True"); + }else { + BA.debugLineNum = 226;BA.debugLine="Return False"; +Debug.ShouldStop(2); +if (true) return c_subs.__c.getField(true,"False"); + }; + BA.debugLineNum = 228;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _masdexxminskmt(RemoteObject __ref,RemoteObject _hora,RemoteObject _mins) throws Exception{ +try { + Debug.PushSubsStack("masDeXXMinsKMT (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,231); +if (RapidSub.canDelegate("masdexxminskmt")) { return __ref.runUserSub(false, "c_subs","masdexxminskmt", __ref, _hora, _mins);} +Debug.locals.put("hora", _hora); +Debug.locals.put("mins", _mins); + BA.debugLineNum = 231;BA.debugLine="Sub masDeXXMinsKMT(hora As String, mins As Int) As"; +Debug.ShouldStop(64); + BA.debugLineNum = 232;BA.debugLine="Try"; +Debug.ShouldStop(128); +try { BA.debugLineNum = 234;BA.debugLine="If fechaKMT2Ticks(hora) + mins * DateTime.TicksP"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {__ref.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_fechakmt2ticks" /*RemoteObject*/ ,(Object)(_hora)),_mins,c_subs.__c.getField(false,"DateTime").getField(true,"TicksPerMinute")}, "+*",1, 2),c_subs.__c.getField(false,"DateTime").runMethod(true,"getNow"))) { + BA.debugLineNum = 236;BA.debugLine="Return True"; +Debug.ShouldStop(2048); +Debug.CheckDeviceExceptions();if (true) return c_subs.__c.getField(true,"True"); + }else { + BA.debugLineNum = 239;BA.debugLine="Return False"; +Debug.ShouldStop(16384); +Debug.CheckDeviceExceptions();if (true) return c_subs.__c.getField(true,"False"); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e8) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e8.toString()); BA.debugLineNum = 242;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(131072); +c_subs.__c.runVoidMethod ("LogImpl","523986187",BA.ObjectToString(c_subs.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA"))),0); + }; + BA.debugLineNum = 244;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _notihigh(RemoteObject __ref,RemoteObject _title,RemoteObject _body,RemoteObject _id,RemoteObject _activity) throws Exception{ +try { + Debug.PushSubsStack("notiHigh (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,478); +if (RapidSub.canDelegate("notihigh")) { return __ref.runUserSub(false, "c_subs","notihigh", __ref, _title, _body, _id, _activity);} +RemoteObject _notif = RemoteObject.declareNull("anywheresoftware.b4a.objects.NotificationWrapper"); +Debug.locals.put("title", _title); +Debug.locals.put("body", _body); +Debug.locals.put("id", _id); +Debug.locals.put("activity", _activity); + BA.debugLineNum = 478;BA.debugLine="Sub notiHigh(title As String, body As String, id A"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 479;BA.debugLine="activity = Main"; +Debug.ShouldStop(1073741824); +_activity = (c_subs._main.getObject());Debug.locals.put("activity", _activity); + BA.debugLineNum = 480;BA.debugLine="Private notif As Notification"; +Debug.ShouldStop(-2147483648); +_notif = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper");Debug.locals.put("notif", _notif); + BA.debugLineNum = 481;BA.debugLine="notif.Initialize2(notif.IMPORTANCE_HIGH)"; +Debug.ShouldStop(1); +_notif.runVoidMethod ("Initialize2",(Object)(_notif.getField(true,"IMPORTANCE_HIGH"))); + BA.debugLineNum = 482;BA.debugLine="notif.Icon = \"icon\""; +Debug.ShouldStop(2); +_notif.runVoidMethod ("setIcon",BA.ObjectToString("icon")); + BA.debugLineNum = 483;BA.debugLine="notif.Vibrate = False"; +Debug.ShouldStop(4); +_notif.runVoidMethod ("setVibrate",c_subs.__c.getField(true,"False")); + BA.debugLineNum = 484;BA.debugLine="notif.Sound = False"; +Debug.ShouldStop(8); +_notif.runVoidMethod ("setSound",c_subs.__c.getField(true,"False")); + BA.debugLineNum = 485;BA.debugLine="notif.AutoCancel = True"; +Debug.ShouldStop(16); +_notif.runVoidMethod ("setAutoCancel",c_subs.__c.getField(true,"True")); + BA.debugLineNum = 487;BA.debugLine="notif.SetInfo(title, body, activity)"; +Debug.ShouldStop(64); +_notif.runVoidMethod ("SetInfoNew",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_body)),(Object)(_activity)); + BA.debugLineNum = 489;BA.debugLine="notif.Notify(id)"; +Debug.ShouldStop(256); +_notif.runVoidMethod ("Notify",(Object)(BA.numberCast(int.class, _id))); + BA.debugLineNum = 490;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _notilowreturn(RemoteObject __ref,RemoteObject _title,RemoteObject _body,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("notiLowReturn (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,493); +if (RapidSub.canDelegate("notilowreturn")) { return __ref.runUserSub(false, "c_subs","notilowreturn", __ref, _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 = 493;BA.debugLine="Sub notiLowReturn(title As String, Body As String,"; +Debug.ShouldStop(4096); + BA.debugLineNum = 494;BA.debugLine="Private notification As Notification"; +Debug.ShouldStop(8192); +_notification = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper");Debug.locals.put("notification", _notification); + BA.debugLineNum = 495;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +Debug.ShouldStop(16384); +_notification.runVoidMethod ("Initialize2",(Object)(_notification.getField(true,"IMPORTANCE_LOW"))); + BA.debugLineNum = 497;BA.debugLine="notification.Icon = \"icon\""; +Debug.ShouldStop(65536); +_notification.runVoidMethod ("setIcon",BA.ObjectToString("icon")); + BA.debugLineNum = 498;BA.debugLine="notification.Sound = False"; +Debug.ShouldStop(131072); +_notification.runVoidMethod ("setSound",c_subs.__c.getField(true,"False")); + BA.debugLineNum = 499;BA.debugLine="notification.Vibrate = False"; +Debug.ShouldStop(262144); +_notification.runVoidMethod ("setVibrate",c_subs.__c.getField(true,"False")); + BA.debugLineNum = 500;BA.debugLine="notification.SetInfo(title, Body, Main)"; +Debug.ShouldStop(524288); +_notification.runVoidMethod ("SetInfoNew",__ref.getField(false, "ba"),(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_body)),(Object)((c_subs._main.getObject()))); + BA.debugLineNum = 501;BA.debugLine="notification.Notify(id)"; +Debug.ShouldStop(1048576); +_notification.runVoidMethod ("Notify",(Object)(_id)); + BA.debugLineNum = 503;BA.debugLine="Return notification"; +Debug.ShouldStop(4194304); +if (true) return _notification; + 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 _panelvisible(RemoteObject __ref,RemoteObject _panel,RemoteObject _top,RemoteObject _left) throws Exception{ +try { + Debug.PushSubsStack("panelVisible (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,341); +if (RapidSub.canDelegate("panelvisible")) { return __ref.runUserSub(false, "c_subs","panelvisible", __ref, _panel, _top, _left);} +Debug.locals.put("panel", _panel); +Debug.locals.put("top", _top); +Debug.locals.put("left", _left); + BA.debugLineNum = 341;BA.debugLine="Sub panelVisible(panel As Panel, top As Int, left"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 342;BA.debugLine="panel.BringToFront"; +Debug.ShouldStop(2097152); +_panel.runVoidMethod ("BringToFront"); + BA.debugLineNum = 343;BA.debugLine="panel.Visible = True"; +Debug.ShouldStop(4194304); +_panel.runMethod(true,"setVisible",c_subs.__c.getField(true,"True")); + BA.debugLineNum = 344;BA.debugLine="panel.Top = top"; +Debug.ShouldStop(8388608); +_panel.runMethod(true,"setTop",_top); + BA.debugLineNum = 345;BA.debugLine="panel.Left = left"; +Debug.ShouldStop(16777216); +_panel.runMethod(true,"setLeft",_left); + 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 _reqmanagerinit(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("reqManagerInit (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,45); +if (RapidSub.canDelegate("reqmanagerinit")) { return __ref.runUserSub(false, "c_subs","reqmanagerinit", __ref);} +RemoteObject _rm = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager"); + BA.debugLineNum = 45;BA.debugLine="Sub reqManagerInit As DBRequestManager"; +Debug.ShouldStop(4096); + BA.debugLineNum = 46;BA.debugLine="Private rm As DBRequestManager"; +Debug.ShouldStop(8192); +_rm = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager");Debug.locals.put("rm", _rm); + BA.debugLineNum = 47;BA.debugLine="rm.Initialize(Me, traeDBReqServerDeBD(db))"; +Debug.ShouldStop(16384); +_rm.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref),(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_traedbreqserverdebd" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_db" /*RemoteObject*/ ))))); + BA.debugLineNum = 48;BA.debugLine="Log($\"Inicializamos reqManager con ${traeDBReqSer"; +Debug.ShouldStop(32768); +c_subs.__c.runVoidMethod ("LogImpl","523068675",(RemoteObject.concat(RemoteObject.createImmutable("Inicializamos reqManager con "),c_subs.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_traedbreqserverdebd" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_db" /*RemoteObject*/ )))))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 49;BA.debugLine="Return rm"; +Debug.ShouldStop(65536); +if (true) return _rm; + BA.debugLineNum = 50;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _reqmanagerreinit(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("reqManagerReInit (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,53); +if (RapidSub.canDelegate("reqmanagerreinit")) { return __ref.runUserSub(false, "c_subs","reqmanagerreinit", __ref);} + BA.debugLineNum = 53;BA.debugLine="Sub reqManagerReInit"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 54;BA.debugLine="Log(\"reqManager ReInit\")"; +Debug.ShouldStop(2097152); +c_subs.__c.runVoidMethod ("LogImpl","523134209",RemoteObject.createImmutable("reqManager ReInit"),0); + BA.debugLineNum = 55;BA.debugLine="reqManager = reqManagerInit"; +Debug.ShouldStop(4194304); +__ref.setField ("_reqmanager" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_reqmanagerinit" /*RemoteObject*/ )); + 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 _traealmacen(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("traeAlmacen (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,507); +if (RapidSub.canDelegate("traealmacen")) { return __ref.runUserSub(false, "c_subs","traealmacen", __ref);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _a = RemoteObject.createImmutable(""); + BA.debugLineNum = 507;BA.debugLine="Sub traeAlmacen As String 'ignore"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 508;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(134217728); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 509;BA.debugLine="Private a As String"; +Debug.ShouldStop(268435456); +_a = RemoteObject.createImmutable("");Debug.locals.put("a", _a); + BA.debugLineNum = 510;BA.debugLine="c = db.ExecQuery(\"select ID_ALMACEN from CAT_ALM"; +Debug.ShouldStop(536870912); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_db" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));Debug.locals.put("c", _c); + BA.debugLineNum = 511;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1073741824); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 512;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(-2147483648); +_a = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")));Debug.locals.put("a", _a); + BA.debugLineNum = 513;BA.debugLine="c.Close"; +Debug.ShouldStop(1); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 514;BA.debugLine="Return a"; +Debug.ShouldStop(2); +if (true) return _a; + 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 _traedbreqserverdebd(RemoteObject __ref,RemoteObject _dbx) throws Exception{ +try { + Debug.PushSubsStack("traeDBReqServerDeBD (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,436); +if (RapidSub.canDelegate("traedbreqserverdebd")) { return __ref.runUserSub(false, "c_subs","traedbreqserverdebd", __ref, _dbx);} +RemoteObject _srvr = RemoteObject.createImmutable(""); +RemoteObject _rs = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +Debug.locals.put("dbx", _dbx); + BA.debugLineNum = 436;BA.debugLine="Sub traeDBReqServerDeBD(dbx As SQL) As String 'ign"; +Debug.ShouldStop(524288); + BA.debugLineNum = 437;BA.debugLine="Dim srvr As String = \"N/A\""; +Debug.ShouldStop(1048576); +_srvr = BA.ObjectToString("N/A");Debug.locals.put("srvr", _srvr);Debug.locals.put("srvr", _srvr); + BA.debugLineNum = 438;BA.debugLine="Dim rs As ResultSet = dbx.ExecQuery(\"select CAT_V"; +Debug.ShouldStop(2097152); +_rs = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_rs = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), _dbx.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_VA_VALOR from cat_variables where CAT_VA_DESCRIPCION = 'SERVER'"))));Debug.locals.put("rs", _rs);Debug.locals.put("rs", _rs); + BA.debugLineNum = 439;BA.debugLine="If rs.RowCount > 0 Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",_rs.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 440;BA.debugLine="rs.NextRow"; +Debug.ShouldStop(8388608); +_rs.runVoidMethod ("NextRow"); + BA.debugLineNum = 441;BA.debugLine="srvr = rs.GetString(\"CAT_VA_VALOR\")"; +Debug.ShouldStop(16777216); +_srvr = _rs.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR")));Debug.locals.put("srvr", _srvr); + }; + BA.debugLineNum = 443;BA.debugLine="Return srvr"; +Debug.ShouldStop(67108864); +if (true) return _srvr; + BA.debugLineNum = 444;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traefecha(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("traeFecha (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,379); +if (RapidSub.canDelegate("traefecha")) { return __ref.runUserSub(false, "c_subs","traefecha", __ref);} +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); + BA.debugLineNum = 379;BA.debugLine="Sub traeFecha As String 'ignore"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 380;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(134217728); +c_subs.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 381;BA.debugLine="Private sDate As String = DateTime.Date(DateTime."; +Debug.ShouldStop(268435456); +_sdate = c_subs.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(c_subs.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate);Debug.locals.put("sDate", _sdate); + BA.debugLineNum = 382;BA.debugLine="Private sTime As String = DateTime.Time(DateTime."; +Debug.ShouldStop(536870912); +_stime = c_subs.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_subs.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime);Debug.locals.put("sTime", _stime); + BA.debugLineNum = 383;BA.debugLine="Return sDate & sTime"; +Debug.ShouldStop(1073741824); +if (true) return RemoteObject.concat(_sdate,_stime); + BA.debugLineNum = 384;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeintervalodebd(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("traeIntervaloDeBD (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,447); +if (RapidSub.canDelegate("traeintervalodebd")) { return __ref.runUserSub(false, "c_subs","traeintervalodebd", __ref);} +RemoteObject _intrvl = RemoteObject.createImmutable(""); +RemoteObject _rs = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); + BA.debugLineNum = 447;BA.debugLine="Sub traeIntervaloDeBD As String 'ignore"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 448;BA.debugLine="Dim intrvl As String = \"30\""; +Debug.ShouldStop(-2147483648); +_intrvl = BA.ObjectToString("30");Debug.locals.put("intrvl", _intrvl);Debug.locals.put("intrvl", _intrvl); + BA.debugLineNum = 449;BA.debugLine="Dim rs As ResultSet = db.ExecQuery(\"select valor"; +Debug.ShouldStop(1); +_rs = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_rs = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), __ref.getField(false,"_db" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select valor from cat_variables where nombre = 'intervalo'"))));Debug.locals.put("rs", _rs);Debug.locals.put("rs", _rs); + BA.debugLineNum = 450;BA.debugLine="If rs.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_rs.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 451;BA.debugLine="rs.NextRow"; +Debug.ShouldStop(4); +_rs.runVoidMethod ("NextRow"); + BA.debugLineNum = 452;BA.debugLine="intrvl = rs.GetString(\"valor\")"; +Debug.ShouldStop(8); +_intrvl = _rs.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("valor")));Debug.locals.put("intrvl", _intrvl); + }; + BA.debugLineNum = 454;BA.debugLine="Return intrvl"; +Debug.ShouldStop(32); +if (true) return _intrvl; + 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 _traeruta(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("traeRuta (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,518); +if (RapidSub.canDelegate("traeruta")) { return __ref.runUserSub(false, "c_subs","traeruta", __ref);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _r = RemoteObject.createImmutable(""); + BA.debugLineNum = 518;BA.debugLine="Sub traeRuta As String 'ignore"; +Debug.ShouldStop(32); + BA.debugLineNum = 519;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(64); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 520;BA.debugLine="Private r As String"; +Debug.ShouldStop(128); +_r = RemoteObject.createImmutable("");Debug.locals.put("r", _r); + BA.debugLineNum = 521;BA.debugLine="c = db.ExecQuery(\"select CAT_CL_RUTA from kmt_inf"; +Debug.ShouldStop(256); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), __ref.getField(false,"_db" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))));Debug.locals.put("c", _c); + BA.debugLineNum = 522;BA.debugLine="r = \"0\""; +Debug.ShouldStop(512); +_r = BA.ObjectToString("0");Debug.locals.put("r", _r); + BA.debugLineNum = 523;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 524;BA.debugLine="c.Position=0"; +Debug.ShouldStop(2048); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 525;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(4096); +_r = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("r", _r); + }; + BA.debugLineNum = 527;BA.debugLine="c.Close"; +Debug.ShouldStop(16384); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 528;BA.debugLine="Return r"; +Debug.ShouldStop(32768); +if (true) return _r; + 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 _traetimeoutdebd(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("traeTimeoutDeBD (c_subs) ","c_subs",17,__ref.getField(false, "ba"),__ref,458); +if (RapidSub.canDelegate("traetimeoutdebd")) { return __ref.runUserSub(false, "c_subs","traetimeoutdebd", __ref);} +RemoteObject _tmout = RemoteObject.createImmutable(""); +RemoteObject _rs = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); + BA.debugLineNum = 458;BA.debugLine="Sub traeTimeoutDeBD As String 'ignore"; +Debug.ShouldStop(512); + BA.debugLineNum = 459;BA.debugLine="Dim tmout As String = \"9000\""; +Debug.ShouldStop(1024); +_tmout = BA.ObjectToString("9000");Debug.locals.put("tmout", _tmout);Debug.locals.put("tmout", _tmout); + BA.debugLineNum = 460;BA.debugLine="Dim rs As ResultSet = db.ExecQuery(\"select valor"; +Debug.ShouldStop(2048); +_rs = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_rs = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), __ref.getField(false,"_db" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select valor from cat_variables where nombre = 'timeout'"))));Debug.locals.put("rs", _rs);Debug.locals.put("rs", _rs); + BA.debugLineNum = 461;BA.debugLine="If rs.RowCount > 0 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",_rs.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 462;BA.debugLine="rs.NextRow"; +Debug.ShouldStop(8192); +_rs.runVoidMethod ("NextRow"); + BA.debugLineNum = 463;BA.debugLine="tmout = rs.GetString(\"valor\")"; +Debug.ShouldStop(16384); +_tmout = _rs.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("valor")));Debug.locals.put("tmout", _tmout); + }; + BA.debugLineNum = 465;BA.debugLine="Return tmout"; +Debug.ShouldStop(65536); +if (true) return _tmout; + BA.debugLineNum = 466;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/SHARK2/keymon/com/mx/c_tabulador.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_tabulador.java new file mode 100644 index 0000000..f221d22 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_tabulador.java @@ -0,0 +1,54 @@ + +package SHARK2.keymon.com.mx; + +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 SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.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/SHARK2/keymon/com/mx/c_tabulador_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_tabulador_subs_0.java new file mode 100644 index 0000000..84e15b3 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_tabulador_subs_0.java @@ -0,0 +1,375 @@ +package SHARK2.keymon.com.mx; + +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",18,__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",18,__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 (SHARK2.keymon.com.mx.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",18,__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","525821190",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","525821205",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",18,__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",18,__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/SHARK2/keymon/com/mx/c_ticketsdia.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_ticketsdia.java new file mode 100644 index 0000000..bed5423 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_ticketsdia.java @@ -0,0 +1,42 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_ticketsdia { + public static RemoteObject myClass; + public c_ticketsdia() { + } + public static PCBA staticBA = new PCBA(null, c_ticketsdia.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _p_ticketsdia = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _s = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _listview1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ListViewWrapper"); +public static RemoteObject _b_noventa = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _nombre_boton = RemoteObject.createImmutable(""); +public static RemoteObject _stime = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"b_noventa",_ref.getField(false, "_b_noventa"),"c",_ref.getField(false, "_c"),"DateUtils",_ref.getField(false, "_dateutils"),"ListView1",_ref.getField(false, "_listview1"),"nombre_boton",_ref.getField(false, "_nombre_boton"),"p_ticketsdia",_ref.getField(false, "_p_ticketsdia"),"Root",_ref.getField(false, "_root"),"ruta",_ref.getField(false, "_ruta"),"S",_ref.getField(false, "_s"),"STIME",_ref.getField(false, "_stime"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_ticketsdia_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_ticketsdia_subs_0.java new file mode 100644 index 0000000..84675b8 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_ticketsdia_subs_0.java @@ -0,0 +1,505 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_ticketsdia_subs_0 { + + +public static RemoteObject _activity_keypress(RemoteObject __ref,RemoteObject _key) throws Exception{ +try { + Debug.PushSubsStack("Activity_KeyPress (c_ticketsdia) ","c_ticketsdia",19,__ref.getField(false, "ba"),__ref,83); +if (RapidSub.canDelegate("activity_keypress")) { return __ref.runUserSub(false, "c_ticketsdia","activity_keypress", __ref, _key);} +Debug.locals.put("key", _key); + BA.debugLineNum = 83;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; +Debug.ShouldStop(262144); + BA.debugLineNum = 85;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_key,BA.numberCast(double.class, c_ticketsdia.__c.getField(false,"KeyCodes").getField(true,"KEYCODE_BACK")))) { + BA.debugLineNum = 87;BA.debugLine="B4XPages.ShowPage(\"principal\")"; +Debug.ShouldStop(4194304); +c_ticketsdia._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("principal"))); + }; + BA.debugLineNum = 91;BA.debugLine="Return False"; +Debug.ShouldStop(67108864); +if (true) return c_ticketsdia.__c.getField(true,"False"); + BA.debugLineNum = 92;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b_noventa_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("b_noventa_Click (c_ticketsdia) ","c_ticketsdia",19,__ref.getField(false, "ba"),__ref,113); +if (RapidSub.canDelegate("b_noventa_click")) { return __ref.runUserSub(false, "c_ticketsdia","b_noventa_click", __ref);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); + BA.debugLineNum = 113;BA.debugLine="Sub b_noventa_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 114;BA.debugLine="If nombre_boton = \"NOVENTA\" Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_nombre_boton" /*RemoteObject*/ ),BA.ObjectToString("NOVENTA"))) { + BA.debugLineNum = 115;BA.debugLine="nombre_boton = \"VENTA\""; +Debug.ShouldStop(262144); +__ref.setField ("_nombre_boton" /*RemoteObject*/ ,BA.ObjectToString("VENTA")); + BA.debugLineNum = 116;BA.debugLine="b_noventa.Text =\"VENTA\""; +Debug.ShouldStop(524288); +__ref.getField(false,"_b_noventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("VENTA")); + BA.debugLineNum = 117;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select NV_CL"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select NV_CLIENTE,NV_MOTIVO,NV_COMM, (select CAT_CL_NOMBRE from kmt_info where cat_cl_codigo = NV_CLIENTE ) as NOMBRE FROM NOVENTA ORDER BY NV_CLIENTE asc")))); + BA.debugLineNum = 118;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(2097152); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 119;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 = 120;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(8388608); +{ +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 = 121;BA.debugLine="c.Position=i"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 122;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(33554432); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 123;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 = 124;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(134217728); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 125;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(268435456); +_label1.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 126;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(536870912); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 127;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 = 128;BA.debugLine="label2.TextSize = 10"; +Debug.ShouldStop(-2147483648); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 129;BA.debugLine="label2.TextColor = Colors.Blue"; +Debug.ShouldStop(1); +_label2.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 130;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"NV_CLIENTE\""; +Debug.ShouldStop(2); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOMBRE"))),RemoteObject.createImmutable(" Motivo #"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_MOTIVO"))),RemoteObject.createImmutable(" Comentario $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NV_COMM"))))))); + } +}Debug.locals.put("i", _i); +; + }; + }else { + BA.debugLineNum = 134;BA.debugLine="nombre_boton = \"NOVENTA\""; +Debug.ShouldStop(32); +__ref.setField ("_nombre_boton" /*RemoteObject*/ ,BA.ObjectToString("NOVENTA")); + BA.debugLineNum = 135;BA.debugLine="b_noventa.Text =\"NO VENTA\""; +Debug.ShouldStop(64); +__ref.getField(false,"_b_noventa" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("NO VENTA")); + BA.debugLineNum = 136;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CL"; +Debug.ShouldStop(128); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc")))); + BA.debugLineNum = 137;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(256); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 139;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 = 140;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(2048); +{ +final int step26 = 1; +final int limit26 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step26 > 0 && _i <= limit26) || (step26 < 0 && _i >= limit26) ;_i = ((int)(0 + _i + step26)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 141;BA.debugLine="c.Position=i"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 142;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(8192); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 143;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(16384); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 144;BA.debugLine="label1.TextSize = 15"; +Debug.ShouldStop(32768); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 15)); + BA.debugLineNum = 145;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(65536); +_label1.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 146;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(131072); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 147;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(262144); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 148;BA.debugLine="label2.TextSize = 10"; +Debug.ShouldStop(524288); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 149;BA.debugLine="label2.TextColor = Colors.Blue"; +Debug.ShouldStop(1048576); +_label2.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 150;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\""; +Debug.ShouldStop(2097152); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOMBRE"))),RemoteObject.createImmutable(" Cantidad #"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))),RemoteObject.createImmutable(" SubTotal $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 153;BA.debugLine="c.Close"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + }; + BA.debugLineNum = 155;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_ticketsdia) ","c_ticketsdia",19,__ref.getField(false, "ba"),__ref,51); +if (RapidSub.canDelegate("b4xpage_appear")) { return __ref.runUserSub(false, "c_ticketsdia","b4xpage_appear", __ref);} +RemoteObject _noarticulos = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _x = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); + BA.debugLineNum = 51;BA.debugLine="Sub B4XPage_Appear"; +Debug.ShouldStop(262144); + BA.debugLineNum = 52;BA.debugLine="nombre_boton = \"NOVENTA\""; +Debug.ShouldStop(524288); +__ref.setField ("_nombre_boton" /*RemoteObject*/ ,BA.ObjectToString("NOVENTA")); + BA.debugLineNum = 53;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CLI"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info where cat_cl_codigo = pc_cliente UNION select CAT_CL_NOMBRE from kmt_info2 where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc")))); + BA.debugLineNum = 54;BA.debugLine="Dim noArticulos As Int = 0"; +Debug.ShouldStop(2097152); +_noarticulos = BA.numberCast(int.class, 0);Debug.locals.put("noArticulos", _noarticulos);Debug.locals.put("noArticulos", _noarticulos); + BA.debugLineNum = 56;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 57;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 = 58;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(33554432); +{ +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 = 59;BA.debugLine="c.Position=i"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 60;BA.debugLine="Dim x As Cursor = B4XPages.MainPage.skmt.ExecQu"; +Debug.ShouldStop(134217728); +_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_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select IFNULL(sum(IFNULL(PE_CANT,0)),0) as PC_NOART from PEDIDO where PE_CLIENTE = '"),c_ticketsdia.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE")))))),RemoteObject.createImmutable("' AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)"))))));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 61;BA.debugLine="If x.RowCount > 0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(">",_x.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 62;BA.debugLine="x.Position = 0"; +Debug.ShouldStop(536870912); +_x.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 64;BA.debugLine="noArticulos = x.GetString(\"PC_NOART\")"; +Debug.ShouldStop(-2147483648); +_noarticulos = BA.numberCast(int.class, _x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))));Debug.locals.put("noArticulos", _noarticulos); + }; + 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.Black"; +Debug.ShouldStop(16); +_label1.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"Black")); + 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 = 13"; +Debug.ShouldStop(128); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 73;BA.debugLine="label2.TextColor = Colors.Blue"; +Debug.ShouldStop(256); +_label2.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 74;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\")"; +Debug.ShouldStop(512); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("NOMBRE"))),RemoteObject.createImmutable(" Cantidad #"),_noarticulos,RemoteObject.createImmutable(" SubTotal $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 77;BA.debugLine="c.Close"; +Debug.ShouldStop(4096); +__ref.getField(false,"_c" /*RemoteObject*/ ).runVoidMethod ("Close"); + 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 _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_ticketsdia) ","c_ticketsdia",19,__ref.getField(false, "ba"),__ref,21); +if (RapidSub.canDelegate("b4xpage_created")) { return __ref.runUserSub(false, "c_ticketsdia","b4xpage_created", __ref, _root1);} +int _i = 0; +RemoteObject _label1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +RemoteObject _label2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +Debug.locals.put("Root1", _root1); + BA.debugLineNum = 21;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 22;BA.debugLine="Root = Root1"; +Debug.ShouldStop(2097152); +__ref.setField ("_root" /*RemoteObject*/ ,_root1); + BA.debugLineNum = 24;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(8388608); +__ref.setField ("_ruta" /*RemoteObject*/ ,c_ticketsdia.__c.getField(false,"File").runMethod(true,"getDirInternal")); + BA.debugLineNum = 25;BA.debugLine="Root.LoadLayout(\"ticketsdia\")"; +Debug.ShouldStop(16777216); +__ref.getField(false,"_root" /*RemoteObject*/ ).runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("ticketsdia")),__ref.getField(false, "ba")); + BA.debugLineNum = 26;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",c_ticketsdia.__c.getField(false,"File").runMethod(true,"Exists",(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))),c_ticketsdia.__c.getField(true,"False"))) { + BA.debugLineNum = 27;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(67108864); +c_ticketsdia.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(c_ticketsdia.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(__ref.getField(true,"_ruta" /*RemoteObject*/ )),(Object)(RemoteObject.createImmutable("kmt.db"))); + }; + BA.debugLineNum = 29;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select PC_C"; +Debug.ShouldStop(268435456); +__ref.getField(false,"_c" /*RemoteObject*/ ).setObject (c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PC_CLIENTE,PC_MONTO,PC_NOART FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc")))); + BA.debugLineNum = 32;BA.debugLine="ListView1.Clear"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("Clear"); + BA.debugLineNum = 33;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(">",__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 34;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(2); +{ +final int step10 = 1; +final int limit10 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step10 > 0 && _i <= limit10) || (step10 < 0 && _i >= limit10) ;_i = ((int)(0 + _i + step10)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 35;BA.debugLine="c.Position=i"; +Debug.ShouldStop(4); +__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 36;BA.debugLine="Dim label1 As Label"; +Debug.ShouldStop(8); +_label1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label1", _label1); + BA.debugLineNum = 37;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +Debug.ShouldStop(16); +_label1 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"Label");Debug.locals.put("label1", _label1); + BA.debugLineNum = 38;BA.debugLine="label1.TextSize = 10"; +Debug.ShouldStop(32); +_label1.runMethod(true,"setTextSize",BA.numberCast(float.class, 10)); + BA.debugLineNum = 39;BA.debugLine="label1.TextColor = Colors.Black"; +Debug.ShouldStop(64); +_label1.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"Black")); + BA.debugLineNum = 40;BA.debugLine="Dim label2 As Label"; +Debug.ShouldStop(128); +_label2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("label2", _label2); + BA.debugLineNum = 41;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +Debug.ShouldStop(256); +_label2 = __ref.getField(false,"_listview1" /*RemoteObject*/ ).runMethod(false,"getTwoLinesLayout").getField(false,"SecondLabel");Debug.locals.put("label2", _label2); + BA.debugLineNum = 42;BA.debugLine="label2.TextSize = 13"; +Debug.ShouldStop(512); +_label2.runMethod(true,"setTextSize",BA.numberCast(float.class, 13)); + BA.debugLineNum = 43;BA.debugLine="label2.TextColor = Colors.Blue"; +Debug.ShouldStop(1024); +_label2.runMethod(true,"setTextColor",c_ticketsdia.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 44;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\")"; +Debug.ShouldStop(2048); +__ref.getField(false,"_listview1" /*RemoteObject*/ ).runVoidMethod ("AddTwoLines",(Object)(BA.ObjectToCharSequence(__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_CLIENTE"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.concat(RemoteObject.createImmutable("Cantidad #"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_NOART"))),RemoteObject.createImmutable(" SubTotal $"),__ref.getField(false,"_c" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PC_MONTO"))))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; +c_ticketsdia._root = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_root",c_ticketsdia._root); + //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; +c_ticketsdia._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",c_ticketsdia._xui); + //BA.debugLineNum = 4;BA.debugLine="Private p_ticketsdia As Panel"; +c_ticketsdia._p_ticketsdia = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_p_ticketsdia",c_ticketsdia._p_ticketsdia); + //BA.debugLineNum = 6;BA.debugLine="Dim c As Cursor"; +c_ticketsdia._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_c",c_ticketsdia._c); + //BA.debugLineNum = 7;BA.debugLine="Dim S As Cursor"; +c_ticketsdia._s = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");__ref.setField("_s",c_ticketsdia._s); + //BA.debugLineNum = 8;BA.debugLine="Dim ruta As String"; +c_ticketsdia._ruta = RemoteObject.createImmutable("");__ref.setField("_ruta",c_ticketsdia._ruta); + //BA.debugLineNum = 9;BA.debugLine="Dim ListView1 As ListView"; +c_ticketsdia._listview1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ListViewWrapper");__ref.setField("_listview1",c_ticketsdia._listview1); + //BA.debugLineNum = 10;BA.debugLine="Dim b_noventa As Button"; +c_ticketsdia._b_noventa = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper");__ref.setField("_b_noventa",c_ticketsdia._b_noventa); + //BA.debugLineNum = 11;BA.debugLine="Dim nombre_boton As String"; +c_ticketsdia._nombre_boton = RemoteObject.createImmutable("");__ref.setField("_nombre_boton",c_ticketsdia._nombre_boton); + //BA.debugLineNum = 12;BA.debugLine="Dim STIME As String"; +c_ticketsdia._stime = RemoteObject.createImmutable("");__ref.setField("_stime",c_ticketsdia._stime); + //BA.debugLineNum = 13;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",19,__ref.getField(false, "ba"),__ref,16); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "c_ticketsdia","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 16;BA.debugLine="Public Sub Initialize As Object"; +Debug.ShouldStop(32768); + BA.debugLineNum = 17;BA.debugLine="Return Me"; +Debug.ShouldStop(65536); +if (true) return __ref; + BA.debugLineNum = 18;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _listview1_itemlongclick(RemoteObject __ref,RemoteObject _position,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("ListView1_ItemLongClick (c_ticketsdia) ","c_ticketsdia",19,__ref.getField(false, "ba"),__ref,93); +if (RapidSub.canDelegate("listview1_itemlongclick")) { return __ref.runUserSub(false, "c_ticketsdia","listview1_itemlongclick", __ref, _position, _value);} +Debug.locals.put("Position", _position); +Debug.locals.put("Value", _value); + BA.debugLineNum = 93;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 94;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(536870912); +c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 95;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(1073741824); +c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?)")),(Object)(c_ticketsdia.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_value}))))); + BA.debugLineNum = 96;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +Debug.ShouldStop(-2147483648); +c_ticketsdia.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 97;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(1); +__ref.setField ("_stime" /*RemoteObject*/ ,c_ticketsdia.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(c_ticketsdia.__c.getField(false,"DateTime").runMethod(true,"getNow")))); + BA.debugLineNum = 98;BA.debugLine="Starter.pre_viejo = Subs.traeTotalClientepreventa"; +Debug.ShouldStop(2); +c_ticketsdia._starter._pre_viejo /*RemoteObject*/ = BA.numberCast(float.class, c_ticketsdia._subs.runMethod(true,"_traetotalclientepreventaparacredito" /*RemoteObject*/ ,__ref.getField(false, "ba"))); + BA.debugLineNum = 99;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT("; +Debug.ShouldStop(4); +__ref.getField(false,"_s" /*RemoteObject*/ ).setObject (c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")))); + BA.debugLineNum = 100;BA.debugLine="s.Position = 0"; +Debug.ShouldStop(8); +__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 101;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_s" /*RemoteObject*/ ).runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))),BA.NumberToString(1))) { + BA.debugLineNum = 102;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +Debug.ShouldStop(32); +c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_ticketsdia.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + }else { + BA.debugLineNum = 104;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(128); +c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)")),(Object)(c_ticketsdia.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_value}))))); + BA.debugLineNum = 105;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +Debug.ShouldStop(256); +c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)")),(Object)(c_ticketsdia.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_stime" /*RemoteObject*/ ))}))))); + }; + BA.debugLineNum = 107;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +Debug.ShouldStop(1024); +c_ticketsdia.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HH:mm:ss")); + BA.debugLineNum = 108;BA.debugLine="Subs.guardaClienteHoraInicio(Value)"; +Debug.ShouldStop(2048); +c_ticketsdia._subs.runVoidMethod ("_guardaclientehorainicio" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_value))); + BA.debugLineNum = 109;BA.debugLine="B4XPages.MainPage.cliente.venimosDeTicketsDia = T"; +Debug.ShouldStop(4096); +c_ticketsdia._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).getField(false,"_cliente" /*RemoteObject*/ ).setField ("_venimosdeticketsdia" /*RemoteObject*/ ,c_ticketsdia.__c.getField(true,"True")); + BA.debugLineNum = 110;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +Debug.ShouldStop(8192); +c_ticketsdia._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("cliente"))); + BA.debugLineNum = 111;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _p_ticketsdia_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("p_ticketsdia_Click (c_ticketsdia) ","c_ticketsdia",19,__ref.getField(false, "ba"),__ref,157); +if (RapidSub.canDelegate("p_ticketsdia_click")) { return __ref.runUserSub(false, "c_ticketsdia","p_ticketsdia_click", __ref);} + BA.debugLineNum = 157;BA.debugLine="Private Sub p_ticketsdia_Click"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 159;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _regresar_click(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Regresar_Click (c_ticketsdia) ","c_ticketsdia",19,__ref.getField(false, "ba"),__ref,80); +if (RapidSub.canDelegate("regresar_click")) { return __ref.runUserSub(false, "c_ticketsdia","regresar_click", __ref);} + BA.debugLineNum = 80;BA.debugLine="Sub Regresar_Click"; +Debug.ShouldStop(32768); + BA.debugLineNum = 81;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +Debug.ShouldStop(65536); +c_ticketsdia._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("cliente"))); + BA.debugLineNum = 82;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/SHARK2/keymon/com/mx/c_updateavailable.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_updateavailable.java new file mode 100644 index 0000000..8e8dafd --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_updateavailable.java @@ -0,0 +1,34 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class c_updateavailable { + public static RemoteObject myClass; + public c_updateavailable() { + } + public static PCBA staticBA = new PCBA(null, c_updateavailable.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _root = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"Root",_ref.getField(false, "_root"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_updateavailable_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_updateavailable_subs_0.java new file mode 100644 index 0000000..cef670b --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/c_updateavailable_subs_0.java @@ -0,0 +1,319 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class c_updateavailable_subs_0 { + + +public static void _b4xpage_appear(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_updateavailable) ","c_updateavailable",20,__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(SHARK2.keymon.com.mx.c_updateavailable parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.c_updateavailable parent; +RemoteObject _result = RemoteObject.createImmutable(0); +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Appear (c_updateavailable) ","c_updateavailable",20,__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 (SHARK2.keymon.com.mx.c_updateavailable.class, "_canrequestpackageinstalls" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 6; +if (true) break; +} +if (true) break; + +case 6: +//C +this.state = 4; + BA.debugLineNum = 21;BA.debugLine="MsgboxAsync($\"Por favor permita que ${Applicati"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("MsgboxAsync",(Object)(BA.ObjectToCharSequence((RemoteObject.concat(RemoteObject.createImmutable("Por favor permita que "),parent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent.__c.getField(false,"Application").runMethod(true,"getPackageName")))),RemoteObject.createImmutable(" instale actualizaciones"))))),(Object)(BA.ObjectToCharSequence(RemoteObject.createImmutable("Instalar actualización"))),__ref.getField(false, "ba")); + BA.debugLineNum = 22;BA.debugLine="Wait For Msgbox_Result(Result As Int)"; +Debug.ShouldStop(2097152); +parent.__c.runVoidMethod ("WaitFor","msgbox_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "c_updateavailable", "b4xpage_appear"), null); +this.state = 16; +return; +case 16: +//C +this.state = 4; +_result = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Result", _result); +; + BA.debugLineNum = 23;BA.debugLine="Dim in As Intent"; +Debug.ShouldStop(4194304); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("in", _in); + BA.debugLineNum = 24;BA.debugLine="in.Initialize(\"android.settings.MANAGE_UNKNOWN_"; +Debug.ShouldStop(8388608); +_in.runVoidMethod ("Initialize",(Object)(BA.ObjectToString("android.settings.MANAGE_UNKNOWN_APP_SOURCES")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("package:"),parent.__c.getField(false,"Application").runMethod(true,"getPackageName")))); + BA.debugLineNum = 25;BA.debugLine="StartActivity(in)"; +Debug.ShouldStop(16777216); +parent.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_in.getObject()))); + if (true) break; + +case 7: +//C +this.state = 10; +; + Debug.CheckDeviceExceptions(); +if (true) break; + +case 9: +//C +this.state = 10; +this.catchState = 0; + BA.debugLineNum = 28;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException"; +Debug.ShouldStop(134217728); +parent.__c.runVoidMethod ("LogImpl","526804234",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 (SHARK2.keymon.com.mx.c_updateavailable.class, "_ofreceactualizacion" /*RemoteObject*/ ); + if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 33;BA.debugLine="sinActualizacion"; +Debug.ShouldStop(1); +__ref.runClassMethod (SHARK2.keymon.com.mx.c_updateavailable.class, "_sinactualizacion" /*RemoteObject*/ ); + if (true) break; + +case 15: +//C +this.state = -1; +; + BA.debugLineNum = 35;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e0.toString());} + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _msgbox_result(RemoteObject __ref,RemoteObject _result) throws Exception{ +} +public static RemoteObject _b4xpage_created(RemoteObject __ref,RemoteObject _root1) throws Exception{ +try { + Debug.PushSubsStack("B4XPage_Created (c_updateavailable) ","c_updateavailable",20,__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",20,__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",20,__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",20,__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 = 56;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +Debug.ShouldStop(8388608); +c_updateavailable._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_ocultaprogreso" /*RemoteObject*/ ); + BA.debugLineNum = 57;BA.debugLine="StartActivity(Main)"; +Debug.ShouldStop(16777216); +c_updateavailable.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((c_updateavailable._main.getObject()))); + BA.debugLineNum = 59;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +Debug.ShouldStop(67108864); +c_updateavailable._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Login"))); + 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 _sinactualizacion(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("sinActualizacion (c_updateavailable) ","c_updateavailable",20,__ref.getField(false, "ba"),__ref,62); +if (RapidSub.canDelegate("sinactualizacion")) { return __ref.runUserSub(false, "c_updateavailable","sinactualizacion", __ref);} + BA.debugLineNum = 62;BA.debugLine="Sub sinActualizacion"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 63;BA.debugLine="Msgbox(appUpdater.newApp.okMsg, \"Aplicación al co"; +Debug.ShouldStop(1073741824); +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 = 65;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +Debug.ShouldStop(1); +c_updateavailable._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.getField(false, "ba")).runClassMethod (SHARK2.keymon.com.mx.b4xmainpage.class, "_ocultaprogreso" /*RemoteObject*/ ); + BA.debugLineNum = 66;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +Debug.ShouldStop(2); +c_updateavailable._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("Login"))); + BA.debugLineNum = 67;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/cl_appupdate.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/cl_appupdate.java new file mode 100644 index 0000000..fabf04b --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/cl_appupdate.java @@ -0,0 +1,68 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class cl_appupdate { + public static RemoteObject myClass; + public cl_appupdate() { + } + public static PCBA staticBA = new PCBA(null, cl_appupdate.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _err_nopkg = RemoteObject.createImmutable(0); +public static RemoteObject _err_notxt = RemoteObject.createImmutable(0); +public static RemoteObject _err_noapk = RemoteObject.createImmutable(0); +public static RemoteObject _err_txtrow = RemoteObject.createImmutable(0); +public static RemoteObject _err_html = RemoteObject.createImmutable(0); +public static RemoteObject _err_nospace = RemoteObject.createImmutable(0); +public static RemoteObject _err_noperm = RemoteObject.createImmutable(0); +public static RemoteObject _err_download = RemoteObject.createImmutable(0); +public static RemoteObject _err_http = RemoteObject.createImmutable(0); +public static RemoteObject _ok_init = RemoteObject.createImmutable(0); +public static RemoteObject _ok_curver = RemoteObject.createImmutable(0); +public static RemoteObject _ok_webver = RemoteObject.createImmutable(0); +public static RemoteObject _no_newerapk = RemoteObject.createImmutable(0); +public static RemoteObject _ok_newerapk = RemoteObject.createImmutable(0); +public static RemoteObject _ok_download = RemoteObject.createImmutable(0); +public static RemoteObject _ok_install = RemoteObject.createImmutable(0); +public static RemoteObject _callback = RemoteObject.declareNull("Object"); +public static RemoteObject _event = RemoteObject.createImmutable(""); +public static RemoteObject _spackagename = RemoteObject.createImmutable(""); +public static RemoteObject _snewvertxt = RemoteObject.createImmutable(""); +public static RemoteObject _snewverapk = RemoteObject.createImmutable(""); +public static RemoteObject _sstatuscode = RemoteObject.createImmutable(0); +public static RemoteObject _susername = RemoteObject.createImmutable(""); +public static RemoteObject _supassword = RemoteObject.createImmutable(""); +public static RemoteObject _curver = RemoteObject.createImmutable(""); +public static RemoteObject _webver = RemoteObject.createImmutable(""); +public static RemoteObject _webclog = RemoteObject.createImmutable(""); +public static RemoteObject _webfsize = RemoteObject.createImmutable(""); +public static RemoteObject _sverbose = RemoteObject.createImmutable(false); +public static RemoteObject _pnlsplash = RemoteObject.declareNull("anywheresoftware.b4a.objects.PanelWrapper"); +public static RemoteObject _splashshowing = RemoteObject.createImmutable(false); +public static RemoteObject _phone = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +public static RemoteObject _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +public static RemoteObject _sharedfolder = RemoteObject.createImmutable(""); +public static RemoteObject _usefileprovider = RemoteObject.createImmutable(false); +public static RemoteObject _logcolor1 = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"Callback",_ref.getField(false, "_callback"),"curver",_ref.getField(false, "_curver"),"DateUtils",_ref.getField(false, "_dateutils"),"ERR_DOWNLOAD",_ref.getField(false, "_err_download"),"ERR_HTML",_ref.getField(false, "_err_html"),"ERR_HTTP",_ref.getField(false, "_err_http"),"ERR_NOAPK",_ref.getField(false, "_err_noapk"),"ERR_NOPERM",_ref.getField(false, "_err_noperm"),"ERR_NOPKG",_ref.getField(false, "_err_nopkg"),"ERR_NOSPACE",_ref.getField(false, "_err_nospace"),"ERR_NOTXT",_ref.getField(false, "_err_notxt"),"ERR_TXTROW",_ref.getField(false, "_err_txtrow"),"Event",_ref.getField(false, "_event"),"LogColor1",_ref.getField(false, "_logcolor1"),"NO_NEWERAPK",_ref.getField(false, "_no_newerapk"),"OK_CURVER",_ref.getField(false, "_ok_curver"),"OK_DOWNLOAD",_ref.getField(false, "_ok_download"),"OK_INIT",_ref.getField(false, "_ok_init"),"OK_INSTALL",_ref.getField(false, "_ok_install"),"OK_NEWERAPK",_ref.getField(false, "_ok_newerapk"),"OK_WEBVER",_ref.getField(false, "_ok_webver"),"phone",_ref.getField(false, "_phone"),"pnlSplash",_ref.getField(false, "_pnlsplash"),"rp",_ref.getField(false, "_rp"),"SharedFolder",_ref.getField(false, "_sharedfolder"),"sNewVerApk",_ref.getField(false, "_snewverapk"),"sNewVerTxt",_ref.getField(false, "_snewvertxt"),"sPackageName",_ref.getField(false, "_spackagename"),"SplashShowing",_ref.getField(false, "_splashshowing"),"sStatusCode",_ref.getField(false, "_sstatuscode"),"sUPassword",_ref.getField(false, "_supassword"),"sUserName",_ref.getField(false, "_susername"),"sVerbose",_ref.getField(false, "_sverbose"),"UseFileProvider",_ref.getField(false, "_usefileprovider"),"webclog",_ref.getField(false, "_webclog"),"webfsize",_ref.getField(false, "_webfsize"),"webver",_ref.getField(false, "_webver")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/cl_appupdate_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/cl_appupdate_subs_0.java new file mode 100644 index 0000000..73838a3 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/cl_appupdate_subs_0.java @@ -0,0 +1,2449 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class cl_appupdate_subs_0 { + + +public static RemoteObject _canrequestpackageinstalls(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CanRequestPackageInstalls (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,448); +if (RapidSub.canDelegate("canrequestpackageinstalls")) { return __ref.runUserSub(false, "cl_appupdate","canrequestpackageinstalls", __ref);} +RemoteObject _ctxt = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _packagemanager = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 448;BA.debugLine="Public Sub CanRequestPackageInstalls As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 449;BA.debugLine="Dim ctxt As JavaObject"; +Debug.JustUpdateDeviceLine(); +_ctxt = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("ctxt", _ctxt); + BA.debugLineNum = 450;BA.debugLine="ctxt.InitializeContext"; +Debug.JustUpdateDeviceLine(); +_ctxt.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 451;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; +Debug.JustUpdateDeviceLine(); +_packagemanager = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_packagemanager = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _ctxt.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getPackageManager")),(Object)((cl_appupdate.__c.getField(false,"Null")))));Debug.locals.put("PackageManager", _packagemanager);Debug.locals.put("PackageManager", _packagemanager); + BA.debugLineNum = 452;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(_packagemanager.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("canRequestPackageInstalls")),(Object)((cl_appupdate.__c.getField(false,"Null"))))); + BA.debugLineNum = 453;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _checknonmarketappsenabled(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CheckNonMarketAppsEnabled (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,471); +if (RapidSub.canDelegate("checknonmarketappsenabled")) { return __ref.runUserSub(false, "cl_appupdate","checknonmarketappsenabled", __ref);} +RemoteObject _context = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _resolver = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _global = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 471;BA.debugLine="Public Sub CheckNonMarketAppsEnabled As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 472;BA.debugLine="If phone.SdkVersion >= 26 Then Return True"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",__ref.getField(false,"_phone" /*RemoteObject*/ ).runMethod(true,"getSdkVersion"),BA.numberCast(double.class, 26))) { +if (true) return cl_appupdate.__c.getField(true,"True");}; + BA.debugLineNum = 473;BA.debugLine="If phone.SdkVersion < 17 Or phone.SdkVersion >= 2"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",__ref.getField(false,"_phone" /*RemoteObject*/ ).runMethod(true,"getSdkVersion"),BA.numberCast(double.class, 17)) || RemoteObject.solveBoolean("g",__ref.getField(false,"_phone" /*RemoteObject*/ ).runMethod(true,"getSdkVersion"),BA.numberCast(double.class, 21))) { + BA.debugLineNum = 474;BA.debugLine="Return phone.GetSettings(\"install_non_market_app"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(RemoteObject.solveBoolean("=",__ref.getField(false,"_phone" /*RemoteObject*/ ).runMethod(true,"GetSettings",(Object)(RemoteObject.createImmutable("install_non_market_apps"))),BA.ObjectToString("1"))); + }else { + BA.debugLineNum = 476;BA.debugLine="Dim context As JavaObject"; +Debug.JustUpdateDeviceLine(); +_context = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("context", _context); + BA.debugLineNum = 477;BA.debugLine="context.InitializeContext"; +Debug.JustUpdateDeviceLine(); +_context.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 478;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\""; +Debug.JustUpdateDeviceLine(); +_resolver = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_resolver = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _context.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getContentResolver")),(Object)((cl_appupdate.__c.getField(false,"Null")))));Debug.locals.put("resolver", _resolver);Debug.locals.put("resolver", _resolver); + BA.debugLineNum = 479;BA.debugLine="Dim global As JavaObject"; +Debug.JustUpdateDeviceLine(); +_global = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("global", _global); + BA.debugLineNum = 480;BA.debugLine="global.InitializeStatic(\"android.provider.Settin"; +Debug.JustUpdateDeviceLine(); +_global.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("android.provider.Settings.Global"))); + BA.debugLineNum = 481;BA.debugLine="Return global.RunMethod(\"getString\", Array(resol"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean(RemoteObject.solveBoolean("=",_global.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getString")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_resolver.getObject()),(RemoteObject.createImmutable("install_non_market_apps"))}))),RemoteObject.createImmutable(("1")))); + }; + BA.debugLineNum = 483;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 6;BA.debugLine="Private Sub Class_Globals"; + //BA.debugLineNum = 8;BA.debugLine="Public ERR_NOPKG = -1 As Int 'missing package"; +cl_appupdate._err_nopkg = BA.numberCast(int.class, -(double) (0 + 1));__ref.setField("_err_nopkg",cl_appupdate._err_nopkg); + //BA.debugLineNum = 9;BA.debugLine="Public ERR_NOTXT = -2 As Int 'missing webserve"; +cl_appupdate._err_notxt = BA.numberCast(int.class, -(double) (0 + 2));__ref.setField("_err_notxt",cl_appupdate._err_notxt); + //BA.debugLineNum = 10;BA.debugLine="Public ERR_NOAPK = -3 As Int 'missing webserve"; +cl_appupdate._err_noapk = BA.numberCast(int.class, -(double) (0 + 3));__ref.setField("_err_noapk",cl_appupdate._err_noapk); + //BA.debugLineNum = 11;BA.debugLine="Public ERR_TXTROW = -4 As Int 'wrong row forma"; +cl_appupdate._err_txtrow = BA.numberCast(int.class, -(double) (0 + 4));__ref.setField("_err_txtrow",cl_appupdate._err_txtrow); + //BA.debugLineNum = 12;BA.debugLine="Public ERR_HTML = -5 As Int 'website returned"; +cl_appupdate._err_html = BA.numberCast(int.class, -(double) (0 + 5));__ref.setField("_err_html",cl_appupdate._err_html); + //BA.debugLineNum = 13;BA.debugLine="Public ERR_NOSPACE = -6 As Int 'no enough spac"; +cl_appupdate._err_nospace = BA.numberCast(int.class, -(double) (0 + 6));__ref.setField("_err_nospace",cl_appupdate._err_nospace); + //BA.debugLineNum = 14;BA.debugLine="Public ERR_NOPERM = -7 As Int 'no permissions"; +cl_appupdate._err_noperm = BA.numberCast(int.class, -(double) (0 + 7));__ref.setField("_err_noperm",cl_appupdate._err_noperm); + //BA.debugLineNum = 15;BA.debugLine="Public ERR_DOWNLOAD = -8 As Int 'failed to dow"; +cl_appupdate._err_download = BA.numberCast(int.class, -(double) (0 + 8));__ref.setField("_err_download",cl_appupdate._err_download); + //BA.debugLineNum = 16;BA.debugLine="Public ERR_HTTP = -100 As Int 'HttpUtils error"; +cl_appupdate._err_http = BA.numberCast(int.class, -(double) (0 + 100));__ref.setField("_err_http",cl_appupdate._err_http); + //BA.debugLineNum = 17;BA.debugLine="Public OK_INIT = 0 As Int"; +cl_appupdate._ok_init = BA.numberCast(int.class, 0);__ref.setField("_ok_init",cl_appupdate._ok_init); + //BA.debugLineNum = 18;BA.debugLine="Public OK_CURVER = 1 As Int 'curver has valid"; +cl_appupdate._ok_curver = BA.numberCast(int.class, 1);__ref.setField("_ok_curver",cl_appupdate._ok_curver); + //BA.debugLineNum = 19;BA.debugLine="Public OK_WEBVER = 2 As Int"; +cl_appupdate._ok_webver = BA.numberCast(int.class, 2);__ref.setField("_ok_webver",cl_appupdate._ok_webver); + //BA.debugLineNum = 20;BA.debugLine="Public NO_NEWERAPK = 3 As Int 'apk version on"; +cl_appupdate._no_newerapk = BA.numberCast(int.class, 3);__ref.setField("_no_newerapk",cl_appupdate._no_newerapk); + //BA.debugLineNum = 21;BA.debugLine="Public OK_NEWERAPK = 4 As Int 'current apk has"; +cl_appupdate._ok_newerapk = BA.numberCast(int.class, 4);__ref.setField("_ok_newerapk",cl_appupdate._ok_newerapk); + //BA.debugLineNum = 22;BA.debugLine="Public OK_DOWNLOAD = 5 As Int 'newer apk corre"; +cl_appupdate._ok_download = BA.numberCast(int.class, 5);__ref.setField("_ok_download",cl_appupdate._ok_download); + //BA.debugLineNum = 23;BA.debugLine="Public OK_INSTALL = 6 As Int 'user asked to in"; +cl_appupdate._ok_install = BA.numberCast(int.class, 6);__ref.setField("_ok_install",cl_appupdate._ok_install); + //BA.debugLineNum = 26;BA.debugLine="Private Callback As Object"; +cl_appupdate._callback = RemoteObject.createNew ("Object");__ref.setField("_callback",cl_appupdate._callback); + //BA.debugLineNum = 27;BA.debugLine="Private Event As String"; +cl_appupdate._event = RemoteObject.createImmutable("");__ref.setField("_event",cl_appupdate._event); + //BA.debugLineNum = 28;BA.debugLine="Private sPackageName As String 'ex: com.te"; +cl_appupdate._spackagename = RemoteObject.createImmutable("");__ref.setField("_spackagename",cl_appupdate._spackagename); + //BA.debugLineNum = 29;BA.debugLine="Private sNewVerTxt As String 'ex: http:/"; +cl_appupdate._snewvertxt = RemoteObject.createImmutable("");__ref.setField("_snewvertxt",cl_appupdate._snewvertxt); + //BA.debugLineNum = 30;BA.debugLine="Private sNewVerApk As String 'ex: http:/"; +cl_appupdate._snewverapk = RemoteObject.createImmutable("");__ref.setField("_snewverapk",cl_appupdate._snewverapk); + //BA.debugLineNum = 31;BA.debugLine="Private sStatusCode As Int 'negatives"; +cl_appupdate._sstatuscode = RemoteObject.createImmutable(0);__ref.setField("_sstatuscode",cl_appupdate._sstatuscode); + //BA.debugLineNum = 32;BA.debugLine="Private sUserName As String 'user name"; +cl_appupdate._susername = RemoteObject.createImmutable("");__ref.setField("_susername",cl_appupdate._susername); + //BA.debugLineNum = 33;BA.debugLine="Private sUPassword As String 'password r"; +cl_appupdate._supassword = RemoteObject.createImmutable("");__ref.setField("_supassword",cl_appupdate._supassword); + //BA.debugLineNum = 34;BA.debugLine="Private curver, webver As String 'curver = c"; +cl_appupdate._curver = RemoteObject.createImmutable("");__ref.setField("_curver",cl_appupdate._curver); +cl_appupdate._webver = RemoteObject.createImmutable("");__ref.setField("_webver",cl_appupdate._webver); + //BA.debugLineNum = 35;BA.debugLine="Private webclog As String 'webclog = optional"; +cl_appupdate._webclog = RemoteObject.createImmutable("");__ref.setField("_webclog",cl_appupdate._webclog); + //BA.debugLineNum = 36;BA.debugLine="Private webfsize As String 'webfsize = option"; +cl_appupdate._webfsize = RemoteObject.createImmutable("");__ref.setField("_webfsize",cl_appupdate._webfsize); + //BA.debugLineNum = 37;BA.debugLine="Private sVerbose As Boolean 'TRUE = a lot of"; +cl_appupdate._sverbose = RemoteObject.createImmutable(false);__ref.setField("_sverbose",cl_appupdate._sverbose); + //BA.debugLineNum = 38;BA.debugLine="Private pnlSplash As Panel 'panel used to sup"; +cl_appupdate._pnlsplash = RemoteObject.createNew ("anywheresoftware.b4a.objects.PanelWrapper");__ref.setField("_pnlsplash",cl_appupdate._pnlsplash); + //BA.debugLineNum = 39;BA.debugLine="Private SplashShowing As Boolean 'True = splash"; +cl_appupdate._splashshowing = RemoteObject.createImmutable(false);__ref.setField("_splashshowing",cl_appupdate._splashshowing); + //BA.debugLineNum = 40;BA.debugLine="Private phone As Phone"; +cl_appupdate._phone = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");__ref.setField("_phone",cl_appupdate._phone); + //BA.debugLineNum = 41;BA.debugLine="Private rp As RuntimePermissions"; +cl_appupdate._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");__ref.setField("_rp",cl_appupdate._rp); + //BA.debugLineNum = 42;BA.debugLine="Private SharedFolder As String 'Foder where to"; +cl_appupdate._sharedfolder = RemoteObject.createImmutable("");__ref.setField("_sharedfolder",cl_appupdate._sharedfolder); + //BA.debugLineNum = 43;BA.debugLine="Private UseFileProvider As Boolean 'TRUE = SDK"; +cl_appupdate._usefileprovider = RemoteObject.createImmutable(false);__ref.setField("_usefileprovider",cl_appupdate._usefileprovider); + //BA.debugLineNum = 44;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'first col"; +cl_appupdate._logcolor1 = BA.numberCast(int.class, ((int)0xffff8c00));__ref.setField("_logcolor1",cl_appupdate._logcolor1); + //BA.debugLineNum = 45;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static void _downloadapk(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("DownloadApk (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,158); +if (RapidSub.canDelegate("downloadapk")) { __ref.runUserSub(false, "cl_appupdate","downloadapk", __ref); return;} +ResumableSub_DownloadApk rsub = new ResumableSub_DownloadApk(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_DownloadApk extends BA.ResumableSub { +public ResumableSub_DownloadApk(SHARK2.keymon.com.mx.cl_appupdate parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.cl_appupdate parent; +RemoteObject _j = RemoteObject.declareNull("SHARK2.keymon.com.mx.httpjob"); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("DownloadApk (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,158); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 159;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","944498945",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","944498949",(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 (SHARK2.keymon.com.mx.cl_appupdate.class, "_finito" /*RemoteObject*/ ); + BA.debugLineNum = 165;BA.debugLine="Return"; +Debug.JustUpdateDeviceLine(); +if (true) return ; + if (true) break; + +case 10: +//C +this.state = 11; +; + BA.debugLineNum = 168;BA.debugLine="Dim j As HttpJob"; +Debug.JustUpdateDeviceLine(); +_j = RemoteObject.createNew ("SHARK2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 169;BA.debugLine="j.Initialize(\"\", Me)"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("")),(Object)(__ref)); + BA.debugLineNum = 170;BA.debugLine="j.Username = sUserName"; +Debug.JustUpdateDeviceLine(); +_j.setField ("_username" /*RemoteObject*/ ,__ref.getField(true,"_susername" /*RemoteObject*/ )); + BA.debugLineNum = 171;BA.debugLine="j.Password = sUPassword"; +Debug.JustUpdateDeviceLine(); +_j.setField ("_password" /*RemoteObject*/ ,__ref.getField(true,"_supassword" /*RemoteObject*/ )); + BA.debugLineNum = 172;BA.debugLine="j.Download(sNewVerApk) 'ex: j.Download(\"htt"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_snewverapk" /*RemoteObject*/ ))); + BA.debugLineNum = 173;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","jobdone", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "cl_appupdate", "downloadapk"), (_j)); +this.state = 29; +return; +case 29: +//C +this.state = 11; +_j = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("j", _j); +; + BA.debugLineNum = 174;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","944498960",(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 (SHARK2.keymon.com.mx.httpjob.class, "_getinputstream" /*RemoteObject*/ ).getObject())),(Object)((_out.getObject()))); + BA.debugLineNum = 180;BA.debugLine="out.Close"; +Debug.JustUpdateDeviceLine(); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 181;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","944498967",(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","944498969",(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","944498971",(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","944498973",(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 (SHARK2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 191;BA.debugLine="Finito"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.cl_appupdate.class, "_finito" /*RemoteObject*/ ); + BA.debugLineNum = 192;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _jobdone(RemoteObject __ref,RemoteObject _j) throws Exception{ +} +public static RemoteObject _extractcl(RemoteObject __ref,RemoteObject _txtrow) throws Exception{ +try { + Debug.PushSubsStack("ExtractCL (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,381); +if (RapidSub.canDelegate("extractcl")) { return __ref.runUserSub(false, "cl_appupdate","extractcl", __ref, _txtrow);} +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _j1 = RemoteObject.createImmutable(0); +RemoteObject _j2 = RemoteObject.createImmutable(0); +Debug.locals.put("TxtRow", _txtrow); + BA.debugLineNum = 381;BA.debugLine="Private Sub ExtractCL(TxtRow As String) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 382;BA.debugLine="Dim i As Int"; +Debug.JustUpdateDeviceLine(); +_i = RemoteObject.createImmutable(0);Debug.locals.put("i", _i); + BA.debugLineNum = 383;BA.debugLine="i = TxtRow.IndexOf(\"\")"; +Debug.JustUpdateDeviceLine(); +_i = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("i", _i); + BA.debugLineNum = 384;BA.debugLine="If i <> -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_i,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 385;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\")"; +Debug.JustUpdateDeviceLine(); +_j1 = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("j1", _j1);Debug.locals.put("j1", _j1); + BA.debugLineNum = 386;BA.debugLine="If j1 = -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_j1,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 387;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'l"; +Debug.JustUpdateDeviceLine(); +_j2 = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("j2", _j2);Debug.locals.put("j2", _j2); + BA.debugLineNum = 388;BA.debugLine="j1 = j2"; +Debug.JustUpdateDeviceLine(); +_j1 = _j2;Debug.locals.put("j1", _j1); + BA.debugLineNum = 389;BA.debugLine="If j1 < i Then j1 = -1"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_j1,BA.numberCast(double.class, _i))) { +_j1 = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("j1", _j1);}; + }; + BA.debugLineNum = 391;BA.debugLine="If j1 <> -1 Then Return TxtRow.SubString2(i+11,j"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_j1,BA.numberCast(double.class, -(double) (0 + 1)))) { +if (true) return _txtrow.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(11)}, "+",1, 1)),(Object)(_j1));} +else { +if (true) return _txtrow.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(11)}, "+",1, 1)));}; + }else { + BA.debugLineNum = 393;BA.debugLine="Return \"\""; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToString(""); + }; + BA.debugLineNum = 395;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _extractsz(RemoteObject __ref,RemoteObject _txtrow) throws Exception{ +try { + Debug.PushSubsStack("ExtractSZ (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,399); +if (RapidSub.canDelegate("extractsz")) { return __ref.runUserSub(false, "cl_appupdate","extractsz", __ref, _txtrow);} +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _j1 = RemoteObject.createImmutable(0); +RemoteObject _j2 = RemoteObject.createImmutable(0); +RemoteObject _s = RemoteObject.createImmutable(""); +Debug.locals.put("TxtRow", _txtrow); + BA.debugLineNum = 399;BA.debugLine="Private Sub ExtractSZ(TxtRow As String) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 400;BA.debugLine="Dim i As Int"; +Debug.JustUpdateDeviceLine(); +_i = RemoteObject.createImmutable(0);Debug.locals.put("i", _i); + BA.debugLineNum = 401;BA.debugLine="i = TxtRow.IndexOf(\"\")"; +Debug.JustUpdateDeviceLine(); +_i = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("i", _i); + BA.debugLineNum = 402;BA.debugLine="If i <> -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_i,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 403;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") '"; +Debug.JustUpdateDeviceLine(); +_j1 = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("j1", _j1);Debug.locals.put("j1", _j1); + BA.debugLineNum = 404;BA.debugLine="If j1 = -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_j1,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 405;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") '"; +Debug.JustUpdateDeviceLine(); +_j2 = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("j2", _j2);Debug.locals.put("j2", _j2); + BA.debugLineNum = 406;BA.debugLine="j1 = j2"; +Debug.JustUpdateDeviceLine(); +_j1 = _j2;Debug.locals.put("j1", _j1); + BA.debugLineNum = 407;BA.debugLine="If j1 < i Then j1 = -1"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_j1,BA.numberCast(double.class, _i))) { +_j1 = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("j1", _j1);}; + }; + BA.debugLineNum = 409;BA.debugLine="Dim s As String"; +Debug.JustUpdateDeviceLine(); +_s = RemoteObject.createImmutable("");Debug.locals.put("s", _s); + BA.debugLineNum = 410;BA.debugLine="If j1 <> -1 Then s = TxtRow.SubString2(i+10,j1)"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_j1,BA.numberCast(double.class, -(double) (0 + 1)))) { +_s = _txtrow.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(10)}, "+",1, 1)),(Object)(_j1));Debug.locals.put("s", _s);} +else { +_s = _txtrow.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(10)}, "+",1, 1)));Debug.locals.put("s", _s);}; + BA.debugLineNum = 411;BA.debugLine="s = s.Replace(CRLF,\"\")"; +Debug.JustUpdateDeviceLine(); +_s = _s.runMethod(true,"replace",(Object)(cl_appupdate.__c.getField(true,"CRLF")),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("s", _s); + BA.debugLineNum = 412;BA.debugLine="s=s.Replace(Chr(13),\"\")"; +Debug.JustUpdateDeviceLine(); +_s = _s.runMethod(true,"replace",(Object)(BA.ObjectToString(cl_appupdate.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 13))))),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("s", _s); + BA.debugLineNum = 413;BA.debugLine="Return s"; +Debug.JustUpdateDeviceLine(); +if (true) return _s; + }else { + BA.debugLineNum = 415;BA.debugLine="Return \"\""; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToString(""); + }; + BA.debugLineNum = 417;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _extractvn(RemoteObject __ref,RemoteObject _txtrow) throws Exception{ +try { + Debug.PushSubsStack("ExtractVN (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,360); +if (RapidSub.canDelegate("extractvn")) { return __ref.runUserSub(false, "cl_appupdate","extractvn", __ref, _txtrow);} +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _j1 = RemoteObject.createImmutable(0); +RemoteObject _j2 = RemoteObject.createImmutable(0); +RemoteObject _j = RemoteObject.createImmutable(0); +RemoteObject _s = RemoteObject.createImmutable(""); +Debug.locals.put("TxtRow", _txtrow); + BA.debugLineNum = 360;BA.debugLine="Private Sub ExtractVN(TxtRow As String) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 361;BA.debugLine="Dim i As Int"; +Debug.JustUpdateDeviceLine(); +_i = RemoteObject.createImmutable(0);Debug.locals.put("i", _i); + BA.debugLineNum = 362;BA.debugLine="i = TxtRow.IndexOf(\"=\")"; +Debug.JustUpdateDeviceLine(); +_i = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("=")));Debug.locals.put("i", _i); + BA.debugLineNum = 363;BA.debugLine="If i <> -1 Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_i,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 364;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") 'l"; +Debug.JustUpdateDeviceLine(); +_j1 = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("j1", _j1);Debug.locals.put("j1", _j1); + BA.debugLineNum = 365;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'lo"; +Debug.JustUpdateDeviceLine(); +_j2 = _txtrow.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("")));Debug.locals.put("j2", _j2);Debug.locals.put("j2", _j2); + BA.debugLineNum = 366;BA.debugLine="Dim j As Int = Min(j1, j2)"; +Debug.JustUpdateDeviceLine(); +_j = BA.numberCast(int.class, cl_appupdate.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, _j1)),(Object)(BA.numberCast(double.class, _j2))));Debug.locals.put("j", _j);Debug.locals.put("j", _j); + BA.debugLineNum = 367;BA.debugLine="If j = -1 Then j = Max(j1,j2)"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_j,BA.numberCast(double.class, -(double) (0 + 1)))) { +_j = BA.numberCast(int.class, cl_appupdate.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, _j1)),(Object)(BA.numberCast(double.class, _j2))));Debug.locals.put("j", _j);}; + BA.debugLineNum = 368;BA.debugLine="Dim s As String"; +Debug.JustUpdateDeviceLine(); +_s = RemoteObject.createImmutable("");Debug.locals.put("s", _s); + BA.debugLineNum = 369;BA.debugLine="If j <> - 1 Then s=TxtRow.SubString2(i+1,j) Else"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_j,BA.numberCast(double.class, -(double) (0 + 1)))) { +_s = _txtrow.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(1)}, "+",1, 1)),(Object)(_j));Debug.locals.put("s", _s);} +else { +_s = _txtrow.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(1)}, "+",1, 1)));Debug.locals.put("s", _s);}; + BA.debugLineNum = 370;BA.debugLine="s=s.Replace(CRLF,\"\")"; +Debug.JustUpdateDeviceLine(); +_s = _s.runMethod(true,"replace",(Object)(cl_appupdate.__c.getField(true,"CRLF")),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("s", _s); + BA.debugLineNum = 371;BA.debugLine="s=s.Replace(Chr(13),\"\")"; +Debug.JustUpdateDeviceLine(); +_s = _s.runMethod(true,"replace",(Object)(BA.ObjectToString(cl_appupdate.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 13))))),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("s", _s); + BA.debugLineNum = 372;BA.debugLine="Return s"; +Debug.JustUpdateDeviceLine(); +if (true) return _s; + }else { + BA.debugLineNum = 374;BA.debugLine="Return \"\""; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToString(""); + }; + BA.debugLineNum = 376;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _finito(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Finito (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,290); +if (RapidSub.canDelegate("finito")) { return __ref.runUserSub(false, "cl_appupdate","finito", __ref);} + BA.debugLineNum = 290;BA.debugLine="Private Sub Finito"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 291;BA.debugLine="If SubExists(Callback,Event&\"_UpdateComplete\") Th"; +Debug.JustUpdateDeviceLine(); +if (cl_appupdate.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_event" /*RemoteObject*/ ),RemoteObject.createImmutable("_UpdateComplete")))).get().booleanValue()) { + BA.debugLineNum = 292;BA.debugLine="CallSub(Callback,Event&\"_UpdateComplete\")"; +Debug.JustUpdateDeviceLine(); +cl_appupdate.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_event" /*RemoteObject*/ ),RemoteObject.createImmutable("_UpdateComplete")))); + }; + BA.debugLineNum = 294;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getavailablespace(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetAvailableSpace (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,137); +if (RapidSub.canDelegate("getavailablespace")) { return __ref.runUserSub(false, "cl_appupdate","getavailablespace", __ref);} + BA.debugLineNum = 137;BA.debugLine="Public Sub GetAvailableSpace As Long"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 138;BA.debugLine="Return GetFreeSpace"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (SHARK2.keymon.com.mx.cl_appupdate.class, "_getfreespace" /*RemoteObject*/ ); + BA.debugLineNum = 139;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0L); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getcurvn(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getCurVN (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,114); +if (RapidSub.canDelegate("getcurvn")) { return __ref.runUserSub(false, "cl_appupdate","getcurvn", __ref);} + BA.debugLineNum = 114;BA.debugLine="Public Sub getCurVN As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 115;BA.debugLine="Return curver"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_curver" /*RemoteObject*/ ); + BA.debugLineNum = 116;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getfileuri(RemoteObject __ref,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("GetFileUri (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,503); +if (RapidSub.canDelegate("getfileuri")) { return __ref.runUserSub(false, "cl_appupdate","getfileuri", __ref, _filename);} +RemoteObject _uri = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _fp = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _context = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 503;BA.debugLine="Private Sub GetFileUri (FileName As String) As Obj"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 504;BA.debugLine="If UseFileProvider = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_usefileprovider" /*RemoteObject*/ ),cl_appupdate.__c.getField(true,"False"))) { + BA.debugLineNum = 505;BA.debugLine="Dim uri As JavaObject"; +Debug.JustUpdateDeviceLine(); +_uri = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("uri", _uri); + BA.debugLineNum = 506;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; +Debug.JustUpdateDeviceLine(); +if (true) return _uri.runMethod(false,"InitializeStatic",(Object)(RemoteObject.createImmutable("android.net.Uri"))).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("parse")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.concat(RemoteObject.createImmutable("file://"),cl_appupdate.__c.getField(false,"File").runMethod(true,"Combine",(Object)(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )),(Object)(_filename))))}))); + }else { + BA.debugLineNum = 508;BA.debugLine="Dim f As JavaObject"; +Debug.JustUpdateDeviceLine(); +_f = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("f", _f); + BA.debugLineNum = 509;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +Debug.JustUpdateDeviceLine(); +_f.runVoidMethod ("InitializeNewInstance",(Object)(BA.ObjectToString("java.io.File")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )),(_filename)}))); + BA.debugLineNum = 510;BA.debugLine="Dim fp As JavaObject"; +Debug.JustUpdateDeviceLine(); +_fp = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("fp", _fp); + BA.debugLineNum = 511;BA.debugLine="Dim context As JavaObject"; +Debug.JustUpdateDeviceLine(); +_context = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("context", _context); + BA.debugLineNum = 512;BA.debugLine="context.InitializeContext"; +Debug.JustUpdateDeviceLine(); +_context.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 513;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +Debug.JustUpdateDeviceLine(); +_fp.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("androidx.core.content.FileProvider"))); + BA.debugLineNum = 514;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; +Debug.JustUpdateDeviceLine(); +if (true) return _fp.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getUriForFile")),(Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_context.getObject()),(RemoteObject.concat(cl_appupdate.__c.getField(false,"Application").runMethod(true,"getPackageName"),RemoteObject.createImmutable(".provider"))),(_f.getObject())}))); + }; + BA.debugLineNum = 516;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getfreespace(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetFreeSpace (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,421); +if (RapidSub.canDelegate("getfreespace")) { return __ref.runUserSub(false, "cl_appupdate","getfreespace", __ref);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 421;BA.debugLine="Private Sub GetFreeSpace As Long"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 422;BA.debugLine="Dim jo As JavaObject"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("jo", _jo); + BA.debugLineNum = 423;BA.debugLine="jo.InitializeNewInstance(\"java.io.File\", Array(Sh"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("InitializeNewInstance",(Object)(BA.ObjectToString("java.io.File")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ ))}))); + BA.debugLineNum = 424;BA.debugLine="Return jo.RunMethod(\"getFreeSpace\", Null)"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.numberCast(long.class, _jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getFreeSpace")),(Object)((cl_appupdate.__c.getField(false,"Null"))))); + BA.debugLineNum = 425;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0L); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getnmappinst(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetNMAppInst (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,435); +if (RapidSub.canDelegate("getnmappinst")) { return __ref.runUserSub(false, "cl_appupdate","getnmappinst", __ref);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _context = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _resolver = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 435;BA.debugLine="Private Sub GetNMAppInst As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 436;BA.debugLine="Dim jo As JavaObject"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("jo", _jo); + BA.debugLineNum = 437;BA.debugLine="jo.InitializeStatic(\"android.provider.Settings.Se"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("android.provider.Settings.Secure"))); + BA.debugLineNum = 438;BA.debugLine="Dim context As JavaObject"; +Debug.JustUpdateDeviceLine(); +_context = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("context", _context); + BA.debugLineNum = 439;BA.debugLine="context.InitializeContext"; +Debug.JustUpdateDeviceLine(); +_context.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 440;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\"g"; +Debug.JustUpdateDeviceLine(); +_resolver = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_resolver = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _context.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getContentResolver")),(Object)((cl_appupdate.__c.getField(false,"Null")))));Debug.locals.put("resolver", _resolver);Debug.locals.put("resolver", _resolver); + BA.debugLineNum = 441;BA.debugLine="Return jo.RunMethod(\"getString\", Array(resolver,"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToString(_jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getString")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_resolver.getObject()),(RemoteObject.createImmutable("install_non_market_apps"))})))); + BA.debugLineNum = 442;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpackagename(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getPackageName (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,79); +if (RapidSub.canDelegate("getpackagename")) { return __ref.runUserSub(false, "cl_appupdate","getpackagename", __ref);} + BA.debugLineNum = 79;BA.debugLine="Public Sub getPackageName As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 80;BA.debugLine="Return sPackageName"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_spackagename" /*RemoteObject*/ ); + BA.debugLineNum = 81;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getsdkversion(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetSDKVersion (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,428); +if (RapidSub.canDelegate("getsdkversion")) { return __ref.runUserSub(false, "cl_appupdate","getsdkversion", __ref);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 428;BA.debugLine="Private Sub GetSDKVersion As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 429;BA.debugLine="Dim jo As JavaObject"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("jo", _jo); + BA.debugLineNum = 430;BA.debugLine="jo.InitializeStatic(\"android.os.Build.VERSION\")"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("android.os.Build.VERSION"))); + BA.debugLineNum = 431;BA.debugLine="Return jo.GetField(\"SDK_INT\")"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.numberCast(int.class, _jo.runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("SDK_INT")))); + BA.debugLineNum = 432;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getstatus(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getStatus (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,108); +if (RapidSub.canDelegate("getstatus")) { return __ref.runUserSub(false, "cl_appupdate","getstatus", __ref);} + BA.debugLineNum = 108;BA.debugLine="Public Sub getStatus As Int"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 109;BA.debugLine="Return sStatusCode"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_sstatuscode" /*RemoteObject*/ ); + BA.debugLineNum = 110;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getwebchangelog(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getWebChangeLog (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,126); +if (RapidSub.canDelegate("getwebchangelog")) { return __ref.runUserSub(false, "cl_appupdate","getwebchangelog", __ref);} + BA.debugLineNum = 126;BA.debugLine="Public Sub getWebChangeLog As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 127;BA.debugLine="Return webclog"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_webclog" /*RemoteObject*/ ); + BA.debugLineNum = 128;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getwebfilesize(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getWebFileSize (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,132); +if (RapidSub.canDelegate("getwebfilesize")) { return __ref.runUserSub(false, "cl_appupdate","getwebfilesize", __ref);} + BA.debugLineNum = 132;BA.debugLine="Public Sub getWebFileSize As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 133;BA.debugLine="Return webfsize"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_webfsize" /*RemoteObject*/ ); + BA.debugLineNum = 134;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getwebvn(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getWebVN (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,120); +if (RapidSub.canDelegate("getwebvn")) { return __ref.runUserSub(false, "cl_appupdate","getwebvn", __ref);} + BA.debugLineNum = 120;BA.debugLine="Public Sub getWebVN As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 121;BA.debugLine="Return webver"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_webver" /*RemoteObject*/ ); + BA.debugLineNum = 122;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callbackmodule,RemoteObject _eventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,48); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "cl_appupdate","initialize", __ref, _ba, _callbackmodule, _eventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +Debug.locals.put("ba", _ba); +Debug.locals.put("CallbackModule", _callbackmodule); +Debug.locals.put("EventName", _eventname); + BA.debugLineNum = 48;BA.debugLine="Public Sub Initialize(CallbackModule As Object, Ev"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 49;BA.debugLine="Callback = CallbackModule"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_callback" /*RemoteObject*/ ,_callbackmodule); + BA.debugLineNum = 50;BA.debugLine="Event = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_event" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 51;BA.debugLine="sPackageName = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_spackagename" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 52;BA.debugLine="sNewVerTxt = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_snewvertxt" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 53;BA.debugLine="sNewVerApk = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_snewverapk" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 54;BA.debugLine="sUserName = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_susername" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 55;BA.debugLine="sUPassword = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_supassword" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 56;BA.debugLine="sStatusCode = OK_INIT"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_ok_init" /*RemoteObject*/ )); + BA.debugLineNum = 57;BA.debugLine="curver = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_curver" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 58;BA.debugLine="webver = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_webver" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 59;BA.debugLine="sVerbose = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sverbose" /*RemoteObject*/ ,cl_appupdate.__c.getField(true,"False")); + BA.debugLineNum = 60;BA.debugLine="Dim p As Phone"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("p", _p); + BA.debugLineNum = 61;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",_p.runMethod(true,"getSdkVersion"),BA.numberCast(double.class, 24)) || RemoteObject.solveBoolean("=",cl_appupdate.__c.getField(false,"File").runMethod(true,"getExternalWritable"),cl_appupdate.__c.getField(true,"False"))) { + BA.debugLineNum = 62;BA.debugLine="UseFileProvider = True"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_usefileprovider" /*RemoteObject*/ ,cl_appupdate.__c.getField(true,"True")); + BA.debugLineNum = 63;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sharedfolder" /*RemoteObject*/ ,cl_appupdate.__c.getField(false,"File").runMethod(true,"Combine",(Object)(cl_appupdate.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("shared")))); + BA.debugLineNum = 64;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +Debug.JustUpdateDeviceLine(); +cl_appupdate.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(BA.ObjectToString("")),(Object)(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ ))); + }else { + BA.debugLineNum = 66;BA.debugLine="UseFileProvider = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_usefileprovider" /*RemoteObject*/ ,cl_appupdate.__c.getField(true,"False")); + BA.debugLineNum = 67;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sharedfolder" /*RemoteObject*/ ,__ref.getField(false,"_rp" /*RemoteObject*/ ).runMethod(true,"GetSafeDirDefaultExternal",(Object)(RemoteObject.createImmutable("shared")))); + }; + BA.debugLineNum = 69;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro"; +Debug.JustUpdateDeviceLine(); +cl_appupdate.__c.runVoidMethod ("LogImpl","943515925",(RemoteObject.concat(RemoteObject.createImmutable("SDK#: "),cl_appupdate.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_p.runMethod(true,"getSdkVersion")))),RemoteObject.createImmutable(" - UseFP: "),cl_appupdate.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_usefileprovider" /*RemoteObject*/ )))),RemoteObject.createImmutable(" - SharedFolder: "),cl_appupdate.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 70;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _installapk(RemoteObject __ref,RemoteObject _pstatus) throws Exception{ +try { + Debug.PushSubsStack("InstallApk (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,195); +if (RapidSub.canDelegate("installapk")) { return __ref.runUserSub(false, "cl_appupdate","installapk", __ref, _pstatus);} +Debug.locals.put("pstatus", _pstatus); + BA.debugLineNum = 195;BA.debugLine="Public Sub InstallApk(pstatus As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 196;BA.debugLine="LogColor(\"---- AppUpdating.InstallApk\", LogColor1"; +Debug.JustUpdateDeviceLine(); +cl_appupdate.__c.runVoidMethod ("LogImpl","944564481",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 (SHARK2.keymon.com.mx.cl_appupdate.class, "_sendinstallintent" /*RemoteObject*/ ); + BA.debugLineNum = 199;BA.debugLine="sStatusCode = OK_INSTALL"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_ok_install" /*RemoteObject*/ )); + BA.debugLineNum = 200;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +cl_appupdate.__c.runVoidMethod ("LogImpl","944564485",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","944564488",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 (SHARK2.keymon.com.mx.cl_appupdate.class, "_finito" /*RemoteObject*/ ); + BA.debugLineNum = 206;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isvalidcv(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("IsValidCV (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,297); +if (RapidSub.canDelegate("isvalidcv")) { return __ref.runUserSub(false, "cl_appupdate","isvalidcv", __ref);} +RemoteObject _pm = RemoteObject.declareNull("anywheresoftware.b4a.phone.PackageManagerWrapper"); + BA.debugLineNum = 297;BA.debugLine="Private Sub IsValidCV As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 298;BA.debugLine="If sPackageName = \"\" Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_spackagename" /*RemoteObject*/ ),BA.ObjectToString(""))) { + BA.debugLineNum = 299;BA.debugLine="curver = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_curver" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 300;BA.debugLine="sStatusCode = ERR_NOPKG"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_nopkg" /*RemoteObject*/ )); + BA.debugLineNum = 301;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +cl_appupdate.__c.runVoidMethod ("LogImpl","944826628",(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","944826633",(RemoteObject.concat(RemoteObject.createImmutable(""),cl_appupdate.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((cl_appupdate.__c.getField(true,"TAB")))),RemoteObject.createImmutable("Current Version: "),cl_appupdate.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_curver" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0);}; + }; + BA.debugLineNum = 308;BA.debugLine="Return (sStatusCode == OK_CURVER)"; +Debug.JustUpdateDeviceLine(); +if (true) return BA.ObjectToBoolean((RemoteObject.solveBoolean("=",__ref.getField(true,"_sstatuscode" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_ok_curver" /*RemoteObject*/ ))))); + BA.debugLineNum = 309;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isvalidwv(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("IsvalidWV (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,312); +if (RapidSub.canDelegate("isvalidwv")) { return __ref.runUserSub(false, "cl_appupdate","isvalidwv", __ref);} +ResumableSub_IsvalidWV rsub = new ResumableSub_IsvalidWV(null,__ref); +rsub.remoteResumableSub = anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSubForFilter(); +rsub.resume(null, null); +return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.keywords.Common.ResumableSubWrapper"), rsub.remoteResumableSub); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_IsvalidWV extends BA.ResumableSub { +public ResumableSub_IsvalidWV(SHARK2.keymon.com.mx.cl_appupdate parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.cl_appupdate parent; +RemoteObject _j = RemoteObject.declareNull("SHARK2.keymon.com.mx.httpjob"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("IsvalidWV (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,312); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(null));return;} +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 313;BA.debugLine="Log(\"IsValidComplete start\")"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","944892161",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","944892165",(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 ("SHARK2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 321;BA.debugLine="j.Initialize(\"\", Me)"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("")),(Object)(__ref)); + BA.debugLineNum = 322;BA.debugLine="j.Username = sUserName"; +Debug.JustUpdateDeviceLine(); +_j.setField ("_username" /*RemoteObject*/ ,__ref.getField(true,"_susername" /*RemoteObject*/ )); + BA.debugLineNum = 323;BA.debugLine="j.Password = sUPassword"; +Debug.JustUpdateDeviceLine(); +_j.setField ("_password" /*RemoteObject*/ ,__ref.getField(true,"_supassword" /*RemoteObject*/ )); + BA.debugLineNum = 324;BA.debugLine="j.Download(sNewVerTxt) 'ex: jobapk.Downlo"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_snewvertxt" /*RemoteObject*/ ))); + BA.debugLineNum = 325;BA.debugLine="Log(\"before\")"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","944892173",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","944892175",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","944892177",(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 (SHARK2.keymon.com.mx.httpjob.class, "_getstring" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); +if (true) break; + +case 20: +//C +this.state = 21; +; + BA.debugLineNum = 330;BA.debugLine="If Not(J.GetString.Contains(\"\"))"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 21: +//if +this.state = 50; +if (parent.__c.runMethod(true,"Not",(Object)(_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_getstring" /*RemoteObject*/ ).runMethod(true,"contains",(Object)(RemoteObject.createImmutable(""))))).get().booleanValue()) { +this.state = 23; +}else { +this.state = 43; +}if (true) break; + +case 23: +//C +this.state = 24; + BA.debugLineNum = 331;BA.debugLine="webver = ExtractVN(J.GetString)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_webver" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.cl_appupdate.class, "_extractvn" /*RemoteObject*/ ,(Object)(_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_getstring" /*RemoteObject*/ )))); + BA.debugLineNum = 332;BA.debugLine="webclog = ExtractCL(J.GetString) 'optional"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_webclog" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.cl_appupdate.class, "_extractcl" /*RemoteObject*/ ,(Object)(_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_getstring" /*RemoteObject*/ )))); + BA.debugLineNum = 333;BA.debugLine="webfsize = ExtractSZ(J.GetString) 'optiona"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_webfsize" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.cl_appupdate.class, "_extractsz" /*RemoteObject*/ ,(Object)(_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_getstring" /*RemoteObject*/ )))); + BA.debugLineNum = 334;BA.debugLine="If webver = \"\" Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 24: +//if +this.state = 41; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_webver" /*RemoteObject*/ ),BA.ObjectToString(""))) { +this.state = 26; +}else { +this.state = 34; +}if (true) break; + +case 26: +//C +this.state = 27; + BA.debugLineNum = 335;BA.debugLine="sStatusCode = ERR_TXTROW"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_txtrow" /*RemoteObject*/ )); + BA.debugLineNum = 336;BA.debugLine="If sVerbose Then Log($\"${TAB}wrong row format"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 27: +//if +this.state = 32; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 29; +;}if (true) break; + +case 29: +//C +this.state = 32; +parent.__c.runVoidMethod ("LogImpl","944892184",(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","944892187",(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","944892191",(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","944892194",(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","944892196",(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 (SHARK2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + if (true) break; + +case 60: +//C +this.state = -1; +; + BA.debugLineNum = 353;BA.debugLine="Return (sStatusCode == OK_WEBVER)"; +Debug.JustUpdateDeviceLine(); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,RemoteObject.createImmutable(((RemoteObject.solveBoolean("=",__ref.getField(true,"_sstatuscode" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_ok_webver" /*RemoteObject*/ )))))));return;}; + BA.debugLineNum = 354;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _readcurvn(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ReadCurVN (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,143); +if (RapidSub.canDelegate("readcurvn")) { return __ref.runUserSub(false, "cl_appupdate","readcurvn", __ref);} + BA.debugLineNum = 143;BA.debugLine="Public Sub ReadCurVN"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 144;BA.debugLine="LogColor(\"---- AppUpdating.ReadCurVN\", LogColor1)"; +Debug.JustUpdateDeviceLine(); +cl_appupdate.__c.runVoidMethod ("LogImpl","944367873",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 (SHARK2.keymon.com.mx.cl_appupdate.class, "_isvalidcv" /*RemoteObject*/ ); + BA.debugLineNum = 146;BA.debugLine="Finito"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.cl_appupdate.class, "_finito" /*RemoteObject*/ ); + BA.debugLineNum = 147;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _readwebvn(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ReadWebVN (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,151); +if (RapidSub.canDelegate("readwebvn")) { __ref.runUserSub(false, "cl_appupdate","readwebvn", __ref); return;} +ResumableSub_ReadWebVN rsub = new ResumableSub_ReadWebVN(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_ReadWebVN extends BA.ResumableSub { +public ResumableSub_ReadWebVN(SHARK2.keymon.com.mx.cl_appupdate parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.cl_appupdate parent; +RemoteObject _okwebver = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("ReadWebVN (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,151); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 152;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","944433409",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 (SHARK2.keymon.com.mx.cl_appupdate.class, "_isvalidwv" /*RemoteObject*/ )); +this.state = 1; +return; +case 1: +//C +this.state = -1; +_okwebver = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("OkWebVer", _okwebver); +; + BA.debugLineNum = 154;BA.debugLine="Finito"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.cl_appupdate.class, "_finito" /*RemoteObject*/ ); + BA.debugLineNum = 155;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _complete(RemoteObject __ref,RemoteObject _okwebver) throws Exception{ +} +public static RemoteObject _sendinstallintent(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("SendInstallIntent (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,487); +if (RapidSub.canDelegate("sendinstallintent")) { return __ref.runUserSub(false, "cl_appupdate","sendinstallintent", __ref);} +RemoteObject _apkname = RemoteObject.createImmutable(""); +RemoteObject _i = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); + BA.debugLineNum = 487;BA.debugLine="Private Sub SendInstallIntent"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 488;BA.debugLine="Dim ApkName As String = \"tmp.apk\""; +Debug.JustUpdateDeviceLine(); +_apkname = BA.ObjectToString("tmp.apk");Debug.locals.put("ApkName", _apkname);Debug.locals.put("ApkName", _apkname); + BA.debugLineNum = 489;BA.debugLine="Dim i As Intent"; +Debug.JustUpdateDeviceLine(); +_i = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("i", _i); + BA.debugLineNum = 490;BA.debugLine="If phone.SdkVersion >= 24 Then 'Nouga"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",__ref.getField(false,"_phone" /*RemoteObject*/ ).runMethod(true,"getSdkVersion"),BA.numberCast(double.class, 24))) { + BA.debugLineNum = 491;BA.debugLine="i.Initialize(\"android.intent.action.INSTALL_PACK"; +Debug.JustUpdateDeviceLine(); +_i.runVoidMethod ("Initialize",(Object)(BA.ObjectToString("android.intent.action.INSTALL_PACKAGE")),(Object)(BA.ObjectToString(__ref.runClassMethod (SHARK2.keymon.com.mx.cl_appupdate.class, "_getfileuri" /*RemoteObject*/ ,(Object)(_apkname))))); + BA.debugLineNum = 492;BA.debugLine="i.Flags = Bit.Or(i.Flags, 1) 'FLAG_GRANT_READ_UR"; +Debug.JustUpdateDeviceLine(); +_i.runMethod(true,"setFlags",cl_appupdate.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(_i.runMethod(true,"getFlags")),(Object)(BA.numberCast(int.class, 1)))); + }else { + BA.debugLineNum = 494;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; +Debug.JustUpdateDeviceLine(); +_i.runVoidMethod ("Initialize",(Object)(_i.getField(true,"ACTION_VIEW")),(Object)(RemoteObject.concat(RemoteObject.createImmutable("file://"),cl_appupdate.__c.getField(false,"File").runMethod(true,"Combine",(Object)(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )),(Object)(_apkname))))); + BA.debugLineNum = 495;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +Debug.JustUpdateDeviceLine(); +_i.runVoidMethod ("SetType",(Object)(RemoteObject.createImmutable("application/vnd.android.package-archive"))); + }; + BA.debugLineNum = 497;BA.debugLine="StartActivity(i)"; +Debug.JustUpdateDeviceLine(); +cl_appupdate.__c.runVoidMethod ("StartActivity",__ref.getField(false, "ba"),(Object)((_i.getObject()))); + BA.debugLineNum = 498;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setandstartsplashscreen(RemoteObject __ref,RemoteObject _callingact,RemoteObject _bm) throws Exception{ +try { + Debug.PushSubsStack("SetAndStartSplashScreen (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,532); +if (RapidSub.canDelegate("setandstartsplashscreen")) { return __ref.runUserSub(false, "cl_appupdate","setandstartsplashscreen", __ref, _callingact, _bm);} +RemoteObject _bitimage = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.BitmapDrawable"); +Debug.locals.put("CallingAct", _callingact); +Debug.locals.put("BM", _bm); + BA.debugLineNum = 532;BA.debugLine="Public Sub SetAndStartSplashScreen(CallingAct As A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 533;BA.debugLine="If BM.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (_bm.runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 534;BA.debugLine="pnlSplash.Initialize(\"pnl1\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlsplash" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("pnl1"))); + BA.debugLineNum = 535;BA.debugLine="pnlSplash.Tag = \"splash\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlsplash" /*RemoteObject*/ ).runMethod(false,"setTag",RemoteObject.createImmutable(("splash"))); + BA.debugLineNum = 536;BA.debugLine="Dim BitImage As BitmapDrawable"; +Debug.JustUpdateDeviceLine(); +_bitimage = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.BitmapDrawable");Debug.locals.put("BitImage", _bitimage); + BA.debugLineNum = 537;BA.debugLine="BitImage.Initialize(BM)"; +Debug.JustUpdateDeviceLine(); +_bitimage.runVoidMethod ("Initialize",(Object)((_bm.getObject()))); + BA.debugLineNum = 538;BA.debugLine="BitImage.Gravity = Gravity.FILL"; +Debug.JustUpdateDeviceLine(); +_bitimage.runMethod(true,"setGravity",cl_appupdate.__c.getField(false,"Gravity").getField(true,"FILL")); + BA.debugLineNum = 539;BA.debugLine="CallingAct.AddView(pnlSplash, 0, 0, CallingAct.W"; +Debug.JustUpdateDeviceLine(); +_callingact.runVoidMethod ("AddView",(Object)((__ref.getField(false,"_pnlsplash" /*RemoteObject*/ ).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_callingact.runMethod(true,"getWidth")),(Object)(_callingact.runMethod(true,"getHeight"))); + BA.debugLineNum = 540;BA.debugLine="pnlSplash.Background = BitImage"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlsplash" /*RemoteObject*/ ).runMethod(false,"setBackground",(_bitimage.getObject())); + BA.debugLineNum = 541;BA.debugLine="pnlSplash.BringToFront"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlsplash" /*RemoteObject*/ ).runVoidMethod ("BringToFront"); + BA.debugLineNum = 542;BA.debugLine="SplashShowing = True"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_splashshowing" /*RemoteObject*/ ,cl_appupdate.__c.getField(true,"True")); + }; + BA.debugLineNum = 544;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcredentials(RemoteObject __ref,RemoteObject _usern,RemoteObject _userp) throws Exception{ +try { + Debug.PushSubsStack("setCredentials (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,96); +if (RapidSub.canDelegate("setcredentials")) { return __ref.runUserSub(false, "cl_appupdate","setcredentials", __ref, _usern, _userp);} +Debug.locals.put("UserN", _usern); +Debug.locals.put("UserP", _userp); + BA.debugLineNum = 96;BA.debugLine="Public Sub setCredentials(UserN As String, UserP A"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 97;BA.debugLine="sUserName = UserN"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_susername" /*RemoteObject*/ ,_usern); + BA.debugLineNum = 98;BA.debugLine="sUPassword = UserP"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_supassword" /*RemoteObject*/ ,_userp); + BA.debugLineNum = 99;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setfileuriasintentdata(RemoteObject __ref,RemoteObject _intent,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("SetFileUriAsIntentData (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,520); +if (RapidSub.canDelegate("setfileuriasintentdata")) { return __ref.runUserSub(false, "cl_appupdate","setfileuriasintentdata", __ref, _intent, _filename);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("Intent", _intent); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 520;BA.debugLine="Private Sub SetFileUriAsIntentData (Intent As Inte"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 521;BA.debugLine="Dim jo As JavaObject = Intent"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _intent.getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 522;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setData")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {__ref.runClassMethod (SHARK2.keymon.com.mx.cl_appupdate.class, "_getfileuri" /*RemoteObject*/ ,(Object)(_filename))}))); + BA.debugLineNum = 523;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +Debug.JustUpdateDeviceLine(); +_intent.runMethod(true,"setFlags",cl_appupdate.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(_intent.runMethod(true,"getFlags")),(Object)(BA.numberCast(int.class, 1)))); + BA.debugLineNum = 524;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setnewverapk(RemoteObject __ref,RemoteObject _nva) throws Exception{ +try { + Debug.PushSubsStack("setNewVerApk (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,91); +if (RapidSub.canDelegate("setnewverapk")) { return __ref.runUserSub(false, "cl_appupdate","setnewverapk", __ref, _nva);} +Debug.locals.put("NVA", _nva); + BA.debugLineNum = 91;BA.debugLine="Public Sub setNewVerApk(NVA As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 92;BA.debugLine="sNewVerApk = NVA"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_snewverapk" /*RemoteObject*/ ,_nva); + BA.debugLineNum = 93;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setnewvertxt(RemoteObject __ref,RemoteObject _nvt) throws Exception{ +try { + Debug.PushSubsStack("setNewVerTxt (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,86); +if (RapidSub.canDelegate("setnewvertxt")) { return __ref.runUserSub(false, "cl_appupdate","setnewvertxt", __ref, _nvt);} +Debug.locals.put("NVT", _nvt); + BA.debugLineNum = 86;BA.debugLine="Public Sub setNewVerTxt(NVT As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 87;BA.debugLine="sNewVerTxt = NVT"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_snewvertxt" /*RemoteObject*/ ,_nvt); + BA.debugLineNum = 88;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setpackagename(RemoteObject __ref,RemoteObject _pn) throws Exception{ +try { + Debug.PushSubsStack("setPackageName (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,74); +if (RapidSub.canDelegate("setpackagename")) { return __ref.runUserSub(false, "cl_appupdate","setpackagename", __ref, _pn);} +Debug.locals.put("PN", _pn); + BA.debugLineNum = 74;BA.debugLine="Public Sub setPackageName(PN As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 75;BA.debugLine="sPackageName = PN"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_spackagename" /*RemoteObject*/ ,_pn); + BA.debugLineNum = 76;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setverbose(RemoteObject __ref,RemoteObject _verbose) throws Exception{ +try { + Debug.PushSubsStack("setVerbose (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,102); +if (RapidSub.canDelegate("setverbose")) { return __ref.runUserSub(false, "cl_appupdate","setverbose", __ref, _verbose);} +Debug.locals.put("Verbose", _verbose); + BA.debugLineNum = 102;BA.debugLine="Public Sub setVerbose(Verbose As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 103;BA.debugLine="sVerbose = Verbose"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sverbose" /*RemoteObject*/ ,_verbose); + BA.debugLineNum = 104;BA.debugLine="newinst2.svcVerbose = Verbose"; +Debug.JustUpdateDeviceLine(); +cl_appupdate._newinst2._svcverbose /*RemoteObject*/ = _verbose; + BA.debugLineNum = 105;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _stopsplashscreen(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("StopSplashScreen (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,547); +if (RapidSub.canDelegate("stopsplashscreen")) { return __ref.runUserSub(false, "cl_appupdate","stopsplashscreen", __ref);} + BA.debugLineNum = 547;BA.debugLine="Public Sub StopSplashScreen"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 548;BA.debugLine="If SplashShowing Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_splashshowing" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 549;BA.debugLine="SplashShowing = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_splashshowing" /*RemoteObject*/ ,cl_appupdate.__c.getField(true,"False")); + BA.debugLineNum = 550;BA.debugLine="pnlSplash.RemoveView"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnlsplash" /*RemoteObject*/ ).runVoidMethod ("RemoveView"); + }; + BA.debugLineNum = 552;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _tryapkupdate(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("TryApkUpdate (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,245); +if (RapidSub.canDelegate("tryapkupdate")) { __ref.runUserSub(false, "cl_appupdate","tryapkupdate", __ref); return;} +ResumableSub_TryApkUpdate rsub = new ResumableSub_TryApkUpdate(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_TryApkUpdate extends BA.ResumableSub { +public ResumableSub_TryApkUpdate(SHARK2.keymon.com.mx.cl_appupdate parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.cl_appupdate parent; +RemoteObject _j = RemoteObject.declareNull("SHARK2.keymon.com.mx.httpjob"); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("TryApkUpdate (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,245); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { +try { + + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 246;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","944695553",(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 ("SHARK2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 251;BA.debugLine="j.Initialize(\"\", Me)"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("")),(Object)(__ref)); + BA.debugLineNum = 252;BA.debugLine="j.Username = sUserName"; +Debug.JustUpdateDeviceLine(); +_j.setField ("_username" /*RemoteObject*/ ,__ref.getField(true,"_susername" /*RemoteObject*/ )); + BA.debugLineNum = 253;BA.debugLine="j.Password = sUPassword"; +Debug.JustUpdateDeviceLine(); +_j.setField ("_password" /*RemoteObject*/ ,__ref.getField(true,"_supassword" /*RemoteObject*/ )); + BA.debugLineNum = 254;BA.debugLine="j.Download(sNewVerApk) 'ex: jobapk.Downlo"; +Debug.JustUpdateDeviceLine(); +_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_download" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_snewverapk" /*RemoteObject*/ ))); + BA.debugLineNum = 255;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("WaitFor","jobdone", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "cl_appupdate", "tryapkupdate"), (_j)); +this.state = 45; +return; +case 45: +//C +this.state = 4; +_j = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(1));Debug.locals.put("j", _j); +; + BA.debugLineNum = 256;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","944695563",(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 (SHARK2.keymon.com.mx.httpjob.class, "_getinputstream" /*RemoteObject*/ ).getObject())),(Object)((_out.getObject()))); + BA.debugLineNum = 263;BA.debugLine="out.Close"; +Debug.JustUpdateDeviceLine(); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 264;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","944695571",(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","944695573",(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","944695575",(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","944695577",(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","944695581",(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","944695583",(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 (SHARK2.keymon.com.mx.httpjob.class, "_release" /*RemoteObject*/ ); + BA.debugLineNum = 280;BA.debugLine="If sStatusCode == OK_DOWNLOAD Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 34: +//if +this.state = 43; +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_sstatuscode" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(true,"_ok_download" /*RemoteObject*/ )))) { +this.state = 36; +}if (true) break; + +case 36: +//C +this.state = 37; + BA.debugLineNum = 281;BA.debugLine="SendInstallIntent"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.cl_appupdate.class, "_sendinstallintent" /*RemoteObject*/ ); + BA.debugLineNum = 282;BA.debugLine="sStatusCode = OK_INSTALL"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_ok_install" /*RemoteObject*/ )); + BA.debugLineNum = 283;BA.debugLine="If sVerbose Then Log($\"${TAB}user asked to inst"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 37: +//if +this.state = 42; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 39; +;}if (true) break; + +case 39: +//C +this.state = 42; +parent.__c.runVoidMethod ("LogImpl","944695590",(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 (SHARK2.keymon.com.mx.cl_appupdate.class, "_finito" /*RemoteObject*/ ); + BA.debugLineNum = 287;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e0.toString());} + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _updateapk(RemoteObject __ref,RemoteObject _pstatus) throws Exception{ +try { + Debug.PushSubsStack("UpdateApk (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,210); +if (RapidSub.canDelegate("updateapk")) { __ref.runUserSub(false, "cl_appupdate","updateapk", __ref, _pstatus); return;} +ResumableSub_UpdateApk rsub = new ResumableSub_UpdateApk(null,__ref,_pstatus); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_UpdateApk extends BA.ResumableSub { +public ResumableSub_UpdateApk(SHARK2.keymon.com.mx.cl_appupdate parent,RemoteObject __ref,RemoteObject _pstatus) { +this.parent = parent; +this.__ref = __ref; +this._pstatus = _pstatus; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.cl_appupdate parent; +RemoteObject _pstatus; +RemoteObject _okwebver = RemoteObject.createImmutable(false); +RemoteObject _fsize = RemoteObject.createImmutable(0L); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("UpdateApk (cl_appupdate) ","cl_appupdate",32,__ref.getField(false, "ba"),__ref,210); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("pstatus", _pstatus); + BA.debugLineNum = 211;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("LogImpl","944630017",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","944630020",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 (SHARK2.keymon.com.mx.cl_appupdate.class, "_isvalidwv" /*RemoteObject*/ )); +this.state = 62; +return; +case 62: +//C +this.state = 12; +_okwebver = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("OkWebVer", _okwebver); +; + BA.debugLineNum = 217;BA.debugLine="If (IsValidCV And OkWebVer) Then 'here we"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 12: +//if +this.state = 60; +if ((RemoteObject.solveBoolean(".",__ref.runClassMethod (SHARK2.keymon.com.mx.cl_appupdate.class, "_isvalidcv" /*RemoteObject*/ )) && RemoteObject.solveBoolean(".",_okwebver))) { +this.state = 14; +}if (true) break; + +case 14: +//C +this.state = 15; + BA.debugLineNum = 218;BA.debugLine="If curver < webver Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 15: +//if +this.state = 59; +if (RemoteObject.solveBoolean("<",BA.numberCast(double.class, __ref.getField(true,"_curver" /*RemoteObject*/ )),BA.numberCast(double.class, __ref.getField(true,"_webver" /*RemoteObject*/ )))) { +this.state = 17; +}else { +this.state = 52; +}if (true) break; + +case 17: +//C +this.state = 18; + BA.debugLineNum = 220;BA.debugLine="If IsNumber(webfsize) Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 18: +//if +this.state = 31; +if (parent.__c.runMethod(true,"IsNumber",(Object)(__ref.getField(true,"_webfsize" /*RemoteObject*/ ))).get().booleanValue()) { +this.state = 20; +}if (true) break; + +case 20: +//C +this.state = 21; + BA.debugLineNum = 221;BA.debugLine="Dim fsize As Long = webfsize"; +Debug.JustUpdateDeviceLine(); +_fsize = BA.numberCast(long.class, __ref.getField(true,"_webfsize" /*RemoteObject*/ ));Debug.locals.put("fsize", _fsize);Debug.locals.put("fsize", _fsize); + BA.debugLineNum = 222;BA.debugLine="If fsize*2 > GetFreeSpace Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 21: +//if +this.state = 30; +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_fsize,RemoteObject.createImmutable(2)}, "*",0, 2),__ref.runClassMethod (SHARK2.keymon.com.mx.cl_appupdate.class, "_getfreespace" /*RemoteObject*/ ))) { +this.state = 23; +}if (true) break; + +case 23: +//C +this.state = 24; + BA.debugLineNum = 223;BA.debugLine="sStatusCode = ERR_NOSPACE"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sstatuscode" /*RemoteObject*/ ,__ref.getField(true,"_err_nospace" /*RemoteObject*/ )); + BA.debugLineNum = 224;BA.debugLine="If sVerbose Then Log($\"${TAB}no enough avail"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 24: +//if +this.state = 29; +if (__ref.getField(true,"_sverbose" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 26; +;}if (true) break; + +case 26: +//C +this.state = 29; +parent.__c.runVoidMethod ("LogImpl","944630030",(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","944630035",(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","944630038",(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","944630043",(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 (SHARK2.keymon.com.mx.cl_appupdate.class, "_tryapkupdate" /*void*/ ); + BA.debugLineNum = 242;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/dbrequestmanager.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/dbrequestmanager.java new file mode 100644 index 0000000..740df00 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/dbrequestmanager.java @@ -0,0 +1,48 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class dbrequestmanager { + public static RemoteObject myClass; + public dbrequestmanager() { + } + public static PCBA staticBA = new PCBA(null, dbrequestmanager.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _mtarget = RemoteObject.declareNull("Object"); +public static RemoteObject _link = RemoteObject.createImmutable(""); +public static RemoteObject _bc = RemoteObject.declareNull("anywheresoftware.b4a.agraham.byteconverter.ByteConverter"); +public static RemoteObject _t_null = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_string = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_short = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_int = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_long = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_float = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_double = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_boolean = RemoteObject.createImmutable((byte)0); +public static RemoteObject _t_blob = RemoteObject.createImmutable((byte)0); +public static RemoteObject _version = RemoteObject.createImmutable(0f); +public static RemoteObject _temparray = null; +public static RemoteObject _jobtaganterior = RemoteObject.createImmutable(""); +public static RemoteObject _reqslist = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"bc",_ref.getField(false, "_bc"),"DateUtils",_ref.getField(false, "_dateutils"),"jobTagAnterior",_ref.getField(false, "_jobtaganterior"),"link",_ref.getField(false, "_link"),"mTarget",_ref.getField(false, "_mtarget"),"reqsList",_ref.getField(false, "_reqslist"),"T_BLOB",_ref.getField(false, "_t_blob"),"T_BOOLEAN",_ref.getField(false, "_t_boolean"),"T_DOUBLE",_ref.getField(false, "_t_double"),"T_FLOAT",_ref.getField(false, "_t_float"),"T_INT",_ref.getField(false, "_t_int"),"T_LONG",_ref.getField(false, "_t_long"),"T_NULL",_ref.getField(false, "_t_null"),"T_SHORT",_ref.getField(false, "_t_short"),"T_STRING",_ref.getField(false, "_t_string"),"tempArray",_ref.getField(false, "_temparray"),"VERSION",_ref.getField(false, "_version")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/dbrequestmanager_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/dbrequestmanager_subs_0.java new file mode 100644 index 0000000..0650c13 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/dbrequestmanager_subs_0.java @@ -0,0 +1,1004 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class dbrequestmanager_subs_0 { + + +public static RemoteObject _bytestoimage(RemoteObject __ref,RemoteObject _bytes) throws Exception{ +try { + Debug.PushSubsStack("BytesToImage (dbrequestmanager) ","dbrequestmanager",21,__ref.getField(false, "ba"),__ref,242); +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 = 242;BA.debugLine="Public Sub BytesToImage(bytes() As Byte) As Bitmap"; +Debug.ShouldStop(131072); + BA.debugLineNum = 243;BA.debugLine="Dim In As InputStream"; +Debug.ShouldStop(262144); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper");Debug.locals.put("In", _in); + BA.debugLineNum = 244;BA.debugLine="In.InitializeFromBytesArray(bytes, 0, bytes.Lengt"; +Debug.ShouldStop(524288); +_in.runVoidMethod ("InitializeFromBytesArray",(Object)(_bytes),(Object)(BA.numberCast(int.class, 0)),(Object)(_bytes.getField(true,"length"))); + BA.debugLineNum = 245;BA.debugLine="Dim bmp As Bitmap"; +Debug.ShouldStop(1048576); +_bmp = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");Debug.locals.put("bmp", _bmp); + BA.debugLineNum = 246;BA.debugLine="bmp.Initialize2(In)"; +Debug.ShouldStop(2097152); +_bmp.runVoidMethod ("Initialize2",(Object)((_in.getObject()))); + BA.debugLineNum = 247;BA.debugLine="Return bmp"; +Debug.ShouldStop(4194304); +if (true) return _bmp; + BA.debugLineNum = 248;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 3;BA.debugLine="Private mTarget As Object"; +dbrequestmanager._mtarget = RemoteObject.createNew ("Object");__ref.setField("_mtarget",dbrequestmanager._mtarget); + //BA.debugLineNum = 4;BA.debugLine="Type DBResult (Tag As Object, Columns As Map, Row"; +; + //BA.debugLineNum = 5;BA.debugLine="Type DBCommand (Name As String, Parameters() As O"; +; + //BA.debugLineNum = 6;BA.debugLine="Private link As String"; +dbrequestmanager._link = RemoteObject.createImmutable("");__ref.setField("_link",dbrequestmanager._link); + //BA.debugLineNum = 7;BA.debugLine="Private bc As ByteConverter"; +dbrequestmanager._bc = RemoteObject.createNew ("anywheresoftware.b4a.agraham.byteconverter.ByteConverter");__ref.setField("_bc",dbrequestmanager._bc); + //BA.debugLineNum = 8;BA.debugLine="Private T_NULL = 0, T_STRING = 1, T_SHORT = 2, T_"; +dbrequestmanager._t_null = BA.numberCast(byte.class, 0);__ref.setField("_t_null",dbrequestmanager._t_null); +dbrequestmanager._t_string = BA.numberCast(byte.class, 1);__ref.setField("_t_string",dbrequestmanager._t_string); +dbrequestmanager._t_short = BA.numberCast(byte.class, 2);__ref.setField("_t_short",dbrequestmanager._t_short); +dbrequestmanager._t_int = BA.numberCast(byte.class, 3);__ref.setField("_t_int",dbrequestmanager._t_int); +dbrequestmanager._t_long = BA.numberCast(byte.class, 4);__ref.setField("_t_long",dbrequestmanager._t_long); +dbrequestmanager._t_float = BA.numberCast(byte.class, 5);__ref.setField("_t_float",dbrequestmanager._t_float); +dbrequestmanager._t_double = BA.numberCast(byte.class, 6);__ref.setField("_t_double",dbrequestmanager._t_double); +dbrequestmanager._t_boolean = BA.numberCast(byte.class, 7);__ref.setField("_t_boolean",dbrequestmanager._t_boolean); +dbrequestmanager._t_blob = BA.numberCast(byte.class, 8);__ref.setField("_t_blob",dbrequestmanager._t_blob); + //BA.debugLineNum = 10;BA.debugLine="Private VERSION As Float = 0.9"; +dbrequestmanager._version = BA.numberCast(float.class, 0.9);__ref.setField("_version",dbrequestmanager._version); + //BA.debugLineNum = 11;BA.debugLine="Private tempArray(1) As Object"; +dbrequestmanager._temparray = RemoteObject.createNewArray ("Object", new int[] {1}, new Object[]{});__ref.setField("_temparray",dbrequestmanager._temparray); + //BA.debugLineNum = 12;BA.debugLine="Dim jobTagAnterior As String = \"\" 'Mod por CHV -"; +dbrequestmanager._jobtaganterior = BA.ObjectToString("");__ref.setField("_jobtaganterior",dbrequestmanager._jobtaganterior); + //BA.debugLineNum = 13;BA.debugLine="Dim reqsList As List"; +dbrequestmanager._reqslist = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_reqslist",dbrequestmanager._reqslist); + //BA.debugLineNum = 14;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",21,__ref.getField(false, "ba"),__ref,44); +if (RapidSub.canDelegate("executebatch")) { return __ref.runUserSub(false, "dbrequestmanager","executebatch", __ref, _listofcommands, _tag);} +RemoteObject _j = RemoteObject.declareNull("SHARK2.keymon.com.mx.httpjob"); +RemoteObject _ms = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _out2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _command = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand"); +Debug.locals.put("ListOfCommands", _listofcommands); +Debug.locals.put("Tag", _tag); + BA.debugLineNum = 44;BA.debugLine="Public Sub ExecuteBatch(ListOfCommands As List, Ta"; +Debug.ShouldStop(2048); + BA.debugLineNum = 45;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(4096); +_j = RemoteObject.createNew ("SHARK2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 46;BA.debugLine="Dim ms As OutputStream"; +Debug.ShouldStop(8192); +_ms = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("ms", _ms); + BA.debugLineNum = 47;BA.debugLine="Dim out2 As OutputStream = StartJob(j,ms, Tag)"; +Debug.ShouldStop(16384); +_out2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out2 = __ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_startjob" /*RemoteObject*/ ,(Object)(_j),(Object)(_ms),(Object)(_tag));Debug.locals.put("out2", _out2);Debug.locals.put("out2", _out2); + BA.debugLineNum = 48;BA.debugLine="WriteInt(ListOfCommands.Size, out2)"; +Debug.ShouldStop(32768); +__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_writeint" /*RemoteObject*/ ,(Object)(_listofcommands.runMethod(true,"getSize")),(Object)(_out2)); + BA.debugLineNum = 49;BA.debugLine="For Each Command As DBCommand In ListOfCommands"; +Debug.ShouldStop(65536); +{ +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 = 50;BA.debugLine="WriteObject(Command.Name, out2)"; +Debug.ShouldStop(131072); +__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_writeobject" /*RemoteObject*/ ,(Object)((_command.getField(true,"Name" /*RemoteObject*/ ))),(Object)(_out2)); + BA.debugLineNum = 51;BA.debugLine="WriteList(Command.Parameters, out2)"; +Debug.ShouldStop(262144); +__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_writelist" /*RemoteObject*/ ,(Object)(dbrequestmanager.__c.runMethod(false, "ArrayToList", (Object)(_command.getField(false,"Parameters" /*RemoteObject*/ )))),(Object)(_out2)); + } +}Debug.locals.put("Command", _command); +; + BA.debugLineNum = 53;BA.debugLine="out2.Close"; +Debug.ShouldStop(1048576); +_out2.runVoidMethod ("Close"); + BA.debugLineNum = 54;BA.debugLine="j.PostBytes(link & \"?method=batch\", ms.ToBytesArr"; +Debug.ShouldStop(2097152); +_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_link" /*RemoteObject*/ ),RemoteObject.createImmutable("?method=batch"))),(Object)(_ms.runMethod(false,"ToBytesArray"))); + BA.debugLineNum = 55;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +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",21,__ref.getField(false, "ba"),__ref,58); +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 = 58;BA.debugLine="Public Sub ExecuteCommand(Command As DBCommand, Ta"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 59;BA.debugLine="If reqsList.IsInitialized Then reqsList.Add(Tag)"; +Debug.ShouldStop(67108864); +if (__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_tag));}; + BA.debugLineNum = 60;BA.debugLine="ExecuteBatch(Array As DBCommand(Command), Tag)"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executebatch" /*RemoteObject*/ ,(Object)(dbrequestmanager.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand",new int[] {1},new Object[] {_command})))),(Object)(_tag)); + 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 _executequery(RemoteObject __ref,RemoteObject _command,RemoteObject _limit,RemoteObject _tag) throws Exception{ +try { + Debug.PushSubsStack("ExecuteQuery (dbrequestmanager) ","dbrequestmanager",21,__ref.getField(false, "ba"),__ref,28); +if (RapidSub.canDelegate("executequery")) { return __ref.runUserSub(false, "dbrequestmanager","executequery", __ref, _command, _limit, _tag);} +RemoteObject _j = RemoteObject.declareNull("SHARK2.keymon.com.mx.httpjob"); +RemoteObject _ms = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _out2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("Command", _command); +Debug.locals.put("Limit", _limit); +Debug.locals.put("Tag", _tag); + BA.debugLineNum = 28;BA.debugLine="Public Sub ExecuteQuery(Command As DBCommand, Limi"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 29;BA.debugLine="Dim j As HttpJob"; +Debug.ShouldStop(268435456); +_j = RemoteObject.createNew ("SHARK2.keymon.com.mx.httpjob");Debug.locals.put("j", _j); + BA.debugLineNum = 30;BA.debugLine="Dim ms As OutputStream"; +Debug.ShouldStop(536870912); +_ms = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("ms", _ms); + BA.debugLineNum = 31;BA.debugLine="Dim out2 As OutputStream = StartJob(j,ms, Tag)"; +Debug.ShouldStop(1073741824); +_out2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out2 = __ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_startjob" /*RemoteObject*/ ,(Object)(_j),(Object)(_ms),(Object)(_tag));Debug.locals.put("out2", _out2);Debug.locals.put("out2", _out2); + BA.debugLineNum = 32;BA.debugLine="If reqsList.IsInitialized Then reqsList.Add(Tag)"; +Debug.ShouldStop(-2147483648); +if (__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(_tag));}; + BA.debugLineNum = 34;BA.debugLine="WriteObject(Command.Name, out2)"; +Debug.ShouldStop(2); +__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_writeobject" /*RemoteObject*/ ,(Object)((_command.getField(true,"Name" /*RemoteObject*/ ))),(Object)(_out2)); + BA.debugLineNum = 35;BA.debugLine="WriteInt(Limit, out2)"; +Debug.ShouldStop(4); +__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_writeint" /*RemoteObject*/ ,(Object)(_limit),(Object)(_out2)); + BA.debugLineNum = 36;BA.debugLine="WriteList(Command.Parameters, out2)"; +Debug.ShouldStop(8); +__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_writelist" /*RemoteObject*/ ,(Object)(dbrequestmanager.__c.runMethod(false, "ArrayToList", (Object)(_command.getField(false,"Parameters" /*RemoteObject*/ )))),(Object)(_out2)); + BA.debugLineNum = 37;BA.debugLine="out2.Close"; +Debug.ShouldStop(16); +_out2.runVoidMethod ("Close"); + BA.debugLineNum = 38;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; +Debug.ShouldStop(32); +_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_link" /*RemoteObject*/ ),RemoteObject.createImmutable("?method=query"))),(Object)(_ms.runMethod(false,"ToBytesArray"))); + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +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",21,__ref.getField(false, "ba"),__ref,225); +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 = 225;BA.debugLine="Public Sub FileToBytes(Dir As String, FileName As"; +Debug.ShouldStop(1); + BA.debugLineNum = 226;BA.debugLine="Dim out As OutputStream"; +Debug.ShouldStop(2); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("out", _out); + BA.debugLineNum = 227;BA.debugLine="out.InitializeToBytesArray(0)"; +Debug.ShouldStop(4); +_out.runVoidMethod ("InitializeToBytesArray",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 228;BA.debugLine="Dim In As InputStream = File.OpenInput(Dir, FileN"; +Debug.ShouldStop(8); +_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 = 229;BA.debugLine="File.Copy2(In, out)"; +Debug.ShouldStop(16); +dbrequestmanager.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_in.getObject())),(Object)((_out.getObject()))); + BA.debugLineNum = 230;BA.debugLine="out.Close"; +Debug.ShouldStop(32); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 231;BA.debugLine="Return out.ToBytesArray"; +Debug.ShouldStop(64); +if (true) return _out.runMethod(false,"ToBytesArray"); + BA.debugLineNum = 232;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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",21,__ref.getField(false, "ba"),__ref,186); +if (RapidSub.canDelegate("handlejob")) { return __ref.runUserSub(false, "dbrequestmanager","handlejob", __ref, _job);} +RemoteObject _start = RemoteObject.createImmutable(0L); +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("SHARK2.keymon.com.mx.dbrequestmanager._dbresult"); +RemoteObject _numberofcolumns = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _rowobjects = null; +int _col = 0; +RemoteObject _o = RemoteObject.declareNull("Object"); +RemoteObject _rows = RemoteObject.createImmutable(0); +Debug.locals.put("Job", _job); + BA.debugLineNum = 186;BA.debugLine="Public Sub HandleJob(Job As HttpJob) As DBResult"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 187;BA.debugLine="Dim start As Long = DateTime.Now 'ignore"; +Debug.ShouldStop(67108864); +_start = dbrequestmanager.__c.getField(false,"DateTime").runMethod(true,"getNow");Debug.locals.put("start", _start);Debug.locals.put("start", _start); + BA.debugLineNum = 188;BA.debugLine="Dim In As InputStream = Job.GetInputStream"; +Debug.ShouldStop(134217728); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +_in = _job.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_getinputstream" /*RemoteObject*/ );Debug.locals.put("In", _in);Debug.locals.put("In", _in); + BA.debugLineNum = 189;BA.debugLine="Dim cs As CompressedStreams"; +Debug.ShouldStop(268435456); +_cs = RemoteObject.createNew ("anywheresoftware.b4a.randomaccessfile.CompressedStreams");Debug.locals.put("cs", _cs); + BA.debugLineNum = 190;BA.debugLine="In = cs.WrapInputStream(In, \"gzip\")"; +Debug.ShouldStop(536870912); +_in = _cs.runMethod(false,"WrapInputStream",(Object)((_in.getObject())),(Object)(RemoteObject.createImmutable("gzip")));Debug.locals.put("In", _in); + BA.debugLineNum = 191;BA.debugLine="Dim serverVersion As Float = ReadObject(In) 'igno"; +Debug.ShouldStop(1073741824); +_serverversion = BA.numberCast(float.class, __ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readobject" /*RemoteObject*/ ,(Object)(_in)));Debug.locals.put("serverVersion", _serverversion);Debug.locals.put("serverVersion", _serverversion); + BA.debugLineNum = 192;BA.debugLine="Dim method As String = ReadObject(In)"; +Debug.ShouldStop(-2147483648); +_method = BA.ObjectToString(__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readobject" /*RemoteObject*/ ,(Object)(_in)));Debug.locals.put("method", _method);Debug.locals.put("method", _method); + BA.debugLineNum = 193;BA.debugLine="Dim table As DBResult"; +Debug.ShouldStop(1); +_table = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbresult");Debug.locals.put("table", _table); + BA.debugLineNum = 194;BA.debugLine="table.Initialize"; +Debug.ShouldStop(2); +_table.runVoidMethod ("Initialize"); + BA.debugLineNum = 195;BA.debugLine="table.Columns.Initialize"; +Debug.ShouldStop(4); +_table.getField(false,"Columns" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 196;BA.debugLine="table.rows.Initialize"; +Debug.ShouldStop(8); +_table.getField(false,"Rows" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 197;BA.debugLine="table.Tag = Job.Tag"; +Debug.ShouldStop(16); +_table.setField ("Tag" /*RemoteObject*/ ,_job.getField(false,"_tag" /*RemoteObject*/ )); + BA.debugLineNum = 198;BA.debugLine="If jobTagAnterior <> Job.Tag Then LogColor(\"Handl"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_jobtaganterior" /*RemoteObject*/ ),BA.ObjectToString(_job.getField(false,"_tag" /*RemoteObject*/ )))) { +dbrequestmanager.__c.runVoidMethod ("LogImpl","527918348",RemoteObject.concat(RemoteObject.createImmutable("HandleJob: '"),_job.getField(false,"_tag" /*RemoteObject*/ ),RemoteObject.createImmutable("'")),dbrequestmanager.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 171)),(Object)(BA.numberCast(int.class, 70)),(Object)(BA.numberCast(int.class, 0))));}; + BA.debugLineNum = 199;BA.debugLine="jobTagAnterior = Job.Tag 'Mod por CHV - 211109"; +Debug.ShouldStop(64); +__ref.setField ("_jobtaganterior" /*RemoteObject*/ ,BA.ObjectToString(_job.getField(false,"_tag" /*RemoteObject*/ ))); + BA.debugLineNum = 200;BA.debugLine="If method = \"query\" Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_method,BA.ObjectToString("query"))) { + BA.debugLineNum = 201;BA.debugLine="Dim numberOfColumns As Int = ReadInt(In)"; +Debug.ShouldStop(256); +_numberofcolumns = __ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("numberOfColumns", _numberofcolumns);Debug.locals.put("numberOfColumns", _numberofcolumns); + BA.debugLineNum = 202;BA.debugLine="For i = 0 To numberOfColumns - 1"; +Debug.ShouldStop(512); +{ +final int step16 = 1; +final int limit16 = RemoteObject.solve(new RemoteObject[] {_numberofcolumns,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step16 > 0 && _i <= limit16) || (step16 < 0 && _i >= limit16) ;_i = ((int)(0 + _i + step16)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 203;BA.debugLine="table.Columns.Put(ReadObject(In), i)"; +Debug.ShouldStop(1024); +_table.getField(false,"Columns" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readobject" /*RemoteObject*/ ,(Object)(_in))),(Object)(RemoteObject.createImmutable((_i)))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 205;BA.debugLine="Do While ReadByte(In) = 1"; +Debug.ShouldStop(4096); +while (RemoteObject.solveBoolean("=",__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readbyte" /*RemoteObject*/ ,(Object)(_in)),BA.numberCast(double.class, 1))) { + BA.debugLineNum = 206;BA.debugLine="Dim rowObjects(numberOfColumns) As Object"; +Debug.ShouldStop(8192); +_rowobjects = RemoteObject.createNewArray ("Object", new int[] {_numberofcolumns.get().intValue()}, new Object[]{});Debug.locals.put("rowObjects", _rowobjects); + BA.debugLineNum = 207;BA.debugLine="table.rows.Add(rowObjects)"; +Debug.ShouldStop(16384); +_table.getField(false,"Rows" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_rowobjects))); + BA.debugLineNum = 208;BA.debugLine="For col = 0 To numberOfColumns - 1"; +Debug.ShouldStop(32768); +{ +final int step22 = 1; +final int limit22 = RemoteObject.solve(new RemoteObject[] {_numberofcolumns,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_col = 0 ; +for (;(step22 > 0 && _col <= limit22) || (step22 < 0 && _col >= limit22) ;_col = ((int)(0 + _col + step22)) ) { +Debug.locals.put("col", _col); + BA.debugLineNum = 209;BA.debugLine="Dim o As Object = ReadObject(In)"; +Debug.ShouldStop(65536); +_o = __ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readobject" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("o", _o);Debug.locals.put("o", _o); + BA.debugLineNum = 210;BA.debugLine="rowObjects(col) = o"; +Debug.ShouldStop(131072); +_rowobjects.setArrayElement (_o,BA.numberCast(int.class, _col)); + } +}Debug.locals.put("col", _col); +; + } +; + }else +{ BA.debugLineNum = 213;BA.debugLine="Else If method = \"batch\" Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("=",_method,BA.ObjectToString("batch"))) { + BA.debugLineNum = 214;BA.debugLine="table.Columns.Put(\"AffectedRows\", 0)"; +Debug.ShouldStop(2097152); +_table.getField(false,"Columns" /*RemoteObject*/ ).runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("AffectedRows"))),(Object)(RemoteObject.createImmutable((0)))); + BA.debugLineNum = 215;BA.debugLine="Dim rows As Int = ReadInt(In)"; +Debug.ShouldStop(4194304); +_rows = __ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("rows", _rows);Debug.locals.put("rows", _rows); + BA.debugLineNum = 216;BA.debugLine="For i = 0 To rows - 1"; +Debug.ShouldStop(8388608); +{ +final int step30 = 1; +final int limit30 = RemoteObject.solve(new RemoteObject[] {_rows,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step30 > 0 && _i <= limit30) || (step30 < 0 && _i >= limit30) ;_i = ((int)(0 + _i + step30)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 217;BA.debugLine="table.rows.Add(Array As Object(ReadInt(In)))"; +Debug.ShouldStop(16777216); +_table.getField(false,"Rows" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in)))})))); + } +}Debug.locals.put("i", _i); +; + }} +; + BA.debugLineNum = 220;BA.debugLine="In.Close"; +Debug.ShouldStop(134217728); +_in.runVoidMethod ("Close"); + BA.debugLineNum = 222;BA.debugLine="Return table"; +Debug.ShouldStop(536870912); +if (true) return _table; + BA.debugLineNum = 223;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _imagetobytes(RemoteObject __ref,RemoteObject _image) throws Exception{ +try { + Debug.PushSubsStack("ImageToBytes (dbrequestmanager) ","dbrequestmanager",21,__ref.getField(false, "ba"),__ref,234); +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 = 234;BA.debugLine="Public Sub ImageToBytes(Image As Bitmap) As Byte()"; +Debug.ShouldStop(512); + BA.debugLineNum = 235;BA.debugLine="Dim out As OutputStream"; +Debug.ShouldStop(1024); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("out", _out); + BA.debugLineNum = 236;BA.debugLine="out.InitializeToBytesArray(0)"; +Debug.ShouldStop(2048); +_out.runVoidMethod ("InitializeToBytesArray",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 237;BA.debugLine="Image.WriteToStream(out, 100, \"JPEG\")"; +Debug.ShouldStop(4096); +_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 = 238;BA.debugLine="out.Close"; +Debug.ShouldStop(8192); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 239;BA.debugLine="Return out.ToBytesArray"; +Debug.ShouldStop(16384); +if (true) return _out.runMethod(false,"ToBytesArray"); + 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 _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _target,RemoteObject _connectorlink) throws Exception{ +try { + Debug.PushSubsStack("Initialize (dbrequestmanager) ","dbrequestmanager",21,__ref.getField(false, "ba"),__ref,18); +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 = 18;BA.debugLine="Public Sub Initialize (Target As Object, Connector"; +Debug.ShouldStop(131072); + BA.debugLineNum = 19;BA.debugLine="mTarget = Target"; +Debug.ShouldStop(262144); +__ref.setField ("_mtarget" /*RemoteObject*/ ,_target); + BA.debugLineNum = 20;BA.debugLine="link = ConnectorLink"; +Debug.ShouldStop(524288); +__ref.setField ("_link" /*RemoteObject*/ ,_connectorlink); + BA.debugLineNum = 21;BA.debugLine="reqsList.Initialize"; +Debug.ShouldStop(1048576); +__ref.getField(false,"_reqslist" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 22;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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",21,__ref.getField(false, "ba"),__ref,250); +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 = 250;BA.debugLine="Public Sub PrintTable(Table As DBResult)"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 251;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C"; +Debug.ShouldStop(67108864); +dbrequestmanager.__c.runVoidMethod ("LogImpl","528180481",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 = 252;BA.debugLine="Dim sb As StringBuilder"; +Debug.ShouldStop(134217728); +_sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");Debug.locals.put("sb", _sb); + BA.debugLineNum = 253;BA.debugLine="sb.Initialize"; +Debug.ShouldStop(268435456); +_sb.runVoidMethod ("Initialize"); + BA.debugLineNum = 254;BA.debugLine="For Each col In Table.Columns.Keys"; +Debug.ShouldStop(536870912); +{ +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 = 255;BA.debugLine="sb.Append(col).Append(TAB)"; +Debug.ShouldStop(1073741824); +_sb.runMethod(false,"Append",(Object)(BA.ObjectToString(_col))).runVoidMethod ("Append",(Object)(dbrequestmanager.__c.getField(true,"TAB"))); + } +}Debug.locals.put("col", _col); +; + BA.debugLineNum = 257;BA.debugLine="Log(sb.ToString)"; +Debug.ShouldStop(1); +dbrequestmanager.__c.runVoidMethod ("LogImpl","528180487",_sb.runMethod(true,"ToString"),0); + BA.debugLineNum = 258;BA.debugLine="For Each row() As Object In Table.Rows"; +Debug.ShouldStop(2); +{ +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 = 259;BA.debugLine="Dim sb As StringBuilder"; +Debug.ShouldStop(4); +_sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");Debug.locals.put("sb", _sb); + BA.debugLineNum = 260;BA.debugLine="sb.Initialize"; +Debug.ShouldStop(8); +_sb.runVoidMethod ("Initialize"); + BA.debugLineNum = 261;BA.debugLine="For Each record As Object In row"; +Debug.ShouldStop(16); +{ +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 = 262;BA.debugLine="sb.Append(record).Append(TAB)"; +Debug.ShouldStop(32); +_sb.runMethod(false,"Append",(Object)(BA.ObjectToString(_record))).runVoidMethod ("Append",(Object)(dbrequestmanager.__c.getField(true,"TAB"))); + } +}Debug.locals.put("record", _record); +; + BA.debugLineNum = 264;BA.debugLine="ToastMessageShow(sb.ToString, True)"; +Debug.ShouldStop(128); +dbrequestmanager.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence(_sb.runMethod(true,"ToString"))),(Object)(dbrequestmanager.__c.getField(true,"True"))); + } +}Debug.locals.put("row", _row); +; + 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 _readbyte(RemoteObject __ref,RemoteObject _in) throws Exception{ +try { + Debug.PushSubsStack("ReadByte (dbrequestmanager) ","dbrequestmanager",21,__ref.getField(false, "ba"),__ref,179); +if (RapidSub.canDelegate("readbyte")) { return __ref.runUserSub(false, "dbrequestmanager","readbyte", __ref, _in);} +RemoteObject _data = null; +Debug.locals.put("In", _in); + BA.debugLineNum = 179;BA.debugLine="Private Sub ReadByte(In As InputStream) As Byte"; +Debug.ShouldStop(262144); + BA.debugLineNum = 180;BA.debugLine="Dim data(1) As Byte"; +Debug.ShouldStop(524288); +_data = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 181;BA.debugLine="In.ReadBytes(data, 0, 1)"; +Debug.ShouldStop(1048576); +_in.runVoidMethod ("ReadBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 182;BA.debugLine="Return data(0)"; +Debug.ShouldStop(2097152); +if (true) return _data.getArrayElement(true,BA.numberCast(int.class, 0)); + BA.debugLineNum = 183;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +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",21,__ref.getField(false, "ba"),__ref,159); +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 = 159;BA.debugLine="Private Sub ReadBytesFully(In As InputStream, Data"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 160;BA.debugLine="Dim count = 0, read As Int"; +Debug.ShouldStop(-2147483648); +_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 = 161;BA.debugLine="Do While count < Len And read > -1"; +Debug.ShouldStop(1); +while (RemoteObject.solveBoolean("<",_count,BA.numberCast(double.class, _len)) && RemoteObject.solveBoolean(">",_read,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 162;BA.debugLine="read = In.ReadBytes(Data, count, Len - count)"; +Debug.ShouldStop(2); +_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 = 163;BA.debugLine="count = count + read"; +Debug.ShouldStop(4); +_count = RemoteObject.solve(new RemoteObject[] {_count,_read}, "+",1, 1);Debug.locals.put("count", _count); + } +; + BA.debugLineNum = 165;BA.debugLine="Return Data"; +Debug.ShouldStop(16); +if (true) return _data; + BA.debugLineNum = 166;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +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",21,__ref.getField(false, "ba"),__ref,174); +if (RapidSub.canDelegate("readint")) { return __ref.runUserSub(false, "dbrequestmanager","readint", __ref, _in);} +RemoteObject _data = null; +Debug.locals.put("In", _in); + BA.debugLineNum = 174;BA.debugLine="Private Sub ReadInt(In As InputStream) As Int"; +Debug.ShouldStop(8192); + BA.debugLineNum = 175;BA.debugLine="Dim data(4) As Byte"; +Debug.ShouldStop(16384); +_data = RemoteObject.createNewArray ("byte", new int[] {4}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 176;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data,"; +Debug.ShouldStop(32768); +if (true) return __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"IntsFromBytes",(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))))).getArrayElement(true,BA.numberCast(int.class, 0)); + BA.debugLineNum = 177;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +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",21,__ref.getField(false, "ba"),__ref,123); +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 = 123;BA.debugLine="Private Sub ReadObject(In As InputStream) As Objec"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 124;BA.debugLine="Dim data(1) As Byte"; +Debug.ShouldStop(134217728); +_data = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 125;BA.debugLine="In.ReadBytes(data, 0, 1)"; +Debug.ShouldStop(268435456); +_in.runVoidMethod ("ReadBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 1))); + BA.debugLineNum = 126;BA.debugLine="Select data(0)"; +Debug.ShouldStop(536870912); +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 = 128;BA.debugLine="Return Null"; +Debug.ShouldStop(-2147483648); +if (true) return dbrequestmanager.__c.getField(false,"Null"); + break; } +case 1: { + BA.debugLineNum = 130;BA.debugLine="Dim data(2) As Byte"; +Debug.ShouldStop(2); +_data = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 131;BA.debugLine="Return bc.ShortsFromBytes(ReadBytesFully(In, da"; +Debug.ShouldStop(4); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"ShortsFromBytes",(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))))).getArrayElement(true,BA.numberCast(int.class, 0))); + break; } +case 2: { + BA.debugLineNum = 133;BA.debugLine="Dim data(4) As Byte"; +Debug.ShouldStop(16); +_data = RemoteObject.createNewArray ("byte", new int[] {4}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 134;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data"; +Debug.ShouldStop(32); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"IntsFromBytes",(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))))).getArrayElement(true,BA.numberCast(int.class, 0))); + break; } +case 3: { + BA.debugLineNum = 136;BA.debugLine="Dim data(8) As Byte"; +Debug.ShouldStop(128); +_data = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 137;BA.debugLine="Return bc.LongsFromBytes(ReadBytesFully(In, dat"; +Debug.ShouldStop(256); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"LongsFromBytes",(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))))).getArrayElement(true,BA.numberCast(int.class, 0))); + break; } +case 4: { + BA.debugLineNum = 139;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 = 140;BA.debugLine="Return bc.FloatsFromBytes(ReadBytesFully(In, da"; +Debug.ShouldStop(2048); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"FloatsFromBytes",(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))))).getArrayElement(true,BA.numberCast(int.class, 0))); + break; } +case 5: { + BA.debugLineNum = 142;BA.debugLine="Dim data(8) As Byte"; +Debug.ShouldStop(8192); +_data = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 143;BA.debugLine="Return bc.DoublesFromBytes(ReadBytesFully(In, d"; +Debug.ShouldStop(16384); +if (true) return (__ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"DoublesFromBytes",(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))))).getArrayElement(true,BA.numberCast(int.class, 0))); + break; } +case 6: { + BA.debugLineNum = 145;BA.debugLine="Dim b As Byte = ReadByte(In)"; +Debug.ShouldStop(65536); +_b = __ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readbyte" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 146;BA.debugLine="Return b = 1"; +Debug.ShouldStop(131072); +if (true) return RemoteObject.createImmutable((RemoteObject.solveBoolean("=",_b,BA.numberCast(double.class, 1)))); + break; } +case 7: { + BA.debugLineNum = 148;BA.debugLine="Dim len As Int = ReadInt(In)"; +Debug.ShouldStop(524288); +_len = __ref.runClassMethod (SHARK2.keymon.com.mx.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="Return ReadBytesFully(In, data, data.Length)"; +Debug.ShouldStop(2097152); +if (true) return (__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length")))); + break; } +default: { + BA.debugLineNum = 152;BA.debugLine="Dim len As Int = ReadInt(In)"; +Debug.ShouldStop(8388608); +_len = __ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readint" /*RemoteObject*/ ,(Object)(_in));Debug.locals.put("len", _len);Debug.locals.put("len", _len); + BA.debugLineNum = 153;BA.debugLine="Dim data(len) As Byte"; +Debug.ShouldStop(16777216); +_data = RemoteObject.createNewArray ("byte", new int[] {_len.get().intValue()}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 154;BA.debugLine="ReadBytesFully(In, data, data.Length)"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_readbytesfully" /*RemoteObject*/ ,(Object)(_in),(Object)(_data),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 155;BA.debugLine="Return BytesToString(data, 0, data.Length, \"UTF"; +Debug.ShouldStop(67108864); +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 = 157;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +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",21,__ref.getField(false, "ba"),__ref,63); +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 = 63;BA.debugLine="Private Sub StartJob(j As HttpJob, MemoryStream As"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 64;BA.debugLine="j.Initialize(\"DBRequest\", mTarget)"; +Debug.ShouldStop(-2147483648); +_j.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_initialize" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(BA.ObjectToString("DBRequest")),(Object)(__ref.getField(false,"_mtarget" /*RemoteObject*/ ))); + BA.debugLineNum = 65;BA.debugLine="j.Tag = Tag"; +Debug.ShouldStop(1); +_j.setField ("_tag" /*RemoteObject*/ ,_tag); + BA.debugLineNum = 66;BA.debugLine="MemoryStream.InitializeToBytesArray(0)"; +Debug.ShouldStop(2); +_memorystream.runVoidMethod ("InitializeToBytesArray",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 67;BA.debugLine="Dim compress As CompressedStreams"; +Debug.ShouldStop(4); +_compress = RemoteObject.createNew ("anywheresoftware.b4a.randomaccessfile.CompressedStreams");Debug.locals.put("compress", _compress); + BA.debugLineNum = 68;BA.debugLine="Dim out As OutputStream = compress.WrapOutputStre"; +Debug.ShouldStop(8); +_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 = 69;BA.debugLine="WriteObject(VERSION, out)"; +Debug.ShouldStop(16); +__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_writeobject" /*RemoteObject*/ ,(Object)((__ref.getField(true,"_version" /*RemoteObject*/ ))),(Object)(_out)); + BA.debugLineNum = 70;BA.debugLine="Return out"; +Debug.ShouldStop(32); +if (true) return _out; + BA.debugLineNum = 71;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +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",21,__ref.getField(false, "ba"),__ref,168); +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 = 168;BA.debugLine="Private Sub WriteInt(i As Int, out As OutputStream"; +Debug.ShouldStop(128); + BA.debugLineNum = 169;BA.debugLine="Dim data() As Byte"; +Debug.ShouldStop(256); +_data = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 170;BA.debugLine="data = bc.IntsToBytes(Array As Int(i))"; +Debug.ShouldStop(512); +_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 = 171;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +Debug.ShouldStop(1024); +_out.runVoidMethod ("WriteBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 172;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writelist(RemoteObject __ref,RemoteObject _parameters,RemoteObject _out) throws Exception{ +try { + Debug.PushSubsStack("WriteList (dbrequestmanager) ","dbrequestmanager",21,__ref.getField(false, "ba"),__ref,73); +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 = 73;BA.debugLine="Private Sub WriteList(Parameters As List, out As O"; +Debug.ShouldStop(256); + BA.debugLineNum = 74;BA.debugLine="Dim data() As Byte"; +Debug.ShouldStop(512); +_data = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 75;BA.debugLine="If Parameters = Null Or Parameters.IsInitialized"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("n",_parameters) || RemoteObject.solveBoolean("=",_parameters.runMethod(true,"IsInitialized"),dbrequestmanager.__c.getField(true,"False"))) { + BA.debugLineNum = 76;BA.debugLine="Dim Parameters As List"; +Debug.ShouldStop(2048); +_parameters = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("Parameters", _parameters); + BA.debugLineNum = 77;BA.debugLine="Parameters.Initialize"; +Debug.ShouldStop(4096); +_parameters.runVoidMethod ("Initialize"); + }; + BA.debugLineNum = 79;BA.debugLine="data = bc.IntsToBytes(Array As Int(Parameters.Siz"; +Debug.ShouldStop(16384); +_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 = 80;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +Debug.ShouldStop(32768); +_out.runVoidMethod ("WriteBytes",(Object)(_data),(Object)(BA.numberCast(int.class, 0)),(Object)(_data.getField(true,"length"))); + BA.debugLineNum = 81;BA.debugLine="For Each o As Object In Parameters"; +Debug.ShouldStop(65536); +{ +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 = 82;BA.debugLine="WriteObject(o, out)"; +Debug.ShouldStop(131072); +__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_writeobject" /*RemoteObject*/ ,(Object)(_o),(Object)(_out)); + } +}Debug.locals.put("o", _o); +; + BA.debugLineNum = 84;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",21,__ref.getField(false, "ba"),__ref,86); +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 = 86;BA.debugLine="Private Sub WriteObject(o As Object, out As Output"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 87;BA.debugLine="Dim data() As Byte"; +Debug.ShouldStop(4194304); +_data = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 88;BA.debugLine="tempArray(0) = o"; +Debug.ShouldStop(8388608); +__ref.getField(false,"_temparray" /*RemoteObject*/ ).setArrayElement (_o,BA.numberCast(int.class, 0)); + BA.debugLineNum = 89;BA.debugLine="If tempArray(0) = Null Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("n",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)))) { + BA.debugLineNum = 90;BA.debugLine="out.WriteBytes(Array As Byte(T_NULL), 0, 1)"; +Debug.ShouldStop(33554432); +_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 = 91;BA.debugLine="Else If tempArray(0) Is Short Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Short"))) { + BA.debugLineNum = 92;BA.debugLine="out.WriteBytes(Array As Byte(T_SHORT), 0, 1)"; +Debug.ShouldStop(134217728); +_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 = 93;BA.debugLine="data = bc.ShortsToBytes(Array As Short(o))"; +Debug.ShouldStop(268435456); +_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 = 94;BA.debugLine="Else If tempArray(0) Is Int Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Integer"))) { + BA.debugLineNum = 95;BA.debugLine="out.WriteBytes(Array As Byte(T_INT), 0, 1)"; +Debug.ShouldStop(1073741824); +_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 = 96;BA.debugLine="data = bc.IntsToBytes(Array As Int(o))"; +Debug.ShouldStop(-2147483648); +_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 = 97;BA.debugLine="Else If tempArray(0) Is Float Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Float"))) { + BA.debugLineNum = 98;BA.debugLine="out.WriteBytes(Array As Byte(T_FLOAT), 0, 1)"; +Debug.ShouldStop(2); +_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 = 99;BA.debugLine="data = bc.FloatsToBytes(Array As Float(o))"; +Debug.ShouldStop(4); +_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 = 100;BA.debugLine="Else If tempArray(0) Is Double Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Double"))) { + BA.debugLineNum = 101;BA.debugLine="out.WriteBytes(Array As Byte(T_DOUBLE), 0, 1)"; +Debug.ShouldStop(16); +_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 = 102;BA.debugLine="data = bc.DoublesToBytes(Array As Double(o))"; +Debug.ShouldStop(32); +_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 = 103;BA.debugLine="Else If tempArray(0) Is Long Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Long"))) { + BA.debugLineNum = 104;BA.debugLine="out.WriteBytes(Array As Byte(T_LONG), 0, 1)"; +Debug.ShouldStop(128); +_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 = 105;BA.debugLine="data = bc.LongsToBytes(Array As Long(o))"; +Debug.ShouldStop(256); +_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 = 106;BA.debugLine="Else If tempArray(0) Is Boolean Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("i",__ref.getField(false,"_temparray" /*RemoteObject*/ ).getArrayElement(false,BA.numberCast(int.class, 0)), RemoteObject.createImmutable("Boolean"))) { + BA.debugLineNum = 107;BA.debugLine="out.WriteBytes(Array As Byte(T_BOOLEAN), 0, 1)"; +Debug.ShouldStop(1024); +_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 = 108;BA.debugLine="Dim b As Boolean = 0"; +Debug.ShouldStop(2048); +_b = BA.ObjectToBoolean(0);Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 109;BA.debugLine="Dim data(1) As Byte"; +Debug.ShouldStop(4096); +_data = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 110;BA.debugLine="If b Then data(0) = 1 Else data(0) = 0"; +Debug.ShouldStop(8192); +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 = 111;BA.debugLine="Else If GetType(tempArray(0)) = \"[B\" Then"; +Debug.ShouldStop(16384); +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 = 112;BA.debugLine="data = o"; +Debug.ShouldStop(32768); +_data = (_o);Debug.locals.put("data", _data); + BA.debugLineNum = 113;BA.debugLine="out.WriteBytes(Array As Byte(T_BLOB), 0, 1)"; +Debug.ShouldStop(65536); +_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 = 114;BA.debugLine="WriteInt(data.Length, out)"; +Debug.ShouldStop(131072); +__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_writeint" /*RemoteObject*/ ,(Object)(_data.getField(true,"length")),(Object)(_out)); + }else { + BA.debugLineNum = 116;BA.debugLine="out.WriteBytes(Array As Byte(T_STRING), 0, 1)"; +Debug.ShouldStop(524288); +_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 = 117;BA.debugLine="data = bc.StringToBytes(o, \"UTF8\")"; +Debug.ShouldStop(1048576); +_data = __ref.getField(false,"_bc" /*RemoteObject*/ ).runMethod(false,"StringToBytes",(Object)(BA.ObjectToString(_o)),(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("data", _data); + BA.debugLineNum = 118;BA.debugLine="WriteInt(data.Length, out)"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_writeint" /*RemoteObject*/ ,(Object)(_data.getField(true,"length")),(Object)(_out)); + }}}}}}}} +; + BA.debugLineNum = 120;BA.debugLine="If data.Length > 0 Then out.WriteBytes(data, 0, d"; +Debug.ShouldStop(8388608); +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 = 121;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +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/SHARK2/keymon/com/mx/escposprinter.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/escposprinter.java new file mode 100644 index 0000000..d75917e --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/escposprinter.java @@ -0,0 +1,66 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class escposprinter { + public static RemoteObject myClass; + public escposprinter() { + } + public static PCBA staticBA = new PCBA(null, escposprinter.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _version = RemoteObject.createImmutable(0); +public static RemoteObject _eventname = RemoteObject.createImmutable(""); +public static RemoteObject _callback = RemoteObject.declareNull("Object"); +public static RemoteObject _serial1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Serial"); +public static RemoteObject _astream = RemoteObject.declareNull("anywheresoftware.b4a.randomaccessfile.AsyncStreams"); +public static RemoteObject _connected = RemoteObject.createImmutable(false); +public static RemoteObject _connectederror = RemoteObject.createImmutable(""); +public static RemoteObject _esc = RemoteObject.createImmutable(""); +public static RemoteObject _fs = RemoteObject.createImmutable(""); +public static RemoteObject _gs = RemoteObject.createImmutable(""); +public static RemoteObject _unreverse = RemoteObject.createImmutable(""); +public static RemoteObject _reverse = RemoteObject.createImmutable(""); +public static RemoteObject _uninvert = RemoteObject.createImmutable(""); +public static RemoteObject _invert = RemoteObject.createImmutable(""); +public static RemoteObject _unrotate = RemoteObject.createImmutable(""); +public static RemoteObject _rotate = RemoteObject.createImmutable(""); +public static RemoteObject _ht = RemoteObject.createImmutable(""); +public static RemoteObject _uline0 = RemoteObject.createImmutable(""); +public static RemoteObject _uline1 = RemoteObject.createImmutable(""); +public static RemoteObject _uline2 = RemoteObject.createImmutable(""); +public static RemoteObject _bold = RemoteObject.createImmutable(""); +public static RemoteObject _nobold = RemoteObject.createImmutable(""); +public static RemoteObject _single = RemoteObject.createImmutable(""); +public static RemoteObject _high = RemoteObject.createImmutable(""); +public static RemoteObject _wide = RemoteObject.createImmutable(""); +public static RemoteObject _highwide = RemoteObject.createImmutable(""); +public static RemoteObject _leftjustify = RemoteObject.createImmutable(""); +public static RemoteObject _linedefault = RemoteObject.createImmutable(""); +public static RemoteObject _linset0 = RemoteObject.createImmutable(""); +public static RemoteObject _lmargin0 = RemoteObject.createImmutable(""); +public static RemoteObject _width0 = RemoteObject.createImmutable(""); +public static RemoteObject _charspacing0 = RemoteObject.createImmutable(""); +public static RemoteObject _charfont0 = RemoteObject.createImmutable(""); +public static RemoteObject _defaults = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"Astream",_ref.getField(false, "_astream"),"BOLD",_ref.getField(false, "_bold"),"CallBack",_ref.getField(false, "_callback"),"CHARFONT0",_ref.getField(false, "_charfont0"),"CHARSPACING0",_ref.getField(false, "_charspacing0"),"Connected",_ref.getField(false, "_connected"),"ConnectedError",_ref.getField(false, "_connectederror"),"DateUtils",_ref.getField(false, "_dateutils"),"DEFAULTS",_ref.getField(false, "_defaults"),"ESC",_ref.getField(false, "_esc"),"EventName",_ref.getField(false, "_eventname"),"FS",_ref.getField(false, "_fs"),"GS",_ref.getField(false, "_gs"),"HIGH",_ref.getField(false, "_high"),"HIGHWIDE",_ref.getField(false, "_highwide"),"HT",_ref.getField(false, "_ht"),"INVERT",_ref.getField(false, "_invert"),"LEFTJUSTIFY",_ref.getField(false, "_leftjustify"),"LINEDEFAULT",_ref.getField(false, "_linedefault"),"LINSET0",_ref.getField(false, "_linset0"),"LMARGIN0",_ref.getField(false, "_lmargin0"),"NOBOLD",_ref.getField(false, "_nobold"),"REVERSE",_ref.getField(false, "_reverse"),"ROTATE",_ref.getField(false, "_rotate"),"Serial1",_ref.getField(false, "_serial1"),"SINGLE",_ref.getField(false, "_single"),"ULINE0",_ref.getField(false, "_uline0"),"ULINE1",_ref.getField(false, "_uline1"),"ULINE2",_ref.getField(false, "_uline2"),"UNINVERT",_ref.getField(false, "_uninvert"),"UNREVERSE",_ref.getField(false, "_unreverse"),"UNROTATE",_ref.getField(false, "_unrotate"),"Version",_ref.getField(false, "_version"),"WIDE",_ref.getField(false, "_wide"),"WIDTH0",_ref.getField(false, "_width0")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/escposprinter_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/escposprinter_subs_0.java new file mode 100644 index 0000000..37eedcb --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/escposprinter_subs_0.java @@ -0,0 +1,3266 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class escposprinter_subs_0 { + + +public static RemoteObject _astream_error(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("AStream_Error (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,1141); +if (RapidSub.canDelegate("astream_error")) { return __ref.runUserSub(false, "escposprinter","astream_error", __ref);} + BA.debugLineNum = 1141;BA.debugLine="Private Sub AStream_Error"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 1142;BA.debugLine="If SubExists(CallBack, EventName & \"_Error\") Then"; +Debug.ShouldStop(2097152); +if (escposprinter.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Error")))).get().booleanValue()) { + BA.debugLineNum = 1143;BA.debugLine="CallSub(CallBack, EventName & \"_Error\")"; +Debug.ShouldStop(4194304); +escposprinter.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Error")))); + }; + BA.debugLineNum = 1145;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _astream_newdata(RemoteObject __ref,RemoteObject _buffer) throws Exception{ +try { + Debug.PushSubsStack("AStream_NewData (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,1134); +if (RapidSub.canDelegate("astream_newdata")) { return __ref.runUserSub(false, "escposprinter","astream_newdata", __ref, _buffer);} +Debug.locals.put("Buffer", _buffer); + BA.debugLineNum = 1134;BA.debugLine="Private Sub AStream_NewData (Buffer() As Byte)"; +Debug.ShouldStop(8192); + BA.debugLineNum = 1135;BA.debugLine="If SubExists(CallBack, EventName & \"_NewData\") Th"; +Debug.ShouldStop(16384); +if (escposprinter.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_NewData")))).get().booleanValue()) { + BA.debugLineNum = 1136;BA.debugLine="CallSub2(CallBack, EventName & \"_NewData\", Buffe"; +Debug.ShouldStop(32768); +escposprinter.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_NewData"))),(Object)((_buffer))); + }; + BA.debugLineNum = 1138;BA.debugLine="Log(\"Data \" & Buffer(0))"; +Debug.ShouldStop(131072); +escposprinter.__c.runVoidMethod ("LogImpl","531719428",RemoteObject.concat(RemoteObject.createImmutable("Data "),_buffer.getArrayElement(true,BA.numberCast(int.class, 0))),0); + BA.debugLineNum = 1139;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _astream_terminated(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("AStream_Terminated (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,1147); +if (RapidSub.canDelegate("astream_terminated")) { return __ref.runUserSub(false, "escposprinter","astream_terminated", __ref);} + BA.debugLineNum = 1147;BA.debugLine="Private Sub AStream_Terminated"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 1148;BA.debugLine="Connected = False"; +Debug.ShouldStop(134217728); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"False")); + BA.debugLineNum = 1149;BA.debugLine="If SubExists(CallBack, EventName & \"_Terminated\")"; +Debug.ShouldStop(268435456); +if (escposprinter.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Terminated")))).get().booleanValue()) { + BA.debugLineNum = 1150;BA.debugLine="CallSub(CallBack, EventName & \"_Terminated\")"; +Debug.ShouldStop(536870912); +escposprinter.__c.runMethodAndSync(false,"CallSubNew",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Terminated")))); + }; + BA.debugLineNum = 1152;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 11;BA.debugLine="Private Version As Double = 2.0 ' Printer class v"; +escposprinter._version = BA.numberCast(double.class, 2.0);__ref.setField("_version",escposprinter._version); + //BA.debugLineNum = 13;BA.debugLine="Type AnImage(Width As Int, Height As Int, Data()"; +; + //BA.debugLineNum = 15;BA.debugLine="Private EventName As String 'ignore"; +escposprinter._eventname = RemoteObject.createImmutable("");__ref.setField("_eventname",escposprinter._eventname); + //BA.debugLineNum = 16;BA.debugLine="Private CallBack As Object 'ignore"; +escposprinter._callback = RemoteObject.createNew ("Object");__ref.setField("_callback",escposprinter._callback); + //BA.debugLineNum = 18;BA.debugLine="Private Serial1 As Serial"; +escposprinter._serial1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial");__ref.setField("_serial1",escposprinter._serial1); + //BA.debugLineNum = 19;BA.debugLine="Private Astream As AsyncStreams"; +escposprinter._astream = RemoteObject.createNew ("anywheresoftware.b4a.randomaccessfile.AsyncStreams");__ref.setField("_astream",escposprinter._astream); + //BA.debugLineNum = 20;BA.debugLine="Private Connected As Boolean"; +escposprinter._connected = RemoteObject.createImmutable(false);__ref.setField("_connected",escposprinter._connected); + //BA.debugLineNum = 21;BA.debugLine="Private ConnectedError As String"; +escposprinter._connectederror = RemoteObject.createImmutable("");__ref.setField("_connectederror",escposprinter._connectederror); + //BA.debugLineNum = 23;BA.debugLine="Dim ESC As String = Chr(27)"; +escposprinter._esc = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 27))));__ref.setField("_esc",escposprinter._esc); + //BA.debugLineNum = 24;BA.debugLine="Dim FS As String = Chr(28)"; +escposprinter._fs = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 28))));__ref.setField("_fs",escposprinter._fs); + //BA.debugLineNum = 25;BA.debugLine="Dim GS As String = Chr(29)"; +escposprinter._gs = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 29))));__ref.setField("_gs",escposprinter._gs); + //BA.debugLineNum = 28;BA.debugLine="Dim UNREVERSE As String = GS & \"B\" & Chr(0)"; +escposprinter._unreverse = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("B"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 0))));__ref.setField("_unreverse",escposprinter._unreverse); + //BA.debugLineNum = 29;BA.debugLine="Dim REVERSE As String = GS & \"B\" & Chr(1)"; +escposprinter._reverse = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("B"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 1))));__ref.setField("_reverse",escposprinter._reverse); + //BA.debugLineNum = 32;BA.debugLine="Dim UNINVERT As String = ESC & \"{0\""; +escposprinter._uninvert = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("{0"));__ref.setField("_uninvert",escposprinter._uninvert); + //BA.debugLineNum = 33;BA.debugLine="Dim INVERT As String = ESC & \"{1\""; +escposprinter._invert = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("{1"));__ref.setField("_invert",escposprinter._invert); + //BA.debugLineNum = 36;BA.debugLine="Dim UNROTATE As String = ESC & \"V0\""; +escposprinter._unrotate = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("V0"));__ref.setField("_unrotate",escposprinter._unrotate); + //BA.debugLineNum = 37;BA.debugLine="Dim ROTATE As String = ESC & \"V1\""; +escposprinter._rotate = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("V1"));__ref.setField("_rotate",escposprinter._rotate); + //BA.debugLineNum = 40;BA.debugLine="Dim HT As String = Chr(9)"; +escposprinter._ht = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 9))));__ref.setField("_ht",escposprinter._ht); + //BA.debugLineNum = 43;BA.debugLine="Dim ULINE0 As String = ESC & \"-0\""; +escposprinter._uline0 = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("-0"));__ref.setField("_uline0",escposprinter._uline0); + //BA.debugLineNum = 44;BA.debugLine="Dim ULINE1 As String = ESC & \"-1\""; +escposprinter._uline1 = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("-1"));__ref.setField("_uline1",escposprinter._uline1); + //BA.debugLineNum = 45;BA.debugLine="Dim ULINE2 As String = ESC & \"-2\""; +escposprinter._uline2 = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("-2"));__ref.setField("_uline2",escposprinter._uline2); + //BA.debugLineNum = 48;BA.debugLine="Dim BOLD As String = ESC & \"E1\""; +escposprinter._bold = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("E1"));__ref.setField("_bold",escposprinter._bold); + //BA.debugLineNum = 49;BA.debugLine="Dim NOBOLD As String = ESC & \"E0\""; +escposprinter._nobold = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("E0"));__ref.setField("_nobold",escposprinter._nobold); + //BA.debugLineNum = 52;BA.debugLine="Dim SINGLE As String = GS & \"!\" & Chr(0x00)"; +escposprinter._single = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("!"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x00)))));__ref.setField("_single",escposprinter._single); + //BA.debugLineNum = 53;BA.debugLine="Dim HIGH As String = GS & \"!\" & Chr(0x01)"; +escposprinter._high = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("!"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x01)))));__ref.setField("_high",escposprinter._high); + //BA.debugLineNum = 54;BA.debugLine="Dim WIDE As String = GS & \"!\" & Chr(0x10)"; +escposprinter._wide = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("!"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x10)))));__ref.setField("_wide",escposprinter._wide); + //BA.debugLineNum = 55;BA.debugLine="Dim HIGHWIDE As String = GS & \"!\" & Chr(0x11)"; +escposprinter._highwide = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("!"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x11)))));__ref.setField("_highwide",escposprinter._highwide); + //BA.debugLineNum = 58;BA.debugLine="Private LEFTJUSTIFY As String = ESC & \"a0\""; +escposprinter._leftjustify = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("a0"));__ref.setField("_leftjustify",escposprinter._leftjustify); + //BA.debugLineNum = 59;BA.debugLine="Private LINEDEFAULT As String = ESC & \"2\""; +escposprinter._linedefault = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("2"));__ref.setField("_linedefault",escposprinter._linedefault); + //BA.debugLineNum = 60;BA.debugLine="Private LINSET0 As String = ESC & \"$\" & Chr(0x0)"; +escposprinter._linset0 = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("$"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0)))),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0)))));__ref.setField("_linset0",escposprinter._linset0); + //BA.debugLineNum = 61;BA.debugLine="Private LMARGIN0 As String = GS & \"L\" & Chr(0x0)"; +escposprinter._lmargin0 = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("L"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0)))),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0x0)))));__ref.setField("_lmargin0",escposprinter._lmargin0); + //BA.debugLineNum = 62;BA.debugLine="Private WIDTH0 As String = GS & \"W\" & Chr(0xff) &"; +escposprinter._width0 = RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("W"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xff)))),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, ((int)0xff)))));__ref.setField("_width0",escposprinter._width0); + //BA.debugLineNum = 63;BA.debugLine="Private CHARSPACING0 As String = ESC & \" \" & Chr("; +escposprinter._charspacing0 = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable(" "),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 0))));__ref.setField("_charspacing0",escposprinter._charspacing0); + //BA.debugLineNum = 64;BA.debugLine="Private CHARFONT0 As String = ESC & \"M\" & Chr(0)"; +escposprinter._charfont0 = RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("M"),escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 0))));__ref.setField("_charfont0",escposprinter._charfont0); + //BA.debugLineNum = 65;BA.debugLine="Dim DEFAULTS As String = CHARSPACING0 & CHARFONT"; +escposprinter._defaults = RemoteObject.concat(__ref.getField(true,"_charspacing0" /*RemoteObject*/ ),__ref.getField(true,"_charfont0" /*RemoteObject*/ ),__ref.getField(true,"_lmargin0" /*RemoteObject*/ ),__ref.getField(true,"_width0" /*RemoteObject*/ ),__ref.getField(true,"_linset0" /*RemoteObject*/ ),__ref.getField(true,"_linedefault" /*RemoteObject*/ ),__ref.getField(true,"_leftjustify" /*RemoteObject*/ ),__ref.getField(true,"_uninvert" /*RemoteObject*/ ),__ref.getField(true,"_unrotate" /*RemoteObject*/ ),__ref.getField(true,"_unreverse" /*RemoteObject*/ ),__ref.getField(true,"_nobold" /*RemoteObject*/ ),__ref.getField(true,"_uline0" /*RemoteObject*/ ));__ref.setField("_defaults",escposprinter._defaults); + //BA.debugLineNum = 68;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _connect(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Connect (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,100); +if (RapidSub.canDelegate("connect")) { return __ref.runUserSub(false, "escposprinter","connect", __ref);} +RemoteObject _paireddevices = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _l = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _i = 0; +RemoteObject _res = RemoteObject.createImmutable(0); + BA.debugLineNum = 100;BA.debugLine="Public Sub Connect As Boolean"; +Debug.ShouldStop(8); + BA.debugLineNum = 104;BA.debugLine="Try"; +Debug.ShouldStop(128); +try { BA.debugLineNum = 105;BA.debugLine="If Starter.MAC_IMPRESORA = \"0\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",escposprinter._starter._mac_impresora /*RemoteObject*/ ,BA.ObjectToString("0"))) { + BA.debugLineNum = 106;BA.debugLine="Dim PairedDevices As Map"; +Debug.ShouldStop(512); +_paireddevices = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("PairedDevices", _paireddevices); + BA.debugLineNum = 107;BA.debugLine="PairedDevices = Serial1.GetPairedDevices"; +Debug.ShouldStop(1024); +_paireddevices = __ref.getField(false,"_serial1" /*RemoteObject*/ ).runMethod(false,"GetPairedDevices");Debug.locals.put("PairedDevices", _paireddevices); + BA.debugLineNum = 108;BA.debugLine="Dim l As List"; +Debug.ShouldStop(2048); +_l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("l", _l); + BA.debugLineNum = 109;BA.debugLine="l.Initialize"; +Debug.ShouldStop(4096); +_l.runVoidMethod ("Initialize"); + BA.debugLineNum = 110;BA.debugLine="Log(\"aqui 1\")"; +Debug.ShouldStop(8192); +escposprinter.__c.runVoidMethod ("LogImpl","528573706",RemoteObject.createImmutable("aqui 1"),0); + BA.debugLineNum = 111;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +Debug.ShouldStop(16384); +{ +final int step8 = 1; +final int limit8 = RemoteObject.solve(new RemoteObject[] {_paireddevices.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step8 > 0 && _i <= limit8) || (step8 < 0 && _i >= limit8) ;_i = ((int)(0 + _i + step8)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 112;BA.debugLine="l.Add(PairedDevices.GetKeyAt(i))"; +Debug.ShouldStop(32768); +_l.runVoidMethod ("Add",(Object)(_paireddevices.runMethod(false,"GetKeyAt",(Object)(BA.numberCast(int.class, _i))))); + BA.debugLineNum = 113;BA.debugLine="Log(\"aqui 2\")"; +Debug.ShouldStop(65536); +escposprinter.__c.runVoidMethod ("LogImpl","528573709",RemoteObject.createImmutable("aqui 2"),0); + BA.debugLineNum = 114;BA.debugLine="DisConnect"; +Debug.ShouldStop(131072); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 116;BA.debugLine="Dim Res As Int"; +Debug.ShouldStop(524288); +_res = RemoteObject.createImmutable(0);Debug.locals.put("Res", _res); + BA.debugLineNum = 117;BA.debugLine="Res = InputList(l, \"Choose a printer\", -1) 'sho"; +Debug.ShouldStop(1048576); +_res = escposprinter.__c.runMethodAndSync(true,"InputList",(Object)(_l),(Object)(BA.ObjectToCharSequence("Choose a printer")),(Object)(BA.numberCast(int.class, -(double) (0 + 1))),__ref.runMethod(false,"getActivityBA"));Debug.locals.put("Res", _res); + BA.debugLineNum = 118;BA.debugLine="If Res <> DialogResponse.CANCEL Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("!",_res,BA.numberCast(double.class, escposprinter.__c.getField(false,"DialogResponse").getField(true,"CANCEL")))) { + BA.debugLineNum = 119;BA.debugLine="Serial1.Connect(PairedDevices.Get(l.Get(Res)))"; +Debug.ShouldStop(4194304); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(BA.ObjectToString(_paireddevices.runMethod(false,"Get",(Object)(_l.runMethod(false,"Get",(Object)(_res))))))); + BA.debugLineNum = 121;BA.debugLine="Starter.mac_impresora = PairedDevices.Get(l.Ge"; +Debug.ShouldStop(16777216); +escposprinter._starter._mac_impresora /*RemoteObject*/ = BA.ObjectToString(_paireddevices.runMethod(false,"Get",(Object)(_l.runMethod(false,"Get",(Object)(_res))))); + BA.debugLineNum = 122;BA.debugLine="Return True"; +Debug.ShouldStop(33554432); +Debug.CheckDeviceExceptions();if (true) return escposprinter.__c.getField(true,"True"); + BA.debugLineNum = 123;BA.debugLine="DisConnect"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 124;BA.debugLine="Log(\"aqui 3\")"; +Debug.ShouldStop(134217728); +escposprinter.__c.runVoidMethod ("LogImpl","528573720",RemoteObject.createImmutable("aqui 3"),0); + }; + BA.debugLineNum = 126;BA.debugLine="Log(\"aqui 4\")"; +Debug.ShouldStop(536870912); +escposprinter.__c.runVoidMethod ("LogImpl","528573722",RemoteObject.createImmutable("aqui 4"),0); + BA.debugLineNum = 127;BA.debugLine="Return False"; +Debug.ShouldStop(1073741824); +Debug.CheckDeviceExceptions();if (true) return escposprinter.__c.getField(true,"False"); + }else { + BA.debugLineNum = 129;BA.debugLine="Serial1.Connect(Starter.mac_impresora)"; +Debug.ShouldStop(1); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Connect",__ref.getField(false, "ba"),(Object)(escposprinter._starter._mac_impresora /*RemoteObject*/ )); + BA.debugLineNum = 131;BA.debugLine="Return True"; +Debug.ShouldStop(4); +Debug.CheckDeviceExceptions();if (true) return escposprinter.__c.getField(true,"True"); + BA.debugLineNum = 132;BA.debugLine="DisConnect"; +Debug.ShouldStop(8); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_disconnect" /*RemoteObject*/ ); + BA.debugLineNum = 133;BA.debugLine="Log(\"aqui 5\")"; +Debug.ShouldStop(16); +escposprinter.__c.runVoidMethod ("LogImpl","528573729",RemoteObject.createImmutable("aqui 5"),0); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e31) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e31.toString()); BA.debugLineNum = 136;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(128); +escposprinter.__c.runVoidMethod ("LogImpl","528573732",BA.ObjectToString(escposprinter.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA"))),0); + BA.debugLineNum = 137;BA.debugLine="Return False"; +Debug.ShouldStop(256); +if (true) return escposprinter.__c.getField(true,"False"); + }; + BA.debugLineNum = 139;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _connectederrormsg(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ConnectedErrorMsg (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,84); +if (RapidSub.canDelegate("connectederrormsg")) { return __ref.runUserSub(false, "escposprinter","connectederrormsg", __ref);} + BA.debugLineNum = 84;BA.debugLine="Public Sub ConnectedErrorMsg As String"; +Debug.ShouldStop(524288); + BA.debugLineNum = 85;BA.debugLine="Return ConnectedError"; +Debug.ShouldStop(1048576); +if (true) return __ref.getField(true,"_connectederror" /*RemoteObject*/ ); + BA.debugLineNum = 86;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createbox(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _fill) throws Exception{ +try { + Debug.PushSubsStack("CreateBox (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,520); +if (RapidSub.canDelegate("createbox")) { return __ref.runUserSub(false, "escposprinter","createbox", __ref, _x0, _y0, _x1, _y1, _fill);} +RemoteObject _box = RemoteObject.createImmutable(0); +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("fill", _fill); + BA.debugLineNum = 520;BA.debugLine="Public Sub CreateBox(x0 As Int, y0 As Int, x1 As I"; +Debug.ShouldStop(128); + BA.debugLineNum = 521;BA.debugLine="Dim box As Int = 0x10000000"; +Debug.ShouldStop(256); +_box = BA.numberCast(int.class, ((int)0x10000000));Debug.locals.put("box", _box);Debug.locals.put("box", _box); + BA.debugLineNum = 522;BA.debugLine="If fill Then box = box + 0x80000000"; +Debug.ShouldStop(512); +if (_fill.get().booleanValue()) { +_box = RemoteObject.solve(new RemoteObject[] {_box,RemoteObject.createImmutable(((int)0x80000000))}, "+",1, 1);Debug.locals.put("box", _box);}; + BA.debugLineNum = 523;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; +Debug.ShouldStop(1024); +_box = RemoteObject.solve(new RemoteObject[] {_box,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x0))),(Object)(BA.numberCast(int.class, 24)))}, "+",1, 1);Debug.locals.put("box", _box); + BA.debugLineNum = 524;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; +Debug.ShouldStop(2048); +_box = RemoteObject.solve(new RemoteObject[] {_box,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x1f))),(Object)(_y0))),(Object)(BA.numberCast(int.class, 16)))}, "+",1, 1);Debug.locals.put("box", _box); + BA.debugLineNum = 525;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; +Debug.ShouldStop(4096); +_box = RemoteObject.solve(new RemoteObject[] {_box,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x1))),(Object)(BA.numberCast(int.class, 8)))}, "+",1, 1);Debug.locals.put("box", _box); + BA.debugLineNum = 526;BA.debugLine="box = box + Bit.And(0x1f,y1)"; +Debug.ShouldStop(8192); +_box = RemoteObject.solve(new RemoteObject[] {_box,escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x1f))),(Object)(_y1))}, "+",1, 1);Debug.locals.put("box", _box); + BA.debugLineNum = 527;BA.debugLine="Return box"; +Debug.ShouldStop(16384); +if (true) return _box; + BA.debugLineNum = 528;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createcircle(RemoteObject __ref,RemoteObject _radius,RemoteObject _quadrants,RemoteObject _x1,RemoteObject _y1,RemoteObject _fill) throws Exception{ +try { + Debug.PushSubsStack("CreateCircle (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,490); +if (RapidSub.canDelegate("createcircle")) { return __ref.runUserSub(false, "escposprinter","createcircle", __ref, _radius, _quadrants, _x1, _y1, _fill);} +RemoteObject _circle = RemoteObject.createImmutable(0); +Debug.locals.put("radius", _radius); +Debug.locals.put("quadrants", _quadrants); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("fill", _fill); + BA.debugLineNum = 490;BA.debugLine="Public Sub CreateCircle(radius As Int, quadrants A"; +Debug.ShouldStop(512); + BA.debugLineNum = 491;BA.debugLine="Dim circle As Int = 0x20000000"; +Debug.ShouldStop(1024); +_circle = BA.numberCast(int.class, ((int)0x20000000));Debug.locals.put("circle", _circle);Debug.locals.put("circle", _circle); + BA.debugLineNum = 492;BA.debugLine="If fill Then circle = circle + 0x80000000"; +Debug.ShouldStop(2048); +if (_fill.get().booleanValue()) { +_circle = RemoteObject.solve(new RemoteObject[] {_circle,RemoteObject.createImmutable(((int)0x80000000))}, "+",1, 1);Debug.locals.put("circle", _circle);}; + BA.debugLineNum = 493;BA.debugLine="circle = circle + Bit.ShiftLeft(radius, 24)"; +Debug.ShouldStop(4096); +_circle = RemoteObject.solve(new RemoteObject[] {_circle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(_radius),(Object)(BA.numberCast(int.class, 24)))}, "+",1, 1);Debug.locals.put("circle", _circle); + BA.debugLineNum = 494;BA.debugLine="circle = circle + Bit.ShiftLeft(quadrants, 16)"; +Debug.ShouldStop(8192); +_circle = RemoteObject.solve(new RemoteObject[] {_circle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(_quadrants),(Object)(BA.numberCast(int.class, 16)))}, "+",1, 1);Debug.locals.put("circle", _circle); + BA.debugLineNum = 495;BA.debugLine="circle = circle + Bit.ShiftLeft(x1, 8)"; +Debug.ShouldStop(16384); +_circle = RemoteObject.solve(new RemoteObject[] {_circle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(_x1),(Object)(BA.numberCast(int.class, 8)))}, "+",1, 1);Debug.locals.put("circle", _circle); + BA.debugLineNum = 496;BA.debugLine="circle = circle + y1"; +Debug.ShouldStop(32768); +_circle = RemoteObject.solve(new RemoteObject[] {_circle,_y1}, "+",1, 1);Debug.locals.put("circle", _circle); + BA.debugLineNum = 497;BA.debugLine="Return circle"; +Debug.ShouldStop(65536); +if (true) return _circle; + BA.debugLineNum = 498;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createcustomcharacter(RemoteObject __ref,RemoteObject _shapes,RemoteObject _characterfont) throws Exception{ +try { + Debug.PushSubsStack("CreateCustomCharacter (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,404); +if (RapidSub.canDelegate("createcustomcharacter")) { return __ref.runUserSub(false, "escposprinter","createcustomcharacter", __ref, _shapes, _characterfont);} +RemoteObject _masks = null; +RemoteObject _points = null; +int _x = 0; +int _y = 0; +RemoteObject _size = RemoteObject.createImmutable(0); +RemoteObject _charbyes = null; +int _c = 0; +int _i = 0; +RemoteObject _fill = RemoteObject.createImmutable(0); +RemoteObject _shape = RemoteObject.createImmutable(0); +RemoteObject _x0 = RemoteObject.createImmutable(0); +RemoteObject _y0 = RemoteObject.createImmutable(0); +RemoteObject _x1 = RemoteObject.createImmutable(0); +RemoteObject _y1 = RemoteObject.createImmutable(0); +RemoteObject _x2 = RemoteObject.createImmutable(0); +RemoteObject _y2 = RemoteObject.createImmutable(0); +RemoteObject _logmsg = RemoteObject.createImmutable(""); +RemoteObject _bits = RemoteObject.createImmutable((byte)0); +int _b = 0; +Debug.locals.put("shapes", _shapes); +Debug.locals.put("characterfont", _characterfont); + BA.debugLineNum = 404;BA.debugLine="Public Sub CreateCustomCharacter(shapes() As Int,"; +Debug.ShouldStop(524288); + BA.debugLineNum = 405;BA.debugLine="Dim masks(8) As Byte"; +Debug.ShouldStop(1048576); +_masks = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("masks", _masks); + BA.debugLineNum = 406;BA.debugLine="masks(0) = 0x80"; +Debug.ShouldStop(2097152); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x80)),BA.numberCast(int.class, 0)); + BA.debugLineNum = 407;BA.debugLine="masks(1) = 0x40"; +Debug.ShouldStop(4194304); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x40)),BA.numberCast(int.class, 1)); + BA.debugLineNum = 408;BA.debugLine="masks(2) = 0x20"; +Debug.ShouldStop(8388608); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x20)),BA.numberCast(int.class, 2)); + BA.debugLineNum = 409;BA.debugLine="masks(3) = 0x10"; +Debug.ShouldStop(16777216); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x10)),BA.numberCast(int.class, 3)); + BA.debugLineNum = 410;BA.debugLine="masks(4) = 0x08"; +Debug.ShouldStop(33554432); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x08)),BA.numberCast(int.class, 4)); + BA.debugLineNum = 411;BA.debugLine="masks(5) = 0x04"; +Debug.ShouldStop(67108864); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x04)),BA.numberCast(int.class, 5)); + BA.debugLineNum = 412;BA.debugLine="masks(6) = 0x02"; +Debug.ShouldStop(134217728); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x02)),BA.numberCast(int.class, 6)); + BA.debugLineNum = 413;BA.debugLine="masks(7) = 0x01"; +Debug.ShouldStop(268435456); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x01)),BA.numberCast(int.class, 7)); + BA.debugLineNum = 416;BA.debugLine="Dim points(16,32) As Byte"; +Debug.ShouldStop(-2147483648); +_points = RemoteObject.createNewArray ("byte", new int[] {16,32}, new Object[]{});Debug.locals.put("points", _points); + BA.debugLineNum = 418;BA.debugLine="For x = 0 To 15"; +Debug.ShouldStop(2); +{ +final int step11 = 1; +final int limit11 = 15; +_x = 0 ; +for (;(step11 > 0 && _x <= limit11) || (step11 < 0 && _x >= limit11) ;_x = ((int)(0 + _x + step11)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 419;BA.debugLine="For y = 0 To 31"; +Debug.ShouldStop(4); +{ +final int step12 = 1; +final int limit12 = 31; +_y = 0 ; +for (;(step12 > 0 && _y <= limit12) || (step12 < 0 && _y >= limit12) ;_y = ((int)(0 + _y + step12)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 420;BA.debugLine="points(x,y) = 0"; +Debug.ShouldStop(8); +_points.setArrayElement (BA.numberCast(byte.class, 0),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y)); + } +}Debug.locals.put("y", _y); +; + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 423;BA.debugLine="Dim size As Int = 12"; +Debug.ShouldStop(64); +_size = BA.numberCast(int.class, 12);Debug.locals.put("size", _size);Debug.locals.put("size", _size); + BA.debugLineNum = 424;BA.debugLine="If characterfont = 1 Then size = 9"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",_characterfont,BA.numberCast(double.class, 1))) { +_size = BA.numberCast(int.class, 9);Debug.locals.put("size", _size);}; + BA.debugLineNum = 425;BA.debugLine="Dim charbyes(size * 3) As Byte"; +Debug.ShouldStop(256); +_charbyes = RemoteObject.createNewArray ("byte", new int[] {RemoteObject.solve(new RemoteObject[] {_size,RemoteObject.createImmutable(3)}, "*",0, 1).get().intValue()}, new Object[]{});Debug.locals.put("charbyes", _charbyes); + BA.debugLineNum = 426;BA.debugLine="For c = 0 To charbyes.Length - 1"; +Debug.ShouldStop(512); +{ +final int step19 = 1; +final int limit19 = RemoteObject.solve(new RemoteObject[] {_charbyes.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_c = 0 ; +for (;(step19 > 0 && _c <= limit19) || (step19 < 0 && _c >= limit19) ;_c = ((int)(0 + _c + step19)) ) { +Debug.locals.put("c", _c); + BA.debugLineNum = 427;BA.debugLine="charbyes(c) = 0"; +Debug.ShouldStop(1024); +_charbyes.setArrayElement (BA.numberCast(byte.class, 0),BA.numberCast(int.class, _c)); + } +}Debug.locals.put("c", _c); +; + BA.debugLineNum = 430;BA.debugLine="For i = 0 To shapes.Length -1"; +Debug.ShouldStop(8192); +{ +final int step22 = 1; +final int limit22 = RemoteObject.solve(new RemoteObject[] {_shapes.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step22 > 0 && _i <= limit22) || (step22 < 0 && _i >= limit22) ;_i = ((int)(0 + _i + step22)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 431;BA.debugLine="Dim fill As Int = Bit.UnsignedShiftRight(Bit.An"; +Debug.ShouldStop(16384); +_fill = escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x80000000))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 31)));Debug.locals.put("fill", _fill);Debug.locals.put("fill", _fill); + BA.debugLineNum = 432;BA.debugLine="Dim shape As Int = Bit.UnsignedShiftRight(Bit.An"; +Debug.ShouldStop(32768); +_shape = escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x70000000))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 28)));Debug.locals.put("shape", _shape);Debug.locals.put("shape", _shape); + BA.debugLineNum = 433;BA.debugLine="Dim x0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(65536); +_x0 = escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x0f000000))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 24)));Debug.locals.put("x0", _x0);Debug.locals.put("x0", _x0); + BA.debugLineNum = 434;BA.debugLine="Dim y0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(131072); +_y0 = escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x001f0000))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 16)));Debug.locals.put("y0", _y0);Debug.locals.put("y0", _y0); + BA.debugLineNum = 435;BA.debugLine="Dim x1 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(262144); +_x1 = escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x00000f00))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 8)));Debug.locals.put("x1", _x1);Debug.locals.put("x1", _x1); + BA.debugLineNum = 436;BA.debugLine="Dim y1 As Int = Bit.And(0x0000001f, shapes(i))"; +Debug.ShouldStop(524288); +_y1 = escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x0000001f))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))));Debug.locals.put("y1", _y1);Debug.locals.put("y1", _y1); + BA.debugLineNum = 437;BA.debugLine="Dim x2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(1048576); +_x2 = escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x0000f000))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 12)));Debug.locals.put("x2", _x2);Debug.locals.put("x2", _x2); + BA.debugLineNum = 438;BA.debugLine="Dim y2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; +Debug.ShouldStop(2097152); +_y2 = RemoteObject.solve(new RemoteObject[] {escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x00e00000))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 18))),escposprinter.__c.getField(false,"Bit").runMethod(true,"UnsignedShiftRight",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x000000e0))),(Object)(_shapes.getArrayElement(true,BA.numberCast(int.class, _i))))),(Object)(BA.numberCast(int.class, 5)))}, "+",1, 1);Debug.locals.put("y2", _y2);Debug.locals.put("y2", _y2); + BA.debugLineNum = 444;BA.debugLine="Dim logmsg As String = \": Fill=\" & fill & \" : Po"; +Debug.ShouldStop(134217728); +_logmsg = RemoteObject.concat(RemoteObject.createImmutable(": Fill="),_fill,RemoteObject.createImmutable(" : Points "),_x0,RemoteObject.createImmutable(","),_y0,RemoteObject.createImmutable(" "),_x1,RemoteObject.createImmutable(","),_y1,RemoteObject.createImmutable(" "),_x2,RemoteObject.createImmutable(","),_y2);Debug.locals.put("logmsg", _logmsg);Debug.locals.put("logmsg", _logmsg); + BA.debugLineNum = 445;BA.debugLine="If shape = 3 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_shape,BA.numberCast(double.class, 3))) { + BA.debugLineNum = 446;BA.debugLine="Log(\"Triangle \" & logmsg)"; +Debug.ShouldStop(536870912); +escposprinter.__c.runVoidMethod ("LogImpl","529884458",RemoteObject.concat(RemoteObject.createImmutable("Triangle "),_logmsg),0); + BA.debugLineNum = 447;BA.debugLine="PlotTriangle(x0, y0, x1, y1, x2, y2, points, fi"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plottriangle" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_x2),(Object)(_y2),(Object)(_points),(Object)(_fill)); + }else +{ BA.debugLineNum = 448;BA.debugLine="else If shape = 2 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_shape,BA.numberCast(double.class, 2))) { + BA.debugLineNum = 449;BA.debugLine="Log(\"Circle \" & logmsg)"; +Debug.ShouldStop(1); +escposprinter.__c.runVoidMethod ("LogImpl","529884461",RemoteObject.concat(RemoteObject.createImmutable("Circle "),_logmsg),0); + BA.debugLineNum = 450;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)"; +Debug.ShouldStop(2); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotcircle" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points),(Object)(_fill)); + }else +{ BA.debugLineNum = 451;BA.debugLine="Else If shape = 1 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("=",_shape,BA.numberCast(double.class, 1))) { + BA.debugLineNum = 452;BA.debugLine="Log(\"Box \" & logmsg)"; +Debug.ShouldStop(8); +escposprinter.__c.runVoidMethod ("LogImpl","529884464",RemoteObject.concat(RemoteObject.createImmutable("Box "),_logmsg),0); + BA.debugLineNum = 453;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)"; +Debug.ShouldStop(16); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotbox" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points),(Object)(_fill)); + }else { + BA.debugLineNum = 455;BA.debugLine="Log(\"Line \" & logmsg)"; +Debug.ShouldStop(64); +escposprinter.__c.runVoidMethod ("LogImpl","529884467",RemoteObject.concat(RemoteObject.createImmutable("Line "),_logmsg),0); + BA.debugLineNum = 456;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +Debug.ShouldStop(128); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + }}} +; + BA.debugLineNum = 459;BA.debugLine="For x = 0 To size -1 ' 9 or 12 horizontal bytes"; +Debug.ShouldStop(1024); +{ +final int step45 = 1; +final int limit45 = RemoteObject.solve(new RemoteObject[] {_size,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step45 > 0 && _x <= limit45) || (step45 < 0 && _x >= limit45) ;_x = ((int)(0 + _x + step45)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 460;BA.debugLine="For y = 0 To 2 ' 3 vertical bytes"; +Debug.ShouldStop(2048); +{ +final int step46 = 1; +final int limit46 = 2; +_y = 0 ; +for (;(step46 > 0 && _y <= limit46) || (step46 < 0 && _y >= limit46) ;_y = ((int)(0 + _y + step46)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 461;BA.debugLine="Dim bits As Byte = 0"; +Debug.ShouldStop(4096); +_bits = BA.numberCast(byte.class, 0);Debug.locals.put("bits", _bits);Debug.locals.put("bits", _bits); + BA.debugLineNum = 462;BA.debugLine="For b = 0 To 7 ' 8 vertical bits"; +Debug.ShouldStop(8192); +{ +final int step48 = 1; +final int limit48 = 7; +_b = 0 ; +for (;(step48 > 0 && _b <= limit48) || (step48 < 0 && _b >= limit48) ;_b = ((int)(0 + _b + step48)) ) { +Debug.locals.put("b", _b); + BA.debugLineNum = 463;BA.debugLine="If points(x, y*8+b) <> 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("!",_points.getArrayElement(true,BA.numberCast(int.class, _x),RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),RemoteObject.createImmutable(8),RemoteObject.createImmutable(_b)}, "*+",1, 1)),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 464;BA.debugLine="bits = Bit.Or(bits, masks(b))"; +Debug.ShouldStop(32768); +_bits = BA.numberCast(byte.class, escposprinter.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(BA.numberCast(int.class, _bits)),(Object)(BA.numberCast(int.class, _masks.getArrayElement(true,BA.numberCast(int.class, _b))))));Debug.locals.put("bits", _bits); + }; + } +}Debug.locals.put("b", _b); +; + BA.debugLineNum = 467;BA.debugLine="charbyes(x*3+y) = bits"; +Debug.ShouldStop(262144); +_charbyes.setArrayElement (_bits,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_x),RemoteObject.createImmutable(3),RemoteObject.createImmutable(_y)}, "*+",1, 1)); + } +}Debug.locals.put("y", _y); +; + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 471;BA.debugLine="Return charbyes"; +Debug.ShouldStop(4194304); +if (true) return _charbyes; + BA.debugLineNum = 472;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createline(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1) throws Exception{ +try { + Debug.PushSubsStack("CreateLine (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,477); +if (RapidSub.canDelegate("createline")) { return __ref.runUserSub(false, "escposprinter","createline", __ref, _x0, _y0, _x1, _y1);} +RemoteObject _line = RemoteObject.createImmutable(0); +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); + BA.debugLineNum = 477;BA.debugLine="Public Sub CreateLine(x0 As Int, y0 As Int, x1 As"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 478;BA.debugLine="Dim line As Int = 0"; +Debug.ShouldStop(536870912); +_line = BA.numberCast(int.class, 0);Debug.locals.put("line", _line);Debug.locals.put("line", _line); + BA.debugLineNum = 479;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; +Debug.ShouldStop(1073741824); +_line = RemoteObject.solve(new RemoteObject[] {_line,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x0))),(Object)(BA.numberCast(int.class, 24)))}, "+",1, 1);Debug.locals.put("line", _line); + BA.debugLineNum = 480;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; +Debug.ShouldStop(-2147483648); +_line = RemoteObject.solve(new RemoteObject[] {_line,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x1f))),(Object)(_y0))),(Object)(BA.numberCast(int.class, 16)))}, "+",1, 1);Debug.locals.put("line", _line); + BA.debugLineNum = 481;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; +Debug.ShouldStop(1); +_line = RemoteObject.solve(new RemoteObject[] {_line,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x1))),(Object)(BA.numberCast(int.class, 8)))}, "+",1, 1);Debug.locals.put("line", _line); + BA.debugLineNum = 482;BA.debugLine="line = line + Bit.And(0x1f,y1)"; +Debug.ShouldStop(2); +_line = RemoteObject.solve(new RemoteObject[] {_line,escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x1f))),(Object)(_y1))}, "+",1, 1);Debug.locals.put("line", _line); + BA.debugLineNum = 483;BA.debugLine="Return line"; +Debug.ShouldStop(4); +if (true) return _line; + BA.debugLineNum = 484;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createtriangle(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _x2,RemoteObject _y2,RemoteObject _fill) throws Exception{ +try { + Debug.PushSubsStack("CreateTriangle (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,504); +if (RapidSub.canDelegate("createtriangle")) { return __ref.runUserSub(false, "escposprinter","createtriangle", __ref, _x0, _y0, _x1, _y1, _x2, _y2, _fill);} +RemoteObject _triangle = RemoteObject.createImmutable(0); +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("x2", _x2); +Debug.locals.put("y2", _y2); +Debug.locals.put("fill", _fill); + BA.debugLineNum = 504;BA.debugLine="Public Sub CreateTriangle(x0 As Int, y0 As Int, x1"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 505;BA.debugLine="Dim triangle As Int = 0x30000000"; +Debug.ShouldStop(16777216); +_triangle = BA.numberCast(int.class, ((int)0x30000000));Debug.locals.put("triangle", _triangle);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 506;BA.debugLine="If fill Then triangle = triangle + 0x80000000"; +Debug.ShouldStop(33554432); +if (_fill.get().booleanValue()) { +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,RemoteObject.createImmutable(((int)0x80000000))}, "+",1, 1);Debug.locals.put("triangle", _triangle);}; + BA.debugLineNum = 507;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +Debug.ShouldStop(67108864); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x0))),(Object)(BA.numberCast(int.class, 24)))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 508;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x1f,"; +Debug.ShouldStop(134217728); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x1f))),(Object)(_y0))),(Object)(BA.numberCast(int.class, 16)))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 509;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +Debug.ShouldStop(268435456); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x1))),(Object)(BA.numberCast(int.class, 8)))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 510;BA.debugLine="triangle = triangle + Bit.And(0x1f,y1)"; +Debug.ShouldStop(536870912); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x1f))),(Object)(_y1))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 511;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; +Debug.ShouldStop(1073741824); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0xf))),(Object)(_x2))),(Object)(BA.numberCast(int.class, 12)))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 512;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x7,y"; +Debug.ShouldStop(-2147483648); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x7))),(Object)(_y2))),(Object)(BA.numberCast(int.class, 5)))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 513;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x18,"; +Debug.ShouldStop(1); +_triangle = RemoteObject.solve(new RemoteObject[] {_triangle,escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, ((int)0x18))),(Object)(_y2))),(Object)(BA.numberCast(int.class, 18)))}, "+",1, 1);Debug.locals.put("triangle", _triangle); + BA.debugLineNum = 514;BA.debugLine="Return triangle"; +Debug.ShouldStop(2); +if (true) return _triangle; + BA.debugLineNum = 515;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _definecustomcharacter(RemoteObject __ref,RemoteObject _charcode,RemoteObject _bitdata) throws Exception{ +try { + Debug.PushSubsStack("DefineCustomCharacter (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,352); +if (RapidSub.canDelegate("definecustomcharacter")) { return __ref.runUserSub(false, "escposprinter","definecustomcharacter", __ref, _charcode, _bitdata);} +RemoteObject _excess = RemoteObject.createImmutable(0); +RemoteObject _size = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("charcode", _charcode); +Debug.locals.put("bitdata", _bitdata); + BA.debugLineNum = 352;BA.debugLine="Public Sub DefineCustomCharacter(charcode As Int,"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 353;BA.debugLine="Dim excess As Int = bitdata.Length Mod 3"; +Debug.ShouldStop(1); +_excess = RemoteObject.solve(new RemoteObject[] {_bitdata.getField(true,"length"),RemoteObject.createImmutable(3)}, "%",0, 1);Debug.locals.put("excess", _excess);Debug.locals.put("excess", _excess); + BA.debugLineNum = 354;BA.debugLine="If excess <> 0 Then Return -1"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean("!",_excess,BA.numberCast(double.class, 0))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 355;BA.debugLine="Dim size As Int = bitdata.Length / 3"; +Debug.ShouldStop(4); +_size = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_bitdata.getField(true,"length"),RemoteObject.createImmutable(3)}, "/",0, 0));Debug.locals.put("size", _size);Debug.locals.put("size", _size); + BA.debugLineNum = 356;BA.debugLine="WriteString(ESC & \"&\")"; +Debug.ShouldStop(8); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("&")))); + BA.debugLineNum = 357;BA.debugLine="Dim params(4) As Byte"; +Debug.ShouldStop(16); +_params = RemoteObject.createNewArray ("byte", new int[] {4}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 358;BA.debugLine="params(0) = 3"; +Debug.ShouldStop(32); +_params.setArrayElement (BA.numberCast(byte.class, 3),BA.numberCast(int.class, 0)); + BA.debugLineNum = 359;BA.debugLine="params(1) = charcode"; +Debug.ShouldStop(64); +_params.setArrayElement (BA.numberCast(byte.class, _charcode),BA.numberCast(int.class, 1)); + BA.debugLineNum = 360;BA.debugLine="params(2) = charcode"; +Debug.ShouldStop(128); +_params.setArrayElement (BA.numberCast(byte.class, _charcode),BA.numberCast(int.class, 2)); + BA.debugLineNum = 361;BA.debugLine="params(3) = size"; +Debug.ShouldStop(256); +_params.setArrayElement (BA.numberCast(byte.class, _size),BA.numberCast(int.class, 3)); + BA.debugLineNum = 362;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(512); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 363;BA.debugLine="WriteBytes(bitdata)"; +Debug.ShouldStop(1024); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_bitdata)); + BA.debugLineNum = 364;BA.debugLine="Return 0"; +Debug.ShouldStop(2048); +if (true) return BA.numberCast(int.class, 0); + BA.debugLineNum = 365;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _deletecustomcharacter(RemoteObject __ref,RemoteObject _charcode) throws Exception{ +try { + Debug.PushSubsStack("DeleteCustomCharacter (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,317); +if (RapidSub.canDelegate("deletecustomcharacter")) { return __ref.runUserSub(false, "escposprinter","deletecustomcharacter", __ref, _charcode);} +RemoteObject _params = null; +Debug.locals.put("charcode", _charcode); + BA.debugLineNum = 317;BA.debugLine="Public Sub DeleteCustomCharacter(charcode As Int)"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 318;BA.debugLine="WriteString(ESC & \"?\")"; +Debug.ShouldStop(536870912); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("?")))); + BA.debugLineNum = 319;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(1073741824); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 320;BA.debugLine="params(0) = charcode"; +Debug.ShouldStop(-2147483648); +_params.setArrayElement (BA.numberCast(byte.class, _charcode),BA.numberCast(int.class, 0)); + BA.debugLineNum = 321;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(1); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 322;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _disconnect(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("DisConnect (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,143); +if (RapidSub.canDelegate("disconnect")) { return __ref.runUserSub(false, "escposprinter","disconnect", __ref);} + BA.debugLineNum = 143;BA.debugLine="Public Sub DisConnect"; +Debug.ShouldStop(16384); + BA.debugLineNum = 144;BA.debugLine="Serial1.Disconnect"; +Debug.ShouldStop(32768); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Disconnect"); + BA.debugLineNum = 145;BA.debugLine="Connected = False"; +Debug.ShouldStop(65536); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"False")); + BA.debugLineNum = 146;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _ditherimage1d(RemoteObject __ref,RemoteObject _img,RemoteObject _threshold) throws Exception{ +try { + Debug.PushSubsStack("DitherImage1D (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,763); +if (RapidSub.canDelegate("ditherimage1d")) { return __ref.runUserSub(false, "escposprinter","ditherimage1d", __ref, _img, _threshold);} +RemoteObject _pixels = null; +RemoteObject _error = RemoteObject.createImmutable(0); +int _y = 0; +int _x = 0; +RemoteObject _lum = RemoteObject.createImmutable(0); +RemoteObject _ret = RemoteObject.declareNull("SHARK2.keymon.com.mx.escposprinter._animage"); +Debug.locals.put("img", _img); +Debug.locals.put("threshold", _threshold); + BA.debugLineNum = 763;BA.debugLine="Sub DitherImage1D(img As AnImage, threshold As Int"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 764;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +Debug.ShouldStop(134217728); +_pixels = RemoteObject.createNewArray ("byte", new int[] {_img.getField(false,"Data" /*RemoteObject*/ ).getField(true,"length").get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 765;BA.debugLine="Dim error As Int"; +Debug.ShouldStop(268435456); +_error = RemoteObject.createImmutable(0);Debug.locals.put("error", _error); + BA.debugLineNum = 766;BA.debugLine="For y = 0 To img.Height - 1"; +Debug.ShouldStop(536870912); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Height" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_y = 0 ; +for (;(step3 > 0 && _y <= limit3) || (step3 < 0 && _y >= limit3) ;_y = ((int)(0 + _y + step3)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 767;BA.debugLine="error = 0 ' reset on each new line"; +Debug.ShouldStop(1073741824); +_error = BA.numberCast(int.class, 0);Debug.locals.put("error", _error); + BA.debugLineNum = 768;BA.debugLine="For x = 0 To img.Width - 1"; +Debug.ShouldStop(-2147483648); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step5 > 0 && _x <= limit5) || (step5 < 0 && _x >= limit5) ;_x = ((int)(0 + _x + step5)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 769;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; +Debug.ShouldStop(1); +_lum = escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, _img.getField(false,"Data" /*RemoteObject*/ ).getArrayElement(true,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(_x)}, "*+",1, 1)))),(Object)(BA.numberCast(int.class, ((int)0xff))));Debug.locals.put("lum", _lum);Debug.locals.put("lum", _lum); + BA.debugLineNum = 770;BA.debugLine="lum = lum + error"; +Debug.ShouldStop(2); +_lum = RemoteObject.solve(new RemoteObject[] {_lum,_error}, "+",1, 1);Debug.locals.put("lum", _lum); + BA.debugLineNum = 771;BA.debugLine="If lum < threshold Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean("<",_lum,BA.numberCast(double.class, _threshold))) { + BA.debugLineNum = 772;BA.debugLine="error = lum"; +Debug.ShouldStop(8); +_error = _lum;Debug.locals.put("error", _error); + BA.debugLineNum = 773;BA.debugLine="lum = 1"; +Debug.ShouldStop(16); +_lum = BA.numberCast(int.class, 1);Debug.locals.put("lum", _lum); + }else { + BA.debugLineNum = 775;BA.debugLine="error = lum - 255"; +Debug.ShouldStop(64); +_error = RemoteObject.solve(new RemoteObject[] {_lum,RemoteObject.createImmutable(255)}, "-",1, 1);Debug.locals.put("error", _error); + BA.debugLineNum = 776;BA.debugLine="lum = 0"; +Debug.ShouldStop(128); +_lum = BA.numberCast(int.class, 0);Debug.locals.put("lum", _lum); + }; + BA.debugLineNum = 778;BA.debugLine="pixels(y*img.Width + x) = lum"; +Debug.ShouldStop(512); +_pixels.setArrayElement (BA.numberCast(byte.class, _lum),RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(_x)}, "*+",1, 1)); + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 781;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(4096); +_ret = RemoteObject.createNew ("SHARK2.keymon.com.mx.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 782;BA.debugLine="ret.Width = img.Width"; +Debug.ShouldStop(8192); +_ret.setField ("Width" /*RemoteObject*/ ,_img.getField(true,"Width" /*RemoteObject*/ )); + BA.debugLineNum = 783;BA.debugLine="ret.Height = img.Height"; +Debug.ShouldStop(16384); +_ret.setField ("Height" /*RemoteObject*/ ,_img.getField(true,"Height" /*RemoteObject*/ )); + BA.debugLineNum = 784;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(32768); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 785;BA.debugLine="Return ret"; +Debug.ShouldStop(65536); +if (true) return _ret; + BA.debugLineNum = 786;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _ditherimage2d(RemoteObject __ref,RemoteObject _img,RemoteObject _threshold) throws Exception{ +try { + Debug.PushSubsStack("DitherImage2D (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,794); +if (RapidSub.canDelegate("ditherimage2d")) { return __ref.runUserSub(false, "escposprinter","ditherimage2d", __ref, _img, _threshold);} +RemoteObject _pixels = null; +RemoteObject _xerror = RemoteObject.createImmutable(0); +RemoteObject _yerrors = null; +int _i = 0; +int _y = 0; +int _x = 0; +RemoteObject _lum = RemoteObject.createImmutable(0); +RemoteObject _ret = RemoteObject.declareNull("SHARK2.keymon.com.mx.escposprinter._animage"); +Debug.locals.put("img", _img); +Debug.locals.put("threshold", _threshold); + BA.debugLineNum = 794;BA.debugLine="Sub DitherImage2D(img As AnImage, threshold As Int"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 795;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +Debug.ShouldStop(67108864); +_pixels = RemoteObject.createNewArray ("byte", new int[] {_img.getField(false,"Data" /*RemoteObject*/ ).getField(true,"length").get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 796;BA.debugLine="Dim xerror As Int"; +Debug.ShouldStop(134217728); +_xerror = RemoteObject.createImmutable(0);Debug.locals.put("xerror", _xerror); + BA.debugLineNum = 797;BA.debugLine="Dim yerrors(img.Width) As Int"; +Debug.ShouldStop(268435456); +_yerrors = RemoteObject.createNewArray ("int", new int[] {_img.getField(true,"Width" /*RemoteObject*/ ).get().intValue()}, new Object[]{});Debug.locals.put("yerrors", _yerrors); + BA.debugLineNum = 798;BA.debugLine="For i = 0 To yerrors.Length -1"; +Debug.ShouldStop(536870912); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_yerrors.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 799;BA.debugLine="yerrors(0) = 0"; +Debug.ShouldStop(1073741824); +_yerrors.setArrayElement (BA.numberCast(int.class, 0),BA.numberCast(int.class, 0)); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 801;BA.debugLine="For y = 0 To img.Height - 1"; +Debug.ShouldStop(1); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Height" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_y = 0 ; +for (;(step7 > 0 && _y <= limit7) || (step7 < 0 && _y >= limit7) ;_y = ((int)(0 + _y + step7)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 802;BA.debugLine="xerror = 0 ' reset on each new line"; +Debug.ShouldStop(2); +_xerror = BA.numberCast(int.class, 0);Debug.locals.put("xerror", _xerror); + BA.debugLineNum = 803;BA.debugLine="For x = 0 To img.Width - 1"; +Debug.ShouldStop(4); +{ +final int step9 = 1; +final int limit9 = RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step9 > 0 && _x <= limit9) || (step9 < 0 && _x >= limit9) ;_x = ((int)(0 + _x + step9)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 804;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; +Debug.ShouldStop(8); +_lum = escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, _img.getField(false,"Data" /*RemoteObject*/ ).getArrayElement(true,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(_x)}, "*+",1, 1)))),(Object)(BA.numberCast(int.class, ((int)0xff))));Debug.locals.put("lum", _lum);Debug.locals.put("lum", _lum); + BA.debugLineNum = 805;BA.debugLine="lum = lum + xerror + yerrors(x)"; +Debug.ShouldStop(16); +_lum = RemoteObject.solve(new RemoteObject[] {_lum,_xerror,_yerrors.getArrayElement(true,BA.numberCast(int.class, _x))}, "++",2, 1);Debug.locals.put("lum", _lum); + BA.debugLineNum = 806;BA.debugLine="If lum < threshold Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("<",_lum,BA.numberCast(double.class, _threshold))) { + BA.debugLineNum = 807;BA.debugLine="xerror = lum/2"; +Debug.ShouldStop(64); +_xerror = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_lum,RemoteObject.createImmutable(2)}, "/",0, 0));Debug.locals.put("xerror", _xerror); + BA.debugLineNum = 808;BA.debugLine="yerrors(x) = xerror"; +Debug.ShouldStop(128); +_yerrors.setArrayElement (_xerror,BA.numberCast(int.class, _x)); + BA.debugLineNum = 809;BA.debugLine="lum = 1"; +Debug.ShouldStop(256); +_lum = BA.numberCast(int.class, 1);Debug.locals.put("lum", _lum); + }else { + BA.debugLineNum = 811;BA.debugLine="xerror = (lum - 255)/2"; +Debug.ShouldStop(1024); +_xerror = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_lum,RemoteObject.createImmutable(255)}, "-",1, 1)),RemoteObject.createImmutable(2)}, "/",0, 0));Debug.locals.put("xerror", _xerror); + BA.debugLineNum = 812;BA.debugLine="yerrors(x) = xerror"; +Debug.ShouldStop(2048); +_yerrors.setArrayElement (_xerror,BA.numberCast(int.class, _x)); + BA.debugLineNum = 813;BA.debugLine="lum = 0"; +Debug.ShouldStop(4096); +_lum = BA.numberCast(int.class, 0);Debug.locals.put("lum", _lum); + }; + BA.debugLineNum = 815;BA.debugLine="pixels(y*img.Width + x) = lum"; +Debug.ShouldStop(16384); +_pixels.setArrayElement (BA.numberCast(byte.class, _lum),RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(_x)}, "*+",1, 1)); + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 818;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(131072); +_ret = RemoteObject.createNew ("SHARK2.keymon.com.mx.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 819;BA.debugLine="ret.Width = img.Width"; +Debug.ShouldStop(262144); +_ret.setField ("Width" /*RemoteObject*/ ,_img.getField(true,"Width" /*RemoteObject*/ )); + BA.debugLineNum = 820;BA.debugLine="ret.Height = img.Height"; +Debug.ShouldStop(524288); +_ret.setField ("Height" /*RemoteObject*/ ,_img.getField(true,"Height" /*RemoteObject*/ )); + BA.debugLineNum = 821;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(1048576); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 822;BA.debugLine="Return ret"; +Debug.ShouldStop(2097152); +if (true) return _ret; + BA.debugLineNum = 823;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _filltriangle(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _x2,RemoteObject _y2,RemoteObject _points) throws Exception{ +try { + Debug.PushSubsStack("FillTriangle (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,544); +if (RapidSub.canDelegate("filltriangle")) { return __ref.runUserSub(false, "escposprinter","filltriangle", __ref, _x0, _y0, _x1, _y1, _x2, _y2, _points);} +RemoteObject _tx = RemoteObject.createImmutable(0); +RemoteObject _ty = RemoteObject.createImmutable(0); +RemoteObject _dx0 = RemoteObject.createImmutable(0); +RemoteObject _dx1 = RemoteObject.createImmutable(0); +RemoteObject _dx2 = RemoteObject.createImmutable(0); +RemoteObject _x3 = RemoteObject.createImmutable(0); +RemoteObject _x4 = RemoteObject.createImmutable(0); +RemoteObject _y3 = RemoteObject.createImmutable(0); +RemoteObject _y4 = RemoteObject.createImmutable(0); +RemoteObject _inc = RemoteObject.createImmutable(0); +int _x = 0; +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("x2", _x2); +Debug.locals.put("y2", _y2); +Debug.locals.put("points", _points); + BA.debugLineNum = 544;BA.debugLine="Private Sub FillTriangle(x0 As Int, y0 As Int, x1"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 546;BA.debugLine="Dim tx, ty As Int"; +Debug.ShouldStop(2); +_tx = RemoteObject.createImmutable(0);Debug.locals.put("tx", _tx); +_ty = RemoteObject.createImmutable(0);Debug.locals.put("ty", _ty); + BA.debugLineNum = 547;BA.debugLine="If y0 > y1 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_y0,BA.numberCast(double.class, _y1))) { + BA.debugLineNum = 548;BA.debugLine="tx = x0 : ty = y0"; +Debug.ShouldStop(8); +_tx = _x0;Debug.locals.put("tx", _tx); + BA.debugLineNum = 548;BA.debugLine="tx = x0 : ty = y0"; +Debug.ShouldStop(8); +_ty = _y0;Debug.locals.put("ty", _ty); + BA.debugLineNum = 549;BA.debugLine="x0 = x1 : y0 = y1"; +Debug.ShouldStop(16); +_x0 = _x1;Debug.locals.put("x0", _x0); + BA.debugLineNum = 549;BA.debugLine="x0 = x1 : y0 = y1"; +Debug.ShouldStop(16); +_y0 = _y1;Debug.locals.put("y0", _y0); + BA.debugLineNum = 550;BA.debugLine="x1 = tx : y1 = ty"; +Debug.ShouldStop(32); +_x1 = _tx;Debug.locals.put("x1", _x1); + BA.debugLineNum = 550;BA.debugLine="x1 = tx : y1 = ty"; +Debug.ShouldStop(32); +_y1 = _ty;Debug.locals.put("y1", _y1); + }; + BA.debugLineNum = 552;BA.debugLine="If y0 > y2 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_y0,BA.numberCast(double.class, _y2))) { + BA.debugLineNum = 553;BA.debugLine="tx = x0 : ty = y0"; +Debug.ShouldStop(256); +_tx = _x0;Debug.locals.put("tx", _tx); + BA.debugLineNum = 553;BA.debugLine="tx = x0 : ty = y0"; +Debug.ShouldStop(256); +_ty = _y0;Debug.locals.put("ty", _ty); + BA.debugLineNum = 554;BA.debugLine="x0 = x2 : y0 = y2"; +Debug.ShouldStop(512); +_x0 = _x2;Debug.locals.put("x0", _x0); + BA.debugLineNum = 554;BA.debugLine="x0 = x2 : y0 = y2"; +Debug.ShouldStop(512); +_y0 = _y2;Debug.locals.put("y0", _y0); + BA.debugLineNum = 555;BA.debugLine="x2 = tx : y2 = ty"; +Debug.ShouldStop(1024); +_x2 = _tx;Debug.locals.put("x2", _x2); + BA.debugLineNum = 555;BA.debugLine="x2 = tx : y2 = ty"; +Debug.ShouldStop(1024); +_y2 = _ty;Debug.locals.put("y2", _y2); + }; + BA.debugLineNum = 557;BA.debugLine="If y1 > y2 Then"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(">",_y1,BA.numberCast(double.class, _y2))) { + BA.debugLineNum = 558;BA.debugLine="tx = x1 : ty = y1"; +Debug.ShouldStop(8192); +_tx = _x1;Debug.locals.put("tx", _tx); + BA.debugLineNum = 558;BA.debugLine="tx = x1 : ty = y1"; +Debug.ShouldStop(8192); +_ty = _y1;Debug.locals.put("ty", _ty); + BA.debugLineNum = 559;BA.debugLine="x1 = x2 : y1 = y2"; +Debug.ShouldStop(16384); +_x1 = _x2;Debug.locals.put("x1", _x1); + BA.debugLineNum = 559;BA.debugLine="x1 = x2 : y1 = y2"; +Debug.ShouldStop(16384); +_y1 = _y2;Debug.locals.put("y1", _y1); + BA.debugLineNum = 560;BA.debugLine="x2 = tx : y2 = ty"; +Debug.ShouldStop(32768); +_x2 = _tx;Debug.locals.put("x2", _x2); + BA.debugLineNum = 560;BA.debugLine="x2 = tx : y2 = ty"; +Debug.ShouldStop(32768); +_y2 = _ty;Debug.locals.put("y2", _y2); + }; + BA.debugLineNum = 563;BA.debugLine="Dim dx0, dx1, dx2 As Double"; +Debug.ShouldStop(262144); +_dx0 = RemoteObject.createImmutable(0);Debug.locals.put("dx0", _dx0); +_dx1 = RemoteObject.createImmutable(0);Debug.locals.put("dx1", _dx1); +_dx2 = RemoteObject.createImmutable(0);Debug.locals.put("dx2", _dx2); + BA.debugLineNum = 564;BA.debugLine="Dim x3, x4, y3, y4 As Double"; +Debug.ShouldStop(524288); +_x3 = RemoteObject.createImmutable(0);Debug.locals.put("x3", _x3); +_x4 = RemoteObject.createImmutable(0);Debug.locals.put("x4", _x4); +_y3 = RemoteObject.createImmutable(0);Debug.locals.put("y3", _y3); +_y4 = RemoteObject.createImmutable(0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 565;BA.debugLine="Dim inc As Int"; +Debug.ShouldStop(1048576); +_inc = RemoteObject.createImmutable(0);Debug.locals.put("inc", _inc); + BA.debugLineNum = 567;BA.debugLine="If y1 - y0 > 0 Then dx0=(x1-x0)/(y1-y0) Else dx0="; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_y1,_y0}, "-",1, 1),BA.numberCast(double.class, 0))) { +_dx0 = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_x1,_x0}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {_y1,_y0}, "-",1, 1))}, "/",0, 0);Debug.locals.put("dx0", _dx0);} +else { +_dx0 = BA.numberCast(double.class, 0);Debug.locals.put("dx0", _dx0);}; + BA.debugLineNum = 568;BA.debugLine="If y2 - y0 > 0 Then dx1=(x2-x0)/(y2-y0) Else dx1="; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_y2,_y0}, "-",1, 1),BA.numberCast(double.class, 0))) { +_dx1 = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_x2,_x0}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {_y2,_y0}, "-",1, 1))}, "/",0, 0);Debug.locals.put("dx1", _dx1);} +else { +_dx1 = BA.numberCast(double.class, 0);Debug.locals.put("dx1", _dx1);}; + BA.debugLineNum = 569;BA.debugLine="If y2 - y1 > 0 Then dx2=(x2-x1)/(y2-y1) Else dx2="; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean(">",RemoteObject.solve(new RemoteObject[] {_y2,_y1}, "-",1, 1),BA.numberCast(double.class, 0))) { +_dx2 = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_x2,_x1}, "-",1, 1)),(RemoteObject.solve(new RemoteObject[] {_y2,_y1}, "-",1, 1))}, "/",0, 0);Debug.locals.put("dx2", _dx2);} +else { +_dx2 = BA.numberCast(double.class, 0);Debug.locals.put("dx2", _dx2);}; + BA.debugLineNum = 570;BA.debugLine="x3 = x0 : x4 = x0"; +Debug.ShouldStop(33554432); +_x3 = BA.numberCast(double.class, _x0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 570;BA.debugLine="x3 = x0 : x4 = x0"; +Debug.ShouldStop(33554432); +_x4 = BA.numberCast(double.class, _x0);Debug.locals.put("x4", _x4); + BA.debugLineNum = 571;BA.debugLine="y3 = y0 : y4 = y0"; +Debug.ShouldStop(67108864); +_y3 = BA.numberCast(double.class, _y0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 571;BA.debugLine="y3 = y0 : y4 = y0"; +Debug.ShouldStop(67108864); +_y4 = BA.numberCast(double.class, _y0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 572;BA.debugLine="If dx0 > dx1 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",_dx0,_dx1)) { + BA.debugLineNum = 573;BA.debugLine="While"; +Debug.ShouldStop(268435456); +escposprinter.__c.runVoidMethod ("While"); + BA.debugLineNum = 574;BA.debugLine="Do While y3 <= y1"; +Debug.ShouldStop(536870912); +while (RemoteObject.solveBoolean("k",_y3,BA.numberCast(double.class, _y1))) { + BA.debugLineNum = 575;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_x3,_x4)) { +_inc = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("inc", _inc);} +else { +_inc = BA.numberCast(int.class, 1);Debug.locals.put("inc", _inc);}; + BA.debugLineNum = 576;BA.debugLine="For x = x3 To x4 Step inc"; +Debug.ShouldStop(-2147483648); +{ +final int step40 = _inc.get().intValue(); +final int limit40 = (int) (0 + _x4.get().doubleValue()); +_x = (int) (0 + _x3.get().doubleValue()) ; +for (;(step40 > 0 && _x <= limit40) || (step40 < 0 && _x >= limit40) ;_x = ((int)(0 + _x + step40)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 577;BA.debugLine="points(x, y3) = 1"; +Debug.ShouldStop(1); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y3)); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(4); +_y3 = RemoteObject.solve(new RemoteObject[] {_y3,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(4); +_y4 = RemoteObject.solve(new RemoteObject[] {_y4,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(4); +_x3 = RemoteObject.solve(new RemoteObject[] {_x3,_dx1}, "+",1, 0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(4); +_x4 = RemoteObject.solve(new RemoteObject[] {_x4,_dx0}, "+",1, 0);Debug.locals.put("x4", _x4); + } +; + BA.debugLineNum = 581;BA.debugLine="x4=x1"; +Debug.ShouldStop(16); +_x4 = BA.numberCast(double.class, _x1);Debug.locals.put("x4", _x4); + BA.debugLineNum = 582;BA.debugLine="y4=y1"; +Debug.ShouldStop(32); +_y4 = BA.numberCast(double.class, _y1);Debug.locals.put("y4", _y4); + BA.debugLineNum = 583;BA.debugLine="Do While y3 <= y2"; +Debug.ShouldStop(64); +while (RemoteObject.solveBoolean("k",_y3,BA.numberCast(double.class, _y2))) { + BA.debugLineNum = 584;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_x3,_x4)) { +_inc = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("inc", _inc);} +else { +_inc = BA.numberCast(int.class, 1);Debug.locals.put("inc", _inc);}; + BA.debugLineNum = 585;BA.debugLine="For x = x3 To x4 Step inc"; +Debug.ShouldStop(256); +{ +final int step52 = _inc.get().intValue(); +final int limit52 = (int) (0 + _x4.get().doubleValue()); +_x = (int) (0 + _x3.get().doubleValue()) ; +for (;(step52 > 0 && _x <= limit52) || (step52 < 0 && _x >= limit52) ;_x = ((int)(0 + _x + step52)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 586;BA.debugLine="points(x ,y3) = 1"; +Debug.ShouldStop(512); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y3)); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(2048); +_y3 = RemoteObject.solve(new RemoteObject[] {_y3,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(2048); +_y4 = RemoteObject.solve(new RemoteObject[] {_y4,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(2048); +_x3 = RemoteObject.solve(new RemoteObject[] {_x3,_dx1}, "+",1, 0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +Debug.ShouldStop(2048); +_x4 = RemoteObject.solve(new RemoteObject[] {_x4,_dx2}, "+",1, 0);Debug.locals.put("x4", _x4); + } +; + }else { + BA.debugLineNum = 591;BA.debugLine="While"; +Debug.ShouldStop(16384); +escposprinter.__c.runVoidMethod ("While"); + BA.debugLineNum = 592;BA.debugLine="Do While y3 <= y1"; +Debug.ShouldStop(32768); +while (RemoteObject.solveBoolean("k",_y3,BA.numberCast(double.class, _y1))) { + BA.debugLineNum = 593;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",_x3,_x4)) { +_inc = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("inc", _inc);} +else { +_inc = BA.numberCast(int.class, 1);Debug.locals.put("inc", _inc);}; + BA.debugLineNum = 594;BA.debugLine="For x = x3 To x4 Step inc"; +Debug.ShouldStop(131072); +{ +final int step64 = _inc.get().intValue(); +final int limit64 = (int) (0 + _x4.get().doubleValue()); +_x = (int) (0 + _x3.get().doubleValue()) ; +for (;(step64 > 0 && _x <= limit64) || (step64 < 0 && _x >= limit64) ;_x = ((int)(0 + _x + step64)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 595;BA.debugLine="points(x, y3) = 1"; +Debug.ShouldStop(262144); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y3)); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +Debug.ShouldStop(1048576); +_y3 = RemoteObject.solve(new RemoteObject[] {_y3,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +Debug.ShouldStop(1048576); +_y4 = RemoteObject.solve(new RemoteObject[] {_y4,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +Debug.ShouldStop(1048576); +_x3 = RemoteObject.solve(new RemoteObject[] {_x3,_dx0}, "+",1, 0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +Debug.ShouldStop(1048576); +_x4 = RemoteObject.solve(new RemoteObject[] {_x4,_dx1}, "+",1, 0);Debug.locals.put("x4", _x4); + } +; + BA.debugLineNum = 599;BA.debugLine="x3=x1"; +Debug.ShouldStop(4194304); +_x3 = BA.numberCast(double.class, _x1);Debug.locals.put("x3", _x3); + BA.debugLineNum = 600;BA.debugLine="y3=y1"; +Debug.ShouldStop(8388608); +_y3 = BA.numberCast(double.class, _y1);Debug.locals.put("y3", _y3); + BA.debugLineNum = 601;BA.debugLine="Do While y3<=y2"; +Debug.ShouldStop(16777216); +while (RemoteObject.solveBoolean("k",_y3,BA.numberCast(double.class, _y2))) { + BA.debugLineNum = 602;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_x3,_x4)) { +_inc = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("inc", _inc);} +else { +_inc = BA.numberCast(int.class, 1);Debug.locals.put("inc", _inc);}; + BA.debugLineNum = 603;BA.debugLine="For x = x3 To x4 Step inc"; +Debug.ShouldStop(67108864); +{ +final int step76 = _inc.get().intValue(); +final int limit76 = (int) (0 + _x4.get().doubleValue()); +_x = (int) (0 + _x3.get().doubleValue()) ; +for (;(step76 > 0 && _x <= limit76) || (step76 < 0 && _x >= limit76) ;_x = ((int)(0 + _x + step76)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 604;BA.debugLine="points(x, y3) = 1"; +Debug.ShouldStop(134217728); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),BA.numberCast(int.class, _y3)); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +Debug.ShouldStop(536870912); +_y3 = RemoteObject.solve(new RemoteObject[] {_y3,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y3", _y3); + BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +Debug.ShouldStop(536870912); +_y4 = RemoteObject.solve(new RemoteObject[] {_y4,RemoteObject.createImmutable(1)}, "+",1, 0);Debug.locals.put("y4", _y4); + BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +Debug.ShouldStop(536870912); +_x3 = RemoteObject.solve(new RemoteObject[] {_x3,_dx2}, "+",1, 0);Debug.locals.put("x3", _x3); + BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +Debug.ShouldStop(536870912); +_x4 = RemoteObject.solve(new RemoteObject[] {_x4,_dx1}, "+",1, 0);Debug.locals.put("x4", _x4); + } +; + }; + BA.debugLineNum = 609;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _imagetobwimage(RemoteObject __ref,RemoteObject _bmp) throws Exception{ +try { + Debug.PushSubsStack("ImageToBWIMage (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,713); +if (RapidSub.canDelegate("imagetobwimage")) { return __ref.runUserSub(false, "escposprinter","imagetobwimage", __ref, _bmp);} +RemoteObject _bc = RemoteObject.declareNull("b4a.example.bitmapcreator"); +RemoteObject _w = RemoteObject.createImmutable(0); +RemoteObject _h = RemoteObject.createImmutable(0); +RemoteObject _pixels = null; +int _y = 0; +int _x = 0; +RemoteObject _j = RemoteObject.createImmutable(0); +RemoteObject _col = RemoteObject.declareNull("b4a.example.bitmapcreator._argbcolor"); +RemoteObject _lum = RemoteObject.createImmutable(0); +RemoteObject _ret = RemoteObject.declareNull("SHARK2.keymon.com.mx.escposprinter._animage"); +Debug.locals.put("bmp", _bmp); + BA.debugLineNum = 713;BA.debugLine="Sub ImageToBWIMage(bmp As Bitmap) As AnImage"; +Debug.ShouldStop(256); + BA.debugLineNum = 714;BA.debugLine="Dim BC As BitmapCreator 'ignore"; +Debug.ShouldStop(512); +_bc = RemoteObject.createNew ("b4a.example.bitmapcreator");Debug.locals.put("BC", _bc); + BA.debugLineNum = 715;BA.debugLine="Dim W As Int = bmp.Width"; +Debug.ShouldStop(1024); +_w = _bmp.runMethod(true,"getWidth");Debug.locals.put("W", _w);Debug.locals.put("W", _w); + BA.debugLineNum = 716;BA.debugLine="Dim H As Int = bmp.Height"; +Debug.ShouldStop(2048); +_h = _bmp.runMethod(true,"getHeight");Debug.locals.put("H", _h);Debug.locals.put("H", _h); + BA.debugLineNum = 717;BA.debugLine="Dim pixels(W * H) As Byte"; +Debug.ShouldStop(4096); +_pixels = RemoteObject.createNewArray ("byte", new int[] {RemoteObject.solve(new RemoteObject[] {_w,_h}, "*",0, 1).get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 719;BA.debugLine="For y = 0 To H - 1"; +Debug.ShouldStop(16384); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_h,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_y = 0 ; +for (;(step5 > 0 && _y <= limit5) || (step5 < 0 && _y >= limit5) ;_y = ((int)(0 + _y + step5)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 720;BA.debugLine="For x = 0 To W - 1"; +Debug.ShouldStop(32768); +{ +final int step6 = 1; +final int limit6 = RemoteObject.solve(new RemoteObject[] {_w,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step6 > 0 && _x <= limit6) || (step6 < 0 && _x >= limit6) ;_x = ((int)(0 + _x + step6)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 721;BA.debugLine="Dim j As Int = bmp.GetPixel(x, y)"; +Debug.ShouldStop(65536); +_j = _bmp.runMethod(true,"GetPixel",(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)));Debug.locals.put("j", _j);Debug.locals.put("j", _j); + BA.debugLineNum = 723;BA.debugLine="Dim col As ARGBColor"; +Debug.ShouldStop(262144); +_col = RemoteObject.createNew ("b4a.example.bitmapcreator._argbcolor");Debug.locals.put("col", _col); + BA.debugLineNum = 724;BA.debugLine="BC.ColorToARGB(j, col )"; +Debug.ShouldStop(524288); +_bc.runVoidMethod ("_colortoargb",(Object)(_j),(Object)(_col)); + BA.debugLineNum = 725;BA.debugLine="Dim lum As Int = col.r * 0.2 + col.b*0.1 + col."; +Debug.ShouldStop(1048576); +_lum = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_col.getField(true,"r"),RemoteObject.createImmutable(0.2),_col.getField(true,"b"),RemoteObject.createImmutable(0.1),_col.getField(true,"g"),RemoteObject.createImmutable(0.7)}, "*+*+*",2, 0));Debug.locals.put("lum", _lum);Debug.locals.put("lum", _lum); + BA.debugLineNum = 726;BA.debugLine="If lum> 255 Then lum = 255"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_lum,BA.numberCast(double.class, 255))) { +_lum = BA.numberCast(int.class, 255);Debug.locals.put("lum", _lum);}; + BA.debugLineNum = 728;BA.debugLine="pixels(y*W + x) = lum"; +Debug.ShouldStop(8388608); +_pixels.setArrayElement (BA.numberCast(byte.class, _lum),RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),_w,RemoteObject.createImmutable(_x)}, "*+",1, 1)); + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 731;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(67108864); +_ret = RemoteObject.createNew ("SHARK2.keymon.com.mx.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 732;BA.debugLine="ret.Width = bmp.Width"; +Debug.ShouldStop(134217728); +_ret.setField ("Width" /*RemoteObject*/ ,_bmp.runMethod(true,"getWidth")); + BA.debugLineNum = 733;BA.debugLine="ret.Height = bmp.Height"; +Debug.ShouldStop(268435456); +_ret.setField ("Height" /*RemoteObject*/ ,_bmp.runMethod(true,"getHeight")); + BA.debugLineNum = 734;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(536870912); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 735;BA.debugLine="Return ret"; +Debug.ShouldStop(1073741824); +if (true) return _ret; + BA.debugLineNum = 736;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _vcallback,RemoteObject _veventname) throws Exception{ +try { + Debug.PushSubsStack("Initialize (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,75); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "escposprinter","initialize", __ref, _ba, _vcallback, _veventname);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("vCallback", _vcallback); +Debug.locals.put("vEventName", _veventname); + BA.debugLineNum = 75;BA.debugLine="Public Sub Initialize(vCallback As Object, vEventN"; +Debug.ShouldStop(1024); + BA.debugLineNum = 76;BA.debugLine="EventName = vEventName"; +Debug.ShouldStop(2048); +__ref.setField ("_eventname" /*RemoteObject*/ ,_veventname); + BA.debugLineNum = 77;BA.debugLine="CallBack = vCallback"; +Debug.ShouldStop(4096); +__ref.setField ("_callback" /*RemoteObject*/ ,_vcallback); + BA.debugLineNum = 78;BA.debugLine="Serial1.Initialize(\"Serial1\")"; +Debug.ShouldStop(8192); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("Serial1"))); + BA.debugLineNum = 79;BA.debugLine="Connected = False"; +Debug.ShouldStop(16384); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"False")); + BA.debugLineNum = 80;BA.debugLine="ConnectedError = \"\""; +Debug.ShouldStop(32768); +__ref.setField ("_connectederror" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 81;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isbluetoothon(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("IsBluetoothOn (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,94); +if (RapidSub.canDelegate("isbluetoothon")) { return __ref.runUserSub(false, "escposprinter","isbluetoothon", __ref);} + BA.debugLineNum = 94;BA.debugLine="Public Sub IsBluetoothOn As Boolean"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 95;BA.debugLine="Return Serial1.IsEnabled"; +Debug.ShouldStop(1073741824); +if (true) return __ref.getField(false,"_serial1" /*RemoteObject*/ ).runMethod(true,"IsEnabled"); + BA.debugLineNum = 96;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isconnected(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("IsConnected (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,89); +if (RapidSub.canDelegate("isconnected")) { return __ref.runUserSub(false, "escposprinter","isconnected", __ref);} + BA.debugLineNum = 89;BA.debugLine="Public Sub IsConnected As Boolean"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 90;BA.debugLine="Return Connected"; +Debug.ShouldStop(33554432); +if (true) return __ref.getField(true,"_connected" /*RemoteObject*/ ); + BA.debugLineNum = 91;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _packimage(RemoteObject __ref,RemoteObject _imagedata) throws Exception{ +try { + Debug.PushSubsStack("PackImage (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,865); +if (RapidSub.canDelegate("packimage")) { return __ref.runUserSub(false, "escposprinter","packimage", __ref, _imagedata);} +RemoteObject _xbytes = RemoteObject.createImmutable(0); +RemoteObject _pixels = null; +RemoteObject _masks = null; +RemoteObject _index = RemoteObject.createImmutable(0); +int _y = 0; +int _x = 0; +RemoteObject _xbyte = RemoteObject.createImmutable((byte)0); +int _b = 0; +RemoteObject _pix = RemoteObject.createImmutable((byte)0); +RemoteObject _ret = RemoteObject.declareNull("SHARK2.keymon.com.mx.escposprinter._animage"); +Debug.locals.put("imagedata", _imagedata); + BA.debugLineNum = 865;BA.debugLine="Public Sub PackImage(imagedata As AnImage) As AnIm"; +Debug.ShouldStop(1); + BA.debugLineNum = 866;BA.debugLine="Dim xbytes As Int = imagedata.width/8"; +Debug.ShouldStop(2); +_xbytes = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_imagedata.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(8)}, "/",0, 0));Debug.locals.put("xbytes", _xbytes);Debug.locals.put("xbytes", _xbytes); + BA.debugLineNum = 867;BA.debugLine="Dim pixels(xbytes * imagedata.height) As Byte"; +Debug.ShouldStop(4); +_pixels = RemoteObject.createNewArray ("byte", new int[] {RemoteObject.solve(new RemoteObject[] {_xbytes,_imagedata.getField(true,"Height" /*RemoteObject*/ )}, "*",0, 1).get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 868;BA.debugLine="Dim masks(8) As Byte"; +Debug.ShouldStop(8); +_masks = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("masks", _masks); + BA.debugLineNum = 869;BA.debugLine="masks(0) = 0x80"; +Debug.ShouldStop(16); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x80)),BA.numberCast(int.class, 0)); + BA.debugLineNum = 870;BA.debugLine="masks(1) = 0x40"; +Debug.ShouldStop(32); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x40)),BA.numberCast(int.class, 1)); + BA.debugLineNum = 871;BA.debugLine="masks(2) = 0x20"; +Debug.ShouldStop(64); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x20)),BA.numberCast(int.class, 2)); + BA.debugLineNum = 872;BA.debugLine="masks(3) = 0x10"; +Debug.ShouldStop(128); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x10)),BA.numberCast(int.class, 3)); + BA.debugLineNum = 873;BA.debugLine="masks(4) = 0x08"; +Debug.ShouldStop(256); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x08)),BA.numberCast(int.class, 4)); + BA.debugLineNum = 874;BA.debugLine="masks(5) = 0x04"; +Debug.ShouldStop(512); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x04)),BA.numberCast(int.class, 5)); + BA.debugLineNum = 875;BA.debugLine="masks(6) = 0x02"; +Debug.ShouldStop(1024); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x02)),BA.numberCast(int.class, 6)); + BA.debugLineNum = 876;BA.debugLine="masks(7) = 0x01"; +Debug.ShouldStop(2048); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x01)),BA.numberCast(int.class, 7)); + BA.debugLineNum = 877;BA.debugLine="Dim index As Int = 0"; +Debug.ShouldStop(4096); +_index = BA.numberCast(int.class, 0);Debug.locals.put("index", _index);Debug.locals.put("index", _index); + BA.debugLineNum = 878;BA.debugLine="For y = 0 To imagedata.Height - 1"; +Debug.ShouldStop(8192); +{ +final int step13 = 1; +final int limit13 = RemoteObject.solve(new RemoteObject[] {_imagedata.getField(true,"Height" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_y = 0 ; +for (;(step13 > 0 && _y <= limit13) || (step13 < 0 && _y >= limit13) ;_y = ((int)(0 + _y + step13)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 879;BA.debugLine="For x = 0 To xbytes - 1"; +Debug.ShouldStop(16384); +{ +final int step14 = 1; +final int limit14 = RemoteObject.solve(new RemoteObject[] {_xbytes,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step14 > 0 && _x <= limit14) || (step14 < 0 && _x >= limit14) ;_x = ((int)(0 + _x + step14)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 880;BA.debugLine="Dim xbyte As Byte = 0"; +Debug.ShouldStop(32768); +_xbyte = BA.numberCast(byte.class, 0);Debug.locals.put("xbyte", _xbyte);Debug.locals.put("xbyte", _xbyte); + BA.debugLineNum = 881;BA.debugLine="For b = 0 To 7"; +Debug.ShouldStop(65536); +{ +final int step16 = 1; +final int limit16 = 7; +_b = 0 ; +for (;(step16 > 0 && _b <= limit16) || (step16 < 0 && _b >= limit16) ;_b = ((int)(0 + _b + step16)) ) { +Debug.locals.put("b", _b); + BA.debugLineNum = 883;BA.debugLine="Dim pix As Byte = imagedata.Data(index)"; +Debug.ShouldStop(262144); +_pix = _imagedata.getField(false,"Data" /*RemoteObject*/ ).getArrayElement(true,_index);Debug.locals.put("pix", _pix);Debug.locals.put("pix", _pix); + BA.debugLineNum = 884;BA.debugLine="If pix <> 0 Then"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean("!",_pix,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 885;BA.debugLine="xbyte = xbyte + masks(b)"; +Debug.ShouldStop(1048576); +_xbyte = BA.numberCast(byte.class, RemoteObject.solve(new RemoteObject[] {_xbyte,_masks.getArrayElement(true,BA.numberCast(int.class, _b))}, "+",1, 1));Debug.locals.put("xbyte", _xbyte); + }; + BA.debugLineNum = 887;BA.debugLine="index = index + 1"; +Debug.ShouldStop(4194304); +_index = RemoteObject.solve(new RemoteObject[] {_index,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("index", _index); + } +}Debug.locals.put("b", _b); +; + BA.debugLineNum = 889;BA.debugLine="pixels(y*xbytes + x) = xbyte"; +Debug.ShouldStop(16777216); +_pixels.setArrayElement (_xbyte,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_y),_xbytes,RemoteObject.createImmutable(_x)}, "*+",1, 1)); + } +}Debug.locals.put("x", _x); +; + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 892;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(134217728); +_ret = RemoteObject.createNew ("SHARK2.keymon.com.mx.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 893;BA.debugLine="ret.Width = xbytes"; +Debug.ShouldStop(268435456); +_ret.setField ("Width" /*RemoteObject*/ ,_xbytes); + BA.debugLineNum = 894;BA.debugLine="ret.Height = imagedata.Height"; +Debug.ShouldStop(536870912); +_ret.setField ("Height" /*RemoteObject*/ ,_imagedata.getField(true,"Height" /*RemoteObject*/ )); + BA.debugLineNum = 895;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(1073741824); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 896;BA.debugLine="Return ret"; +Debug.ShouldStop(-2147483648); +if (true) return _ret; + BA.debugLineNum = 897;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _packimageslice(RemoteObject __ref,RemoteObject _img,RemoteObject _slice,RemoteObject _dots24) throws Exception{ +try { + Debug.PushSubsStack("PackImageSlice (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,963); +if (RapidSub.canDelegate("packimageslice")) { return __ref.runUserSub(false, "escposprinter","packimageslice", __ref, _img, _slice, _dots24);} +RemoteObject _bytes = RemoteObject.createImmutable(0); +RemoteObject _pixels = null; +RemoteObject _slicestart = RemoteObject.createImmutable(0); +RemoteObject _masks = null; +int _x = 0; +int _s = 0; +RemoteObject _xbyte = RemoteObject.createImmutable((byte)0); +int _b = 0; +RemoteObject _pix = RemoteObject.createImmutable((byte)0); +Debug.locals.put("img", _img); +Debug.locals.put("slice", _slice); +Debug.locals.put("dots24", _dots24); + BA.debugLineNum = 963;BA.debugLine="Public Sub PackImageSlice(img As AnImage, slice As"; +Debug.ShouldStop(4); + BA.debugLineNum = 964;BA.debugLine="Dim bytes As Int = img.width"; +Debug.ShouldStop(8); +_bytes = _img.getField(true,"Width" /*RemoteObject*/ );Debug.locals.put("bytes", _bytes);Debug.locals.put("bytes", _bytes); + BA.debugLineNum = 965;BA.debugLine="If dots24 Then"; +Debug.ShouldStop(16); +if (_dots24.get().booleanValue()) { + BA.debugLineNum = 966;BA.debugLine="Dim pixels(bytes * 3) As Byte"; +Debug.ShouldStop(32); +_pixels = RemoteObject.createNewArray ("byte", new int[] {RemoteObject.solve(new RemoteObject[] {_bytes,RemoteObject.createImmutable(3)}, "*",0, 1).get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 967;BA.debugLine="Dim slicestart As Int = slice * bytes * 8 * 3"; +Debug.ShouldStop(64); +_slicestart = RemoteObject.solve(new RemoteObject[] {_slice,_bytes,RemoteObject.createImmutable(8),RemoteObject.createImmutable(3)}, "***",0, 1);Debug.locals.put("slicestart", _slicestart);Debug.locals.put("slicestart", _slicestart); + }else { + BA.debugLineNum = 969;BA.debugLine="Dim pixels(bytes) As Byte"; +Debug.ShouldStop(256); +_pixels = RemoteObject.createNewArray ("byte", new int[] {_bytes.get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 970;BA.debugLine="Dim slicestart As Int = slice * bytes * 8"; +Debug.ShouldStop(512); +_slicestart = RemoteObject.solve(new RemoteObject[] {_slice,_bytes,RemoteObject.createImmutable(8)}, "**",0, 1);Debug.locals.put("slicestart", _slicestart);Debug.locals.put("slicestart", _slicestart); + }; + BA.debugLineNum = 973;BA.debugLine="Dim masks(8) As Byte"; +Debug.ShouldStop(4096); +_masks = RemoteObject.createNewArray ("byte", new int[] {8}, new Object[]{});Debug.locals.put("masks", _masks); + BA.debugLineNum = 974;BA.debugLine="masks(0) = 0x80"; +Debug.ShouldStop(8192); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x80)),BA.numberCast(int.class, 0)); + BA.debugLineNum = 975;BA.debugLine="masks(1) = 0x40"; +Debug.ShouldStop(16384); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x40)),BA.numberCast(int.class, 1)); + BA.debugLineNum = 976;BA.debugLine="masks(2) = 0x20"; +Debug.ShouldStop(32768); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x20)),BA.numberCast(int.class, 2)); + BA.debugLineNum = 977;BA.debugLine="masks(3) = 0x10"; +Debug.ShouldStop(65536); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x10)),BA.numberCast(int.class, 3)); + BA.debugLineNum = 978;BA.debugLine="masks(4) = 0x08"; +Debug.ShouldStop(131072); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x08)),BA.numberCast(int.class, 4)); + BA.debugLineNum = 979;BA.debugLine="masks(5) = 0x04"; +Debug.ShouldStop(262144); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x04)),BA.numberCast(int.class, 5)); + BA.debugLineNum = 980;BA.debugLine="masks(6) = 0x02"; +Debug.ShouldStop(524288); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x02)),BA.numberCast(int.class, 6)); + BA.debugLineNum = 981;BA.debugLine="masks(7) = 0x01"; +Debug.ShouldStop(1048576); +_masks.setArrayElement (BA.numberCast(byte.class, ((int)0x01)),BA.numberCast(int.class, 7)); + BA.debugLineNum = 983;BA.debugLine="If dots24 Then"; +Debug.ShouldStop(4194304); +if (_dots24.get().booleanValue()) { + BA.debugLineNum = 984;BA.debugLine="For x = 0 To bytes - 1"; +Debug.ShouldStop(8388608); +{ +final int step19 = 1; +final int limit19 = RemoteObject.solve(new RemoteObject[] {_bytes,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step19 > 0 && _x <= limit19) || (step19 < 0 && _x >= limit19) ;_x = ((int)(0 + _x + step19)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 985;BA.debugLine="For s = 0 To 2"; +Debug.ShouldStop(16777216); +{ +final int step20 = 1; +final int limit20 = 2; +_s = 0 ; +for (;(step20 > 0 && _s <= limit20) || (step20 < 0 && _s >= limit20) ;_s = ((int)(0 + _s + step20)) ) { +Debug.locals.put("s", _s); + BA.debugLineNum = 986;BA.debugLine="Dim xbyte As Byte = 0"; +Debug.ShouldStop(33554432); +_xbyte = BA.numberCast(byte.class, 0);Debug.locals.put("xbyte", _xbyte);Debug.locals.put("xbyte", _xbyte); + BA.debugLineNum = 987;BA.debugLine="For b = 0 To 7"; +Debug.ShouldStop(67108864); +{ +final int step22 = 1; +final int limit22 = 7; +_b = 0 ; +for (;(step22 > 0 && _b <= limit22) || (step22 < 0 && _b >= limit22) ;_b = ((int)(0 + _b + step22)) ) { +Debug.locals.put("b", _b); + BA.debugLineNum = 989;BA.debugLine="Dim pix As Byte = img.Data(slicestart + ((b +"; +Debug.ShouldStop(268435456); +_pix = _img.getField(false,"Data" /*RemoteObject*/ ).getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_slicestart,(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_b),RemoteObject.createImmutable(_s),RemoteObject.createImmutable(8)}, "+*",1, 1)),_bytes}, "*",0, 1)),RemoteObject.createImmutable(_x)}, "++",2, 1));Debug.locals.put("pix", _pix);Debug.locals.put("pix", _pix); + BA.debugLineNum = 990;BA.debugLine="If pix <> 0 Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("!",_pix,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 991;BA.debugLine="xbyte = xbyte + masks(b)"; +Debug.ShouldStop(1073741824); +_xbyte = BA.numberCast(byte.class, RemoteObject.solve(new RemoteObject[] {_xbyte,_masks.getArrayElement(true,BA.numberCast(int.class, _b))}, "+",1, 1));Debug.locals.put("xbyte", _xbyte); + }; + } +}Debug.locals.put("b", _b); +; + BA.debugLineNum = 994;BA.debugLine="pixels(x*3+s) = xbyte"; +Debug.ShouldStop(2); +_pixels.setArrayElement (_xbyte,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_x),RemoteObject.createImmutable(3),RemoteObject.createImmutable(_s)}, "*+",1, 1)); + } +}Debug.locals.put("s", _s); +; + } +}Debug.locals.put("x", _x); +; + }else { + BA.debugLineNum = 998;BA.debugLine="For x = 0 To bytes - 1"; +Debug.ShouldStop(32); +{ +final int step32 = 1; +final int limit32 = RemoteObject.solve(new RemoteObject[] {_bytes,RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_x = 0 ; +for (;(step32 > 0 && _x <= limit32) || (step32 < 0 && _x >= limit32) ;_x = ((int)(0 + _x + step32)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 999;BA.debugLine="Dim xbyte As Byte = 0"; +Debug.ShouldStop(64); +_xbyte = BA.numberCast(byte.class, 0);Debug.locals.put("xbyte", _xbyte);Debug.locals.put("xbyte", _xbyte); + BA.debugLineNum = 1000;BA.debugLine="For b = 0 To 7"; +Debug.ShouldStop(128); +{ +final int step34 = 1; +final int limit34 = 7; +_b = 0 ; +for (;(step34 > 0 && _b <= limit34) || (step34 < 0 && _b >= limit34) ;_b = ((int)(0 + _b + step34)) ) { +Debug.locals.put("b", _b); + BA.debugLineNum = 1002;BA.debugLine="Dim pix As Byte = img.Data(slicestart + (b * b"; +Debug.ShouldStop(512); +_pix = _img.getField(false,"Data" /*RemoteObject*/ ).getArrayElement(true,RemoteObject.solve(new RemoteObject[] {_slicestart,(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_b),_bytes}, "*",0, 1)),RemoteObject.createImmutable(_x)}, "++",2, 1));Debug.locals.put("pix", _pix);Debug.locals.put("pix", _pix); + BA.debugLineNum = 1003;BA.debugLine="If pix <> 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("!",_pix,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1004;BA.debugLine="xbyte = xbyte + masks(b)"; +Debug.ShouldStop(2048); +_xbyte = BA.numberCast(byte.class, RemoteObject.solve(new RemoteObject[] {_xbyte,_masks.getArrayElement(true,BA.numberCast(int.class, _b))}, "+",1, 1));Debug.locals.put("xbyte", _xbyte); + }; + } +}Debug.locals.put("b", _b); +; + BA.debugLineNum = 1007;BA.debugLine="pixels(x) = xbyte"; +Debug.ShouldStop(16384); +_pixels.setArrayElement (_xbyte,BA.numberCast(int.class, _x)); + } +}Debug.locals.put("x", _x); +; + }; + BA.debugLineNum = 1010;BA.debugLine="Return pixels"; +Debug.ShouldStop(131072); +if (true) return _pixels; + BA.debugLineNum = 1011;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _plotbox(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _points,RemoteObject _fill) throws Exception{ +try { + Debug.PushSubsStack("PlotBox (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,611); +if (RapidSub.canDelegate("plotbox")) { return __ref.runUserSub(false, "escposprinter","plotbox", __ref, _x0, _y0, _x1, _y1, _points, _fill);} +int _x = 0; +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("points", _points); +Debug.locals.put("Fill", _fill); + BA.debugLineNum = 611;BA.debugLine="Private Sub PlotBox(x0 As Int, y0 As Int, x1 As In"; +Debug.ShouldStop(4); + BA.debugLineNum = 613;BA.debugLine="PlotLine(x0, y0, x0, y1, points)"; +Debug.ShouldStop(16); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x0),(Object)(_y1),(Object)(_points)); + BA.debugLineNum = 614;BA.debugLine="PlotLine(x0, y0, x1, y0, points)"; +Debug.ShouldStop(32); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y0),(Object)(_points)); + BA.debugLineNum = 615;BA.debugLine="PlotLine(x1, y0, x1, y1, points)"; +Debug.ShouldStop(64); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + BA.debugLineNum = 616;BA.debugLine="PlotLine(x0, y1, x1, y1, points)"; +Debug.ShouldStop(128); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y1),(Object)(_x1),(Object)(_y1),(Object)(_points)); + BA.debugLineNum = 617;BA.debugLine="If Fill > 0 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_fill,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 618;BA.debugLine="For x = x0 To x1"; +Debug.ShouldStop(512); +{ +final int step6 = 1; +final int limit6 = _x1.get().intValue(); +_x = _x0.get().intValue() ; +for (;(step6 > 0 && _x <= limit6) || (step6 < 0 && _x >= limit6) ;_x = ((int)(0 + _x + step6)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 619;BA.debugLine="PlotLine(x, y0, x, y1, points)"; +Debug.ShouldStop(1024); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(BA.numberCast(int.class, _x)),(Object)(_y0),(Object)(BA.numberCast(int.class, _x)),(Object)(_y1),(Object)(_points)); + } +}Debug.locals.put("x", _x); +; + }; + BA.debugLineNum = 622;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _plotcircle(RemoteObject __ref,RemoteObject _radius,RemoteObject _quadrants,RemoteObject _x1,RemoteObject _y1,RemoteObject _points,RemoteObject _fill) throws Exception{ +try { + Debug.PushSubsStack("PlotCircle (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,625); +if (RapidSub.canDelegate("plotcircle")) { return __ref.runUserSub(false, "escposprinter","plotcircle", __ref, _radius, _quadrants, _x1, _y1, _points, _fill);} +RemoteObject _mask = RemoteObject.createImmutable(0); +int _q = 0; +int _i = 0; +RemoteObject _x = RemoteObject.createImmutable(0); +RemoteObject _y = RemoteObject.createImmutable(0); +Debug.locals.put("radius", _radius); +Debug.locals.put("quadrants", _quadrants); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("points", _points); +Debug.locals.put("fill", _fill); + BA.debugLineNum = 625;BA.debugLine="Private Sub PlotCircle(radius As Int, quadrants As"; +Debug.ShouldStop(65536); + BA.debugLineNum = 627;BA.debugLine="Dim mask As Int = 1"; +Debug.ShouldStop(262144); +_mask = BA.numberCast(int.class, 1);Debug.locals.put("mask", _mask);Debug.locals.put("mask", _mask); + BA.debugLineNum = 628;BA.debugLine="For q = 3 To 0 Step -1"; +Debug.ShouldStop(524288); +{ +final int step2 = -1; +final int limit2 = 0; +_q = 3 ; +for (;(step2 > 0 && _q <= limit2) || (step2 < 0 && _q >= limit2) ;_q = ((int)(0 + _q + step2)) ) { +Debug.locals.put("q", _q); + BA.debugLineNum = 629;BA.debugLine="If Bit.And(quadrants, mask) <> 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("!",escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(_quadrants),(Object)(_mask)),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 630;BA.debugLine="For i = q*90 To q*90+90 Step 1"; +Debug.ShouldStop(2097152); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_q),RemoteObject.createImmutable(90),RemoteObject.createImmutable(90)}, "*+",1, 1).get().intValue(); +_i = RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_q),RemoteObject.createImmutable(90)}, "*",0, 1).get().intValue() ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 631;BA.debugLine="Dim x,y As Double"; +Debug.ShouldStop(4194304); +_x = RemoteObject.createImmutable(0);Debug.locals.put("x", _x); +_y = RemoteObject.createImmutable(0);Debug.locals.put("y", _y); + BA.debugLineNum = 632;BA.debugLine="x = x1 - SinD(i)*radius"; +Debug.ShouldStop(8388608); +_x = RemoteObject.solve(new RemoteObject[] {_x1,escposprinter.__c.runMethod(true,"SinD",(Object)(BA.numberCast(double.class, _i))),_radius}, "-*",1, 0);Debug.locals.put("x", _x); + BA.debugLineNum = 633;BA.debugLine="y = y1 - CosD(i)*radius"; +Debug.ShouldStop(16777216); +_y = RemoteObject.solve(new RemoteObject[] {_y1,escposprinter.__c.runMethod(true,"CosD",(Object)(BA.numberCast(double.class, _i))),_radius}, "-*",1, 0);Debug.locals.put("y", _y); + BA.debugLineNum = 634;BA.debugLine="If fill > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_fill,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 635;BA.debugLine="PlotLine(x1, y1, x, y, points)"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y1),(Object)(BA.numberCast(int.class, _x)),(Object)(BA.numberCast(int.class, _y)),(Object)(_points)); + }else { + BA.debugLineNum = 637;BA.debugLine="points(Round(x), Round(y)) = 1"; +Debug.ShouldStop(268435456); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, escposprinter.__c.runMethod(true,"Round",(Object)(_x))),BA.numberCast(int.class, escposprinter.__c.runMethod(true,"Round",(Object)(_y)))); + }; + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 641;BA.debugLine="mask = Bit.ShiftLeft(mask, 1)"; +Debug.ShouldStop(1); +_mask = escposprinter.__c.getField(false,"Bit").runMethod(true,"ShiftLeft",(Object)(_mask),(Object)(BA.numberCast(int.class, 1)));Debug.locals.put("mask", _mask); + } +}Debug.locals.put("q", _q); +; + BA.debugLineNum = 643;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _plotline(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _points) throws Exception{ +try { + Debug.PushSubsStack("PlotLine (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,646); +if (RapidSub.canDelegate("plotline")) { return __ref.runUserSub(false, "escposprinter","plotline", __ref, _x0, _y0, _x1, _y1, _points);} +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("points", _points); + BA.debugLineNum = 646;BA.debugLine="Private Sub PlotLine(x0 As Int, y0 As Int, x1 As I"; +Debug.ShouldStop(32); + BA.debugLineNum = 647;BA.debugLine="If Abs(y1 - y0) < Abs(x1 - x0) Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("<",escposprinter.__c.runMethod(true,"Abs",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_y1,_y0}, "-",1, 1)))),escposprinter.__c.runMethod(true,"Abs",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_x1,_x0}, "-",1, 1)))))) { + BA.debugLineNum = 648;BA.debugLine="If x0 > x1 Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_x0,BA.numberCast(double.class, _x1))) { + BA.debugLineNum = 649;BA.debugLine="PlotLineLow(x1, y1, x0, y0, points)"; +Debug.ShouldStop(256); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotlinelow" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y1),(Object)(_x0),(Object)(_y0),(Object)(_points)); + }else { + BA.debugLineNum = 651;BA.debugLine="PlotLineLow(x0, y0, x1, y1, points)"; +Debug.ShouldStop(1024); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotlinelow" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + }; + }else { + BA.debugLineNum = 654;BA.debugLine="If y0 > y1 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_y0,BA.numberCast(double.class, _y1))) { + BA.debugLineNum = 655;BA.debugLine="PlotLineHigh(x1, y1, x0, y0, points)"; +Debug.ShouldStop(16384); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotlinehigh" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y1),(Object)(_x0),(Object)(_y0),(Object)(_points)); + }else { + BA.debugLineNum = 657;BA.debugLine="PlotLineHigh(x0, y0, x1, y1, points)"; +Debug.ShouldStop(65536); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotlinehigh" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + }; + }; + BA.debugLineNum = 660;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _plotlinehigh(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _points) throws Exception{ +try { + Debug.PushSubsStack("PlotLineHigh (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,662); +if (RapidSub.canDelegate("plotlinehigh")) { return __ref.runUserSub(false, "escposprinter","plotlinehigh", __ref, _x0, _y0, _x1, _y1, _points);} +RemoteObject _dx = RemoteObject.createImmutable(0); +RemoteObject _dy = RemoteObject.createImmutable(0); +RemoteObject _xi = RemoteObject.createImmutable(0); +RemoteObject _d = RemoteObject.createImmutable(0); +RemoteObject _x = RemoteObject.createImmutable(0); +int _y = 0; +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("points", _points); + BA.debugLineNum = 662;BA.debugLine="Private Sub PlotLineHigh(x0 As Int, y0 As Int, x1"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 663;BA.debugLine="Dim dx As Int = x1 - x0"; +Debug.ShouldStop(4194304); +_dx = RemoteObject.solve(new RemoteObject[] {_x1,_x0}, "-",1, 1);Debug.locals.put("dx", _dx);Debug.locals.put("dx", _dx); + BA.debugLineNum = 664;BA.debugLine="Dim dy As Int = y1 - y0"; +Debug.ShouldStop(8388608); +_dy = RemoteObject.solve(new RemoteObject[] {_y1,_y0}, "-",1, 1);Debug.locals.put("dy", _dy);Debug.locals.put("dy", _dy); + BA.debugLineNum = 665;BA.debugLine="Dim xi As Int = 1"; +Debug.ShouldStop(16777216); +_xi = BA.numberCast(int.class, 1);Debug.locals.put("xi", _xi);Debug.locals.put("xi", _xi); + BA.debugLineNum = 666;BA.debugLine="If dx < 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("<",_dx,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 667;BA.debugLine="xi = -1"; +Debug.ShouldStop(67108864); +_xi = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("xi", _xi); + BA.debugLineNum = 668;BA.debugLine="dx = -dx"; +Debug.ShouldStop(134217728); +_dx = BA.numberCast(int.class, -(double) (0 + _dx.get().intValue()));Debug.locals.put("dx", _dx); + }; + BA.debugLineNum = 670;BA.debugLine="Dim D As Int = 2*dx - dy"; +Debug.ShouldStop(536870912); +_d = RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_dx,_dy}, "*-",1, 1);Debug.locals.put("D", _d);Debug.locals.put("D", _d); + BA.debugLineNum = 671;BA.debugLine="Dim x As Int = x0"; +Debug.ShouldStop(1073741824); +_x = _x0;Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 672;BA.debugLine="For y = y0 To y1"; +Debug.ShouldStop(-2147483648); +{ +final int step10 = 1; +final int limit10 = _y1.get().intValue(); +_y = _y0.get().intValue() ; +for (;(step10 > 0 && _y <= limit10) || (step10 < 0 && _y >= limit10) ;_y = ((int)(0 + _y + step10)) ) { +Debug.locals.put("y", _y); + BA.debugLineNum = 673;BA.debugLine="points(x,y) = 1"; +Debug.ShouldStop(1); +_points.setArrayElement (BA.numberCast(byte.class, 1),_x,BA.numberCast(int.class, _y)); + BA.debugLineNum = 674;BA.debugLine="If D > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_d,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 675;BA.debugLine="x = x + xi"; +Debug.ShouldStop(4); +_x = RemoteObject.solve(new RemoteObject[] {_x,_xi}, "+",1, 1);Debug.locals.put("x", _x); + BA.debugLineNum = 676;BA.debugLine="D = D - 2*dy"; +Debug.ShouldStop(8); +_d = RemoteObject.solve(new RemoteObject[] {_d,RemoteObject.createImmutable(2),_dy}, "-*",1, 1);Debug.locals.put("D", _d); + }; + BA.debugLineNum = 678;BA.debugLine="D = D + 2*dx"; +Debug.ShouldStop(32); +_d = RemoteObject.solve(new RemoteObject[] {_d,RemoteObject.createImmutable(2),_dx}, "+*",1, 1);Debug.locals.put("D", _d); + } +}Debug.locals.put("y", _y); +; + BA.debugLineNum = 680;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _plotlinelow(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _points) throws Exception{ +try { + Debug.PushSubsStack("PlotLineLow (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,682); +if (RapidSub.canDelegate("plotlinelow")) { return __ref.runUserSub(false, "escposprinter","plotlinelow", __ref, _x0, _y0, _x1, _y1, _points);} +RemoteObject _dx = RemoteObject.createImmutable(0); +RemoteObject _dy = RemoteObject.createImmutable(0); +RemoteObject _yi = RemoteObject.createImmutable(0); +RemoteObject _d = RemoteObject.createImmutable(0); +RemoteObject _y = RemoteObject.createImmutable(0); +int _x = 0; +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("points", _points); + BA.debugLineNum = 682;BA.debugLine="Private Sub PlotLineLow(x0 As Int, y0 As Int, x1 A"; +Debug.ShouldStop(512); + BA.debugLineNum = 683;BA.debugLine="Dim dx As Int = x1 - x0"; +Debug.ShouldStop(1024); +_dx = RemoteObject.solve(new RemoteObject[] {_x1,_x0}, "-",1, 1);Debug.locals.put("dx", _dx);Debug.locals.put("dx", _dx); + BA.debugLineNum = 684;BA.debugLine="Dim dy As Int = y1 - y0"; +Debug.ShouldStop(2048); +_dy = RemoteObject.solve(new RemoteObject[] {_y1,_y0}, "-",1, 1);Debug.locals.put("dy", _dy);Debug.locals.put("dy", _dy); + BA.debugLineNum = 685;BA.debugLine="Dim yi As Int = 1"; +Debug.ShouldStop(4096); +_yi = BA.numberCast(int.class, 1);Debug.locals.put("yi", _yi);Debug.locals.put("yi", _yi); + BA.debugLineNum = 686;BA.debugLine="If dy < 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("<",_dy,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 687;BA.debugLine="yi = -1"; +Debug.ShouldStop(16384); +_yi = BA.numberCast(int.class, -(double) (0 + 1));Debug.locals.put("yi", _yi); + BA.debugLineNum = 688;BA.debugLine="dy = -dy"; +Debug.ShouldStop(32768); +_dy = BA.numberCast(int.class, -(double) (0 + _dy.get().intValue()));Debug.locals.put("dy", _dy); + }; + BA.debugLineNum = 690;BA.debugLine="Dim D As Int = 2*dy - dx"; +Debug.ShouldStop(131072); +_d = RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(2),_dy,_dx}, "*-",1, 1);Debug.locals.put("D", _d);Debug.locals.put("D", _d); + BA.debugLineNum = 691;BA.debugLine="Dim y As Int = y0"; +Debug.ShouldStop(262144); +_y = _y0;Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 692;BA.debugLine="For x = x0 To x1"; +Debug.ShouldStop(524288); +{ +final int step10 = 1; +final int limit10 = _x1.get().intValue(); +_x = _x0.get().intValue() ; +for (;(step10 > 0 && _x <= limit10) || (step10 < 0 && _x >= limit10) ;_x = ((int)(0 + _x + step10)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 693;BA.debugLine="points(x,y) = 1"; +Debug.ShouldStop(1048576); +_points.setArrayElement (BA.numberCast(byte.class, 1),BA.numberCast(int.class, _x),_y); + BA.debugLineNum = 694;BA.debugLine="If D > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_d,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 695;BA.debugLine="y = y + yi"; +Debug.ShouldStop(4194304); +_y = RemoteObject.solve(new RemoteObject[] {_y,_yi}, "+",1, 1);Debug.locals.put("y", _y); + BA.debugLineNum = 696;BA.debugLine="D = D - 2*dx"; +Debug.ShouldStop(8388608); +_d = RemoteObject.solve(new RemoteObject[] {_d,RemoteObject.createImmutable(2),_dx}, "-*",1, 1);Debug.locals.put("D", _d); + }; + BA.debugLineNum = 698;BA.debugLine="D = D + 2*dy"; +Debug.ShouldStop(33554432); +_d = RemoteObject.solve(new RemoteObject[] {_d,RemoteObject.createImmutable(2),_dy}, "+*",1, 1);Debug.locals.put("D", _d); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 700;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _plottriangle(RemoteObject __ref,RemoteObject _x0,RemoteObject _y0,RemoteObject _x1,RemoteObject _y1,RemoteObject _x2,RemoteObject _y2,RemoteObject _points,RemoteObject _fill) throws Exception{ +try { + Debug.PushSubsStack("PlotTriangle (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,534); +if (RapidSub.canDelegate("plottriangle")) { return __ref.runUserSub(false, "escposprinter","plottriangle", __ref, _x0, _y0, _x1, _y1, _x2, _y2, _points, _fill);} +Debug.locals.put("x0", _x0); +Debug.locals.put("y0", _y0); +Debug.locals.put("x1", _x1); +Debug.locals.put("y1", _y1); +Debug.locals.put("x2", _x2); +Debug.locals.put("y2", _y2); +Debug.locals.put("points", _points); +Debug.locals.put("Fill", _fill); + BA.debugLineNum = 534;BA.debugLine="Private Sub PlotTriangle(x0 As Int, y0 As Int, x1"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 536;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_points)); + BA.debugLineNum = 537;BA.debugLine="PlotLine(x1, y1, x2, y2, points)"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x1),(Object)(_y1),(Object)(_x2),(Object)(_y2),(Object)(_points)); + BA.debugLineNum = 538;BA.debugLine="PlotLine(x2, y2, x0, y0, points)"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_plotline" /*RemoteObject*/ ,(Object)(_x2),(Object)(_y2),(Object)(_x0),(Object)(_y0),(Object)(_points)); + BA.debugLineNum = 539;BA.debugLine="If Fill > 0 Then"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",_fill,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 540;BA.debugLine="FillTriangle(x0, y0, x1, y1, x2, y2, points)"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_filltriangle" /*RemoteObject*/ ,(Object)(_x0),(Object)(_y0),(Object)(_x1),(Object)(_y1),(Object)(_x2),(Object)(_y2),(Object)(_points)); + }; + BA.debugLineNum = 542;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _printandfeedpaper(RemoteObject __ref,RemoteObject _units) throws Exception{ +try { + Debug.PushSubsStack("PrintAndFeedPaper (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,160); +if (RapidSub.canDelegate("printandfeedpaper")) { return __ref.runUserSub(false, "escposprinter","printandfeedpaper", __ref, _units);} +RemoteObject _params = null; +Debug.locals.put("units", _units); + BA.debugLineNum = 160;BA.debugLine="Public Sub PrintAndFeedPaper(units As Int)"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 161;BA.debugLine="WriteString(ESC & \"J\")"; +Debug.ShouldStop(1); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("J")))); + BA.debugLineNum = 162;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(2); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 163;BA.debugLine="params(0) = units"; +Debug.ShouldStop(4); +_params.setArrayElement (BA.numberCast(byte.class, _units),BA.numberCast(int.class, 0)); + BA.debugLineNum = 164;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(8); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 165;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _printimage(RemoteObject __ref,RemoteObject _img) throws Exception{ +try { + Debug.PushSubsStack("PrintImage (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,837); +if (RapidSub.canDelegate("printimage")) { return __ref.runUserSub(false, "escposprinter","printimage", __ref, _img);} +RemoteObject _xh = RemoteObject.createImmutable(0); +RemoteObject _xl = RemoteObject.createImmutable(0); +RemoteObject _yh = RemoteObject.createImmutable(0); +RemoteObject _yl = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("img", _img); + BA.debugLineNum = 837;BA.debugLine="Public Sub PrintImage(img As AnImage) As Int"; +Debug.ShouldStop(16); + BA.debugLineNum = 840;BA.debugLine="If img.width > 72 Then Return -1"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean(">",_img.getField(true,"Width" /*RemoteObject*/ ),BA.numberCast(double.class, 72))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 841;BA.debugLine="If img.height > 512 Then Return -2"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_img.getField(true,"Height" /*RemoteObject*/ ),BA.numberCast(double.class, 512))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 2));}; + BA.debugLineNum = 842;BA.debugLine="If img.data.Length < img.width * img.height Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("<",_img.getField(false,"Data" /*RemoteObject*/ ).getField(true,"length"),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Width" /*RemoteObject*/ ),_img.getField(true,"Height" /*RemoteObject*/ )}, "*",0, 1)))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 3));}; + BA.debugLineNum = 843;BA.debugLine="Dim xh As Int = img.width / 256"; +Debug.ShouldStop(1024); +_xh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Width" /*RemoteObject*/ ),RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("xh", _xh);Debug.locals.put("xh", _xh); + BA.debugLineNum = 844;BA.debugLine="Dim xl As Int = img.width - xh * 256"; +Debug.ShouldStop(2048); +_xl = RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Width" /*RemoteObject*/ ),_xh,RemoteObject.createImmutable(256)}, "-*",1, 1);Debug.locals.put("xl", _xl);Debug.locals.put("xl", _xl); + BA.debugLineNum = 845;BA.debugLine="Dim yh As Int = img.height / 256"; +Debug.ShouldStop(4096); +_yh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Height" /*RemoteObject*/ ),RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("yh", _yh);Debug.locals.put("yh", _yh); + BA.debugLineNum = 846;BA.debugLine="Dim yl As Int = img.height - yh * 256"; +Debug.ShouldStop(8192); +_yl = RemoteObject.solve(new RemoteObject[] {_img.getField(true,"Height" /*RemoteObject*/ ),_yh,RemoteObject.createImmutable(256)}, "-*",1, 1);Debug.locals.put("yl", _yl);Debug.locals.put("yl", _yl); + BA.debugLineNum = 847;BA.debugLine="Dim params(5) As Byte"; +Debug.ShouldStop(16384); +_params = RemoteObject.createNewArray ("byte", new int[] {5}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 848;BA.debugLine="params(0) = 0 '"; +Debug.ShouldStop(32768); +_params.setArrayElement (BA.numberCast(byte.class, 0),BA.numberCast(int.class, 0)); + BA.debugLineNum = 849;BA.debugLine="params(1) = xl"; +Debug.ShouldStop(65536); +_params.setArrayElement (BA.numberCast(byte.class, _xl),BA.numberCast(int.class, 1)); + BA.debugLineNum = 850;BA.debugLine="params(2) = xh"; +Debug.ShouldStop(131072); +_params.setArrayElement (BA.numberCast(byte.class, _xh),BA.numberCast(int.class, 2)); + BA.debugLineNum = 851;BA.debugLine="params(3) = yl"; +Debug.ShouldStop(262144); +_params.setArrayElement (BA.numberCast(byte.class, _yl),BA.numberCast(int.class, 3)); + BA.debugLineNum = 852;BA.debugLine="params(4) = yh"; +Debug.ShouldStop(524288); +_params.setArrayElement (BA.numberCast(byte.class, _yh),BA.numberCast(int.class, 4)); + BA.debugLineNum = 853;BA.debugLine="WriteString(GS & \"v0\")"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("v0")))); + BA.debugLineNum = 854;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 855;BA.debugLine="WriteBytes(img.data)"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_img.getField(false,"Data" /*RemoteObject*/ ))); + BA.debugLineNum = 856;BA.debugLine="WriteString(CRLF)"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(escposprinter.__c.getField(true,"CRLF"))); + BA.debugLineNum = 857;BA.debugLine="Return 0"; +Debug.ShouldStop(16777216); +if (true) return BA.numberCast(int.class, 0); + BA.debugLineNum = 858;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _printimage2(RemoteObject __ref,RemoteObject _width,RemoteObject _data,RemoteObject _highdensity,RemoteObject _dotds24) throws Exception{ +try { + Debug.PushSubsStack("PrintImage2 (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,927); +if (RapidSub.canDelegate("printimage2")) { return __ref.runUserSub(false, "escposprinter","printimage2", __ref, _width, _data, _highdensity, _dotds24);} +RemoteObject _d = RemoteObject.createImmutable(""); +RemoteObject _xh = RemoteObject.createImmutable(0); +RemoteObject _xl = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("width", _width); +Debug.locals.put("data", _data); +Debug.locals.put("highdensity", _highdensity); +Debug.locals.put("dotds24", _dotds24); + BA.debugLineNum = 927;BA.debugLine="Public Sub PrintImage2(width As Int, data() As Byt"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 928;BA.debugLine="Dim d As String = Chr(0)"; +Debug.ShouldStop(-2147483648); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 0))));Debug.locals.put("d", _d);Debug.locals.put("d", _d); + BA.debugLineNum = 929;BA.debugLine="If Not(highdensity) And Not(dotds24 ) Then"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean(".",escposprinter.__c.runMethod(true,"Not",(Object)(_highdensity))) && RemoteObject.solveBoolean(".",escposprinter.__c.runMethod(true,"Not",(Object)(_dotds24)))) { + BA.debugLineNum = 930;BA.debugLine="d = Chr(0)"; +Debug.ShouldStop(2); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 0))));Debug.locals.put("d", _d); + BA.debugLineNum = 931;BA.debugLine="If width > 288 Then Return -1"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_width,BA.numberCast(double.class, 288))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 932;BA.debugLine="If data.Length <> width Then Return -3"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("!",_data.getField(true,"length"),BA.numberCast(double.class, _width))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 3));}; + }else +{ BA.debugLineNum = 933;BA.debugLine="Else If highdensity And Not(dotds24) Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(".",_highdensity) && RemoteObject.solveBoolean(".",escposprinter.__c.runMethod(true,"Not",(Object)(_dotds24)))) { + BA.debugLineNum = 934;BA.debugLine="d = Chr(1)"; +Debug.ShouldStop(32); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 1))));Debug.locals.put("d", _d); + BA.debugLineNum = 935;BA.debugLine="If width > 576 Then Return -1"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_width,BA.numberCast(double.class, 576))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 936;BA.debugLine="If data.Length <> width Then Return -3"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("!",_data.getField(true,"length"),BA.numberCast(double.class, _width))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 3));}; + }else +{ BA.debugLineNum = 937;BA.debugLine="Else If Not(highdensity) And dotds24 Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(".",escposprinter.__c.runMethod(true,"Not",(Object)(_highdensity))) && RemoteObject.solveBoolean(".",_dotds24)) { + BA.debugLineNum = 938;BA.debugLine="d = Chr(32)"; +Debug.ShouldStop(512); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 32))));Debug.locals.put("d", _d); + BA.debugLineNum = 939;BA.debugLine="If width > 288 Then Return -1"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_width,BA.numberCast(double.class, 288))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 940;BA.debugLine="If data.Length <> width*3 Then Return -3"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("!",_data.getField(true,"length"),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_width,RemoteObject.createImmutable(3)}, "*",0, 1)))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 3));}; + }else { + BA.debugLineNum = 942;BA.debugLine="d = Chr(33)"; +Debug.ShouldStop(8192); +_d = BA.ObjectToString(escposprinter.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 33))));Debug.locals.put("d", _d); + BA.debugLineNum = 943;BA.debugLine="If width > 576 Then Return -1"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_width,BA.numberCast(double.class, 576))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 1));}; + BA.debugLineNum = 944;BA.debugLine="If data.Length <> width*3 Then Return -3"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("!",_data.getField(true,"length"),BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_width,RemoteObject.createImmutable(3)}, "*",0, 1)))) { +if (true) return BA.numberCast(int.class, -(double) (0 + 3));}; + }}} +; + BA.debugLineNum = 946;BA.debugLine="Dim xh As Int = width / 256"; +Debug.ShouldStop(131072); +_xh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_width,RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("xh", _xh);Debug.locals.put("xh", _xh); + BA.debugLineNum = 947;BA.debugLine="Dim xl As Int = width - xh * 256"; +Debug.ShouldStop(262144); +_xl = RemoteObject.solve(new RemoteObject[] {_width,_xh,RemoteObject.createImmutable(256)}, "-*",1, 1);Debug.locals.put("xl", _xl);Debug.locals.put("xl", _xl); + BA.debugLineNum = 948;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(524288); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 949;BA.debugLine="params(0) = xl"; +Debug.ShouldStop(1048576); +_params.setArrayElement (BA.numberCast(byte.class, _xl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 950;BA.debugLine="params(1) = xh"; +Debug.ShouldStop(2097152); +_params.setArrayElement (BA.numberCast(byte.class, _xh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 951;BA.debugLine="WriteString(ESC & \"*\" & d)"; +Debug.ShouldStop(4194304); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("*"),_d))); + BA.debugLineNum = 952;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 953;BA.debugLine="WriteBytes(data)"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_data)); + BA.debugLineNum = 954;BA.debugLine="WriteString(CRLF)"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(escposprinter.__c.getField(true,"CRLF"))); + BA.debugLineNum = 955;BA.debugLine="Return 0"; +Debug.ShouldStop(67108864); +if (true) return BA.numberCast(int.class, 0); + BA.debugLineNum = 956;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _reset(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Reset (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,149); +if (RapidSub.canDelegate("reset")) { return __ref.runUserSub(false, "escposprinter","reset", __ref);} + BA.debugLineNum = 149;BA.debugLine="Public Sub Reset"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 150;BA.debugLine="WriteString(ESC & \"@\")"; +Debug.ShouldStop(2097152); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("@")))); + BA.debugLineNum = 151;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _serial1_connected(RemoteObject __ref,RemoteObject _success) throws Exception{ +try { + Debug.PushSubsStack("Serial1_Connected (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,1115); +if (RapidSub.canDelegate("serial1_connected")) { return __ref.runUserSub(false, "escposprinter","serial1_connected", __ref, _success);} +Debug.locals.put("Success", _success); + BA.debugLineNum = 1115;BA.debugLine="Private Sub Serial1_Connected (Success As Boolean)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 1116;BA.debugLine="If Success Then"; +Debug.ShouldStop(134217728); +if (_success.get().booleanValue()) { + BA.debugLineNum = 1117;BA.debugLine="Astream.Initialize(Serial1.InputStream, Serial1."; +Debug.ShouldStop(268435456); +__ref.getField(false,"_astream" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_serial1" /*RemoteObject*/ ).runMethod(false,"getInputStream")),(Object)(__ref.getField(false,"_serial1" /*RemoteObject*/ ).runMethod(false,"getOutputStream")),(Object)(RemoteObject.createImmutable("astream"))); + BA.debugLineNum = 1118;BA.debugLine="Connected = True"; +Debug.ShouldStop(536870912); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"True")); + BA.debugLineNum = 1119;BA.debugLine="ConnectedError = \"\""; +Debug.ShouldStop(1073741824); +__ref.setField ("_connectederror" /*RemoteObject*/ ,BA.ObjectToString("")); + BA.debugLineNum = 1120;BA.debugLine="Serial1.Listen"; +Debug.ShouldStop(-2147483648); +__ref.getField(false,"_serial1" /*RemoteObject*/ ).runVoidMethod ("Listen",__ref.getField(false, "ba")); + }else { + BA.debugLineNum = 1122;BA.debugLine="Connected = False"; +Debug.ShouldStop(2); +__ref.setField ("_connected" /*RemoteObject*/ ,escposprinter.__c.getField(true,"False")); + BA.debugLineNum = 1123;BA.debugLine="ConnectedError = LastException.Message"; +Debug.ShouldStop(4); +__ref.setField ("_connectederror" /*RemoteObject*/ ,escposprinter.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA")).runMethod(true,"getMessage")); + }; + BA.debugLineNum = 1125;BA.debugLine="If SubExists(CallBack, EventName & \"_Connected\")"; +Debug.ShouldStop(16); +if (escposprinter.__c.runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Connected")))).get().booleanValue()) { + BA.debugLineNum = 1126;BA.debugLine="CallSub2(CallBack, EventName & \"_Connected\", Suc"; +Debug.ShouldStop(32); +escposprinter.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_callback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_eventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Connected"))),(Object)((_success))); + }; + BA.debugLineNum = 1128;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setbarcodeheight(RemoteObject __ref,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("setBarCodeHeight (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,1019); +if (RapidSub.canDelegate("setbarcodeheight")) { return __ref.runUserSub(false, "escposprinter","setbarcodeheight", __ref, _height);} +RemoteObject _params = null; +Debug.locals.put("height", _height); + BA.debugLineNum = 1019;BA.debugLine="Public Sub setBarCodeHeight(height As Int)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 1020;BA.debugLine="WriteString(GS & \"h\")"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("h")))); + BA.debugLineNum = 1021;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(268435456); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1022;BA.debugLine="params(0) = height"; +Debug.ShouldStop(536870912); +_params.setArrayElement (BA.numberCast(byte.class, _height),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1023;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(1073741824); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1024;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setbarcodeleft(RemoteObject __ref,RemoteObject _left) throws Exception{ +try { + Debug.PushSubsStack("setBarCodeLeft (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,1028); +if (RapidSub.canDelegate("setbarcodeleft")) { return __ref.runUserSub(false, "escposprinter","setbarcodeleft", __ref, _left);} +RemoteObject _params = null; +Debug.locals.put("left", _left); + BA.debugLineNum = 1028;BA.debugLine="Public Sub setBarCodeLeft(left As Int)"; +Debug.ShouldStop(8); + BA.debugLineNum = 1029;BA.debugLine="WriteString(GS & \"x\")"; +Debug.ShouldStop(16); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("x")))); + BA.debugLineNum = 1030;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(32); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1031;BA.debugLine="params(0) = left"; +Debug.ShouldStop(64); +_params.setArrayElement (BA.numberCast(byte.class, _left),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1032;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(128); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1033;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setbarcodewidth(RemoteObject __ref,RemoteObject _width) throws Exception{ +try { + Debug.PushSubsStack("setBarCodeWidth (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,1038); +if (RapidSub.canDelegate("setbarcodewidth")) { return __ref.runUserSub(false, "escposprinter","setbarcodewidth", __ref, _width);} +RemoteObject _params = null; +Debug.locals.put("width", _width); + BA.debugLineNum = 1038;BA.debugLine="Public Sub setBarCodeWidth(width As Int)"; +Debug.ShouldStop(8192); + BA.debugLineNum = 1039;BA.debugLine="WriteString(GS & \"w\")"; +Debug.ShouldStop(16384); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("w")))); + BA.debugLineNum = 1040;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(32768); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1041;BA.debugLine="params(0) = width"; +Debug.ShouldStop(65536); +_params.setArrayElement (BA.numberCast(byte.class, _width),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1042;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(131072); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1043;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcharacterfont(RemoteObject __ref,RemoteObject _font) throws Exception{ +try { + Debug.PushSubsStack("setCharacterFont (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,247); +if (RapidSub.canDelegate("setcharacterfont")) { return __ref.runUserSub(false, "escposprinter","setcharacterfont", __ref, _font);} +Debug.locals.put("font", _font); + BA.debugLineNum = 247;BA.debugLine="Public Sub setCharacterFont(font As Int)"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 248;BA.debugLine="WriteString(ESC & \"M\" & Chr(Bit.And(1,font)))"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("M"),escposprinter.__c.runMethod(true,"Chr",(Object)(escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, 1)),(Object)(_font))))))); + BA.debugLineNum = 249;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcharacterspacing(RemoteObject __ref,RemoteObject _spacing) throws Exception{ +try { + Debug.PushSubsStack("setCharacterSpacing (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,168); +if (RapidSub.canDelegate("setcharacterspacing")) { return __ref.runUserSub(false, "escposprinter","setcharacterspacing", __ref, _spacing);} +RemoteObject _params = null; +Debug.locals.put("spacing", _spacing); + BA.debugLineNum = 168;BA.debugLine="Public Sub setCharacterSpacing(spacing As Int)"; +Debug.ShouldStop(128); + BA.debugLineNum = 169;BA.debugLine="WriteString(ESC & \" \")"; +Debug.ShouldStop(256); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable(" ")))); + BA.debugLineNum = 170;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(512); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 171;BA.debugLine="params(0) = spacing"; +Debug.ShouldStop(1024); +_params.setArrayElement (BA.numberCast(byte.class, _spacing),BA.numberCast(int.class, 0)); + BA.debugLineNum = 172;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(2048); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 173;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcodepage(RemoteObject __ref,RemoteObject _codepage) throws Exception{ +try { + Debug.PushSubsStack("setCodePage (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,236); +if (RapidSub.canDelegate("setcodepage")) { return __ref.runUserSub(false, "escposprinter","setcodepage", __ref, _codepage);} +RemoteObject _params = null; +Debug.locals.put("codepage", _codepage); + BA.debugLineNum = 236;BA.debugLine="Public Sub setCodePage(codepage As Int)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 237;BA.debugLine="WriteString(ESC & \"t\")"; +Debug.ShouldStop(4096); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("t")))); + BA.debugLineNum = 238;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(8192); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 239;BA.debugLine="params(0) = codepage"; +Debug.ShouldStop(16384); +_params.setArrayElement (BA.numberCast(byte.class, _codepage),BA.numberCast(int.class, 0)); + BA.debugLineNum = 240;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(32768); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 241;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sethrifont(RemoteObject __ref,RemoteObject _font) throws Exception{ +try { + Debug.PushSubsStack("setHriFont (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,1060); +if (RapidSub.canDelegate("sethrifont")) { return __ref.runUserSub(false, "escposprinter","sethrifont", __ref, _font);} +Debug.locals.put("font", _font); + BA.debugLineNum = 1060;BA.debugLine="Public Sub setHriFont(font As Int)"; +Debug.ShouldStop(8); + BA.debugLineNum = 1061;BA.debugLine="WriteString(GS & \"f\" & Chr(font))"; +Debug.ShouldStop(16); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("f"),escposprinter.__c.runMethod(true,"Chr",(Object)(_font))))); + BA.debugLineNum = 1062;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sethriposn(RemoteObject __ref,RemoteObject _posn) throws Exception{ +try { + Debug.PushSubsStack("setHriPosn (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,1049); +if (RapidSub.canDelegate("sethriposn")) { return __ref.runUserSub(false, "escposprinter","sethriposn", __ref, _posn);} +RemoteObject _params = null; +Debug.locals.put("posn", _posn); + BA.debugLineNum = 1049;BA.debugLine="Public Sub setHriPosn(posn As Int)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 1050;BA.debugLine="WriteString(GS & \"H\")"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("H")))); + BA.debugLineNum = 1051;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(67108864); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1052;BA.debugLine="params(0) = posn"; +Debug.ShouldStop(134217728); +_params.setArrayElement (BA.numberCast(byte.class, _posn),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1053;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1054;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setjustify(RemoteObject __ref,RemoteObject _justify) throws Exception{ +try { + Debug.PushSubsStack("setJustify (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,230); +if (RapidSub.canDelegate("setjustify")) { return __ref.runUserSub(false, "escposprinter","setjustify", __ref, _justify);} +Debug.locals.put("justify", _justify); + BA.debugLineNum = 230;BA.debugLine="Public Sub setJustify(justify As Int)"; +Debug.ShouldStop(32); + BA.debugLineNum = 231;BA.debugLine="WriteString(ESC & \"a\" & Chr(justify + 48))"; +Debug.ShouldStop(64); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("a"),escposprinter.__c.runMethod(true,"Chr",(Object)(RemoteObject.solve(new RemoteObject[] {_justify,RemoteObject.createImmutable(48)}, "+",1, 1)))))); + BA.debugLineNum = 232;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setleftinset(RemoteObject __ref,RemoteObject _inset) throws Exception{ +try { + Debug.PushSubsStack("setLeftInset (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,178); +if (RapidSub.canDelegate("setleftinset")) { return __ref.runUserSub(false, "escposprinter","setleftinset", __ref, _inset);} +RemoteObject _dh = RemoteObject.createImmutable(0); +RemoteObject _dl = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("inset", _inset); + BA.debugLineNum = 178;BA.debugLine="Public Sub setLeftInset(inset As Int)"; +Debug.ShouldStop(131072); + BA.debugLineNum = 179;BA.debugLine="Dim dh As Int = inset / 256"; +Debug.ShouldStop(262144); +_dh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_inset,RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("dh", _dh);Debug.locals.put("dh", _dh); + BA.debugLineNum = 180;BA.debugLine="Dim dl As Int = inset - dh"; +Debug.ShouldStop(524288); +_dl = RemoteObject.solve(new RemoteObject[] {_inset,_dh}, "-",1, 1);Debug.locals.put("dl", _dl);Debug.locals.put("dl", _dl); + BA.debugLineNum = 181;BA.debugLine="WriteString(ESC & \"$\" & Chr(dl) & Chr(dh))"; +Debug.ShouldStop(1048576); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("$"),escposprinter.__c.runMethod(true,"Chr",(Object)(_dl)),escposprinter.__c.runMethod(true,"Chr",(Object)(_dh))))); + BA.debugLineNum = 182;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(2097152); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 183;BA.debugLine="params(0) = dl"; +Debug.ShouldStop(4194304); +_params.setArrayElement (BA.numberCast(byte.class, _dl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 184;BA.debugLine="params(1) = dh"; +Debug.ShouldStop(8388608); +_params.setArrayElement (BA.numberCast(byte.class, _dh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 185;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(16777216); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 186;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setleftmargin(RemoteObject __ref,RemoteObject _margin) throws Exception{ +try { + Debug.PushSubsStack("setLeftMargin (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,191); +if (RapidSub.canDelegate("setleftmargin")) { return __ref.runUserSub(false, "escposprinter","setleftmargin", __ref, _margin);} +RemoteObject _dh = RemoteObject.createImmutable(0); +RemoteObject _dl = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("margin", _margin); + BA.debugLineNum = 191;BA.debugLine="Public Sub setLeftMargin(margin As Int)"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 192;BA.debugLine="Dim dh As Int = margin / 256"; +Debug.ShouldStop(-2147483648); +_dh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_margin,RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("dh", _dh);Debug.locals.put("dh", _dh); + BA.debugLineNum = 193;BA.debugLine="Dim dl As Int = margin - dh"; +Debug.ShouldStop(1); +_dl = RemoteObject.solve(new RemoteObject[] {_margin,_dh}, "-",1, 1);Debug.locals.put("dl", _dl);Debug.locals.put("dl", _dl); + BA.debugLineNum = 194;BA.debugLine="WriteString(GS & \"L\")"; +Debug.ShouldStop(2); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("L")))); + BA.debugLineNum = 195;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(4); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 196;BA.debugLine="params(0) = dl"; +Debug.ShouldStop(8); +_params.setArrayElement (BA.numberCast(byte.class, _dl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 197;BA.debugLine="params(1) = dh"; +Debug.ShouldStop(16); +_params.setArrayElement (BA.numberCast(byte.class, _dh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 198;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(32); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 199;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setlinespacing(RemoteObject __ref,RemoteObject _spacing) throws Exception{ +try { + Debug.PushSubsStack("setLineSpacing (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,217); +if (RapidSub.canDelegate("setlinespacing")) { return __ref.runUserSub(false, "escposprinter","setlinespacing", __ref, _spacing);} +RemoteObject _params = null; +Debug.locals.put("spacing", _spacing); + BA.debugLineNum = 217;BA.debugLine="Public Sub setLineSpacing(spacing As Int)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 218;BA.debugLine="If spacing < 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("<",_spacing,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 219;BA.debugLine="WriteString(ESC & \"2\")"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("2")))); + }else { + BA.debugLineNum = 221;BA.debugLine="WriteString(ESC & \"3\")"; +Debug.ShouldStop(268435456); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("3")))); + BA.debugLineNum = 222;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(536870912); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 223;BA.debugLine="params(0) = spacing"; +Debug.ShouldStop(1073741824); +_params.setArrayElement (BA.numberCast(byte.class, _spacing),BA.numberCast(int.class, 0)); + BA.debugLineNum = 224;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + }; + BA.debugLineNum = 226;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setprintwidth(RemoteObject __ref,RemoteObject _width) throws Exception{ +try { + Debug.PushSubsStack("setPrintWidth (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,205); +if (RapidSub.canDelegate("setprintwidth")) { return __ref.runUserSub(false, "escposprinter","setprintwidth", __ref, _width);} +RemoteObject _dh = RemoteObject.createImmutable(0); +RemoteObject _dl = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("width", _width); + BA.debugLineNum = 205;BA.debugLine="Public Sub setPrintWidth(width As Int)"; +Debug.ShouldStop(4096); + BA.debugLineNum = 206;BA.debugLine="Dim dh As Int = width / 256"; +Debug.ShouldStop(8192); +_dh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_width,RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("dh", _dh);Debug.locals.put("dh", _dh); + BA.debugLineNum = 207;BA.debugLine="Dim dl As Int = width - dh"; +Debug.ShouldStop(16384); +_dl = RemoteObject.solve(new RemoteObject[] {_width,_dh}, "-",1, 1);Debug.locals.put("dl", _dl);Debug.locals.put("dl", _dl); + BA.debugLineNum = 208;BA.debugLine="WriteString(GS & \"W\")"; +Debug.ShouldStop(32768); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("W")))); + BA.debugLineNum = 209;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(65536); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 210;BA.debugLine="params(0) = dl"; +Debug.ShouldStop(131072); +_params.setArrayElement (BA.numberCast(byte.class, _dl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 211;BA.debugLine="params(1) = dh"; +Debug.ShouldStop(262144); +_params.setArrayElement (BA.numberCast(byte.class, _dh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 212;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(524288); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 213;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setrelativeprintposn(RemoteObject __ref,RemoteObject _relposn) throws Exception{ +try { + Debug.PushSubsStack("setRelativePrintPosn (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,269); +if (RapidSub.canDelegate("setrelativeprintposn")) { return __ref.runUserSub(false, "escposprinter","setrelativeprintposn", __ref, _relposn);} +RemoteObject _dh = RemoteObject.createImmutable(0); +RemoteObject _dl = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("relposn", _relposn); + BA.debugLineNum = 269;BA.debugLine="Public Sub setRelativePrintPosn(relposn As Int)"; +Debug.ShouldStop(4096); + BA.debugLineNum = 270;BA.debugLine="Dim dh As Int = relposn / 256"; +Debug.ShouldStop(8192); +_dh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_relposn,RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("dh", _dh);Debug.locals.put("dh", _dh); + BA.debugLineNum = 271;BA.debugLine="Dim dl As Int = relposn - dh"; +Debug.ShouldStop(16384); +_dl = RemoteObject.solve(new RemoteObject[] {_relposn,_dh}, "-",1, 1);Debug.locals.put("dl", _dl);Debug.locals.put("dl", _dl); + BA.debugLineNum = 272;BA.debugLine="WriteString(ESC & \"\\\")"; +Debug.ShouldStop(32768); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("\\")))); + BA.debugLineNum = 273;BA.debugLine="Dim params(2) As Byte"; +Debug.ShouldStop(65536); +_params = RemoteObject.createNewArray ("byte", new int[] {2}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 274;BA.debugLine="params(0) = dl"; +Debug.ShouldStop(131072); +_params.setArrayElement (BA.numberCast(byte.class, _dl),BA.numberCast(int.class, 0)); + BA.debugLineNum = 275;BA.debugLine="params(1) = dh"; +Debug.ShouldStop(262144); +_params.setArrayElement (BA.numberCast(byte.class, _dh),BA.numberCast(int.class, 1)); + BA.debugLineNum = 276;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(524288); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 277;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _settabpositions(RemoteObject __ref,RemoteObject _tabs) throws Exception{ +try { + Debug.PushSubsStack("setTabPositions (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,255); +if (RapidSub.canDelegate("settabpositions")) { return __ref.runUserSub(false, "escposprinter","settabpositions", __ref, _tabs);} +RemoteObject _data = null; +int _i = 0; +Debug.locals.put("tabs", _tabs); + BA.debugLineNum = 255;BA.debugLine="Public Sub setTabPositions(tabs() As Int)"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 256;BA.debugLine="WriteString(ESC & \"D\")"; +Debug.ShouldStop(-2147483648); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("D")))); + BA.debugLineNum = 257;BA.debugLine="Dim data(tabs.Length+1) As Byte"; +Debug.ShouldStop(1); +_data = RemoteObject.createNewArray ("byte", new int[] {RemoteObject.solve(new RemoteObject[] {_tabs.getField(true,"length"),RemoteObject.createImmutable(1)}, "+",1, 1).get().intValue()}, new Object[]{});Debug.locals.put("data", _data); + BA.debugLineNum = 258;BA.debugLine="For i = 0 To tabs.Length - 1"; +Debug.ShouldStop(2); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_tabs.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 259;BA.debugLine="data(i) = tabs(i)"; +Debug.ShouldStop(4); +_data.setArrayElement (BA.numberCast(byte.class, _tabs.getArrayElement(true,BA.numberCast(int.class, _i))),BA.numberCast(int.class, _i)); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 261;BA.debugLine="data(tabs.Length) = 0"; +Debug.ShouldStop(16); +_data.setArrayElement (BA.numberCast(byte.class, 0),_tabs.getField(true,"length")); + BA.debugLineNum = 262;BA.debugLine="WriteBytes(data)"; +Debug.ShouldStop(32); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_data)); + BA.debugLineNum = 263;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setusecustomcharacters(RemoteObject __ref,RemoteObject _custom) throws Exception{ +try { + Debug.PushSubsStack("setUseCustomCharacters (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,329); +if (RapidSub.canDelegate("setusecustomcharacters")) { return __ref.runUserSub(false, "escposprinter","setusecustomcharacters", __ref, _custom);} +Debug.locals.put("custom", _custom); + BA.debugLineNum = 329;BA.debugLine="Public Sub setUseCustomCharacters(custom As Boolea"; +Debug.ShouldStop(256); + BA.debugLineNum = 330;BA.debugLine="If custom Then"; +Debug.ShouldStop(512); +if (_custom.get().booleanValue()) { + BA.debugLineNum = 331;BA.debugLine="WriteString(ESC & \"%1\")"; +Debug.ShouldStop(1024); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("%1")))); + }else { + BA.debugLineNum = 333;BA.debugLine="WriteString(ESC & \"%0\")"; +Debug.ShouldStop(4096); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("%0")))); + }; + BA.debugLineNum = 335;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _thresholdimage(RemoteObject __ref,RemoteObject _img,RemoteObject _threshold) throws Exception{ +try { + Debug.PushSubsStack("ThresholdImage (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,740); +if (RapidSub.canDelegate("thresholdimage")) { return __ref.runUserSub(false, "escposprinter","thresholdimage", __ref, _img, _threshold);} +RemoteObject _pixels = null; +int _i = 0; +RemoteObject _lum = RemoteObject.createImmutable(0); +RemoteObject _ret = RemoteObject.declareNull("SHARK2.keymon.com.mx.escposprinter._animage"); +Debug.locals.put("img", _img); +Debug.locals.put("threshold", _threshold); + BA.debugLineNum = 740;BA.debugLine="Sub ThresholdImage(img As AnImage, threshold As In"; +Debug.ShouldStop(8); + BA.debugLineNum = 741;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +Debug.ShouldStop(16); +_pixels = RemoteObject.createNewArray ("byte", new int[] {_img.getField(false,"Data" /*RemoteObject*/ ).getField(true,"length").get().intValue()}, new Object[]{});Debug.locals.put("pixels", _pixels); + BA.debugLineNum = 742;BA.debugLine="For i = 0 To pixels.Length - 1"; +Debug.ShouldStop(32); +{ +final int step2 = 1; +final int limit2 = RemoteObject.solve(new RemoteObject[] {_pixels.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step2 > 0 && _i <= limit2) || (step2 < 0 && _i >= limit2) ;_i = ((int)(0 + _i + step2)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 743;BA.debugLine="Dim lum As Int = Bit.And(img.Data(i), 0xff) ' by"; +Debug.ShouldStop(64); +_lum = escposprinter.__c.getField(false,"Bit").runMethod(true,"And",(Object)(BA.numberCast(int.class, _img.getField(false,"Data" /*RemoteObject*/ ).getArrayElement(true,BA.numberCast(int.class, _i)))),(Object)(BA.numberCast(int.class, ((int)0xff))));Debug.locals.put("lum", _lum);Debug.locals.put("lum", _lum); + BA.debugLineNum = 744;BA.debugLine="If lum < threshold Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("<",_lum,BA.numberCast(double.class, _threshold))) { + BA.debugLineNum = 745;BA.debugLine="lum = 1"; +Debug.ShouldStop(256); +_lum = BA.numberCast(int.class, 1);Debug.locals.put("lum", _lum); + }else { + BA.debugLineNum = 747;BA.debugLine="lum = 0"; +Debug.ShouldStop(1024); +_lum = BA.numberCast(int.class, 0);Debug.locals.put("lum", _lum); + }; + BA.debugLineNum = 749;BA.debugLine="pixels(i) = lum"; +Debug.ShouldStop(4096); +_pixels.setArrayElement (BA.numberCast(byte.class, _lum),BA.numberCast(int.class, _i)); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 751;BA.debugLine="Dim ret As AnImage"; +Debug.ShouldStop(16384); +_ret = RemoteObject.createNew ("SHARK2.keymon.com.mx.escposprinter._animage");Debug.locals.put("ret", _ret); + BA.debugLineNum = 752;BA.debugLine="ret.Width = img.Width"; +Debug.ShouldStop(32768); +_ret.setField ("Width" /*RemoteObject*/ ,_img.getField(true,"Width" /*RemoteObject*/ )); + BA.debugLineNum = 753;BA.debugLine="ret.Height = img.Height"; +Debug.ShouldStop(65536); +_ret.setField ("Height" /*RemoteObject*/ ,_img.getField(true,"Height" /*RemoteObject*/ )); + BA.debugLineNum = 754;BA.debugLine="ret.Data = pixels"; +Debug.ShouldStop(131072); +_ret.setField ("Data" /*RemoteObject*/ ,_pixels); + BA.debugLineNum = 755;BA.debugLine="Return ret"; +Debug.ShouldStop(262144); +if (true) return _ret; + BA.debugLineNum = 756;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writebarcode(RemoteObject __ref,RemoteObject _bartype,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("WriteBarCode (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,1076); +if (RapidSub.canDelegate("writebarcode")) { return __ref.runUserSub(false, "escposprinter","writebarcode", __ref, _bartype, _data);} +RemoteObject _databytes = null; +RemoteObject _dlow = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("bartype", _bartype); +Debug.locals.put("data", _data); + BA.debugLineNum = 1076;BA.debugLine="Public Sub WriteBarCode(bartype As String, data As"; +Debug.ShouldStop(524288); + BA.debugLineNum = 1077;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ASCII\")"; +Debug.ShouldStop(1048576); +_databytes = _data.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("ASCII")));Debug.locals.put("databytes", _databytes);Debug.locals.put("databytes", _databytes); + BA.debugLineNum = 1078;BA.debugLine="Dim dlow As Int = databytes.Length"; +Debug.ShouldStop(2097152); +_dlow = _databytes.getField(true,"length");Debug.locals.put("dlow", _dlow);Debug.locals.put("dlow", _dlow); + BA.debugLineNum = 1079;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \","; +Debug.ShouldStop(4194304); +escposprinter.__c.runVoidMethod ("LogImpl","531522819",RemoteObject.concat(RemoteObject.createImmutable("Barcode "),_bartype,RemoteObject.createImmutable(", Size "),_dlow,RemoteObject.createImmutable(", "),_data),0); + BA.debugLineNum = 1080;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt"; +Debug.ShouldStop(8388608); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_gs" /*RemoteObject*/ ),RemoteObject.createImmutable("k"),_bartype.runMethod(true,"toUpperCase").runMethod(true,"charAt",(Object)(BA.numberCast(int.class, 0)))))); + BA.debugLineNum = 1081;BA.debugLine="Dim params(1) As Byte"; +Debug.ShouldStop(16777216); +_params = RemoteObject.createNewArray ("byte", new int[] {1}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1082;BA.debugLine="params(0) = dlow"; +Debug.ShouldStop(33554432); +_params.setArrayElement (BA.numberCast(byte.class, _dlow),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1083;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(67108864); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1084;BA.debugLine="WriteBytes(databytes)"; +Debug.ShouldStop(134217728); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_databytes)); + BA.debugLineNum = 1085;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writebytes(RemoteObject __ref,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("WriteBytes (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,281); +if (RapidSub.canDelegate("writebytes")) { return __ref.runUserSub(false, "escposprinter","writebytes", __ref, _data);} +Debug.locals.put("data", _data); + BA.debugLineNum = 281;BA.debugLine="Public Sub WriteBytes(data() As Byte)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 282;BA.debugLine="If Connected Then"; +Debug.ShouldStop(33554432); +if (__ref.getField(true,"_connected" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 283;BA.debugLine="Astream.Write(data)"; +Debug.ShouldStop(67108864); +__ref.getField(false,"_astream" /*RemoteObject*/ ).runVoidMethod ("Write",(Object)(_data)); + }; + BA.debugLineNum = 285;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writeqrcode(RemoteObject __ref,RemoteObject _size,RemoteObject _ec,RemoteObject _scale,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("WriteQRCode (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,1092); +if (RapidSub.canDelegate("writeqrcode")) { return __ref.runUserSub(false, "escposprinter","writeqrcode", __ref, _size, _ec, _scale, _data);} +RemoteObject _databytes = null; +RemoteObject _dhigh = RemoteObject.createImmutable(0); +RemoteObject _dlow = RemoteObject.createImmutable(0); +RemoteObject _params = null; +Debug.locals.put("size", _size); +Debug.locals.put("EC", _ec); +Debug.locals.put("scale", _scale); +Debug.locals.put("data", _data); + BA.debugLineNum = 1092;BA.debugLine="Public Sub WriteQRCode(size As Int, EC As String,"; +Debug.ShouldStop(8); + BA.debugLineNum = 1093;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ISO-8859"; +Debug.ShouldStop(16); +_databytes = _data.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("ISO-8859-1")));Debug.locals.put("databytes", _databytes);Debug.locals.put("databytes", _databytes); + BA.debugLineNum = 1094;BA.debugLine="Dim dhigh As Int = databytes.Length / 256"; +Debug.ShouldStop(32); +_dhigh = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_databytes.getField(true,"length"),RemoteObject.createImmutable(256)}, "/",0, 0));Debug.locals.put("dhigh", _dhigh);Debug.locals.put("dhigh", _dhigh); + BA.debugLineNum = 1095;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256"; +Debug.ShouldStop(64); +_dlow = RemoteObject.solve(new RemoteObject[] {_databytes.getField(true,"length"),_dhigh,RemoteObject.createImmutable(256)}, "-*",1, 1);Debug.locals.put("dlow", _dlow);Debug.locals.put("dlow", _dlow); + BA.debugLineNum = 1096;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \","; +Debug.ShouldStop(128); +escposprinter.__c.runVoidMethod ("LogImpl","531588356",RemoteObject.concat(RemoteObject.createImmutable("QR Code : Size "),_size,RemoteObject.createImmutable(", EC "),_ec,RemoteObject.createImmutable(", Scale "),_scale,RemoteObject.createImmutable(", Size "),_dlow,RemoteObject.createImmutable(" "),_dhigh,RemoteObject.createImmutable(" : Data = "),_data),0); + BA.debugLineNum = 1097;BA.debugLine="Dim params(3) As Byte"; +Debug.ShouldStop(256); +_params = RemoteObject.createNewArray ("byte", new int[] {3}, new Object[]{});Debug.locals.put("params", _params); + BA.debugLineNum = 1098;BA.debugLine="params(0) = scale"; +Debug.ShouldStop(512); +_params.setArrayElement (BA.numberCast(byte.class, _scale),BA.numberCast(int.class, 0)); + BA.debugLineNum = 1099;BA.debugLine="params(1) = dlow"; +Debug.ShouldStop(1024); +_params.setArrayElement (BA.numberCast(byte.class, _dlow),BA.numberCast(int.class, 1)); + BA.debugLineNum = 1100;BA.debugLine="params(2) = dhigh"; +Debug.ShouldStop(2048); +_params.setArrayElement (BA.numberCast(byte.class, _dhigh),BA.numberCast(int.class, 2)); + BA.debugLineNum = 1101;BA.debugLine="WriteString(ESC & \"Z\" & Chr(size) & EC.ToUpperCas"; +Debug.ShouldStop(4096); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring" /*RemoteObject*/ ,(Object)(RemoteObject.concat(__ref.getField(true,"_esc" /*RemoteObject*/ ),RemoteObject.createImmutable("Z"),escposprinter.__c.runMethod(true,"Chr",(Object)(_size)),_ec.runMethod(true,"toUpperCase").runMethod(true,"charAt",(Object)(BA.numberCast(int.class, 0)))))); + BA.debugLineNum = 1102;BA.debugLine="WriteBytes(params)"; +Debug.ShouldStop(8192); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_params)); + BA.debugLineNum = 1103;BA.debugLine="WriteBytes(databytes)"; +Debug.ShouldStop(16384); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writebytes" /*RemoteObject*/ ,(Object)(_databytes)); + BA.debugLineNum = 1104;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writestring(RemoteObject __ref,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("WriteString (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,291); +if (RapidSub.canDelegate("writestring")) { return __ref.runUserSub(false, "escposprinter","writestring", __ref, _data);} +Debug.locals.put("data", _data); + BA.debugLineNum = 291;BA.debugLine="Public Sub WriteString(data As String)"; +Debug.ShouldStop(4); + BA.debugLineNum = 292;BA.debugLine="WriteString2(data, \"IBM437\")"; +Debug.ShouldStop(8); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_writestring2" /*RemoteObject*/ ,(Object)(_data),(Object)(RemoteObject.createImmutable("IBM437"))); + BA.debugLineNum = 293;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _writestring2(RemoteObject __ref,RemoteObject _data,RemoteObject _encoding) throws Exception{ +try { + Debug.PushSubsStack("WriteString2 (escposprinter) ","escposprinter",22,__ref.getField(false, "ba"),__ref,299); +if (RapidSub.canDelegate("writestring2")) { return __ref.runUserSub(false, "escposprinter","writestring2", __ref, _data, _encoding);} +Debug.locals.put("data", _data); +Debug.locals.put("encoding", _encoding); + BA.debugLineNum = 299;BA.debugLine="Public Sub WriteString2(data As String, encoding A"; +Debug.ShouldStop(1024); + BA.debugLineNum = 300;BA.debugLine="Try"; +Debug.ShouldStop(2048); +try { BA.debugLineNum = 301;BA.debugLine="If Connected Then"; +Debug.ShouldStop(4096); +if (__ref.getField(true,"_connected" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 302;BA.debugLine="Astream.Write(data.GetBytes(encoding))"; +Debug.ShouldStop(8192); +__ref.getField(false,"_astream" /*RemoteObject*/ ).runVoidMethod ("Write",(Object)(_data.runMethod(false,"getBytes",(Object)(_encoding)))); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e6) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e6.toString()); BA.debugLineNum = 305;BA.debugLine="Log(\"Printer error : \" & LastException.Message)"; +Debug.ShouldStop(65536); +escposprinter.__c.runVoidMethod ("LogImpl","529622278",RemoteObject.concat(RemoteObject.createImmutable("Printer error : "),escposprinter.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA")).runMethod(true,"getMessage")),0); + BA.debugLineNum = 306;BA.debugLine="AStream_Error"; +Debug.ShouldStop(131072); +__ref.runClassMethod (SHARK2.keymon.com.mx.escposprinter.class, "_astream_error" /*RemoteObject*/ ); + }; + BA.debugLineNum = 308;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/filehandler.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/filehandler.java new file mode 100644 index 0000000..cfa3846 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/filehandler.java @@ -0,0 +1,34 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class filehandler { + public static RemoteObject myClass; + public filehandler() { + } + public static PCBA staticBA = new PCBA(null, filehandler.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _ion = RemoteObject.declareNull("Object"); +public static RemoteObject _oldintent = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"ion",_ref.getField(false, "_ion"),"OldIntent",_ref.getField(false, "_oldintent")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/filehandler_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/filehandler_subs_0.java new file mode 100644 index 0000000..0cf6352 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/filehandler_subs_0.java @@ -0,0 +1,566 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class filehandler_subs_0 { + + +public static RemoteObject _checkforreceivedfiles(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CheckForReceivedFiles (filehandler) ","filehandler",23,__ref.getField(false, "ba"),__ref,96); +if (RapidSub.canDelegate("checkforreceivedfiles")) { return __ref.runUserSub(false, "filehandler","checkforreceivedfiles", __ref);} +RemoteObject _activity = RemoteObject.declareNull("anywheresoftware.b4a.objects.ActivityWrapper"); +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); +RemoteObject _uri = RemoteObject.createImmutable(""); +RemoteObject _res = RemoteObject.declareNull("SHARK2.keymon.com.mx.filehandler._loadresult"); + BA.debugLineNum = 96;BA.debugLine="Public Sub CheckForReceivedFiles As LoadResult"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 97;BA.debugLine="Dim Activity As Activity = B4XPages.GetNativePare"; +Debug.ShouldStop(1); +_activity = RemoteObject.createNew ("anywheresoftware.b4a.objects.ActivityWrapper"); +_activity = filehandler._b4xpages.runMethod(false,"_getnativeparent" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA"),(Object)((filehandler._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA")))));Debug.locals.put("Activity", _activity);Debug.locals.put("Activity", _activity); + BA.debugLineNum = 98;BA.debugLine="If IsRelevantIntent(Activity.GetStartingIntent) T"; +Debug.ShouldStop(2); +if (__ref.runClassMethod (SHARK2.keymon.com.mx.filehandler.class, "_isrelevantintent" /*RemoteObject*/ ,(Object)(_activity.runMethod(false,"GetStartingIntent"))).get().booleanValue()) { + BA.debugLineNum = 99;BA.debugLine="Dim in As Intent = Activity.GetStartingIntent"; +Debug.ShouldStop(4); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper"); +_in = _activity.runMethod(false,"GetStartingIntent");Debug.locals.put("in", _in);Debug.locals.put("in", _in); + BA.debugLineNum = 100;BA.debugLine="Dim uri As String"; +Debug.ShouldStop(8); +_uri = RemoteObject.createImmutable("");Debug.locals.put("uri", _uri); + BA.debugLineNum = 101;BA.debugLine="If in.HasExtra(\"android.intent.extra.STREAM\") Th"; +Debug.ShouldStop(16); +if (_in.runMethod(true,"HasExtra",(Object)(RemoteObject.createImmutable("android.intent.extra.STREAM"))).get().booleanValue()) { + BA.debugLineNum = 102;BA.debugLine="uri = in.As(JavaObject).RunMethod(\"getParcelabl"; +Debug.ShouldStop(32); +_uri = BA.ObjectToString((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _in.getObject())).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getParcelableExtra")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("android.intent.extra.STREAM"))}))));Debug.locals.put("uri", _uri); + }else { + BA.debugLineNum = 104;BA.debugLine="uri = in.GetData"; +Debug.ShouldStop(128); +_uri = _in.runMethod(true,"GetData");Debug.locals.put("uri", _uri); + }; + BA.debugLineNum = 106;BA.debugLine="Dim res As LoadResult = CreateLoadResult(True, \""; +Debug.ShouldStop(512); +_res = __ref.runClassMethod (SHARK2.keymon.com.mx.filehandler.class, "_createloadresult" /*RemoteObject*/ ,(Object)(filehandler.__c.getField(true,"True")),(Object)(BA.ObjectToString("ContentDir")),(Object)(_uri));Debug.locals.put("res", _res);Debug.locals.put("res", _res); + BA.debugLineNum = 107;BA.debugLine="ExtractInformationFromURI(res.FileName, res)"; +Debug.ShouldStop(1024); +__ref.runClassMethod (SHARK2.keymon.com.mx.filehandler.class, "_extractinformationfromuri" /*RemoteObject*/ ,(Object)(_res.getField(true,"FileName" /*RemoteObject*/ )),(Object)(_res)); + BA.debugLineNum = 108;BA.debugLine="Return res"; +Debug.ShouldStop(2048); +if (true) return _res; + }; + BA.debugLineNum = 110;BA.debugLine="Return CreateLoadResult(False, \"\", \"\")"; +Debug.ShouldStop(8192); +if (true) return __ref.runClassMethod (SHARK2.keymon.com.mx.filehandler.class, "_createloadresult" /*RemoteObject*/ ,(Object)(filehandler.__c.getField(true,"False")),(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 111;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +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 = 14;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 16;BA.debugLine="Private ion As Object"; +filehandler._ion = RemoteObject.createNew ("Object");__ref.setField("_ion",filehandler._ion); + //BA.debugLineNum = 17;BA.debugLine="Private OldIntent As Intent"; +filehandler._oldintent = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");__ref.setField("_oldintent",filehandler._oldintent); + //BA.debugLineNum = 19;BA.debugLine="Type LoadResult (Success As Boolean, Dir As Strin"; +; + //BA.debugLineNum = 21;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createloadresult(RemoteObject __ref,RemoteObject _success,RemoteObject _dir,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("CreateLoadResult (filehandler) ","filehandler",23,__ref.getField(false, "ba"),__ref,149); +if (RapidSub.canDelegate("createloadresult")) { return __ref.runUserSub(false, "filehandler","createloadresult", __ref, _success, _dir, _filename);} +RemoteObject _t1 = RemoteObject.declareNull("SHARK2.keymon.com.mx.filehandler._loadresult"); +Debug.locals.put("Success", _success); +Debug.locals.put("Dir", _dir); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 149;BA.debugLine="Private Sub CreateLoadResult (Success As Boolean,"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 150;BA.debugLine="Dim t1 As LoadResult"; +Debug.ShouldStop(2097152); +_t1 = RemoteObject.createNew ("SHARK2.keymon.com.mx.filehandler._loadresult");Debug.locals.put("t1", _t1); + BA.debugLineNum = 151;BA.debugLine="t1.Initialize"; +Debug.ShouldStop(4194304); +_t1.runVoidMethod ("Initialize"); + BA.debugLineNum = 152;BA.debugLine="t1.Success = Success"; +Debug.ShouldStop(8388608); +_t1.setField ("Success" /*RemoteObject*/ ,_success); + BA.debugLineNum = 153;BA.debugLine="t1.Dir = Dir"; +Debug.ShouldStop(16777216); +_t1.setField ("Dir" /*RemoteObject*/ ,_dir); + BA.debugLineNum = 154;BA.debugLine="t1.FileName = FileName"; +Debug.ShouldStop(33554432); +_t1.setField ("FileName" /*RemoteObject*/ ,_filename); + BA.debugLineNum = 155;BA.debugLine="Return t1"; +Debug.ShouldStop(67108864); +if (true) return _t1; + BA.debugLineNum = 156;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _extractinformationfromuri(RemoteObject __ref,RemoteObject _uri,RemoteObject _res) throws Exception{ +try { + Debug.PushSubsStack("ExtractInformationFromURI (filehandler) ","filehandler",23,__ref.getField(false, "ba"),__ref,70); +if (RapidSub.canDelegate("extractinformationfromuri")) { return __ref.runUserSub(false, "filehandler","extractinformationfromuri", __ref, _uri, _res);} +RemoteObject _resolver = RemoteObject.declareNull("anywheresoftware.b4a.objects.ContentResolverWrapper"); +RemoteObject _u = RemoteObject.declareNull("anywheresoftware.b4a.objects.ContentResolverWrapper.UriWrapper"); +RemoteObject _rs = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _columns = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xset"); +int _i = 0; +Debug.locals.put("Uri", _uri); +Debug.locals.put("res", _res); + BA.debugLineNum = 70;BA.debugLine="Private Sub ExtractInformationFromURI (Uri As Stri"; +Debug.ShouldStop(32); + BA.debugLineNum = 71;BA.debugLine="Try"; +Debug.ShouldStop(64); +try { BA.debugLineNum = 73;BA.debugLine="Dim resolver As ContentResolver"; +Debug.ShouldStop(256); +_resolver = RemoteObject.createNew ("anywheresoftware.b4a.objects.ContentResolverWrapper");Debug.locals.put("resolver", _resolver); + BA.debugLineNum = 74;BA.debugLine="resolver.Initialize(\"\")"; +Debug.ShouldStop(512); +_resolver.runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 75;BA.debugLine="Dim u As Uri"; +Debug.ShouldStop(1024); +_u = RemoteObject.createNew ("anywheresoftware.b4a.objects.ContentResolverWrapper.UriWrapper");Debug.locals.put("u", _u); + BA.debugLineNum = 76;BA.debugLine="u.Parse(Uri)"; +Debug.ShouldStop(2048); +_u.runVoidMethod ("Parse",(Object)(_uri)); + BA.debugLineNum = 77;BA.debugLine="Dim rs As ResultSet = resolver.Query(u, Null, \"\","; +Debug.ShouldStop(4096); +_rs = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +_rs = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"), _resolver.runMethod(false,"Query",(Object)(_u),(Object)((filehandler.__c.getField(false,"Null"))),(Object)(BA.ObjectToString("")),(Object)((filehandler.__c.getField(false,"Null"))),(Object)(RemoteObject.createImmutable(""))).getObject());Debug.locals.put("rs", _rs);Debug.locals.put("rs", _rs); + BA.debugLineNum = 78;BA.debugLine="If rs.NextRow Then"; +Debug.ShouldStop(8192); +if (_rs.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 79;BA.debugLine="Dim columns As B4XSet = B4XCollections.CreateSet"; +Debug.ShouldStop(16384); +_columns = filehandler._b4xcollections.runMethod(false,"_createset" /*RemoteObject*/ ,__ref.runMethod(false,"getActivityBA"));Debug.locals.put("columns", _columns);Debug.locals.put("columns", _columns); + BA.debugLineNum = 80;BA.debugLine="For i = 0 To rs.ColumnCount - 1"; +Debug.ShouldStop(32768); +{ +final int step9 = 1; +final int limit9 = RemoteObject.solve(new RemoteObject[] {_rs.runMethod(true,"getColumnCount"),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 = 81;BA.debugLine="columns.Add(rs.GetColumnName(i))"; +Debug.ShouldStop(65536); +_columns.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_add" /*RemoteObject*/ ,(Object)((_rs.runMethod(true,"GetColumnName",(Object)(BA.numberCast(int.class, _i)))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 83;BA.debugLine="If columns.Contains(\"_display_name\") Then res.Re"; +Debug.ShouldStop(262144); +if (_columns.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_contains" /*RemoteObject*/ ,(Object)((RemoteObject.createImmutable("_display_name")))).get().booleanValue()) { +_res.setField ("RealName" /*RemoteObject*/ ,_rs.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("_display_name"))));}; + BA.debugLineNum = 84;BA.debugLine="If columns.Contains(\"_size\") Then res.Size = rs."; +Debug.ShouldStop(524288); +if (_columns.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_contains" /*RemoteObject*/ ,(Object)((RemoteObject.createImmutable("_size")))).get().booleanValue()) { +_res.setField ("Size" /*RemoteObject*/ ,_rs.runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("_size"))));}; + BA.debugLineNum = 85;BA.debugLine="If columns.Contains(\"last_modified\") Then res.Mo"; +Debug.ShouldStop(1048576); +if (_columns.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_contains" /*RemoteObject*/ ,(Object)((RemoteObject.createImmutable("last_modified")))).get().booleanValue()) { +_res.setField ("Modified" /*RemoteObject*/ ,_rs.runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("last_modified"))));}; + BA.debugLineNum = 86;BA.debugLine="If columns.Contains(\"mime_type\") Then res.MimeTy"; +Debug.ShouldStop(2097152); +if (_columns.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_contains" /*RemoteObject*/ ,(Object)((RemoteObject.createImmutable("mime_type")))).get().booleanValue()) { +_res.setField ("MimeType" /*RemoteObject*/ ,_rs.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("mime_type"))));}; + }; + BA.debugLineNum = 88;BA.debugLine="rs.Close"; +Debug.ShouldStop(8388608); +_rs.runVoidMethod ("Close"); + Debug.CheckDeviceExceptions(); +} + catch (Exception e19) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e19.toString()); BA.debugLineNum = 91;BA.debugLine="Log(\"error extracting information from file prov"; +Debug.ShouldStop(67108864); +filehandler.__c.runVoidMethod ("LogImpl","532309269",RemoteObject.createImmutable("error extracting information from file provider"),0); + BA.debugLineNum = 92;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(134217728); +filehandler.__c.runVoidMethod ("LogImpl","532309270",BA.ObjectToString(filehandler.__c.runMethod(false,"LastException",__ref.runMethod(false,"getActivityBA"))),0); + }; + 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 _getba(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetBA (filehandler) ","filehandler",23,__ref.getField(false, "ba"),__ref,66); +if (RapidSub.canDelegate("getba")) { return __ref.runUserSub(false, "filehandler","getba", __ref);} + BA.debugLineNum = 66;BA.debugLine="Private Sub GetBA As Object"; +Debug.ShouldStop(2); + BA.debugLineNum = 67;BA.debugLine="Return Me.As(JavaObject).RunMethod(\"getBA\", Null)"; +Debug.ShouldStop(4); +if (true) return (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref)).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getBA")),(Object)((filehandler.__c.getField(false,"Null")))); + BA.debugLineNum = 68;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +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 (filehandler) ","filehandler",23,__ref.getField(false, "ba"),__ref,23); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "filehandler","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 23;BA.debugLine="Public Sub Initialize"; +Debug.ShouldStop(4194304); + 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 _isrelevantintent(RemoteObject __ref,RemoteObject _in) throws Exception{ +try { + Debug.PushSubsStack("IsRelevantIntent (filehandler) ","filehandler",23,__ref.getField(false, "ba"),__ref,113); +if (RapidSub.canDelegate("isrelevantintent")) { return __ref.runUserSub(false, "filehandler","isrelevantintent", __ref, _in);} +Debug.locals.put("in", _in); + BA.debugLineNum = 113;BA.debugLine="Private Sub IsRelevantIntent(in As Intent) As Bool"; +Debug.ShouldStop(65536); + BA.debugLineNum = 114;BA.debugLine="If in.IsInitialized And in <> OldIntent And in.Ac"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean(".",_in.runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean("!",_in,__ref.getField(false,"_oldintent" /*RemoteObject*/ )) && RemoteObject.solveBoolean("=",_in.runMethod(true,"getAction"),_in.getField(true,"ACTION_VIEW"))) { + BA.debugLineNum = 115;BA.debugLine="OldIntent = in"; +Debug.ShouldStop(262144); +__ref.setField ("_oldintent" /*RemoteObject*/ ,_in); + BA.debugLineNum = 116;BA.debugLine="Return True"; +Debug.ShouldStop(524288); +if (true) return filehandler.__c.getField(true,"True"); + }; + BA.debugLineNum = 118;BA.debugLine="Return False"; +Debug.ShouldStop(2097152); +if (true) return filehandler.__c.getField(true,"False"); + BA.debugLineNum = 119;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _load(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Load (filehandler) ","filehandler",23,__ref.getField(false, "ba"),__ref,48); +if (RapidSub.canDelegate("load")) { return __ref.runUserSub(false, "filehandler","load", __ref);} +ResumableSub_Load rsub = new ResumableSub_Load(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_Load extends BA.ResumableSub { +public ResumableSub_Load(SHARK2.keymon.com.mx.filehandler parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.filehandler parent; +RemoteObject _cc = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.ContentChooser"); +RemoteObject _success = RemoteObject.createImmutable(false); +RemoteObject _dir = RemoteObject.createImmutable(""); +RemoteObject _filename = RemoteObject.createImmutable(""); +RemoteObject _res = RemoteObject.declareNull("SHARK2.keymon.com.mx.filehandler._loadresult"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Load (filehandler) ","filehandler",23,__ref.getField(false, "ba"),__ref,48); +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 = 49;BA.debugLine="Dim cc As ContentChooser"; +Debug.ShouldStop(65536); +_cc = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.ContentChooser");Debug.locals.put("cc", _cc); + BA.debugLineNum = 50;BA.debugLine="cc.Initialize(\"cc\")"; +Debug.ShouldStop(131072); +_cc.runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("cc"))); + BA.debugLineNum = 51;BA.debugLine="cc.Show(\"application/octet-stream\", \"Choose text"; +Debug.ShouldStop(262144); +_cc.runVoidMethod ("Show",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("application/octet-stream")),(Object)(RemoteObject.createImmutable("Choose text file"))); + BA.debugLineNum = 52;BA.debugLine="Wait For CC_Result (Success As Boolean, Dir As St"; +Debug.ShouldStop(524288); +parent.__c.runVoidMethod ("WaitFor","cc_result", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "filehandler", "load"), null); +this.state = 7; +return; +case 7: +//C +this.state = 1; +_success = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("Success", _success); +_dir = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(2));Debug.locals.put("Dir", _dir); +_filename = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(3));Debug.locals.put("FileName", _filename); +; + BA.debugLineNum = 53;BA.debugLine="Log($\"***************************${CRLF}${Dir}${C"; +Debug.ShouldStop(1048576); +parent.__c.runVoidMethod ("LogImpl","532112645",(RemoteObject.concat(RemoteObject.createImmutable("***************************"),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)((_dir))),RemoteObject.createImmutable(""),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)((_filename))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 54;BA.debugLine="Dim res As LoadResult = CreateLoadResult(Success,"; +Debug.ShouldStop(2097152); +_res = __ref.runClassMethod (SHARK2.keymon.com.mx.filehandler.class, "_createloadresult" /*RemoteObject*/ ,(Object)(_success),(Object)(_dir),(Object)(_filename));Debug.locals.put("res", _res);Debug.locals.put("res", _res); + BA.debugLineNum = 55;BA.debugLine="Log($\"***************************${CRLF}${res.Fil"; +Debug.ShouldStop(4194304); +parent.__c.runVoidMethod ("LogImpl","532112647",(RemoteObject.concat(RemoteObject.createImmutable("***************************"),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)((_res.getField(true,"FileName" /*RemoteObject*/ )))),RemoteObject.createImmutable(""),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)((_res))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 56;BA.debugLine="If res.Success Then ExtractInformationFromURI(res"; +Debug.ShouldStop(8388608); +if (true) break; + +case 1: +//if +this.state = 6; +if (_res.getField(true,"Success" /*RemoteObject*/ ).get().booleanValue()) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +__ref.runClassMethod (SHARK2.keymon.com.mx.filehandler.class, "_extractinformationfromuri" /*RemoteObject*/ ,(Object)(_res.getField(true,"FileName" /*RemoteObject*/ )),(Object)(_res)); +if (true) break; + +case 6: +//C +this.state = -1; +; + BA.debugLineNum = 57;BA.debugLine="Return res"; +Debug.ShouldStop(16777216); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(_res));return;}; + BA.debugLineNum = 58;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _cc_result(RemoteObject __ref,RemoteObject _success,RemoteObject _dir,RemoteObject _filename) throws Exception{ +} +public static RemoteObject _saveas(RemoteObject __ref,RemoteObject _source,RemoteObject _mimetype,RemoteObject _title) throws Exception{ +try { + Debug.PushSubsStack("SaveAs (filehandler) ","filehandler",23,__ref.getField(false, "ba"),__ref,28); +if (RapidSub.canDelegate("saveas")) { return __ref.runUserSub(false, "filehandler","saveas", __ref, _source, _mimetype, _title);} +ResumableSub_SaveAs rsub = new ResumableSub_SaveAs(null,__ref,_source,_mimetype,_title); +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_SaveAs extends BA.ResumableSub { +public ResumableSub_SaveAs(SHARK2.keymon.com.mx.filehandler parent,RemoteObject __ref,RemoteObject _source,RemoteObject _mimetype,RemoteObject _title) { +this.parent = parent; +this.__ref = __ref; +this._source = _source; +this._mimetype = _mimetype; +this._title = _title; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.filehandler parent; +RemoteObject _source; +RemoteObject _mimetype; +RemoteObject _title; +RemoteObject _intent = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); +RemoteObject _methodname = RemoteObject.createImmutable(""); +RemoteObject _args = null; +RemoteObject _result = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _ctxt = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("SaveAs (filehandler) ","filehandler",23,__ref.getField(false, "ba"),__ref,28); +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("Source", _source); +Debug.locals.put("MimeType", _mimetype); +Debug.locals.put("Title", _title); + BA.debugLineNum = 29;BA.debugLine="Dim intent As Intent"; +Debug.ShouldStop(268435456); +_intent = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("intent", _intent); + BA.debugLineNum = 30;BA.debugLine="intent.Initialize(\"android.intent.action.CREATE_D"; +Debug.ShouldStop(536870912); +_intent.runVoidMethod ("Initialize",(Object)(BA.ObjectToString("android.intent.action.CREATE_DOCUMENT")),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 31;BA.debugLine="intent.AddCategory(\"android.intent.category.OPENA"; +Debug.ShouldStop(1073741824); +_intent.runVoidMethod ("AddCategory",(Object)(RemoteObject.createImmutable("android.intent.category.OPENABLE"))); + BA.debugLineNum = 32;BA.debugLine="intent.PutExtra(\"android.intent.extra.TITLE\", Tit"; +Debug.ShouldStop(-2147483648); +_intent.runVoidMethod ("PutExtra",(Object)(BA.ObjectToString("android.intent.extra.TITLE")),(Object)((_title))); + BA.debugLineNum = 33;BA.debugLine="intent.SetType(MimeType)"; +Debug.ShouldStop(1); +_intent.runVoidMethod ("SetType",(Object)(_mimetype)); + BA.debugLineNum = 34;BA.debugLine="StartActivityForResult(intent)"; +Debug.ShouldStop(2); +__ref.runClassMethod (SHARK2.keymon.com.mx.filehandler.class, "_startactivityforresult" /*RemoteObject*/ ,(Object)(_intent)); + BA.debugLineNum = 35;BA.debugLine="Wait For ion_Event (MethodName As String, Args()"; +Debug.ShouldStop(4); +parent.__c.runVoidMethod ("WaitFor","ion_event", __ref.getField(false, "ba"), anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "filehandler", "saveas"), null); +this.state = 5; +return; +case 5: +//C +this.state = 1; +_methodname = (RemoteObject) result.getArrayElement(true,RemoteObject.createImmutable(1));Debug.locals.put("MethodName", _methodname); +_args = (RemoteObject) result.getArrayElement(false,RemoteObject.createImmutable(2));Debug.locals.put("Args", _args); +; + BA.debugLineNum = 36;BA.debugLine="If -1 = Args(0) Then 'resultCode = RESULT_OK"; +Debug.ShouldStop(8); +if (true) break; + +case 1: +//if +this.state = 4; +if (RemoteObject.solveBoolean("=",RemoteObject.createImmutable(-(double) (0 + 1)),BA.numberCast(double.class, _args.getArrayElement(false,BA.numberCast(int.class, 0))))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 37;BA.debugLine="Dim result As Intent = Args(1)"; +Debug.ShouldStop(16); +_result = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper"); +_result = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.IntentWrapper"), _args.getArrayElement(false,BA.numberCast(int.class, 1)));Debug.locals.put("result", _result);Debug.locals.put("result", _result); + BA.debugLineNum = 38;BA.debugLine="Dim jo As JavaObject = result"; +Debug.ShouldStop(32); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _result.getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 39;BA.debugLine="Dim ctxt As JavaObject"; +Debug.ShouldStop(64); +_ctxt = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("ctxt", _ctxt); + BA.debugLineNum = 40;BA.debugLine="Dim out As OutputStream = ctxt.InitializeContext"; +Debug.ShouldStop(128); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"), _ctxt.runMethod(false,"InitializeContext",__ref.getField(false, "ba")).runMethod(false,"RunMethodJO",(Object)(BA.ObjectToString("getContentResolver")),(Object)((parent.__c.getField(false,"Null")))).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("openOutputStream")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {_jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getData")),(Object)((parent.__c.getField(false,"Null"))))}))));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 41;BA.debugLine="File.Copy2(Source, out)"; +Debug.ShouldStop(256); +parent.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_source.getObject())),(Object)((_out.getObject()))); + BA.debugLineNum = 42;BA.debugLine="out.Close"; +Debug.ShouldStop(512); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 43;BA.debugLine="Return True"; +Debug.ShouldStop(1024); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"True")));return;}; + if (true) break; + +case 4: +//C +this.state = -1; +; + BA.debugLineNum = 45;BA.debugLine="Return False"; +Debug.ShouldStop(4096); +if (true) { +parent.__c.runVoidMethod ("ReturnFromResumableSub",this.remoteResumableSub,(parent.__c.getField(true,"False")));return;}; + BA.debugLineNum = 46;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _ion_event(RemoteObject __ref,RemoteObject _methodname,RemoteObject _args) throws Exception{ +} +public static RemoteObject _startactivityforresult(RemoteObject __ref,RemoteObject _i) throws Exception{ +try { + Debug.PushSubsStack("StartActivityForResult (filehandler) ","filehandler",23,__ref.getField(false, "ba"),__ref,60); +if (RapidSub.canDelegate("startactivityforresult")) { return __ref.runUserSub(false, "filehandler","startactivityforresult", __ref, _i);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("i", _i); + BA.debugLineNum = 60;BA.debugLine="Private Sub StartActivityForResult(i As Intent)"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 61;BA.debugLine="Dim jo As JavaObject = GetBA"; +Debug.ShouldStop(268435456); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref.runClassMethod (SHARK2.keymon.com.mx.filehandler.class, "_getba" /*RemoteObject*/ ));Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 62;BA.debugLine="ion = jo.CreateEvent(\"anywheresoftware.b4a.IOnAct"; +Debug.ShouldStop(536870912); +__ref.setField ("_ion" /*RemoteObject*/ ,_jo.runMethod(false,"CreateEvent",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("anywheresoftware.b4a.IOnActivityResult")),(Object)(BA.ObjectToString("ion")),(Object)(filehandler.__c.getField(false,"Null")))); + BA.debugLineNum = 63;BA.debugLine="jo.RunMethod(\"startActivityForResult\", Array(ion,"; +Debug.ShouldStop(1073741824); +_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 = 64;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +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/SHARK2/keymon/com/mx/fileprovider.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/fileprovider.java new file mode 100644 index 0000000..03d08f5 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/fileprovider.java @@ -0,0 +1,35 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class fileprovider { + public static RemoteObject myClass; + public fileprovider() { + } + public static PCBA staticBA = new PCBA(null, fileprovider.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _sharedfolder = RemoteObject.createImmutable(""); +public static RemoteObject _usefileprovider = RemoteObject.createImmutable(false); +public static RemoteObject _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"rp",_ref.getField(false, "_rp"),"SharedFolder",_ref.getField(false, "_sharedfolder"),"UseFileProvider",_ref.getField(false, "_usefileprovider")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/fileprovider_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/fileprovider_subs_0.java new file mode 100644 index 0000000..76b904e --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/fileprovider_subs_0.java @@ -0,0 +1,147 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class fileprovider_subs_0 { + + +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 3;BA.debugLine="Public SharedFolder As String"; +fileprovider._sharedfolder = RemoteObject.createImmutable("");__ref.setField("_sharedfolder",fileprovider._sharedfolder); + //BA.debugLineNum = 4;BA.debugLine="Public UseFileProvider As Boolean"; +fileprovider._usefileprovider = RemoteObject.createImmutable(false);__ref.setField("_usefileprovider",fileprovider._usefileprovider); + //BA.debugLineNum = 5;BA.debugLine="Private rp As RuntimePermissions"; +fileprovider._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions");__ref.setField("_rp",fileprovider._rp); + //BA.debugLineNum = 6;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _getfileuri(RemoteObject __ref,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("GetFileUri (fileprovider) ","fileprovider",44,__ref.getField(false, "ba"),__ref,22); +if (RapidSub.canDelegate("getfileuri")) { return __ref.runUserSub(false, "fileprovider","getfileuri", __ref, _filename);} +RemoteObject _uri = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _f = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _fp = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _context = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 22;BA.debugLine="Public Sub GetFileUri (FileName As String) As Obje"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 24;BA.debugLine="If UseFileProvider = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_usefileprovider" /*RemoteObject*/ ),fileprovider.__c.getField(true,"False"))) { + BA.debugLineNum = 25;BA.debugLine="Dim uri As JavaObject"; +Debug.JustUpdateDeviceLine(); +_uri = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("uri", _uri); + BA.debugLineNum = 26;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; +Debug.JustUpdateDeviceLine(); +if (true) return _uri.runMethod(false,"InitializeStatic",(Object)(RemoteObject.createImmutable("android.net.Uri"))).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("parse")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.concat(RemoteObject.createImmutable("file://"),fileprovider.__c.getField(false,"File").runMethod(true,"Combine",(Object)(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )),(Object)(_filename))))}))); + }else { + BA.debugLineNum = 28;BA.debugLine="Dim f As JavaObject"; +Debug.JustUpdateDeviceLine(); +_f = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("f", _f); + BA.debugLineNum = 29;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +Debug.JustUpdateDeviceLine(); +_f.runVoidMethod ("InitializeNewInstance",(Object)(BA.ObjectToString("java.io.File")),(Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ )),(_filename)}))); + BA.debugLineNum = 30;BA.debugLine="Dim fp As JavaObject"; +Debug.JustUpdateDeviceLine(); +_fp = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("fp", _fp); + BA.debugLineNum = 31;BA.debugLine="Dim context As JavaObject"; +Debug.JustUpdateDeviceLine(); +_context = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("context", _context); + BA.debugLineNum = 32;BA.debugLine="context.InitializeContext"; +Debug.JustUpdateDeviceLine(); +_context.runVoidMethod ("InitializeContext",__ref.getField(false, "ba")); + BA.debugLineNum = 33;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +Debug.JustUpdateDeviceLine(); +_fp.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("androidx.core.content.FileProvider"))); + BA.debugLineNum = 34;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; +Debug.JustUpdateDeviceLine(); +if (true) return _fp.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getUriForFile")),(Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_context.getObject()),(RemoteObject.concat(fileprovider.__c.getField(false,"Application").runMethod(true,"getPackageName"),RemoteObject.createImmutable(".provider"))),(_f.getObject())}))); + }; + BA.debugLineNum = 36;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (fileprovider) ","fileprovider",44,__ref.getField(false, "ba"),__ref,8); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "fileprovider","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 8;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 9;BA.debugLine="Dim p As Phone"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone");Debug.locals.put("p", _p); + BA.debugLineNum = 10;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("g",_p.runMethod(true,"getSdkVersion"),BA.numberCast(double.class, 24)) || RemoteObject.solveBoolean("=",fileprovider.__c.getField(false,"File").runMethod(true,"getExternalWritable"),fileprovider.__c.getField(true,"False"))) { + BA.debugLineNum = 11;BA.debugLine="UseFileProvider = True"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_usefileprovider" /*RemoteObject*/ ,fileprovider.__c.getField(true,"True")); + BA.debugLineNum = 12;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sharedfolder" /*RemoteObject*/ ,fileprovider.__c.getField(false,"File").runMethod(true,"Combine",(Object)(fileprovider.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("shared")))); + BA.debugLineNum = 13;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +Debug.JustUpdateDeviceLine(); +fileprovider.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(BA.ObjectToString("")),(Object)(__ref.getField(true,"_sharedfolder" /*RemoteObject*/ ))); + }else { + BA.debugLineNum = 15;BA.debugLine="UseFileProvider = False"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_usefileprovider" /*RemoteObject*/ ,fileprovider.__c.getField(true,"False")); + BA.debugLineNum = 16;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_sharedfolder" /*RemoteObject*/ ,__ref.getField(false,"_rp" /*RemoteObject*/ ).runMethod(true,"GetSafeDirDefaultExternal",(Object)(RemoteObject.createImmutable("shared")))); + }; + BA.debugLineNum = 18;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; +Debug.JustUpdateDeviceLine(); +fileprovider.__c.runVoidMethod ("LogImpl","954919178",(RemoteObject.concat(RemoteObject.createImmutable("Using FileProvider? "),fileprovider.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((__ref.getField(true,"_usefileprovider" /*RemoteObject*/ )))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 19;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setfileuriasintentdata(RemoteObject __ref,RemoteObject _intent,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("SetFileUriAsIntentData (fileprovider) ","fileprovider",44,__ref.getField(false, "ba"),__ref,40); +if (RapidSub.canDelegate("setfileuriasintentdata")) { return __ref.runUserSub(false, "fileprovider","setfileuriasintentdata", __ref, _intent, _filename);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +Debug.locals.put("Intent", _intent); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 40;BA.debugLine="Public Sub SetFileUriAsIntentData (Intent As Inten"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 41;BA.debugLine="Dim jo As JavaObject = Intent"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _intent.getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 42;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setData")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {__ref.runClassMethod (SHARK2.keymon.com.mx.fileprovider.class, "_getfileuri" /*RemoteObject*/ ,(Object)(_filename))}))); + BA.debugLineNum = 43;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +Debug.JustUpdateDeviceLine(); +_intent.runMethod(true,"setFlags",fileprovider.__c.getField(false,"Bit").runMethod(true,"Or",(Object)(_intent.runMethod(true,"getFlags")),(Object)(BA.numberCast(int.class, 1)))); + BA.debugLineNum = 44;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/httpjob.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/httpjob.java new file mode 100644 index 0000000..de688dd --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/httpjob.java @@ -0,0 +1,44 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class httpjob { + public static RemoteObject myClass; + public httpjob() { + } + public static PCBA staticBA = new PCBA(null, httpjob.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _jobname = RemoteObject.createImmutable(""); +public static RemoteObject _success = RemoteObject.createImmutable(false); +public static RemoteObject _username = RemoteObject.createImmutable(""); +public static RemoteObject _password = RemoteObject.createImmutable(""); +public static RemoteObject _errormessage = RemoteObject.createImmutable(""); +public static RemoteObject _target = RemoteObject.declareNull("Object"); +public static RemoteObject _taskid = RemoteObject.createImmutable(""); +public static RemoteObject _req = RemoteObject.declareNull("anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest"); +public static RemoteObject _response = RemoteObject.declareNull("anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _invalidurl = RemoteObject.createImmutable(""); +public static RemoteObject _defaultscheme = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"DefaultScheme",_ref.getField(false, "_defaultscheme"),"ErrorMessage",_ref.getField(false, "_errormessage"),"InvalidURL",_ref.getField(false, "_invalidurl"),"JobName",_ref.getField(false, "_jobname"),"Password",_ref.getField(false, "_password"),"req",_ref.getField(false, "_req"),"Response",_ref.getField(false, "_response"),"Success",_ref.getField(false, "_success"),"Tag",_ref.getField(false, "_tag"),"target",_ref.getField(false, "_target"),"taskId",_ref.getField(false, "_taskid"),"Username",_ref.getField(false, "_username")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/httpjob_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/httpjob_subs_0.java new file mode 100644 index 0000000..307f765 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/httpjob_subs_0.java @@ -0,0 +1,969 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class httpjob_subs_0 { + + +public static RemoteObject _addscheme(RemoteObject __ref,RemoteObject _link) throws Exception{ +try { + Debug.PushSubsStack("AddScheme (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,52); +if (RapidSub.canDelegate("addscheme")) { return __ref.runUserSub(false, "httpjob","addscheme", __ref, _link);} +Debug.locals.put("Link", _link); + BA.debugLineNum = 52;BA.debugLine="Private Sub AddScheme (Link As String) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 53;BA.debugLine="If DefaultScheme = \"\" Or Link.Contains(\":\") Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_defaultscheme" /*RemoteObject*/ ),BA.ObjectToString("")) || RemoteObject.solveBoolean(".",_link.runMethod(true,"contains",(Object)(RemoteObject.createImmutable(":"))))) { +if (true) return _link;}; + BA.debugLineNum = 54;BA.debugLine="Return DefaultScheme & \"://\" & Link"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.concat(__ref.getField(true,"_defaultscheme" /*RemoteObject*/ ),RemoteObject.createImmutable("://"),_link); + BA.debugLineNum = 55;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 3;BA.debugLine="Public JobName As String"; +httpjob._jobname = RemoteObject.createImmutable("");__ref.setField("_jobname",httpjob._jobname); + //BA.debugLineNum = 4;BA.debugLine="Public Success As Boolean"; +httpjob._success = RemoteObject.createImmutable(false);__ref.setField("_success",httpjob._success); + //BA.debugLineNum = 5;BA.debugLine="Public Username, Password As String"; +httpjob._username = RemoteObject.createImmutable("");__ref.setField("_username",httpjob._username); +httpjob._password = RemoteObject.createImmutable("");__ref.setField("_password",httpjob._password); + //BA.debugLineNum = 6;BA.debugLine="Public ErrorMessage As String"; +httpjob._errormessage = RemoteObject.createImmutable("");__ref.setField("_errormessage",httpjob._errormessage); + //BA.debugLineNum = 7;BA.debugLine="Private target As Object"; +httpjob._target = RemoteObject.createNew ("Object");__ref.setField("_target",httpjob._target); + //BA.debugLineNum = 13;BA.debugLine="Private taskId As String"; +httpjob._taskid = RemoteObject.createImmutable("");__ref.setField("_taskid",httpjob._taskid); + //BA.debugLineNum = 15;BA.debugLine="Private req As OkHttpRequest"; +httpjob._req = RemoteObject.createNew ("anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest");__ref.setField("_req",httpjob._req); + //BA.debugLineNum = 16;BA.debugLine="Public Response As OkHttpResponse"; +httpjob._response = RemoteObject.createNew ("anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse");__ref.setField("_response",httpjob._response); + //BA.debugLineNum = 25;BA.debugLine="Public Tag As Object"; +httpjob._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",httpjob._tag); + //BA.debugLineNum = 26;BA.debugLine="Type MultipartFileData (Dir As String, FileName A"; +; + //BA.debugLineNum = 30;BA.debugLine="Private Const InvalidURL As String = \"https://inv"; +httpjob._invalidurl = BA.ObjectToString("https://invalid-url/");__ref.setField("_invalidurl",httpjob._invalidurl); + //BA.debugLineNum = 31;BA.debugLine="Public DefaultScheme As String = \"https\""; +httpjob._defaultscheme = BA.ObjectToString("https");__ref.setField("_defaultscheme",httpjob._defaultscheme); + //BA.debugLineNum = 32;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _complete(RemoteObject __ref,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("Complete (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,315); +if (RapidSub.canDelegate("complete")) { return __ref.runUserSub(false, "httpjob","complete", __ref, _id);} +Debug.locals.put("id", _id); + BA.debugLineNum = 315;BA.debugLine="Public Sub Complete (id As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 316;BA.debugLine="taskId = id"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_taskid" /*RemoteObject*/ ,BA.NumberToString(_id)); + BA.debugLineNum = 317;BA.debugLine="CallSubDelayed2(target, \"JobDone\", Me)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_target" /*RemoteObject*/ )),(Object)(BA.ObjectToString("JobDone")),(Object)(__ref)); + BA.debugLineNum = 318;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _delete(RemoteObject __ref,RemoteObject _link) throws Exception{ +try { + Debug.PushSubsStack("Delete (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,261); +if (RapidSub.canDelegate("delete")) { return __ref.runUserSub(false, "httpjob","delete", __ref, _link);} +Debug.locals.put("Link", _link); + BA.debugLineNum = 261;BA.debugLine="Public Sub Delete(Link As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 262;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 263;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 264;BA.debugLine="req.InitializeDelete(Link)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeDelete",(Object)(_link)); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 266;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","956819717",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 267;BA.debugLine="req.InitializeDelete(InvalidURL)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeDelete",(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 269;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 270;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _delete2(RemoteObject __ref,RemoteObject _link,RemoteObject _parameters) throws Exception{ +try { + Debug.PushSubsStack("Delete2 (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,272); +if (RapidSub.canDelegate("delete2")) { return __ref.runUserSub(false, "httpjob","delete2", __ref, _link, _parameters);} +Debug.locals.put("Link", _link); +Debug.locals.put("Parameters", _parameters); + BA.debugLineNum = 272;BA.debugLine="Public Sub Delete2(Link As String, Parameters() As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 273;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 274;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 275;BA.debugLine="req.InitializeDelete(escapeLink(Link, Parameters"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeDelete",(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_escapelink" /*RemoteObject*/ ,(Object)(_link),(Object)(_parameters)))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 277;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","956885253",(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 (SHARK2.keymon.com.mx.httpjob.class, "_escapelink" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ )),(Object)(_parameters)))); + }; + BA.debugLineNum = 280;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 281;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _download(RemoteObject __ref,RemoteObject _link) throws Exception{ +try { + Debug.PushSubsStack("Download (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,219); +if (RapidSub.canDelegate("download")) { return __ref.runUserSub(false, "httpjob","download", __ref, _link);} +Debug.locals.put("Link", _link); + BA.debugLineNum = 219;BA.debugLine="Public Sub Download(Link As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 220;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 221;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 222;BA.debugLine="req.InitializeGet(Link)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeGet",(Object)(_link)); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 224;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","956623109",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 225;BA.debugLine="req.InitializeGet(InvalidURL)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeGet",(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 227;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 228;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _download2(RemoteObject __ref,RemoteObject _link,RemoteObject _parameters) throws Exception{ +try { + Debug.PushSubsStack("Download2 (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,235); +if (RapidSub.canDelegate("download2")) { return __ref.runUserSub(false, "httpjob","download2", __ref, _link, _parameters);} +Debug.locals.put("Link", _link); +Debug.locals.put("Parameters", _parameters); + BA.debugLineNum = 235;BA.debugLine="Public Sub Download2(Link As String, Parameters()"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 236;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 237;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 238;BA.debugLine="req.InitializeGet(escapeLink(Link, Parameters))"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeGet",(Object)(__ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_escapelink" /*RemoteObject*/ ,(Object)(_link),(Object)(_parameters)))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 240;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","956688645",(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 (SHARK2.keymon.com.mx.httpjob.class, "_escapelink" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ )),(Object)(_parameters)))); + }; + BA.debugLineNum = 243;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 244;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _escapelink(RemoteObject __ref,RemoteObject _link,RemoteObject _parameters) throws Exception{ +try { + Debug.PushSubsStack("escapeLink (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,246); +if (RapidSub.canDelegate("escapelink")) { return __ref.runUserSub(false, "httpjob","escapelink", __ref, _link, _parameters);} +RemoteObject _sb = RemoteObject.declareNull("anywheresoftware.b4a.keywords.StringBuilderWrapper"); +RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils"); +int _i = 0; +Debug.locals.put("Link", _link); +Debug.locals.put("Parameters", _parameters); + BA.debugLineNum = 246;BA.debugLine="Private Sub escapeLink(Link As String, Parameters("; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 247;BA.debugLine="Dim sb As StringBuilder"; +Debug.JustUpdateDeviceLine(); +_sb = RemoteObject.createNew ("anywheresoftware.b4a.keywords.StringBuilderWrapper");Debug.locals.put("sb", _sb); + BA.debugLineNum = 248;BA.debugLine="sb.Initialize"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Initialize"); + BA.debugLineNum = 249;BA.debugLine="sb.Append(Link)"; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(_link)); + BA.debugLineNum = 250;BA.debugLine="If Parameters.Length > 0 Then sb.Append(\"?\")"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",_parameters.getField(true,"length"),BA.numberCast(double.class, 0))) { +_sb.runVoidMethod ("Append",(Object)(RemoteObject.createImmutable("?")));}; + BA.debugLineNum = 251;BA.debugLine="Dim su As StringUtils"; +Debug.JustUpdateDeviceLine(); +_su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils");Debug.locals.put("su", _su); + BA.debugLineNum = 252;BA.debugLine="For i = 0 To Parameters.Length - 1 Step 2"; +Debug.JustUpdateDeviceLine(); +{ +final int step6 = 2; +final int limit6 = RemoteObject.solve(new RemoteObject[] {_parameters.getField(true,"length"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step6 > 0 && _i <= limit6) || (step6 < 0 && _i >= limit6) ;_i = ((int)(0 + _i + step6)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 253;BA.debugLine="If i > 0 Then sb.Append(\"&\")"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(">",RemoteObject.createImmutable(_i),BA.numberCast(double.class, 0))) { +_sb.runVoidMethod ("Append",(Object)(RemoteObject.createImmutable("&")));}; + BA.debugLineNum = 254;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i), \"UTF8\")).A"; +Debug.JustUpdateDeviceLine(); +_sb.runMethod(false,"Append",(Object)(_su.runMethod(true,"EncodeUrl",(Object)(_parameters.getArrayElement(true,BA.numberCast(int.class, _i))),(Object)(RemoteObject.createImmutable("UTF8"))))).runVoidMethod ("Append",(Object)(RemoteObject.createImmutable("="))); + BA.debugLineNum = 255;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i + 1), \"UTF8\""; +Debug.JustUpdateDeviceLine(); +_sb.runVoidMethod ("Append",(Object)(_su.runMethod(true,"EncodeUrl",(Object)(_parameters.getArrayElement(true,RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1))),(Object)(RemoteObject.createImmutable("UTF8"))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 257;BA.debugLine="Return sb.ToString"; +Debug.JustUpdateDeviceLine(); +if (true) return _sb.runMethod(true,"ToString"); + BA.debugLineNum = 258;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbitmap(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetBitmap (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,330); +if (RapidSub.canDelegate("getbitmap")) { return __ref.runUserSub(false, "httpjob","getbitmap", __ref);} +RemoteObject _b = RemoteObject.declareNull("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper"); + BA.debugLineNum = 330;BA.debugLine="Public Sub GetBitmap As Bitmap"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 331;BA.debugLine="Dim b As Bitmap"; +Debug.JustUpdateDeviceLine(); +_b = RemoteObject.createNew ("anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper");Debug.locals.put("b", _b); + BA.debugLineNum = 332;BA.debugLine="b = LoadBitmap(HttpUtils2Service.TempFolder, task"; +Debug.JustUpdateDeviceLine(); +_b = httpjob.__c.runMethod(false,"LoadBitmap",(Object)(httpjob._httputils2service._tempfolder /*RemoteObject*/ ),(Object)(__ref.getField(true,"_taskid" /*RemoteObject*/ )));Debug.locals.put("b", _b); + BA.debugLineNum = 333;BA.debugLine="Return b"; +Debug.JustUpdateDeviceLine(); +if (true) return _b; + BA.debugLineNum = 334;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbitmapresize(RemoteObject __ref,RemoteObject _width,RemoteObject _height,RemoteObject _keepaspectratio) throws Exception{ +try { + Debug.PushSubsStack("GetBitmapResize (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,341); +if (RapidSub.canDelegate("getbitmapresize")) { return __ref.runUserSub(false, "httpjob","getbitmapresize", __ref, _width, _height, _keepaspectratio);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); +Debug.locals.put("KeepAspectRatio", _keepaspectratio); + BA.debugLineNum = 341;BA.debugLine="Public Sub GetBitmapResize(Width As Int, Height As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 342;BA.debugLine="Return LoadBitmapResize(HttpUtils2Service.TempFol"; +Debug.JustUpdateDeviceLine(); +if (true) return httpjob.__c.runMethod(false,"LoadBitmapResize",(Object)(httpjob._httputils2service._tempfolder /*RemoteObject*/ ),(Object)(__ref.getField(true,"_taskid" /*RemoteObject*/ )),(Object)(_width),(Object)(_height),(Object)(_keepaspectratio)); + BA.debugLineNum = 343;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getbitmapsample(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("GetBitmapSample (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,337); +if (RapidSub.canDelegate("getbitmapsample")) { return __ref.runUserSub(false, "httpjob","getbitmapsample", __ref, _width, _height);} +Debug.locals.put("Width", _width); +Debug.locals.put("Height", _height); + BA.debugLineNum = 337;BA.debugLine="Public Sub GetBitmapSample(Width As Int, Height As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 338;BA.debugLine="Return LoadBitmapSample(HttpUtils2Service.TempFol"; +Debug.JustUpdateDeviceLine(); +if (true) return httpjob.__c.runMethod(false,"LoadBitmapSample",(Object)(httpjob._httputils2service._tempfolder /*RemoteObject*/ ),(Object)(__ref.getField(true,"_taskid" /*RemoteObject*/ )),(Object)(_width),(Object)(_height)); + BA.debugLineNum = 339;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getinputstream(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetInputStream (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,347); +if (RapidSub.canDelegate("getinputstream")) { return __ref.runUserSub(false, "httpjob","getinputstream", __ref);} +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); + BA.debugLineNum = 347;BA.debugLine="Public Sub GetInputStream As InputStream"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 348;BA.debugLine="Dim In As InputStream"; +Debug.JustUpdateDeviceLine(); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper");Debug.locals.put("In", _in); + BA.debugLineNum = 349;BA.debugLine="In = File.OpenInput(HttpUtils2Service.TempFolder,"; +Debug.JustUpdateDeviceLine(); +_in = httpjob.__c.getField(false,"File").runMethod(false,"OpenInput",(Object)(httpjob._httputils2service._tempfolder /*RemoteObject*/ ),(Object)(__ref.getField(true,"_taskid" /*RemoteObject*/ )));Debug.locals.put("In", _in); + BA.debugLineNum = 350;BA.debugLine="Return In"; +Debug.JustUpdateDeviceLine(); +if (true) return _in; + BA.debugLineNum = 351;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getrequest(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetRequest (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,310); +if (RapidSub.canDelegate("getrequest")) { return __ref.runUserSub(false, "httpjob","getrequest", __ref);} + BA.debugLineNum = 310;BA.debugLine="Public Sub GetRequest As OkHttpRequest"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 311;BA.debugLine="Return req"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_req" /*RemoteObject*/ ); + BA.debugLineNum = 312;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getstring(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetString (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,291); +if (RapidSub.canDelegate("getstring")) { return __ref.runUserSub(false, "httpjob","getstring", __ref);} + BA.debugLineNum = 291;BA.debugLine="Public Sub GetString As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 292;BA.debugLine="Return GetString2(\"UTF8\")"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_getstring2" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("UTF8"))); + BA.debugLineNum = 293;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getstring2(RemoteObject __ref,RemoteObject _encoding) throws Exception{ +try { + Debug.PushSubsStack("GetString2 (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,296); +if (RapidSub.canDelegate("getstring2")) { return __ref.runUserSub(false, "httpjob","getstring2", __ref, _encoding);} +RemoteObject _tr = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.TextReaderWrapper"); +RemoteObject _res = RemoteObject.createImmutable(""); +Debug.locals.put("Encoding", _encoding); + BA.debugLineNum = 296;BA.debugLine="Public Sub GetString2(Encoding As String) As Strin"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 300;BA.debugLine="Dim tr As TextReader"; +Debug.JustUpdateDeviceLine(); +_tr = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.TextReaderWrapper");Debug.locals.put("tr", _tr); + BA.debugLineNum = 301;BA.debugLine="tr.Initialize2(File.OpenInput(HttpUtils2Service.T"; +Debug.JustUpdateDeviceLine(); +_tr.runVoidMethod ("Initialize2",(Object)((httpjob.__c.getField(false,"File").runMethod(false,"OpenInput",(Object)(httpjob._httputils2service._tempfolder /*RemoteObject*/ ),(Object)(__ref.getField(true,"_taskid" /*RemoteObject*/ ))).getObject())),(Object)(_encoding)); + BA.debugLineNum = 302;BA.debugLine="Dim res As String = tr.ReadAll"; +Debug.JustUpdateDeviceLine(); +_res = _tr.runMethod(true,"ReadAll");Debug.locals.put("res", _res);Debug.locals.put("res", _res); + BA.debugLineNum = 303;BA.debugLine="tr.Close"; +Debug.JustUpdateDeviceLine(); +_tr.runVoidMethod ("Close"); + BA.debugLineNum = 304;BA.debugLine="Return res"; +Debug.JustUpdateDeviceLine(); +if (true) return _res; + BA.debugLineNum = 306;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _head(RemoteObject __ref,RemoteObject _link) throws Exception{ +try { + Debug.PushSubsStack("Head (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,119); +if (RapidSub.canDelegate("head")) { return __ref.runUserSub(false, "httpjob","head", __ref, _link);} +Debug.locals.put("Link", _link); + BA.debugLineNum = 119;BA.debugLine="Public Sub Head(Link As String)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 120;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 121;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 122;BA.debugLine="req.InitializeHead(Link)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeHead",(Object)(_link)); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 124;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","956360965",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 125;BA.debugLine="req.InitializeHead(InvalidURL)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializeHead",(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ ))); + }; + BA.debugLineNum = 127;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 128;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _name,RemoteObject _targetmodule) throws Exception{ +try { + Debug.PushSubsStack("Initialize (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,38); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "httpjob","initialize", __ref, _ba, _name, _targetmodule);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Name", _name); +Debug.locals.put("TargetModule", _targetmodule); + BA.debugLineNum = 38;BA.debugLine="Public Sub Initialize (Name As String, TargetModul"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 39;BA.debugLine="JobName = Name"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_jobname" /*RemoteObject*/ ,_name); + BA.debugLineNum = 40;BA.debugLine="target = TargetModule"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_target" /*RemoteObject*/ ,_targetmodule); + BA.debugLineNum = 48;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _multipartstartsection(RemoteObject __ref,RemoteObject _stream,RemoteObject _empty) throws Exception{ +try { + Debug.PushSubsStack("MultipartStartSection (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,179); +if (RapidSub.canDelegate("multipartstartsection")) { return __ref.runUserSub(false, "httpjob","multipartstartsection", __ref, _stream, _empty);} +Debug.locals.put("stream", _stream); +Debug.locals.put("empty", _empty); + BA.debugLineNum = 179;BA.debugLine="Private Sub MultipartStartSection (stream As Outpu"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 180;BA.debugLine="If empty = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_empty,httpjob.__c.getField(true,"False"))) { + BA.debugLineNum = 181;BA.debugLine="stream.WriteBytes(Array As Byte(13, 10), 0, 2)"; +Debug.JustUpdateDeviceLine(); +_stream.runVoidMethod ("WriteBytes",(Object)(RemoteObject.createNewArray("byte",new int[] {2},new Object[] {BA.numberCast(byte.class, 13),BA.numberCast(byte.class, 10)})),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2))); + }else { + BA.debugLineNum = 183;BA.debugLine="empty = False"; +Debug.JustUpdateDeviceLine(); +_empty = httpjob.__c.getField(true,"False");Debug.locals.put("empty", _empty); + }; + BA.debugLineNum = 185;BA.debugLine="Return empty"; +Debug.JustUpdateDeviceLine(); +if (true) return _empty; + BA.debugLineNum = 186;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _patchbytes(RemoteObject __ref,RemoteObject _link,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("PatchBytes (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,97); +if (RapidSub.canDelegate("patchbytes")) { return __ref.runUserSub(false, "httpjob","patchbytes", __ref, _link, _data);} +Debug.locals.put("Link", _link); +Debug.locals.put("Data", _data); + BA.debugLineNum = 97;BA.debugLine="Public Sub PatchBytes(Link As String, Data() As By"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 98;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 106;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 107;BA.debugLine="req.InitializePatch2(Link, Data)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePatch2",(Object)(_link),(Object)(_data)); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 109;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","956295436",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 110;BA.debugLine="req.InitializePatch2(InvalidURL, Data)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePatch2",(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ )),(Object)(_data)); + }; + BA.debugLineNum = 114;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 115;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _patchstring(RemoteObject __ref,RemoteObject _link,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("PatchString (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,92); +if (RapidSub.canDelegate("patchstring")) { return __ref.runUserSub(false, "httpjob","patchstring", __ref, _link, _text);} +Debug.locals.put("Link", _link); +Debug.locals.put("Text", _text); + BA.debugLineNum = 92;BA.debugLine="Public Sub PatchString(Link As String, Text As Str"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 93;BA.debugLine="PatchBytes(Link, Text.GetBytes(\"UTF8\"))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_patchbytes" /*RemoteObject*/ ,(Object)(_link),(Object)(_text.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF8"))))); + BA.debugLineNum = 94;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _postbytes(RemoteObject __ref,RemoteObject _link,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("PostBytes (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,63); +if (RapidSub.canDelegate("postbytes")) { return __ref.runUserSub(false, "httpjob","postbytes", __ref, _link, _data);} +Debug.locals.put("Link", _link); +Debug.locals.put("Data", _data); + BA.debugLineNum = 63;BA.debugLine="Public Sub PostBytes(Link As String, Data() As Byt"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 64;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 65;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 66;BA.debugLine="req.InitializePost2(Link, Data)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePost2",(Object)(_link),(Object)(_data)); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 68;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","956033285",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 69;BA.debugLine="req.InitializePost2(InvalidURL, Data)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePost2",(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ )),(Object)(_data)); + }; + BA.debugLineNum = 71;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 72;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _postfile(RemoteObject __ref,RemoteObject _link,RemoteObject _dir,RemoteObject _filename) throws Exception{ +try { + Debug.PushSubsStack("PostFile (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,190); +if (RapidSub.canDelegate("postfile")) { return __ref.runUserSub(false, "httpjob","postfile", __ref, _link, _dir, _filename);} +RemoteObject _length = RemoteObject.createImmutable(0); +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("Link", _link); +Debug.locals.put("Dir", _dir); +Debug.locals.put("FileName", _filename); + BA.debugLineNum = 190;BA.debugLine="Public Sub PostFile(Link As String, Dir As String,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 191;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 196;BA.debugLine="Dim length As Int"; +Debug.JustUpdateDeviceLine(); +_length = RemoteObject.createImmutable(0);Debug.locals.put("length", _length); + BA.debugLineNum = 197;BA.debugLine="If Dir = File.DirAssets Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_dir,httpjob.__c.getField(false,"File").runMethod(true,"getDirAssets"))) { + BA.debugLineNum = 198;BA.debugLine="Log(\"Cannot send files from the assets folder.\")"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","956557576",RemoteObject.createImmutable("Cannot send files from the assets folder."),0); + BA.debugLineNum = 199;BA.debugLine="Return"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 201;BA.debugLine="length = File.Size(Dir, FileName)"; +Debug.JustUpdateDeviceLine(); +_length = BA.numberCast(int.class, httpjob.__c.getField(false,"File").runMethod(true,"Size",(Object)(_dir),(Object)(_filename)));Debug.locals.put("length", _length); + BA.debugLineNum = 202;BA.debugLine="Dim In As InputStream"; +Debug.JustUpdateDeviceLine(); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper");Debug.locals.put("In", _in); + BA.debugLineNum = 203;BA.debugLine="In = File.OpenInput(Dir, FileName)"; +Debug.JustUpdateDeviceLine(); +_in = httpjob.__c.getField(false,"File").runMethod(false,"OpenInput",(Object)(_dir),(Object)(_filename));Debug.locals.put("In", _in); + BA.debugLineNum = 204;BA.debugLine="If length < 1000000 Then '1mb"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",_length,BA.numberCast(double.class, 1000000))) { + BA.debugLineNum = 207;BA.debugLine="Dim out As OutputStream"; +Debug.JustUpdateDeviceLine(); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("out", _out); + BA.debugLineNum = 208;BA.debugLine="out.InitializeToBytesArray(length)"; +Debug.JustUpdateDeviceLine(); +_out.runVoidMethod ("InitializeToBytesArray",(Object)(_length)); + BA.debugLineNum = 209;BA.debugLine="File.Copy2(In, out)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_in.getObject())),(Object)((_out.getObject()))); + BA.debugLineNum = 210;BA.debugLine="PostBytes(Link, out.ToBytesArray)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(_link),(Object)(_out.runMethod(false,"ToBytesArray"))); + }else { + BA.debugLineNum = 212;BA.debugLine="req.InitializePost(Link, In, length)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePost",(Object)(_link),(Object)((_in.getObject())),(Object)(_length)); + BA.debugLineNum = 213;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\","; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + }; + BA.debugLineNum = 216;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _postmultipart(RemoteObject __ref,RemoteObject _link,RemoteObject _namevalues,RemoteObject _files) throws Exception{ +try { + Debug.PushSubsStack("PostMultipart (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,133); +if (RapidSub.canDelegate("postmultipart")) { return __ref.runUserSub(false, "httpjob","postmultipart", __ref, _link, _namevalues, _files);} +RemoteObject _boundary = RemoteObject.createImmutable(""); +RemoteObject _stream = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _b = null; +RemoteObject _eol = RemoteObject.createImmutable(""); +RemoteObject _empty = RemoteObject.createImmutable(false); +RemoteObject _key = RemoteObject.createImmutable(""); +RemoteObject _value = RemoteObject.createImmutable(""); +RemoteObject _s = RemoteObject.createImmutable(""); +RemoteObject _fd = RemoteObject.declareNull("SHARK2.keymon.com.mx.httpjob._multipartfiledata"); +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +Debug.locals.put("Link", _link); +Debug.locals.put("NameValues", _namevalues); +Debug.locals.put("Files", _files); + BA.debugLineNum = 133;BA.debugLine="Public Sub PostMultipart(Link As String, NameValue"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 134;BA.debugLine="Dim boundary As String = \"-----------------------"; +Debug.JustUpdateDeviceLine(); +_boundary = BA.ObjectToString("---------------------------1461124740692");Debug.locals.put("boundary", _boundary);Debug.locals.put("boundary", _boundary); + BA.debugLineNum = 135;BA.debugLine="Dim stream As OutputStream"; +Debug.JustUpdateDeviceLine(); +_stream = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper");Debug.locals.put("stream", _stream); + BA.debugLineNum = 136;BA.debugLine="stream.InitializeToBytesArray(0)"; +Debug.JustUpdateDeviceLine(); +_stream.runVoidMethod ("InitializeToBytesArray",(Object)(BA.numberCast(int.class, 0))); + BA.debugLineNum = 137;BA.debugLine="Dim b() As Byte"; +Debug.JustUpdateDeviceLine(); +_b = RemoteObject.createNewArray ("byte", new int[] {0}, new Object[]{});Debug.locals.put("b", _b); + BA.debugLineNum = 138;BA.debugLine="Dim eol As String = Chr(13) & Chr(10)"; +Debug.JustUpdateDeviceLine(); +_eol = RemoteObject.concat(httpjob.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 13))),httpjob.__c.runMethod(true,"Chr",(Object)(BA.numberCast(int.class, 10))));Debug.locals.put("eol", _eol);Debug.locals.put("eol", _eol); + BA.debugLineNum = 139;BA.debugLine="Dim empty As Boolean = True"; +Debug.JustUpdateDeviceLine(); +_empty = httpjob.__c.getField(true,"True");Debug.locals.put("empty", _empty);Debug.locals.put("empty", _empty); + BA.debugLineNum = 140;BA.debugLine="If NameValues <> Null And NameValues.IsInitialize"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_namevalues) && RemoteObject.solveBoolean(".",_namevalues.runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 141;BA.debugLine="For Each key As String In NameValues.Keys"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group8 = _namevalues.runMethod(false,"Keys"); +final int groupLen8 = group8.runMethod(true,"getSize").get() +;int index8 = 0; +; +for (; index8 < groupLen8;index8++){ +_key = BA.ObjectToString(group8.runMethod(false,"Get",index8));Debug.locals.put("key", _key); +Debug.locals.put("key", _key); + BA.debugLineNum = 142;BA.debugLine="Dim value As String = NameValues.Get(key)"; +Debug.JustUpdateDeviceLine(); +_value = BA.ObjectToString(_namevalues.runMethod(false,"Get",(Object)((_key))));Debug.locals.put("value", _value);Debug.locals.put("value", _value); + BA.debugLineNum = 143;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +Debug.JustUpdateDeviceLine(); +_empty = __ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_multipartstartsection" /*RemoteObject*/ ,(Object)(_stream),(Object)(_empty));Debug.locals.put("empty", _empty); + BA.debugLineNum = 144;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; +Debug.JustUpdateDeviceLine(); +_s = (RemoteObject.concat(RemoteObject.createImmutable("--"),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_boundary))),RemoteObject.createImmutable("\n"),RemoteObject.createImmutable("Content-Disposition: form-data; name=\""),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_key))),RemoteObject.createImmutable("\"\n"),RemoteObject.createImmutable("\n"),RemoteObject.createImmutable(""),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_value))),RemoteObject.createImmutable("")));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 149;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +Debug.JustUpdateDeviceLine(); +_b = _s.runMethod(true,"replace",(Object)(httpjob.__c.getField(true,"CRLF")),(Object)(_eol)).runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("b", _b); + BA.debugLineNum = 150;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +Debug.JustUpdateDeviceLine(); +_stream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + } +}Debug.locals.put("key", _key); +; + }; + BA.debugLineNum = 153;BA.debugLine="If Files <> Null And Files.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_files) && RemoteObject.solveBoolean(".",_files.runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 154;BA.debugLine="For Each fd As MultipartFileData In Files"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group17 = _files; +final int groupLen17 = group17.runMethod(true,"getSize").get() +;int index17 = 0; +; +for (; index17 < groupLen17;index17++){ +_fd = (group17.runMethod(false,"Get",index17));Debug.locals.put("fd", _fd); +Debug.locals.put("fd", _fd); + BA.debugLineNum = 155;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +Debug.JustUpdateDeviceLine(); +_empty = __ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_multipartstartsection" /*RemoteObject*/ ,(Object)(_stream),(Object)(_empty));Debug.locals.put("empty", _empty); + BA.debugLineNum = 156;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; +Debug.JustUpdateDeviceLine(); +_s = (RemoteObject.concat(RemoteObject.createImmutable("--"),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_boundary))),RemoteObject.createImmutable("\n"),RemoteObject.createImmutable("Content-Disposition: form-data; name=\""),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fd.getField(true,"KeyName" /*RemoteObject*/ )))),RemoteObject.createImmutable("\"; filename=\""),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fd.getField(true,"FileName" /*RemoteObject*/ )))),RemoteObject.createImmutable("\"\n"),RemoteObject.createImmutable("Content-Type: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fd.getField(true,"ContentType" /*RemoteObject*/ )))),RemoteObject.createImmutable("\n"),RemoteObject.createImmutable("\n"),RemoteObject.createImmutable("")));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 162;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +Debug.JustUpdateDeviceLine(); +_b = _s.runMethod(true,"replace",(Object)(httpjob.__c.getField(true,"CRLF")),(Object)(_eol)).runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("b", _b); + BA.debugLineNum = 163;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +Debug.JustUpdateDeviceLine(); +_stream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 164;BA.debugLine="Dim in As InputStream = File.OpenInput(fd.Dir,"; +Debug.JustUpdateDeviceLine(); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +_in = httpjob.__c.getField(false,"File").runMethod(false,"OpenInput",(Object)(_fd.getField(true,"Dir" /*RemoteObject*/ )),(Object)(_fd.getField(true,"FileName" /*RemoteObject*/ )));Debug.locals.put("in", _in);Debug.locals.put("in", _in); + BA.debugLineNum = 165;BA.debugLine="File.Copy2(in, stream)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.getField(false,"File").runVoidMethod ("Copy2",(Object)((_in.getObject())),(Object)((_stream.getObject()))); + } +}Debug.locals.put("fd", _fd); +; + }; + BA.debugLineNum = 168;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +Debug.JustUpdateDeviceLine(); +_empty = __ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_multipartstartsection" /*RemoteObject*/ ,(Object)(_stream),(Object)(_empty));Debug.locals.put("empty", _empty); + BA.debugLineNum = 169;BA.debugLine="s = _ $\"--${boundary}-- \"$"; +Debug.JustUpdateDeviceLine(); +_s = (RemoteObject.concat(RemoteObject.createImmutable("--"),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_boundary))),RemoteObject.createImmutable("--\n"),RemoteObject.createImmutable("")));Debug.locals.put("s", _s); + BA.debugLineNum = 172;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +Debug.JustUpdateDeviceLine(); +_b = _s.runMethod(true,"replace",(Object)(httpjob.__c.getField(true,"CRLF")),(Object)(_eol)).runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("b", _b); + BA.debugLineNum = 173;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +Debug.JustUpdateDeviceLine(); +_stream.runVoidMethod ("WriteBytes",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 174;BA.debugLine="PostBytes(Link, stream.ToBytesArray)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(_link),(Object)(_stream.runMethod(false,"ToBytesArray"))); + BA.debugLineNum = 175;BA.debugLine="req.SetContentType(\"multipart/form-data; boundary"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("SetContentType",(Object)(RemoteObject.concat(RemoteObject.createImmutable("multipart/form-data; boundary="),_boundary))); + BA.debugLineNum = 176;BA.debugLine="req.SetContentEncoding(\"UTF8\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("SetContentEncoding",(Object)(RemoteObject.createImmutable("UTF8"))); + BA.debugLineNum = 177;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _poststring(RemoteObject __ref,RemoteObject _link,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("PostString (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,58); +if (RapidSub.canDelegate("poststring")) { return __ref.runUserSub(false, "httpjob","poststring", __ref, _link, _text);} +Debug.locals.put("Link", _link); +Debug.locals.put("Text", _text); + BA.debugLineNum = 58;BA.debugLine="Public Sub PostString(Link As String, Text As Stri"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 59;BA.debugLine="PostBytes(Link, Text.GetBytes(\"UTF8\"))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_postbytes" /*RemoteObject*/ ,(Object)(_link),(Object)(_text.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF8"))))); + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _putbytes(RemoteObject __ref,RemoteObject _link,RemoteObject _data) throws Exception{ +try { + Debug.PushSubsStack("PutBytes (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,80); +if (RapidSub.canDelegate("putbytes")) { return __ref.runUserSub(false, "httpjob","putbytes", __ref, _link, _data);} +Debug.locals.put("Link", _link); +Debug.locals.put("Data", _data); + BA.debugLineNum = 80;BA.debugLine="Public Sub PutBytes(Link As String, Data() As Byte"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 81;BA.debugLine="Try"; +Debug.JustUpdateDeviceLine(); +try { BA.debugLineNum = 82;BA.debugLine="Link = AddScheme(Link)"; +Debug.JustUpdateDeviceLine(); +_link = __ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_addscheme" /*RemoteObject*/ ,(Object)(_link));Debug.locals.put("Link", _link); + BA.debugLineNum = 83;BA.debugLine="req.InitializePut2(Link, Data)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePut2",(Object)(_link),(Object)(_data)); + Debug.CheckDeviceExceptions(); +} + catch (Exception e5) { + BA.rdebugUtils.runVoidMethod("setLastException",__ref.getField(false, "ba"), e5.toString()); BA.debugLineNum = 85;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("LogImpl","956164357",(RemoteObject.concat(RemoteObject.createImmutable("Invalid link: "),httpjob.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_link))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 86;BA.debugLine="req.InitializePut2(InvalidURL, Data)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_req" /*RemoteObject*/ ).runVoidMethod ("InitializePut2",(Object)(__ref.getField(true,"_invalidurl" /*RemoteObject*/ )),(Object)(_data)); + }; + BA.debugLineNum = 88;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.runVoidMethod ("CallSubDelayed2",__ref.getField(false, "ba"),(Object)((httpjob._httputils2service.getObject())),(Object)(BA.ObjectToString("SubmitJob")),(Object)(__ref)); + BA.debugLineNum = 89;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _putstring(RemoteObject __ref,RemoteObject _link,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("PutString (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,75); +if (RapidSub.canDelegate("putstring")) { return __ref.runUserSub(false, "httpjob","putstring", __ref, _link, _text);} +Debug.locals.put("Link", _link); +Debug.locals.put("Text", _text); + BA.debugLineNum = 75;BA.debugLine="Public Sub PutString(Link As String, Text As Strin"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 76;BA.debugLine="PutBytes(Link, Text.GetBytes(\"UTF8\"))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_putbytes" /*RemoteObject*/ ,(Object)(_link),(Object)(_text.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF8"))))); + BA.debugLineNum = 77;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _release(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Release (httpjob) ","httpjob",46,__ref.getField(false, "ba"),__ref,284); +if (RapidSub.canDelegate("release")) { return __ref.runUserSub(false, "httpjob","release", __ref);} + BA.debugLineNum = 284;BA.debugLine="Public Sub Release"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 286;BA.debugLine="File.Delete(HttpUtils2Service.TempFolder, taskId)"; +Debug.JustUpdateDeviceLine(); +httpjob.__c.getField(false,"File").runVoidMethod ("Delete",(Object)(httpjob._httputils2service._tempfolder /*RemoteObject*/ ),(Object)(__ref.getField(true,"_taskid" /*RemoteObject*/ ))); + BA.debugLineNum = 288;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/httputils2service.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/httputils2service.java new file mode 100644 index 0000000..6f1ec5f --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/httputils2service.java @@ -0,0 +1,70 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class httputils2service implements IRemote{ + public static httputils2service mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public httputils2service() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("httputils2service"), "SHARK2.keymon.com.mx.httputils2service"); + } + public static RemoteObject getObject() { + return myClass; + } + public RemoteObject _receiver; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + _receiver = (RemoteObject) args[2]; + remoteMe = RemoteObject.declareNull("SHARK2.keymon.com.mx.httputils2service"); + anywheresoftware.b4a.keywords.Common.Density = (Float)args[3]; + pcBA = new PCBA(this, httputils2service.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _hc = RemoteObject.declareNull("anywheresoftware.b4h.okhttp.OkHttpClientWrapper"); +public static RemoteObject _taskidtojob = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +public static RemoteObject _tempfolder = RemoteObject.createImmutable(""); +public static RemoteObject _taskcounter = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(SHARK2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(SHARK2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(SHARK2.keymon.com.mx.b4xpages.class),"DateUtils",httputils2service.mostCurrent._dateutils,"hc",httputils2service._hc,"Main",Debug.moduleToString(SHARK2.keymon.com.mx.main.class),"MAPA_CLIENTE",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(SHARK2.keymon.com.mx.newinst2.class),"NotificationService",Debug.moduleToString(SHARK2.keymon.com.mx.notificationservice.class),"Pendientes",Debug.moduleToString(SHARK2.keymon.com.mx.pendientes.class),"Receiver",httputils2service.mostCurrent._receiver,"Starter",Debug.moduleToString(SHARK2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(SHARK2.keymon.com.mx.subs.class),"taskCounter",httputils2service._taskcounter,"TaskIdToJob",httputils2service._taskidtojob,"TempFolder",httputils2service._tempfolder,"Tracker",Debug.moduleToString(SHARK2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(SHARK2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/httputils2service_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/httputils2service_subs_0.java new file mode 100644 index 0000000..6a244b5 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/httputils2service_subs_0.java @@ -0,0 +1,343 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class httputils2service_subs_0 { + + +public static RemoteObject _completejob(RemoteObject _taskid,RemoteObject _success,RemoteObject _errormessage) throws Exception{ +try { + Debug.PushSubsStack("CompleteJob (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,152); +if (RapidSub.canDelegate("completejob")) { return SHARK2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","completejob", _taskid, _success, _errormessage);} +RemoteObject _job = RemoteObject.declareNull("SHARK2.keymon.com.mx.httpjob"); +Debug.locals.put("TaskId", _taskid); +Debug.locals.put("success", _success); +Debug.locals.put("errorMessage", _errormessage); + BA.debugLineNum = 152;BA.debugLine="Sub CompleteJob(TaskId As Int, success As Boolean,"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 156;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +Debug.ShouldStop(134217728); +_job = (httputils2service._taskidtojob.runMethod(false,"Get",(Object)((_taskid))));Debug.locals.put("job", _job);Debug.locals.put("job", _job); + BA.debugLineNum = 157;BA.debugLine="If job = Null Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("n",_job)) { + BA.debugLineNum = 158;BA.debugLine="Log(\"HttpUtils2Service: job completed multiple t"; +Debug.ShouldStop(536870912); +httputils2service.mostCurrent.__c.runVoidMethod ("LogImpl","555705606",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 (SHARK2.keymon.com.mx.httpjob.class, "_complete" /*RemoteObject*/ ,(Object)(_taskid)); + BA.debugLineNum = 169;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _hc_responseerror(RemoteObject _response,RemoteObject _reason,RemoteObject _statuscode,RemoteObject _taskid) throws Exception{ +try { + Debug.PushSubsStack("hc_ResponseError (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,115); +if (RapidSub.canDelegate("hc_responseerror")) { return SHARK2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","hc_responseerror", _response, _reason, _statuscode, _taskid);} +RemoteObject _job = RemoteObject.declareNull("SHARK2.keymon.com.mx.httpjob"); +Debug.locals.put("Response", _response); +Debug.locals.put("Reason", _reason); +Debug.locals.put("StatusCode", _statuscode); +Debug.locals.put("TaskId", _taskid); + BA.debugLineNum = 115;BA.debugLine="Sub hc_ResponseError (Response As OkHttpResponse,"; +Debug.ShouldStop(262144); + BA.debugLineNum = 117;BA.debugLine="Log($\"ResponseError. Reason: ${Reason}, Response:"; +Debug.ShouldStop(1048576); +httputils2service.mostCurrent.__c.runVoidMethod ("LogImpl","555640066",(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","555640071",RemoteObject.concat(RemoteObject.createImmutable("HttpUtils2Service (hc_ResponseError): job completed multiple times - "),_taskid),0); + BA.debugLineNum = 123;BA.debugLine="Return"; +Debug.ShouldStop(67108864); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 125;BA.debugLine="job.Response = Response"; +Debug.ShouldStop(268435456); +_job.setField ("_response" /*RemoteObject*/ ,_response); + BA.debugLineNum = 126;BA.debugLine="If Response.ErrorResponse <> \"\" Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("!",_response.runMethod(true,"getErrorResponse"),BA.ObjectToString(""))) { + BA.debugLineNum = 127;BA.debugLine="CompleteJob(TaskId, False, Response.ErrorRespons"; +Debug.ShouldStop(1073741824); +_completejob(_taskid,httputils2service.mostCurrent.__c.getField(true,"False"),_response.runMethod(true,"getErrorResponse")); + }else { + BA.debugLineNum = 129;BA.debugLine="CompleteJob(TaskId, False, Reason)"; +Debug.ShouldStop(1); +_completejob(_taskid,httputils2service.mostCurrent.__c.getField(true,"False"),_reason); + }; + BA.debugLineNum = 131;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _hc_responsesuccess(RemoteObject _response,RemoteObject _taskid) throws Exception{ +try { + Debug.PushSubsStack("hc_ResponseSuccess (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,92); +if (RapidSub.canDelegate("hc_responsesuccess")) { return SHARK2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","hc_responsesuccess", _response, _taskid);} +RemoteObject _job = RemoteObject.declareNull("SHARK2.keymon.com.mx.httpjob"); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +Debug.locals.put("Response", _response); +Debug.locals.put("TaskId", _taskid); + BA.debugLineNum = 92;BA.debugLine="Sub hc_ResponseSuccess (Response As OkHttpResponse"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 93;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +Debug.ShouldStop(268435456); +_job = (httputils2service._taskidtojob.runMethod(false,"Get",(Object)((_taskid))));Debug.locals.put("job", _job);Debug.locals.put("job", _job); + BA.debugLineNum = 94;BA.debugLine="If job = Null Then"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("n",_job)) { + BA.debugLineNum = 95;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseSuccess): job"; +Debug.ShouldStop(1073741824); +httputils2service.mostCurrent.__c.runVoidMethod ("LogImpl","555508995",RemoteObject.concat(RemoteObject.createImmutable("HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "),_taskid),0); + BA.debugLineNum = 96;BA.debugLine="Return"; +Debug.ShouldStop(-2147483648); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 98;BA.debugLine="job.Response = Response"; +Debug.ShouldStop(2); +_job.setField ("_response" /*RemoteObject*/ ,_response); + BA.debugLineNum = 99;BA.debugLine="Dim out As OutputStream = File.OpenOutput(TempFol"; +Debug.ShouldStop(4); +_out = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +_out = httputils2service.mostCurrent.__c.getField(false,"File").runMethod(false,"OpenOutput",(Object)(httputils2service._tempfolder),(Object)(BA.NumberToString(_taskid)),(Object)(httputils2service.mostCurrent.__c.getField(true,"False")));Debug.locals.put("out", _out);Debug.locals.put("out", _out); + BA.debugLineNum = 103;BA.debugLine="Response.GetAsynchronously(\"response\", out , _"; +Debug.ShouldStop(64); +_response.runVoidMethod ("GetAsynchronously",httputils2service.processBA,(Object)(BA.ObjectToString("response")),(Object)((_out.getObject())),(Object)(httputils2service.mostCurrent.__c.getField(true,"True")),(Object)(_taskid)); + BA.debugLineNum = 105;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 12;BA.debugLine="Private hc As OkHttpClient"; +httputils2service._hc = RemoteObject.createNew ("anywheresoftware.b4h.okhttp.OkHttpClientWrapper"); + //BA.debugLineNum = 16;BA.debugLine="Private TaskIdToJob As Map"; +httputils2service._taskidtojob = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); + //BA.debugLineNum = 19;BA.debugLine="Public TempFolder As String"; +httputils2service._tempfolder = RemoteObject.createImmutable(""); + //BA.debugLineNum = 23;BA.debugLine="Private taskCounter As Int"; +httputils2service._taskcounter = RemoteObject.createImmutable(0); + //BA.debugLineNum = 25;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _receiver_receive(RemoteObject _firsttime,RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("Receiver_Receive (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,58); +if (RapidSub.canDelegate("receiver_receive")) { return SHARK2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","receiver_receive", _firsttime, _startingintent);} +Debug.locals.put("FirstTime", _firsttime); +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 58;BA.debugLine="Private Sub Receiver_Receive (FirstTime As Boolean"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 59;BA.debugLine="If FirstTime Then"; +Debug.ShouldStop(67108864); +if (_firsttime.get().booleanValue()) { + BA.debugLineNum = 60;BA.debugLine="Service_Create"; +Debug.ShouldStop(134217728); +_service_create(); + }; + BA.debugLineNum = 62;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _response_streamfinish(RemoteObject _success,RemoteObject _taskid) throws Exception{ +try { + Debug.PushSubsStack("Response_StreamFinish (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,107); +if (RapidSub.canDelegate("response_streamfinish")) { return SHARK2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","response_streamfinish", _success, _taskid);} +Debug.locals.put("Success", _success); +Debug.locals.put("TaskId", _taskid); + BA.debugLineNum = 107;BA.debugLine="Private Sub Response_StreamFinish (Success As Bool"; +Debug.ShouldStop(1024); + BA.debugLineNum = 108;BA.debugLine="If Success Then"; +Debug.ShouldStop(2048); +if (_success.get().booleanValue()) { + BA.debugLineNum = 109;BA.debugLine="CompleteJob(TaskId, Success, \"\")"; +Debug.ShouldStop(4096); +_completejob(_taskid,_success,RemoteObject.createImmutable("")); + }else { + BA.debugLineNum = 111;BA.debugLine="CompleteJob(TaskId, Success, LastException.Messa"; +Debug.ShouldStop(16384); +_completejob(_taskid,_success,httputils2service.mostCurrent.__c.runMethod(false,"LastException",httputils2service.processBA).runMethod(true,"getMessage")); + }; + BA.debugLineNum = 113;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,27); +if (RapidSub.canDelegate("service_create")) { return SHARK2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","service_create");} + BA.debugLineNum = 27;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 29;BA.debugLine="TempFolder = File.DirInternalCache"; +Debug.ShouldStop(268435456); +httputils2service._tempfolder = httputils2service.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternalCache"); + BA.debugLineNum = 30;BA.debugLine="Try"; +Debug.ShouldStop(536870912); +try { BA.debugLineNum = 31;BA.debugLine="File.WriteString(TempFolder, \"~test.test\", \"test"; +Debug.ShouldStop(1073741824); +httputils2service.mostCurrent.__c.getField(false,"File").runVoidMethod ("WriteString",(Object)(httputils2service._tempfolder),(Object)(BA.ObjectToString("~test.test")),(Object)(RemoteObject.createImmutable("test"))); + BA.debugLineNum = 32;BA.debugLine="File.Delete(TempFolder, \"~test.test\")"; +Debug.ShouldStop(-2147483648); +httputils2service.mostCurrent.__c.getField(false,"File").runVoidMethod ("Delete",(Object)(httputils2service._tempfolder),(Object)(RemoteObject.createImmutable("~test.test"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e6) { + BA.rdebugUtils.runVoidMethod("setLastException",httputils2service.processBA, e6.toString()); BA.debugLineNum = 34;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(2); +httputils2service.mostCurrent.__c.runVoidMethod ("LogImpl","555181319",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","555181320",RemoteObject.createImmutable("Switching to File.DirInternal"),0); + BA.debugLineNum = 36;BA.debugLine="TempFolder = File.DirInternal"; +Debug.ShouldStop(8); +httputils2service._tempfolder = httputils2service.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal"); + }; + BA.debugLineNum = 41;BA.debugLine="If hc.IsInitialized = False Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",httputils2service._hc.runMethod(true,"IsInitialized"),httputils2service.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 46;BA.debugLine="hc.Initialize(\"hc\")"; +Debug.ShouldStop(8192); +httputils2service._hc.runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("hc"))); + }; + BA.debugLineNum = 54;BA.debugLine="TaskIdToJob.Initialize"; +Debug.ShouldStop(2097152); +httputils2service._taskidtojob.runVoidMethod ("Initialize"); + BA.debugLineNum = 56;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_destroy() throws Exception{ +try { + Debug.PushSubsStack("Service_Destroy (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,68); +if (RapidSub.canDelegate("service_destroy")) { return SHARK2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","service_destroy");} + BA.debugLineNum = 68;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(8); + BA.debugLineNum = 70;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_start(RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,64); +if (RapidSub.canDelegate("service_start")) { return SHARK2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","service_start", _startingintent);} +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 64;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 66;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _submitjob(RemoteObject _job) throws Exception{ +try { + Debug.PushSubsStack("SubmitJob (httputils2service) ","httputils2service",45,httputils2service.processBA,httputils2service.mostCurrent,74); +if (RapidSub.canDelegate("submitjob")) { return SHARK2.keymon.com.mx.httputils2service.remoteMe.runUserSub(false, "httputils2service","submitjob", _job);} +RemoteObject _taskid = RemoteObject.createImmutable(0); +Debug.locals.put("job", _job); + BA.debugLineNum = 74;BA.debugLine="Public Sub SubmitJob(job As HttpJob)"; +Debug.ShouldStop(512); + BA.debugLineNum = 75;BA.debugLine="If TaskIdToJob.IsInitialized = False Then Service"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",httputils2service._taskidtojob.runMethod(true,"IsInitialized"),httputils2service.mostCurrent.__c.getField(true,"False"))) { +_service_create();}; + BA.debugLineNum = 79;BA.debugLine="taskCounter = taskCounter + 1"; +Debug.ShouldStop(16384); +httputils2service._taskcounter = RemoteObject.solve(new RemoteObject[] {httputils2service._taskcounter,RemoteObject.createImmutable(1)}, "+",1, 1); + BA.debugLineNum = 80;BA.debugLine="Dim TaskId As Int = taskCounter"; +Debug.ShouldStop(32768); +_taskid = httputils2service._taskcounter;Debug.locals.put("TaskId", _taskid);Debug.locals.put("TaskId", _taskid); + BA.debugLineNum = 82;BA.debugLine="TaskIdToJob.Put(TaskId, job)"; +Debug.ShouldStop(131072); +httputils2service._taskidtojob.runVoidMethod ("Put",(Object)((_taskid)),(Object)((_job))); + BA.debugLineNum = 83;BA.debugLine="If job.Username <> \"\" And job.Password <> \"\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("!",_job.getField(true,"_username" /*RemoteObject*/ ),BA.ObjectToString("")) && RemoteObject.solveBoolean("!",_job.getField(true,"_password" /*RemoteObject*/ ),BA.ObjectToString(""))) { + BA.debugLineNum = 84;BA.debugLine="hc.ExecuteCredentials(job.GetRequest, TaskId, jo"; +Debug.ShouldStop(524288); +httputils2service._hc.runVoidMethod ("ExecuteCredentials",httputils2service.processBA,(Object)(_job.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_getrequest" /*RemoteObject*/ )),(Object)(_taskid),(Object)(_job.getField(true,"_username" /*RemoteObject*/ )),(Object)(_job.getField(true,"_password" /*RemoteObject*/ ))); + }else { + BA.debugLineNum = 86;BA.debugLine="hc.Execute(job.GetRequest, TaskId)"; +Debug.ShouldStop(2097152); +httputils2service._hc.runVoidMethod ("Execute",httputils2service.processBA,(Object)(_job.runClassMethod (SHARK2.keymon.com.mx.httpjob.class, "_getrequest" /*RemoteObject*/ )),(Object)(_taskid)); + }; + BA.debugLineNum = 88;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/madewithlove.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/madewithlove.java new file mode 100644 index 0000000..e2f2394 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/madewithlove.java @@ -0,0 +1,37 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class madewithlove { + public static RemoteObject myClass; + public madewithlove() { + } + public static PCBA staticBA = new PCBA(null, madewithlove.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"Tag",_ref.getField(false, "_tag"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/madewithlove_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/madewithlove_subs_0.java new file mode 100644 index 0000000..f7bd51d --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/madewithlove_subs_0.java @@ -0,0 +1,120 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class madewithlove_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (madewithlove) ","madewithlove",67,__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",67,__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",67,__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/SHARK2/keymon/com/mx/main.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/main.java new file mode 100644 index 0000000..bb863a6 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/main.java @@ -0,0 +1,76 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class main implements IRemote{ + public static main mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public main() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + + public static void main (String[] args) throws Exception { + new RDebug(args[0], Integer.parseInt(args[1]), Integer.parseInt(args[2]), args[3]); + RDebug.INSTANCE.waitForTask(); + + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("main"), "SHARK2.keymon.com.mx.main"); + } + +public boolean isSingleton() { + return true; + } + public static RemoteObject getObject() { + return myClass; + } + + public RemoteObject activityBA; + public RemoteObject _activity; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + activityBA = (RemoteObject) args[2]; + _activity = (RemoteObject) args[3]; + anywheresoftware.b4a.keywords.Common.Density = (Float)args[4]; + remoteMe = (RemoteObject) args[5]; + pcBA = new PCBA(this, main.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _actionbarhomeclicked = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"ActionBarHomeClicked",main._actionbarhomeclicked,"Activity",main.mostCurrent._activity,"appUpdater",Debug.moduleToString(SHARK2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(SHARK2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(SHARK2.keymon.com.mx.b4xpages.class),"DateUtils",main.mostCurrent._dateutils,"HttpUtils2Service",Debug.moduleToString(SHARK2.keymon.com.mx.httputils2service.class),"MAPA_CLIENTE",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(SHARK2.keymon.com.mx.newinst2.class),"NotificationService",Debug.moduleToString(SHARK2.keymon.com.mx.notificationservice.class),"Pendientes",Debug.moduleToString(SHARK2.keymon.com.mx.pendientes.class),"Starter",Debug.moduleToString(SHARK2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(SHARK2.keymon.com.mx.subs.class),"Tracker",Debug.moduleToString(SHARK2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(SHARK2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/main_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/main_subs_0.java new file mode 100644 index 0000000..d1c3e75 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/main_subs_0.java @@ -0,0 +1,271 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class main_subs_0 { + + +public static RemoteObject _activity_actionbarhomeclick() throws Exception{ +try { + Debug.PushSubsStack("Activity_ActionBarHomeClick (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,35); +if (RapidSub.canDelegate("activity_actionbarhomeclick")) { return SHARK2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_actionbarhomeclick");} + BA.debugLineNum = 35;BA.debugLine="Sub Activity_ActionBarHomeClick"; +Debug.ShouldStop(4); + BA.debugLineNum = 36;BA.debugLine="ActionBarHomeClicked = True"; +Debug.ShouldStop(8); +main._actionbarhomeclicked = main.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 37;BA.debugLine="B4XPages.Delegate.Activity_ActionBarHomeClick"; +Debug.ShouldStop(16); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (SHARK2.keymon.com.mx.b4xpagesdelegator.class, "_activity_actionbarhomeclick" /*RemoteObject*/ ); + BA.debugLineNum = 38;BA.debugLine="ActionBarHomeClicked = False"; +Debug.ShouldStop(32); +main._actionbarhomeclicked = main.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 39;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_create(RemoteObject _firsttime) throws Exception{ +try { + Debug.PushSubsStack("Activity_Create (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,27); +if (RapidSub.canDelegate("activity_create")) { return SHARK2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_create", _firsttime);} +RemoteObject _pm = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xpagesmanager"); +Debug.locals.put("FirstTime", _firsttime); + BA.debugLineNum = 27;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 28;BA.debugLine="Dim pm As B4XPagesManager"; +Debug.ShouldStop(134217728); +_pm = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xpagesmanager");Debug.locals.put("pm", _pm); + BA.debugLineNum = 29;BA.debugLine="pm.Initialize(Activity)"; +Debug.ShouldStop(268435456); +_pm.runClassMethod (SHARK2.keymon.com.mx.b4xpagesmanager.class, "_initialize" /*RemoteObject*/ ,main.mostCurrent.activityBA,(Object)(main.mostCurrent._activity)); + BA.debugLineNum = 30;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_keypress(RemoteObject _keycode) throws Exception{ +try { + Debug.PushSubsStack("Activity_KeyPress (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,41); +if (RapidSub.canDelegate("activity_keypress")) { return SHARK2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_keypress", _keycode);} +Debug.locals.put("KeyCode", _keycode); + BA.debugLineNum = 41;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean"; +Debug.ShouldStop(256); + BA.debugLineNum = 42;BA.debugLine="Return B4XPages.Delegate.Activity_KeyPress(KeyCod"; +Debug.ShouldStop(512); +if (true) return main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (SHARK2.keymon.com.mx.b4xpagesdelegator.class, "_activity_keypress" /*RemoteObject*/ ,(Object)(_keycode)); + BA.debugLineNum = 43;BA.debugLine="End Sub"; +Debug.ShouldStop(1024); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_pause(RemoteObject _userclosed) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,49); +if (RapidSub.canDelegate("activity_pause")) { return SHARK2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_pause", _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 49;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(65536); + BA.debugLineNum = 50;BA.debugLine="B4XPages.Delegate.Activity_Pause"; +Debug.ShouldStop(131072); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (SHARK2.keymon.com.mx.b4xpagesdelegator.class, "_activity_pause" /*RemoteObject*/ ); + BA.debugLineNum = 51;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_permissionresult(RemoteObject _permission,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("Activity_PermissionResult (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,53); +if (RapidSub.canDelegate("activity_permissionresult")) { return SHARK2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_permissionresult", _permission, _result);} +Debug.locals.put("Permission", _permission); +Debug.locals.put("Result", _result); + BA.debugLineNum = 53;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 54;BA.debugLine="B4XPages.Delegate.Activity_PermissionResult(Permi"; +Debug.ShouldStop(2097152); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (SHARK2.keymon.com.mx.b4xpagesdelegator.class, "_activity_permissionresult" /*RemoteObject*/ ,(Object)(_permission),(Object)(_result)); + BA.debugLineNum = 55;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _activity_resume() throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,45); +if (RapidSub.canDelegate("activity_resume")) { return SHARK2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","activity_resume");} + BA.debugLineNum = 45;BA.debugLine="Sub Activity_Resume"; +Debug.ShouldStop(4096); + BA.debugLineNum = 46;BA.debugLine="B4XPages.Delegate.Activity_Resume"; +Debug.ShouldStop(8192); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (SHARK2.keymon.com.mx.b4xpagesdelegator.class, "_activity_resume" /*RemoteObject*/ ); + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _create_menu(RemoteObject _menu) throws Exception{ +try { + Debug.PushSubsStack("Create_Menu (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,57); +if (RapidSub.canDelegate("create_menu")) { return SHARK2.keymon.com.mx.main.remoteMe.runUserSub(false, "main","create_menu", _menu);} +Debug.locals.put("Menu", _menu); + BA.debugLineNum = 57;BA.debugLine="Sub Create_Menu (Menu As Object)"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 58;BA.debugLine="B4XPages.Delegate.Create_Menu(Menu)"; +Debug.ShouldStop(33554432); +main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (SHARK2.keymon.com.mx.b4xpagesdelegator.class, "_create_menu" /*RemoteObject*/ ,(Object)(_menu)); + BA.debugLineNum = 59;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _globals() throws Exception{ + //BA.debugLineNum = 23;BA.debugLine="Sub Globals"; + //BA.debugLineNum = 25;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} + +public static void initializeProcessGlobals() { + + if (main.processGlobalsRun == false) { + main.processGlobalsRun = true; + try { + main_subs_0._process_globals(); +appupdater_subs_0._process_globals(); +mapa_cliente_subs_0._process_globals(); +mapa_rutas_subs_0._process_globals(); +notificationservice_subs_0._process_globals(); +pendientes_subs_0._process_globals(); +starter_subs_0._process_globals(); +subs_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 ("SHARK2.keymon.com.mx.main"); +appupdater.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.appupdater"); +b4xmainpage.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xmainpage"); +batteryutilities.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.batteryutilities"); +c_cliente.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_cliente"); +c_clientes.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_clientes"); +c_cuestionario.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_cuestionario"); +c_historico.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_historico"); +c_mapas.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_mapas"); +c_nota.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_nota"); +c_noventa.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_noventa"); +c_principal.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_principal"); +c_nuevocliente.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_nuevocliente"); +c_pedidos.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_pedidos"); +c_productos.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_productos"); +c_promos.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_promos"); +c_respaldodiario.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_respaldodiario"); +c_subs.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_subs"); +c_tabulador.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_tabulador"); +c_ticketsdia.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_ticketsdia"); +c_updateavailable.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.c_updateavailable"); +dbrequestmanager.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.dbrequestmanager"); +escposprinter.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.escposprinter"); +filehandler.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.filehandler"); +manageexternalstorage.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.manageexternalstorage"); +mapa_cliente.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.mapa_cliente"); +mapa_rutas.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.mapa_rutas"); +notificationservice.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.notificationservice"); +pendientes.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.pendientes"); +starter.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.starter"); +subs.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.subs"); +tracker.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.tracker"); +cl_appupdate.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.cl_appupdate"); +newinst2.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.newinst2"); +b4xpages.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xpages"); +b4xbitset.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xbitset"); +b4xbytesbuilder.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xbytesbuilder"); +b4xcache.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xcache"); +b4xcollections.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xcollections"); +b4xcomparatorsort.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xcomparatorsort"); +b4xorderedmap.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xorderedmap"); +b4xset.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xset"); +b4xpagesdelegator.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xpagesdelegator"); +b4xpagesmanager.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xpagesmanager"); +fileprovider.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.fileprovider"); +httputils2service.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.httputils2service"); +httpjob.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.httpjob"); +animatedcounter.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.animatedcounter"); +anotherprogressbar.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.anotherprogressbar"); +b4xbreadcrumb.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xbreadcrumb"); +b4xcolortemplate.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xcolortemplate"); +b4xcombobox.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xcombobox"); +b4xdatetemplate.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xdatetemplate"); +b4xdialog.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xdialog"); +b4xfloattextfield.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xfloattextfield"); +b4ximageview.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4ximageview"); +b4xinputtemplate.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xinputtemplate"); +b4xlisttemplate.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xlisttemplate"); +b4xloadingindicator.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xloadingindicator"); +b4xlongtexttemplate.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xlongtexttemplate"); +b4xplusminus.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xplusminus"); +b4xradiobutton.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xradiobutton"); +b4xsearchtemplate.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xsearchtemplate"); +b4xseekbar.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xseekbar"); +b4xsignaturetemplate.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xsignaturetemplate"); +b4xswitch.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xswitch"); +b4xtimedtemplate.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xtimedtemplate"); +madewithlove.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.madewithlove"); +b4xformatter.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.b4xformatter"); +roundslider.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.roundslider"); +scrollinglabel.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.scrollinglabel"); +swiftbutton.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.swiftbutton"); +xuiviewsutils.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.xuiviewsutils"); +preoptimizedclv.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.preoptimizedclv"); +map2xml.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.map2xml"); +xml2map.myClass = BA.getDeviceClass ("SHARK2.keymon.com.mx.xml2map"); + + } catch (Exception e) { + throw new RuntimeException(e); + } + } +}public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 19;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 20;BA.debugLine="Public ActionBarHomeClicked As Boolean"; +main._actionbarhomeclicked = RemoteObject.createImmutable(false); + //BA.debugLineNum = 21;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/manageexternalstorage.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/manageexternalstorage.java new file mode 100644 index 0000000..1b52f25 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/manageexternalstorage.java @@ -0,0 +1,35 @@ + +package SHARK2.keymon.com.mx; + +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 SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.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/SHARK2/keymon/com/mx/manageexternalstorage_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/manageexternalstorage_subs_0.java new file mode 100644 index 0000000..2bd3719 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/manageexternalstorage_subs_0.java @@ -0,0 +1,213 @@ +package SHARK2.keymon.com.mx; + +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",24,__ref.getField(false, "ba"),__ref,69); +if (RapidSub.canDelegate("getba")) { return __ref.runUserSub(false, "manageexternalstorage","getba", __ref);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + BA.debugLineNum = 69;BA.debugLine="Private Sub GetBA As Object"; +Debug.ShouldStop(16); + BA.debugLineNum = 70;BA.debugLine="Dim jo As JavaObject = Me"; +Debug.ShouldStop(32); +_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 = 71;BA.debugLine="Return jo.RunMethod(\"getBA\", Null)"; +Debug.ShouldStop(64); +if (true) return _jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getBA")),(Object)((manageexternalstorage.__c.getField(false,"Null")))); + BA.debugLineNum = 72;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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",24,__ref.getField(false, "ba"),__ref,39); +if (RapidSub.canDelegate("getpermission")) { return __ref.runUserSub(false, "manageexternalstorage","getpermission", __ref);} +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); + BA.debugLineNum = 39;BA.debugLine="Public Sub GetPermission"; +Debug.ShouldStop(64); + BA.debugLineNum = 40;BA.debugLine="If HasPermission Then"; +Debug.ShouldStop(128); +if (__ref.runClassMethod (SHARK2.keymon.com.mx.manageexternalstorage.class, "_haspermission" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 41;BA.debugLine="RaiseEvent"; +Debug.ShouldStop(256); +__ref.runClassMethod (SHARK2.keymon.com.mx.manageexternalstorage.class, "_raiseevent" /*RemoteObject*/ ); + BA.debugLineNum = 42;BA.debugLine="Return"; +Debug.ShouldStop(512); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 44;BA.debugLine="Dim in As Intent"; +Debug.ShouldStop(2048); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("in", _in); + BA.debugLineNum = 46;BA.debugLine="in.Initialize(\"android.settings.MANAGE_APP_ALL_FI"; +Debug.ShouldStop(8192); +_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 = 47;BA.debugLine="StartActivityForResult(in)"; +Debug.ShouldStop(16384); +__ref.runClassMethod (SHARK2.keymon.com.mx.manageexternalstorage.class, "_startactivityforresult" /*RemoteObject*/ ,(Object)(_in)); + 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 _haspermission(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("HasPermission (manageexternalstorage) ","manageexternalstorage",24,__ref.getField(false, "ba"),__ref,28); +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 = 28;BA.debugLine="Public Sub HasPermission As Boolean"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 29;BA.debugLine="Dim has As Boolean"; +Debug.ShouldStop(268435456); +_has = RemoteObject.createImmutable(false);Debug.locals.put("has", _has); + BA.debugLineNum = 30;BA.debugLine="Dim jo As JavaObject"; +Debug.ShouldStop(536870912); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("jo", _jo); + BA.debugLineNum = 31;BA.debugLine="jo.InitializeStatic(\"android.os.Environment\")"; +Debug.ShouldStop(1073741824); +_jo.runVoidMethod ("InitializeStatic",(Object)(RemoteObject.createImmutable("android.os.Environment"))); + BA.debugLineNum = 32;BA.debugLine="has = jo.RunMethod(\"isExternalStorageManager\", Nu"; +Debug.ShouldStop(-2147483648); +_has = BA.ObjectToBoolean(_jo.runMethod(false,"RunMethod",(Object)(BA.ObjectToString("isExternalStorageManager")),(Object)((manageexternalstorage.__c.getField(false,"Null")))));Debug.locals.put("has", _has); + BA.debugLineNum = 33;BA.debugLine="Return has"; +Debug.ShouldStop(1); +if (true) return _has; + BA.debugLineNum = 34;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +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",24,__ref.getField(false, "ba"),__ref,20); +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 = 20;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.ShouldStop(524288); + BA.debugLineNum = 21;BA.debugLine="mCallback = Callback"; +Debug.ShouldStop(1048576); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 22;BA.debugLine="mEventName = EventName"; +Debug.ShouldStop(2097152); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 23;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +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",24,__ref.getField(false, "ba"),__ref,57); +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 = 57;BA.debugLine="Private Sub ion_Event (MethodName As String, Args("; +Debug.ShouldStop(16777216); + BA.debugLineNum = 58;BA.debugLine="RaiseEvent"; +Debug.ShouldStop(33554432); +__ref.runClassMethod (SHARK2.keymon.com.mx.manageexternalstorage.class, "_raiseevent" /*RemoteObject*/ ); + BA.debugLineNum = 59;BA.debugLine="Return Null"; +Debug.ShouldStop(67108864); +if (true) return manageexternalstorage.__c.getField(false,"Null"); + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +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",24,__ref.getField(false, "ba"),__ref,51); +if (RapidSub.canDelegate("raiseevent")) { return __ref.runUserSub(false, "manageexternalstorage","raiseevent", __ref);} + BA.debugLineNum = 51;BA.debugLine="Private Sub RaiseEvent"; +Debug.ShouldStop(262144); + BA.debugLineNum = 52;BA.debugLine="Log(\"Calling : \" & mEventName & \"_StorageAvailab"; +Debug.ShouldStop(524288); +manageexternalstorage.__c.runVoidMethod ("LogImpl","532833537",RemoteObject.concat(RemoteObject.createImmutable("Calling : "),__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_StorageAvailable")),0); + BA.debugLineNum = 53;BA.debugLine="CallSubDelayed(mCallback, mEventName & \"_StorageA"; +Debug.ShouldStop(1048576); +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 = 54;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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",24,__ref.getField(false, "ba"),__ref,63); +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 = 63;BA.debugLine="Private Sub StartActivityForResult(i As Intent)"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 64;BA.debugLine="Dim jo As JavaObject = GetBA"; +Debug.ShouldStop(-2147483648); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref.runClassMethod (SHARK2.keymon.com.mx.manageexternalstorage.class, "_getba" /*RemoteObject*/ ));Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 65;BA.debugLine="ion = jo.CreateEvent(\"anywheresoftware.b4a.IOnAct"; +Debug.ShouldStop(1); +__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 = 66;BA.debugLine="jo.RunMethod(\"startActivityForResult\", Array As O"; +Debug.ShouldStop(2); +_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 = 67;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/map2xml.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/map2xml.java new file mode 100644 index 0000000..25d8e15 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/map2xml.java @@ -0,0 +1,33 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class map2xml { + public static RemoteObject myClass; + public map2xml() { + } + public static PCBA staticBA = new PCBA(null, map2xml.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _builder = RemoteObject.declareNull("com.jamesmurty.utils.XMLBuilder"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"builder",_ref.getField(false, "_builder"),"DateUtils",_ref.getField(false, "_dateutils")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/map2xml_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/map2xml_subs_0.java new file mode 100644 index 0000000..1fcadfd --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/map2xml_subs_0.java @@ -0,0 +1,253 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class map2xml_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 builder As XMLBuilder"; +map2xml._builder = RemoteObject.createNew ("com.jamesmurty.utils.XMLBuilder");__ref.setField("_builder",map2xml._builder); + //BA.debugLineNum = 4;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _handleelement(RemoteObject __ref,RemoteObject _key,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("HandleElement (map2xml) ","map2xml",74,__ref.getField(false, "ba"),__ref,44); +if (RapidSub.canDelegate("handleelement")) { return __ref.runUserSub(false, "map2xml","handleelement", __ref, _key, _value);} +Debug.locals.put("key", _key); +Debug.locals.put("value", _value); + BA.debugLineNum = 44;BA.debugLine="Private Sub HandleElement (key As String, value As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 45;BA.debugLine="If value Is Map Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("i",_value, RemoteObject.createImmutable("java.util.Map"))) { + BA.debugLineNum = 46;BA.debugLine="If key <> \"\" Then builder = builder.element(key)"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_key,BA.ObjectToString(""))) { +__ref.setField ("_builder" /*RemoteObject*/ ,__ref.getField(false,"_builder" /*RemoteObject*/ ).runMethod(false,"element",(Object)(_key)));}; + BA.debugLineNum = 47;BA.debugLine="HandleMapElement(value)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.map2xml.class, "_handlemapelement" /*RemoteObject*/ ,RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _value)); + BA.debugLineNum = 48;BA.debugLine="If key <> \"\" Then builder = builder.up"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",_key,BA.ObjectToString(""))) { +__ref.setField ("_builder" /*RemoteObject*/ ,__ref.getField(false,"_builder" /*RemoteObject*/ ).runMethod(false,"up"));}; + }else +{ BA.debugLineNum = 49;BA.debugLine="Else if value Is List Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("i",_value, RemoteObject.createImmutable("java.util.List"))) { + BA.debugLineNum = 50;BA.debugLine="HandleListElement (key, value)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.map2xml.class, "_handlelistelement" /*RemoteObject*/ ,(Object)(_key),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _value)); + }else { + BA.debugLineNum = 52;BA.debugLine="builder = builder.element(key)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_builder" /*RemoteObject*/ ,__ref.getField(false,"_builder" /*RemoteObject*/ ).runMethod(false,"element",(Object)(_key))); + BA.debugLineNum = 53;BA.debugLine="builder = builder.text(value)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_builder" /*RemoteObject*/ ,__ref.getField(false,"_builder" /*RemoteObject*/ ).runMethod(false,"text",(Object)(BA.ObjectToString(_value)))); + BA.debugLineNum = 54;BA.debugLine="builder = builder.up"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_builder" /*RemoteObject*/ ,__ref.getField(false,"_builder" /*RemoteObject*/ ).runMethod(false,"up")); + }} +; + 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 _handlelistelement(RemoteObject __ref,RemoteObject _key,RemoteObject _lst) throws Exception{ +try { + Debug.PushSubsStack("HandleListElement (map2xml) ","map2xml",74,__ref.getField(false, "ba"),__ref,58); +if (RapidSub.canDelegate("handlelistelement")) { return __ref.runUserSub(false, "map2xml","handlelistelement", __ref, _key, _lst);} +RemoteObject _value = RemoteObject.declareNull("Object"); +Debug.locals.put("key", _key); +Debug.locals.put("lst", _lst); + BA.debugLineNum = 58;BA.debugLine="Private Sub HandleListElement (key As String, lst"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 59;BA.debugLine="For Each value As Object In lst"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group1 = _lst; +final int groupLen1 = group1.runMethod(true,"getSize").get() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_value = group1.runMethod(false,"Get",index1);Debug.locals.put("value", _value); +Debug.locals.put("value", _value); + BA.debugLineNum = 60;BA.debugLine="HandleElement(key, value)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.map2xml.class, "_handleelement" /*RemoteObject*/ ,(Object)(_key),(Object)(_value)); + } +}Debug.locals.put("value", _value); +; + 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 _handlemapelement(RemoteObject __ref,RemoteObject _m) throws Exception{ +try { + Debug.PushSubsStack("HandleMapElement (map2xml) ","map2xml",74,__ref.getField(false, "ba"),__ref,28); +if (RapidSub.canDelegate("handlemapelement")) { return __ref.runUserSub(false, "map2xml","handlemapelement", __ref, _m);} +RemoteObject _attributes = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _attr = RemoteObject.createImmutable(""); +RemoteObject _k = RemoteObject.createImmutable(""); +RemoteObject _value = RemoteObject.declareNull("Object"); +Debug.locals.put("m", _m); + BA.debugLineNum = 28;BA.debugLine="Private Sub HandleMapElement (m As Map)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 29;BA.debugLine="Dim attributes As Map = m.Get(\"Attributes\")"; +Debug.JustUpdateDeviceLine(); +_attributes = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_attributes = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Attributes")))));Debug.locals.put("attributes", _attributes);Debug.locals.put("attributes", _attributes); + BA.debugLineNum = 30;BA.debugLine="If attributes.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (_attributes.runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 31;BA.debugLine="For Each attr As String In attributes.Keys"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group3 = _attributes.runMethod(false,"Keys"); +final int groupLen3 = group3.runMethod(true,"getSize").get() +;int index3 = 0; +; +for (; index3 < groupLen3;index3++){ +_attr = BA.ObjectToString(group3.runMethod(false,"Get",index3));Debug.locals.put("attr", _attr); +Debug.locals.put("attr", _attr); + BA.debugLineNum = 32;BA.debugLine="builder.attribute(attr, attributes.Get(attr))"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_builder" /*RemoteObject*/ ).runVoidMethod ("attribute",(Object)(_attr),(Object)(BA.ObjectToString(_attributes.runMethod(false,"Get",(Object)((_attr)))))); + } +}Debug.locals.put("attr", _attr); +; + BA.debugLineNum = 34;BA.debugLine="If m.ContainsKey(\"Text\") Then builder.text(m.Get"; +Debug.JustUpdateDeviceLine(); +if (_m.runMethod(true,"ContainsKey",(Object)((RemoteObject.createImmutable("Text")))).get().booleanValue()) { +__ref.getField(false,"_builder" /*RemoteObject*/ ).runVoidMethod ("text",(Object)(BA.ObjectToString(_m.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("Text")))))));}; + BA.debugLineNum = 35;BA.debugLine="m.Remove(\"Attributes\")"; +Debug.JustUpdateDeviceLine(); +_m.runVoidMethod ("Remove",(Object)((RemoteObject.createImmutable("Attributes")))); + BA.debugLineNum = 36;BA.debugLine="m.Remove(\"Text\")"; +Debug.JustUpdateDeviceLine(); +_m.runVoidMethod ("Remove",(Object)((RemoteObject.createImmutable("Text")))); + }; + BA.debugLineNum = 38;BA.debugLine="For Each k As String In m.Keys"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group10 = _m.runMethod(false,"Keys"); +final int groupLen10 = group10.runMethod(true,"getSize").get() +;int index10 = 0; +; +for (; index10 < groupLen10;index10++){ +_k = BA.ObjectToString(group10.runMethod(false,"Get",index10));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 39;BA.debugLine="Dim value As Object = m.Get(k)"; +Debug.JustUpdateDeviceLine(); +_value = _m.runMethod(false,"Get",(Object)((_k)));Debug.locals.put("value", _value);Debug.locals.put("value", _value); + BA.debugLineNum = 40;BA.debugLine="HandleElement(k, value)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.map2xml.class, "_handleelement" /*RemoteObject*/ ,(Object)(_k),(Object)(_value)); + } +}Debug.locals.put("k", _k); +; + 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 _initialize(RemoteObject __ref,RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (map2xml) ","map2xml",74,__ref.getField(false, "ba"),__ref,6); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "map2xml","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 6;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 8;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _maptoxml(RemoteObject __ref,RemoteObject _m) throws Exception{ +try { + Debug.PushSubsStack("MapToXml (map2xml) ","map2xml",74,__ref.getField(false, "ba"),__ref,10); +if (RapidSub.canDelegate("maptoxml")) { return __ref.runUserSub(false, "map2xml","maptoxml", __ref, _m);} +RemoteObject _k = RemoteObject.createImmutable(""); +RemoteObject _props = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +Debug.locals.put("m", _m); + BA.debugLineNum = 10;BA.debugLine="Public Sub MapToXml (m As Map) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 11;BA.debugLine="For Each k As String In m.Keys"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group1 = _m.runMethod(false,"Keys"); +final int groupLen1 = group1.runMethod(true,"getSize").get() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_k = BA.ObjectToString(group1.runMethod(false,"Get",index1));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 12;BA.debugLine="builder = builder.create(k)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_builder" /*RemoteObject*/ ,__ref.getField(false,"_builder" /*RemoteObject*/ ).runMethod(false,"create",(Object)(_k))); + BA.debugLineNum = 13;BA.debugLine="HandleElement(\"\", m.Get(k))"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.map2xml.class, "_handleelement" /*RemoteObject*/ ,(Object)(BA.ObjectToString("")),(Object)(_m.runMethod(false,"Get",(Object)((_k))))); + BA.debugLineNum = 14;BA.debugLine="Exit"; +Debug.JustUpdateDeviceLine(); +if (true) break; + } +}Debug.locals.put("k", _k); +; + BA.debugLineNum = 16;BA.debugLine="builder = builder.up"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_builder" /*RemoteObject*/ ,__ref.getField(false,"_builder" /*RemoteObject*/ ).runMethod(false,"up")); + BA.debugLineNum = 18;BA.debugLine="Dim props As Map"; +Debug.JustUpdateDeviceLine(); +_props = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("props", _props); + BA.debugLineNum = 19;BA.debugLine="props.Initialize"; +Debug.JustUpdateDeviceLine(); +_props.runVoidMethod ("Initialize"); + BA.debugLineNum = 20;BA.debugLine="props.Put(\"{http://xml.apache.org/xslt}indent-amo"; +Debug.JustUpdateDeviceLine(); +_props.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("{http://xml.apache.org/xslt}indent-amount"))),(Object)((RemoteObject.createImmutable("4")))); + BA.debugLineNum = 21;BA.debugLine="props.Put(\"indent\", \"yes\")"; +Debug.JustUpdateDeviceLine(); +_props.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("indent"))),(Object)((RemoteObject.createImmutable("yes")))); + BA.debugLineNum = 22;BA.debugLine="Return builder.asString2(props)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_builder" /*RemoteObject*/ ).runMethod(true,"asString2",(Object)((_props.getObject()))); + BA.debugLineNum = 26;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/SHARK2/keymon/com/mx/mapa_cliente.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/mapa_cliente.java new file mode 100644 index 0000000..3a80ad3 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/mapa_cliente.java @@ -0,0 +1,97 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class mapa_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"), "SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"Activity",mapa_cliente.mostCurrent._activity,"appUpdater",Debug.moduleToString(SHARK2.keymon.com.mx.appupdater.class),"b_regresar",mapa_cliente.mostCurrent._b_regresar,"B4XCollections",Debug.moduleToString(SHARK2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(SHARK2.keymon.com.mx.b4xpages.class),"boton1",mapa_cliente.mostCurrent._boton1,"c",mapa_cliente.mostCurrent._c,"DateUtils",mapa_cliente.mostCurrent._dateutils,"Distance",mapa_cliente._distance,"gmap",mapa_cliente.mostCurrent._gmap,"GPS",mapa_cliente._gps,"HttpUtils2Service",Debug.moduleToString(SHARK2.keymon.com.mx.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(SHARK2.keymon.com.mx.main.class),"MAPA_RUTAS",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_rutas.class),"MapFragment1",mapa_cliente.mostCurrent._mapfragment1,"newinst2",Debug.moduleToString(SHARK2.keymon.com.mx.newinst2.class),"NOMBRE_TIENDA",mapa_cliente.mostCurrent._nombre_tienda,"NotificationService",Debug.moduleToString(SHARK2.keymon.com.mx.notificationservice.class),"p_principal",mapa_cliente.mostCurrent._p_principal,"p1",mapa_cliente.mostCurrent._p1,"p2",mapa_cliente.mostCurrent._p2,"Pendientes",Debug.moduleToString(SHARK2.keymon.com.mx.pendientes.class),"rp",mapa_cliente._rp,"ruta",mapa_cliente._ruta,"skmt",mapa_cliente._skmt,"Starter",Debug.moduleToString(SHARK2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(SHARK2.keymon.com.mx.subs.class),"Tracker",Debug.moduleToString(SHARK2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(SHARK2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/mapa_cliente_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/mapa_cliente_subs_0.java new file mode 100644 index 0000000..7f79ecc --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/mapa_cliente_subs_0.java @@ -0,0 +1,357 @@ +package SHARK2.keymon.com.mx; + +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",25,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,34); +if (RapidSub.canDelegate("activity_create")) { return SHARK2.keymon.com.mx.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",25,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,111); +if (RapidSub.canDelegate("activity_pause")) { return SHARK2.keymon.com.mx.mapa_cliente.remoteMe.runUserSub(false, "mapa_cliente","activity_pause", _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 111;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(16384); + BA.debugLineNum = 112;BA.debugLine="GPS.Stop"; +Debug.ShouldStop(32768); +mapa_cliente._gps.runVoidMethod ("Stop"); + 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 _activity_resume() throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (mapa_cliente) ","mapa_cliente",25,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,90); +if (RapidSub.canDelegate("activity_resume")) { return SHARK2.keymon.com.mx.mapa_cliente.remoteMe.runUserSub(false, "mapa_cliente","activity_resume");} + BA.debugLineNum = 90;BA.debugLine="Sub Activity_Resume"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 91;BA.debugLine="Subs.centraBoton(b_regresar, Activity.Width)"; +Debug.ShouldStop(67108864); +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 = 92;BA.debugLine="GPS.Initialize(\"GPS\")"; +Debug.ShouldStop(134217728); +mapa_cliente._gps.runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("GPS"))); + BA.debugLineNum = 93;BA.debugLine="If GPS.GPSEnabled = False Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",mapa_cliente._gps.runMethod(true,"getGPSEnabled"),mapa_cliente.mostCurrent.__c.getField(true,"False"))) { + BA.debugLineNum = 94;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; +Debug.ShouldStop(536870912); +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 = 95;BA.debugLine="StartActivity(GPS.LocationSettingsIntent)"; +Debug.ShouldStop(1073741824); +mapa_cliente.mostCurrent.__c.runVoidMethod ("StartActivity",mapa_cliente.processBA,(Object)((mapa_cliente._gps.runMethod(false,"getLocationSettingsIntent")))); + }else { + BA.debugLineNum = 97;BA.debugLine="GPS.Start(0, 0)"; +Debug.ShouldStop(1); +mapa_cliente._gps.runVoidMethodAndSync ("Start",mapa_cliente.processBA,(Object)(BA.numberCast(long.class, 0)),(Object)(BA.numberCast(float.class, 0))); + }; + BA.debugLineNum = 99;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT CAT_CL_LAT, CA"; +Debug.ShouldStop(4); +mapa_cliente.mostCurrent._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), mapa_cliente.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT CAT_CL_LAT, CAT_CL_LONG, CAT_CL_NOMBRE FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION ALL SELECT CAT_CL_LAT, CAT_CL_LONG, CAT_CL_NOMBRE FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 101;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",mapa_cliente.mostCurrent._c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 102;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32); +mapa_cliente.mostCurrent._c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 103;BA.debugLine="Subs.centraPanel(p_principal, Activity.Width)"; +Debug.ShouldStop(64); +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 = 104;BA.debugLine="p_principal.Height = Activity.Height * 0.95"; +Debug.ShouldStop(128); +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 = 105;BA.debugLine="latmarker = c.GetString(\"CAT_CL_LAT\")"; +Debug.ShouldStop(256); +mapa_cliente.mostCurrent._latmarker = mapa_cliente.mostCurrent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))); + BA.debugLineNum = 106;BA.debugLine="longmarker = c.GetString(\"CAT_CL_LONG\")"; +Debug.ShouldStop(512); +mapa_cliente.mostCurrent._longmarker = mapa_cliente.mostCurrent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))); + BA.debugLineNum = 107;BA.debugLine="NOMBRE_TIENDA = c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(1024); +mapa_cliente.mostCurrent._nombre_tienda = mapa_cliente.mostCurrent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + }; + 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 _b_regresar_click() throws Exception{ +try { + Debug.PushSubsStack("b_regresar_Click (mapa_cliente) ","mapa_cliente",25,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,120); +if (RapidSub.canDelegate("b_regresar_click")) { return SHARK2.keymon.com.mx.mapa_cliente.remoteMe.runUserSub(false, "mapa_cliente","b_regresar_click");} + BA.debugLineNum = 120;BA.debugLine="Private Sub b_regresar_Click"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 121;BA.debugLine="Log(\"Pressed\")"; +Debug.ShouldStop(16777216); +mapa_cliente.mostCurrent.__c.runVoidMethod ("LogImpl","533619969",RemoteObject.createImmutable("Pressed"),0); + BA.debugLineNum = 122;BA.debugLine="Activity.Finish"; +Debug.ShouldStop(33554432); +mapa_cliente.mostCurrent._activity.runVoidMethod ("Finish"); + BA.debugLineNum = 123;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(67108864); +mapa_cliente.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,mapa_cliente.mostCurrent.activityBA,(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 124;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +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",25,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,69); +if (RapidSub.canDelegate("gps_locationchanged")) { return SHARK2.keymon.com.mx.mapa_cliente.remoteMe.runUserSub(false, "mapa_cliente","gps_locationchanged", _parametro);} +Debug.locals.put("Parametro", _parametro); + BA.debugLineNum = 69;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; +Debug.ShouldStop(16); + BA.debugLineNum = 88;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +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",25,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,41); +if (RapidSub.canDelegate("mapfragment1_ready")) { SHARK2.keymon.com.mx.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(SHARK2.keymon.com.mx.mapa_cliente parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +SHARK2.keymon.com.mx.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",25,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 = 5; +return; +case 5: +//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="c = Starter.skmt.ExecQuery(\"SELECT CAT_CL_LAT, CA"; +Debug.ShouldStop(524288); +parent.mostCurrent._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_LAT, CAT_CL_LONG, CAT_CL_NOMBRE FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION ALL SELECT CAT_CL_LAT, CAT_CL_LONG, CAT_CL_NOMBRE FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")))); + BA.debugLineNum = 54;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (true) break; + +case 1: +//if +this.state = 4; +if (RemoteObject.solveBoolean(">",parent.mostCurrent._c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 55;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4194304); +parent.mostCurrent._c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 61;BA.debugLine="marcador1.Snippet = c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(268435456); +_marcador1.runMethod(true,"setSnippet",parent.mostCurrent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE")))); + if (true) break; + +case 4: +//C +this.state = -1; +; + BA.debugLineNum = 64;BA.debugLine="Dim aa As CameraPosition"; +Debug.ShouldStop(-2147483648); +_aa = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper");Debug.locals.put("aa", _aa); + BA.debugLineNum = 65;BA.debugLine="aa.Initialize(latmarker,longmarker,15)''' RECOMEN"; +Debug.ShouldStop(1); +_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 = 66;BA.debugLine="gmap.AnimateCamera(aa)"; +Debug.ShouldStop(2); +parent.mostCurrent._gmap.runVoidMethod ("AnimateCamera",(Object)((_aa.getObject()))); + BA.debugLineNum = 67;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +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",25,mapa_cliente.mostCurrent.activityBA,mapa_cliente.mostCurrent,115); +if (RapidSub.canDelegate("reg_click")) { return SHARK2.keymon.com.mx.mapa_cliente.remoteMe.runUserSub(false, "mapa_cliente","reg_click");} + BA.debugLineNum = 115;BA.debugLine="Sub reg_Click"; +Debug.ShouldStop(262144); + BA.debugLineNum = 117;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(1048576); +mapa_cliente.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,mapa_cliente.mostCurrent.activityBA,(Object)(RemoteObject.createImmutable("Cliente"))); + BA.debugLineNum = 118;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/SHARK2/keymon/com/mx/mapa_rutas.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/mapa_rutas.java new file mode 100644 index 0000000..bec11e8 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/mapa_rutas.java @@ -0,0 +1,121 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class mapa_rutas implements IRemote{ + public static mapa_rutas mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public mapa_rutas() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + + public static void main (String[] args) throws Exception { + new RDebug(args[0], Integer.parseInt(args[1]), Integer.parseInt(args[2]), args[3]); + RDebug.INSTANCE.waitForTask(); + + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("mapa_rutas"), "SHARK2.keymon.com.mx.mapa_rutas"); + } + +public boolean isSingleton() { + return true; + } + public static RemoteObject getObject() { + return myClass; + } + + public RemoteObject activityBA; + public RemoteObject _activity; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + activityBA = (RemoteObject) args[2]; + _activity = (RemoteObject) args[3]; + anywheresoftware.b4a.keywords.Common.Density = (Float)args[4]; + remoteMe = (RemoteObject) args[5]; + pcBA = new PCBA(this, mapa_rutas.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _gps = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c22 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _c3 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +public static RemoteObject _gmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper"); +public static RemoteObject _mapfragment1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper"); +public static RemoteObject _latitud = RemoteObject.createImmutable(0); +public static RemoteObject _longitud = RemoteObject.createImmutable(0); +public static RemoteObject _lat2 = RemoteObject.createImmutable(0); +public static RemoteObject _lon2 = RemoteObject.createImmutable(0); +public static RemoteObject _p1 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +public static RemoteObject _p2 = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +public static RemoteObject _distance = RemoteObject.createImmutable(0f); +public static RemoteObject _boton1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _hue_blue = RemoteObject.createImmutable(0f); +public static RemoteObject _hue_red = RemoteObject.createImmutable(0f); +public static RemoteObject _hue_green = RemoteObject.createImmutable(0f); +public static RemoteObject _b_azul = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_rojo = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_verde = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _b_todos = RemoteObject.declareNull("anywheresoftware.b4a.objects.ButtonWrapper"); +public static RemoteObject _tienda = RemoteObject.createImmutable(""); +public static RemoteObject _latitudru = RemoteObject.createImmutable(0); +public static RemoteObject _longitudru = RemoteObject.createImmutable(0); +public static RemoteObject _list_azul = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _list_rojo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _list_verde = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _mark_azul = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); +public static RemoteObject _mark_rojo = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); +public static RemoteObject _mark_verde = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); +public static RemoteObject _mark_cedis = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); +public static RemoteObject _rojo = RemoteObject.createImmutable(""); +public static RemoteObject _azul = RemoteObject.createImmutable(""); +public static RemoteObject _verde = RemoteObject.createImmutable(""); +public static RemoteObject _todos = RemoteObject.createImmutable(""); +public static RemoteObject _numserie = RemoteObject.createImmutable(0); +public static RemoteObject _oninfowindowclicklistener1 = RemoteObject.declareNull("uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener"); +public static RemoteObject _googlemapextra = RemoteObject.declareNull("uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras"); +public static RemoteObject _codigo = RemoteObject.createImmutable(""); +public static RemoteObject _semana = RemoteObject.createImmutable(""); +public static RemoteObject _lista_punta = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _lista_punta2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"Activity",mapa_rutas.mostCurrent._activity,"appUpdater",Debug.moduleToString(SHARK2.keymon.com.mx.appupdater.class),"azul",mapa_rutas.mostCurrent._azul,"B_AZUL",mapa_rutas.mostCurrent._b_azul,"B_ROJO",mapa_rutas.mostCurrent._b_rojo,"B_TODOS",mapa_rutas.mostCurrent._b_todos,"B_VERDE",mapa_rutas.mostCurrent._b_verde,"B4XCollections",Debug.moduleToString(SHARK2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(SHARK2.keymon.com.mx.b4xpages.class),"boton1",mapa_rutas.mostCurrent._boton1,"c",mapa_rutas._c,"c2",mapa_rutas._c2,"c22",mapa_rutas._c22,"c3",mapa_rutas._c3,"CODIGO",mapa_rutas.mostCurrent._codigo,"DateUtils",mapa_rutas.mostCurrent._dateutils,"Distance",mapa_rutas._distance,"gmap",mapa_rutas.mostCurrent._gmap,"GoogleMapEXTRA",mapa_rutas.mostCurrent._googlemapextra,"GPS",mapa_rutas._gps,"HttpUtils2Service",Debug.moduleToString(SHARK2.keymon.com.mx.httputils2service.class),"HUE_BLUE",mapa_rutas._hue_blue,"HUE_GREEN",mapa_rutas._hue_green,"HUE_RED",mapa_rutas._hue_red,"Lat2",mapa_rutas._lat2,"Latitud",mapa_rutas._latitud,"LatitudRu",mapa_rutas._latitudru,"LIST_AZUL",mapa_rutas.mostCurrent._list_azul,"LIST_ROJO",mapa_rutas.mostCurrent._list_rojo,"LIST_VERDE",mapa_rutas.mostCurrent._list_verde,"lista_punta",mapa_rutas.mostCurrent._lista_punta,"lista_punta2",mapa_rutas.mostCurrent._lista_punta2,"Lon2",mapa_rutas._lon2,"Longitud",mapa_rutas._longitud,"LongitudRU",mapa_rutas._longitudru,"Main",Debug.moduleToString(SHARK2.keymon.com.mx.main.class),"MAPA_CLIENTE",Debug.moduleToString(SHARK2.keymon.com.mx.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(SHARK2.keymon.com.mx.newinst2.class),"NotificationService",Debug.moduleToString(SHARK2.keymon.com.mx.notificationservice.class),"NumSerie",mapa_rutas._numserie,"OnInfoWindowClickListener1",mapa_rutas.mostCurrent._oninfowindowclicklistener1,"p1",mapa_rutas.mostCurrent._p1,"p2",mapa_rutas.mostCurrent._p2,"Pendientes",Debug.moduleToString(SHARK2.keymon.com.mx.pendientes.class),"rojo",mapa_rutas.mostCurrent._rojo,"rp",mapa_rutas._rp,"ruta",mapa_rutas._ruta,"SEMANA",mapa_rutas.mostCurrent._semana,"skmt",mapa_rutas._skmt,"Starter",Debug.moduleToString(SHARK2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(SHARK2.keymon.com.mx.subs.class),"Tienda",mapa_rutas.mostCurrent._tienda,"todos",mapa_rutas.mostCurrent._todos,"Tracker",Debug.moduleToString(SHARK2.keymon.com.mx.tracker.class),"verde",mapa_rutas.mostCurrent._verde,"XUIViewsUtils",Debug.moduleToString(SHARK2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/mapa_rutas_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/mapa_rutas_subs_0.java new file mode 100644 index 0000000..24a8cf0 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/mapa_rutas_subs_0.java @@ -0,0 +1,1711 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class mapa_rutas_subs_0 { + + +public static void _activity_create(RemoteObject _firsttime) throws Exception{ +try { + Debug.PushSubsStack("Activity_Create (mapa_rutas) ","mapa_rutas",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,59); +if (RapidSub.canDelegate("activity_create")) { SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","activity_create", _firsttime); return;} +ResumableSub_Activity_Create rsub = new ResumableSub_Activity_Create(null,_firsttime); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Activity_Create extends BA.ResumableSub { +public ResumableSub_Activity_Create(SHARK2.keymon.com.mx.mapa_rutas parent,RemoteObject _firsttime) { +this.parent = parent; +this._firsttime = _firsttime; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +SHARK2.keymon.com.mx.mapa_rutas parent; +RemoteObject _firsttime; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Activity_Create (mapa_rutas) ","mapa_rutas",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,59); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("FirstTime", _firsttime); + BA.debugLineNum = 60;BA.debugLine="Activity.LoadLayout(\"MAPA_RUTAS\")"; +Debug.ShouldStop(134217728); +parent.mostCurrent._activity.runMethodAndSync(false,"LoadLayout",(Object)(RemoteObject.createImmutable("MAPA_RUTAS")),mapa_rutas.mostCurrent.activityBA); + BA.debugLineNum = 64;BA.debugLine="ruta = File.DirInternal"; +Debug.ShouldStop(-2147483648); +parent._ruta = parent.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal"); + BA.debugLineNum = 66;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +Debug.ShouldStop(2); +if (true) break; + +case 1: +//if +this.state = 4; +if (RemoteObject.solveBoolean("=",parent.mostCurrent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(parent._ruta),(Object)(RemoteObject.createImmutable("kmt.db"))),parent.mostCurrent.__c.getField(true,"False"))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 67;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +Debug.ShouldStop(4); +parent.mostCurrent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(parent.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(BA.ObjectToString("kmt.db")),(Object)(parent._ruta),(Object)(RemoteObject.createImmutable("kmt.db"))); + if (true) break; + +case 4: +//C +this.state = 5; +; + BA.debugLineNum = 69;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +Debug.ShouldStop(16); +parent._skmt.runVoidMethod ("Initialize",(Object)(parent._ruta),(Object)(BA.ObjectToString("kmt.db")),(Object)(parent.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 71;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +Debug.ShouldStop(64); +parent.mostCurrent._starter._rp /*RemoteObject*/ .runVoidMethod ("CheckAndRequest",mapa_rutas.processBA,(Object)(parent.mostCurrent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_ACCESS_FINE_LOCATION"))); + BA.debugLineNum = 72;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; +Debug.ShouldStop(128); +parent.mostCurrent.__c.runVoidMethod ("WaitFor","activity_permissionresult", mapa_rutas.processBA, anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "mapa_rutas", "activity_create"), null); +this.state = 19; +return; +case 19: +//C +this.state = 5; +_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 = 73;BA.debugLine="If Result Then"; +Debug.ShouldStop(256); +if (true) break; + +case 5: +//if +this.state = 14; +if (_result.get().booleanValue()) { +this.state = 7; +}else { +this.state = 13; +}if (true) break; + +case 7: +//C +this.state = 8; + BA.debugLineNum = 74;BA.debugLine="StartService(Tracker)"; +Debug.ShouldStop(512); +parent.mostCurrent.__c.runVoidMethod ("StartService",mapa_rutas.processBA,(Object)((parent.mostCurrent._tracker.getObject()))); + BA.debugLineNum = 75;BA.debugLine="Log(\"Start Tracker\")"; +Debug.ShouldStop(1024); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","533816592",RemoteObject.createImmutable("Start Tracker"),0); + BA.debugLineNum = 76;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable ="; +Debug.ShouldStop(2048); +if (true) break; + +case 8: +//if +this.state = 11; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._mapfragment1.runMethod(true,"IsGooglePlayServicesAvailable",mapa_rutas.mostCurrent.activityBA),parent.mostCurrent.__c.getField(true,"False"))) { +this.state = 10; +}if (true) break; + +case 10: +//C +this.state = 11; + BA.debugLineNum = 77;BA.debugLine="ToastMessageShow(\"Please install Google Play Se"; +Debug.ShouldStop(4096); +parent.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Please install Google Play Services.")),(Object)(parent.mostCurrent.__c.getField(true,"True"))); + if (true) break; + +case 11: +//C +this.state = 14; +; + if (true) break; + +case 13: +//C +this.state = 14; + BA.debugLineNum = 80;BA.debugLine="ToastMessageShow(\"No permission\", True)"; +Debug.ShouldStop(32768); +parent.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("No permission")),(Object)(parent.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 81;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +Debug.ShouldStop(65536); +parent.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,mapa_rutas.mostCurrent.activityBA,(Object)(RemoteObject.createImmutable("Principal"))); + if (true) break; + +case 14: +//C +this.state = 15; +; + BA.debugLineNum = 96;BA.debugLine="MARK_AZUL.IsInitialized"; +Debug.ShouldStop(-2147483648); +parent.mostCurrent._mark_azul.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 97;BA.debugLine="MARK_ROJO.IsInitialized"; +Debug.ShouldStop(1); +parent.mostCurrent._mark_rojo.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 98;BA.debugLine="MARK_VERDE.IsInitialized"; +Debug.ShouldStop(2); +parent.mostCurrent._mark_verde.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 99;BA.debugLine="LIST_AZUL.Initialize"; +Debug.ShouldStop(4); +parent.mostCurrent._list_azul.runVoidMethod ("Initialize"); + BA.debugLineNum = 100;BA.debugLine="LIST_ROJO.Initialize"; +Debug.ShouldStop(8); +parent.mostCurrent._list_rojo.runVoidMethod ("Initialize"); + BA.debugLineNum = 101;BA.debugLine="LIST_VERDE.Initialize"; +Debug.ShouldStop(16); +parent.mostCurrent._list_verde.runVoidMethod ("Initialize"); + BA.debugLineNum = 102;BA.debugLine="verde = 0"; +Debug.ShouldStop(32); +parent.mostCurrent._verde = BA.NumberToString(0); + BA.debugLineNum = 103;BA.debugLine="azul = 0"; +Debug.ShouldStop(64); +parent.mostCurrent._azul = BA.NumberToString(0); + BA.debugLineNum = 104;BA.debugLine="rojo = 0"; +Debug.ShouldStop(128); +parent.mostCurrent._rojo = BA.NumberToString(0); + BA.debugLineNum = 105;BA.debugLine="todos = 1"; +Debug.ShouldStop(256); +parent.mostCurrent._todos = BA.NumberToString(1); + BA.debugLineNum = 106;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) AS CUANTOS fro"; +Debug.ShouldStop(512); +parent._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._skmt.runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select count(*) AS CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SEMANA")})))); + BA.debugLineNum = 107;BA.debugLine="c.Position =0"; +Debug.ShouldStop(1024); +parent._c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 108;BA.debugLine="SEMANA = c.GetString(\"CUANTOS\")"; +Debug.ShouldStop(2048); +parent.mostCurrent._semana = parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUANTOS"))); + BA.debugLineNum = 109;BA.debugLine="c.Close"; +Debug.ShouldStop(4096); +parent._c.runVoidMethod ("Close"); + BA.debugLineNum = 111;BA.debugLine="If SEMANA > 0 Then"; +Debug.ShouldStop(16384); +if (true) break; + +case 15: +//if +this.state = 18; +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, parent.mostCurrent._semana),BA.numberCast(double.class, 0))) { +this.state = 17; +}if (true) break; + +case 17: +//C +this.state = 18; + BA.debugLineNum = 112;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_"; +Debug.ShouldStop(32768); +parent._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._skmt.runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("SEMANA")})))); + BA.debugLineNum = 113;BA.debugLine="c.Position =0"; +Debug.ShouldStop(65536); +parent._c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 114;BA.debugLine="SEMANA = c.GetString(\"CAT_VA_VALOR\")"; +Debug.ShouldStop(131072); +parent.mostCurrent._semana = parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_VA_VALOR"))); + BA.debugLineNum = 115;BA.debugLine="c.Close"; +Debug.ShouldStop(262144); +parent._c.runVoidMethod ("Close"); + if (true) break; + +case 18: +//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 void _activity_permissionresult(RemoteObject _permission,RemoteObject _result) throws Exception{ +} +public static RemoteObject _activity_pause(RemoteObject _userclosed) throws Exception{ +try { + Debug.PushSubsStack("Activity_Pause (mapa_rutas) ","mapa_rutas",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,364); +if (RapidSub.canDelegate("activity_pause")) { return SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","activity_pause", _userclosed);} +Debug.locals.put("UserClosed", _userclosed); + BA.debugLineNum = 364;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +Debug.ShouldStop(2048); + BA.debugLineNum = 365;BA.debugLine="GPS.Stop"; +Debug.ShouldStop(4096); +mapa_rutas._gps.runVoidMethod ("Stop"); + BA.debugLineNum = 366;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _activity_resume() throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (mapa_rutas) ","mapa_rutas",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,119); +if (RapidSub.canDelegate("activity_resume")) { SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","activity_resume"); return;} +ResumableSub_Activity_Resume rsub = new ResumableSub_Activity_Resume(null); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_Activity_Resume extends BA.ResumableSub { +public ResumableSub_Activity_Resume(SHARK2.keymon.com.mx.mapa_rutas parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +SHARK2.keymon.com.mx.mapa_rutas parent; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("Activity_Resume (mapa_rutas) ","mapa_rutas",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,119); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 120;BA.debugLine="Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_FIN"; +Debug.ShouldStop(8388608); +parent.mostCurrent._starter._rp /*RemoteObject*/ .runVoidMethod ("Check",(Object)(parent.mostCurrent._starter._rp /*RemoteObject*/ .getField(true,"PERMISSION_ACCESS_FINE_LOCATION"))); + BA.debugLineNum = 121;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; +Debug.ShouldStop(16777216); +parent.mostCurrent.__c.runVoidMethod ("WaitFor","activity_permissionresult", mapa_rutas.processBA, anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "mapa_rutas", "activity_resume"), null); +this.state = 11; +return; +case 11: +//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 = 122;BA.debugLine="If Result Then"; +Debug.ShouldStop(33554432); +if (true) break; + +case 1: +//if +this.state = 10; +if (_result.get().booleanValue()) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 123;BA.debugLine="If Starter.GPS.GPSEnabled = False Then"; +Debug.ShouldStop(67108864); +if (true) break; + +case 4: +//if +this.state = 9; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._starter._gps /*RemoteObject*/ .runMethod(true,"getGPSEnabled"),parent.mostCurrent.__c.getField(true,"False"))) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + +case 6: +//C +this.state = 9; + BA.debugLineNum = 124;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equip"; +Debug.ShouldStop(134217728); +parent.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo.")),(Object)(parent.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 125;BA.debugLine="StartActivity(Starter.GPS.LocationSettingsInten"; +Debug.ShouldStop(268435456); +parent.mostCurrent.__c.runVoidMethod ("StartActivity",mapa_rutas.processBA,(Object)((parent.mostCurrent._starter._gps /*RemoteObject*/ .runMethod(false,"getLocationSettingsIntent")))); + if (true) break; + +case 8: +//C +this.state = 9; + BA.debugLineNum = 127;BA.debugLine="Starter.GPS.Start(0, 0)"; +Debug.ShouldStop(1073741824); +parent.mostCurrent._starter._gps /*RemoteObject*/ .runVoidMethodAndSync ("Start",mapa_rutas.processBA,(Object)(BA.numberCast(long.class, 0)),(Object)(BA.numberCast(float.class, 0))); + if (true) break; + +case 9: +//C +this.state = 10; +; + if (true) break; + +case 10: +//C +this.state = -1; +; + BA.debugLineNum = 130;BA.debugLine="lista_punta.Initialize"; +Debug.ShouldStop(2); +parent.mostCurrent._lista_punta.runVoidMethod ("Initialize"); + BA.debugLineNum = 131;BA.debugLine="lista_punta2.Initialize"; +Debug.ShouldStop(4); +parent.mostCurrent._lista_punta2.runVoidMethod ("Initialize"); + BA.debugLineNum = 133;BA.debugLine="LIST_AZUL.Initialize"; +Debug.ShouldStop(16); +parent.mostCurrent._list_azul.runVoidMethod ("Initialize"); + BA.debugLineNum = 134;BA.debugLine="LIST_ROJO.Initialize"; +Debug.ShouldStop(32); +parent.mostCurrent._list_rojo.runVoidMethod ("Initialize"); + BA.debugLineNum = 135;BA.debugLine="LIST_VERDE.Initialize"; +Debug.ShouldStop(64); +parent.mostCurrent._list_verde.runVoidMethod ("Initialize"); + BA.debugLineNum = 136;BA.debugLine="verde = 0"; +Debug.ShouldStop(128); +parent.mostCurrent._verde = BA.NumberToString(0); + BA.debugLineNum = 137;BA.debugLine="azul = 1"; +Debug.ShouldStop(256); +parent.mostCurrent._azul = BA.NumberToString(1); + BA.debugLineNum = 138;BA.debugLine="rojo = 0"; +Debug.ShouldStop(512); +parent.mostCurrent._rojo = BA.NumberToString(0); + BA.debugLineNum = 139;BA.debugLine="todos = 0"; +Debug.ShouldStop(1024); +parent.mostCurrent._todos = BA.NumberToString(0); + BA.debugLineNum = 144;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b_azul_click() throws Exception{ +try { + Debug.PushSubsStack("B_AZUL_Click (mapa_rutas) ","mapa_rutas",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,400); +if (RapidSub.canDelegate("b_azul_click")) { return SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","b_azul_click");} + BA.debugLineNum = 400;BA.debugLine="Sub B_AZUL_Click"; +Debug.ShouldStop(32768); + BA.debugLineNum = 401;BA.debugLine="azul = 1"; +Debug.ShouldStop(65536); +mapa_rutas.mostCurrent._azul = BA.NumberToString(1); + BA.debugLineNum = 402;BA.debugLine="verde = 0"; +Debug.ShouldStop(131072); +mapa_rutas.mostCurrent._verde = BA.NumberToString(0); + BA.debugLineNum = 403;BA.debugLine="rojo = 0"; +Debug.ShouldStop(262144); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(0); + BA.debugLineNum = 404;BA.debugLine="todos = 0"; +Debug.ShouldStop(524288); +mapa_rutas.mostCurrent._todos = BA.NumberToString(0); + BA.debugLineNum = 405;BA.debugLine="gmap.Clear"; +Debug.ShouldStop(1048576); +mapa_rutas.mostCurrent._gmap.runVoidMethod ("Clear"); + BA.debugLineNum = 407;BA.debugLine="MapFragment1_Ready"; +Debug.ShouldStop(4194304); +_mapfragment1_ready(); + BA.debugLineNum = 409;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +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",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,389); +if (RapidSub.canDelegate("b_rojo_click")) { return SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","b_rojo_click");} + BA.debugLineNum = 389;BA.debugLine="Sub B_ROJO_Click"; +Debug.ShouldStop(16); + BA.debugLineNum = 390;BA.debugLine="rojo = 1"; +Debug.ShouldStop(32); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(1); + BA.debugLineNum = 391;BA.debugLine="verde = 0"; +Debug.ShouldStop(64); +mapa_rutas.mostCurrent._verde = BA.NumberToString(0); + BA.debugLineNum = 392;BA.debugLine="azul = 0"; +Debug.ShouldStop(128); +mapa_rutas.mostCurrent._azul = BA.NumberToString(0); + BA.debugLineNum = 393;BA.debugLine="todos = 0"; +Debug.ShouldStop(256); +mapa_rutas.mostCurrent._todos = BA.NumberToString(0); + BA.debugLineNum = 394;BA.debugLine="gmap.Clear"; +Debug.ShouldStop(512); +mapa_rutas.mostCurrent._gmap.runVoidMethod ("Clear"); + BA.debugLineNum = 396;BA.debugLine="MapFragment1_Ready"; +Debug.ShouldStop(2048); +_mapfragment1_ready(); + BA.debugLineNum = 398;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +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",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,369); +if (RapidSub.canDelegate("b_todos_click")) { return SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","b_todos_click");} + BA.debugLineNum = 369;BA.debugLine="Sub B_TODOS_Click"; +Debug.ShouldStop(65536); + BA.debugLineNum = 370;BA.debugLine="todos =1"; +Debug.ShouldStop(131072); +mapa_rutas.mostCurrent._todos = BA.NumberToString(1); + BA.debugLineNum = 371;BA.debugLine="verde = 0"; +Debug.ShouldStop(262144); +mapa_rutas.mostCurrent._verde = BA.NumberToString(0); + BA.debugLineNum = 372;BA.debugLine="azul = 0"; +Debug.ShouldStop(524288); +mapa_rutas.mostCurrent._azul = BA.NumberToString(0); + BA.debugLineNum = 373;BA.debugLine="rojo = 0"; +Debug.ShouldStop(1048576); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(0); + BA.debugLineNum = 375;BA.debugLine="MapFragment1_Ready"; +Debug.ShouldStop(4194304); +_mapfragment1_ready(); + 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_verde_click() throws Exception{ +try { + Debug.PushSubsStack("B_VERDE_Click (mapa_rutas) ","mapa_rutas",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,379); +if (RapidSub.canDelegate("b_verde_click")) { return SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","b_verde_click");} + BA.debugLineNum = 379;BA.debugLine="Sub B_VERDE_Click"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 380;BA.debugLine="verde = 1"; +Debug.ShouldStop(134217728); +mapa_rutas.mostCurrent._verde = BA.NumberToString(1); + BA.debugLineNum = 381;BA.debugLine="azul = 0"; +Debug.ShouldStop(268435456); +mapa_rutas.mostCurrent._azul = BA.NumberToString(0); + BA.debugLineNum = 382;BA.debugLine="rojo = 0"; +Debug.ShouldStop(536870912); +mapa_rutas.mostCurrent._rojo = BA.NumberToString(0); + BA.debugLineNum = 383;BA.debugLine="todos = 0"; +Debug.ShouldStop(1073741824); +mapa_rutas.mostCurrent._todos = BA.NumberToString(0); + BA.debugLineNum = 384;BA.debugLine="gmap.Clear"; +Debug.ShouldStop(-2147483648); +mapa_rutas.mostCurrent._gmap.runVoidMethod ("Clear"); + BA.debugLineNum = 385;BA.debugLine="MapFragment1_Ready"; +Debug.ShouldStop(1); +_mapfragment1_ready(); + BA.debugLineNum = 387;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _drawpolygon(RemoteObject _pointlist) throws Exception{ +try { + Debug.PushSubsStack("DrawPolygon (mapa_rutas) ","mapa_rutas",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,437); +if (RapidSub.canDelegate("drawpolygon")) { return SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","drawpolygon", _pointlist);} +RemoteObject _googlemapsextras1 = RemoteObject.declareNull("uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras"); +RemoteObject _polygonoptions1 = RemoteObject.declareNull("uk.co.martinpearman.b4a.com.google.android.gms.maps.model.PolygonOptions"); +RemoteObject _pg = RemoteObject.declareNull("uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Polygon"); +Debug.locals.put("PointList", _pointlist); + BA.debugLineNum = 437;BA.debugLine="Sub DrawPolygon (PointList As List)"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 438;BA.debugLine="Dim GoogleMapsExtras1 As GoogleMapsExtras"; +Debug.ShouldStop(2097152); +_googlemapsextras1 = RemoteObject.createNew ("uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras");Debug.locals.put("GoogleMapsExtras1", _googlemapsextras1); + BA.debugLineNum = 439;BA.debugLine="Dim polygonoptions1 As PolygonOptions"; +Debug.ShouldStop(4194304); +_polygonoptions1 = RemoteObject.createNew ("uk.co.martinpearman.b4a.com.google.android.gms.maps.model.PolygonOptions");Debug.locals.put("polygonoptions1", _polygonoptions1); + BA.debugLineNum = 440;BA.debugLine="polygonoptions1.Initialize"; +Debug.ShouldStop(8388608); +_polygonoptions1.runVoidMethod ("Initialize"); + BA.debugLineNum = 441;BA.debugLine="polygonoptions1.FillColor=Colors.ARGB(100,255,0,0"; +Debug.ShouldStop(16777216); +_polygonoptions1.runMethod(true,"setFillColor",mapa_rutas.mostCurrent.__c.getField(false,"Colors").runMethod(true,"ARGB",(Object)(BA.numberCast(int.class, 100)),(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)))); + BA.debugLineNum = 442;BA.debugLine="polygonoptions1.AddPoints(PointList)"; +Debug.ShouldStop(33554432); +_polygonoptions1.runVoidMethod ("AddPoints",(Object)(_pointlist)); + BA.debugLineNum = 443;BA.debugLine="polygonoptions1.StrokeColor=Colors.DarkGray"; +Debug.ShouldStop(67108864); +_polygonoptions1.runMethod(true,"setStrokeColor",mapa_rutas.mostCurrent.__c.getField(false,"Colors").getField(true,"DarkGray")); + BA.debugLineNum = 444;BA.debugLine="polygonoptions1.StrokeWidth=1"; +Debug.ShouldStop(134217728); +_polygonoptions1.runMethod(true,"setStrokeWidth",BA.numberCast(float.class, 1)); + BA.debugLineNum = 445;BA.debugLine="Dim pg As Polygon = GoogleMapsExtras1.AddPolygon("; +Debug.ShouldStop(268435456); +_pg = RemoteObject.createNew ("uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Polygon"); +_pg = _googlemapsextras1.runMethod(false,"AddPolygon",(Object)((mapa_rutas.mostCurrent._gmap.getObject())),(Object)((_polygonoptions1.getObject())));Debug.locals.put("pg", _pg);Debug.locals.put("pg", _pg); + BA.debugLineNum = 446;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _globals() throws Exception{ + //BA.debugLineNum = 18;BA.debugLine="Sub Globals"; + //BA.debugLineNum = 19;BA.debugLine="Private gmap As GoogleMap"; +mapa_rutas.mostCurrent._gmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper"); + //BA.debugLineNum = 20;BA.debugLine="Private MapFragment1 As MapFragment"; +mapa_rutas.mostCurrent._mapfragment1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper"); + //BA.debugLineNum = 21;BA.debugLine="Dim Latitud As Double = 0"; +mapa_rutas._latitud = BA.numberCast(double.class, 0); + //BA.debugLineNum = 22;BA.debugLine="Dim Longitud As Double = 0"; +mapa_rutas._longitud = BA.numberCast(double.class, 0); + //BA.debugLineNum = 23;BA.debugLine="Dim Lat2 As Double = 0"; +mapa_rutas._lat2 = BA.numberCast(double.class, 0); + //BA.debugLineNum = 24;BA.debugLine="Dim Lon2 As Double = 0"; +mapa_rutas._lon2 = BA.numberCast(double.class, 0); + //BA.debugLineNum = 25;BA.debugLine="Dim p1, p2 As Location"; +mapa_rutas.mostCurrent._p1 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper"); +mapa_rutas.mostCurrent._p2 = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper"); + //BA.debugLineNum = 26;BA.debugLine="Dim Distance As Float"; +mapa_rutas._distance = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 27;BA.debugLine="Dim boton1 As Button"; +mapa_rutas.mostCurrent._boton1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 28;BA.debugLine="Dim HUE_BLUE As Float"; +mapa_rutas._hue_blue = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 29;BA.debugLine="Dim HUE_RED As Float"; +mapa_rutas._hue_red = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 30;BA.debugLine="Dim HUE_GREEN As Float"; +mapa_rutas._hue_green = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 31;BA.debugLine="Private B_AZUL As Button"; +mapa_rutas.mostCurrent._b_azul = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 32;BA.debugLine="Private B_ROJO As Button"; +mapa_rutas.mostCurrent._b_rojo = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 33;BA.debugLine="Private B_VERDE As Button"; +mapa_rutas.mostCurrent._b_verde = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 34;BA.debugLine="Private B_TODOS As Button"; +mapa_rutas.mostCurrent._b_todos = RemoteObject.createNew ("anywheresoftware.b4a.objects.ButtonWrapper"); + //BA.debugLineNum = 35;BA.debugLine="Dim Tienda As String"; +mapa_rutas.mostCurrent._tienda = RemoteObject.createImmutable(""); + //BA.debugLineNum = 36;BA.debugLine="Dim LatitudRu As Double"; +mapa_rutas._latitudru = RemoteObject.createImmutable(0); + //BA.debugLineNum = 37;BA.debugLine="Dim LongitudRU As Double"; +mapa_rutas._longitudru = RemoteObject.createImmutable(0); + //BA.debugLineNum = 38;BA.debugLine="Dim LIST_AZUL As List"; +mapa_rutas.mostCurrent._list_azul = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); + //BA.debugLineNum = 39;BA.debugLine="Dim LIST_ROJO As List"; +mapa_rutas.mostCurrent._list_rojo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); + //BA.debugLineNum = 40;BA.debugLine="Dim LIST_VERDE As List"; +mapa_rutas.mostCurrent._list_verde = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); + //BA.debugLineNum = 41;BA.debugLine="Dim MARK_AZUL As Marker"; +mapa_rutas.mostCurrent._mark_azul = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); + //BA.debugLineNum = 42;BA.debugLine="Dim MARK_ROJO As Marker"; +mapa_rutas.mostCurrent._mark_rojo = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); + //BA.debugLineNum = 43;BA.debugLine="Dim MARK_VERDE As Marker"; +mapa_rutas.mostCurrent._mark_verde = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); + //BA.debugLineNum = 44;BA.debugLine="Dim MARK_CEDIS As Marker"; +mapa_rutas.mostCurrent._mark_cedis = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper"); + //BA.debugLineNum = 45;BA.debugLine="Dim rojo As String"; +mapa_rutas.mostCurrent._rojo = RemoteObject.createImmutable(""); + //BA.debugLineNum = 46;BA.debugLine="Dim azul As String"; +mapa_rutas.mostCurrent._azul = RemoteObject.createImmutable(""); + //BA.debugLineNum = 47;BA.debugLine="Dim verde As String"; +mapa_rutas.mostCurrent._verde = RemoteObject.createImmutable(""); + //BA.debugLineNum = 48;BA.debugLine="Dim todos As String"; +mapa_rutas.mostCurrent._todos = RemoteObject.createImmutable(""); + //BA.debugLineNum = 49;BA.debugLine="Dim NumSerie As Int"; +mapa_rutas._numserie = RemoteObject.createImmutable(0); + //BA.debugLineNum = 50;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; +mapa_rutas.mostCurrent._oninfowindowclicklistener1 = RemoteObject.createNew ("uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener"); + //BA.debugLineNum = 51;BA.debugLine="Dim GoogleMapEXTRA As GoogleMapsExtras"; +mapa_rutas.mostCurrent._googlemapextra = RemoteObject.createNew ("uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras"); + //BA.debugLineNum = 52;BA.debugLine="Dim CODIGO As String"; +mapa_rutas.mostCurrent._codigo = RemoteObject.createImmutable(""); + //BA.debugLineNum = 53;BA.debugLine="Private SEMANA As String"; +mapa_rutas.mostCurrent._semana = RemoteObject.createImmutable(""); + //BA.debugLineNum = 54;BA.debugLine="Dim lista_punta As List"; +mapa_rutas.mostCurrent._lista_punta = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); + //BA.debugLineNum = 55;BA.debugLine="Dim lista_punta2 As List"; +mapa_rutas.mostCurrent._lista_punta2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); + //BA.debugLineNum = 57;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",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,343); +if (RapidSub.canDelegate("gps_locationchanged")) { return SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","gps_locationchanged", _parametro);} +Debug.locals.put("Parametro", _parametro); + BA.debugLineNum = 343;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 344;BA.debugLine="MARK_CEDIS.IsInitialized"; +Debug.ShouldStop(8388608); +mapa_rutas.mostCurrent._mark_cedis.runVoidMethod ("IsInitialized"); + 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 _mapfragment1_click(RemoteObject _point) throws Exception{ +try { + Debug.PushSubsStack("MapFragment1_Click (mapa_rutas) ","mapa_rutas",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,429); +if (RapidSub.canDelegate("mapfragment1_click")) { return SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","mapfragment1_click", _point);} +Debug.locals.put("Point", _point); + BA.debugLineNum = 429;BA.debugLine="Sub MapFragment1_Click (Point As LatLng)"; +Debug.ShouldStop(4096); + BA.debugLineNum = 431;BA.debugLine="Log(Point.Latitude)"; +Debug.ShouldStop(16384); +mapa_rutas.mostCurrent.__c.runVoidMethod ("LogImpl","534471938",BA.NumberToString(_point.runMethod(true,"getLatitude")),0); + BA.debugLineNum = 432;BA.debugLine="Log(Point.Longitude)"; +Debug.ShouldStop(32768); +mapa_rutas.mostCurrent.__c.runVoidMethod ("LogImpl","534471939",BA.NumberToString(_point.runMethod(true,"getLongitude")),0); + BA.debugLineNum = 434;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _mapfragment1_longclick(RemoteObject _mpoint) throws Exception{ +try { + Debug.PushSubsStack("MapFragment1_LongClick (mapa_rutas) ","mapa_rutas",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,474); +if (RapidSub.canDelegate("mapfragment1_longclick")) { return SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","mapfragment1_longclick", _mpoint);} +RemoteObject _dentro = RemoteObject.createImmutable(false); +Debug.locals.put("mPoint", _mpoint); + BA.debugLineNum = 474;BA.debugLine="Sub MapFragment1_LongClick (mPoint As LatLng)"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 476;BA.debugLine="If lista_punta.Size > 0 Then"; +Debug.ShouldStop(134217728); +if (RemoteObject.solveBoolean(">",mapa_rutas.mostCurrent._lista_punta.runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 477;BA.debugLine="Dim dentro As Boolean = PointInPolygon(mPoint, l"; +Debug.ShouldStop(268435456); +_dentro = _pointinpolygon(_mpoint,mapa_rutas.mostCurrent._lista_punta);Debug.locals.put("dentro", _dentro);Debug.locals.put("dentro", _dentro); + BA.debugLineNum = 479;BA.debugLine="If dentro Then"; +Debug.ShouldStop(1073741824); +if (_dentro.get().booleanValue()) { + BA.debugLineNum = 480;BA.debugLine="ToastMessageShow(\"El punto está DENTRO del polí"; +Debug.ShouldStop(-2147483648); +mapa_rutas.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("El punto está DENTRO del polígono")),(Object)(mapa_rutas.mostCurrent.__c.getField(true,"True"))); + }else { + BA.debugLineNum = 482;BA.debugLine="ToastMessageShow(\"El punto está FUERA del políg"; +Debug.ShouldStop(2); +mapa_rutas.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("El punto está FUERA del polígono")),(Object)(mapa_rutas.mostCurrent.__c.getField(true,"True"))); + }; + }; + BA.debugLineNum = 487;BA.debugLine="gmap.AddMarker3(mPoint.Latitude, mPoint.Longitude"; +Debug.ShouldStop(64); +mapa_rutas.mostCurrent._gmap.runMethod(false,"AddMarker3",(Object)(_mpoint.runMethod(true,"getLatitude")),(Object)(_mpoint.runMethod(true,"getLongitude")),(Object)(BA.ObjectToString("MicroArea ")),(Object)((mapa_rutas.mostCurrent.__c.runMethod(false,"LoadBitmap",(Object)(mapa_rutas.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirAssets")),(Object)(RemoteObject.createImmutable("marker-amarillo.png"))).getObject()))).runMethod(true,"setInfoWindowShown",mapa_rutas.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 488;BA.debugLine="lista_punta2.Add(mPoint)"; +Debug.ShouldStop(128); +mapa_rutas.mostCurrent._lista_punta2.runVoidMethod ("Add",(Object)((_mpoint.getObject()))); + BA.debugLineNum = 490;BA.debugLine="If lista_punta2.Size = 6 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("=",mapa_rutas.mostCurrent._lista_punta2.runMethod(true,"getSize"),BA.numberCast(double.class, 6))) { + BA.debugLineNum = 491;BA.debugLine="DrawPolygon(lista_punta2)"; +Debug.ShouldStop(1024); +_drawpolygon(mapa_rutas.mostCurrent._lista_punta2); + }; + BA.debugLineNum = 493;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",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,146); +if (RapidSub.canDelegate("mapfragment1_ready")) { SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","mapfragment1_ready"); return;} +ResumableSub_MapFragment1_Ready rsub = new ResumableSub_MapFragment1_Ready(null); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_MapFragment1_Ready extends BA.ResumableSub { +public ResumableSub_MapFragment1_Ready(SHARK2.keymon.com.mx.mapa_rutas parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +SHARK2.keymon.com.mx.mapa_rutas parent; +RemoteObject _permission = RemoteObject.createImmutable(""); +RemoteObject _result = RemoteObject.createImmutable(false); +RemoteObject _javamapsobject = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +int _i = 0; +RemoteObject _aa = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper"); +RemoteObject _pol = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _poli = 0; +RemoteObject _coords = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +int step15; +int limit15; +int step35; +int limit35; +int step51; +int limit51; +int step68; +int limit68; +int step82; +int limit82; +int step103; +int limit103; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("MapFragment1_Ready (mapa_rutas) ","mapa_rutas",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,146); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 147;BA.debugLine="Log(\"ENTRANDO MapFragment1_Ready\")"; +Debug.ShouldStop(262144); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","533947649",RemoteObject.createImmutable("ENTRANDO MapFragment1_Ready"),0); + BA.debugLineNum = 148;BA.debugLine="gmap = MapFragment1.GetMap"; +Debug.ShouldStop(524288); +parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.runMethod(false,"GetMap"); + BA.debugLineNum = 149;BA.debugLine="gmap.IsInitialized"; +Debug.ShouldStop(1048576); +parent.mostCurrent._gmap.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 153;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; +Debug.ShouldStop(16777216); +parent._rp.runVoidMethod ("CheckAndRequest",mapa_rutas.processBA,(Object)(parent._rp.getField(true,"PERMISSION_ACCESS_FINE_LOCATION"))); + BA.debugLineNum = 154;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; +Debug.ShouldStop(33554432); +parent.mostCurrent.__c.runVoidMethod ("WaitFor","activity_permissionresult", mapa_rutas.processBA, anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "mapa_rutas", "mapfragment1_ready"), null); +this.state = 91; +return; +case 91: +//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 = 155;BA.debugLine="gmap.MyLocationEnabled = Result"; +Debug.ShouldStop(67108864); +parent.mostCurrent._gmap.runMethod(true,"setMyLocationEnabled",_result); + BA.debugLineNum = 157;BA.debugLine="Dim JavaMapsObject As JavaObject"; +Debug.ShouldStop(268435456); +_javamapsobject = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("JavaMapsObject", _javamapsobject); + BA.debugLineNum = 158;BA.debugLine="JavaMapsObject = gmap.GetUiSettings"; +Debug.ShouldStop(536870912); +_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 = 159;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; +Debug.ShouldStop(1073741824); +_javamapsobject.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setMapToolbarEnabled")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(parent.mostCurrent.__c.getField(true,"True"))}))); + BA.debugLineNum = 161;BA.debugLine="If azul = 1 Or todos = 1 Then"; +Debug.ShouldStop(1); +if (true) break; + +case 1: +//if +this.state = 30; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._azul,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 162;BA.debugLine="c.IsInitialized"; +Debug.ShouldStop(2); +parent._c.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 163;BA.debugLine="c=skmt.ExecQuery(\"select CAT_CL_CODIGO,CAT_CL_NO"; +Debug.ShouldStop(4); +parent._c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._skmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG from kmt_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_LAT <> ' ' and CAT_CL_LONG <> ' ' and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1")))); + BA.debugLineNum = 165;BA.debugLine="Log($\"============== Resultados = ${c.RowCount}\""; +Debug.ShouldStop(16); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","533947667",(RemoteObject.concat(RemoteObject.createImmutable("============== Resultados = "),parent.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._c.runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 166;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (true) break; + +case 4: +//if +this.state = 23; +if (RemoteObject.solveBoolean(">",parent._c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; + BA.debugLineNum = 167;BA.debugLine="For i = 0 To c.RowCount - 1"; +Debug.ShouldStop(64); +if (true) break; + +case 7: +//for +this.state = 22; +step15 = 1; +limit15 = RemoteObject.solve(new RemoteObject[] {parent._c.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +Debug.locals.put("i", _i); +this.state = 92; +if (true) break; + +case 92: +//C +this.state = 22; +if ((step15 > 0 && _i <= limit15) || (step15 < 0 && _i >= limit15)) this.state = 9; +if (true) break; + +case 93: +//C +this.state = 92; +_i = ((int)(0 + _i + step15)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 9: +//C +this.state = 10; + BA.debugLineNum = 168;BA.debugLine="c.Position = i"; +Debug.ShouldStop(128); +parent._c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 171;BA.debugLine="LatitudRu = 0"; +Debug.ShouldStop(1024); +parent._latitudru = BA.numberCast(double.class, 0); + BA.debugLineNum = 172;BA.debugLine="Log(c.GetString(\"CAT_CL_CODIGO\")&\" \"& c.G"; +Debug.ShouldStop(2048); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","533947674",RemoteObject.concat(parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))),RemoteObject.createImmutable(" "),parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))),0); + BA.debugLineNum = 173;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then Latitu"; +Debug.ShouldStop(4096); +if (true) break; + +case 10: +//if +this.state = 15; +if (RemoteObject.solveBoolean("!",parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))),BA.ObjectToString(""))) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +parent._latitudru = BA.numberCast(double.class, parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))); +if (true) break; + +case 15: +//C +this.state = 16; +; + BA.debugLineNum = 174;BA.debugLine="LongitudRU = 0"; +Debug.ShouldStop(8192); +parent._longitudru = BA.numberCast(double.class, 0); + BA.debugLineNum = 175;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then Longi"; +Debug.ShouldStop(16384); +if (true) break; + +case 16: +//if +this.state = 21; +if (RemoteObject.solveBoolean("!",parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))),BA.ObjectToString(""))) { +this.state = 18; +;}if (true) break; + +case 18: +//C +this.state = 21; +parent._longitudru = BA.numberCast(double.class, parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))); +if (true) break; + +case 21: +//C +this.state = 93; +; + BA.debugLineNum = 176;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(32768); +parent.mostCurrent._codigo = parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 177;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(65536); +parent.mostCurrent._tienda = parent._c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 178;BA.debugLine="MARK_AZUL = gmap.AddMarker2(LatitudRu, Longitu"; +Debug.ShouldStop(131072); +parent.mostCurrent._mark_azul = parent.mostCurrent._gmap.runMethod(false,"AddMarker2",(Object)(parent._latitudru),(Object)(parent._longitudru),(Object)(parent.mostCurrent._codigo),(Object)(parent.mostCurrent._gmap.getField(true,"HUE_BLUE"))); + BA.debugLineNum = 179;BA.debugLine="MARK_AZUL.Snippet = Tienda"; +Debug.ShouldStop(262144); +parent.mostCurrent._mark_azul.runMethod(true,"setSnippet",parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 22: +//C +this.state = 23; +Debug.locals.put("i", _i); +; + if (true) break; + +case 23: +//C +this.state = 24; +; + BA.debugLineNum = 182;BA.debugLine="c .Close"; +Debug.ShouldStop(2097152); +parent._c.runVoidMethod ("Close"); + BA.debugLineNum = 185;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA"; +Debug.ShouldStop(16777216); +if (true) break; + +case 24: +//if +this.state = 29; +if (parent.mostCurrent._mark_azul.runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 26; +;}if (true) break; + +case 26: +//C +this.state = 29; +parent.mostCurrent._list_azul.runVoidMethod ("Add",(Object)((parent.mostCurrent._mark_azul.getObject()))); +if (true) break; + +case 29: +//C +this.state = 30; +; + if (true) break; +; + BA.debugLineNum = 188;BA.debugLine="If verde = 1 Or todos = 1 Then"; +Debug.ShouldStop(134217728); + +case 30: +//if +this.state = 57; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._verde,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 32; +}else { +this.state = 42; +}if (true) break; + +case 32: +//C +this.state = 33; + BA.debugLineNum = 189;BA.debugLine="c2.IsInitialized"; +Debug.ShouldStop(268435456); +parent._c2.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 190;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_"; +Debug.ShouldStop(536870912); +parent._c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._skmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_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 <> 0 and CAT_CL_CODIGO <> 1 UNION select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info2 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 <> 0 and CAT_CL_CODIGO <> 1")))); + BA.debugLineNum = 191;BA.debugLine="Log($\"============== Resultados = ${c2.RowCount}"; +Debug.ShouldStop(1073741824); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","533947693",(RemoteObject.concat(RemoteObject.createImmutable("============== Resultados = "),parent.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._c2.runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 192;BA.debugLine="For i = 0 To c2.RowCount -1"; +Debug.ShouldStop(-2147483648); +if (true) break; + +case 33: +//for +this.state = 40; +step35 = 1; +limit35 = 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 = 94; +if (true) break; + +case 94: +//C +this.state = 40; +if ((step35 > 0 && _i <= limit35) || (step35 < 0 && _i >= limit35)) this.state = 35; +if (true) break; + +case 95: +//C +this.state = 94; +_i = ((int)(0 + _i + step35)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 35: +//C +this.state = 36; + BA.debugLineNum = 193;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(1); +parent._c2.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 195;BA.debugLine="If IsNumber(c2.GetString(\"CAT_CL_LONG\")) Then"; +Debug.ShouldStop(4); +if (true) break; + +case 36: +//if +this.state = 39; +if (parent.mostCurrent.__c.runMethod(true,"IsNumber",(Object)(parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))))).get().booleanValue()) { +this.state = 38; +}if (true) break; + +case 38: +//C +this.state = 39; + BA.debugLineNum = 196;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +Debug.ShouldStop(8); +parent._longitudru = BA.numberCast(double.class, parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))); + BA.debugLineNum = 197;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +Debug.ShouldStop(16); +parent._latitudru = BA.numberCast(double.class, parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))); + BA.debugLineNum = 198;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(32); +parent.mostCurrent._codigo = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 199;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(64); +parent.mostCurrent._tienda = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 200;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longit"; +Debug.ShouldStop(128); +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 = 201;BA.debugLine="MARK_VERDE.Snippet = Tienda"; +Debug.ShouldStop(256); +parent.mostCurrent._mark_verde.runMethod(true,"setSnippet",parent.mostCurrent._tienda); + if (true) break; + +case 39: +//C +this.state = 95; +; + if (true) break; +if (true) break; + +case 40: +//C +this.state = 57; +Debug.locals.put("i", _i); +; + if (true) break; + +case 42: +//C +this.state = 43; + BA.debugLineNum = 205;BA.debugLine="If verde = 1 Or todos = 1 Then"; +Debug.ShouldStop(4096); +if (true) break; + +case 43: +//if +this.state = 56; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._verde,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 45; +}if (true) break; + +case 45: +//C +this.state = 46; + BA.debugLineNum = 206;BA.debugLine="c2.IsInitialized"; +Debug.ShouldStop(8192); +parent._c2.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 207;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL"; +Debug.ShouldStop(16384); +parent._c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._skmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_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 <> 0 and CAT_CL_CODIGO <> 1")))); + BA.debugLineNum = 208;BA.debugLine="Log($\"============== Resultados = ${c2.RowCount"; +Debug.ShouldStop(32768); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","533947710",(RemoteObject.concat(RemoteObject.createImmutable("============== Resultados = "),parent.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._c2.runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 209;BA.debugLine="For i = 0 To c2.RowCount -1"; +Debug.ShouldStop(65536); +if (true) break; + +case 46: +//for +this.state = 49; +step51 = 1; +limit51 = 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 = 96; +if (true) break; + +case 96: +//C +this.state = 49; +if ((step51 > 0 && _i <= limit51) || (step51 < 0 && _i >= limit51)) this.state = 48; +if (true) break; + +case 97: +//C +this.state = 96; +_i = ((int)(0 + _i + step51)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 48: +//C +this.state = 97; + BA.debugLineNum = 210;BA.debugLine="c2.Position = i"; +Debug.ShouldStop(131072); +parent._c2.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 212;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +Debug.ShouldStop(524288); +parent._longitudru = BA.numberCast(double.class, parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LONG")))); + BA.debugLineNum = 213;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +Debug.ShouldStop(1048576); +parent._latitudru = BA.numberCast(double.class, parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_LAT")))); + BA.debugLineNum = 214;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(2097152); +parent.mostCurrent._codigo = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 215;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(4194304); +parent.mostCurrent._tienda = parent._c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 216;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longit"; +Debug.ShouldStop(8388608); +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 = 217;BA.debugLine="MARK_VERDE.Snippet = Tienda"; +Debug.ShouldStop(16777216); +parent.mostCurrent._mark_verde.runMethod(true,"setSnippet",parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 49: +//C +this.state = 50; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 219;BA.debugLine="c2 .Close"; +Debug.ShouldStop(67108864); +parent._c2.runVoidMethod ("Close"); + BA.debugLineNum = 220;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add"; +Debug.ShouldStop(134217728); +if (true) break; + +case 50: +//if +this.state = 55; +if (parent.mostCurrent._mark_verde.runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 52; +;}if (true) break; + +case 52: +//C +this.state = 55; +parent.mostCurrent._list_verde.runVoidMethod ("Add",(Object)((parent.mostCurrent._mark_verde.getObject()))); +if (true) break; + +case 55: +//C +this.state = 56; +; + if (true) break; + +case 56: +//C +this.state = 57; +; + if (true) break; +; + BA.debugLineNum = 225;BA.debugLine="If rojo = 1 Or todos = 1 Then"; +Debug.ShouldStop(1); + +case 57: +//if +this.state = 79; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._rojo,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 59; +}else { +this.state = 65; +}if (true) break; + +case 59: +//C +this.state = 60; + BA.debugLineNum = 226;BA.debugLine="c3.IsInitialized"; +Debug.ShouldStop(2); +parent._c3.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 227;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_"; +Debug.ShouldStop(4); +parent._c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._skmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_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 <> 0 and CAT_CL_CODIGO <> 1")))); + BA.debugLineNum = 228;BA.debugLine="Log($\"============== Resultados = ${c3.RowCount}"; +Debug.ShouldStop(8); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","533947730",(RemoteObject.concat(RemoteObject.createImmutable("============== Resultados = "),parent.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._c3.runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 229;BA.debugLine="For i = 0 To c3.RowCount -1"; +Debug.ShouldStop(16); +if (true) break; + +case 60: +//for +this.state = 63; +step68 = 1; +limit68 = 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 = 98; +if (true) break; + +case 98: +//C +this.state = 63; +if ((step68 > 0 && _i <= limit68) || (step68 < 0 && _i >= limit68)) this.state = 62; +if (true) break; + +case 99: +//C +this.state = 98; +_i = ((int)(0 + _i + step68)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 62: +//C +this.state = 99; + BA.debugLineNum = 230;BA.debugLine="c3.Position = i"; +Debug.ShouldStop(32); +parent._c3.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 232;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +Debug.ShouldStop(128); +parent._longitudru = parent._c3.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_CL_LONG"))); + BA.debugLineNum = 233;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +Debug.ShouldStop(256); +parent._latitudru = parent._c3.runMethod(true,"GetDouble",(Object)(RemoteObject.createImmutable("CAT_CL_LAT"))); + BA.debugLineNum = 234;BA.debugLine="CODIGO = c3.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(512); +parent.mostCurrent._codigo = parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 235;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(1024); +parent.mostCurrent._tienda = parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 236;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu, Longitud"; +Debug.ShouldStop(2048); +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 = 237;BA.debugLine="MARK_ROJO.Snippet = Tienda"; +Debug.ShouldStop(4096); +parent.mostCurrent._mark_rojo.runMethod(true,"setSnippet",parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 63: +//C +this.state = 79; +Debug.locals.put("i", _i); +; + if (true) break; + +case 65: +//C +this.state = 66; + BA.debugLineNum = 240;BA.debugLine="If rojo = 1 Or todos = 1 Then"; +Debug.ShouldStop(32768); +if (true) break; + +case 66: +//if +this.state = 78; +if (RemoteObject.solveBoolean("=",parent.mostCurrent._rojo,BA.NumberToString(1)) || RemoteObject.solveBoolean("=",parent.mostCurrent._todos,BA.NumberToString(1))) { +this.state = 68; +}if (true) break; + +case 68: +//C +this.state = 69; + BA.debugLineNum = 241;BA.debugLine="c3.IsInitialized"; +Debug.ShouldStop(65536); +parent._c3.runVoidMethod ("IsInitialized"); + BA.debugLineNum = 242;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL"; +Debug.ShouldStop(131072); +parent._c3 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), parent._skmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_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 <> 0 and CAT_CL_CODIGO <> 1")))); + BA.debugLineNum = 243;BA.debugLine="Log($\"============== Resultados = ${c3.RowCount"; +Debug.ShouldStop(262144); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","533947745",(RemoteObject.concat(RemoteObject.createImmutable("============== Resultados = "),parent.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((parent._c3.runMethod(true,"getRowCount")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 244;BA.debugLine="For i = 0 To c3.RowCount -1"; +Debug.ShouldStop(524288); +if (true) break; + +case 69: +//for +this.state = 72; +step82 = 1; +limit82 = 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 = 100; +if (true) break; + +case 100: +//C +this.state = 72; +if ((step82 > 0 && _i <= limit82) || (step82 < 0 && _i >= limit82)) this.state = 71; +if (true) break; + +case 101: +//C +this.state = 100; +_i = ((int)(0 + _i + step82)) ; +Debug.locals.put("i", _i); +if (true) break; + +case 71: +//C +this.state = 101; + BA.debugLineNum = 245;BA.debugLine="c3.Position = i"; +Debug.ShouldStop(1048576); +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="CODIGO = c3.GetString(\"CAT_CL_CODIGO\")"; +Debug.ShouldStop(16777216); +parent.mostCurrent._codigo = parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_CODIGO"))); + BA.debugLineNum = 250;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +Debug.ShouldStop(33554432); +parent.mostCurrent._tienda = parent._c3.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_NOMBRE"))); + BA.debugLineNum = 251;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu, Longitu"; +Debug.ShouldStop(67108864); +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 = 252;BA.debugLine="MARK_ROJO.Snippet = Tienda"; +Debug.ShouldStop(134217728); +parent.mostCurrent._mark_rojo.runMethod(true,"setSnippet",parent.mostCurrent._tienda); + if (true) break; +if (true) break; +Debug.locals.put("i", _i); +; + BA.debugLineNum = 254;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M"; +Debug.ShouldStop(536870912); + +case 72: +//if +this.state = 77; +if (parent.mostCurrent._mark_rojo.runMethod(true,"IsInitialized").get().booleanValue()) { +this.state = 74; +;}if (true) break; + +case 74: +//C +this.state = 77; +parent.mostCurrent._list_rojo.runVoidMethod ("Add",(Object)((parent.mostCurrent._mark_rojo.getObject()))); +if (true) break; + +case 77: +//C +this.state = 78; +; + BA.debugLineNum = 255;BA.debugLine="c3.Close"; +Debug.ShouldStop(1073741824); +parent._c3.runVoidMethod ("Close"); + if (true) break; + +case 78: +//C +this.state = 79; +; + if (true) break; + +case 79: +//C +this.state = 80; +; + 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 = 275;BA.debugLine="Dim pol As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +Debug.ShouldStop(262144); +_pol = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pol = 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 LAT, LONG FROM POLIGONO"))));Debug.locals.put("pol", _pol);Debug.locals.put("pol", _pol); + BA.debugLineNum = 276;BA.debugLine="If pol.RowCount > 0 Then"; +Debug.ShouldStop(524288); +if (true) break; + +case 80: +//if +this.state = 90; +if (RemoteObject.solveBoolean(">",_pol.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +this.state = 82; +}if (true) break; + +case 82: +//C +this.state = 83; + BA.debugLineNum = 278;BA.debugLine="For poli = 0 To pol.RowCount -1"; +Debug.ShouldStop(2097152); +if (true) break; + +case 83: +//for +this.state = 86; +step103 = 1; +limit103 = RemoteObject.solve(new RemoteObject[] {_pol.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_poli = 0 ; +Debug.locals.put("poli", _poli); +this.state = 102; +if (true) break; + +case 102: +//C +this.state = 86; +if ((step103 > 0 && _poli <= limit103) || (step103 < 0 && _poli >= limit103)) this.state = 85; +if (true) break; + +case 103: +//C +this.state = 102; +_poli = ((int)(0 + _poli + step103)) ; +Debug.locals.put("poli", _poli); +if (true) break; + +case 85: +//C +this.state = 103; + BA.debugLineNum = 279;BA.debugLine="pol.Position = poli"; +Debug.ShouldStop(4194304); +_pol.runMethod(true,"setPosition",BA.numberCast(int.class, _poli)); + BA.debugLineNum = 280;BA.debugLine="Dim coords As LatLng"; +Debug.ShouldStop(8388608); +_coords = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper");Debug.locals.put("coords", _coords); + BA.debugLineNum = 281;BA.debugLine="coords.Initialize(pol.GetString(\"LAT\"), pol.Get"; +Debug.ShouldStop(16777216); +_coords.runVoidMethod ("Initialize",(Object)(BA.numberCast(double.class, _pol.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LAT"))))),(Object)(BA.numberCast(double.class, _pol.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("LONG")))))); + BA.debugLineNum = 282;BA.debugLine="lista_punta.Add(coords)"; +Debug.ShouldStop(33554432); +parent.mostCurrent._lista_punta.runVoidMethod ("Add",(Object)((_coords.getObject()))); + if (true) break; +if (true) break; +Debug.locals.put("poli", _poli); +; + BA.debugLineNum = 325;BA.debugLine="If lista_punta.Size >= 4 Then"; +Debug.ShouldStop(16); + +case 86: +//if +this.state = 89; +if (RemoteObject.solveBoolean("g",parent.mostCurrent._lista_punta.runMethod(true,"getSize"),BA.numberCast(double.class, 4))) { +this.state = 88; +}if (true) break; + +case 88: +//C +this.state = 89; + BA.debugLineNum = 326;BA.debugLine="DrawPolygon(lista_punta)"; +Debug.ShouldStop(32); +_drawpolygon(parent.mostCurrent._lista_punta); + if (true) break; + +case 89: +//C +this.state = 90; +; + if (true) break; + +case 90: +//C +this.state = -1; +; + BA.debugLineNum = 329;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _oninfowindowclicklistener1_click(RemoteObject _marker1) throws Exception{ +try { + Debug.PushSubsStack("OnInfoWindowClickListener1_click (mapa_rutas) ","mapa_rutas",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,334); +if (RapidSub.canDelegate("oninfowindowclicklistener1_click")) { return SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","oninfowindowclicklistener1_click", _marker1);} +Debug.locals.put("Marker1", _marker1); + BA.debugLineNum = 334;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma"; +Debug.ShouldStop(8192); + BA.debugLineNum = 335;BA.debugLine="skmt.ExecNonQuery(\"delete from CUENTAA\")"; +Debug.ShouldStop(16384); +mapa_rutas._skmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CUENTAA"))); + BA.debugLineNum = 336;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CUENTAA VALUES (?"; +Debug.ShouldStop(32768); +mapa_rutas._skmt.runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CUENTAA VALUES (?) ")),(Object)(mapa_rutas.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_marker1.runMethod(true,"getTitle"))}))))); + BA.debugLineNum = 337;BA.debugLine="Activity.Finish"; +Debug.ShouldStop(65536); +mapa_rutas.mostCurrent._activity.runVoidMethod ("Finish"); + BA.debugLineNum = 338;BA.debugLine="Starter.pre_viejo = Subs.traeTotalClientepreventa"; +Debug.ShouldStop(131072); +mapa_rutas.mostCurrent._starter._pre_viejo /*RemoteObject*/ = BA.numberCast(float.class, mapa_rutas.mostCurrent._subs.runMethod(true,"_traetotalclientepreventaparacredito" /*RemoteObject*/ ,mapa_rutas.mostCurrent.activityBA)); + BA.debugLineNum = 339;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +Debug.ShouldStop(262144); +mapa_rutas.mostCurrent._b4xpages.runVoidMethod ("_showpage" /*RemoteObject*/ ,mapa_rutas.mostCurrent.activityBA,(Object)(RemoteObject.createImmutable("Cliente"))); + 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 _pointinpolygon(RemoteObject _point,RemoteObject _polygon) throws Exception{ +try { + Debug.PushSubsStack("PointInPolygon (mapa_rutas) ","mapa_rutas",26,mapa_rutas.mostCurrent.activityBA,mapa_rutas.mostCurrent,448); +if (RapidSub.canDelegate("pointinpolygon")) { return SHARK2.keymon.com.mx.mapa_rutas.remoteMe.runUserSub(false, "mapa_rutas","pointinpolygon", _point, _polygon);} +RemoteObject _x = RemoteObject.createImmutable(0); +RemoteObject _y = RemoteObject.createImmutable(0); +RemoteObject _inside = RemoteObject.createImmutable(false); +int _i = 0; +RemoteObject _j = RemoteObject.createImmutable(0); +RemoteObject _p1_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +RemoteObject _p2_1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +RemoteObject _xi = RemoteObject.createImmutable(0); +RemoteObject _yi = RemoteObject.createImmutable(0); +RemoteObject _xj = RemoteObject.createImmutable(0); +RemoteObject _yj = RemoteObject.createImmutable(0); +RemoteObject _intersect = RemoteObject.createImmutable(false); +Debug.locals.put("point", _point); +Debug.locals.put("polygon", _polygon); + BA.debugLineNum = 448;BA.debugLine="Sub PointInPolygon(point As LatLng, polygon As Lis"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 449;BA.debugLine="Dim x As Double = point.Longitude"; +Debug.ShouldStop(1); +_x = _point.runMethod(true,"getLongitude");Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 450;BA.debugLine="Dim y As Double = point.Latitude"; +Debug.ShouldStop(2); +_y = _point.runMethod(true,"getLatitude");Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 452;BA.debugLine="Dim inside As Boolean = False"; +Debug.ShouldStop(8); +_inside = mapa_rutas.mostCurrent.__c.getField(true,"False");Debug.locals.put("inside", _inside);Debug.locals.put("inside", _inside); + BA.debugLineNum = 453;BA.debugLine="For i = 0 To polygon.Size - 1"; +Debug.ShouldStop(16); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_polygon.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 454;BA.debugLine="Dim j As Int = (i + 1) Mod polygon.Size"; +Debug.ShouldStop(32); +_j = RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1)),_polygon.runMethod(true,"getSize")}, "%",0, 1);Debug.locals.put("j", _j);Debug.locals.put("j", _j); + BA.debugLineNum = 455;BA.debugLine="Dim p1_1 As LatLng = polygon.Get(i)"; +Debug.ShouldStop(64); +_p1_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +_p1_1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"), _polygon.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("p1_1", _p1_1);Debug.locals.put("p1_1", _p1_1); + BA.debugLineNum = 456;BA.debugLine="Dim p2_1 As LatLng = polygon.Get(j)"; +Debug.ShouldStop(128); +_p2_1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"); +_p2_1 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper"), _polygon.runMethod(false,"Get",(Object)(_j)));Debug.locals.put("p2_1", _p2_1);Debug.locals.put("p2_1", _p2_1); + BA.debugLineNum = 458;BA.debugLine="Dim xi As Double = p1_1.Longitude"; +Debug.ShouldStop(512); +_xi = _p1_1.runMethod(true,"getLongitude");Debug.locals.put("xi", _xi);Debug.locals.put("xi", _xi); + BA.debugLineNum = 459;BA.debugLine="Dim yi As Double = p1_1.Latitude"; +Debug.ShouldStop(1024); +_yi = _p1_1.runMethod(true,"getLatitude");Debug.locals.put("yi", _yi);Debug.locals.put("yi", _yi); + BA.debugLineNum = 460;BA.debugLine="Dim xj As Double = p2_1.Longitude"; +Debug.ShouldStop(2048); +_xj = _p2_1.runMethod(true,"getLongitude");Debug.locals.put("xj", _xj);Debug.locals.put("xj", _xj); + BA.debugLineNum = 461;BA.debugLine="Dim yj As Double = p2_1.Latitude"; +Debug.ShouldStop(4096); +_yj = _p2_1.runMethod(true,"getLatitude");Debug.locals.put("yj", _yj);Debug.locals.put("yj", _yj); + BA.debugLineNum = 463;BA.debugLine="Dim intersect As Boolean = ((yi > y) <> (yj > y)"; +Debug.ShouldStop(16384); +_intersect = BA.ObjectToBoolean(RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("!",RemoteObject.createImmutable((RemoteObject.solveBoolean(">",_yi,_y))),BA.ObjectToBoolean((RemoteObject.solveBoolean(">",_yj,_y))))))) && RemoteObject.solveBoolean(".",BA.ObjectToBoolean((RemoteObject.solveBoolean("<",_x,RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_xj,_xi}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {_y,_yi}, "-",1, 0)),(RemoteObject.solve(new RemoteObject[] {_yj,_yi}, "-",1, 0)),_xi}, "*/+",1, 0))))));Debug.locals.put("intersect", _intersect);Debug.locals.put("intersect", _intersect); + BA.debugLineNum = 464;BA.debugLine="If intersect Then"; +Debug.ShouldStop(32768); +if (_intersect.get().booleanValue()) { + BA.debugLineNum = 465;BA.debugLine="inside = Not(inside)"; +Debug.ShouldStop(65536); +_inside = mapa_rutas.mostCurrent.__c.runMethod(true,"Not",(Object)(_inside));Debug.locals.put("inside", _inside); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 469;BA.debugLine="Return inside"; +Debug.ShouldStop(1048576); +if (true) return _inside; + BA.debugLineNum = 472;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 7;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 8;BA.debugLine="Dim GPS As GPS"; +mapa_rutas._gps = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS"); + //BA.debugLineNum = 9;BA.debugLine="Dim rp As RuntimePermissions"; +mapa_rutas._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions"); + //BA.debugLineNum = 10;BA.debugLine="Dim ruta As String"; +mapa_rutas._ruta = RemoteObject.createImmutable(""); + //BA.debugLineNum = 11;BA.debugLine="Dim skmt As SQL"; +mapa_rutas._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL"); + //BA.debugLineNum = 12;BA.debugLine="Dim c As Cursor"; +mapa_rutas._c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 13;BA.debugLine="Dim c2 As Cursor"; +mapa_rutas._c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 14;BA.debugLine="Dim c22 As Cursor"; +mapa_rutas._c22 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 15;BA.debugLine="Dim c3 As Cursor"; +mapa_rutas._c3 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); + //BA.debugLineNum = 16;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/newinst2.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/newinst2.java new file mode 100644 index 0000000..bd45276 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/newinst2.java @@ -0,0 +1,69 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class newinst2 implements IRemote{ + public static newinst2 mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public newinst2() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("newinst2"), "SHARK2.keymon.com.mx.newinst2"); + } + public static RemoteObject getObject() { + return myClass; + } + public RemoteObject _service; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + _service = (RemoteObject) args[2]; + remoteMe = RemoteObject.declareNull("SHARK2.keymon.com.mx.newinst2"); + anywheresoftware.b4a.keywords.Common.Density = (Float)args[3]; + pcBA = new PCBA(this, newinst2.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _pkg = RemoteObject.createImmutable(""); +public static RemoteObject _svcverbose = RemoteObject.createImmutable(false); +public static RemoteObject _logcolor1 = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(SHARK2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(SHARK2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(SHARK2.keymon.com.mx.b4xpages.class),"DateUtils",newinst2.mostCurrent._dateutils,"HttpUtils2Service",Debug.moduleToString(SHARK2.keymon.com.mx.httputils2service.class),"LogColor1",newinst2._logcolor1,"Main",Debug.moduleToString(SHARK2.keymon.com.mx.main.class),"MAPA_CLIENTE",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_rutas.class),"NotificationService",Debug.moduleToString(SHARK2.keymon.com.mx.notificationservice.class),"Pendientes",Debug.moduleToString(SHARK2.keymon.com.mx.pendientes.class),"pkg",newinst2._pkg,"Service",newinst2.mostCurrent._service,"Starter",Debug.moduleToString(SHARK2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(SHARK2.keymon.com.mx.subs.class),"svcVerbose",newinst2._svcverbose,"Tracker",Debug.moduleToString(SHARK2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(SHARK2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/newinst2_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/newinst2_subs_0.java new file mode 100644 index 0000000..86f7f57 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/newinst2_subs_0.java @@ -0,0 +1,165 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class newinst2_subs_0 { + + +public static RemoteObject _getpackagename() throws Exception{ +try { + Debug.PushSubsStack("GetPackageName (newinst2) ","newinst2",33,newinst2.processBA,newinst2.mostCurrent,38); +if (RapidSub.canDelegate("getpackagename")) { return SHARK2.keymon.com.mx.newinst2.remoteMe.runUserSub(false, "newinst2","getpackagename");} +RemoteObject _r = RemoteObject.declareNull("anywheresoftware.b4a.agraham.reflection.Reflection"); + BA.debugLineNum = 38;BA.debugLine="Sub GetPackageName As String"; +Debug.ShouldStop(32); + BA.debugLineNum = 39;BA.debugLine="Dim r As Reflector"; +Debug.ShouldStop(64); +_r = RemoteObject.createNew ("anywheresoftware.b4a.agraham.reflection.Reflection");Debug.locals.put("r", _r); + BA.debugLineNum = 40;BA.debugLine="Return r.GetStaticField(\"anywheresoftware.b4a.BA\""; +Debug.ShouldStop(128); +if (true) return BA.ObjectToString(_r.runMethod(false,"GetStaticField",(Object)(BA.ObjectToString("anywheresoftware.b4a.BA")),(Object)(RemoteObject.createImmutable("packageName")))); + BA.debugLineNum = 41;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _myappreload() throws Exception{ +try { + Debug.PushSubsStack("MyAppReload (newinst2) ","newinst2",33,newinst2.processBA,newinst2.mostCurrent,43); +if (RapidSub.canDelegate("myappreload")) { return SHARK2.keymon.com.mx.newinst2.remoteMe.runUserSub(false, "newinst2","myappreload");} + BA.debugLineNum = 43;BA.debugLine="Sub MyAppReload"; +Debug.ShouldStop(1024); + BA.debugLineNum = 44;BA.debugLine="If svcVerbose Then Log(\"-- AppUpdating.NewInst2:"; +Debug.ShouldStop(2048); +if (newinst2._svcverbose.get().booleanValue()) { +newinst2.mostCurrent.__c.runVoidMethod ("LogImpl","546137345",RemoteObject.createImmutable("-- AppUpdating.NewInst2: processing MyAppReload"),0);}; + BA.debugLineNum = 45;BA.debugLine="If IsPaused(\"main\") Then"; +Debug.ShouldStop(4096); +if (newinst2.mostCurrent.__c.runMethod(true,"IsPaused",newinst2.processBA,(Object)((RemoteObject.createImmutable("main")))).get().booleanValue()) { + BA.debugLineNum = 46;BA.debugLine="StartActivity(\"main\")"; +Debug.ShouldStop(8192); +newinst2.mostCurrent.__c.runVoidMethod ("StartActivity",newinst2.processBA,(Object)((RemoteObject.createImmutable("main")))); + }; + BA.debugLineNum = 50;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 5;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 8;BA.debugLine="Dim pkg As String 'app's package name"; +newinst2._pkg = RemoteObject.createImmutable(""); + //BA.debugLineNum = 9;BA.debugLine="Dim svcVerbose As Boolean 'True = shows start"; +newinst2._svcverbose = RemoteObject.createImmutable(false); + //BA.debugLineNum = 10;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'color for"; +newinst2._logcolor1 = BA.numberCast(int.class, ((int)0xffff8c00)); + //BA.debugLineNum = 11;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (newinst2) ","newinst2",33,newinst2.processBA,newinst2.mostCurrent,13); +if (RapidSub.canDelegate("service_create")) { return SHARK2.keymon.com.mx.newinst2.remoteMe.runUserSub(false, "newinst2","service_create");} + BA.debugLineNum = 13;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(4096); + BA.debugLineNum = 14;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service crea"; +Debug.ShouldStop(8192); +newinst2.mostCurrent.__c.runVoidMethod ("LogImpl","545875201",BA.ObjectToString("---- AppUpdating.newinst2: service created"),newinst2._logcolor1); + BA.debugLineNum = 15;BA.debugLine="pkg = \"\""; +Debug.ShouldStop(16384); +newinst2._pkg = BA.ObjectToString(""); + BA.debugLineNum = 16;BA.debugLine="svcVerbose = False"; +Debug.ShouldStop(32768); +newinst2._svcverbose = newinst2.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 17;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_destroy() throws Exception{ +try { + Debug.PushSubsStack("Service_Destroy (newinst2) ","newinst2",33,newinst2.processBA,newinst2.mostCurrent,35); +if (RapidSub.canDelegate("service_destroy")) { return SHARK2.keymon.com.mx.newinst2.remoteMe.runUserSub(false, "newinst2","service_destroy");} + BA.debugLineNum = 35;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(4); + BA.debugLineNum = 36;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_start(RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (newinst2) ","newinst2",33,newinst2.processBA,newinst2.mostCurrent,19); +if (RapidSub.canDelegate("service_start")) { return SHARK2.keymon.com.mx.newinst2.remoteMe.runUserSub(false, "newinst2","service_start", _startingintent);} +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 19;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +Debug.ShouldStop(262144); + BA.debugLineNum = 20;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service_star"; +Debug.ShouldStop(524288); +newinst2.mostCurrent.__c.runVoidMethod ("LogImpl","545940737",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","545940739",(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","545940740",(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","545940741",(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","545940742",(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","545940745",(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","545940747",(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/SHARK2/keymon/com/mx/notificationservice.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/notificationservice.java new file mode 100644 index 0000000..1056ab4 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/notificationservice.java @@ -0,0 +1,68 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class notificationservice implements IRemote{ + public static notificationservice mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public notificationservice() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("notificationservice"), "SHARK2.keymon.com.mx.notificationservice"); + } + 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("SHARK2.keymon.com.mx.notificationservice"); + anywheresoftware.b4a.keywords.Common.Density = (Float)args[3]; + pcBA = new PCBA(this, notificationservice.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _rp = RemoteObject.declareNull("b4a.jsaplication.com.br.ReplyAuto.NotificationListener"); +public static RemoteObject _logger = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(SHARK2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(SHARK2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(SHARK2.keymon.com.mx.b4xpages.class),"DateUtils",notificationservice.mostCurrent._dateutils,"HttpUtils2Service",Debug.moduleToString(SHARK2.keymon.com.mx.httputils2service.class),"logger",notificationservice._logger,"Main",Debug.moduleToString(SHARK2.keymon.com.mx.main.class),"MAPA_CLIENTE",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(SHARK2.keymon.com.mx.newinst2.class),"Pendientes",Debug.moduleToString(SHARK2.keymon.com.mx.pendientes.class),"rp",notificationservice._rp,"Service",notificationservice.mostCurrent._service,"Starter",Debug.moduleToString(SHARK2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(SHARK2.keymon.com.mx.subs.class),"Tracker",Debug.moduleToString(SHARK2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(SHARK2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/notificationservice_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/notificationservice_subs_0.java new file mode 100644 index 0000000..d4cb85d --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/notificationservice_subs_0.java @@ -0,0 +1,691 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class notificationservice_subs_0 { + + +public static RemoteObject _esmensajewavalido(RemoteObject _sbn) throws Exception{ +try { + Debug.PushSubsStack("esMensajeWAValido (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,97); +if (RapidSub.canDelegate("esmensajewavalido")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","esmensajewavalido", _sbn);} +RemoteObject _valido = RemoteObject.createImmutable(false); +RemoteObject _ww = null; +Debug.locals.put("SBN", _sbn); + BA.debugLineNum = 97;BA.debugLine="Sub esMensajeWAValido(SBN As StatusBarNotification"; +Debug.ShouldStop(1); + BA.debugLineNum = 98;BA.debugLine="Private valido As Boolean = False"; +Debug.ShouldStop(2); +_valido = notificationservice.mostCurrent.__c.getField(true,"False");Debug.locals.put("valido", _valido);Debug.locals.put("valido", _valido); + BA.debugLineNum = 99;BA.debugLine="Private ww() As String = Regex.Split(\"\\|\", SBN.Ke"; +Debug.ShouldStop(4); +_ww = notificationservice.mostCurrent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\|")),(Object)(_sbn.runMethod(true,"getKey")));Debug.locals.put("ww", _ww);Debug.locals.put("ww", _ww); + BA.debugLineNum = 100;BA.debugLine="If ww(3) <> Null And ww(3) <> \"null\" Then valido"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("N",_ww.getArrayElement(true,BA.numberCast(int.class, 3))) && RemoteObject.solveBoolean("!",_ww.getArrayElement(true,BA.numberCast(int.class, 3)),BA.ObjectToString("null"))) { +_valido = notificationservice.mostCurrent.__c.getField(true,"True");Debug.locals.put("valido", _valido);}; + BA.debugLineNum = 101;BA.debugLine="Return valido"; +Debug.ShouldStop(16); +if (true) return BA.ObjectToString(_valido); + BA.debugLineNum = 102;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getgroupname(RemoteObject _sbntitle) throws Exception{ +try { + Debug.PushSubsStack("getGroupName (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,151); +if (RapidSub.canDelegate("getgroupname")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","getgroupname", _sbntitle);} +RemoteObject _a = RemoteObject.createImmutable(0); +RemoteObject _x = RemoteObject.createImmutable(""); +RemoteObject _b = RemoteObject.createImmutable(""); +Debug.locals.put("sbnTitle", _sbntitle); + BA.debugLineNum = 151;BA.debugLine="Sub getGroupName(sbnTitle As String) As String 'ig"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 152;BA.debugLine="Private a As Int = sbnTitle.IndexOf(\": \")"; +Debug.ShouldStop(8388608); +_a = _sbntitle.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable(": ")));Debug.locals.put("a", _a);Debug.locals.put("a", _a); + BA.debugLineNum = 153;BA.debugLine="Private x As String = sbnTitle"; +Debug.ShouldStop(16777216); +_x = _sbntitle;Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 154;BA.debugLine="If a > -1 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_a,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 155;BA.debugLine="Private b As String = sbnTitle.SubString2(0, a)"; +Debug.ShouldStop(67108864); +_b = _sbntitle.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 0)),(Object)(_a));Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 156;BA.debugLine="x = Regex.Replace(\" \\(.+\\)\", b, \"\")"; +Debug.ShouldStop(134217728); +_x = notificationservice.mostCurrent.__c.getField(false,"Regex").runMethod(true,"Replace",(Object)(BA.ObjectToString(" \\(.+\\)")),(Object)(_b),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("x", _x); + }; + BA.debugLineNum = 158;BA.debugLine="Return x"; +Debug.ShouldStop(536870912); +if (true) return _x; + BA.debugLineNum = 159;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getgroupname2(RemoteObject _sbn) throws Exception{ +try { + Debug.PushSubsStack("getGroupName2 (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,164); +if (RapidSub.canDelegate("getgroupname2")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","getgroupname2", _sbn);} +RemoteObject _inicio = RemoteObject.createImmutable(0); +RemoteObject _x = RemoteObject.createImmutable(""); +RemoteObject _fin = RemoteObject.createImmutable(0); +Debug.locals.put("sbn", _sbn); + BA.debugLineNum = 164;BA.debugLine="Sub getGroupName2(sbn As StatusBarNotification) As"; +Debug.ShouldStop(8); + BA.debugLineNum = 165;BA.debugLine="Private inicio As Int = sbn.Extras.As(String).Ind"; +Debug.ShouldStop(16); +_inicio = (BA.ObjectToString(_sbn.runMethod(false,"Extras"))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("hiddenConversationTitle=")));Debug.locals.put("inicio", _inicio);Debug.locals.put("inicio", _inicio); + BA.debugLineNum = 166;BA.debugLine="If inicio > -1 And sbn.Extras.As(String).IndexOf("; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_inicio,BA.numberCast(double.class, -(double) (0 + 1))) && RemoteObject.solveBoolean("=",(BA.ObjectToString(_sbn.runMethod(false,"Extras"))).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("hiddenConversationTitle=null"))),BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 167;BA.debugLine="Private x As String = sbn.Extras.As(String) 'ign"; +Debug.ShouldStop(64); +_x = (BA.ObjectToString(_sbn.runMethod(false,"Extras")));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 168;BA.debugLine="Private fin As Int = x.IndexOf(\", android.reduce"; +Debug.ShouldStop(128); +_fin = _x.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable(", android.reduced.images=")));Debug.locals.put("fin", _fin);Debug.locals.put("fin", _fin); + BA.debugLineNum = 169;BA.debugLine="x = x.SubString2(inicio+24, fin)"; +Debug.ShouldStop(256); +_x = _x.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_inicio,RemoteObject.createImmutable(24)}, "+",1, 1)),(Object)(_fin));Debug.locals.put("x", _x); + BA.debugLineNum = 170;BA.debugLine="x = Regex.Replace(\" \\(.+\\)\", x, \"\") 'Replace any"; +Debug.ShouldStop(512); +_x = notificationservice.mostCurrent.__c.getField(false,"Regex").runMethod(true,"Replace",(Object)(BA.ObjectToString(" \\(.+\\)")),(Object)(_x),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("x", _x); + }else { + BA.debugLineNum = 172;BA.debugLine="Private x As String = sbn.Title"; +Debug.ShouldStop(2048); +_x = _sbn.runMethod(true,"getTitle");Debug.locals.put("x", _x);Debug.locals.put("x", _x); + }; + BA.debugLineNum = 174;BA.debugLine="Return x"; +Debug.ShouldStop(8192); +if (true) return _x; + 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 _getnumberorgroupwa(RemoteObject _sbn) throws Exception{ +try { + Debug.PushSubsStack("getNumberOrGroupWA (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,188); +if (RapidSub.canDelegate("getnumberorgroupwa")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","getnumberorgroupwa", _sbn);} +RemoteObject _numremitente = RemoteObject.createImmutable(""); +Debug.locals.put("sbn", _sbn); + BA.debugLineNum = 188;BA.debugLine="Sub getNumberOrGroupWA(sbn As StatusBarNotificatio"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 189;BA.debugLine="Private numRemitente As String = getNumberWA(sbn)"; +Debug.ShouldStop(268435456); +_numremitente = _getnumberwa(_sbn);Debug.locals.put("numRemitente", _numremitente);Debug.locals.put("numRemitente", _numremitente); + BA.debugLineNum = 190;BA.debugLine="If numRemitente = \"Not a person\" Then numRemitent"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("=",_numremitente,BA.ObjectToString("Not a person"))) { +_numremitente = _getgroupname(_sbn.runMethod(true,"getTitle"));Debug.locals.put("numRemitente", _numremitente);}; + BA.debugLineNum = 191;BA.debugLine="Return numRemitente"; +Debug.ShouldStop(1073741824); +if (true) return _numremitente; + 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 _getnumberwa(RemoteObject _sbn) throws Exception{ +try { + Debug.PushSubsStack("getNumberWA (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,137); +if (RapidSub.canDelegate("getnumberwa")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","getnumberwa", _sbn);} +RemoteObject _a = RemoteObject.createImmutable(0); +RemoteObject _x = RemoteObject.createImmutable(""); +RemoteObject _y = RemoteObject.createImmutable(0); +Debug.locals.put("sbn", _sbn); + BA.debugLineNum = 137;BA.debugLine="Sub getNumberWA(sbn As StatusBarNotification) As S"; +Debug.ShouldStop(256); + BA.debugLineNum = 138;BA.debugLine="Private a As Int = sbn.As(String).IndexOf(\"@s.wha"; +Debug.ShouldStop(512); +_a = (BA.ObjectToString(_sbn)).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("@s.whatsapp.net")));Debug.locals.put("a", _a);Debug.locals.put("a", _a); + BA.debugLineNum = 139;BA.debugLine="If a > -1 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_a,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 140;BA.debugLine="Private x As String = sbn.As(String) 'ignore"; +Debug.ShouldStop(2048); +_x = (BA.ObjectToString(_sbn));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 141;BA.debugLine="Private y As Int = x.IndexOf(\"shortcut=\")"; +Debug.ShouldStop(4096); +_y = _x.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("shortcut=")));Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 142;BA.debugLine="If (y+9) > 0 And a > (y+9) Then x = x.SubString2"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",(RemoteObject.solve(new RemoteObject[] {_y,RemoteObject.createImmutable(9)}, "+",1, 1)),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean(">",_a,BA.numberCast(double.class, (RemoteObject.solve(new RemoteObject[] {_y,RemoteObject.createImmutable(9)}, "+",1, 1))))) { +_x = _x.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_y,RemoteObject.createImmutable(9)}, "+",1, 1)),(Object)(_a));Debug.locals.put("x", _x);} +else { +_x = BA.ObjectToString("Not a person");Debug.locals.put("x", _x);}; + }else { + BA.debugLineNum = 144;BA.debugLine="x = \"Not a person\""; +Debug.ShouldStop(32768); +_x = BA.ObjectToString("Not a person");Debug.locals.put("x", _x); + }; + BA.debugLineNum = 146;BA.debugLine="Return x"; +Debug.ShouldStop(131072); +if (true) return _x; + BA.debugLineNum = 147;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpersonfromgroup(RemoteObject _sbntitle) throws Exception{ +try { + Debug.PushSubsStack("getPersonFromGroup (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,180); +if (RapidSub.canDelegate("getpersonfromgroup")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","getpersonfromgroup", _sbntitle);} +RemoteObject _a = RemoteObject.createImmutable(0); +RemoteObject _b = RemoteObject.createImmutable(""); +Debug.locals.put("sbnTitle", _sbntitle); + BA.debugLineNum = 180;BA.debugLine="Sub getPersonFromGroup(sbnTitle As String) As Stri"; +Debug.ShouldStop(524288); + BA.debugLineNum = 181;BA.debugLine="Private a As Int = sbnTitle.IndexOf(\": \")"; +Debug.ShouldStop(1048576); +_a = _sbntitle.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable(": ")));Debug.locals.put("a", _a);Debug.locals.put("a", _a); + BA.debugLineNum = 182;BA.debugLine="If a = -1 Then a = -2 'Is not from a group."; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_a,BA.numberCast(double.class, -(double) (0 + 1)))) { +_a = BA.numberCast(int.class, -(double) (0 + 2));Debug.locals.put("a", _a);}; + BA.debugLineNum = 183;BA.debugLine="Private b As String = sbnTitle.SubString(a+2)"; +Debug.ShouldStop(4194304); +_b = _sbntitle.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_a,RemoteObject.createImmutable(2)}, "+",1, 1)));Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 184;BA.debugLine="Return b"; +Debug.ShouldStop(8388608); +if (true) return _b; + 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 _getshortcut(RemoteObject _sbn) throws Exception{ +try { + Debug.PushSubsStack("getShortcut (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,197); +if (RapidSub.canDelegate("getshortcut")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","getshortcut", _sbn);} +RemoteObject _ap = RemoteObject.createImmutable(0); +RemoteObject _ag = RemoteObject.createImmutable(0); +RemoteObject _x = RemoteObject.createImmutable(""); +RemoteObject _y = RemoteObject.createImmutable(0); +Debug.locals.put("sbn", _sbn); + BA.debugLineNum = 197;BA.debugLine="Sub getShortcut(sbn As StatusBarNotification) As S"; +Debug.ShouldStop(16); + BA.debugLineNum = 198;BA.debugLine="Private ap As Int = sbn.As(String).IndexOf(\"@s.wh"; +Debug.ShouldStop(32); +_ap = (BA.ObjectToString(_sbn)).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("@s.whatsapp.net")));Debug.locals.put("ap", _ap);Debug.locals.put("ap", _ap); + BA.debugLineNum = 199;BA.debugLine="Private ag As Int = sbn.As(String).IndexOf(\"@g.us"; +Debug.ShouldStop(64); +_ag = (BA.ObjectToString(_sbn)).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("@g.us")));Debug.locals.put("ag", _ag);Debug.locals.put("ag", _ag); + BA.debugLineNum = 200;BA.debugLine="Private x As String = sbn.As(String) 'ignore"; +Debug.ShouldStop(128); +_x = (BA.ObjectToString(_sbn));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 201;BA.debugLine="Private y As Int = x.IndexOf(\"shortcut=\")"; +Debug.ShouldStop(256); +_y = _x.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("shortcut=")));Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 202;BA.debugLine="If ap > -1 Then"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean(">",_ap,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 203;BA.debugLine="Private x As String = sbn.As(String) 'ignore"; +Debug.ShouldStop(1024); +_x = (BA.ObjectToString(_sbn));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 204;BA.debugLine="Private y As Int = x.IndexOf(\"shortcut=\")"; +Debug.ShouldStop(2048); +_y = _x.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("shortcut=")));Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 205;BA.debugLine="x = x.SubString2(y+9, ap+15)"; +Debug.ShouldStop(4096); +_x = _x.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_y,RemoteObject.createImmutable(9)}, "+",1, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_ap,RemoteObject.createImmutable(15)}, "+",1, 1)));Debug.locals.put("x", _x); + }else +{ BA.debugLineNum = 206;BA.debugLine="Else if ag > -1 Then 'It is probably is a group."; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_ag,BA.numberCast(double.class, -(double) (0 + 1)))) { + BA.debugLineNum = 207;BA.debugLine="Private x As String = sbn.As(String) 'ignore"; +Debug.ShouldStop(16384); +_x = (BA.ObjectToString(_sbn));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 208;BA.debugLine="Private y As Int = x.IndexOf(\"shortcut=\")"; +Debug.ShouldStop(32768); +_y = _x.runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("shortcut=")));Debug.locals.put("y", _y);Debug.locals.put("y", _y); + BA.debugLineNum = 209;BA.debugLine="x = x.SubString2(y+9, ag+5)"; +Debug.ShouldStop(65536); +_x = _x.runMethod(true,"substring",(Object)(RemoteObject.solve(new RemoteObject[] {_y,RemoteObject.createImmutable(9)}, "+",1, 1)),(Object)(RemoteObject.solve(new RemoteObject[] {_ag,RemoteObject.createImmutable(5)}, "+",1, 1)));Debug.locals.put("x", _x); + }} +; + BA.debugLineNum = 211;BA.debugLine="Return x"; +Debug.ShouldStop(262144); +if (true) return _x; + BA.debugLineNum = 212;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isgroupwa(RemoteObject _sbn) throws Exception{ +try { + Debug.PushSubsStack("isGroupWA (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,113); +if (RapidSub.canDelegate("isgroupwa")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","isgroupwa", _sbn);} +RemoteObject _a = RemoteObject.createImmutable(false); +Debug.locals.put("sbn", _sbn); + BA.debugLineNum = 113;BA.debugLine="Sub isGroupWA(sbn As StatusBarNotification) As Boo"; +Debug.ShouldStop(65536); + BA.debugLineNum = 114;BA.debugLine="Private a As Boolean = False"; +Debug.ShouldStop(131072); +_a = notificationservice.mostCurrent.__c.getField(true,"False");Debug.locals.put("a", _a);Debug.locals.put("a", _a); + BA.debugLineNum = 115;BA.debugLine="If sbn.As(String).IndexOf(\"@g.us\") > -1 Then a ="; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_sbn)).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("@g.us"))),BA.numberCast(double.class, -(double) (0 + 1)))) { +_a = notificationservice.mostCurrent.__c.getField(true,"True");Debug.locals.put("a", _a);}; + BA.debugLineNum = 116;BA.debugLine="Return a"; +Debug.ShouldStop(524288); +if (true) return _a; + BA.debugLineNum = 117;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _isgroupwa2(RemoteObject _sbntitle) throws Exception{ +try { + Debug.PushSubsStack("isGroupWA2 (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,106); +if (RapidSub.canDelegate("isgroupwa2")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","isgroupwa2", _sbntitle);} +RemoteObject _x = RemoteObject.createImmutable(false); +Debug.locals.put("sbnTitle", _sbntitle); + BA.debugLineNum = 106;BA.debugLine="Sub isGroupWA2(sbnTitle As String) As Boolean 'ign"; +Debug.ShouldStop(512); + BA.debugLineNum = 107;BA.debugLine="Private x As Boolean = Regex.ismatch(\".*(: ).*\","; +Debug.ShouldStop(1024); +_x = notificationservice.mostCurrent.__c.getField(false,"Regex").runMethod(true,"IsMatch",(Object)(BA.ObjectToString(".*(: ).*")),(Object)(_sbntitle));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 108;BA.debugLine="Return x"; +Debug.ShouldStop(2048); +if (true) return _x; + BA.debugLineNum = 109;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _ispersonwa(RemoteObject _sbn) throws Exception{ +try { + Debug.PushSubsStack("isPersonWA (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,121); +if (RapidSub.canDelegate("ispersonwa")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","ispersonwa", _sbn);} +RemoteObject _a = RemoteObject.createImmutable(false); +Debug.locals.put("sbn", _sbn); + BA.debugLineNum = 121;BA.debugLine="Sub isPersonWA(sbn As StatusBarNotification) As Bo"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 122;BA.debugLine="Private a As Boolean = False"; +Debug.ShouldStop(33554432); +_a = notificationservice.mostCurrent.__c.getField(true,"False");Debug.locals.put("a", _a);Debug.locals.put("a", _a); + BA.debugLineNum = 123;BA.debugLine="If sbn.As(String).IndexOf(\"@s.whatsapp.net\") > -1"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_sbn)).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("@s.whatsapp.net"))),BA.numberCast(double.class, -(double) (0 + 1)))) { +_a = notificationservice.mostCurrent.__c.getField(true,"True");Debug.locals.put("a", _a);}; + BA.debugLineNum = 124;BA.debugLine="Return a"; +Debug.ShouldStop(134217728); +if (true) return _a; + BA.debugLineNum = 125;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _ispersonwa2(RemoteObject _sbn) throws Exception{ +try { + Debug.PushSubsStack("isPersonWA2 (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,129); +if (RapidSub.canDelegate("ispersonwa2")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","ispersonwa2", _sbn);} +RemoteObject _a = RemoteObject.createImmutable(false); +Debug.locals.put("sbn", _sbn); + BA.debugLineNum = 129;BA.debugLine="Sub isPersonWA2(sbn As StatusBarNotification) As B"; +Debug.ShouldStop(1); + BA.debugLineNum = 130;BA.debugLine="Private a As Boolean = False"; +Debug.ShouldStop(2); +_a = notificationservice.mostCurrent.__c.getField(true,"False");Debug.locals.put("a", _a);Debug.locals.put("a", _a); + BA.debugLineNum = 131;BA.debugLine="If sbn.As(String).IndexOf(\"channel=individual\") >"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",(BA.ObjectToString(_sbn)).runMethod(true,"indexOf",(Object)(RemoteObject.createImmutable("channel=individual"))),BA.numberCast(double.class, -(double) (0 + 1)))) { +_a = notificationservice.mostCurrent.__c.getField(true,"True");Debug.locals.put("a", _a);}; + BA.debugLineNum = 132;BA.debugLine="Return a"; +Debug.ShouldStop(8); +if (true) return _a; + BA.debugLineNum = 133;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _notimon_notificationposted(RemoteObject _sbn) throws Exception{ +try { + Debug.PushSubsStack("NotiMon_NotificationPosted (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,74); +if (RapidSub.canDelegate("notimon_notificationposted")) { SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","notimon_notificationposted", _sbn); return;} +ResumableSub_NotiMon_NotificationPosted rsub = new ResumableSub_NotiMon_NotificationPosted(null,_sbn); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_NotiMon_NotificationPosted extends BA.ResumableSub { +public ResumableSub_NotiMon_NotificationPosted(SHARK2.keymon.com.mx.notificationservice parent,RemoteObject _sbn) { +this.parent = parent; +this._sbn = _sbn; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +SHARK2.keymon.com.mx.notificationservice parent; +RemoteObject _sbn; +RemoteObject _cmd = null; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("NotiMon_NotificationPosted (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,74); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("SBN", _sbn); + BA.debugLineNum = 75;BA.debugLine="Private logger As Boolean = True"; +Debug.ShouldStop(1024); +parent._logger = parent.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 76;BA.debugLine="If SBN.PackageName = \"com.whatsapp\" Then"; +Debug.ShouldStop(2048); +if (true) break; + +case 1: +//if +this.state = 36; +if (RemoteObject.solveBoolean("=",_sbn.runMethod(true,"getPackageName"),BA.ObjectToString("com.whatsapp"))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; + BA.debugLineNum = 77;BA.debugLine="If logger Then LogColor(SBN.PackageName, Colors."; +Debug.ShouldStop(4096); +if (true) break; + +case 4: +//if +this.state = 9; +if (parent._logger.get().booleanValue()) { +this.state = 6; +;}if (true) break; + +case 6: +//C +this.state = 9; +parent.mostCurrent.__c.runVoidMethod ("LogImpl","534996227",_sbn.runMethod(true,"getPackageName"),parent.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); +if (true) break; + +case 9: +//C +this.state = 10; +; + BA.debugLineNum = 78;BA.debugLine="If logger Then LogColor(\"isGroupWA2: \"&isGroupWA"; +Debug.ShouldStop(8192); +if (true) break; + +case 10: +//if +this.state = 15; +if (parent._logger.get().booleanValue()) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +parent.mostCurrent.__c.runVoidMethod ("LogImpl","534996228",RemoteObject.concat(RemoteObject.createImmutable("isGroupWA2: "),_isgroupwa(_sbn)),parent.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); +if (true) break; + +case 15: +//C +this.state = 16; +; + BA.debugLineNum = 79;BA.debugLine="If logger Then LogColor(\"isPersonWA: \"&isPersonW"; +Debug.ShouldStop(16384); +if (true) break; + +case 16: +//if +this.state = 21; +if (parent._logger.get().booleanValue()) { +this.state = 18; +;}if (true) break; + +case 18: +//C +this.state = 21; +parent.mostCurrent.__c.runVoidMethod ("LogImpl","534996229",RemoteObject.concat(RemoteObject.createImmutable("isPersonWA: "),_ispersonwa(_sbn)),parent.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); +if (true) break; + +case 21: +//C +this.state = 22; +; + BA.debugLineNum = 80;BA.debugLine="If logger Then Log($\"getGroupName: |${getGroupNa"; +Debug.ShouldStop(32768); +if (true) break; + +case 22: +//if +this.state = 27; +if (parent._logger.get().booleanValue()) { +this.state = 24; +;}if (true) break; + +case 24: +//C +this.state = 27; +parent.mostCurrent.__c.runVoidMethod ("LogImpl","534996230",(RemoteObject.concat(RemoteObject.createImmutable("getGroupName: |"),parent.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_getgroupname(_sbn.runMethod(true,"getTitle"))))),RemoteObject.createImmutable("|"))),0); +if (true) break; + +case 27: +//C +this.state = 28; +; + BA.debugLineNum = 81;BA.debugLine="Private cmd() As String = Regex.Split(\" \", SBN.M"; +Debug.ShouldStop(65536); +_cmd = parent.mostCurrent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString(" ")),(Object)(_sbn.runMethod(true,"getMessage")));Debug.locals.put("cmd", _cmd);Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 82;BA.debugLine="If SBN.Message.StartsWith(\"#NS\") And cmd.Length"; +Debug.ShouldStop(131072); +if (true) break; + +case 28: +//if +this.state = 35; +if (RemoteObject.solveBoolean(".",_sbn.runMethod(true,"getMessage").runMethod(true,"startsWith",(Object)(RemoteObject.createImmutable("#NS")))) && RemoteObject.solveBoolean("=",_cmd.getField(true,"length"),BA.numberCast(double.class, 2))) { +this.state = 30; +}if (true) break; + +case 30: +//C +this.state = 31; + BA.debugLineNum = 83;BA.debugLine="If esMensajeWAValido(SBN) Then"; +Debug.ShouldStop(262144); +if (true) break; + +case 31: +//if +this.state = 34; +if (BA.ObjectToBoolean(_esmensajewavalido(_sbn).get()).get().booleanValue()) { +this.state = 33; +}if (true) break; + +case 33: +//C +this.state = 34; + BA.debugLineNum = 85;BA.debugLine="rp.ClearNotification(SBN)"; +Debug.ShouldStop(1048576); +parent._rp.runVoidMethod ("ClearNotification",(Object)(_sbn)); + BA.debugLineNum = 86;BA.debugLine="Starter.reinicializaReqManager(cmd(1))"; +Debug.ShouldStop(2097152); +parent.mostCurrent._starter.runVoidMethod ("_reinicializareqmanager" /*RemoteObject*/ ,(Object)(_cmd.getArrayElement(true,BA.numberCast(int.class, 1)))); + BA.debugLineNum = 87;BA.debugLine="rp.reply(SBN.Notification, SBN.PackageName, $\""; +Debug.ShouldStop(4194304); +parent._rp.runVoidMethod ("reply",(Object)((_sbn.runMethod(false,"getNotification").getObject())),(Object)((_sbn.runMethod(true,"getPackageName"))),(Object)((RemoteObject.concat(RemoteObject.createImmutable("Servidor cambiado a "),parent.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cmd.getArrayElement(true,BA.numberCast(int.class, 1))))),RemoteObject.createImmutable(" "))))); + BA.debugLineNum = 88;BA.debugLine="Sleep(1000)"; +Debug.ShouldStop(8388608); +parent.mostCurrent.__c.runVoidMethod ("Sleep",notificationservice.processBA,anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "notificationservice", "notimon_notificationposted"),BA.numberCast(int.class, 1000)); +this.state = 37; +return; +case 37: +//C +this.state = 34; +; + BA.debugLineNum = 90;BA.debugLine="rp.ClearAll"; +Debug.ShouldStop(33554432); +parent._rp.runVoidMethod ("ClearAll"); + if (true) break; + +case 34: +//C +this.state = 35; +; + if (true) break; + +case 35: +//C +this.state = 36; +; + if (true) break; + +case 36: +//C +this.state = -1; +; + BA.debugLineNum = 94;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 45;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 48;BA.debugLine="Dim rp As ReplyAuto"; +notificationservice._rp = RemoteObject.createNew ("b4a.jsaplication.com.br.ReplyAuto.NotificationListener"); + //BA.debugLineNum = 51;BA.debugLine="Dim logger As Boolean = False"; +notificationservice._logger = notificationservice.mostCurrent.__c.getField(true,"False"); + //BA.debugLineNum = 52;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,54); +if (RapidSub.canDelegate("service_create")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","service_create");} + BA.debugLineNum = 54;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 55;BA.debugLine="rp.Initialize(\"NotiMon\")"; +Debug.ShouldStop(4194304); +notificationservice._rp.runVoidMethod ("Initialize",notificationservice.processBA,(Object)(RemoteObject.createImmutable("NotiMon"))); + 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 _service_destroy() throws Exception{ +try { + Debug.PushSubsStack("Service_Destroy (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,70); +if (RapidSub.canDelegate("service_destroy")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","service_destroy");} + BA.debugLineNum = 70;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(32); + BA.debugLineNum = 72;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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 (notificationservice) ","notificationservice",27,notificationservice.processBA,notificationservice.mostCurrent,62); +if (RapidSub.canDelegate("service_start")) { return SHARK2.keymon.com.mx.notificationservice.remoteMe.runUserSub(false, "notificationservice","service_start", _startingintent);} +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 62;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 64;BA.debugLine="If rp.HandleIntent(StartingIntent) Then Return"; +Debug.ShouldStop(-2147483648); +if (notificationservice._rp.runMethod(true,"HandleIntent",(Object)(_startingintent)).get().booleanValue()) { +if (true) return RemoteObject.createImmutable("");}; + 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/SHARK2/keymon/com/mx/pendientes.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/pendientes.java new file mode 100644 index 0000000..fc58033 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/pendientes.java @@ -0,0 +1,65 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class pendientes implements IRemote{ + public static pendientes mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public pendientes() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + private static PCBA pcBA = new PCBA(null, pendientes.class); + static { + mostCurrent = new pendientes(); + remoteMe = RemoteObject.declareNull("SHARK2.keymon.com.mx.pendientes"); + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("pendientes"), "SHARK2.keymon.com.mx.pendientes"); + RDebug.INSTANCE.eventTargets.put(new DeviceClass("SHARK2.keymon.com.mx.pendientes"), 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 SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(SHARK2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(SHARK2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(SHARK2.keymon.com.mx.b4xpages.class),"DateUtils",pendientes.mostCurrent._dateutils,"HttpUtils2Service",Debug.moduleToString(SHARK2.keymon.com.mx.httputils2service.class),"Main",Debug.moduleToString(SHARK2.keymon.com.mx.main.class),"MAPA_CLIENTE",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(SHARK2.keymon.com.mx.newinst2.class),"NotificationService",Debug.moduleToString(SHARK2.keymon.com.mx.notificationservice.class),"Starter",Debug.moduleToString(SHARK2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(SHARK2.keymon.com.mx.subs.class),"Tracker",Debug.moduleToString(SHARK2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(SHARK2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/pendientes_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/pendientes_subs_0.java new file mode 100644 index 0000000..d3f5a5c --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/pendientes_subs_0.java @@ -0,0 +1,14 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class pendientes_subs_0 { + + +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 3;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 7;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/preoptimizedclv.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/preoptimizedclv.java new file mode 100644 index 0000000..8e62ea3 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/preoptimizedclv.java @@ -0,0 +1,52 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class preoptimizedclv { + public static RemoteObject myClass; + public preoptimizedclv() { + } + public static PCBA staticBA = new PCBA(null, preoptimizedclv.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _mclv = RemoteObject.declareNull("b4a.example3.customlistview"); +public static RemoteObject _items = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _panelscache = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _stubpanel = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _horizontal = RemoteObject.createImmutable(false); +public static RemoteObject _assigneditems = null; +public static RemoteObject _assigneditemsasindex = RemoteObject.createImmutable(0); +public static RemoteObject _jclv = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +public static RemoteObject _extraitems = RemoteObject.createImmutable(0); +public static RemoteObject _listofitemsthatshouldbeupdated = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _showscrollbar = RemoteObject.createImmutable(false); +public static RemoteObject _b4xseekbar1 = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xseekbar"); +public static RemoteObject _pnloverlay = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lblhint = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _lastuserchangeindex = RemoteObject.createImmutable(0); +public static RemoteObject _numberofsteps = RemoteObject.createImmutable(0); +public static RemoteObject _delaybeforehidingoverlay = RemoteObject.createImmutable(0); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"AssignedItems",_ref.getField(false, "_assigneditems"),"AssignedItemsAsIndex",_ref.getField(false, "_assigneditemsasindex"),"B4XSeekBar1",_ref.getField(false, "_b4xseekbar1"),"DateUtils",_ref.getField(false, "_dateutils"),"DelayBeforeHidingOverlay",_ref.getField(false, "_delaybeforehidingoverlay"),"ExtraItems",_ref.getField(false, "_extraitems"),"horizontal",_ref.getField(false, "_horizontal"),"items",_ref.getField(false, "_items"),"jclv",_ref.getField(false, "_jclv"),"LastUserChangeIndex",_ref.getField(false, "_lastuserchangeindex"),"lblHint",_ref.getField(false, "_lblhint"),"ListOfItemsThatShouldBeUpdated",_ref.getField(false, "_listofitemsthatshouldbeupdated"),"mCallback",_ref.getField(false, "_mcallback"),"mCLV",_ref.getField(false, "_mclv"),"mEventName",_ref.getField(false, "_meventname"),"NumberOfSteps",_ref.getField(false, "_numberofsteps"),"PanelsCache",_ref.getField(false, "_panelscache"),"pnlOverlay",_ref.getField(false, "_pnloverlay"),"ShowScrollBar",_ref.getField(false, "_showscrollbar"),"StubPanel",_ref.getField(false, "_stubpanel"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/preoptimizedclv_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/preoptimizedclv_subs_0.java new file mode 100644 index 0000000..af7f3ca --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/preoptimizedclv_subs_0.java @@ -0,0 +1,746 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class preoptimizedclv_subs_0 { + + +public static RemoteObject _additem(RemoteObject __ref,RemoteObject _size,RemoteObject _clr,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("AddItem (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,53); +if (RapidSub.canDelegate("additem")) { return __ref.runUserSub(false, "preoptimizedclv","additem", __ref, _size, _clr, _value);} +RemoteObject _newitem = RemoteObject.declareNull("b4a.example3.customlistview._clvitem"); +Debug.locals.put("Size", _size); +Debug.locals.put("Clr", _clr); +Debug.locals.put("Value", _value); + BA.debugLineNum = 53;BA.debugLine="Public Sub AddItem (Size As Int, Clr As Int, Value"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 54;BA.debugLine="Dim NewItem As CLVItem"; +Debug.JustUpdateDeviceLine(); +_newitem = RemoteObject.createNew ("b4a.example3.customlistview._clvitem");Debug.locals.put("NewItem", _newitem); + BA.debugLineNum = 55;BA.debugLine="NewItem.Color = Clr"; +Debug.JustUpdateDeviceLine(); +_newitem.setField ("Color",_clr); + BA.debugLineNum = 56;BA.debugLine="NewItem.Panel = StubPanel"; +Debug.JustUpdateDeviceLine(); +_newitem.setField ("Panel",__ref.getField(false,"_stubpanel" /*RemoteObject*/ )); + BA.debugLineNum = 57;BA.debugLine="NewItem.Value = Value"; +Debug.JustUpdateDeviceLine(); +_newitem.setField ("Value",_value); + BA.debugLineNum = 58;BA.debugLine="NewItem.Size = Size"; +Debug.JustUpdateDeviceLine(); +_newitem.setField ("Size",_size); + BA.debugLineNum = 59;BA.debugLine="items.Add(NewItem)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_items" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_newitem))); + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _b4xseekbar1_touchstatechanged(RemoteObject __ref,RemoteObject _pressed) throws Exception{ +try { + Debug.PushSubsStack("B4XSeekBar1_TouchStateChanged (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,163); +if (RapidSub.canDelegate("b4xseekbar1_touchstatechanged")) { __ref.runUserSub(false, "preoptimizedclv","b4xseekbar1_touchstatechanged", __ref, _pressed); return;} +ResumableSub_B4XSeekBar1_TouchStateChanged rsub = new ResumableSub_B4XSeekBar1_TouchStateChanged(null,__ref,_pressed); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_B4XSeekBar1_TouchStateChanged extends BA.ResumableSub { +public ResumableSub_B4XSeekBar1_TouchStateChanged(SHARK2.keymon.com.mx.preoptimizedclv parent,RemoteObject __ref,RemoteObject _pressed) { +this.parent = parent; +this.__ref = __ref; +this._pressed = _pressed; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.preoptimizedclv parent; +RemoteObject _pressed; +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("B4XSeekBar1_TouchStateChanged (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,163); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +Debug.locals.put("_ref", __ref); +Debug.locals.put("Pressed", _pressed); + BA.debugLineNum = 164;BA.debugLine="If Pressed = False Then"; +Debug.JustUpdateDeviceLine(); +if (true) break; + +case 1: +//if +this.state = 6; +if (RemoteObject.solveBoolean("=",_pressed,parent.__c.getField(true,"False"))) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; + BA.debugLineNum = 165;BA.debugLine="mCLV.JumpToItem(LastUserChangeIndex)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mclv" /*RemoteObject*/ ).runVoidMethod ("_jumptoitem",(Object)(__ref.getField(true,"_lastuserchangeindex" /*RemoteObject*/ ))); + BA.debugLineNum = 166;BA.debugLine="Sleep(DelayBeforeHidingOverlay)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "preoptimizedclv", "b4xseekbar1_touchstatechanged"),__ref.getField(true,"_delaybeforehidingoverlay" /*RemoteObject*/ )); +this.state = 7; +return; +case 7: +//C +this.state = 6; +; + BA.debugLineNum = 167;BA.debugLine="pnlOverlay.Visible = False"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnloverlay" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"False")); + if (true) break; + +case 5: +//C +this.state = 6; + BA.debugLineNum = 169;BA.debugLine="pnlOverlay.Visible = True"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_pnloverlay" /*RemoteObject*/ ).runMethod(true,"setVisible",parent.__c.getField(true,"True")); + BA.debugLineNum = 171;BA.debugLine="Dim jo As JavaObject = mCLV.sv"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), __ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 172;BA.debugLine="jo.RunMethod(\"fling\", Array(0))"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("fling")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((0))}))); + if (true) break; + +case 6: +//C +this.state = -1; +; + BA.debugLineNum = 175;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _b4xseekbar1_valuechanged(RemoteObject __ref,RemoteObject _value) throws Exception{ +try { + Debug.PushSubsStack("B4XSeekBar1_ValueChanged (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,177); +if (RapidSub.canDelegate("b4xseekbar1_valuechanged")) { return __ref.runUserSub(false, "preoptimizedclv","b4xseekbar1_valuechanged", __ref, _value);} +RemoteObject _t = RemoteObject.declareNull("Object"); +Debug.locals.put("Value", _value); + BA.debugLineNum = 177;BA.debugLine="Sub B4XSeekBar1_ValueChanged (Value As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 178;BA.debugLine="LastUserChangeIndex = Max(0, items.Size - 1 - Val"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_lastuserchangeindex" /*RemoteObject*/ ,BA.numberCast(int.class, preoptimizedclv.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 0)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1),_value}, "--",2, 1)))))); + BA.debugLineNum = 179;BA.debugLine="If LastUserChangeIndex < B4XSeekBar1.Interval The"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",__ref.getField(true,"_lastuserchangeindex" /*RemoteObject*/ ),BA.numberCast(double.class, __ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).getField(true,"_interval" /*RemoteObject*/ )))) { +__ref.setField ("_lastuserchangeindex" /*RemoteObject*/ ,BA.numberCast(int.class, 0));}; + BA.debugLineNum = 180;BA.debugLine="lblHint.Text = \"\""; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_lblhint" /*RemoteObject*/ ).runMethod(true,"setText",BA.ObjectToCharSequence("")); + BA.debugLineNum = 181;BA.debugLine="If xui.SubExists(mCallback, mEventName & \"_HintRe"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(true,"SubExists",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_HintRequested"))),(Object)(BA.numberCast(int.class, 1))).get().booleanValue()) { + BA.debugLineNum = 182;BA.debugLine="Dim t As Object = CallSub2(mCallback, mEventName"; +Debug.JustUpdateDeviceLine(); +_t = preoptimizedclv.__c.runMethodAndSync(false,"CallSubNew2",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_HintRequested"))),(Object)((__ref.getField(true,"_lastuserchangeindex" /*RemoteObject*/ ))));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 183;BA.debugLine="If t <> Null Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("N",_t)) { + BA.debugLineNum = 184;BA.debugLine="InternalSetTextOrCSBuilderToLabel(lblHint, t)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.preoptimizedclv.class, "_internalsettextorcsbuildertolabel" /*RemoteObject*/ ,(Object)(__ref.getField(false,"_lblhint" /*RemoteObject*/ )),(Object)(_t)); + }; + }; + BA.debugLineNum = 187;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 3;BA.debugLine="Private mCLV As CustomListView"; +preoptimizedclv._mclv = RemoteObject.createNew ("b4a.example3.customlistview");__ref.setField("_mclv",preoptimizedclv._mclv); + //BA.debugLineNum = 4;BA.debugLine="Private items As List"; +preoptimizedclv._items = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_items",preoptimizedclv._items); + //BA.debugLineNum = 5;BA.debugLine="Private PanelsCache As List"; +preoptimizedclv._panelscache = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_panelscache",preoptimizedclv._panelscache); + //BA.debugLineNum = 6;BA.debugLine="Private StubPanel As B4XView"; +preoptimizedclv._stubpanel = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_stubpanel",preoptimizedclv._stubpanel); + //BA.debugLineNum = 7;BA.debugLine="Private horizontal As Boolean"; +preoptimizedclv._horizontal = RemoteObject.createImmutable(false);__ref.setField("_horizontal",preoptimizedclv._horizontal); + //BA.debugLineNum = 8;BA.debugLine="Private AssignedItems() As B4XSet"; +preoptimizedclv._assigneditems = RemoteObject.createNewArray ("SHARK2.keymon.com.mx.b4xset", new int[] {0}, new Object[]{});__ref.setField("_assigneditems",preoptimizedclv._assigneditems); + //BA.debugLineNum = 9;BA.debugLine="Private AssignedItemsAsIndex As Int"; +preoptimizedclv._assigneditemsasindex = RemoteObject.createImmutable(0);__ref.setField("_assigneditemsasindex",preoptimizedclv._assigneditemsasindex); + //BA.debugLineNum = 13;BA.debugLine="Private jclv As JavaObject"; +preoptimizedclv._jclv = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");__ref.setField("_jclv",preoptimizedclv._jclv); + //BA.debugLineNum = 15;BA.debugLine="Public ExtraItems As Int = 3"; +preoptimizedclv._extraitems = BA.numberCast(int.class, 3);__ref.setField("_extraitems",preoptimizedclv._extraitems); + //BA.debugLineNum = 16;BA.debugLine="Private ListOfItemsThatShouldBeUpdated As List"; +preoptimizedclv._listofitemsthatshouldbeupdated = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_listofitemsthatshouldbeupdated",preoptimizedclv._listofitemsthatshouldbeupdated); + //BA.debugLineNum = 17;BA.debugLine="Private xui As XUI"; +preoptimizedclv._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",preoptimizedclv._xui); + //BA.debugLineNum = 18;BA.debugLine="Public ShowScrollBar As Boolean = True"; +preoptimizedclv._showscrollbar = preoptimizedclv.__c.getField(true,"True");__ref.setField("_showscrollbar",preoptimizedclv._showscrollbar); + //BA.debugLineNum = 19;BA.debugLine="Public B4XSeekBar1 As B4XSeekBar"; +preoptimizedclv._b4xseekbar1 = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4xseekbar");__ref.setField("_b4xseekbar1",preoptimizedclv._b4xseekbar1); + //BA.debugLineNum = 20;BA.debugLine="Public pnlOverlay As B4XView"; +preoptimizedclv._pnloverlay = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnloverlay",preoptimizedclv._pnloverlay); + //BA.debugLineNum = 21;BA.debugLine="Public lblHint As B4XView"; +preoptimizedclv._lblhint = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_lblhint",preoptimizedclv._lblhint); + //BA.debugLineNum = 22;BA.debugLine="Private LastUserChangeIndex As Int"; +preoptimizedclv._lastuserchangeindex = RemoteObject.createImmutable(0);__ref.setField("_lastuserchangeindex",preoptimizedclv._lastuserchangeindex); + //BA.debugLineNum = 23;BA.debugLine="Public NumberOfSteps As Int = 20"; +preoptimizedclv._numberofsteps = BA.numberCast(int.class, 20);__ref.setField("_numberofsteps",preoptimizedclv._numberofsteps); + //BA.debugLineNum = 24;BA.debugLine="Public DelayBeforeHidingOverlay As Int = 50"; +preoptimizedclv._delaybeforehidingoverlay = BA.numberCast(int.class, 50);__ref.setField("_delaybeforehidingoverlay",preoptimizedclv._delaybeforehidingoverlay); + //BA.debugLineNum = 25;BA.debugLine="Private mCallback As Object"; +preoptimizedclv._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",preoptimizedclv._mcallback); + //BA.debugLineNum = 26;BA.debugLine="Private mEventName As String"; +preoptimizedclv._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",preoptimizedclv._meventname); + //BA.debugLineNum = 27;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _clearassigneditems(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ClearAssignedItems (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,151); +if (RapidSub.canDelegate("clearassigneditems")) { return __ref.runUserSub(false, "preoptimizedclv","clearassigneditems", __ref);} +RemoteObject _s = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xset"); + BA.debugLineNum = 151;BA.debugLine="Private Sub ClearAssignedItems"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 152;BA.debugLine="For Each s As B4XSet In AssignedItems"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group1 = __ref.getField(false,"_assigneditems" /*RemoteObject*/ ); +final int groupLen1 = group1.getField(true,"length").get() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_s = group1.getArrayElement(false, /*RemoteObject*/ RemoteObject.createImmutable(index1));Debug.locals.put("s", _s); +Debug.locals.put("s", _s); + BA.debugLineNum = 153;BA.debugLine="s.Clear"; +Debug.JustUpdateDeviceLine(); +_s.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_clear" /*RemoteObject*/ ); + } +}Debug.locals.put("s", _s); +; + BA.debugLineNum = 155;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _commit(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Commit (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,62); +if (RapidSub.canDelegate("commit")) { return __ref.runUserSub(false, "preoptimizedclv","commit", __ref);} +RemoteObject _dividersize = RemoteObject.createImmutable(0); +RemoteObject _totalsize = RemoteObject.createImmutable(0); +int _i = 0; +RemoteObject _it = RemoteObject.declareNull("b4a.example3.customlistview._clvitem"); + BA.debugLineNum = 62;BA.debugLine="Public Sub Commit"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 63;BA.debugLine="ClearAssignedItems"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.preoptimizedclv.class, "_clearassigneditems" /*RemoteObject*/ ); + BA.debugLineNum = 64;BA.debugLine="Dim DividerSize As Int = mCLV.DividerSize"; +Debug.JustUpdateDeviceLine(); +_dividersize = BA.numberCast(int.class, __ref.getField(false,"_mclv" /*RemoteObject*/ ).runMethod(true,"_getdividersize"));Debug.locals.put("DividerSize", _dividersize);Debug.locals.put("DividerSize", _dividersize); + BA.debugLineNum = 65;BA.debugLine="Dim TotalSize As Int = DividerSize"; +Debug.JustUpdateDeviceLine(); +_totalsize = _dividersize;Debug.locals.put("TotalSize", _totalsize);Debug.locals.put("TotalSize", _totalsize); + BA.debugLineNum = 66;BA.debugLine="For i = 0 To items.Size - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 67;BA.debugLine="Dim it As CLVItem = items.Get(i)"; +Debug.JustUpdateDeviceLine(); +_it = (__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("it", _it);Debug.locals.put("it", _it); + BA.debugLineNum = 68;BA.debugLine="it.Offset = TotalSize"; +Debug.JustUpdateDeviceLine(); +_it.setField ("Offset",_totalsize); + BA.debugLineNum = 69;BA.debugLine="TotalSize = TotalSize + it.Size + DividerSize"; +Debug.JustUpdateDeviceLine(); +_totalsize = RemoteObject.solve(new RemoteObject[] {_totalsize,_it.getField(true,"Size"),_dividersize}, "++",2, 1);Debug.locals.put("TotalSize", _totalsize); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 71;BA.debugLine="If horizontal Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_horizontal" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 72;BA.debugLine="mCLV.sv.ScrollViewContentWidth = TotalSize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").runMethod(true,"setScrollViewContentWidth",_totalsize); + }else { + BA.debugLineNum = 74;BA.debugLine="mCLV.sv.ScrollViewContentHeight = TotalSize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").runMethod(true,"setScrollViewContentHeight",_totalsize); + }; + BA.debugLineNum = 76;BA.debugLine="B4XSeekBar1.mBase.Visible = ShowScrollBar"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"setVisible",__ref.getField(true,"_showscrollbar" /*RemoteObject*/ )); + BA.debugLineNum = 77;BA.debugLine="If ShowScrollBar Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_showscrollbar" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 78;BA.debugLine="B4XSeekBar1.MaxValue = items.Size"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_maxvalue" /*RemoteObject*/ ,__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(true,"getSize")); + BA.debugLineNum = 79;BA.debugLine="B4XSeekBar1.Interval = items.Size / NumberOfStep"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_interval" /*RemoteObject*/ ,BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(true,"getSize"),__ref.getField(true,"_numberofsteps" /*RemoteObject*/ )}, "/",0, 0))); + }; + BA.debugLineNum = 81;BA.debugLine="RaiseVisibleRangeEvent"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.preoptimizedclv.class, "_raisevisiblerangeevent" /*RemoteObject*/ ); + BA.debugLineNum = 83;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createpanel(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CreatePanel (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,90); +if (RapidSub.canDelegate("createpanel")) { return __ref.runUserSub(false, "preoptimizedclv","createpanel", __ref);} + BA.debugLineNum = 90;BA.debugLine="Private Sub CreatePanel As B4XView"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 94;BA.debugLine="Return jclv.RunMethodJO(\"_createpanel\", Array(\"Pa"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.getField(false,"_jclv" /*RemoteObject*/ ).runMethod(false,"RunMethodJO",(Object)(BA.ObjectToString("_createpanel")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("Panel"))}))).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getObject")),(Object)((preoptimizedclv.__c.getField(false,"Null"))))); + BA.debugLineNum = 96;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getpanel(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetPanel (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,144); +if (RapidSub.canDelegate("getpanel")) { return __ref.runUserSub(false, "preoptimizedclv","getpanel", __ref);} +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); + BA.debugLineNum = 144;BA.debugLine="Private Sub GetPanel As B4XView"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 145;BA.debugLine="If PanelsCache.Size = 0 Then Return CreatePanel"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(false,"_panelscache" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { +if (true) return __ref.runClassMethod (SHARK2.keymon.com.mx.preoptimizedclv.class, "_createpanel" /*RemoteObject*/ );}; + BA.debugLineNum = 146;BA.debugLine="Dim p As B4XView = PanelsCache.Get(PanelsCache.Si"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), __ref.getField(false,"_panelscache" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_panelscache" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1))));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 147;BA.debugLine="PanelsCache.RemoveAt(PanelsCache.Size - 1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_panelscache" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_panelscache" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1))); + BA.debugLineNum = 148;BA.debugLine="Return p"; +Debug.JustUpdateDeviceLine(); +if (true) return _p; + BA.debugLineNum = 149;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _handlescrollbar(RemoteObject __ref,RemoteObject _firstvisible) throws Exception{ +try { + Debug.PushSubsStack("HandleScrollBar (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,139); +if (RapidSub.canDelegate("handlescrollbar")) { return __ref.runUserSub(false, "preoptimizedclv","handlescrollbar", __ref, _firstvisible);} +Debug.locals.put("FirstVisible", _firstvisible); + BA.debugLineNum = 139;BA.debugLine="Private Sub HandleScrollBar (FirstVisible As Int)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 140;BA.debugLine="If ShowScrollBar = False Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",__ref.getField(true,"_showscrollbar" /*RemoteObject*/ ),preoptimizedclv.__c.getField(true,"False"))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 141;BA.debugLine="B4XSeekBar1.Value = items.Size - FirstVisible"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xseekbar.class, "_setvalue" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(true,"getSize"),_firstvisible}, "-",1, 1)); + BA.debugLineNum = 142;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject __ref,RemoteObject _ba,RemoteObject _callback,RemoteObject _eventname,RemoteObject _clv) throws Exception{ +try { + Debug.PushSubsStack("Initialize (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,29); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "preoptimizedclv","initialize", __ref, _ba, _callback, _eventname, _clv);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); +Debug.locals.put("Callback", _callback); +Debug.locals.put("EventName", _eventname); +Debug.locals.put("CLV", _clv); + BA.debugLineNum = 29;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 30;BA.debugLine="mCLV = CLV"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mclv" /*RemoteObject*/ ,_clv); + BA.debugLineNum = 31;BA.debugLine="jclv = mCLV 'ignore"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_jclv" /*RemoteObject*/ ).setObject (__ref.getField(false,"_mclv" /*RemoteObject*/ )); + BA.debugLineNum = 36;BA.debugLine="items = jclv.GetFieldJO(\"_items\").RunMethod(\"getO"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_items" /*RemoteObject*/ ).setObject (__ref.getField(false,"_jclv" /*RemoteObject*/ ).runMethod(false,"GetFieldJO",(Object)(RemoteObject.createImmutable("_items"))).runMethod(false,"RunMethod",(Object)(BA.ObjectToString("getObject")),(Object)((preoptimizedclv.__c.getField(false,"Null"))))); + BA.debugLineNum = 37;BA.debugLine="horizontal = jclv.GetField(\"_horizontal\")"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_horizontal" /*RemoteObject*/ ,BA.ObjectToBoolean(__ref.getField(false,"_jclv" /*RemoteObject*/ ).runMethod(false,"GetField",(Object)(RemoteObject.createImmutable("_horizontal"))))); + BA.debugLineNum = 39;BA.debugLine="PanelsCache.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_panelscache" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 40;BA.debugLine="StubPanel = CreatePanel"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_stubpanel" /*RemoteObject*/ ,__ref.runClassMethod (SHARK2.keymon.com.mx.preoptimizedclv.class, "_createpanel" /*RemoteObject*/ )); + BA.debugLineNum = 41;BA.debugLine="StubPanel.AddView(xui.CreatePanel(\"\"), 0, 0, 10di"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_stubpanel" /*RemoteObject*/ ).runVoidMethod ("AddView",(Object)((__ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))).getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(preoptimizedclv.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10)))),(Object)(preoptimizedclv.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 10))))); + BA.debugLineNum = 42;BA.debugLine="AssignedItems = Array As B4XSet(B4XCollections.Cr"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_assigneditems" /*RemoteObject*/ ,RemoteObject.createNewArray("SHARK2.keymon.com.mx.b4xset",new int[] {2},new Object[] {preoptimizedclv._b4xcollections.runMethod(false,"_createset" /*RemoteObject*/ ,__ref.getField(false, "ba")),preoptimizedclv._b4xcollections.runMethod(false,"_createset" /*RemoteObject*/ ,__ref.getField(false, "ba"))})); + BA.debugLineNum = 43;BA.debugLine="ListOfItemsThatShouldBeUpdated.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_listofitemsthatshouldbeupdated" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 44;BA.debugLine="mCLV.AsView.LoadLayout(\"PCLVSeekBar\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mclv" /*RemoteObject*/ ).runMethod(false,"_asview").runVoidMethodAndSync ("LoadLayout",(Object)(RemoteObject.createImmutable("PCLVSeekBar")),__ref.getField(false, "ba")); + BA.debugLineNum = 45;BA.debugLine="B4XSeekBar1.Size1 = 1dip"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_size1" /*RemoteObject*/ ,preoptimizedclv.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))); + BA.debugLineNum = 46;BA.debugLine="B4XSeekBar1.Size2 = 1dip"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_size2" /*RemoteObject*/ ,preoptimizedclv.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 1)))); + BA.debugLineNum = 47;BA.debugLine="B4XSeekBar1.Radius1 = 8dip"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).setField ("_radius1" /*RemoteObject*/ ,preoptimizedclv.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 8)))); + BA.debugLineNum = 48;BA.debugLine="B4XSeekBar1.Update"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_b4xseekbar1" /*RemoteObject*/ ).runClassMethod (SHARK2.keymon.com.mx.b4xseekbar.class, "_update" /*RemoteObject*/ ); + BA.debugLineNum = 49;BA.debugLine="mCallback = Callback"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mcallback" /*RemoteObject*/ ,_callback); + BA.debugLineNum = 50;BA.debugLine="mEventName = EventName"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_meventname" /*RemoteObject*/ ,_eventname); + BA.debugLineNum = 51;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _internalsettextorcsbuildertolabel(RemoteObject __ref,RemoteObject _xlbl,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("InternalSetTextOrCSBuilderToLabel (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,189); +if (RapidSub.canDelegate("internalsettextorcsbuildertolabel")) { return __ref.runUserSub(false, "preoptimizedclv","internalsettextorcsbuildertolabel", __ref, _xlbl, _text);} +Debug.locals.put("xlbl", _xlbl); +Debug.locals.put("Text", _text); + BA.debugLineNum = 189;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 191;BA.debugLine="xlbl.Text = Text"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setText",BA.ObjectToCharSequence(_text)); + BA.debugLineNum = 201;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _listchangedexternally(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("ListChangedExternally (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,157); +if (RapidSub.canDelegate("listchangedexternally")) { __ref.runUserSub(false, "preoptimizedclv","listchangedexternally", __ref); return;} +ResumableSub_ListChangedExternally rsub = new ResumableSub_ListChangedExternally(null,__ref); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_ListChangedExternally extends BA.ResumableSub { +public ResumableSub_ListChangedExternally(SHARK2.keymon.com.mx.preoptimizedclv parent,RemoteObject __ref) { +this.parent = parent; +this.__ref = __ref; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.preoptimizedclv parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("ListChangedExternally (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,157); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +Debug.locals.put("_ref", __ref); + BA.debugLineNum = 158;BA.debugLine="ClearAssignedItems"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.preoptimizedclv.class, "_clearassigneditems" /*RemoteObject*/ ); + BA.debugLineNum = 159;BA.debugLine="Sleep(0)"; +Debug.JustUpdateDeviceLine(); +parent.__c.runVoidMethod ("Sleep",__ref.getField(false, "ba"),anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "preoptimizedclv", "listchangedexternally"),BA.numberCast(int.class, 0)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +; + BA.debugLineNum = 160;BA.debugLine="RaiseVisibleRangeEvent"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.preoptimizedclv.class, "_raisevisiblerangeevent" /*RemoteObject*/ ); + BA.debugLineNum = 161;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static RemoteObject _raisevisiblerangeevent(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("RaiseVisibleRangeEvent (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,85); +if (RapidSub.canDelegate("raisevisiblerangeevent")) { return __ref.runUserSub(false, "preoptimizedclv","raisevisiblerangeevent", __ref);} + BA.debugLineNum = 85;BA.debugLine="Private Sub RaiseVisibleRangeEvent"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 86;BA.debugLine="jclv.RunMethod(\"_resetvisibles\", Null)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_jclv" /*RemoteObject*/ ).runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("_resetvisibles")),(Object)((preoptimizedclv.__c.getField(false,"Null")))); + BA.debugLineNum = 87;BA.debugLine="jclv.RunMethod(\"_updatevisiblerange\", Null)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_jclv" /*RemoteObject*/ ).runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("_updatevisiblerange")),(Object)((preoptimizedclv.__c.getField(false,"Null")))); + BA.debugLineNum = 88;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _visiblerangechanged(RemoteObject __ref,RemoteObject _firstindex,RemoteObject _lastindex) throws Exception{ +try { + Debug.PushSubsStack("VisibleRangeChanged (preoptimizedclv) ","preoptimizedclv",73,__ref.getField(false, "ba"),__ref,98); +if (RapidSub.canDelegate("visiblerangechanged")) { return __ref.runUserSub(false, "preoptimizedclv","visiblerangechanged", __ref, _firstindex, _lastindex);} +RemoteObject _fromindex = RemoteObject.createImmutable(0); +RemoteObject _toindex = RemoteObject.createImmutable(0); +RemoteObject _prevset = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xset"); +RemoteObject _nextset = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4xset"); +int _i = 0; +RemoteObject _it = RemoteObject.declareNull("b4a.example3.customlistview._clvitem"); +RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +Debug.locals.put("FirstIndex", _firstindex); +Debug.locals.put("LastIndex", _lastindex); + BA.debugLineNum = 98;BA.debugLine="Public Sub VisibleRangeChanged (FirstIndex As Int,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 99;BA.debugLine="Dim FromIndex As Int = Max(0, FirstIndex - ExtraI"; +Debug.JustUpdateDeviceLine(); +_fromindex = BA.numberCast(int.class, preoptimizedclv.__c.runMethod(true,"Max",(Object)(BA.numberCast(double.class, 0)),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_firstindex,__ref.getField(true,"_extraitems" /*RemoteObject*/ )}, "-",1, 1)))));Debug.locals.put("FromIndex", _fromindex);Debug.locals.put("FromIndex", _fromindex); + BA.debugLineNum = 100;BA.debugLine="Dim ToIndex As Int = Min(mCLV.Size - 1, LastIndex"; +Debug.JustUpdateDeviceLine(); +_toindex = BA.numberCast(int.class, preoptimizedclv.__c.runMethod(true,"Min",(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_mclv" /*RemoteObject*/ ).runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1))),(Object)(BA.numberCast(double.class, RemoteObject.solve(new RemoteObject[] {_lastindex,__ref.getField(true,"_extraitems" /*RemoteObject*/ )}, "+",1, 1)))));Debug.locals.put("ToIndex", _toindex);Debug.locals.put("ToIndex", _toindex); + BA.debugLineNum = 101;BA.debugLine="Dim PrevSet As B4XSet = AssignedItems(AssignedIte"; +Debug.JustUpdateDeviceLine(); +_prevset = __ref.getField(false,"_assigneditems" /*RemoteObject*/ ).getArrayElement(false, /*RemoteObject*/ __ref.getField(true,"_assigneditemsasindex" /*RemoteObject*/ ));Debug.locals.put("PrevSet", _prevset);Debug.locals.put("PrevSet", _prevset); + BA.debugLineNum = 102;BA.debugLine="AssignedItemsAsIndex = (AssignedItemsAsIndex + 1)"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_assigneditemsasindex" /*RemoteObject*/ ,RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_assigneditemsasindex" /*RemoteObject*/ ),RemoteObject.createImmutable(1)}, "+",1, 1)),RemoteObject.createImmutable(2)}, "%",0, 1)); + BA.debugLineNum = 103;BA.debugLine="Dim NextSet As B4XSet = AssignedItems(AssignedIte"; +Debug.JustUpdateDeviceLine(); +_nextset = __ref.getField(false,"_assigneditems" /*RemoteObject*/ ).getArrayElement(false, /*RemoteObject*/ __ref.getField(true,"_assigneditemsasindex" /*RemoteObject*/ ));Debug.locals.put("NextSet", _nextset);Debug.locals.put("NextSet", _nextset); + BA.debugLineNum = 104;BA.debugLine="NextSet.Clear"; +Debug.JustUpdateDeviceLine(); +_nextset.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_clear" /*RemoteObject*/ ); + BA.debugLineNum = 105;BA.debugLine="ListOfItemsThatShouldBeUpdated.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_listofitemsthatshouldbeupdated" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 106;BA.debugLine="For i = FromIndex To ToIndex"; +Debug.JustUpdateDeviceLine(); +{ +final int step8 = 1; +final int limit8 = _toindex.get().intValue(); +_i = _fromindex.get().intValue() ; +for (;(step8 > 0 && _i <= limit8) || (step8 < 0 && _i >= limit8) ;_i = ((int)(0 + _i + step8)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 107;BA.debugLine="Dim it As CLVItem = items.Get(i)"; +Debug.JustUpdateDeviceLine(); +_it = (__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))));Debug.locals.put("it", _it);Debug.locals.put("it", _it); + BA.debugLineNum = 108;BA.debugLine="If it.Panel = StubPanel Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_it.getField(false,"Panel"),__ref.getField(false,"_stubpanel" /*RemoteObject*/ ))) { + BA.debugLineNum = 109;BA.debugLine="it.Panel = GetPanel"; +Debug.JustUpdateDeviceLine(); +_it.setField ("Panel",__ref.runClassMethod (SHARK2.keymon.com.mx.preoptimizedclv.class, "_getpanel" /*RemoteObject*/ )); + BA.debugLineNum = 110;BA.debugLine="it.Panel.Tag = i"; +Debug.JustUpdateDeviceLine(); +_it.getField(false,"Panel").runMethod(false,"setTag",RemoteObject.createImmutable((_i))); + BA.debugLineNum = 111;BA.debugLine="it.Panel.Color = it.Color"; +Debug.JustUpdateDeviceLine(); +_it.getField(false,"Panel").runMethod(true,"setColor",_it.getField(true,"Color")); + BA.debugLineNum = 112;BA.debugLine="If horizontal Then"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_horizontal" /*RemoteObject*/ ).get().booleanValue()) { + BA.debugLineNum = 113;BA.debugLine="mCLV.sv.ScrollViewInnerPanel.AddView(it.Panel,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").runMethod(false,"getScrollViewInnerPanel").runVoidMethod ("AddView",(Object)((_it.getField(false,"Panel").getObject())),(Object)(_it.getField(true,"Offset")),(Object)(BA.numberCast(int.class, 0)),(Object)(_it.getField(true,"Size")),(Object)(__ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").runMethod(true,"getHeight"))); + }else { + BA.debugLineNum = 115;BA.debugLine="mCLV.sv.ScrollViewInnerPanel.AddView(it.Panel,"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").runMethod(false,"getScrollViewInnerPanel").runVoidMethod ("AddView",(Object)((_it.getField(false,"Panel").getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(_it.getField(true,"Offset")),(Object)(__ref.getField(false,"_mclv" /*RemoteObject*/ ).getField(false,"_sv").runMethod(true,"getWidth")),(Object)(_it.getField(true,"Size"))); + }; + BA.debugLineNum = 117;BA.debugLine="NextSet.Add(it.Panel)"; +Debug.JustUpdateDeviceLine(); +_nextset.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_add" /*RemoteObject*/ ,(Object)((_it.getField(false,"Panel").getObject()))); + BA.debugLineNum = 118;BA.debugLine="ListOfItemsThatShouldBeUpdated.Add(i)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_listofitemsthatshouldbeupdated" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)(RemoteObject.createImmutable((_i)))); + }else +{ BA.debugLineNum = 119;BA.debugLine="Else if PrevSet.Contains(it.Panel) Then"; +Debug.JustUpdateDeviceLine(); +if (_prevset.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_contains" /*RemoteObject*/ ,(Object)((_it.getField(false,"Panel").getObject()))).get().booleanValue()) { + BA.debugLineNum = 120;BA.debugLine="NextSet.Add(it.Panel)"; +Debug.JustUpdateDeviceLine(); +_nextset.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_add" /*RemoteObject*/ ,(Object)((_it.getField(false,"Panel").getObject()))); + }} +; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 123;BA.debugLine="For Each pnl As B4XView In PrevSet.AsList"; +Debug.JustUpdateDeviceLine(); +_pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +{ +final RemoteObject group25 = _prevset.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_aslist" /*RemoteObject*/ ); +final int groupLen25 = group25.runMethod(true,"getSize").get() +;int index25 = 0; +; +for (; index25 < groupLen25;index25++){ +_pnl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), group25.runMethod(false,"Get",index25));Debug.locals.put("pnl", _pnl); +Debug.locals.put("pnl", _pnl); + BA.debugLineNum = 124;BA.debugLine="If NextSet.Contains(pnl) = False Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_nextset.runClassMethod (SHARK2.keymon.com.mx.b4xset.class, "_contains" /*RemoteObject*/ ,(Object)((_pnl.getObject()))),preoptimizedclv.__c.getField(true,"False"))) { + BA.debugLineNum = 125;BA.debugLine="If pnl.Parent.IsInitialized Then"; +Debug.JustUpdateDeviceLine(); +if (_pnl.runMethod(false,"getParent").runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 126;BA.debugLine="pnl.RemoveViewFromParent"; +Debug.JustUpdateDeviceLine(); +_pnl.runVoidMethod ("RemoveViewFromParent"); + BA.debugLineNum = 127;BA.debugLine="pnl.GetView(0).RemoveAllViews"; +Debug.JustUpdateDeviceLine(); +_pnl.runMethod(false,"GetView",(Object)(BA.numberCast(int.class, 0))).runVoidMethod ("RemoveAllViews"); + BA.debugLineNum = 128;BA.debugLine="pnl.RemoveAllViews"; +Debug.JustUpdateDeviceLine(); +_pnl.runVoidMethod ("RemoveAllViews"); + BA.debugLineNum = 129;BA.debugLine="PanelsCache.Add(pnl)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_panelscache" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_pnl.getObject()))); + BA.debugLineNum = 130;BA.debugLine="Dim it As CLVItem = items.Get(pnl.Tag)"; +Debug.JustUpdateDeviceLine(); +_it = (__ref.getField(false,"_items" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _pnl.runMethod(false,"getTag")))));Debug.locals.put("it", _it);Debug.locals.put("it", _it); + BA.debugLineNum = 131;BA.debugLine="it.Panel = StubPanel"; +Debug.JustUpdateDeviceLine(); +_it.setField ("Panel",__ref.getField(false,"_stubpanel" /*RemoteObject*/ )); + }; + }; + } +}Debug.locals.put("pnl", _pnl); +; + BA.debugLineNum = 135;BA.debugLine="HandleScrollBar (FirstIndex)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.preoptimizedclv.class, "_handlescrollbar" /*RemoteObject*/ ,(Object)(_firstindex)); + BA.debugLineNum = 136;BA.debugLine="Return ListOfItemsThatShouldBeUpdated"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(false,"_listofitemsthatshouldbeupdated" /*RemoteObject*/ ); + BA.debugLineNum = 137;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/roundslider.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/roundslider.java new file mode 100644 index 0000000..f044e09 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/roundslider.java @@ -0,0 +1,53 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class roundslider { + public static RemoteObject myClass; + public roundslider() { + } + public static PCBA staticBA = new PCBA(null, roundslider.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _mvalue = RemoteObject.createImmutable(0); +public static RemoteObject _mmin = RemoteObject.createImmutable(0); +public static RemoteObject _mmax = RemoteObject.createImmutable(0); +public static RemoteObject _thumb = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper"); +public static RemoteObject _pnl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _circlerect = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas.B4XRect"); +public static RemoteObject _valuecolor = RemoteObject.createImmutable(0); +public static RemoteObject _stroke = RemoteObject.createImmutable(0); +public static RemoteObject _thumbsize = RemoteObject.createImmutable(0); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _mthumbbordercolor = RemoteObject.createImmutable(0); +public static RemoteObject _mthumbinnercolor = RemoteObject.createImmutable(0); +public static RemoteObject _mcirclefillcolor = RemoteObject.createImmutable(0); +public static RemoteObject _mcirclenonvaluecolor = RemoteObject.createImmutable(0); +public static RemoteObject _mrollover = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"CircleRect",_ref.getField(false, "_circlerect"),"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mCircleFillColor",_ref.getField(false, "_mcirclefillcolor"),"mCircleNonValueColor",_ref.getField(false, "_mcirclenonvaluecolor"),"mEventName",_ref.getField(false, "_meventname"),"mMax",_ref.getField(false, "_mmax"),"mMin",_ref.getField(false, "_mmin"),"mRollOver",_ref.getField(false, "_mrollover"),"mThumbBorderColor",_ref.getField(false, "_mthumbbordercolor"),"mThumbInnerColor",_ref.getField(false, "_mthumbinnercolor"),"mValue",_ref.getField(false, "_mvalue"),"pnl",_ref.getField(false, "_pnl"),"stroke",_ref.getField(false, "_stroke"),"Tag",_ref.getField(false, "_tag"),"thumb",_ref.getField(false, "_thumb"),"ThumbSize",_ref.getField(false, "_thumbsize"),"ValueColor",_ref.getField(false, "_valuecolor"),"xlbl",_ref.getField(false, "_xlbl"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/roundslider_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/roundslider_subs_0.java new file mode 100644 index 0000000..2f052ca --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/roundslider_subs_0.java @@ -0,0 +1,576 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class roundslider_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (roundslider) ","roundslider",69,__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 (SHARK2.keymon.com.mx.roundslider.class, "_createthumb" /*RemoteObject*/ );}; + BA.debugLineNum = 93;BA.debugLine="CircleRect.Initialize(ThumbSize + stroke, ThumbSi"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_circlerect" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_thumbsize" /*RemoteObject*/ ),__ref.getField(true,"_stroke" /*RemoteObject*/ )}, "+",1, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {__ref.getField(true,"_thumbsize" /*RemoteObject*/ ),__ref.getField(true,"_stroke" /*RemoteObject*/ )}, "+",1, 1))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_width,__ref.getField(true,"_thumbsize" /*RemoteObject*/ ),__ref.getField(true,"_stroke" /*RemoteObject*/ )}, "--",2, 0))),(Object)(BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {_height,__ref.getField(true,"_thumbsize" /*RemoteObject*/ ),__ref.getField(true,"_stroke" /*RemoteObject*/ )}, "--",2, 0)))); + BA.debugLineNum = 94;BA.debugLine="xlbl.SetLayoutAnimated(0, CircleRect.Left, Circle"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_xlbl" /*RemoteObject*/ ).runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, __ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getLeft"))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getTop"))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(int.class, __ref.getField(false,"_circlerect" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 95;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.roundslider.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 96;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; +roundslider._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",roundslider._meventname); + //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; +roundslider._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",roundslider._mcallback); + //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; +roundslider._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",roundslider._mbase); + //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; +roundslider._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",roundslider._xui); + //BA.debugLineNum = 11;BA.debugLine="Private cvs As B4XCanvas"; +roundslider._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",roundslider._cvs); + //BA.debugLineNum = 12;BA.debugLine="Private mValue As Int = 75"; +roundslider._mvalue = BA.numberCast(int.class, 75);__ref.setField("_mvalue",roundslider._mvalue); + //BA.debugLineNum = 13;BA.debugLine="Private mMin, mMax As Int"; +roundslider._mmin = RemoteObject.createImmutable(0);__ref.setField("_mmin",roundslider._mmin); +roundslider._mmax = RemoteObject.createImmutable(0);__ref.setField("_mmax",roundslider._mmax); + //BA.debugLineNum = 14;BA.debugLine="Private thumb As B4XBitmap"; +roundslider._thumb = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper");__ref.setField("_thumb",roundslider._thumb); + //BA.debugLineNum = 15;BA.debugLine="Private pnl As B4XView"; +roundslider._pnl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_pnl",roundslider._pnl); + //BA.debugLineNum = 16;BA.debugLine="Private xlbl As B4XView"; +roundslider._xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_xlbl",roundslider._xlbl); + //BA.debugLineNum = 17;BA.debugLine="Private CircleRect As B4XRect"; +roundslider._circlerect = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas.B4XRect");__ref.setField("_circlerect",roundslider._circlerect); + //BA.debugLineNum = 18;BA.debugLine="Private ValueColor As Int"; +roundslider._valuecolor = RemoteObject.createImmutable(0);__ref.setField("_valuecolor",roundslider._valuecolor); + //BA.debugLineNum = 19;BA.debugLine="Private stroke As Int"; +roundslider._stroke = RemoteObject.createImmutable(0);__ref.setField("_stroke",roundslider._stroke); + //BA.debugLineNum = 20;BA.debugLine="Private ThumbSize As Int"; +roundslider._thumbsize = RemoteObject.createImmutable(0);__ref.setField("_thumbsize",roundslider._thumbsize); + //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; +roundslider._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",roundslider._tag); + //BA.debugLineNum = 22;BA.debugLine="Private mThumbBorderColor As Int = 0xFF5B5B5B"; +roundslider._mthumbbordercolor = BA.numberCast(int.class, ((int)0xff5b5b5b));__ref.setField("_mthumbbordercolor",roundslider._mthumbbordercolor); + //BA.debugLineNum = 23;BA.debugLine="Private mThumbInnerColor As Int = xui.Color_White"; +roundslider._mthumbinnercolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White");__ref.setField("_mthumbinnercolor",roundslider._mthumbinnercolor); + //BA.debugLineNum = 24;BA.debugLine="Private mCircleFillColor As Int = xui.Color_White"; +roundslider._mcirclefillcolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_White");__ref.setField("_mcirclefillcolor",roundslider._mcirclefillcolor); + //BA.debugLineNum = 25;BA.debugLine="Private mCircleNonValueColor As Int = 0xFFB6B6B6"; +roundslider._mcirclenonvaluecolor = BA.numberCast(int.class, ((int)0xffb6b6b6));__ref.setField("_mcirclenonvaluecolor",roundslider._mcirclenonvaluecolor); + //BA.debugLineNum = 26;BA.debugLine="Private mRollOver As Boolean"; +roundslider._mrollover = RemoteObject.createImmutable(false);__ref.setField("_mrollover",roundslider._mrollover); + //BA.debugLineNum = 27;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createthumb(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("CreateThumb (roundslider) ","roundslider",69,__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",69,__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 (SHARK2.keymon.com.mx.roundslider.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 55;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Draw (roundslider) ","roundslider",69,__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",69,__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",69,__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",69,__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 (SHARK2.keymon.com.mx.roundslider.class, "_draw" /*RemoteObject*/ ); + }; + BA.debugLineNum = 154;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcirclecolor(RemoteObject __ref,RemoteObject _nonvaluecolor,RemoteObject _innercolor) throws Exception{ +try { + Debug.PushSubsStack("SetCircleColor (roundslider) ","roundslider",69,__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 (SHARK2.keymon.com.mx.roundslider.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 68;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setrange(RemoteObject __ref,RemoteObject _newmin,RemoteObject _newmax) throws Exception{ +try { + Debug.PushSubsStack("SetRange (roundslider) ","roundslider",69,__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 (SHARK2.keymon.com.mx.roundslider.class, "_setvalue" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_mvalue" /*RemoteObject*/ ))); + BA.debugLineNum = 180;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setthumbcolor(RemoteObject __ref,RemoteObject _bordercolor,RemoteObject _innercolor) throws Exception{ +try { + Debug.PushSubsStack("SetThumbColor (roundslider) ","roundslider",69,__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 (SHARK2.keymon.com.mx.roundslider.class, "_createthumb" /*RemoteObject*/ ); + BA.debugLineNum = 61;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.roundslider.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 62;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setvalue(RemoteObject __ref,RemoteObject _v) throws Exception{ +try { + Debug.PushSubsStack("setValue (roundslider) ","roundslider",69,__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 (SHARK2.keymon.com.mx.roundslider.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 173;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/scrollinglabel.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/scrollinglabel.java new file mode 100644 index 0000000..ea925e8 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/scrollinglabel.java @@ -0,0 +1,44 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class scrollinglabel { + public static RemoteObject myClass; + public scrollinglabel() { + } + public static PCBA staticBA = new PCBA(null, scrollinglabel.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _mtext = RemoteObject.createImmutable(""); +public static RemoteObject _taskindex = RemoteObject.createImmutable(0); +public static RemoteObject _fnt = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont"); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _widthpersecond = RemoteObject.createImmutable(0); +public static RemoteObject _startpositiondelay = RemoteObject.createImmutable(0); +public static RemoteObject _mtextcolor = RemoteObject.createImmutable(0); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"fnt",_ref.getField(false, "_fnt"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mEventName",_ref.getField(false, "_meventname"),"mText",_ref.getField(false, "_mtext"),"mTextColor",_ref.getField(false, "_mtextcolor"),"StartPositionDelay",_ref.getField(false, "_startpositiondelay"),"Tag",_ref.getField(false, "_tag"),"taskIndex",_ref.getField(false, "_taskindex"),"WidthPerSecond",_ref.getField(false, "_widthpersecond"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/scrollinglabel_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/scrollinglabel_subs_0.java new file mode 100644 index 0000000..67d8068 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/scrollinglabel_subs_0.java @@ -0,0 +1,582 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class scrollinglabel_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (scrollinglabel) ","scrollinglabel",70,__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 (SHARK2.keymon.com.mx.scrollinglabel.class, "_settext" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_mtext" /*RemoteObject*/ ))); + BA.debugLineNum = 43;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 3;BA.debugLine="Private mEventName As String 'ignore"; +scrollinglabel._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",scrollinglabel._meventname); + //BA.debugLineNum = 4;BA.debugLine="Private mCallBack As Object 'ignore"; +scrollinglabel._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",scrollinglabel._mcallback); + //BA.debugLineNum = 5;BA.debugLine="Public mBase As B4XView"; +scrollinglabel._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",scrollinglabel._mbase); + //BA.debugLineNum = 6;BA.debugLine="Private xui As XUI 'ignore"; +scrollinglabel._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",scrollinglabel._xui); + //BA.debugLineNum = 7;BA.debugLine="Private mText As String"; +scrollinglabel._mtext = RemoteObject.createImmutable("");__ref.setField("_mtext",scrollinglabel._mtext); + //BA.debugLineNum = 8;BA.debugLine="Private taskIndex As Int"; +scrollinglabel._taskindex = RemoteObject.createImmutable(0);__ref.setField("_taskindex",scrollinglabel._taskindex); + //BA.debugLineNum = 9;BA.debugLine="Private fnt As B4XFont"; +scrollinglabel._fnt = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont");__ref.setField("_fnt",scrollinglabel._fnt); + //BA.debugLineNum = 10;BA.debugLine="Private cvs As B4XCanvas"; +scrollinglabel._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",scrollinglabel._cvs); + //BA.debugLineNum = 11;BA.debugLine="Public Tag As Object"; +scrollinglabel._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",scrollinglabel._tag); + //BA.debugLineNum = 12;BA.debugLine="Public WidthPerSecond As Int = 100dip"; +scrollinglabel._widthpersecond = scrollinglabel.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100)));__ref.setField("_widthpersecond",scrollinglabel._widthpersecond); + //BA.debugLineNum = 13;BA.debugLine="Public StartPositionDelay As Int = 1000"; +scrollinglabel._startpositiondelay = BA.numberCast(int.class, 1000);__ref.setField("_startpositiondelay",scrollinglabel._startpositiondelay); + //BA.debugLineNum = 14;BA.debugLine="Private mTextColor As Int = xui.Color_Black"; +scrollinglabel._mtextcolor = __ref.getField(false,"_xui" /*RemoteObject*/ ).getField(true,"Color_Black");__ref.setField("_mtextcolor",scrollinglabel._mtextcolor); + //BA.debugLineNum = 15;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (scrollinglabel) ","scrollinglabel",70,__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 (SHARK2.keymon.com.mx.scrollinglabel.class, "_settext" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_mtext" /*RemoteObject*/ ))); + BA.debugLineNum = 38;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _gettext(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getText (scrollinglabel) ","scrollinglabel",70,__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",70,__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",70,__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",70,__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",70,__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 (SHARK2.keymon.com.mx.scrollinglabel.class, "_measuretextwidth" /*RemoteObject*/ ,(Object)(_t),(Object)(__ref.getField(false,"_fnt" /*RemoteObject*/ )));Debug.locals.put("originalTextWidth", _originaltextwidth);Debug.locals.put("originalTextWidth", _originaltextwidth); + BA.debugLineNum = 60;BA.debugLine="mText = t"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mtext" /*RemoteObject*/ ,_t); + BA.debugLineNum = 61;BA.debugLine="If NeedToCreateNewLabel Then"; +Debug.JustUpdateDeviceLine(); +if (_needtocreatenewlabel.get().booleanValue()) { + BA.debugLineNum = 62;BA.debugLine="parent.RemoveAllViews"; +Debug.JustUpdateDeviceLine(); +_parent.runVoidMethod ("RemoveAllViews"); + BA.debugLineNum = 63;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = __ref.getField(false,"_xui" /*RemoteObject*/ ).runMethod(false,"CreatePanel",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 64;BA.debugLine="parent.AddView(p, 0, 0, parent.Width, parent.Hei"; +Debug.JustUpdateDeviceLine(); +_parent.runVoidMethod ("AddView",(Object)((_p.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_parent.runMethod(true,"getWidth")),(Object)(_parent.runMethod(true,"getHeight"))); + BA.debugLineNum = 65;BA.debugLine="Dim lbl As Label"; +Debug.JustUpdateDeviceLine(); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 66;BA.debugLine="lbl.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_lbl.runVoidMethod ("Initialize",__ref.getField(false, "ba"),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 68;BA.debugLine="lbl.SingleLine = True"; +Debug.JustUpdateDeviceLine(); +_lbl.runVoidMethod ("setSingleLine",scrollinglabel.__c.getField(true,"True")); + BA.debugLineNum = 69;BA.debugLine="lbl.Padding = Array As Int(0, 0, 0, 0)"; +Debug.JustUpdateDeviceLine(); +_lbl.runMethod(false,"setPadding",RemoteObject.createNewArray("int",new int[] {4},new Object[] {BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0),BA.numberCast(int.class, 0)})); + BA.debugLineNum = 71;BA.debugLine="Dim xlbl As B4XView = lbl"; +Debug.JustUpdateDeviceLine(); +_xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_xlbl = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lbl.getObject());Debug.locals.put("xlbl", _xlbl);Debug.locals.put("xlbl", _xlbl); + BA.debugLineNum = 72;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; +Debug.JustUpdateDeviceLine(); +_xlbl.runVoidMethod ("SetTextAlignment",(Object)(BA.ObjectToString("CENTER")),(Object)(RemoteObject.createImmutable("LEFT"))); + BA.debugLineNum = 73;BA.debugLine="xlbl.Font = fnt"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(false,"setFont",__ref.getField(false,"_fnt" /*RemoteObject*/ )); + BA.debugLineNum = 75;BA.debugLine="p.AddView(xlbl, 0, 0, mBase.Width, mBase.Height)"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("AddView",(Object)((_xlbl.getObject())),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight"))); + }; + BA.debugLineNum = 77;BA.debugLine="xlbl.TextColor = mTextColor"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setTextColor",__ref.getField(true,"_mtextcolor" /*RemoteObject*/ )); + BA.debugLineNum = 78;BA.debugLine="If originalTextWidth <= mBase.Width Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("k",_originaltextwidth,BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth")))) { + BA.debugLineNum = 79;BA.debugLine="xlbl.Text = t"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setText",BA.ObjectToCharSequence(_t)); + BA.debugLineNum = 80;BA.debugLine="p.Tag = \"static\""; +Debug.JustUpdateDeviceLine(); +_p.runMethod(false,"setTag",RemoteObject.createImmutable(("static"))); + BA.debugLineNum = 81;BA.debugLine="StopScrolling"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.scrollinglabel.class, "_stopscrolling" /*RemoteObject*/ ); + }else { + BA.debugLineNum = 83;BA.debugLine="p.Tag = \"\""; +Debug.JustUpdateDeviceLine(); +_p.runMethod(false,"setTag",RemoteObject.createImmutable((""))); + BA.debugLineNum = 84;BA.debugLine="Dim duplicateText As String = t & \" \" & t"; +Debug.JustUpdateDeviceLine(); +_duplicatetext = RemoteObject.concat(_t,RemoteObject.createImmutable(" "),_t);Debug.locals.put("duplicateText", _duplicatetext);Debug.locals.put("duplicateText", _duplicatetext); + BA.debugLineNum = 85;BA.debugLine="Dim Width As Float = MeasureTextWidth(duplicateT"; +Debug.JustUpdateDeviceLine(); +_width = __ref.runClassMethod (SHARK2.keymon.com.mx.scrollinglabel.class, "_measuretextwidth" /*RemoteObject*/ ,(Object)(_duplicatetext),(Object)(__ref.getField(false,"_fnt" /*RemoteObject*/ )));Debug.locals.put("Width", _width);Debug.locals.put("Width", _width); + BA.debugLineNum = 86;BA.debugLine="p.Width = Width"; +Debug.JustUpdateDeviceLine(); +_p.runMethod(true,"setWidth",BA.numberCast(int.class, _width)); + BA.debugLineNum = 87;BA.debugLine="xlbl.Width = Width"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setWidth",BA.numberCast(int.class, _width)); + BA.debugLineNum = 88;BA.debugLine="xlbl.Text = duplicateText"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setText",BA.ObjectToCharSequence(_duplicatetext)); + BA.debugLineNum = 89;BA.debugLine="StartScrolling (p, originalTextWidth)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.scrollinglabel.class, "_startscrolling" /*void*/ ,(Object)(_p),(Object)(_originaltextwidth)); + }; + BA.debugLineNum = 91;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _settextcolor(RemoteObject __ref,RemoteObject _c) throws Exception{ +try { + Debug.PushSubsStack("setTextColor (scrollinglabel) ","scrollinglabel",70,__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 (SHARK2.keymon.com.mx.scrollinglabel.class, "_settext" /*RemoteObject*/ ,(Object)(__ref.getField(true,"_mtext" /*RemoteObject*/ ))); + BA.debugLineNum = 124;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static void _startscrolling(RemoteObject __ref,RemoteObject _p,RemoteObject _originalwidth) throws Exception{ +try { + Debug.PushSubsStack("StartScrolling (scrollinglabel) ","scrollinglabel",70,__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(SHARK2.keymon.com.mx.scrollinglabel parent,RemoteObject __ref,RemoteObject _p,RemoteObject _originalwidth) { +this.parent = parent; +this.__ref = __ref; +this._p = _p; +this._originalwidth = _originalwidth; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +RemoteObject __ref; +SHARK2.keymon.com.mx.scrollinglabel parent; +RemoteObject _p; +RemoteObject _originalwidth; +RemoteObject _myindex = RemoteObject.createImmutable(0); +RemoteObject _duration = RemoteObject.createImmutable(0); + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("StartScrolling (scrollinglabel) ","scrollinglabel",70,__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",70,__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/SHARK2/keymon/com/mx/starter.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/starter.java new file mode 100644 index 0000000..8d9419e --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/starter.java @@ -0,0 +1,92 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class starter implements IRemote{ + public static starter mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public starter() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("starter"), "SHARK2.keymon.com.mx.starter"); + } + public static RemoteObject getObject() { + return myClass; + } + public RemoteObject _service; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + _service = (RemoteObject) args[2]; + remoteMe = RemoteObject.declareNull("SHARK2.keymon.com.mx.starter"); + anywheresoftware.b4a.keywords.Common.Density = (Float)args[3]; + pcBA = new PCBA(this, starter.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + }public static RemoteObject runMethod(boolean notUsed, String method, Object... args) throws Exception{ + return (RemoteObject) mostCurrent.pcBA.raiseEvent(method.substring(1), args); + } + public static void runVoidMethod(String method, Object... args) throws Exception{ + runMethod(false, method, args); + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _gps = RemoteObject.declareNull("anywheresoftware.b4a.gps.GPS"); +public static RemoteObject _skmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _s = RemoteObject.declareNull("SHARK2.keymon.com.mx.c_subs"); +public static RemoteObject _ph = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +public static RemoteObject _rp = RemoteObject.declareNull("anywheresoftware.b4a.objects.RuntimePermissions"); +public static RemoteObject _flp = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper"); +public static RemoteObject _reqmanager = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager"); +public static RemoteObject _dbreqserver = RemoteObject.createImmutable(""); +public static RemoteObject _timer1 = RemoteObject.declareNull("anywheresoftware.b4a.objects.Timer"); +public static RemoteObject _interval = RemoteObject.createImmutable(0); +public static RemoteObject _ruta = RemoteObject.createImmutable(""); +public static RemoteObject _logs = RemoteObject.declareNull("anywheresoftware.b4a.keywords.StringBuilderWrapper"); +public static RemoteObject _logcat = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.LogCat"); +public static RemoteObject _muestraprogreso = RemoteObject.createImmutable(""); +public static RemoteObject _logger = RemoteObject.createImmutable(false); +public static RemoteObject _mac_impresora = RemoteObject.createImmutable(""); +public static RemoteObject _marcacel = RemoteObject.createImmutable(""); +public static RemoteObject _tabla = RemoteObject.createImmutable(""); +public static RemoteObject _pre_viejo = RemoteObject.createImmutable(0f); +public static RemoteObject _btadmin = RemoteObject.declareNull("anywheresoftware.b4a.objects.Serial.BluetoothAdmin"); +public static RemoteObject _bluetoothstate = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(SHARK2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(SHARK2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(SHARK2.keymon.com.mx.b4xpages.class),"BluetoothState",starter._bluetoothstate,"BTAdmin",starter._btadmin,"DateUtils",starter.mostCurrent._dateutils,"DBReqServer",starter._dbreqserver,"FLP",starter._flp,"gps",starter._gps,"HttpUtils2Service",Debug.moduleToString(SHARK2.keymon.com.mx.httputils2service.class),"Interval",starter._interval,"logcat",starter._logcat,"logger",starter._logger,"logs",starter._logs,"MAC_IMPRESORA",starter._mac_impresora,"Main",Debug.moduleToString(SHARK2.keymon.com.mx.main.class),"MAPA_CLIENTE",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_rutas.class),"marcaCel",starter._marcacel,"muestraProgreso",starter._muestraprogreso,"newinst2",Debug.moduleToString(SHARK2.keymon.com.mx.newinst2.class),"NotificationService",Debug.moduleToString(SHARK2.keymon.com.mx.notificationservice.class),"Pendientes",Debug.moduleToString(SHARK2.keymon.com.mx.pendientes.class),"ph",starter._ph,"pre_viejo",starter._pre_viejo,"reqManager",starter._reqmanager,"rp",starter._rp,"ruta",starter._ruta,"s",starter._s,"Service",starter.mostCurrent._service,"skmt",starter._skmt,"Subs",Debug.moduleToString(SHARK2.keymon.com.mx.subs.class),"tabla",starter._tabla,"Timer1",starter._timer1,"Tracker",Debug.moduleToString(SHARK2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(SHARK2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/starter_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/starter_subs_0.java new file mode 100644 index 0000000..2af06f8 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/starter_subs_0.java @@ -0,0 +1,385 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class starter_subs_0 { + + +public static RemoteObject _application_error(RemoteObject _error,RemoteObject _stacktrace) throws Exception{ +try { + Debug.PushSubsStack("Application_Error (starter) ","starter",29,starter.processBA,starter.mostCurrent,117); +if (RapidSub.canDelegate("application_error")) { return SHARK2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","application_error", _error, _stacktrace);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _l = RemoteObject.createImmutable(0L); +Debug.locals.put("Error", _error); +Debug.locals.put("StackTrace", _stacktrace); + BA.debugLineNum = 117;BA.debugLine="Sub Application_Error (Error As Exception, StackTr"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 119;BA.debugLine="Dim jo As JavaObject"; +Debug.ShouldStop(4194304); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject");Debug.locals.put("jo", _jo); + BA.debugLineNum = 120;BA.debugLine="Dim l As Long = 500: jo.InitializeStatic(\"java.la"; +Debug.ShouldStop(8388608); +_l = BA.numberCast(long.class, 500);Debug.locals.put("l", _l);Debug.locals.put("l", _l); + BA.debugLineNum = 120;BA.debugLine="Dim l As Long = 500: jo.InitializeStatic(\"java.la"; +Debug.ShouldStop(8388608); +_jo.runMethod(false,"InitializeStatic",(Object)(RemoteObject.createImmutable("java.lang.Thread"))).runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("sleep")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_l)}))); + BA.debugLineNum = 121;BA.debugLine="logcat.LogCatStop"; +Debug.ShouldStop(16777216); +starter._logcat.runVoidMethod ("LogCatStop"); + BA.debugLineNum = 122;BA.debugLine="logs.Append(StackTrace)"; +Debug.ShouldStop(33554432); +starter._logs.runVoidMethod ("Append",(Object)(_stacktrace)); + BA.debugLineNum = 123;BA.debugLine="Subs.revisaBD"; +Debug.ShouldStop(67108864); +starter.mostCurrent._subs.runVoidMethod ("_revisabd" /*RemoteObject*/ ,starter.processBA); + BA.debugLineNum = 124;BA.debugLine="Subs.errorLog.ExecNonQuery2(\"INSERT INTO errores("; +Debug.ShouldStop(134217728); +starter.mostCurrent._subs._errorlog /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO errores(fecha, error) VALUES (?,?)")),(Object)(starter.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(starter.mostCurrent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,starter.processBA,(Object)(BA.NumberToString(starter.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"))))),(starter._logs.getObject())}))))); + BA.debugLineNum = 125;BA.debugLine="Return True"; +Debug.ShouldStop(268435456); +if (true) return starter.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 126;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _btadmin_statechanged(RemoteObject _newstate,RemoteObject _oldstate) throws Exception{ +try { + Debug.PushSubsStack("BTAdmin_StateChanged (starter) ","starter",29,starter.processBA,starter.mostCurrent,55); +if (RapidSub.canDelegate("btadmin_statechanged")) { return SHARK2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","btadmin_statechanged", _newstate, _oldstate);} +Debug.locals.put("NewState", _newstate); +Debug.locals.put("OldState", _oldstate); + BA.debugLineNum = 55;BA.debugLine="Private Sub BTAdmin_StateChanged (NewState As Int,"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 56;BA.debugLine="If logger Then Log(\"BT state changed: \" & NewStat"; +Debug.ShouldStop(8388608); +if (starter._logger.get().booleanValue()) { +starter.mostCurrent.__c.runVoidMethod ("LogImpl","535979265",RemoteObject.concat(RemoteObject.createImmutable("BT state changed: "),_newstate),0);}; + BA.debugLineNum = 57;BA.debugLine="BluetoothState = NewState = BTAdmin.STATE_ON"; +Debug.ShouldStop(16777216); +starter._bluetoothstate = BA.ObjectToBoolean(RemoteObject.solveBoolean("=",_newstate,BA.numberCast(double.class, starter._btadmin.getField(true,"STATE_ON")))); + 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 _envia_ultima_gps() throws Exception{ +try { + Debug.PushSubsStack("ENVIA_ULTIMA_GPS (starter) ","starter",29,starter.processBA,starter.mostCurrent,87); +if (RapidSub.canDelegate("envia_ultima_gps")) { return SHARK2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","envia_ultima_gps");} +RemoteObject _cmd = RemoteObject.declareNull("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand"); + BA.debugLineNum = 87;BA.debugLine="Sub ENVIA_ULTIMA_GPS"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 88;BA.debugLine="Dim logger As Boolean = False"; +Debug.ShouldStop(8388608); +starter._logger = starter.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 89;BA.debugLine="If logger Then LogColor(\"Iniciamos ENVIA_ULTIMA_G"; +Debug.ShouldStop(16777216); +if (starter._logger.get().booleanValue()) { +starter.mostCurrent.__c.runVoidMethod ("LogImpl","536372482",BA.ObjectToString("Iniciamos ENVIA_ULTIMA_GPS"),starter.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta"));}; + BA.debugLineNum = 90;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(33554432); +_cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 94;BA.debugLine="Dim cmd As DBCommand"; +Debug.ShouldStop(536870912); +_cmd = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager._dbcommand");Debug.locals.put("cmd", _cmd); + BA.debugLineNum = 95;BA.debugLine="cmd.Initialize"; +Debug.ShouldStop(1073741824); +_cmd.runVoidMethod ("Initialize"); + BA.debugLineNum = 96;BA.debugLine="cmd.Name = \"UPDATE_SHARK2_ACTUAL2_GPS\""; +Debug.ShouldStop(-2147483648); +_cmd.setField ("Name" /*RemoteObject*/ ,BA.ObjectToString("UPDATE_SHARK2_ACTUAL2_GPS")); + BA.debugLineNum = 97;BA.debugLine="If B4XPages.MainPage.lat_gps.Length < 15 Then B4X"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("<",starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_lat_gps" /*RemoteObject*/ ).runMethod(true,"length"),BA.numberCast(double.class, 15))) { +starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).setField ("_lat_gps" /*RemoteObject*/ ,RemoteObject.concat(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_lat_gps" /*RemoteObject*/ ),RemoteObject.createImmutable("0")));}; + BA.debugLineNum = 98;BA.debugLine="cmd.Parameters = Array As Object(B4XPages.MainPag"; +Debug.ShouldStop(2); +_cmd.setField ("Parameters" /*RemoteObject*/ ,RemoteObject.createNewArray("Object",new int[] {12},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,"_clientesventa" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_clientesvisitados" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_lat_gps" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_lon_gps" /*RemoteObject*/ )),(starter.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,starter.processBA).getField(true,"_batt" /*RemoteObject*/ )),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((0)),RemoteObject.createImmutable((0)),(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 = 99;BA.debugLine="If logger Then Log($\"montoActual: ${B4XPages.Main"; +Debug.ShouldStop(4); +if (starter._logger.get().booleanValue()) { +starter.mostCurrent.__c.runVoidMethod ("LogImpl","536372492",(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(", 0, 0, 0, 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 = 100;BA.debugLine="reqManager.ExecuteCommand(cmd, \"inst_visitas\")"; +Debug.ShouldStop(8); +starter._reqmanager.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_executecommand" /*RemoteObject*/ ,(Object)(_cmd),(Object)((RemoteObject.createImmutable("inst_visitas")))); + BA.debugLineNum = 101;BA.debugLine="skmt.ExecNonQuery2(\"Update cat_variables set CAT_"; +Debug.ShouldStop(16); +starter._skmt.runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("Update cat_variables set CAT_VA_VALOR = ? WHERE CAT_VA_DESCRIPCION = ?")),(Object)(starter.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {starter.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(starter.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"))),RemoteObject.createImmutable("HoraIngreso")}))))); + BA.debugLineNum = 103;BA.debugLine="Timer1.Enabled = False"; +Debug.ShouldStop(64); +starter._timer1.runMethod(true,"setEnabled",starter.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 104;BA.debugLine="Timer1.Interval = Interval * 1000"; +Debug.ShouldStop(128); +starter._timer1.runMethod(true,"setInterval",BA.numberCast(long.class, RemoteObject.solve(new RemoteObject[] {starter._interval,RemoteObject.createImmutable(1000)}, "*",0, 1))); + BA.debugLineNum = 105;BA.debugLine="Timer1.Enabled = True"; +Debug.ShouldStop(256); +starter._timer1.runMethod(true,"setEnabled",starter.mostCurrent.__c.getField(true,"True")); + 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 _gps_locationchanged(RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("GPS_LocationChanged (starter) ","starter",29,starter.processBA,starter.mostCurrent,75); +if (RapidSub.canDelegate("gps_locationchanged")) { return SHARK2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","gps_locationchanged", _location1);} +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 75;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(1024); + 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 _logcat_logcatdata(RemoteObject _buffer,RemoteObject _length) throws Exception{ +try { + Debug.PushSubsStack("logcat_LogCatData (starter) ","starter",29,starter.processBA,starter.mostCurrent,109); +if (RapidSub.canDelegate("logcat_logcatdata")) { return SHARK2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","logcat_logcatdata", _buffer, _length);} +Debug.locals.put("Buffer", _buffer); +Debug.locals.put("Length", _length); + BA.debugLineNum = 109;BA.debugLine="Private Sub logcat_LogCatData (Buffer() As Byte, L"; +Debug.ShouldStop(4096); + BA.debugLineNum = 110;BA.debugLine="logs.Append(BytesToString(Buffer, 0, Length, \"utf"; +Debug.ShouldStop(8192); +starter._logs.runVoidMethod ("Append",(Object)(starter.mostCurrent.__c.runMethod(true,"BytesToString",(Object)(_buffer),(Object)(BA.numberCast(int.class, 0)),(Object)(_length),(Object)(RemoteObject.createImmutable("utf8"))))); + BA.debugLineNum = 111;BA.debugLine="If logs.Length > 4000 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",starter._logs.runMethod(true,"getLength"),BA.numberCast(double.class, 4000))) { + BA.debugLineNum = 112;BA.debugLine="logs.Remove(0, logs.Length - 2000) 'Obtenemos lo"; +Debug.ShouldStop(32768); +starter._logs.runVoidMethod ("Remove",(Object)(BA.numberCast(int.class, 0)),(Object)(RemoteObject.solve(new RemoteObject[] {starter._logs.runMethod(true,"getLength"),RemoteObject.createImmutable(2000)}, "-",1, 1))); + }; + BA.debugLineNum = 114;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 6;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 9;BA.debugLine="Public gps As GPS"; +starter._gps = RemoteObject.createNew ("anywheresoftware.b4a.gps.GPS"); + //BA.debugLineNum = 10;BA.debugLine="Dim skmt As SQL"; +starter._skmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL"); + //BA.debugLineNum = 11;BA.debugLine="Dim s As C_Subs"; +starter._s = RemoteObject.createNew ("SHARK2.keymon.com.mx.c_subs"); + //BA.debugLineNum = 12;BA.debugLine="Dim ph As Phone"; +starter._ph = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone"); + //BA.debugLineNum = 13;BA.debugLine="Public rp As RuntimePermissions"; +starter._rp = RemoteObject.createNew ("anywheresoftware.b4a.objects.RuntimePermissions"); + //BA.debugLineNum = 14;BA.debugLine="Public FLP As FusedLocationProvider"; +starter._flp = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper"); + //BA.debugLineNum = 16;BA.debugLine="Dim reqManager As DBRequestManager"; +starter._reqmanager = RemoteObject.createNew ("SHARK2.keymon.com.mx.dbrequestmanager"); + //BA.debugLineNum = 17;BA.debugLine="Dim DBReqServer As String = \"http://keymon.net:17"; +starter._dbreqserver = BA.ObjectToString("http://keymon.net:1781"); + //BA.debugLineNum = 21;BA.debugLine="Dim Timer1 As Timer"; +starter._timer1 = RemoteObject.createNew ("anywheresoftware.b4a.objects.Timer"); + //BA.debugLineNum = 22;BA.debugLine="Dim Interval As Int = 10"; +starter._interval = BA.numberCast(int.class, 10); + //BA.debugLineNum = 23;BA.debugLine="Dim ruta As String = File.DirInternal"; +starter._ruta = starter.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal"); + //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="Dim muestraProgreso = 0"; +starter._muestraprogreso = BA.NumberToString(0); + //BA.debugLineNum = 28;BA.debugLine="Dim logger As Boolean = False"; +starter._logger = starter.mostCurrent.__c.getField(true,"False"); + //BA.debugLineNum = 29;BA.debugLine="Dim MAC_IMPRESORA As String"; +starter._mac_impresora = RemoteObject.createImmutable(""); + //BA.debugLineNum = 30;BA.debugLine="Dim marcaCel As String = ph.manufacturer"; +starter._marcacel = starter._ph.runMethod(true,"getManufacturer"); + //BA.debugLineNum = 31;BA.debugLine="Dim tabla As String"; +starter._tabla = RemoteObject.createImmutable(""); + //BA.debugLineNum = 32;BA.debugLine="Dim pre_viejo As Float"; +starter._pre_viejo = RemoteObject.createImmutable(0f); + //BA.debugLineNum = 33;BA.debugLine="Private BTAdmin As BluetoothAdmin"; +starter._btadmin = RemoteObject.createNew ("anywheresoftware.b4a.objects.Serial.BluetoothAdmin"); + //BA.debugLineNum = 34;BA.debugLine="Public BluetoothState As Boolean"; +starter._bluetoothstate = RemoteObject.createImmutable(false); + //BA.debugLineNum = 35;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _reinicializareqmanager(RemoteObject _srv) throws Exception{ +try { + Debug.PushSubsStack("reinicializaReqManager (starter) ","starter",29,starter.processBA,starter.mostCurrent,129); +if (RapidSub.canDelegate("reinicializareqmanager")) { return SHARK2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","reinicializareqmanager", _srv);} +Debug.locals.put("srv", _srv); + BA.debugLineNum = 129;BA.debugLine="Sub reinicializaReqManager(srv As String)"; +Debug.ShouldStop(1); + BA.debugLineNum = 130;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES whe"; +Debug.ShouldStop(2); +starter._skmt.runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?")),(Object)(starter.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(RemoteObject.createImmutable("SERVER"))}))))); + BA.debugLineNum = 131;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CAT"; +Debug.ShouldStop(4); +starter._skmt.runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)")),(Object)(starter.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {RemoteObject.createImmutable(("SERVER")),(_srv)}))))); + BA.debugLineNum = 132;BA.debugLine="DBReqServer = srv"; +Debug.ShouldStop(8); +starter._dbreqserver = _srv; + BA.debugLineNum = 133;BA.debugLine="reqManager.Initialize(Me, srv)"; +Debug.ShouldStop(16); +starter._reqmanager.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,starter.processBA,(Object)(starter.getObject()),(Object)(_srv)); + BA.debugLineNum = 134;BA.debugLine="LogColor(srv, Colors.red)"; +Debug.ShouldStop(32); +starter.mostCurrent.__c.runVoidMethod ("LogImpl","536569093",_srv,starter.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + 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 _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (starter) ","starter",29,starter.processBA,starter.mostCurrent,37); +if (RapidSub.canDelegate("service_create")) { return SHARK2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","service_create");} + BA.debugLineNum = 37;BA.debugLine="Sub Service_Create"; +Debug.ShouldStop(16); + BA.debugLineNum = 40;BA.debugLine="gps.Initialize(\"GPS\")"; +Debug.ShouldStop(128); +starter._gps.runVoidMethod ("Initialize",(Object)(RemoteObject.createImmutable("GPS"))); + BA.debugLineNum = 41;BA.debugLine="s.Initialize(Me, \"Subs\") 'Inicializamos la clase"; +Debug.ShouldStop(256); +starter._s.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_initialize" /*RemoteObject*/ ,starter.processBA,(Object)(starter.getObject()),(Object)(RemoteObject.createImmutable("Subs"))); + BA.debugLineNum = 42;BA.debugLine="skmt = s.inicializaBD(File.DirInternal, \"kmt.db\")"; +Debug.ShouldStop(512); +starter._skmt = starter._s.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_inicializabd" /*RemoteObject*/ ,(Object)(starter.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmt.db"))); + BA.debugLineNum = 43;BA.debugLine="BTAdmin.Initialize(\"admin\")"; +Debug.ShouldStop(1024); +starter._btadmin.runVoidMethod ("Initialize",starter.processBA,(Object)(RemoteObject.createImmutable("admin"))); + BA.debugLineNum = 45;BA.debugLine="Timer1.Initialize(\"Timer1\", Interval * 1000)"; +Debug.ShouldStop(4096); +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 = 46;BA.debugLine="Timer1.Enabled = True"; +Debug.ShouldStop(8192); +starter._timer1.runMethod(true,"setEnabled",starter.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 51;BA.debugLine="logs.Initialize"; +Debug.ShouldStop(262144); +starter._logs.runVoidMethod ("Initialize"); + BA.debugLineNum = 53;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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,83); +if (RapidSub.canDelegate("service_destroy")) { return SHARK2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","service_destroy");} + BA.debugLineNum = 83;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(262144); + 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 _service_start(RemoteObject _startingintent) throws Exception{ +try { + Debug.PushSubsStack("Service_Start (starter) ","starter",29,starter.processBA,starter.mostCurrent,61); +if (RapidSub.canDelegate("service_start")) { return SHARK2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","service_start", _startingintent);} +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 61;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 62;BA.debugLine="Service.StopAutomaticForeground 'Starter service"; +Debug.ShouldStop(536870912); +starter.mostCurrent._service.runVoidMethod ("StopAutomaticForeground"); + BA.debugLineNum = 63;BA.debugLine="Subs.revisaBD"; +Debug.ShouldStop(1073741824); +starter.mostCurrent._subs.runVoidMethod ("_revisabd" /*RemoteObject*/ ,starter.processBA); + BA.debugLineNum = 65;BA.debugLine="If s.traeDBReqServerDeBD(skmt) <> \"N/A\" And s.tra"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("!",starter._s.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_traedbreqserverdebd" /*RemoteObject*/ ,(Object)(starter._skmt)),BA.ObjectToString("N/A")) && RemoteObject.solveBoolean("!",starter._s.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_traedbreqserverdebd" /*RemoteObject*/ ,(Object)(starter._skmt)),BA.ObjectToString(""))) { +starter._dbreqserver = starter._s.runClassMethod (SHARK2.keymon.com.mx.c_subs.class, "_traedbreqserverdebd" /*RemoteObject*/ ,(Object)(starter._skmt));}; + BA.debugLineNum = 66;BA.debugLine="reqManager.Initialize(Me, DBReqServer)"; +Debug.ShouldStop(2); +starter._reqmanager.runClassMethod (SHARK2.keymon.com.mx.dbrequestmanager.class, "_initialize" /*RemoteObject*/ ,starter.processBA,(Object)(starter.getObject()),(Object)(starter._dbreqserver)); + BA.debugLineNum = 67;BA.debugLine="Log($\"Starter - |${DBReqServer}|\"$)"; +Debug.ShouldStop(4); +starter.mostCurrent.__c.runVoidMethod ("LogImpl","536044806",(RemoteObject.concat(RemoteObject.createImmutable("Starter - |"),starter.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((starter._dbreqserver))),RemoteObject.createImmutable("|"))),0); + 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 _service_taskremoved() throws Exception{ +try { + Debug.PushSubsStack("Service_TaskRemoved (starter) ","starter",29,starter.processBA,starter.mostCurrent,79); +if (RapidSub.canDelegate("service_taskremoved")) { return SHARK2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","service_taskremoved");} + BA.debugLineNum = 79;BA.debugLine="Sub Service_TaskRemoved"; +Debug.ShouldStop(16384); + 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 _timer1_tick() throws Exception{ +try { + Debug.PushSubsStack("Timer1_Tick (starter) ","starter",29,starter.processBA,starter.mostCurrent,70); +if (RapidSub.canDelegate("timer1_tick")) { return SHARK2.keymon.com.mx.starter.remoteMe.runUserSub(false, "starter","timer1_tick");} + BA.debugLineNum = 70;BA.debugLine="Private Sub Timer1_Tick"; +Debug.ShouldStop(32); + BA.debugLineNum = 72;BA.debugLine="ENVIA_ULTIMA_GPS"; +Debug.ShouldStop(128); +_envia_ultima_gps(); + BA.debugLineNum = 73;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/SHARK2/keymon/com/mx/subs.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/subs.java new file mode 100644 index 0000000..af83d17 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/subs.java @@ -0,0 +1,75 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class subs implements IRemote{ + public static subs mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public subs() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + private static PCBA pcBA = new PCBA(null, subs.class); + static { + mostCurrent = new subs(); + remoteMe = RemoteObject.declareNull("SHARK2.keymon.com.mx.subs"); + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("subs"), "SHARK2.keymon.com.mx.subs"); + RDebug.INSTANCE.eventTargets.put(new DeviceClass("SHARK2.keymon.com.mx.subs"), new java.lang.ref.WeakReference (pcBA)); + } + + public static RemoteObject runMethod(boolean notUsed, String method, Object... args) throws Exception{ + return (RemoteObject) pcBA.raiseEvent(method.substring(1), args); + } + public static void runVoidMethod(String method, Object... args) throws Exception{ + runMethod(false, method, args); + } + public PCBA create(Object[] args) throws ClassNotFoundException{ + throw new RuntimeException("CREATE is not supported."); + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _gzip = RemoteObject.declareNull("de.donmanfred.GZipStringswrapper"); +public static RemoteObject _su = RemoteObject.declareNull("anywheresoftware.b4a.objects.StringUtils"); +public static RemoteObject _phn = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone"); +public static RemoteObject _devmodel = RemoteObject.createImmutable(""); +public static RemoteObject _kmt = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _errorlog = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL"); +public static RemoteObject _ssid = RemoteObject.createImmutable(""); +public static RemoteObject _rutamaxpoints = RemoteObject.createImmutable(0); +public static RemoteObject _rutahrsatras = RemoteObject.createImmutable(0); +public static RemoteObject _subslogs = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(SHARK2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(SHARK2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(SHARK2.keymon.com.mx.b4xpages.class),"DateUtils",subs.mostCurrent._dateutils,"devModel",subs._devmodel,"errorLog",subs._errorlog,"GZip",subs._gzip,"HttpUtils2Service",Debug.moduleToString(SHARK2.keymon.com.mx.httputils2service.class),"kmt",subs._kmt,"Main",Debug.moduleToString(SHARK2.keymon.com.mx.main.class),"MAPA_CLIENTE",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(SHARK2.keymon.com.mx.newinst2.class),"NotificationService",Debug.moduleToString(SHARK2.keymon.com.mx.notificationservice.class),"Pendientes",Debug.moduleToString(SHARK2.keymon.com.mx.pendientes.class),"phn",subs._phn,"rutaHrsAtras",subs._rutahrsatras,"rutaMaxPoints",subs._rutamaxpoints,"ssid",subs._ssid,"Starter",Debug.moduleToString(SHARK2.keymon.com.mx.starter.class),"su",subs._su,"subsLogs",subs._subslogs,"Tracker",Debug.moduleToString(SHARK2.keymon.com.mx.tracker.class),"XUIViewsUtils",Debug.moduleToString(SHARK2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/subs_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/subs_subs_0.java new file mode 100644 index 0000000..b41e635 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/subs_subs_0.java @@ -0,0 +1,5158 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class subs_subs_0 { + + +public static RemoteObject _actualizaproducto(RemoteObject _ba,RemoteObject _cedis,RemoteObject _costou,RemoteObject _cant,RemoteObject _nombre,RemoteObject _prodid,RemoteObject _clienteid,RemoteObject _fecha,RemoteObject _usuario,RemoteObject _rutav,RemoteObject _preciosin,RemoteObject _tipoventa,RemoteObject _cantc,RemoteObject _bcajas) throws Exception{ +try { + Debug.PushSubsStack("actualizaProducto (subs) ","subs",30,_ba,subs.mostCurrent,844); +if (RapidSub.canDelegate("actualizaproducto")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","actualizaproducto", _ba, _cedis, _costou, _cant, _nombre, _prodid, _clienteid, _fecha, _usuario, _rutav, _preciosin, _tipoventa, _cantc, _bcajas);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _antcant = RemoteObject.createImmutable(0); +RemoteObject _difcant = RemoteObject.createImmutable(0); +RemoteObject _pe = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("cedis", _cedis); +Debug.locals.put("costoU", _costou); +Debug.locals.put("cant", _cant); +Debug.locals.put("nombre", _nombre); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("clienteId", _clienteid); +Debug.locals.put("fecha", _fecha); +Debug.locals.put("usuario", _usuario); +Debug.locals.put("rutaV", _rutav); +Debug.locals.put("precioSin", _preciosin); +Debug.locals.put("tipoVenta", _tipoventa); +Debug.locals.put("cantc", _cantc); +Debug.locals.put("bcajas", _bcajas); + BA.debugLineNum = 844;BA.debugLine="Sub actualizaProducto(cedis As String, costoU As S"; +Debug.ShouldStop(2048); + BA.debugLineNum = 845;BA.debugLine="Log(\"Entramos a actualiza producto\")"; +Debug.ShouldStop(4096); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","539976961",RemoteObject.createImmutable("Entramos a actualiza producto"),0); + BA.debugLineNum = 846;BA.debugLine="Private c As Cursor=B4XPages.MainPage.skmt.ExecQu"; +Debug.ShouldStop(8192); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from pedido where pe_cedis = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("' AND PE_FOLIO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 848;BA.debugLine="LogColor($\"actualizaProducto, c=${clienteId}, p=$"; +Debug.ShouldStop(32768); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","539976964",(RemoteObject.concat(RemoteObject.createImmutable("actualizaProducto, c="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable(", p="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable(", nombre="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nombre))),RemoteObject.createImmutable(", cant="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant))),RemoteObject.createImmutable(", cedis="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable(", tipo="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipoventa))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 849;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 850;BA.debugLine="Log(\"----->1<--------------\")"; +Debug.ShouldStop(131072); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","539976966",RemoteObject.createImmutable("----->1<--------------"),0); + BA.debugLineNum = 851;BA.debugLine="c.Position=0"; +Debug.ShouldStop(262144); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 852;BA.debugLine="Private antCant As Int = 0"; +Debug.ShouldStop(524288); +_antcant = BA.numberCast(int.class, 0);Debug.locals.put("antCant", _antcant);Debug.locals.put("antCant", _antcant); + BA.debugLineNum = 853;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c."; +Debug.ShouldStop(1048576); +if (subs.mostCurrent.__c.runMethod(true,"IsNumber",(Object)(BA.NumberToString(_c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")))))).get().booleanValue()) { +_antcant = _c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("antCant", _antcant);}; + BA.debugLineNum = 854;BA.debugLine="Private difCant As Int = cant - antCant"; +Debug.ShouldStop(2097152); +_difcant = RemoteObject.solve(new RemoteObject[] {_cant,_antcant}, "-",1, 1);Debug.locals.put("difCant", _difcant);Debug.locals.put("difCant", _difcant); + BA.debugLineNum = 855;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ped"; +Debug.ShouldStop(4194304); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update pedido set pe_cant = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant))),RemoteObject.createImmutable(", pe_costo_tot = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {_cant,BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0))))),RemoteObject.createImmutable(", PE_CANTC = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cantc))),RemoteObject.createImmutable(", PE_BCAJAS = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_bcajas))),RemoteObject.createImmutable(" where pe_cedis = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("' AND PE_FOLIO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 856;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"VENTA\" Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("VENTA"))) { + BA.debugLineNum = 857;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ${"; +Debug.ShouldStop(16777216); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ("),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_difcant))),RemoteObject.createImmutable(") where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' "))))); + }else { + BA.debugLineNum = 859;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update CA"; +Debug.ShouldStop(67108864); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - ("),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_difcant))),RemoteObject.createImmutable(") where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' "))))); + BA.debugLineNum = 860;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update CA"; +Debug.ShouldStop(134217728); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - ("),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_difcant))),RemoteObject.createImmutable(") where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' "))))); + }; + BA.debugLineNum = 864;BA.debugLine="If cant = 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",_cant,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 865;BA.debugLine="Log(\"BORRAMOS PROD\")"; +Debug.ShouldStop(1); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","539976981",RemoteObject.createImmutable("BORRAMOS PROD"),0); + BA.debugLineNum = 866;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete fr"; +Debug.ShouldStop(2); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("' AND PE_FOLIO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 867;BA.debugLine="Private pe As Cursor = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(4); +_pe = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pe = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)"))));Debug.locals.put("pe", _pe);Debug.locals.put("pe", _pe); + BA.debugLineNum = 868;BA.debugLine="pe.Position=0"; +Debug.ShouldStop(8); +_pe.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 869;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then B4XP"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_pe.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuantosPedidos"))),BA.NumberToString(0))) { +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)")));}; + }; + }else { + BA.debugLineNum = 872;BA.debugLine="Log(\"----->2<--------------\")"; +Debug.ShouldStop(128); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","539976988",RemoteObject.createImmutable("----->2<--------------"),0); + BA.debugLineNum = 874;BA.debugLine="If cant <> 0 Then guardaProductoSinGestion(cedis"; +Debug.ShouldStop(512); +if (RemoteObject.solveBoolean("!",_cant,BA.numberCast(double.class, 0))) { +_guardaproductosingestion(_ba,_cedis,_costou,BA.NumberToString(_cant),_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas);}; + }; + BA.debugLineNum = 876;BA.debugLine="c.Close"; +Debug.ShouldStop(2048); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 877;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _actualizaproducto2(RemoteObject _ba,RemoteObject _cedis,RemoteObject _costou,RemoteObject _cant,RemoteObject _nombre,RemoteObject _prodid,RemoteObject _clienteid,RemoteObject _fecha,RemoteObject _usuario,RemoteObject _rutav,RemoteObject _preciosin,RemoteObject _tipoventa,RemoteObject _cantc,RemoteObject _bcajas) throws Exception{ +try { + Debug.PushSubsStack("actualizaProducto2 (subs) ","subs",30,_ba,subs.mostCurrent,895); +if (RapidSub.canDelegate("actualizaproducto2")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","actualizaproducto2", _ba, _cedis, _costou, _cant, _nombre, _prodid, _clienteid, _fecha, _usuario, _rutav, _preciosin, _tipoventa, _cantc, _bcajas);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _antcant = RemoteObject.createImmutable(0); +RemoteObject _difcant = RemoteObject.createImmutable(0); +RemoteObject _pe = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("cedis", _cedis); +Debug.locals.put("costoU", _costou); +Debug.locals.put("cant", _cant); +Debug.locals.put("nombre", _nombre); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("clienteId", _clienteid); +Debug.locals.put("fecha", _fecha); +Debug.locals.put("usuario", _usuario); +Debug.locals.put("rutaV", _rutav); +Debug.locals.put("precioSin", _preciosin); +Debug.locals.put("tipoVenta", _tipoventa); +Debug.locals.put("cantc", _cantc); +Debug.locals.put("bcajas", _bcajas); + BA.debugLineNum = 895;BA.debugLine="Sub actualizaProducto2(cedis As String, costoU As"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 896;BA.debugLine="Private c As Cursor=B4XPages.MainPage.skmt.ExecQu"; +Debug.ShouldStop(-2147483648); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select * from pedido where pe_cedis = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("' AND PE_FOLIO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 898;BA.debugLine="LogColor($\"actualizaProducto, c=${clienteId}, p=$"; +Debug.ShouldStop(2); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540108035",(RemoteObject.concat(RemoteObject.createImmutable("actualizaProducto, c="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable(", p="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable(", nombre="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_nombre))),RemoteObject.createImmutable(", cant="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant))),RemoteObject.createImmutable(", cedis="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable(", tipo="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipoventa))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 900;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 901;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 902;BA.debugLine="Private antCant As Int = 0"; +Debug.ShouldStop(32); +_antcant = BA.numberCast(int.class, 0);Debug.locals.put("antCant", _antcant);Debug.locals.put("antCant", _antcant); + BA.debugLineNum = 903;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c."; +Debug.ShouldStop(64); +if (subs.mostCurrent.__c.runMethod(true,"IsNumber",(Object)(BA.NumberToString(_c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")))))).get().booleanValue()) { +_antcant = _c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("antCant", _antcant);}; + BA.debugLineNum = 904;BA.debugLine="Private difCant As Int = cant - antCant"; +Debug.ShouldStop(128); +_difcant = RemoteObject.solve(new RemoteObject[] {_cant,_antcant}, "-",1, 1);Debug.locals.put("difCant", _difcant);Debug.locals.put("difCant", _difcant); + BA.debugLineNum = 905;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ped"; +Debug.ShouldStop(256); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update pedido set pe_cant = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant))),RemoteObject.createImmutable(", pe_costo_tot = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cantc),BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTOU"))))}, "*",0, 0))))),RemoteObject.createImmutable(", PE_CANTC = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cantc))),RemoteObject.createImmutable(", PE_BCAJAS = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_bcajas))),RemoteObject.createImmutable(" where pe_cedis = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("' AND PE_FOLIO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 907;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"VENTA\" Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean("=",subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("VENTA"))) { + BA.debugLineNum = 908;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ${"; +Debug.ShouldStop(2048); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ("),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_difcant))),RemoteObject.createImmutable(") where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' "))))); + }else { + BA.debugLineNum = 910;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update CA"; +Debug.ShouldStop(8192); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - ("),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_difcant))),RemoteObject.createImmutable(") where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' "))))); + BA.debugLineNum = 911;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update CA"; +Debug.ShouldStop(16384); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - ("),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_difcant))),RemoteObject.createImmutable(") where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' "))))); + }; + BA.debugLineNum = 914;BA.debugLine="If cant = 0 Then"; +Debug.ShouldStop(131072); +if (RemoteObject.solveBoolean("=",_cant,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 915;BA.debugLine="Log(\"BORRAMOS PROD\")"; +Debug.ShouldStop(262144); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540108052",RemoteObject.createImmutable("BORRAMOS PROD"),0); + BA.debugLineNum = 916;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete fr"; +Debug.ShouldStop(524288); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("delete from pedido where pe_cedis = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cedis))),RemoteObject.createImmutable("' and pe_proid = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("' and pe_cliente = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_clienteid))),RemoteObject.createImmutable("' AND PE_FOLIO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ )))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 917;BA.debugLine="Private pe As Cursor = B4XPages.MainPage.skmt.E"; +Debug.ShouldStop(1048576); +_pe = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pe = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)"))));Debug.locals.put("pe", _pe);Debug.locals.put("pe", _pe); + BA.debugLineNum = 918;BA.debugLine="pe.Position=0"; +Debug.ShouldStop(2097152); +_pe.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 919;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then B4XP"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_pe.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cuantosPedidos"))),BA.NumberToString(0))) { +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)")));}; + }; + }else { + BA.debugLineNum = 923;BA.debugLine="If cant <> 0 Then guardaProductoSinGestion2(cedi"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("!",_cant,BA.numberCast(double.class, 0))) { +_guardaproductosingestion2(_ba,_cedis,_costou,BA.NumberToString(_cant),_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas);}; + }; + BA.debugLineNum = 925;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 926;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _actualizaproductodinamico(RemoteObject _ba,RemoteObject _cedis,RemoteObject _costou,RemoteObject _cant,RemoteObject _nombre,RemoteObject _prodid,RemoteObject _clienteid,RemoteObject _fecha,RemoteObject _usuario,RemoteObject _rutav,RemoteObject _preciosin,RemoteObject _tipoventa,RemoteObject _cantc,RemoteObject _bcajas,RemoteObject _dirigida,RemoteObject _uvm,RemoteObject _presentacion) throws Exception{ +try { + Debug.PushSubsStack("actualizaProductoDinamico (subs) ","subs",30,_ba,subs.mostCurrent,1777); +if (RapidSub.canDelegate("actualizaproductodinamico")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","actualizaproductodinamico", _ba, _cedis, _costou, _cant, _nombre, _prodid, _clienteid, _fecha, _usuario, _rutav, _preciosin, _tipoventa, _cantc, _bcajas, _dirigida, _uvm, _presentacion);} +RemoteObject _qbusqueda = RemoteObject.createImmutable(""); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _tablainventario = RemoteObject.createImmutable(""); +RemoteObject _antcant = RemoteObject.createImmutable(0); +RemoteObject _difcant = RemoteObject.createImmutable(0); +RemoteObject _nuevocostotot = RemoteObject.createImmutable(0f); +RemoteObject _qupdate = RemoteObject.createImmutable(""); +RemoteObject _qdelete = RemoteObject.createImmutable(""); +RemoteObject _totalrestante = RemoteObject.createImmutable(0); +; +Debug.locals.put("cedis", _cedis); +Debug.locals.put("costoU", _costou); +Debug.locals.put("cant", _cant); +Debug.locals.put("nombre", _nombre); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("clienteId", _clienteid); +Debug.locals.put("fecha", _fecha); +Debug.locals.put("usuario", _usuario); +Debug.locals.put("rutaV", _rutav); +Debug.locals.put("precioSin", _preciosin); +Debug.locals.put("tipoVenta", _tipoventa); +Debug.locals.put("cantc", _cantc); +Debug.locals.put("bcajas", _bcajas); +Debug.locals.put("dirigida", _dirigida); +Debug.locals.put("uvm", _uvm); +Debug.locals.put("presentacion", _presentacion); + BA.debugLineNum = 1777;BA.debugLine="Sub actualizaProductoDinamico(cedis As String, cos"; +Debug.ShouldStop(65536); + BA.debugLineNum = 1778;BA.debugLine="Log(\"--- Iniciando Actualización Dinámica ---\")"; +Debug.ShouldStop(131072); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","542074113",RemoteObject.createImmutable("--- Iniciando Actualización Dinámica ---"),0); + BA.debugLineNum = 1781;BA.debugLine="Dim qBusqueda As String = \"SELECT PE_CANT, PE_COS"; +Debug.ShouldStop(1048576); +_qbusqueda = RemoteObject.concat(RemoteObject.createImmutable("SELECT PE_CANT, PE_COSTOU FROM pedido WHERE pe_cedis = ? "),RemoteObject.createImmutable("AND pe_proid = ? AND pe_cliente = ? AND PE_FOLIO = ? "),RemoteObject.createImmutable("AND PE_DIRIGIDA = ? AND PE_PRESENTACION = ? AND PE_UVM = ?"));Debug.locals.put("qBusqueda", _qbusqueda);Debug.locals.put("qBusqueda", _qbusqueda); + BA.debugLineNum = 1785;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuer"; +Debug.ShouldStop(16777216); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(_qbusqueda),(Object)(RemoteObject.createNewArray("String",new int[] {7},new Object[] {_cedis,_prodid,_clienteid,_tipoventa,_dirigida,_presentacion,BA.NumberToString(_uvm)}))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1789;BA.debugLine="Dim tablaInventario As String = Starter.tabla"; +Debug.ShouldStop(268435456); +_tablainventario = subs.mostCurrent._starter._tabla /*RemoteObject*/ ;Debug.locals.put("tablaInventario", _tablainventario);Debug.locals.put("tablaInventario", _tablainventario); + BA.debugLineNum = 1792;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1794;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(2); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1795;BA.debugLine="Dim antCant As Int = c.GetInt(\"PE_CANT\")"; +Debug.ShouldStop(4); +_antcant = _c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("antCant", _antcant);Debug.locals.put("antCant", _antcant); + BA.debugLineNum = 1796;BA.debugLine="Dim difCant As Int = cant - antCant"; +Debug.ShouldStop(8); +_difcant = RemoteObject.solve(new RemoteObject[] {_cant,_antcant}, "-",1, 1);Debug.locals.put("difCant", _difcant);Debug.locals.put("difCant", _difcant); + BA.debugLineNum = 1798;BA.debugLine="If cant > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_cant,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1800;BA.debugLine="Dim nuevoCostoTot As Float = (cant / uvm) * cos"; +Debug.ShouldStop(128); +_nuevocostotot = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_cant,_uvm}, "/",0, 0)),_costou}, "*",0, 0));Debug.locals.put("nuevoCostoTot", _nuevocostotot);Debug.locals.put("nuevoCostoTot", _nuevocostotot); + BA.debugLineNum = 1802;BA.debugLine="Dim qUpdate As String = \"UPDATE pedido SET pe_c"; +Debug.ShouldStop(512); +_qupdate = RemoteObject.concat(RemoteObject.createImmutable("UPDATE pedido SET pe_cant = ?, pe_costo_tot = ?, PE_CANTC = ?, PE_BCAJAS = ? "),RemoteObject.createImmutable("WHERE pe_cedis = ? AND pe_proid = ? AND pe_cliente = ? AND PE_FOLIO = ? "),RemoteObject.createImmutable("AND PE_PRESENTACION = ? AND PE_UVM = ?"));Debug.locals.put("qUpdate", _qupdate);Debug.locals.put("qUpdate", _qupdate); + BA.debugLineNum = 1806;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(qUpdate, A"; +Debug.ShouldStop(8192); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(_qupdate),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {10},new Object[] {(_cant),(_nuevocostotot),(_cantc),(_bcajas),(_cedis),(_prodid),(_clienteid),(_tipoventa),(_presentacion),(_uvm)}))))); + BA.debugLineNum = 1810;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ${"; +Debug.ShouldStop(131072); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tablainventario))),RemoteObject.createImmutable(" SET cat_gp_almacen = cat_gp_almacen - ("),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_difcant))),RemoteObject.createImmutable(") WHERE cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("'"))))); + }else { + BA.debugLineNum = 1813;BA.debugLine="Dim qDelete As String = \"DELETE FROM pedido WHE"; +Debug.ShouldStop(1048576); +_qdelete = RemoteObject.concat(RemoteObject.createImmutable("DELETE FROM pedido WHERE pe_cedis = ? AND pe_proid = ? AND pe_cliente = ? "),RemoteObject.createImmutable("AND PE_FOLIO = ? AND PE_PRESENTACION = ? AND PE_UVM = ?"));Debug.locals.put("qDelete", _qdelete);Debug.locals.put("qDelete", _qdelete); + BA.debugLineNum = 1816;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(qDelete, A"; +Debug.ShouldStop(8388608); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(_qdelete),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {6},new Object[] {(_cedis),(_prodid),(_clienteid),(_tipoventa),(_presentacion),(_uvm)}))))); + BA.debugLineNum = 1819;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ${"; +Debug.ShouldStop(67108864); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tablainventario))),RemoteObject.createImmutable(" SET cat_gp_almacen = cat_gp_almacen + "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_antcant))),RemoteObject.createImmutable(" WHERE cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1822;BA.debugLine="Dim totalRestante As Int = B4XPages.MainPage.sk"; +Debug.ShouldStop(536870912); +_totalrestante = BA.numberCast(int.class, subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(true,"ExecQuerySingleResult",(Object)(RemoteObject.concat(RemoteObject.createImmutable("SELECT count(*) FROM pedido WHERE pe_cliente = '"),_clienteid,RemoteObject.createImmutable("'")))));Debug.locals.put("totalRestante", _totalrestante);Debug.locals.put("totalRestante", _totalrestante); + BA.debugLineNum = 1823;BA.debugLine="If totalRestante = 0 Then"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean("=",_totalrestante,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1824;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR"; +Debug.ShouldStop(-2147483648); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("DELETE FROM pedido_cliente WHERE PC_CLIENTE = '"),_clienteid,RemoteObject.createImmutable("'")))); + }; + }; + }else { + BA.debugLineNum = 1829;BA.debugLine="If cant > 0 Then"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_cant,BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1830;BA.debugLine="guardaProductoSinGestionDinamico(cedis, costoU,"; +Debug.ShouldStop(32); +_guardaproductosingestiondinamico(_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas,_dirigida,_uvm,_presentacion); + }; + }; + BA.debugLineNum = 1833;BA.debugLine="c.Close"; +Debug.ShouldStop(256); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 1834;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _actualizatet(RemoteObject _ba,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("actualizaTET (subs) ","subs",30,_ba,subs.mostCurrent,1523); +if (RapidSub.canDelegate("actualizatet")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","actualizatet", _ba, _cliente);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _total = RemoteObject.createImmutable(0L); +int _i = 0; +RemoteObject _subtotal = RemoteObject.createImmutable(0L); +; +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 1523;BA.debugLine="Sub actualizaTET(cliente As String)"; +Debug.ShouldStop(262144); + BA.debugLineNum = 1524;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.Execquer"; +Debug.ShouldStop(524288); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select * from PEDIDO_INICIO_FINAL where PIF_CLIENTE = ?")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_cliente}))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1525;BA.debugLine="Dim total As Long = 0"; +Debug.ShouldStop(1048576); +_total = BA.numberCast(long.class, 0);Debug.locals.put("total", _total);Debug.locals.put("total", _total); + BA.debugLineNum = 1526;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1527;BA.debugLine="c.Position=0"; +Debug.ShouldStop(4194304); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1528;BA.debugLine="For i = 0 To c.RowCount-1"; +Debug.ShouldStop(8388608); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_c.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 = 1529;BA.debugLine="c.Position=i"; +Debug.ShouldStop(16777216); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1531;BA.debugLine="Dim subtotal As Long = c.GetString(\"PIF_HORA_FI"; +Debug.ShouldStop(67108864); +_subtotal = BA.numberCast(long.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PIF_HORA_FINAL")))),BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PIF_HORA_INICIO"))))}, "-",1, 0));Debug.locals.put("subtotal", _subtotal);Debug.locals.put("subtotal", _subtotal); + BA.debugLineNum = 1532;BA.debugLine="total = total + subtotal"; +Debug.ShouldStop(134217728); +_total = RemoteObject.solve(new RemoteObject[] {_total,_subtotal}, "+",1, 2);Debug.locals.put("total", _total); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1536;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update PED"; +Debug.ShouldStop(-2147483648); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("update PEDIDO_CLIENTE set PC_TIEMPO_TIENDA = ? where PC_CLIENTE = ?")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.NumberToString((RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_total,RemoteObject.createImmutable(1000)}, "/",0, 0)),RemoteObject.createImmutable(60)}, "/",0, 0))),_cliente}))))); + }; + BA.debugLineNum = 1538;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _agregacolumna(RemoteObject _ba,RemoteObject _tabla,RemoteObject _columna,RemoteObject _tipo) throws Exception{ +try { + Debug.PushSubsStack("agregaColumna (subs) ","subs",30,_ba,subs.mostCurrent,1675); +if (RapidSub.canDelegate("agregacolumna")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","agregacolumna", _ba, _tabla, _columna, _tipo);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("tabla", _tabla); +Debug.locals.put("columna", _columna); +Debug.locals.put("tipo", _tipo); + BA.debugLineNum = 1675;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +Debug.ShouldStop(1024); + BA.debugLineNum = 1676;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +Debug.ShouldStop(2048); +try { BA.debugLineNum = 1677;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +Debug.ShouldStop(4096); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT COUNT(*) AS fCol FROM pragma_table_info('"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable("') WHERE name='"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1678;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8192); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1679;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fCol"))),BA.NumberToString(0))) { + BA.debugLineNum = 1680;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +Debug.ShouldStop(32768); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 1681;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(65536); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541811974",(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 = 1684;BA.debugLine="Try"; +Debug.ShouldStop(524288); +try { BA.debugLineNum = 1685;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +Debug.ShouldStop(1048576); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("ALTER TABLE "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tabla))),RemoteObject.createImmutable(" ADD COLUMN "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_columna))),RemoteObject.createImmutable(" "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipo))),RemoteObject.createImmutable(""))))); + BA.debugLineNum = 1686;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +Debug.ShouldStop(2097152); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541811979",(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 = 1688;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(8388608); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541811981",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + }; + }; + BA.debugLineNum = 1691;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _alcanzanlosvariablesparapromo(RemoteObject _ba,RemoteObject _promomap,RemoteObject _inventariosinfijos) throws Exception{ +try { + Debug.PushSubsStack("alcanzanLosVariablesParaPromo (subs) ","subs",30,_ba,subs.mostCurrent,1153); +if (RapidSub.canDelegate("alcanzanlosvariablesparapromo")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","alcanzanlosvariablesparapromo", _ba, _promomap, _inventariosinfijos);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _totalprodsvariables = RemoteObject.createImmutable(0); +RemoteObject _totalprodsvariables2 = RemoteObject.createImmutable(0); +RemoteObject _prodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _p = 0; +RemoteObject _t = RemoteObject.createImmutable(""); +RemoteObject _p2 = RemoteObject.createImmutable(""); +RemoteObject _res = RemoteObject.createImmutable(false); +RemoteObject _res1 = RemoteObject.createImmutable(false); +RemoteObject _res2 = RemoteObject.createImmutable(false); +; +Debug.locals.put("promoMap", _promomap); +Debug.locals.put("inventarioSinFijos", _inventariosinfijos); + BA.debugLineNum = 1153;BA.debugLine="Sub alcanzanLosVariablesParaPromo(promoMap As Map,"; +Debug.ShouldStop(1); + BA.debugLineNum = 1154;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade"; +Debug.ShouldStop(2); +_thislog = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 1155;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial: \"&i"; +Debug.ShouldStop(4); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540697858",RemoteObject.concat(RemoteObject.createImmutable("Inventario inicial: "),_inventariosinfijos),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Gray"));}; + BA.debugLineNum = 1156;BA.debugLine="Private totalProdsVariables As Int = 0"; +Debug.ShouldStop(8); +_totalprodsvariables = BA.numberCast(int.class, 0);Debug.locals.put("totalProdsVariables", _totalprodsvariables);Debug.locals.put("totalProdsVariables", _totalprodsvariables); + BA.debugLineNum = 1157;BA.debugLine="Private totalProdsVariables2 As Int = 0"; +Debug.ShouldStop(16); +_totalprodsvariables2 = BA.numberCast(int.class, 0);Debug.locals.put("totalProdsVariables2", _totalprodsvariables2);Debug.locals.put("totalProdsVariables2", _totalprodsvariables2); + BA.debugLineNum = 1159;BA.debugLine="Private prodsVariables As List = promoMap.get(\"pr"; +Debug.ShouldStop(64); +_prodsvariables = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_prodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables")))));Debug.locals.put("prodsVariables", _prodsvariables);Debug.locals.put("prodsVariables", _prodsvariables); + BA.debugLineNum = 1160;BA.debugLine="Private prodsVariables2 As List = promoMap.get(\"p"; +Debug.ShouldStop(128); +_prodsvariables2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_prodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2")))));Debug.locals.put("prodsVariables2", _prodsvariables2);Debug.locals.put("prodsVariables2", _prodsvariables2); + BA.debugLineNum = 1161;BA.debugLine="For p = 0 To prodsVariables.Size - 1"; +Debug.ShouldStop(256); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_prodsvariables.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step7 > 0 && _p <= limit7) || (step7 < 0 && _p >= limit7) ;_p = ((int)(0 + _p + step7)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 1162;BA.debugLine="Private t As String = prodsVariables.Get(p) 'Obt"; +Debug.ShouldStop(512); +_t = BA.ObjectToString(_prodsvariables.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 1164;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex"; +Debug.ShouldStop(2048); +if (_inventariosinfijos.runMethod(true,"ContainsKey",(Object)((_t))).get().booleanValue()) { + BA.debugLineNum = 1165;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t"; +Debug.ShouldStop(4096); +_p2 = BA.ObjectToString(_inventariosinfijos.runMethod(false,"Get",(Object)((_t))));Debug.locals.put("p2", _p2);Debug.locals.put("p2", _p2); + BA.debugLineNum = 1167;BA.debugLine="totalProdsVariables = totalProdsVariables + p2"; +Debug.ShouldStop(16384); +_totalprodsvariables = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalprodsvariables,BA.numberCast(double.class, _p2)}, "+",1, 0));Debug.locals.put("totalProdsVariables", _totalprodsvariables); + BA.debugLineNum = 1169;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)"; +Debug.ShouldStop(65536); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540697872",(RemoteObject.concat(RemoteObject.createImmutable("prod "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_t))),RemoteObject.createImmutable(", hay: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_p2))),RemoteObject.createImmutable(""))),0);}; + }; + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 1172;BA.debugLine="For p = 0 To prodsVariables2.Size - 1"; +Debug.ShouldStop(524288); +{ +final int step15 = 1; +final int limit15 = RemoteObject.solve(new RemoteObject[] {_prodsvariables2.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step15 > 0 && _p <= limit15) || (step15 < 0 && _p >= limit15) ;_p = ((int)(0 + _p + step15)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 1173;BA.debugLine="Private t As String = prodsVariables2.Get(p) 'Ob"; +Debug.ShouldStop(1048576); +_t = BA.ObjectToString(_prodsvariables2.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 1174;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex"; +Debug.ShouldStop(2097152); +if (_inventariosinfijos.runMethod(true,"ContainsKey",(Object)((_t))).get().booleanValue()) { + BA.debugLineNum = 1175;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t"; +Debug.ShouldStop(4194304); +_p2 = BA.ObjectToString(_inventariosinfijos.runMethod(false,"Get",(Object)((_t))));Debug.locals.put("p2", _p2);Debug.locals.put("p2", _p2); + BA.debugLineNum = 1176;BA.debugLine="totalProdsVariables2 = totalProdsVariables2 + p"; +Debug.ShouldStop(8388608); +_totalprodsvariables2 = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalprodsvariables2,BA.numberCast(double.class, _p2)}, "+",1, 0));Debug.locals.put("totalProdsVariables2", _totalprodsvariables2); + BA.debugLineNum = 1177;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)"; +Debug.ShouldStop(16777216); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540697880",(RemoteObject.concat(RemoteObject.createImmutable("prod "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_t))),RemoteObject.createImmutable(", hay: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_p2))),RemoteObject.createImmutable(""))),0);}; + }; + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 1180;BA.debugLine="If thisLog Then Log(\"Total prods variables=\" & to"; +Debug.ShouldStop(134217728); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540697883",RemoteObject.concat(RemoteObject.createImmutable("Total prods variables="),_totalprodsvariables,RemoteObject.createImmutable(", requeridos="),_promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesRequeridos"))))),0);}; + BA.debugLineNum = 1181;BA.debugLine="If thisLog Then Log(\"Total prods variables2=\" & t"; +Debug.ShouldStop(268435456); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540697884",RemoteObject.concat(RemoteObject.createImmutable("Total prods variables2="),_totalprodsvariables2,RemoteObject.createImmutable(", requeridos2="),_promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2Requeridos"))))),0);}; + BA.debugLineNum = 1182;BA.debugLine="Private res As Boolean = False"; +Debug.ShouldStop(536870912); +_res = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("res", _res);Debug.locals.put("res", _res); + BA.debugLineNum = 1183;BA.debugLine="Private res1 As Boolean = False"; +Debug.ShouldStop(1073741824); +_res1 = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("res1", _res1);Debug.locals.put("res1", _res1); + BA.debugLineNum = 1184;BA.debugLine="Private res2 As Boolean = False"; +Debug.ShouldStop(-2147483648); +_res2 = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("res2", _res2);Debug.locals.put("res2", _res2); + BA.debugLineNum = 1189;BA.debugLine="If totalProdsVariables > 0 And totalProdsVariable"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean(">",_totalprodsvariables,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("g",_totalprodsvariables,BA.numberCast(double.class, _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesRequeridos"))))))) { + BA.debugLineNum = 1190;BA.debugLine="res1 = True 'Si el total de inventario de produc"; +Debug.ShouldStop(32); +_res1 = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("res1", _res1); + }; + BA.debugLineNum = 1192;BA.debugLine="If promoMap.Get(\"prodsVariablesRequeridos\").As (I"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("=",(BA.numberCast(int.class, _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesRequeridos")))))),BA.numberCast(double.class, 0))) { +_res1 = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("res1", _res1);}; + BA.debugLineNum = 1193;BA.debugLine="If totalProdsVariables2 > 0 And totalProdsVariabl"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(">",_totalprodsvariables2,BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("g",_totalprodsvariables2,BA.numberCast(double.class, _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2Requeridos"))))))) { + BA.debugLineNum = 1194;BA.debugLine="res2 = True 'Si el total de inventario de produc"; +Debug.ShouldStop(512); +_res2 = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("res2", _res2); + }; + BA.debugLineNum = 1196;BA.debugLine="If promoMap.Get(\"prodsVariables2Requeridos\").As(I"; +Debug.ShouldStop(2048); +if (RemoteObject.solveBoolean("=",(BA.numberCast(int.class, _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2Requeridos")))))),BA.numberCast(double.class, 0))) { +_res2 = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("res2", _res2);}; + BA.debugLineNum = 1197;BA.debugLine="If res1 And res2 Then 'Solo si son verdadero los"; +Debug.ShouldStop(4096); +if (RemoteObject.solveBoolean(".",_res1) && RemoteObject.solveBoolean(".",_res2)) { + BA.debugLineNum = 1198;BA.debugLine="res = True"; +Debug.ShouldStop(8192); +_res = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("res", _res); + }else { + BA.debugLineNum = 1200;BA.debugLine="res = False"; +Debug.ShouldStop(32768); +_res = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("res", _res); + }; + BA.debugLineNum = 1203;BA.debugLine="Return res"; +Debug.ShouldStop(262144); +if (true) return _res; + BA.debugLineNum = 1204;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _borraarribade100errores(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("borraArribaDe100Errores (subs) ","subs",30,_ba,subs.mostCurrent,510); +if (RapidSub.canDelegate("borraarribade100errores")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","borraarribade100errores", _ba);} +; + BA.debugLineNum = 510;BA.debugLine="Sub borraArribaDe100Errores 'ignore"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 511;BA.debugLine="revisaBD"; +Debug.ShouldStop(1073741824); +_revisabd(_ba); + BA.debugLineNum = 512;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +Debug.ShouldStop(-2147483648); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538404098",BA.ObjectToString("Borramos BD de log"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 513;BA.debugLine="errorLog.ExecNonQuery(\"DELETE FROM errores WHERE"; +Debug.ShouldStop(1); +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 = 514;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(2); +subs._errorlog.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 515;BA.debugLine="Log(\"Borramos mas de 100 de errorLog\")"; +Debug.ShouldStop(4); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538404101",RemoteObject.createImmutable("Borramos mas de 100 de errorLog"),0); + BA.debugLineNum = 516;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +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",30,_ba,subs.mostCurrent,519); +if (RapidSub.canDelegate("borraarribade600renglonesbitacora")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","borraarribade600renglonesbitacora", _ba);} +; + BA.debugLineNum = 519;BA.debugLine="Sub borraArribaDe600RenglonesBitacora 'ignore"; +Debug.ShouldStop(64); + BA.debugLineNum = 520;BA.debugLine="revisaBD"; +Debug.ShouldStop(128); +_revisabd(_ba); + BA.debugLineNum = 521;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +Debug.ShouldStop(256); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538469634",BA.ObjectToString("Borramos BD de log"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 522;BA.debugLine="kmt.ExecNonQuery(\"DELETE FROM bitacora WHERE fech"; +Debug.ShouldStop(512); +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 = 523;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(1024); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 524;BA.debugLine="Log(\"Borramos mas de 600 de bitacora\")"; +Debug.ShouldStop(2048); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538469637",RemoteObject.createImmutable("Borramos mas de 600 de bitacora"),0); + BA.debugLineNum = 525;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +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",30,_ba,subs.mostCurrent,394); +if (RapidSub.canDelegate("borralogdb")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","borralogdb", _ba);} +; + BA.debugLineNum = 394;BA.debugLine="Sub borraLogDB 'ignore"; +Debug.ShouldStop(512); + BA.debugLineNum = 395;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +Debug.ShouldStop(1024); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538207489",BA.ObjectToString("Borramos BD de log"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta")); + BA.debugLineNum = 396;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; +Debug.ShouldStop(2048); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from bitacora"))); + BA.debugLineNum = 397;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(4096); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 398;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +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",30,_ba,subs.mostCurrent,224); +if (RapidSub.canDelegate("borramosarchivogps")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","borramosarchivogps", _ba);} +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _s = RemoteObject.createImmutable(""); +RemoteObject _t = null; +; + BA.debugLineNum = 224;BA.debugLine="Sub borramosArchivoGPS 'ignore"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 225;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +Debug.ShouldStop(1); +_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 = 226;BA.debugLine="Dim s As String = \"\""; +Debug.ShouldStop(2); +_s = BA.ObjectToString("");Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 227;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +Debug.ShouldStop(4); +_t = _s.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF-8")));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 228;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +Debug.ShouldStop(8); +_out.runVoidMethod ("WriteBytes",(Object)(_t),(Object)(BA.numberCast(int.class, 0)),(Object)(_t.getField(true,"length"))); + BA.debugLineNum = 229;BA.debugLine="out.Close"; +Debug.ShouldStop(16); +_out.runVoidMethod ("Close"); + 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 _borrapedidoclienteactual(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("borraPedidoClienteActual (subs) ","subs",30,_ba,subs.mostCurrent,1554); +if (RapidSub.canDelegate("borrapedidoclienteactual")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","borrapedidoclienteactual", _ba);} +RemoteObject _thisc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; + BA.debugLineNum = 1554;BA.debugLine="Sub borraPedidoClienteActual As String"; +Debug.ShouldStop(131072); + BA.debugLineNum = 1568;BA.debugLine="Private thisC As Cursor"; +Debug.ShouldStop(-2147483648); +_thisc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("thisC", _thisc); + BA.debugLineNum = 1570;BA.debugLine="thisC=Starter.skmt.ExecQuery(\"select PE_PRONOMBRE"; +Debug.ShouldStop(2); +_thisc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_PRONOMBRE, PE_PROID, PE_CANT, PE_FOLIO FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) "))));Debug.locals.put("thisC", _thisc); + BA.debugLineNum = 1571;BA.debugLine="If thisC.RowCount>0 Then"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_thisc.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1572;BA.debugLine="For i=0 To thisC.RowCount -1"; +Debug.ShouldStop(8); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_thisc.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4) ;_i = ((int)(0 + _i + step4)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1573;BA.debugLine="thisC.Position = i"; +Debug.ShouldStop(16); +_thisc.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1584;BA.debugLine="If thisC.GetString(\"PE_FOLIO\") = \"VENTA\" Then"; +Debug.ShouldStop(32768); +if (RemoteObject.solveBoolean("=",_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))),BA.ObjectToString("VENTA"))) { + BA.debugLineNum = 1585;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update $"; +Debug.ShouldStop(65536); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1586;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete f"; +Debug.ShouldStop(131072); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))}))))); + }else { + BA.debugLineNum = 1588;BA.debugLine="Starter.skmt.ExecNonQuery($\"update CAT_GUNAPRO"; +Debug.ShouldStop(524288); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen + "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1589;BA.debugLine="Starter.skmt.ExecNonQuery($\"update CAT_GUNAPRO"; +Debug.ShouldStop(1048576); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen + "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1590;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete f"; +Debug.ShouldStop(2097152); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PRONOMBRE"))),_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO")))}))))); + }; + BA.debugLineNum = 1593;BA.debugLine="LogColor($\"update ${traeTablaProds(thisC.GetStr"; +Debug.ShouldStop(16777216); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541484327",(RemoteObject.concat(RemoteObject.createImmutable("update "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traetablaprods(_ba,_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FOLIO"))))))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen + "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CANT")))))),RemoteObject.createImmutable(" where cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_thisc.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")))))),RemoteObject.createImmutable("'"))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1597;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_cli"; +Debug.ShouldStop(268435456); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 1598;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido whe"; +Debug.ShouldStop(536870912); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"))); + BA.debugLineNum = 1599;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE kmt_info set ge"; +Debug.ShouldStop(1073741824); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 1600;BA.debugLine="Return 1"; +Debug.ShouldStop(-2147483648); +if (true) return BA.NumberToString(1); + BA.debugLineNum = 1601;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _borrapedidocredito(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("borraPedidoCredito (subs) ","subs",30,_ba,subs.mostCurrent,1603); +if (RapidSub.canDelegate("borrapedidocredito")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","borrapedidocredito", _ba);} +RemoteObject _cpedidos = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +RemoteObject _productoid = RemoteObject.createImmutable(""); +RemoteObject _cantidad = RemoteObject.createImmutable(0); +RemoteObject _pcli = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 1603;BA.debugLine="Sub borraPedidoCredito As String"; +Debug.ShouldStop(4); + BA.debugLineNum = 1604;BA.debugLine="Dim cPedidos As Cursor"; +Debug.ShouldStop(8); +_cpedidos = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("cPedidos", _cpedidos); + BA.debugLineNum = 1605;BA.debugLine="cPedidos = Starter.skmt.ExecQuery(\"SELECT PE_PROI"; +Debug.ShouldStop(16); +_cpedidos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("SELECT PE_PROID, PE_CANT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))));Debug.locals.put("cPedidos", _cpedidos); + BA.debugLineNum = 1607;BA.debugLine="If cPedidos.RowCount > 0 Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean(">",_cpedidos.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1608;BA.debugLine="For i = 0 To cPedidos.RowCount - 1"; +Debug.ShouldStop(128); +{ +final int step4 = 1; +final int limit4 = RemoteObject.solve(new RemoteObject[] {_cpedidos.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 = 1609;BA.debugLine="cPedidos.Position = i"; +Debug.ShouldStop(256); +_cpedidos.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1610;BA.debugLine="Dim productoId As String = cPedidos.GetString(\""; +Debug.ShouldStop(512); +_productoid = _cpedidos.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_PROID")));Debug.locals.put("productoId", _productoid);Debug.locals.put("productoId", _productoid); + BA.debugLineNum = 1611;BA.debugLine="Dim cantidad As Int = cPedidos.GetInt(\"PE_CANT\""; +Debug.ShouldStop(1024); +_cantidad = _cpedidos.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("cantidad", _cantidad);Debug.locals.put("cantidad", _cantidad); + BA.debugLineNum = 1613;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE CAT_GUNAPROD"; +Debug.ShouldStop(4096); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD SET CAT_GP_ALMACEN = CAT_GP_ALMACEN + ? WHERE CAT_GP_ID = ?")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.NumberToString(_cantidad),_productoid}))))); + BA.debugLineNum = 1614;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE CAT_GUNAPROD"; +Debug.ShouldStop(8192); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("UPDATE CAT_GUNAPROD4 SET CAT_GP_ALMACEN = CAT_GP_ALMACEN + ? WHERE CAT_GP_ID = ?")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {BA.NumberToString(_cantidad),_productoid}))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1618;BA.debugLine="cPedidos.Close"; +Debug.ShouldStop(131072); +_cpedidos.runVoidMethod ("Close"); + BA.debugLineNum = 1620;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDIDO WHE"; +Debug.ShouldStop(524288); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))); + BA.debugLineNum = 1622;BA.debugLine="Log(\"Pedidos a crédito borrados correctamente.\")"; +Debug.ShouldStop(2097152); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541549843",RemoteObject.createImmutable("Pedidos a crédito borrados correctamente."),0); + BA.debugLineNum = 1623;BA.debugLine="Return \"1\""; +Debug.ShouldStop(4194304); +if (true) return BA.ObjectToString("1"); + BA.debugLineNum = 1625;BA.debugLine="Dim pCli As Cursor = Starter.skmt.ExecQuery(\"sele"; +Debug.ShouldStop(16777216); +_pcli = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_pcli = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select PE_CLIENTE, PE_FECHA, PE_CEDIS, sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))));Debug.locals.put("pCli", _pcli);Debug.locals.put("pCli", _pcli); + BA.debugLineNum = 1626;BA.debugLine="If pCli.RowCount > 0 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean(">",_pcli.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1627;BA.debugLine="pCli.Position = 0"; +Debug.ShouldStop(67108864); +_pcli.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1628;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +Debug.ShouldStop(134217728); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("String",new int[] {9},new Object[] {_pcli.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CLIENTE"))),_pcli.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_FECHA"))),_pcli.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_USUARIO"))),_pcli.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE"))),_pcli.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE"))),subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lon_gps" /*RemoteObject*/ ),subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lat_gps" /*RemoteObject*/ ),_pcli.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_CEDIS"))),_pcli.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN")))}))))); + }else { + BA.debugLineNum = 1630;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE KMT_INFO SET G"; +Debug.ShouldStop(536870912); +subs.mostCurrent._starter._skmt /*RemoteObject*/ .runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE KMT_INFO SET GESTION = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); + }; + BA.debugLineNum = 1632;BA.debugLine="End Sub"; +Debug.ShouldStop(-2147483648); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _buscadbusuario(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("buscaDBUsuario (subs) ","subs",30,_ba,subs.mostCurrent,662); +if (RapidSub.canDelegate("buscadbusuario")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","buscadbusuario", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _usuario = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 662;BA.debugLine="Sub buscaDBUsuario As String 'ignore"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 663;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(4194304); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 664;BA.debugLine="Private usuario As String = \"SinUsuario\""; +Debug.ShouldStop(8388608); +_usuario = BA.ObjectToString("SinUsuario");Debug.locals.put("usuario", _usuario);Debug.locals.put("usuario", _usuario); + BA.debugLineNum = 665;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(16777216); +_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 = 666;BA.debugLine="c.Position=0"; +Debug.ShouldStop(33554432); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 667;BA.debugLine="If c.RowCount > 0 Then usuario = c.GetString(\"USU"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +_usuario = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("USUARIO")));Debug.locals.put("usuario", _usuario);}; + BA.debugLineNum = 668;BA.debugLine="Return usuario"; +Debug.ShouldStop(134217728); +if (true) return _usuario; + BA.debugLineNum = 669;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centraboton(RemoteObject _ba,RemoteObject _elemento,RemoteObject _anchoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraBoton (subs) ","subs",30,_ba,subs.mostCurrent,84); +if (RapidSub.canDelegate("centraboton")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","centraboton", _ba, _elemento, _anchoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 84;BA.debugLine="Sub centraBoton(elemento As Button, anchoElementoS"; +Debug.ShouldStop(524288); + BA.debugLineNum = 85;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +Debug.ShouldStop(1048576); +_elemento.runMethod(true,"setLeft",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {subs.mostCurrent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {_anchoelementosuperior,RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {_elemento.runMethod(true,"getWidth"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 86;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +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",30,_ba,subs.mostCurrent,642); +if (RapidSub.canDelegate("centraetiqueta")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","centraetiqueta", _ba, _elemento, _anchoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 642;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; +Debug.ShouldStop(2); + BA.debugLineNum = 643;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +Debug.ShouldStop(4); +_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 = 644;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +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",30,_ba,subs.mostCurrent,647); +if (RapidSub.canDelegate("centrapanel")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","centrapanel", _ba, _elemento, _anchoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 647;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; +Debug.ShouldStop(64); + BA.debugLineNum = 648;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +Debug.ShouldStop(128); +_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 = 649;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centrapanelv(RemoteObject _ba,RemoteObject _elemento,RemoteObject _altoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraPanelV (subs) ","subs",30,_ba,subs.mostCurrent,652); +if (RapidSub.canDelegate("centrapanelv")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","centrapanelv", _ba, _elemento, _altoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("altoElementoSuperior", _altoelementosuperior); + BA.debugLineNum = 652;BA.debugLine="Sub centraPanelV(elemento As Panel, altoElementoSu"; +Debug.ShouldStop(2048); + BA.debugLineNum = 653;BA.debugLine="elemento.Top = Round(altoElementoSuperior/2)-(ele"; +Debug.ShouldStop(4096); +_elemento.runMethod(true,"setTop",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {subs.mostCurrent.__c.runMethod(true,"Round",(Object)(RemoteObject.solve(new RemoteObject[] {_altoelementosuperior,RemoteObject.createImmutable(2)}, "/",0, 0))),(RemoteObject.solve(new RemoteObject[] {_elemento.runMethod(true,"getHeight"),RemoteObject.createImmutable(2)}, "/",0, 0))}, "-",1, 0))); + BA.debugLineNum = 654;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _centraprogressbar(RemoteObject _ba,RemoteObject _elemento,RemoteObject _anchoelementosuperior) throws Exception{ +try { + Debug.PushSubsStack("centraProgressBar (subs) ","subs",30,_ba,subs.mostCurrent,657); +if (RapidSub.canDelegate("centraprogressbar")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","centraprogressbar", _ba, _elemento, _anchoelementosuperior);} +; +Debug.locals.put("elemento", _elemento); +Debug.locals.put("anchoElementoSuperior", _anchoelementosuperior); + BA.debugLineNum = 657;BA.debugLine="Sub centraProgressBar(elemento As ProgressBar, anc"; +Debug.ShouldStop(65536); + BA.debugLineNum = 658;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +Debug.ShouldStop(131072); +_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 = 659;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +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",30,_ba,subs.mostCurrent,89); +if (RapidSub.canDelegate("compress")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","compress", _ba, _str);} +RemoteObject _compressed = null; +RemoteObject _base64 = RemoteObject.createImmutable(""); +; +Debug.locals.put("str", _str); + BA.debugLineNum = 89;BA.debugLine="Sub compress(str As String) As String 'ignore"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 91;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; +Debug.ShouldStop(67108864); +_compressed = subs._gzip.runMethod(false,"compress",(Object)(_str));Debug.locals.put("compressed", _compressed);Debug.locals.put("compressed", _compressed); + BA.debugLineNum = 94;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; +Debug.ShouldStop(536870912); +_base64 = subs._su.runMethod(true,"EncodeBase64",(Object)(_compressed));Debug.locals.put("base64", _base64);Debug.locals.put("base64", _base64); + BA.debugLineNum = 95;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)"; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","536962310",(RemoteObject.concat(RemoteObject.createImmutable("Comprimido: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_base64.runMethod(true,"length")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 97;BA.debugLine="Return base64"; +Debug.ShouldStop(1); +if (true) return _base64; + 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 _copiadb(RemoteObject _ba,RemoteObject _result) throws Exception{ +try { + Debug.PushSubsStack("copiaDB (subs) ","subs",30,_ba,subs.mostCurrent,600); +if (RapidSub.canDelegate("copiadb")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","copiadb", _ba, _result);} +RemoteObject _p = RemoteObject.createImmutable(""); +RemoteObject _thedir = RemoteObject.createImmutable(""); +; +Debug.locals.put("result", _result); + BA.debugLineNum = 600;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 601;BA.debugLine="ToastMessageShow(\"copiaDB\", False)"; +Debug.ShouldStop(16777216); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("copiaDB")),(Object)(subs.mostCurrent.__c.getField(true,"False"))); + BA.debugLineNum = 602;BA.debugLine="If result Then"; +Debug.ShouldStop(33554432); +if (_result.get().booleanValue()) { + BA.debugLineNum = 603;BA.debugLine="Dim p As String"; +Debug.ShouldStop(67108864); +_p = RemoteObject.createImmutable("");Debug.locals.put("p", _p); + BA.debugLineNum = 604;BA.debugLine="If File.ExternalWritable Then"; +Debug.ShouldStop(134217728); +if (subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getExternalWritable").get().booleanValue()) { + BA.debugLineNum = 605;BA.debugLine="p = File.DirInternal"; +Debug.ShouldStop(268435456); +_p = subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("p", _p); + }else { + BA.debugLineNum = 608;BA.debugLine="p = File.DirInternal"; +Debug.ShouldStop(-2147483648); +_p = subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal");Debug.locals.put("p", _p); + }; + BA.debugLineNum = 611;BA.debugLine="Dim theDir As String"; +Debug.ShouldStop(4); +_thedir = RemoteObject.createImmutable("");Debug.locals.put("theDir", _thedir); + BA.debugLineNum = 612;BA.debugLine="Try"; +Debug.ShouldStop(8); +try { BA.debugLineNum = 613;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; +Debug.ShouldStop(16); +subs.mostCurrent.__c.getField(false,"File").runVoidMethod ("MakeDir",(Object)(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(RemoteObject.createImmutable("kmts"))); + BA.debugLineNum = 614;BA.debugLine="theDir = \"/kmts\""; +Debug.ShouldStop(32); +_thedir = BA.ObjectToString("/kmts");Debug.locals.put("theDir", _thedir); + Debug.CheckDeviceExceptions(); +} + catch (Exception e14) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e14.toString()); BA.debugLineNum = 616;BA.debugLine="theDir = \"\""; +Debug.ShouldStop(128); +_thedir = BA.ObjectToString("");Debug.locals.put("theDir", _thedir); + }; + BA.debugLineNum = 618;BA.debugLine="Try"; +Debug.ShouldStop(512); +try { BA.debugLineNum = 619;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirInt"; +Debug.ShouldStop(1024); +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("cedex_kmt.db"))); + BA.debugLineNum = 620;BA.debugLine="File.Copy(File.DirInternal,\"errorLog.db\",File.D"; +Debug.ShouldStop(2048); +subs.mostCurrent.__c.getField(false,"File").runVoidMethod ("Copy",(Object)(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),(Object)(BA.ObjectToString("errorLog.db")),(Object)(RemoteObject.concat(subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal"),_thedir)),(Object)(RemoteObject.createImmutable("cedex_errorLog.db"))); + BA.debugLineNum = 621;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 e21) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e21.toString()); BA.debugLineNum = 623;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 = 625;BA.debugLine="Log(\"rootExternal=\"&p)"; +Debug.ShouldStop(65536); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538797337",RemoteObject.concat(RemoteObject.createImmutable("rootExternal="),_p),0); + BA.debugLineNum = 626;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +Debug.ShouldStop(131072); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538797338",RemoteObject.concat(RemoteObject.createImmutable("File.DirInternal="),subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),0); + BA.debugLineNum = 627;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +Debug.ShouldStop(262144); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538797339",RemoteObject.concat(RemoteObject.createImmutable("File.DirInternal="),subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirInternal")),0); + }else { + BA.debugLineNum = 629;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 = 631;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _cuantosvariablestengobd(RemoteObject _ba,RemoteObject _promo) throws Exception{ +try { + Debug.PushSubsStack("cuantosVariablesTengoBD (subs) ","subs",30,_ba,subs.mostCurrent,1487); +if (RapidSub.canDelegate("cuantosvariablestengobd")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","cuantosvariablestengobd", _ba, _promo);} +; +Debug.locals.put("promo", _promo); + BA.debugLineNum = 1487;BA.debugLine="Sub cuantosVariablesTengoBD(promo As String) As St"; +Debug.ShouldStop(16384); + BA.debugLineNum = 1498;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dameerroresjson(RemoteObject _ba,RemoteObject _sql,RemoteObject _maxerrores,RemoteObject _comprimido) throws Exception{ +try { + Debug.PushSubsStack("dameErroresJSON (subs) ","subs",30,_ba,subs.mostCurrent,538); +if (RapidSub.canDelegate("dameerroresjson")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","dameerroresjson", _ba, _sql, _maxerrores, _comprimido);} +RemoteObject _j = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator"); +RemoteObject _lim = RemoteObject.createImmutable(""); +RemoteObject _cur = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.ResultSetWrapper"); +RemoteObject _l = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _m2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +; +Debug.locals.put("SQL", _sql); +Debug.locals.put("maxErrores", _maxerrores); +Debug.locals.put("comprimido", _comprimido); + BA.debugLineNum = 538;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 539;BA.debugLine="Log(\"dameErroresJSON\")"; +Debug.ShouldStop(67108864); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538600705",RemoteObject.createImmutable("dameErroresJSON"),0); + BA.debugLineNum = 540;BA.debugLine="Private j As JSONGenerator"; +Debug.ShouldStop(134217728); +_j = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator");Debug.locals.put("j", _j); + BA.debugLineNum = 541;BA.debugLine="Private lim As String"; +Debug.ShouldStop(268435456); +_lim = RemoteObject.createImmutable("");Debug.locals.put("lim", _lim); + BA.debugLineNum = 542;BA.debugLine="Private cur As ResultSet"; +Debug.ShouldStop(536870912); +_cur = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.ResultSetWrapper");Debug.locals.put("cur", _cur); + BA.debugLineNum = 543;BA.debugLine="Private l As List"; +Debug.ShouldStop(1073741824); +_l = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("l", _l); + BA.debugLineNum = 544;BA.debugLine="Private i As Int = 0"; +Debug.ShouldStop(-2147483648); +_i = BA.numberCast(int.class, 0);Debug.locals.put("i", _i);Debug.locals.put("i", _i); + BA.debugLineNum = 545;BA.debugLine="l.Initialize"; +Debug.ShouldStop(1); +_l.runVoidMethod ("Initialize"); + BA.debugLineNum = 546;BA.debugLine="Dim m, m2 As Map"; +Debug.ShouldStop(2); +_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 = 547;BA.debugLine="m2.Initialize"; +Debug.ShouldStop(4); +_m2.runVoidMethod ("Initialize"); + BA.debugLineNum = 548;BA.debugLine="If maxErrores = 0 Then lim = \"\" Else lim = \"limit"; +Debug.ShouldStop(8); +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 = 549;BA.debugLine="cur = SQL.ExecQuery(\"select * from errores order"; +Debug.ShouldStop(16); +_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 = 550;BA.debugLine="Do While cur.NextRow"; +Debug.ShouldStop(32); +while (_cur.runMethod(true,"NextRow").get().booleanValue()) { + BA.debugLineNum = 551;BA.debugLine="m.Initialize"; +Debug.ShouldStop(64); +_m.runVoidMethod ("Initialize"); + BA.debugLineNum = 552;BA.debugLine="m.Put(\"fecha\", cur.GetString(\"fecha\"))"; +Debug.ShouldStop(128); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("fecha"))),(Object)((_cur.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("fecha")))))); + BA.debugLineNum = 553;BA.debugLine="m.Put(\"error\", cur.GetString(\"error\"))"; +Debug.ShouldStop(256); +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("error"))),(Object)((_cur.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("error")))))); + BA.debugLineNum = 554;BA.debugLine="m2.Put(i,m)"; +Debug.ShouldStop(512); +_m2.runVoidMethod ("Put",(Object)((_i)),(Object)((_m.getObject()))); + BA.debugLineNum = 555;BA.debugLine="i = i + 1"; +Debug.ShouldStop(1024); +_i = RemoteObject.solve(new RemoteObject[] {_i,RemoteObject.createImmutable(1)}, "+",1, 1);Debug.locals.put("i", _i); + } +; + BA.debugLineNum = 557;BA.debugLine="cur.Close"; +Debug.ShouldStop(4096); +_cur.runVoidMethod ("Close"); + BA.debugLineNum = 558;BA.debugLine="j.Initialize(m2)"; +Debug.ShouldStop(8192); +_j.runVoidMethod ("Initialize",(Object)(_m2)); + BA.debugLineNum = 559;BA.debugLine="Log(j.ToString)"; +Debug.ShouldStop(16384); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538600725",_j.runMethod(true,"ToString"),0); + BA.debugLineNum = 560;BA.debugLine="If comprimido Then"; +Debug.ShouldStop(32768); +if (_comprimido.get().booleanValue()) { + BA.debugLineNum = 561;BA.debugLine="Return compress(j.ToString)"; +Debug.ShouldStop(65536); +if (true) return _compress(_ba,_j.runMethod(true,"ToString")); + }else { + BA.debugLineNum = 563;BA.debugLine="Return j.ToString"; +Debug.ShouldStop(262144); +if (true) return _j.runMethod(true,"ToString"); + }; + BA.debugLineNum = 565;BA.debugLine="End Sub"; +Debug.ShouldStop(1048576); +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",30,_ba,subs.mostCurrent,180); +if (RapidSub.canDelegate("dameruta")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","dameruta", _ba, _inicioruta, _origenruta);} +RemoteObject _fechainicio = RemoteObject.createImmutable(""); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _ruta2 = RemoteObject.createImmutable(""); +int _i = 0; +; +Debug.locals.put("inicioRuta", _inicioruta); +Debug.locals.put("origenRuta", _origenruta); + BA.debugLineNum = 180;BA.debugLine="Sub dameRuta(inicioRuta As String, origenRuta As S"; +Debug.ShouldStop(524288); + BA.debugLineNum = 182;BA.debugLine="Dim fechaInicio As String"; +Debug.ShouldStop(2097152); +_fechainicio = RemoteObject.createImmutable("");Debug.locals.put("fechaInicio", _fechainicio); + BA.debugLineNum = 183;BA.debugLine="Try 'incioRuta es numero"; +Debug.ShouldStop(4194304); +try { BA.debugLineNum = 184;BA.debugLine="inicioRuta = inicioRuta * 1"; +Debug.ShouldStop(8388608); +_inicioruta = BA.NumberToString(RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _inicioruta),RemoteObject.createImmutable(1)}, "*",0, 0));Debug.locals.put("inicioRuta", _inicioruta); + BA.debugLineNum = 186;BA.debugLine="fechaInicio = fechaKMT(DateTime.Now - (DateTime."; +Debug.ShouldStop(33554432); +_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 = 188;BA.debugLine="fechaInicio = fechaInicioHoy"; +Debug.ShouldStop(134217728); +_fechainicio = _fechainiciohoy(_ba);Debug.locals.put("fechaInicio", _fechainicio); + }; + BA.debugLineNum = 191;BA.debugLine="If subsLogs Then Log(\"fechaInicio: \"&fechaInicio&"; +Debug.ShouldStop(1073741824); +if (subs._subslogs.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537421067",RemoteObject.concat(RemoteObject.createImmutable("fechaInicio: "),_fechainicio,RemoteObject.createImmutable(" | rutaHrsAtras="),subs._rutahrsatras),0);}; + BA.debugLineNum = 192;BA.debugLine="Dim c As Cursor"; +Debug.ShouldStop(-2147483648); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 193;BA.debugLine="If kmt.IsInitialized = False Then kmt.Initialize("; +Debug.ShouldStop(1); +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 = 194;BA.debugLine="If subsLogs Then Log(\"select FECHA, LAT, LON from"; +Debug.ShouldStop(2); +if (subs._subslogs.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537421070",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 = 195;BA.debugLine="c = kmt.ExecQuery(\"select FECHA, LAT, LON from \"&"; +Debug.ShouldStop(4); +_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 = 196;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(8); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 197;BA.debugLine="Dim ruta2 As String = \"\""; +Debug.ShouldStop(16); +_ruta2 = BA.ObjectToString("");Debug.locals.put("ruta2", _ruta2);Debug.locals.put("ruta2", _ruta2); + BA.debugLineNum = 198;BA.debugLine="If c.RowCount>0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 199;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(64); +{ +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 = 200;BA.debugLine="c.Position=i"; +Debug.ShouldStop(128); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 201;BA.debugLine="ruta2=ruta2&CRLF&c.GetString(\"LAT\")&\",\"&c.GetSt"; +Debug.ShouldStop(256); +_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 = 202;BA.debugLine="B4XPages.MainPage.fechaRuta = c.GetString(\"FECH"; +Debug.ShouldStop(512); +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 = 205;BA.debugLine="c.Close"; +Debug.ShouldStop(4096); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 206;BA.debugLine="Return compress(ruta2)"; +Debug.ShouldStop(8192); +if (true) return _compress(_ba,_ruta2); + BA.debugLineNum = 207;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +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",30,_ba,subs.mostCurrent,672); +if (RapidSub.canDelegate("dameusuariodedb")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","dameusuariodedb", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _u = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 672;BA.debugLine="Sub dameUsuarioDeDB As String 'ignore"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 673;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(1); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 674;BA.debugLine="Private u As String = \"SinUsuario\""; +Debug.ShouldStop(2); +_u = BA.ObjectToString("SinUsuario");Debug.locals.put("u", _u);Debug.locals.put("u", _u); + BA.debugLineNum = 675;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +Debug.ShouldStop(4); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._kmt.runMethod(true,"IsInitialized"))).get().booleanValue()) { +_revisabd(_ba);}; + BA.debugLineNum = 676;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(8); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs._kmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));Debug.locals.put("c", _c); + BA.debugLineNum = 677;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 678;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(32); +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 = 679;BA.debugLine="c.Close"; +Debug.ShouldStop(64); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 680;BA.debugLine="Return u"; +Debug.ShouldStop(128); +if (true) return _u; + BA.debugLineNum = 681;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +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",30,_ba,subs.mostCurrent,101); +if (RapidSub.canDelegate("decompress")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","decompress", _ba, _base64);} +RemoteObject _decompressedbytes = null; +RemoteObject _bc = RemoteObject.declareNull("anywheresoftware.b4a.agraham.byteconverter.ByteConverter"); +RemoteObject _uncompressed = RemoteObject.createImmutable(""); +; +Debug.locals.put("base64", _base64); + BA.debugLineNum = 101;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; +Debug.ShouldStop(16); + BA.debugLineNum = 102;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; +Debug.ShouldStop(32); +_decompressedbytes = subs._su.runMethod(false,"DecodeBase64",(Object)(_base64));Debug.locals.put("decompressedbytes", _decompressedbytes);Debug.locals.put("decompressedbytes", _decompressedbytes); + BA.debugLineNum = 104;BA.debugLine="Dim bc As ByteConverter"; +Debug.ShouldStop(128); +_bc = RemoteObject.createNew ("anywheresoftware.b4a.agraham.byteconverter.ByteConverter");Debug.locals.put("bc", _bc); + BA.debugLineNum = 105;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; +Debug.ShouldStop(256); +_uncompressed = _bc.runMethod(true,"StringFromBytes",(Object)(_decompressedbytes),(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("uncompressed", _uncompressed);Debug.locals.put("uncompressed", _uncompressed); + BA.debugLineNum = 106;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)"; +Debug.ShouldStop(512); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537027845",(RemoteObject.concat(RemoteObject.createImmutable("Descomprimido: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_uncompressed.runMethod(true,"length")))),RemoteObject.createImmutable(""))),0); + BA.debugLineNum = 108;BA.debugLine="Return uncompressed"; +Debug.ShouldStop(2048); +if (true) return _uncompressed; + 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 _deleteerrorlog_db(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("deleteErrorLog_DB (subs) ","subs",30,_ba,subs.mostCurrent,217); +if (RapidSub.canDelegate("deleteerrorlog_db")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","deleteerrorlog_db", _ba);} +; + BA.debugLineNum = 217;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 218;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; +Debug.ShouldStop(33554432); +subs._errorlog.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from errores"))); + BA.debugLineNum = 219;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(67108864); +subs._errorlog.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 220;BA.debugLine="ToastMessageShow(\"BD Errores Borrada\", False)"; +Debug.ShouldStop(134217728); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("BD Errores Borrada")),(Object)(subs.mostCurrent.__c.getField(true,"False"))); + 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 _deletegps_db(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("deleteGPS_DB (subs) ","subs",30,_ba,subs.mostCurrent,210); +if (RapidSub.canDelegate("deletegps_db")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","deletegps_db", _ba);} +; + BA.debugLineNum = 210;BA.debugLine="Sub deleteGPS_DB 'ignore"; +Debug.ShouldStop(131072); + BA.debugLineNum = 211;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; +Debug.ShouldStop(262144); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from RUTA_GPS"))); + BA.debugLineNum = 212;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +Debug.ShouldStop(524288); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("vacuum;"))); + BA.debugLineNum = 213;BA.debugLine="ToastMessageShow(\"Borramos BD Coords GPS\", False)"; +Debug.ShouldStop(1048576); +subs.mostCurrent.__c.runVoidMethod ("ToastMessageShow",(Object)(BA.ObjectToCharSequence("Borramos BD Coords GPS")),(Object)(subs.mostCurrent.__c.getField(true,"False"))); + BA.debugLineNum = 214;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _fechainiciohoy(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("fechaInicioHoy (subs) ","subs",30,_ba,subs.mostCurrent,353); +if (RapidSub.canDelegate("fechainiciohoy")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","fechainiciohoy", _ba);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _h = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 353;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; +Debug.ShouldStop(1); + BA.debugLineNum = 354;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat"; +Debug.ShouldStop(2); +_origformat = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 355;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; +Debug.ShouldStop(4); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyMMdd")); + BA.debugLineNum = 356;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now"; +Debug.ShouldStop(8); +_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 = 357;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +Debug.ShouldStop(16); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 358;BA.debugLine="Log(\"Hoy=\"&h)"; +Debug.ShouldStop(32); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537945349",RemoteObject.concat(RemoteObject.createImmutable("Hoy="),_h),0); + BA.debugLineNum = 359;BA.debugLine="Return h"; +Debug.ShouldStop(64); +if (true) return _h; + BA.debugLineNum = 360;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +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",30,_ba,subs.mostCurrent,112); +if (RapidSub.canDelegate("fechakmt")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","fechakmt", _ba, _fecha);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _nuevafecha = RemoteObject.createImmutable(""); +; +Debug.locals.put("fecha", _fecha); + BA.debugLineNum = 112;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; +Debug.ShouldStop(32768); + BA.debugLineNum = 114;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +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=\"yyMMddHHmmss\""; +Debug.ShouldStop(262144); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyMMddHHmmss")); + BA.debugLineNum = 116;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; +Debug.ShouldStop(524288); +_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 = 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="Return nuevaFecha"; +Debug.ShouldStop(4194304); +if (true) return _nuevafecha; + BA.debugLineNum = 120;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +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",30,_ba,subs.mostCurrent,568); +if (RapidSub.canDelegate("fechakmt2ticks")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","fechakmt2ticks", _ba, _fkmt);} +RemoteObject _partefecha = RemoteObject.createImmutable(""); +RemoteObject _partehora = RemoteObject.createImmutable(""); +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _ticks = RemoteObject.createImmutable(0L); +; +Debug.locals.put("fKMT", _fkmt); + BA.debugLineNum = 568;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 569;BA.debugLine="Try"; +Debug.ShouldStop(16777216); +try { BA.debugLineNum = 570;BA.debugLine="If fKMT.Length = 12 Then"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_fkmt.runMethod(true,"length"),BA.numberCast(double.class, 12))) { + BA.debugLineNum = 571;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; +Debug.ShouldStop(67108864); +_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 = 572;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; +Debug.ShouldStop(134217728); +_partehora = _fkmt.runMethod(true,"substring",(Object)(BA.numberCast(int.class, 6)));Debug.locals.put("parteHora", _partehora);Debug.locals.put("parteHora", _partehora); + BA.debugLineNum = 573;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; +Debug.ShouldStop(268435456); +_origformat = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 574;BA.debugLine="DateTime.DateFormat=\"yymmdd\""; +Debug.ShouldStop(536870912); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yymmdd")); + BA.debugLineNum = 575;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setTimeFormat",BA.ObjectToString("HHmmss")); + BA.debugLineNum = 576;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; +Debug.ShouldStop(-2147483648); +_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 = 577;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +Debug.ShouldStop(1); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 578;BA.debugLine="Return ticks"; +Debug.ShouldStop(2); +Debug.CheckDeviceExceptions();if (true) return _ticks; + }else { + BA.debugLineNum = 580;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; +Debug.ShouldStop(8); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538666252",RemoteObject.concat(RemoteObject.createImmutable("Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"),_fkmt,RemoteObject.createImmutable("' largo="),_fkmt.runMethod(true,"length")),0); + BA.debugLineNum = 581;BA.debugLine="Return 0"; +Debug.ShouldStop(16); +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 = 584;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(128); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538666256",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + BA.debugLineNum = 585;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; +Debug.ShouldStop(256); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538666257",(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 = 586;BA.debugLine="Return 0"; +Debug.ShouldStop(512); +if (true) return BA.numberCast(long.class, 0); + }; + BA.debugLineNum = 588;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +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",30,_ba,subs.mostCurrent,20); +if (RapidSub.canDelegate("getphnid")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","getphnid", _ba);} +RemoteObject _t = RemoteObject.createImmutable(""); +RemoteObject _s = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 20;BA.debugLine="Sub getPhnId As String 'ignore"; +Debug.ShouldStop(524288); + BA.debugLineNum = 22;BA.debugLine="devModel = phn.Model"; +Debug.ShouldStop(2097152); +subs._devmodel = subs._phn.runMethod(true,"getModel"); + BA.debugLineNum = 23;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("k",subs._devmodel.runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 24;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; +Debug.ShouldStop(8388608); +_t = subs._phn.runMethod(true,"GetSettings",(Object)(RemoteObject.createImmutable("android_id")));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 25;BA.debugLine="devModel = t"; +Debug.ShouldStop(16777216); +subs._devmodel = _t; + }; + BA.debugLineNum = 27;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("g",subs._devmodel.runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 28;BA.debugLine="File.WriteString(File.DirInternal, \"phnId.txt\","; +Debug.ShouldStop(134217728); +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 = 30;BA.debugLine="Else If devModel.Length < 3 Then ' Si no tenemos"; +Debug.ShouldStop(536870912); +if (RemoteObject.solveBoolean("<",subs._devmodel.runMethod(true,"length"),BA.numberCast(double.class, 3))) { + BA.debugLineNum = 31;BA.debugLine="Dim s As String = File.ReadString(File.DirIntern"; +Debug.ShouldStop(1073741824); +_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 = 32;BA.debugLine="devModel = s"; +Debug.ShouldStop(-2147483648); +subs._devmodel = _s; + }} +; + BA.debugLineNum = 36;BA.debugLine="Return devModel"; +Debug.ShouldStop(8); +if (true) return subs._devmodel; + 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 _getssid(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("getSSID (subs) ","subs",30,_ba,subs.mostCurrent,301); +if (RapidSub.canDelegate("getssid")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","getssid", _ba);} +; + BA.debugLineNum = 301;BA.debugLine="Sub getSSID 'ignore"; +Debug.ShouldStop(4096); + BA.debugLineNum = 306;BA.debugLine="End Sub"; +Debug.ShouldStop(131072); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardaappinfo(RemoteObject _ba,RemoteObject _skmt) throws Exception{ +try { + Debug.PushSubsStack("guardaAppInfo (subs) ","subs",30,_ba,subs.mostCurrent,1704); +if (RapidSub.canDelegate("guardaappinfo")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardaappinfo", _ba, _skmt);} +; +Debug.locals.put("skmt", _skmt); + BA.debugLineNum = 1704;BA.debugLine="Sub guardaAppInfo(skmt As SQL)"; +Debug.ShouldStop(128); + BA.debugLineNum = 1705;BA.debugLine="skmt.ExecNonQuery(\"delete from CAT_VARIABLES wher"; +Debug.ShouldStop(256); +_skmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'"))); + BA.debugLineNum = 1706;BA.debugLine="skmt.ExecNonQuery($\"insert into CAT_VARIABLES (CA"; +Debug.ShouldStop(512); +_skmt.runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_NAME', '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent.__c.getField(false,"Application").runMethod(true,"getLabelName")))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 1707;BA.debugLine="skmt.ExecNonQuery($\"insert into CAT_VARIABLES (CA"; +Debug.ShouldStop(1024); +_skmt.runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_VERSION', '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent.__c.getField(false,"Application").runMethod(true,"getVersionName")))),RemoteObject.createImmutable("')"))))); + BA.debugLineNum = 1708;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardaclientehorainicio(RemoteObject _ba,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("guardaClienteHoraInicio (subs) ","subs",30,_ba,subs.mostCurrent,1517); +if (RapidSub.canDelegate("guardaclientehorainicio")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardaclientehorainicio", _ba, _cliente);} +; +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 1517;BA.debugLine="Sub guardaClienteHoraInicio(cliente As String)"; +Debug.ShouldStop(4096); + BA.debugLineNum = 1518;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; +Debug.ShouldStop(8192); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into PEDIDO_INICIO_FINAL(PIF_CLIENTE, PIF_HORA_INICIO, PIF_HORA_FINAL) VALUES(?,?,?) ")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_cliente),(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")),RemoteObject.createImmutable((0))}))))); + BA.debugLineNum = 1520;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +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",30,_ba,subs.mostCurrent,151); +if (RapidSub.canDelegate("guardainfoenarchivo")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardainfoenarchivo", _ba, _coords);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _lastupdate = RemoteObject.createImmutable(""); +RemoteObject _ubic = RemoteObject.createImmutable(""); +RemoteObject _out = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper"); +RemoteObject _s = RemoteObject.createImmutable(""); +RemoteObject _t = null; +; +Debug.locals.put("coords", _coords); + BA.debugLineNum = 151;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 153;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; +Debug.ShouldStop(16777216); +_origformat = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 154;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; +Debug.ShouldStop(33554432); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MMM-dd HH:mm:ss")); + BA.debugLineNum = 155;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N"; +Debug.ShouldStop(67108864); +_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 = 156;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +Debug.ShouldStop(134217728); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 158;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate"; +Debug.ShouldStop(536870912); +_ubic = RemoteObject.concat(_coords,RemoteObject.createImmutable(","),_lastupdate);Debug.locals.put("ubic", _ubic);Debug.locals.put("ubic", _ubic); + BA.debugLineNum = 159;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +Debug.ShouldStop(1073741824); +_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 = 160;BA.debugLine="Dim s As String = ubic & CRLF"; +Debug.ShouldStop(-2147483648); +_s = RemoteObject.concat(_ubic,subs.mostCurrent.__c.getField(true,"CRLF"));Debug.locals.put("s", _s);Debug.locals.put("s", _s); + BA.debugLineNum = 161;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +Debug.ShouldStop(1); +_t = _s.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF-8")));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 162;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +Debug.ShouldStop(2); +_out.runVoidMethod ("WriteBytes",(Object)(_t),(Object)(BA.numberCast(int.class, 0)),(Object)(_t.getField(true,"length"))); + BA.debugLineNum = 163;BA.debugLine="out.Close"; +Debug.ShouldStop(4); +_out.runVoidMethod ("Close"); + BA.debugLineNum = 164;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +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",30,_ba,subs.mostCurrent,167); +if (RapidSub.canDelegate("guardainfoenbd")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardainfoenbd", _ba, _coords);} +RemoteObject _latlon = null; +; +Debug.locals.put("coords", _coords); + BA.debugLineNum = 167;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; +Debug.ShouldStop(64); + BA.debugLineNum = 168;BA.debugLine="Log(\"Guardamos ubicacion en BD - \"&coords)"; +Debug.ShouldStop(128); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537355521",RemoteObject.concat(RemoteObject.createImmutable("Guardamos ubicacion en BD - "),_coords),0); + BA.debugLineNum = 169;BA.debugLine="Try"; +Debug.ShouldStop(256); +try { BA.debugLineNum = 170;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; +Debug.ShouldStop(512); +_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 = 171;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; +Debug.ShouldStop(1024); +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 = 172;BA.debugLine="If subsLogs Then Log(\"LatLon=\"&latlon)"; +Debug.ShouldStop(2048); +if (subs._subslogs.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537355525",RemoteObject.concat(RemoteObject.createImmutable("LatLon="),_latlon),0);}; + BA.debugLineNum = 173;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(FECHA, L"; +Debug.ShouldStop(4096); +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 = 175;BA.debugLine="LogColor(LastException, Colors.red)"; +Debug.ShouldStop(16384); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537355528",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 177;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardaproducto(RemoteObject _ba,RemoteObject _cedis,RemoteObject _costou,RemoteObject _cant,RemoteObject _nombre,RemoteObject _prodid,RemoteObject _clienteid,RemoteObject _fecha,RemoteObject _usuario,RemoteObject _rutav,RemoteObject _preciosin,RemoteObject _tipoventa) throws Exception{ +try { + Debug.PushSubsStack("guardaProducto (subs) ","subs",30,_ba,subs.mostCurrent,813); +if (RapidSub.canDelegate("guardaproducto")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardaproducto", _ba, _cedis, _costou, _cant, _nombre, _prodid, _clienteid, _fecha, _usuario, _rutav, _preciosin, _tipoventa);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("cedis", _cedis); +Debug.locals.put("costoU", _costou); +Debug.locals.put("cant", _cant); +Debug.locals.put("nombre", _nombre); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("clienteId", _clienteid); +Debug.locals.put("fecha", _fecha); +Debug.locals.put("usuario", _usuario); +Debug.locals.put("rutaV", _rutav); +Debug.locals.put("precioSin", _preciosin); +Debug.locals.put("tipoVenta", _tipoventa); + BA.debugLineNum = 813;BA.debugLine="Sub guardaProducto(cedis As String, costoU As Stri"; +Debug.ShouldStop(4096); + BA.debugLineNum = 815;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(16384); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 816;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(32768); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {12},new Object[] {(_cedis),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cant),BA.numberCast(double.class, _costou)}, "*",0, 0))),(_costou),(_cant),(_nombre),(_prodid),(_clienteid),(_fecha),(_usuario),(_rutav),(_preciosin),(_tipoventa)}))))); + BA.debugLineNum = 817;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${S"; +Debug.ShouldStop(65536); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")))),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cant),(_prodid)}))))); + BA.debugLineNum = 818;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; +Debug.ShouldStop(131072); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))));Debug.locals.put("c", _c); + BA.debugLineNum = 819;BA.debugLine="c.Position=0"; +Debug.ShouldStop(262144); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 820;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(524288); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 821;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; +Debug.ShouldStop(1048576); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(_clienteid),(_fecha),(_usuario),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lon_gps" /*RemoteObject*/ )),(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lat_gps" /*RemoteObject*/ )),(_cedis),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 822;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_i"; +Debug.ShouldStop(2097152); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"))); + BA.debugLineNum = 823;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardaproductosingestion(RemoteObject _ba,RemoteObject _cedis,RemoteObject _costou,RemoteObject _cant,RemoteObject _nombre,RemoteObject _prodid,RemoteObject _clienteid,RemoteObject _fecha,RemoteObject _usuario,RemoteObject _rutav,RemoteObject _preciosin,RemoteObject _tipoventa,RemoteObject _cantc,RemoteObject _bcajas) throws Exception{ +try { + Debug.PushSubsStack("guardaProductoSinGestion (subs) ","subs",30,_ba,subs.mostCurrent,828); +if (RapidSub.canDelegate("guardaproductosingestion")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardaproductosingestion", _ba, _cedis, _costou, _cant, _nombre, _prodid, _clienteid, _fecha, _usuario, _rutav, _preciosin, _tipoventa, _cantc, _bcajas);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("cedis", _cedis); +Debug.locals.put("costoU", _costou); +Debug.locals.put("cant", _cant); +Debug.locals.put("nombre", _nombre); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("clienteId", _clienteid); +Debug.locals.put("fecha", _fecha); +Debug.locals.put("usuario", _usuario); +Debug.locals.put("rutaV", _rutav); +Debug.locals.put("precioSin", _preciosin); +Debug.locals.put("tipoVenta", _tipoventa); +Debug.locals.put("cantc", _cantc); +Debug.locals.put("bcajas", _bcajas); + BA.debugLineNum = 828;BA.debugLine="Sub guardaProductoSinGestion(cedis As String, cost"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 830;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(536870912); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 831;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(1073741824); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO,PE_ENVIO_OK,PE_CANTC,PE_BCAJAS) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0,?,?) ")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(_cedis),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cant),BA.numberCast(double.class, _costou)}, "*",0, 0))),(_costou),(_cant),(_nombre),(_prodid),(_clienteid),(_fecha),(_usuario),(_rutav),(_preciosin),(_tipoventa),(_cantc),(_bcajas)}))))); + BA.debugLineNum = 832;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"VENTA\" Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean("=",subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("VENTA"))) { + BA.debugLineNum = 833;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +Debug.ShouldStop(1); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")))),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cant),(_prodid)}))))); + }else { + BA.debugLineNum = 835;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update CA"; +Debug.ShouldStop(4); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.createImmutable("update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "))),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cant),(_prodid)}))))); + BA.debugLineNum = 836;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update CA"; +Debug.ShouldStop(8); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.createImmutable("update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "))),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cant),(_prodid)}))))); + }; + BA.debugLineNum = 838;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; +Debug.ShouldStop(32); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))));Debug.locals.put("c", _c); + BA.debugLineNum = 839;BA.debugLine="c.Position=0"; +Debug.ShouldStop(64); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 840;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(128); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 841;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; +Debug.ShouldStop(256); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(_clienteid),(_fecha),(_usuario),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lon_gps" /*RemoteObject*/ )),(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lat_gps" /*RemoteObject*/ )),(_cedis),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 842;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardaproductosingestion2(RemoteObject _ba,RemoteObject _cedis,RemoteObject _costou,RemoteObject _cant,RemoteObject _nombre,RemoteObject _prodid,RemoteObject _clienteid,RemoteObject _fecha,RemoteObject _usuario,RemoteObject _rutav,RemoteObject _preciosin,RemoteObject _tipoventa,RemoteObject _cantc,RemoteObject _bcajas) throws Exception{ +try { + Debug.PushSubsStack("guardaProductoSinGestion2 (subs) ","subs",30,_ba,subs.mostCurrent,879); +if (RapidSub.canDelegate("guardaproductosingestion2")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardaproductosingestion2", _ba, _cedis, _costou, _cant, _nombre, _prodid, _clienteid, _fecha, _usuario, _rutav, _preciosin, _tipoventa, _cantc, _bcajas);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("cedis", _cedis); +Debug.locals.put("costoU", _costou); +Debug.locals.put("cant", _cant); +Debug.locals.put("nombre", _nombre); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("clienteId", _clienteid); +Debug.locals.put("fecha", _fecha); +Debug.locals.put("usuario", _usuario); +Debug.locals.put("rutaV", _rutav); +Debug.locals.put("precioSin", _preciosin); +Debug.locals.put("tipoVenta", _tipoventa); +Debug.locals.put("cantc", _cantc); +Debug.locals.put("bcajas", _bcajas); + BA.debugLineNum = 879;BA.debugLine="Sub guardaProductoSinGestion2(cedis As String, cos"; +Debug.ShouldStop(16384); + BA.debugLineNum = 881;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(65536); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 882;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +Debug.ShouldStop(131072); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO,PE_ENVIO_OK,PE_CANTC,PE_BCAJAS) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0,?,?) ")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {14},new Object[] {(_cedis),((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _cantc),BA.numberCast(double.class, _costou)}, "*",0, 0))),(_costou),(_cant),(_nombre),(_prodid),(_clienteid),(_fecha),(_usuario),(_rutav),(_preciosin),(_tipoventa),(_cantc),(_bcajas)}))))); + BA.debugLineNum = 883;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"VENTA\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_tipo_venta" /*RemoteObject*/ ),BA.ObjectToString("VENTA"))) { + BA.debugLineNum = 884;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +Debug.ShouldStop(524288); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("update "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ")))),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cant),(_prodid)}))))); + }else { + BA.debugLineNum = 886;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update CA"; +Debug.ShouldStop(2097152); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.createImmutable("update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "))),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cant),(_prodid)}))))); + BA.debugLineNum = 887;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update CA"; +Debug.ShouldStop(4194304); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)((RemoteObject.createImmutable("update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "))),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {2},new Object[] {(_cant),(_prodid)}))))); + }; + BA.debugLineNum = 889;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; +Debug.ShouldStop(16777216); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))));Debug.locals.put("c", _c); + BA.debugLineNum = 890;BA.debugLine="c.Position=0"; +Debug.ShouldStop(33554432); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 891;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +Debug.ShouldStop(67108864); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"))); + BA.debugLineNum = 892;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; +Debug.ShouldStop(134217728); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {9},new Object[] {(_clienteid),(_fecha),(_usuario),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT_CLIE")))),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE")))),(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lon_gps" /*RemoteObject*/ )),(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lat_gps" /*RemoteObject*/ )),(_cedis),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL_CLIE_SIN"))))}))))); + BA.debugLineNum = 893;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _guardaproductosingestiondinamico(RemoteObject _ba,RemoteObject _cedis,RemoteObject _costou,RemoteObject _cant,RemoteObject _nombre,RemoteObject _prodid,RemoteObject _clienteid,RemoteObject _fecha,RemoteObject _usuario,RemoteObject _rutav,RemoteObject _preciosin,RemoteObject _tipoventa,RemoteObject _cantc,RemoteObject _bcajas,RemoteObject _dirigida,RemoteObject _uvm,RemoteObject _presentacion) throws Exception{ +try { + Debug.PushSubsStack("guardaProductoSinGestionDinamico (subs) ","subs",30,_ba,subs.mostCurrent,1837); +if (RapidSub.canDelegate("guardaproductosingestiondinamico")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","guardaproductosingestiondinamico", _ba, _cedis, _costou, _cant, _nombre, _prodid, _clienteid, _fecha, _usuario, _rutav, _preciosin, _tipoventa, _cantc, _bcajas, _dirigida, _uvm, _presentacion);} +RemoteObject _costototal = RemoteObject.createImmutable(0f); +RemoteObject _query = RemoteObject.createImmutable(""); +RemoteObject _tablainventario = RemoteObject.createImmutable(""); +; +Debug.locals.put("cedis", _cedis); +Debug.locals.put("costoU", _costou); +Debug.locals.put("cant", _cant); +Debug.locals.put("nombre", _nombre); +Debug.locals.put("prodId", _prodid); +Debug.locals.put("clienteId", _clienteid); +Debug.locals.put("fecha", _fecha); +Debug.locals.put("usuario", _usuario); +Debug.locals.put("rutaV", _rutav); +Debug.locals.put("precioSin", _preciosin); +Debug.locals.put("tipoVenta", _tipoventa); +Debug.locals.put("cantc", _cantc); +Debug.locals.put("bcajas", _bcajas); +Debug.locals.put("dirigida", _dirigida); +Debug.locals.put("uvm", _uvm); +Debug.locals.put("presentacion", _presentacion); + BA.debugLineNum = 1837;BA.debugLine="Sub guardaProductoSinGestionDinamico(cedis As Stri"; +Debug.ShouldStop(4096); + BA.debugLineNum = 1839;BA.debugLine="Dim costoTotal As Float = (cant / uvm) * costoU"; +Debug.ShouldStop(16384); +_costototal = BA.numberCast(float.class, RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {_cant,_uvm}, "/",0, 0)),_costou}, "*",0, 0));Debug.locals.put("costoTotal", _costototal);Debug.locals.put("costoTotal", _costototal); + BA.debugLineNum = 1841;BA.debugLine="Dim query As String = \"INSERT INTO PEDIDO (PE_CED"; +Debug.ShouldStop(65536); +_query = RemoteObject.concat(RemoteObject.createImmutable("INSERT INTO PEDIDO (PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, "),RemoteObject.createImmutable("PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_RUTA, PE_COSTO_SIN, PE_FOLIO, PE_ENVIO_OK, "),RemoteObject.createImmutable("PE_CANTC, PE_BCAJAS, PE_DIRIGIDA, PE_UVM, PE_PRESENTACION) "),RemoteObject.createImmutable("VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?,?)"));Debug.locals.put("query", _query);Debug.locals.put("query", _query); + BA.debugLineNum = 1846;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(query, Array"; +Debug.ShouldStop(2097152); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(_query),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {17},new Object[] {(_cedis),(_costototal),(_costou),(_cant),(_nombre),(_prodid),(_clienteid),(_fecha),(_usuario),(_rutav),(_preciosin),(_tipoventa),(_cantc),(_bcajas),(_dirigida),(_uvm),(_presentacion)}))))); + BA.debugLineNum = 1850;BA.debugLine="Dim tablaInventario As String = Starter.tabla"; +Debug.ShouldStop(33554432); +_tablainventario = subs.mostCurrent._starter._tabla /*RemoteObject*/ ;Debug.locals.put("tablaInventario", _tablainventario);Debug.locals.put("tablaInventario", _tablainventario); + BA.debugLineNum = 1853;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ${ta"; +Debug.ShouldStop(268435456); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("UPDATE "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tablainventario))),RemoteObject.createImmutable(" SET cat_gp_almacen = cat_gp_almacen - "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cant))),RemoteObject.createImmutable(" WHERE cat_gp_id = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodid))),RemoteObject.createImmutable("'"))))); + BA.debugLineNum = 1856;BA.debugLine="SincronizarTotalesEncabezado(clienteId, fecha, us"; +Debug.ShouldStop(-2147483648); +_sincronizartotalesencabezado(_ba,_clienteid,_fecha,_usuario,_cedis); + BA.debugLineNum = 1857;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _haypedido(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("hayPedido (subs) ","subs",30,_ba,subs.mostCurrent,1663); +if (RapidSub.canDelegate("haypedido")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","haypedido", _ba);} +RemoteObject _thisc = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _hay = RemoteObject.createImmutable(false); +; + BA.debugLineNum = 1663;BA.debugLine="Sub hayPedido As Boolean"; +Debug.ShouldStop(1073741824); + BA.debugLineNum = 1664;BA.debugLine="Private thisC As Cursor=B4XPages.MainPage.skmt.Ex"; +Debug.ShouldStop(-2147483648); +_thisc = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_thisc = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select count(PE_CLIENTE) as hayPedido from PEDIDO where PE_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("'"))))));Debug.locals.put("thisC", _thisc);Debug.locals.put("thisC", _thisc); + BA.debugLineNum = 1665;BA.debugLine="thisC.Position=0"; +Debug.ShouldStop(1); +_thisc.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1666;BA.debugLine="Private hay As Boolean = False"; +Debug.ShouldStop(2); +_hay = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("hay", _hay);Debug.locals.put("hay", _hay); + BA.debugLineNum = 1667;BA.debugLine="If thisC.GetInt(\"hayPedido\") > 0 Then hay = True"; +Debug.ShouldStop(4); +if (RemoteObject.solveBoolean(">",_thisc.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("hayPedido"))),BA.numberCast(double.class, 0))) { +_hay = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("hay", _hay);}; + BA.debugLineNum = 1669;BA.debugLine="Return hay"; +Debug.ShouldStop(16); +if (true) return _hay; + BA.debugLineNum = 1670;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _insertarenglonespruebaenerrorlog(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("insertaRenglonesPruebaEnErrorLog (subs) ","subs",30,_ba,subs.mostCurrent,528); +if (RapidSub.canDelegate("insertarenglonespruebaenerrorlog")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","insertarenglonespruebaenerrorlog", _ba);} +int _x = 0; +; + BA.debugLineNum = 528;BA.debugLine="Sub insertaRenglonesPruebaEnErrorLog 'ignore"; +Debug.ShouldStop(32768); + BA.debugLineNum = 529;BA.debugLine="revisaBD"; +Debug.ShouldStop(65536); +_revisabd(_ba); + BA.debugLineNum = 530;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")"; +Debug.ShouldStop(131072); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538535170",RemoteObject.createImmutable("insertamos 50 renglones a errorLog"),0); + BA.debugLineNum = 531;BA.debugLine="For x = 1 To 50"; +Debug.ShouldStop(262144); +{ +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 = 532;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fech"; +Debug.ShouldStop(524288); +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 = 533;BA.debugLine="Log(x)"; +Debug.ShouldStop(1048576); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538535173",BA.NumberToString(_x),0); + } +}Debug.locals.put("x", _x); +; + 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 _installapk(RemoteObject _ba,RemoteObject _dir,RemoteObject _apk) throws Exception{ +try { + Debug.PushSubsStack("InstallAPK (subs) ","subs",30,_ba,subs.mostCurrent,590); +if (RapidSub.canDelegate("installapk")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","installapk", _ba, _dir, _apk);} +RemoteObject _i = RemoteObject.declareNull("anywheresoftware.b4a.objects.IntentWrapper"); +; +Debug.locals.put("dir", _dir); +Debug.locals.put("apk", _apk); + BA.debugLineNum = 590;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; +Debug.ShouldStop(8192); + BA.debugLineNum = 591;BA.debugLine="If File.Exists(dir, apk) Then"; +Debug.ShouldStop(16384); +if (subs.mostCurrent.__c.getField(false,"File").runMethod(true,"Exists",(Object)(_dir),(Object)(_apk)).get().booleanValue()) { + BA.debugLineNum = 592;BA.debugLine="Dim i As Intent"; +Debug.ShouldStop(32768); +_i = RemoteObject.createNew ("anywheresoftware.b4a.objects.IntentWrapper");Debug.locals.put("i", _i); + BA.debugLineNum = 593;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; +Debug.ShouldStop(65536); +_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 = 594;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +Debug.ShouldStop(131072); +_i.runVoidMethod ("SetType",(Object)(RemoteObject.createImmutable("application/vnd.android.package-archive"))); + BA.debugLineNum = 595;BA.debugLine="StartActivity(i)"; +Debug.ShouldStop(262144); +subs.mostCurrent.__c.runVoidMethod ("StartActivity",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)((_i.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 _json2map(RemoteObject _ba,RemoteObject _thejson) throws Exception{ +try { + Debug.PushSubsStack("JSON2Map (subs) ","subs",30,_ba,subs.mostCurrent,309); +if (RapidSub.canDelegate("json2map")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","json2map", _ba, _thejson);} +RemoteObject _json = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.JSONParser"); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +; +Debug.locals.put("theJson", _thejson); + BA.debugLineNum = 309;BA.debugLine="Sub JSON2Map(theJson As String) As Map 'ignore"; +Debug.ShouldStop(1048576); + BA.debugLineNum = 311;BA.debugLine="Try"; +Debug.ShouldStop(4194304); +try { BA.debugLineNum = 312;BA.debugLine="Private json As JSONParser"; +Debug.ShouldStop(8388608); +_json = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser");Debug.locals.put("json", _json); + BA.debugLineNum = 313;BA.debugLine="json.Initialize(theJson)"; +Debug.ShouldStop(16777216); +_json.runVoidMethod ("Initialize",(Object)(_thejson)); + BA.debugLineNum = 314;BA.debugLine="Return json.NextObject"; +Debug.ShouldStop(33554432); +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 = 316;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(134217728); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537814279",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + BA.debugLineNum = 317;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)"; +Debug.ShouldStop(268435456); +_log2db(_ba,RemoteObject.concat(RemoteObject.createImmutable("JSON2Map: "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba))); + BA.debugLineNum = 318;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene"; +Debug.ShouldStop(536870912); +_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 = 319;BA.debugLine="Return m"; +Debug.ShouldStop(1073741824); +if (true) return _m; + }; + BA.debugLineNum = 321;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _log2db(RemoteObject _ba,RemoteObject _texto) throws Exception{ +try { + Debug.PushSubsStack("log2DB (subs) ","subs",30,_ba,subs.mostCurrent,363); +if (RapidSub.canDelegate("log2db")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","log2db", _ba, _texto);} +; +Debug.locals.put("texto", _texto); + BA.debugLineNum = 363;BA.debugLine="Sub log2DB(texto As String) 'ignore"; +Debug.ShouldStop(1024); + BA.debugLineNum = 364;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; +Debug.ShouldStop(2048); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538010881",RemoteObject.concat(_fechakmt(_ba,BA.NumberToString(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"))),RemoteObject.createImmutable(" - log2BD: '"),_texto,RemoteObject.createImmutable("'")),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"LightGray")); + BA.debugLineNum = 365;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO bitacora(fecha, te"; +Debug.ShouldStop(4096); +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 = 366;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _logjobdoneresultados(RemoteObject _ba,RemoteObject _resultado) throws Exception{ +try { + Debug.PushSubsStack("logJobDoneResultados (subs) ","subs",30,_ba,subs.mostCurrent,1694); +if (RapidSub.canDelegate("logjobdoneresultados")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","logjobdoneresultados", _ba, _resultado);} +RemoteObject _records = null; +RemoteObject _k = RemoteObject.createImmutable(""); +; +Debug.locals.put("resultado", _resultado); + BA.debugLineNum = 1694;BA.debugLine="Sub logJobDoneResultados(resultado As DBResult)"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 1695;BA.debugLine="For Each records() As Object In resultado.Rows"; +Debug.ShouldStop(1073741824); +{ +final RemoteObject group1 = _resultado.getField(false,"Rows" /*RemoteObject*/ ); +final int groupLen1 = group1.runMethod(true,"getSize").get() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_records = (group1.runMethod(false,"Get",index1));Debug.locals.put("records", _records); +Debug.locals.put("records", _records); + BA.debugLineNum = 1696;BA.debugLine="LogColor($\"====== ${resultado.Tag} - REGISTROS ="; +Debug.ShouldStop(-2147483648); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541877506",(RemoteObject.concat(RemoteObject.createImmutable("====== "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_resultado.getField(false,"Tag" /*RemoteObject*/ ))),RemoteObject.createImmutable(" - REGISTROS = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_resultado.getField(false,"Rows" /*RemoteObject*/ ).runMethod(true,"getSize")))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 215)),(Object)(BA.numberCast(int.class, 37)),(Object)(BA.numberCast(int.class, 0)))); + BA.debugLineNum = 1697;BA.debugLine="For Each k As String In resultado.Columns.Keys"; +Debug.ShouldStop(1); +{ +final RemoteObject group3 = _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Keys"); +final int groupLen3 = group3.runMethod(true,"getSize").get() +;int index3 = 0; +; +for (; index3 < groupLen3;index3++){ +_k = BA.ObjectToString(group3.runMethod(false,"Get",index3));Debug.locals.put("k", _k); +Debug.locals.put("k", _k); + BA.debugLineNum = 1698;BA.debugLine="LogColor(k & \" = \" & records(resultado.Columns."; +Debug.ShouldStop(2); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541877508",RemoteObject.concat(_k,RemoteObject.createImmutable(" = "),_records.getArrayElement(false,BA.numberCast(int.class, _resultado.getField(false,"Columns" /*RemoteObject*/ ).runMethod(false,"Get",(Object)((_k)))))),subs.mostCurrent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 215)),(Object)(BA.numberCast(int.class, 37)),(Object)(BA.numberCast(int.class, 0)))); + } +}Debug.locals.put("k", _k); +; + } +}Debug.locals.put("records", _records); +; + BA.debugLineNum = 1701;BA.debugLine="End Sub"; +Debug.ShouldStop(16); +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",30,_ba,subs.mostCurrent,324); +if (RapidSub.canDelegate("map2json")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","map2json", _ba, _m);} +RemoteObject _jg = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator"); +RemoteObject _t = RemoteObject.createImmutable(""); +; +Debug.locals.put("m", _m); + BA.debugLineNum = 324;BA.debugLine="Sub map2JSON(m As Map) As String 'ignore"; +Debug.ShouldStop(8); + BA.debugLineNum = 327;BA.debugLine="Dim jg As JSONGenerator"; +Debug.ShouldStop(64); +_jg = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator");Debug.locals.put("jg", _jg); + BA.debugLineNum = 328;BA.debugLine="jg.Initialize(m)"; +Debug.ShouldStop(128); +_jg.runVoidMethod ("Initialize",(Object)(_m)); + BA.debugLineNum = 329;BA.debugLine="Dim t As String = jg.ToString"; +Debug.ShouldStop(256); +_t = _jg.runMethod(true,"ToString");Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 330;BA.debugLine="Return t"; +Debug.ShouldStop(512); +if (true) return _t; + 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 _masdexxmins(RemoteObject _ba,RemoteObject _hora,RemoteObject _mins) throws Exception{ +try { + Debug.PushSubsStack("masDeXXMins (subs) ","subs",30,_ba,subs.mostCurrent,369); +if (RapidSub.canDelegate("masdexxmins")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","masdexxmins", _ba, _hora, _mins);} +; +Debug.locals.put("hora", _hora); +Debug.locals.put("mins", _mins); + BA.debugLineNum = 369;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; +Debug.ShouldStop(65536); + BA.debugLineNum = 370;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; +Debug.ShouldStop(131072); +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 = 371;BA.debugLine="Return True"; +Debug.ShouldStop(262144); +if (true) return subs.mostCurrent.__c.getField(true,"True"); + }else { + BA.debugLineNum = 373;BA.debugLine="Return False"; +Debug.ShouldStop(1048576); +if (true) return subs.mostCurrent.__c.getField(true,"False"); + }; + BA.debugLineNum = 375;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +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",30,_ba,subs.mostCurrent,378); +if (RapidSub.canDelegate("masdexxminskmt")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","masdexxminskmt", _ba, _hora, _mins);} +; +Debug.locals.put("hora", _hora); +Debug.locals.put("mins", _mins); + BA.debugLineNum = 378;BA.debugLine="Sub masDeXXMinsKMT(hora As String, mins As Int) As"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 379;BA.debugLine="Try"; +Debug.ShouldStop(67108864); +try { BA.debugLineNum = 381;BA.debugLine="If fechaKMT2Ticks(hora) + mins * DateTime.TicksP"; +Debug.ShouldStop(268435456); +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 = 383;BA.debugLine="Return True"; +Debug.ShouldStop(1073741824); +Debug.CheckDeviceExceptions();if (true) return subs.mostCurrent.__c.getField(true,"True"); + }else { + BA.debugLineNum = 386;BA.debugLine="Return False"; +Debug.ShouldStop(2); +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 = 389;BA.debugLine="Log(LastException)"; +Debug.ShouldStop(16); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538141963",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),0); + }; + BA.debugLineNum = 391;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _notihigh(RemoteObject _ba,RemoteObject _title,RemoteObject _body,RemoteObject _activity) throws Exception{ +try { + Debug.PushSubsStack("notiHigh (subs) ","subs",30,_ba,subs.mostCurrent,123); +if (RapidSub.canDelegate("notihigh")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","notihigh", _ba, _title, _body, _activity);} +RemoteObject _notif = RemoteObject.declareNull("anywheresoftware.b4a.objects.NotificationWrapper"); +; +Debug.locals.put("title", _title); +Debug.locals.put("body", _body); +Debug.locals.put("activity", _activity); + BA.debugLineNum = 123;BA.debugLine="Sub notiHigh(title As String, body As String, acti"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 124;BA.debugLine="Private notif As Notification"; +Debug.ShouldStop(134217728); +_notif = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper");Debug.locals.put("notif", _notif); + BA.debugLineNum = 125;BA.debugLine="notif.Initialize2(notif.IMPORTANCE_HIGH)"; +Debug.ShouldStop(268435456); +_notif.runVoidMethod ("Initialize2",(Object)(_notif.getField(true,"IMPORTANCE_HIGH"))); + BA.debugLineNum = 126;BA.debugLine="notif.Icon = \"icon\""; +Debug.ShouldStop(536870912); +_notif.runVoidMethod ("setIcon",BA.ObjectToString("icon")); + BA.debugLineNum = 127;BA.debugLine="notif.Vibrate = False"; +Debug.ShouldStop(1073741824); +_notif.runVoidMethod ("setVibrate",subs.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 128;BA.debugLine="notif.Sound = False"; +Debug.ShouldStop(-2147483648); +_notif.runVoidMethod ("setSound",subs.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 129;BA.debugLine="notif.AutoCancel = True"; +Debug.ShouldStop(1); +_notif.runVoidMethod ("setAutoCancel",subs.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 130;BA.debugLine="Log(\"notiHigh: \"&title)"; +Debug.ShouldStop(2); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537158919",RemoteObject.concat(RemoteObject.createImmutable("notiHigh: "),_title),0); + BA.debugLineNum = 131;BA.debugLine="notif.SetInfo(title, body, activity)"; +Debug.ShouldStop(4); +_notif.runVoidMethod ("SetInfoNew",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_body)),(Object)(_activity)); + BA.debugLineNum = 133;BA.debugLine="notif.Notify(777)"; +Debug.ShouldStop(16); +_notif.runVoidMethod ("Notify",(Object)(BA.numberCast(int.class, 777))); + BA.debugLineNum = 134;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +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",30,_ba,subs.mostCurrent,137); +if (RapidSub.canDelegate("notilowreturn")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","notilowreturn", _ba, _title, _body, _id);} +RemoteObject _notification = RemoteObject.declareNull("anywheresoftware.b4a.objects.NotificationWrapper"); +; +Debug.locals.put("title", _title); +Debug.locals.put("Body", _body); +Debug.locals.put("id", _id); + BA.debugLineNum = 137;BA.debugLine="Sub notiLowReturn(title As String, Body As String,"; +Debug.ShouldStop(256); + BA.debugLineNum = 138;BA.debugLine="Private notification As Notification"; +Debug.ShouldStop(512); +_notification = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper");Debug.locals.put("notification", _notification); + BA.debugLineNum = 139;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +Debug.ShouldStop(1024); +_notification.runVoidMethod ("Initialize2",(Object)(_notification.getField(true,"IMPORTANCE_LOW"))); + BA.debugLineNum = 140;BA.debugLine="Log(\"notiLowReturn: \"&title)"; +Debug.ShouldStop(2048); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537224451",RemoteObject.concat(RemoteObject.createImmutable("notiLowReturn: "),_title),0); + BA.debugLineNum = 141;BA.debugLine="notification.Icon = \"icon\""; +Debug.ShouldStop(4096); +_notification.runVoidMethod ("setIcon",BA.ObjectToString("icon")); + BA.debugLineNum = 142;BA.debugLine="notification.Sound = False"; +Debug.ShouldStop(8192); +_notification.runVoidMethod ("setSound",subs.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 143;BA.debugLine="notification.Vibrate = False"; +Debug.ShouldStop(16384); +_notification.runVoidMethod ("setVibrate",subs.mostCurrent.__c.getField(true,"False")); + BA.debugLineNum = 144;BA.debugLine="notification.SetInfo(title, Body, Main)"; +Debug.ShouldStop(32768); +_notification.runVoidMethod ("SetInfoNew",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(BA.ObjectToCharSequence(_title)),(Object)(BA.ObjectToCharSequence(_body)),(Object)((subs.mostCurrent._main.getObject()))); + BA.debugLineNum = 145;BA.debugLine="notification.Notify(id)"; +Debug.ShouldStop(65536); +_notification.runVoidMethod ("Notify",(Object)(_id)); + BA.debugLineNum = 147;BA.debugLine="Return notification"; +Debug.ShouldStop(262144); +if (true) return _notification; + BA.debugLineNum = 148;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +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",30,_ba,subs.mostCurrent,634); +if (RapidSub.canDelegate("panelvisible")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","panelvisible", _ba, _panel, _top, _left);} +; +Debug.locals.put("panel", _panel); +Debug.locals.put("top", _top); +Debug.locals.put("left", _left); + BA.debugLineNum = 634;BA.debugLine="Sub panelVisible(panel As Panel, top As Int, left"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 635;BA.debugLine="panel.BringToFront"; +Debug.ShouldStop(67108864); +_panel.runVoidMethod ("BringToFront"); + BA.debugLineNum = 636;BA.debugLine="panel.Visible = True"; +Debug.ShouldStop(134217728); +_panel.runMethod(true,"setVisible",subs.mostCurrent.__c.getField(true,"True")); + BA.debugLineNum = 637;BA.debugLine="panel.Top = top"; +Debug.ShouldStop(268435456); +_panel.runMethod(true,"setTop",_top); + BA.debugLineNum = 638;BA.debugLine="panel.Left = left"; +Debug.ShouldStop(536870912); +_panel.runMethod(true,"setLeft",_left); + BA.debugLineNum = 639;BA.debugLine="End Sub"; +Debug.ShouldStop(1073741824); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _pedidoguardado(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("pedidoGuardado (subs) ","subs",30,_ba,subs.mostCurrent,1651); +if (RapidSub.canDelegate("pedidoguardado")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","pedidoguardado", _ba);} +RemoteObject _guardado = RemoteObject.createImmutable(false); +RemoteObject _g = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 1651;BA.debugLine="Sub pedidoGuardado As Boolean"; +Debug.ShouldStop(262144); + BA.debugLineNum = 1652;BA.debugLine="Private guardado As Boolean = False"; +Debug.ShouldStop(524288); +_guardado = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("guardado", _guardado);Debug.locals.put("guardado", _guardado); + BA.debugLineNum = 1653;BA.debugLine="Private g As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(1048576); +_g = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_g = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select gestion from kmt_info where CAT_CL_CODIGO in (Select CUENTA from cuentaa)"))));Debug.locals.put("g", _g);Debug.locals.put("g", _g); + BA.debugLineNum = 1654;BA.debugLine="If g.RowCount > 0 Then"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean(">",_g.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1655;BA.debugLine="g.Position=0"; +Debug.ShouldStop(4194304); +_g.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1656;BA.debugLine="If g.GetString(\"gestion\") = \"2\" Or g.GetString(\""; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("=",_g.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.ObjectToString("2")) || RemoteObject.solveBoolean("=",_g.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("gestion"))),BA.ObjectToString("3"))) { +_guardado = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("guardado", _guardado);}; + }; + BA.debugLineNum = 1659;BA.debugLine="Return guardado"; +Debug.ShouldStop(67108864); +if (true) return _guardado; + BA.debugLineNum = 1660;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(false); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _procesapromocion(RemoteObject _ba,RemoteObject _idpromo,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("procesaPromocion (subs) ","subs",30,_ba,subs.mostCurrent,1302); +if (RapidSub.canDelegate("procesapromocion")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","procesapromocion", _ba, _idpromo, _cliente);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _iniciocontador = RemoteObject.createImmutable(""); +RemoteObject _pm = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _inventariosinfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _pv = RemoteObject.createImmutable(false); +; +Debug.locals.put("idPromo", _idpromo); +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 1302;BA.debugLine="Sub procesaPromocion(idPromo As String, cliente As"; +Debug.ShouldStop(2097152); + BA.debugLineNum = 1303;BA.debugLine="Private thisLog As Boolean = True 'Si es verdade"; +Debug.ShouldStop(4194304); +_thislog = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 1304;BA.debugLine="Private inicioContador As String = DateTime.Now"; +Debug.ShouldStop(8388608); +_iniciocontador = BA.NumberToString(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"));Debug.locals.put("inicioContador", _iniciocontador);Debug.locals.put("inicioContador", _iniciocontador); + BA.debugLineNum = 1305;BA.debugLine="If thisLog Then LogColor($\"********* Iniciamos re"; +Debug.ShouldStop(16777216); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540894467",(RemoteObject.concat(RemoteObject.createImmutable("********* Iniciamos revision de Promo "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idpromo))),RemoteObject.createImmutable(" *********"))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta"));}; + BA.debugLineNum = 1307;BA.debugLine="Private pm As Map = traePromo(idPromo, cliente)"; +Debug.ShouldStop(67108864); +_pm = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_pm = _traepromo(_ba,_idpromo,_cliente);Debug.locals.put("pm", _pm);Debug.locals.put("pm", _pm); + BA.debugLineNum = 1308;BA.debugLine="If thisLog Then LogColor(pm, Colors.Blue)"; +Debug.ShouldStop(134217728); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540894470",BA.ObjectToString(_pm),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1309;BA.debugLine="If pm.Get(\"resultado\") = \"ok\" Then 'Si encontramo"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean("=",_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("resultado")))),RemoteObject.createImmutable(("ok")))) { + BA.debugLineNum = 1311;BA.debugLine="If thisLog Then LogColor($\"Promociones permitida"; +Debug.ShouldStop(1073741824); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540894473",(RemoteObject.concat(RemoteObject.createImmutable("Promociones permitidas="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traemaxpromos(_ba,_pm)))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1312;BA.debugLine="If thisLog Then Log(\"Promos vendidas: \" & traePr"; +Debug.ShouldStop(-2147483648); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540894474",RemoteObject.concat(RemoteObject.createImmutable("Promos vendidas: "),_traepromosvendidas(_ba,_idpromo,_cliente)),0);}; + BA.debugLineNum = 1313;BA.debugLine="If traePromosVendidas(idPromo, cliente) >= traeM"; +Debug.ShouldStop(1); +if (RemoteObject.solveBoolean("g",_traepromosvendidas(_ba,_idpromo,_cliente),BA.numberCast(double.class, _traemaxpromos(_ba,_pm)))) { + BA.debugLineNum = 1314;BA.debugLine="If thisLog Then LogColor(\"Ya se vendieron las p"; +Debug.ShouldStop(2); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540894476",BA.ObjectToString("Ya se vendieron las promos PERMITIDAS para el cliente"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red"));}; + BA.debugLineNum = 1315;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)"; +Debug.ShouldStop(4); +if (true) return subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("status")),RemoteObject.createImmutable(("ko")),RemoteObject.createImmutable(("mp")),(_pm.getObject())})); + }; + BA.debugLineNum = 1318;BA.debugLine="Private inventarioSinFijos As Map = restaFijosPr"; +Debug.ShouldStop(32); +_inventariosinfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_inventariosinfijos = _restafijospromo(_ba,_pm);Debug.locals.put("inventarioSinFijos", _inventariosinfijos);Debug.locals.put("inventarioSinFijos", _inventariosinfijos); + BA.debugLineNum = 1319;BA.debugLine="If thisLog Then LogColor(\"inventariosfijos=\"&inv"; +Debug.ShouldStop(64); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540894481",RemoteObject.concat(RemoteObject.createImmutable("inventariosfijos="),_inventariosinfijos),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Green"));}; + BA.debugLineNum = 1321;BA.debugLine="If inventarioSinFijos.Get(\"resultado\") = \"ok\" Th"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_inventariosinfijos.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("resultado")))),RemoteObject.createImmutable(("ok")))) { + BA.debugLineNum = 1323;BA.debugLine="Private pv As Boolean = alcanzanLosVariablesPa"; +Debug.ShouldStop(1024); +_pv = _alcanzanlosvariablesparapromo(_ba,_pm,_inventariosinfijos);Debug.locals.put("pv", _pv);Debug.locals.put("pv", _pv); + BA.debugLineNum = 1324;BA.debugLine="If thisLog Then Log(\"Alcanzan los variables? --"; +Debug.ShouldStop(2048); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540894486",RemoteObject.concat(RemoteObject.createImmutable("Alcanzan los variables? --> "),_pv),0);}; + BA.debugLineNum = 1325;BA.debugLine="If pv Then Return CreateMap(\"status\":\"ok\", \"mp\""; +Debug.ShouldStop(4096); +if (_pv.get().booleanValue()) { +if (true) return subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("status")),RemoteObject.createImmutable(("ok")),RemoteObject.createImmutable(("mp")),(_pm.getObject())}));} +else { +if (true) return subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("status")),RemoteObject.createImmutable(("ko")),RemoteObject.createImmutable(("mp")),(_pm.getObject())}));}; + }else { + BA.debugLineNum = 1327;BA.debugLine="If thisLog Then LogColor(\"NO HAY INVENTARIO SUF"; +Debug.ShouldStop(16384); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540894489",RemoteObject.concat(RemoteObject.createImmutable("NO HAY INVENTARIO SUFICIENTE "),_idpromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red"));}; + BA.debugLineNum = 1328;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)"; +Debug.ShouldStop(32768); +if (true) return subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("status")),RemoteObject.createImmutable(("ko")),RemoteObject.createImmutable(("mp")),(_pm.getObject())})); + }; + }; + BA.debugLineNum = 1334;BA.debugLine="LogColor(\"TIEMPO DE PROCESO ESTA PROMO: \" & ((Dat"; +Debug.ShouldStop(2097152); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540894496",RemoteObject.concat(RemoteObject.createImmutable("TIEMPO DE PROCESO ESTA PROMO: "),(RemoteObject.solve(new RemoteObject[] {(RemoteObject.solve(new RemoteObject[] {subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"),BA.numberCast(double.class, _iniciocontador)}, "-",1, 0)),RemoteObject.createImmutable(1000)}, "/",0, 0))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1335;BA.debugLine="End Sub"; +Debug.ShouldStop(4194304); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 3;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 6;BA.debugLine="Public GZip As GZipStrings 'Usa la libreria Com"; +subs._gzip = RemoteObject.createNew ("de.donmanfred.GZipStringswrapper"); + //BA.debugLineNum = 7;BA.debugLine="Private su As StringUtils 'Usa la libreria Stri"; +subs._su = RemoteObject.createNew ("anywheresoftware.b4a.objects.StringUtils"); + //BA.debugLineNum = 8;BA.debugLine="Dim phn As Phone"; +subs._phn = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone"); + //BA.debugLineNum = 9;BA.debugLine="Dim devModel As String"; +subs._devmodel = RemoteObject.createImmutable(""); + //BA.debugLineNum = 10;BA.debugLine="Dim kmt, errorLog As SQL 'Requiere la libreria \"S"; +subs._kmt = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL"); +subs._errorlog = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL"); + //BA.debugLineNum = 12;BA.debugLine="Dim ssid As String 'ignore"; +subs._ssid = RemoteObject.createImmutable(""); + //BA.debugLineNum = 13;BA.debugLine="Dim rutaMaxPoints As Int = 3000"; +subs._rutamaxpoints = BA.numberCast(int.class, 3000); + //BA.debugLineNum = 14;BA.debugLine="Dim rutaHrsAtras As Int = 48"; +subs._rutahrsatras = BA.numberCast(int.class, 48); + //BA.debugLineNum = 16;BA.debugLine="Private subsLogs As Boolean = False"; +subs._subslogs = subs.mostCurrent.__c.getField(true,"False"); + //BA.debugLineNum = 17;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _restafijospromo(RemoteObject _ba,RemoteObject _promomap) throws Exception{ +try { + Debug.PushSubsStack("restaFijosPromo (subs) ","subs",30,_ba,subs.mostCurrent,1117); +if (RapidSub.canDelegate("restafijospromo")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","restafijospromo", _ba, _promomap);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _inventariosdisponiblesparaestapromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _i = RemoteObject.createImmutable(0); +RemoteObject _prodsmap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _prodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _p = 0; +RemoteObject _t = RemoteObject.createImmutable(""); +RemoteObject _p2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +; +Debug.locals.put("promoMap", _promomap); + BA.debugLineNum = 1117;BA.debugLine="Sub restaFijosPromo(promoMap As Map) As Map 'ignor"; +Debug.ShouldStop(268435456); + BA.debugLineNum = 1118;BA.debugLine="Private thisLog As Boolean = True 'Si es verdader"; +Debug.ShouldStop(536870912); +_thislog = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 1119;BA.debugLine="Private inventariosDisponiblesParaEstaPromo As Ma"; +Debug.ShouldStop(1073741824); +_inventariosdisponiblesparaestapromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_inventariosdisponiblesparaestapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))));Debug.locals.put("inventariosDisponiblesParaEstaPromo", _inventariosdisponiblesparaestapromo);Debug.locals.put("inventariosDisponiblesParaEstaPromo", _inventariosdisponiblesparaestapromo); + BA.debugLineNum = 1120;BA.debugLine="If thisLog Then LogColor(\"InvDisponible: \" & inve"; +Debug.ShouldStop(-2147483648); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540632323",RemoteObject.concat(RemoteObject.createImmutable("InvDisponible: "),_inventariosdisponiblesparaestapromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red"));}; + BA.debugLineNum = 1121;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial ante"; +Debug.ShouldStop(1); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540632324",RemoteObject.concat(RemoteObject.createImmutable("Inventario inicial antes de FIJOS: "),_inventariosdisponiblesparaestapromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Gray"));}; + BA.debugLineNum = 1122;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"resultad"; +Debug.ShouldStop(2); +_inventariosdisponiblesparaestapromo.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("resultado"))),(Object)((RemoteObject.createImmutable("ko")))); + BA.debugLineNum = 1123;BA.debugLine="Private i As Int"; +Debug.ShouldStop(4); +_i = RemoteObject.createImmutable(0);Debug.locals.put("i", _i); + BA.debugLineNum = 1124;BA.debugLine="Private prodsmap As Map = promoMap.Get(\"productos"; +Debug.ShouldStop(8); +_prodsmap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_prodsmap = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("productos")))));Debug.locals.put("prodsmap", _prodsmap);Debug.locals.put("prodsmap", _prodsmap); + BA.debugLineNum = 1125;BA.debugLine="Private prodsFijos As List = promoMap.get(\"prodsF"; +Debug.ShouldStop(16); +_prodsfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_prodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijos")))));Debug.locals.put("prodsFijos", _prodsfijos);Debug.locals.put("prodsFijos", _prodsfijos); + BA.debugLineNum = 1126;BA.debugLine="For p = 0 To prodsFijos.Size - 1"; +Debug.ShouldStop(32); +{ +final int step9 = 1; +final int limit9 = RemoteObject.solve(new RemoteObject[] {_prodsfijos.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step9 > 0 && _p <= limit9) || (step9 < 0 && _p >= limit9) ;_p = ((int)(0 + _p + step9)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 1127;BA.debugLine="Private t As String = prodsFijos.Get(p) 'Obtenem"; +Debug.ShouldStop(64); +_t = BA.ObjectToString(_prodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))));Debug.locals.put("t", _t);Debug.locals.put("t", _t); + BA.debugLineNum = 1128;BA.debugLine="Private p2 As Map = prodsmap.Get(t) 'Obtenemos u"; +Debug.ShouldStop(128); +_p2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_p2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), _prodsmap.runMethod(false,"Get",(Object)((_t))));Debug.locals.put("p2", _p2);Debug.locals.put("p2", _p2); + BA.debugLineNum = 1129;BA.debugLine="If thisLog Then Log($\"T: ${t}, prod ${p2.Get(\"id"; +Debug.ShouldStop(256); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540632332",(RemoteObject.concat(RemoteObject.createImmutable("T: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_t))),RemoteObject.createImmutable(", prod "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_p2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("idProducto")))))),RemoteObject.createImmutable(", piezas: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_p2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("piezas")))))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1130;BA.debugLine="If thisLog Then Log(\"inventariosDisponiblesParaE"; +Debug.ShouldStop(512); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540632333",RemoteObject.concat(RemoteObject.createImmutable("inventariosDisponiblesParaEstaPromo="),_inventariosdisponiblesparaestapromo),0);}; + BA.debugLineNum = 1131;BA.debugLine="If inventariosDisponiblesParaEstaPromo.ContainsK"; +Debug.ShouldStop(1024); +if (_inventariosdisponiblesparaestapromo.runMethod(true,"ContainsKey",(Object)((_t))).get().booleanValue()) { + BA.debugLineNum = 1132;BA.debugLine="i = inventariosDisponiblesParaEstaPromo.get(t)"; +Debug.ShouldStop(2048); +_i = BA.numberCast(int.class, _inventariosdisponiblesparaestapromo.runMethod(false,"Get",(Object)((_t))));Debug.locals.put("i", _i); + BA.debugLineNum = 1133;BA.debugLine="If thisLog Then Log($\"Nuevo inventario de ${t}:"; +Debug.ShouldStop(4096); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540632336",(RemoteObject.concat(RemoteObject.createImmutable("Nuevo inventario de "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_t))),RemoteObject.createImmutable(": "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_i))),RemoteObject.createImmutable("-"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))))).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))),RemoteObject.createImmutable(" = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("1.0")),(Object)((RemoteObject.solve(new RemoteObject[] {_i,BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))))).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))}, "-",1, 0)))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1134;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(t, $\"${"; +Debug.ShouldStop(8192); +_inventariosdisponiblesparaestapromo.runVoidMethod ("Put",(Object)((_t)),(Object)(((RemoteObject.concat(RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {_i,BA.numberCast(double.class, (RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _promomap.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))))).runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))}, "-",1, 0)))),RemoteObject.createImmutable("")))))); + BA.debugLineNum = 1135;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; +Debug.ShouldStop(16384); +_inventariosdisponiblesparaestapromo.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("resultado"))),(Object)((RemoteObject.createImmutable("ok")))); + }else { + BA.debugLineNum = 1137;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; +Debug.ShouldStop(65536); +_inventariosdisponiblesparaestapromo.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("resultado"))),(Object)((RemoteObject.createImmutable("No hay suficiente producto para la promocion.")))); + BA.debugLineNum = 1138;BA.debugLine="LogColor(\"Sin suficiente inventario fijo: \" & t"; +Debug.ShouldStop(131072); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540632341",RemoteObject.concat(RemoteObject.createImmutable("Sin suficiente inventario fijo: "),_t),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue")); + BA.debugLineNum = 1139;BA.debugLine="Exit"; +Debug.ShouldStop(262144); +if (true) break; + }; + BA.debugLineNum = 1141;BA.debugLine="If i - p2.Get(\"piezas\") < 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_i,BA.numberCast(double.class, _p2.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("piezas")))))}, "-",1, 0),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1142;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; +Debug.ShouldStop(2097152); +_inventariosdisponiblesparaestapromo.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("resultado"))),(Object)((RemoteObject.createImmutable("No hay suficiente producto para la promocion.")))); + BA.debugLineNum = 1143;BA.debugLine="Exit"; +Debug.ShouldStop(4194304); +if (true) break; + }; + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 1146;BA.debugLine="If prodsFijos.Size = 0 Then inventariosDisponible"; +Debug.ShouldStop(33554432); +if (RemoteObject.solveBoolean("=",_prodsfijos.runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { +_inventariosdisponiblesparaestapromo.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("resultado"))),(Object)((RemoteObject.createImmutable("ok"))));}; + BA.debugLineNum = 1147;BA.debugLine="If thisLog Then LogColor(\"Inventario final depues"; +Debug.ShouldStop(67108864); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540632350",RemoteObject.concat(RemoteObject.createImmutable("Inventario final depues de FIJOS: "),_inventariosdisponiblesparaestapromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1148;BA.debugLine="Return inventariosDisponiblesParaEstaPromo"; +Debug.ShouldStop(134217728); +if (true) return _inventariosdisponiblesparaestapromo; + BA.debugLineNum = 1149;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisabd(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("revisaBD (subs) ","subs",30,_ba,subs.mostCurrent,233); +if (RapidSub.canDelegate("revisabd")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisabd", _ba);} +; + BA.debugLineNum = 233;BA.debugLine="Sub revisaBD 'ignore"; +Debug.ShouldStop(256); + BA.debugLineNum = 237;BA.debugLine="If Not(File.Exists(Starter.ruta, \"kmt.db\")) Then"; +Debug.ShouldStop(4096); +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()) { + BA.debugLineNum = 238;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", Starter.ruta"; +Debug.ShouldStop(8192); +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 = 239;BA.debugLine="LogColor(\"copiamos kmt.db de \"&File.DirAssets &"; +Debug.ShouldStop(16384); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537683206",RemoteObject.concat(RemoteObject.createImmutable("copiamos kmt.db de "),subs.mostCurrent.__c.getField(false,"File").runMethod(true,"getDirAssets"),RemoteObject.createImmutable(" a "),subs.mostCurrent._starter._ruta /*RemoteObject*/ ),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Green")); + }; + BA.debugLineNum = 241;BA.debugLine="If Not(kmt.IsInitialized) Then kmt.Initialize(Sta"; +Debug.ShouldStop(65536); +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 = 242;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUTA"; +Debug.ShouldStop(131072); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"))); + BA.debugLineNum = 244;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; +Debug.ShouldStop(524288); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"))); + BA.debugLineNum = 246;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ABON"; +Debug.ShouldStop(2097152); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS ABONOSP(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT)"))); + BA.debugLineNum = 247;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CLIE"; +Debug.ShouldStop(4194304); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS CLIENTE_NUEVO(CN_ID_CLIENTE TEXT, CN_NOMBRE TEXT, CN_enviado text)"))); + BA.debugLineNum = 248;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUTA"; +Debug.ShouldStop(8388608); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS RUTA_SUPLENCIA(RS_RUTA TEXT)"))); + BA.debugLineNum = 249;BA.debugLine="Try 'Si no existe la columna PC_ENVIO_OK la agreg"; +Debug.ShouldStop(16777216); +try { BA.debugLineNum = 250;BA.debugLine="kmt.ExecQuery(\"select count(PC_ENVIO_OK) from PE"; +Debug.ShouldStop(33554432); +subs._kmt.runVoidMethod ("ExecQuery",(Object)(RemoteObject.createImmutable("select count(PC_ENVIO_OK) from PEDIDO_CLIENTE"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e14) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e14.toString()); BA.debugLineNum = 252;BA.debugLine="Try"; +Debug.ShouldStop(134217728); +try { BA.debugLineNum = 253;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE PEDIDO_CLIENTE AD"; +Debug.ShouldStop(268435456); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_ENVIO_OK INTEGER"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e17) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e17.toString()); BA.debugLineNum = 255;BA.debugLine="LogColor(\"No pudimos agregar la columna PC_ENVI"; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537683222",BA.ObjectToString("No pudimos agregar la columna PC_ENVIO_OK."),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 256;BA.debugLine="LogColor(LastException, Colors.Red)"; +Debug.ShouldStop(-2147483648); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537683223",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + }; + BA.debugLineNum = 260;BA.debugLine="Try 'Si no existe la columna CAT_CL_DIAS_VISITA l"; +Debug.ShouldStop(8); +try { BA.debugLineNum = 261;BA.debugLine="kmt.ExecQuery(\"select count(CAT_CL_DIAS_VISITA)"; +Debug.ShouldStop(16); +subs._kmt.runVoidMethod ("ExecQuery",(Object)(RemoteObject.createImmutable("select count(CAT_CL_DIAS_VISITA) from kmt_info2"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e24) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e24.toString()); BA.debugLineNum = 263;BA.debugLine="Try"; +Debug.ShouldStop(64); +try { BA.debugLineNum = 264;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE kmt_info2 ADD COL"; +Debug.ShouldStop(128); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("ALTER TABLE kmt_info2 ADD COLUMN CAT_CL_DIAS_VISITA TEXT"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e27) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e27.toString()); BA.debugLineNum = 266;BA.debugLine="LogColor(\"No pudimos agregar la columna CAT_CL_"; +Debug.ShouldStop(512); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537683233",BA.ObjectToString("No pudimos agregar la columna CAT_CL_DIAS_VISITA."),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 267;BA.debugLine="LogColor(LastException, Colors.Red)"; +Debug.ShouldStop(1024); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537683234",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + }; + BA.debugLineNum = 271;BA.debugLine="Try 'Si no existe la columna PC_ENVIO_OK la agreg"; +Debug.ShouldStop(16384); +try { BA.debugLineNum = 272;BA.debugLine="kmt.ExecQuery(\"select count(PC_TIEMPO_TIENDA) fr"; +Debug.ShouldStop(32768); +subs._kmt.runVoidMethod ("ExecQuery",(Object)(RemoteObject.createImmutable("select count(PC_TIEMPO_TIENDA) from PEDIDO_CLIENTE"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e34) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e34.toString()); BA.debugLineNum = 274;BA.debugLine="Try"; +Debug.ShouldStop(131072); +try { BA.debugLineNum = 275;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE PEDIDO_CLIENTE AD"; +Debug.ShouldStop(262144); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_TIEMPO_TIENDA FLOAT"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e37) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e37.toString()); BA.debugLineNum = 277;BA.debugLine="LogColor(\"No pudimos agregar la columna PC_TIEM"; +Debug.ShouldStop(1048576); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537683244",BA.ObjectToString("No pudimos agregar la columna PC_TIEMPO_TIENDA."),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 278;BA.debugLine="LogColor(LastException, Colors.Red)"; +Debug.ShouldStop(2097152); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537683245",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + }; + BA.debugLineNum = 281;BA.debugLine="Try 'Si no existe la columna PC_FACTURA la agrega"; +Debug.ShouldStop(16777216); +try { BA.debugLineNum = 282;BA.debugLine="kmt.ExecQuery(\"select count(PC_FACTURA) from PED"; +Debug.ShouldStop(33554432); +subs._kmt.runVoidMethod ("ExecQuery",(Object)(RemoteObject.createImmutable("select count(PC_FACTURA) from PEDIDO_CLIENTE"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e44) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e44.toString()); BA.debugLineNum = 284;BA.debugLine="Try"; +Debug.ShouldStop(134217728); +try { BA.debugLineNum = 285;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE PEDIDO_CLIENTE AD"; +Debug.ShouldStop(268435456); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_FACTURA INTEGER"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e47) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e47.toString()); BA.debugLineNum = 287;BA.debugLine="LogColor(\"No pudimos agregar la columna PC_FACT"; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537683254",BA.ObjectToString("No pudimos agregar la columna PC_FACTURA."),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 288;BA.debugLine="LogColor(LastException, Colors.Red)"; +Debug.ShouldStop(-2147483648); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","537683255",BA.ObjectToString(subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + }; + BA.debugLineNum = 291;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; +Debug.ShouldStop(4); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"))); + BA.debugLineNum = 293;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PEDI"; +Debug.ShouldStop(16); +subs._kmt.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS PEDIDO_INICIO_FINAL(PIF_CLIENTE TEXT, PIF_HORA_INICIO LONG, PIF_HORA_FINAL LONG)"))); + BA.debugLineNum = 296;BA.debugLine="If Not(errorLog.IsInitialized) Then errorLog.Init"; +Debug.ShouldStop(128); +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 = 297;BA.debugLine="errorLog.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS"; +Debug.ShouldStop(256); +subs._errorlog.runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("CREATE TABLE IF NOT EXISTS errores(fecha INTEGER, error TEXT)"))); + BA.debugLineNum = 298;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +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",30,_ba,subs.mostCurrent,441); +if (RapidSub.canDelegate("revisaflp")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisaflp", _ba);} +RemoteObject _todobienflp = RemoteObject.createImmutable(false); +; + BA.debugLineNum = 441;BA.debugLine="Sub revisaFLP 'ignore"; +Debug.ShouldStop(16777216); + BA.debugLineNum = 442;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col"; +Debug.ShouldStop(33554432); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538338561",BA.ObjectToString("**** **** Revisamos FLP **** ****"),subs.mostCurrent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 78)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 227)))); + BA.debugLineNum = 443;BA.debugLine="Private todoBienFLP As Boolean = True"; +Debug.ShouldStop(67108864); +_todobienflp = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("todoBienFLP", _todobienflp);Debug.locals.put("todoBienFLP", _todobienflp); + BA.debugLineNum = 444;BA.debugLine="Try"; +Debug.ShouldStop(134217728); +try { BA.debugLineNum = 445;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then"; +Debug.ShouldStop(268435456); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(true,"IsInitialized"))).get().booleanValue()) { + BA.debugLineNum = 446;BA.debugLine="log2DB(\"revisaFLP: No esta inicializado ... 'Re"; +Debug.ShouldStop(536870912); +_log2db(_ba,RemoteObject.createImmutable("revisaFLP: No esta inicializado ... 'Reinicializando FLP'")); + BA.debugLineNum = 447;BA.debugLine="Tracker.FLP.Initialize(\"flp\")"; +Debug.ShouldStop(1073741824); +subs.mostCurrent._tracker._flp /*RemoteObject*/ .runVoidMethod ("Initialize",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(RemoteObject.createImmutable("flp"))); + BA.debugLineNum = 448;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(-2147483648); +_todobienflp = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e10) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e10.toString()); BA.debugLineNum = 451;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) ---"; +Debug.ShouldStop(4); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538338570",RemoteObject.concat(RemoteObject.createImmutable("If Not(Tracker.FLP.IsInitialized) --- "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 453;BA.debugLine="Try"; +Debug.ShouldStop(16); +try { BA.debugLineNum = 454;BA.debugLine="If Tracker.FLP.IsInitialized Then"; +Debug.ShouldStop(32); +if (subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 455;BA.debugLine="Try"; +Debug.ShouldStop(64); +try { BA.debugLineNum = 456;BA.debugLine="If Not(Tracker.FLP.IsConnected) Then"; +Debug.ShouldStop(128); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(true,"IsConnected"))).get().booleanValue()) { + BA.debugLineNum = 457;BA.debugLine="log2DB(\"revisaFLP: No esta conectado ... 'Rec"; +Debug.ShouldStop(256); +_log2db(_ba,RemoteObject.createImmutable("revisaFLP: No esta conectado ... 'Reconectando FLP'")); + BA.debugLineNum = 459;BA.debugLine="CallSubDelayed(Tracker,\"StartFLP\")"; +Debug.ShouldStop(1024); +subs.mostCurrent.__c.runVoidMethod ("CallSubDelayed",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)((subs.mostCurrent._tracker.getObject())),(Object)(RemoteObject.createImmutable("StartFLP"))); + BA.debugLineNum = 460;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(2048); +_todobienflp = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e21) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e21.toString()); BA.debugLineNum = 463;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->"; +Debug.ShouldStop(16384); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538338582",RemoteObject.concat(RemoteObject.createImmutable("If Not(Tracker.FLP.IsConnected) --> "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 465;BA.debugLine="Try"; +Debug.ShouldStop(65536); +try { BA.debugLineNum = 466;BA.debugLine="If Tracker.FLP.IsConnected And _ Tracker."; +Debug.ShouldStop(131072); +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 = 469;BA.debugLine="log2DB(\"revisaFLP: 'No se esta actualizando,"; +Debug.ShouldStop(1048576); +_log2db(_ba,RemoteObject.createImmutable("revisaFLP: 'No se esta actualizando, lo reiniciamos ...'")); + BA.debugLineNum = 470;BA.debugLine="StartService(Tracker)"; +Debug.ShouldStop(2097152); +subs.mostCurrent.__c.runVoidMethod ("StartService",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)((subs.mostCurrent._tracker.getObject()))); + BA.debugLineNum = 471;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(4194304); +_todobienflp = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e30) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e30.toString()); BA.debugLineNum = 474;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I"; +Debug.ShouldStop(33554432); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538338593",RemoteObject.concat(RemoteObject.createImmutable("If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + }; + BA.debugLineNum = 477;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error"; +Debug.ShouldStop(268435456); +if (_todobienflp.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538338596",BA.ObjectToString(" +++ +++ Sin errores en FLP"),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Green"));}; + Debug.CheckDeviceExceptions(); +} + catch (Exception e35) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e35.toString()); BA.debugLineNum = 479;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las"; +Debug.ShouldStop(1073741824); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538338598",RemoteObject.concat(RemoteObject.createImmutable("If Tracker.FLP.IsInitialized --> "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 482;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisamaxpromosprodsfijosporinventario(RemoteObject _ba,RemoteObject _pm) throws Exception{ +try { + Debug.PushSubsStack("revisaMaxPromosProdsFijosPorInventario (subs) ","subs",30,_ba,subs.mostCurrent,1381); +if (RapidSub.canDelegate("revisamaxpromosprodsfijosporinventario")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisamaxpromosprodsfijosporinventario", _ba, _pm);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _invfijoxpromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _t = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _invdispparapromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _prodsfijospiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _idprodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _p = 0; +RemoteObject _x = null; +; +Debug.locals.put("pm", _pm); + BA.debugLineNum = 1381;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario(pm As M"; +Debug.ShouldStop(16); + BA.debugLineNum = 1382;BA.debugLine="Private thisLog As Boolean = False"; +Debug.ShouldStop(32); +_thislog = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 1383;BA.debugLine="Private invFijoXpromo As Map"; +Debug.ShouldStop(64); +_invfijoxpromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("invFijoXpromo", _invfijoxpromo); + BA.debugLineNum = 1384;BA.debugLine="Private t As List"; +Debug.ShouldStop(128); +_t = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("t", _t); + BA.debugLineNum = 1385;BA.debugLine="t.Initialize"; +Debug.ShouldStop(256); +_t.runVoidMethod ("Initialize"); + BA.debugLineNum = 1386;BA.debugLine="t.Add(traeMaxPromos(pm)) ' Agregamos a la lista l"; +Debug.ShouldStop(512); +_t.runVoidMethod ("Add",(Object)((_traemaxpromos(_ba,_pm)))); + BA.debugLineNum = 1387;BA.debugLine="invFijoXpromo.Initialize"; +Debug.ShouldStop(1024); +_invfijoxpromo.runVoidMethod ("Initialize"); + BA.debugLineNum = 1388;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu"; +Debug.ShouldStop(2048); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541025543",(RemoteObject.concat(RemoteObject.createImmutable("pm="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pm.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1389;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; +Debug.ShouldStop(4096); +_invdispparapromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))));Debug.locals.put("invDispParaPromo", _invdispparapromo);Debug.locals.put("invDispParaPromo", _invdispparapromo); + BA.debugLineNum = 1390;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; +Debug.ShouldStop(8192); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541025545",(RemoteObject.concat(RemoteObject.createImmutable("invDispParaPromo="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_invdispparapromo.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1391;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF"; +Debug.ShouldStop(16384); +_prodsfijospiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_prodsfijospiezas = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))));Debug.locals.put("prodsFijosPiezas", _prodsfijospiezas);Debug.locals.put("prodsFijosPiezas", _prodsfijospiezas); + BA.debugLineNum = 1392;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos"; +Debug.ShouldStop(32768); +_idprodsfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_idprodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijos")))));Debug.locals.put("idProdsFijos", _idprodsfijos);Debug.locals.put("idProdsFijos", _idprodsfijos); + BA.debugLineNum = 1393;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos una"; +Debug.ShouldStop(65536); +{ +final int step12 = 1; +final int limit12 = RemoteObject.solve(new RemoteObject[] {_idprodsfijos.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step12 > 0 && _p <= limit12) || (step12 < 0 && _p >= limit12) ;_p = ((int)(0 + _p + step12)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 1394;BA.debugLine="If thisLog Then Log($\"id=${idProdsFijos.Get(p)},"; +Debug.ShouldStop(131072); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541025549",(RemoteObject.concat(RemoteObject.createImmutable("id="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))),RemoteObject.createImmutable(", inv="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_invdispparapromo.runMethod(false,"Get",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))))),RemoteObject.createImmutable(", pzas="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1395;BA.debugLine="If thisLog Then Log($\"${(invDispParaPromo.Get(id"; +Debug.ShouldStop(262144); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541025550",(RemoteObject.concat(RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _invdispparapromo.runMethod(false,"Get",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))))),BA.numberCast(double.class, _prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))}, "/",0, 0))))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1396;BA.debugLine="Private x() As String = Regex.Split(\"\\.\", $\"${(i"; +Debug.ShouldStop(524288); +_x = subs.mostCurrent.__c.getField(false,"Regex").runMethod(false,"Split",(Object)(BA.ObjectToString("\\.")),(Object)((RemoteObject.concat(RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(((RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _invdispparapromo.runMethod(false,"Get",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))))),BA.numberCast(double.class, _prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))}, "/",0, 0))))),RemoteObject.createImmutable("")))));Debug.locals.put("x", _x);Debug.locals.put("x", _x); + BA.debugLineNum = 1397;BA.debugLine="If thisLog Then Log(x(0))"; +Debug.ShouldStop(1048576); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541025552",_x.getArrayElement(true,BA.numberCast(int.class, 0)),0);}; + BA.debugLineNum = 1398;BA.debugLine="t.Add(x(0).As(Int)) 'Solo guardamos la parte del"; +Debug.ShouldStop(2097152); +_t.runVoidMethod ("Add",(Object)(((BA.numberCast(int.class, _x.getArrayElement(true,BA.numberCast(int.class, 0))))))); + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 1400;BA.debugLine="t.Sort(True) 'Ordenamos la lista para que en el l"; +Debug.ShouldStop(8388608); +_t.runVoidMethod ("Sort",(Object)(subs.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 1401;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi"; +Debug.ShouldStop(16777216); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541025556",(RemoteObject.concat(RemoteObject.createImmutable("prodsFijos="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idprodsfijos.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1402;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${"; +Debug.ShouldStop(33554432); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541025557",(RemoteObject.concat(RemoteObject.createImmutable("prodsFijosPiezasReq="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodsfijospiezas.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1403;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij"; +Debug.ShouldStop(67108864); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541025558",(RemoteObject.concat(RemoteObject.createImmutable("invFijoXpromo="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_invfijoxpromo.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1405;BA.debugLine="Return t.Get(0) 'Regresamos el resultado mas pequ"; +Debug.ShouldStop(268435456); +if (true) return BA.numberCast(int.class, _t.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))); + BA.debugLineNum = 1406;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisamaxpromosprodsfijosporinventario2(RemoteObject _ba,RemoteObject _pm) throws Exception{ +try { + Debug.PushSubsStack("revisaMaxPromosProdsFijosPorInventario2 (subs) ","subs",30,_ba,subs.mostCurrent,1338); +if (RapidSub.canDelegate("revisamaxpromosprodsfijosporinventario2")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisamaxpromosprodsfijosporinventario2", _ba, _pm);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _invdispparapromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _maxpromos = RemoteObject.createImmutable(""); +RemoteObject _maxpromosfijosxinv = RemoteObject.createImmutable(0); +RemoteObject _fpf2 = RemoteObject.createImmutable(0); +RemoteObject _pdp2 = RemoteObject.createImmutable(0); +RemoteObject _salir = RemoteObject.createImmutable(false); +RemoteObject _pf = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _pfp = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _invfijoxpromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +int _p = 0; +int _i = 0; +int _q = 0; +RemoteObject _q2 = RemoteObject.createImmutable(""); +; +Debug.locals.put("pm", _pm); + BA.debugLineNum = 1338;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario2(pm As"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 1339;BA.debugLine="Private thisLog As Boolean = False"; +Debug.ShouldStop(67108864); +_thislog = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 1340;BA.debugLine="If thisLog Then Log($\"pm=${pm}\"$)"; +Debug.ShouldStop(134217728); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540960002",(RemoteObject.concat(RemoteObject.createImmutable("pm="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pm.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1342;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; +Debug.ShouldStop(536870912); +_invdispparapromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))));Debug.locals.put("invDispParaPromo", _invdispparapromo);Debug.locals.put("invDispParaPromo", _invdispparapromo); + BA.debugLineNum = 1343;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; +Debug.ShouldStop(1073741824); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540960005",(RemoteObject.concat(RemoteObject.createImmutable("invDispParaPromo="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_invdispparapromo.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1344;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)"; +Debug.ShouldStop(-2147483648); +_maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm));Debug.locals.put("maxPromos", _maxpromos);Debug.locals.put("maxPromos", _maxpromos); + BA.debugLineNum = 1345;BA.debugLine="Private maxPromosFijosXinv As Int = 1"; +Debug.ShouldStop(1); +_maxpromosfijosxinv = BA.numberCast(int.class, 1);Debug.locals.put("maxPromosFijosXinv", _maxpromosfijosxinv);Debug.locals.put("maxPromosFijosXinv", _maxpromosfijosxinv); + BA.debugLineNum = 1346;BA.debugLine="Private fpf2, pdp2 As Int"; +Debug.ShouldStop(2); +_fpf2 = RemoteObject.createImmutable(0);Debug.locals.put("fpf2", _fpf2); +_pdp2 = RemoteObject.createImmutable(0);Debug.locals.put("pdp2", _pdp2); + BA.debugLineNum = 1347;BA.debugLine="Private salir As Boolean = False"; +Debug.ShouldStop(4); +_salir = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("salir", _salir);Debug.locals.put("salir", _salir); + BA.debugLineNum = 1348;BA.debugLine="Private pf As List = pm.Get(\"prodsFijos\")"; +Debug.ShouldStop(8); +_pf = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_pf = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijos")))));Debug.locals.put("pf", _pf);Debug.locals.put("pf", _pf); + BA.debugLineNum = 1349;BA.debugLine="Private pfp As List = pm.Get(\"prodsFijosPiezas\")"; +Debug.ShouldStop(16); +_pfp = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_pfp = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))));Debug.locals.put("pfp", _pfp);Debug.locals.put("pfp", _pfp); + BA.debugLineNum = 1350;BA.debugLine="If thisLog Then Log($\"maxPromos=${maxPromos}, pro"; +Debug.ShouldStop(32); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540960012",(RemoteObject.concat(RemoteObject.createImmutable("maxPromos="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxpromos))),RemoteObject.createImmutable(", prodsFijos="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pf.getObject()))),RemoteObject.createImmutable(", piezas="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pfp.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1351;BA.debugLine="If thisLog Then LogColor($\"InvFijo disponible=${i"; +Debug.ShouldStop(64); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540960013",(RemoteObject.concat(RemoteObject.createImmutable("InvFijo disponible="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_invdispparapromo.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1352;BA.debugLine="Private invFijoXpromo As Map"; +Debug.ShouldStop(128); +_invfijoxpromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("invFijoXpromo", _invfijoxpromo); + BA.debugLineNum = 1353;BA.debugLine="invFijoXpromo.Initialize"; +Debug.ShouldStop(256); +_invfijoxpromo.runVoidMethod ("Initialize"); + BA.debugLineNum = 1354;BA.debugLine="For p = 0 To pf.Size -1 'Generamos mapa con los p"; +Debug.ShouldStop(512); +{ +final int step15 = 1; +final int limit15 = RemoteObject.solve(new RemoteObject[] {_pf.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step15 > 0 && _p <= limit15) || (step15 < 0 && _p >= limit15) ;_p = ((int)(0 + _p + step15)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 1355;BA.debugLine="invFijoXpromo.Put(pf.Get(p), pfp.Get(p))"; +Debug.ShouldStop(1024); +_invfijoxpromo.runVoidMethod ("Put",(Object)(_pf.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))),(Object)(_pfp.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))); + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 1357;BA.debugLine="If thisLog Then LogColor(\"Inv req. de prods fijos"; +Debug.ShouldStop(4096); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540960019",RemoteObject.concat(RemoteObject.createImmutable("Inv req. de prods fijos x promo"),_invfijoxpromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Green"));}; + BA.debugLineNum = 1358;BA.debugLine="For i = 1 To maxPromos 'Revisamos cuantas promoci"; +Debug.ShouldStop(8192); +{ +final int step19 = 1; +final int limit19 = (int)(Double.parseDouble(_maxpromos.get())); +_i = 1 ; +for (;(step19 > 0 && _i <= limit19) || (step19 < 0 && _i >= limit19) ;_i = ((int)(0 + _i + step19)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1359;BA.debugLine="If thisLog Then LogColor(\"Prods para promo \" & ("; +Debug.ShouldStop(16384); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540960021",RemoteObject.concat(RemoteObject.createImmutable("Prods para promo "),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Magenta"));}; + BA.debugLineNum = 1360;BA.debugLine="For q = 0 To pf.Size - 1"; +Debug.ShouldStop(32768); +{ +final int step21 = 1; +final int limit21 = RemoteObject.solve(new RemoteObject[] {_pf.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_q = 0 ; +for (;(step21 > 0 && _q <= limit21) || (step21 < 0 && _q >= limit21) ;_q = ((int)(0 + _q + step21)) ) { +Debug.locals.put("q", _q); + BA.debugLineNum = 1361;BA.debugLine="Private q2 As String = pf.Get(q)"; +Debug.ShouldStop(65536); +_q2 = BA.ObjectToString(_pf.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _q))));Debug.locals.put("q2", _q2);Debug.locals.put("q2", _q2); + BA.debugLineNum = 1362;BA.debugLine="If thisLog Then Log(\"q=\"&q2)"; +Debug.ShouldStop(131072); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540960024",RemoteObject.concat(RemoteObject.createImmutable("q="),_q2),0);}; + BA.debugLineNum = 1364;BA.debugLine="fpf2 = pfp.Get(q) * i 'Multiplicamos las piezas"; +Debug.ShouldStop(524288); +_fpf2 = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _pfp.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _q)))),RemoteObject.createImmutable(_i)}, "*",0, 0));Debug.locals.put("fpf2", _fpf2); + BA.debugLineNum = 1365;BA.debugLine="pdp2 = invDispParaPromo.Get(q2)"; +Debug.ShouldStop(1048576); +_pdp2 = BA.numberCast(int.class, _invdispparapromo.runMethod(false,"Get",(Object)((_q2))));Debug.locals.put("pdp2", _pdp2); + BA.debugLineNum = 1366;BA.debugLine="If thisLog Then Log($\"pf=${q2}, Actual=${(i)},"; +Debug.ShouldStop(2097152); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540960028",(RemoteObject.concat(RemoteObject.createImmutable("pf="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_q2))),RemoteObject.createImmutable(", Actual="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(RemoteObject.createImmutable(((_i))))),RemoteObject.createImmutable(", max promos: "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pdp2))),RemoteObject.createImmutable("-"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_fpf2))),RemoteObject.createImmutable("="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {_pdp2,_fpf2}, "-",1, 1)))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1367;BA.debugLine="If pdp2 - fpf2 < 0 Then 'Si el inventario es ne"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_pdp2,_fpf2}, "-",1, 1),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1368;BA.debugLine="salir=True"; +Debug.ShouldStop(8388608); +_salir = subs.mostCurrent.__c.getField(true,"True");Debug.locals.put("salir", _salir); + BA.debugLineNum = 1369;BA.debugLine="Exit"; +Debug.ShouldStop(16777216); +if (true) break; + }; + } +}Debug.locals.put("q", _q); +; + BA.debugLineNum = 1372;BA.debugLine="If salir Then Exit"; +Debug.ShouldStop(134217728); +if (_salir.get().booleanValue()) { +if (true) break;}; + BA.debugLineNum = 1373;BA.debugLine="maxPromosFijosXinv = i"; +Debug.ShouldStop(268435456); +_maxpromosfijosxinv = BA.numberCast(int.class, _i);Debug.locals.put("maxPromosFijosXinv", _maxpromosfijosxinv); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1375;BA.debugLine="If thisLog Then LogColor(\"InvFijo requerido x pro"; +Debug.ShouldStop(1073741824); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540960037",RemoteObject.concat(RemoteObject.createImmutable("InvFijo requerido x promo="),_invfijoxpromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1376;BA.debugLine="LogColor(\"Maximo de promociones de prodsFijos POR"; +Debug.ShouldStop(-2147483648); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540960038",RemoteObject.concat(RemoteObject.createImmutable("Maximo de promociones de prodsFijos POR inventario = "),_maxpromosfijosxinv),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + BA.debugLineNum = 1377;BA.debugLine="Return maxPromosFijosXinv"; +Debug.ShouldStop(1); +if (true) return _maxpromosfijosxinv; + BA.debugLineNum = 1378;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisamaxpromosprodsvariablesporinventario(RemoteObject _ba,RemoteObject _pm) throws Exception{ +try { + Debug.PushSubsStack("revisaMaxPromosProdsVariablesPorInventario (subs) ","subs",30,_ba,subs.mostCurrent,1413); +if (RapidSub.canDelegate("revisamaxpromosprodsvariablesporinventario")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisamaxpromosprodsvariablesporinventario", _ba, _pm);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _invfijoxpromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _totalprodsvariablesdisponibles = RemoteObject.createImmutable(0); +RemoteObject _totalprodsvariables2disponibles = RemoteObject.createImmutable(0); +RemoteObject _invdispparapromo = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _maxpromos = RemoteObject.createImmutable(""); +RemoteObject _maxpromosxfijos = RemoteObject.createImmutable(0); +RemoteObject _idprodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _idprodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsvariablesrequeridos = RemoteObject.createImmutable(0); +RemoteObject _prodsvariables2requeridos = RemoteObject.createImmutable(0); +RemoteObject _prodsfijospiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _idprodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +int _p = 0; +RemoteObject _idesteprod = RemoteObject.createImmutable(""); +RemoteObject _investeprod = RemoteObject.createImmutable(0); +RemoteObject _pzasreqesteprod = RemoteObject.createImmutable(0); +RemoteObject _maxpromosxvariables = RemoteObject.createImmutable(0); +RemoteObject _maxpromosxvariables2 = RemoteObject.createImmutable(0); +int _x = 0; +int _i = 0; +; +Debug.locals.put("pm", _pm); + BA.debugLineNum = 1413;BA.debugLine="Sub revisaMaxPromosProdsVariablesPorInventario(pm"; +Debug.ShouldStop(16); + BA.debugLineNum = 1414;BA.debugLine="Private thisLog As Boolean = False"; +Debug.ShouldStop(32); +_thislog = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 1415;BA.debugLine="If thisLog Then Log(\"============================"; +Debug.ShouldStop(64); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091074",RemoteObject.createImmutable("======================================================"),0);}; + BA.debugLineNum = 1416;BA.debugLine="If thisLog Then Log(\"============================"; +Debug.ShouldStop(128); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091075",RemoteObject.createImmutable("======================================================"),0);}; + BA.debugLineNum = 1417;BA.debugLine="Private invFijoXpromo As Map"; +Debug.ShouldStop(256); +_invfijoxpromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("invFijoXpromo", _invfijoxpromo); + BA.debugLineNum = 1418;BA.debugLine="invFijoXpromo.Initialize"; +Debug.ShouldStop(512); +_invfijoxpromo.runVoidMethod ("Initialize"); + BA.debugLineNum = 1419;BA.debugLine="Private totalProdsVariablesDisponibles As Int = 0"; +Debug.ShouldStop(1024); +_totalprodsvariablesdisponibles = BA.numberCast(int.class, 0);Debug.locals.put("totalProdsVariablesDisponibles", _totalprodsvariablesdisponibles);Debug.locals.put("totalProdsVariablesDisponibles", _totalprodsvariablesdisponibles); + BA.debugLineNum = 1420;BA.debugLine="Private totalProdsVariables2Disponibles As Int ="; +Debug.ShouldStop(2048); +_totalprodsvariables2disponibles = BA.numberCast(int.class, 0);Debug.locals.put("totalProdsVariables2Disponibles", _totalprodsvariables2disponibles);Debug.locals.put("totalProdsVariables2Disponibles", _totalprodsvariables2disponibles); + BA.debugLineNum = 1421;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu"; +Debug.ShouldStop(4096); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091080",(RemoteObject.concat(RemoteObject.createImmutable("pm="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pm.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1422;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; +Debug.ShouldStop(8192); +_invdispparapromo = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id"))))));Debug.locals.put("invDispParaPromo", _invdispparapromo);Debug.locals.put("invDispParaPromo", _invdispparapromo); + BA.debugLineNum = 1423;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; +Debug.ShouldStop(16384); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091082",(RemoteObject.concat(RemoteObject.createImmutable("invDispParaPromo="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_invdispparapromo.getObject()))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1424;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)"; +Debug.ShouldStop(32768); +_maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm));Debug.locals.put("maxPromos", _maxpromos);Debug.locals.put("maxPromos", _maxpromos); + BA.debugLineNum = 1425;BA.debugLine="Private maxPromosXFijos As Int = revisaMaxPromosP"; +Debug.ShouldStop(65536); +_maxpromosxfijos = _revisamaxpromosprodsfijosporinventario(_ba,_pm);Debug.locals.put("maxPromosXFijos", _maxpromosxfijos);Debug.locals.put("maxPromosXFijos", _maxpromosxfijos); + BA.debugLineNum = 1426;BA.debugLine="Private idProdsVariables As List = pm.Get(\"prodsV"; +Debug.ShouldStop(131072); +_idprodsvariables = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_idprodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables")))));Debug.locals.put("idProdsVariables", _idprodsvariables);Debug.locals.put("idProdsVariables", _idprodsvariables); + BA.debugLineNum = 1427;BA.debugLine="Private idProdsVariables2 As List = pm.Get(\"prods"; +Debug.ShouldStop(262144); +_idprodsvariables2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_idprodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2")))));Debug.locals.put("idProdsVariables2", _idprodsvariables2);Debug.locals.put("idProdsVariables2", _idprodsvariables2); + BA.debugLineNum = 1428;BA.debugLine="Private prodsVariablesRequeridos As Int = pm.Get("; +Debug.ShouldStop(524288); +_prodsvariablesrequeridos = BA.numberCast(int.class, _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariablesRequeridos")))));Debug.locals.put("prodsVariablesRequeridos", _prodsvariablesrequeridos);Debug.locals.put("prodsVariablesRequeridos", _prodsvariablesrequeridos); + BA.debugLineNum = 1429;BA.debugLine="Private prodsVariables2Requeridos As Int = pm.Get"; +Debug.ShouldStop(1048576); +_prodsvariables2requeridos = BA.numberCast(int.class, _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsVariables2Requeridos")))));Debug.locals.put("prodsVariables2Requeridos", _prodsvariables2requeridos);Debug.locals.put("prodsVariables2Requeridos", _prodsvariables2requeridos); + BA.debugLineNum = 1430;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF"; +Debug.ShouldStop(2097152); +_prodsfijospiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_prodsfijospiezas = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijosPiezas")))));Debug.locals.put("prodsFijosPiezas", _prodsfijospiezas);Debug.locals.put("prodsFijosPiezas", _prodsfijospiezas); + BA.debugLineNum = 1431;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos"; +Debug.ShouldStop(4194304); +_idprodsfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List"); +_idprodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("prodsFijos")))));Debug.locals.put("idProdsFijos", _idprodsfijos);Debug.locals.put("idProdsFijos", _idprodsfijos); + BA.debugLineNum = 1432;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos mapa"; +Debug.ShouldStop(8388608); +{ +final int step19 = 1; +final int limit19 = RemoteObject.solve(new RemoteObject[] {_idprodsfijos.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_p = 0 ; +for (;(step19 > 0 && _p <= limit19) || (step19 < 0 && _p >= limit19) ;_p = ((int)(0 + _p + step19)) ) { +Debug.locals.put("p", _p); + BA.debugLineNum = 1433;BA.debugLine="invFijoXpromo.Put(idProdsFijos.Get(p), prodsFijo"; +Debug.ShouldStop(16777216); +_invfijoxpromo.runVoidMethod ("Put",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p)))),(Object)(_prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))))); + BA.debugLineNum = 1434;BA.debugLine="Private idEsteProd As String = idProdsFijos.Get("; +Debug.ShouldStop(33554432); +_idesteprod = BA.ObjectToString(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))));Debug.locals.put("idEsteProd", _idesteprod);Debug.locals.put("idEsteProd", _idesteprod); + BA.debugLineNum = 1435;BA.debugLine="Private invEsteProd As Int = invDispParaPromo.Ge"; +Debug.ShouldStop(67108864); +_investeprod = BA.numberCast(int.class, _invdispparapromo.runMethod(false,"Get",(Object)((_idesteprod))));Debug.locals.put("invEsteProd", _investeprod);Debug.locals.put("invEsteProd", _investeprod); + BA.debugLineNum = 1436;BA.debugLine="Private pzasReqEsteProd As Int = prodsFijosPieza"; +Debug.ShouldStop(134217728); +_pzasreqesteprod = BA.numberCast(int.class, _prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _p))));Debug.locals.put("pzasReqEsteProd", _pzasreqesteprod);Debug.locals.put("pzasReqEsteProd", _pzasreqesteprod); + BA.debugLineNum = 1437;BA.debugLine="If thisLog Then Log($\"id=${idEsteProd}, inv=${in"; +Debug.ShouldStop(268435456); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091096",(RemoteObject.concat(RemoteObject.createImmutable("id="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idesteprod))),RemoteObject.createImmutable(", inv="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_investeprod))),RemoteObject.createImmutable(", pzas="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_pzasreqesteprod))),RemoteObject.createImmutable(""))),0);}; + } +}Debug.locals.put("p", _p); +; + BA.debugLineNum = 1440;BA.debugLine="If thisLog Then LogColor($\"MaxPromos=${maxPromos}"; +Debug.ShouldStop(-2147483648); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091099",(RemoteObject.concat(RemoteObject.createImmutable("MaxPromos="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxpromos))),RemoteObject.createImmutable(", promosXFijos="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_maxpromosxfijos))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1441;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi"; +Debug.ShouldStop(1); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091100",(RemoteObject.concat(RemoteObject.createImmutable("prodsFijos="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idprodsfijos.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1442;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${"; +Debug.ShouldStop(2); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091101",(RemoteObject.concat(RemoteObject.createImmutable("prodsFijosPiezasReq="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodsfijospiezas.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1443;BA.debugLine="If thisLog Then LogColor($\"prodsVariables=${idPro"; +Debug.ShouldStop(4); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091102",(RemoteObject.concat(RemoteObject.createImmutable("prodsVariables="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idprodsvariables.getObject()))),RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Variables Req="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodsvariablesrequeridos))),RemoteObject.createImmutable(" "))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1444;BA.debugLine="If thisLog Then LogColor($\"prodsVariables2=${idPr"; +Debug.ShouldStop(8); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091103",(RemoteObject.concat(RemoteObject.createImmutable("prodsVariables2="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_idprodsvariables2.getObject()))),RemoteObject.createImmutable(""),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent.__c.getField(true,"CRLF")))),RemoteObject.createImmutable("Variables2 Req="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_prodsvariables2requeridos))),RemoteObject.createImmutable(" "))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1445;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij"; +Debug.ShouldStop(16); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091104",(RemoteObject.concat(RemoteObject.createImmutable("invFijoXpromo="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_invfijoxpromo.getObject()))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1446;BA.debugLine="If thisLog Then Log($\"Prods variables disponibles"; +Debug.ShouldStop(32); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091105",(RemoteObject.concat(RemoteObject.createImmutable("Prods variables disponibles = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_totalprodsvariablesdisponibles))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1447;BA.debugLine="If thisLog Then Log($\"Prods variables2 disponible"; +Debug.ShouldStop(64); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091106",(RemoteObject.concat(RemoteObject.createImmutable("Prods variables2 disponibles = "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_totalprodsvariables2disponibles))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1448;BA.debugLine="Private maxPromosXVariables As Int = 0"; +Debug.ShouldStop(128); +_maxpromosxvariables = BA.numberCast(int.class, 0);Debug.locals.put("maxPromosXVariables", _maxpromosxvariables);Debug.locals.put("maxPromosXVariables", _maxpromosxvariables); + BA.debugLineNum = 1449;BA.debugLine="Private maxPromosXVariables2 As Int = 0"; +Debug.ShouldStop(256); +_maxpromosxvariables2 = BA.numberCast(int.class, 0);Debug.locals.put("maxPromosXVariables2", _maxpromosxvariables2);Debug.locals.put("maxPromosXVariables2", _maxpromosxvariables2); + BA.debugLineNum = 1450;BA.debugLine="For x = 1 To maxPromosXFijos"; +Debug.ShouldStop(512); +{ +final int step36 = 1; +final int limit36 = _maxpromosxfijos.get().intValue(); +_x = 1 ; +for (;(step36 > 0 && _x <= limit36) || (step36 < 0 && _x >= limit36) ;_x = ((int)(0 + _x + step36)) ) { +Debug.locals.put("x", _x); + BA.debugLineNum = 1451;BA.debugLine="If thisLog Then Log(\"==========================="; +Debug.ShouldStop(1024); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091110",RemoteObject.createImmutable("====================================================="),0);}; + BA.debugLineNum = 1452;BA.debugLine="If thisLog Then Log(\"==========================="; +Debug.ShouldStop(2048); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091111",RemoteObject.createImmutable("====================================================="),0);}; + BA.debugLineNum = 1453;BA.debugLine="For i = 0 To idProdsFijos.Size - 1"; +Debug.ShouldStop(4096); +{ +final int step39 = 1; +final int limit39 = RemoteObject.solve(new RemoteObject[] {_idprodsfijos.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step39 > 0 && _i <= limit39) || (step39 < 0 && _i >= limit39) ;_i = ((int)(0 + _i + step39)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1454;BA.debugLine="If thisLog Then Log($\"FIJO - ${idProdsFijos.Get"; +Debug.ShouldStop(8192); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091113",(RemoteObject.concat(RemoteObject.createImmutable("FIJO - "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))),RemoteObject.createImmutable(", "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)(_invdispparapromo.runMethod(false,"Get",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))))),RemoteObject.createImmutable(" - "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {(BA.numberCast(int.class, _prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1))}, "*",0, 1)))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1455;BA.debugLine="invDispParaPromo.Put(idProdsFijos.Get(i), invDi"; +Debug.ShouldStop(16384); +_invdispparapromo.runVoidMethod ("Put",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i)))),(Object)((RemoteObject.solve(new RemoteObject[] {(BA.numberCast(int.class, _invdispparapromo.runMethod(false,"Get",(Object)(_idprodsfijos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))))),(BA.numberCast(int.class, _prodsfijospiezas.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))),(RemoteObject.solve(new RemoteObject[] {RemoteObject.createImmutable(_i),RemoteObject.createImmutable(1)}, "+",1, 1))}, "-*",1, 1)))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1457;BA.debugLine="If thisLog Then LogColor(\"Inv disponible despues"; +Debug.ShouldStop(65536); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091116",RemoteObject.concat(RemoteObject.createImmutable("Inv disponible despues de restar fijos = "),_invdispparapromo),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Blue"));}; + BA.debugLineNum = 1459;BA.debugLine="totalProdsVariablesDisponibles = 0"; +Debug.ShouldStop(262144); +_totalprodsvariablesdisponibles = BA.numberCast(int.class, 0);Debug.locals.put("totalProdsVariablesDisponibles", _totalprodsvariablesdisponibles); + BA.debugLineNum = 1460;BA.debugLine="totalProdsVariables2Disponibles = 0"; +Debug.ShouldStop(524288); +_totalprodsvariables2disponibles = BA.numberCast(int.class, 0);Debug.locals.put("totalProdsVariables2Disponibles", _totalprodsvariables2disponibles); + BA.debugLineNum = 1461;BA.debugLine="For i = 0 To idProdsVariables.Size - 1 'Obtenemo"; +Debug.ShouldStop(1048576); +{ +final int step46 = 1; +final int limit46 = RemoteObject.solve(new RemoteObject[] {_idprodsvariables.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step46 > 0 && _i <= limit46) || (step46 < 0 && _i >= limit46) ;_i = ((int)(0 + _i + step46)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1462;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable"; +Debug.ShouldStop(2097152); +if (_invdispparapromo.runMethod(true,"ContainsKey",(Object)(_idprodsvariables.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))).get().booleanValue()) { + BA.debugLineNum = 1463;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVar"; +Debug.ShouldStop(4194304); +_totalprodsvariablesdisponibles = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalprodsvariablesdisponibles,BA.numberCast(double.class, _invdispparapromo.runMethod(false,"Get",(Object)(_idprodsvariables.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))))}, "+",1, 0));Debug.locals.put("totalProdsVariablesDisponibles", _totalprodsvariablesdisponibles); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1466;BA.debugLine="For i = 0 To idProdsVariables2.Size - 1 'Obtenem"; +Debug.ShouldStop(33554432); +{ +final int step51 = 1; +final int limit51 = RemoteObject.solve(new RemoteObject[] {_idprodsvariables2.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step51 > 0 && _i <= limit51) || (step51 < 0 && _i >= limit51) ;_i = ((int)(0 + _i + step51)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1467;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable"; +Debug.ShouldStop(67108864); +if (_invdispparapromo.runMethod(true,"ContainsKey",(Object)(_idprodsvariables2.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))).get().booleanValue()) { + BA.debugLineNum = 1468;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVa"; +Debug.ShouldStop(134217728); +_totalprodsvariables2disponibles = BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_totalprodsvariables2disponibles,BA.numberCast(double.class, _invdispparapromo.runMethod(false,"Get",(Object)(_idprodsvariables2.runMethod(false,"Get",(Object)(BA.numberCast(int.class, _i))))))}, "+",1, 0));Debug.locals.put("totalProdsVariables2Disponibles", _totalprodsvariables2disponibles); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1472;BA.debugLine="If thisLog Then Log($\"Var disponibles - var req"; +Debug.ShouldStop(-2147483648); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091131",(RemoteObject.concat(RemoteObject.createImmutable("Var disponibles - var requeridos : "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_totalprodsvariablesdisponibles))),RemoteObject.createImmutable(" - "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((RemoteObject.solve(new RemoteObject[] {_prodsvariablesrequeridos,RemoteObject.createImmutable(_x)}, "*",0, 1)))),RemoteObject.createImmutable(""))),0);}; + BA.debugLineNum = 1473;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVaria"; +Debug.ShouldStop(1); +_totalprodsvariablesdisponibles = RemoteObject.solve(new RemoteObject[] {_totalprodsvariablesdisponibles,(RemoteObject.solve(new RemoteObject[] {_prodsvariablesrequeridos,RemoteObject.createImmutable(_x)}, "*",0, 1))}, "-",1, 1);Debug.locals.put("totalProdsVariablesDisponibles", _totalprodsvariablesdisponibles); + BA.debugLineNum = 1474;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVari"; +Debug.ShouldStop(2); +_totalprodsvariables2disponibles = RemoteObject.solve(new RemoteObject[] {_totalprodsvariables2disponibles,(RemoteObject.solve(new RemoteObject[] {_prodsvariables2requeridos,RemoteObject.createImmutable(_x)}, "*",0, 1))}, "-",1, 1);Debug.locals.put("totalProdsVariables2Disponibles", _totalprodsvariables2disponibles); + BA.debugLineNum = 1475;BA.debugLine="If thisLog Then Log(\"prodsVariables disponibles"; +Debug.ShouldStop(4); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091134",RemoteObject.concat(RemoteObject.createImmutable("prodsVariables disponibles despues de promo = "),_totalprodsvariablesdisponibles),0);}; + BA.debugLineNum = 1476;BA.debugLine="If thisLog Then Log(\"prodsVariables2 disponibles"; +Debug.ShouldStop(8); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091135",RemoteObject.concat(RemoteObject.createImmutable("prodsVariables2 disponibles despues de promo = "),_totalprodsvariables2disponibles),0);}; + BA.debugLineNum = 1477;BA.debugLine="If totalProdsVariablesDisponibles < 0 Then Exit"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("<",_totalprodsvariablesdisponibles,BA.numberCast(double.class, 0))) { +if (true) break;}; + BA.debugLineNum = 1478;BA.debugLine="If totalProdsVariables2Disponibles < 0 Then Exit"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean("<",_totalprodsvariables2disponibles,BA.numberCast(double.class, 0))) { +if (true) break;}; + BA.debugLineNum = 1479;BA.debugLine="maxPromosXVariables = x"; +Debug.ShouldStop(64); +_maxpromosxvariables = BA.numberCast(int.class, _x);Debug.locals.put("maxPromosXVariables", _maxpromosxvariables); + } +}Debug.locals.put("x", _x); +; + BA.debugLineNum = 1482;BA.debugLine="If thisLog Then LogColor(\"Max promos de prodsVari"; +Debug.ShouldStop(512); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541091141",RemoteObject.concat(RemoteObject.createImmutable("Max promos de prodsVariables POR inventario = "),_maxpromosxvariables),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red"));}; + BA.debugLineNum = 1483;BA.debugLine="Return maxPromosXVariables"; +Debug.ShouldStop(1024); +if (true) return _maxpromosxvariables; + BA.debugLineNum = 1484;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisauug(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("revisaUUG (subs) ","subs",30,_ba,subs.mostCurrent,423); +if (RapidSub.canDelegate("revisauug")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","revisauug", _ba);} +RemoteObject _daa = RemoteObject.createImmutable(0); +; + BA.debugLineNum = 423;BA.debugLine="Sub revisaUUG 'ignore"; +Debug.ShouldStop(64); + BA.debugLineNum = 424;BA.debugLine="Try"; +Debug.ShouldStop(128); +try { BA.debugLineNum = 426;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize"; +Debug.ShouldStop(512); +if (subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 427;BA.debugLine="Dim daa As Int = Tracker.UUGCoords.DistanceTo(T"; +Debug.ShouldStop(1024); +_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 = 428;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"${f"; +Debug.ShouldStop(2048); +if (subs.mostCurrent._starter._logger /*RemoteObject*/ .get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538273029",(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 = 429;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocatio"; +Debug.ShouldStop(4096); +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 = 430;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha,"; +Debug.ShouldStop(8192); +subs._kmt.runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(_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 = 431;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a a"; +Debug.ShouldStop(16384); +if (subs.mostCurrent._starter._logger /*RemoteObject*/ .get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538273032",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 = 433;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoc"; +Debug.ShouldStop(65536); +subs.mostCurrent._tracker._uugcoords /*RemoteObject*/ = subs.mostCurrent._tracker._flp /*RemoteObject*/ .runMethod(false,"GetLastKnownLocation"); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e12) { + BA.rdebugUtils.runVoidMethod("setLastException",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba), e12.toString()); BA.debugLineNum = 436;BA.debugLine="LogColor(\"If Tracker.FLP.GetLastKnownLocation.Is"; +Debug.ShouldStop(524288); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","538273037",RemoteObject.concat(RemoteObject.createImmutable("If Tracker.FLP.GetLastKnownLocation.IsInitialized --> "),subs.mostCurrent.__c.runMethod(false,"LastException",_ba)),subs.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 438;BA.debugLine="End Sub"; +Debug.ShouldStop(2097152); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _sincronizartotalesencabezado(RemoteObject _ba,RemoteObject _idclie,RemoteObject _fecha,RemoteObject _usuario,RemoteObject _cedis) throws Exception{ +try { + Debug.PushSubsStack("SincronizarTotalesEncabezado (subs) ","subs",30,_ba,subs.mostCurrent,1859); +if (RapidSub.canDelegate("sincronizartotalesencabezado")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","sincronizartotalesencabezado", _ba, _idclie, _fecha, _usuario, _cedis);} +RemoteObject _res = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("idClie", _idclie); +Debug.locals.put("fecha", _fecha); +Debug.locals.put("usuario", _usuario); +Debug.locals.put("cedis", _cedis); + BA.debugLineNum = 1859;BA.debugLine="Private Sub SincronizarTotalesEncabezado(idClie As"; +Debug.ShouldStop(4); + BA.debugLineNum = 1861;BA.debugLine="Dim res As Cursor = B4XPages.MainPage.skmt.ExecQu"; +Debug.ShouldStop(16); +_res = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_res = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("SELECT SUM(pe_costo_tot) as TOTAL, SUM(PE_CANT) as CANT FROM PEDIDO WHERE PE_CLIENTE = '"),_idclie,RemoteObject.createImmutable("'")))));Debug.locals.put("res", _res);Debug.locals.put("res", _res); + BA.debugLineNum = 1862;BA.debugLine="res.Position = 0"; +Debug.ShouldStop(32); +_res.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1865;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(256); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("DELETE FROM pedido_cliente WHERE PC_CLIENTE = '"),_idclie,RemoteObject.createImmutable("'")))); + BA.debugLineNum = 1867;BA.debugLine="If res.GetInt(\"CANT\") > 0 Then"; +Debug.ShouldStop(1024); +if (RemoteObject.solveBoolean(">",_res.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("CANT"))),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1869;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(4096); +subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT, PC_ALMACEN) VALUES (?,?,?,?,?,?,?,?)")),(Object)(subs.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {8},new Object[] {(_idclie),(_fecha),(_usuario),(_res.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CANT")))),(_res.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("TOTAL")))),(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lon_gps" /*RemoteObject*/ )),(subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(true,"_lat_gps" /*RemoteObject*/ )),(_cedis)}))))); + }; + BA.debugLineNum = 1872;BA.debugLine="res.Close"; +Debug.ShouldStop(32768); +_res.runVoidMethod ("Close"); + BA.debugLineNum = 1873;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _totalpedido(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("totalPedido (subs) ","subs",30,_ba,subs.mostCurrent,737); +if (RapidSub.canDelegate("totalpedido")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","totalpedido", _ba);} +RemoteObject _ct = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _ptotal = RemoteObject.createImmutable(""); +RemoteObject _tempt = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 737;BA.debugLine="Sub totalPedido As String"; +Debug.ShouldStop(1); + BA.debugLineNum = 738;BA.debugLine="Private cT As Cursor = Starter.skmt.ExecQuery($\"s"; +Debug.ShouldStop(2); +_ct = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_ct = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select sum(PE_COSTO_TOT) as total from PEDIDO where PE_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_traecliente(_ba)))),RemoteObject.createImmutable("'"))))));Debug.locals.put("cT", _ct);Debug.locals.put("cT", _ct); + BA.debugLineNum = 739;BA.debugLine="Private pTotal As String = \"0\""; +Debug.ShouldStop(4); +_ptotal = BA.ObjectToString("0");Debug.locals.put("pTotal", _ptotal);Debug.locals.put("pTotal", _ptotal); + BA.debugLineNum = 740;BA.debugLine="If cT.RowCount > 0 Then"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean(">",_ct.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 741;BA.debugLine="cT.Position = 0"; +Debug.ShouldStop(16); +_ct.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 743;BA.debugLine="Private tempT As String = cT.GetLong(\"total\")"; +Debug.ShouldStop(64); +_tempt = BA.NumberToString(_ct.runMethod(true,"GetLong",(Object)(RemoteObject.createImmutable("total"))));Debug.locals.put("tempT", _tempt);Debug.locals.put("tempT", _tempt); + BA.debugLineNum = 744;BA.debugLine="If tempT <> \"null\" And tempT <> Null Then"; +Debug.ShouldStop(128); +if (RemoteObject.solveBoolean("!",_tempt,BA.ObjectToString("null")) && RemoteObject.solveBoolean("N",_tempt)) { + BA.debugLineNum = 746;BA.debugLine="pTotal = tempT"; +Debug.ShouldStop(512); +_ptotal = _tempt;Debug.locals.put("pTotal", _ptotal); + }; + }; + BA.debugLineNum = 750;BA.debugLine="cT.Close"; +Debug.ShouldStop(8192); +_ct.runVoidMethod ("Close"); + BA.debugLineNum = 751;BA.debugLine="Return pTotal"; +Debug.ShouldStop(16384); +if (true) return _ptotal; + BA.debugLineNum = 752;BA.debugLine="End Sub"; +Debug.ShouldStop(32768); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traealmacen(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeAlmacen (subs) ","subs",30,_ba,subs.mostCurrent,709); +if (RapidSub.canDelegate("traealmacen")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traealmacen", _ba);} +RemoteObject _c2 = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _b = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 709;BA.debugLine="Sub traeAlmacen As String 'ignore"; +Debug.ShouldStop(16); + BA.debugLineNum = 710;BA.debugLine="Private c2 As Cursor"; +Debug.ShouldStop(32); +_c2 = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c2", _c2); + BA.debugLineNum = 711;BA.debugLine="Private b As String"; +Debug.ShouldStop(64); +_b = RemoteObject.createImmutable("");Debug.locals.put("b", _b); + BA.debugLineNum = 712;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +Debug.ShouldStop(128); +_c2 = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ID_ALMACEN from CAT_ALMACEN"))));Debug.locals.put("c2", _c2); + BA.debugLineNum = 713;BA.debugLine="Log(c2.RowCount)"; +Debug.ShouldStop(256); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","539321604",BA.NumberToString(_c2.runMethod(true,"getRowCount")),0); + BA.debugLineNum = 714;BA.debugLine="c2.Position = 0"; +Debug.ShouldStop(512); +_c2.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 715;BA.debugLine="b = c2.GetString(\"ID_ALMACEN\")"; +Debug.ShouldStop(1024); +_b = _c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN")));Debug.locals.put("b", _b); + BA.debugLineNum = 716;BA.debugLine="Log(\"Esto es almacen !!!!!!! \" &c2.GetString(\"ID_"; +Debug.ShouldStop(2048); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","539321607",RemoteObject.concat(RemoteObject.createImmutable("Esto es almacen !!!!!!! "),_c2.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("ID_ALMACEN"))),RemoteObject.createImmutable(" Esto es almacen !!!!!!!")),0); + BA.debugLineNum = 717;BA.debugLine="Return b"; +Debug.ShouldStop(4096); +if (true) return _b; + 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 _traecliente(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeCliente (subs) ","subs",30,_ba,subs.mostCurrent,782); +if (RapidSub.canDelegate("traecliente")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traecliente", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _cl = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 782;BA.debugLine="Sub traeCliente As String 'ignore"; +Debug.ShouldStop(8192); + BA.debugLineNum = 783;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(16384); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 784;BA.debugLine="Private cl As String"; +Debug.ShouldStop(32768); +_cl = RemoteObject.createImmutable("");Debug.locals.put("cl", _cl); + BA.debugLineNum = 785;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; +Debug.ShouldStop(65536); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select CUENTA from cuentaa"))));Debug.locals.put("c", _c); + BA.debugLineNum = 786;BA.debugLine="c.Position=0"; +Debug.ShouldStop(131072); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 787;BA.debugLine="cl = c.GetString(\"CUENTA\")"; +Debug.ShouldStop(262144); +_cl = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CUENTA")));Debug.locals.put("cl", _cl); + BA.debugLineNum = 788;BA.debugLine="c.Close"; +Debug.ShouldStop(524288); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 789;BA.debugLine="Return cl"; +Debug.ShouldStop(1048576); +if (true) return _cl; + 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 _traefecha(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeFecha (subs) ","subs",30,_ba,subs.mostCurrent,792); +if (RapidSub.canDelegate("traefecha")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traefecha", _ba);} +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 792;BA.debugLine="Sub traeFecha As String 'ignore"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 793;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(16777216); +subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 794;BA.debugLine="Private sDate As String =DateTime.Date(DateTime.N"; +Debug.ShouldStop(33554432); +_sdate = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Date",(Object)(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sDate", _sdate);Debug.locals.put("sDate", _sdate); + BA.debugLineNum = 795;BA.debugLine="Private sTime As String =DateTime.Time(DateTime.N"; +Debug.ShouldStop(67108864); +_stime = subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"Time",(Object)(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow")));Debug.locals.put("sTime", _stime);Debug.locals.put("sTime", _stime); + BA.debugLineNum = 796;BA.debugLine="Return sDate & sTime"; +Debug.ShouldStop(134217728); +if (true) return RemoteObject.concat(_sdate,_stime); + BA.debugLineNum = 797;BA.debugLine="End Sub"; +Debug.ShouldStop(268435456); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeinventario(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("traeinventario (subs) ","subs",30,_ba,subs.mostCurrent,1710); +if (RapidSub.canDelegate("traeinventario")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traeinventario", _ba, _id);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _inventario = RemoteObject.createImmutable(""); +; +Debug.locals.put("id", _id); + BA.debugLineNum = 1710;BA.debugLine="Sub traeinventario(id As String) As String"; +Debug.ShouldStop(8192); + BA.debugLineNum = 1711;BA.debugLine="Dim c As Cursor"; +Debug.ShouldStop(16384); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 1712;BA.debugLine="Dim inventario As String = \"0\""; +Debug.ShouldStop(32768); +_inventario = BA.ObjectToString("0");Debug.locals.put("inventario", _inventario);Debug.locals.put("inventario", _inventario); + BA.debugLineNum = 1713;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; +Debug.ShouldStop(65536); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ALMACEN from "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_id))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c); + BA.debugLineNum = 1715;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1716;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(524288); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1717;BA.debugLine="inventario = c.GetString(\"CAT_GP_ALMACEN\")"; +Debug.ShouldStop(1048576); +_inventario = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")));Debug.locals.put("inventario", _inventario); + }; + BA.debugLineNum = 1719;BA.debugLine="c.Close"; +Debug.ShouldStop(4194304); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 1720;BA.debugLine="Return inventario"; +Debug.ShouldStop(8388608); +if (true) return _inventario; + BA.debugLineNum = 1721;BA.debugLine="End Sub"; +Debug.ShouldStop(16777216); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traemaxpromos(RemoteObject _ba,RemoteObject _pm) throws Exception{ +try { + Debug.PushSubsStack("traeMaxPromos (subs) ","subs",30,_ba,subs.mostCurrent,1207); +if (RapidSub.canDelegate("traemaxpromos")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traemaxpromos", _ba, _pm);} +RemoteObject _thislog = RemoteObject.createImmutable(false); +RemoteObject _maxpromos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _vendidas = RemoteObject.createImmutable(0); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; +Debug.locals.put("pm", _pm); + BA.debugLineNum = 1207;BA.debugLine="Sub traeMaxPromos(pm As Map) As Int"; +Debug.ShouldStop(4194304); + BA.debugLineNum = 1264;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade"; +Debug.ShouldStop(32768); +_thislog = subs.mostCurrent.__c.getField(true,"False");Debug.locals.put("thisLog", _thislog);Debug.locals.put("thisLog", _thislog); + BA.debugLineNum = 1265;BA.debugLine="Private maxPromos As List"; +Debug.ShouldStop(65536); +_maxpromos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("maxPromos", _maxpromos); + BA.debugLineNum = 1266;BA.debugLine="Private vendidas As Int = 0"; +Debug.ShouldStop(131072); +_vendidas = BA.numberCast(int.class, 0);Debug.locals.put("vendidas", _vendidas);Debug.locals.put("vendidas", _vendidas); + BA.debugLineNum = 1267;BA.debugLine="maxPromos.Initialize"; +Debug.ShouldStop(262144); +_maxpromos.runVoidMethod ("Initialize"); + BA.debugLineNum = 1269;BA.debugLine="If thisLog Then Log(pm)"; +Debug.ShouldStop(1048576); +if (_thislog.get().booleanValue()) { +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540763454",BA.ObjectToString(_pm),0);}; + BA.debugLineNum = 1270;BA.debugLine="If pm.Get(\"historico\") = \"1\" Then maxPromos.Add(p"; +Debug.ShouldStop(2097152); +if (RemoteObject.solveBoolean("=",_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("historico")))),RemoteObject.createImmutable(("1")))) { +_maxpromos.runVoidMethod ("Add",(Object)(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("maxRecurrente"))))));}; + BA.debugLineNum = 1271;BA.debugLine="maxPromos.Add(pm.Get(\"maxPromos\")) 'Agregamos max"; +Debug.ShouldStop(4194304); +_maxpromos.runVoidMethod ("Add",(Object)(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("maxPromos")))))); + BA.debugLineNum = 1272;BA.debugLine="maxPromos.Add(pm.Get(\"maxXcliente\")) 'Agregamos m"; +Debug.ShouldStop(8388608); +_maxpromos.runVoidMethod ("Add",(Object)(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("maxXcliente")))))); + BA.debugLineNum = 1273;BA.debugLine="maxPromos.Sort(True)"; +Debug.ShouldStop(16777216); +_maxpromos.runVoidMethod ("Sort",(Object)(subs.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 1276;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(134217728); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("select sum(PE_CANT) as vendidas from PEDIDO where PE_PROID = ? and PE_CLIENTE = ? ")),(Object)(RemoteObject.createNewArray("String",new int[] {2},new Object[] {(BA.ObjectToString(_pm.runMethod(false,"Get",(Object)((RemoteObject.createImmutable("id")))))).runMethod(true,"trim"),_traecliente(_ba).runMethod(true,"trim")}))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1277;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(268435456); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1278;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(536870912); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1279;BA.debugLine="vendidas = c.GetInt(\"vendidas\")"; +Debug.ShouldStop(1073741824); +_vendidas = _c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("vendidas")));Debug.locals.put("vendidas", _vendidas); + }; + BA.debugLineNum = 1286;BA.debugLine="Return maxPromos.Get(0) - vendidas 'Regresamos el"; +Debug.ShouldStop(32); +if (true) return BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {BA.numberCast(double.class, _maxpromos.runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))),_vendidas}, "-",1, 0)); + BA.debugLineNum = 1288;BA.debugLine="End Sub"; +Debug.ShouldStop(128); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traemosinventariodisponibleparapromo(RemoteObject _ba,RemoteObject _promo) throws Exception{ +try { + Debug.PushSubsStack("traemosInventarioDisponibleParaPromo (subs) ","subs",30,_ba,subs.mostCurrent,1094); +if (RapidSub.canDelegate("traemosinventariodisponibleparapromo")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traemosinventariodisponibleparapromo", _ba, _promo);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _prods = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +int _i = 0; +; +Debug.locals.put("promo", _promo); + BA.debugLineNum = 1094;BA.debugLine="Sub traemosInventarioDisponibleParaPromo(promo As"; +Debug.ShouldStop(32); + BA.debugLineNum = 1095;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(64); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 1096;BA.debugLine="Log(\"ESTAMOS VIENDO INVENTARIO\")"; +Debug.ShouldStop(128); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","540566786",RemoteObject.createImmutable("ESTAMOS VIENDO INVENTARIO"),0); + BA.debugLineNum = 1097;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"SELECT CA"; +Debug.ShouldStop(256); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("SELECT CAT_GP_ID, CAT_GP_ALMACEN FROM "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" WHERE CAT_GP_ID IN (select CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID = ?)")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_promo}))));Debug.locals.put("c", _c); + BA.debugLineNum = 1100;BA.debugLine="Private prods As Map"; +Debug.ShouldStop(2048); +_prods = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("prods", _prods); + BA.debugLineNum = 1101;BA.debugLine="prods.Initialize"; +Debug.ShouldStop(4096); +_prods.runVoidMethod ("Initialize"); + BA.debugLineNum = 1102;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1104;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(32768); +{ +final int step7 = 1; +final int limit7 = RemoteObject.solve(new RemoteObject[] {_c.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step7 > 0 && _i <= limit7) || (step7 < 0 && _i >= limit7) ;_i = ((int)(0 + _i + step7)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1105;BA.debugLine="c.Position=i"; +Debug.ShouldStop(65536); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1106;BA.debugLine="prods.Put(c.GetString(\"CAT_GP_ID\"), c.GetString"; +Debug.ShouldStop(131072); +_prods.runVoidMethod ("Put",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID"))))),(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ALMACEN")))))); + } +}Debug.locals.put("i", _i); +; + }; + BA.debugLineNum = 1111;BA.debugLine="Return prods"; +Debug.ShouldStop(4194304); +if (true) return _prods; + BA.debugLineNum = 1112;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeprodiddebd(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeProdIdDeBD (subs) ","subs",30,_ba,subs.mostCurrent,1502); +if (RapidSub.canDelegate("traeprodiddebd")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traeprodiddebd", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +; + BA.debugLineNum = 1502;BA.debugLine="Sub traeProdIdDeBD As Map 'ignore"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 1503;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(1073741824); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 1504;BA.debugLine="Private m As Map"; +Debug.ShouldStop(-2147483648); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m", _m); + BA.debugLineNum = 1505;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; +Debug.ShouldStop(1); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_TIPO,CAT_GP_SUBTIPO from "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_NOMBRE In (Select PDESC from PROID)"))))));Debug.locals.put("c", _c); + BA.debugLineNum = 1506;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1507;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(4); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1508;BA.debugLine="m = CreateMap(\"id\":c.GetString(\"CAT_GP_ID\"), \"no"; +Debug.ShouldStop(8); +_m = subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_ID")))),RemoteObject.createImmutable(("nombre")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))),RemoteObject.createImmutable(("tipo")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_TIPO")))),RemoteObject.createImmutable(("subtipo")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_SUBTIPO"))))}));Debug.locals.put("m", _m); + }else { + BA.debugLineNum = 1510;BA.debugLine="m = CreateMap(\"id\":\"N/A\", \"nombre\":\"N/A\", \"tipo\""; +Debug.ShouldStop(32); +_m = subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),RemoteObject.createImmutable(("N/A")),RemoteObject.createImmutable(("nombre")),RemoteObject.createImmutable(("N/A")),RemoteObject.createImmutable(("tipo")),RemoteObject.createImmutable(("N/A")),RemoteObject.createImmutable(("subtipo")),(RemoteObject.createImmutable("N/A"))}));Debug.locals.put("m", _m); + }; + BA.debugLineNum = 1512;BA.debugLine="c.Close"; +Debug.ShouldStop(128); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 1513;BA.debugLine="Return m"; +Debug.ShouldStop(256); +if (true) return _m; + BA.debugLineNum = 1514;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeprodnombre(RemoteObject _ba,RemoteObject _id) throws Exception{ +try { + Debug.PushSubsStack("traeProdNombre (subs) ","subs",30,_ba,subs.mostCurrent,721); +if (RapidSub.canDelegate("traeprodnombre")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traeprodnombre", _ba, _id);} +RemoteObject _h = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _n = RemoteObject.createImmutable(""); +; +Debug.locals.put("id", _id); + BA.debugLineNum = 721;BA.debugLine="Sub traeProdNombre(id As String) As String"; +Debug.ShouldStop(65536); + BA.debugLineNum = 722;BA.debugLine="Private h As Cursor"; +Debug.ShouldStop(131072); +_h = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("h", _h); + BA.debugLineNum = 723;BA.debugLine="Private n As String"; +Debug.ShouldStop(262144); +_n = RemoteObject.createImmutable("");Debug.locals.put("n", _n); + BA.debugLineNum = 724;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select CAT_"; +Debug.ShouldStop(524288); +_h = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_GP_NOMBRE from "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = ? ")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_id.runMethod(true,"trim")}))));Debug.locals.put("h", _h); + BA.debugLineNum = 725;BA.debugLine="If h.RowCount > 0 Then"; +Debug.ShouldStop(1048576); +if (RemoteObject.solveBoolean(">",_h.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 726;BA.debugLine="h.Position = 0"; +Debug.ShouldStop(2097152); +_h.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 727;BA.debugLine="n = h.GetString(\"CAT_GP_NOMBRE\")"; +Debug.ShouldStop(4194304); +_n = _h.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")));Debug.locals.put("n", _n); + }; + BA.debugLineNum = 730;BA.debugLine="h.Close"; +Debug.ShouldStop(33554432); +_h.runVoidMethod ("Close"); + BA.debugLineNum = 731;BA.debugLine="If n = Null Or n=\"\" Then n = \"N/A\""; +Debug.ShouldStop(67108864); +if (RemoteObject.solveBoolean("n",_n) || RemoteObject.solveBoolean("=",_n,BA.ObjectToString(""))) { +_n = BA.ObjectToString("N/A");Debug.locals.put("n", _n);}; + BA.debugLineNum = 733;BA.debugLine="Return n"; +Debug.ShouldStop(268435456); +if (true) return _n; + BA.debugLineNum = 734;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traepromo(RemoteObject _ba,RemoteObject _promo,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("traePromo (subs) ","subs",30,_ba,subs.mostCurrent,1008); +if (RapidSub.canDelegate("traepromo")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traepromo", _ba, _promo, _cliente);} +RemoteObject _iniciocontador = RemoteObject.createImmutable(""); +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _sihistorico = RemoteObject.createImmutable(""); +RemoteObject _promomap = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _prodsfijos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsfijosprecios = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsfijospiezas = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsvariables = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsvariables2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsvariablesprecios = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prodsvariablesprecios2 = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +RemoteObject _prods = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _tipos = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +int _i = 0; +RemoteObject _pvr = RemoteObject.createImmutable(""); +RemoteObject _pvr2 = RemoteObject.createImmutable(""); +; +Debug.locals.put("promo", _promo); +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 1008;BA.debugLine="Sub traePromo(promo As String, cliente As String)"; +Debug.ShouldStop(32768); + BA.debugLineNum = 1009;BA.debugLine="Private inicioContador As String = DateTime.Now"; +Debug.ShouldStop(65536); +_iniciocontador = BA.NumberToString(subs.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"));Debug.locals.put("inicioContador", _iniciocontador);Debug.locals.put("inicioContador", _iniciocontador); + BA.debugLineNum = 1010;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +Debug.ShouldStop(131072); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("Select * from promos_comp where cat_pa_id = '"),_promo,RemoteObject.createImmutable("'")))));Debug.locals.put("c", _c);Debug.locals.put("c", _c); + BA.debugLineNum = 1011;BA.debugLine="Private siHistorico As String = 0"; +Debug.ShouldStop(262144); +_sihistorico = BA.NumberToString(0);Debug.locals.put("siHistorico", _sihistorico);Debug.locals.put("siHistorico", _sihistorico); + BA.debugLineNum = 1012;BA.debugLine="Private promoMap As Map"; +Debug.ShouldStop(524288); +_promomap = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("promoMap", _promomap); + BA.debugLineNum = 1013;BA.debugLine="Private prodsFijos, prodsFijosPrecios, prodsFijos"; +Debug.ShouldStop(1048576); +_prodsfijos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsFijos", _prodsfijos); +_prodsfijosprecios = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsFijosPrecios", _prodsfijosprecios); +_prodsfijospiezas = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsFijosPiezas", _prodsfijospiezas); +_prodsvariables = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsVariables", _prodsvariables); +_prodsvariables2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsVariables2", _prodsvariables2); +_prodsvariablesprecios = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsVariablesPrecios", _prodsvariablesprecios); +_prodsvariablesprecios2 = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("prodsVariablesPrecios2", _prodsvariablesprecios2); + BA.debugLineNum = 1014;BA.debugLine="promoMap.Initialize"; +Debug.ShouldStop(2097152); +_promomap.runVoidMethod ("Initialize"); + BA.debugLineNum = 1015;BA.debugLine="prodsFijos.Initialize"; +Debug.ShouldStop(4194304); +_prodsfijos.runVoidMethod ("Initialize"); + BA.debugLineNum = 1016;BA.debugLine="prodsFijosPrecios.Initialize"; +Debug.ShouldStop(8388608); +_prodsfijosprecios.runVoidMethod ("Initialize"); + BA.debugLineNum = 1017;BA.debugLine="prodsFijosPiezas.Initialize"; +Debug.ShouldStop(16777216); +_prodsfijospiezas.runVoidMethod ("Initialize"); + BA.debugLineNum = 1018;BA.debugLine="prodsVariables.Initialize"; +Debug.ShouldStop(33554432); +_prodsvariables.runVoidMethod ("Initialize"); + BA.debugLineNum = 1019;BA.debugLine="prodsVariables2.Initialize"; +Debug.ShouldStop(67108864); +_prodsvariables2.runVoidMethod ("Initialize"); + BA.debugLineNum = 1020;BA.debugLine="prodsVariablesPrecios.Initialize"; +Debug.ShouldStop(134217728); +_prodsvariablesprecios.runVoidMethod ("Initialize"); + BA.debugLineNum = 1021;BA.debugLine="prodsVariablesPrecios2.Initialize"; +Debug.ShouldStop(268435456); +_prodsvariablesprecios2.runVoidMethod ("Initialize"); + BA.debugLineNum = 1022;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(536870912); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1023;BA.debugLine="If c.RowCount > 0 Then promoMap = CreateMap(\"id\":"; +Debug.ShouldStop(1073741824); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { +_promomap = subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("id")),(_promo),RemoteObject.createImmutable(("maxXcliente")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROMCLIE")))),RemoteObject.createImmutable(("maxRecurrente")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROMREC")))),RemoteObject.createImmutable(("maxPromos")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_PA_MAXPROM"))))}));Debug.locals.put("promoMap", _promomap);}; + BA.debugLineNum = 1024;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; +Debug.ShouldStop(-2147483648); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("Select count(*) as hist from HIST_PROMOS where HP_CLIENTE = '"),_cliente,RemoteObject.createImmutable("' and HP_CODIGO_PROMOCION = '"),_promo,RemoteObject.createImmutable("'")))));Debug.locals.put("c", _c); + BA.debugLineNum = 1025;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(1); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1026;BA.debugLine="If c.GetString(\"hist\") > 0 Then siHistorico = 1"; +Debug.ShouldStop(2); +if (RemoteObject.solveBoolean(">",BA.numberCast(double.class, _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("hist")))),BA.numberCast(double.class, 0))) { +_sihistorico = BA.NumberToString(1);Debug.locals.put("siHistorico", _sihistorico);}; + BA.debugLineNum = 1027;BA.debugLine="promoMap.Put(\"historico\", siHistorico)"; +Debug.ShouldStop(4); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("historico"))),(Object)((_sihistorico))); + BA.debugLineNum = 1028;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select * fr"; +Debug.ShouldStop(8); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.concat(RemoteObject.createImmutable("Select * from CAT_DETALLES_PAQ where CAT_DP_ID = '"),_promo,RemoteObject.createImmutable("'")))));Debug.locals.put("c", _c); + BA.debugLineNum = 1029;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(16); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1030;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1031;BA.debugLine="Private prods, tipos As Map"; +Debug.ShouldStop(64); +_prods = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("prods", _prods); +_tipos = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("tipos", _tipos); + BA.debugLineNum = 1032;BA.debugLine="prods.Initialize"; +Debug.ShouldStop(128); +_prods.runVoidMethod ("Initialize"); + BA.debugLineNum = 1033;BA.debugLine="tipos.Initialize"; +Debug.ShouldStop(256); +_tipos.runVoidMethod ("Initialize"); + BA.debugLineNum = 1034;BA.debugLine="For i=0 To c.RowCount -1"; +Debug.ShouldStop(512); +{ +final int step26 = 1; +final int limit26 = RemoteObject.solve(new RemoteObject[] {_c.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step26 > 0 && _i <= limit26) || (step26 < 0 && _i >= limit26) ;_i = ((int)(0 + _i + step26)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 1035;BA.debugLine="c.Position=i"; +Debug.ShouldStop(1024); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 1036;BA.debugLine="prods.Put(c.GetString(\"CAT_DP_IDPROD\"), CreateM"; +Debug.ShouldStop(2048); +_prods.runVoidMethod ("Put",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD"))))),(Object)((subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("idProducto")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))),RemoteObject.createImmutable(("precioSimptos")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO_SIMPTOS")))),RemoteObject.createImmutable(("precio")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))),RemoteObject.createImmutable(("almacen")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_ALMACEN")))),RemoteObject.createImmutable(("tipo")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_TIPO")))),RemoteObject.createImmutable(("piezas")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))),RemoteObject.createImmutable(("usuario")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_USUARIO")))),RemoteObject.createImmutable(("regalo")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_REGALO")))),RemoteObject.createImmutable(("clasif")),(_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_CLASIF"))))})).getObject()))); + BA.debugLineNum = 1037;BA.debugLine="tipos.Put(c.GetString(\"CAT_DP_IDPROD\"), c.GetSt"; +Debug.ShouldStop(4096); +_tipos.runVoidMethod ("Put",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD"))))),(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_TIPO")))))); + BA.debugLineNum = 1038;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"0\" Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_TIPO"))),BA.ObjectToString("0"))) { + BA.debugLineNum = 1039;BA.debugLine="prodsFijos.Add(c.GetString(\"CAT_DP_IDPROD\"))"; +Debug.ShouldStop(16384); +_prodsfijos.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))))); + BA.debugLineNum = 1040;BA.debugLine="prodsFijosPrecios.Add(c.GetString(\"CAT_DP_PREC"; +Debug.ShouldStop(32768); +_prodsfijosprecios.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))))); + BA.debugLineNum = 1041;BA.debugLine="prodsFijosPiezas.Add(c.GetString(\"CAT_DP_PZAS\""; +Debug.ShouldStop(65536); +_prodsfijospiezas.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PZAS")))))); + }; + BA.debugLineNum = 1043;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"1\" Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_TIPO"))),BA.ObjectToString("1"))) { + BA.debugLineNum = 1044;BA.debugLine="prodsVariables.Add(c.GetString(\"CAT_DP_IDPROD\""; +Debug.ShouldStop(524288); +_prodsvariables.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))))); + BA.debugLineNum = 1045;BA.debugLine="prodsVariablesPrecios.Add(c.GetString(\"CAT_DP_"; +Debug.ShouldStop(1048576); +_prodsvariablesprecios.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))))); + }; + BA.debugLineNum = 1047;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"2\" Then"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("=",_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_TIPO"))),BA.ObjectToString("2"))) { + BA.debugLineNum = 1049;BA.debugLine="prodsVariables2.Add(c.GetString(\"CAT_DP_IDPROD"; +Debug.ShouldStop(16777216); +_prodsvariables2.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_IDPROD")))))); + BA.debugLineNum = 1050;BA.debugLine="prodsVariablesPrecios2.Add(c.GetString(\"CAT_DP"; +Debug.ShouldStop(33554432); +_prodsvariablesprecios2.runVoidMethod ("Add",(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_DP_PRECIO")))))); + }; + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 1055;BA.debugLine="promoMap.Put(\"productos\", prods) 'Mapa con los p"; +Debug.ShouldStop(1073741824); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("productos"))),(Object)((_prods.getObject()))); + BA.debugLineNum = 1056;BA.debugLine="promoMap.Put(\"tipos\", tipos) 'Mapa con los produ"; +Debug.ShouldStop(-2147483648); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("tipos"))),(Object)((_tipos.getObject()))); + BA.debugLineNum = 1057;BA.debugLine="promoMap.Put(\"prodsFijos\", prodsFijos) 'Lista de"; +Debug.ShouldStop(1); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsFijos"))),(Object)((_prodsfijos.getObject()))); + BA.debugLineNum = 1058;BA.debugLine="promoMap.Put(\"prodsVariables\", prodsVariables) '"; +Debug.ShouldStop(2); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariables"))),(Object)((_prodsvariables.getObject()))); + BA.debugLineNum = 1059;BA.debugLine="promoMap.Put(\"prodsVariables2\", prodsVariables2)"; +Debug.ShouldStop(4); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariables2"))),(Object)((_prodsvariables2.getObject()))); + BA.debugLineNum = 1060;BA.debugLine="promoMap.Put(\"prodsFijosCant\", prodsFijos.Size)"; +Debug.ShouldStop(8); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsFijosCant"))),(Object)((_prodsfijos.runMethod(true,"getSize")))); + BA.debugLineNum = 1061;BA.debugLine="promoMap.Put(\"prodsFijosPrecios\", prodsFijosPrec"; +Debug.ShouldStop(16); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsFijosPrecios"))),(Object)((_prodsfijosprecios.getObject()))); + BA.debugLineNum = 1062;BA.debugLine="promoMap.Put(\"prodsFijosPiezas\", prodsFijosPieza"; +Debug.ShouldStop(32); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsFijosPiezas"))),(Object)((_prodsfijospiezas.getObject()))); + BA.debugLineNum = 1063;BA.debugLine="promoMap.Put(\"prodsVariablesCant\", prodsVariable"; +Debug.ShouldStop(64); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariablesCant"))),(Object)((_prodsvariables.runMethod(true,"getSize")))); + BA.debugLineNum = 1064;BA.debugLine="promoMap.Put(\"prodsVariables2Cant\", prodsVariabl"; +Debug.ShouldStop(128); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariables2Cant"))),(Object)((_prodsvariables2.runMethod(true,"getSize")))); + BA.debugLineNum = 1065;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios\", prodsVaria"; +Debug.ShouldStop(256); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariablesPrecios"))),(Object)((_prodsvariablesprecios.getObject()))); + BA.debugLineNum = 1066;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios2\", prodsVari"; +Debug.ShouldStop(512); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariablesPrecios2"))),(Object)((_prodsvariablesprecios2.getObject()))); + BA.debugLineNum = 1067;BA.debugLine="promoMap.Put(\"resultado\", \"ok\")"; +Debug.ShouldStop(1024); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("resultado"))),(Object)((RemoteObject.createImmutable("ok")))); + }else { + BA.debugLineNum = 1069;BA.debugLine="promoMap.Put(\"resultado\", \"No hay datos de la pr"; +Debug.ShouldStop(4096); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("resultado"))),(Object)((RemoteObject.createImmutable("No hay datos de la promoción.")))); + }; + BA.debugLineNum = 1071;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"Select CA"; +Debug.ShouldStop(16384); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)((RemoteObject.concat(RemoteObject.createImmutable("Select CAT_GP_STS, CAT_GP_IMP1, CAT_GP_NOMBRE from "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((subs.mostCurrent._starter._tabla /*RemoteObject*/ ))),RemoteObject.createImmutable(" where CAT_GP_ID = ?")))),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {_promo}))));Debug.locals.put("c", _c); + BA.debugLineNum = 1072;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32768); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1073;BA.debugLine="Private pvr As String = 0"; +Debug.ShouldStop(65536); +_pvr = BA.NumberToString(0);Debug.locals.put("pvr", _pvr);Debug.locals.put("pvr", _pvr); + BA.debugLineNum = 1074;BA.debugLine="Private pvr2 As String = 0"; +Debug.ShouldStop(131072); +_pvr2 = BA.NumberToString(0);Debug.locals.put("pvr2", _pvr2);Debug.locals.put("pvr2", _pvr2); + BA.debugLineNum = 1075;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(262144); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1076;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(524288); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1077;BA.debugLine="pvr = c.GetString(\"CAT_GP_STS\")"; +Debug.ShouldStop(1048576); +_pvr = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_STS")));Debug.locals.put("pvr", _pvr); + BA.debugLineNum = 1078;BA.debugLine="pvr2 = c.GetString(\"CAT_GP_IMP1\")"; +Debug.ShouldStop(2097152); +_pvr2 = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_IMP1")));Debug.locals.put("pvr2", _pvr2); + BA.debugLineNum = 1079;BA.debugLine="If pvr = Null Or pvr = \"null\" Then pvr = 0"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean("n",_pvr) || RemoteObject.solveBoolean("=",_pvr,BA.ObjectToString("null"))) { +_pvr = BA.NumberToString(0);Debug.locals.put("pvr", _pvr);}; + BA.debugLineNum = 1080;BA.debugLine="If pvr2 = Null Or pvr2 = \"null\" Then pvr2 = 0"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean("n",_pvr2) || RemoteObject.solveBoolean("=",_pvr2,BA.ObjectToString("null"))) { +_pvr2 = BA.NumberToString(0);Debug.locals.put("pvr2", _pvr2);}; + BA.debugLineNum = 1081;BA.debugLine="promoMap.Put(\"prodsVariablesRequeridos\", pvr) 'C"; +Debug.ShouldStop(16777216); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariablesRequeridos"))),(Object)((_pvr))); + BA.debugLineNum = 1082;BA.debugLine="promoMap.Put(\"prodsVariables2Requeridos\", pvr2)"; +Debug.ShouldStop(33554432); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("prodsVariables2Requeridos"))),(Object)((_pvr2))); + BA.debugLineNum = 1083;BA.debugLine="promoMap.put(\"descripcion\", c.GetString(\"CAT_GP_"; +Debug.ShouldStop(67108864); +_promomap.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("descripcion"))),(Object)((_c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_GP_NOMBRE")))))); + }; + BA.debugLineNum = 1085;BA.debugLine="c.Close"; +Debug.ShouldStop(268435456); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 1090;BA.debugLine="Return promoMap"; +Debug.ShouldStop(2); +if (true) return _promomap; + BA.debugLineNum = 1091;BA.debugLine="End Sub"; +Debug.ShouldStop(4); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traepromosvendidas(RemoteObject _ba,RemoteObject _promo,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("traePromosVendidas (subs) ","subs",30,_ba,subs.mostCurrent,1291); +if (RapidSub.canDelegate("traepromosvendidas")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traepromosvendidas", _ba, _promo, _cliente);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _pv = RemoteObject.createImmutable(0); +; +Debug.locals.put("promo", _promo); +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 1291;BA.debugLine="Sub traePromosVendidas(promo As String, cliente As"; +Debug.ShouldStop(1024); + BA.debugLineNum = 1292;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(2048); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 1293;BA.debugLine="Private pv As Int = 0"; +Debug.ShouldStop(4096); +_pv = BA.numberCast(int.class, 0);Debug.locals.put("pv", _pv);Debug.locals.put("pv", _pv); + BA.debugLineNum = 1294;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_CA"; +Debug.ShouldStop(8192); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select PE_CANT from PEDIDO where PE_PROID = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_promo))),RemoteObject.createImmutable("' and PE_CLIENTE = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c); + BA.debugLineNum = 1295;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 1296;BA.debugLine="c.Position = 0"; +Debug.ShouldStop(32768); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1297;BA.debugLine="pv = c.GetInt(\"PE_CANT\")"; +Debug.ShouldStop(65536); +_pv = _c.runMethod(true,"GetInt",(Object)(RemoteObject.createImmutable("PE_CANT")));Debug.locals.put("pv", _pv); + }; + BA.debugLineNum = 1299;BA.debugLine="Return pv"; +Debug.ShouldStop(262144); +if (true) return _pv; + BA.debugLineNum = 1300;BA.debugLine="End Sub"; +Debug.ShouldStop(524288); +return RemoteObject.createImmutable(0); +} +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",30,_ba,subs.mostCurrent,755); +if (RapidSub.canDelegate("traeruta")) { return SHARK2.keymon.com.mx.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 = 755;BA.debugLine="Sub traeRuta (cliente As String) As String 'ignore"; +Debug.ShouldStop(262144); + BA.debugLineNum = 756;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(524288); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 757;BA.debugLine="Private r As String"; +Debug.ShouldStop(1048576); +_r = RemoteObject.createImmutable("");Debug.locals.put("r", _r); + BA.debugLineNum = 758;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_C"; +Debug.ShouldStop(2097152); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.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("' UNION ALL select CAT_CL_RUTA from kmt_info2 where CAT_CL_CODIGO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c); + BA.debugLineNum = 759;BA.debugLine="r = \"0\""; +Debug.ShouldStop(4194304); +_r = BA.ObjectToString("0");Debug.locals.put("r", _r); + BA.debugLineNum = 760;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(8388608); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 761;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16777216); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 762;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(33554432); +_r = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("r", _r); + }; + BA.debugLineNum = 764;BA.debugLine="c.Close"; +Debug.ShouldStop(134217728); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 765;BA.debugLine="Return r"; +Debug.ShouldStop(268435456); +if (true) return _r; + BA.debugLineNum = 766;BA.debugLine="End Sub"; +Debug.ShouldStop(536870912); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeruta2(RemoteObject _ba,RemoteObject _cliente) throws Exception{ +try { + Debug.PushSubsStack("traeRuta2 (subs) ","subs",30,_ba,subs.mostCurrent,769); +if (RapidSub.canDelegate("traeruta2")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traeruta2", _ba, _cliente);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _r = RemoteObject.createImmutable(""); +; +Debug.locals.put("cliente", _cliente); + BA.debugLineNum = 769;BA.debugLine="Sub traeRuta2 (cliente As String) As String 'ignor"; +Debug.ShouldStop(1); + BA.debugLineNum = 770;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(2); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 771;BA.debugLine="Private r As String"; +Debug.ShouldStop(4); +_r = RemoteObject.createImmutable("");Debug.locals.put("r", _r); + BA.debugLineNum = 772;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_C"; +Debug.ShouldStop(8); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)((RemoteObject.concat(RemoteObject.createImmutable("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("' UNION ALL select CAT_CL_RUTA from kmt_info2 where CAT_CL_CODIGO = '"),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_cliente))),RemoteObject.createImmutable("'"))))));Debug.locals.put("c", _c); + BA.debugLineNum = 773;BA.debugLine="r = \"0\""; +Debug.ShouldStop(16); +_r = BA.ObjectToString("0");Debug.locals.put("r", _r); + BA.debugLineNum = 774;BA.debugLine="If c.RowCount > 0 Then"; +Debug.ShouldStop(32); +if (RemoteObject.solveBoolean(">",_c.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 775;BA.debugLine="c.Position=0"; +Debug.ShouldStop(64); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 776;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +Debug.ShouldStop(128); +_r = _c.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_RUTA")));Debug.locals.put("r", _r); + }; + BA.debugLineNum = 778;BA.debugLine="c.Close"; +Debug.ShouldStop(512); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 779;BA.debugLine="Return r"; +Debug.ShouldStop(1024); +if (true) return _r; + BA.debugLineNum = 780;BA.debugLine="End Sub"; +Debug.ShouldStop(2048); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traetablaprods(RemoteObject _ba,RemoteObject _tipoventa) throws Exception{ +try { + Debug.PushSubsStack("traeTablaProds (subs) ","subs",30,_ba,subs.mostCurrent,1634); +if (RapidSub.canDelegate("traetablaprods")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traetablaprods", _ba, _tipoventa);} +RemoteObject _tablaprods = RemoteObject.createImmutable(""); +; +Debug.locals.put("tipoventa", _tipoventa); + BA.debugLineNum = 1634;BA.debugLine="Sub traeTablaProds(tipoventa As String) As String"; +Debug.ShouldStop(2); + BA.debugLineNum = 1635;BA.debugLine="Private tablaProds As String = \"cat_gunaprod2\""; +Debug.ShouldStop(4); +_tablaprods = BA.ObjectToString("cat_gunaprod2");Debug.locals.put("tablaProds", _tablaprods);Debug.locals.put("tablaProds", _tablaprods); + BA.debugLineNum = 1637;BA.debugLine="If tipoventa = \"ABORDO\" Or tipoventa = \"PREVENTA_"; +Debug.ShouldStop(16); +if (RemoteObject.solveBoolean("=",_tipoventa,BA.ObjectToString("ABORDO")) || RemoteObject.solveBoolean("=",_tipoventa,BA.ObjectToString("PREVENTA_CONTADO"))) { + BA.debugLineNum = 1638;BA.debugLine="tablaProds = \"cat_gunaprod\""; +Debug.ShouldStop(32); +_tablaprods = BA.ObjectToString("cat_gunaprod");Debug.locals.put("tablaProds", _tablaprods); + }else +{ BA.debugLineNum = 1639;BA.debugLine="Else If tipoventa = \"RECARGA\" Then"; +Debug.ShouldStop(64); +if (RemoteObject.solveBoolean("=",_tipoventa,BA.ObjectToString("RECARGA"))) { + BA.debugLineNum = 1640;BA.debugLine="tablaProds = \"cat_gunaprod3\""; +Debug.ShouldStop(128); +_tablaprods = BA.ObjectToString("cat_gunaprod3");Debug.locals.put("tablaProds", _tablaprods); + }else +{ BA.debugLineNum = 1641;BA.debugLine="Else If tipoventa = \"PREVENTA_CREDITO\" Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean("=",_tipoventa,BA.ObjectToString("PREVENTA_CREDITO"))) { + BA.debugLineNum = 1642;BA.debugLine="tablaProds = \"cat_gunaprod4\""; +Debug.ShouldStop(512); +_tablaprods = BA.ObjectToString("cat_gunaprod4");Debug.locals.put("tablaProds", _tablaprods); + }}} +; + BA.debugLineNum = 1645;BA.debugLine="LogColor($\"Tipo= ${tipoventa}, tabla=${tablaProds"; +Debug.ShouldStop(4096); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","541615371",(RemoteObject.concat(RemoteObject.createImmutable("Tipo= "),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tipoventa))),RemoteObject.createImmutable(", tabla="),subs.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((_tablaprods))),RemoteObject.createImmutable(""))),subs.mostCurrent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 200)),(Object)(BA.numberCast(int.class, 136)),(Object)(BA.numberCast(int.class, 0)))); + BA.debugLineNum = 1646;BA.debugLine="Return tablaProds"; +Debug.ShouldStop(8192); +if (true) return _tablaprods; + BA.debugLineNum = 1647;BA.debugLine="End Sub"; +Debug.ShouldStop(16384); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traetipocliente(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeTipoCliente (subs) ","subs",30,_ba,subs.mostCurrent,43); +if (RapidSub.canDelegate("traetipocliente")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traetipocliente", _ba);} +RemoteObject _x = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _tc = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 43;BA.debugLine="Sub traeTipoCliente As String"; +Debug.ShouldStop(1024); + BA.debugLineNum = 44;BA.debugLine="Private x As Cursor"; +Debug.ShouldStop(2048); +_x = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("x", _x); + BA.debugLineNum = 45;BA.debugLine="Private tc As String = \"DETALLE\""; +Debug.ShouldStop(4096); +_tc = BA.ObjectToString("DETALLE");Debug.locals.put("tc", _tc);Debug.locals.put("tc", _tc); + BA.debugLineNum = 46;BA.debugLine="x = Starter.skmt.ExecQuery($\"select IFNULL(CAT_CL"; +Debug.ShouldStop(8192); +_x = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select IFNULL(CAT_CL_TIPOCLIENTE,\"DETALLE\") AS CAT_CL_TIPOCLIENTE from kmt_info where cat_cl_codigo in (select cuenta from cuentaa)")))));Debug.locals.put("x", _x); + BA.debugLineNum = 47;BA.debugLine="If x.RowCount > 0 Then"; +Debug.ShouldStop(16384); +if (RemoteObject.solveBoolean(">",_x.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 48;BA.debugLine="x.Position = 0"; +Debug.ShouldStop(32768); +_x.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 49;BA.debugLine="If x.GetString(\"CAT_CL_TIPOCLIENTE\") = \"null\" Or"; +Debug.ShouldStop(65536); +if (RemoteObject.solveBoolean("=",_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE"))),BA.ObjectToString("null")) || RemoteObject.solveBoolean("n",_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE"))))) { + BA.debugLineNum = 50;BA.debugLine="tc = \"DETALLE\""; +Debug.ShouldStop(131072); +_tc = BA.ObjectToString("DETALLE");Debug.locals.put("tc", _tc); + }else { + BA.debugLineNum = 52;BA.debugLine="tc = x.GetString(\"CAT_CL_TIPOCLIENTE\")"; +Debug.ShouldStop(524288); +_tc = _x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE")));Debug.locals.put("tc", _tc); + }; + }; + BA.debugLineNum = 57;BA.debugLine="Return tc"; +Debug.ShouldStop(16777216); +if (true) return _tc; + 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 _traetipocliente2(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeTipoCliente2 (subs) ","subs",30,_ba,subs.mostCurrent,60); +if (RapidSub.canDelegate("traetipocliente2")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traetipocliente2", _ba);} +RemoteObject _x = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _tc = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 60;BA.debugLine="Sub traeTipoCliente2 As String"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 61;BA.debugLine="Private x As Cursor"; +Debug.ShouldStop(268435456); +_x = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("x", _x); + BA.debugLineNum = 62;BA.debugLine="Private tc As String = \"DETALLE\""; +Debug.ShouldStop(536870912); +_tc = BA.ObjectToString("DETALLE");Debug.locals.put("tc", _tc);Debug.locals.put("tc", _tc); + BA.debugLineNum = 63;BA.debugLine="x = Starter.skmt.ExecQuery($\"select IFNULL(CAT_CL"; +Debug.ShouldStop(1073741824); +_x = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._starter._skmt /*RemoteObject*/ .runMethod(false,"ExecQuery",(Object)((RemoteObject.createImmutable("select IFNULL(CAT_CL_TIPOCLIENTE,\"DETALLE\") AS CAT_CL_TIPOCLIENTE from kmt_info where cat_cl_codigo in (select cuenta from cuentaa)")))));Debug.locals.put("x", _x); + BA.debugLineNum = 64;BA.debugLine="If x.RowCount > 0 Then"; +Debug.ShouldStop(-2147483648); +if (RemoteObject.solveBoolean(">",_x.runMethod(true,"getRowCount"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 65;BA.debugLine="x.Position = 0"; +Debug.ShouldStop(1); +_x.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 66;BA.debugLine="Log(\"aQUI\")"; +Debug.ShouldStop(2); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","536831238",RemoteObject.createImmutable("aQUI"),0); + BA.debugLineNum = 67;BA.debugLine="Log(x.GetString(\"CAT_CL_TIPOCLIENTE\"))"; +Debug.ShouldStop(4); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","536831239",_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE"))),0); + BA.debugLineNum = 68;BA.debugLine="If x.GetString(\"CAT_CL_TIPOCLIENTE\") = \"null\" Or"; +Debug.ShouldStop(8); +if (RemoteObject.solveBoolean("=",_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE"))),BA.ObjectToString("null")) || RemoteObject.solveBoolean("n",_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE")))) || RemoteObject.solveBoolean("=",_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE"))),BA.NumberToString(0)) || RemoteObject.solveBoolean("=",_x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE"))),BA.ObjectToString("0"))) { + BA.debugLineNum = 69;BA.debugLine="tc = \"DETALLE\""; +Debug.ShouldStop(16); +_tc = BA.ObjectToString("DETALLE");Debug.locals.put("tc", _tc); + BA.debugLineNum = 70;BA.debugLine="Log(\"Aqui\")"; +Debug.ShouldStop(32); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","536831242",RemoteObject.createImmutable("Aqui"),0); + }else { + BA.debugLineNum = 72;BA.debugLine="tc = x.GetString(\"CAT_CL_TIPOCLIENTE\")"; +Debug.ShouldStop(128); +_tc = _x.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("CAT_CL_TIPOCLIENTE")));Debug.locals.put("tc", _tc); + BA.debugLineNum = 73;BA.debugLine="Log(\"Aqui2\")"; +Debug.ShouldStop(256); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","536831245",RemoteObject.createImmutable("Aqui2"),0); + }; + }; + BA.debugLineNum = 79;BA.debugLine="Log(tc)"; +Debug.ShouldStop(16384); +subs.mostCurrent.__c.runVoidMethod ("LogImpl","536831251",_tc,0); + BA.debugLineNum = 80;BA.debugLine="Return tc"; +Debug.ShouldStop(32768); +if (true) return _tc; + 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 _traetotalcliente(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeTotalCliente (subs) ","subs",30,_ba,subs.mostCurrent,930); +if (RapidSub.canDelegate("traetotalcliente")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traetotalcliente", _ba);} +RemoteObject _sumatotal = RemoteObject.createImmutable(0); +RemoteObject _cursorprueba = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; + BA.debugLineNum = 930;BA.debugLine="Sub traeTotalCliente As Double"; +Debug.ShouldStop(2); + BA.debugLineNum = 931;BA.debugLine="Private sumaTotal As Double"; +Debug.ShouldStop(4); +_sumatotal = RemoteObject.createImmutable(0);Debug.locals.put("sumaTotal", _sumatotal); + BA.debugLineNum = 932;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; +Debug.ShouldStop(8); +_cursorprueba = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cursorprueba = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("Select PE_COSTO_TOT from pedido where PE_CLIENTE <> 0 "))));Debug.locals.put("cursorprueba", _cursorprueba);Debug.locals.put("cursorprueba", _cursorprueba); + BA.debugLineNum = 933;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; +Debug.ShouldStop(16); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_cursorprueba.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 934;BA.debugLine="cursorprueba.Position = i"; +Debug.ShouldStop(32); +_cursorprueba.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 936;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; +Debug.ShouldStop(128); +_sumatotal = RemoteObject.solve(new RemoteObject[] {_sumatotal,BA.numberCast(double.class, _cursorprueba.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0);Debug.locals.put("sumaTotal", _sumatotal); + BA.debugLineNum = 937;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; +Debug.ShouldStop(256); +_sumatotal = BA.numberCast(double.class, subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(_sumatotal),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False"))));Debug.locals.put("sumaTotal", _sumatotal); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 940;BA.debugLine="cursorprueba.Close"; +Debug.ShouldStop(2048); +_cursorprueba.runVoidMethod ("Close"); + BA.debugLineNum = 941;BA.debugLine="Return sumaTotal"; +Debug.ShouldStop(4096); +if (true) return _sumatotal; + BA.debugLineNum = 942;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traetotalclienteabordo(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeTotalClienteabordo (subs) ","subs",30,_ba,subs.mostCurrent,944); +if (RapidSub.canDelegate("traetotalclienteabordo")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traetotalclienteabordo", _ba);} +RemoteObject _sumatotal = RemoteObject.createImmutable(0); +RemoteObject _cursorprueba = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; + BA.debugLineNum = 944;BA.debugLine="Sub traeTotalClienteabordo As Double"; +Debug.ShouldStop(32768); + BA.debugLineNum = 945;BA.debugLine="Private sumaTotal As Double"; +Debug.ShouldStop(65536); +_sumatotal = RemoteObject.createImmutable(0);Debug.locals.put("sumaTotal", _sumatotal); + BA.debugLineNum = 946;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; +Debug.ShouldStop(131072); +_cursorprueba = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cursorprueba = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE = 0")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("ABORDO")}))));Debug.locals.put("cursorprueba", _cursorprueba);Debug.locals.put("cursorprueba", _cursorprueba); + BA.debugLineNum = 947;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; +Debug.ShouldStop(262144); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_cursorprueba.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 948;BA.debugLine="cursorprueba.Position = i"; +Debug.ShouldStop(524288); +_cursorprueba.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 950;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; +Debug.ShouldStop(2097152); +_sumatotal = RemoteObject.solve(new RemoteObject[] {_sumatotal,BA.numberCast(double.class, _cursorprueba.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0);Debug.locals.put("sumaTotal", _sumatotal); + BA.debugLineNum = 951;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; +Debug.ShouldStop(4194304); +_sumatotal = BA.numberCast(double.class, subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(_sumatotal),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False"))));Debug.locals.put("sumaTotal", _sumatotal); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 954;BA.debugLine="cursorprueba.Close"; +Debug.ShouldStop(33554432); +_cursorprueba.runVoidMethod ("Close"); + BA.debugLineNum = 955;BA.debugLine="Return sumaTotal"; +Debug.ShouldStop(67108864); +if (true) return _sumatotal; + BA.debugLineNum = 956;BA.debugLine="End Sub"; +Debug.ShouldStop(134217728); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traetotalclientepreventa(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeTotalClientepreventa (subs) ","subs",30,_ba,subs.mostCurrent,958); +if (RapidSub.canDelegate("traetotalclientepreventa")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traetotalclientepreventa", _ba);} +RemoteObject _sumatotal = RemoteObject.createImmutable(0); +RemoteObject _cursorprueba = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; + BA.debugLineNum = 958;BA.debugLine="Sub traeTotalClientepreventa As Double"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 959;BA.debugLine="Private sumaTotal As Double"; +Debug.ShouldStop(1073741824); +_sumatotal = RemoteObject.createImmutable(0);Debug.locals.put("sumaTotal", _sumatotal); + BA.debugLineNum = 960;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; +Debug.ShouldStop(-2147483648); +_cursorprueba = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cursorprueba = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA_CONTADO")}))));Debug.locals.put("cursorprueba", _cursorprueba);Debug.locals.put("cursorprueba", _cursorprueba); + BA.debugLineNum = 961;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; +Debug.ShouldStop(1); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_cursorprueba.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 962;BA.debugLine="cursorprueba.Position = i"; +Debug.ShouldStop(2); +_cursorprueba.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 964;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; +Debug.ShouldStop(8); +_sumatotal = RemoteObject.solve(new RemoteObject[] {_sumatotal,BA.numberCast(double.class, _cursorprueba.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0);Debug.locals.put("sumaTotal", _sumatotal); + BA.debugLineNum = 965;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; +Debug.ShouldStop(16); +_sumatotal = BA.numberCast(double.class, subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(_sumatotal),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False"))));Debug.locals.put("sumaTotal", _sumatotal); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 968;BA.debugLine="cursorprueba.Close"; +Debug.ShouldStop(128); +_cursorprueba.runVoidMethod ("Close"); + BA.debugLineNum = 969;BA.debugLine="Return sumaTotal"; +Debug.ShouldStop(256); +if (true) return _sumatotal; + BA.debugLineNum = 970;BA.debugLine="End Sub"; +Debug.ShouldStop(512); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traetotalclientepreventaparacredito(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeTotalClientepreventaparacredito (subs) ","subs",30,_ba,subs.mostCurrent,972); +if (RapidSub.canDelegate("traetotalclientepreventaparacredito")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traetotalclientepreventaparacredito", _ba);} +RemoteObject _sumatotal = RemoteObject.createImmutable(0); +RemoteObject _cursorprueba = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; + BA.debugLineNum = 972;BA.debugLine="Sub traeTotalClientepreventaparacredito As Double"; +Debug.ShouldStop(2048); + BA.debugLineNum = 973;BA.debugLine="Private sumaTotal As Double"; +Debug.ShouldStop(4096); +_sumatotal = RemoteObject.createImmutable(0);Debug.locals.put("sumaTotal", _sumatotal); + BA.debugLineNum = 974;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; +Debug.ShouldStop(8192); +_cursorprueba = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cursorprueba = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0 AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("PREVENTA")}))));Debug.locals.put("cursorprueba", _cursorprueba);Debug.locals.put("cursorprueba", _cursorprueba); + BA.debugLineNum = 975;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; +Debug.ShouldStop(16384); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_cursorprueba.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 976;BA.debugLine="cursorprueba.Position = i"; +Debug.ShouldStop(32768); +_cursorprueba.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 978;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; +Debug.ShouldStop(131072); +_sumatotal = RemoteObject.solve(new RemoteObject[] {_sumatotal,BA.numberCast(double.class, _cursorprueba.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0);Debug.locals.put("sumaTotal", _sumatotal); + BA.debugLineNum = 979;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; +Debug.ShouldStop(262144); +_sumatotal = BA.numberCast(double.class, subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(_sumatotal),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False"))));Debug.locals.put("sumaTotal", _sumatotal); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 982;BA.debugLine="cursorprueba.Close"; +Debug.ShouldStop(2097152); +_cursorprueba.runVoidMethod ("Close"); + BA.debugLineNum = 983;BA.debugLine="Return sumaTotal"; +Debug.ShouldStop(4194304); +if (true) return _sumatotal; + BA.debugLineNum = 984;BA.debugLine="End Sub"; +Debug.ShouldStop(8388608); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traetotalclienteventa(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeTotalClienteventa (subs) ","subs",30,_ba,subs.mostCurrent,986); +if (RapidSub.canDelegate("traetotalclienteventa")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traetotalclienteventa", _ba);} +RemoteObject _sumatotal = RemoteObject.createImmutable(0); +RemoteObject _cursorprueba = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +int _i = 0; +; + BA.debugLineNum = 986;BA.debugLine="Sub traeTotalClienteventa As Double"; +Debug.ShouldStop(33554432); + BA.debugLineNum = 987;BA.debugLine="Private sumaTotal As Double"; +Debug.ShouldStop(67108864); +_sumatotal = RemoteObject.createImmutable(0);Debug.locals.put("sumaTotal", _sumatotal); + BA.debugLineNum = 988;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; +Debug.ShouldStop(134217728); +_cursorprueba = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_cursorprueba = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery2",(Object)(BA.ObjectToString("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0")),(Object)(RemoteObject.createNewArray("String",new int[] {1},new Object[] {RemoteObject.createImmutable("VENTA")}))));Debug.locals.put("cursorprueba", _cursorprueba);Debug.locals.put("cursorprueba", _cursorprueba); + BA.debugLineNum = 989;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; +Debug.ShouldStop(268435456); +{ +final int step3 = 1; +final int limit3 = RemoteObject.solve(new RemoteObject[] {_cursorprueba.runMethod(true,"getRowCount"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3) ;_i = ((int)(0 + _i + step3)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 990;BA.debugLine="cursorprueba.Position = i"; +Debug.ShouldStop(536870912); +_cursorprueba.runMethod(true,"setPosition",BA.numberCast(int.class, _i)); + BA.debugLineNum = 992;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; +Debug.ShouldStop(-2147483648); +_sumatotal = RemoteObject.solve(new RemoteObject[] {_sumatotal,BA.numberCast(double.class, _cursorprueba.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("PE_COSTO_TOT"))))}, "+",1, 0);Debug.locals.put("sumaTotal", _sumatotal); + BA.debugLineNum = 993;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; +Debug.ShouldStop(1); +_sumatotal = BA.numberCast(double.class, subs.mostCurrent.__c.runMethod(true,"NumberFormat2",(Object)(_sumatotal),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 2)),(Object)(BA.numberCast(int.class, 2)),(Object)(subs.mostCurrent.__c.getField(true,"False"))));Debug.locals.put("sumaTotal", _sumatotal); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 996;BA.debugLine="cursorprueba.Close"; +Debug.ShouldStop(8); +_cursorprueba.runVoidMethod ("Close"); + BA.debugLineNum = 997;BA.debugLine="Return sumaTotal"; +Debug.ShouldStop(16); +if (true) return _sumatotal; + BA.debugLineNum = 998;BA.debugLine="End Sub"; +Debug.ShouldStop(32); +return RemoteObject.createImmutable(0); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traetotalesclienteactual(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeTotalesClienteActual (subs) ","subs",30,_ba,subs.mostCurrent,1541); +if (RapidSub.canDelegate("traetotalesclienteactual")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traetotalesclienteactual", _ba);} +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _c_prodsx = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +; + BA.debugLineNum = 1541;BA.debugLine="Sub traeTotalesClienteActual As Map"; +Debug.ShouldStop(16); + BA.debugLineNum = 1542;BA.debugLine="Private m As Map"; +Debug.ShouldStop(32); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m", _m); + BA.debugLineNum = 1543;BA.debugLine="m.Initialize"; +Debug.ShouldStop(64); +_m.runVoidMethod ("Initialize"); + BA.debugLineNum = 1544;BA.debugLine="Private c_prodsX As Cursor=B4XPages.MainPage.skmt"; +Debug.ShouldStop(128); +_c_prodsx = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +_c_prodsx = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,_ba).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select ifnull(sum(PE_CANT), 0) as cantProds, ifnull(sum(PE_COSTO_TOT), 0) as costoTotal FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PRONOMBRE asc"))));Debug.locals.put("c_prodsX", _c_prodsx);Debug.locals.put("c_prodsX", _c_prodsx); + BA.debugLineNum = 1545;BA.debugLine="c_prodsX.Position=0"; +Debug.ShouldStop(256); +_c_prodsx.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 1547;BA.debugLine="m = CreateMap(\"productos\": c_prodsX.GetString(\"ca"; +Debug.ShouldStop(1024); +_m = subs.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("productos")),(_c_prodsx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("cantProds")))),RemoteObject.createImmutable(("monto")),(_c_prodsx.runMethod(true,"GetString",(Object)(RemoteObject.createImmutable("costoTotal"))))}));Debug.locals.put("m", _m); + BA.debugLineNum = 1548;BA.debugLine="Return m"; +Debug.ShouldStop(2048); +if (true) return _m; + BA.debugLineNum = 1549;BA.debugLine="End Sub"; +Debug.ShouldStop(4096); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _traeusuariodebd(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("traeUsuarioDeBD (subs) ","subs",30,_ba,subs.mostCurrent,800); +if (RapidSub.canDelegate("traeusuariodebd")) { return SHARK2.keymon.com.mx.subs.remoteMe.runUserSub(false, "subs","traeusuariodebd", _ba);} +RemoteObject _c = RemoteObject.declareNull("anywheresoftware.b4a.sql.SQL.CursorWrapper"); +RemoteObject _u = RemoteObject.createImmutable(""); +; + BA.debugLineNum = 800;BA.debugLine="Sub traeUsuarioDeBD As String 'ignore"; +Debug.ShouldStop(-2147483648); + BA.debugLineNum = 801;BA.debugLine="Private c As Cursor"; +Debug.ShouldStop(1); +_c = RemoteObject.createNew ("anywheresoftware.b4a.sql.SQL.CursorWrapper");Debug.locals.put("c", _c); + BA.debugLineNum = 802;BA.debugLine="Private u As String = \"SinUsuario\""; +Debug.ShouldStop(2); +_u = BA.ObjectToString("SinUsuario");Debug.locals.put("u", _u);Debug.locals.put("u", _u); + BA.debugLineNum = 803;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +Debug.ShouldStop(4); +if (subs.mostCurrent.__c.runMethod(true,"Not",(Object)(subs._kmt.runMethod(true,"IsInitialized"))).get().booleanValue()) { +_revisabd(_ba);}; + BA.debugLineNum = 804;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; +Debug.ShouldStop(8); +_c = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.sql.SQL.CursorWrapper"), subs._kmt.runMethod(false,"ExecQuery",(Object)(RemoteObject.createImmutable("select USUARIO from usuarioa"))));Debug.locals.put("c", _c); + BA.debugLineNum = 805;BA.debugLine="c.Position=0"; +Debug.ShouldStop(16); +_c.runMethod(true,"setPosition",BA.numberCast(int.class, 0)); + BA.debugLineNum = 806;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +Debug.ShouldStop(32); +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 = 807;BA.debugLine="c.Close"; +Debug.ShouldStop(64); +_c.runVoidMethod ("Close"); + BA.debugLineNum = 808;BA.debugLine="Return u"; +Debug.ShouldStop(128); +if (true) return _u; + BA.debugLineNum = 809;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/SHARK2/keymon/com/mx/swiftbutton.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/swiftbutton.java new file mode 100644 index 0000000..aa1d5f4 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/swiftbutton.java @@ -0,0 +1,47 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class swiftbutton { + public static RemoteObject myClass; + public swiftbutton() { + } + public static PCBA staticBA = new PCBA(null, swiftbutton.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _meventname = RemoteObject.createImmutable(""); +public static RemoteObject _mcallback = RemoteObject.declareNull("Object"); +public static RemoteObject _mbase = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _cvs = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XCanvas"); +public static RemoteObject _xlbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +public static RemoteObject _clr1 = RemoteObject.createImmutable(0); +public static RemoteObject _clr2 = RemoteObject.createImmutable(0); +public static RemoteObject _disabledcolor = RemoteObject.createImmutable(0); +public static RemoteObject _pressed = RemoteObject.createImmutable(false); +public static RemoteObject _tag = RemoteObject.declareNull("Object"); +public static RemoteObject _mdisabled = RemoteObject.createImmutable(false); +public static RemoteObject _cornersradius = RemoteObject.createImmutable(0); +public static RemoteObject _sideheight = RemoteObject.createImmutable(0); +public static RemoteObject _mhaptic = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"clr1",_ref.getField(false, "_clr1"),"clr2",_ref.getField(false, "_clr2"),"CornersRadius",_ref.getField(false, "_cornersradius"),"cvs",_ref.getField(false, "_cvs"),"DateUtils",_ref.getField(false, "_dateutils"),"disabledColor",_ref.getField(false, "_disabledcolor"),"mBase",_ref.getField(false, "_mbase"),"mCallBack",_ref.getField(false, "_mcallback"),"mDisabled",_ref.getField(false, "_mdisabled"),"mEventName",_ref.getField(false, "_meventname"),"mHaptic",_ref.getField(false, "_mhaptic"),"pressed",_ref.getField(false, "_pressed"),"SideHeight",_ref.getField(false, "_sideheight"),"Tag",_ref.getField(false, "_tag"),"xLBL",_ref.getField(false, "_xlbl"),"xui",_ref.getField(false, "_xui")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/swiftbutton_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/swiftbutton_subs_0.java new file mode 100644 index 0000000..aaf2df5 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/swiftbutton_subs_0.java @@ -0,0 +1,466 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class swiftbutton_subs_0 { + + +public static RemoteObject _base_resize(RemoteObject __ref,RemoteObject _width,RemoteObject _height) throws Exception{ +try { + Debug.PushSubsStack("Base_Resize (swiftbutton) ","swiftbutton",71,__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 (SHARK2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 60;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _class_globals(RemoteObject __ref) throws Exception{ + //BA.debugLineNum = 12;BA.debugLine="Sub Class_Globals"; + //BA.debugLineNum = 13;BA.debugLine="Private mEventName As String 'ignore"; +swiftbutton._meventname = RemoteObject.createImmutable("");__ref.setField("_meventname",swiftbutton._meventname); + //BA.debugLineNum = 14;BA.debugLine="Private mCallBack As Object 'ignore"; +swiftbutton._mcallback = RemoteObject.createNew ("Object");__ref.setField("_mcallback",swiftbutton._mcallback); + //BA.debugLineNum = 15;BA.debugLine="Public mBase As B4XView 'ignore"; +swiftbutton._mbase = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_mbase",swiftbutton._mbase); + //BA.debugLineNum = 16;BA.debugLine="Private xui As XUI 'ignore"; +swiftbutton._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI");__ref.setField("_xui",swiftbutton._xui); + //BA.debugLineNum = 17;BA.debugLine="Private cvs As B4XCanvas"; +swiftbutton._cvs = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XCanvas");__ref.setField("_cvs",swiftbutton._cvs); + //BA.debugLineNum = 18;BA.debugLine="Public xLBL As B4XView"; +swiftbutton._xlbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper");__ref.setField("_xlbl",swiftbutton._xlbl); + //BA.debugLineNum = 19;BA.debugLine="Public clr1, clr2, disabledColor As Int"; +swiftbutton._clr1 = RemoteObject.createImmutable(0);__ref.setField("_clr1",swiftbutton._clr1); +swiftbutton._clr2 = RemoteObject.createImmutable(0);__ref.setField("_clr2",swiftbutton._clr2); +swiftbutton._disabledcolor = RemoteObject.createImmutable(0);__ref.setField("_disabledcolor",swiftbutton._disabledcolor); + //BA.debugLineNum = 20;BA.debugLine="Private pressed As Boolean"; +swiftbutton._pressed = RemoteObject.createImmutable(false);__ref.setField("_pressed",swiftbutton._pressed); + //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; +swiftbutton._tag = RemoteObject.createNew ("Object");__ref.setField("_tag",swiftbutton._tag); + //BA.debugLineNum = 22;BA.debugLine="Private mDisabled As Boolean"; +swiftbutton._mdisabled = RemoteObject.createImmutable(false);__ref.setField("_mdisabled",swiftbutton._mdisabled); + //BA.debugLineNum = 23;BA.debugLine="Public CornersRadius, SideHeight As Int"; +swiftbutton._cornersradius = RemoteObject.createImmutable(0);__ref.setField("_cornersradius",swiftbutton._cornersradius); +swiftbutton._sideheight = RemoteObject.createImmutable(0);__ref.setField("_sideheight",swiftbutton._sideheight); + //BA.debugLineNum = 24;BA.debugLine="Public mHaptic As Boolean"; +swiftbutton._mhaptic = RemoteObject.createImmutable(false);__ref.setField("_mhaptic",swiftbutton._mhaptic); + //BA.debugLineNum = 25;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _designercreateview(RemoteObject __ref,RemoteObject _base,RemoteObject _lbl,RemoteObject _props) throws Exception{ +try { + Debug.PushSubsStack("DesignerCreateView (swiftbutton) ","swiftbutton",71,__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 (SHARK2.keymon.com.mx.swiftbutton.class, "_base_resize" /*RemoteObject*/ ,(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getWidth"))),(Object)(BA.numberCast(double.class, __ref.getField(false,"_mbase" /*RemoteObject*/ ).runMethod(true,"getHeight")))); + BA.debugLineNum = 52;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _draw(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("Draw (swiftbutton) ","swiftbutton",71,__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",71,__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",71,__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",71,__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 (SHARK2.keymon.com.mx.swiftbutton.class, "_setpressedstate" /*RemoteObject*/ ,(Object)(swiftbutton.__c.getField(true,"True"))); + BA.debugLineNum = 78;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + break; } +case 1: { + BA.debugLineNum = 80;BA.debugLine="If pressed <> Inside Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("!",__ref.getField(true,"_pressed" /*RemoteObject*/ ),_inside)) { + BA.debugLineNum = 81;BA.debugLine="SetPressedState(Inside)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.swiftbutton.class, "_setpressedstate" /*RemoteObject*/ ,(Object)(_inside)); + BA.debugLineNum = 82;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + }; + break; } +case 2: +case 3: { + BA.debugLineNum = 85;BA.debugLine="SetPressedState(False)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.swiftbutton.class, "_setpressedstate" /*RemoteObject*/ ,(Object)(swiftbutton.__c.getField(true,"False"))); + BA.debugLineNum = 86;BA.debugLine="Draw"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 87;BA.debugLine="If Inside Then"; +Debug.JustUpdateDeviceLine(); +if (_inside.get().booleanValue()) { + BA.debugLineNum = 88;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mhaptic" /*RemoteObject*/ ).get().booleanValue()) { +swiftbutton._xuiviewsutils.runVoidMethod ("_performhapticfeedback" /*RemoteObject*/ ,__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mbase" /*RemoteObject*/ )));}; + BA.debugLineNum = 89;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Click"; +Debug.JustUpdateDeviceLine(); +swiftbutton.__c.runVoidMethod ("CallSubDelayed",__ref.getField(false, "ba"),(Object)(__ref.getField(false,"_mcallback" /*RemoteObject*/ )),(Object)(RemoteObject.concat(__ref.getField(true,"_meventname" /*RemoteObject*/ ),RemoteObject.createImmutable("_Click")))); + }; + break; } +} +; + BA.debugLineNum = 92;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setcolors(RemoteObject __ref,RemoteObject _primary,RemoteObject _secondary) throws Exception{ +try { + Debug.PushSubsStack("SetColors (swiftbutton) ","swiftbutton",71,__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 (SHARK2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 115;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setenabled(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setEnabled (swiftbutton) ","swiftbutton",71,__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 (SHARK2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 70;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setpressedstate(RemoteObject __ref,RemoteObject _newstate) throws Exception{ +try { + Debug.PushSubsStack("SetPressedState (swiftbutton) ","swiftbutton",71,__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",71,__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 (SHARK2.keymon.com.mx.swiftbutton.class, "_draw" /*RemoteObject*/ ); + BA.debugLineNum = 119;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/tracker.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/tracker.java new file mode 100644 index 0000000..fa6c679 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/tracker.java @@ -0,0 +1,73 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class tracker implements IRemote{ + public static tracker mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public tracker() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + static { + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("tracker"), "SHARK2.keymon.com.mx.tracker"); + } + public static RemoteObject getObject() { + return myClass; + } + public RemoteObject _service; + private PCBA pcBA; + + public PCBA create(Object[] args) throws ClassNotFoundException{ + processBA = (RemoteObject) args[1]; + _service = (RemoteObject) args[2]; + remoteMe = RemoteObject.declareNull("SHARK2.keymon.com.mx.tracker"); + anywheresoftware.b4a.keywords.Common.Density = (Float)args[3]; + pcBA = new PCBA(this, tracker.class); + main_subs_0.initializeProcessGlobals(); + return pcBA; + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _nid = RemoteObject.createImmutable(0); +public static RemoteObject _tracking = RemoteObject.createImmutable(false); +public static RemoteObject _lock = RemoteObject.declareNull("anywheresoftware.b4a.phone.Phone.PhoneWakeState"); +public static RemoteObject _flp = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper"); +public static RemoteObject _actuallr = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest"); +public static RemoteObject _flpstarted = RemoteObject.createImmutable(false); +public static RemoteObject _uugcoords = RemoteObject.declareNull("anywheresoftware.b4a.gps.LocationWrapper"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; + public Object[] GetGlobals() { + return new Object[] {"actualLR",tracker._actuallr,"appUpdater",Debug.moduleToString(SHARK2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(SHARK2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(SHARK2.keymon.com.mx.b4xpages.class),"DateUtils",tracker.mostCurrent._dateutils,"FLP",tracker._flp,"flpStarted",tracker._flpstarted,"HttpUtils2Service",Debug.moduleToString(SHARK2.keymon.com.mx.httputils2service.class),"lock",tracker._lock,"Main",Debug.moduleToString(SHARK2.keymon.com.mx.main.class),"MAPA_CLIENTE",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(SHARK2.keymon.com.mx.newinst2.class),"nid",tracker._nid,"NotificationService",Debug.moduleToString(SHARK2.keymon.com.mx.notificationservice.class),"Pendientes",Debug.moduleToString(SHARK2.keymon.com.mx.pendientes.class),"Service",tracker.mostCurrent._service,"Starter",Debug.moduleToString(SHARK2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(SHARK2.keymon.com.mx.subs.class),"Tracking",tracker._tracking,"UUGCoords",tracker._uugcoords,"XUIViewsUtils",Debug.moduleToString(SHARK2.keymon.com.mx.xuiviewsutils.class)}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/tracker_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/tracker_subs_0.java new file mode 100644 index 0000000..1e422ff --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/tracker_subs_0.java @@ -0,0 +1,830 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class tracker_subs_0 { + + +public static RemoteObject _createlocationrequest() throws Exception{ +try { + Debug.PushSubsStack("CreateLocationRequest (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,112); +if (RapidSub.canDelegate("createlocationrequest")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","createlocationrequest");} +RemoteObject _lr = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest"); + BA.debugLineNum = 112;BA.debugLine="Private Sub CreateLocationRequest As LocationReque"; +Debug.ShouldStop(32768); + BA.debugLineNum = 114;BA.debugLine="Dim lr As LocationRequest"; +Debug.ShouldStop(131072); +_lr = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest");Debug.locals.put("lr", _lr); + BA.debugLineNum = 115;BA.debugLine="lr.Initialize"; +Debug.ShouldStop(262144); +_lr.runVoidMethod ("Initialize"); + BA.debugLineNum = 116;BA.debugLine="lr.SetInterval(10000) 'Intervalo deseado para act"; +Debug.ShouldStop(524288); +_lr.runVoidMethod ("SetInterval",(Object)(BA.numberCast(long.class, 10000))); + BA.debugLineNum = 117;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +Debug.ShouldStop(1048576); +_lr.runVoidMethod ("SetFastestInterval",(Object)(BA.numberCast(long.class, RemoteObject.solve(new RemoteObject[] {_lr.runMethod(true,"GetInterval"),RemoteObject.createImmutable(2)}, "/",0, 0)))); + BA.debugLineNum = 118;BA.debugLine="lr.SetSmallestDisplacement(50) 'Solo registra cam"; +Debug.ShouldStop(2097152); +_lr.runVoidMethod ("SetSmallestDisplacement",(Object)(BA.numberCast(float.class, 50))); + BA.debugLineNum = 119;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +Debug.ShouldStop(4194304); +_lr.runVoidMethod ("SetPriority",(Object)(_lr.getField(false,"Priority").getField(true,"PRIORITY_HIGH_ACCURACY"))); + BA.debugLineNum = 120;BA.debugLine="actualLR=lr"; +Debug.ShouldStop(8388608); +tracker._actuallr = _lr; + BA.debugLineNum = 121;BA.debugLine="Return lr"; +Debug.ShouldStop(16777216); +if (true) return _lr; + BA.debugLineNum = 122;BA.debugLine="End Sub"; +Debug.ShouldStop(33554432); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createlocationrequestsmalld() throws Exception{ +try { + Debug.PushSubsStack("CreateLocationRequestSmallD (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,124); +if (RapidSub.canDelegate("createlocationrequestsmalld")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","createlocationrequestsmalld");} +RemoteObject _lr = RemoteObject.declareNull("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest"); + BA.debugLineNum = 124;BA.debugLine="Private Sub CreateLocationRequestSmallD As Locatio"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 126;BA.debugLine="Dim lr As LocationRequest"; +Debug.ShouldStop(536870912); +_lr = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest");Debug.locals.put("lr", _lr); + BA.debugLineNum = 127;BA.debugLine="lr.Initialize"; +Debug.ShouldStop(1073741824); +_lr.runVoidMethod ("Initialize"); + BA.debugLineNum = 128;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; +Debug.ShouldStop(-2147483648); +_lr.runVoidMethod ("SetInterval",(Object)(BA.numberCast(long.class, 2000))); + BA.debugLineNum = 129;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +Debug.ShouldStop(1); +_lr.runVoidMethod ("SetFastestInterval",(Object)(BA.numberCast(long.class, RemoteObject.solve(new RemoteObject[] {_lr.runMethod(true,"GetInterval"),RemoteObject.createImmutable(2)}, "/",0, 0)))); + BA.debugLineNum = 130;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo 2 actualiza"; +Debug.ShouldStop(2); +_lr.runVoidMethod ("SetNumUpdates",(Object)(BA.numberCast(int.class, 2))); + BA.debugLineNum = 131;BA.debugLine="lr.SetSmallestDisplacement(1) 'Solo registra camb"; +Debug.ShouldStop(4); +_lr.runVoidMethod ("SetSmallestDisplacement",(Object)(BA.numberCast(float.class, 1))); + BA.debugLineNum = 132;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +Debug.ShouldStop(8); +_lr.runVoidMethod ("SetPriority",(Object)(_lr.getField(false,"Priority").getField(true,"PRIORITY_HIGH_ACCURACY"))); + BA.debugLineNum = 133;BA.debugLine="actualLR=lr"; +Debug.ShouldStop(16); +tracker._actuallr = _lr; + BA.debugLineNum = 134;BA.debugLine="Return lr"; +Debug.ShouldStop(32); +if (true) return _lr; + BA.debugLineNum = 135;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +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",31,tracker.processBA,tracker.mostCurrent,195); +if (RapidSub.canDelegate("createnotification")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","createnotification", _body);} +RemoteObject _notification = RemoteObject.declareNull("anywheresoftware.b4a.objects.NotificationWrapper"); +Debug.locals.put("Body", _body); + BA.debugLineNum = 195;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; +Debug.ShouldStop(4); + BA.debugLineNum = 196;BA.debugLine="Dim notification As Notification"; +Debug.ShouldStop(8); +_notification = RemoteObject.createNew ("anywheresoftware.b4a.objects.NotificationWrapper");Debug.locals.put("notification", _notification); + BA.debugLineNum = 197;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +Debug.ShouldStop(16); +_notification.runVoidMethod ("Initialize2",(Object)(_notification.getField(true,"IMPORTANCE_LOW"))); + BA.debugLineNum = 198;BA.debugLine="notification.Icon = \"icon\""; +Debug.ShouldStop(32); +_notification.runVoidMethod ("setIcon",BA.ObjectToString("icon")); + BA.debugLineNum = 199;BA.debugLine="notification.SetInfo(\"SHARK2\", Body, Main)"; +Debug.ShouldStop(64); +_notification.runVoidMethod ("SetInfoNew",tracker.processBA,(Object)(BA.ObjectToCharSequence("SHARK2")),(Object)(BA.ObjectToCharSequence(_body)),(Object)((tracker.mostCurrent._main.getObject()))); + BA.debugLineNum = 200;BA.debugLine="Return notification"; +Debug.ShouldStop(128); +if (true) return _notification; + BA.debugLineNum = 201;BA.debugLine="End Sub"; +Debug.ShouldStop(256); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _dameultimaubicacionconocida() throws Exception{ +try { + Debug.PushSubsStack("dameUltimaUbicacionConocida (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,137); +if (RapidSub.canDelegate("dameultimaubicacionconocida")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","dameultimaubicacionconocida");} +RemoteObject _coords = RemoteObject.createImmutable(""); + BA.debugLineNum = 137;BA.debugLine="Sub dameUltimaUbicacionConocida"; +Debug.ShouldStop(256); + BA.debugLineNum = 138;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then 'M"; +Debug.ShouldStop(512); +if (tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 140;BA.debugLine="If Starter.Logger Then LogColor($\"Mandamos UUC \""; +Debug.ShouldStop(2048); +if (tracker.mostCurrent._starter._logger /*RemoteObject*/ .get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","542926083",(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 = 141;BA.debugLine="Dim coords As String = FLP.GetLastKnownLocation."; +Debug.ShouldStop(4096); +_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 = 145;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +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",31,tracker.processBA,tracker.mostCurrent,56); +if (RapidSub.canDelegate("flp_connectionfailed")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","flp_connectionfailed", _connectionresult1);} +Debug.locals.put("ConnectionResult1", _connectionresult1); + BA.debugLineNum = 56;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)"; +Debug.ShouldStop(8388608); + BA.debugLineNum = 57;BA.debugLine="Log(\"Failed to connect to location provider\")"; +Debug.ShouldStop(16777216); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","542467329",RemoteObject.createImmutable("Failed to connect to location provider"),0); + 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 _flp_connectionsuccess() throws Exception{ +try { + Debug.PushSubsStack("flp_ConnectionSuccess (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,51); +if (RapidSub.canDelegate("flp_connectionsuccess")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","flp_connectionsuccess");} + BA.debugLineNum = 51;BA.debugLine="Sub flp_ConnectionSuccess"; +Debug.ShouldStop(262144); + 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 _flp_locationchanged(RemoteObject _location1) throws Exception{ +try { + Debug.PushSubsStack("flp_LocationChanged (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,155); +if (RapidSub.canDelegate("flp_locationchanged")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","flp_locationchanged", _location1);} +RemoteObject _sdate = RemoteObject.createImmutable(""); +RemoteObject _stime = RemoteObject.createImmutable(""); +RemoteObject _coords = RemoteObject.createImmutable(""); +Debug.locals.put("Location1", _location1); + BA.debugLineNum = 155;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)"; +Debug.ShouldStop(67108864); + BA.debugLineNum = 158;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; +Debug.ShouldStop(536870912); +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).setField ("_lat_gps" /*RemoteObject*/ ,BA.NumberToString(_location1.runMethod(true,"getLatitude"))); + BA.debugLineNum = 159;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; +Debug.ShouldStop(1073741824); +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).setField ("_lon_gps" /*RemoteObject*/ ,BA.NumberToString(_location1.runMethod(true,"getLongitude"))); + BA.debugLineNum = 160;BA.debugLine="UUGCoords = Location1"; +Debug.ShouldStop(-2147483648); +tracker._uugcoords = _location1; + BA.debugLineNum = 168;BA.debugLine="Dim sDate,sTime As String"; +Debug.ShouldStop(128); +_sdate = RemoteObject.createImmutable("");Debug.locals.put("sDate", _sdate); +_stime = RemoteObject.createImmutable("");Debug.locals.put("sTime", _stime); + BA.debugLineNum = 169;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +Debug.ShouldStop(256); +tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("MM/dd/yyyy")); + BA.debugLineNum = 170;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +Debug.ShouldStop(512); +_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 = 171;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +Debug.ShouldStop(1024); +_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 = 172;BA.debugLine="If Not(B4XPages.MainPage.skmt.IsInitialized) Then"; +Debug.ShouldStop(2048); +if (tracker.mostCurrent.__c.runMethod(true,"Not",(Object)(tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runMethod(true,"IsInitialized"))).get().booleanValue()) { +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("Initialize",(Object)(tracker.mostCurrent._starter._ruta /*RemoteObject*/ ),(Object)(BA.ObjectToString("kmt.db")),(Object)(tracker.mostCurrent.__c.getField(true,"True")));}; + BA.debugLineNum = 173;BA.debugLine="Try"; +Debug.ShouldStop(4096); +try { BA.debugLineNum = 174;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +Debug.ShouldStop(8192); +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ")),(Object)(tracker.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(RemoteObject.concat(_sdate,_stime)),(tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_lat_gps" /*RemoteObject*/ )),(tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(true,"_lon_gps" /*RemoteObject*/ ))}))))); + BA.debugLineNum = 175;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +Debug.ShouldStop(16384); +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery",(Object)(RemoteObject.createImmutable("DELETE FROM HIST_GPS"))); + Debug.CheckDeviceExceptions(); +} + catch (Exception e13) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e13.toString()); BA.debugLineNum = 177;BA.debugLine="LogColor(LastException, Colors.Red)"; +Debug.ShouldStop(65536); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","543057174",BA.ObjectToString(tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 180;BA.debugLine="Dim coords As String = Location1.Latitude&\",\"&Loc"; +Debug.ShouldStop(524288); +_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 = 185;BA.debugLine="If Location1.Accuracy < 100 Then"; +Debug.ShouldStop(16777216); +if (RemoteObject.solveBoolean("<",_location1.runMethod(true,"getAccuracy"),BA.numberCast(double.class, 100))) { + }; + BA.debugLineNum = 189;BA.debugLine="CallSub2(Starter, \"GPS_LocationChanged\", Location"; +Debug.ShouldStop(268435456); +tracker.mostCurrent.__c.runMethodAndSync(false,"CallSubNew2",tracker.processBA,(Object)((tracker.mostCurrent._starter.getObject())),(Object)(BA.ObjectToString("GPS_LocationChanged")),(Object)((_location1))); + BA.debugLineNum = 193;BA.debugLine="End Sub"; +Debug.ShouldStop(1); +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",31,tracker.processBA,tracker.mostCurrent,211); +if (RapidSub.canDelegate("formatofecha")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","formatofecha", _fecha);} +RemoteObject _origformat = RemoteObject.createImmutable(""); +RemoteObject _lastupdate = RemoteObject.createImmutable(""); +Debug.locals.put("fecha", _fecha); + BA.debugLineNum = 211;BA.debugLine="Sub formatoFecha(fecha As String) As String 'Convi"; +Debug.ShouldStop(262144); + BA.debugLineNum = 213;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +Debug.ShouldStop(1048576); +_origformat = tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getDateFormat");Debug.locals.put("OrigFormat", _origformat);Debug.locals.put("OrigFormat", _origformat); + BA.debugLineNum = 214;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +Debug.ShouldStop(2097152); +tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",BA.ObjectToString("yyMMddHHmmss")); + BA.debugLineNum = 215;BA.debugLine="Dim lastUpdate As String=DateTime.Date(fecha)"; +Debug.ShouldStop(4194304); +_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 = 216;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +Debug.ShouldStop(8388608); +tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"setDateFormat",_origformat); + BA.debugLineNum = 218;BA.debugLine="Return lastUpdate"; +Debug.ShouldStop(33554432); +if (true) return _lastupdate; + BA.debugLineNum = 219;BA.debugLine="End Sub"; +Debug.ShouldStop(67108864); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 30;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 31;BA.debugLine="Private nid As Int = 51042"; +tracker._nid = BA.numberCast(int.class, 51042); + //BA.debugLineNum = 32;BA.debugLine="Private Tracking As Boolean"; +tracker._tracking = RemoteObject.createImmutable(false); + //BA.debugLineNum = 33;BA.debugLine="Private lock As PhoneWakeState"; +tracker._lock = RemoteObject.createNew ("anywheresoftware.b4a.phone.Phone.PhoneWakeState"); + //BA.debugLineNum = 35;BA.debugLine="Public FLP As FusedLocationProvider"; +tracker._flp = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper"); + //BA.debugLineNum = 36;BA.debugLine="Dim actualLR As LocationRequest"; +tracker._actuallr = RemoteObject.createNew ("uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest"); + //BA.debugLineNum = 37;BA.debugLine="Private flpStarted As Boolean"; +tracker._flpstarted = RemoteObject.createImmutable(false); + //BA.debugLineNum = 39;BA.debugLine="Dim UUGCoords As Location 'Ultima Ubicacion Guard"; +tracker._uugcoords = RemoteObject.createNew ("anywheresoftware.b4a.gps.LocationWrapper"); + //BA.debugLineNum = 40;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _revisaflp() throws Exception{ +try { + Debug.PushSubsStack("revisaFLP (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,222); +if (RapidSub.canDelegate("revisaflp")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","revisaflp");} +RemoteObject _todobienflp = RemoteObject.createImmutable(false); + BA.debugLineNum = 222;BA.debugLine="Sub revisaFLP 'ignore"; +Debug.ShouldStop(536870912); + BA.debugLineNum = 223;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col"; +Debug.ShouldStop(1073741824); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","543319297",BA.ObjectToString("**** **** Revisamos FLP **** ****"),tracker.mostCurrent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 78)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 227)))); + BA.debugLineNum = 224;BA.debugLine="Private todoBienFLP As Boolean = True"; +Debug.ShouldStop(-2147483648); +_todobienflp = tracker.mostCurrent.__c.getField(true,"True");Debug.locals.put("todoBienFLP", _todobienflp);Debug.locals.put("todoBienFLP", _todobienflp); + BA.debugLineNum = 225;BA.debugLine="Try"; +Debug.ShouldStop(1); +try { BA.debugLineNum = 226;BA.debugLine="If Not(FLP.IsInitialized) Then"; +Debug.ShouldStop(2); +if (tracker.mostCurrent.__c.runMethod(true,"Not",(Object)(tracker._flp.runMethod(true,"IsInitialized"))).get().booleanValue()) { + BA.debugLineNum = 227;BA.debugLine="Subs.log2DB(\"revisaFLP: No esta inicializado .."; +Debug.ShouldStop(4); +tracker.mostCurrent._subs.runVoidMethod ("_log2db" /*RemoteObject*/ ,tracker.processBA,(Object)(RemoteObject.createImmutable("revisaFLP: No esta inicializado ... 'Reinicializando FLP'"))); + BA.debugLineNum = 228;BA.debugLine="FLP.Initialize(\"flp\")"; +Debug.ShouldStop(8); +tracker._flp.runVoidMethod ("Initialize",tracker.processBA,(Object)(RemoteObject.createImmutable("flp"))); + BA.debugLineNum = 229;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(16); +_todobienflp = tracker.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e10) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e10.toString()); BA.debugLineNum = 232;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) -->"; +Debug.ShouldStop(128); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","543319306",RemoteObject.concat(RemoteObject.createImmutable("If Not(Tracker.FLP.IsInitialized) --> "),tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 234;BA.debugLine="Try"; +Debug.ShouldStop(512); +try { BA.debugLineNum = 235;BA.debugLine="If FLP.IsInitialized Then"; +Debug.ShouldStop(1024); +if (tracker._flp.runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 236;BA.debugLine="Try"; +Debug.ShouldStop(2048); +try { BA.debugLineNum = 237;BA.debugLine="If Not(FLP.IsConnected) Then"; +Debug.ShouldStop(4096); +if (tracker.mostCurrent.__c.runMethod(true,"Not",(Object)(tracker._flp.runMethod(true,"IsConnected"))).get().booleanValue()) { + BA.debugLineNum = 238;BA.debugLine="Subs.log2DB(\"revisaFLP: No esta conectado ..."; +Debug.ShouldStop(8192); +tracker.mostCurrent._subs.runVoidMethod ("_log2db" /*RemoteObject*/ ,tracker.processBA,(Object)(RemoteObject.createImmutable("revisaFLP: No esta conectado ... 'Reconectando FLP'"))); + BA.debugLineNum = 240;BA.debugLine="StartFLP"; +Debug.ShouldStop(32768); +_startflp(); + BA.debugLineNum = 241;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(65536); +_todobienflp = tracker.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e21) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e21.toString()); BA.debugLineNum = 244;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->"; +Debug.ShouldStop(524288); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","543319318",RemoteObject.concat(RemoteObject.createImmutable("If Not(Tracker.FLP.IsConnected) --> "),tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 246;BA.debugLine="Try"; +Debug.ShouldStop(2097152); +try { BA.debugLineNum = 247;BA.debugLine="If FLP.IsConnected And _ FLP.GetLastKnown"; +Debug.ShouldStop(4194304); +if (RemoteObject.solveBoolean(".",tracker._flp.runMethod(true,"IsConnected")) && RemoteObject.solveBoolean(".",tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(">",tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"DistanceTo",(Object)((tracker._uugcoords.getObject()))),BA.numberCast(double.class, 500))) { + BA.debugLineNum = 250;BA.debugLine="Subs.log2DB(\"revisaFLP: 'No se esta actualiza"; +Debug.ShouldStop(33554432); +tracker.mostCurrent._subs.runVoidMethod ("_log2db" /*RemoteObject*/ ,tracker.processBA,(Object)(RemoteObject.createImmutable("revisaFLP: 'No se esta actualizando, lo reiniciamos ...'"))); + BA.debugLineNum = 251;BA.debugLine="StartService(Me)"; +Debug.ShouldStop(67108864); +tracker.mostCurrent.__c.runVoidMethod ("StartService",tracker.processBA,(Object)(tracker.getObject())); + BA.debugLineNum = 252;BA.debugLine="todoBienFLP = False"; +Debug.ShouldStop(134217728); +_todobienflp = tracker.mostCurrent.__c.getField(true,"False");Debug.locals.put("todoBienFLP", _todobienflp); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e30) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e30.toString()); BA.debugLineNum = 255;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I"; +Debug.ShouldStop(1073741824); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","543319329",RemoteObject.concat(RemoteObject.createImmutable("If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "),tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + }; + BA.debugLineNum = 258;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error"; +Debug.ShouldStop(2); +if (_todobienflp.get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","543319332",BA.ObjectToString(" +++ +++ Sin errores en FLP"),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Green"));}; + Debug.CheckDeviceExceptions(); +} + catch (Exception e35) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e35.toString()); BA.debugLineNum = 260;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las"; +Debug.ShouldStop(8); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","543319334",RemoteObject.concat(RemoteObject.createImmutable("If Tracker.FLP.IsInitialized --> "),tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 263;BA.debugLine="End Sub"; +Debug.ShouldStop(64); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _revisauug() throws Exception{ +try { + Debug.PushSubsStack("revisaUUG (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,267); +if (RapidSub.canDelegate("revisauug")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","revisauug");} +RemoteObject _daa = RemoteObject.createImmutable(0); + BA.debugLineNum = 267;BA.debugLine="Sub revisaUUG 'ignore"; +Debug.ShouldStop(1024); + BA.debugLineNum = 268;BA.debugLine="Try"; +Debug.ShouldStop(2048); +try { BA.debugLineNum = 270;BA.debugLine="If FLP.IsInitialized And FLP.IsConnected Then"; +Debug.ShouldStop(8192); +if (RemoteObject.solveBoolean(".",tracker._flp.runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(".",tracker._flp.runMethod(true,"IsConnected"))) { + BA.debugLineNum = 271;BA.debugLine="Try"; +Debug.ShouldStop(16384); +try { BA.debugLineNum = 272;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then"; +Debug.ShouldStop(32768); +if (tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"IsInitialized").get().booleanValue()) { + BA.debugLineNum = 274;BA.debugLine="Dim daa As Int = UUGCoords.DistanceTo(FLP.Get"; +Debug.ShouldStop(131072); +_daa = BA.numberCast(int.class, tracker._uugcoords.runMethod(true,"DistanceTo",(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").getObject()))));Debug.locals.put("daa", _daa);Debug.locals.put("daa", _daa); + BA.debugLineNum = 275;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"$"; +Debug.ShouldStop(262144); +if (tracker.mostCurrent._starter._logger /*RemoteObject*/ .get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","543384840",(RemoteObject.concat(RemoteObject.createImmutable("**** UUC \""),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("")),(Object)((tracker.mostCurrent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,tracker.processBA,(Object)(BA.NumberToString(tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getTime"))))))),RemoteObject.createImmutable("|"),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.2")),(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getAccuracy")))),RemoteObject.createImmutable("|"),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.8")),(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude")))),RemoteObject.createImmutable("|"),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.8")),(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude")))),RemoteObject.createImmutable("|"),tracker.mostCurrent.__c.runMethod(true,"SmartStringFormatter",(Object)(BA.ObjectToString("0.2")),(Object)((tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getSpeed")))),RemoteObject.createImmutable("|"))),tracker.mostCurrent.__c.getField(false,"Colors").runMethod(true,"RGB",(Object)(BA.numberCast(int.class, 255)),(Object)(BA.numberCast(int.class, 112)),(Object)(BA.numberCast(int.class, 35))));}; + BA.debugLineNum = 276;BA.debugLine="If daa > 40 And FLP.GetLastKnownLocation.Accu"; +Debug.ShouldStop(524288); +if (RemoteObject.solveBoolean(">",_daa,BA.numberCast(double.class, 40)) && RemoteObject.solveBoolean("<",tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getAccuracy"),BA.numberCast(double.class, 35))) { + BA.debugLineNum = 277;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +Debug.ShouldStop(1048576); +tracker.mostCurrent._b4xpages.runMethod(false,"_mainpage" /*RemoteObject*/ ,tracker.processBA).getField(false,"_skmt" /*RemoteObject*/ ).runVoidMethod ("ExecNonQuery2",(Object)(BA.ObjectToString("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)")),(Object)(tracker.mostCurrent.__c.runMethod(false, "ArrayToList", (Object)(RemoteObject.createNewArray("Object",new int[] {3},new Object[] {(tracker.mostCurrent._subs.runMethod(true,"_fechakmt" /*RemoteObject*/ ,tracker.processBA,(Object)(BA.NumberToString(tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getTime"))))),(tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getLatitude")),(tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getLongitude"))}))))); + BA.debugLineNum = 278;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a"; +Debug.ShouldStop(2097152); +if (tracker.mostCurrent._starter._logger /*RemoteObject*/ .get().booleanValue()) { +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","543384843",RemoteObject.concat(RemoteObject.createImmutable("++++ Distancia a anterior="),_daa,RemoteObject.createImmutable("|"),RemoteObject.createImmutable("Precision="),tracker._flp.runMethod(false,"GetLastKnownLocation").runMethod(true,"getAccuracy")),0);}; + }; + BA.debugLineNum = 280;BA.debugLine="UUGCoords = FLP.GetLastKnownLocation"; +Debug.ShouldStop(8388608); +tracker._uugcoords = tracker._flp.runMethod(false,"GetLastKnownLocation"); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e14) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e14.toString()); BA.debugLineNum = 283;BA.debugLine="LogColor(\"FLP.GetLastKnownLocation.IsInitializ"; +Debug.ShouldStop(67108864); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","543384848",RemoteObject.concat(RemoteObject.createImmutable("FLP.GetLastKnownLocation.IsInitialized --> "),tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + }else { + BA.debugLineNum = 286;BA.debugLine="Log(\"StartFLP\")"; +Debug.ShouldStop(536870912); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","543384851",RemoteObject.createImmutable("StartFLP"),0); + BA.debugLineNum = 287;BA.debugLine="StartFLP"; +Debug.ShouldStop(1073741824); +_startflp(); + }; + Debug.CheckDeviceExceptions(); +} + catch (Exception e21) { + BA.rdebugUtils.runVoidMethod("setLastException",tracker.processBA, e21.toString()); BA.debugLineNum = 290;BA.debugLine="LogColor(\"If FLP.IsInitialized --> \"&LastExcepti"; +Debug.ShouldStop(2); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","543384855",RemoteObject.concat(RemoteObject.createImmutable("If FLP.IsInitialized --> "),tracker.mostCurrent.__c.runMethod(false,"LastException",tracker.processBA)),tracker.mostCurrent.__c.getField(false,"Colors").getField(true,"Red")); + }; + BA.debugLineNum = 292;BA.debugLine="End Sub"; +Debug.ShouldStop(8); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _service_create() throws Exception{ +try { + Debug.PushSubsStack("Service_Create (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,42); +if (RapidSub.canDelegate("service_create")) { return SHARK2.keymon.com.mx.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 = 45;BA.debugLine="FLP.Initialize(\"flp\")"; +Debug.ShouldStop(4096); +tracker._flp.runVoidMethod ("Initialize",tracker.processBA,(Object)(RemoteObject.createImmutable("flp"))); + BA.debugLineNum = 46;BA.debugLine="FLP.Connect"; +Debug.ShouldStop(8192); +tracker._flp.runVoidMethod ("Connect"); + BA.debugLineNum = 47;BA.debugLine="lock.PartialLock"; +Debug.ShouldStop(16384); +tracker._lock.runVoidMethod ("PartialLock",tracker.processBA); + BA.debugLineNum = 48;BA.debugLine="StartFLP"; +Debug.ShouldStop(32768); +_startflp(); + 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 _service_destroy() throws Exception{ +try { + Debug.PushSubsStack("Service_Destroy (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,203); +if (RapidSub.canDelegate("service_destroy")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","service_destroy");} + BA.debugLineNum = 203;BA.debugLine="Sub Service_Destroy"; +Debug.ShouldStop(1024); + BA.debugLineNum = 204;BA.debugLine="If Tracking Then"; +Debug.ShouldStop(2048); +if (tracker._tracking.get().booleanValue()) { + BA.debugLineNum = 205;BA.debugLine="StopFLP"; +Debug.ShouldStop(4096); +_stopflp(); + }; + BA.debugLineNum = 207;BA.debugLine="Tracking = False"; +Debug.ShouldStop(16384); +tracker._tracking = tracker.mostCurrent.__c.getField(true,"False"); + BA.debugLineNum = 208;BA.debugLine="lock.ReleasePartialLock"; +Debug.ShouldStop(32768); +tracker._lock.runVoidMethod ("ReleasePartialLock"); + BA.debugLineNum = 209;BA.debugLine="End Sub"; +Debug.ShouldStop(65536); +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",31,tracker.processBA,tracker.mostCurrent,60); +if (RapidSub.canDelegate("service_start")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","service_start", _startingintent);} +Debug.locals.put("StartingIntent", _startingintent); + BA.debugLineNum = 60;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +Debug.ShouldStop(134217728); + BA.debugLineNum = 62;BA.debugLine="Service.StopAutomaticForeground"; +Debug.ShouldStop(536870912); +tracker.mostCurrent._service.runVoidMethod ("StopAutomaticForeground"); + BA.debugLineNum = 63;BA.debugLine="Service.StartForeground(nid, CreateNotification(\""; +Debug.ShouldStop(1073741824); +tracker.mostCurrent._service.runVoidMethod ("StartForeground",(Object)(tracker._nid),(Object)((_createnotification(RemoteObject.createImmutable("...")).getObject()))); + BA.debugLineNum = 64;BA.debugLine="Track"; +Debug.ShouldStop(-2147483648); +_track(); + BA.debugLineNum = 65;BA.debugLine="StartServiceAt(Me, DateTime.Now + 5 * DateTime.Ti"; +Debug.ShouldStop(1); +tracker.mostCurrent.__c.runVoidMethod ("StartServiceAt",tracker.processBA,(Object)(tracker.getObject()),(Object)(RemoteObject.solve(new RemoteObject[] {tracker.mostCurrent.__c.getField(false,"DateTime").runMethod(true,"getNow"),RemoteObject.createImmutable(5),tracker.mostCurrent.__c.getField(false,"DateTime").getField(true,"TicksPerMinute")}, "+*",1, 2)),(Object)(tracker.mostCurrent.__c.getField(true,"True"))); + BA.debugLineNum = 66;BA.debugLine="FLP.GetLastKnownLocation.Initialize"; +Debug.ShouldStop(2); +tracker._flp.runMethod(false,"GetLastKnownLocation").runVoidMethod ("Initialize"); + 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 void _startflp() throws Exception{ +try { + Debug.PushSubsStack("StartFLP (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,85); +if (RapidSub.canDelegate("startflp")) { SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","startflp"); return;} +ResumableSub_StartFLP rsub = new ResumableSub_StartFLP(null); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_StartFLP extends BA.ResumableSub { +public ResumableSub_StartFLP(SHARK2.keymon.com.mx.tracker parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +SHARK2.keymon.com.mx.tracker parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("StartFLP (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,85); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 87;BA.debugLine="Do While FLP.IsConnected = False"; +Debug.ShouldStop(4194304); +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 = 88;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(8388608); +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 = 93;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest)"; +Debug.ShouldStop(268435456); +parent._flp.runVoidMethod ("RequestLocationUpdates",(Object)((_createlocationrequest().getObject()))); + BA.debugLineNum = 96;BA.debugLine="flpStarted = True"; +Debug.ShouldStop(-2147483648); +parent._flpstarted = parent.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 98;BA.debugLine="End Sub"; +Debug.ShouldStop(2); +if (true) break; + + } + } + } +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} +public static void _startflpsmall() throws Exception{ +try { + Debug.PushSubsStack("StartFLPSmall (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,100); +if (RapidSub.canDelegate("startflpsmall")) { SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","startflpsmall"); return;} +ResumableSub_StartFLPSmall rsub = new ResumableSub_StartFLPSmall(null); +rsub.resume(null, null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static class ResumableSub_StartFLPSmall extends BA.ResumableSub { +public ResumableSub_StartFLPSmall(SHARK2.keymon.com.mx.tracker parent) { +this.parent = parent; +} +java.util.LinkedHashMap rsLocals = new java.util.LinkedHashMap(); +SHARK2.keymon.com.mx.tracker parent; + +@Override +public void resume(BA ba, RemoteObject result) throws Exception{ +try { + Debug.PushSubsStack("StartFLPSmall (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,100); +Debug.locals = rsLocals;Debug.currentSubFrame.locals = rsLocals; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; + BA.debugLineNum = 102;BA.debugLine="Do While FLP.IsConnected = False"; +Debug.ShouldStop(32); +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 = 103;BA.debugLine="Sleep(500)"; +Debug.ShouldStop(64); +parent.mostCurrent.__c.runVoidMethod ("Sleep",tracker.processBA,anywheresoftware.b4a.pc.PCResumableSub.createDebugResumeSub(this, "tracker", "startflpsmall"),BA.numberCast(int.class, 500)); +this.state = 5; +return; +case 5: +//C +this.state = 1; +; + BA.debugLineNum = 104;BA.debugLine="Log(\"sleeping\")"; +Debug.ShouldStop(128); +parent.mostCurrent.__c.runVoidMethod ("LogImpl","542729476",RemoteObject.createImmutable("sleeping"),0); + if (true) break; + +case 4: +//C +this.state = -1; +; + BA.debugLineNum = 106;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; +Debug.ShouldStop(512); +_dameultimaubicacionconocida(); + BA.debugLineNum = 107;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequestS"; +Debug.ShouldStop(1024); +parent._flp.runVoidMethod ("RequestLocationUpdates",(Object)((_createlocationrequestsmalld().getObject()))); + BA.debugLineNum = 110;BA.debugLine="End Sub"; +Debug.ShouldStop(8192); +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",31,tracker.processBA,tracker.mostCurrent,147); +if (RapidSub.canDelegate("stopflp")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","stopflp");} + BA.debugLineNum = 147;BA.debugLine="Public Sub StopFLP"; +Debug.ShouldStop(262144); + BA.debugLineNum = 149;BA.debugLine="If flpStarted Then"; +Debug.ShouldStop(1048576); +if (tracker._flpstarted.get().booleanValue()) { + BA.debugLineNum = 150;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las"; +Debug.ShouldStop(2097152); +tracker._flp.runVoidMethod ("RemoveLocationUpdates"); + BA.debugLineNum = 151;BA.debugLine="flpStarted = False"; +Debug.ShouldStop(4194304); +tracker._flpstarted = tracker.mostCurrent.__c.getField(true,"False"); + }; + 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 _track() throws Exception{ +try { + Debug.PushSubsStack("Track (tracker) ","tracker",31,tracker.processBA,tracker.mostCurrent,69); +if (RapidSub.canDelegate("track")) { return SHARK2.keymon.com.mx.tracker.remoteMe.runUserSub(false, "tracker","track");} + BA.debugLineNum = 69;BA.debugLine="Public Sub Track"; +Debug.ShouldStop(16); + BA.debugLineNum = 71;BA.debugLine="If Not(FLP.IsInitialized) Then FLP.Initialize(\"fl"; +Debug.ShouldStop(64); +if (tracker.mostCurrent.__c.runMethod(true,"Not",(Object)(tracker._flp.runMethod(true,"IsInitialized"))).get().booleanValue()) { +tracker._flp.runVoidMethod ("Initialize",tracker.processBA,(Object)(RemoteObject.createImmutable("flp")));}; + BA.debugLineNum = 72;BA.debugLine="If Not(FLP.IsConnected) Then FLP.Connect"; +Debug.ShouldStop(128); +if (tracker.mostCurrent.__c.runMethod(true,"Not",(Object)(tracker._flp.runMethod(true,"IsConnected"))).get().booleanValue()) { +tracker._flp.runVoidMethod ("Connect");}; + BA.debugLineNum = 73;BA.debugLine="If Tracking And actualLR.IsInitialized Then"; +Debug.ShouldStop(256); +if (RemoteObject.solveBoolean(".",tracker._tracking) && RemoteObject.solveBoolean(".",tracker._actuallr.runMethod(true,"IsInitialized"))) { + BA.debugLineNum = 75;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; +Debug.ShouldStop(1024); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 77;BA.debugLine="If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_"; +Debug.ShouldStop(4096); +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 = 78;BA.debugLine="Log(\"No permission\")"; +Debug.ShouldStop(8192); +tracker.mostCurrent.__c.runVoidMethod ("LogImpl","542598409",RemoteObject.createImmutable("No permission"),0); + BA.debugLineNum = 79;BA.debugLine="Return"; +Debug.ShouldStop(16384); +if (true) return RemoteObject.createImmutable(""); + }; + BA.debugLineNum = 81;BA.debugLine="StartFLP 'Iniciamos FusedLocationProvider"; +Debug.ShouldStop(65536); +_startflp(); + BA.debugLineNum = 82;BA.debugLine="Tracking = True"; +Debug.ShouldStop(131072); +tracker._tracking = tracker.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 83;BA.debugLine="End Sub"; +Debug.ShouldStop(262144); +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/SHARK2/keymon/com/mx/xml2map.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/xml2map.java new file mode 100644 index 0000000..2ab53b1 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/xml2map.java @@ -0,0 +1,35 @@ + +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RemoteObject; + +public class xml2map { + public static RemoteObject myClass; + public xml2map() { + } + public static PCBA staticBA = new PCBA(null, xml2map.class); + +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _parser = RemoteObject.declareNull("anywheresoftware.b4a.objects.SaxParser"); +public static RemoteObject _elements = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +public static RemoteObject _mstripnamespaces = RemoteObject.createImmutable(false); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public static SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static Object[] GetGlobals(RemoteObject _ref) throws Exception { + return new Object[] {"DateUtils",_ref.getField(false, "_dateutils"),"elements",_ref.getField(false, "_elements"),"mStripNamespaces",_ref.getField(false, "_mstripnamespaces"),"parser",_ref.getField(false, "_parser")}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/xml2map_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/xml2map_subs_0.java new file mode 100644 index 0000000..7e2474e --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/xml2map_subs_0.java @@ -0,0 +1,407 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class xml2map_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 parser As SaxParser"; +xml2map._parser = RemoteObject.createNew ("anywheresoftware.b4a.objects.SaxParser");__ref.setField("_parser",xml2map._parser); + //BA.debugLineNum = 5;BA.debugLine="Type XmlElement (Name As String, Children As List"; +; + //BA.debugLineNum = 6;BA.debugLine="Private elements As List"; +xml2map._elements = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");__ref.setField("_elements",xml2map._elements); + //BA.debugLineNum = 7;BA.debugLine="Private mStripNamespaces As Boolean"; +xml2map._mstripnamespaces = RemoteObject.createImmutable(false);__ref.setField("_mstripnamespaces",xml2map._mstripnamespaces); + //BA.debugLineNum = 8;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _createelement(RemoteObject __ref,RemoteObject _name) throws Exception{ +try { + Debug.PushSubsStack("CreateElement (xml2map) ","xml2map",75,__ref.getField(false, "ba"),__ref,68); +if (RapidSub.canDelegate("createelement")) { return __ref.runUserSub(false, "xml2map","createelement", __ref, _name);} +RemoteObject _xe = RemoteObject.declareNull("SHARK2.keymon.com.mx.xml2map._xmlelement"); +Debug.locals.put("Name", _name); + BA.debugLineNum = 68;BA.debugLine="Private Sub CreateElement (Name As String) As XmlE"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 69;BA.debugLine="Dim xe As XmlElement"; +Debug.JustUpdateDeviceLine(); +_xe = RemoteObject.createNew ("SHARK2.keymon.com.mx.xml2map._xmlelement");Debug.locals.put("xe", _xe); + BA.debugLineNum = 70;BA.debugLine="xe.Initialize"; +Debug.JustUpdateDeviceLine(); +_xe.runVoidMethod ("Initialize"); + BA.debugLineNum = 71;BA.debugLine="xe.Children.Initialize"; +Debug.JustUpdateDeviceLine(); +_xe.getField(false,"Children" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 72;BA.debugLine="xe.Name = Name"; +Debug.JustUpdateDeviceLine(); +_xe.setField ("Name" /*RemoteObject*/ ,_name); + BA.debugLineNum = 78;BA.debugLine="Return xe"; +Debug.JustUpdateDeviceLine(); +if (true) return _xe; + BA.debugLineNum = 79;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _elementtoobject(RemoteObject __ref,RemoteObject _element) throws Exception{ +try { + Debug.PushSubsStack("ElementToObject (xml2map) ","xml2map",75,__ref.getField(false, "ba"),__ref,42); +if (RapidSub.canDelegate("elementtoobject")) { return __ref.runUserSub(false, "xml2map","elementtoobject", __ref, _element);} +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +RemoteObject _child = RemoteObject.declareNull("SHARK2.keymon.com.mx.xml2map._xmlelement"); +RemoteObject _childobject = RemoteObject.declareNull("Object"); +RemoteObject _currentitem = RemoteObject.declareNull("Object"); +RemoteObject _list = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.List"); +Debug.locals.put("Element", _element); + BA.debugLineNum = 42;BA.debugLine="Private Sub ElementToObject (Element As XmlElement"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 43;BA.debugLine="If Element.Children.Size = 0 And Element.Attribut"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_element.getField(false,"Children" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0)) && RemoteObject.solveBoolean("=",_element.getField(false,"Attributes" /*RemoteObject*/ ).runMethod(true,"IsInitialized"),xml2map.__c.getField(true,"False"))) { +if (true) return (_element.getField(true,"Text" /*RemoteObject*/ ));}; + BA.debugLineNum = 44;BA.debugLine="Dim m As Map"; +Debug.JustUpdateDeviceLine(); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("m", _m); + BA.debugLineNum = 45;BA.debugLine="m.Initialize"; +Debug.JustUpdateDeviceLine(); +_m.runVoidMethod ("Initialize"); + BA.debugLineNum = 46;BA.debugLine="If Element.Attributes.IsInitialized Then m.Put(\"A"; +Debug.JustUpdateDeviceLine(); +if (_element.getField(false,"Attributes" /*RemoteObject*/ ).runMethod(true,"IsInitialized").get().booleanValue()) { +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("Attributes"))),(Object)((_element.getField(false,"Attributes" /*RemoteObject*/ ).getObject())));}; + BA.debugLineNum = 47;BA.debugLine="If Element.Children.Size = 0 Then m.Put(\"Text\", E"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_element.getField(false,"Children" /*RemoteObject*/ ).runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { +_m.runVoidMethod ("Put",(Object)(RemoteObject.createImmutable(("Text"))),(Object)((_element.getField(true,"Text" /*RemoteObject*/ ))));}; + BA.debugLineNum = 48;BA.debugLine="For Each child As XmlElement In Element.Children"; +Debug.JustUpdateDeviceLine(); +{ +final RemoteObject group6 = _element.getField(false,"Children" /*RemoteObject*/ ); +final int groupLen6 = group6.runMethod(true,"getSize").get() +;int index6 = 0; +; +for (; index6 < groupLen6;index6++){ +_child = (group6.runMethod(false,"Get",index6));Debug.locals.put("child", _child); +Debug.locals.put("child", _child); + BA.debugLineNum = 49;BA.debugLine="Dim childObject As Object = ElementToObject(chil"; +Debug.JustUpdateDeviceLine(); +_childobject = __ref.runClassMethod (SHARK2.keymon.com.mx.xml2map.class, "_elementtoobject" /*RemoteObject*/ ,(Object)(_child));Debug.locals.put("childObject", _childobject);Debug.locals.put("childObject", _childobject); + BA.debugLineNum = 50;BA.debugLine="If m.ContainsKey(child.Name) Then"; +Debug.JustUpdateDeviceLine(); +if (_m.runMethod(true,"ContainsKey",(Object)((_child.getField(true,"Name" /*RemoteObject*/ )))).get().booleanValue()) { + BA.debugLineNum = 51;BA.debugLine="Dim currentItem As Object = m.Get(child.Name)"; +Debug.JustUpdateDeviceLine(); +_currentitem = _m.runMethod(false,"Get",(Object)((_child.getField(true,"Name" /*RemoteObject*/ ))));Debug.locals.put("currentItem", _currentitem);Debug.locals.put("currentItem", _currentitem); + BA.debugLineNum = 52;BA.debugLine="Dim list As List"; +Debug.JustUpdateDeviceLine(); +_list = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.List");Debug.locals.put("list", _list); + BA.debugLineNum = 53;BA.debugLine="If currentItem Is List Then"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("i",_currentitem, RemoteObject.createImmutable("java.util.List"))) { + BA.debugLineNum = 54;BA.debugLine="list = currentItem"; +Debug.JustUpdateDeviceLine(); +_list = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.List"), _currentitem);Debug.locals.put("list", _list); + }else { + BA.debugLineNum = 56;BA.debugLine="list.Initialize"; +Debug.JustUpdateDeviceLine(); +_list.runVoidMethod ("Initialize"); + BA.debugLineNum = 57;BA.debugLine="list.Add(currentItem)"; +Debug.JustUpdateDeviceLine(); +_list.runVoidMethod ("Add",(Object)(_currentitem)); + BA.debugLineNum = 58;BA.debugLine="m.Put(child.Name, list)"; +Debug.JustUpdateDeviceLine(); +_m.runVoidMethod ("Put",(Object)((_child.getField(true,"Name" /*RemoteObject*/ ))),(Object)((_list.getObject()))); + }; + BA.debugLineNum = 60;BA.debugLine="list.Add(childObject)"; +Debug.JustUpdateDeviceLine(); +_list.runVoidMethod ("Add",(Object)(_childobject)); + }else { + BA.debugLineNum = 62;BA.debugLine="m.Put(child.Name, childObject)"; +Debug.JustUpdateDeviceLine(); +_m.runVoidMethod ("Put",(Object)((_child.getField(true,"Name" /*RemoteObject*/ ))),(Object)(_childobject)); + }; + } +}Debug.locals.put("child", _child); +; + BA.debugLineNum = 65;BA.debugLine="Return m"; +Debug.JustUpdateDeviceLine(); +if (true) return (_m.getObject()); + BA.debugLineNum = 66;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _getlastelement(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("GetLastElement (xml2map) ","xml2map",75,__ref.getField(false, "ba"),__ref,127); +if (RapidSub.canDelegate("getlastelement")) { return __ref.runUserSub(false, "xml2map","getlastelement", __ref);} + BA.debugLineNum = 127;BA.debugLine="Private Sub GetLastElement As XmlElement"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 128;BA.debugLine="Return elements.Get(elements.Size - 1)"; +Debug.JustUpdateDeviceLine(); +if (true) return (__ref.getField(false,"_elements" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_elements" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1)))); + 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 _getstripnamespaces(RemoteObject __ref) throws Exception{ +try { + Debug.PushSubsStack("getStripNamespaces (xml2map) ","xml2map",75,__ref.getField(false, "ba"),__ref,19); +if (RapidSub.canDelegate("getstripnamespaces")) { return __ref.runUserSub(false, "xml2map","getstripnamespaces", __ref);} + BA.debugLineNum = 19;BA.debugLine="Public Sub getStripNamespaces As Boolean"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 20;BA.debugLine="Return mStripNamespaces"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.getField(true,"_mstripnamespaces" /*RemoteObject*/ ); + BA.debugLineNum = 21;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) throws Exception{ +try { + Debug.PushSubsStack("Initialize (xml2map) ","xml2map",75,__ref.getField(false, "ba"),__ref,10); +if (RapidSub.canDelegate("initialize")) { return __ref.runUserSub(false, "xml2map","initialize", __ref, _ba);} +__ref.runVoidMethodAndSync("innerInitializeHelper", _ba); +Debug.locals.put("ba", _ba); + BA.debugLineNum = 10;BA.debugLine="Public Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 11;BA.debugLine="parser.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_parser" /*RemoteObject*/ ).runVoidMethod ("Initialize",__ref.getField(false, "ba")); + BA.debugLineNum = 12;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _parse(RemoteObject __ref,RemoteObject _xml) throws Exception{ +try { + Debug.PushSubsStack("Parse (xml2map) ","xml2map",75,__ref.getField(false, "ba"),__ref,27); +if (RapidSub.canDelegate("parse")) { return __ref.runUserSub(false, "xml2map","parse", __ref, _xml);} +RemoteObject _in = RemoteObject.declareNull("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper"); +RemoteObject _b = null; +Debug.locals.put("XML", _xml); + BA.debugLineNum = 27;BA.debugLine="Public Sub Parse(XML As String) As Map"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 28;BA.debugLine="Dim in As InputStream"; +Debug.JustUpdateDeviceLine(); +_in = RemoteObject.createNew ("anywheresoftware.b4a.objects.streams.File.InputStreamWrapper");Debug.locals.put("in", _in); + BA.debugLineNum = 29;BA.debugLine="Dim b() As Byte = XML.GetBytes(\"UTF8\")"; +Debug.JustUpdateDeviceLine(); +_b = _xml.runMethod(false,"getBytes",(Object)(RemoteObject.createImmutable("UTF8")));Debug.locals.put("b", _b);Debug.locals.put("b", _b); + BA.debugLineNum = 30;BA.debugLine="in.InitializeFromBytesArray(b, 0, b.Length)"; +Debug.JustUpdateDeviceLine(); +_in.runVoidMethod ("InitializeFromBytesArray",(Object)(_b),(Object)(BA.numberCast(int.class, 0)),(Object)(_b.getField(true,"length"))); + BA.debugLineNum = 31;BA.debugLine="Return Parse2(in)"; +Debug.JustUpdateDeviceLine(); +if (true) return __ref.runClassMethod (SHARK2.keymon.com.mx.xml2map.class, "_parse2" /*RemoteObject*/ ,(Object)(_in)); + 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 _parse2(RemoteObject __ref,RemoteObject _input) throws Exception{ +try { + Debug.PushSubsStack("Parse2 (xml2map) ","xml2map",75,__ref.getField(false, "ba"),__ref,34); +if (RapidSub.canDelegate("parse2")) { return __ref.runUserSub(false, "xml2map","parse2", __ref, _input);} +RemoteObject _m = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +Debug.locals.put("Input", _input); + BA.debugLineNum = 34;BA.debugLine="Public Sub Parse2(Input As InputStream) As Map"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 35;BA.debugLine="elements.Initialize"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_elements" /*RemoteObject*/ ).runVoidMethod ("Initialize"); + BA.debugLineNum = 36;BA.debugLine="elements.Add(CreateElement(\"stub\"))"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_elements" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((__ref.runClassMethod (SHARK2.keymon.com.mx.xml2map.class, "_createelement" /*RemoteObject*/ ,(Object)(RemoteObject.createImmutable("stub")))))); + BA.debugLineNum = 37;BA.debugLine="parser.Parse(Input, \"parser\")"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_parser" /*RemoteObject*/ ).runVoidMethodAndSync ("Parse",(Object)((_input.getObject())),(Object)(RemoteObject.createImmutable("parser"))); + BA.debugLineNum = 38;BA.debugLine="Dim m As Map = ElementToObject(elements.Get(0))"; +Debug.JustUpdateDeviceLine(); +_m = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map"); +_m = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.collections.Map"), __ref.runClassMethod (SHARK2.keymon.com.mx.xml2map.class, "_elementtoobject" /*RemoteObject*/ ,(Object)((__ref.getField(false,"_elements" /*RemoteObject*/ ).runMethod(false,"Get",(Object)(BA.numberCast(int.class, 0)))))));Debug.locals.put("m", _m);Debug.locals.put("m", _m); + BA.debugLineNum = 39;BA.debugLine="Return m"; +Debug.JustUpdateDeviceLine(); +if (true) return _m; + 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 _parser_endelement(RemoteObject __ref,RemoteObject _uri,RemoteObject _name,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("Parser_EndElement (xml2map) ","xml2map",75,__ref.getField(false, "ba"),__ref,131); +if (RapidSub.canDelegate("parser_endelement")) { return __ref.runUserSub(false, "xml2map","parser_endelement", __ref, _uri, _name, _text);} +RemoteObject _element = RemoteObject.declareNull("SHARK2.keymon.com.mx.xml2map._xmlelement"); +Debug.locals.put("Uri", _uri); +Debug.locals.put("Name", _name); +Debug.locals.put("Text", _text); + BA.debugLineNum = 131;BA.debugLine="Private Sub Parser_EndElement (Uri As String, Name"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 132;BA.debugLine="Dim Element As XmlElement = GetLastElement"; +Debug.JustUpdateDeviceLine(); +_element = __ref.runClassMethod (SHARK2.keymon.com.mx.xml2map.class, "_getlastelement" /*RemoteObject*/ );Debug.locals.put("Element", _element);Debug.locals.put("Element", _element); + BA.debugLineNum = 133;BA.debugLine="Element.Text = Text.ToString"; +Debug.JustUpdateDeviceLine(); +_element.setField ("Text" /*RemoteObject*/ ,_text.runMethod(true,"ToString")); + BA.debugLineNum = 134;BA.debugLine="elements.RemoveAt(elements.Size - 1)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_elements" /*RemoteObject*/ ).runVoidMethod ("RemoveAt",(Object)(RemoteObject.solve(new RemoteObject[] {__ref.getField(false,"_elements" /*RemoteObject*/ ).runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1))); + 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 _parser_startelement(RemoteObject __ref,RemoteObject _uri,RemoteObject _name,RemoteObject _attributes) throws Exception{ +try { + Debug.PushSubsStack("Parser_StartElement (xml2map) ","xml2map",75,__ref.getField(false, "ba"),__ref,85); +if (RapidSub.canDelegate("parser_startelement")) { return __ref.runUserSub(false, "xml2map","parser_startelement", __ref, _uri, _name, _attributes);} +RemoteObject _element = RemoteObject.declareNull("SHARK2.keymon.com.mx.xml2map._xmlelement"); +RemoteObject _att = RemoteObject.declareNull("anywheresoftware.b4a.objects.collections.Map"); +int _i = 0; +RemoteObject _key = RemoteObject.createImmutable(""); +Debug.locals.put("Uri", _uri); +Debug.locals.put("Name", _name); +Debug.locals.put("Attributes", _attributes); + BA.debugLineNum = 85;BA.debugLine="Private Sub Parser_StartElement (Uri As String, Na"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 87;BA.debugLine="Dim Element As XmlElement = CreateElement(Name)"; +Debug.JustUpdateDeviceLine(); +_element = __ref.runClassMethod (SHARK2.keymon.com.mx.xml2map.class, "_createelement" /*RemoteObject*/ ,(Object)(_name));Debug.locals.put("Element", _element);Debug.locals.put("Element", _element); + BA.debugLineNum = 88;BA.debugLine="If Attributes.IsInitialized And Attributes.Size >"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean(".",_attributes.runMethod(true,"IsInitialized")) && RemoteObject.solveBoolean(">",_attributes.runMethod(true,"getSize"),BA.numberCast(double.class, 0))) { + BA.debugLineNum = 89;BA.debugLine="Dim att As Map"; +Debug.JustUpdateDeviceLine(); +_att = RemoteObject.createNew ("anywheresoftware.b4a.objects.collections.Map");Debug.locals.put("att", _att); + BA.debugLineNum = 101;BA.debugLine="att.Initialize"; +Debug.JustUpdateDeviceLine(); +_att.runVoidMethod ("Initialize"); + BA.debugLineNum = 102;BA.debugLine="For i = 0 To Attributes.Size - 1"; +Debug.JustUpdateDeviceLine(); +{ +final int step5 = 1; +final int limit5 = RemoteObject.solve(new RemoteObject[] {_attributes.runMethod(true,"getSize"),RemoteObject.createImmutable(1)}, "-",1, 1).get().intValue(); +_i = 0 ; +for (;(step5 > 0 && _i <= limit5) || (step5 < 0 && _i >= limit5) ;_i = ((int)(0 + _i + step5)) ) { +Debug.locals.put("i", _i); + BA.debugLineNum = 103;BA.debugLine="Dim key As String = Attributes.GetName(i)"; +Debug.JustUpdateDeviceLine(); +_key = _attributes.runMethod(true,"GetName",(Object)(BA.numberCast(int.class, _i)));Debug.locals.put("key", _key);Debug.locals.put("key", _key); + BA.debugLineNum = 104;BA.debugLine="If mStripNamespaces Then key = StripNamespace(k"; +Debug.JustUpdateDeviceLine(); +if (__ref.getField(true,"_mstripnamespaces" /*RemoteObject*/ ).get().booleanValue()) { +_key = __ref.runClassMethod (SHARK2.keymon.com.mx.xml2map.class, "_stripnamespace" /*RemoteObject*/ ,(Object)(_key));Debug.locals.put("key", _key);}; + BA.debugLineNum = 105;BA.debugLine="att.Put(key, Attributes.GetValue(i))"; +Debug.JustUpdateDeviceLine(); +_att.runVoidMethod ("Put",(Object)((_key)),(Object)((_attributes.runMethod(true,"GetValue",(Object)(BA.numberCast(int.class, _i)))))); + } +}Debug.locals.put("i", _i); +; + BA.debugLineNum = 108;BA.debugLine="Element.Attributes = att"; +Debug.JustUpdateDeviceLine(); +_element.setField ("Attributes" /*RemoteObject*/ ,_att); + }; + BA.debugLineNum = 110;BA.debugLine="GetLastElement.Children.Add(Element)"; +Debug.JustUpdateDeviceLine(); +__ref.runClassMethod (SHARK2.keymon.com.mx.xml2map.class, "_getlastelement" /*RemoteObject*/ ).getField(false,"Children" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_element))); + BA.debugLineNum = 111;BA.debugLine="elements.Add(Element)"; +Debug.JustUpdateDeviceLine(); +__ref.getField(false,"_elements" /*RemoteObject*/ ).runVoidMethod ("Add",(Object)((_element))); + BA.debugLineNum = 112;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setstripnamespaces(RemoteObject __ref,RemoteObject _b) throws Exception{ +try { + Debug.PushSubsStack("setStripNamespaces (xml2map) ","xml2map",75,__ref.getField(false, "ba"),__ref,23); +if (RapidSub.canDelegate("setstripnamespaces")) { return __ref.runUserSub(false, "xml2map","setstripnamespaces", __ref, _b);} +Debug.locals.put("b", _b); + BA.debugLineNum = 23;BA.debugLine="Public Sub setStripNamespaces (b As Boolean)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 24;BA.debugLine="mStripNamespaces = b"; +Debug.JustUpdateDeviceLine(); +__ref.setField ("_mstripnamespaces" /*RemoteObject*/ ,_b); + 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 _stripnamespace(RemoteObject __ref,RemoteObject _s) throws Exception{ +try { + Debug.PushSubsStack("StripNamespace (xml2map) ","xml2map",75,__ref.getField(false, "ba"),__ref,114); +if (RapidSub.canDelegate("stripnamespace")) { return __ref.runUserSub(false, "xml2map","stripnamespace", __ref, _s);} +Debug.locals.put("s", _s); + BA.debugLineNum = 114;BA.debugLine="Private Sub StripNamespace(s As String) As String"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 116;BA.debugLine="Return s"; +Debug.JustUpdateDeviceLine(); +if (true) return _s; + BA.debugLineNum = 125;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/SHARK2/keymon/com/mx/xuiviewsutils.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/xuiviewsutils.java new file mode 100644 index 0000000..59c407c --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/xuiviewsutils.java @@ -0,0 +1,67 @@ + +package SHARK2.keymon.com.mx; + +import java.io.IOException; +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.PCBA; +import anywheresoftware.b4a.pc.RDebug; +import anywheresoftware.b4a.pc.RemoteObject; +import anywheresoftware.b4a.pc.RDebug.IRemote; +import anywheresoftware.b4a.pc.Debug; +import anywheresoftware.b4a.pc.B4XTypes.B4XClass; +import anywheresoftware.b4a.pc.B4XTypes.DeviceClass; + +public class xuiviewsutils implements IRemote{ + public static xuiviewsutils mostCurrent; + public static RemoteObject processBA; + public static boolean processGlobalsRun; + public static RemoteObject myClass; + public static RemoteObject remoteMe; + public xuiviewsutils() { + mostCurrent = this; + } + public RemoteObject getRemoteMe() { + return remoteMe; + } + +public boolean isSingleton() { + return true; + } + private static PCBA pcBA = new PCBA(null, xuiviewsutils.class); + static { + mostCurrent = new xuiviewsutils(); + remoteMe = RemoteObject.declareNull("SHARK2.keymon.com.mx.xuiviewsutils"); + anywheresoftware.b4a.pc.RapidSub.moduleToObject.put(new B4XClass("xuiviewsutils"), "SHARK2.keymon.com.mx.xuiviewsutils"); + RDebug.INSTANCE.eventTargets.put(new DeviceClass("SHARK2.keymon.com.mx.xuiviewsutils"), new java.lang.ref.WeakReference (pcBA)); + } + + public static RemoteObject runMethod(boolean notUsed, String method, Object... args) throws Exception{ + return (RemoteObject) pcBA.raiseEvent(method.substring(1), args); + } + public static void runVoidMethod(String method, Object... args) throws Exception{ + runMethod(false, method, args); + } + public PCBA create(Object[] args) throws ClassNotFoundException{ + throw new RuntimeException("CREATE is not supported."); + } +public static RemoteObject __c = RemoteObject.declareNull("anywheresoftware.b4a.keywords.Common"); +public static RemoteObject _utilsinitialized = RemoteObject.createImmutable(false); +public static RemoteObject _xui = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); +public static RemoteObject _dateutils = RemoteObject.declareNull("b4a.example.dateutils"); +public static SHARK2.keymon.com.mx.main _main = null; +public static SHARK2.keymon.com.mx.appupdater _appupdater = null; +public static SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public static SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public static SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public static SHARK2.keymon.com.mx.pendientes _pendientes = null; +public static SHARK2.keymon.com.mx.starter _starter = null; +public static SHARK2.keymon.com.mx.subs _subs = null; +public static SHARK2.keymon.com.mx.tracker _tracker = null; +public static SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public static SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public static SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public static SHARK2.keymon.com.mx.httputils2service _httputils2service = null; + public Object[] GetGlobals() { + return new Object[] {"appUpdater",Debug.moduleToString(SHARK2.keymon.com.mx.appupdater.class),"B4XCollections",Debug.moduleToString(SHARK2.keymon.com.mx.b4xcollections.class),"B4XPages",Debug.moduleToString(SHARK2.keymon.com.mx.b4xpages.class),"DateUtils",xuiviewsutils.mostCurrent._dateutils,"HttpUtils2Service",Debug.moduleToString(SHARK2.keymon.com.mx.httputils2service.class),"Main",Debug.moduleToString(SHARK2.keymon.com.mx.main.class),"MAPA_CLIENTE",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_cliente.class),"MAPA_RUTAS",Debug.moduleToString(SHARK2.keymon.com.mx.mapa_rutas.class),"newinst2",Debug.moduleToString(SHARK2.keymon.com.mx.newinst2.class),"NotificationService",Debug.moduleToString(SHARK2.keymon.com.mx.notificationservice.class),"Pendientes",Debug.moduleToString(SHARK2.keymon.com.mx.pendientes.class),"Starter",Debug.moduleToString(SHARK2.keymon.com.mx.starter.class),"Subs",Debug.moduleToString(SHARK2.keymon.com.mx.subs.class),"Tracker",Debug.moduleToString(SHARK2.keymon.com.mx.tracker.class),"UtilsInitialized",xuiviewsutils._utilsinitialized,"xui",xuiviewsutils._xui}; +} +} \ No newline at end of file diff --git a/B4A/Objects/shell/src/SHARK2/keymon/com/mx/xuiviewsutils_subs_0.java b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/xuiviewsutils_subs_0.java new file mode 100644 index 0000000..d1caff3 --- /dev/null +++ b/B4A/Objects/shell/src/SHARK2/keymon/com/mx/xuiviewsutils_subs_0.java @@ -0,0 +1,275 @@ +package SHARK2.keymon.com.mx; + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.pc.*; + +public class xuiviewsutils_subs_0 { + + +public static RemoteObject _addstubtoclvifneeded(RemoteObject _ba,RemoteObject _customlistview1,RemoteObject _color) throws Exception{ +try { + Debug.PushSubsStack("AddStubToCLVIfNeeded (xuiviewsutils) ","xuiviewsutils",72,_ba,xuiviewsutils.mostCurrent,34); +if (RapidSub.canDelegate("addstubtoclvifneeded")) { return SHARK2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","addstubtoclvifneeded", _ba, _customlistview1, _color);} +RemoteObject _lastitem = RemoteObject.declareNull("b4a.example3.customlistview._clvitem"); +RemoteObject _p = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +RemoteObject _height = RemoteObject.createImmutable(0); +; +Debug.locals.put("CustomListView1", _customlistview1); +Debug.locals.put("Color", _color); + BA.debugLineNum = 34;BA.debugLine="Public Sub AddStubToCLVIfNeeded(CustomListView1 As"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 35;BA.debugLine="If CustomListView1.Size = 0 Then Return"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("=",_customlistview1.runMethod(true,"_getsize"),BA.numberCast(double.class, 0))) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 36;BA.debugLine="Dim LastItem As CLVItem = CustomListView1.GetRawL"; +Debug.JustUpdateDeviceLine(); +_lastitem = _customlistview1.runMethod(false,"_getrawlistitem",(Object)(RemoteObject.solve(new RemoteObject[] {_customlistview1.runMethod(true,"_getsize"),RemoteObject.createImmutable(1)}, "-",1, 1)));Debug.locals.put("LastItem", _lastitem);Debug.locals.put("LastItem", _lastitem); + BA.debugLineNum = 37;BA.debugLine="If LastItem.Offset + LastItem.Panel.Height < Cust"; +Debug.JustUpdateDeviceLine(); +if (RemoteObject.solveBoolean("<",RemoteObject.solve(new RemoteObject[] {_lastitem.getField(true,"Offset"),_lastitem.getField(false,"Panel").runMethod(true,"getHeight")}, "+",1, 1),BA.numberCast(double.class, _customlistview1.runMethod(false,"_asview").runMethod(true,"getHeight")))) { + BA.debugLineNum = 39;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"stub\")"; +Debug.JustUpdateDeviceLine(); +_p = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_p = xuiviewsutils._xui.runMethod(false,"CreatePanel",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(RemoteObject.createImmutable("stub")));Debug.locals.put("p", _p);Debug.locals.put("p", _p); + BA.debugLineNum = 40;BA.debugLine="p.Color = Color"; +Debug.JustUpdateDeviceLine(); +_p.runMethod(true,"setColor",_color); + BA.debugLineNum = 41;BA.debugLine="Dim Height As Int = CustomListView1.AsView.Heigh"; +Debug.JustUpdateDeviceLine(); +_height = RemoteObject.solve(new RemoteObject[] {_customlistview1.runMethod(false,"_asview").runMethod(true,"getHeight"),_lastitem.getField(true,"Offset"),_lastitem.getField(false,"Panel").runMethod(true,"getHeight"),xuiviewsutils.mostCurrent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 3)))}, "---",3, 1);Debug.locals.put("Height", _height);Debug.locals.put("Height", _height); + BA.debugLineNum = 42;BA.debugLine="If xui.IsB4J Then Height = Height + 5"; +Debug.JustUpdateDeviceLine(); +if (xuiviewsutils._xui.runMethod(true,"getIsB4J").get().booleanValue()) { +_height = RemoteObject.solve(new RemoteObject[] {_height,RemoteObject.createImmutable(5)}, "+",1, 1);Debug.locals.put("Height", _height);}; + BA.debugLineNum = 43;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, CustomListView1.AsV"; +Debug.JustUpdateDeviceLine(); +_p.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(_customlistview1.runMethod(false,"_asview").runMethod(true,"getWidth")),(Object)(_height)); + BA.debugLineNum = 44;BA.debugLine="CustomListView1.Add(p, \"\")"; +Debug.JustUpdateDeviceLine(); +_customlistview1.runVoidMethod ("_add",(Object)(_p),(Object)((RemoteObject.createImmutable("")))); + BA.debugLineNum = 45;BA.debugLine="CustomListView1.sv.ScrollViewContentHeight = Cus"; +Debug.JustUpdateDeviceLine(); +_customlistview1.getField(false,"_sv").runMethod(true,"setScrollViewContentHeight",BA.numberCast(int.class, RemoteObject.solve(new RemoteObject[] {_customlistview1.getField(false,"_sv").runMethod(true,"getScrollViewContentHeight"),_customlistview1.runMethod(true,"_getdividersize")}, "-",1, 0))); + }; + BA.debugLineNum = 47;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createb4ximageview(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("CreateB4XImageView (xuiviewsutils) ","xuiviewsutils",72,_ba,xuiviewsutils.mostCurrent,85); +if (RapidSub.canDelegate("createb4ximageview")) { return SHARK2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","createb4ximageview", _ba);} +RemoteObject _iv = RemoteObject.declareNull("SHARK2.keymon.com.mx.b4ximageview"); +RemoteObject _base = RemoteObject.declareNull("anywheresoftware.b4a.objects.B4XViewWrapper"); +; + BA.debugLineNum = 85;BA.debugLine="Public Sub CreateB4XImageView As B4XImageView"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 86;BA.debugLine="Dim iv As B4XImageView"; +Debug.JustUpdateDeviceLine(); +_iv = RemoteObject.createNew ("SHARK2.keymon.com.mx.b4ximageview");Debug.locals.put("iv", _iv); + BA.debugLineNum = 87;BA.debugLine="iv.Initialize(Null, \"\")"; +Debug.JustUpdateDeviceLine(); +_iv.runClassMethod (SHARK2.keymon.com.mx.b4ximageview.class, "_initialize" /*RemoteObject*/ ,_ba,(Object)(xuiviewsutils.mostCurrent.__c.getField(false,"Null")),(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 88;BA.debugLine="Dim base As B4XView = xui.CreatePanel(\"\")"; +Debug.JustUpdateDeviceLine(); +_base = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper"); +_base = xuiviewsutils._xui.runMethod(false,"CreatePanel",BA.rdebugUtils.runMethod(false, "processBAFromBA", _ba),(Object)(RemoteObject.createImmutable("")));Debug.locals.put("base", _base);Debug.locals.put("base", _base); + BA.debugLineNum = 89;BA.debugLine="base.SetLayoutAnimated(0, 0, 0, 100dip, 100dip)"; +Debug.JustUpdateDeviceLine(); +_base.runVoidMethod ("SetLayoutAnimated",(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(BA.numberCast(int.class, 0)),(Object)(xuiviewsutils.mostCurrent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100)))),(Object)(xuiviewsutils.mostCurrent.__c.runMethod(true,"DipToCurrent",(Object)(BA.numberCast(int.class, 100))))); + BA.debugLineNum = 90;BA.debugLine="iv.DesignerCreateView(base, Null, CreateMap(\"Roun"; +Debug.JustUpdateDeviceLine(); +_iv.runClassMethod (SHARK2.keymon.com.mx.b4ximageview.class, "_designercreateview" /*RemoteObject*/ ,(Object)((_base.getObject())),RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.LabelWrapper"), xuiviewsutils.mostCurrent.__c.getField(false,"Null")),(Object)(xuiviewsutils.mostCurrent.__c.runMethod(false, "createMap", (Object)(new RemoteObject[] {RemoteObject.createImmutable(("Round")),(xuiviewsutils.mostCurrent.__c.getField(true,"False")),RemoteObject.createImmutable(("ResizeMode")),RemoteObject.createImmutable(("FIT")),RemoteObject.createImmutable(("BackgroundColor")),RemoteObject.createImmutable((((int)0xffaaaaaa))),RemoteObject.createImmutable(("CornersRadius")),RemoteObject.createImmutable((0))})))); + BA.debugLineNum = 91;BA.debugLine="Return iv"; +Debug.JustUpdateDeviceLine(); +if (true) return _iv; + BA.debugLineNum = 92;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _createlabel(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("CreateLabel (xuiviewsutils) ","xuiviewsutils",72,_ba,xuiviewsutils.mostCurrent,78); +if (RapidSub.canDelegate("createlabel")) { return SHARK2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","createlabel", _ba);} +RemoteObject _lbl = RemoteObject.declareNull("anywheresoftware.b4a.objects.LabelWrapper"); +; + BA.debugLineNum = 78;BA.debugLine="Public Sub CreateLabel As B4XView"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 79;BA.debugLine="Dim lbl As Label"; +Debug.JustUpdateDeviceLine(); +_lbl = RemoteObject.createNew ("anywheresoftware.b4a.objects.LabelWrapper");Debug.locals.put("lbl", _lbl); + BA.debugLineNum = 80;BA.debugLine="lbl.Initialize(\"\")"; +Debug.JustUpdateDeviceLine(); +_lbl.runVoidMethod ("Initialize",_ba,(Object)(RemoteObject.createImmutable(""))); + BA.debugLineNum = 81;BA.debugLine="Return lbl"; +Debug.JustUpdateDeviceLine(); +if (true) return RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.B4XViewWrapper"), _lbl.getObject()); + BA.debugLineNum = 82;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(null); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _initialize(RemoteObject _ba) throws Exception{ +try { + Debug.PushSubsStack("Initialize (xuiviewsutils) ","xuiviewsutils",72,_ba,xuiviewsutils.mostCurrent,10); +if (RapidSub.canDelegate("initialize")) { return SHARK2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","initialize", _ba);} +; + BA.debugLineNum = 10;BA.debugLine="Private Sub Initialize"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 11;BA.debugLine="If UtilsInitialized Then Return"; +Debug.JustUpdateDeviceLine(); +if (xuiviewsutils._utilsinitialized.get().booleanValue()) { +if (true) return RemoteObject.createImmutable("");}; + BA.debugLineNum = 12;BA.debugLine="UtilsInitialized = True"; +Debug.JustUpdateDeviceLine(); +xuiviewsutils._utilsinitialized = xuiviewsutils.mostCurrent.__c.getField(true,"True"); + BA.debugLineNum = 19;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _performhapticfeedback(RemoteObject _ba,RemoteObject _view) throws Exception{ +try { + Debug.PushSubsStack("PerformHapticFeedback (xuiviewsutils) ","xuiviewsutils",72,_ba,xuiviewsutils.mostCurrent,21); +if (RapidSub.canDelegate("performhapticfeedback")) { return SHARK2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","performhapticfeedback", _ba, _view);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +; +Debug.locals.put("View", _view); + BA.debugLineNum = 21;BA.debugLine="Public Sub PerformHapticFeedback (View As B4XView)"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 22;BA.debugLine="Initialize"; +Debug.JustUpdateDeviceLine(); +_initialize(_ba); + BA.debugLineNum = 24;BA.debugLine="Dim jo As JavaObject = View"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _view.getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 25;BA.debugLine="jo.RunMethod(\"performHapticFeedback\", Array(1))"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("performHapticFeedback")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {RemoteObject.createImmutable((1))}))); + BA.debugLineNum = 31;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _process_globals() throws Exception{ + //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; + //BA.debugLineNum = 6;BA.debugLine="Private UtilsInitialized As Boolean"; +xuiviewsutils._utilsinitialized = RemoteObject.createImmutable(false); + //BA.debugLineNum = 7;BA.debugLine="Private xui As XUI"; +xuiviewsutils._xui = RemoteObject.createNew ("anywheresoftware.b4a.objects.B4XViewWrapper.XUI"); + //BA.debugLineNum = 8;BA.debugLine="End Sub"; +return RemoteObject.createImmutable(""); +} +public static RemoteObject _setalpha(RemoteObject _ba,RemoteObject _view,RemoteObject _level) throws Exception{ +try { + Debug.PushSubsStack("SetAlpha (xuiviewsutils) ","xuiviewsutils",72,_ba,xuiviewsutils.mostCurrent,95); +if (RapidSub.canDelegate("setalpha")) { return SHARK2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","setalpha", _ba, _view, _level);} +RemoteObject _jo = RemoteObject.declareNull("anywheresoftware.b4j.object.JavaObject"); +RemoteObject _alpha = RemoteObject.createImmutable(0f); +; +Debug.locals.put("View", _view); +Debug.locals.put("Level", _level); + BA.debugLineNum = 95;BA.debugLine="Public Sub SetAlpha (View As B4XView, Level As Flo"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 97;BA.debugLine="Dim jo As JavaObject = View"; +Debug.JustUpdateDeviceLine(); +_jo = RemoteObject.createNew ("anywheresoftware.b4j.object.JavaObject"); +_jo = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4j.object.JavaObject"), _view.getObject());Debug.locals.put("jo", _jo);Debug.locals.put("jo", _jo); + BA.debugLineNum = 98;BA.debugLine="Dim alpha As Float = Level"; +Debug.JustUpdateDeviceLine(); +_alpha = _level;Debug.locals.put("alpha", _alpha);Debug.locals.put("alpha", _alpha); + BA.debugLineNum = 99;BA.debugLine="jo.RunMethod(\"setAlpha\", Array(alpha))"; +Debug.JustUpdateDeviceLine(); +_jo.runVoidMethod ("RunMethod",(Object)(BA.ObjectToString("setAlpha")),(Object)(RemoteObject.createNewArray("Object",new int[] {1},new Object[] {(_alpha)}))); + BA.debugLineNum = 107;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _setbitmapandfill(RemoteObject _ba,RemoteObject _imageview,RemoteObject _bmp) throws Exception{ +try { + Debug.PushSubsStack("SetBitmapAndFill (xuiviewsutils) ","xuiviewsutils",72,_ba,xuiviewsutils.mostCurrent,65); +if (RapidSub.canDelegate("setbitmapandfill")) { return SHARK2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","setbitmapandfill", _ba, _imageview, _bmp);} +RemoteObject _iiv = RemoteObject.declareNull("anywheresoftware.b4a.objects.ImageViewWrapper"); +; +Debug.locals.put("ImageView", _imageview); +Debug.locals.put("Bmp", _bmp); + BA.debugLineNum = 65;BA.debugLine="Public Sub SetBitmapAndFill (ImageView As B4XView,"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 66;BA.debugLine="ImageView.SetBitmap(Bmp)"; +Debug.JustUpdateDeviceLine(); +_imageview.runVoidMethod ("SetBitmap",(Object)((_bmp.getObject()))); + BA.debugLineNum = 67;BA.debugLine="Dim iiv As ImageView = ImageView"; +Debug.JustUpdateDeviceLine(); +_iiv = RemoteObject.createNew ("anywheresoftware.b4a.objects.ImageViewWrapper"); +_iiv = RemoteObject.declareNull("anywheresoftware.b4a.AbsObjectWrapper").runMethod(false, "ConvertToWrapper", RemoteObject.createNew("anywheresoftware.b4a.objects.ImageViewWrapper"), _imageview.getObject());Debug.locals.put("iiv", _iiv);Debug.locals.put("iiv", _iiv); + BA.debugLineNum = 69;BA.debugLine="iiv.Gravity = Gravity.FILL"; +Debug.JustUpdateDeviceLine(); +_iiv.runMethod(true,"setGravity",xuiviewsutils.mostCurrent.__c.getField(false,"Gravity").getField(true,"FILL")); + BA.debugLineNum = 75;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +public static RemoteObject _settextorcsbuildertolabel(RemoteObject _ba,RemoteObject _xlbl,RemoteObject _text) throws Exception{ +try { + Debug.PushSubsStack("SetTextOrCSBuilderToLabel (xuiviewsutils) ","xuiviewsutils",72,_ba,xuiviewsutils.mostCurrent,50); +if (RapidSub.canDelegate("settextorcsbuildertolabel")) { return SHARK2.keymon.com.mx.xuiviewsutils.remoteMe.runUserSub(false, "xuiviewsutils","settextorcsbuildertolabel", _ba, _xlbl, _text);} +; +Debug.locals.put("xlbl", _xlbl); +Debug.locals.put("Text", _text); + BA.debugLineNum = 50;BA.debugLine="Public Sub SetTextOrCSBuilderToLabel(xlbl As B4XVi"; +Debug.JustUpdateDeviceLine(); + BA.debugLineNum = 52;BA.debugLine="xlbl.Text = Text"; +Debug.JustUpdateDeviceLine(); +_xlbl.runMethod(true,"setText",BA.ObjectToCharSequence(_text)); + BA.debugLineNum = 62;BA.debugLine="End Sub"; +Debug.JustUpdateDeviceLine(); +return RemoteObject.createImmutable(""); +} +catch (Exception e) { + throw Debug.ErrorCaught(e); + } +finally { + Debug.PopSubsStack(); + }} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/animatedcounter.java b/B4A/Objects/src/SHARK2/keymon/com/mx/animatedcounter.java new file mode 100644 index 0000000..6527f23 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/animatedcounter.java @@ -0,0 +1,480 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.animatedcounter"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(SHARK2.keymon.com.mx.animatedcounter __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +int _columns = 0; +anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp = null; +int _left = 0; +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _iv = null; +RDebugUtils.currentLine=57802752; + //BA.debugLineNum = 57802752;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=57802753; + //BA.debugLineNum = 57802753;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=57802754; + //BA.debugLineNum = 57802754;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=57802755; + //BA.debugLineNum = 57802755;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=57802756; + //BA.debugLineNum = 57802756;BA.debugLine="DigitHeight = Height"; +__ref._digitheight /*int*/ = (int) (_height); +RDebugUtils.currentLine=57802757; + //BA.debugLineNum = 57802757;BA.debugLine="Dim Columns As Int = mdigits"; +_columns = __ref._mdigits /*int*/ ; +RDebugUtils.currentLine=57802758; + //BA.debugLineNum = 57802758;BA.debugLine="DigitWidth = Width / Columns"; +__ref._digitwidth /*int*/ = (int) (_width/(double)_columns); +RDebugUtils.currentLine=57802759; + //BA.debugLineNum = 57802759;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=57802760; + //BA.debugLineNum = 57802760;BA.debugLine="Dim left As Int = Width"; +_left = (int) (_width); +RDebugUtils.currentLine=57802761; + //BA.debugLineNum = 57802761;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=57802762; + //BA.debugLineNum = 57802762;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=57802764; + //BA.debugLineNum = 57802764;BA.debugLine="left = left - DigitWidth"; +_left = (int) (_left-__ref._digitwidth /*int*/ ); +RDebugUtils.currentLine=57802765; + //BA.debugLineNum = 57802765;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=57802766; + //BA.debugLineNum = 57802766;BA.debugLine="iv.SetBitmap(bmp)"; +_iv.SetBitmap((android.graphics.Bitmap)(_bmp.getObject())); + } +}; +RDebugUtils.currentLine=57802768; + //BA.debugLineNum = 57802768;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(SHARK2.keymon.com.mx.animatedcounter __ref,anywheresoftware.b4a.objects.B4XViewWrapper _lbl) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "createbitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "createbitmap", new Object[] {_lbl}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.B4XCanvas _cvs = null; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +int _baseline = 0; +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _res = null; +RDebugUtils.currentLine=57933824; + //BA.debugLineNum = 57933824;BA.debugLine="Private Sub CreateBitmap (lbl As B4XView) As B4XBi"; +RDebugUtils.currentLine=57933825; + //BA.debugLineNum = 57933825;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=57933826; + //BA.debugLineNum = 57933826;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=57933827; + //BA.debugLineNum = 57933827;BA.debugLine="Dim cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=57933828; + //BA.debugLineNum = 57933828;BA.debugLine="cvs.Initialize(p)"; +_cvs.Initialize(_p); +RDebugUtils.currentLine=57933829; + //BA.debugLineNum = 57933829;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"5\", lbl.Font)"; +_r = _cvs.MeasureText("5",_lbl.getFont()); +RDebugUtils.currentLine=57933830; + //BA.debugLineNum = 57933830;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=57933831; + //BA.debugLineNum = 57933831;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=57933832; + //BA.debugLineNum = 57933832;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=57933834; + //BA.debugLineNum = 57933834;BA.debugLine="cvs.Invalidate"; +_cvs.Invalidate(); +RDebugUtils.currentLine=57933835; + //BA.debugLineNum = 57933835;BA.debugLine="Dim res As B4XBitmap = cvs.CreateBitmap"; +_res = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +_res = _cvs.CreateBitmap(); +RDebugUtils.currentLine=57933836; + //BA.debugLineNum = 57933836;BA.debugLine="cvs.Release"; +_cvs.Release(); +RDebugUtils.currentLine=57933837; + //BA.debugLineNum = 57933837;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=57933838; + //BA.debugLineNum = 57933838;BA.debugLine="End Sub"; +return null; +} +public int _topfromvalue(SHARK2.keymon.com.mx.animatedcounter __ref,int _digit) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "topfromvalue", true)) + {return ((Integer) Debug.delegate(ba, "topfromvalue", new Object[] {_digit}));} +int _d = 0; +RDebugUtils.currentLine=57868288; + //BA.debugLineNum = 57868288;BA.debugLine="Private Sub TopFromValue (Digit As Int) As Int"; +RDebugUtils.currentLine=57868289; + //BA.debugLineNum = 57868289;BA.debugLine="Dim d As Int = mValue.Get(Digit)"; +_d = (int)(BA.ObjectToNumber(__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Get(_digit))); +RDebugUtils.currentLine=57868290; + //BA.debugLineNum = 57868290;BA.debugLine="Return -d * DigitHeight"; +if (true) return (int) (-_d*__ref._digitheight /*int*/ ); +RDebugUtils.currentLine=57868291; + //BA.debugLineNum = 57868291;BA.debugLine="End Sub"; +return 0; +} +public String _class_globals(SHARK2.keymon.com.mx.animatedcounter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +RDebugUtils.currentLine=57540608; + //BA.debugLineNum = 57540608;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=57540609; + //BA.debugLineNum = 57540609;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=57540610; + //BA.debugLineNum = 57540610;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=57540611; + //BA.debugLineNum = 57540611;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=57540612; + //BA.debugLineNum = 57540612;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=57540613; + //BA.debugLineNum = 57540613;BA.debugLine="Private ImageViews As List"; +_imageviews = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=57540614; + //BA.debugLineNum = 57540614;BA.debugLine="Private mdigits As Int"; +_mdigits = 0; +RDebugUtils.currentLine=57540615; + //BA.debugLineNum = 57540615;BA.debugLine="Private lblTemplate As B4XView"; +_lbltemplate = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=57540616; + //BA.debugLineNum = 57540616;BA.debugLine="Private mValue As List"; +_mvalue = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=57540617; + //BA.debugLineNum = 57540617;BA.debugLine="Private DigitHeight, DigitWidth As Int"; +_digitheight = 0; +_digitwidth = 0; +RDebugUtils.currentLine=57540618; + //BA.debugLineNum = 57540618;BA.debugLine="Private mDuration As Int"; +_mduration = 0; +RDebugUtils.currentLine=57540619; + //BA.debugLineNum = 57540619;BA.debugLine="Private fade As B4XBitmap"; +_fade = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=57540620; + //BA.debugLineNum = 57540620;BA.debugLine="Private xfadeIv As B4XView"; +_xfadeiv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=57540621; + //BA.debugLineNum = 57540621;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=57540623; + //BA.debugLineNum = 57540623;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createfadebitmap(SHARK2.keymon.com.mx.animatedcounter __ref,int _clr) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "createfadebitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "createfadebitmap", new Object[] {_clr}));} +b4a.example.bitmapcreator _bc = null; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +int _tclr = 0; +RDebugUtils.currentLine=57737216; + //BA.debugLineNum = 57737216;BA.debugLine="Private Sub CreateFadeBitmap (clr As Int) As B4XBi"; +RDebugUtils.currentLine=57737217; + //BA.debugLineNum = 57737217;BA.debugLine="Dim bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=57737218; + //BA.debugLineNum = 57737218;BA.debugLine="bc.Initialize(200, 50)"; +_bc._initialize(ba,(int) (200),(int) (50)); +RDebugUtils.currentLine=57737219; + //BA.debugLineNum = 57737219;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=57737220; + //BA.debugLineNum = 57737220;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=57737221; + //BA.debugLineNum = 57737221;BA.debugLine="Dim tclr As Int = Bit.And(0x00ffffff, clr)"; +_tclr = __c.Bit.And(((int)0x00ffffff),_clr); +RDebugUtils.currentLine=57737222; + //BA.debugLineNum = 57737222;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"TOP_"; +_bc._fillgradient(new int[]{_clr,_tclr},_r,"TOP_BOTTOM"); +RDebugUtils.currentLine=57737223; + //BA.debugLineNum = 57737223;BA.debugLine="r.Top = bc.mHeight * 2 / 3"; +_r.setTop((float) (_bc._mheight*2/(double)3)); +RDebugUtils.currentLine=57737224; + //BA.debugLineNum = 57737224;BA.debugLine="r.Bottom = bc.mHeight"; +_r.setBottom((float) (_bc._mheight)); +RDebugUtils.currentLine=57737225; + //BA.debugLineNum = 57737225;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"BOTT"; +_bc._fillgradient(new int[]{_clr,_tclr},_r,"BOTTOM_TOP"); +RDebugUtils.currentLine=57737226; + //BA.debugLineNum = 57737226;BA.debugLine="Return bc.Bitmap"; +if (true) return _bc._getbitmap(); +RDebugUtils.currentLine=57737227; + //BA.debugLineNum = 57737227;BA.debugLine="End Sub"; +return null; +} +public String _designercreateview(SHARK2.keymon.com.mx.animatedcounter __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +int _i = 0; +anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; +anywheresoftware.b4a.objects.ImageViewWrapper _fadeiv = null; +RDebugUtils.currentLine=57671680; + //BA.debugLineNum = 57671680;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=57671681; + //BA.debugLineNum = 57671681;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=57671682; + //BA.debugLineNum = 57671682;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=57671682; + //BA.debugLineNum = 57671682;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=57671683; + //BA.debugLineNum = 57671683;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=57671684; + //BA.debugLineNum = 57671684;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=57671685; + //BA.debugLineNum = 57671685;BA.debugLine="mdigits = Props.Get(\"Digits\")"; +__ref._mdigits /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Digits")))); +RDebugUtils.currentLine=57671686; + //BA.debugLineNum = 57671686;BA.debugLine="mDuration = Props.Get(\"Duration\")"; +__ref._mduration /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); +RDebugUtils.currentLine=57671687; + //BA.debugLineNum = 57671687;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=57671688; + //BA.debugLineNum = 57671688;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=57671689; + //BA.debugLineNum = 57671689;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=57671690; + //BA.debugLineNum = 57671690;BA.debugLine="Dim iv As ImageView"; +_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=57671691; + //BA.debugLineNum = 57671691;BA.debugLine="iv.Initialize(\"\")"; +_iv.Initialize(ba,""); +RDebugUtils.currentLine=57671692; + //BA.debugLineNum = 57671692;BA.debugLine="ImageViews.Add(iv)"; +__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_iv.getObject())); +RDebugUtils.currentLine=57671693; + //BA.debugLineNum = 57671693;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=57671695; + //BA.debugLineNum = 57671695;BA.debugLine="Dim fadeIv As ImageView"; +_fadeiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=57671696; + //BA.debugLineNum = 57671696;BA.debugLine="fadeIv.Initialize(\"\")"; +_fadeiv.Initialize(ba,""); +RDebugUtils.currentLine=57671697; + //BA.debugLineNum = 57671697;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=57671698; + //BA.debugLineNum = 57671698;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=57671699; + //BA.debugLineNum = 57671699;BA.debugLine="setValue(0)"; +__ref._setvalue /*String*/ (null,(int) (0)); +RDebugUtils.currentLine=57671700; + //BA.debugLineNum = 57671700;BA.debugLine="If xui.IsB4A Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +RDebugUtils.currentLine=57671701; + //BA.debugLineNum = 57671701;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=57671702; + //BA.debugLineNum = 57671702;BA.debugLine="setValue(getValue)"; +__ref._setvalue /*String*/ (null,__ref._getvalue /*int*/ (null)); + }; +RDebugUtils.currentLine=57671704; + //BA.debugLineNum = 57671704;BA.debugLine="End Sub"; +return ""; +} +public String _setvalue(SHARK2.keymon.com.mx.animatedcounter __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_v}));} +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _iv = null; +RDebugUtils.currentLine=57999360; + //BA.debugLineNum = 57999360;BA.debugLine="Public Sub setValue(v As Int)"; +RDebugUtils.currentLine=57999361; + //BA.debugLineNum = 57999361;BA.debugLine="mValue.Clear"; +__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=57999362; + //BA.debugLineNum = 57999362;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=57999363; + //BA.debugLineNum = 57999363;BA.debugLine="mValue.Add(v Mod 10)"; +__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_v%10)); +RDebugUtils.currentLine=57999364; + //BA.debugLineNum = 57999364;BA.debugLine="v = v / 10"; +_v = (int) (_v/(double)10); +RDebugUtils.currentLine=57999365; + //BA.debugLineNum = 57999365;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=57999366; + //BA.debugLineNum = 57999366;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=57999369; + //BA.debugLineNum = 57999369;BA.debugLine="End Sub"; +return ""; +} +public int _getvalue(SHARK2.keymon.com.mx.animatedcounter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +int _res = 0; +int _i = 0; +RDebugUtils.currentLine=58064896; + //BA.debugLineNum = 58064896;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=58064897; + //BA.debugLineNum = 58064897;BA.debugLine="Dim res As Int"; +_res = 0; +RDebugUtils.currentLine=58064898; + //BA.debugLineNum = 58064898;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=58064899; + //BA.debugLineNum = 58064899;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=58064901; + //BA.debugLineNum = 58064901;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=58064902; + //BA.debugLineNum = 58064902;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(SHARK2.keymon.com.mx.animatedcounter __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="animatedcounter"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=57606144; + //BA.debugLineNum = 57606144;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=57606145; + //BA.debugLineNum = 57606145;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=57606146; + //BA.debugLineNum = 57606146;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=57606147; + //BA.debugLineNum = 57606147;BA.debugLine="ImageViews.Initialize"; +__ref._imageviews /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=57606148; + //BA.debugLineNum = 57606148;BA.debugLine="mValue.Initialize"; +__ref._mvalue /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=57606149; + //BA.debugLineNum = 57606149;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/anotherprogressbar.java b/B4A/Objects/src/SHARK2/keymon/com/mx/anotherprogressbar.java new file mode 100644 index 0000000..64d1514 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/anotherprogressbar.java @@ -0,0 +1,736 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.anotherprogressbar"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(SHARK2.keymon.com.mx.anotherprogressbar __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +anywheresoftware.b4a.objects.B4XViewWrapper _v = null; +RDebugUtils.currentLine=58327040; + //BA.debugLineNum = 58327040;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=58327041; + //BA.debugLineNum = 58327041;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=58327042; + //BA.debugLineNum = 58327042;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_v.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); + } +}; +RDebugUtils.currentLine=58327044; + //BA.debugLineNum = 58327044;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=58327045; + //BA.debugLineNum = 58327045;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=58327046; + //BA.debugLineNum = 58327046;BA.debugLine="UpdateGraphics"; +__ref._updategraphics /*String*/ (null); +RDebugUtils.currentLine=58327048; + //BA.debugLineNum = 58327048;BA.debugLine="End Sub"; +return ""; +} +public String _updategraphics(SHARK2.keymon.com.mx.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "updategraphics", true)) + {return ((String) Debug.delegate(ba, "updategraphics", null));} +int _width = 0; +b4a.example.bitmapcreator _template = null; +b4a.example.bitmapcreator._argbcolor _bcolor = null; +RDebugUtils.currentLine=58589184; + //BA.debugLineNum = 58589184;BA.debugLine="Public Sub UpdateGraphics"; +RDebugUtils.currentLine=58589185; + //BA.debugLineNum = 58589185;BA.debugLine="EmptyBrush = bc.CreateBrushFromColor(EmptyColor)"; +__ref._emptybrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._emptycolor /*int*/ ); +RDebugUtils.currentLine=58589186; + //BA.debugLineNum = 58589186;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=58589187; + //BA.debugLineNum = 58589187;BA.debugLine="Dim Width As Int = 40"; +_width = (int) (40); +RDebugUtils.currentLine=58589188; + //BA.debugLineNum = 58589188;BA.debugLine="Dim Template As BitmapCreator"; +_template = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=58589189; + //BA.debugLineNum = 58589189;BA.debugLine="Dim bcolor As ARGBColor"; +_bcolor = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=58589190; + //BA.debugLineNum = 58589190;BA.debugLine="bc.ColorToARGB(BackgroundColor, bcolor)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._colortoargb(__ref._backgroundcolor /*int*/ ,_bcolor); +RDebugUtils.currentLine=58589191; + //BA.debugLineNum = 58589191;BA.debugLine="bcolor.r = Min(255, bcolor.r * 1.5)"; +_bcolor.r = (int) (__c.Min(255,_bcolor.r*1.5)); +RDebugUtils.currentLine=58589192; + //BA.debugLineNum = 58589192;BA.debugLine="bcolor.g = Min(255, bcolor.g * 1.5)"; +_bcolor.g = (int) (__c.Min(255,_bcolor.g*1.5)); +RDebugUtils.currentLine=58589193; + //BA.debugLineNum = 58589193;BA.debugLine="bcolor.b = Min(255, bcolor.b * 1.5)"; +_bcolor.b = (int) (__c.Min(255,_bcolor.b*1.5)); +RDebugUtils.currentLine=58589194; + //BA.debugLineNum = 58589194;BA.debugLine="If Vertical Then"; +if (__ref._vertical /*boolean*/ ) { +RDebugUtils.currentLine=58589195; + //BA.debugLineNum = 58589195;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=58589197; + //BA.debugLineNum = 58589197;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=58589200; + //BA.debugLineNum = 58589200;BA.debugLine="Template.DrawRect(Template.TargetRect, Background"; +_template._drawrect(_template._targetrect,__ref._backgroundcolor /*int*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=58589201; + //BA.debugLineNum = 58589201;BA.debugLine="If Vertical Then"; +if (__ref._vertical /*boolean*/ ) { +RDebugUtils.currentLine=58589202; + //BA.debugLineNum = 58589202;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=58589204; + //BA.debugLineNum = 58589204;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=58589206; + //BA.debugLineNum = 58589206;BA.debugLine="BusyBrush = bc.CreateBrushFromBitmapCreator(Templ"; +__ref._busybrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfrombitmapcreator(_template); +RDebugUtils.currentLine=58589207; + //BA.debugLineNum = 58589207;BA.debugLine="If mValue = 100 Then"; +if (__ref._mvalue /*int*/ ==100) { +RDebugUtils.currentLine=58589208; + //BA.debugLineNum = 58589208;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=58589210; + //BA.debugLineNum = 58589210;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=58589212; + //BA.debugLineNum = 58589212;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=58589213; + //BA.debugLineNum = 58589213;BA.debugLine="setVisible(mBase.Visible)"; +__ref._setvisible /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getVisible()); +RDebugUtils.currentLine=58589214; + //BA.debugLineNum = 58589214;BA.debugLine="End Sub"; +return ""; +} +public void _busyloop(SHARK2.keymon.com.mx.anotherprogressbar __ref) throws Exception{ +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "busyloop", true)) + {Debug.delegate(ba, "busyloop", null); return;} +ResumableSub_BusyLoop rsub = new ResumableSub_BusyLoop(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_BusyLoop extends BA.ResumableSub { +public ResumableSub_BusyLoop(SHARK2.keymon.com.mx.anotherprogressbar parent,SHARK2.keymon.com.mx.anotherprogressbar __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.anotherprogressbar __ref; +SHARK2.keymon.com.mx.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=58392577; + //BA.debugLineNum = 58392577;BA.debugLine="Dim MyIndex As Int = BusyIndex"; +_myindex = __ref._busyindex /*int*/ ; +RDebugUtils.currentLine=58392578; + //BA.debugLineNum = 58392578;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=58392579; + //BA.debugLineNum = 58392579;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=58392580; + //BA.debugLineNum = 58392580;BA.debugLine="Dim LastTime As Long = DateTime.Now"; +_lasttime = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=58392581; + //BA.debugLineNum = 58392581;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=58392582; + //BA.debugLineNum = 58392582;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=58392583; + //BA.debugLineNum = 58392583;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=58392585; + //BA.debugLineNum = 58392585;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=58392587; + //BA.debugLineNum = 58392587;BA.debugLine="Dim tasks As List"; +_tasks = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=58392588; + //BA.debugLineNum = 58392588;BA.debugLine="tasks.Initialize"; +_tasks.Initialize(); +RDebugUtils.currentLine=58392589; + //BA.debugLineNum = 58392589;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=58392590; + //BA.debugLineNum = 58392590;BA.debugLine="Dim delta As Float = mValue - CurrentValue"; +_delta = (float) (__ref._mvalue /*int*/ -__ref._currentvalue /*float*/ ); +RDebugUtils.currentLine=58392591; + //BA.debugLineNum = 58392591;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=58392592; + //BA.debugLineNum = 58392592;BA.debugLine="CurrentValue = mValue"; +__ref._currentvalue /*float*/ = (float) (__ref._mvalue /*int*/ ); + if (true) break; + +case 14: +//C +this.state = 15; +RDebugUtils.currentLine=58392594; + //BA.debugLineNum = 58392594;BA.debugLine="Dim change As Float = (DateTime.Now - LastTime)"; +_change = (float) ((parent.__c.DateTime.getNow()-_lasttime)/(double)1000*__ref._valuechangepersecond /*float*/ ); +RDebugUtils.currentLine=58392595; + //BA.debugLineNum = 58392595;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=58392596; + //BA.debugLineNum = 58392596;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=58392598; + //BA.debugLineNum = 58392598;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=58392601; + //BA.debugLineNum = 58392601;BA.debugLine="LastTime = DateTime.Now"; +_lasttime = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=58392602; + //BA.debugLineNum = 58392602;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=58392603; + //BA.debugLineNum = 58392603;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=58392605; + //BA.debugLineNum = 58392605;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=58392606; + //BA.debugLineNum = 58392606;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=58392608; + //BA.debugLineNum = 58392608;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=58392611; + //BA.debugLineNum = 58392611;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=58392612; + //BA.debugLineNum = 58392612;BA.debugLine="bc.DrawBitmapCreatorsAsync(Me, \"BC\", tasks)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._drawbitmapcreatorsasync(parent,"BC",_tasks); +RDebugUtils.currentLine=58392613; + //BA.debugLineNum = 58392613;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=58392614; + //BA.debugLineNum = 58392614;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=58392615; + //BA.debugLineNum = 58392615;BA.debugLine="bc.SetBitmapToImageView(bmp, mIV)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._setbitmaptoimageview(_bmp,__ref._miv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=58392616; + //BA.debugLineNum = 58392616;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=58392618; + //BA.debugLineNum = 58392618;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _class_globals(SHARK2.keymon.com.mx.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +RDebugUtils.currentLine=58130432; + //BA.debugLineNum = 58130432;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=58130433; + //BA.debugLineNum = 58130433;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=58130434; + //BA.debugLineNum = 58130434;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=58130435; + //BA.debugLineNum = 58130435;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=58130436; + //BA.debugLineNum = 58130436;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=58130437; + //BA.debugLineNum = 58130437;BA.debugLine="Private BusyBrush As BCBrush"; +_busybrush = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=58130438; + //BA.debugLineNum = 58130438;BA.debugLine="Private BackgroundColor As Int"; +_backgroundcolor = 0; +RDebugUtils.currentLine=58130439; + //BA.debugLineNum = 58130439;BA.debugLine="Private BusyIndex As Int"; +_busyindex = 0; +RDebugUtils.currentLine=58130440; + //BA.debugLineNum = 58130440;BA.debugLine="Private bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=58130441; + //BA.debugLineNum = 58130441;BA.debugLine="Private mIV As B4XView"; +_miv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=58130442; + //BA.debugLineNum = 58130442;BA.debugLine="Private TransparentBrush As BCBrush"; +_transparentbrush = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=58130443; + //BA.debugLineNum = 58130443;BA.debugLine="Private Vertical As Boolean"; +_vertical = false; +RDebugUtils.currentLine=58130444; + //BA.debugLineNum = 58130444;BA.debugLine="Private CurrentValue As Float"; +_currentvalue = 0f; +RDebugUtils.currentLine=58130445; + //BA.debugLineNum = 58130445;BA.debugLine="Public EmptyColor As Int = xui.Color_White"; +_emptycolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=58130446; + //BA.debugLineNum = 58130446;BA.debugLine="Private EmptyBrush As BCBrush"; +_emptybrush = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=58130447; + //BA.debugLineNum = 58130447;BA.debugLine="Private mValue As Int"; +_mvalue = 0; +RDebugUtils.currentLine=58130448; + //BA.debugLineNum = 58130448;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=58130449; + //BA.debugLineNum = 58130449;BA.debugLine="Public ValueChangePerSecond As Float = 60"; +_valuechangepersecond = (float) (60); +RDebugUtils.currentLine=58130450; + //BA.debugLineNum = 58130450;BA.debugLine="Public CornerRadius As Int"; +_cornerradius = 0; +RDebugUtils.currentLine=58130451; + //BA.debugLineNum = 58130451;BA.debugLine="Public BrushOffsetDelta As Int = 3"; +_brushoffsetdelta = (int) (3); +RDebugUtils.currentLine=58130452; + //BA.debugLineNum = 58130452;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(SHARK2.keymon.com.mx.anotherprogressbar __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; +RDebugUtils.currentLine=58261504; + //BA.debugLineNum = 58261504;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=58261505; + //BA.debugLineNum = 58261505;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=58261506; + //BA.debugLineNum = 58261506;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=58261506; + //BA.debugLineNum = 58261506;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=58261507; + //BA.debugLineNum = 58261507;BA.debugLine="Dim iv As ImageView"; +_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=58261508; + //BA.debugLineNum = 58261508;BA.debugLine="iv.Initialize(\"\")"; +_iv.Initialize(ba,""); +RDebugUtils.currentLine=58261509; + //BA.debugLineNum = 58261509;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=58261510; + //BA.debugLineNum = 58261510;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=58261511; + //BA.debugLineNum = 58261511;BA.debugLine="setValue(Props.GetDefault(\"Value\", 100))"; +__ref._setvalue /*String*/ (null,(int)(BA.ObjectToNumber(_props.GetDefault((Object)("Value"),(Object)(100))))); +RDebugUtils.currentLine=58261512; + //BA.debugLineNum = 58261512;BA.debugLine="CurrentValue = mValue"; +__ref._currentvalue /*float*/ = (float) (__ref._mvalue /*int*/ ); +RDebugUtils.currentLine=58261513; + //BA.debugLineNum = 58261513;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=58261514; + //BA.debugLineNum = 58261514;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=58261515; + //BA.debugLineNum = 58261515;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=58261516; + //BA.debugLineNum = 58261516;BA.debugLine="BackgroundColor = xui.PaintOrColorToColor(Props.G"; +__ref._backgroundcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("ProgressColor"))); +RDebugUtils.currentLine=58261517; + //BA.debugLineNum = 58261517;BA.debugLine="CornerRadius = Props.GetDefault(\"CornerRadius\", 1"; +__ref._cornerradius /*int*/ = (int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornerRadius"),(Object)(15)))); +RDebugUtils.currentLine=58261518; + //BA.debugLineNum = 58261518;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=58261519; + //BA.debugLineNum = 58261519;BA.debugLine="End Sub"; +return ""; +} +public String _setvalue(SHARK2.keymon.com.mx.anotherprogressbar __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_v}));} +RDebugUtils.currentLine=58851328; + //BA.debugLineNum = 58851328;BA.debugLine="Public Sub setValue (v As Int)"; +RDebugUtils.currentLine=58851329; + //BA.debugLineNum = 58851329;BA.debugLine="mValue = Max(0, Min(100, v))"; +__ref._mvalue /*int*/ = (int) (__c.Max(0,__c.Min(100,_v))); +RDebugUtils.currentLine=58851330; + //BA.debugLineNum = 58851330;BA.debugLine="End Sub"; +return ""; +} +public int _getprogresscolor(SHARK2.keymon.com.mx.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "getprogresscolor", true)) + {return ((Integer) Debug.delegate(ba, "getprogresscolor", null));} +RDebugUtils.currentLine=58458112; + //BA.debugLineNum = 58458112;BA.debugLine="Public Sub getProgressColor As Int"; +RDebugUtils.currentLine=58458113; + //BA.debugLineNum = 58458113;BA.debugLine="Return BackgroundColor"; +if (true) return __ref._backgroundcolor /*int*/ ; +RDebugUtils.currentLine=58458114; + //BA.debugLineNum = 58458114;BA.debugLine="End Sub"; +return 0; +} +public int _getvalue(SHARK2.keymon.com.mx.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=58785792; + //BA.debugLineNum = 58785792;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=58785793; + //BA.debugLineNum = 58785793;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*int*/ ; +RDebugUtils.currentLine=58785794; + //BA.debugLineNum = 58785794;BA.debugLine="End Sub"; +return 0; +} +public boolean _getvisible(SHARK2.keymon.com.mx.anotherprogressbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "getvisible", true)) + {return ((Boolean) Debug.delegate(ba, "getvisible", null));} +RDebugUtils.currentLine=58720256; + //BA.debugLineNum = 58720256;BA.debugLine="Public Sub getVisible As Boolean"; +RDebugUtils.currentLine=58720257; + //BA.debugLineNum = 58720257;BA.debugLine="Return mBase.Visible"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getVisible(); +RDebugUtils.currentLine=58720258; + //BA.debugLineNum = 58720258;BA.debugLine="End Sub"; +return false; +} +public String _initialize(SHARK2.keymon.com.mx.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=58195968; + //BA.debugLineNum = 58195968;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=58195969; + //BA.debugLineNum = 58195969;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=58195970; + //BA.debugLineNum = 58195970;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=58195971; + //BA.debugLineNum = 58195971;BA.debugLine="End Sub"; +return ""; +} +public String _setprogresscolor(SHARK2.keymon.com.mx.anotherprogressbar __ref,int _c) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "setprogresscolor", true)) + {return ((String) Debug.delegate(ba, "setprogresscolor", new Object[] {_c}));} +RDebugUtils.currentLine=58523648; + //BA.debugLineNum = 58523648;BA.debugLine="Public Sub setProgressColor (c As Int)"; +RDebugUtils.currentLine=58523649; + //BA.debugLineNum = 58523649;BA.debugLine="BackgroundColor = c"; +__ref._backgroundcolor /*int*/ = _c; +RDebugUtils.currentLine=58523650; + //BA.debugLineNum = 58523650;BA.debugLine="UpdateGraphics"; +__ref._updategraphics /*String*/ (null); +RDebugUtils.currentLine=58523651; + //BA.debugLineNum = 58523651;BA.debugLine="End Sub"; +return ""; +} +public String _setvaluenoanimation(SHARK2.keymon.com.mx.anotherprogressbar __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "setvaluenoanimation", true)) + {return ((String) Debug.delegate(ba, "setvaluenoanimation", new Object[] {_v}));} +RDebugUtils.currentLine=58916864; + //BA.debugLineNum = 58916864;BA.debugLine="Public Sub SetValueNoAnimation (v As Int)"; +RDebugUtils.currentLine=58916865; + //BA.debugLineNum = 58916865;BA.debugLine="setValue(v)"; +__ref._setvalue /*String*/ (null,_v); +RDebugUtils.currentLine=58916866; + //BA.debugLineNum = 58916866;BA.debugLine="CurrentValue = mValue"; +__ref._currentvalue /*float*/ = (float) (__ref._mvalue /*int*/ ); +RDebugUtils.currentLine=58916867; + //BA.debugLineNum = 58916867;BA.debugLine="End Sub"; +return ""; +} +public String _setvisible(SHARK2.keymon.com.mx.anotherprogressbar __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="anotherprogressbar"; +if (Debug.shouldDelegate(ba, "setvisible", true)) + {return ((String) Debug.delegate(ba, "setvisible", new Object[] {_b}));} +RDebugUtils.currentLine=58654720; + //BA.debugLineNum = 58654720;BA.debugLine="Public Sub setVisible(b As Boolean)"; +RDebugUtils.currentLine=58654721; + //BA.debugLineNum = 58654721;BA.debugLine="BusyIndex = BusyIndex + 1"; +__ref._busyindex /*int*/ = (int) (__ref._busyindex /*int*/ +1); +RDebugUtils.currentLine=58654722; + //BA.debugLineNum = 58654722;BA.debugLine="If b Then"; +if (_b) { +RDebugUtils.currentLine=58654723; + //BA.debugLineNum = 58654723;BA.debugLine="BusyLoop"; +__ref._busyloop /*void*/ (null); + }; +RDebugUtils.currentLine=58654725; + //BA.debugLineNum = 58654725;BA.debugLine="mBase.Visible = b"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(_b); +RDebugUtils.currentLine=58654726; + //BA.debugLineNum = 58654726;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/appupdater.java b/B4A/Objects/src/SHARK2/keymon/com/mx/appupdater.java new file mode 100644 index 0000000..5ee725a --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/appupdater.java @@ -0,0 +1,827 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx", "SHARK2.keymon.com.mx.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, "SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.appupdater._mnewversion _newapp = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static anywheresoftware.b4a.objects.NotificationWrapper _createnotification(String _title,String _content,String _icon,Object _targetactivity,boolean _sound,boolean _vibrate) throws Exception{ +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=1114112; + //BA.debugLineNum = 1114112;BA.debugLine="Private Sub CreateNotification(Title As String, Co"; +RDebugUtils.currentLine=1114113; + //BA.debugLineNum = 1114113;BA.debugLine="n2.Initialize"; +_n2.Initialize(); +RDebugUtils.currentLine=1114114; + //BA.debugLineNum = 1114114;BA.debugLine="n2.Light = False"; +_n2.setLight(anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=1114115; + //BA.debugLineNum = 1114115;BA.debugLine="n2.Vibrate = Vibrate"; +_n2.setVibrate(_vibrate); +RDebugUtils.currentLine=1114116; + //BA.debugLineNum = 1114116;BA.debugLine="n2.Sound = Sound"; +_n2.setSound(_sound); +RDebugUtils.currentLine=1114117; + //BA.debugLineNum = 1114117;BA.debugLine="n2.OnGoingEvent = True"; +_n2.setOnGoingEvent(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=1114118; + //BA.debugLineNum = 1114118;BA.debugLine="n2.Icon = Icon"; +_n2.setIcon(_icon); +RDebugUtils.currentLine=1114119; + //BA.debugLineNum = 1114119;BA.debugLine="n2.SetInfo(Title, Content, TargetActivity)"; +_n2.SetInfoNew(processBA,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_content),_targetactivity); +RDebugUtils.currentLine=1114120; + //BA.debugLineNum = 1114120;BA.debugLine="n2.Notify(nNewAppnID)"; +_n2.Notify(_nnewappnid); +RDebugUtils.currentLine=1114121; + //BA.debugLineNum = 1114121;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=1048576; + //BA.debugLineNum = 1048576;BA.debugLine="Private Sub CreateNotification2(Title As String, C"; +RDebugUtils.currentLine=1048579; + //BA.debugLineNum = 1048579;BA.debugLine="pN.Initialize2(pN.IMPORTANCE_HIGH)"; +_pn.Initialize2(_pn.IMPORTANCE_HIGH); +RDebugUtils.currentLine=1048582; + //BA.debugLineNum = 1048582;BA.debugLine="pN.Vibrate = Vibrate"; +_pn.setVibrate(_vibrate); +RDebugUtils.currentLine=1048583; + //BA.debugLineNum = 1048583;BA.debugLine="pN.Sound = Sound"; +_pn.setSound(_sound); +RDebugUtils.currentLine=1048585; + //BA.debugLineNum = 1048585;BA.debugLine="pN.Icon = Icon"; +_pn.setIcon(_icon); +RDebugUtils.currentLine=1048586; + //BA.debugLineNum = 1048586;BA.debugLine="pN.AutoCancel = True"; +_pn.setAutoCancel(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=1048587; + //BA.debugLineNum = 1048587;BA.debugLine="pN.SetInfo(Title, Content, TargetActivity)"; +_pn.SetInfoNew(processBA,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_content),_targetactivity); +RDebugUtils.currentLine=1048588; + //BA.debugLineNum = 1048588;BA.debugLine="pN.Notify(pNID)"; +_pn.Notify(_pnid); +RDebugUtils.currentLine=1048589; + //BA.debugLineNum = 1048589;BA.debugLine="Return pN"; +if (true) return _pn; +RDebugUtils.currentLine=1048590; + //BA.debugLineNum = 1048590;BA.debugLine="End Sub"; +return null; +} +public static SHARK2.keymon.com.mx.httpjob _download(Object _callback,String _link) throws Exception{ +RDebugUtils.currentModule="appupdater"; +if (Debug.shouldDelegate(processBA, "download", false)) + {return ((SHARK2.keymon.com.mx.httpjob) Debug.delegate(processBA, "download", new Object[] {_callback,_link}));} +SHARK2.keymon.com.mx.httpjob _j = null; +RDebugUtils.currentLine=983040; + //BA.debugLineNum = 983040;BA.debugLine="Sub Download (Callback As Object, link As String)"; +RDebugUtils.currentLine=983041; + //BA.debugLineNum = 983041;BA.debugLine="Dim j As HttpJob"; +_j = new SHARK2.keymon.com.mx.httpjob(); +RDebugUtils.currentLine=983042; + //BA.debugLineNum = 983042;BA.debugLine="j.Initialize(\"\", Callback)"; +_j._initialize /*String*/ (null,processBA,"",_callback); +RDebugUtils.currentLine=983043; + //BA.debugLineNum = 983043;BA.debugLine="j.Download(link)"; +_j._download /*String*/ (null,_link); +RDebugUtils.currentLine=983044; + //BA.debugLineNum = 983044;BA.debugLine="Return j"; +if (true) return _j; +RDebugUtils.currentLine=983045; + //BA.debugLineNum = 983045;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=917504; + //BA.debugLineNum = 917504;BA.debugLine="Sub download_Destroy"; +RDebugUtils.currentLine=917505; + //BA.debugLineNum = 917505;BA.debugLine="n2.Cancel(n2ID)"; +_n2.Cancel(_n2id); +RDebugUtils.currentLine=917506; + //BA.debugLineNum = 917506;BA.debugLine="Service.StopForeground(n2ID)"; +mostCurrent._service.StopForeground(_n2id); +RDebugUtils.currentLine=917507; + //BA.debugLineNum = 917507;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(SHARK2.keymon.com.mx.appupdater parent) { +this.parent = parent; +} +SHARK2.keymon.com.mx.appupdater parent; +SHARK2.keymon.com.mx.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=851971; + //BA.debugLineNum = 851971;BA.debugLine="Log(\"Descargando actualización\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("5851971","Descargando actualización",0); +RDebugUtils.currentLine=851972; + //BA.debugLineNum = 851972;BA.debugLine="B4XPages.ShowPage(\"login\")"; +parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"login"); +RDebugUtils.currentLine=851973; + //BA.debugLineNum = 851973;BA.debugLine="Starter.muestraProgreso = 1"; +parent.mostCurrent._starter._muestraprogreso /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=851974; + //BA.debugLineNum = 851974;BA.debugLine="Dim job_newAPP As HttpJob"; +_job_newapp = new SHARK2.keymon.com.mx.httpjob(); +RDebugUtils.currentLine=851975; + //BA.debugLineNum = 851975;BA.debugLine="job_newAPP.Initialize(\"job_newAPP\",Me)"; +_job_newapp._initialize /*String*/ (null,processBA,"job_newAPP",appupdater.getObject()); +RDebugUtils.currentLine=851976; + //BA.debugLineNum = 851976;BA.debugLine="job_newAPP.Download(newApp.appLink)"; +_job_newapp._download /*String*/ (null,parent._newapp.appLink /*String*/ ); +RDebugUtils.currentLine=851977; + //BA.debugLineNum = 851977;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 = 15; +return; +case 15: +//C +this.state = 1; +_job_newapp = (SHARK2.keymon.com.mx.httpjob) result[0]; +; +RDebugUtils.currentLine=851978; + //BA.debugLineNum = 851978;BA.debugLine="If job_newAPP.Success = True Then"; +if (true) break; + +case 1: +//if +this.state = 14; +if (_job_newapp._success /*boolean*/ ==anywheresoftware.b4a.keywords.Common.True) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=851980; + //BA.debugLineNum = 851980;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=851981; + //BA.debugLineNum = 851981;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=851984; + //BA.debugLineNum = 851984;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=851985; + //BA.debugLineNum = 851985;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=851986; + //BA.debugLineNum = 851986;BA.debugLine="outNewAPK.Close"; +_outnewapk.Close(); +RDebugUtils.currentLine=851987; + //BA.debugLineNum = 851987;BA.debugLine="If Starter.Logger Then Log(\"APK dir: \"&SharedFol"; +if (true) break; + +case 8: +//if +this.state = 13; +if (parent.mostCurrent._starter._logger /*boolean*/ ) { +this.state = 10; +;}if (true) break; + +case 10: +//C +this.state = 13; +anywheresoftware.b4a.keywords.Common.LogImpl("5851987","APK dir: "+parent._sharedfolder,0); +if (true) break; + +case 13: +//C +this.state = 14; +; + if (true) break; + +case 14: +//C +this.state = -1; +; +RDebugUtils.currentLine=851989; + //BA.debugLineNum = 851989;BA.debugLine="job_newAPP.Release"; +_job_newapp._release /*String*/ (null); +RDebugUtils.currentLine=851991; + //BA.debugLineNum = 851991;BA.debugLine="Dim in As Intent"; +_in = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=851992; + //BA.debugLineNum = 851992;BA.debugLine="in.Initialize(in.ACTION_VIEW,\"\" )"; +_in.Initialize(_in.ACTION_VIEW,""); +RDebugUtils.currentLine=851993; + //BA.debugLineNum = 851993;BA.debugLine="SetFileUriAsIntentData(in, \"newapp.apk\")"; +_setfileuriasintentdata(_in,"newapp.apk"); +RDebugUtils.currentLine=851995; + //BA.debugLineNum = 851995;BA.debugLine="in.SetType(\"application/vnd.android.package-archi"; +_in.SetType("application/vnd.android.package-archive"); +RDebugUtils.currentLine=851996; + //BA.debugLineNum = 851996;BA.debugLine="StartActivity(in)"; +anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_in.getObject())); +RDebugUtils.currentLine=851997; + //BA.debugLineNum = 851997;BA.debugLine="n2.Cancel(nNewAppnID)"; +parent._n2.Cancel(parent._nnewappnid); +RDebugUtils.currentLine=851998; + //BA.debugLineNum = 851998;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +parent.mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._ocultaprogreso /*String*/ (null); +RDebugUtils.currentLine=852000; + //BA.debugLineNum = 852000;BA.debugLine="StopService(Me)"; +anywheresoftware.b4a.keywords.Common.StopService(processBA,appupdater.getObject()); +RDebugUtils.currentLine=852002; + //BA.debugLineNum = 852002;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=1376256; + //BA.debugLineNum = 1376256;BA.debugLine="Sub SetFileUriAsIntentData (Intent As Intent, File"; +RDebugUtils.currentLine=1376257; + //BA.debugLineNum = 1376257;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=1376258; + //BA.debugLineNum = 1376258;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); +RDebugUtils.currentLine=1376259; + //BA.debugLineNum = 1376259;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=1376260; + //BA.debugLineNum = 1376260;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=786432; + //BA.debugLineNum = 786432;BA.debugLine="Sub download_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=786433; + //BA.debugLineNum = 786433;BA.debugLine="download_newApk"; +_download_newapk(); +RDebugUtils.currentLine=786434; + //BA.debugLineNum = 786434;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=1245184; + //BA.debugLineNum = 1245184;BA.debugLine="Sub fileProvider_init"; +RDebugUtils.currentLine=1245185; + //BA.debugLineNum = 1245185;BA.debugLine="Dim p As Phone"; +_p = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=1245186; + //BA.debugLineNum = 1245186;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=1245187; + //BA.debugLineNum = 1245187;BA.debugLine="UseFileProvider = True"; +_usefileprovider = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=1245188; + //BA.debugLineNum = 1245188;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +_sharedfolder = anywheresoftware.b4a.keywords.Common.File.Combine(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"shared"); +RDebugUtils.currentLine=1245189; + //BA.debugLineNum = 1245189;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=1245190; + //BA.debugLineNum = 1245190;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +anywheresoftware.b4a.keywords.Common.File.MakeDir("",_sharedfolder); + }; + }else { +RDebugUtils.currentLine=1245193; + //BA.debugLineNum = 1245193;BA.debugLine="UseFileProvider = False"; +_usefileprovider = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=1245194; + //BA.debugLineNum = 1245194;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +_sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); + }; +RDebugUtils.currentLine=1245196; + //BA.debugLineNum = 1245196;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("51245196",("Using FileProvider? "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); +RDebugUtils.currentLine=1245197; + //BA.debugLineNum = 1245197;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=1310720; + //BA.debugLineNum = 1310720;BA.debugLine="Sub GetFileUri (FileName As String) As Object"; +RDebugUtils.currentLine=1310721; + //BA.debugLineNum = 1310721;BA.debugLine="Try"; +try {RDebugUtils.currentLine=1310722; + //BA.debugLineNum = 1310722;BA.debugLine="If Not(UseFileProvider) Then"; +if (anywheresoftware.b4a.keywords.Common.Not(_usefileprovider)) { +RDebugUtils.currentLine=1310723; + //BA.debugLineNum = 1310723;BA.debugLine="Dim uri As JavaObject"; +_uri = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=1310724; + //BA.debugLineNum = 1310724;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=1310726; + //BA.debugLineNum = 1310726;BA.debugLine="Dim f As JavaObject"; +_f = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=1310727; + //BA.debugLineNum = 1310727;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)}); +RDebugUtils.currentLine=1310728; + //BA.debugLineNum = 1310728;BA.debugLine="Dim fp As JavaObject"; +_fp = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=1310729; + //BA.debugLineNum = 1310729;BA.debugLine="Dim context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=1310730; + //BA.debugLineNum = 1310730;BA.debugLine="context.InitializeContext"; +_context.InitializeContext(processBA); +RDebugUtils.currentLine=1310731; + //BA.debugLineNum = 1310731;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +_fp.InitializeStatic("androidx.core.content.FileProvider"); +RDebugUtils.currentLine=1310732; + //BA.debugLineNum = 1310732;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=1310734; + //BA.debugLineNum = 1310734;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last"; +anywheresoftware.b4a.keywords.Common.LogImpl("51310734","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); +RDebugUtils.currentLine=1310735; + //BA.debugLineNum = 1310735;BA.debugLine="Return \"\""; +if (true) return (Object)(""); + }; +RDebugUtils.currentLine=1310737; + //BA.debugLineNum = 1310737;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=655360; + //BA.debugLineNum = 655360;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=655361; + //BA.debugLineNum = 655361;BA.debugLine="Log(\"appUpdater(), Service_Create\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("5655361","appUpdater(), Service_Create",0); +RDebugUtils.currentLine=655362; + //BA.debugLineNum = 655362;BA.debugLine="newApp.Initialize"; +_newapp.Initialize(); +RDebugUtils.currentLine=655363; + //BA.debugLineNum = 655363;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; +mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; +RDebugUtils.currentLine=655364; + //BA.debugLineNum = 655364;BA.debugLine="n2.Initialize"; +_n2.Initialize(); +RDebugUtils.currentLine=655365; + //BA.debugLineNum = 655365;BA.debugLine="nativeMe.InitializeContext"; +_nativeme.InitializeContext(processBA); +RDebugUtils.currentLine=655366; + //BA.debugLineNum = 655366;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=1179648; + //BA.debugLineNum = 1179648;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=1179649; + //BA.debugLineNum = 1179649;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("51179649","appUpdater(), Service_Destroy",0); +RDebugUtils.currentLine=1179650; + //BA.debugLineNum = 1179650;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(SHARK2.keymon.com.mx.appupdater parent,anywheresoftware.b4a.objects.IntentWrapper _startingintent) { +this.parent = parent; +this._startingintent = _startingintent; +} +SHARK2.keymon.com.mx.appupdater parent; +anywheresoftware.b4a.objects.IntentWrapper _startingintent; +SHARK2.keymon.com.mx.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=720897; + //BA.debugLineNum = 720897;BA.debugLine="Log(\"appUpdater(), Service_Start\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("5720897","appUpdater(), Service_Start",0); +RDebugUtils.currentLine=720899; + //BA.debugLineNum = 720899;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua"; +parent.mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ (null,"Buscando actualización"); +RDebugUtils.currentLine=720900; + //BA.debugLineNum = 720900;BA.debugLine="Log(\"Buscando actualización\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("5720900","Buscando actualización",0); +RDebugUtils.currentLine=720901; + //BA.debugLineNum = 720901;BA.debugLine="fileProvider_init"; +_fileprovider_init(); +RDebugUtils.currentLine=720902; + //BA.debugLineNum = 720902;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 = (SHARK2.keymon.com.mx.httpjob) result[0]; +; +RDebugUtils.currentLine=720903; + //BA.debugLineNum = 720903;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=720904; + //BA.debugLineNum = 720904;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=720905; + //BA.debugLineNum = 720905;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=720907; + //BA.debugLineNum = 720907;BA.debugLine="newApp.appLink = app(3) 'Liga a nueva app"; +parent._newapp.appLink /*String*/ = _app[(int) (3)]; +RDebugUtils.currentLine=720908; + //BA.debugLineNum = 720908;BA.debugLine="newApp.newMsg = app(1) 'Texto de que hay actual"; +parent._newapp.newMsg /*String*/ = _app[(int) (1)]; +RDebugUtils.currentLine=720909; + //BA.debugLineNum = 720909;BA.debugLine="newApp.okMsg = app(2) 'Texto de app al corrient"; +parent._newapp.okMsg /*String*/ = _app[(int) (2)]; +RDebugUtils.currentLine=720910; + //BA.debugLineNum = 720910;BA.debugLine="newApp.version = app(0) 'Version actual"; +parent._newapp.version /*String*/ = _app[(int) (0)]; +RDebugUtils.currentLine=720912; + //BA.debugLineNum = 720912;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; +anywheresoftware.b4a.keywords.Common.LogImpl("5720912",("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=720915; + //BA.debugLineNum = 720915;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=720916; + //BA.debugLineNum = 720916;BA.debugLine="newApp.update = False"; +parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=720917; + //BA.debugLineNum = 720917;BA.debugLine="Log(\"No new app\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("5720917","No new app",0); +RDebugUtils.currentLine=720918; + //BA.debugLineNum = 720918;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; +parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable"); +RDebugUtils.currentLine=720920; + //BA.debugLineNum = 720920;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=720922; + //BA.debugLineNum = 720922;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=720923; + //BA.debugLineNum = 720923;BA.debugLine="newApp.update = True"; +parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=720924; + //BA.debugLineNum = 720924;BA.debugLine="Log(\"New app true\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("5720924","New app true",0); +RDebugUtils.currentLine=720925; + //BA.debugLineNum = 720925;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=720930; + //BA.debugLineNum = 720930;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE"; +anywheresoftware.b4a.keywords.Common.LogImpl("5720930","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=720933; + //BA.debugLineNum = 720933;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)"; +anywheresoftware.b4a.keywords.Common.LogImpl("5720933","appUpdater(), Job Failed "+parent._lnk,0); + if (true) break; + +case 19: +//C +this.state = -1; +; +RDebugUtils.currentLine=720935; + //BA.debugLineNum = 720935;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=720937; + //BA.debugLineNum = 720937;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/SHARK2/keymon/com/mx/b4xbitset.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xbitset.java new file mode 100644 index 0000000..62ee1f3 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xbitset.java @@ -0,0 +1,181 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xbitset"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _class_globals(SHARK2.keymon.com.mx.b4xbitset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +RDebugUtils.currentLine=47185920; + //BA.debugLineNum = 47185920;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=47185924; + //BA.debugLineNum = 47185924;BA.debugLine="Private data() As Int"; +_data = new int[(int) (0)]; +; +RDebugUtils.currentLine=47185926; + //BA.debugLineNum = 47185926;BA.debugLine="Private mSize As Int"; +_msize = 0; +RDebugUtils.currentLine=47185927; + //BA.debugLineNum = 47185927;BA.debugLine="End Sub"; +return ""; +} +public String _clear(SHARK2.keymon.com.mx.b4xbitset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=47513600; + //BA.debugLineNum = 47513600;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=47513604; + //BA.debugLineNum = 47513604;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=47513606; + //BA.debugLineNum = 47513606;BA.debugLine="End Sub"; +return ""; +} +public boolean _get(SHARK2.keymon.com.mx.b4xbitset __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "get", true)) + {return ((Boolean) Debug.delegate(ba, "get", new Object[] {_index}));} +int _dindex = 0; +int _offset = 0; +int _blockvalue = 0; +RDebugUtils.currentLine=47382528; + //BA.debugLineNum = 47382528;BA.debugLine="Public Sub Get(Index As Int) As Boolean"; +RDebugUtils.currentLine=47382529; + //BA.debugLineNum = 47382529;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; +_dindex = __c.Bit.ShiftRight(_index,(int) (5)); +RDebugUtils.currentLine=47382530; + //BA.debugLineNum = 47382530;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; +_offset = __c.Bit.And(((int)0x0000001f),_index); +RDebugUtils.currentLine=47382534; + //BA.debugLineNum = 47382534;BA.debugLine="Dim BlockValue As Int = data(dindex)"; +_blockvalue = __ref._data /*int[]*/ [_dindex]; +RDebugUtils.currentLine=47382536; + //BA.debugLineNum = 47382536;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=47382537; + //BA.debugLineNum = 47382537;BA.debugLine="End Sub"; +return false; +} +public int _getsize(SHARK2.keymon.com.mx.b4xbitset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=47448064; + //BA.debugLineNum = 47448064;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=47448065; + //BA.debugLineNum = 47448065;BA.debugLine="Return mSize"; +if (true) return __ref._msize /*int*/ ; +RDebugUtils.currentLine=47448066; + //BA.debugLineNum = 47448066;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(SHARK2.keymon.com.mx.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=47251456; + //BA.debugLineNum = 47251456;BA.debugLine="Public Sub Initialize (Size As Int)"; +RDebugUtils.currentLine=47251457; + //BA.debugLineNum = 47251457;BA.debugLine="mSize = Size"; +__ref._msize /*int*/ = _size; +RDebugUtils.currentLine=47251458; + //BA.debugLineNum = 47251458;BA.debugLine="Clear"; +__ref._clear /*String*/ (null); +RDebugUtils.currentLine=47251459; + //BA.debugLineNum = 47251459;BA.debugLine="End Sub"; +return ""; +} +public String _set(SHARK2.keymon.com.mx.b4xbitset __ref,int _index,boolean _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbitset"; +if (Debug.shouldDelegate(ba, "set", true)) + {return ((String) Debug.delegate(ba, "set", new Object[] {_index,_value}));} +int _dindex = 0; +int _offset = 0; +int _blockvalue = 0; +int _newblockvalue = 0; +RDebugUtils.currentLine=47316992; + //BA.debugLineNum = 47316992;BA.debugLine="Public Sub Set(Index As Int, Value As Boolean)"; +RDebugUtils.currentLine=47316993; + //BA.debugLineNum = 47316993;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; +_dindex = __c.Bit.ShiftRight(_index,(int) (5)); +RDebugUtils.currentLine=47316994; + //BA.debugLineNum = 47316994;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; +_offset = __c.Bit.And(((int)0x0000001f),_index); +RDebugUtils.currentLine=47316998; + //BA.debugLineNum = 47316998;BA.debugLine="Dim BlockValue As Int = data(dindex)"; +_blockvalue = __ref._data /*int[]*/ [_dindex]; +RDebugUtils.currentLine=47317000; + //BA.debugLineNum = 47317000;BA.debugLine="Dim NewBlockValue As Int"; +_newblockvalue = 0; +RDebugUtils.currentLine=47317001; + //BA.debugLineNum = 47317001;BA.debugLine="If Value Then"; +if (_value) { +RDebugUtils.currentLine=47317002; + //BA.debugLineNum = 47317002;BA.debugLine="NewBlockValue = Bit.Or(BlockValue, Bit.ShiftLeft"; +_newblockvalue = __c.Bit.Or(_blockvalue,__c.Bit.ShiftLeft((int) (1),_offset)); + }else { +RDebugUtils.currentLine=47317004; + //BA.debugLineNum = 47317004;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=47317009; + //BA.debugLineNum = 47317009;BA.debugLine="data(dindex) = NewBlockValue"; +__ref._data /*int[]*/ [_dindex] = _newblockvalue; +RDebugUtils.currentLine=47317011; + //BA.debugLineNum = 47317011;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xbreadcrumb.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xbreadcrumb.java new file mode 100644 index 0000000..c2808fc --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xbreadcrumb.java @@ -0,0 +1,565 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xbreadcrumb"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(SHARK2.keymon.com.mx.b4xbreadcrumb __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=59179008; + //BA.debugLineNum = 59179008;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=59179009; + //BA.debugLineNum = 59179009;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=59179010; + //BA.debugLineNum = 59179010;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=59179011; + //BA.debugLineNum = 59179011;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=59179012; + //BA.debugLineNum = 59179012;BA.debugLine="End Sub"; +return ""; +} +public String _draw(SHARK2.keymon.com.mx.b4xbreadcrumb __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", null));} +b4a.example.bitmapcreator._argbcolor _bcolor = null; +int _strokecolor = 0; +int[] _clrs = null; +int _left = 0; +int _i = 0; +int _sc = 0; +int _width = 0; +RDebugUtils.currentLine=59244544; + //BA.debugLineNum = 59244544;BA.debugLine="Private Sub Draw"; +RDebugUtils.currentLine=59244545; + //BA.debugLineNum = 59244545;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=59244546; + //BA.debugLineNum = 59244546;BA.debugLine="Dim bcolor As ARGBColor"; +_bcolor = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=59244547; + //BA.debugLineNum = 59244547;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._colortoargb(__ref._crumbcolor /*int*/ ,_bcolor); +RDebugUtils.currentLine=59244548; + //BA.debugLineNum = 59244548;BA.debugLine="bcolor.r = Min(255, bcolor.r * 2)"; +_bcolor.r = (int) (__c.Min(255,_bcolor.r*2)); +RDebugUtils.currentLine=59244549; + //BA.debugLineNum = 59244549;BA.debugLine="bcolor.g = Min(255, bcolor.g * 2)"; +_bcolor.g = (int) (__c.Min(255,_bcolor.g*2)); +RDebugUtils.currentLine=59244550; + //BA.debugLineNum = 59244550;BA.debugLine="bcolor.b = Min(255, bcolor.b * 2)"; +_bcolor.b = (int) (__c.Min(255,_bcolor.b*2)); +RDebugUtils.currentLine=59244551; + //BA.debugLineNum = 59244551;BA.debugLine="Dim strokeColor As Int = bc.ARGBToColor(bcolor)"; +_strokecolor = __ref._bc /*b4a.example.bitmapcreator*/ ._argbtocolor(_bcolor); +RDebugUtils.currentLine=59244553; + //BA.debugLineNum = 59244553;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._colortoargb(__ref._crumbcolor /*int*/ ,_bcolor); +RDebugUtils.currentLine=59244554; + //BA.debugLineNum = 59244554;BA.debugLine="bcolor.r = bcolor.r * 0.8"; +_bcolor.r = (int) (_bcolor.r*0.8); +RDebugUtils.currentLine=59244555; + //BA.debugLineNum = 59244555;BA.debugLine="bcolor.g = bcolor.g * 0.8"; +_bcolor.g = (int) (_bcolor.g*0.8); +RDebugUtils.currentLine=59244556; + //BA.debugLineNum = 59244556;BA.debugLine="bcolor.b = bcolor.b * 0.8"; +_bcolor.b = (int) (_bcolor.b*0.8); +RDebugUtils.currentLine=59244557; + //BA.debugLineNum = 59244557;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=59244559; + //BA.debugLineNum = 59244559;BA.debugLine="RightPositions.Clear"; +__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=59244560; + //BA.debugLineNum = 59244560;BA.debugLine="If mItems.Size = 0 Then Return"; +if (__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { +if (true) return "";}; +RDebugUtils.currentLine=59244561; + //BA.debugLineNum = 59244561;BA.debugLine="Dim Left As Int = 0"; +_left = (int) (0); +RDebugUtils.currentLine=59244562; + //BA.debugLineNum = 59244562;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=59244563; + //BA.debugLineNum = 59244563;BA.debugLine="Dim sc As Int"; +_sc = 0; +RDebugUtils.currentLine=59244564; + //BA.debugLineNum = 59244564;BA.debugLine="If PressedItem = i Then sc = strokeColor Else sc"; +if (__ref._presseditem /*int*/ ==_i) { +_sc = _strokecolor;} +else { +_sc = (int) (0);}; +RDebugUtils.currentLine=59244565; + //BA.debugLineNum = 59244565;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=59244566; + //BA.debugLineNum = 59244566;BA.debugLine="Left = Left + width + offset + 2dip"; +_left = (int) (_left+_width+__ref._offset /*int*/ +__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=59244567; + //BA.debugLineNum = 59244567;BA.debugLine="RightPositions.Add(Left)"; +__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_left)); + } +}; +RDebugUtils.currentLine=59244569; + //BA.debugLineNum = 59244569;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=59244570; + //BA.debugLineNum = 59244570;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xbreadcrumb __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +RDebugUtils.currentLine=58982400; + //BA.debugLineNum = 58982400;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=58982401; + //BA.debugLineNum = 58982401;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=58982402; + //BA.debugLineNum = 58982402;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=58982403; + //BA.debugLineNum = 58982403;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=58982404; + //BA.debugLineNum = 58982404;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=58982405; + //BA.debugLineNum = 58982405;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=58982406; + //BA.debugLineNum = 58982406;BA.debugLine="Private mItems As List"; +_mitems = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=58982407; + //BA.debugLineNum = 58982407;BA.debugLine="Private RightPositions As List"; +_rightpositions = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=58982408; + //BA.debugLineNum = 58982408;BA.debugLine="Public TextColor As Int"; +_textcolor = 0; +RDebugUtils.currentLine=58982409; + //BA.debugLineNum = 58982409;BA.debugLine="Public fnt As B4XFont"; +_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=58982410; + //BA.debugLineNum = 58982410;BA.debugLine="Private offset As Int = 10dip"; +_offset = __c.DipToCurrent((int) (10)); +RDebugUtils.currentLine=58982411; + //BA.debugLineNum = 58982411;BA.debugLine="Private bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=58982412; + //BA.debugLineNum = 58982412;BA.debugLine="Public CrumbColor As Int"; +_crumbcolor = 0; +RDebugUtils.currentLine=58982413; + //BA.debugLineNum = 58982413;BA.debugLine="Private TouchPanel As B4XView"; +_touchpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=58982414; + //BA.debugLineNum = 58982414;BA.debugLine="Private PressedItem As Int = -1"; +_presseditem = (int) (-1); +RDebugUtils.currentLine=58982415; + //BA.debugLineNum = 58982415;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=58982416; + //BA.debugLineNum = 58982416;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=58982417; + //BA.debugLineNum = 58982417;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(SHARK2.keymon.com.mx.b4xbreadcrumb __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +String _items = ""; +String _s = ""; +RDebugUtils.currentLine=59113472; + //BA.debugLineNum = 59113472;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=59113473; + //BA.debugLineNum = 59113473;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=59113474; + //BA.debugLineNum = 59113474;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=59113474; + //BA.debugLineNum = 59113474;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=59113475; + //BA.debugLineNum = 59113475;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=59113476; + //BA.debugLineNum = 59113476;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=59113477; + //BA.debugLineNum = 59113477;BA.debugLine="fnt = xlbl.Font"; +__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _xlbl.getFont(); +RDebugUtils.currentLine=59113478; + //BA.debugLineNum = 59113478;BA.debugLine="TextColor = xlbl.TextColor"; +__ref._textcolor /*int*/ = _xlbl.getTextColor(); +RDebugUtils.currentLine=59113479; + //BA.debugLineNum = 59113479;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=59113480; + //BA.debugLineNum = 59113480;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=59113481; + //BA.debugLineNum = 59113481;BA.debugLine="TouchPanel = xui.CreatePanel(\"Touch\")"; +__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"Touch"); +RDebugUtils.currentLine=59113482; + //BA.debugLineNum = 59113482;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=59113483; + //BA.debugLineNum = 59113483;BA.debugLine="Dim items As String = Props.Get(\"Items\")"; +_items = BA.ObjectToString(_props.Get((Object)("Items"))); +RDebugUtils.currentLine=59113484; + //BA.debugLineNum = 59113484;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=59113485; + //BA.debugLineNum = 59113485;BA.debugLine="mItems.Add(s)"; +__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_s)); + } +}; +RDebugUtils.currentLine=59113487; + //BA.debugLineNum = 59113487;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=59113488; + //BA.debugLineNum = 59113488;BA.debugLine="End Sub"; +return ""; +} +public int _drawitem(SHARK2.keymon.com.mx.b4xbreadcrumb __ref,int _left,String _text,boolean _first,boolean _last,int _clr,int _strokecolor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "drawitem", true)) + {return ((Integer) Debug.delegate(ba, "drawitem", new Object[] {_left,_text,_first,_last,_clr,_strokecolor}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +int _itemwidth = 0; +int _itemheight = 0; +int _baseline = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; +RDebugUtils.currentLine=59310080; + //BA.debugLineNum = 59310080;BA.debugLine="Private Sub DrawItem(Left As Int, Text As String,"; +RDebugUtils.currentLine=59310081; + //BA.debugLineNum = 59310081;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=59310082; + //BA.debugLineNum = 59310082;BA.debugLine="Dim ItemWidth As Int = r.Width + 30dip"; +_itemwidth = (int) (_r.getWidth()+__c.DipToCurrent((int) (30))); +RDebugUtils.currentLine=59310083; + //BA.debugLineNum = 59310083;BA.debugLine="Dim ItemHeight As Int = cvs.TargetRect.Height"; +_itemheight = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()); +RDebugUtils.currentLine=59310084; + //BA.debugLineNum = 59310084;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=59310085; + //BA.debugLineNum = 59310085;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=59310086; + //BA.debugLineNum = 59310086;BA.debugLine="p.Initialize(Left, 0)"; +_p.Initialize((float) (_left),(float) (0)); +RDebugUtils.currentLine=59310087; + //BA.debugLineNum = 59310087;BA.debugLine="p.LineTo(Left + ItemWidth, 0)"; +_p.LineTo((float) (_left+_itemwidth),(float) (0)); +RDebugUtils.currentLine=59310088; + //BA.debugLineNum = 59310088;BA.debugLine="If Last = False Then"; +if (_last==__c.False) { +RDebugUtils.currentLine=59310089; + //BA.debugLineNum = 59310089;BA.debugLine="p.LineTo(Left + ItemWidth + offset, ItemHeight /"; +_p.LineTo((float) (_left+_itemwidth+__ref._offset /*int*/ ),(float) (_itemheight/(double)2)); + }; +RDebugUtils.currentLine=59310091; + //BA.debugLineNum = 59310091;BA.debugLine="p.LineTo(Left + ItemWidth, ItemHeight)"; +_p.LineTo((float) (_left+_itemwidth),(float) (_itemheight)); +RDebugUtils.currentLine=59310092; + //BA.debugLineNum = 59310092;BA.debugLine="If First = False Then"; +if (_first==__c.False) { +RDebugUtils.currentLine=59310093; + //BA.debugLineNum = 59310093;BA.debugLine="p.LineTo(Left - offset, ItemHeight)"; +_p.LineTo((float) (_left-__ref._offset /*int*/ ),(float) (_itemheight)); +RDebugUtils.currentLine=59310094; + //BA.debugLineNum = 59310094;BA.debugLine="p.LineTo(Left, ItemHeight / 2)"; +_p.LineTo((float) (_left),(float) (_itemheight/(double)2)); +RDebugUtils.currentLine=59310095; + //BA.debugLineNum = 59310095;BA.debugLine="p.LineTo(Left - offset, 0)"; +_p.LineTo((float) (_left-__ref._offset /*int*/ ),(float) (0)); + }else { +RDebugUtils.currentLine=59310097; + //BA.debugLineNum = 59310097;BA.debugLine="p.LineTo(Left, ItemHeight)"; +_p.LineTo((float) (_left),(float) (_itemheight)); + }; +RDebugUtils.currentLine=59310099; + //BA.debugLineNum = 59310099;BA.debugLine="p.LineTo(Left, 0)"; +_p.LineTo((float) (_left),(float) (0)); +RDebugUtils.currentLine=59310100; + //BA.debugLineNum = 59310100;BA.debugLine="cvs.DrawPath(p, clr, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,_clr,__c.True,(float) (0)); +RDebugUtils.currentLine=59310101; + //BA.debugLineNum = 59310101;BA.debugLine="If strokeColor <> 0 Then"; +if (_strokecolor!=0) { +RDebugUtils.currentLine=59310102; + //BA.debugLineNum = 59310102;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=59310105; + //BA.debugLineNum = 59310105;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=59310106; + //BA.debugLineNum = 59310106;BA.debugLine="Return ItemWidth"; +if (true) return _itemwidth; +RDebugUtils.currentLine=59310107; + //BA.debugLineNum = 59310107;BA.debugLine="End Sub"; +return 0; +} +public int _finditem(SHARK2.keymon.com.mx.b4xbreadcrumb __ref,int _x,int _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "finditem", true)) + {return ((Integer) Debug.delegate(ba, "finditem", new Object[] {_x,_y}));} +int _r = 0; +int _i = 0; +RDebugUtils.currentLine=59441152; + //BA.debugLineNum = 59441152;BA.debugLine="Private Sub FindItem (x As Int, y As Int) As Int"; +RDebugUtils.currentLine=59441153; + //BA.debugLineNum = 59441153;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=59441154; + //BA.debugLineNum = 59441154;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=59441155; + //BA.debugLineNum = 59441155;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=59441156; + //BA.debugLineNum = 59441156;BA.debugLine="If x > r Then Return -1"; +if (_x>_r) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=59441157; + //BA.debugLineNum = 59441157;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=59441158; + //BA.debugLineNum = 59441158;BA.debugLine="Dim r As Int = RightPositions.Get(i)"; +_r = (int)(BA.ObjectToNumber(__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i))); +RDebugUtils.currentLine=59441159; + //BA.debugLineNum = 59441159;BA.debugLine="If x > r Then Return i + 1"; +if (_x>_r) { +if (true) return (int) (_i+1);}; + } +}; +RDebugUtils.currentLine=59441161; + //BA.debugLineNum = 59441161;BA.debugLine="Return 0"; +if (true) return (int) (0); +RDebugUtils.currentLine=59441162; + //BA.debugLineNum = 59441162;BA.debugLine="End Sub"; +return 0; +} +public anywheresoftware.b4a.objects.collections.List _getitems(SHARK2.keymon.com.mx.b4xbreadcrumb __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "getitems", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getitems", null));} +RDebugUtils.currentLine=59572224; + //BA.debugLineNum = 59572224;BA.debugLine="Public Sub getItems As List"; +RDebugUtils.currentLine=59572225; + //BA.debugLineNum = 59572225;BA.debugLine="Return mItems"; +if (true) return __ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=59572226; + //BA.debugLineNum = 59572226;BA.debugLine="End Sub"; +return null; +} +public String _initialize(SHARK2.keymon.com.mx.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=59047936; + //BA.debugLineNum = 59047936;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=59047937; + //BA.debugLineNum = 59047937;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=59047938; + //BA.debugLineNum = 59047938;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=59047939; + //BA.debugLineNum = 59047939;BA.debugLine="mItems.Initialize"; +__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=59047940; + //BA.debugLineNum = 59047940;BA.debugLine="RightPositions.Initialize"; +__ref._rightpositions /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=59047941; + //BA.debugLineNum = 59047941;BA.debugLine="bc.Initialize(1, 1)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (1),(int) (1)); +RDebugUtils.currentLine=59047942; + //BA.debugLineNum = 59047942;BA.debugLine="End Sub"; +return ""; +} +public String _setitems(SHARK2.keymon.com.mx.b4xbreadcrumb __ref,anywheresoftware.b4a.objects.collections.List _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "setitems", true)) + {return ((String) Debug.delegate(ba, "setitems", new Object[] {_i}));} +RDebugUtils.currentLine=59506688; + //BA.debugLineNum = 59506688;BA.debugLine="Public Sub setItems (i As List)"; +RDebugUtils.currentLine=59506689; + //BA.debugLineNum = 59506689;BA.debugLine="mItems = i"; +__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ = _i; +RDebugUtils.currentLine=59506690; + //BA.debugLineNum = 59506690;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=59506691; + //BA.debugLineNum = 59506691;BA.debugLine="End Sub"; +return ""; +} +public String _touch_touch(SHARK2.keymon.com.mx.b4xbreadcrumb __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbreadcrumb"; +if (Debug.shouldDelegate(ba, "touch_touch", true)) + {return ((String) Debug.delegate(ba, "touch_touch", new Object[] {_action,_x,_y}));} +int _prev = 0; +int _index = 0; +anywheresoftware.b4a.objects.collections.List _items = null; +int _i = 0; +RDebugUtils.currentLine=59375616; + //BA.debugLineNum = 59375616;BA.debugLine="Private Sub Touch_Touch (Action As Int, X As Float"; +RDebugUtils.currentLine=59375617; + //BA.debugLineNum = 59375617;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=59375619; + //BA.debugLineNum = 59375619;BA.debugLine="Dim prev As Int = PressedItem"; +_prev = __ref._presseditem /*int*/ ; +RDebugUtils.currentLine=59375620; + //BA.debugLineNum = 59375620;BA.debugLine="PressedItem = FindItem(X, Y)"; +__ref._presseditem /*int*/ = __ref._finditem /*int*/ (null,(int) (_x),(int) (_y)); +RDebugUtils.currentLine=59375621; + //BA.debugLineNum = 59375621;BA.debugLine="If prev <> PressedItem Then Draw"; +if (_prev!=__ref._presseditem /*int*/ ) { +__ref._draw /*String*/ (null);}; + break; } +case 2: { +RDebugUtils.currentLine=59375623; + //BA.debugLineNum = 59375623;BA.debugLine="Dim index As Int = FindItem(X, Y)"; +_index = __ref._finditem /*int*/ (null,(int) (_x),(int) (_y)); +RDebugUtils.currentLine=59375624; + //BA.debugLineNum = 59375624;BA.debugLine="If index = PressedItem And index > -1 Then"; +if (_index==__ref._presseditem /*int*/ && _index>-1) { +RDebugUtils.currentLine=59375625; + //BA.debugLineNum = 59375625;BA.debugLine="Dim Items As List"; +_items = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=59375626; + //BA.debugLineNum = 59375626;BA.debugLine="Items.Initialize"; +_items.Initialize(); +RDebugUtils.currentLine=59375627; + //BA.debugLineNum = 59375627;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=59375628; + //BA.debugLineNum = 59375628;BA.debugLine="Items.Add(mItems.Get(i))"; +_items.Add(__ref._mitems /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)); + } +}; +RDebugUtils.currentLine=59375630; + //BA.debugLineNum = 59375630;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=59375631; + //BA.debugLineNum = 59375631;BA.debugLine="CallSub2(mCallBack, mEventName & \"_CrumbClick\""; +__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_CrumbClick",(Object)(_items)); + }; +RDebugUtils.currentLine=59375633; + //BA.debugLineNum = 59375633;BA.debugLine="PressedItem = -1"; +__ref._presseditem /*int*/ = (int) (-1); +RDebugUtils.currentLine=59375634; + //BA.debugLineNum = 59375634;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); + break; } +} +; +RDebugUtils.currentLine=59375636; + //BA.debugLineNum = 59375636;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xbytesbuilder.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xbytesbuilder.java new file mode 100644 index 0000000..1646bad --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xbytesbuilder.java @@ -0,0 +1,423 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xbytesbuilder"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public SHARK2.keymon.com.mx.b4xbytesbuilder _append(SHARK2.keymon.com.mx.b4xbytesbuilder __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "append", true)) + {return ((SHARK2.keymon.com.mx.b4xbytesbuilder) Debug.delegate(ba, "append", new Object[] {_data}));} +RDebugUtils.currentLine=47775744; + //BA.debugLineNum = 47775744;BA.debugLine="Public Sub Append(Data() As Byte) As B4XBytesBuild"; +RDebugUtils.currentLine=47775745; + //BA.debugLineNum = 47775745;BA.debugLine="Return Append2(Data, 0, Data.Length)"; +if (true) return __ref._append2 /*SHARK2.keymon.com.mx.b4xbytesbuilder*/ (null,_data,(int) (0),_data.length); +RDebugUtils.currentLine=47775746; + //BA.debugLineNum = 47775746;BA.debugLine="End Sub"; +return null; +} +public SHARK2.keymon.com.mx.b4xbytesbuilder _append2(SHARK2.keymon.com.mx.b4xbytesbuilder __ref,byte[] _data,int _startindex,int _length) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "append2", true)) + {return ((SHARK2.keymon.com.mx.b4xbytesbuilder) Debug.delegate(ba, "append2", new Object[] {_data,_startindex,_length}));} +int _oldlength = 0; +RDebugUtils.currentLine=47841280; + //BA.debugLineNum = 47841280;BA.debugLine="Public Sub Append2(Data() As Byte, StartIndex As I"; +RDebugUtils.currentLine=47841281; + //BA.debugLineNum = 47841281;BA.debugLine="Dim OldLength As Int = ChangeLength(mLength + Len"; +_oldlength = __ref._changelength /*int*/ (null,(int) (__ref._mlength /*int*/ +_length)); +RDebugUtils.currentLine=47841282; + //BA.debugLineNum = 47841282;BA.debugLine="Bit.ArrayCopy(Data, StartIndex, mBuffer, OldLengt"; +__c.Bit.ArrayCopy((Object)(_data),_startindex,(Object)(__ref._mbuffer /*byte[]*/ ),_oldlength,_length); +RDebugUtils.currentLine=47841283; + //BA.debugLineNum = 47841283;BA.debugLine="Return Me"; +if (true) return (SHARK2.keymon.com.mx.b4xbytesbuilder)(this); +RDebugUtils.currentLine=47841284; + //BA.debugLineNum = 47841284;BA.debugLine="End Sub"; +return null; +} +public int _changelength(SHARK2.keymon.com.mx.b4xbytesbuilder __ref,int _newlength) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "changelength", true)) + {return ((Integer) Debug.delegate(ba, "changelength", new Object[] {_newlength}));} +int _oldlength = 0; +byte[] _b = null; +RDebugUtils.currentLine=47710208; + //BA.debugLineNum = 47710208;BA.debugLine="Private Sub ChangeLength (NewLength As Int) As Int"; +RDebugUtils.currentLine=47710209; + //BA.debugLineNum = 47710209;BA.debugLine="Dim OldLength As Int = mLength"; +_oldlength = __ref._mlength /*int*/ ; +RDebugUtils.currentLine=47710210; + //BA.debugLineNum = 47710210;BA.debugLine="mLength = NewLength"; +__ref._mlength /*int*/ = _newlength; +RDebugUtils.currentLine=47710211; + //BA.debugLineNum = 47710211;BA.debugLine="If mBuffer.Length < mLength Then"; +if (__ref._mbuffer /*byte[]*/ .length<__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=47710212; + //BA.debugLineNum = 47710212;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=47710213; + //BA.debugLineNum = 47710213;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=47710214; + //BA.debugLineNum = 47710214;BA.debugLine="mBuffer = b"; +__ref._mbuffer /*byte[]*/ = _b; + }; +RDebugUtils.currentLine=47710216; + //BA.debugLineNum = 47710216;BA.debugLine="Return OldLength"; +if (true) return _oldlength; +RDebugUtils.currentLine=47710217; + //BA.debugLineNum = 47710217;BA.debugLine="End Sub"; +return 0; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +RDebugUtils.currentLine=47579136; + //BA.debugLineNum = 47579136;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=47579137; + //BA.debugLineNum = 47579137;BA.debugLine="Private mBuffer() As Byte"; +_mbuffer = new byte[(int) (0)]; +; +RDebugUtils.currentLine=47579138; + //BA.debugLineNum = 47579138;BA.debugLine="Private mLength As Int"; +_mlength = 0; +RDebugUtils.currentLine=47579139; + //BA.debugLineNum = 47579139;BA.debugLine="End Sub"; +return ""; +} +public String _clear(SHARK2.keymon.com.mx.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=47906816; + //BA.debugLineNum = 47906816;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=47906817; + //BA.debugLineNum = 47906817;BA.debugLine="ChangeLength(0)"; +__ref._changelength /*int*/ (null,(int) (0)); +RDebugUtils.currentLine=47906818; + //BA.debugLineNum = 47906818;BA.debugLine="End Sub"; +return ""; +} +public byte[] _getbuffer(SHARK2.keymon.com.mx.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "getbuffer", true)) + {return ((byte[]) Debug.delegate(ba, "getbuffer", null));} +RDebugUtils.currentLine=48431104; + //BA.debugLineNum = 48431104;BA.debugLine="Private Sub getBuffer As Byte() 'ignore"; +RDebugUtils.currentLine=48431105; + //BA.debugLineNum = 48431105;BA.debugLine="End Sub"; +return null; +} +public byte[] _getinternalbuffer(SHARK2.keymon.com.mx.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "getinternalbuffer", true)) + {return ((byte[]) Debug.delegate(ba, "getinternalbuffer", null));} +RDebugUtils.currentLine=48627712; + //BA.debugLineNum = 48627712;BA.debugLine="Public Sub getInternalBuffer As Byte()"; +RDebugUtils.currentLine=48627713; + //BA.debugLineNum = 48627713;BA.debugLine="Return mBuffer"; +if (true) return __ref._mbuffer /*byte[]*/ ; +RDebugUtils.currentLine=48627714; + //BA.debugLineNum = 48627714;BA.debugLine="End Sub"; +return null; +} +public int _getlength(SHARK2.keymon.com.mx.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "getlength", true)) + {return ((Integer) Debug.delegate(ba, "getlength", null));} +RDebugUtils.currentLine=48300032; + //BA.debugLineNum = 48300032;BA.debugLine="Public Sub getLength As Int"; +RDebugUtils.currentLine=48300033; + //BA.debugLineNum = 48300033;BA.debugLine="Return mLength"; +if (true) return __ref._mlength /*int*/ ; +RDebugUtils.currentLine=48300034; + //BA.debugLineNum = 48300034;BA.debugLine="End Sub"; +return 0; +} +public int _indexof(SHARK2.keymon.com.mx.b4xbytesbuilder __ref,byte[] _searchfor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "indexof", true)) + {return ((Integer) Debug.delegate(ba, "indexof", new Object[] {_searchfor}));} +RDebugUtils.currentLine=48496640; + //BA.debugLineNum = 48496640;BA.debugLine="Public Sub IndexOf(SearchFor() As Byte) As Int"; +RDebugUtils.currentLine=48496641; + //BA.debugLineNum = 48496641;BA.debugLine="Return IndexOf2(SearchFor, 0)"; +if (true) return __ref._indexof2 /*int*/ (null,_searchfor,(int) (0)); +RDebugUtils.currentLine=48496642; + //BA.debugLineNum = 48496642;BA.debugLine="End Sub"; +return 0; +} +public int _indexof2(SHARK2.keymon.com.mx.b4xbytesbuilder __ref,byte[] _searchfor,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "indexof2", true)) + {return ((Integer) Debug.delegate(ba, "indexof2", new Object[] {_searchfor,_index}));} +int _i1 = 0; +int _i2 = 0; +RDebugUtils.currentLine=48562176; + //BA.debugLineNum = 48562176;BA.debugLine="Public Sub IndexOf2(SearchFor() As Byte, Index As"; +RDebugUtils.currentLine=48562177; + //BA.debugLineNum = 48562177;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=48562178; + //BA.debugLineNum = 48562178;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=48562179; + //BA.debugLineNum = 48562179;BA.debugLine="If SearchFor(i2) <> mBuffer(i1 + i2) Then"; +if (_searchfor[_i2]!=__ref._mbuffer /*byte[]*/ [(int) (_i1+_i2)]) { +RDebugUtils.currentLine=48562180; + //BA.debugLineNum = 48562180;BA.debugLine="Exit"; +if (true) break; + }; + } +}; +RDebugUtils.currentLine=48562183; + //BA.debugLineNum = 48562183;BA.debugLine="If i2 = SearchFor.Length Then"; +if (_i2==_searchfor.length) { +RDebugUtils.currentLine=48562184; + //BA.debugLineNum = 48562184;BA.debugLine="Return i1"; +if (true) return _i1; + }; + } +}; +RDebugUtils.currentLine=48562187; + //BA.debugLineNum = 48562187;BA.debugLine="Return -1"; +if (true) return (int) (-1); +RDebugUtils.currentLine=48562188; + //BA.debugLineNum = 48562188;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(SHARK2.keymon.com.mx.b4xbytesbuilder __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=47644672; + //BA.debugLineNum = 47644672;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=47644673; + //BA.debugLineNum = 47644673;BA.debugLine="Dim mBuffer(100) As Byte"; +_mbuffer = new byte[(int) (100)]; +; +RDebugUtils.currentLine=47644674; + //BA.debugLineNum = 47644674;BA.debugLine="mLength = 0"; +__ref._mlength /*int*/ = (int) (0); +RDebugUtils.currentLine=47644675; + //BA.debugLineNum = 47644675;BA.debugLine="End Sub"; +return ""; +} +public String _insert(SHARK2.keymon.com.mx.b4xbytesbuilder __ref,int _index,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "insert", true)) + {return ((String) Debug.delegate(ba, "insert", new Object[] {_index,_data}));} +byte[] _afterindex = null; +RDebugUtils.currentLine=47972352; + //BA.debugLineNum = 47972352;BA.debugLine="Public Sub Insert(Index As Int, Data() As Byte)"; +RDebugUtils.currentLine=47972353; + //BA.debugLineNum = 47972353;BA.debugLine="If Index >= mLength Then"; +if (_index>=__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=47972354; + //BA.debugLineNum = 47972354;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; +if (_index>__ref._mlength /*int*/ ) { +__c.LogImpl("947972354","Index too large",0);}; +RDebugUtils.currentLine=47972355; + //BA.debugLineNum = 47972355;BA.debugLine="Append(Data)"; +__ref._append /*SHARK2.keymon.com.mx.b4xbytesbuilder*/ (null,_data); + }else { +RDebugUtils.currentLine=47972357; + //BA.debugLineNum = 47972357;BA.debugLine="Dim AfterIndex() As Byte = SubArray(Index)"; +_afterindex = __ref._subarray /*byte[]*/ (null,_index); +RDebugUtils.currentLine=47972358; + //BA.debugLineNum = 47972358;BA.debugLine="ChangeLength(mLength + Data.Length)"; +__ref._changelength /*int*/ (null,(int) (__ref._mlength /*int*/ +_data.length)); +RDebugUtils.currentLine=47972359; + //BA.debugLineNum = 47972359;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=47972360; + //BA.debugLineNum = 47972360;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=47972362; + //BA.debugLineNum = 47972362;BA.debugLine="End Sub"; +return ""; +} +public byte[] _subarray(SHARK2.keymon.com.mx.b4xbytesbuilder __ref,int _beginindex) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "subarray", true)) + {return ((byte[]) Debug.delegate(ba, "subarray", new Object[] {_beginindex}));} +RDebugUtils.currentLine=48168960; + //BA.debugLineNum = 48168960;BA.debugLine="Public Sub SubArray(BeginIndex As Int) As Byte()"; +RDebugUtils.currentLine=48168961; + //BA.debugLineNum = 48168961;BA.debugLine="Return SubArray2(BeginIndex, mLength)"; +if (true) return __ref._subarray2 /*byte[]*/ (null,_beginindex,__ref._mlength /*int*/ ); +RDebugUtils.currentLine=48168962; + //BA.debugLineNum = 48168962;BA.debugLine="End Sub"; +return null; +} +public byte[] _remove(SHARK2.keymon.com.mx.b4xbytesbuilder __ref,int _beginindex,int _endindex) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "remove", true)) + {return ((byte[]) Debug.delegate(ba, "remove", new Object[] {_beginindex,_endindex}));} +byte[] _res = null; +byte[] _afterendindex = null; +RDebugUtils.currentLine=48103424; + //BA.debugLineNum = 48103424;BA.debugLine="Public Sub Remove(BeginIndex As Int, EndIndex As I"; +RDebugUtils.currentLine=48103425; + //BA.debugLineNum = 48103425;BA.debugLine="Dim res() As Byte = SubArray2(BeginIndex, EndInde"; +_res = __ref._subarray2 /*byte[]*/ (null,_beginindex,_endindex); +RDebugUtils.currentLine=48103426; + //BA.debugLineNum = 48103426;BA.debugLine="If EndIndex <= mLength Then"; +if (_endindex<=__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=48103427; + //BA.debugLineNum = 48103427;BA.debugLine="Dim AfterEndIndex() As Byte = SubArray(EndIndex)"; +_afterendindex = __ref._subarray /*byte[]*/ (null,_endindex); +RDebugUtils.currentLine=48103428; + //BA.debugLineNum = 48103428;BA.debugLine="Bit.ArrayCopy(AfterEndIndex, 0, mBuffer, BeginIn"; +__c.Bit.ArrayCopy((Object)(_afterendindex),(int) (0),(Object)(__ref._mbuffer /*byte[]*/ ),_beginindex,_afterendindex.length); + }; +RDebugUtils.currentLine=48103430; + //BA.debugLineNum = 48103430;BA.debugLine="ChangeLength(mLength - (EndIndex - BeginIndex))"; +__ref._changelength /*int*/ (null,(int) (__ref._mlength /*int*/ -(_endindex-_beginindex))); +RDebugUtils.currentLine=48103431; + //BA.debugLineNum = 48103431;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=48103432; + //BA.debugLineNum = 48103432;BA.debugLine="End Sub"; +return null; +} +public byte[] _subarray2(SHARK2.keymon.com.mx.b4xbytesbuilder __ref,int _beginindex,int _endindex) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "subarray2", true)) + {return ((byte[]) Debug.delegate(ba, "subarray2", new Object[] {_beginindex,_endindex}));} +byte[] _b = null; +RDebugUtils.currentLine=48234496; + //BA.debugLineNum = 48234496;BA.debugLine="Public Sub SubArray2(BeginIndex As Int, EndIndex A"; +RDebugUtils.currentLine=48234497; + //BA.debugLineNum = 48234497;BA.debugLine="Dim b(EndIndex - BeginIndex) As Byte"; +_b = new byte[(int) (_endindex-_beginindex)]; +; +RDebugUtils.currentLine=48234498; + //BA.debugLineNum = 48234498;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=48234499; + //BA.debugLineNum = 48234499;BA.debugLine="Return b"; +if (true) return _b; +RDebugUtils.currentLine=48234500; + //BA.debugLineNum = 48234500;BA.debugLine="End Sub"; +return null; +} +public String _set(SHARK2.keymon.com.mx.b4xbytesbuilder __ref,int _index,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "set", true)) + {return ((String) Debug.delegate(ba, "set", new Object[] {_index,_data}));} +RDebugUtils.currentLine=48037888; + //BA.debugLineNum = 48037888;BA.debugLine="Public Sub Set(Index As Int, Data() As Byte)"; +RDebugUtils.currentLine=48037889; + //BA.debugLineNum = 48037889;BA.debugLine="If Index >= mLength Then"; +if (_index>=__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=48037890; + //BA.debugLineNum = 48037890;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; +if (_index>__ref._mlength /*int*/ ) { +__c.LogImpl("948037890","Index too large",0);}; +RDebugUtils.currentLine=48037891; + //BA.debugLineNum = 48037891;BA.debugLine="Append(Data)"; +__ref._append /*SHARK2.keymon.com.mx.b4xbytesbuilder*/ (null,_data); + }else { +RDebugUtils.currentLine=48037893; + //BA.debugLineNum = 48037893;BA.debugLine="If Data.Length + Index > mLength Then"; +if (_data.length+_index>__ref._mlength /*int*/ ) { +RDebugUtils.currentLine=48037894; + //BA.debugLineNum = 48037894;BA.debugLine="ChangeLength(Data.Length + Index)"; +__ref._changelength /*int*/ (null,(int) (_data.length+_index)); + }; +RDebugUtils.currentLine=48037896; + //BA.debugLineNum = 48037896;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=48037898; + //BA.debugLineNum = 48037898;BA.debugLine="End Sub"; +return ""; +} +public byte[] _toarray(SHARK2.keymon.com.mx.b4xbytesbuilder __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xbytesbuilder"; +if (Debug.shouldDelegate(ba, "toarray", true)) + {return ((byte[]) Debug.delegate(ba, "toarray", null));} +RDebugUtils.currentLine=48365568; + //BA.debugLineNum = 48365568;BA.debugLine="Public Sub ToArray() As Byte()"; +RDebugUtils.currentLine=48365569; + //BA.debugLineNum = 48365569;BA.debugLine="Return SubArray(0)"; +if (true) return __ref._subarray /*byte[]*/ (null,(int) (0)); +RDebugUtils.currentLine=48365570; + //BA.debugLineNum = 48365570;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcache.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcache.java new file mode 100644 index 0000000..fe7491e --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcache.java @@ -0,0 +1,414 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xcache"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.b4xorderedmap _data = null; +public int _mmaxsize = 0; +public float _removethreshold = 0f; +public int _eternalcounts = 0; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _class_globals(SHARK2.keymon.com.mx.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +RDebugUtils.currentLine=48693248; + //BA.debugLineNum = 48693248;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=48693249; + //BA.debugLineNum = 48693249;BA.debugLine="Type B4XCacheItem (Value As Object, LastAccessedT"; +; +RDebugUtils.currentLine=48693250; + //BA.debugLineNum = 48693250;BA.debugLine="Private Data As B4XOrderedMap"; +_data = new SHARK2.keymon.com.mx.b4xorderedmap(); +RDebugUtils.currentLine=48693251; + //BA.debugLineNum = 48693251;BA.debugLine="Private mMaxSize As Int = 100"; +_mmaxsize = (int) (100); +RDebugUtils.currentLine=48693252; + //BA.debugLineNum = 48693252;BA.debugLine="Private RemoveThreshold As Float = 0.3"; +_removethreshold = (float) (0.3); +RDebugUtils.currentLine=48693253; + //BA.debugLineNum = 48693253;BA.debugLine="Private EternalCounts As Int"; +_eternalcounts = 0; +RDebugUtils.currentLine=48693254; + //BA.debugLineNum = 48693254;BA.debugLine="End Sub"; +return ""; +} +public boolean _containskey(SHARK2.keymon.com.mx.b4xcache __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "containskey", true)) + {return ((Boolean) Debug.delegate(ba, "containskey", new Object[] {_key}));} +RDebugUtils.currentLine=49283072; + //BA.debugLineNum = 49283072;BA.debugLine="Public Sub ContainsKey(Key As String) As Boolean"; +RDebugUtils.currentLine=49283073; + //BA.debugLineNum = 49283073;BA.debugLine="Return Data.ContainsKey(Key)"; +if (true) return __ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._containskey /*boolean*/ (null,(Object)(_key)); +RDebugUtils.currentLine=49283074; + //BA.debugLineNum = 49283074;BA.debugLine="End Sub"; +return false; +} +public SHARK2.keymon.com.mx.b4xcache._b4xcacheitem _createb4xcacheitem(SHARK2.keymon.com.mx.b4xcache __ref,Object _value,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "createb4xcacheitem", true)) + {return ((SHARK2.keymon.com.mx.b4xcache._b4xcacheitem) Debug.delegate(ba, "createb4xcacheitem", new Object[] {_value,_key}));} +SHARK2.keymon.com.mx.b4xcache._b4xcacheitem _t1 = null; +RDebugUtils.currentLine=49610752; + //BA.debugLineNum = 49610752;BA.debugLine="Private Sub CreateB4XCacheItem (Value As Object, K"; +RDebugUtils.currentLine=49610753; + //BA.debugLineNum = 49610753;BA.debugLine="Dim t1 As B4XCacheItem"; +_t1 = new SHARK2.keymon.com.mx.b4xcache._b4xcacheitem(); +RDebugUtils.currentLine=49610754; + //BA.debugLineNum = 49610754;BA.debugLine="t1.Initialize"; +_t1.Initialize(); +RDebugUtils.currentLine=49610755; + //BA.debugLineNum = 49610755;BA.debugLine="t1.Value = Value"; +_t1.Value /*Object*/ = _value; +RDebugUtils.currentLine=49610756; + //BA.debugLineNum = 49610756;BA.debugLine="t1.LastAccessedTime = DateTime.Now"; +_t1.LastAccessedTime /*long*/ = __c.DateTime.getNow(); +RDebugUtils.currentLine=49610757; + //BA.debugLineNum = 49610757;BA.debugLine="t1.Key = Key"; +_t1.Key /*String*/ = _key; +RDebugUtils.currentLine=49610758; + //BA.debugLineNum = 49610758;BA.debugLine="Return t1"; +if (true) return _t1; +RDebugUtils.currentLine=49610759; + //BA.debugLineNum = 49610759;BA.debugLine="End Sub"; +return null; +} +public Object _get(SHARK2.keymon.com.mx.b4xcache __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "get", true)) + {return ((Object) Debug.delegate(ba, "get", new Object[] {_key}));} +SHARK2.keymon.com.mx.b4xcache._b4xcacheitem _ci = null; +RDebugUtils.currentLine=48955392; + //BA.debugLineNum = 48955392;BA.debugLine="Public Sub Get (Key As String) As Object"; +RDebugUtils.currentLine=48955393; + //BA.debugLineNum = 48955393;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; +_ci = (SHARK2.keymon.com.mx.b4xcache._b4xcacheitem)(__ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_key))); +RDebugUtils.currentLine=48955394; + //BA.debugLineNum = 48955394;BA.debugLine="If ci <> Null Then"; +if (_ci!= null) { +RDebugUtils.currentLine=48955395; + //BA.debugLineNum = 48955395;BA.debugLine="If ci.Eternal = False Then ci.LastAccessedTime ="; +if (_ci.Eternal /*boolean*/ ==__c.False) { +_ci.LastAccessedTime /*long*/ = __c.DateTime.getNow();}; +RDebugUtils.currentLine=48955396; + //BA.debugLineNum = 48955396;BA.debugLine="Return ci.Value"; +if (true) return _ci.Value /*Object*/ ; + }; +RDebugUtils.currentLine=48955398; + //BA.debugLineNum = 48955398;BA.debugLine="Return Null"; +if (true) return __c.Null; +RDebugUtils.currentLine=48955399; + //BA.debugLineNum = 48955399;BA.debugLine="End Sub"; +return null; +} +public int _getmaxsize(SHARK2.keymon.com.mx.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "getmaxsize", true)) + {return ((Integer) Debug.delegate(ba, "getmaxsize", null));} +RDebugUtils.currentLine=48889856; + //BA.debugLineNum = 48889856;BA.debugLine="Public Sub getMaxSize As Int"; +RDebugUtils.currentLine=48889857; + //BA.debugLineNum = 48889857;BA.debugLine="Return mMaxSize"; +if (true) return __ref._mmaxsize /*int*/ ; +RDebugUtils.currentLine=48889858; + //BA.debugLineNum = 48889858;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(SHARK2.keymon.com.mx.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=48758784; + //BA.debugLineNum = 48758784;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=48758785; + //BA.debugLineNum = 48758785;BA.debugLine="Data.Initialize"; +__ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=48758786; + //BA.debugLineNum = 48758786;BA.debugLine="End Sub"; +return ""; +} +public boolean _iseternal(SHARK2.keymon.com.mx.b4xcache __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "iseternal", true)) + {return ((Boolean) Debug.delegate(ba, "iseternal", new Object[] {_key}));} +SHARK2.keymon.com.mx.b4xcache._b4xcacheitem _ci = null; +RDebugUtils.currentLine=49217536; + //BA.debugLineNum = 49217536;BA.debugLine="Private Sub IsEternal(Key As String) As Boolean"; +RDebugUtils.currentLine=49217537; + //BA.debugLineNum = 49217537;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; +_ci = (SHARK2.keymon.com.mx.b4xcache._b4xcacheitem)(__ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_key))); +RDebugUtils.currentLine=49217538; + //BA.debugLineNum = 49217538;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=49217539; + //BA.debugLineNum = 49217539;BA.debugLine="End Sub"; +return false; +} +public anywheresoftware.b4a.objects.collections.List _keys(SHARK2.keymon.com.mx.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "keys", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "keys", null));} +RDebugUtils.currentLine=49545216; + //BA.debugLineNum = 49545216;BA.debugLine="Public Sub Keys As List"; +RDebugUtils.currentLine=49545217; + //BA.debugLineNum = 49545217;BA.debugLine="Return Data.Keys"; +if (true) return __ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=49545218; + //BA.debugLineNum = 49545218;BA.debugLine="End Sub"; +return null; +} +public Object _put(SHARK2.keymon.com.mx.b4xcache __ref,String _key,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "put", true)) + {return ((Object) Debug.delegate(ba, "put", new Object[] {_key,_value}));} +RDebugUtils.currentLine=49020928; + //BA.debugLineNum = 49020928;BA.debugLine="Public Sub Put (Key As String, Value As Object) As"; +RDebugUtils.currentLine=49020929; + //BA.debugLineNum = 49020929;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +if (__ref._iseternal /*boolean*/ (null,_key)) { +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ -1);}; +RDebugUtils.currentLine=49020930; + //BA.debugLineNum = 49020930;BA.debugLine="Data.Put(Key, CreateB4XCacheItem(Value, Key))"; +__ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_key),(Object)(__ref._createb4xcacheitem /*SHARK2.keymon.com.mx.b4xcache._b4xcacheitem*/ (null,_value,_key))); +RDebugUtils.currentLine=49020931; + //BA.debugLineNum = 49020931;BA.debugLine="TrimIfOversize"; +__ref._trimifoversize /*String*/ (null); +RDebugUtils.currentLine=49020932; + //BA.debugLineNum = 49020932;BA.debugLine="Return Value"; +if (true) return _value; +RDebugUtils.currentLine=49020933; + //BA.debugLineNum = 49020933;BA.debugLine="End Sub"; +return null; +} +public String _trimifoversize(SHARK2.keymon.com.mx.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "trimifoversize", true)) + {return ((String) Debug.delegate(ba, "trimifoversize", null));} +anywheresoftware.b4a.objects.collections.List _values = null; +int _numberofitemstoremove = 0; +int _i = 0; +RDebugUtils.currentLine=49348608; + //BA.debugLineNum = 49348608;BA.debugLine="Private Sub TrimIfOversize"; +RDebugUtils.currentLine=49348609; + //BA.debugLineNum = 49348609;BA.debugLine="If Data.Size - EternalCounts > mMaxSize Then"; +if (__ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._getsize /*int*/ (null)-__ref._eternalcounts /*int*/ >__ref._mmaxsize /*int*/ ) { +RDebugUtils.currentLine=49348610; + //BA.debugLineNum = 49348610;BA.debugLine="Dim values As List = Data.Values"; +_values = new anywheresoftware.b4a.objects.collections.List(); +_values = __ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=49348611; + //BA.debugLineNum = 49348611;BA.debugLine="values.SortType(\"LastAccessedTime\", True)"; +_values.SortType("LastAccessedTime",__c.True); +RDebugUtils.currentLine=49348612; + //BA.debugLineNum = 49348612;BA.debugLine="Dim NumberOfItemsToRemove As Int = Ceil(mMaxSize"; +_numberofitemstoremove = (int) (__c.Ceil(__ref._mmaxsize /*int*/ *__ref._removethreshold /*float*/ )); +RDebugUtils.currentLine=49348613; + //BA.debugLineNum = 49348613;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=49348614; + //BA.debugLineNum = 49348614;BA.debugLine="Data.Remove(values.Get(i).As(B4XCacheItem).Key)"; +__ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._remove /*String*/ (null,(Object)(((SHARK2.keymon.com.mx.b4xcache._b4xcacheitem)(_values.Get(_i))).Key /*String*/ )); + } +}; + }; +RDebugUtils.currentLine=49348617; + //BA.debugLineNum = 49348617;BA.debugLine="End Sub"; +return ""; +} +public Object _puteternal(SHARK2.keymon.com.mx.b4xcache __ref,String _key,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "puteternal", true)) + {return ((Object) Debug.delegate(ba, "puteternal", new Object[] {_key,_value}));} +SHARK2.keymon.com.mx.b4xcache._b4xcacheitem _ci = null; +RDebugUtils.currentLine=49086464; + //BA.debugLineNum = 49086464;BA.debugLine="Public Sub PutEternal (Key As String, Value As Obj"; +RDebugUtils.currentLine=49086465; + //BA.debugLineNum = 49086465;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +if (__ref._iseternal /*boolean*/ (null,_key)) { +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ -1);}; +RDebugUtils.currentLine=49086466; + //BA.debugLineNum = 49086466;BA.debugLine="Dim ci As B4XCacheItem = CreateB4XCacheItem(Value"; +_ci = __ref._createb4xcacheitem /*SHARK2.keymon.com.mx.b4xcache._b4xcacheitem*/ (null,_value,_key); +RDebugUtils.currentLine=49086467; + //BA.debugLineNum = 49086467;BA.debugLine="ci.Eternal = True"; +_ci.Eternal /*boolean*/ = __c.True; +RDebugUtils.currentLine=49086468; + //BA.debugLineNum = 49086468;BA.debugLine="ci.LastAccessedTime = 9223372036854775807"; +_ci.LastAccessedTime /*long*/ = (long) (9223372036854775807L); +RDebugUtils.currentLine=49086469; + //BA.debugLineNum = 49086469;BA.debugLine="EternalCounts = EternalCounts + 1"; +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ +1); +RDebugUtils.currentLine=49086470; + //BA.debugLineNum = 49086470;BA.debugLine="Data.Put(Key, ci)"; +__ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_key),(Object)(_ci)); +RDebugUtils.currentLine=49086471; + //BA.debugLineNum = 49086471;BA.debugLine="Return Value"; +if (true) return _value; +RDebugUtils.currentLine=49086472; + //BA.debugLineNum = 49086472;BA.debugLine="End Sub"; +return null; +} +public String _remove(SHARK2.keymon.com.mx.b4xcache __ref,String _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "remove", true)) + {return ((String) Debug.delegate(ba, "remove", new Object[] {_key}));} +RDebugUtils.currentLine=49152000; + //BA.debugLineNum = 49152000;BA.debugLine="Public Sub Remove (Key As String)"; +RDebugUtils.currentLine=49152001; + //BA.debugLineNum = 49152001;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; +if (__ref._iseternal /*boolean*/ (null,_key)) { +__ref._eternalcounts /*int*/ = (int) (__ref._eternalcounts /*int*/ -1);}; +RDebugUtils.currentLine=49152002; + //BA.debugLineNum = 49152002;BA.debugLine="Data.Remove(Key)"; +__ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._remove /*String*/ (null,(Object)(_key)); +RDebugUtils.currentLine=49152003; + //BA.debugLineNum = 49152003;BA.debugLine="End Sub"; +return ""; +} +public String _removeolditems(SHARK2.keymon.com.mx.b4xcache __ref,long _agems) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "removeolditems", true)) + {return ((String) Debug.delegate(ba, "removeolditems", new Object[] {_agems}));} +anywheresoftware.b4a.objects.collections.List _values = null; +long _level = 0L; +SHARK2.keymon.com.mx.b4xcache._b4xcacheitem _ci = null; +RDebugUtils.currentLine=49414144; + //BA.debugLineNum = 49414144;BA.debugLine="Public Sub RemoveOldItems (AgeMs As Long)"; +RDebugUtils.currentLine=49414145; + //BA.debugLineNum = 49414145;BA.debugLine="Dim values As List = Data.Values"; +_values = new anywheresoftware.b4a.objects.collections.List(); +_values = __ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=49414146; + //BA.debugLineNum = 49414146;BA.debugLine="Dim level As Long = DateTime.Now - AgeMs"; +_level = (long) (__c.DateTime.getNow()-_agems); +RDebugUtils.currentLine=49414147; + //BA.debugLineNum = 49414147;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 = (SHARK2.keymon.com.mx.b4xcache._b4xcacheitem)(group3.Get(index3)); +RDebugUtils.currentLine=49414148; + //BA.debugLineNum = 49414148;BA.debugLine="If ci.LastAccessedTime <= level Then"; +if (_ci.LastAccessedTime /*long*/ <=_level) { +RDebugUtils.currentLine=49414149; + //BA.debugLineNum = 49414149;BA.debugLine="Data.Remove(ci.Key)"; +__ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._remove /*String*/ (null,(Object)(_ci.Key /*String*/ )); + }; + } +}; +RDebugUtils.currentLine=49414152; + //BA.debugLineNum = 49414152;BA.debugLine="End Sub"; +return ""; +} +public String _setmaxsize(SHARK2.keymon.com.mx.b4xcache __ref,int _s) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "setmaxsize", true)) + {return ((String) Debug.delegate(ba, "setmaxsize", new Object[] {_s}));} +RDebugUtils.currentLine=48824320; + //BA.debugLineNum = 48824320;BA.debugLine="Public Sub setMaxSize(s As Int)"; +RDebugUtils.currentLine=48824321; + //BA.debugLineNum = 48824321;BA.debugLine="mMaxSize = s"; +__ref._mmaxsize /*int*/ = _s; +RDebugUtils.currentLine=48824322; + //BA.debugLineNum = 48824322;BA.debugLine="TrimIfOversize"; +__ref._trimifoversize /*String*/ (null); +RDebugUtils.currentLine=48824323; + //BA.debugLineNum = 48824323;BA.debugLine="End Sub"; +return ""; +} +public int _size(SHARK2.keymon.com.mx.b4xcache __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcache"; +if (Debug.shouldDelegate(ba, "size", true)) + {return ((Integer) Debug.delegate(ba, "size", null));} +RDebugUtils.currentLine=49479680; + //BA.debugLineNum = 49479680;BA.debugLine="Public Sub Size As Int"; +RDebugUtils.currentLine=49479681; + //BA.debugLineNum = 49479681;BA.debugLine="Return Data.Size"; +if (true) return __ref._data /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._getsize /*int*/ (null); +RDebugUtils.currentLine=49479682; + //BA.debugLineNum = 49479682;BA.debugLine="End Sub"; +return 0; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcollections.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcollections.java new file mode 100644 index 0000000..b743129 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcollections.java @@ -0,0 +1,151 @@ +package SHARK2.keymon.com.mx; + + +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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static SHARK2.keymon.com.mx.b4xset _createset(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createset", true)) + {return ((SHARK2.keymon.com.mx.b4xset) Debug.delegate(null, "createset", new Object[] {_ba}));} +RDebugUtils.currentLine=49741824; + //BA.debugLineNum = 49741824;BA.debugLine="Public Sub CreateSet As B4XSet"; +RDebugUtils.currentLine=49741825; + //BA.debugLineNum = 49741825;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=49741826; + //BA.debugLineNum = 49741826;BA.debugLine="End Sub"; +return null; +} +public static SHARK2.keymon.com.mx.b4xbitset _createbitset(anywheresoftware.b4a.BA _ba,int _size) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createbitset", true)) + {return ((SHARK2.keymon.com.mx.b4xbitset) Debug.delegate(null, "createbitset", new Object[] {_ba,_size}));} +SHARK2.keymon.com.mx.b4xbitset _s = null; +RDebugUtils.currentLine=50003968; + //BA.debugLineNum = 50003968;BA.debugLine="Public Sub CreateBitSet (Size As Int) As B4XBitSet"; +RDebugUtils.currentLine=50003969; + //BA.debugLineNum = 50003969;BA.debugLine="Dim s As B4XBitSet"; +_s = new SHARK2.keymon.com.mx.b4xbitset(); +RDebugUtils.currentLine=50003970; + //BA.debugLineNum = 50003970;BA.debugLine="s.Initialize(Size)"; +_s._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA),_size); +RDebugUtils.currentLine=50003971; + //BA.debugLineNum = 50003971;BA.debugLine="Return s"; +if (true) return _s; +RDebugUtils.currentLine=50003972; + //BA.debugLineNum = 50003972;BA.debugLine="End Sub"; +return null; +} +public static SHARK2.keymon.com.mx.b4xorderedmap _createorderedmap(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createorderedmap", true)) + {return ((SHARK2.keymon.com.mx.b4xorderedmap) Debug.delegate(null, "createorderedmap", new Object[] {_ba}));} +RDebugUtils.currentLine=49872896; + //BA.debugLineNum = 49872896;BA.debugLine="Public Sub CreateOrderedMap As B4XOrderedMap"; +RDebugUtils.currentLine=49872897; + //BA.debugLineNum = 49872897;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=49872898; + //BA.debugLineNum = 49872898;BA.debugLine="End Sub"; +return null; +} +public static SHARK2.keymon.com.mx.b4xorderedmap _createorderedmap2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.List _keys,anywheresoftware.b4a.objects.collections.List _values) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createorderedmap2", true)) + {return ((SHARK2.keymon.com.mx.b4xorderedmap) Debug.delegate(null, "createorderedmap2", new Object[] {_ba,_keys,_values}));} +SHARK2.keymon.com.mx.b4xorderedmap _m = null; +int _i = 0; +RDebugUtils.currentLine=49938432; + //BA.debugLineNum = 49938432;BA.debugLine="Public Sub CreateOrderedMap2 (Keys As List, Values"; +RDebugUtils.currentLine=49938433; + //BA.debugLineNum = 49938433;BA.debugLine="Dim m As B4XOrderedMap"; +_m = new SHARK2.keymon.com.mx.b4xorderedmap(); +RDebugUtils.currentLine=49938434; + //BA.debugLineNum = 49938434;BA.debugLine="m.Initialize"; +_m._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA)); +RDebugUtils.currentLine=49938435; + //BA.debugLineNum = 49938435;BA.debugLine="If Keys <> Null And Values <> Null And Keys.IsIni"; +if (_keys!= null && _values!= null && _keys.IsInitialized() && _values.IsInitialized()) { +RDebugUtils.currentLine=49938436; + //BA.debugLineNum = 49938436;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=49938437; + //BA.debugLineNum = 49938437;BA.debugLine="m.Put(Keys.Get(i), Values.Get(i))"; +_m._put /*String*/ (null,_keys.Get(_i),_values.Get(_i)); + } +}; + }; +RDebugUtils.currentLine=49938440; + //BA.debugLineNum = 49938440;BA.debugLine="Return m"; +if (true) return _m; +RDebugUtils.currentLine=49938441; + //BA.debugLineNum = 49938441;BA.debugLine="End Sub"; +return null; +} +public static SHARK2.keymon.com.mx.b4xset _createset2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.List _values) throws Exception{ +RDebugUtils.currentModule="b4xcollections"; +if (Debug.shouldDelegate(null, "createset2", true)) + {return ((SHARK2.keymon.com.mx.b4xset) Debug.delegate(null, "createset2", new Object[] {_ba,_values}));} +SHARK2.keymon.com.mx.b4xset _s = null; +Object _v = null; +RDebugUtils.currentLine=49807360; + //BA.debugLineNum = 49807360;BA.debugLine="Public Sub CreateSet2 (Values As List) As B4XSet"; +RDebugUtils.currentLine=49807361; + //BA.debugLineNum = 49807361;BA.debugLine="Dim s As B4XSet"; +_s = new SHARK2.keymon.com.mx.b4xset(); +RDebugUtils.currentLine=49807362; + //BA.debugLineNum = 49807362;BA.debugLine="s.Initialize"; +_s._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA)); +RDebugUtils.currentLine=49807363; + //BA.debugLineNum = 49807363;BA.debugLine="If Values <> Null And Values.IsInitialized Then"; +if (_values!= null && _values.IsInitialized()) { +RDebugUtils.currentLine=49807364; + //BA.debugLineNum = 49807364;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=49807365; + //BA.debugLineNum = 49807365;BA.debugLine="s.Add(v)"; +_s._add /*String*/ (null,_v); + } +}; + }; +RDebugUtils.currentLine=49807368; + //BA.debugLineNum = 49807368;BA.debugLine="Return s"; +if (true) return _s; +RDebugUtils.currentLine=49807369; + //BA.debugLineNum = 49807369;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcolortemplate.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcolortemplate.java new file mode 100644 index 0000000..7d95050 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcolortemplate.java @@ -0,0 +1,1020 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xcolortemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart _huebar = null; +public SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart _colorpicker = null; +public SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart _alphabar = null; +public int _borderscolor = 0; +public SHARK2.keymon.com.mx.b4xdialog _xdialog = null; +public Object[] _initialcolor = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _alpha_touch(SHARK2.keymon.com.mx.b4xcolortemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "alpha_touch", true)) + {return ((String) Debug.delegate(ba, "alpha_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=61145088; + //BA.debugLineNum = 61145088;BA.debugLine="Private Sub Alpha_Touch (Action As Int, X As Float"; +RDebugUtils.currentLine=61145089; + //BA.debugLineNum = 61145089;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=61145090; + //BA.debugLineNum = 61145090;BA.debugLine="AlphaBarSelectedChange(x)"; +__ref._alphabarselectedchange /*String*/ (null,_x); +RDebugUtils.currentLine=61145091; + //BA.debugLineNum = 61145091;BA.debugLine="End Sub"; +return ""; +} +public String _alphabarselectedchange(SHARK2.keymon.com.mx.b4xcolortemplate __ref,float _x) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "alphabarselectedchange", true)) + {return ((String) Debug.delegate(ba, "alphabarselectedchange", new Object[] {_x}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +RDebugUtils.currentLine=60227584; + //BA.debugLineNum = 60227584;BA.debugLine="Private Sub AlphaBarSelectedChange(x As Float)"; +RDebugUtils.currentLine=60227585; + //BA.debugLineNum = 60227585;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 /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); +RDebugUtils.currentLine=60227586; + //BA.debugLineNum = 60227586;BA.debugLine="x = SelectedAlpha / 255 * AlphaBar.pnl.Width"; +_x = (float) (__ref._selectedalpha /*int*/ /(double)255*__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=60227587; + //BA.debugLineNum = 60227587;BA.debugLine="AlphaBar.cvs.ClearRect(AlphaBar.cvs.TargetRect)"; +__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=60227588; + //BA.debugLineNum = 60227588;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=60227589; + //BA.debugLineNum = 60227589;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 /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-__c.DipToCurrent((int) (1)))); +RDebugUtils.currentLine=60227590; + //BA.debugLineNum = 60227590;BA.debugLine="AlphaBar.cvs.DrawRect(r, xui.Color_Black, True, 2"; +__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black,__c.True,(float) (__c.DipToCurrent((int) (2)))); +RDebugUtils.currentLine=60227591; + //BA.debugLineNum = 60227591;BA.debugLine="AlphaBar.cvs.Invalidate"; +__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=60227592; + //BA.debugLineNum = 60227592;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=60227593; + //BA.debugLineNum = 60227593;BA.debugLine="End Sub"; +return ""; +} +public String _update(SHARK2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +RDebugUtils.currentLine=60293120; + //BA.debugLineNum = 60293120;BA.debugLine="Private Sub Update"; +RDebugUtils.currentLine=60293121; + //BA.debugLineNum = 60293121;BA.debugLine="DrawColors"; +__ref._drawcolors /*String*/ (null); +RDebugUtils.currentLine=60293122; + //BA.debugLineNum = 60293122;BA.debugLine="HandleSelectedColorChanged(DONT_CHANGE, DONT_CHAN"; +__ref._handleselectedcolorchanged /*String*/ (null,__ref._dont_change /*int*/ ,__ref._dont_change /*int*/ ); +RDebugUtils.currentLine=60293123; + //BA.debugLineNum = 60293123;BA.debugLine="End Sub"; +return ""; +} +public String _base_resize(SHARK2.keymon.com.mx.b4xcolortemplate __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +int _r = 0; +int _w = 0; +SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart _cpp = null; +int _i = 0; +RDebugUtils.currentLine=59834368; + //BA.debugLineNum = 59834368;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=59834370; + //BA.debugLineNum = 59834370;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=59834371; + //BA.debugLineNum = 59834371;BA.debugLine="HueBar.pnl.SetLayoutAnimated(0, 1dip, 1dip, 30dip"; +__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (30)),(int) (_height-__c.DipToCurrent((int) (2)))); +RDebugUtils.currentLine=59834372; + //BA.debugLineNum = 59834372;BA.debugLine="Dim r As Int = HueBar.pnl.Width + HueBar.pnl.Left"; +_r = (int) (__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()+__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getLeft()+__c.DipToCurrent((int) (1))); +RDebugUtils.currentLine=59834373; + //BA.debugLineNum = 59834373;BA.debugLine="Dim w As Int = Width - r - 1dip"; +_w = (int) (_width-_r-__c.DipToCurrent((int) (1))); +RDebugUtils.currentLine=59834374; + //BA.debugLineNum = 59834374;BA.debugLine="If xui.IsB4i Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { +RDebugUtils.currentLine=59834375; + //BA.debugLineNum = 59834375;BA.debugLine="r = r - 1"; +_r = (int) (_r-1); +RDebugUtils.currentLine=59834376; + //BA.debugLineNum = 59834376;BA.debugLine="w = w + 1"; +_w = (int) (_w+1); + }; +RDebugUtils.currentLine=59834378; + //BA.debugLineNum = 59834378;BA.debugLine="AlphaBar.pnl.SetLayoutAnimated(0, r, Height - 31d"; +__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,(int) (_height-__c.DipToCurrent((int) (31))),_w,__c.DipToCurrent((int) (30))); +RDebugUtils.currentLine=59834379; + //BA.debugLineNum = 59834379;BA.debugLine="ColorPicker.pnl.SetLayoutAnimated(0, r, 1dip, w,"; +__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,__c.DipToCurrent((int) (1)),_w,(int) (_height-__c.DipToCurrent((int) (3))-__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=59834380; + //BA.debugLineNum = 59834380;BA.debugLine="bcColors.Initialize(ColorPicker.pnl.Width / Color"; +__ref._bccolors /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._colorscale /*float*/ ),(int) (__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._colorscale /*float*/ )); +RDebugUtils.currentLine=59834381; + //BA.debugLineNum = 59834381;BA.debugLine="For Each cpp As ColorPickerPart In Array(HueBar,"; +{ +final Object[] group12 = new Object[]{(Object)(__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ ),(Object)(__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ ),(Object)(__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ )}; +final int groupLen12 = group12.length +;int index12 = 0; +; +for (; index12 < groupLen12;index12++){ +_cpp = (SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart)(group12[index12]); +RDebugUtils.currentLine=59834382; + //BA.debugLineNum = 59834382;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=59834383; + //BA.debugLineNum = 59834383;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=59834385; + //BA.debugLineNum = 59834385;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=59834386; + //BA.debugLineNum = 59834386;BA.debugLine="If cpp.DrawCheckers Then"; +if (_cpp.DrawCheckers /*boolean*/ ) { +RDebugUtils.currentLine=59834387; + //BA.debugLineNum = 59834387;BA.debugLine="DrawCheckers(cpp)"; +__ref._drawcheckers /*String*/ (null,_cpp); + }; + } +}; +RDebugUtils.currentLine=59834390; + //BA.debugLineNum = 59834390;BA.debugLine="DrawHueBar"; +__ref._drawhuebar /*String*/ (null); +RDebugUtils.currentLine=59834391; + //BA.debugLineNum = 59834391;BA.debugLine="DrawAlphaBar"; +__ref._drawalphabar /*String*/ (null); +RDebugUtils.currentLine=59834392; + //BA.debugLineNum = 59834392;BA.debugLine="HueBarSelectedChanged (selectedH / 360 * HueBar.p"; +__ref._huebarselectedchanged /*String*/ (null,(float) (__ref._selectedh /*float*/ /(double)360*__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=59834393; + //BA.debugLineNum = 59834393;BA.debugLine="AlphaBarSelectedChange (SelectedAlpha / 255 * Alp"; +__ref._alphabarselectedchange /*String*/ (null,(float) (__ref._selectedalpha /*int*/ /(double)255*__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); +RDebugUtils.currentLine=59834394; + //BA.debugLineNum = 59834394;BA.debugLine="End Sub"; +return ""; +} +public String _drawcheckers(SHARK2.keymon.com.mx.b4xcolortemplate __ref,SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart _cpp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "drawcheckers", true)) + {return ((String) Debug.delegate(ba, "drawcheckers", new Object[] {_cpp}));} +int _size = 0; +int[] _clrs = null; +int _clr = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +int _x = 0; +int _xx = 0; +int _y = 0; +RDebugUtils.currentLine=59899904; + //BA.debugLineNum = 59899904;BA.debugLine="Private Sub DrawCheckers (cpp As ColorPickerPart)"; +RDebugUtils.currentLine=59899905; + //BA.debugLineNum = 59899905;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=59899906; + //BA.debugLineNum = 59899906;BA.debugLine="cpp.checkersCanvas.ClearRect(cpp.checkersCanvas.T"; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=59899907; + //BA.debugLineNum = 59899907;BA.debugLine="Dim size As Int = 10dip"; +_size = __c.DipToCurrent((int) (10)); +RDebugUtils.currentLine=59899908; + //BA.debugLineNum = 59899908;BA.debugLine="Dim clrs() As Int = Array As Int(0xFFC0C0C0, 0xFF"; +_clrs = new int[]{((int)0xffc0c0c0),((int)0xff757575)}; +RDebugUtils.currentLine=59899909; + //BA.debugLineNum = 59899909;BA.debugLine="Dim clr As Int = 0"; +_clr = (int) (0); +RDebugUtils.currentLine=59899910; + //BA.debugLineNum = 59899910;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=59899911; + //BA.debugLineNum = 59899911;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=59899912; + //BA.debugLineNum = 59899912;BA.debugLine="Dim xx As Int = x / size"; +_xx = (int) (_x/(double)_size); +RDebugUtils.currentLine=59899913; + //BA.debugLineNum = 59899913;BA.debugLine="clr = xx Mod 2"; +_clr = (int) (_xx%2); +RDebugUtils.currentLine=59899914; + //BA.debugLineNum = 59899914;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=59899915; + //BA.debugLineNum = 59899915;BA.debugLine="clr = (clr + 1) Mod 2"; +_clr = (int) ((_clr+1)%2); +RDebugUtils.currentLine=59899916; + //BA.debugLineNum = 59899916;BA.debugLine="r.Initialize(x, y, x + size, y + size)"; +_r.Initialize((float) (_x),(float) (_y),(float) (_x+_size),(float) (_y+_size)); +RDebugUtils.currentLine=59899917; + //BA.debugLineNum = 59899917;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=59899920; + //BA.debugLineNum = 59899920;BA.debugLine="cpp.checkersCanvas.Invalidate"; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=59899921; + //BA.debugLineNum = 59899921;BA.debugLine="End Sub"; +return ""; +} +public String _drawhuebar(SHARK2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "drawhuebar", true)) + {return ((String) Debug.delegate(ba, "drawhuebar", null));} +b4a.example.bitmapcreator _bchue = null; +int _y = 0; +int _x = 0; +RDebugUtils.currentLine=59965440; + //BA.debugLineNum = 59965440;BA.debugLine="Private Sub DrawHueBar"; +RDebugUtils.currentLine=59965441; + //BA.debugLineNum = 59965441;BA.debugLine="Dim bcHue As BitmapCreator"; +_bchue = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=59965442; + //BA.debugLineNum = 59965442;BA.debugLine="bcHue.Initialize(HueBar.pnl.Width / DeviceScale,"; +_bchue._initialize(ba,(int) (__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._devicescale /*float*/ ),(int) (__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._devicescale /*float*/ )); +RDebugUtils.currentLine=59965443; + //BA.debugLineNum = 59965443;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=59965444; + //BA.debugLineNum = 59965444;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=59965445; + //BA.debugLineNum = 59965445;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=59965448; + //BA.debugLineNum = 59965448;BA.debugLine="HueBar.iv.SetBitmap(bcHue.Bitmap)"; +__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bchue._getbitmap().getObject())); +RDebugUtils.currentLine=59965449; + //BA.debugLineNum = 59965449;BA.debugLine="End Sub"; +return ""; +} +public String _drawalphabar(SHARK2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "drawalphabar", true)) + {return ((String) Debug.delegate(ba, "drawalphabar", null));} +b4a.example.bitmapcreator _bc = null; +b4a.example.bitmapcreator._argbcolor _argb = null; +int _y = 0; +int _x = 0; +RDebugUtils.currentLine=60030976; + //BA.debugLineNum = 60030976;BA.debugLine="Private Sub DrawAlphaBar"; +RDebugUtils.currentLine=60030977; + //BA.debugLineNum = 60030977;BA.debugLine="Dim bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=60030978; + //BA.debugLineNum = 60030978;BA.debugLine="bc.Initialize(AlphaBar.pnl.Width / DeviceScale, A"; +_bc._initialize(ba,(int) (__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)__ref._devicescale /*float*/ ),(int) (__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)__ref._devicescale /*float*/ )); +RDebugUtils.currentLine=60030979; + //BA.debugLineNum = 60030979;BA.debugLine="Dim argb As ARGBColor"; +_argb = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=60030980; + //BA.debugLineNum = 60030980;BA.debugLine="argb.r = 0xcc"; +_argb.r = ((int)0xcc); +RDebugUtils.currentLine=60030981; + //BA.debugLineNum = 60030981;BA.debugLine="argb.g = 0xcc"; +_argb.g = ((int)0xcc); +RDebugUtils.currentLine=60030982; + //BA.debugLineNum = 60030982;BA.debugLine="argb.b = 0xcc"; +_argb.b = ((int)0xcc); +RDebugUtils.currentLine=60030984; + //BA.debugLineNum = 60030984;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=60030985; + //BA.debugLineNum = 60030985;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=60030986; + //BA.debugLineNum = 60030986;BA.debugLine="argb.a = x / bc.mWidth * 255"; +_argb.a = (int) (_x/(double)_bc._mwidth*255); +RDebugUtils.currentLine=60030987; + //BA.debugLineNum = 60030987;BA.debugLine="bc.SetARGB(x, y, argb)"; +_bc._setargb(_x,_y,_argb); + } +}; + } +}; +RDebugUtils.currentLine=60030990; + //BA.debugLineNum = 60030990;BA.debugLine="AlphaBar.iv.SetBitmap(bc.Bitmap)"; +__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bc._getbitmap().getObject())); +RDebugUtils.currentLine=60030991; + //BA.debugLineNum = 60030991;BA.debugLine="End Sub"; +return ""; +} +public String _huebarselectedchanged(SHARK2.keymon.com.mx.b4xcolortemplate __ref,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "huebarselectedchanged", true)) + {return ((String) Debug.delegate(ba, "huebarselectedchanged", new Object[] {_y}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +RDebugUtils.currentLine=60162048; + //BA.debugLineNum = 60162048;BA.debugLine="Private Sub HueBarSelectedChanged (y As Float)"; +RDebugUtils.currentLine=60162049; + //BA.debugLineNum = 60162049;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 /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); +RDebugUtils.currentLine=60162050; + //BA.debugLineNum = 60162050;BA.debugLine="y = selectedH * HueBar.pnl.Height / 360"; +_y = (float) (__ref._selectedh /*float*/ *__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)360); +RDebugUtils.currentLine=60162051; + //BA.debugLineNum = 60162051;BA.debugLine="HueBar.cvs.ClearRect(HueBar.cvs.TargetRect)"; +__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=60162052; + //BA.debugLineNum = 60162052;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=60162053; + //BA.debugLineNum = 60162053;BA.debugLine="r.Initialize(0, y - 3dip, HueBar.cvs.TargetRect.R"; +_r.Initialize((float) (0),(float) (_y-__c.DipToCurrent((int) (3))),__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getRight(),(float) (_y+__c.DipToCurrent((int) (3)))); +RDebugUtils.currentLine=60162054; + //BA.debugLineNum = 60162054;BA.debugLine="HueBar.cvs.DrawRect(r, xui.Color_White, False, 2d"; +__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White,__c.False,(float) (__c.DipToCurrent((int) (2)))); +RDebugUtils.currentLine=60162055; + //BA.debugLineNum = 60162055;BA.debugLine="HueBar.cvs.Invalidate"; +__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=60162056; + //BA.debugLineNum = 60162056;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=60162057; + //BA.debugLineNum = 60162057;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +RDebugUtils.currentLine=59637760; + //BA.debugLineNum = 59637760;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=59637761; + //BA.debugLineNum = 59637761;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=59637762; + //BA.debugLineNum = 59637762;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=59637763; + //BA.debugLineNum = 59637763;BA.debugLine="Private SelectedAlpha As Int = 255"; +_selectedalpha = (int) (255); +RDebugUtils.currentLine=59637764; + //BA.debugLineNum = 59637764;BA.debugLine="Private bcColors As BitmapCreator"; +_bccolors = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=59637765; + //BA.debugLineNum = 59637765;BA.debugLine="Private selectedH = 60, selectedS = 0.5, selected"; +_selectedh = (float) (60); +_selecteds = (float) (0.5); +_selectedv = (float) (0.5); +RDebugUtils.currentLine=59637766; + //BA.debugLineNum = 59637766;BA.debugLine="Private DeviceScale, ColorScale As Float"; +_devicescale = 0f; +_colorscale = 0f; +RDebugUtils.currentLine=59637767; + //BA.debugLineNum = 59637767;BA.debugLine="Private tempBC As BitmapCreator"; +_tempbc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=59637768; + //BA.debugLineNum = 59637768;BA.debugLine="Private const DONT_CHANGE As Int = -999999999"; +_dont_change = (int) (-999999999); +RDebugUtils.currentLine=59637769; + //BA.debugLineNum = 59637769;BA.debugLine="Type ColorPickerPart (cvs As B4XCanvas, pnl As B4"; +; +RDebugUtils.currentLine=59637770; + //BA.debugLineNum = 59637770;BA.debugLine="Private HueBar, ColorPicker, AlphaBar As ColorPic"; +_huebar = new SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart(); +_colorpicker = new SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart(); +_alphabar = new SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart(); +RDebugUtils.currentLine=59637771; + //BA.debugLineNum = 59637771;BA.debugLine="Private BordersColor As Int"; +_borderscolor = 0; +RDebugUtils.currentLine=59637772; + //BA.debugLineNum = 59637772;BA.debugLine="Private xDialog As B4XDialog"; +_xdialog = new SHARK2.keymon.com.mx.b4xdialog(); +RDebugUtils.currentLine=59637773; + //BA.debugLineNum = 59637773;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=59637774; + //BA.debugLineNum = 59637774;BA.debugLine="End Sub"; +return ""; +} +public String _colors_touch(SHARK2.keymon.com.mx.b4xcolortemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "colors_touch", true)) + {return ((String) Debug.delegate(ba, "colors_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=61014016; + //BA.debugLineNum = 61014016;BA.debugLine="Private Sub Colors_Touch (Action As Int, X As Floa"; +RDebugUtils.currentLine=61014017; + //BA.debugLineNum = 61014017;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=61014018; + //BA.debugLineNum = 61014018;BA.debugLine="HandleSelectedColorChanged(X, Y)"; +__ref._handleselectedcolorchanged /*String*/ (null,(int) (_x),(int) (_y)); +RDebugUtils.currentLine=61014019; + //BA.debugLineNum = 61014019;BA.debugLine="End Sub"; +return ""; +} +public String _handleselectedcolorchanged(SHARK2.keymon.com.mx.b4xcolortemplate __ref,int _x,int _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "handleselectedcolorchanged", true)) + {return ((String) Debug.delegate(ba, "handleselectedcolorchanged", new Object[] {_x,_y}));} +RDebugUtils.currentLine=60358656; + //BA.debugLineNum = 60358656;BA.debugLine="Private Sub HandleSelectedColorChanged (x As Int,"; +RDebugUtils.currentLine=60358657; + //BA.debugLineNum = 60358657;BA.debugLine="If x <> DONT_CHANGE Then"; +if (_x!=__ref._dont_change /*int*/ ) { +RDebugUtils.currentLine=60358658; + //BA.debugLineNum = 60358658;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 /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); +RDebugUtils.currentLine=60358659; + //BA.debugLineNum = 60358659;BA.debugLine="selectedV = Max(0, Min(1, (ColorPicker.pnl.Heigh"; +__ref._selectedv /*float*/ = (float) (__c.Max(0,__c.Min(1,(__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-_y)/(double)__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); + }; +RDebugUtils.currentLine=60358661; + //BA.debugLineNum = 60358661;BA.debugLine="ColorPicker.cvs.ClearRect(ColorPicker.cvs.TargetR"; +__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=60358662; + //BA.debugLineNum = 60358662;BA.debugLine="ColorPicker.cvs.DrawCircle(selectedS * ColorPicke"; +__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (__ref._selecteds /*float*/ *__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-__ref._selectedv /*float*/ *__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()),(float) (__c.DipToCurrent((int) (10))),__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White,__c.False,(float) (__c.DipToCurrent((int) (2)))); +RDebugUtils.currentLine=60358664; + //BA.debugLineNum = 60358664;BA.debugLine="ColorPicker.cvs.Invalidate"; +__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=60358665; + //BA.debugLineNum = 60358665;BA.debugLine="UpdateBarColor"; +__ref._updatebarcolor /*String*/ (null); +RDebugUtils.currentLine=60358666; + //BA.debugLineNum = 60358666;BA.debugLine="End Sub"; +return ""; +} +public Object[] _colortohsv(SHARK2.keymon.com.mx.b4xcolortemplate __ref,int _clr) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "colortohsv", true)) + {return ((Object[]) Debug.delegate(ba, "colortohsv", new Object[] {_clr}));} +int _a = 0; +int _r = 0; +int _g = 0; +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=60686336; + //BA.debugLineNum = 60686336;BA.debugLine="Public Sub ColorToHSV(clr As Int) As Object()"; +RDebugUtils.currentLine=60686337; + //BA.debugLineNum = 60686337;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=60686338; + //BA.debugLineNum = 60686338;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=60686339; + //BA.debugLineNum = 60686339;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=60686340; + //BA.debugLineNum = 60686340;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=60686341; + //BA.debugLineNum = 60686341;BA.debugLine="Dim h, s, v As Float"; +_h = 0f; +_s = 0f; +_v = 0f; +RDebugUtils.currentLine=60686342; + //BA.debugLineNum = 60686342;BA.debugLine="Dim cmax As Int = Max(Max(r, g), b)"; +_cmax = (int) (__c.Max(__c.Max(_r,_g),_b)); +RDebugUtils.currentLine=60686343; + //BA.debugLineNum = 60686343;BA.debugLine="Dim cmin As Int = Min(Min(r, g), b)"; +_cmin = (int) (__c.Min(__c.Min(_r,_g),_b)); +RDebugUtils.currentLine=60686344; + //BA.debugLineNum = 60686344;BA.debugLine="v = cmax / 255"; +_v = (float) (_cmax/(double)255); +RDebugUtils.currentLine=60686345; + //BA.debugLineNum = 60686345;BA.debugLine="If cmax <> 0 Then"; +if (_cmax!=0) { +RDebugUtils.currentLine=60686346; + //BA.debugLineNum = 60686346;BA.debugLine="s = (cmax - cmin) / cmax"; +_s = (float) ((_cmax-_cmin)/(double)_cmax); + }; +RDebugUtils.currentLine=60686348; + //BA.debugLineNum = 60686348;BA.debugLine="If s = 0 Then"; +if (_s==0) { +RDebugUtils.currentLine=60686349; + //BA.debugLineNum = 60686349;BA.debugLine="h = 0"; +_h = (float) (0); + }else { +RDebugUtils.currentLine=60686351; + //BA.debugLineNum = 60686351;BA.debugLine="Dim rc As Float = (cmax - r) / (cmax - cmin)"; +_rc = (float) ((_cmax-_r)/(double)(_cmax-_cmin)); +RDebugUtils.currentLine=60686352; + //BA.debugLineNum = 60686352;BA.debugLine="Dim gc As Float = (cmax - g) / (cmax - cmin)"; +_gc = (float) ((_cmax-_g)/(double)(_cmax-_cmin)); +RDebugUtils.currentLine=60686353; + //BA.debugLineNum = 60686353;BA.debugLine="Dim bc As Float = (cmax - b) / (cmax - cmin)"; +_bc = (float) ((_cmax-_b)/(double)(_cmax-_cmin)); +RDebugUtils.currentLine=60686354; + //BA.debugLineNum = 60686354;BA.debugLine="If r = cmax Then"; +if (_r==_cmax) { +RDebugUtils.currentLine=60686355; + //BA.debugLineNum = 60686355;BA.debugLine="h = bc - gc"; +_h = (float) (_bc-_gc); + }else +{RDebugUtils.currentLine=60686356; + //BA.debugLineNum = 60686356;BA.debugLine="Else If g = cmax Then"; +if (_g==_cmax) { +RDebugUtils.currentLine=60686357; + //BA.debugLineNum = 60686357;BA.debugLine="h = 2 + rc - bc"; +_h = (float) (2+_rc-_bc); + }else { +RDebugUtils.currentLine=60686359; + //BA.debugLineNum = 60686359;BA.debugLine="h = 4 + gc - rc"; +_h = (float) (4+_gc-_rc); + }} +; +RDebugUtils.currentLine=60686361; + //BA.debugLineNum = 60686361;BA.debugLine="h = h / 6"; +_h = (float) (_h/(double)6); +RDebugUtils.currentLine=60686362; + //BA.debugLineNum = 60686362;BA.debugLine="If h < 0 Then h = h + 1"; +if (_h<0) { +_h = (float) (_h+1);}; + }; +RDebugUtils.currentLine=60686364; + //BA.debugLineNum = 60686364;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=60686365; + //BA.debugLineNum = 60686365;BA.debugLine="End Sub"; +return null; +} +public SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart _createpanelforbitmapcreator(SHARK2.keymon.com.mx.b4xcolortemplate __ref,String _eventname,boolean _withcheckers) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "createpanelforbitmapcreator", true)) + {return ((SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart) Debug.delegate(ba, "createpanelforbitmapcreator", new Object[] {_eventname,_withcheckers}));} +SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart _cpp = null; +anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; +anywheresoftware.b4a.objects.B4XViewWrapper _overlay = null; +RDebugUtils.currentLine=59768832; + //BA.debugLineNum = 59768832;BA.debugLine="Private Sub CreatePanelForBitmapCreator (EventName"; +RDebugUtils.currentLine=59768833; + //BA.debugLineNum = 59768833;BA.debugLine="Dim cpp As ColorPickerPart"; +_cpp = new SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart(); +RDebugUtils.currentLine=59768834; + //BA.debugLineNum = 59768834;BA.debugLine="cpp.Initialize"; +_cpp.Initialize(); +RDebugUtils.currentLine=59768835; + //BA.debugLineNum = 59768835;BA.debugLine="cpp.pnl = xui.CreatePanel(\"\")"; +_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=59768836; + //BA.debugLineNum = 59768836;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=59768837; + //BA.debugLineNum = 59768837;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=59768838; + //BA.debugLineNum = 59768838;BA.debugLine="If WithCheckers Then"; +if (_withcheckers) { +RDebugUtils.currentLine=59768839; + //BA.debugLineNum = 59768839;BA.debugLine="cpp.checkersCanvas.Initialize(cpp.pnl)"; +_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=59768840; + //BA.debugLineNum = 59768840;BA.debugLine="cpp.DrawCheckers = True"; +_cpp.DrawCheckers /*boolean*/ = __c.True; + }; +RDebugUtils.currentLine=59768842; + //BA.debugLineNum = 59768842;BA.debugLine="Dim iv As ImageView"; +_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=59768843; + //BA.debugLineNum = 59768843;BA.debugLine="iv.Initialize(\"\")"; +_iv.Initialize(ba,""); +RDebugUtils.currentLine=59768844; + //BA.debugLineNum = 59768844;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=59768845; + //BA.debugLineNum = 59768845;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=59768846; + //BA.debugLineNum = 59768846;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=59768847; + //BA.debugLineNum = 59768847;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=59768848; + //BA.debugLineNum = 59768848;BA.debugLine="cpp.cvs.Initialize(overlay)"; +_cpp.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_overlay); +RDebugUtils.currentLine=59768849; + //BA.debugLineNum = 59768849;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=59768850; + //BA.debugLineNum = 59768850;BA.debugLine="Return cpp"; +if (true) return _cpp; +RDebugUtils.currentLine=59768851; + //BA.debugLineNum = 59768851;BA.debugLine="End Sub"; +return null; +} +public String _dialogclosed(SHARK2.keymon.com.mx.b4xcolortemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=60882944; + //BA.debugLineNum = 60882944;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +RDebugUtils.currentLine=60882945; + //BA.debugLineNum = 60882945;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; +if (_result!=__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive) { +RDebugUtils.currentLine=60882946; + //BA.debugLineNum = 60882946;BA.debugLine="setSelectedHSVColor(InitialColor)"; +__ref._setselectedhsvcolor /*String*/ (null,__ref._initialcolor /*Object[]*/ ); + }; +RDebugUtils.currentLine=60882948; + //BA.debugLineNum = 60882948;BA.debugLine="End Sub"; +return ""; +} +public String _setselectedhsvcolor(SHARK2.keymon.com.mx.b4xcolortemplate __ref,Object[] _hsv) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "setselectedhsvcolor", true)) + {return ((String) Debug.delegate(ba, "setselectedhsvcolor", new Object[] {_hsv}));} +RDebugUtils.currentLine=60620800; + //BA.debugLineNum = 60620800;BA.debugLine="Public Sub setSelectedHSVColor (HSV() As Object)"; +RDebugUtils.currentLine=60620801; + //BA.debugLineNum = 60620801;BA.debugLine="selectedH = HSV(0)"; +__ref._selectedh /*float*/ = (float)(BA.ObjectToNumber(_hsv[(int) (0)])); +RDebugUtils.currentLine=60620802; + //BA.debugLineNum = 60620802;BA.debugLine="selectedS = HSV(1)"; +__ref._selecteds /*float*/ = (float)(BA.ObjectToNumber(_hsv[(int) (1)])); +RDebugUtils.currentLine=60620803; + //BA.debugLineNum = 60620803;BA.debugLine="selectedV = HSV(2)"; +__ref._selectedv /*float*/ = (float)(BA.ObjectToNumber(_hsv[(int) (2)])); +RDebugUtils.currentLine=60620804; + //BA.debugLineNum = 60620804;BA.debugLine="SelectedAlpha = HSV(3)"; +__ref._selectedalpha /*int*/ = (int)(BA.ObjectToNumber(_hsv[(int) (3)])); +RDebugUtils.currentLine=60620805; + //BA.debugLineNum = 60620805;BA.debugLine="HueBarSelectedChanged(selectedH / 360 * HueBar.pn"; +__ref._huebarselectedchanged /*String*/ (null,(float) (__ref._selectedh /*float*/ /(double)360*__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); +RDebugUtils.currentLine=60620806; + //BA.debugLineNum = 60620806;BA.debugLine="AlphaBarSelectedChange(SelectedAlpha / 255 * Alph"; +__ref._alphabarselectedchange /*String*/ (null,(float) (__ref._selectedalpha /*int*/ /(double)255*__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); +RDebugUtils.currentLine=60620807; + //BA.debugLineNum = 60620807;BA.debugLine="End Sub"; +return ""; +} +public String _drawcolors(SHARK2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "drawcolors", true)) + {return ((String) Debug.delegate(ba, "drawcolors", null));} +int _x = 0; +int _y = 0; +RDebugUtils.currentLine=60096512; + //BA.debugLineNum = 60096512;BA.debugLine="Private Sub DrawColors"; +RDebugUtils.currentLine=60096513; + //BA.debugLineNum = 60096513;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=60096514; + //BA.debugLineNum = 60096514;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=60096515; + //BA.debugLineNum = 60096515;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=60096519; + //BA.debugLineNum = 60096519;BA.debugLine="ColorPicker.iv.SetBitmap(bcColors.Bitmap.Resize(C"; +__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(__ref._bccolors /*b4a.example.bitmapcreator*/ ._getbitmap().Resize(__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ .iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight(),__c.False).getObject())); +RDebugUtils.currentLine=60096520; + //BA.debugLineNum = 60096520;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(SHARK2.keymon.com.mx.b4xcolortemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=60751872; + //BA.debugLineNum = 60751872;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=60751873; + //BA.debugLineNum = 60751873;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=60751874; + //BA.debugLineNum = 60751874;BA.debugLine="End Sub"; +return null; +} +public int _getselectedcolor(SHARK2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "getselectedcolor", true)) + {return ((Integer) Debug.delegate(ba, "getselectedcolor", null));} +Object[] _hsv = null; +RDebugUtils.currentLine=60424192; + //BA.debugLineNum = 60424192;BA.debugLine="Public Sub getSelectedColor As Int"; +RDebugUtils.currentLine=60424193; + //BA.debugLineNum = 60424193;BA.debugLine="Dim hsv() As Object = getSelectedHSVColor"; +_hsv = __ref._getselectedhsvcolor /*Object[]*/ (null); +RDebugUtils.currentLine=60424194; + //BA.debugLineNum = 60424194;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=60424195; + //BA.debugLineNum = 60424195;BA.debugLine="Return tempBC.GetColor(0, 0)"; +if (true) return __ref._tempbc /*b4a.example.bitmapcreator*/ ._getcolor((int) (0),(int) (0)); +RDebugUtils.currentLine=60424196; + //BA.debugLineNum = 60424196;BA.debugLine="End Sub"; +return 0; +} +public Object[] _getselectedhsvcolor(SHARK2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "getselectedhsvcolor", true)) + {return ((Object[]) Debug.delegate(ba, "getselectedhsvcolor", null));} +RDebugUtils.currentLine=60555264; + //BA.debugLineNum = 60555264;BA.debugLine="Public Sub getSelectedHSVColor As Object()"; +RDebugUtils.currentLine=60555265; + //BA.debugLineNum = 60555265;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=60555266; + //BA.debugLineNum = 60555266;BA.debugLine="End Sub"; +return null; +} +public String _updatebarcolor(SHARK2.keymon.com.mx.b4xcolortemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "updatebarcolor", true)) + {return ((String) Debug.delegate(ba, "updatebarcolor", null));} +RDebugUtils.currentLine=60948480; + //BA.debugLineNum = 60948480;BA.debugLine="Private Sub UpdateBarColor"; +RDebugUtils.currentLine=60948481; + //BA.debugLineNum = 60948481;BA.debugLine="If xDialog.IsInitialized And xDialog.TitleBar.IsI"; +if (__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ .IsInitialized /*boolean*/ () && __ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ ._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=60948482; + //BA.debugLineNum = 60948482;BA.debugLine="xDialog.TitleBar.Color = getSelectedColor"; +__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ ._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._getselectedcolor /*int*/ (null)); + }; +RDebugUtils.currentLine=60948484; + //BA.debugLineNum = 60948484;BA.debugLine="End Sub"; +return ""; +} +public String _huebar_touch(SHARK2.keymon.com.mx.b4xcolortemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "huebar_touch", true)) + {return ((String) Debug.delegate(ba, "huebar_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=61079552; + //BA.debugLineNum = 61079552;BA.debugLine="Private Sub HueBar_Touch (Action As Int, X As Floa"; +RDebugUtils.currentLine=61079553; + //BA.debugLineNum = 61079553;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=61079554; + //BA.debugLineNum = 61079554;BA.debugLine="HueBarSelectedChanged(Y)"; +__ref._huebarselectedchanged /*String*/ (null,_y); +RDebugUtils.currentLine=61079555; + //BA.debugLineNum = 61079555;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.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=59703296; + //BA.debugLineNum = 59703296;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=59703297; + //BA.debugLineNum = 59703297;BA.debugLine="tempBC.Initialize(1, 1)"; +__ref._tempbc /*b4a.example.bitmapcreator*/ ._initialize(ba,(int) (1),(int) (1)); +RDebugUtils.currentLine=59703298; + //BA.debugLineNum = 59703298;BA.debugLine="DeviceScale = 100dip / 100"; +__ref._devicescale /*float*/ = (float) (__c.DipToCurrent((int) (100))/(double)100); +RDebugUtils.currentLine=59703299; + //BA.debugLineNum = 59703299;BA.debugLine="mBase = xui.CreatePanel(\"\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=59703300; + //BA.debugLineNum = 59703300;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=59703301; + //BA.debugLineNum = 59703301;BA.debugLine="BordersColor = xui.Color_Black"; +__ref._borderscolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black; +RDebugUtils.currentLine=59703302; + //BA.debugLineNum = 59703302;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=59703303; + //BA.debugLineNum = 59703303;BA.debugLine="HueBar = CreatePanelForBitmapCreator(\"hueBar\", Fa"; +__ref._huebar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ = __ref._createpanelforbitmapcreator /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ (null,"hueBar",__c.False); +RDebugUtils.currentLine=59703304; + //BA.debugLineNum = 59703304;BA.debugLine="ColorPicker = CreatePanelForBitmapCreator(\"colors"; +__ref._colorpicker /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ = __ref._createpanelforbitmapcreator /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ (null,"colors",__c.True); +RDebugUtils.currentLine=59703305; + //BA.debugLineNum = 59703305;BA.debugLine="AlphaBar = CreatePanelForBitmapCreator(\"alpha\", T"; +__ref._alphabar /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ = __ref._createpanelforbitmapcreator /*SHARK2.keymon.com.mx.b4xcolortemplate._colorpickerpart*/ (null,"alpha",__c.True); +RDebugUtils.currentLine=59703306; + //BA.debugLineNum = 59703306;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=59703307; + //BA.debugLineNum = 59703307;BA.debugLine="End Sub"; +return ""; +} +public String _setselectedcolor(SHARK2.keymon.com.mx.b4xcolortemplate __ref,int _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "setselectedcolor", true)) + {return ((String) Debug.delegate(ba, "setselectedcolor", new Object[] {_i}));} +RDebugUtils.currentLine=60489728; + //BA.debugLineNum = 60489728;BA.debugLine="Public Sub setSelectedColor(i As Int)"; +RDebugUtils.currentLine=60489729; + //BA.debugLineNum = 60489729;BA.debugLine="setSelectedHSVColor(ColorToHSV(i))"; +__ref._setselectedhsvcolor /*String*/ (null,__ref._colortohsv /*Object[]*/ (null,_i)); +RDebugUtils.currentLine=60489730; + //BA.debugLineNum = 60489730;BA.debugLine="End Sub"; +return ""; +} +public void _show(SHARK2.keymon.com.mx.b4xcolortemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xcolortemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); +rsub.resume(ba, null); +} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(SHARK2.keymon.com.mx.b4xcolortemplate parent,SHARK2.keymon.com.mx.b4xcolortemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xcolortemplate __ref; +SHARK2.keymon.com.mx.b4xcolortemplate parent; +SHARK2.keymon.com.mx.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=60817409; + //BA.debugLineNum = 60817409;BA.debugLine="InitialColor = getSelectedHSVColor"; +__ref._initialcolor /*Object[]*/ = __ref._getselectedhsvcolor /*Object[]*/ (null); +RDebugUtils.currentLine=60817410; + //BA.debugLineNum = 60817410;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=60817411; + //BA.debugLineNum = 60817411;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=60817412; + //BA.debugLineNum = 60817412;BA.debugLine="UpdateBarColor"; +__ref._updatebarcolor /*String*/ (null); +RDebugUtils.currentLine=60817413; + //BA.debugLineNum = 60817413;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcombobox.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcombobox.java new file mode 100644 index 0000000..56c3a4d --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcombobox.java @@ -0,0 +1,445 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xcombobox"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _getselecteditem(SHARK2.keymon.com.mx.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getselecteditem", true)) + {return ((String) Debug.delegate(ba, "getselecteditem", null));} +int _i = 0; +RDebugUtils.currentLine=61800448; + //BA.debugLineNum = 61800448;BA.debugLine="Public Sub getSelectedItem As String"; +RDebugUtils.currentLine=61800449; + //BA.debugLineNum = 61800449;BA.debugLine="Dim i As Int = getSelectedIndex"; +_i = __ref._getselectedindex /*int*/ (null); +RDebugUtils.currentLine=61800450; + //BA.debugLineNum = 61800450;BA.debugLine="If i = -1 Then Return \"\""; +if (_i==-1) { +if (true) return "";}; +RDebugUtils.currentLine=61800451; + //BA.debugLineNum = 61800451;BA.debugLine="Return GetItem(i)"; +if (true) return __ref._getitem /*String*/ (null,_i); +RDebugUtils.currentLine=61800452; + //BA.debugLineNum = 61800452;BA.debugLine="End Sub"; +return ""; +} +public String _setitems(SHARK2.keymon.com.mx.b4xcombobox __ref,anywheresoftware.b4a.objects.collections.List _items) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "setitems", true)) + {return ((String) Debug.delegate(ba, "setitems", new Object[] {_items}));} +RDebugUtils.currentLine=61472768; + //BA.debugLineNum = 61472768;BA.debugLine="Public Sub SetItems(Items As List)"; +RDebugUtils.currentLine=61472773; + //BA.debugLineNum = 61472773;BA.debugLine="cmbBox.Clear"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .Clear(); +RDebugUtils.currentLine=61472774; + //BA.debugLineNum = 61472774;BA.debugLine="cmbBox.AddAll(Items)"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .AddAll(_items); +RDebugUtils.currentLine=61472781; + //BA.debugLineNum = 61472781;BA.debugLine="If Items.Size > 0 Then setSelectedIndex(0)"; +if (_items.getSize()>0) { +__ref._setselectedindex /*String*/ (null,(int) (0));}; +RDebugUtils.currentLine=61472782; + //BA.debugLineNum = 61472782;BA.debugLine="End Sub"; +return ""; +} +public String _base_resize(SHARK2.keymon.com.mx.b4xcombobox __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=61407232; + //BA.debugLineNum = 61407232;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=61407233; + //BA.debugLineNum = 61407233;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=61407234; + //BA.debugLineNum = 61407234;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +RDebugUtils.currentLine=61210624; + //BA.debugLineNum = 61210624;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=61210625; + //BA.debugLineNum = 61210625;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=61210626; + //BA.debugLineNum = 61210626;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=61210627; + //BA.debugLineNum = 61210627;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=61210628; + //BA.debugLineNum = 61210628;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=61210629; + //BA.debugLineNum = 61210629;BA.debugLine="Private LastSelectedIndex As Int"; +_lastselectedindex = 0; +RDebugUtils.currentLine=61210633; + //BA.debugLineNum = 61210633;BA.debugLine="Public cmbBox As Spinner"; +_cmbbox = new anywheresoftware.b4a.objects.SpinnerWrapper(); +RDebugUtils.currentLine=61210639; + //BA.debugLineNum = 61210639;BA.debugLine="Public DelayBeforeChangeEvent As Int"; +_delaybeforechangeevent = 0; +RDebugUtils.currentLine=61210641; + //BA.debugLineNum = 61210641;BA.debugLine="Private DelayIndex As Int"; +_delayindex = 0; +RDebugUtils.currentLine=61210642; + //BA.debugLineNum = 61210642;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=61210643; + //BA.debugLineNum = 61210643;BA.debugLine="Public B4iCancelButton As String = \"Cancel\""; +_b4icancelbutton = "Cancel"; +RDebugUtils.currentLine=61210644; + //BA.debugLineNum = 61210644;BA.debugLine="End Sub"; +return ""; +} +public String _cmbbox_itemclick(SHARK2.keymon.com.mx.b4xcombobox __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "cmbbox_itemclick", true)) + {return ((String) Debug.delegate(ba, "cmbbox_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=61997056; + //BA.debugLineNum = 61997056;BA.debugLine="Private Sub CmbBox_ItemClick (Position As Int, Val"; +RDebugUtils.currentLine=61997057; + //BA.debugLineNum = 61997057;BA.debugLine="RaiseEvent"; +__ref._raiseevent /*void*/ (null); +RDebugUtils.currentLine=61997058; + //BA.debugLineNum = 61997058;BA.debugLine="End Sub"; +return ""; +} +public void _raiseevent(SHARK2.keymon.com.mx.b4xcombobox __ref) throws Exception{ +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "raiseevent", true)) + {Debug.delegate(ba, "raiseevent", null); return;} +ResumableSub_RaiseEvent rsub = new ResumableSub_RaiseEvent(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_RaiseEvent extends BA.ResumableSub { +public ResumableSub_RaiseEvent(SHARK2.keymon.com.mx.b4xcombobox parent,SHARK2.keymon.com.mx.b4xcombobox __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xcombobox __ref; +SHARK2.keymon.com.mx.b4xcombobox parent; +int _index = 0; +int _myindex = 0; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xcombobox"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=61931521; + //BA.debugLineNum = 61931521;BA.debugLine="Dim index As Int = getSelectedIndex"; +_index = __ref._getselectedindex /*int*/ (null); +RDebugUtils.currentLine=61931522; + //BA.debugLineNum = 61931522;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=61931523; + //BA.debugLineNum = 61931523;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=61931524; + //BA.debugLineNum = 61931524;BA.debugLine="DelayIndex = DelayIndex + 1"; +__ref._delayindex /*int*/ = (int) (__ref._delayindex /*int*/ +1); +RDebugUtils.currentLine=61931525; + //BA.debugLineNum = 61931525;BA.debugLine="Dim MyIndex As Int = DelayIndex"; +_myindex = __ref._delayindex /*int*/ ; +RDebugUtils.currentLine=61931526; + //BA.debugLineNum = 61931526;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=61931527; + //BA.debugLineNum = 61931527;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=61931529; + //BA.debugLineNum = 61931529;BA.debugLine="LastSelectedIndex = index"; +__ref._lastselectedindex /*int*/ = _index; +RDebugUtils.currentLine=61931530; + //BA.debugLineNum = 61931530;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=61931531; + //BA.debugLineNum = 61931531;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=61931533; + //BA.debugLineNum = 61931533;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _designercreateview(SHARK2.keymon.com.mx.b4xcombobox __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +RDebugUtils.currentLine=61341696; + //BA.debugLineNum = 61341696;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=61341697; + //BA.debugLineNum = 61341697;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=61341698; + //BA.debugLineNum = 61341698;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=61341698; + //BA.debugLineNum = 61341698;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=61341699; + //BA.debugLineNum = 61341699;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=61341706; + //BA.debugLineNum = 61341706;BA.debugLine="cmbBox.Initialize(\"cmbBox\")"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .Initialize(ba,"cmbBox"); +RDebugUtils.currentLine=61341707; + //BA.debugLineNum = 61341707;BA.debugLine="cmbBox.TextSize = xlbl.TextSize"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .setTextSize(_xlbl.getTextSize()); +RDebugUtils.currentLine=61341708; + //BA.debugLineNum = 61341708;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=61341717; + //BA.debugLineNum = 61341717;BA.debugLine="End Sub"; +return ""; +} +public String _getitem(SHARK2.keymon.com.mx.b4xcombobox __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getitem", true)) + {return ((String) Debug.delegate(ba, "getitem", new Object[] {_index}));} +RDebugUtils.currentLine=61865984; + //BA.debugLineNum = 61865984;BA.debugLine="Public Sub GetItem(Index As Int) As String"; +RDebugUtils.currentLine=61865988; + //BA.debugLineNum = 61865988;BA.debugLine="Return cmbBox.GetItem(Index)"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .GetItem(_index); +RDebugUtils.currentLine=61865992; + //BA.debugLineNum = 61865992;BA.debugLine="End Sub"; +return ""; +} +public int _getselectedindex(SHARK2.keymon.com.mx.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getselectedindex", true)) + {return ((Integer) Debug.delegate(ba, "getselectedindex", null));} +RDebugUtils.currentLine=61669376; + //BA.debugLineNum = 61669376;BA.debugLine="Public Sub getSelectedIndex As Int"; +RDebugUtils.currentLine=61669378; + //BA.debugLineNum = 61669378;BA.debugLine="Return cmbBox.SelectedIndex"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .getSelectedIndex(); +RDebugUtils.currentLine=61669382; + //BA.debugLineNum = 61669382;BA.debugLine="End Sub"; +return 0; +} +public int _getsize(SHARK2.keymon.com.mx.b4xcombobox __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=61538304; + //BA.debugLineNum = 61538304;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=61538308; + //BA.debugLineNum = 61538308;BA.debugLine="Return cmbBox.Size"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .getSize(); +RDebugUtils.currentLine=61538312; + //BA.debugLineNum = 61538312;BA.debugLine="End Sub"; +return 0; +} +public int _indexof(SHARK2.keymon.com.mx.b4xcombobox __ref,String _item) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "indexof", true)) + {return ((Integer) Debug.delegate(ba, "indexof", new Object[] {_item}));} +RDebugUtils.currentLine=61603840; + //BA.debugLineNum = 61603840;BA.debugLine="Public Sub IndexOf(Item As String) As Int"; +RDebugUtils.currentLine=61603844; + //BA.debugLineNum = 61603844;BA.debugLine="Return cmbBox.IndexOf(Item)"; +if (true) return __ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .IndexOf(_item); +RDebugUtils.currentLine=61603848; + //BA.debugLineNum = 61603848;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(SHARK2.keymon.com.mx.b4xcombobox __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=61276160; + //BA.debugLineNum = 61276160;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=61276161; + //BA.debugLineNum = 61276161;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=61276162; + //BA.debugLineNum = 61276162;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=61276163; + //BA.debugLineNum = 61276163;BA.debugLine="LastSelectedIndex = -1"; +__ref._lastselectedindex /*int*/ = (int) (-1); +RDebugUtils.currentLine=61276164; + //BA.debugLineNum = 61276164;BA.debugLine="If xui.IsB4J Then DelayBeforeChangeEvent = 500"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +__ref._delaybeforechangeevent /*int*/ = (int) (500);}; +RDebugUtils.currentLine=61276165; + //BA.debugLineNum = 61276165;BA.debugLine="End Sub"; +return ""; +} +public String _setselectedindex(SHARK2.keymon.com.mx.b4xcombobox __ref,int _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcombobox"; +if (Debug.shouldDelegate(ba, "setselectedindex", true)) + {return ((String) Debug.delegate(ba, "setselectedindex", new Object[] {_i}));} +RDebugUtils.currentLine=61734912; + //BA.debugLineNum = 61734912;BA.debugLine="Public Sub setSelectedIndex(i As Int)"; +RDebugUtils.currentLine=61734913; + //BA.debugLineNum = 61734913;BA.debugLine="LastSelectedIndex = i"; +__ref._lastselectedindex /*int*/ = _i; +RDebugUtils.currentLine=61734915; + //BA.debugLineNum = 61734915;BA.debugLine="cmbBox.SelectedIndex = i"; +__ref._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .setSelectedIndex(_i); +RDebugUtils.currentLine=61734924; + //BA.debugLineNum = 61734924;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcomparatorsort.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcomparatorsort.java new file mode 100644 index 0000000..83d5e22 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xcomparatorsort.java @@ -0,0 +1,182 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xcomparatorsort"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _class_globals(SHARK2.keymon.com.mx.b4xcomparatorsort __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +RDebugUtils.currentLine=50069504; + //BA.debugLineNum = 50069504;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=50069505; + //BA.debugLineNum = 50069505;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.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=50135040; + //BA.debugLineNum = 50135040;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=50135041; + //BA.debugLineNum = 50135041;BA.debugLine="End Sub"; +return ""; +} +public int _partition(SHARK2.keymon.com.mx.b4xcomparatorsort __ref,anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _length,int _pivotindex,Object _comparator) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "partition", true)) + {return ((Integer) Debug.delegate(ba, "partition", new Object[] {_data,_startindex,_length,_pivotindex,_comparator}));} +Object _pivotvalue = null; +int _l = 0; +int _i = 0; +RDebugUtils.currentLine=50331648; + //BA.debugLineNum = 50331648;BA.debugLine="Private Sub Partition(Data As List, StartIndex As"; +RDebugUtils.currentLine=50331649; + //BA.debugLineNum = 50331649;BA.debugLine="Dim PivotValue As Object = Data.Get(StartIndex +"; +_pivotvalue = _data.Get((int) (_startindex+_pivotindex)); +RDebugUtils.currentLine=50331650; + //BA.debugLineNum = 50331650;BA.debugLine="Swap(Data, StartIndex, PivotIndex, Length - 1)"; +__ref._swap /*String*/ (null,_data,_startindex,_pivotindex,(int) (_length-1)); +RDebugUtils.currentLine=50331651; + //BA.debugLineNum = 50331651;BA.debugLine="Dim L As Int = 0"; +_l = (int) (0); +RDebugUtils.currentLine=50331652; + //BA.debugLineNum = 50331652;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=50331653; + //BA.debugLineNum = 50331653;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=50331654; + //BA.debugLineNum = 50331654;BA.debugLine="L = L + 1"; +_l = (int) (_l+1); +RDebugUtils.currentLine=50331655; + //BA.debugLineNum = 50331655;BA.debugLine="Swap(Data, StartIndex, L - 1, i)"; +__ref._swap /*String*/ (null,_data,_startindex,(int) (_l-1),_i); + }; + } +}; +RDebugUtils.currentLine=50331658; + //BA.debugLineNum = 50331658;BA.debugLine="Swap(Data, StartIndex, Length - 1, L)"; +__ref._swap /*String*/ (null,_data,_startindex,(int) (_length-1),_l); +RDebugUtils.currentLine=50331659; + //BA.debugLineNum = 50331659;BA.debugLine="Return L"; +if (true) return _l; +RDebugUtils.currentLine=50331660; + //BA.debugLineNum = 50331660;BA.debugLine="End Sub"; +return 0; +} +public String _swap(SHARK2.keymon.com.mx.b4xcomparatorsort __ref,anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _i1,int _i2) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "swap", true)) + {return ((String) Debug.delegate(ba, "swap", new Object[] {_data,_startindex,_i1,_i2}));} +Object _o = null; +RDebugUtils.currentLine=50397184; + //BA.debugLineNum = 50397184;BA.debugLine="Private Sub Swap (Data As List, StartIndex As Int,"; +RDebugUtils.currentLine=50397185; + //BA.debugLineNum = 50397185;BA.debugLine="Dim o As Object = Data.Get(StartIndex + i1)"; +_o = _data.Get((int) (_startindex+_i1)); +RDebugUtils.currentLine=50397186; + //BA.debugLineNum = 50397186;BA.debugLine="Data.Set(StartIndex + i1, Data.Get(StartIndex + i"; +_data.Set((int) (_startindex+_i1),_data.Get((int) (_startindex+_i2))); +RDebugUtils.currentLine=50397187; + //BA.debugLineNum = 50397187;BA.debugLine="Data.Set(StartIndex + i2, o)"; +_data.Set((int) (_startindex+_i2),_o); +RDebugUtils.currentLine=50397188; + //BA.debugLineNum = 50397188;BA.debugLine="End Sub"; +return ""; +} +public String _quicksort(SHARK2.keymon.com.mx.b4xcomparatorsort __ref,anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _length,Object _comparator) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "quicksort", true)) + {return ((String) Debug.delegate(ba, "quicksort", new Object[] {_data,_startindex,_length,_comparator}));} +int _pivotindex = 0; +int _r = 0; +RDebugUtils.currentLine=50266112; + //BA.debugLineNum = 50266112;BA.debugLine="Private Sub QuickSort (Data As List, StartIndex As"; +RDebugUtils.currentLine=50266113; + //BA.debugLineNum = 50266113;BA.debugLine="If Length > 1 Then"; +if (_length>1) { +RDebugUtils.currentLine=50266114; + //BA.debugLineNum = 50266114;BA.debugLine="Dim PivotIndex As Int = Rnd(0, Length)"; +_pivotindex = __c.Rnd((int) (0),_length); +RDebugUtils.currentLine=50266115; + //BA.debugLineNum = 50266115;BA.debugLine="Dim r As Int = Partition(Data, StartIndex, Lengt"; +_r = __ref._partition /*int*/ (null,_data,_startindex,_length,_pivotindex,_comparator); +RDebugUtils.currentLine=50266116; + //BA.debugLineNum = 50266116;BA.debugLine="QuickSort(Data, StartIndex, r, Comparator)"; +__ref._quicksort /*String*/ (null,_data,_startindex,_r,_comparator); +RDebugUtils.currentLine=50266117; + //BA.debugLineNum = 50266117;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=50266119; + //BA.debugLineNum = 50266119;BA.debugLine="End Sub"; +return ""; +} +public String _sort(SHARK2.keymon.com.mx.b4xcomparatorsort __ref,anywheresoftware.b4a.objects.collections.List _data,Object _comparator) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xcomparatorsort"; +if (Debug.shouldDelegate(ba, "sort", true)) + {return ((String) Debug.delegate(ba, "sort", new Object[] {_data,_comparator}));} +RDebugUtils.currentLine=50200576; + //BA.debugLineNum = 50200576;BA.debugLine="Public Sub Sort (Data As List, Comparator As Objec"; +RDebugUtils.currentLine=50200578; + //BA.debugLineNum = 50200578;BA.debugLine="QuickSort(Data, 0, Data.Size, Comparator)"; +__ref._quicksort /*String*/ (null,_data,(int) (0),_data.getSize(),_comparator); +RDebugUtils.currentLine=50200582; + //BA.debugLineNum = 50200582;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xdatetemplate.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xdatetemplate.java new file mode 100644 index 0000000..81812be --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xdatetemplate.java @@ -0,0 +1,768 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xdatetemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.b4xdialog _mdialog = null; +public boolean _closeonselection = false; +public anywheresoftware.b4a.objects.collections.List _daysofweeknames = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _btnmonth_click(SHARK2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "btnmonth_click", true)) + {return ((String) Debug.delegate(ba, "btnmonth_click", null));} +anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; +int _m = 0; +RDebugUtils.currentLine=62783488; + //BA.debugLineNum = 62783488;BA.debugLine="Private Sub btnMonth_Click"; +RDebugUtils.currentLine=62783489; + //BA.debugLineNum = 62783489;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=62783490; + //BA.debugLineNum = 62783490;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=62783491; + //BA.debugLineNum = 62783491;BA.debugLine="month = (m Mod 12) + 1"; +__ref._month /*int*/ = (int) ((_m%12)+1); +RDebugUtils.currentLine=62783492; + //BA.debugLineNum = 62783492;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); +RDebugUtils.currentLine=62783493; + //BA.debugLineNum = 62783493;BA.debugLine="End Sub"; +return ""; +} +public String _drawdays(SHARK2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "drawdays", true)) + {return ((String) Debug.delegate(ba, "drawdays", null));} +long _firstdayofmonth = 0L; +anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _daysfont = null; +int _day = 0; +int _row = 0; +RDebugUtils.currentLine=62193664; + //BA.debugLineNum = 62193664;BA.debugLine="Private Sub DrawDays"; +RDebugUtils.currentLine=62193665; + //BA.debugLineNum = 62193665;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=62193666; + //BA.debugLineNum = 62193666;BA.debugLine="lblYear.Text = year"; +__ref._lblyear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._year /*int*/ )); +RDebugUtils.currentLine=62193667; + //BA.debugLineNum = 62193667;BA.debugLine="SetYearsButtonState"; +__ref._setyearsbuttonstate /*String*/ (null); +RDebugUtils.currentLine=62193668; + //BA.debugLineNum = 62193668;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=62193669; + //BA.debugLineNum = 62193669;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect)"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=62193670; + //BA.debugLineNum = 62193670;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=62193671; + //BA.debugLineNum = 62193671;BA.debugLine="dayOfWeekOffset = (7 + DateTime.GetDayOfWeek(firs"; +__ref._dayofweekoffset /*int*/ = (int) ((7+__c.DateTime.GetDayOfWeek(_firstdayofmonth)-__ref._firstday /*int*/ )%7); +RDebugUtils.currentLine=62193672; + //BA.debugLineNum = 62193672;BA.debugLine="daysInMonth = DateUtils.NumberOfDaysInMonth(month"; +__ref._daysinmonth /*int*/ = _dateutils._numberofdaysinmonth(ba,__ref._month /*int*/ ,__ref._year /*int*/ ); +RDebugUtils.currentLine=62193673; + //BA.debugLineNum = 62193673;BA.debugLine="If year = selectedYear And month = selectedMonth"; +if (__ref._year /*int*/ ==__ref._selectedyear /*int*/ && __ref._month /*int*/ ==__ref._selectedmonth /*int*/ ) { +RDebugUtils.currentLine=62193675; + //BA.debugLineNum = 62193675;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=62193678; + //BA.debugLineNum = 62193678;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; +_daysfont = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultBoldFont((float) (14)); +RDebugUtils.currentLine=62193679; + //BA.debugLineNum = 62193679;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=62193680; + //BA.debugLineNum = 62193680;BA.debugLine="Dim row As Int = (day - 1 + dayOfWeekOffset) / 7"; +_row = (int) ((_day-1+__ref._dayofweekoffset /*int*/ )/(double)7); +RDebugUtils.currentLine=62193681; + //BA.debugLineNum = 62193681;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=62193684; + //BA.debugLineNum = 62193684;BA.debugLine="cvsBackground.Invalidate"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=62193685; + //BA.debugLineNum = 62193685;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=62193686; + //BA.debugLineNum = 62193686;BA.debugLine="End Sub"; +return ""; +} +public String _btnyear_click(SHARK2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "btnyear_click", true)) + {return ((String) Debug.delegate(ba, "btnyear_click", null));} +anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; +RDebugUtils.currentLine=62717952; + //BA.debugLineNum = 62717952;BA.debugLine="Private Sub btnYear_Click"; +RDebugUtils.currentLine=62717953; + //BA.debugLineNum = 62717953;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=62717954; + //BA.debugLineNum = 62717954;BA.debugLine="year = year + btn.Tag"; +__ref._year /*int*/ = (int) (__ref._year /*int*/ +(double)(BA.ObjectToNumber(_btn.getTag()))); +RDebugUtils.currentLine=62717955; + //BA.debugLineNum = 62717955;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); +RDebugUtils.currentLine=62717956; + //BA.debugLineNum = 62717956;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +RDebugUtils.currentLine=62062592; + //BA.debugLineNum = 62062592;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=62062593; + //BA.debugLineNum = 62062593;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=62062594; + //BA.debugLineNum = 62062594;BA.debugLine="Private month, year As Int"; +_month = 0; +_year = 0; +RDebugUtils.currentLine=62062595; + //BA.debugLineNum = 62062595;BA.debugLine="Private boxW, boxH As Float"; +_boxw = 0f; +_boxh = 0f; +RDebugUtils.currentLine=62062596; + //BA.debugLineNum = 62062596;BA.debugLine="Private vCorrection As Float"; +_vcorrection = 0f; +RDebugUtils.currentLine=62062597; + //BA.debugLineNum = 62062597;BA.debugLine="Private tempSelectedDay As Int"; +_tempselectedday = 0; +RDebugUtils.currentLine=62062598; + //BA.debugLineNum = 62062598;BA.debugLine="Private dayOfWeekOffset As Int"; +_dayofweekoffset = 0; +RDebugUtils.currentLine=62062599; + //BA.debugLineNum = 62062599;BA.debugLine="Private daysInMonth As Int"; +_daysinmonth = 0; +RDebugUtils.currentLine=62062600; + //BA.debugLineNum = 62062600;BA.debugLine="Private DaysPaneBg As B4XView"; +_dayspanebg = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=62062601; + //BA.debugLineNum = 62062601;BA.debugLine="Private DaysPaneFg As B4XView"; +_dayspanefg = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=62062602; + //BA.debugLineNum = 62062602;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=62062603; + //BA.debugLineNum = 62062603;BA.debugLine="Private cvsBackground As B4XCanvas"; +_cvsbackground = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=62062604; + //BA.debugLineNum = 62062604;BA.debugLine="Private selectedDate As Long"; +_selecteddate = 0L; +RDebugUtils.currentLine=62062605; + //BA.debugLineNum = 62062605;BA.debugLine="Private PreviousSelectedDate As Long"; +_previousselecteddate = 0L; +RDebugUtils.currentLine=62062606; + //BA.debugLineNum = 62062606;BA.debugLine="Private selectedYear, selectedMonth, selectedDay"; +_selectedyear = 0; +_selectedmonth = 0; +_selectedday = 0; +RDebugUtils.currentLine=62062607; + //BA.debugLineNum = 62062607;BA.debugLine="Public HighlightedColor As Int = 0xFF001BBD"; +_highlightedcolor = ((int)0xff001bbd); +RDebugUtils.currentLine=62062608; + //BA.debugLineNum = 62062608;BA.debugLine="Public SelectedColor As Int = 0xFF0BA29B"; +_selectedcolor = ((int)0xff0ba29b); +RDebugUtils.currentLine=62062609; + //BA.debugLineNum = 62062609;BA.debugLine="Public DaysInMonthColor As Int = xui.Color_White"; +_daysinmonthcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=62062610; + //BA.debugLineNum = 62062610;BA.debugLine="Public DaysInWeekColor As Int = xui.Color_Gray"; +_daysinweekcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Gray; +RDebugUtils.currentLine=62062611; + //BA.debugLineNum = 62062611;BA.debugLine="Private cvsDays As B4XCanvas"; +_cvsdays = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=62062612; + //BA.debugLineNum = 62062612;BA.debugLine="Private DaysTitlesPane As B4XView"; +_daystitlespane = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=62062613; + //BA.debugLineNum = 62062613;BA.debugLine="Public FirstDay As Int = 0"; +_firstday = (int) (0); +RDebugUtils.currentLine=62062614; + //BA.debugLineNum = 62062614;BA.debugLine="Public MinYear = 1970, MaxYear = 2030 As Int"; +_minyear = (int) (1970); +_maxyear = (int) (2030); +RDebugUtils.currentLine=62062615; + //BA.debugLineNum = 62062615;BA.debugLine="Public btnMonthLeft As B4XView"; +_btnmonthleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=62062616; + //BA.debugLineNum = 62062616;BA.debugLine="Public btnMonthRight As B4XView"; +_btnmonthright = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=62062617; + //BA.debugLineNum = 62062617;BA.debugLine="Public btnYearLeft As B4XView"; +_btnyearleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=62062618; + //BA.debugLineNum = 62062618;BA.debugLine="Public btnYearRight As B4XView"; +_btnyearright = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=62062619; + //BA.debugLineNum = 62062619;BA.debugLine="Public lblMonth As B4XView"; +_lblmonth = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=62062620; + //BA.debugLineNum = 62062620;BA.debugLine="Public lblYear As B4XView"; +_lblyear = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=62062621; + //BA.debugLineNum = 62062621;BA.debugLine="Private pnlDialog As B4XView"; +_pnldialog = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=62062622; + //BA.debugLineNum = 62062622;BA.debugLine="Private months As List"; +_months = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=62062623; + //BA.debugLineNum = 62062623;BA.debugLine="Private mDialog As B4XDialog"; +_mdialog = new SHARK2.keymon.com.mx.b4xdialog(); +RDebugUtils.currentLine=62062624; + //BA.debugLineNum = 62062624;BA.debugLine="Public CloseOnSelection As Boolean = True"; +_closeonselection = __c.True; +RDebugUtils.currentLine=62062625; + //BA.debugLineNum = 62062625;BA.debugLine="Public DaysOfWeekNames As List"; +_daysofweeknames = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=62062626; + //BA.debugLineNum = 62062626;BA.debugLine="End Sub"; +return ""; +} +public String _dayspanefg_touch(SHARK2.keymon.com.mx.b4xdatetemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "dayspanefg_touch", true)) + {return ((String) Debug.delegate(ba, "dayspanefg_touch", new Object[] {_action,_x,_y}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=62849024; + //BA.debugLineNum = 62849024;BA.debugLine="Private Sub DaysPaneFg_Touch (Action As Int, X As"; +RDebugUtils.currentLine=62849025; + //BA.debugLineNum = 62849025;BA.debugLine="Dim p As B4XView = DaysPaneFg"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = __ref._dayspanefg /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=62849026; + //BA.debugLineNum = 62849026;BA.debugLine="HandleMouse(X, Y, Action <> p.TOUCH_ACTION_UP)"; +__ref._handlemouse /*String*/ (null,_x,_y,_action!=_p.TOUCH_ACTION_UP); +RDebugUtils.currentLine=62849027; + //BA.debugLineNum = 62849027;BA.debugLine="End Sub"; +return ""; +} +public String _handlemouse(SHARK2.keymon.com.mx.b4xdatetemplate __ref,double _x,double _y,boolean _move) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "handlemouse", true)) + {return ((String) Debug.delegate(ba, "handlemouse", new Object[] {_x,_y,_move}));} +int _boxx = 0; +int _boxy = 0; +int _newselectedday = 0; +boolean _validday = false; +RDebugUtils.currentLine=62586880; + //BA.debugLineNum = 62586880;BA.debugLine="Private Sub HandleMouse(x As Double, y As Double,"; +RDebugUtils.currentLine=62586881; + //BA.debugLineNum = 62586881;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=62586882; + //BA.debugLineNum = 62586882;BA.debugLine="Dim newSelectedDay As Int = boxY * 7 + boxX + 1 -"; +_newselectedday = (int) (_boxy*7+_boxx+1-__ref._dayofweekoffset /*int*/ ); +RDebugUtils.currentLine=62586883; + //BA.debugLineNum = 62586883;BA.debugLine="Dim validDay As Boolean = newSelectedDay > 0 And"; +_validday = _newselectedday>0 && _newselectedday<=__ref._daysinmonth /*int*/ ; +RDebugUtils.currentLine=62586884; + //BA.debugLineNum = 62586884;BA.debugLine="If move Then"; +if (_move) { +RDebugUtils.currentLine=62586885; + //BA.debugLineNum = 62586885;BA.debugLine="If newSelectedDay = tempSelectedDay Then Return"; +if (_newselectedday==__ref._tempselectedday /*int*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=62586886; + //BA.debugLineNum = 62586886;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=62586887; + //BA.debugLineNum = 62586887;BA.debugLine="tempSelectedDay = newSelectedDay"; +__ref._tempselectedday /*int*/ = _newselectedday; +RDebugUtils.currentLine=62586888; + //BA.debugLineNum = 62586888;BA.debugLine="If validDay Then"; +if (_validday) { +RDebugUtils.currentLine=62586889; + //BA.debugLineNum = 62586889;BA.debugLine="DrawBox(cvsBackground, HighlightedColor, boxX,"; +__ref._drawbox /*String*/ (null,__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ ,__ref._highlightedcolor /*int*/ ,_boxx,_boxy); + }; + }else { +RDebugUtils.currentLine=62586892; + //BA.debugLineNum = 62586892;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=62586893; + //BA.debugLineNum = 62586893;BA.debugLine="If validDay Then"; +if (_validday) { +RDebugUtils.currentLine=62586894; + //BA.debugLineNum = 62586894;BA.debugLine="SelectDay(newSelectedDay)"; +__ref._selectday /*String*/ (null,_newselectedday); +RDebugUtils.currentLine=62586895; + //BA.debugLineNum = 62586895;BA.debugLine="If CloseOnSelection Then"; +if (__ref._closeonselection /*boolean*/ ) { +RDebugUtils.currentLine=62586896; + //BA.debugLineNum = 62586896;BA.debugLine="Hide"; +__ref._hide /*String*/ (null); + }else { +RDebugUtils.currentLine=62586898; + //BA.debugLineNum = 62586898;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); + }; + }; + }; +RDebugUtils.currentLine=62586903; + //BA.debugLineNum = 62586903;BA.debugLine="cvsBackground.Invalidate"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=62586904; + //BA.debugLineNum = 62586904;BA.debugLine="End Sub"; +return ""; +} +public String _dialogclosed(SHARK2.keymon.com.mx.b4xdatetemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=63045632; + //BA.debugLineNum = 63045632;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=63045633; + //BA.debugLineNum = 63045633;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; +if (_result!=__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive) { +RDebugUtils.currentLine=63045634; + //BA.debugLineNum = 63045634;BA.debugLine="setDate(PreviousSelectedDate)"; +__ref._setdate /*String*/ (null,__ref._previousselecteddate /*long*/ ); + }; +RDebugUtils.currentLine=63045636; + //BA.debugLineNum = 63045636;BA.debugLine="End Sub"; +return ""; +} +public String _setdate(SHARK2.keymon.com.mx.b4xdatetemplate __ref,long _date) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "setdate", true)) + {return ((String) Debug.delegate(ba, "setdate", new Object[] {_date}));} +RDebugUtils.currentLine=62455808; + //BA.debugLineNum = 62455808;BA.debugLine="Public Sub setDate(date As Long)"; +RDebugUtils.currentLine=62455810; + //BA.debugLineNum = 62455810;BA.debugLine="If lblYear.IsInitialized = False Then"; +if (__ref._lblyear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()==__c.False) { +RDebugUtils.currentLine=62455811; + //BA.debugLineNum = 62455811;BA.debugLine="selectedDate = date"; +__ref._selecteddate /*long*/ = _date; +RDebugUtils.currentLine=62455812; + //BA.debugLineNum = 62455812;BA.debugLine="Return 'the date will be set after the layout is"; +if (true) return ""; + }; +RDebugUtils.currentLine=62455814; + //BA.debugLineNum = 62455814;BA.debugLine="year = DateTime.GetYear(date)"; +__ref._year /*int*/ = __c.DateTime.GetYear(_date); +RDebugUtils.currentLine=62455815; + //BA.debugLineNum = 62455815;BA.debugLine="month = DateTime.GetMonth(date)"; +__ref._month /*int*/ = __c.DateTime.GetMonth(_date); +RDebugUtils.currentLine=62455816; + //BA.debugLineNum = 62455816;BA.debugLine="SelectDay(DateTime.GetDayOfMonth(date))"; +__ref._selectday /*String*/ (null,__c.DateTime.GetDayOfMonth(_date)); +RDebugUtils.currentLine=62455817; + //BA.debugLineNum = 62455817;BA.debugLine="lblYear.Text = year"; +__ref._lblyear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._year /*int*/ )); +RDebugUtils.currentLine=62455818; + //BA.debugLineNum = 62455818;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=62455819; + //BA.debugLineNum = 62455819;BA.debugLine="End Sub"; +return ""; +} +public String _drawbox(SHARK2.keymon.com.mx.b4xdatetemplate __ref,anywheresoftware.b4a.objects.B4XCanvas _c,int _clr,int _x,int _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "drawbox", true)) + {return ((String) Debug.delegate(ba, "drawbox", new Object[] {_c,_clr,_x,_y}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +RDebugUtils.currentLine=62324736; + //BA.debugLineNum = 62324736;BA.debugLine="Private Sub DrawBox(c As B4XCanvas, clr As Int, x"; +RDebugUtils.currentLine=62324737; + //BA.debugLineNum = 62324737;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=62324738; + //BA.debugLineNum = 62324738;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=62324739; + //BA.debugLineNum = 62324739;BA.debugLine="c.DrawRect(r, clr, True, 1dip)"; +_c.DrawRect(_r,_clr,__c.True,(float) (__c.DipToCurrent((int) (1)))); +RDebugUtils.currentLine=62324740; + //BA.debugLineNum = 62324740;BA.debugLine="End Sub"; +return ""; +} +public String _setyearsbuttonstate(SHARK2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "setyearsbuttonstate", true)) + {return ((String) Debug.delegate(ba, "setyearsbuttonstate", null));} +RDebugUtils.currentLine=62259200; + //BA.debugLineNum = 62259200;BA.debugLine="Private Sub SetYearsButtonState"; +RDebugUtils.currentLine=62259201; + //BA.debugLineNum = 62259201;BA.debugLine="btnYearLeft.Enabled = year > MinYear"; +__ref._btnyearleft /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__ref._year /*int*/ >__ref._minyear /*int*/ ); +RDebugUtils.currentLine=62259202; + //BA.debugLineNum = 62259202;BA.debugLine="btnYearRight.Enabled = year < MaxYear"; +__ref._btnyearright /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__ref._year /*int*/ <__ref._maxyear /*int*/ ); +RDebugUtils.currentLine=62259203; + //BA.debugLineNum = 62259203;BA.debugLine="End Sub"; +return ""; +} +public long _getdate(SHARK2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "getdate", true)) + {return ((Long) Debug.delegate(ba, "getdate", null));} +RDebugUtils.currentLine=62390272; + //BA.debugLineNum = 62390272;BA.debugLine="Public Sub getDate As Long"; +RDebugUtils.currentLine=62390273; + //BA.debugLineNum = 62390273;BA.debugLine="Return selectedDate"; +if (true) return __ref._selecteddate /*long*/ ; +RDebugUtils.currentLine=62390274; + //BA.debugLineNum = 62390274;BA.debugLine="End Sub"; +return 0L; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(SHARK2.keymon.com.mx.b4xdatetemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=62914560; + //BA.debugLineNum = 62914560;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=62914561; + //BA.debugLineNum = 62914561;BA.debugLine="Return pnlDialog"; +if (true) return __ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=62914562; + //BA.debugLineNum = 62914562;BA.debugLine="End Sub"; +return null; +} +public String _selectday(SHARK2.keymon.com.mx.b4xdatetemplate __ref,int _day) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "selectday", true)) + {return ((String) Debug.delegate(ba, "selectday", new Object[] {_day}));} +RDebugUtils.currentLine=62521344; + //BA.debugLineNum = 62521344;BA.debugLine="Private Sub SelectDay(day As Int)"; +RDebugUtils.currentLine=62521345; + //BA.debugLineNum = 62521345;BA.debugLine="selectedDate = DateUtils.setDate(year, month, day"; +__ref._selecteddate /*long*/ = _dateutils._setdate(ba,__ref._year /*int*/ ,__ref._month /*int*/ ,_day); +RDebugUtils.currentLine=62521346; + //BA.debugLineNum = 62521346;BA.debugLine="selectedDay = day"; +__ref._selectedday /*int*/ = _day; +RDebugUtils.currentLine=62521347; + //BA.debugLineNum = 62521347;BA.debugLine="selectedMonth = month"; +__ref._selectedmonth /*int*/ = __ref._month /*int*/ ; +RDebugUtils.currentLine=62521348; + //BA.debugLineNum = 62521348;BA.debugLine="selectedYear = year"; +__ref._selectedyear /*int*/ = __ref._year /*int*/ ; +RDebugUtils.currentLine=62521349; + //BA.debugLineNum = 62521349;BA.debugLine="End Sub"; +return ""; +} +public String _hide(SHARK2.keymon.com.mx.b4xdatetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "hide", true)) + {return ((String) Debug.delegate(ba, "hide", null));} +RDebugUtils.currentLine=62652416; + //BA.debugLineNum = 62652416;BA.debugLine="Private Sub Hide"; +RDebugUtils.currentLine=62652417; + //BA.debugLineNum = 62652417;BA.debugLine="mDialog.Close(xui.DialogResponse_Positive)"; +__ref._mdialog /*SHARK2.keymon.com.mx.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); +RDebugUtils.currentLine=62652418; + //BA.debugLineNum = 62652418;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.b4xdatetemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=62128128; + //BA.debugLineNum = 62128128;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=62128129; + //BA.debugLineNum = 62128129;BA.debugLine="pnlDialog = xui.CreatePanel(\"\")"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=62128130; + //BA.debugLineNum = 62128130;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=62128131; + //BA.debugLineNum = 62128131;BA.debugLine="pnlDialog.LoadLayout(\"DateTemplate\")"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("DateTemplate",ba); +RDebugUtils.currentLine=62128132; + //BA.debugLineNum = 62128132;BA.debugLine="pnlDialog.Tag = Me"; +__ref._pnldialog /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=62128133; + //BA.debugLineNum = 62128133;BA.debugLine="month = DateTime.GetMonth(DateTime.Now)"; +__ref._month /*int*/ = __c.DateTime.GetMonth(__c.DateTime.getNow()); +RDebugUtils.currentLine=62128134; + //BA.debugLineNum = 62128134;BA.debugLine="year = DateTime.GetYear(DateTime.Now)"; +__ref._year /*int*/ = __c.DateTime.GetYear(__c.DateTime.getNow()); +RDebugUtils.currentLine=62128135; + //BA.debugLineNum = 62128135;BA.debugLine="months = DateUtils.GetMonthsNames"; +__ref._months /*anywheresoftware.b4a.objects.collections.List*/ = _dateutils._getmonthsnames(ba); +RDebugUtils.currentLine=62128136; + //BA.debugLineNum = 62128136;BA.debugLine="selectedDate = DateTime.Now"; +__ref._selecteddate /*long*/ = __c.DateTime.getNow(); +RDebugUtils.currentLine=62128137; + //BA.debugLineNum = 62128137;BA.debugLine="setDate(selectedDate)"; +__ref._setdate /*String*/ (null,__ref._selecteddate /*long*/ ); +RDebugUtils.currentLine=62128138; + //BA.debugLineNum = 62128138;BA.debugLine="cvs.Initialize(DaysPaneFg)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._dayspanefg /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=62128139; + //BA.debugLineNum = 62128139;BA.debugLine="cvsBackground.Initialize(DaysPaneBg)"; +__ref._cvsbackground /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._dayspanebg /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=62128140; + //BA.debugLineNum = 62128140;BA.debugLine="boxW = cvs.TargetRect.Width / 7"; +__ref._boxw /*float*/ = (float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getWidth()/(double)7); +RDebugUtils.currentLine=62128141; + //BA.debugLineNum = 62128141;BA.debugLine="boxH = cvs.TargetRect.Height / 6"; +__ref._boxh /*float*/ = (float) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()/(double)6); +RDebugUtils.currentLine=62128142; + //BA.debugLineNum = 62128142;BA.debugLine="vCorrection = 5dip"; +__ref._vcorrection /*float*/ = (float) (__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=62128143; + //BA.debugLineNum = 62128143;BA.debugLine="cvsDays.Initialize(DaysTitlesPane)"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._daystitlespane /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=62128149; + //BA.debugLineNum = 62128149;BA.debugLine="DaysOfWeekNames.Initialize"; +__ref._daysofweeknames /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=62128150; + //BA.debugLineNum = 62128150;BA.debugLine="DaysOfWeekNames.AddAll(DateUtils.GetDaysNames)"; +__ref._daysofweeknames /*anywheresoftware.b4a.objects.collections.List*/ .AddAll(_dateutils._getdaysnames(ba)); +RDebugUtils.currentLine=62128151; + //BA.debugLineNum = 62128151;BA.debugLine="End Sub"; +return ""; +} +public void _show(SHARK2.keymon.com.mx.b4xdatetemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xdatetemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); +rsub.resume(ba, null); +} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(SHARK2.keymon.com.mx.b4xdatetemplate parent,SHARK2.keymon.com.mx.b4xdatetemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xdatetemplate __ref; +SHARK2.keymon.com.mx.b4xdatetemplate parent; +SHARK2.keymon.com.mx.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=62980097; + //BA.debugLineNum = 62980097;BA.debugLine="Dim days As List = DaysOfWeekNames"; +_days = new anywheresoftware.b4a.objects.collections.List(); +_days = __ref._daysofweeknames /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=62980098; + //BA.debugLineNum = 62980098;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; +_daysfont = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultBoldFont((float) (14)); +RDebugUtils.currentLine=62980099; + //BA.debugLineNum = 62980099;BA.debugLine="cvsDays.ClearRect(cvsDays.TargetRect)"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=62980100; + //BA.debugLineNum = 62980100;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=62980101; + //BA.debugLineNum = 62980101;BA.debugLine="Dim d As String = days.Get(i Mod 7)"; +_d = BA.ObjectToString(_days.Get((int) (_i%7))); +RDebugUtils.currentLine=62980102; + //BA.debugLineNum = 62980102;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=62980103; + //BA.debugLineNum = 62980103;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=62980105; + //BA.debugLineNum = 62980105;BA.debugLine="cvsDays.Invalidate"; +__ref._cvsdays /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=62980106; + //BA.debugLineNum = 62980106;BA.debugLine="mDialog = Dialog"; +__ref._mdialog /*SHARK2.keymon.com.mx.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=62980107; + //BA.debugLineNum = 62980107;BA.debugLine="DrawDays"; +__ref._drawdays /*String*/ (null); +RDebugUtils.currentLine=62980108; + //BA.debugLineNum = 62980108;BA.debugLine="PreviousSelectedDate = selectedDate"; +__ref._previousselecteddate /*long*/ = __ref._selecteddate /*long*/ ; +RDebugUtils.currentLine=62980109; + //BA.debugLineNum = 62980109;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=62980110; + //BA.debugLineNum = 62980110;BA.debugLine="SetYearsButtonState"; +__ref._setyearsbuttonstate /*String*/ (null); +RDebugUtils.currentLine=62980111; + //BA.debugLineNum = 62980111;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xdialog.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xdialog.java new file mode 100644 index 0000000..af4ef8e --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xdialog.java @@ -0,0 +1,1532 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xdialog"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public boolean _close(SHARK2.keymon.com.mx.b4xdialog __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "close", true)) + {return ((Boolean) Debug.delegate(ba, "close", new Object[] {_result}));} +RDebugUtils.currentLine=63766528; + //BA.debugLineNum = 63766528;BA.debugLine="Public Sub Close (Result As Int) As Boolean"; +RDebugUtils.currentLine=63766529; + //BA.debugLineNum = 63766529;BA.debugLine="If getVisible Then"; +if (__ref._getvisible /*boolean*/ (null)) { +RDebugUtils.currentLine=63766530; + //BA.debugLineNum = 63766530;BA.debugLine="CallSubDelayed2(Me, \"CloseMessage\", Result)"; +__c.CallSubDelayed2(ba,this,"CloseMessage",(Object)(_result)); +RDebugUtils.currentLine=63766531; + //BA.debugLineNum = 63766531;BA.debugLine="Return True"; +if (true) return __c.True; + }; +RDebugUtils.currentLine=63766533; + //BA.debugLineNum = 63766533;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=63766534; + //BA.debugLineNum = 63766534;BA.debugLine="End Sub"; +return false; +} +public String _background_click(SHARK2.keymon.com.mx.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "background_click", true)) + {return ((String) Debug.delegate(ba, "background_click", null));} +RDebugUtils.currentLine=63897600; + //BA.debugLineNum = 63897600;BA.debugLine="Private Sub Background_Click"; +RDebugUtils.currentLine=63897602; + //BA.debugLineNum = 63897602;BA.debugLine="End Sub"; +return ""; +} +public String _background_touch(SHARK2.keymon.com.mx.b4xdialog __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "background_touch", true)) + {return ((String) Debug.delegate(ba, "background_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=63832064; + //BA.debugLineNum = 63832064;BA.debugLine="Private Sub Background_Touch (Action As Int, X As"; +RDebugUtils.currentLine=63832066; + //BA.debugLineNum = 63832066;BA.debugLine="End Sub"; +return ""; +} +public b4a.example.bitmapcreator _blur(SHARK2.keymon.com.mx.b4xdialog __ref,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "blur", true)) + {return ((b4a.example.bitmapcreator) Debug.delegate(ba, "blur", new Object[] {_bmp}));} +b4a.example.bitmapcreator _bc = null; +int _reducescale = 0; +int _count = 0; +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=64094208; + //BA.debugLineNum = 64094208;BA.debugLine="Private Sub Blur (bmp As B4XBitmap) As BitmapCreat"; +RDebugUtils.currentLine=64094209; + //BA.debugLineNum = 64094209;BA.debugLine="Dim bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=64094210; + //BA.debugLineNum = 64094210;BA.debugLine="Dim ReduceScale As Int = BlurReduceScale"; +_reducescale = __ref._blurreducescale /*int*/ ; +RDebugUtils.currentLine=64094211; + //BA.debugLineNum = 64094211;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=64094212; + //BA.debugLineNum = 64094212;BA.debugLine="bc.CopyPixelsFromBitmap(bmp)"; +_bc._copypixelsfrombitmap(_bmp); +RDebugUtils.currentLine=64094213; + //BA.debugLineNum = 64094213;BA.debugLine="Dim count As Int = 2"; +_count = (int) (2); +RDebugUtils.currentLine=64094214; + //BA.debugLineNum = 64094214;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=64094215; + //BA.debugLineNum = 64094215;BA.debugLine="Dim temp As ARGBColor"; +_temp = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=64094216; + //BA.debugLineNum = 64094216;BA.debugLine="Dim m As Int"; +_m = 0; +RDebugUtils.currentLine=64094217; + //BA.debugLineNum = 64094217;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=64094218; + //BA.debugLineNum = 64094218;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=64094219; + //BA.debugLineNum = 64094219;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=64094220; + //BA.debugLineNum = 64094220;BA.debugLine="bc.GetARGB(x, y, clrs(x))"; +_bc._getargb(_x,_y,_clrs[_x]); + } +}; +RDebugUtils.currentLine=64094222; + //BA.debugLineNum = 64094222;BA.debugLine="SetAvg(bc, 1, y, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,(int) (1),_y,_clrs,_temp); +RDebugUtils.currentLine=64094223; + //BA.debugLineNum = 64094223;BA.debugLine="m = 0"; +_m = (int) (0); +RDebugUtils.currentLine=64094224; + //BA.debugLineNum = 64094224;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=64094225; + //BA.debugLineNum = 64094225;BA.debugLine="bc.GetARGB(x + 1, y, clrs(m))"; +_bc._getargb((int) (_x+1),_y,_clrs[_m]); +RDebugUtils.currentLine=64094226; + //BA.debugLineNum = 64094226;BA.debugLine="m = (m + 1) Mod 3"; +_m = (int) ((_m+1)%3); +RDebugUtils.currentLine=64094227; + //BA.debugLineNum = 64094227;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,_x,_y,_clrs,_temp); + } +}; + } +}; +RDebugUtils.currentLine=64094230; + //BA.debugLineNum = 64094230;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=64094231; + //BA.debugLineNum = 64094231;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=64094232; + //BA.debugLineNum = 64094232;BA.debugLine="bc.GetARGB(x, y, clrs(y))"; +_bc._getargb(_x,_y,_clrs[_y]); + } +}; +RDebugUtils.currentLine=64094234; + //BA.debugLineNum = 64094234;BA.debugLine="SetAvg(bc, x, 1, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,_x,(int) (1),_clrs,_temp); +RDebugUtils.currentLine=64094235; + //BA.debugLineNum = 64094235;BA.debugLine="m = 0"; +_m = (int) (0); +RDebugUtils.currentLine=64094236; + //BA.debugLineNum = 64094236;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=64094237; + //BA.debugLineNum = 64094237;BA.debugLine="bc.GetARGB(x, y + 1, clrs(m))"; +_bc._getargb(_x,(int) (_y+1),_clrs[_m]); +RDebugUtils.currentLine=64094238; + //BA.debugLineNum = 64094238;BA.debugLine="m = (m + 1) Mod 3"; +_m = (int) ((_m+1)%3); +RDebugUtils.currentLine=64094239; + //BA.debugLineNum = 64094239;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; +__ref._setavg /*String*/ (null,_bc,_x,_y,_clrs,_temp); + } +}; + } +}; + } +}; +RDebugUtils.currentLine=64094243; + //BA.debugLineNum = 64094243;BA.debugLine="Return bc"; +if (true) return _bc; +RDebugUtils.currentLine=64094244; + //BA.debugLineNum = 64094244;BA.debugLine="End Sub"; +return null; +} +public String _setavg(SHARK2.keymon.com.mx.b4xdialog __ref,b4a.example.bitmapcreator _bc,int _x,int _y,b4a.example.bitmapcreator._argbcolor[] _clrs,b4a.example.bitmapcreator._argbcolor _temp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "setavg", true)) + {return ((String) Debug.delegate(ba, "setavg", new Object[] {_bc,_x,_y,_clrs,_temp}));} +b4a.example.bitmapcreator._argbcolor _c = null; +RDebugUtils.currentLine=64159744; + //BA.debugLineNum = 64159744;BA.debugLine="Private Sub SetAvg(bc As BitmapCreator, x As Int,"; +RDebugUtils.currentLine=64159745; + //BA.debugLineNum = 64159745;BA.debugLine="temp.Initialize"; +_temp.Initialize(); +RDebugUtils.currentLine=64159746; + //BA.debugLineNum = 64159746;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=64159747; + //BA.debugLineNum = 64159747;BA.debugLine="temp.r = temp.r + c.r"; +_temp.r = (int) (_temp.r+_c.r); +RDebugUtils.currentLine=64159748; + //BA.debugLineNum = 64159748;BA.debugLine="temp.g = temp.g + c.g"; +_temp.g = (int) (_temp.g+_c.g); +RDebugUtils.currentLine=64159749; + //BA.debugLineNum = 64159749;BA.debugLine="temp.b = temp.b + c.b"; +_temp.b = (int) (_temp.b+_c.b); + } +}; +RDebugUtils.currentLine=64159751; + //BA.debugLineNum = 64159751;BA.debugLine="temp.a = 255"; +_temp.a = (int) (255); +RDebugUtils.currentLine=64159752; + //BA.debugLineNum = 64159752;BA.debugLine="temp.r = temp.r / 3"; +_temp.r = (int) (_temp.r/(double)3); +RDebugUtils.currentLine=64159753; + //BA.debugLineNum = 64159753;BA.debugLine="temp.g = temp.g / 3"; +_temp.g = (int) (_temp.g/(double)3); +RDebugUtils.currentLine=64159754; + //BA.debugLineNum = 64159754;BA.debugLine="temp.b = temp.b / 3"; +_temp.b = (int) (_temp.b/(double)3); +RDebugUtils.currentLine=64159755; + //BA.debugLineNum = 64159755;BA.debugLine="bc.SetARGB(x, y, temp)"; +_bc._setargb(_x,_y,_temp); +RDebugUtils.currentLine=64159756; + //BA.debugLineNum = 64159756;BA.debugLine="End Sub"; +return ""; +} +public String _button_click(SHARK2.keymon.com.mx.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "button_click", true)) + {return ((String) Debug.delegate(ba, "button_click", null));} +anywheresoftware.b4a.objects.B4XViewWrapper _b = null; +RDebugUtils.currentLine=63700992; + //BA.debugLineNum = 63700992;BA.debugLine="Private Sub Button_Click"; +RDebugUtils.currentLine=63700993; + //BA.debugLineNum = 63700993;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=63700994; + //BA.debugLineNum = 63700994;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=63700995; + //BA.debugLineNum = 63700995;BA.debugLine="Close(b.Tag)"; +__ref._close /*boolean*/ (null,(int)(BA.ObjectToNumber(_b.getTag()))); +RDebugUtils.currentLine=63700996; + //BA.debugLineNum = 63700996;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +RDebugUtils.currentLine=63111168; + //BA.debugLineNum = 63111168;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=63111169; + //BA.debugLineNum = 63111169;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=63111170; + //BA.debugLineNum = 63111170;BA.debugLine="Public ButtonsHeight As Int = 40dip"; +_buttonsheight = __c.DipToCurrent((int) (40)); +RDebugUtils.currentLine=63111171; + //BA.debugLineNum = 63111171;BA.debugLine="Public TitleBarHeight As Int = 30dip"; +_titlebarheight = __c.DipToCurrent((int) (30)); +RDebugUtils.currentLine=63111172; + //BA.debugLineNum = 63111172;BA.debugLine="Private ButtonWidth As Int = 80dip"; +_buttonwidth = __c.DipToCurrent((int) (80)); +RDebugUtils.currentLine=63111173; + //BA.debugLineNum = 63111173;BA.debugLine="Public Base As B4XView"; +_base = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=63111174; + //BA.debugLineNum = 63111174;BA.debugLine="Public BackgroundColor As Int = 0xFF555555 'base"; +_backgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=63111175; + //BA.debugLineNum = 63111175;BA.debugLine="Public OverlayColor As Int = 0xaa000000"; +_overlaycolor = ((int)0xaa000000); +RDebugUtils.currentLine=63111176; + //BA.debugLineNum = 63111176;BA.debugLine="Public BorderColor As Int = 0xff000000"; +_bordercolor = ((int)0xff000000); +RDebugUtils.currentLine=63111177; + //BA.debugLineNum = 63111177;BA.debugLine="Public BorderCornersRadius As Int = 2dip"; +_bordercornersradius = __c.DipToCurrent((int) (2)); +RDebugUtils.currentLine=63111178; + //BA.debugLineNum = 63111178;BA.debugLine="Public BorderWidth As Int = 2dip"; +_borderwidth = __c.DipToCurrent((int) (2)); +RDebugUtils.currentLine=63111179; + //BA.debugLineNum = 63111179;BA.debugLine="Public ButtonsColor As Int = 0xFF555555"; +_buttonscolor = ((int)0xff555555); +RDebugUtils.currentLine=63111180; + //BA.debugLineNum = 63111180;BA.debugLine="Public ButtonsTextColor As Int = 0xFF89D5FF"; +_buttonstextcolor = ((int)0xff89d5ff); +RDebugUtils.currentLine=63111181; + //BA.debugLineNum = 63111181;BA.debugLine="Private Background As B4XView"; +_background = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=63111182; + //BA.debugLineNum = 63111182;BA.debugLine="Private BlurImageView As B4XView"; +_blurimageview = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=63111183; + //BA.debugLineNum = 63111183;BA.debugLine="Public BlurBackground As Boolean"; +_blurbackground = false; +RDebugUtils.currentLine=63111184; + //BA.debugLineNum = 63111184;BA.debugLine="Private BlurReduceScale As Int"; +_blurreducescale = 0; +RDebugUtils.currentLine=63111185; + //BA.debugLineNum = 63111185;BA.debugLine="Public mParent As B4XView"; +_mparent = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=63111186; + //BA.debugLineNum = 63111186;BA.debugLine="Public Title As Object = \"\""; +_title = (Object)(""); +RDebugUtils.currentLine=63111187; + //BA.debugLineNum = 63111187;BA.debugLine="Public TitleBarColor As Int = 0xFF0083B8"; +_titlebarcolor = ((int)0xff0083b8); +RDebugUtils.currentLine=63111188; + //BA.debugLineNum = 63111188;BA.debugLine="Public TitleBarTextColor As Int"; +_titlebartextcolor = 0; +RDebugUtils.currentLine=63111189; + //BA.debugLineNum = 63111189;BA.debugLine="Public BodyTextColor As Int = xui.Color_White"; +_bodytextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=63111190; + //BA.debugLineNum = 63111190;BA.debugLine="Public TitleBar As B4XView"; +_titlebar = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=63111191; + //BA.debugLineNum = 63111191;BA.debugLine="Public PutAtTop As Boolean"; +_putattop = false; +RDebugUtils.currentLine=63111192; + //BA.debugLineNum = 63111192;BA.debugLine="Public TitleBarFont As B4XFont"; +_titlebarfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=63111193; + //BA.debugLineNum = 63111193;BA.debugLine="Public ButtonsFont As B4XFont"; +_buttonsfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=63111194; + //BA.debugLineNum = 63111194;BA.debugLine="Public ButtonsTextColorDisabled As Int = 0xFF8080"; +_buttonstextcolordisabled = ((int)0xff808080); +RDebugUtils.currentLine=63111195; + //BA.debugLineNum = 63111195;BA.debugLine="Public VisibleAnimationDuration As Int = 100"; +_visibleanimationduration = (int) (100); +RDebugUtils.currentLine=63111196; + //BA.debugLineNum = 63111196;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=63111197; + //BA.debugLineNum = 63111197;BA.debugLine="Public ButtonsState As Map"; +_buttonsstate = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=63111198; + //BA.debugLineNum = 63111198;BA.debugLine="End Sub"; +return ""; +} +public boolean _getvisible(SHARK2.keymon.com.mx.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "getvisible", true)) + {return ((Boolean) Debug.delegate(ba, "getvisible", null));} +RDebugUtils.currentLine=63438848; + //BA.debugLineNum = 63438848;BA.debugLine="Public Sub getVisible As Boolean"; +RDebugUtils.currentLine=63438849; + //BA.debugLineNum = 63438849;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=63438850; + //BA.debugLineNum = 63438850;BA.debugLine="End Sub"; +return false; +} +public String _createbutton(SHARK2.keymon.com.mx.b4xdialog __ref,Object _text,int _code) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "createbutton", true)) + {return ((String) Debug.delegate(ba, "createbutton", new Object[] {_text,_code}));} +anywheresoftware.b4a.objects.LabelWrapper _btn = null; +anywheresoftware.b4a.objects.B4XViewWrapper _xbtn = null; +int _numberofbuttons = 0; +RDebugUtils.currentLine=63504384; + //BA.debugLineNum = 63504384;BA.debugLine="Private Sub CreateButton (Text As Object, Code As"; +RDebugUtils.currentLine=63504385; + //BA.debugLineNum = 63504385;BA.debugLine="If Text = \"\" Then Return"; +if ((_text).equals((Object)(""))) { +if (true) return "";}; +RDebugUtils.currentLine=63504389; + //BA.debugLineNum = 63504389;BA.debugLine="Dim btn As Label"; +_btn = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=63504391; + //BA.debugLineNum = 63504391;BA.debugLine="btn.Initialize(\"Button\")"; +_btn.Initialize(ba,"Button"); +RDebugUtils.currentLine=63504392; + //BA.debugLineNum = 63504392;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=63504393; + //BA.debugLineNum = 63504393;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xbtn, Tex"; +_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xbtn,_text); +RDebugUtils.currentLine=63504394; + //BA.debugLineNum = 63504394;BA.debugLine="xbtn.Tag = Code"; +_xbtn.setTag((Object)(_code)); +RDebugUtils.currentLine=63504395; + //BA.debugLineNum = 63504395;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=63504396; + //BA.debugLineNum = 63504396;BA.debugLine="xbtn.SetTextAlignment(\"CENTER\", \"CENTER\")"; +_xbtn.SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=63504397; + //BA.debugLineNum = 63504397;BA.debugLine="xbtn.TextColor = ButtonsTextColor"; +_xbtn.setTextColor(__ref._buttonstextcolor /*int*/ ); +RDebugUtils.currentLine=63504398; + //BA.debugLineNum = 63504398;BA.debugLine="xbtn.Font = ButtonsFont"; +_xbtn.setFont(__ref._buttonsfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=63504399; + //BA.debugLineNum = 63504399;BA.debugLine="Dim numberOfButtons As Int = Base.NumberOfViews '"; +_numberofbuttons = __ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews(); +RDebugUtils.currentLine=63504400; + //BA.debugLineNum = 63504400;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=63504402; + //BA.debugLineNum = 63504402;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=63504403; + //BA.debugLineNum = 63504403;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _getbutton(SHARK2.keymon.com.mx.b4xdialog __ref,int _resultcode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "getbutton", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getbutton", new Object[] {_resultcode}));} +anywheresoftware.b4a.objects.B4XViewWrapper _b = null; +RDebugUtils.currentLine=63569920; + //BA.debugLineNum = 63569920;BA.debugLine="Public Sub GetButton (ResultCode As Int) As B4XVie"; +RDebugUtils.currentLine=63569921; + //BA.debugLineNum = 63569921;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=63569922; + //BA.debugLineNum = 63569922;BA.debugLine="If b.Tag = ResultCode Then Return b 'ignore"; +if ((_b.getTag()).equals((Object)(_resultcode))) { +if (true) return _b;}; + } +}; +RDebugUtils.currentLine=63569924; + //BA.debugLineNum = 63569924;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=63569925; + //BA.debugLineNum = 63569925;BA.debugLine="End Sub"; +return null; +} +public String _initialize(SHARK2.keymon.com.mx.b4xdialog __ref,anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _parent) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_parent}));} +RDebugUtils.currentLine=63176704; + //BA.debugLineNum = 63176704;BA.debugLine="Public Sub Initialize (Parent As B4XView)"; +RDebugUtils.currentLine=63176705; + //BA.debugLineNum = 63176705;BA.debugLine="BlurBackground = False"; +__ref._blurbackground /*boolean*/ = __c.False; +RDebugUtils.currentLine=63176706; + //BA.debugLineNum = 63176706;BA.debugLine="If xui.IsB4i Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i()) { +RDebugUtils.currentLine=63176707; + //BA.debugLineNum = 63176707;BA.debugLine="BlurReduceScale = 3"; +__ref._blurreducescale /*int*/ = (int) (3); + }else +{RDebugUtils.currentLine=63176708; + //BA.debugLineNum = 63176708;BA.debugLine="Else If xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=63176709; + //BA.debugLineNum = 63176709;BA.debugLine="BlurReduceScale = 1"; +__ref._blurreducescale /*int*/ = (int) (1); + }else +{RDebugUtils.currentLine=63176710; + //BA.debugLineNum = 63176710;BA.debugLine="Else if xui.IsB4A Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +RDebugUtils.currentLine=63176711; + //BA.debugLineNum = 63176711;BA.debugLine="BlurReduceScale = 3"; +__ref._blurreducescale /*int*/ = (int) (3); + }}} +; +RDebugUtils.currentLine=63176713; + //BA.debugLineNum = 63176713;BA.debugLine="mParent = Parent"; +__ref._mparent /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _parent; +RDebugUtils.currentLine=63176719; + //BA.debugLineNum = 63176719;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=63176720; + //BA.debugLineNum = 63176720;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=63176721; + //BA.debugLineNum = 63176721;BA.debugLine="TitleBarTextColor = xui.Color_White"; +__ref._titlebartextcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=63176722; + //BA.debugLineNum = 63176722;BA.debugLine="ButtonsState.Initialize"; +__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=63176723; + //BA.debugLineNum = 63176723;BA.debugLine="End Sub"; +return ""; +} +public String _internaladdstubtoclvifneeded(SHARK2.keymon.com.mx.b4xdialog __ref,b4a.example3.customlistview _customlistview1,int _color) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "internaladdstubtoclvifneeded", true)) + {return ((String) Debug.delegate(ba, "internaladdstubtoclvifneeded", new Object[] {_customlistview1,_color}));} +RDebugUtils.currentLine=64290816; + //BA.debugLineNum = 64290816;BA.debugLine="Public Sub InternalAddStubToCLVIfNeeded(CustomList"; +RDebugUtils.currentLine=64290817; + //BA.debugLineNum = 64290817;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,_customlistview1,_color); +RDebugUtils.currentLine=64290818; + //BA.debugLineNum = 64290818;BA.debugLine="End Sub"; +return ""; +} +public String _internalsettextorcsbuildertolabel(SHARK2.keymon.com.mx.b4xdialog __ref,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "internalsettextorcsbuildertolabel", true)) + {return ((String) Debug.delegate(ba, "internalsettextorcsbuildertolabel", new Object[] {_xlbl,_text}));} +RDebugUtils.currentLine=64225280; + //BA.debugLineNum = 64225280;BA.debugLine="Public Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +RDebugUtils.currentLine=64225281; + //BA.debugLineNum = 64225281;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; +_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,_text); +RDebugUtils.currentLine=64225282; + //BA.debugLineNum = 64225282;BA.debugLine="End Sub"; +return ""; +} +public String _resize(SHARK2.keymon.com.mx.b4xdialog __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} +int _top = 0; +RDebugUtils.currentLine=63963136; + //BA.debugLineNum = 63963136;BA.debugLine="Public Sub Resize (Width As Int, Height As Int)"; +RDebugUtils.currentLine=63963138; + //BA.debugLineNum = 63963138;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=63963139; + //BA.debugLineNum = 63963139;BA.debugLine="If PutAtTop Then Top = 20dip"; +if (__ref._putattop /*boolean*/ ) { +_top = __c.DipToCurrent((int) (20));}; +RDebugUtils.currentLine=63963140; + //BA.debugLineNum = 63963140;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=63963141; + //BA.debugLineNum = 63963141;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=63963142; + //BA.debugLineNum = 63963142;BA.debugLine="If xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=63963143; + //BA.debugLineNum = 63963143;BA.debugLine="UpdateBlur"; +__ref._updateblur /*String*/ (null); + }; +RDebugUtils.currentLine=63963145; + //BA.debugLineNum = 63963145;BA.debugLine="End Sub"; +return ""; +} +public String _updateblur(SHARK2.keymon.com.mx.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "updateblur", true)) + {return ((String) Debug.delegate(ba, "updateblur", null));} +anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _source = null; +b4a.example.bitmapcreator _blurred = null; +RDebugUtils.currentLine=64028672; + //BA.debugLineNum = 64028672;BA.debugLine="Private Sub UpdateBlur"; +RDebugUtils.currentLine=64028673; + //BA.debugLineNum = 64028673;BA.debugLine="If BlurBackground = False Then Return"; +if (__ref._blurbackground /*boolean*/ ==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=64028674; + //BA.debugLineNum = 64028674;BA.debugLine="Background.Visible = False"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=64028675; + //BA.debugLineNum = 64028675;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=64028676; + //BA.debugLineNum = 64028676;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=64028677; + //BA.debugLineNum = 64028677;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=64028679; + //BA.debugLineNum = 64028679;BA.debugLine="Background.Visible = True"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=64028680; + //BA.debugLineNum = 64028680;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=64028681; + //BA.debugLineNum = 64028681;BA.debugLine="Dim blurred As BitmapCreator = Blur(source)"; +_blurred = __ref._blur /*b4a.example.bitmapcreator*/ (null,_source); +RDebugUtils.currentLine=64028682; + //BA.debugLineNum = 64028682;BA.debugLine="blurred.SetBitmapToImageView(blurred.Bitmap, Blur"; +_blurred._setbitmaptoimageview(_blurred._getbitmap(),__ref._blurimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=64028683; + //BA.debugLineNum = 64028683;BA.debugLine="End Sub"; +return ""; +} +public String _setbuttonstate(SHARK2.keymon.com.mx.b4xdialog __ref,int _resultcode,boolean _enabled) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "setbuttonstate", true)) + {return ((String) Debug.delegate(ba, "setbuttonstate", new Object[] {_resultcode,_enabled}));} +anywheresoftware.b4a.objects.B4XViewWrapper _b = null; +RDebugUtils.currentLine=63635456; + //BA.debugLineNum = 63635456;BA.debugLine="Public Sub SetButtonState (ResultCode As Int, Enab"; +RDebugUtils.currentLine=63635457; + //BA.debugLineNum = 63635457;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=63635458; + //BA.debugLineNum = 63635458;BA.debugLine="If b.IsInitialized Then"; +if (_b.IsInitialized()) { +RDebugUtils.currentLine=63635459; + //BA.debugLineNum = 63635459;BA.debugLine="b.Enabled = Enabled"; +_b.setEnabled(_enabled); +RDebugUtils.currentLine=63635460; + //BA.debugLineNum = 63635460;BA.debugLine="If Enabled Then b.TextColor = ButtonsTextColor E"; +if (_enabled) { +_b.setTextColor(__ref._buttonstextcolor /*int*/ );} +else { +_b.setTextColor(__ref._buttonstextcolordisabled /*int*/ );}; +RDebugUtils.currentLine=63635461; + //BA.debugLineNum = 63635461;BA.debugLine="ButtonsState.Put(ResultCode, Enabled)"; +__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_resultcode),(Object)(_enabled)); + }; +RDebugUtils.currentLine=63635463; + //BA.debugLineNum = 63635463;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _show(SHARK2.keymon.com.mx.b4xdialog __ref,Object _text,Object _yes,Object _no,Object _cancel) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "show", true)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "show", new Object[] {_text,_yes,_no,_cancel}));} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_text,_yes,_no,_cancel); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(SHARK2.keymon.com.mx.b4xdialog parent,SHARK2.keymon.com.mx.b4xdialog __ref,Object _text,Object _yes,Object _no,Object _cancel) { +this.parent = parent; +this.__ref = __ref; +this._text = _text; +this._yes = _yes; +this._no = _no; +this._cancel = _cancel; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xdialog __ref; +SHARK2.keymon.com.mx.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=63307777; + //BA.debugLineNum = 63307777;BA.debugLine="Dim p As B4XView"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=63307778; + //BA.debugLineNum = 63307778;BA.debugLine="p = xui.CreatePanel(\"\")"; +_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=63307779; + //BA.debugLineNum = 63307779;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=63307780; + //BA.debugLineNum = 63307780;BA.debugLine="Dim lbl As Label"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=63307781; + //BA.debugLineNum = 63307781;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(ba,""); +RDebugUtils.currentLine=63307785; + //BA.debugLineNum = 63307785;BA.debugLine="lbl.SingleLine = False"; +_lbl.setSingleLine(parent.__c.False); +RDebugUtils.currentLine=63307789; + //BA.debugLineNum = 63307789;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=63307790; + //BA.debugLineNum = 63307790;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=63307791; + //BA.debugLineNum = 63307791;BA.debugLine="xlbl.TextColor = BodyTextColor"; +_xlbl.setTextColor(__ref._bodytextcolor /*int*/ ); +RDebugUtils.currentLine=63307792; + //BA.debugLineNum = 63307792;BA.debugLine="xlbl.Font = TitleBarFont"; +_xlbl.setFont(__ref._titlebarfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=63307793; + //BA.debugLineNum = 63307793;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; +parent._xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,_text); +RDebugUtils.currentLine=63307794; + //BA.debugLineNum = 63307794;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; +_xlbl.SetTextAlignment("CENTER","LEFT"); +RDebugUtils.currentLine=63307795; + //BA.debugLineNum = 63307795;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=63307796; + //BA.debugLineNum = 63307796;BA.debugLine="Return Result"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; +RDebugUtils.currentLine=63307797; + //BA.debugLineNum = 63307797;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showcustom(SHARK2.keymon.com.mx.b4xdialog __ref,anywheresoftware.b4a.objects.B4XViewWrapper _content,Object _yes,Object _no,Object _cancel) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "showcustom", true)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "showcustom", new Object[] {_content,_yes,_no,_cancel}));} +ResumableSub_ShowCustom rsub = new ResumableSub_ShowCustom(this,__ref,_content,_yes,_no,_cancel); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +} +public static class ResumableSub_ShowCustom extends BA.ResumableSub { +public ResumableSub_ShowCustom(SHARK2.keymon.com.mx.b4xdialog parent,SHARK2.keymon.com.mx.b4xdialog __ref,anywheresoftware.b4a.objects.B4XViewWrapper _content,Object _yes,Object _no,Object _cancel) { +this.parent = parent; +this.__ref = __ref; +this._content = _content; +this._yes = _yes; +this._no = _no; +this._cancel = _cancel; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xdialog __ref; +SHARK2.keymon.com.mx.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=63373313; + //BA.debugLineNum = 63373313;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=63373314; + //BA.debugLineNum = 63373314;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=63373315; + //BA.debugLineNum = 63373315;BA.debugLine="v.RemoveViewFromParent"; +_v.RemoveViewFromParent(); +RDebugUtils.currentLine=63373316; + //BA.debugLineNum = 63373316;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=63373319; + //BA.debugLineNum = 63373319;BA.debugLine="ButtonsState.Clear"; +__ref._buttonsstate /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=63373320; + //BA.debugLineNum = 63373320;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=63373321; + //BA.debugLineNum = 63373321;BA.debugLine="Background.Tag = \"b4xdialog_background\""; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("b4xdialog_background")); +RDebugUtils.currentLine=63373322; + //BA.debugLineNum = 63373322;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=63373323; + //BA.debugLineNum = 63373323;BA.debugLine="Dim iv As ImageView"; +_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=63373324; + //BA.debugLineNum = 63373324;BA.debugLine="iv.Initialize(\"\")"; +_iv.Initialize(ba,""); +RDebugUtils.currentLine=63373325; + //BA.debugLineNum = 63373325;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=63373326; + //BA.debugLineNum = 63373326;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=63373327; + //BA.debugLineNum = 63373327;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=63373329; + //BA.debugLineNum = 63373329;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=63373332; + //BA.debugLineNum = 63373332;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=63373333; + //BA.debugLineNum = 63373333;BA.debugLine="p.Elevation = 4dip"; +_p.setElevation((float) (parent.__c.DipToCurrent((int) (4)))); +RDebugUtils.currentLine=63373335; + //BA.debugLineNum = 63373335;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=63373336; + //BA.debugLineNum = 63373336;BA.debugLine="UpdateBlur"; +__ref._updateblur /*String*/ (null); +RDebugUtils.currentLine=63373337; + //BA.debugLineNum = 63373337;BA.debugLine="Base = xui.CreatePanel(\"\")"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=63373338; + //BA.debugLineNum = 63373338;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=63373339; + //BA.debugLineNum = 63373339;BA.debugLine="Base.RequestFocus"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=63373340; + //BA.debugLineNum = 63373340;BA.debugLine="Dim IncludeTitle As Boolean = Title <> \"\""; +_includetitle = (__ref._title /*Object*/ ).equals((Object)("")) == false; +RDebugUtils.currentLine=63373341; + //BA.debugLineNum = 63373341;BA.debugLine="Dim TempTitleBarHeight As Int = 0"; +_temptitlebarheight = (int) (0); +RDebugUtils.currentLine=63373342; + //BA.debugLineNum = 63373342;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=63373343; + //BA.debugLineNum = 63373343;BA.debugLine="TempTitleBarHeight = TitleBarHeight"; +_temptitlebarheight = __ref._titlebarheight /*int*/ ; + if (true) break; + +case 18: +//C +this.state = 19; +; +RDebugUtils.currentLine=63373345; + //BA.debugLineNum = 63373345;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=63373346; + //BA.debugLineNum = 63373346;BA.debugLine="Dim width As Int = Content.Width + 4dip"; +_width = (int) (_content.getWidth()+parent.__c.DipToCurrent((int) (4))); +RDebugUtils.currentLine=63373347; + //BA.debugLineNum = 63373347;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=63373348; + //BA.debugLineNum = 63373348;BA.debugLine="Dim RemoveTitle As Boolean"; +_removetitle = false; +RDebugUtils.currentLine=63373349; + //BA.debugLineNum = 63373349;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=63373350; + //BA.debugLineNum = 63373350;BA.debugLine="Top = 20dip"; +_top = parent.__c.DipToCurrent((int) (20)); +RDebugUtils.currentLine=63373351; + //BA.debugLineNum = 63373351;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=63373362; + //BA.debugLineNum = 63373362;BA.debugLine="Dim btype As Int = ButtonsOrder(i)"; +_btype = __ref._buttonsorder /*int[]*/ [_i]; +RDebugUtils.currentLine=63373363; + //BA.debugLineNum = 63373363;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=63373365; + //BA.debugLineNum = 63373365;BA.debugLine="CreateButton(Cancel, btype)"; +__ref._createbutton /*String*/ (null,_cancel,_btype); + if (true) break; + +case 39: +//C +this.state = 42; +RDebugUtils.currentLine=63373367; + //BA.debugLineNum = 63373367;BA.debugLine="CreateButton(No, btype)"; +__ref._createbutton /*String*/ (null,_no,_btype); + if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=63373369; + //BA.debugLineNum = 63373369;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=63373372; + //BA.debugLineNum = 63373372;BA.debugLine="Base.Visible = False"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=63373373; + //BA.debugLineNum = 63373373;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=63373374; + //BA.debugLineNum = 63373374;BA.debugLine="TitleBar = xui.CreatePanel(\"TitleBar\")"; +__ref._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"TitleBar"); +RDebugUtils.currentLine=63373375; + //BA.debugLineNum = 63373375;BA.debugLine="TitleBar.Color = TitleBarColor"; +__ref._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__ref._titlebarcolor /*int*/ ); +RDebugUtils.currentLine=63373376; + //BA.debugLineNum = 63373376;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=63373377; + //BA.debugLineNum = 63373377;BA.debugLine="Dim lbl As Label"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=63373378; + //BA.debugLineNum = 63373378;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(ba,""); +RDebugUtils.currentLine=63373379; + //BA.debugLineNum = 63373379;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=63373380; + //BA.debugLineNum = 63373380;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Ti"; +parent._xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,__ref._title /*Object*/ ); +RDebugUtils.currentLine=63373381; + //BA.debugLineNum = 63373381;BA.debugLine="xlbl.TextColor = TitleBarTextColor"; +_xlbl.setTextColor(__ref._titlebartextcolor /*int*/ ); +RDebugUtils.currentLine=63373382; + //BA.debugLineNum = 63373382;BA.debugLine="xlbl.Font = TitleBarFont"; +_xlbl.setFont(__ref._titlebarfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=63373383; + //BA.debugLineNum = 63373383;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +_xlbl.SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=63373384; + //BA.debugLineNum = 63373384;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=63373386; + //BA.debugLineNum = 63373386;BA.debugLine="Content.RemoveViewFromParent"; +_content.RemoveViewFromParent(); +RDebugUtils.currentLine=63373387; + //BA.debugLineNum = 63373387;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=63373388; + //BA.debugLineNum = 63373388;BA.debugLine="Base.SetVisibleAnimated(VisibleAnimationDuration,"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetVisibleAnimated(__ref._visibleanimationduration /*int*/ ,parent.__c.True); +RDebugUtils.currentLine=63373389; + //BA.debugLineNum = 63373389;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=63373390; + //BA.debugLineNum = 63373390;BA.debugLine="v.Enabled = True"; +_v.setEnabled(parent.__c.True); + if (true) break; +if (true) break; + +case 51: +//C +this.state = 52; +; +RDebugUtils.currentLine=63373392; + //BA.debugLineNum = 63373392;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=63373393; + //BA.debugLineNum = 63373393;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=63373394; + //BA.debugLineNum = 63373394;BA.debugLine="v.Enabled = False"; +_v.setEnabled(parent.__c.False); + if (true) break; +if (true) break; + +case 55: +//C +this.state = 56; +; +RDebugUtils.currentLine=63373396; + //BA.debugLineNum = 63373396;BA.debugLine="Base.SetVisibleAnimated(VisibleAnimationDuration,"; +__ref._base /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetVisibleAnimated(__ref._visibleanimationduration /*int*/ ,parent.__c.False); +RDebugUtils.currentLine=63373397; + //BA.debugLineNum = 63373397;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=63373398; + //BA.debugLineNum = 63373398;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=63373400; + //BA.debugLineNum = 63373400;BA.debugLine="Background.RemoveViewFromParent"; +__ref._background /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); +RDebugUtils.currentLine=63373401; + //BA.debugLineNum = 63373401;BA.debugLine="Return Result"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; +RDebugUtils.currentLine=63373402; + //BA.debugLineNum = 63373402;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showtemplate(SHARK2.keymon.com.mx.b4xdialog __ref,Object _dialogtemplate,Object _yes,Object _no,Object _cancel) throws Exception{ +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "showtemplate", true)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "showtemplate", new Object[] {_dialogtemplate,_yes,_no,_cancel}));} +ResumableSub_ShowTemplate rsub = new ResumableSub_ShowTemplate(this,__ref,_dialogtemplate,_yes,_no,_cancel); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +} +public static class ResumableSub_ShowTemplate extends BA.ResumableSub { +public ResumableSub_ShowTemplate(SHARK2.keymon.com.mx.b4xdialog parent,SHARK2.keymon.com.mx.b4xdialog __ref,Object _dialogtemplate,Object _yes,Object _no,Object _cancel) { +this.parent = parent; +this.__ref = __ref; +this._dialogtemplate = _dialogtemplate; +this._yes = _yes; +this._no = _no; +this._cancel = _cancel; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xdialog __ref; +SHARK2.keymon.com.mx.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=63242241; + //BA.debugLineNum = 63242241;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=63242242; + //BA.debugLineNum = 63242242;BA.debugLine="CallSub2(DialogTemplate, \"Show\", Me)"; +parent.__c.CallSubDebug2(ba,_dialogtemplate,"Show",parent); +RDebugUtils.currentLine=63242243; + //BA.debugLineNum = 63242243;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=63242244; + //BA.debugLineNum = 63242244;BA.debugLine="CallSub2(DialogTemplate, \"DialogClosed\", Result)"; +parent.__c.CallSubDebug2(ba,_dialogtemplate,"DialogClosed",(Object)(_result)); +RDebugUtils.currentLine=63242245; + //BA.debugLineNum = 63242245;BA.debugLine="PutAtTop = False"; +__ref._putattop /*boolean*/ = parent.__c.False; +RDebugUtils.currentLine=63242246; + //BA.debugLineNum = 63242246;BA.debugLine="Return Result"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; +RDebugUtils.currentLine=63242247; + //BA.debugLineNum = 63242247;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _stub_click(SHARK2.keymon.com.mx.b4xdialog __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xdialog"; +if (Debug.shouldDelegate(ba, "stub_click", true)) + {return ((String) Debug.delegate(ba, "stub_click", null));} +RDebugUtils.currentLine=64356352; + //BA.debugLineNum = 64356352;BA.debugLine="Private Sub Stub_Click"; +RDebugUtils.currentLine=64356354; + //BA.debugLineNum = 64356354;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xfloattextfield.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xfloattextfield.java new file mode 100644 index 0000000..bc64c70 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xfloattextfield.java @@ -0,0 +1,1252 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xfloattextfield"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(SHARK2.keymon.com.mx.b4xfloattextfield __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +int _firstdistance = 0; +RDebugUtils.currentLine=65011712; + //BA.debugLineNum = 65011712;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=65011713; + //BA.debugLineNum = 65011713;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=65011714; + //BA.debugLineNum = 65011714;BA.debugLine="Dim FirstDistance As Int = 2dip"; +_firstdistance = __c.DipToCurrent((int) (2)); +RDebugUtils.currentLine=65011715; + //BA.debugLineNum = 65011715;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=65011716; + //BA.debugLineNum = 65011716;BA.debugLine="If lblV.IsInitialized Then"; +if (__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=65011717; + //BA.debugLineNum = 65011717;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=65011718; + //BA.debugLineNum = 65011718;BA.debugLine="FirstDistance = FirstDistance + lblV.Width + 2di"; +_firstdistance = (int) (_firstdistance+__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()+__c.DipToCurrent((int) (2))); + }; +RDebugUtils.currentLine=65011720; + //BA.debugLineNum = 65011720;BA.debugLine="If lblClear.IsInitialized Then"; +if (__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=65011721; + //BA.debugLineNum = 65011721;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=65011723; + //BA.debugLineNum = 65011723;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +__ref._updatelabel /*String*/ (null,__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(),__c.True); +RDebugUtils.currentLine=65011724; + //BA.debugLineNum = 65011724;BA.debugLine="End Sub"; +return ""; +} +public String _updatelabel(SHARK2.keymon.com.mx.b4xfloattextfield __ref,String _txt,boolean _force) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "updatelabel", true)) + {return ((String) Debug.delegate(ba, "updatelabel", new Object[] {_txt,_force}));} +anywheresoftware.b4a.objects.B4XViewWrapper _lbl = null; +boolean _goingtolarge = false; +anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _b = null; +RDebugUtils.currentLine=65077248; + //BA.debugLineNum = 65077248;BA.debugLine="Private Sub UpdateLabel (txt As String, force As B"; +RDebugUtils.currentLine=65077249; + //BA.debugLineNum = 65077249;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=65077250; + //BA.debugLineNum = 65077250;BA.debugLine="If lbl.IsInitialized Then lbl.Visible = Focused"; +if (_lbl.IsInitialized()) { +_lbl.setVisible(__ref._focused /*boolean*/ && _txt.length()>0);}; + } +}; +RDebugUtils.currentLine=65077253; + //BA.debugLineNum = 65077253;BA.debugLine="Dim GoingToLarge As Boolean = txt.Length = 0"; +_goingtolarge = _txt.length()==0; +RDebugUtils.currentLine=65077254; + //BA.debugLineNum = 65077254;BA.debugLine="If GoingToLarge = LargeLabel And force = False Th"; +if (_goingtolarge==__ref._largelabel /*boolean*/ && _force==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=65077255; + //BA.debugLineNum = 65077255;BA.debugLine="Dim b As B4XBitmap"; +_b = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=65077256; + //BA.debugLineNum = 65077256;BA.debugLine="If Focused Then"; +if (__ref._focused /*boolean*/ ) { +RDebugUtils.currentLine=65077257; + //BA.debugLineNum = 65077257;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=65077259; + //BA.debugLineNum = 65077259;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=65077261; + //BA.debugLineNum = 65077261;BA.debugLine="If b.IsInitialized = False Then Return"; +if (_b.IsInitialized()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=65077262; + //BA.debugLineNum = 65077262;BA.debugLine="HintImageView.SetBitmap(b)"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_b.getObject())); +RDebugUtils.currentLine=65077263; + //BA.debugLineNum = 65077263;BA.debugLine="If GoingToLarge Then"; +if (_goingtolarge) { +RDebugUtils.currentLine=65077264; + //BA.debugLineNum = 65077264;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=65077265; + //BA.debugLineNum = 65077265;BA.debugLine="LargeLabel = True"; +__ref._largelabel /*boolean*/ = __c.True; + }else { +RDebugUtils.currentLine=65077267; + //BA.debugLineNum = 65077267;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=65077268; + //BA.debugLineNum = 65077268;BA.debugLine="LargeLabel = False"; +__ref._largelabel /*boolean*/ = __c.False; + }; +RDebugUtils.currentLine=65077270; + //BA.debugLineNum = 65077270;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +RDebugUtils.currentLine=64421888; + //BA.debugLineNum = 64421888;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=64421889; + //BA.debugLineNum = 64421889;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=64421890; + //BA.debugLineNum = 64421890;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=64421891; + //BA.debugLineNum = 64421891;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=64421892; + //BA.debugLineNum = 64421892;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=64421893; + //BA.debugLineNum = 64421893;BA.debugLine="Private mTextField As B4XView"; +_mtextfield = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=64421894; + //BA.debugLineNum = 64421894;BA.debugLine="Public AnimationDuration As Int = 200"; +_animationduration = (int) (200); +RDebugUtils.currentLine=64421895; + //BA.debugLineNum = 64421895;BA.debugLine="Public LargeLabelTextSize = 18, SmallLabelTextSiz"; +_largelabeltextsize = (float) (18); +_smalllabeltextsize = (float) (14); +RDebugUtils.currentLine=64421896; + //BA.debugLineNum = 64421896;BA.debugLine="Private LargeLabel As Boolean"; +_largelabel = false; +RDebugUtils.currentLine=64421897; + //BA.debugLineNum = 64421897;BA.debugLine="Private MeasuringCanvas As B4XCanvas"; +_measuringcanvas = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=64421898; + //BA.debugLineNum = 64421898;BA.debugLine="Public HintColor As Int"; +_hintcolor = 0; +RDebugUtils.currentLine=64421899; + //BA.debugLineNum = 64421899;BA.debugLine="Public NonFocusedHintColor As Int"; +_nonfocusedhintcolor = 0; +RDebugUtils.currentLine=64421900; + //BA.debugLineNum = 64421900;BA.debugLine="Private HintImageView As B4XView"; +_hintimageview = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=64421901; + //BA.debugLineNum = 64421901;BA.debugLine="Public HintText As String"; +_hinttext = ""; +RDebugUtils.currentLine=64421902; + //BA.debugLineNum = 64421902;BA.debugLine="Public HintFont As B4XFont"; +_hintfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=64421903; + //BA.debugLineNum = 64421903;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=64421904; + //BA.debugLineNum = 64421904;BA.debugLine="Public Focused As Boolean"; +_focused = false; +RDebugUtils.currentLine=64421905; + //BA.debugLineNum = 64421905;BA.debugLine="Public lblClear As B4XView"; +_lblclear = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=64421906; + //BA.debugLineNum = 64421906;BA.debugLine="Public lblV As B4XView"; +_lblv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=64421907; + //BA.debugLineNum = 64421907;BA.debugLine="Private mProps As Map"; +_mprops = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=64421908; + //BA.debugLineNum = 64421908;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=64421909; + //BA.debugLineNum = 64421909;BA.debugLine="Private KeyboardType As String 'ignore"; +_keyboardtype = ""; +RDebugUtils.currentLine=64421910; + //BA.debugLineNum = 64421910;BA.debugLine="Private Multiline As Boolean"; +_multiline = false; +RDebugUtils.currentLine=64421911; + //BA.debugLineNum = 64421911;BA.debugLine="Private mNextTextField As B4XFloatTextField"; +_mnexttextfield = new SHARK2.keymon.com.mx.b4xfloattextfield(); +RDebugUtils.currentLine=64421913; + //BA.debugLineNum = 64421913;BA.debugLine="Private IME As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=64421918; + //BA.debugLineNum = 64421918;BA.debugLine="Public HintLabelLargeOffsetX, HintLabelSmallOffse"; +_hintlabellargeoffsetx = 0; +_hintlabelsmalloffsety = __c.DipToCurrent((int) (2)); +_hintlabelsmalloffsetx = __c.DipToCurrent((int) (2)); +RDebugUtils.currentLine=64421919; + //BA.debugLineNum = 64421919;BA.debugLine="Private LastSwitchTextFieldTime As Long"; +_lastswitchtextfieldtime = 0L; +RDebugUtils.currentLine=64421920; + //BA.debugLineNum = 64421920;BA.debugLine="End Sub"; +return ""; +} +public String _createacceptbutton(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createacceptbutton", true)) + {return ((String) Debug.delegate(ba, "createacceptbutton", null));} +RDebugUtils.currentLine=64749568; + //BA.debugLineNum = 64749568;BA.debugLine="Private Sub CreateAcceptButton"; +RDebugUtils.currentLine=64749569; + //BA.debugLineNum = 64749569;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=64749570; + //BA.debugLineNum = 64749570;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=64749571; + //BA.debugLineNum = 64749571;BA.debugLine="lblV.Tag = \"v\""; +__ref._lblv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("v")); +RDebugUtils.currentLine=64749572; + //BA.debugLineNum = 64749572;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _createbutton(SHARK2.keymon.com.mx.b4xfloattextfield __ref,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createbutton", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "createbutton", new Object[] {_text}));} +anywheresoftware.b4a.objects.LabelWrapper _lc = null; +anywheresoftware.b4a.objects.B4XViewWrapper _x = null; +RDebugUtils.currentLine=64946176; + //BA.debugLineNum = 64946176;BA.debugLine="Private Sub CreateButton (Text As String) As B4XVi"; +RDebugUtils.currentLine=64946177; + //BA.debugLineNum = 64946177;BA.debugLine="Dim lc As Label"; +_lc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=64946178; + //BA.debugLineNum = 64946178;BA.debugLine="lc.Initialize(\"lc\")"; +_lc.Initialize(ba,"lc"); +RDebugUtils.currentLine=64946179; + //BA.debugLineNum = 64946179;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=64946180; + //BA.debugLineNum = 64946180;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=64946181; + //BA.debugLineNum = 64946181;BA.debugLine="x.Font = xui.CreateMaterialIcons(20)"; +_x.setFont(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateMaterialIcons((float) (20))); +RDebugUtils.currentLine=64946182; + //BA.debugLineNum = 64946182;BA.debugLine="x.Text = Text"; +_x.setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=64946183; + //BA.debugLineNum = 64946183;BA.debugLine="x.TextColor = mTextField.TextColor"; +_x.setTextColor(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor()); +RDebugUtils.currentLine=64946184; + //BA.debugLineNum = 64946184;BA.debugLine="x.Visible = False"; +_x.setVisible(__c.False); +RDebugUtils.currentLine=64946185; + //BA.debugLineNum = 64946185;BA.debugLine="x.SetTextAlignment(\"CENTER\", \"CENTER\")"; +_x.SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=64946186; + //BA.debugLineNum = 64946186;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=64946187; + //BA.debugLineNum = 64946187;BA.debugLine="Return x"; +if (true) return _x; +RDebugUtils.currentLine=64946188; + //BA.debugLineNum = 64946188;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(SHARK2.keymon.com.mx.b4xfloattextfield __ref,anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r,int _color,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _fnt) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createbitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "createbitmap", new Object[] {_r,_color,_fnt}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.B4XCanvas _c = null; +int _baseline = 0; +anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp = null; +RDebugUtils.currentLine=65273856; + //BA.debugLineNum = 65273856;BA.debugLine="Private Sub CreateBitmap(r As B4XRect, Color As In"; +RDebugUtils.currentLine=65273857; + //BA.debugLineNum = 65273857;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=65273858; + //BA.debugLineNum = 65273858;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=65273859; + //BA.debugLineNum = 65273859;BA.debugLine="Dim c As B4XCanvas"; +_c = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=65273860; + //BA.debugLineNum = 65273860;BA.debugLine="c.Initialize(p)"; +_c.Initialize(_p); +RDebugUtils.currentLine=65273861; + //BA.debugLineNum = 65273861;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=65273862; + //BA.debugLineNum = 65273862;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=65273863; + //BA.debugLineNum = 65273863;BA.debugLine="Dim bmp As B4XBitmap = c.CreateBitmap"; +_bmp = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +_bmp = _c.CreateBitmap(); +RDebugUtils.currentLine=65273864; + //BA.debugLineNum = 65273864;BA.debugLine="c.Release"; +_c.Release(); +RDebugUtils.currentLine=65273865; + //BA.debugLineNum = 65273865;BA.debugLine="Return bmp"; +if (true) return _bmp; +RDebugUtils.currentLine=65273866; + //BA.debugLineNum = 65273866;BA.debugLine="End Sub"; +return null; +} +public String _createclearbutton(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createclearbutton", true)) + {return ((String) Debug.delegate(ba, "createclearbutton", null));} +RDebugUtils.currentLine=64684032; + //BA.debugLineNum = 64684032;BA.debugLine="Private Sub CreateClearButton"; +RDebugUtils.currentLine=64684033; + //BA.debugLineNum = 64684033;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=64684034; + //BA.debugLineNum = 64684034;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=64684035; + //BA.debugLineNum = 64684035;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=64684036; + //BA.debugLineNum = 64684036;BA.debugLine="lblClear.Tag = \"clear\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("clear")); +RDebugUtils.currentLine=64684038; + //BA.debugLineNum = 64684038;BA.debugLine="End Sub"; +return ""; +} +public String _createrevealbutton(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createrevealbutton", true)) + {return ((String) Debug.delegate(ba, "createrevealbutton", null));} +RDebugUtils.currentLine=64815104; + //BA.debugLineNum = 64815104;BA.debugLine="Private Sub CreateRevealButton"; +RDebugUtils.currentLine=64815105; + //BA.debugLineNum = 64815105;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=64815106; + //BA.debugLineNum = 64815106;BA.debugLine="lblClear.Tag = \"reveal\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("reveal")); +RDebugUtils.currentLine=64815107; + //BA.debugLineNum = 64815107;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _createtextfield(SHARK2.keymon.com.mx.b4xfloattextfield __ref,boolean _password) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createtextfield", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "createtextfield", new Object[] {_password}));} +anywheresoftware.b4a.objects.EditTextWrapper _tf = null; +RDebugUtils.currentLine=65863680; + //BA.debugLineNum = 65863680;BA.debugLine="Private Sub CreateTextField (Password As Boolean)"; +RDebugUtils.currentLine=65863696; + //BA.debugLineNum = 65863696;BA.debugLine="Dim tf As EditText"; +_tf = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=65863697; + //BA.debugLineNum = 65863697;BA.debugLine="tf.Initialize(\"tf\")"; +_tf.Initialize(ba,"tf"); +RDebugUtils.currentLine=65863698; + //BA.debugLineNum = 65863698;BA.debugLine="tf.SingleLine = Not(Multiline)"; +_tf.setSingleLine(__c.Not(__ref._multiline /*boolean*/ )); +RDebugUtils.currentLine=65863699; + //BA.debugLineNum = 65863699;BA.debugLine="tf.PasswordMode = Password"; +_tf.setPasswordMode(_password); +RDebugUtils.currentLine=65863700; + //BA.debugLineNum = 65863700;BA.debugLine="If Password Then"; +if (_password) { +RDebugUtils.currentLine=65863701; + //BA.debugLineNum = 65863701;BA.debugLine="If KeyboardType <> \"Text\" Then"; +if ((__ref._keyboardtype /*String*/ ).equals("Text") == false) { +RDebugUtils.currentLine=65863702; + //BA.debugLineNum = 65863702;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=65863704; + //BA.debugLineNum = 65863704;BA.debugLine="tf.InputType = Bit.Or(0x00000080, 0x00080000) '"; +_tf.setInputType(__c.Bit.Or(((int)0x00000080),((int)0x00080000))); + }; + }else { +RDebugUtils.currentLine=65863707; + //BA.debugLineNum = 65863707;BA.debugLine="Select KeyboardType"; +switch (BA.switchObjectToInt(__ref._keyboardtype /*String*/ ,"Numbers","Decimal")) { +case 0: { +RDebugUtils.currentLine=65863709; + //BA.debugLineNum = 65863709;BA.debugLine="tf.InputType = tf.INPUT_TYPE_NUMBERS"; +_tf.setInputType(_tf.INPUT_TYPE_NUMBERS); + break; } +case 1: { +RDebugUtils.currentLine=65863711; + //BA.debugLineNum = 65863711;BA.debugLine="tf.InputType = tf.INPUT_TYPE_DECIMAL_NUMBERS"; +_tf.setInputType(_tf.INPUT_TYPE_DECIMAL_NUMBERS); + break; } +} +; + }; +RDebugUtils.currentLine=65863714; + //BA.debugLineNum = 65863714;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=65863738; + //BA.debugLineNum = 65863738;BA.debugLine="End Sub"; +return null; +} +public String _createtextfieldall(SHARK2.keymon.com.mx.b4xfloattextfield __ref,boolean _passwordmode,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1,int _textcolor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "createtextfieldall", true)) + {return ((String) Debug.delegate(ba, "createtextfieldall", new Object[] {_passwordmode,_font1,_textcolor}));} +RDebugUtils.currentLine=64618496; + //BA.debugLineNum = 64618496;BA.debugLine="Private Sub CreateTextFieldAll (PasswordMode As Bo"; +RDebugUtils.currentLine=64618497; + //BA.debugLineNum = 64618497;BA.debugLine="mTextField = CreateTextField (PasswordMode)"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,_passwordmode); +RDebugUtils.currentLine=64618498; + //BA.debugLineNum = 64618498;BA.debugLine="mTextField.Font = Font1"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setFont(_font1); +RDebugUtils.currentLine=64618499; + //BA.debugLineNum = 64618499;BA.debugLine="mTextField.TextColor = TextColor"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTextColor(_textcolor); +RDebugUtils.currentLine=64618500; + //BA.debugLineNum = 64618500;BA.debugLine="setNextField(mNextTextField)"; +__ref._setnextfield /*String*/ (null,__ref._mnexttextfield /*SHARK2.keymon.com.mx.b4xfloattextfield*/ ); +RDebugUtils.currentLine=64618501; + //BA.debugLineNum = 64618501;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=64618502; + //BA.debugLineNum = 64618502;BA.debugLine="End Sub"; +return ""; +} +public String _setnextfield(SHARK2.keymon.com.mx.b4xfloattextfield __ref,SHARK2.keymon.com.mx.b4xfloattextfield _field) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "setnextfield", true)) + {return ((String) Debug.delegate(ba, "setnextfield", new Object[] {_field}));} +anywheresoftware.b4a.objects.EditTextWrapper _et = null; +Object _o = null; +RDebugUtils.currentLine=65667072; + //BA.debugLineNum = 65667072;BA.debugLine="Public Sub setNextField (Field As B4XFloatTextFiel"; +RDebugUtils.currentLine=65667073; + //BA.debugLineNum = 65667073;BA.debugLine="If Field.IsInitialized = False Then Return"; +if (_field.IsInitialized /*boolean*/ ()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=65667075; + //BA.debugLineNum = 65667075;BA.debugLine="If Multiline = False Then"; +if (__ref._multiline /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=65667076; + //BA.debugLineNum = 65667076;BA.debugLine="If Field <> Me Then"; +if ((_field).equals((SHARK2.keymon.com.mx.b4xfloattextfield)(this)) == false) { +RDebugUtils.currentLine=65667077; + //BA.debugLineNum = 65667077;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=65667079; + //BA.debugLineNum = 65667079;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=65667080; + //BA.debugLineNum = 65667080;BA.debugLine="et.ForceDoneButton = True"; +_et.setForceDoneButton(__c.True); + }; +RDebugUtils.currentLine=65667083; + //BA.debugLineNum = 65667083;BA.debugLine="Dim o As Object = Field"; +_o = (Object)(_field); +RDebugUtils.currentLine=65667084; + //BA.debugLineNum = 65667084;BA.debugLine="mNextTextField = o"; +__ref._mnexttextfield /*SHARK2.keymon.com.mx.b4xfloattextfield*/ = (SHARK2.keymon.com.mx.b4xfloattextfield)(_o); +RDebugUtils.currentLine=65667085; + //BA.debugLineNum = 65667085;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(SHARK2.keymon.com.mx.b4xfloattextfield __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _passedlabel = null; +anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; +boolean _passwordmode = false; +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=64552960; + //BA.debugLineNum = 64552960;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=64552961; + //BA.debugLineNum = 64552961;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=64552962; + //BA.debugLineNum = 64552962;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=64552962; + //BA.debugLineNum = 64552962;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=64552963; + //BA.debugLineNum = 64552963;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=64552964; + //BA.debugLineNum = 64552964;BA.debugLine="mProps = Props"; +__ref._mprops /*anywheresoftware.b4a.objects.collections.Map*/ = _props; +RDebugUtils.currentLine=64552965; + //BA.debugLineNum = 64552965;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=64552966; + //BA.debugLineNum = 64552966;BA.debugLine="Dim iv As ImageView"; +_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=64552967; + //BA.debugLineNum = 64552967;BA.debugLine="iv.Initialize(\"HintImageView\")"; +_iv.Initialize(ba,"HintImageView"); +RDebugUtils.currentLine=64552968; + //BA.debugLineNum = 64552968;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=64552969; + //BA.debugLineNum = 64552969;BA.debugLine="KeyboardType = Props.GetDefault(\"KeyboardType\", \""; +__ref._keyboardtype /*String*/ = BA.ObjectToString(_props.GetDefault((Object)("KeyboardType"),(Object)("Text"))); +RDebugUtils.currentLine=64552975; + //BA.debugLineNum = 64552975;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=64552976; + //BA.debugLineNum = 64552976;BA.debugLine="NonFocusedHintColor = xui.PaintOrColorToColor(Pro"; +__ref._nonfocusedhintcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("NonFocusedHintColor"))); +RDebugUtils.currentLine=64552978; + //BA.debugLineNum = 64552978;BA.debugLine="HintText = Props.Get(\"Hint\")"; +__ref._hinttext /*String*/ = BA.ObjectToString(_props.Get((Object)("Hint"))); +RDebugUtils.currentLine=64552979; + //BA.debugLineNum = 64552979;BA.debugLine="HintFont = PassedLabel.Font"; +__ref._hintfont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _passedlabel.getFont(); +RDebugUtils.currentLine=64552980; + //BA.debugLineNum = 64552980;BA.debugLine="Dim PasswordMode As Boolean = Props.GetDefault(\"P"; +_passwordmode = BA.ObjectToBoolean(_props.GetDefault((Object)("PasswordField"),(Object)(__c.False))); +RDebugUtils.currentLine=64552981; + //BA.debugLineNum = 64552981;BA.debugLine="Multiline = Props.GetDefault(\"Multiline\", False)"; +__ref._multiline /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("Multiline"),(Object)(__c.False))); +RDebugUtils.currentLine=64552982; + //BA.debugLineNum = 64552982;BA.debugLine="If PasswordMode And Multiline Then"; +if (_passwordmode && __ref._multiline /*boolean*/ ) { +RDebugUtils.currentLine=64552983; + //BA.debugLineNum = 64552983;BA.debugLine="Multiline = False"; +__ref._multiline /*boolean*/ = __c.False; +RDebugUtils.currentLine=64552984; + //BA.debugLineNum = 64552984;BA.debugLine="Log(\"Multiline not supported with password mode."; +__c.LogImpl("964552984","Multiline not supported with password mode.",0); + }; +RDebugUtils.currentLine=64552986; + //BA.debugLineNum = 64552986;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=64552988; + //BA.debugLineNum = 64552988;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=64552989; + //BA.debugLineNum = 64552989;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=64552990; + //BA.debugLineNum = 64552990;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=64552991; + //BA.debugLineNum = 64552991;BA.debugLine="MeasuringCanvas.Initialize(p)"; +__ref._measuringcanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_p); +RDebugUtils.currentLine=64552992; + //BA.debugLineNum = 64552992;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=64552993; + //BA.debugLineNum = 64552993;BA.debugLine="If PasswordMode And Props.GetDefault(\"ShowRevealB"; +if (_passwordmode && BA.ObjectToBoolean(_props.GetDefault((Object)("ShowRevealButton"),(Object)(__c.False)))) { +RDebugUtils.currentLine=64552994; + //BA.debugLineNum = 64552994;BA.debugLine="CreateRevealButton"; +__ref._createrevealbutton /*String*/ (null); + }else { +RDebugUtils.currentLine=64552996; + //BA.debugLineNum = 64552996;BA.debugLine="CreateClearButton"; +__ref._createclearbutton /*String*/ (null); + }; +RDebugUtils.currentLine=64552998; + //BA.debugLineNum = 64552998;BA.debugLine="CreateAcceptButton"; +__ref._createacceptbutton /*String*/ (null); +RDebugUtils.currentLine=64552999; + //BA.debugLineNum = 64552999;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=64553000; + //BA.debugLineNum = 64553000;BA.debugLine="End Sub"; +return ""; +} +public String _update(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _f = null; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +RDebugUtils.currentLine=65208320; + //BA.debugLineNum = 65208320;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=65208321; + //BA.debugLineNum = 65208321;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=65208322; + //BA.debugLineNum = 65208322;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; +_r = __ref._measuringcanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(__ref._hinttext /*String*/ ,_f); +RDebugUtils.currentLine=65208323; + //BA.debugLineNum = 65208323;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=65208324; + //BA.debugLineNum = 65208324;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=65208325; + //BA.debugLineNum = 65208325;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=65208326; + //BA.debugLineNum = 65208326;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; +_r = __ref._measuringcanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(__ref._hinttext /*String*/ ,_f); +RDebugUtils.currentLine=65208327; + //BA.debugLineNum = 65208327;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=65208328; + //BA.debugLineNum = 65208328;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=65208329; + //BA.debugLineNum = 65208329;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +__ref._updatelabel /*String*/ (null,__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(),__c.True); +RDebugUtils.currentLine=65208330; + //BA.debugLineNum = 65208330;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.b4xfloattextfield _getnextfield(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "getnextfield", true)) + {return ((SHARK2.keymon.com.mx.b4xfloattextfield) Debug.delegate(ba, "getnextfield", null));} +RDebugUtils.currentLine=65601536; + //BA.debugLineNum = 65601536;BA.debugLine="Public Sub getNextField As B4XFloatTextField"; +RDebugUtils.currentLine=65601537; + //BA.debugLineNum = 65601537;BA.debugLine="Return mNextTextField"; +if (true) return __ref._mnexttextfield /*SHARK2.keymon.com.mx.b4xfloattextfield*/ ; +RDebugUtils.currentLine=65601538; + //BA.debugLineNum = 65601538;BA.debugLine="End Sub"; +return null; +} +public String _gettext(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "gettext", true)) + {return ((String) Debug.delegate(ba, "gettext", null));} +RDebugUtils.currentLine=65929216; + //BA.debugLineNum = 65929216;BA.debugLine="Public Sub getText As String"; +RDebugUtils.currentLine=65929217; + //BA.debugLineNum = 65929217;BA.debugLine="Return mTextField.Text"; +if (true) return __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); +RDebugUtils.currentLine=65929218; + //BA.debugLineNum = 65929218;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _gettextfield(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "gettextfield", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "gettextfield", null));} +RDebugUtils.currentLine=66125824; + //BA.debugLineNum = 66125824;BA.debugLine="Public Sub getTextField As B4XView"; +RDebugUtils.currentLine=66125825; + //BA.debugLineNum = 66125825;BA.debugLine="Return mTextField"; +if (true) return __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=66125826; + //BA.debugLineNum = 66125826;BA.debugLine="End Sub"; +return null; +} +public boolean _ime_handleaction(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "ime_handleaction", true)) + {return ((Boolean) Debug.delegate(ba, "ime_handleaction", null));} +RDebugUtils.currentLine=65732608; + //BA.debugLineNum = 65732608;BA.debugLine="Private Sub ime_HandleAction As Boolean"; +RDebugUtils.currentLine=65732609; + //BA.debugLineNum = 65732609;BA.debugLine="tf_EnterPressed"; +__ref._tf_enterpressed /*String*/ (null); +RDebugUtils.currentLine=65732610; + //BA.debugLineNum = 65732610;BA.debugLine="If mNextTextField.IsInitialized Then Return True"; +if (__ref._mnexttextfield /*SHARK2.keymon.com.mx.b4xfloattextfield*/ .IsInitialized /*boolean*/ ()) { +if (true) return __c.True;}; +RDebugUtils.currentLine=65732611; + //BA.debugLineNum = 65732611;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=65732612; + //BA.debugLineNum = 65732612;BA.debugLine="End Sub"; +return false; +} +public String _tf_enterpressed(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_enterpressed", true)) + {return ((String) Debug.delegate(ba, "tf_enterpressed", null));} +RDebugUtils.currentLine=65798144; + //BA.debugLineNum = 65798144;BA.debugLine="Private Sub tf_EnterPressed"; +RDebugUtils.currentLine=65798145; + //BA.debugLineNum = 65798145;BA.debugLine="tf_Action"; +__ref._tf_action /*String*/ (null); +RDebugUtils.currentLine=65798150; + //BA.debugLineNum = 65798150;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.b4xfloattextfield __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=64487424; + //BA.debugLineNum = 64487424;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=64487425; + //BA.debugLineNum = 64487425;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=64487426; + //BA.debugLineNum = 64487426;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=64487427; + //BA.debugLineNum = 64487427;BA.debugLine="If xui.IsB4A Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +RDebugUtils.currentLine=64487428; + //BA.debugLineNum = 64487428;BA.debugLine="HintLabelLargeOffsetX = 6dip"; +__ref._hintlabellargeoffsetx /*int*/ = __c.DipToCurrent((int) (6)); + }else { +RDebugUtils.currentLine=64487430; + //BA.debugLineNum = 64487430;BA.debugLine="HintLabelLargeOffsetX = 12dip"; +__ref._hintlabellargeoffsetx /*int*/ = __c.DipToCurrent((int) (12)); + }; +RDebugUtils.currentLine=64487433; + //BA.debugLineNum = 64487433;BA.debugLine="IME.Initialize(\"ime\")"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .Initialize("ime"); +RDebugUtils.currentLine=64487439; + //BA.debugLineNum = 64487439;BA.debugLine="End Sub"; +return ""; +} +public String _lc_click(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "lc_click", true)) + {return ((String) Debug.delegate(ba, "lc_click", null));} +anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; +RDebugUtils.currentLine=66060288; + //BA.debugLineNum = 66060288;BA.debugLine="Private Sub lc_Click"; +RDebugUtils.currentLine=66060289; + //BA.debugLineNum = 66060289;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=66060290; + //BA.debugLineNum = 66060290;BA.debugLine="Select btn.Tag"; +switch (BA.switchObjectToInt(_btn.getTag(),(Object)("clear"),(Object)("reveal"),(Object)("hide"),(Object)("v"))) { +case 0: { +RDebugUtils.currentLine=66060292; + //BA.debugLineNum = 66060292;BA.debugLine="setText(\"\")"; +__ref._settext /*String*/ (null,""); + break; } +case 1: { +RDebugUtils.currentLine=66060294; + //BA.debugLineNum = 66060294;BA.debugLine="SwitchFromPasswordToRegular (True)"; +__ref._switchfrompasswordtoregular /*void*/ (null,__c.True); + break; } +case 2: { +RDebugUtils.currentLine=66060296; + //BA.debugLineNum = 66060296;BA.debugLine="SwitchFromPasswordToRegular(False)"; +__ref._switchfrompasswordtoregular /*void*/ (null,__c.False); + break; } +case 3: { +RDebugUtils.currentLine=66060298; + //BA.debugLineNum = 66060298;BA.debugLine="tf_EnterPressed"; +__ref._tf_enterpressed /*String*/ (null); +RDebugUtils.currentLine=66060299; + //BA.debugLineNum = 66060299;BA.debugLine="If mNextTextField.IsInitialized = False Or mNex"; +if (__ref._mnexttextfield /*SHARK2.keymon.com.mx.b4xfloattextfield*/ .IsInitialized /*boolean*/ ()==__c.False || (__ref._mnexttextfield /*SHARK2.keymon.com.mx.b4xfloattextfield*/ ).equals((SHARK2.keymon.com.mx.b4xfloattextfield)(this))) { +RDebugUtils.currentLine=66060301; + //BA.debugLineNum = 66060301;BA.debugLine="IME.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); + }; + break; } +} +; +RDebugUtils.currentLine=66060307; + //BA.debugLineNum = 66060307;BA.debugLine="End Sub"; +return ""; +} +public String _settext(SHARK2.keymon.com.mx.b4xfloattextfield __ref,String _s) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "settext", true)) + {return ((String) Debug.delegate(ba, "settext", new Object[] {_s}));} +String _old = ""; +RDebugUtils.currentLine=65994752; + //BA.debugLineNum = 65994752;BA.debugLine="Public Sub setText(s As String)"; +RDebugUtils.currentLine=65994753; + //BA.debugLineNum = 65994753;BA.debugLine="Dim old As String = mTextField.Text 'ignore"; +_old = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); +RDebugUtils.currentLine=65994754; + //BA.debugLineNum = 65994754;BA.debugLine="mTextField.Text = s"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(_s)); +RDebugUtils.currentLine=65994756; + //BA.debugLineNum = 65994756;BA.debugLine="If IsPaused(Me) Then tf_TextChanged(old, s)"; +if (__c.IsPaused(ba,this)) { +__ref._tf_textchanged /*String*/ (null,_old,_s);}; +RDebugUtils.currentLine=65994760; + //BA.debugLineNum = 65994760;BA.debugLine="End Sub"; +return ""; +} +public void _switchfrompasswordtoregular(SHARK2.keymon.com.mx.b4xfloattextfield __ref,boolean _toregular) throws Exception{ +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "switchfrompasswordtoregular", true)) + {Debug.delegate(ba, "switchfrompasswordtoregular", new Object[] {_toregular}); return;} +ResumableSub_SwitchFromPasswordToRegular rsub = new ResumableSub_SwitchFromPasswordToRegular(this,__ref,_toregular); +rsub.resume(ba, null); +} +public static class ResumableSub_SwitchFromPasswordToRegular extends BA.ResumableSub { +public ResumableSub_SwitchFromPasswordToRegular(SHARK2.keymon.com.mx.b4xfloattextfield parent,SHARK2.keymon.com.mx.b4xfloattextfield __ref,boolean _toregular) { +this.parent = parent; +this.__ref = __ref; +this._toregular = _toregular; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xfloattextfield __ref; +SHARK2.keymon.com.mx.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=64880641; + //BA.debugLineNum = 64880641;BA.debugLine="Dim text As String = mTextField.Text"; +_text = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); +RDebugUtils.currentLine=64880642; + //BA.debugLineNum = 64880642;BA.debugLine="Dim textcolor As Int = mTextField.TextColor"; +_textcolor = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor(); +RDebugUtils.currentLine=64880643; + //BA.debugLineNum = 64880643;BA.debugLine="Dim Font1 As B4XFont = mTextField.Font"; +_font1 = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getFont(); +RDebugUtils.currentLine=64880644; + //BA.debugLineNum = 64880644;BA.debugLine="Dim oldfield As B4XView = mTextField"; +_oldfield = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_oldfield = __ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=64880646; + //BA.debugLineNum = 64880646;BA.debugLine="CreateTextFieldAll(Not(ToRegular), Font1, textcol"; +__ref._createtextfieldall /*String*/ (null,parent.__c.Not(_toregular),_font1,_textcolor); +RDebugUtils.currentLine=64880647; + //BA.debugLineNum = 64880647;BA.debugLine="mTextField.Text = text"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=64880648; + //BA.debugLineNum = 64880648;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=64880649; + //BA.debugLineNum = 64880649;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=64880650; + //BA.debugLineNum = 64880650;BA.debugLine="lblClear.Text = Chr(0xE8F4)"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.Chr(((int)0xe8f4)))); +RDebugUtils.currentLine=64880651; + //BA.debugLineNum = 64880651;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=64880653; + //BA.debugLineNum = 64880653;BA.debugLine="lblClear.Tag = \"hide\""; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)("hide")); +RDebugUtils.currentLine=64880654; + //BA.debugLineNum = 64880654;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=64880656; + //BA.debugLineNum = 64880656;BA.debugLine="lblClear.BringToFront"; +__ref._lblclear /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .BringToFront(); + if (true) break; +; +RDebugUtils.currentLine=64880658; + //BA.debugLineNum = 64880658;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=64880659; + //BA.debugLineNum = 64880659;BA.debugLine="HintImageView.BringToFront"; +__ref._hintimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .BringToFront(); +RDebugUtils.currentLine=64880660; + //BA.debugLineNum = 64880660;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=64880665; + //BA.debugLineNum = 64880665;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=64880666; + //BA.debugLineNum = 64880666;BA.debugLine="et.SelectionStart = mTextField.Text.Length"; +_et.setSelectionStart(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText().length()); +RDebugUtils.currentLine=64880668; + //BA.debugLineNum = 64880668;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now"; +__ref._lastswitchtextfieldtime /*long*/ = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=64880669; + //BA.debugLineNum = 64880669;BA.debugLine="mTextField.RequestFocus"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=64880670; + //BA.debugLineNum = 64880670;BA.debugLine="oldfield.RemoveViewFromParent"; +_oldfield.RemoveViewFromParent(); +RDebugUtils.currentLine=64880672; + //BA.debugLineNum = 64880672;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now + 200"; +__ref._lastswitchtextfieldtime /*long*/ = (long) (parent.__c.DateTime.getNow()+200); +RDebugUtils.currentLine=64880673; + //BA.debugLineNum = 64880673;BA.debugLine="et.Enabled = False"; +_et.setEnabled(parent.__c.False); +RDebugUtils.currentLine=64880674; + //BA.debugLineNum = 64880674;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=64880675; + //BA.debugLineNum = 64880675;BA.debugLine="et.Enabled = True"; +_et.setEnabled(parent.__c.True); +RDebugUtils.currentLine=64880676; + //BA.debugLineNum = 64880676;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=64880677; + //BA.debugLineNum = 64880677;BA.debugLine="et.RequestFocus"; +_et.RequestFocus(); +RDebugUtils.currentLine=64880678; + //BA.debugLineNum = 64880678;BA.debugLine="IME.ShowKeyboard(mTextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=64880680; + //BA.debugLineNum = 64880680;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=64880681; + //BA.debugLineNum = 64880681;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=64880683; + //BA.debugLineNum = 64880683;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _requestfocusandshowkeyboard(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "requestfocusandshowkeyboard", true)) + {return ((String) Debug.delegate(ba, "requestfocusandshowkeyboard", null));} +RDebugUtils.currentLine=66191360; + //BA.debugLineNum = 66191360;BA.debugLine="Public Sub RequestFocusAndShowKeyboard"; +RDebugUtils.currentLine=66191361; + //BA.debugLineNum = 66191361;BA.debugLine="mTextField.RequestFocus"; +__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=66191363; + //BA.debugLineNum = 66191363;BA.debugLine="IME.ShowKeyboard(mTextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=66191365; + //BA.debugLineNum = 66191365;BA.debugLine="End Sub"; +return ""; +} +public String _tf_textchanged(SHARK2.keymon.com.mx.b4xfloattextfield __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_textchanged", true)) + {return ((String) Debug.delegate(ba, "tf_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=65536000; + //BA.debugLineNum = 65536000;BA.debugLine="Private Sub tf_TextChanged (Old As String, New As"; +RDebugUtils.currentLine=65536001; + //BA.debugLineNum = 65536001;BA.debugLine="UpdateLabel(New, False)"; +__ref._updatelabel /*String*/ (null,_new,__c.False); +RDebugUtils.currentLine=65536002; + //BA.debugLineNum = 65536002;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=65536003; + //BA.debugLineNum = 65536003;BA.debugLine="CallSub3(mCallBack, mEventName & \"_TextChanged\","; +__c.CallSubNew3(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TextChanged",(Object)(_old),(Object)(_new)); + }; +RDebugUtils.currentLine=65536005; + //BA.debugLineNum = 65536005;BA.debugLine="End Sub"; +return ""; +} +public String _tf_action(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_action", true)) + {return ((String) Debug.delegate(ba, "tf_action", null));} +RDebugUtils.currentLine=65470464; + //BA.debugLineNum = 65470464;BA.debugLine="Private Sub tf_Action"; +RDebugUtils.currentLine=65470465; + //BA.debugLineNum = 65470465;BA.debugLine="If mNextTextField.IsInitialized And mNextTextFiel"; +if (__ref._mnexttextfield /*SHARK2.keymon.com.mx.b4xfloattextfield*/ .IsInitialized /*boolean*/ () && (__ref._mnexttextfield /*SHARK2.keymon.com.mx.b4xfloattextfield*/ ).equals((SHARK2.keymon.com.mx.b4xfloattextfield)(this)) == false) { +RDebugUtils.currentLine=65470466; + //BA.debugLineNum = 65470466;BA.debugLine="mNextTextField.TextField.RequestFocus"; +__ref._mnexttextfield /*SHARK2.keymon.com.mx.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).RequestFocus(); + }; +RDebugUtils.currentLine=65470468; + //BA.debugLineNum = 65470468;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=65470469; + //BA.debugLineNum = 65470469;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_EnterPr"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_EnterPressed"); + }; +RDebugUtils.currentLine=65470471; + //BA.debugLineNum = 65470471;BA.debugLine="End Sub"; +return ""; +} +public String _tf_beginedit(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_beginedit", true)) + {return ((String) Debug.delegate(ba, "tf_beginedit", null));} +RDebugUtils.currentLine=65339392; + //BA.debugLineNum = 65339392;BA.debugLine="Private Sub tf_BeginEdit"; +RDebugUtils.currentLine=65339393; + //BA.debugLineNum = 65339393;BA.debugLine="tf_FocusChanged(True)"; +__ref._tf_focuschanged /*String*/ (null,__c.True); +RDebugUtils.currentLine=65339394; + //BA.debugLineNum = 65339394;BA.debugLine="End Sub"; +return ""; +} +public String _tf_focuschanged(SHARK2.keymon.com.mx.b4xfloattextfield __ref,boolean _hasfocus) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_focuschanged", true)) + {return ((String) Debug.delegate(ba, "tf_focuschanged", new Object[] {_hasfocus}));} +RDebugUtils.currentLine=65142784; + //BA.debugLineNum = 65142784;BA.debugLine="Private Sub tf_FocusChanged (HasFocus As Boolean)"; +RDebugUtils.currentLine=65142785; + //BA.debugLineNum = 65142785;BA.debugLine="Focused = HasFocus"; +__ref._focused /*boolean*/ = _hasfocus; +RDebugUtils.currentLine=65142786; + //BA.debugLineNum = 65142786;BA.debugLine="UpdateLabel(mTextField.Text, True)"; +__ref._updatelabel /*String*/ (null,__ref._mtextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(),__c.True); +RDebugUtils.currentLine=65142787; + //BA.debugLineNum = 65142787;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=65142788; + //BA.debugLineNum = 65142788;BA.debugLine="If LastSwitchTextFieldTime + 100 < DateTime.Now"; +if (__ref._lastswitchtextfieldtime /*long*/ +100<__c.DateTime.getNow()) { +RDebugUtils.currentLine=65142789; + //BA.debugLineNum = 65142789;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Focus"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_FocusChanged",(Object)(__ref._focused /*boolean*/ )); + }; + }; +RDebugUtils.currentLine=65142792; + //BA.debugLineNum = 65142792;BA.debugLine="End Sub"; +return ""; +} +public String _tf_endedit(SHARK2.keymon.com.mx.b4xfloattextfield __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xfloattextfield"; +if (Debug.shouldDelegate(ba, "tf_endedit", true)) + {return ((String) Debug.delegate(ba, "tf_endedit", null));} +RDebugUtils.currentLine=65404928; + //BA.debugLineNum = 65404928;BA.debugLine="Private Sub tf_EndEdit"; +RDebugUtils.currentLine=65404929; + //BA.debugLineNum = 65404929;BA.debugLine="tf_FocusChanged(False)"; +__ref._tf_focuschanged /*String*/ (null,__c.False); +RDebugUtils.currentLine=65404930; + //BA.debugLineNum = 65404930;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/SHARK2/keymon/com/mx/b4xformatter.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xformatter.java new file mode 100644 index 0000000..856dfe4 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xformatter.java @@ -0,0 +1,538 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xformatter"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public SHARK2.keymon.com.mx.b4xformatter._b4xformatdata _getdefaultformat(SHARK2.keymon.com.mx.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "getdefaultformat", true)) + {return ((SHARK2.keymon.com.mx.b4xformatter._b4xformatdata) Debug.delegate(ba, "getdefaultformat", null));} +RDebugUtils.currentLine=75759616; + //BA.debugLineNum = 75759616;BA.debugLine="Public Sub GetDefaultFormat As B4XFormatData"; +RDebugUtils.currentLine=75759617; + //BA.debugLineNum = 75759617;BA.debugLine="Return formats.Get(0)"; +if (true) return (SHARK2.keymon.com.mx.b4xformatter._b4xformatdata)(__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (0))); +RDebugUtils.currentLine=75759618; + //BA.debugLineNum = 75759618;BA.debugLine="End Sub"; +return null; +} +public String _format(SHARK2.keymon.com.mx.b4xformatter __ref,double _number) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "format", true)) + {return ((String) Debug.delegate(ba, "format", new Object[] {_number}));} +SHARK2.keymon.com.mx.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=75890688; + //BA.debugLineNum = 75890688;BA.debugLine="Public Sub Format (Number As Double) As String"; +RDebugUtils.currentLine=75890689; + //BA.debugLineNum = 75890689;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=75890690; + //BA.debugLineNum = 75890690;BA.debugLine="Dim data As B4XFormatData = GetFormatData (Number"; +_data = __ref._getformatdata /*SHARK2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null,_number); +RDebugUtils.currentLine=75890691; + //BA.debugLineNum = 75890691;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=75890692; + //BA.debugLineNum = 75890692;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=75890693; + //BA.debugLineNum = 75890693;BA.debugLine="sb.Append(data.Prefix)"; +_sb.Append(_data.Prefix /*String*/ ); +RDebugUtils.currentLine=75890694; + //BA.debugLineNum = 75890694;BA.debugLine="Dim NumberStartIndex As Int = sb.Length"; +_numberstartindex = _sb.getLength(); +RDebugUtils.currentLine=75890695; + //BA.debugLineNum = 75890695;BA.debugLine="Dim factor As Double = Power(10, -data.MaximumFra"; +_factor = __c.Power(10,-_data.MaximumFractions /*int*/ -1)*5; +RDebugUtils.currentLine=75890696; + //BA.debugLineNum = 75890696;BA.debugLine="If Number < -factor And data.RemoveMinusSign = Fa"; +if (_number<-_factor && _data.RemoveMinusSign /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=75890697; + //BA.debugLineNum = 75890697;BA.debugLine="sb.Append(\"-\")"; +_sb.Append("-"); +RDebugUtils.currentLine=75890698; + //BA.debugLineNum = 75890698;BA.debugLine="NumberStartIndex = NumberStartIndex + 1"; +_numberstartindex = (int) (_numberstartindex+1); + }; +RDebugUtils.currentLine=75890700; + //BA.debugLineNum = 75890700;BA.debugLine="Number = Abs(Number) + factor"; +_number = __c.Abs(_number)+_factor; +RDebugUtils.currentLine=75890701; + //BA.debugLineNum = 75890701;BA.debugLine="Dim whole As Int = Number"; +_whole = (int) (_number); +RDebugUtils.currentLine=75890702; + //BA.debugLineNum = 75890702;BA.debugLine="Dim frac As Double = Number - whole"; +_frac = _number-_whole; +RDebugUtils.currentLine=75890703; + //BA.debugLineNum = 75890703;BA.debugLine="Dim g As Int"; +_g = 0; +RDebugUtils.currentLine=75890704; + //BA.debugLineNum = 75890704;BA.debugLine="Do While whole > 0"; +while (_whole>0) { +RDebugUtils.currentLine=75890705; + //BA.debugLineNum = 75890705;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=75890706; + //BA.debugLineNum = 75890706;BA.debugLine="sb.Insert(NumberStartIndex, data.GroupingCharac"; +_sb.Insert(_numberstartindex,_data.GroupingCharacter /*String*/ ); + }; +RDebugUtils.currentLine=75890708; + //BA.debugLineNum = 75890708;BA.debugLine="g = g + 1"; +_g = (int) (_g+1); +RDebugUtils.currentLine=75890709; + //BA.debugLineNum = 75890709;BA.debugLine="sb.Insert(NumberStartIndex, whole Mod 10)"; +_sb.Insert(_numberstartindex,BA.NumberToString(_whole%10)); +RDebugUtils.currentLine=75890710; + //BA.debugLineNum = 75890710;BA.debugLine="whole = whole / 10"; +_whole = (int) (_whole/(double)10); + } +; +RDebugUtils.currentLine=75890712; + //BA.debugLineNum = 75890712;BA.debugLine="Do While sb.Length - NumberStartIndex < data.Mini"; +while (_sb.getLength()-_numberstartindex<_data.MinimumIntegers /*int*/ ) { +RDebugUtils.currentLine=75890713; + //BA.debugLineNum = 75890713;BA.debugLine="sb.Insert(NumberStartIndex, data.IntegerPaddingC"; +_sb.Insert(_numberstartindex,_data.IntegerPaddingChar /*String*/ ); + } +; +RDebugUtils.currentLine=75890715; + //BA.debugLineNum = 75890715;BA.debugLine="If data.MaximumFractions > 0 And (data.MinimumFra"; +if (_data.MaximumFractions /*int*/ >0 && (_data.MinimumFractions /*int*/ >0 || _frac>0)) { +RDebugUtils.currentLine=75890716; + //BA.debugLineNum = 75890716;BA.debugLine="Dim FracStartIndex As Int = sb.Length"; +_fracstartindex = _sb.getLength(); +RDebugUtils.currentLine=75890717; + //BA.debugLineNum = 75890717;BA.debugLine="Dim LastZeroCount As Int"; +_lastzerocount = 0; +RDebugUtils.currentLine=75890718; + //BA.debugLineNum = 75890718;BA.debugLine="Dim Multipler As Int = 10"; +_multipler = (int) (10); +RDebugUtils.currentLine=75890719; + //BA.debugLineNum = 75890719;BA.debugLine="Do While frac >= 2 * factor And sb.Length - Frac"; +while (_frac>=2*_factor && _sb.getLength()-_fracstartindex<_data.MaximumFractions /*int*/ ) { +RDebugUtils.currentLine=75890720; + //BA.debugLineNum = 75890720;BA.debugLine="Dim w As Int = (frac * Multipler)"; +_w = (int) ((_frac*_multipler)); +RDebugUtils.currentLine=75890721; + //BA.debugLineNum = 75890721;BA.debugLine="w = w Mod 10"; +_w = (int) (_w%10); +RDebugUtils.currentLine=75890722; + //BA.debugLineNum = 75890722;BA.debugLine="If w = 0 Then LastZeroCount = LastZeroCount + 1"; +if (_w==0) { +_lastzerocount = (int) (_lastzerocount+1);} +else { +_lastzerocount = (int) (0);}; +RDebugUtils.currentLine=75890723; + //BA.debugLineNum = 75890723;BA.debugLine="sb.Append(w)"; +_sb.Append(BA.NumberToString(_w)); +RDebugUtils.currentLine=75890724; + //BA.debugLineNum = 75890724;BA.debugLine="Multipler = Multipler * 10"; +_multipler = (int) (_multipler*10); + } +; +RDebugUtils.currentLine=75890726; + //BA.debugLineNum = 75890726;BA.debugLine="If data.FractionPaddingChar <> \"0\" And LastZeroC"; +if ((_data.FractionPaddingChar /*String*/ ).equals("0") == false && _lastzerocount>0) { +RDebugUtils.currentLine=75890727; + //BA.debugLineNum = 75890727;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; +_sb.Remove((int) (_sb.getLength()-_lastzerocount),_sb.getLength()); +RDebugUtils.currentLine=75890728; + //BA.debugLineNum = 75890728;BA.debugLine="LastZeroCount = 0"; +_lastzerocount = (int) (0); + }; +RDebugUtils.currentLine=75890730; + //BA.debugLineNum = 75890730;BA.debugLine="Do While sb.Length - FracStartIndex < data.Minim"; +while (_sb.getLength()-_fracstartindex<_data.MinimumFractions /*int*/ ) { +RDebugUtils.currentLine=75890731; + //BA.debugLineNum = 75890731;BA.debugLine="sb.Append(data.FractionPaddingChar)"; +_sb.Append(_data.FractionPaddingChar /*String*/ ); +RDebugUtils.currentLine=75890732; + //BA.debugLineNum = 75890732;BA.debugLine="LastZeroCount = 0"; +_lastzerocount = (int) (0); + } +; +RDebugUtils.currentLine=75890734; + //BA.debugLineNum = 75890734;BA.debugLine="LastZeroCount = Min(LastZeroCount, sb.Length - F"; +_lastzerocount = (int) (__c.Min(_lastzerocount,_sb.getLength()-_fracstartindex-_data.MinimumFractions /*int*/ )); +RDebugUtils.currentLine=75890735; + //BA.debugLineNum = 75890735;BA.debugLine="If LastZeroCount > 0 Then"; +if (_lastzerocount>0) { +RDebugUtils.currentLine=75890736; + //BA.debugLineNum = 75890736;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; +_sb.Remove((int) (_sb.getLength()-_lastzerocount),_sb.getLength()); + }; +RDebugUtils.currentLine=75890738; + //BA.debugLineNum = 75890738;BA.debugLine="If sb.Length > FracStartIndex Then sb.Insert(Fra"; +if (_sb.getLength()>_fracstartindex) { +_sb.Insert(_fracstartindex,_data.DecimalPoint /*String*/ );}; + }; +RDebugUtils.currentLine=75890740; + //BA.debugLineNum = 75890740;BA.debugLine="sb.Append(data.Postfix)"; +_sb.Append(_data.Postfix /*String*/ ); +RDebugUtils.currentLine=75890741; + //BA.debugLineNum = 75890741;BA.debugLine="Return sb.ToString"; +if (true) return _sb.ToString(); +RDebugUtils.currentLine=75890742; + //BA.debugLineNum = 75890742;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.b4xformatter __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +SHARK2.keymon.com.mx.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=75431936; + //BA.debugLineNum = 75431936;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=75431937; + //BA.debugLineNum = 75431937;BA.debugLine="formats.Initialize"; +__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=75431938; + //BA.debugLineNum = 75431938;BA.debugLine="Dim d As B4XFormatData = CreateDefaultFormat"; +_d = __ref._createdefaultformat /*SHARK2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null); +RDebugUtils.currentLine=75431939; + //BA.debugLineNum = 75431939;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=75431940; + //BA.debugLineNum = 75431940;BA.debugLine="End Sub"; +return ""; +} +public String _addformatdata(SHARK2.keymon.com.mx.b4xformatter __ref,SHARK2.keymon.com.mx.b4xformatter._b4xformatdata _data,double _rangestart,double _rangeend,boolean _includeedges) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "addformatdata", true)) + {return ((String) Debug.delegate(ba, "addformatdata", new Object[] {_data,_rangestart,_rangeend,_includeedges}));} +double _factor = 0; +RDebugUtils.currentLine=75694080; + //BA.debugLineNum = 75694080;BA.debugLine="Public Sub AddFormatData (Data As B4XFormatData, R"; +RDebugUtils.currentLine=75694081; + //BA.debugLineNum = 75694081;BA.debugLine="Dim factor As Double = Power(10, -Data.MaximumFra"; +_factor = __c.Power(10,-_data.MaximumFractions /*int*/ ); +RDebugUtils.currentLine=75694082; + //BA.debugLineNum = 75694082;BA.debugLine="If IncludeEdges = False Then"; +if (_includeedges==__c.False) { +RDebugUtils.currentLine=75694083; + //BA.debugLineNum = 75694083;BA.debugLine="RangeStart = RangeStart + factor"; +_rangestart = _rangestart+_factor; +RDebugUtils.currentLine=75694084; + //BA.debugLineNum = 75694084;BA.debugLine="RangeEnd = RangeEnd - factor"; +_rangeend = _rangeend-_factor; + }; +RDebugUtils.currentLine=75694086; + //BA.debugLineNum = 75694086;BA.debugLine="RangeStart = RangeStart - factor / 2"; +_rangestart = _rangestart-_factor/(double)2; +RDebugUtils.currentLine=75694087; + //BA.debugLineNum = 75694087;BA.debugLine="RangeEnd = RangeEnd + factor / 2"; +_rangeend = _rangeend+_factor/(double)2; +RDebugUtils.currentLine=75694088; + //BA.debugLineNum = 75694088;BA.debugLine="Data.RangeStart = RangeStart"; +_data.RangeStart /*double*/ = _rangestart; +RDebugUtils.currentLine=75694089; + //BA.debugLineNum = 75694089;BA.debugLine="Data.RangeEnd = RangeEnd"; +_data.RangeEnd /*double*/ = _rangeend; +RDebugUtils.currentLine=75694090; + //BA.debugLineNum = 75694090;BA.debugLine="formats.Add(Data)"; +__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_data)); +RDebugUtils.currentLine=75694091; + //BA.debugLineNum = 75694091;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +RDebugUtils.currentLine=75366400; + //BA.debugLineNum = 75366400;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=75366401; + //BA.debugLineNum = 75366401;BA.debugLine="Type B4XFormatData (Prefix As String, Postfix As"; +; +RDebugUtils.currentLine=75366405; + //BA.debugLineNum = 75366405;BA.debugLine="Private formats As List"; +_formats = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=75366406; + //BA.debugLineNum = 75366406;BA.debugLine="Public Const MAX_VALUE = 0x7fffffff, MIN_VALUE ="; +_max_value = ((int)0x7fffffff); +_min_value = ((int)0x80000000); +RDebugUtils.currentLine=75366408; + //BA.debugLineNum = 75366408;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=75366410; + //BA.debugLineNum = 75366410;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.b4xformatter._b4xformatdata _copyformatdata(SHARK2.keymon.com.mx.b4xformatter __ref,SHARK2.keymon.com.mx.b4xformatter._b4xformatdata _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "copyformatdata", true)) + {return ((SHARK2.keymon.com.mx.b4xformatter._b4xformatdata) Debug.delegate(ba, "copyformatdata", new Object[] {_data}));} +SHARK2.keymon.com.mx.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=75628544; + //BA.debugLineNum = 75628544;BA.debugLine="Public Sub CopyFormatData (Data As B4XFormatData)"; +RDebugUtils.currentLine=75628545; + //BA.debugLineNum = 75628545;BA.debugLine="Dim d As B4XFormatData"; +_d = new SHARK2.keymon.com.mx.b4xformatter._b4xformatdata(); +RDebugUtils.currentLine=75628546; + //BA.debugLineNum = 75628546;BA.debugLine="d.Initialize"; +_d.Initialize(); +RDebugUtils.currentLine=75628547; + //BA.debugLineNum = 75628547;BA.debugLine="d.DecimalPoint = Data.DecimalPoint"; +_d.DecimalPoint /*String*/ = _data.DecimalPoint /*String*/ ; +RDebugUtils.currentLine=75628548; + //BA.debugLineNum = 75628548;BA.debugLine="If Data.FormatFont.IsInitialized Then"; +if (_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getIsInitialized()) { +RDebugUtils.currentLine=75628550; + //BA.debugLineNum = 75628550;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=75628553; + //BA.debugLineNum = 75628553;BA.debugLine="d.GroupingCharacter = Data.GroupingCharacter"; +_d.GroupingCharacter /*String*/ = _data.GroupingCharacter /*String*/ ; +RDebugUtils.currentLine=75628554; + //BA.debugLineNum = 75628554;BA.debugLine="d.MaximumFractions = Data.MaximumFractions"; +_d.MaximumFractions /*int*/ = _data.MaximumFractions /*int*/ ; +RDebugUtils.currentLine=75628555; + //BA.debugLineNum = 75628555;BA.debugLine="d.MinimumFractions = Data.MinimumFractions"; +_d.MinimumFractions /*int*/ = _data.MinimumFractions /*int*/ ; +RDebugUtils.currentLine=75628556; + //BA.debugLineNum = 75628556;BA.debugLine="d.MinimumIntegers = Data.MinimumIntegers"; +_d.MinimumIntegers /*int*/ = _data.MinimumIntegers /*int*/ ; +RDebugUtils.currentLine=75628557; + //BA.debugLineNum = 75628557;BA.debugLine="d.Postfix = Data.Postfix"; +_d.Postfix /*String*/ = _data.Postfix /*String*/ ; +RDebugUtils.currentLine=75628558; + //BA.debugLineNum = 75628558;BA.debugLine="d.Prefix = Data.Prefix"; +_d.Prefix /*String*/ = _data.Prefix /*String*/ ; +RDebugUtils.currentLine=75628559; + //BA.debugLineNum = 75628559;BA.debugLine="d.RangeEnd = Data.RangeEnd"; +_d.RangeEnd /*double*/ = _data.RangeEnd /*double*/ ; +RDebugUtils.currentLine=75628560; + //BA.debugLineNum = 75628560;BA.debugLine="d.RangeStart = Data.RangeStart"; +_d.RangeStart /*double*/ = _data.RangeStart /*double*/ ; +RDebugUtils.currentLine=75628561; + //BA.debugLineNum = 75628561;BA.debugLine="d.RemoveMinusSign = Data.RemoveMinusSign"; +_d.RemoveMinusSign /*boolean*/ = _data.RemoveMinusSign /*boolean*/ ; +RDebugUtils.currentLine=75628562; + //BA.debugLineNum = 75628562;BA.debugLine="d.TextColor = Data.TextColor"; +_d.TextColor /*int*/ = _data.TextColor /*int*/ ; +RDebugUtils.currentLine=75628563; + //BA.debugLineNum = 75628563;BA.debugLine="d.FractionPaddingChar = Data.FractionPaddingChar"; +_d.FractionPaddingChar /*String*/ = _data.FractionPaddingChar /*String*/ ; +RDebugUtils.currentLine=75628564; + //BA.debugLineNum = 75628564;BA.debugLine="d.IntegerPaddingChar = Data.IntegerPaddingChar"; +_d.IntegerPaddingChar /*String*/ = _data.IntegerPaddingChar /*String*/ ; +RDebugUtils.currentLine=75628565; + //BA.debugLineNum = 75628565;BA.debugLine="Return d"; +if (true) return _d; +RDebugUtils.currentLine=75628566; + //BA.debugLineNum = 75628566;BA.debugLine="End Sub"; +return null; +} +public SHARK2.keymon.com.mx.b4xformatter._b4xformatdata _createdefaultformat(SHARK2.keymon.com.mx.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "createdefaultformat", true)) + {return ((SHARK2.keymon.com.mx.b4xformatter._b4xformatdata) Debug.delegate(ba, "createdefaultformat", null));} +SHARK2.keymon.com.mx.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=75497472; + //BA.debugLineNum = 75497472;BA.debugLine="Private Sub CreateDefaultFormat As B4XFormatData"; +RDebugUtils.currentLine=75497473; + //BA.debugLineNum = 75497473;BA.debugLine="Dim d As B4XFormatData"; +_d = new SHARK2.keymon.com.mx.b4xformatter._b4xformatdata(); +RDebugUtils.currentLine=75497474; + //BA.debugLineNum = 75497474;BA.debugLine="d.Initialize"; +_d.Initialize(); +RDebugUtils.currentLine=75497475; + //BA.debugLineNum = 75497475;BA.debugLine="d.GroupingCharacter = \",\""; +_d.GroupingCharacter /*String*/ = ","; +RDebugUtils.currentLine=75497476; + //BA.debugLineNum = 75497476;BA.debugLine="d.DecimalPoint = \".\""; +_d.DecimalPoint /*String*/ = "."; +RDebugUtils.currentLine=75497477; + //BA.debugLineNum = 75497477;BA.debugLine="d.MaximumFractions = 3"; +_d.MaximumFractions /*int*/ = (int) (3); +RDebugUtils.currentLine=75497478; + //BA.debugLineNum = 75497478;BA.debugLine="d.MinimumIntegers = 1"; +_d.MinimumIntegers /*int*/ = (int) (1); +RDebugUtils.currentLine=75497479; + //BA.debugLineNum = 75497479;BA.debugLine="d.IntegerPaddingChar = \"0\""; +_d.IntegerPaddingChar /*String*/ = "0"; +RDebugUtils.currentLine=75497480; + //BA.debugLineNum = 75497480;BA.debugLine="d.FractionPaddingChar = \"0\""; +_d.FractionPaddingChar /*String*/ = "0"; +RDebugUtils.currentLine=75497481; + //BA.debugLineNum = 75497481;BA.debugLine="Return d"; +if (true) return _d; +RDebugUtils.currentLine=75497482; + //BA.debugLineNum = 75497482;BA.debugLine="End Sub"; +return null; +} +public SHARK2.keymon.com.mx.b4xformatter._b4xformatdata _getformatdata(SHARK2.keymon.com.mx.b4xformatter __ref,double _number) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "getformatdata", true)) + {return ((SHARK2.keymon.com.mx.b4xformatter._b4xformatdata) Debug.delegate(ba, "getformatdata", new Object[] {_number}));} +int _i = 0; +SHARK2.keymon.com.mx.b4xformatter._b4xformatdata _d = null; +RDebugUtils.currentLine=75825152; + //BA.debugLineNum = 75825152;BA.debugLine="Public Sub GetFormatData (Number As Double) As B4X"; +RDebugUtils.currentLine=75825153; + //BA.debugLineNum = 75825153;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=75825154; + //BA.debugLineNum = 75825154;BA.debugLine="Dim d As B4XFormatData = formats.Get(i)"; +_d = (SHARK2.keymon.com.mx.b4xformatter._b4xformatdata)(__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)); +RDebugUtils.currentLine=75825155; + //BA.debugLineNum = 75825155;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=75825157; + //BA.debugLineNum = 75825157;BA.debugLine="Return formats.Get(0)"; +if (true) return (SHARK2.keymon.com.mx.b4xformatter._b4xformatdata)(__ref._formats /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (0))); +RDebugUtils.currentLine=75825158; + //BA.debugLineNum = 75825158;BA.debugLine="End Sub"; +return null; +} +public String _formatlabel(SHARK2.keymon.com.mx.b4xformatter __ref,double _number,anywheresoftware.b4a.objects.B4XViewWrapper _label) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "formatlabel", true)) + {return ((String) Debug.delegate(ba, "formatlabel", new Object[] {_number,_label}));} +SHARK2.keymon.com.mx.b4xformatter._b4xformatdata _data = null; +RDebugUtils.currentLine=75956224; + //BA.debugLineNum = 75956224;BA.debugLine="Public Sub FormatLabel (Number As Double, Label As"; +RDebugUtils.currentLine=75956225; + //BA.debugLineNum = 75956225;BA.debugLine="Label.Text = Format(Number)"; +_label.setText(BA.ObjectToCharSequence(__ref._format /*String*/ (null,_number))); +RDebugUtils.currentLine=75956226; + //BA.debugLineNum = 75956226;BA.debugLine="Dim data As B4XFormatData = GetFormatData(Number)"; +_data = __ref._getformatdata /*SHARK2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null,_number); +RDebugUtils.currentLine=75956227; + //BA.debugLineNum = 75956227;BA.debugLine="If data.TextColor <> 0 Then Label.TextColor = dat"; +if (_data.TextColor /*int*/ !=0) { +_label.setTextColor(_data.TextColor /*int*/ );}; +RDebugUtils.currentLine=75956228; + //BA.debugLineNum = 75956228;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=75956229; + //BA.debugLineNum = 75956229;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.b4xformatter._b4xformatdata _newformatdata(SHARK2.keymon.com.mx.b4xformatter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xformatter"; +if (Debug.shouldDelegate(ba, "newformatdata", true)) + {return ((SHARK2.keymon.com.mx.b4xformatter._b4xformatdata) Debug.delegate(ba, "newformatdata", null));} +RDebugUtils.currentLine=75563008; + //BA.debugLineNum = 75563008;BA.debugLine="Public Sub NewFormatData As B4XFormatData"; +RDebugUtils.currentLine=75563009; + //BA.debugLineNum = 75563009;BA.debugLine="Return CopyFormatData(GetDefaultFormat)"; +if (true) return __ref._copyformatdata /*SHARK2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null,__ref._getdefaultformat /*SHARK2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null)); +RDebugUtils.currentLine=75563010; + //BA.debugLineNum = 75563010;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4ximageview.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4ximageview.java new file mode 100644 index 0000000..cf20965 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4ximageview.java @@ -0,0 +1,474 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4ximageview"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(SHARK2.keymon.com.mx.b4ximageview __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=66453504; + //BA.debugLineNum = 66453504;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=66453505; + //BA.debugLineNum = 66453505;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=66453506; + //BA.debugLineNum = 66453506;BA.debugLine="End Sub"; +return ""; +} +public String _update(SHARK2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +float _imageviewwidth = 0f; +float _imageviewheight = 0f; +float _bmpratio = 0f; +float _r = 0f; +RDebugUtils.currentLine=66912256; + //BA.debugLineNum = 66912256;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=66912257; + //BA.debugLineNum = 66912257;BA.debugLine="If mBitmap.IsInitialized = False Then Return"; +if (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=66912258; + //BA.debugLineNum = 66912258;BA.debugLine="UpdateClip"; +__ref._updateclip /*String*/ (null); +RDebugUtils.currentLine=66912259; + //BA.debugLineNum = 66912259;BA.debugLine="Dim ImageViewWidth, ImageViewHeight As Float"; +_imageviewwidth = 0f; +_imageviewheight = 0f; +RDebugUtils.currentLine=66912260; + //BA.debugLineNum = 66912260;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=66912261; + //BA.debugLineNum = 66912261;BA.debugLine="Select mResizeMode"; +switch (BA.switchObjectToInt(__ref._mresizemode /*String*/ ,"FILL","FIT","FILL_WIDTH","FILL_HEIGHT","FILL_NO_DISTORTIONS","NONE")) { +case 0: { +RDebugUtils.currentLine=66912263; + //BA.debugLineNum = 66912263;BA.debugLine="ImageViewWidth = mBase.Width"; +_imageviewwidth = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=66912264; + //BA.debugLineNum = 66912264;BA.debugLine="ImageViewHeight = mBase.Height"; +_imageviewheight = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); + break; } +case 1: { +RDebugUtils.currentLine=66912266; + //BA.debugLineNum = 66912266;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=66912267; + //BA.debugLineNum = 66912267;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; +_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()*_r); +RDebugUtils.currentLine=66912268; + //BA.debugLineNum = 66912268;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; +_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()*_r); + break; } +case 2: { +RDebugUtils.currentLine=66912270; + //BA.debugLineNum = 66912270;BA.debugLine="ImageViewWidth = mBase.Width"; +_imageviewwidth = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=66912271; + //BA.debugLineNum = 66912271;BA.debugLine="ImageViewHeight = ImageViewWidth / bmpRatio"; +_imageviewheight = (float) (_imageviewwidth/(double)_bmpratio); + break; } +case 3: { +RDebugUtils.currentLine=66912273; + //BA.debugLineNum = 66912273;BA.debugLine="ImageViewHeight = mBase.Height"; +_imageviewheight = (float) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=66912274; + //BA.debugLineNum = 66912274;BA.debugLine="ImageViewWidth = ImageViewHeight * bmpRatio"; +_imageviewwidth = (float) (_imageviewheight*_bmpratio); + break; } +case 4: { +RDebugUtils.currentLine=66912276; + //BA.debugLineNum = 66912276;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=66912277; + //BA.debugLineNum = 66912277;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; +_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()*_r); +RDebugUtils.currentLine=66912278; + //BA.debugLineNum = 66912278;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; +_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()*_r); + break; } +case 5: { +RDebugUtils.currentLine=66912280; + //BA.debugLineNum = 66912280;BA.debugLine="ImageViewWidth = mBitmap.Width"; +_imageviewwidth = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getWidth()); +RDebugUtils.currentLine=66912281; + //BA.debugLineNum = 66912281;BA.debugLine="ImageViewHeight = mBitmap.Height"; +_imageviewheight = (float) (__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()); + break; } +default: { +RDebugUtils.currentLine=66912283; + //BA.debugLineNum = 66912283;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)"; +__c.LogImpl("966912283","Invalid resize mode: "+__ref._mresizemode /*String*/ ,0); + break; } +} +; +RDebugUtils.currentLine=66912285; + //BA.debugLineNum = 66912285;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=66912286; + //BA.debugLineNum = 66912286;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +RDebugUtils.currentLine=66256896; + //BA.debugLineNum = 66256896;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=66256897; + //BA.debugLineNum = 66256897;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=66256898; + //BA.debugLineNum = 66256898;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=66256899; + //BA.debugLineNum = 66256899;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=66256900; + //BA.debugLineNum = 66256900;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=66256901; + //BA.debugLineNum = 66256901;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=66256902; + //BA.debugLineNum = 66256902;BA.debugLine="Private iv As B4XView"; +_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=66256903; + //BA.debugLineNum = 66256903;BA.debugLine="Private mResizeMode As String"; +_mresizemode = ""; +RDebugUtils.currentLine=66256904; + //BA.debugLineNum = 66256904;BA.debugLine="Private mRound As Boolean"; +_mround = false; +RDebugUtils.currentLine=66256905; + //BA.debugLineNum = 66256905;BA.debugLine="Private mBitmap As B4XBitmap"; +_mbitmap = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=66256906; + //BA.debugLineNum = 66256906;BA.debugLine="Public mBackgroundColor As Int"; +_mbackgroundcolor = 0; +RDebugUtils.currentLine=66256907; + //BA.debugLineNum = 66256907;BA.debugLine="Private mCornersRadius As Int"; +_mcornersradius = 0; +RDebugUtils.currentLine=66256908; + //BA.debugLineNum = 66256908;BA.debugLine="End Sub"; +return ""; +} +public String _clear(SHARK2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=67043328; + //BA.debugLineNum = 67043328;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=67043329; + //BA.debugLineNum = 67043329;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=67043330; + //BA.debugLineNum = 67043330;BA.debugLine="iv.SetBitmap(Null)"; +__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(__c.Null)); +RDebugUtils.currentLine=67043331; + //BA.debugLineNum = 67043331;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(SHARK2.keymon.com.mx.b4ximageview __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; +RDebugUtils.currentLine=66387968; + //BA.debugLineNum = 66387968;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=66387969; + //BA.debugLineNum = 66387969;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=66387970; + //BA.debugLineNum = 66387970;BA.debugLine="Tag = mBase.Tag"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=66387971; + //BA.debugLineNum = 66387971;BA.debugLine="mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=66387972; + //BA.debugLineNum = 66387972;BA.debugLine="Dim iiv As ImageView"; +_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=66387973; + //BA.debugLineNum = 66387973;BA.debugLine="iiv.Initialize(\"\")"; +_iiv.Initialize(ba,""); +RDebugUtils.currentLine=66387974; + //BA.debugLineNum = 66387974;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=66387975; + //BA.debugLineNum = 66387975;BA.debugLine="mRound =Props.Get(\"Round\")"; +__ref._mround /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Round"))); +RDebugUtils.currentLine=66387976; + //BA.debugLineNum = 66387976;BA.debugLine="mResizeMode = Props.Get(\"ResizeMode\")"; +__ref._mresizemode /*String*/ = BA.ObjectToString(_props.Get((Object)("ResizeMode"))); +RDebugUtils.currentLine=66387977; + //BA.debugLineNum = 66387977;BA.debugLine="mBackgroundColor = xui.PaintOrColorToColor(Props."; +__ref._mbackgroundcolor /*int*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("BackgroundColor"))); +RDebugUtils.currentLine=66387978; + //BA.debugLineNum = 66387978;BA.debugLine="mCornersRadius = DipToCurrent(Props.GetDefault(\"C"; +__ref._mcornersradius /*int*/ = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(0))))); +RDebugUtils.currentLine=66387979; + //BA.debugLineNum = 66387979;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=66387980; + //BA.debugLineNum = 66387980;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=66387981; + //BA.debugLineNum = 66387981;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap(SHARK2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getbitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "getbitmap", null));} +RDebugUtils.currentLine=67174400; + //BA.debugLineNum = 67174400;BA.debugLine="Public Sub getBitmap As B4XBitmap"; +RDebugUtils.currentLine=67174401; + //BA.debugLineNum = 67174401;BA.debugLine="Return mBitmap"; +if (true) return __ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ; +RDebugUtils.currentLine=67174402; + //BA.debugLineNum = 67174402;BA.debugLine="End Sub"; +return null; +} +public int _getcornersradius(SHARK2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getcornersradius", true)) + {return ((Integer) Debug.delegate(ba, "getcornersradius", null));} +RDebugUtils.currentLine=66650112; + //BA.debugLineNum = 66650112;BA.debugLine="Public Sub getCornersRadius As Int"; +RDebugUtils.currentLine=66650113; + //BA.debugLineNum = 66650113;BA.debugLine="Return mCornersRadius"; +if (true) return __ref._mcornersradius /*int*/ ; +RDebugUtils.currentLine=66650114; + //BA.debugLineNum = 66650114;BA.debugLine="End Sub"; +return 0; +} +public String _getresizemode(SHARK2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getresizemode", true)) + {return ((String) Debug.delegate(ba, "getresizemode", null));} +RDebugUtils.currentLine=66781184; + //BA.debugLineNum = 66781184;BA.debugLine="Public Sub getResizeMode As String"; +RDebugUtils.currentLine=66781185; + //BA.debugLineNum = 66781185;BA.debugLine="Return mResizeMode"; +if (true) return __ref._mresizemode /*String*/ ; +RDebugUtils.currentLine=66781186; + //BA.debugLineNum = 66781186;BA.debugLine="End Sub"; +return ""; +} +public boolean _getroundedimage(SHARK2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "getroundedimage", true)) + {return ((Boolean) Debug.delegate(ba, "getroundedimage", null));} +RDebugUtils.currentLine=66519040; + //BA.debugLineNum = 66519040;BA.debugLine="Public Sub getRoundedImage As Boolean"; +RDebugUtils.currentLine=66519041; + //BA.debugLineNum = 66519041;BA.debugLine="Return mRound"; +if (true) return __ref._mround /*boolean*/ ; +RDebugUtils.currentLine=66519042; + //BA.debugLineNum = 66519042;BA.debugLine="End Sub"; +return false; +} +public String _initialize(SHARK2.keymon.com.mx.b4ximageview __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=66322432; + //BA.debugLineNum = 66322432;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=66322433; + //BA.debugLineNum = 66322433;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=66322434; + //BA.debugLineNum = 66322434;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=66322435; + //BA.debugLineNum = 66322435;BA.debugLine="End Sub"; +return ""; +} +public String _load(SHARK2.keymon.com.mx.b4ximageview __ref,String _dir,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "load", true)) + {return ((String) Debug.delegate(ba, "load", new Object[] {_dir,_filename}));} +RDebugUtils.currentLine=66977792; + //BA.debugLineNum = 66977792;BA.debugLine="Public Sub Load (Dir As String, FileName As String"; +RDebugUtils.currentLine=66977794; + //BA.debugLineNum = 66977794;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=66977798; + //BA.debugLineNum = 66977798;BA.debugLine="End Sub"; +return ""; +} +public String _setbitmap(SHARK2.keymon.com.mx.b4ximageview __ref,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "setbitmap", true)) + {return ((String) Debug.delegate(ba, "setbitmap", new Object[] {_bmp}));} +RDebugUtils.currentLine=67108864; + //BA.debugLineNum = 67108864;BA.debugLine="Public Sub setBitmap(Bmp As B4XBitmap)"; +RDebugUtils.currentLine=67108865; + //BA.debugLineNum = 67108865;BA.debugLine="mBitmap = Bmp"; +__ref._mbitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = _bmp; +RDebugUtils.currentLine=67108866; + //BA.debugLineNum = 67108866;BA.debugLine="XUIViewsUtils.SetBitmapAndFill(iv, Bmp)"; +_xuiviewsutils._setbitmapandfill /*String*/ (ba,__ref._iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_bmp); +RDebugUtils.currentLine=67108867; + //BA.debugLineNum = 67108867;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=67108868; + //BA.debugLineNum = 67108868;BA.debugLine="End Sub"; +return ""; +} +public String _setcornersradius(SHARK2.keymon.com.mx.b4ximageview __ref,int _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "setcornersradius", true)) + {return ((String) Debug.delegate(ba, "setcornersradius", new Object[] {_i}));} +RDebugUtils.currentLine=66715648; + //BA.debugLineNum = 66715648;BA.debugLine="Public Sub setCornersRadius (i As Int)"; +RDebugUtils.currentLine=66715649; + //BA.debugLineNum = 66715649;BA.debugLine="mCornersRadius = i"; +__ref._mcornersradius /*int*/ = _i; +RDebugUtils.currentLine=66715650; + //BA.debugLineNum = 66715650;BA.debugLine="UpdateClip"; +__ref._updateclip /*String*/ (null); +RDebugUtils.currentLine=66715651; + //BA.debugLineNum = 66715651;BA.debugLine="End Sub"; +return ""; +} +public String _updateclip(SHARK2.keymon.com.mx.b4ximageview __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "updateclip", true)) + {return ((String) Debug.delegate(ba, "updateclip", null));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=67239936; + //BA.debugLineNum = 67239936;BA.debugLine="Private Sub UpdateClip"; +RDebugUtils.currentLine=67239937; + //BA.debugLineNum = 67239937;BA.debugLine="If mRound Then"; +if (__ref._mround /*boolean*/ ) { +RDebugUtils.currentLine=67239938; + //BA.debugLineNum = 67239938;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=67239940; + //BA.debugLineNum = 67239940;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=67239962; + //BA.debugLineNum = 67239962;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=67239963; + //BA.debugLineNum = 67239963;BA.debugLine="jo.RunMethod(\"setClipToOutline\", Array(mRound Or"; +_jo.RunMethod("setClipToOutline",new Object[]{(Object)(__ref._mround /*boolean*/ || __ref._mcornersradius /*int*/ >0)}); +RDebugUtils.currentLine=67239965; + //BA.debugLineNum = 67239965;BA.debugLine="End Sub"; +return ""; +} +public String _setresizemode(SHARK2.keymon.com.mx.b4ximageview __ref,String _s) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "setresizemode", true)) + {return ((String) Debug.delegate(ba, "setresizemode", new Object[] {_s}));} +RDebugUtils.currentLine=66846720; + //BA.debugLineNum = 66846720;BA.debugLine="Public Sub setResizeMode(s As String)"; +RDebugUtils.currentLine=66846721; + //BA.debugLineNum = 66846721;BA.debugLine="If s = mResizeMode Then Return"; +if ((_s).equals(__ref._mresizemode /*String*/ )) { +if (true) return "";}; +RDebugUtils.currentLine=66846722; + //BA.debugLineNum = 66846722;BA.debugLine="mResizeMode = s"; +__ref._mresizemode /*String*/ = _s; +RDebugUtils.currentLine=66846723; + //BA.debugLineNum = 66846723;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=66846724; + //BA.debugLineNum = 66846724;BA.debugLine="End Sub"; +return ""; +} +public String _setroundedimage(SHARK2.keymon.com.mx.b4ximageview __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4ximageview"; +if (Debug.shouldDelegate(ba, "setroundedimage", true)) + {return ((String) Debug.delegate(ba, "setroundedimage", new Object[] {_b}));} +RDebugUtils.currentLine=66584576; + //BA.debugLineNum = 66584576;BA.debugLine="Public Sub setRoundedImage (b As Boolean)"; +RDebugUtils.currentLine=66584577; + //BA.debugLineNum = 66584577;BA.debugLine="If b = mRound Then Return"; +if (_b==__ref._mround /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=66584578; + //BA.debugLineNum = 66584578;BA.debugLine="mRound = b"; +__ref._mround /*boolean*/ = _b; +RDebugUtils.currentLine=66584579; + //BA.debugLineNum = 66584579;BA.debugLine="UpdateClip"; +__ref._updateclip /*String*/ (null); +RDebugUtils.currentLine=66584580; + //BA.debugLineNum = 66584580;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xinputtemplate.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xinputtemplate.java new file mode 100644 index 0000000..cf3a0b0 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xinputtemplate.java @@ -0,0 +1,450 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xinputtemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(SHARK2.keymon.com.mx.b4xinputtemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=67960832; + //BA.debugLineNum = 67960832;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=67960833; + //BA.debugLineNum = 67960833;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=67960834; + //BA.debugLineNum = 67960834;BA.debugLine="End Sub"; +return null; +} +public void _show(SHARK2.keymon.com.mx.b4xinputtemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); +rsub.resume(ba, null); +} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(SHARK2.keymon.com.mx.b4xinputtemplate parent,SHARK2.keymon.com.mx.b4xinputtemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xinputtemplate __ref; +SHARK2.keymon.com.mx.b4xinputtemplate parent; +SHARK2.keymon.com.mx.b4xdialog _dialog; +anywheresoftware.b4a.objects.EditTextWrapper _tf = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xinputtemplate"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=68026369; + //BA.debugLineNum = 68026369;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=68026370; + //BA.debugLineNum = 68026370;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; +__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ ._putattop /*boolean*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i(); +RDebugUtils.currentLine=68026371; + //BA.debugLineNum = 68026371;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=68026372; + //BA.debugLineNum = 68026372;BA.debugLine="TextField1.Text = Text"; +__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._text /*String*/ )); +RDebugUtils.currentLine=68026373; + //BA.debugLineNum = 68026373;BA.debugLine="Validate(Text)"; +__ref._validate /*String*/ (null,__ref._text /*String*/ ); +RDebugUtils.currentLine=68026374; + //BA.debugLineNum = 68026374;BA.debugLine="TextField1.RequestFocus"; +__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=68026376; + //BA.debugLineNum = 68026376;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=68026377; + //BA.debugLineNum = 68026377;BA.debugLine="tf.SelectAll"; +_tf.SelectAll(); +RDebugUtils.currentLine=68026378; + //BA.debugLineNum = 68026378;BA.debugLine="IME.ShowKeyboard(TextField1)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); +RDebugUtils.currentLine=68026383; + //BA.debugLineNum = 68026383;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _dialogclosed(SHARK2.keymon.com.mx.b4xinputtemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=68091904; + //BA.debugLineNum = 68091904;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +RDebugUtils.currentLine=68091905; + //BA.debugLineNum = 68091905;BA.debugLine="If Result = xui.DialogResponse_Positive Then"; +if (_result==__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive) { +RDebugUtils.currentLine=68091906; + //BA.debugLineNum = 68091906;BA.debugLine="Text = TextField1.Text"; +__ref._text /*String*/ = __ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText(); + }; +RDebugUtils.currentLine=68091908; + //BA.debugLineNum = 68091908;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xinputtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +RDebugUtils.currentLine=67305472; + //BA.debugLineNum = 67305472;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=67305473; + //BA.debugLineNum = 67305473;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=67305474; + //BA.debugLineNum = 67305474;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=67305475; + //BA.debugLineNum = 67305475;BA.debugLine="Public Text As String"; +_text = ""; +RDebugUtils.currentLine=67305476; + //BA.debugLineNum = 67305476;BA.debugLine="Private xDialog As B4XDialog"; +_xdialog = new SHARK2.keymon.com.mx.b4xdialog(); +RDebugUtils.currentLine=67305477; + //BA.debugLineNum = 67305477;BA.debugLine="Public RegexPattern As String"; +_regexpattern = ""; +RDebugUtils.currentLine=67305478; + //BA.debugLineNum = 67305478;BA.debugLine="Public TextField1 As B4XView"; +_textfield1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=67305479; + //BA.debugLineNum = 67305479;BA.debugLine="Public lblTitle As B4XView"; +_lbltitle = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=67305481; + //BA.debugLineNum = 67305481;BA.debugLine="Private IME As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=67305483; + //BA.debugLineNum = 67305483;BA.debugLine="Private mAllowDecimals As Boolean"; +_mallowdecimals = false; +RDebugUtils.currentLine=67305484; + //BA.debugLineNum = 67305484;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=67305485; + //BA.debugLineNum = 67305485;BA.debugLine="End Sub"; +return ""; +} +public String _configurefornumbers(SHARK2.keymon.com.mx.b4xinputtemplate __ref,boolean _allowdecimals,boolean _allownegative) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "configurefornumbers", true)) + {return ((String) Debug.delegate(ba, "configurefornumbers", new Object[] {_allowdecimals,_allownegative}));} +anywheresoftware.b4a.objects.EditTextWrapper _et = null; +RDebugUtils.currentLine=67502080; + //BA.debugLineNum = 67502080;BA.debugLine="Public Sub ConfigureForNumbers (AllowDecimals As B"; +RDebugUtils.currentLine=67502082; + //BA.debugLineNum = 67502082;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=67502083; + //BA.debugLineNum = 67502083;BA.debugLine="If AllowDecimals Or AllowNegative Then"; +if (_allowdecimals || _allownegative) { +RDebugUtils.currentLine=67502084; + //BA.debugLineNum = 67502084;BA.debugLine="et.InputType = et.INPUT_TYPE_DECIMAL_NUMBERS"; +_et.setInputType(_et.INPUT_TYPE_DECIMAL_NUMBERS); + }else { +RDebugUtils.currentLine=67502086; + //BA.debugLineNum = 67502086;BA.debugLine="et.InputType = et.INPUT_TYPE_NUMBERS"; +_et.setInputType(_et.INPUT_TYPE_NUMBERS); + }; +RDebugUtils.currentLine=67502099; + //BA.debugLineNum = 67502099;BA.debugLine="If AllowDecimals And AllowNegative Then"; +if (_allowdecimals && _allownegative) { +RDebugUtils.currentLine=67502100; + //BA.debugLineNum = 67502100;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; +__ref._regexpattern /*String*/ = "^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; + }else +{RDebugUtils.currentLine=67502101; + //BA.debugLineNum = 67502101;BA.debugLine="Else If AllowDecimals And AllowNegative = False T"; +if (_allowdecimals && _allownegative==__c.False) { +RDebugUtils.currentLine=67502102; + //BA.debugLineNum = 67502102;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$\""; +__ref._regexpattern /*String*/ = "^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; + }else +{RDebugUtils.currentLine=67502103; + //BA.debugLineNum = 67502103;BA.debugLine="Else If AllowDecimals = False And AllowNegative ="; +if (_allowdecimals==__c.False && _allownegative==__c.True) { +RDebugUtils.currentLine=67502104; + //BA.debugLineNum = 67502104;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)$\""; +__ref._regexpattern /*String*/ = "^-?(0|[1-9]\\d*)$"; + }else +{RDebugUtils.currentLine=67502105; + //BA.debugLineNum = 67502105;BA.debugLine="Else If AllowDecimals = False And AllowNegative ="; +if (_allowdecimals==__c.False && _allownegative==__c.False) { +RDebugUtils.currentLine=67502106; + //BA.debugLineNum = 67502106;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)$\""; +__ref._regexpattern /*String*/ = "^(0|[1-9]\\d*)$"; + }}}} +; +RDebugUtils.currentLine=67502108; + //BA.debugLineNum = 67502108;BA.debugLine="mAllowDecimals = AllowDecimals"; +__ref._mallowdecimals /*boolean*/ = _allowdecimals; +RDebugUtils.currentLine=67502109; + //BA.debugLineNum = 67502109;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.b4xinputtemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=67371008; + //BA.debugLineNum = 67371008;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=67371009; + //BA.debugLineNum = 67371009;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=67371010; + //BA.debugLineNum = 67371010;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=67371011; + //BA.debugLineNum = 67371011;BA.debugLine="mBase.LoadLayout(\"B4XInputTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("B4XInputTemplate",ba); +RDebugUtils.currentLine=67371012; + //BA.debugLineNum = 67371012;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=67371014; + //BA.debugLineNum = 67371014;BA.debugLine="IME.Initialize(\"\")"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .Initialize(""); +RDebugUtils.currentLine=67371015; + //BA.debugLineNum = 67371015;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=67371016; + //BA.debugLineNum = 67371016;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; +_jo.RunMethod("setImeOptions",new Object[]{(Object)(__c.Bit.Or((int) (33554432),(int) (6)))}); +RDebugUtils.currentLine=67371018; + //BA.debugLineNum = 67371018;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=67371019; + //BA.debugLineNum = 67371019;BA.debugLine="jo.RunMethod(\"RemoveWarning\", Null)"; +_jo.RunMethod("RemoveWarning",(Object[])(__c.Null)); +RDebugUtils.currentLine=67371022; + //BA.debugLineNum = 67371022;BA.debugLine="SetBorder(BorderColor)"; +__ref._setborder /*String*/ (null,__ref._bordercolor /*int*/ ); +RDebugUtils.currentLine=67371023; + //BA.debugLineNum = 67371023;BA.debugLine="End Sub"; +return ""; +} +public String _setborder(SHARK2.keymon.com.mx.b4xinputtemplate __ref,int _bc) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "setborder", true)) + {return ((String) Debug.delegate(ba, "setborder", new Object[] {_bc}));} +RDebugUtils.currentLine=67698688; + //BA.debugLineNum = 67698688;BA.debugLine="Private Sub SetBorder(bc As Int)"; +RDebugUtils.currentLine=67698689; + //BA.debugLineNum = 67698689;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=67698690; + //BA.debugLineNum = 67698690;BA.debugLine="End Sub"; +return ""; +} +public boolean _isvalid(SHARK2.keymon.com.mx.b4xinputtemplate __ref,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "isvalid", true)) + {return ((Boolean) Debug.delegate(ba, "isvalid", new Object[] {_new}));} +RDebugUtils.currentLine=67764224; + //BA.debugLineNum = 67764224;BA.debugLine="Private Sub IsValid(New As String) As Boolean"; +RDebugUtils.currentLine=67764225; + //BA.debugLineNum = 67764225;BA.debugLine="Return RegexPattern = \"\" Or Regex.IsMatch(RegexPa"; +if (true) return (__ref._regexpattern /*String*/ ).equals("") || __c.Regex.IsMatch(__ref._regexpattern /*String*/ ,_new); +RDebugUtils.currentLine=67764226; + //BA.debugLineNum = 67764226;BA.debugLine="End Sub"; +return false; +} +public String _setbordercolor(SHARK2.keymon.com.mx.b4xinputtemplate __ref,int _valid,int _invalid) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "setbordercolor", true)) + {return ((String) Debug.delegate(ba, "setbordercolor", new Object[] {_valid,_invalid}));} +RDebugUtils.currentLine=67436544; + //BA.debugLineNum = 67436544;BA.debugLine="Public Sub SetBorderColor(Valid As Int, Invalid As"; +RDebugUtils.currentLine=67436545; + //BA.debugLineNum = 67436545;BA.debugLine="BorderColor = Valid"; +__ref._bordercolor /*int*/ = _valid; +RDebugUtils.currentLine=67436546; + //BA.debugLineNum = 67436546;BA.debugLine="BorderColorInvalid = Invalid"; +__ref._bordercolorinvalid /*int*/ = _invalid; +RDebugUtils.currentLine=67436547; + //BA.debugLineNum = 67436547;BA.debugLine="SetBorder(BorderColor)"; +__ref._setborder /*String*/ (null,__ref._bordercolor /*int*/ ); +RDebugUtils.currentLine=67436548; + //BA.debugLineNum = 67436548;BA.debugLine="End Sub"; +return ""; +} +public String _validate(SHARK2.keymon.com.mx.b4xinputtemplate __ref,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "validate", true)) + {return ((String) Debug.delegate(ba, "validate", new Object[] {_new}));} +int _bc = 0; +boolean _enabled = false; +RDebugUtils.currentLine=67633152; + //BA.debugLineNum = 67633152;BA.debugLine="Private Sub Validate (New As String)"; +RDebugUtils.currentLine=67633153; + //BA.debugLineNum = 67633153;BA.debugLine="Dim bc As Int = BorderColor"; +_bc = __ref._bordercolor /*int*/ ; +RDebugUtils.currentLine=67633154; + //BA.debugLineNum = 67633154;BA.debugLine="Dim enabled As Boolean = True"; +_enabled = __c.True; +RDebugUtils.currentLine=67633155; + //BA.debugLineNum = 67633155;BA.debugLine="If IsValid(New) = False Then"; +if (__ref._isvalid /*boolean*/ (null,_new)==__c.False) { +RDebugUtils.currentLine=67633156; + //BA.debugLineNum = 67633156;BA.debugLine="If New.Length > 0 Then"; +if (_new.length()>0) { +RDebugUtils.currentLine=67633157; + //BA.debugLineNum = 67633157;BA.debugLine="bc = BorderColorInvalid"; +_bc = __ref._bordercolorinvalid /*int*/ ; + }; +RDebugUtils.currentLine=67633159; + //BA.debugLineNum = 67633159;BA.debugLine="enabled = False"; +_enabled = __c.False; + }; +RDebugUtils.currentLine=67633161; + //BA.debugLineNum = 67633161;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; +__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ ._setbuttonstate /*String*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive,_enabled); +RDebugUtils.currentLine=67633162; + //BA.debugLineNum = 67633162;BA.debugLine="SetBorder(bc)"; +__ref._setborder /*String*/ (null,_bc); +RDebugUtils.currentLine=67633163; + //BA.debugLineNum = 67633163;BA.debugLine="End Sub"; +return ""; +} +public String _textfield1_action(SHARK2.keymon.com.mx.b4xinputtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "textfield1_action", true)) + {return ((String) Debug.delegate(ba, "textfield1_action", null));} +RDebugUtils.currentLine=67829760; + //BA.debugLineNum = 67829760;BA.debugLine="Private Sub TextField1_Action"; +RDebugUtils.currentLine=67829761; + //BA.debugLineNum = 67829761;BA.debugLine="TextField1_EnterPressed"; +__ref._textfield1_enterpressed /*String*/ (null); +RDebugUtils.currentLine=67829762; + //BA.debugLineNum = 67829762;BA.debugLine="End Sub"; +return ""; +} +public String _textfield1_enterpressed(SHARK2.keymon.com.mx.b4xinputtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "textfield1_enterpressed", true)) + {return ((String) Debug.delegate(ba, "textfield1_enterpressed", null));} +RDebugUtils.currentLine=67895296; + //BA.debugLineNum = 67895296;BA.debugLine="Private Sub TextField1_EnterPressed"; +RDebugUtils.currentLine=67895297; + //BA.debugLineNum = 67895297;BA.debugLine="If IsValid(TextField1.Text) Then xDialog.Close(xu"; +if (__ref._isvalid /*boolean*/ (null,__ref._textfield1 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText())) { +__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive);}; +RDebugUtils.currentLine=67895298; + //BA.debugLineNum = 67895298;BA.debugLine="End Sub"; +return ""; +} +public String _textfield1_textchanged(SHARK2.keymon.com.mx.b4xinputtemplate __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xinputtemplate"; +if (Debug.shouldDelegate(ba, "textfield1_textchanged", true)) + {return ((String) Debug.delegate(ba, "textfield1_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=67567616; + //BA.debugLineNum = 67567616;BA.debugLine="Private Sub TextField1_TextChanged (Old As String,"; +RDebugUtils.currentLine=67567628; + //BA.debugLineNum = 67567628;BA.debugLine="Validate (New)"; +__ref._validate /*String*/ (null,_new); +RDebugUtils.currentLine=67567629; + //BA.debugLineNum = 67567629;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/SHARK2/keymon/com/mx/b4xlisttemplate.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xlisttemplate.java new file mode 100644 index 0000000..38f7034 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xlisttemplate.java @@ -0,0 +1,434 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xlisttemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(SHARK2.keymon.com.mx.b4xlisttemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=68354048; + //BA.debugLineNum = 68354048;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=68354049; + //BA.debugLineNum = 68354049;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=68354050; + //BA.debugLineNum = 68354050;BA.debugLine="End Sub"; +return null; +} +public void _show(SHARK2.keymon.com.mx.b4xlisttemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); +rsub.resume(ba, null); +} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(SHARK2.keymon.com.mx.b4xlisttemplate parent,SHARK2.keymon.com.mx.b4xlisttemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xlisttemplate __ref; +SHARK2.keymon.com.mx.b4xlisttemplate parent; +SHARK2.keymon.com.mx.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=68419585; + //BA.debugLineNum = 68419585;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=68419586; + //BA.debugLineNum = 68419586;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=68419587; + //BA.debugLineNum = 68419587;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=68419588; + //BA.debugLineNum = 68419588;BA.debugLine="CustomListView1.AddTextItem(opt, opt)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._addtextitem(_opt,_opt); + if (true) break; +if (true) break; +; +RDebugUtils.currentLine=68419590; + //BA.debugLineNum = 68419590;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=68419591; + //BA.debugLineNum = 68419591;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=68419592; + //BA.debugLineNum = 68419592;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=68419593; + //BA.debugLineNum = 68419593;BA.debugLine="Dim item As CLVItem = CustomListView1.GetRawLis"; +_item = __ref._customlistview1 /*b4a.example3.customlistview*/ ._getrawlistitem(_i); +RDebugUtils.currentLine=68419594; + //BA.debugLineNum = 68419594;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=68419597; + //BA.debugLineNum = 68419597;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +parent._xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,__ref._customlistview1 /*b4a.example3.customlistview*/ ,__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor); +RDebugUtils.currentLine=68419598; + //BA.debugLineNum = 68419598;BA.debugLine="SelectedItem = \"\""; +__ref._selecteditem /*String*/ = ""; +RDebugUtils.currentLine=68419600; + //BA.debugLineNum = 68419600;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _dialogclosed(SHARK2.keymon.com.mx.b4xlisttemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=68616192; + //BA.debugLineNum = 68616192;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=68616194; + //BA.debugLineNum = 68616194;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xlisttemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +RDebugUtils.currentLine=68157440; + //BA.debugLineNum = 68157440;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=68157441; + //BA.debugLineNum = 68157441;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=68157442; + //BA.debugLineNum = 68157442;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=68157443; + //BA.debugLineNum = 68157443;BA.debugLine="Public CustomListView1 As CustomListView"; +_customlistview1 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=68157444; + //BA.debugLineNum = 68157444;BA.debugLine="Public Options As List"; +_options = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=68157445; + //BA.debugLineNum = 68157445;BA.debugLine="Public SelectedItem As String"; +_selecteditem = ""; +RDebugUtils.currentLine=68157446; + //BA.debugLineNum = 68157446;BA.debugLine="Private xDialog As B4XDialog"; +_xdialog = new SHARK2.keymon.com.mx.b4xdialog(); +RDebugUtils.currentLine=68157447; + //BA.debugLineNum = 68157447;BA.debugLine="Public AllowMultiSelection As Boolean"; +_allowmultiselection = false; +RDebugUtils.currentLine=68157448; + //BA.debugLineNum = 68157448;BA.debugLine="Public SelectionColor As Int = 0xAA0086FF"; +_selectioncolor = ((int)0xaa0086ff); +RDebugUtils.currentLine=68157449; + //BA.debugLineNum = 68157449;BA.debugLine="Public SelectedItems As List"; +_selecteditems = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=68157450; + //BA.debugLineNum = 68157450;BA.debugLine="Public MultiSelectionMinimum As Int = 0"; +_multiselectionminimum = (int) (0); +RDebugUtils.currentLine=68157451; + //BA.debugLineNum = 68157451;BA.debugLine="End Sub"; +return ""; +} +public String _customlistview1_itemclick(SHARK2.keymon.com.mx.b4xlisttemplate __ref,int _index,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "customlistview1_itemclick", true)) + {return ((String) Debug.delegate(ba, "customlistview1_itemclick", new Object[] {_index,_value}));} +b4a.example3.customlistview._clvitem _item = null; +RDebugUtils.currentLine=68550656; + //BA.debugLineNum = 68550656;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; +RDebugUtils.currentLine=68550657; + //BA.debugLineNum = 68550657;BA.debugLine="If Value = \"\" Then Return"; +if ((_value).equals((Object)(""))) { +if (true) return "";}; +RDebugUtils.currentLine=68550658; + //BA.debugLineNum = 68550658;BA.debugLine="If AllowMultiSelection Then"; +if (__ref._allowmultiselection /*boolean*/ ) { +RDebugUtils.currentLine=68550659; + //BA.debugLineNum = 68550659;BA.debugLine="Dim Item As CLVItem = CustomListView1.GetRawList"; +_item = __ref._customlistview1 /*b4a.example3.customlistview*/ ._getrawlistitem(_index); +RDebugUtils.currentLine=68550660; + //BA.debugLineNum = 68550660;BA.debugLine="SelectItem (Item, True)"; +__ref._selectitem /*String*/ (null,_item,__c.True); + }else { +RDebugUtils.currentLine=68550662; + //BA.debugLineNum = 68550662;BA.debugLine="SelectedItem = Value"; +__ref._selecteditem /*String*/ = BA.ObjectToString(_value); +RDebugUtils.currentLine=68550663; + //BA.debugLineNum = 68550663;BA.debugLine="SelectedItems.Clear"; +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=68550664; + //BA.debugLineNum = 68550664;BA.debugLine="SelectedItems.Add(Value)"; +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Add(_value); +RDebugUtils.currentLine=68550665; + //BA.debugLineNum = 68550665;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); + }; +RDebugUtils.currentLine=68550667; + //BA.debugLineNum = 68550667;BA.debugLine="End Sub"; +return ""; +} +public String _selectitem(SHARK2.keymon.com.mx.b4xlisttemplate __ref,b4a.example3.customlistview._clvitem _item,boolean _toggle) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "selectitem", true)) + {return ((String) Debug.delegate(ba, "selectitem", new Object[] {_item,_toggle}));} +int _index = 0; +boolean _selected = false; +RDebugUtils.currentLine=68485120; + //BA.debugLineNum = 68485120;BA.debugLine="Private Sub SelectItem (Item As CLVItem, Toggle As"; +RDebugUtils.currentLine=68485121; + //BA.debugLineNum = 68485121;BA.debugLine="Dim index As Int = SelectedItems.IndexOf(Item.Val"; +_index = __ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_item.Value); +RDebugUtils.currentLine=68485122; + //BA.debugLineNum = 68485122;BA.debugLine="Dim Selected As Boolean = index > -1"; +_selected = _index>-1; +RDebugUtils.currentLine=68485123; + //BA.debugLineNum = 68485123;BA.debugLine="If Toggle Then Selected = Not(Selected)"; +if (_toggle) { +_selected = __c.Not(_selected);}; +RDebugUtils.currentLine=68485124; + //BA.debugLineNum = 68485124;BA.debugLine="If Selected Then"; +if (_selected) { +RDebugUtils.currentLine=68485125; + //BA.debugLineNum = 68485125;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = Selection"; +if (__c.Not(_toggle)) { +_item.Panel.setColor(__ref._selectioncolor /*int*/ );}; +RDebugUtils.currentLine=68485126; + //BA.debugLineNum = 68485126;BA.debugLine="Item.Color = CustomListView1.DefaultTextBackgrou"; +_item.Color = __ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor; +RDebugUtils.currentLine=68485127; + //BA.debugLineNum = 68485127;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=68485129; + //BA.debugLineNum = 68485129;BA.debugLine="Item.Color = SelectionColor"; +_item.Color = __ref._selectioncolor /*int*/ ; +RDebugUtils.currentLine=68485130; + //BA.debugLineNum = 68485130;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=68485131; + //BA.debugLineNum = 68485131;BA.debugLine="If index > -1 Then SelectedItems.RemoveAt(index)"; +if (_index>-1) { +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(_index);}; + }; +RDebugUtils.currentLine=68485133; + //BA.debugLineNum = 68485133;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; +__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ ._setbuttonstate /*String*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive,__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>=__ref._multiselectionminimum /*int*/ ); +RDebugUtils.currentLine=68485134; + //BA.debugLineNum = 68485134;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.b4xlisttemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=68222976; + //BA.debugLineNum = 68222976;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=68222977; + //BA.debugLineNum = 68222977;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=68222978; + //BA.debugLineNum = 68222978;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=68222979; + //BA.debugLineNum = 68222979;BA.debugLine="mBase.LoadLayout(\"ListTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("ListTemplate",ba); +RDebugUtils.currentLine=68222980; + //BA.debugLineNum = 68222980;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=68222981; + //BA.debugLineNum = 68222981;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=68222982; + //BA.debugLineNum = 68222982;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=68222983; + //BA.debugLineNum = 68222983;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=68222988; + //BA.debugLineNum = 68222988;BA.debugLine="Options.Initialize"; +__ref._options /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=68222989; + //BA.debugLineNum = 68222989;BA.debugLine="SelectedItems.Initialize"; +__ref._selecteditems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=68222990; + //BA.debugLineNum = 68222990;BA.debugLine="End Sub"; +return ""; +} +public String _resize(SHARK2.keymon.com.mx.b4xlisttemplate __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlisttemplate"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=68288512; + //BA.debugLineNum = 68288512;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=68288513; + //BA.debugLineNum = 68288513;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=68288514; + //BA.debugLineNum = 68288514;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._base_resize(_width,_height); +RDebugUtils.currentLine=68288515; + //BA.debugLineNum = 68288515;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xloadingindicator.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xloadingindicator.java new file mode 100644 index 0000000..238ff8a --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xloadingindicator.java @@ -0,0 +1,586 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xloadingindicator"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(SHARK2.keymon.com.mx.b4xloadingindicator __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=68878336; + //BA.debugLineNum = 68878336;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=68878337; + //BA.debugLineNum = 68878337;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=68878338; + //BA.debugLineNum = 68878338;BA.debugLine="MainLoop"; +__ref._mainloop /*void*/ (null); +RDebugUtils.currentLine=68878339; + //BA.debugLineNum = 68878339;BA.debugLine="End Sub"; +return ""; +} +public void _mainloop(SHARK2.keymon.com.mx.b4xloadingindicator __ref) throws Exception{ +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "mainloop", true)) + {Debug.delegate(ba, "mainloop", null); return;} +ResumableSub_MainLoop rsub = new ResumableSub_MainLoop(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_MainLoop extends BA.ResumableSub { +public ResumableSub_MainLoop(SHARK2.keymon.com.mx.b4xloadingindicator parent,SHARK2.keymon.com.mx.b4xloadingindicator __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xloadingindicator __ref; +SHARK2.keymon.com.mx.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=68943873; + //BA.debugLineNum = 68943873;BA.debugLine="index = index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=68943874; + //BA.debugLineNum = 68943874;BA.debugLine="Dim MyIndex As Int = index"; +_myindex = __ref._index /*int*/ ; +RDebugUtils.currentLine=68943875; + //BA.debugLineNum = 68943875;BA.debugLine="Dim n As Long = DateTime.Now"; +_n = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=68943876; + //BA.debugLineNum = 68943876;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=68943877; + //BA.debugLineNum = 68943877;BA.debugLine="Dim progress As Float = (DateTime.Now - n) / dur"; +_progress = (float) ((parent.__c.DateTime.getNow()-_n)/(double)__ref._duration /*int*/ ); +RDebugUtils.currentLine=68943878; + //BA.debugLineNum = 68943878;BA.debugLine="progress = progress - Floor(progress)"; +_progress = (float) (_progress-parent.__c.Floor(_progress)); +RDebugUtils.currentLine=68943879; + //BA.debugLineNum = 68943879;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=68943880; + //BA.debugLineNum = 68943880;BA.debugLine="CallSub2(Me, DrawingSubName, progress)"; +parent.__c.CallSubDebug2(ba,parent,__ref._drawingsubname /*String*/ ,(Object)(_progress)); +RDebugUtils.currentLine=68943881; + //BA.debugLineNum = 68943881;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=68943882; + //BA.debugLineNum = 68943882;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=68943884; + //BA.debugLineNum = 68943884;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _class_globals(SHARK2.keymon.com.mx.b4xloadingindicator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +RDebugUtils.currentLine=68681728; + //BA.debugLineNum = 68681728;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=68681729; + //BA.debugLineNum = 68681729;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=68681730; + //BA.debugLineNum = 68681730;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=68681731; + //BA.debugLineNum = 68681731;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=68681732; + //BA.debugLineNum = 68681732;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=68681733; + //BA.debugLineNum = 68681733;BA.debugLine="Private clr As Int"; +_clr = 0; +RDebugUtils.currentLine=68681734; + //BA.debugLineNum = 68681734;BA.debugLine="Private index As Int"; +_index = 0; +RDebugUtils.currentLine=68681735; + //BA.debugLineNum = 68681735;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=68681736; + //BA.debugLineNum = 68681736;BA.debugLine="Private duration As Int"; +_duration = 0; +RDebugUtils.currentLine=68681737; + //BA.debugLineNum = 68681737;BA.debugLine="Private DrawingSubName As String"; +_drawingsubname = ""; +RDebugUtils.currentLine=68681738; + //BA.debugLineNum = 68681738;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=68681739; + //BA.debugLineNum = 68681739;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(SHARK2.keymon.com.mx.b4xloadingindicator __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +String _style = ""; +RDebugUtils.currentLine=68812800; + //BA.debugLineNum = 68812800;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=68812801; + //BA.debugLineNum = 68812801;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=68812802; + //BA.debugLineNum = 68812802;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=68812802; + //BA.debugLineNum = 68812802;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=68812803; + //BA.debugLineNum = 68812803;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=68812804; + //BA.debugLineNum = 68812804;BA.debugLine="Dim style As String= Props.Get(\"IndicatorStyle\")"; +_style = BA.ObjectToString(_props.Get((Object)("IndicatorStyle"))); +RDebugUtils.currentLine=68812805; + //BA.debugLineNum = 68812805;BA.debugLine="Dim duration As Int = Props.Get(\"Duration\")"; +_duration = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); +RDebugUtils.currentLine=68812806; + //BA.debugLineNum = 68812806;BA.debugLine="DrawingSubName = \"Draw_\" & style.Replace(\" \", \"\")"; +__ref._drawingsubname /*String*/ = "Draw_"+_style.replace(" ",""); +RDebugUtils.currentLine=68812807; + //BA.debugLineNum = 68812807;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=68812808; + //BA.debugLineNum = 68812808;BA.debugLine="MainLoop"; +__ref._mainloop /*void*/ (null); +RDebugUtils.currentLine=68812809; + //BA.debugLineNum = 68812809;BA.debugLine="End Sub"; +return ""; +} +public String _draw_arc1(SHARK2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_arc1", true)) + {return ((String) Debug.delegate(ba, "draw_arc1", new Object[] {_progress}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; +float _r = 0f; +RDebugUtils.currentLine=69468160; + //BA.debugLineNum = 69468160;BA.debugLine="Private Sub Draw_Arc1 (Progress As Float)"; +RDebugUtils.currentLine=69468161; + //BA.debugLineNum = 69468161;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=69468162; + //BA.debugLineNum = 69468162;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=69468163; + //BA.debugLineNum = 69468163;BA.debugLine="If Progress < 0.5 Then"; +if (_progress<0.5) { +RDebugUtils.currentLine=69468164; + //BA.debugLineNum = 69468164;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=69468166; + //BA.debugLineNum = 69468166;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=69468168; + //BA.debugLineNum = 69468168;BA.debugLine="cvs.ClipPath(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClipPath(_p); +RDebugUtils.currentLine=69468169; + //BA.debugLineNum = 69468169;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=69468170; + //BA.debugLineNum = 69468170;BA.debugLine="cvs.RemoveClip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .RemoveClip(); +RDebugUtils.currentLine=69468171; + //BA.debugLineNum = 69468171;BA.debugLine="End Sub"; +return ""; +} +public String _draw_arc2(SHARK2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_arc2", true)) + {return ((String) Debug.delegate(ba, "draw_arc2", new Object[] {_progress}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; +float _r = 0f; +RDebugUtils.currentLine=69533696; + //BA.debugLineNum = 69533696;BA.debugLine="Private Sub Draw_Arc2 (Progress As Float)"; +RDebugUtils.currentLine=69533697; + //BA.debugLineNum = 69533697;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=69533698; + //BA.debugLineNum = 69533698;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=69533699; + //BA.debugLineNum = 69533699;BA.debugLine="If Progress < 0.5 Then"; +if (_progress<0.5) { +RDebugUtils.currentLine=69533700; + //BA.debugLineNum = 69533700;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=69533702; + //BA.debugLineNum = 69533702;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=69533704; + //BA.debugLineNum = 69533704;BA.debugLine="cvs.ClipPath(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClipPath(_p); +RDebugUtils.currentLine=69533705; + //BA.debugLineNum = 69533705;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=69533706; + //BA.debugLineNum = 69533706;BA.debugLine="cvs.RemoveClip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .RemoveClip(); +RDebugUtils.currentLine=69533707; + //BA.debugLineNum = 69533707;BA.debugLine="End Sub"; +return ""; +} +public String _draw_fivelines1(SHARK2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_fivelines1", true)) + {return ((String) Debug.delegate(ba, "draw_fivelines1", new Object[] {_progress}));} +int _minr = 0; +int _maxr = 0; +int _dx = 0; +int _i = 0; +float _r = 0f; +RDebugUtils.currentLine=69402624; + //BA.debugLineNum = 69402624;BA.debugLine="Private Sub Draw_FiveLines1(Progress As Float)"; +RDebugUtils.currentLine=69402625; + //BA.debugLineNum = 69402625;BA.debugLine="Dim MinR As Int = 10dip"; +_minr = __c.DipToCurrent((int) (10)); +RDebugUtils.currentLine=69402626; + //BA.debugLineNum = 69402626;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Height / 2"; +_maxr = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getHeight()/(double)2); +RDebugUtils.currentLine=69402627; + //BA.debugLineNum = 69402627;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=69402628; + //BA.debugLineNum = 69402628;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=69402629; + //BA.debugLineNum = 69402629;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=69402630; + //BA.debugLineNum = 69402630;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=69402632; + //BA.debugLineNum = 69402632;BA.debugLine="End Sub"; +return ""; +} +public String _draw_pacman(SHARK2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_pacman", true)) + {return ((String) Debug.delegate(ba, "draw_pacman", new Object[] {_progress}));} +int _dotr = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; +int _angle = 0; +int _cx = 0; +int _cy = 0; +int _r = 0; +RDebugUtils.currentLine=69599232; + //BA.debugLineNum = 69599232;BA.debugLine="Private Sub Draw_PacMan(Progress As Float)"; +RDebugUtils.currentLine=69599233; + //BA.debugLineNum = 69599233;BA.debugLine="Dim DotR As Int = 5dip"; +_dotr = __c.DipToCurrent((int) (5)); +RDebugUtils.currentLine=69599234; + //BA.debugLineNum = 69599234;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=69599235; + //BA.debugLineNum = 69599235;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=69599236; + //BA.debugLineNum = 69599236;BA.debugLine="Dim angle As Int = 70 * SinD(Progress * 180)"; +_angle = (int) (70*__c.SinD(_progress*180)); +RDebugUtils.currentLine=69599237; + //BA.debugLineNum = 69599237;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=69599238; + //BA.debugLineNum = 69599238;BA.debugLine="Dim cy As Int = cvs.TargetRect.CenterY"; +_cy = (int) (__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getCenterY()); +RDebugUtils.currentLine=69599239; + //BA.debugLineNum = 69599239;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=69599240; + //BA.debugLineNum = 69599240;BA.debugLine="If angle = 0 Then"; +if (_angle==0) { +RDebugUtils.currentLine=69599241; + //BA.debugLineNum = 69599241;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=69599243; + //BA.debugLineNum = 69599243;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=69599244; + //BA.debugLineNum = 69599244;BA.debugLine="cvs.ClipPath(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClipPath(_p); +RDebugUtils.currentLine=69599245; + //BA.debugLineNum = 69599245;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=69599246; + //BA.debugLineNum = 69599246;BA.debugLine="cvs.RemoveClip"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .RemoveClip(); + }; +RDebugUtils.currentLine=69599249; + //BA.debugLineNum = 69599249;BA.debugLine="End Sub"; +return ""; +} +public int _setalpha(SHARK2.keymon.com.mx.b4xloadingindicator __ref,int _c,int _alpha) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "setalpha", true)) + {return ((Integer) Debug.delegate(ba, "setalpha", new Object[] {_c,_alpha}));} +RDebugUtils.currentLine=69337088; + //BA.debugLineNum = 69337088;BA.debugLine="Private Sub SetAlpha (c As Int, alpha As Int) As I"; +RDebugUtils.currentLine=69337089; + //BA.debugLineNum = 69337089;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=69337090; + //BA.debugLineNum = 69337090;BA.debugLine="End Sub"; +return 0; +} +public String _draw_singlecircle(SHARK2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_singlecircle", true)) + {return ((String) Debug.delegate(ba, "draw_singlecircle", new Object[] {_progress}));} +int _i = 0; +RDebugUtils.currentLine=69271552; + //BA.debugLineNum = 69271552;BA.debugLine="Private Sub Draw_SingleCircle(Progress As Float)"; +RDebugUtils.currentLine=69271553; + //BA.debugLineNum = 69271553;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=69271554; + //BA.debugLineNum = 69271554;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=69271556; + //BA.debugLineNum = 69271556;BA.debugLine="End Sub"; +return ""; +} +public String _draw_threecircles1(SHARK2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_threecircles1", true)) + {return ((String) Debug.delegate(ba, "draw_threecircles1", new Object[] {_progress}));} +float _maxr = 0f; +float _r = 0f; +int _i = 0; +int _alpha = 0; +RDebugUtils.currentLine=69140480; + //BA.debugLineNum = 69140480;BA.debugLine="Private Sub Draw_ThreeCircles1 (Progress As Float)"; +RDebugUtils.currentLine=69140481; + //BA.debugLineNum = 69140481;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=69140482; + //BA.debugLineNum = 69140482;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=69140483; + //BA.debugLineNum = 69140483;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=69140484; + //BA.debugLineNum = 69140484;BA.debugLine="Dim alpha As Int = i * 120 + Progress * 360"; +_alpha = (int) (_i*120+_progress*360); +RDebugUtils.currentLine=69140486; + //BA.debugLineNum = 69140486;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=69140488; + //BA.debugLineNum = 69140488;BA.debugLine="End Sub"; +return ""; +} +public String _draw_threecircles2(SHARK2.keymon.com.mx.b4xloadingindicator __ref,float _progress) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "draw_threecircles2", true)) + {return ((String) Debug.delegate(ba, "draw_threecircles2", new Object[] {_progress}));} +int _minr = 0; +int _maxr = 0; +int _i = 0; +float _r = 0f; +RDebugUtils.currentLine=69206016; + //BA.debugLineNum = 69206016;BA.debugLine="Private Sub Draw_ThreeCircles2 (Progress As Float)"; +RDebugUtils.currentLine=69206017; + //BA.debugLineNum = 69206017;BA.debugLine="Dim MinR As Int = 5dip"; +_minr = __c.DipToCurrent((int) (5)); +RDebugUtils.currentLine=69206018; + //BA.debugLineNum = 69206018;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=69206019; + //BA.debugLineNum = 69206019;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=69206020; + //BA.debugLineNum = 69206020;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=69206021; + //BA.debugLineNum = 69206021;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=69206023; + //BA.debugLineNum = 69206023;BA.debugLine="End Sub"; +return ""; +} +public String _hide(SHARK2.keymon.com.mx.b4xloadingindicator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "hide", true)) + {return ((String) Debug.delegate(ba, "hide", null));} +RDebugUtils.currentLine=69074944; + //BA.debugLineNum = 69074944;BA.debugLine="Public Sub Hide"; +RDebugUtils.currentLine=69074945; + //BA.debugLineNum = 69074945;BA.debugLine="mBase.Visible = False"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=69074946; + //BA.debugLineNum = 69074946;BA.debugLine="index = index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=69074947; + //BA.debugLineNum = 69074947;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.b4xloadingindicator __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=68747264; + //BA.debugLineNum = 68747264;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=68747265; + //BA.debugLineNum = 68747265;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=68747266; + //BA.debugLineNum = 68747266;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=68747267; + //BA.debugLineNum = 68747267;BA.debugLine="End Sub"; +return ""; +} +public String _show(SHARK2.keymon.com.mx.b4xloadingindicator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xloadingindicator"; +if (Debug.shouldDelegate(ba, "show", true)) + {return ((String) Debug.delegate(ba, "show", null));} +RDebugUtils.currentLine=69009408; + //BA.debugLineNum = 69009408;BA.debugLine="Public Sub Show"; +RDebugUtils.currentLine=69009409; + //BA.debugLineNum = 69009409;BA.debugLine="mBase.Visible = True"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=69009410; + //BA.debugLineNum = 69009410;BA.debugLine="MainLoop"; +__ref._mainloop /*void*/ (null); +RDebugUtils.currentLine=69009411; + //BA.debugLineNum = 69009411;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xlongtexttemplate.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xlongtexttemplate.java new file mode 100644 index 0000000..f68bd9a --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xlongtexttemplate.java @@ -0,0 +1,178 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xlongtexttemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(SHARK2.keymon.com.mx.b4xlongtexttemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=69861376; + //BA.debugLineNum = 69861376;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=69861377; + //BA.debugLineNum = 69861377;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=69861378; + //BA.debugLineNum = 69861378;BA.debugLine="End Sub"; +return null; +} +public String _show(SHARK2.keymon.com.mx.b4xlongtexttemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {return ((String) Debug.delegate(ba, "show", new Object[] {_dialog}));} +RDebugUtils.currentLine=69926912; + //BA.debugLineNum = 69926912;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; +RDebugUtils.currentLine=69926913; + //BA.debugLineNum = 69926913;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=69926914; + //BA.debugLineNum = 69926914;BA.debugLine="CustomListView1.AddTextItem(Text, \"\")"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._addtextitem(__ref._text /*Object*/ ,(Object)("")); +RDebugUtils.currentLine=69926915; + //BA.debugLineNum = 69926915;BA.debugLine="CustomListView1.GetPanel(0).GetView(0).SetTextAli"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._getpanel((int) (0)).GetView((int) (0)).SetTextAlignment("TOP","LEFT"); +RDebugUtils.currentLine=69926916; + //BA.debugLineNum = 69926916;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; +_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,__ref._customlistview1 /*b4a.example3.customlistview*/ ,__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor); +RDebugUtils.currentLine=69926917; + //BA.debugLineNum = 69926917;BA.debugLine="End Sub"; +return ""; +} +public String _dialogclosed(SHARK2.keymon.com.mx.b4xlongtexttemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=69992448; + //BA.debugLineNum = 69992448;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=69992450; + //BA.debugLineNum = 69992450;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xlongtexttemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +RDebugUtils.currentLine=69664768; + //BA.debugLineNum = 69664768;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=69664769; + //BA.debugLineNum = 69664769;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=69664770; + //BA.debugLineNum = 69664770;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=69664771; + //BA.debugLineNum = 69664771;BA.debugLine="Public CustomListView1 As CustomListView"; +_customlistview1 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=69664772; + //BA.debugLineNum = 69664772;BA.debugLine="Public Text As Object"; +_text = new Object(); +RDebugUtils.currentLine=69664773; + //BA.debugLineNum = 69664773;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.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=69730304; + //BA.debugLineNum = 69730304;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=69730305; + //BA.debugLineNum = 69730305;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=69730306; + //BA.debugLineNum = 69730306;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=69730307; + //BA.debugLineNum = 69730307;BA.debugLine="mBase.LoadLayout(\"LongTextTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("LongTextTemplate",ba); +RDebugUtils.currentLine=69730308; + //BA.debugLineNum = 69730308;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=69730309; + //BA.debugLineNum = 69730309;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=69730310; + //BA.debugLineNum = 69730310;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=69730311; + //BA.debugLineNum = 69730311;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=69730312; + //BA.debugLineNum = 69730312;BA.debugLine="CustomListView1.sv.Color = 0xFF464646"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._sv.setColor(((int)0xff464646)); +RDebugUtils.currentLine=69730317; + //BA.debugLineNum = 69730317;BA.debugLine="End Sub"; +return ""; +} +public String _resize(SHARK2.keymon.com.mx.b4xlongtexttemplate __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xlongtexttemplate"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=69795840; + //BA.debugLineNum = 69795840;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=69795841; + //BA.debugLineNum = 69795841;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=69795842; + //BA.debugLineNum = 69795842;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=69795843; + //BA.debugLineNum = 69795843;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._base_resize(_width,_height); +RDebugUtils.currentLine=69795844; + //BA.debugLineNum = 69795844;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xmainpage.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xmainpage.java new file mode 100644 index 0000000..dc9ad3e --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xmainpage.java @@ -0,0 +1,4351 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xmainpage"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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.sql.SQL.CursorWrapper _c2 = null; +public String _sdate = ""; +public String _stime = ""; +public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public SHARK2.keymon.com.mx.c_subs _s = null; +public SHARK2.keymon.com.mx.b4xmainpage _login = null; +public SHARK2.keymon.com.mx.c_principal _principal = null; +public SHARK2.keymon.com.mx.c_clientes _clientes = null; +public SHARK2.keymon.com.mx.c_cliente _cliente = null; +public SHARK2.keymon.com.mx.c_productos _productos = null; +public SHARK2.keymon.com.mx.c_updateavailable _updateavailable = null; +public SHARK2.keymon.com.mx.c_mapas _mapas = null; +public SHARK2.keymon.com.mx.c_nuevocliente _nuevocliente = null; +public SHARK2.keymon.com.mx.c_ticketsdia _ticketsdia = null; +public SHARK2.keymon.com.mx.c_noventa _noventa = null; +public SHARK2.keymon.com.mx.c_nota _nota = null; +public SHARK2.keymon.com.mx.c_pedidos _pedidos = null; +public SHARK2.keymon.com.mx.c_promos _promos = null; +public SHARK2.keymon.com.mx.c_historico _historico = null; +public SHARK2.keymon.com.mx.fileprovider _provider = null; +public SHARK2.keymon.com.mx.dbrequestmanager _reqmanager = null; +public String _v = ""; +public String _ruta = ""; +public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; +public String _lat_gps = ""; +public String _lon_gps = ""; +public String _usuario = ""; +public int _batt = 0; +public anywheresoftware.b4a.sql.SQL _skmt = null; +public String _montoactual = ""; +public String _clientestotal = ""; +public String _clientesventa = ""; +public String _clientesvisitados = ""; +public String _almacen = ""; +public String _rutapreventa = ""; +public String _dbreqserver = ""; +public String _fecharuta = ""; +public boolean _logger = false; +public String _mac_impresora = ""; +public anywheresoftware.b4a.phone.Phone.PhoneId _phn = null; +public anywheresoftware.b4a.objects.EditTextWrapper _user = null; +public anywheresoftware.b4a.objects.EditTextWrapper _pass = null; +public SHARK2.keymon.com.mx.c_tabulador _tabulador = 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 String _alterno = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_menu = null; +public com.rootsoft.rspopupmenu.RSPopupMenu _popupmenu = null; +public SHARK2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; +public anywheresoftware.b4a.objects.ButtonWrapper _pdf = null; +public batteryprogressviewwrapper.batteryprogressviewWrapper _bpv1 = null; +public int[] _batterystatus = null; +public SHARK2.keymon.com.mx.batteryutilities _bu = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_apk = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _i_engrane = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_main = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_appupdate = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_regesar = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_version = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _imageview1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +public anywheresoftware.b4a.objects.ButtonWrapper _entrar = null; +public String _tipo_venta = ""; +public boolean _bterminarclicked = false; +public anywheresoftware.b4a.objects.ListViewWrapper _lv_server = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_server = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_enviarbd = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_importarbd = null; +public anywheresoftware.b4a.objects.IME _ime = null; +public SHARK2.keymon.com.mx.manageexternalstorage _mes1 = null; +public anywheresoftware.b4a.phone.Phone _device = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_server = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_guardar = null; +public anywheresoftware.b4a.objects.PanelWrapper _panel11 = null; +public b4a.example3.customlistview _clv_pick_ciego = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_pick_ciego = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_pick_ciego = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_pick_ciego = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_ciego = null; +public anywheresoftware.b4a.objects.PanelWrapper _panel4 = null; +public String _q_buscar = ""; +public anywheresoftware.b4a.objects.EditTextWrapper _et_buspc = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _a = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _f = null; +public String _idenviar = ""; +public anywheresoftware.b4a.objects.EditTextWrapper _et_codigo = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelarcodigo = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_aceptar = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_validacion = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_recarga = null; +public String _recarga = ""; +public anywheresoftware.b4a.objects.PanelWrapper _p_add_monto = null; +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 b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _ocultaprogreso(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "ocultaprogreso", false)) + {return ((String) Debug.delegate(ba, "ocultaprogreso", null));} +RDebugUtils.currentLine=2490368; + //BA.debugLineNum = 2490368;BA.debugLine="Sub ocultaProgreso"; +RDebugUtils.currentLine=2490369; + //BA.debugLineNum = 2490369;BA.debugLine="ProgressDialogHide"; +__c.ProgressDialogHide(); +RDebugUtils.currentLine=2490370; + //BA.debugLineNum = 2490370;BA.debugLine="End Sub"; +return ""; +} +public String _muestraprogreso(SHARK2.keymon.com.mx.b4xmainpage __ref,String _mensaje) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "muestraprogreso", false)) + {return ((String) Debug.delegate(ba, "muestraprogreso", new Object[] {_mensaje}));} +RDebugUtils.currentLine=2424832; + //BA.debugLineNum = 2424832;BA.debugLine="Sub muestraProgreso(mensaje As String)"; +RDebugUtils.currentLine=2424833; + //BA.debugLineNum = 2424833;BA.debugLine="ProgressDialogShow(mensaje)"; +__c.ProgressDialogShow(ba,BA.ObjectToCharSequence(_mensaje)); +RDebugUtils.currentLine=2424834; + //BA.debugLineNum = 2424834;BA.debugLine="End Sub"; +return ""; +} +public String _b_aceptar_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_aceptar_click", false)) + {return ((String) Debug.delegate(ba, "b_aceptar_click", null));} +RDebugUtils.currentLine=3538944; + //BA.debugLineNum = 3538944;BA.debugLine="Private Sub b_aceptar_Click"; +RDebugUtils.currentLine=3538945; + //BA.debugLineNum = 3538945;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select 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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); +RDebugUtils.currentLine=3538946; + //BA.debugLineNum = 3538946;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3538948; + //BA.debugLineNum = 3538948;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM"; +__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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=3538949; + //BA.debugLineNum = 3538949;BA.debugLine="If a.RowCount>0 Then"; +if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3538950; + //BA.debugLineNum = 3538950;BA.debugLine="a.Position=0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); + }; +RDebugUtils.currentLine=3538952; + //BA.debugLineNum = 3538952;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; +__c.LogImpl("53538952",__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),0); +RDebugUtils.currentLine=3538953; + //BA.debugLineNum = 3538953;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; +__c.LogImpl("53538953",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"),0); +RDebugUtils.currentLine=3538955; + //BA.debugLineNum = 3538955;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=3538956; + //BA.debugLineNum = 3538956;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3538957; + //BA.debugLineNum = 3538957;BA.debugLine="cmd.Name = \"select_CAT_PASS_ARQUEO_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_CAT_PASS_ARQUEO_SHARK2"; +RDebugUtils.currentLine=3538958; + //BA.debugLineNum = 3538958;BA.debugLine="cmd.Parameters = Array As Object(f.GetString(\"CAT"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA")),(Object)(__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN")),(Object)("PREVENTA")}; +RDebugUtils.currentLine=3538959; + //BA.debugLineNum = 3538959;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"contrasena\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("contrasena")); +RDebugUtils.currentLine=3538960; + //BA.debugLineNum = 3538960;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3538961; + //BA.debugLineNum = 3538961;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3538962; + //BA.debugLineNum = 3538962;BA.debugLine="End Sub"; +return ""; +} +public String _b_aceptar_monto_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_aceptar_monto_click", false)) + {return ((String) Debug.delegate(ba, "b_aceptar_monto_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _ci = null; +String _u = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _g = null; +RDebugUtils.currentLine=3604480; + //BA.debugLineNum = 3604480;BA.debugLine="Private Sub B_Aceptar_Monto_Click"; +RDebugUtils.currentLine=3604482; + //BA.debugLineNum = 3604482;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=3604483; + //BA.debugLineNum = 3604483;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=3604484; + //BA.debugLineNum = 3604484;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=3604486; + //BA.debugLineNum = 3604486;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select 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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); +RDebugUtils.currentLine=3604487; + //BA.debugLineNum = 3604487;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3604489; + //BA.debugLineNum = 3604489;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM"; +__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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=3604490; + //BA.debugLineNum = 3604490;BA.debugLine="If a.RowCount>0 Then"; +if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604491; + //BA.debugLineNum = 3604491;BA.debugLine="a.Position=0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); + }; +RDebugUtils.currentLine=3604494; + //BA.debugLineNum = 3604494;BA.debugLine="Private cI As Cursor"; +_ci = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=3604495; + //BA.debugLineNum = 3604495;BA.debugLine="Private u As String = \"SinUsuario\""; +_u = "SinUsuario"; +RDebugUtils.currentLine=3604496; + //BA.debugLineNum = 3604496;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=3604497; + //BA.debugLineNum = 3604497;BA.debugLine="cI.Position=0"; +_ci.setPosition((int) (0)); +RDebugUtils.currentLine=3604498; + //BA.debugLineNum = 3604498;BA.debugLine="If cI.RowCount > 0 Then u = cI.GetString(\"USUARIO"; +if (_ci.getRowCount()>0) { +_u = _ci.GetString("USUARIO");}; +RDebugUtils.currentLine=3604499; + //BA.debugLineNum = 3604499;BA.debugLine="Private g As Cursor = B4XPages.MainPage.skmt.Exec"; +_g = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_g = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from ENV_MONTO_LIQ"))); +RDebugUtils.currentLine=3604500; + //BA.debugLineNum = 3604500;BA.debugLine="If g.RowCount = 0 Then"; +if (_g.getRowCount()==0) { +RDebugUtils.currentLine=3604501; + //BA.debugLineNum = 3604501;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENV_MONTO_LIQ VALUES (?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._et_add_monto /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN")),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA")),(Object)(_u),(Object)(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )})); +RDebugUtils.currentLine=3604502; + //BA.debugLineNum = 3604502;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604503; + //BA.debugLineNum = 3604503;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604505; + //BA.debugLineNum = 3604505;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MON"; +__ref._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 ENV_MONTO_LIQ"))); +RDebugUtils.currentLine=3604506; + //BA.debugLineNum = 3604506;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604507; + //BA.debugLineNum = 3604507;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3604508; + //BA.debugLineNum = 3604508;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=3604509; + //BA.debugLineNum = 3604509;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604510; + //BA.debugLineNum = 3604510;BA.debugLine="cmd.Name = \"select_MontoCuenta_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_MontoCuenta_SHARK2"; +RDebugUtils.currentLine=3604512; + //BA.debugLineNum = 3604512;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"EM"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_RUTA"))}; +RDebugUtils.currentLine=3604513; + //BA.debugLineNum = 3604513;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLiq"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("SelectMontoLiq")); + }; +RDebugUtils.currentLine=3604517; + //BA.debugLineNum = 3604517;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { +RDebugUtils.currentLine=3604519; + //BA.debugLineNum = 3604519;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE ENV_MONTO_LIQ"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE ENV_MONTO_LIQ SET EML_MONTO = ? WHERE EML_ALMACEN = ? AND EML_RUTA = ? AND EML_USUARIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._et_add_monto /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"),_ci.GetString("USUARIO")})); +RDebugUtils.currentLine=3604520; + //BA.debugLineNum = 3604520;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604521; + //BA.debugLineNum = 3604521;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3604523; + //BA.debugLineNum = 3604523;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_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 * FROM ENV_MONTO_LIQ"))); +RDebugUtils.currentLine=3604524; + //BA.debugLineNum = 3604524;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3604525; + //BA.debugLineNum = 3604525;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3604526; + //BA.debugLineNum = 3604526;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=3604527; + //BA.debugLineNum = 3604527;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3604528; + //BA.debugLineNum = 3604528;BA.debugLine="cmd.Name = \"select_MontoCuenta_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_MontoCuenta_SHARK2"; +RDebugUtils.currentLine=3604530; + //BA.debugLineNum = 3604530;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"E"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_RUTA"))}; +RDebugUtils.currentLine=3604531; + //BA.debugLineNum = 3604531;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("SelectMontoLiq")); + }; +RDebugUtils.currentLine=3604535; + //BA.debugLineNum = 3604535;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=3604539; + //BA.debugLineNum = 3604539;BA.debugLine="p_add_monto.Visible = False"; +__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3604544; + //BA.debugLineNum = 3604544;BA.debugLine="End Sub"; +return ""; +} +public String _b_apk_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_apk_click", false)) + {return ((String) Debug.delegate(ba, "b_apk_click", null));} +RDebugUtils.currentLine=2359296; + //BA.debugLineNum = 2359296;BA.debugLine="Sub b_apk_Click"; +RDebugUtils.currentLine=2359297; + //BA.debugLineNum = 2359297;BA.debugLine="StartService(appUpdater)"; +__c.StartService(ba,(Object)(_appupdater.getObject())); +RDebugUtils.currentLine=2359298; + //BA.debugLineNum = 2359298;BA.debugLine="End Sub"; +return ""; +} +public String _b_arqueocieego_click(SHARK2.keymon.com.mx.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=3080192; + //BA.debugLineNum = 3080192;BA.debugLine="Private Sub b_arqueocieego_Click"; +RDebugUtils.currentLine=3080193; + //BA.debugLineNum = 3080193;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM CAT_GUNAPROD3\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM CAT_GUNAPROD3"))); +RDebugUtils.currentLine=3080194; + //BA.debugLineNum = 3080194;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3080195; + //BA.debugLineNum = 3080195;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=3080196; + //BA.debugLineNum = 3080196;BA.debugLine="recarga = \"0\""; +__ref._recarga /*String*/ = "0"; + }else { +RDebugUtils.currentLine=3080198; + //BA.debugLineNum = 3080198;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=3080200; + //BA.debugLineNum = 3080200;BA.debugLine="End Sub"; +return ""; +} +public String _b_can_monto_click(SHARK2.keymon.com.mx.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=3735552; + //BA.debugLineNum = 3735552;BA.debugLine="Private Sub B_Can_Monto_Click"; +RDebugUtils.currentLine=3735553; + //BA.debugLineNum = 3735553;BA.debugLine="p_add_monto.Visible = False"; +__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3735554; + //BA.debugLineNum = 3735554;BA.debugLine="End Sub"; +return ""; +} +public String _b_cancelarcodigo_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_cancelarcodigo_click", false)) + {return ((String) Debug.delegate(ba, "b_cancelarcodigo_click", null));} +RDebugUtils.currentLine=3670016; + //BA.debugLineNum = 3670016;BA.debugLine="Private Sub b_cancelarcodigo_Click"; +RDebugUtils.currentLine=3670017; + //BA.debugLineNum = 3670017;BA.debugLine="p_validacion.Visible = False"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3670018; + //BA.debugLineNum = 3670018;BA.debugLine="End Sub"; +return ""; +} +public String _b_cargarmonto_click(SHARK2.keymon.com.mx.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=3932160; + //BA.debugLineNum = 3932160;BA.debugLine="Private Sub b_CargarMonto_Click"; +RDebugUtils.currentLine=3932161; + //BA.debugLineNum = 3932161;BA.debugLine="c = 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)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM kmt_info"))); +RDebugUtils.currentLine=3932162; + //BA.debugLineNum = 3932162;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3932163; + //BA.debugLineNum = 3932163;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=3932164; + //BA.debugLineNum = 3932164;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=3932166; + //BA.debugLineNum = 3932166;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=3932168; + //BA.debugLineNum = 3932168;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3932169; + //BA.debugLineNum = 3932169;BA.debugLine="End Sub"; +return ""; +} +public String _b_enviarbd_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_enviarbd_click", false)) + {return ((String) Debug.delegate(ba, "b_enviarbd_click", null));} +RDebugUtils.currentLine=2883584; + //BA.debugLineNum = 2883584;BA.debugLine="Private Sub b_enviarbd_Click"; +RDebugUtils.currentLine=2883586; + //BA.debugLineNum = 2883586;BA.debugLine="End Sub"; +return ""; +} +public void _b_enviobd_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_enviobd_click", false)) + {Debug.delegate(ba, "b_enviobd_click", null); return;} +ResumableSub_b_envioBD_Click rsub = new ResumableSub_b_envioBD_Click(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_b_envioBD_Click extends BA.ResumableSub { +public ResumableSub_b_envioBD_Click(SHARK2.keymon.com.mx.b4xmainpage parent,SHARK2.keymon.com.mx.b4xmainpage __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xmainpage __ref; +SHARK2.keymon.com.mx.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=3801091; + //BA.debugLineNum = 3801091;BA.debugLine="Dim FileName As String = \"kmt.db\""; +_filename = "kmt.db"; +RDebugUtils.currentLine=3801093; + //BA.debugLineNum = 3801093;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; +parent.__c.LogImpl("53801093","xxxxxx:"+__ref._provider /*SHARK2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ,0); +RDebugUtils.currentLine=3801094; + //BA.debugLineNum = 3801094;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=3801095; + //BA.debugLineNum = 3801095;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh"; +parent.__c.File.Copy(parent.__c.File.getDirInternal(),_filename,__ref._provider /*SHARK2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ,_filename); +RDebugUtils.currentLine=3801096; + //BA.debugLineNum = 3801096;BA.debugLine="Dim email As Email"; +_email = new anywheresoftware.b4a.phone.Phone.Email(); +RDebugUtils.currentLine=3801097; + //BA.debugLineNum = 3801097;BA.debugLine="email.To.Add(\"soporte@keymonsoft.com\")"; +_email.To.Add((Object)("soporte@keymonsoft.com")); +RDebugUtils.currentLine=3801098; + //BA.debugLineNum = 3801098;BA.debugLine="email.Subject = \"Envio Base de datos SHARK2\""; +_email.Subject = "Envio Base de datos SHARK2"; +RDebugUtils.currentLine=3801099; + //BA.debugLineNum = 3801099;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam"; +_email.Attachments.Add(__ref._provider /*SHARK2.keymon.com.mx.fileprovider*/ ._getfileuri /*Object*/ (null,_filename)); +RDebugUtils.currentLine=3801101; + //BA.debugLineNum = 3801101;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=3801102; + //BA.debugLineNum = 3801102;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; +_in.setFlags((int) (1)); +RDebugUtils.currentLine=3801103; + //BA.debugLineNum = 3801103;BA.debugLine="StartActivity(in)"; +parent.__c.StartActivity(ba,(Object)(_in.getObject())); +RDebugUtils.currentLine=3801104; + //BA.debugLineNum = 3801104;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b_guardar_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_guardar_click", false)) + {return ((String) Debug.delegate(ba, "b_guardar_click", null));} +RDebugUtils.currentLine=3014656; + //BA.debugLineNum = 3014656;BA.debugLine="Private Sub b_guardar_Click"; +RDebugUtils.currentLine=3014657; + //BA.debugLineNum = 3014657;BA.debugLine="Starter.reinicializaReqManager(et_server.Text.Tri"; +_starter._reinicializareqmanager /*String*/ (__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()); +RDebugUtils.currentLine=3014658; + //BA.debugLineNum = 3014658;BA.debugLine="p_appUpdate.Visible = False"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=3014659; + //BA.debugLineNum = 3014659;BA.debugLine="End Sub"; +return ""; +} +public void _b_importarbd_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_importarbd_click", false)) + {Debug.delegate(ba, "b_importarbd_click", null); return;} +ResumableSub_b_importarBD_Click rsub = new ResumableSub_b_importarBD_Click(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_b_importarBD_Click extends BA.ResumableSub { +public ResumableSub_b_importarBD_Click(SHARK2.keymon.com.mx.b4xmainpage parent,SHARK2.keymon.com.mx.b4xmainpage __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xmainpage __ref; +SHARK2.keymon.com.mx.b4xmainpage parent; +SHARK2.keymon.com.mx.filehandler _fh = null; +SHARK2.keymon.com.mx.filehandler._loadresult _result = 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=2949121; + //BA.debugLineNum = 2949121;BA.debugLine="Private FH As FileHandler"; +_fh = new SHARK2.keymon.com.mx.filehandler(); +RDebugUtils.currentLine=2949122; + //BA.debugLineNum = 2949122;BA.debugLine="FH.Initialize"; +_fh._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=2949123; + //BA.debugLineNum = 2949123;BA.debugLine="Wait For (FH.Load) Complete (Result As LoadResult"; +parent.__c.WaitFor("complete", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b_importarbd_click"), _fh._load /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (null)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +_result = (SHARK2.keymon.com.mx.filehandler._loadresult) result[1]; +; +RDebugUtils.currentLine=2949124; + //BA.debugLineNum = 2949124;BA.debugLine="File.Copy(Result.Dir, Result.FileName, File.DirIn"; +parent.__c.File.Copy(_result.Dir /*String*/ ,_result.FileName /*String*/ ,parent.__c.File.getDirInternal(),"kmt.db"); +RDebugUtils.currentLine=2949125; + //BA.debugLineNum = 2949125;BA.debugLine="B4XPages.MainPage.skmt.Initialize(Starter.ruta,\"k"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(parent._starter._ruta /*String*/ ,"kmt.db",parent.__c.True); +RDebugUtils.currentLine=2949126; + //BA.debugLineNum = 2949126;BA.debugLine="ToastMessageShow(\"¡BD importada!\", False)"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("¡BD importada!"),parent.__c.False); +RDebugUtils.currentLine=2949127; + //BA.debugLineNum = 2949127;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b_menu_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_menu_click", false)) + {return ((String) Debug.delegate(ba, "b_menu_click", null));} +RDebugUtils.currentLine=2097152; + //BA.debugLineNum = 2097152;BA.debugLine="Sub b_menu_Click"; +RDebugUtils.currentLine=2097153; + //BA.debugLineNum = 2097153;BA.debugLine="PopupMenu.Show"; +__ref._popupmenu /*com.rootsoft.rspopupmenu.RSPopupMenu*/ .Show(); +RDebugUtils.currentLine=2097154; + //BA.debugLineNum = 2097154;BA.debugLine="End Sub"; +return ""; +} +public String _b_pc_env_click(SHARK2.keymon.com.mx.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; +RDebugUtils.currentLine=3407872; + //BA.debugLineNum = 3407872;BA.debugLine="Private Sub B_PC_ENV_Click"; +RDebugUtils.currentLine=3407874; + //BA.debugLineNum = 3407874;BA.debugLine="Dim sDate, sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=3407875; + //BA.debugLineNum = 3407875;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=3407876; + //BA.debugLineNum = 3407876;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=3407877; + //BA.debugLineNum = 3407877;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=3407878; + //BA.debugLineNum = 3407878;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=3407881; + //BA.debugLineNum = 3407881;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=3407883; + //BA.debugLineNum = 3407883;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=3407884; + //BA.debugLineNum = 3407884;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; +_innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_innerpanel = _itempanel.GetView((int) (0)); +RDebugUtils.currentLine=3407885; + //BA.debugLineNum = 3407885;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; +_edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_edittext = _innerpanel.GetView((int) (1)); +RDebugUtils.currentLine=3407886; + //BA.debugLineNum = 3407886;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=3407889; + //BA.debugLineNum = 3407889;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; +if (__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { +RDebugUtils.currentLine=3407890; + //BA.debugLineNum = 3407890;BA.debugLine="inputText = \"0\""; +_inputtext = "0"; + }; +RDebugUtils.currentLine=3407894; + //BA.debugLineNum = 3407894;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; +_idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_idlabel = _innerpanel.GetView((int) (0)); +RDebugUtils.currentLine=3407895; + //BA.debugLineNum = 3407895;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=3407896; + //BA.debugLineNum = 3407896;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; +_idparts = __c.Regex.Split(__c.CRLF,_idtext); +RDebugUtils.currentLine=3407898; + //BA.debugLineNum = 3407898;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); +RDebugUtils.currentLine=3407899; + //BA.debugLineNum = 3407899;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3407901; + //BA.debugLineNum = 3407901;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +__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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=3407902; + //BA.debugLineNum = 3407902;BA.debugLine="If a.RowCount>0 Then"; +if (__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3407903; + //BA.debugLineNum = 3407903;BA.debugLine="a.Position=0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); + }; +RDebugUtils.currentLine=3407908; + //BA.debugLineNum = 3407908;BA.debugLine="If inputText <> \"\" Then"; +if ((_inputtext).equals("") == false) { +RDebugUtils.currentLine=3407909; + //BA.debugLineNum = 3407909;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=3407910; + //BA.debugLineNum = 3407910;BA.debugLine="If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=3407912; + //BA.debugLineNum = 3407912;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PICK_CIEGO(PC_"; +__ref._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("CAT_CL_RUTA"),__ref._sdate /*String*/ +" "+__ref._stime /*String*/ })); + }else { +RDebugUtils.currentLine=3407914; + //BA.debugLineNum = 3407914;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update P"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._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=3407917; + //BA.debugLineNum = 3407917;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3407918; + //BA.debugLineNum = 3407918;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } +}; +RDebugUtils.currentLine=3407921; + //BA.debugLineNum = 3407921;BA.debugLine="et_buspc.Text = \"\""; +__ref._et_buspc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=3407922; + //BA.debugLineNum = 3407922;BA.debugLine="CLV_PICK_CIEGO.Clear"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=3407924; + //BA.debugLineNum = 3407924;BA.debugLine="End Sub"; +return ""; +} +public String _b_recarga_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_recarga_click", false)) + {return ((String) Debug.delegate(ba, "b_recarga_click", null));} +RDebugUtils.currentLine=3866624; + //BA.debugLineNum = 3866624;BA.debugLine="Private Sub b_recarga_Click"; +RDebugUtils.currentLine=3866625; + //BA.debugLineNum = 3866625;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM CAT_GUNAPROD\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM CAT_GUNAPROD"))); +RDebugUtils.currentLine=3866626; + //BA.debugLineNum = 3866626;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3866628; + //BA.debugLineNum = 3866628;BA.debugLine="recarga = \"1\""; +__ref._recarga /*String*/ = "1"; +RDebugUtils.currentLine=3866630; + //BA.debugLineNum = 3866630;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=3866631; + //BA.debugLineNum = 3866631;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("1")})); +RDebugUtils.currentLine=3866632; + //BA.debugLineNum = 3866632;BA.debugLine="B4XPages.MainPage.tipo_venta = \"RECARGA\""; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "RECARGA"; +RDebugUtils.currentLine=3866633; + //BA.debugLineNum = 3866633;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }else { +RDebugUtils.currentLine=3866635; + //BA.debugLineNum = 3866635;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=3866637; + //BA.debugLineNum = 3866637;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3866638; + //BA.debugLineNum = 3866638;BA.debugLine="End Sub"; +return ""; +} +public String _b_regesar_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b_regesar_click", false)) + {return ((String) Debug.delegate(ba, "b_regesar_click", null));} +RDebugUtils.currentLine=2621440; + //BA.debugLineNum = 2621440;BA.debugLine="Sub b_regesar_Click"; +RDebugUtils.currentLine=2621441; + //BA.debugLineNum = 2621441;BA.debugLine="Subs.panelVisible(p_Main,0,0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_main /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=2621442; + //BA.debugLineNum = 2621442;BA.debugLine="End Sub"; +return ""; +} +public void _b_terpc_click(SHARK2.keymon.com.mx.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(SHARK2.keymon.com.mx.b4xmainpage parent,SHARK2.keymon.com.mx.b4xmainpage __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xmainpage __ref; +SHARK2.keymon.com.mx.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; +int step12; +int limit12; +int step49; +int limit49; + +@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=3473409; + //BA.debugLineNum = 3473409;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=3473410; + //BA.debugLineNum = 3473410;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 = 41; +return; +case 41: +//C +this.state = 1; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=3473411; + //BA.debugLineNum = 3473411;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 1: +//if +this.state = 40; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=3473412; + //BA.debugLineNum = 3473412;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=3473413; + //BA.debugLineNum = 3473413;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 = 42; +return; +case 42: +//C +this.state = 4; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=3473414; + //BA.debugLineNum = 3473414;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 4: +//if +this.state = 39; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 6; +}else { +this.state = 38; +}if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=3473416; + //BA.debugLineNum = 3473416;BA.debugLine="Dim sDate, sTime As String"; +parent._sdate = ""; +parent._stime = ""; +RDebugUtils.currentLine=3473417; + //BA.debugLineNum = 3473417;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=3473418; + //BA.debugLineNum = 3473418;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +parent.__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=3473419; + //BA.debugLineNum = 3473419;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=3473420; + //BA.debugLineNum = 3473420;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=3473422; + //BA.debugLineNum = 3473422;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 = 43; +if (true) break; + +case 43: +//C +this.state = 28; +if ((step12 > 0 && _i <= limit12) || (step12 < 0 && _i >= limit12)) this.state = 9; +if (true) break; + +case 44: +//C +this.state = 43; +_i = ((int)(0 + _i + step12)) ; +if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=3473424; + //BA.debugLineNum = 3473424;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=3473425; + //BA.debugLineNum = 3473425;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView("; +_innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_innerpanel = _itempanel.GetView((int) (0)); +RDebugUtils.currentLine=3473426; + //BA.debugLineNum = 3473426;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1"; +_edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_edittext = _innerpanel.GetView((int) (1)); +RDebugUtils.currentLine=3473427; + //BA.debugLineNum = 3473427;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=3473430; + //BA.debugLineNum = 3473430;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=3473431; + //BA.debugLineNum = 3473431;BA.debugLine="inputText = \"0\""; +_inputtext = "0"; + if (true) break; + +case 13: +//C +this.state = 14; +; +RDebugUtils.currentLine=3473435; + //BA.debugLineNum = 3473435;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; +_idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_idlabel = _innerpanel.GetView((int) (0)); +RDebugUtils.currentLine=3473436; + //BA.debugLineNum = 3473436;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=3473437; + //BA.debugLineNum = 3473437;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, id"; +_idparts = parent.__c.Regex.Split(parent.__c.CRLF,_idtext); +RDebugUtils.currentLine=3473439; + //BA.debugLineNum = 3473439;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); +RDebugUtils.currentLine=3473440; + //BA.debugLineNum = 3473440;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=3473442; + //BA.debugLineNum = 3473442;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_"; +__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._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=3473443; + //BA.debugLineNum = 3473443;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=3473444; + //BA.debugLineNum = 3473444;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=3473446; + //BA.debugLineNum = 3473446;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; +parent.__c.LogImpl("53473446",__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),0); +RDebugUtils.currentLine=3473447; + //BA.debugLineNum = 3473447;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; +parent.__c.LogImpl("53473447",__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"),0); +RDebugUtils.currentLine=3473448; + //BA.debugLineNum = 3473448;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=3473449; + //BA.debugLineNum = 3473449;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=3473450; + //BA.debugLineNum = 3473450;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=3473452; + //BA.debugLineNum = 3473452;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PICK_CIEGO(P"; +__ref._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("CAT_CL_RUTA"),__ref._sdate /*String*/ +" "+__ref._stime /*String*/ })); + if (true) break; + +case 25: +//C +this.state = 26; +RDebugUtils.currentLine=3473454; + //BA.debugLineNum = 3473454;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._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 = 44; +; +RDebugUtils.currentLine=3473457; + //BA.debugLineNum = 3473457;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473458; + //BA.debugLineNum = 3473458;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3473459; + //BA.debugLineNum = 3473459;BA.debugLine="Log(\"Processed item \" & i)"; +parent.__c.LogImpl("53473459","Processed item "+BA.NumberToString(_i),0); + if (true) break; +if (true) break; + +case 28: +//C +this.state = 29; +; +RDebugUtils.currentLine=3473461; + //BA.debugLineNum = 3473461;BA.debugLine="Log(\"Finished processing all items\")"; +parent.__c.LogImpl("53473461","Finished processing all items",0); +RDebugUtils.currentLine=3473462; + //BA.debugLineNum = 3473462;BA.debugLine="P_CIEGO.Visible = False"; +__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=3473463; + //BA.debugLineNum = 3473463;BA.debugLine="et_buspc.Text = \"\""; +__ref._et_buspc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=3473464; + //BA.debugLineNum = 3473464;BA.debugLine="CLV_PICK_CIEGO.Clear"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=3473465; + //BA.debugLineNum = 3473465;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=3473466; + //BA.debugLineNum = 3473466;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 29: +//if +this.state = 36; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 31; +}if (true) break; + +case 31: +//C +this.state = 32; +RDebugUtils.currentLine=3473467; + //BA.debugLineNum = 3473467;BA.debugLine="For i = 0 To c.RowCount - 1"; +if (true) break; + +case 32: +//for +this.state = 35; +step49 = 1; +limit49 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 45; +if (true) break; + +case 45: +//C +this.state = 35; +if ((step49 > 0 && _i <= limit49) || (step49 < 0 && _i >= limit49)) this.state = 34; +if (true) break; + +case 46: +//C +this.state = 45; +_i = ((int)(0 + _i + step49)) ; +if (true) break; + +case 34: +//C +this.state = 46; +RDebugUtils.currentLine=3473468; + //BA.debugLineNum = 3473468;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3473469; + //BA.debugLineNum = 3473469;BA.debugLine="Dim cmd As DBCommand"; +parent._cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=3473470; + //BA.debugLineNum = 3473470;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=3473471; + //BA.debugLineNum = 3473471;BA.debugLine="cmd.Name = \"select_HIST_PICKCIEGO_SHARK2\" '"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_HIST_PICKCIEGO_SHARK2"; +RDebugUtils.currentLine=3473472; + //BA.debugLineNum = 3473472;BA.debugLine="cmd.Parameters = Array As Object(c.GetString("; +__ref._cmd /*SHARK2.keymon.com.mx.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)("VENTA")}; +RDebugUtils.currentLine=3473473; + //BA.debugLineNum = 3473473;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, $\"PICK_C_${c"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)(("PICK_C_"+parent.__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ID_PROD")))+""))); + if (true) break; +if (true) break; + +case 35: +//C +this.state = 36; +; + if (true) break; + +case 36: +//C +this.state = 39; +; +RDebugUtils.currentLine=3473476; + //BA.debugLineNum = 3473476;BA.debugLine="c.close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + if (true) break; + +case 38: +//C +this.state = 39; + if (true) break; + +case 39: +//C +this.state = 40; +; + if (true) break; + +case 40: +//C +this.state = -1; +; +RDebugUtils.currentLine=3473481; + //BA.debugLineNum = 3473481;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _b4xpage_appear(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {Debug.delegate(ba, "b4xpage_appear", null); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { +public ResumableSub_B4XPage_Appear(SHARK2.keymon.com.mx.b4xmainpage parent,SHARK2.keymon.com.mx.b4xmainpage __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xmainpage __ref; +SHARK2.keymon.com.mx.b4xmainpage parent; +anywheresoftware.b4a.phone.Phone _ph = null; +String _deviceid = ""; + +@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=1638401; + //BA.debugLineNum = 1638401;BA.debugLine="Log(recarga)"; +parent.__c.LogImpl("51638401",__ref._recarga /*String*/ ,0); +RDebugUtils.currentLine=1638402; + //BA.debugLineNum = 1638402;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=1638403; + //BA.debugLineNum = 1638403;BA.debugLine="muestraProgreso(\"Descargando actualización\")"; +__ref._muestraprogreso /*String*/ (null,"Descargando actualización"); +RDebugUtils.currentLine=1638404; + //BA.debugLineNum = 1638404;BA.debugLine="Starter.muestraProgreso = 0"; +parent._starter._muestraprogreso /*String*/ = BA.NumberToString(0); + if (true) break; + +case 4: +//C +this.state = 5; +; +RDebugUtils.currentLine=1638406; + //BA.debugLineNum = 1638406;BA.debugLine="Dim ph As Phone 'Get Id Device"; +_ph = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=1638407; + //BA.debugLineNum = 1638407;BA.debugLine="Dim DeviceID As String = ph.GetSettings(\"android_"; +_deviceid = _ph.GetSettings("android_id").toUpperCase(); +RDebugUtils.currentLine=1638408; + //BA.debugLineNum = 1638408;BA.debugLine="LogColor($\"////////////////// DeviceID: ${Devic"; +parent.__c.LogImpl("51638408",("////////////////// DeviceID: "+parent.__c.SmartStringFormatter("",(Object)(_deviceid))+" ////////////////// "),parent.__c.Colors.Blue); +RDebugUtils.currentLine=1638409; + //BA.debugLineNum = 1638409;BA.debugLine="DBReqServer = Starter.DBReqServer"; +__ref._dbreqserver /*String*/ = parent._starter._dbreqserver /*String*/ ; +RDebugUtils.currentLine=1638410; + //BA.debugLineNum = 1638410;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,parent,parent._starter._dbreqserver /*String*/ ); +RDebugUtils.currentLine=1638411; + //BA.debugLineNum = 1638411;BA.debugLine="Log(\"|\"&Starter.DBReqServer&\"|\")"; +parent.__c.LogImpl("51638411","|"+parent._starter._dbreqserver /*String*/ +"|",0); +RDebugUtils.currentLine=1638412; + //BA.debugLineNum = 1638412;BA.debugLine="tgl.Initialize()"; +__ref._tgl /*com.rootsoft.togglelibrary.ToggleLibrary*/ .Initialize(ba); +RDebugUtils.currentLine=1638413; + //BA.debugLineNum = 1638413;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +if (true) break; + +case 5: +//if +this.state = 8; +if (parent.__c.Not(parent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { +this.state = 7; +}if (true) break; + +case 7: +//C +this.state = 8; +RDebugUtils.currentLine=1638414; + //BA.debugLineNum = 1638414;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),parent.__c.True); +RDebugUtils.currentLine=1638415; + //BA.debugLineNum = 1638415;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_appear"),(int) (500)); +this.state = 19; +return; +case 19: +//C +this.state = 8; +; +RDebugUtils.currentLine=1638416; + //BA.debugLineNum = 1638416;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +parent.__c.StartActivity(ba,(Object)(parent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); + if (true) break; + +case 8: +//C +this.state = 9; +; +RDebugUtils.currentLine=1638418; + //BA.debugLineNum = 1638418;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as CUANTOS fro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); +RDebugUtils.currentLine=1638419; + //BA.debugLineNum = 1638419;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1638420; + //BA.debugLineNum = 1638420;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +if (true) break; + +case 9: +//if +this.state = 18; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +this.state = 11; +}else { +this.state = 13; +}if (true) break; + +case 11: +//C +this.state = 18; +RDebugUtils.currentLine=1638421; + //BA.debugLineNum = 1638421;BA.debugLine="LogColor($\"No hay fecha: ${c.GetString(\"CUANTOS\""; +parent.__c.LogImpl("51638421",("No hay fecha: "+parent.__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))+""),parent.__c.Colors.Red); +RDebugUtils.currentLine=1638422; + //BA.debugLineNum = 1638422;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1638423; + //BA.debugLineNum = 1638423;BA.debugLine="cmd.Name = \"select_fecha\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_fecha"; +RDebugUtils.currentLine=1638424; + //BA.debugLineNum = 1638424;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("fecha")); +RDebugUtils.currentLine=1638425; + //BA.debugLineNum = 1638425;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'Ignore"; +parent.__c.Msgbox(BA.ObjectToCharSequence("AJUSTAR FECHA"),BA.ObjectToCharSequence("AVISO"),ba); +RDebugUtils.currentLine=1638426; + //BA.debugLineNum = 1638426;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + if (true) break; + +case 13: +//C +this.state = 14; +RDebugUtils.currentLine=1638429; + //BA.debugLineNum = 1638429;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); +RDebugUtils.currentLine=1638430; + //BA.debugLineNum = 1638430;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1638431; + //BA.debugLineNum = 1638431;BA.debugLine="Dim sDate, sTime As String"; +parent._sdate = ""; +parent._stime = ""; +RDebugUtils.currentLine=1638432; + //BA.debugLineNum = 1638432;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +parent.__c.DateTime.setDateFormat("yyyyMMdd"); +RDebugUtils.currentLine=1638433; + //BA.debugLineNum = 1638433;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=1638438; + //BA.debugLineNum = 1638438;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then"; +if (true) break; + +case 14: +//if +this.state = 17; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR")))>(double)(Double.parseDouble(__ref._sdate /*String*/ ))) { +this.state = 16; +}if (true) break; + +case 16: +//C +this.state = 17; +RDebugUtils.currentLine=1638439; + //BA.debugLineNum = 1638439;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS"; +parent.__c.Msgbox(BA.ObjectToCharSequence("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA"),BA.ObjectToCharSequence("AVISO"),ba); +RDebugUtils.currentLine=1638440; + //BA.debugLineNum = 1638440;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + if (true) break; + +case 17: +//C +this.state = 18; +; + if (true) break; + +case 18: +//C +this.state = -1; +; +RDebugUtils.currentLine=1638443; + //BA.debugLineNum = 1638443;BA.debugLine="bu.Initialize"; +__ref._bu /*SHARK2.keymon.com.mx.batteryutilities*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=1638444; + //BA.debugLineNum = 1638444;BA.debugLine="batterystatus = bu.BatteryInformation"; +__ref._batterystatus /*int[]*/ = __ref._bu /*SHARK2.keymon.com.mx.batteryutilities*/ ._getbatteryinformation /*int[]*/ (null); +RDebugUtils.currentLine=1638447; + //BA.debugLineNum = 1638447;BA.debugLine="dameUsuario"; +__ref._dameusuario /*String*/ (null); +RDebugUtils.currentLine=1638468; + //BA.debugLineNum = 1638468;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _dameusuario(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "dameusuario", false)) + {return ((String) Debug.delegate(ba, "dameusuario", null));} +RDebugUtils.currentLine=2228224; + //BA.debugLineNum = 2228224;BA.debugLine="Sub dameUsuario"; +RDebugUtils.currentLine=2228225; + //BA.debugLineNum = 2228225;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()}))); +RDebugUtils.currentLine=2228226; + //BA.debugLineNum = 2228226;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=2228227; + //BA.debugLineNum = 2228227;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE1"); +RDebugUtils.currentLine=2228228; + //BA.debugLineNum = 2228228;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=2228229; + //BA.debugLineNum = 2228229;BA.debugLine="If existe > 0 Then"; +if ((double)(Double.parseDouble(__ref._existe /*String*/ ))>0) { +RDebugUtils.currentLine=2228230; + //BA.debugLineNum = 2228230;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=2228231; + //BA.debugLineNum = 2228231;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=2228232; + //BA.debugLineNum = 2228232;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); + }else { +RDebugUtils.currentLine=2228234; + //BA.debugLineNum = 2228234;BA.debugLine="usuario = \"SINUSUARIO\""; +__ref._usuario /*String*/ = "SINUSUARIO"; + }; +RDebugUtils.currentLine=2228236; + //BA.debugLineNum = 2228236;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(SHARK2.keymon.com.mx.b4xmainpage parent,SHARK2.keymon.com.mx.b4xmainpage __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xmainpage __ref; +SHARK2.keymon.com.mx.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=1835009; + //BA.debugLineNum = 1835009;BA.debugLine="Log(\"closreq\")"; +parent.__c.LogImpl("51835009","closreq",0); +RDebugUtils.currentLine=1835010; + //BA.debugLineNum = 1835010;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_closerequest"),(int) (0)); +this.state = 14; +return; +case 14: +//C +this.state = 1; +; +RDebugUtils.currentLine=1835012; + //BA.debugLineNum = 1835012;BA.debugLine="If p_add_monto.IsInitialized And p_add_monto.Visi"; +if (true) break; + +case 1: +//if +this.state = 10; +if (__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 3; +}else +{RDebugUtils.currentLine=1835015; + //BA.debugLineNum = 1835015;BA.debugLine="Else If p_validacion.IsInitialized And p_validaci"; +if (__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 5; +}else +{RDebugUtils.currentLine=1835018; + //BA.debugLineNum = 1835018;BA.debugLine="Else If P_CIEGO.IsInitialized And P_CIEGO.Visible"; +if (__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 7; +}else +{RDebugUtils.currentLine=1835021; + //BA.debugLineNum = 1835021;BA.debugLine="Else If p_appUpdate.IsInitialized And p_appUpdate"; +if (__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized() && __ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 9; +}}}} +if (true) break; + +case 3: +//C +this.state = 10; +RDebugUtils.currentLine=1835013; + //BA.debugLineNum = 1835013;BA.debugLine="p_add_monto.Visible = False"; +__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=1835014; + //BA.debugLineNum = 1835014;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 5: +//C +this.state = 10; +RDebugUtils.currentLine=1835016; + //BA.debugLineNum = 1835016;BA.debugLine="p_validacion.Visible = False"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=1835017; + //BA.debugLineNum = 1835017;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 7: +//C +this.state = 10; +RDebugUtils.currentLine=1835019; + //BA.debugLineNum = 1835019;BA.debugLine="MsgboxAsync(\"Debes de terminar el proceso para r"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Debes de terminar el proceso para regresar a la pantalla principal"),BA.ObjectToCharSequence("Atención"),ba); +RDebugUtils.currentLine=1835020; + //BA.debugLineNum = 1835020;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=1835022; + //BA.debugLineNum = 1835022;BA.debugLine="p_appUpdate.Visible = False"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=1835023; + //BA.debugLineNum = 1835023;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; +; +RDebugUtils.currentLine=1835025; + //BA.debugLineNum = 1835025;BA.debugLine="If Not(p_appUpdate.Visible) Then"; + +case 10: +//if +this.state = 13; +if (parent.__c.Not(__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible())) { +this.state = 12; +}if (true) break; + +case 12: +//C +this.state = 13; +RDebugUtils.currentLine=1835026; + //BA.debugLineNum = 1835026;BA.debugLine="Log(\"ExitApplication\")"; +parent.__c.LogImpl("51835026","ExitApplication",0); +RDebugUtils.currentLine=1835027; + //BA.debugLineNum = 1835027;BA.debugLine="ExitApplication"; +parent.__c.ExitApplication(); + if (true) break; + +case 13: +//C +this.state = -1; +; +RDebugUtils.currentLine=1835029; + //BA.debugLineNum = 1835029;BA.debugLine="Return True"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;}; +RDebugUtils.currentLine=1835030; + //BA.debugLineNum = 1835030;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _b4xpage_created(SHARK2.keymon.com.mx.b4xmainpage __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}); return;} +ResumableSub_B4XPage_Created rsub = new ResumableSub_B4XPage_Created(this,__ref,_root1); +rsub.resume(ba, null); +} +public static class ResumableSub_B4XPage_Created extends BA.ResumableSub { +public ResumableSub_B4XPage_Created(SHARK2.keymon.com.mx.b4xmainpage parent,SHARK2.keymon.com.mx.b4xmainpage __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) { +this.parent = parent; +this.__ref = __ref; +this._root1 = _root1; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xmainpage __ref; +SHARK2.keymon.com.mx.b4xmainpage parent; +anywheresoftware.b4a.objects.B4XViewWrapper _root1; +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="b4xmainpage"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=1572865; + //BA.debugLineNum = 1572865;BA.debugLine="B4XPages.GetManager.LogEvents = True"; +parent._b4xpages._getmanager /*SHARK2.keymon.com.mx.b4xpagesmanager*/ (ba)._logevents /*boolean*/ = parent.__c.True; +RDebugUtils.currentLine=1572866; + //BA.debugLineNum = 1572866;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=1572867; + //BA.debugLineNum = 1572867;BA.debugLine="Root.LoadLayout(\"login\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("login",ba); +RDebugUtils.currentLine=1572868; + //BA.debugLineNum = 1572868;BA.debugLine="s.Initialize(Me, \"Subs\")"; +__ref._s /*SHARK2.keymon.com.mx.c_subs*/ ._initialize /*Object*/ (null,ba,parent,"Subs"); +RDebugUtils.currentLine=1572869; + //BA.debugLineNum = 1572869;BA.debugLine="B4XPages.SetTitle(Me, \"SHARK2\")"; +parent._b4xpages._settitle /*String*/ (ba,parent,(Object)("SHARK2")); +RDebugUtils.currentLine=1572870; + //BA.debugLineNum = 1572870;BA.debugLine="login.Initialize"; +__ref._login /*SHARK2.keymon.com.mx.b4xmainpage*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=1572871; + //BA.debugLineNum = 1572871;BA.debugLine="B4XPages.AddPage(\"Login\", login)"; +parent._b4xpages._addpage /*String*/ (ba,"Login",(Object)(__ref._login /*SHARK2.keymon.com.mx.b4xmainpage*/ )); +RDebugUtils.currentLine=1572872; + //BA.debugLineNum = 1572872;BA.debugLine="principal.Initialize"; +__ref._principal /*SHARK2.keymon.com.mx.c_principal*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572873; + //BA.debugLineNum = 1572873;BA.debugLine="B4XPages.AddPage(\"Principal\", principal)"; +parent._b4xpages._addpage /*String*/ (ba,"Principal",(Object)(__ref._principal /*SHARK2.keymon.com.mx.c_principal*/ )); +RDebugUtils.currentLine=1572874; + //BA.debugLineNum = 1572874;BA.debugLine="clientes.Initialize"; +__ref._clientes /*SHARK2.keymon.com.mx.c_clientes*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572875; + //BA.debugLineNum = 1572875;BA.debugLine="B4XPages.AddPage(\"Clientes\", clientes)"; +parent._b4xpages._addpage /*String*/ (ba,"Clientes",(Object)(__ref._clientes /*SHARK2.keymon.com.mx.c_clientes*/ )); +RDebugUtils.currentLine=1572876; + //BA.debugLineNum = 1572876;BA.debugLine="cliente.Initialize"; +__ref._cliente /*SHARK2.keymon.com.mx.c_cliente*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572877; + //BA.debugLineNum = 1572877;BA.debugLine="B4XPages.AddPage(\"Cliente\", cliente)"; +parent._b4xpages._addpage /*String*/ (ba,"Cliente",(Object)(__ref._cliente /*SHARK2.keymon.com.mx.c_cliente*/ )); +RDebugUtils.currentLine=1572878; + //BA.debugLineNum = 1572878;BA.debugLine="productos.Initialize"; +__ref._productos /*SHARK2.keymon.com.mx.c_productos*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572879; + //BA.debugLineNum = 1572879;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)"; +parent._b4xpages._addpage /*String*/ (ba,"Productos",(Object)(__ref._productos /*SHARK2.keymon.com.mx.c_productos*/ )); +RDebugUtils.currentLine=1572880; + //BA.debugLineNum = 1572880;BA.debugLine="updateAvailable.Initialize"; +__ref._updateavailable /*SHARK2.keymon.com.mx.c_updateavailable*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572881; + //BA.debugLineNum = 1572881;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab"; +parent._b4xpages._addpage /*String*/ (ba,"updateAvailable",(Object)(__ref._updateavailable /*SHARK2.keymon.com.mx.c_updateavailable*/ )); +RDebugUtils.currentLine=1572882; + //BA.debugLineNum = 1572882;BA.debugLine="mapas.Initialize"; +__ref._mapas /*SHARK2.keymon.com.mx.c_mapas*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572883; + //BA.debugLineNum = 1572883;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)"; +parent._b4xpages._addpage /*String*/ (ba,"Mapas",(Object)(__ref._mapas /*SHARK2.keymon.com.mx.c_mapas*/ )); +RDebugUtils.currentLine=1572884; + //BA.debugLineNum = 1572884;BA.debugLine="nuevoCliente.Initialize"; +__ref._nuevocliente /*SHARK2.keymon.com.mx.c_nuevocliente*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572885; + //BA.debugLineNum = 1572885;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)"; +parent._b4xpages._addpage /*String*/ (ba,"NuevoCliente",(Object)(__ref._nuevocliente /*SHARK2.keymon.com.mx.c_nuevocliente*/ )); +RDebugUtils.currentLine=1572886; + //BA.debugLineNum = 1572886;BA.debugLine="ticketsDia.Initialize"; +__ref._ticketsdia /*SHARK2.keymon.com.mx.c_ticketsdia*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572887; + //BA.debugLineNum = 1572887;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)"; +parent._b4xpages._addpage /*String*/ (ba,"TicketsDia",(Object)(__ref._ticketsdia /*SHARK2.keymon.com.mx.c_ticketsdia*/ )); +RDebugUtils.currentLine=1572888; + //BA.debugLineNum = 1572888;BA.debugLine="noVenta.Initialize"; +__ref._noventa /*SHARK2.keymon.com.mx.c_noventa*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572889; + //BA.debugLineNum = 1572889;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)"; +parent._b4xpages._addpage /*String*/ (ba,"NoVenta",(Object)(__ref._noventa /*SHARK2.keymon.com.mx.c_noventa*/ )); +RDebugUtils.currentLine=1572890; + //BA.debugLineNum = 1572890;BA.debugLine="nota.Initialize"; +__ref._nota /*SHARK2.keymon.com.mx.c_nota*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572891; + //BA.debugLineNum = 1572891;BA.debugLine="B4XPages.AddPage(\"Nota\", nota)"; +parent._b4xpages._addpage /*String*/ (ba,"Nota",(Object)(__ref._nota /*SHARK2.keymon.com.mx.c_nota*/ )); +RDebugUtils.currentLine=1572892; + //BA.debugLineNum = 1572892;BA.debugLine="pedidos.Initialize"; +__ref._pedidos /*SHARK2.keymon.com.mx.c_pedidos*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572893; + //BA.debugLineNum = 1572893;BA.debugLine="B4XPages.AddPage(\"Pedidos\", pedidos)"; +parent._b4xpages._addpage /*String*/ (ba,"Pedidos",(Object)(__ref._pedidos /*SHARK2.keymon.com.mx.c_pedidos*/ )); +RDebugUtils.currentLine=1572894; + //BA.debugLineNum = 1572894;BA.debugLine="promos.Initialize"; +__ref._promos /*SHARK2.keymon.com.mx.c_promos*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572895; + //BA.debugLineNum = 1572895;BA.debugLine="B4XPages.AddPage(\"Promos\", promos)"; +parent._b4xpages._addpage /*String*/ (ba,"Promos",(Object)(__ref._promos /*SHARK2.keymon.com.mx.c_promos*/ )); +RDebugUtils.currentLine=1572896; + //BA.debugLineNum = 1572896;BA.debugLine="historico.Initialize"; +__ref._historico /*SHARK2.keymon.com.mx.c_historico*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572897; + //BA.debugLineNum = 1572897;BA.debugLine="B4XPages.AddPage(\"Historico\", historico)"; +parent._b4xpages._addpage /*String*/ (ba,"Historico",(Object)(__ref._historico /*SHARK2.keymon.com.mx.c_historico*/ )); +RDebugUtils.currentLine=1572898; + //BA.debugLineNum = 1572898;BA.debugLine="tabulador.Initialize"; +__ref._tabulador /*SHARK2.keymon.com.mx.c_tabulador*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=1572899; + //BA.debugLineNum = 1572899;BA.debugLine="B4XPages.AddPage(\"tabulador\", tabulador)"; +parent._b4xpages._addpage /*String*/ (ba,"tabulador",(Object)(__ref._tabulador /*SHARK2.keymon.com.mx.c_tabulador*/ )); +RDebugUtils.currentLine=1572902; + //BA.debugLineNum = 1572902;BA.debugLine="ruta = Starter.ruta"; +__ref._ruta /*String*/ = parent._starter._ruta /*String*/ ; +RDebugUtils.currentLine=1572903; + //BA.debugLineNum = 1572903;BA.debugLine="Provider.Initialize"; +__ref._provider /*SHARK2.keymon.com.mx.fileprovider*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=1572906; + //BA.debugLineNum = 1572906;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (true) break; + +case 1: +//if +this.state = 4; +if (parent.__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==parent.__c.False) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=1572907; + //BA.debugLineNum = 1572907;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +parent.__c.File.Copy(parent.__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); +RDebugUtils.currentLine=1572908; + //BA.debugLineNum = 1572908;BA.debugLine="LogColor(\"copiamos kmt.db de \"&File.DirAssets &"; +parent.__c.LogImpl("51572908","copiamos kmt.db de "+parent.__c.File.getDirAssets()+" a "+__ref._ruta /*String*/ ,parent.__c.Colors.Green); + if (true) break; + +case 4: +//C +this.state = 5; +; +RDebugUtils.currentLine=1572912; + //BA.debugLineNum = 1572912;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(__ref._ruta /*String*/ ,"kmt.db",parent.__c.True); +RDebugUtils.currentLine=1572913; + //BA.debugLineNum = 1572913;BA.debugLine="Subs.guardaAppInfo(skmt)"; +parent._subs._guardaappinfo /*String*/ (ba,__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ ); +RDebugUtils.currentLine=1572915; + //BA.debugLineNum = 1572915;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +parent._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=1572916; + //BA.debugLineNum = 1572916;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS COORDENADAS(LAT TEXT, LONG TEXT, CLIENTE TEXT, CANTIDAD INT)"); +RDebugUtils.currentLine=1572917; + //BA.debugLineNum = 1572917;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS ATIENDE(ATIENDE TEXT, CLIENTE TEXT)"); +RDebugUtils.currentLine=1572918; + //BA.debugLineNum = 1572918;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS GIROS_ACTUAL(GIRO TEXT, CLIENTE TEXT)"); +RDebugUtils.currentLine=1572919; + //BA.debugLineNum = 1572919;BA.debugLine="Starter.skmt.ExecNonQuery(\"CREATE TABLE IF NOT EX"; +parent._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=1572920; + //BA.debugLineNum = 1572920;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CLI"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CLIENTES_NUEVOS(CN_ID TEXT, CN_FECHA TEXT, CN_USER TEXT, CN_LAT TEXT, CN_LON TEXT, CN_NOMBRE TEXT, CN_DIRECCION TEXT, CN_FOTO TEXT, CN_ALMACEN TEXT, CN_RUTA TEXT,CN_GIRO TEXT)"); +RDebugUtils.currentLine=1572921; + //BA.debugLineNum = 1572921;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)"); +RDebugUtils.currentLine=1572922; + //BA.debugLineNum = 1572922;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS POL"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS POLIGONO (LAT TEXT, LONG TEXT)"); +RDebugUtils.currentLine=1572923; + //BA.debugLineNum = 1572923;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS GEO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS GEOCERCA (ACTIVA TEXT)"); +RDebugUtils.currentLine=1572924; + //BA.debugLineNum = 1572924;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS COORDS_ALMACEN (LAT TEXT, LONG TEXT)"); +RDebugUtils.currentLine=1572925; + //BA.debugLineNum = 1572925;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CUOTAS (HC_META6 TEXT, HC_META5 TEXT, HC_META4 TEXT, HC_META3 TEXT, HC_META2 TEXT, HC_META1 TEXT, HC_RUTA TEXT, HC_CUOTA1 TEXT, HC_CUOTA2 TEXT, HC_CUOTA3 TEXT, HC_CUOTA4 TEXT, HC_CUOTA5 TEXT, HC_CUOTA6 TEXT)"); +RDebugUtils.currentLine=1572926; + //BA.debugLineNum = 1572926;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GPS (HGDATE TEXT, HGLAT TEXT, HGLON TEXT)"); +RDebugUtils.currentLine=1572927; + //BA.debugLineNum = 1572927;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GIRO(GIRO TEXT)"); +RDebugUtils.currentLine=1572928; + //BA.debugLineNum = 1572928;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PIC"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS PICKCIEGO_HECHO(HECHO TEXT)"); +RDebugUtils.currentLine=1572933; + //BA.debugLineNum = 1572933;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD (CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS INT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB, CAT_GP_ALMACEN INT, CAT_GP_DEV INT, CAT_GP_TIPOPROD TEXT, CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD2 TEXT, CAT_GP_PRECIO1 TEXT, CAT_GP_PRECIO2 TEXT, CAT_GP_PRECIO3 TEXT, CAT_GP_PRECIO4 TEXT, CAT_GP_PRECIO5 TEXT, CAT_GP_PRECIO6 TEXT, CAT_GP_PRECIO7 TEXT, CAT_GP_PRECIO8 TEXT, CAT_GP_PRECIO9 TEXT, CAT_GP_PRECIO10 TEXT, CAT_GP_PRECIO11 TEXT, CAT_GP_PRESENTACION1 TEXT, CAT_GP_PRESENTACION2 TEXT, CAT_GP_PRESENTACION3 TEXT, CAT_GP_PRESENTACION4 TEXT, CAT_GP_PRESENTACION5 TEXT, CAT_GP_PRESENTACION6 TEXT, CAT_GP_PRESENTACION7 TEXT, CAT_GP_PRESENTACION8 TEXT, CAT_GP_PRESENTACION9 TEXT, CAT_GP_PRESENTACION10 TEXT, CAT_GP_PRESENTACION11 TEXT, CAT_GP_UMV1 TEXT, CAT_GP_UMV2 TEXT, CAT_GP_UMV3 TEXT, CAT_GP_UMV4 TEXT, CAT_GP_UMV5 TEXT, CAT_GP_UMV6 TEXT, CAT_GP_UMV7 TEXT, CAT_GP_UMV8 TEXT, CAT_GP_UMV9 TEXT, CAT_GP_UMV10 TEXT, CAT_GP_UMV11 TEXT, CAT_GP_DIRIGIDA1 TEXT, CAT_GP_DIRIGIDA2 TEXT, CAT_GP_DIRIGIDA3 TEXT, CAT_GP_DIRIGIDA4 TEXT, CAT_GP_DIRIGIDA5 TEXT, CAT_GP_DIRIGIDA6 TEXT, CAT_GP_DIRIGIDA7 TEXT, CAT_GP_DIRIGIDA8 TEXT, CAT_GP_DIRIGIDA9 TEXT, CAT_GP_DIRIGIDA10 TEXT, CAT_GP_DIRIGIDA11 TEXT)"); +RDebugUtils.currentLine=1572934; + //BA.debugLineNum = 1572934;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD2 (CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS INT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB, CAT_GP_ALMACEN INT, CAT_GP_DEV INT, CAT_GP_TIPOPROD TEXT, CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD2 TEXT, CAT_GP_PRECIO1 TEXT, CAT_GP_PRECIO2 TEXT, CAT_GP_PRECIO3 TEXT, CAT_GP_PRECIO4 TEXT, CAT_GP_PRECIO5 TEXT, CAT_GP_PRECIO6 TEXT, CAT_GP_PRECIO7 TEXT, CAT_GP_PRECIO8 TEXT, CAT_GP_PRECIO9 TEXT, CAT_GP_PRECIO10 TEXT, CAT_GP_PRECIO11 TEXT, CAT_GP_PRESENTACION1 TEXT, CAT_GP_PRESENTACION2 TEXT, CAT_GP_PRESENTACION3 TEXT, CAT_GP_PRESENTACION4 TEXT, CAT_GP_PRESENTACION5 TEXT, CAT_GP_PRESENTACION6 TEXT, CAT_GP_PRESENTACION7 TEXT, CAT_GP_PRESENTACION8 TEXT, CAT_GP_PRESENTACION9 TEXT, CAT_GP_PRESENTACION10 TEXT, CAT_GP_PRESENTACION11 TEXT, CAT_GP_UMV1 TEXT, CAT_GP_UMV2 TEXT, CAT_GP_UMV3 TEXT, CAT_GP_UMV4 TEXT, CAT_GP_UMV5 TEXT, CAT_GP_UMV6 TEXT, CAT_GP_UMV7 TEXT, CAT_GP_UMV8 TEXT, CAT_GP_UMV9 TEXT, CAT_GP_UMV10 TEXT, CAT_GP_UMV11 TEXT, CAT_GP_DIRIGIDA1 TEXT, CAT_GP_DIRIGIDA2 TEXT, CAT_GP_DIRIGIDA3 TEXT, CAT_GP_DIRIGIDA4 TEXT, CAT_GP_DIRIGIDA5 TEXT, CAT_GP_DIRIGIDA6 TEXT, CAT_GP_DIRIGIDA7 TEXT, CAT_GP_DIRIGIDA8 TEXT, CAT_GP_DIRIGIDA9 TEXT, CAT_GP_DIRIGIDA10 TEXT, CAT_GP_DIRIGIDA11 TEXT)"); +RDebugUtils.currentLine=1572939; + //BA.debugLineNum = 1572939;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +__ref._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=1572940; + //BA.debugLineNum = 1572940;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD4 (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, CAT_DP_CONVERSION1 TEXT, CAT_DP_PRECIO4 TEXT)"); +RDebugUtils.currentLine=1572941; + //BA.debugLineNum = 1572941;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_STAY_STORE (HSS_CODIGO TEXT, HSS_IN TEXT, HSS_OUT TEXT, HSS_TOT TEXT)"); +RDebugUtils.currentLine=1572942; + //BA.debugLineNum = 1572942;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_STAY_OUT (HSO_INI TEXT, HSO_FIN TEXT)"); +RDebugUtils.currentLine=1572943; + //BA.debugLineNum = 1572943;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS INV"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS INVENT_X_ENVIAR (ALMACEN TEXT, PROID TEXT, CANTIDAD TEXT)"); +RDebugUtils.currentLine=1572944; + //BA.debugLineNum = 1572944;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_RESUM_APK (HIST_RA_OBJMES TEXT, HIST_RA_VENTA TEXT, HIST_RA_TENDENCIA TEXT, HIST_RA_ALCANCE TEXT, HISR_RA_DRAOBJ TEXT, HIST_RA_DRAVTA TEXT, HIST_RA_DSOBJ TEXT, HIST_RA_DSVTA TEXT, HIST_RA_VPOOBJ TEXT, HIST_RA_VPOVTA TEXT, HIST_RA_COBCCC TEXT, HIST_RA_CTES TEXT, HIST_RA_ECO TEXT, HIST_RA_VISITPLAN TEXT, HIST_RA_VISIREAL TEXT, HIST_RA_COBVISIT TEXT, HIST_RA_FRECCOMPOBJ TEXT, HIST_RA_FRECCOMREAL TEXT, HIST_RA_VENTAMES1 TEXT, HIST_RA_VENTAMES2 TEXT, HIST_RA_VENTAMES3 TEXT, HIST_RA_VENTAMES4 TEXT, HIST_RA_RECHAZO TEXT, HIST_RA_RECHAZOPORCEN TEXT, HIST_RA_SEMANA1 TEXT, HIST_RA_SEMANA1_DIAS TEXT, HIST_RA_SEMANA1_DRA TEXT, HIST_RA_SEMANA2 TEXT, HIST_RA_SEMANA2_DIAS TEXT, HIST_RA_SEMANA2_DRA TEXT, HIST_RA_SEMANA3 TEXT, HIST_RA_SEMANA3_DIAS TEXT, HIST_RA_SEMANA4 TEXT, HIST_RA_SEMANA3_DRA TEXT, HIST_RA_SEMANA4_DIAS TEXT, HIST_RA_SEMANA4_DRA TEXT, HIST_RA_SEMANA5 TEXT, HIST_RA_SEMANA5_DIAS TEXT, HIST_RA_SEMANA5_DRA TEXT, HIST_RA_SEMANA1_LPT TEXT, HIST_RA_SEMANA2_LPT TEXT, HIST_RA_SEMANA3_LPT TEXT, HIST_RA_SEMANA4_LPT TEXT, HIST_RA_SEMANA5_LPT TEXT, HIST_RA_RUTA TEXT, HIST_RA_IDALMACEN TEXT)"); +RDebugUtils.currentLine=1572946; + //BA.debugLineNum = 1572946;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GEOCERCA (HGCLIENTE TEXT, HGDATE TEXT, HGLAT TEXT, HGLON TEXT)"); +RDebugUtils.currentLine=1572947; + //BA.debugLineNum = 1572947;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_FACE (HFCLIENTE TEXT, HFALIAS TEXT, HFRUTA TEXT, HFALMACEN TEXT)"); +RDebugUtils.currentLine=1572948; + //BA.debugLineNum = 1572948;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"); +RDebugUtils.currentLine=1572949; + //BA.debugLineNum = 1572949;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS CATA"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE VIEW IF NOT EXISTS CATALOGO AS Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD UNION Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD GROUP BY CAT_GP_CLASIF, CAT_GP_ID"); +RDebugUtils.currentLine=1572950; + //BA.debugLineNum = 1572950;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS tota"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE VIEW IF NOT EXISTS total_marcas AS Select cat_gp_clasif, sum(pe_costo_tot) As total from CATALOGO, pedido where pe_proid = cat_gp_id And pe_cliente <> 0 group by cat_gp_clasif"); +RDebugUtils.currentLine=1572951; + //BA.debugLineNum = 1572951;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_MARCAS_CUOTAS ( HMC_MARCA TEXT, HMC_TOTAL TEXT)"); +RDebugUtils.currentLine=1572952; + //BA.debugLineNum = 1572952;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CODIGO_BARRAS(CODIGOKMTS TEXT, CODIGOB TEXT, LAT TEXT, LON TEXT)"); +RDebugUtils.currentLine=1572953; + //BA.debugLineNum = 1572953;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ABO"; +__ref._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=1572954; + //BA.debugLineNum = 1572954;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS COORDENADAS_GPS (tienda_id TEXT, ruta TEXT, almacen TEXT, latitud TEXT, longitud TEXT, fecha TEXT)"); +RDebugUtils.currentLine=1572955; + //BA.debugLineNum = 1572955;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CUESTIONARIO (HC_CLIENTE TEXT)"); +RDebugUtils.currentLine=1572956; + //BA.debugLineNum = 1572956;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PAG"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS PAGARES (PA_ALMACEN TEXT, PA_RUTA TEXT, PA_FECHA TEXT, PA_CAPTURA TEXT, PA_MONTO TEXT, PA_USUARIO TEXT, PA_CLIENTE TEXT)"); +RDebugUtils.currentLine=1572957; + //BA.debugLineNum = 1572957;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS NOV"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS NOVENTA (NV_CLIENTE TEXT, NV_FECHA TEXT, NV_USER TEXT, NV_MOTIVO TEXT, NV_COMM TEXT, NV_LAT TEXT, NV_LON TEXT)"); +RDebugUtils.currentLine=1572958; + //BA.debugLineNum = 1572958;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PIC"; +__ref._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=1572959; + //BA.debugLineNum = 1572959;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENV"; +__ref._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=1572960; + //BA.debugLineNum = 1572960;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_ENVIO_OK\", \"INT\""; +parent._subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_ENVIO_OK","INT"); +RDebugUtils.currentLine=1572961; + //BA.debugLineNum = 1572961;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CANTC\", \"TEXT\")"; +parent._subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_CANTC","TEXT"); +RDebugUtils.currentLine=1572963; + //BA.debugLineNum = 1572963;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_DIRIGIDA\", \"TEXT"; +parent._subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_DIRIGIDA","TEXT"); +RDebugUtils.currentLine=1572964; + //BA.debugLineNum = 1572964;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_UVM\", \"TEXT\")"; +parent._subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_UVM","TEXT"); +RDebugUtils.currentLine=1572965; + //BA.debugLineNum = 1572965;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_PRESENTACION\", \""; +parent._subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_PRESENTACION","TEXT"); +RDebugUtils.currentLine=1572967; + //BA.debugLineNum = 1572967;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_BCAJAS\", \"TEXT\")"; +parent._subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_BCAJAS","TEXT"); +RDebugUtils.currentLine=1572968; + //BA.debugLineNum = 1572968;BA.debugLine="Subs.agregaColumna(\"NOVENTA\", \"NV_ENVIO_OK\", \"INT"; +parent._subs._agregacolumna /*String*/ (ba,"NOVENTA","NV_ENVIO_OK","INT"); +RDebugUtils.currentLine=1572969; + //BA.debugLineNum = 1572969;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_BCREDITO\","; +parent._subs._agregacolumna /*String*/ (ba,"kmt_info","CAT_CL_BCREDITO","TEXT"); +RDebugUtils.currentLine=1572970; + //BA.debugLineNum = 1572970;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_TIPOCLIENT"; +parent._subs._agregacolumna /*String*/ (ba,"kmt_info","CAT_CL_TIPOCLIENTE","TEXT"); +RDebugUtils.currentLine=1572971; + //BA.debugLineNum = 1572971;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_BCOORDENAD"; +parent._subs._agregacolumna /*String*/ (ba,"kmt_info","CAT_CL_BCOORDENADAS","TEXT"); +RDebugUtils.currentLine=1572972; + //BA.debugLineNum = 1572972;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_LIMITECRED"; +parent._subs._agregacolumna /*String*/ (ba,"kmt_info","CAT_CL_LIMITECREDITO","TEXT"); +RDebugUtils.currentLine=1572973; + //BA.debugLineNum = 1572973;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_LISTA_PREC"; +parent._subs._agregacolumna /*String*/ (ba,"kmt_info","CAT_CL_LISTA_PRECIO","TEXT"); +RDebugUtils.currentLine=1572974; + //BA.debugLineNum = 1572974;BA.debugLine="Subs.agregaColumna(\"kmt_info2\", \"CAT_CL_LISTA_PRE"; +parent._subs._agregacolumna /*String*/ (ba,"kmt_info2","CAT_CL_LISTA_PRECIO","TEXT"); +RDebugUtils.currentLine=1572975; + //BA.debugLineNum = 1572975;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_TIPOPR"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_TIPOPROD2","TEXT"); +RDebugUtils.currentLine=1572976; + //BA.debugLineNum = 1572976;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_CONVER"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_CONVERSION1","TEXT"); +RDebugUtils.currentLine=1572977; + //BA.debugLineNum = 1572977;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_DIRIGIDA11","TEXT"); +RDebugUtils.currentLine=1572978; + //BA.debugLineNum = 1572978;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_DIRIGIDA10","TEXT"); +RDebugUtils.currentLine=1572979; + //BA.debugLineNum = 1572979;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_DIRIGIDA9","TEXT"); +RDebugUtils.currentLine=1572980; + //BA.debugLineNum = 1572980;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_DIRIGIDA8","TEXT"); +RDebugUtils.currentLine=1572981; + //BA.debugLineNum = 1572981;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_DIRIGIDA7","TEXT"); +RDebugUtils.currentLine=1572982; + //BA.debugLineNum = 1572982;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_DIRIGIDA6","TEXT"); +RDebugUtils.currentLine=1572983; + //BA.debugLineNum = 1572983;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_DIRIGIDA5","TEXT"); +RDebugUtils.currentLine=1572984; + //BA.debugLineNum = 1572984;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_DIRIGIDA4","TEXT"); +RDebugUtils.currentLine=1572985; + //BA.debugLineNum = 1572985;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_DIRIGIDA3","TEXT"); +RDebugUtils.currentLine=1572986; + //BA.debugLineNum = 1572986;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_DIRIGIDA2","TEXT"); +RDebugUtils.currentLine=1572987; + //BA.debugLineNum = 1572987;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DIRIGI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_DIRIGIDA1","TEXT"); +RDebugUtils.currentLine=1572988; + //BA.debugLineNum = 1572988;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV11\""; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_UMV11","TEXT"); +RDebugUtils.currentLine=1572989; + //BA.debugLineNum = 1572989;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV10\""; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_UMV10","TEXT"); +RDebugUtils.currentLine=1572990; + //BA.debugLineNum = 1572990;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV9\","; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_UMV9","TEXT"); +RDebugUtils.currentLine=1572991; + //BA.debugLineNum = 1572991;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV8\","; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_UMV8","TEXT"); +RDebugUtils.currentLine=1572992; + //BA.debugLineNum = 1572992;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV7\","; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_UMV7","TEXT"); +RDebugUtils.currentLine=1572993; + //BA.debugLineNum = 1572993;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV6\","; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_UMV6","TEXT"); +RDebugUtils.currentLine=1572994; + //BA.debugLineNum = 1572994;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV5\","; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_UMV5","TEXT"); +RDebugUtils.currentLine=1572995; + //BA.debugLineNum = 1572995;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV4\","; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_UMV4","TEXT"); +RDebugUtils.currentLine=1572996; + //BA.debugLineNum = 1572996;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV3\","; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_UMV3","TEXT"); +RDebugUtils.currentLine=1572997; + //BA.debugLineNum = 1572997;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV2\","; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_UMV2","TEXT"); +RDebugUtils.currentLine=1572998; + //BA.debugLineNum = 1572998;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_UMV1\","; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_UMV1","TEXT"); +RDebugUtils.currentLine=1572999; + //BA.debugLineNum = 1572999;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRESENTACION11","TEXT"); +RDebugUtils.currentLine=1573000; + //BA.debugLineNum = 1573000;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRESENTACION10","TEXT"); +RDebugUtils.currentLine=1573001; + //BA.debugLineNum = 1573001;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRESENTACION9","TEXT"); +RDebugUtils.currentLine=1573002; + //BA.debugLineNum = 1573002;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRESENTACION8","TEXT"); +RDebugUtils.currentLine=1573003; + //BA.debugLineNum = 1573003;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRESENTACION7","TEXT"); +RDebugUtils.currentLine=1573004; + //BA.debugLineNum = 1573004;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRESENTACION6","TEXT"); +RDebugUtils.currentLine=1573005; + //BA.debugLineNum = 1573005;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRESENTACION5","TEXT"); +RDebugUtils.currentLine=1573006; + //BA.debugLineNum = 1573006;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRESENTACION4","TEXT"); +RDebugUtils.currentLine=1573007; + //BA.debugLineNum = 1573007;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRESENTACION3","TEXT"); +RDebugUtils.currentLine=1573008; + //BA.debugLineNum = 1573008;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRESENTACION2","TEXT"); +RDebugUtils.currentLine=1573009; + //BA.debugLineNum = 1573009;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRESEN"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRESENTACION1","TEXT"); +RDebugUtils.currentLine=1573010; + //BA.debugLineNum = 1573010;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRECIO11","TEXT"); +RDebugUtils.currentLine=1573011; + //BA.debugLineNum = 1573011;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRECIO10","TEXT"); +RDebugUtils.currentLine=1573012; + //BA.debugLineNum = 1573012;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRECIO9","TEXT"); +RDebugUtils.currentLine=1573013; + //BA.debugLineNum = 1573013;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRECIO8","TEXT"); +RDebugUtils.currentLine=1573014; + //BA.debugLineNum = 1573014;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRECIO7","TEXT"); +RDebugUtils.currentLine=1573015; + //BA.debugLineNum = 1573015;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRECIO6","TEXT"); +RDebugUtils.currentLine=1573016; + //BA.debugLineNum = 1573016;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRECIO5","TEXT"); +RDebugUtils.currentLine=1573017; + //BA.debugLineNum = 1573017;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRECIO4","TEXT"); +RDebugUtils.currentLine=1573018; + //BA.debugLineNum = 1573018;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRECIO3","TEXT"); +RDebugUtils.currentLine=1573019; + //BA.debugLineNum = 1573019;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRECIO2","TEXT"); +RDebugUtils.currentLine=1573020; + //BA.debugLineNum = 1573020;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_PRECIO"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_PRECIO1","TEXT"); +RDebugUtils.currentLine=1573021; + //BA.debugLineNum = 1573021;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_CONVE"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_CONVERSION1","TEXT"); +RDebugUtils.currentLine=1573022; + //BA.debugLineNum = 1573022;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD3\", \"CAT_DP_PRECI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD3","CAT_DP_PRECIO4","TEXT"); +RDebugUtils.currentLine=1573023; + //BA.debugLineNum = 1573023;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_CONVE"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD2","CAT_DP_CONVERSION1","TEXT"); +RDebugUtils.currentLine=1573024; + //BA.debugLineNum = 1573024;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_PRECI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD2","CAT_DP_PRECIO4","TEXT"); +RDebugUtils.currentLine=1573025; + //BA.debugLineNum = 1573025;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_PRECI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD2","CAT_DP_PRECIO1","TEXT"); +RDebugUtils.currentLine=1573026; + //BA.debugLineNum = 1573026;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_PRECI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD2","CAT_DP_PRECIO2","TEXT"); +RDebugUtils.currentLine=1573027; + //BA.debugLineNum = 1573027;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD4\", \"CAT_DP_PRECI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD4","CAT_DP_PRECIO1","TEXT"); +RDebugUtils.currentLine=1573028; + //BA.debugLineNum = 1573028;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD4\", \"CAT_DP_PRECI"; +parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD4","CAT_DP_PRECIO2","TEXT"); +RDebugUtils.currentLine=1573029; + //BA.debugLineNum = 1573029;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_SOLICIT"; +parent._subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_SOLICITA","TEXT"); +RDebugUtils.currentLine=1573030; + //BA.debugLineNum = 1573030;BA.debugLine="Subs.agregaColumna(\"ABONOSP\", \"DIA_VENCIMIENTO\","; +parent._subs._agregacolumna /*String*/ (ba,"ABONOSP","DIA_VENCIMIENTO","TEXT"); +RDebugUtils.currentLine=1573031; + //BA.debugLineNum = 1573031;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_COLONIA"; +parent._subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_COLONIA","TEXT"); +RDebugUtils.currentLine=1573032; + //BA.debugLineNum = 1573032;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_TELEFON"; +parent._subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_TELEFONO","TEXT"); +RDebugUtils.currentLine=1573033; + //BA.debugLineNum = 1573033;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CP\", \"T"; +parent._subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_CP","TEXT"); +RDebugUtils.currentLine=1573034; + //BA.debugLineNum = 1573034;BA.debugLine="c=skmt.ExecQuery(\"select COUNT(*) AS CUANTOS fro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS from HIST_STAY_OUT "))); +RDebugUtils.currentLine=1573039; + //BA.debugLineNum = 1573039;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO POLIGONO(LAT,LONG"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(19.481683012377815),(Object)(-99.14063876529508)})); +RDebugUtils.currentLine=1573040; + //BA.debugLineNum = 1573040;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO POLIGONO(LAT,LONG"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO POLIGONO(LAT,LONG) VALUES(?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(19.480080935096886),(Object)(-99.15459780214643)})); +RDebugUtils.currentLine=1573046; + //BA.debugLineNum = 1573046;BA.debugLine="C.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1573047; + //BA.debugLineNum = 1573047;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; +if (true) break; + +case 5: +//if +this.state = 8; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +this.state = 7; +}if (true) break; + +case 7: +//C +this.state = 8; +RDebugUtils.currentLine=1573048; + //BA.debugLineNum = 1573048;BA.debugLine="skmt.ExecNonQuery(\"INSERT INTO HIST_STAY_OUT(HSO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)"); + if (true) break; + +case 8: +//C +this.state = 9; +; +RDebugUtils.currentLine=1573050; + //BA.debugLineNum = 1573050;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=1573054; + //BA.debugLineNum = 1573054;BA.debugLine="l_version.Text = Application.VersionName"; +__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.Application.getVersionName())); +RDebugUtils.currentLine=1573055; + //BA.debugLineNum = 1573055;BA.debugLine="l_version.Visible = True"; +__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=1573056; + //BA.debugLineNum = 1573056;BA.debugLine="l_version.BringToFront"; +__ref._l_version /*anywheresoftware.b4a.objects.LabelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=1573064; + //BA.debugLineNum = 1573064;BA.debugLine="montoActual = 0"; +__ref._montoactual /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=1573065; + //BA.debugLineNum = 1573065;BA.debugLine="clientesTotal = 0"; +__ref._clientestotal /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=1573066; + //BA.debugLineNum = 1573066;BA.debugLine="clientesVenta = 0"; +__ref._clientesventa /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=1573067; + //BA.debugLineNum = 1573067;BA.debugLine="clientesVisitados = 0"; +__ref._clientesvisitados /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=1573068; + //BA.debugLineNum = 1573068;BA.debugLine="almacen = 0"; +__ref._almacen /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=1573069; + //BA.debugLineNum = 1573069;BA.debugLine="rutaPreventa = 0"; +__ref._rutapreventa /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=1573070; + //BA.debugLineNum = 1573070;BA.debugLine="p_appUpdate.Visible = False"; +__ref._p_appupdate /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=1573072; + //BA.debugLineNum = 1573072;BA.debugLine="LogColor(\"Revisa permisos Phone_State\", Colors.Gr"; +parent.__c.LogImpl("51573072","Revisa permisos Phone_State",parent.__c.Colors.Green); +RDebugUtils.currentLine=1573073; + //BA.debugLineNum = 1573073;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=1573074; + //BA.debugLineNum = 1573074;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_created"), null); +this.state = 35; +return; +case 35: +//C +this.state = 9; +_permission = (String) result[1]; +_result = (Boolean) result[2]; +; +RDebugUtils.currentLine=1573075; + //BA.debugLineNum = 1573075;BA.debugLine="If Result Then"; +if (true) break; + +case 9: +//if +this.state = 14; +if (_result) { +this.state = 11; +}else { +this.state = 13; +}if (true) break; + +case 11: +//C +this.state = 14; +RDebugUtils.currentLine=1573076; + //BA.debugLineNum = 1573076;BA.debugLine="Log(\"Con permisos de ubicacion\")"; +parent.__c.LogImpl("51573076","Con permisos de ubicacion",0); + if (true) break; + +case 13: +//C +this.state = 14; +RDebugUtils.currentLine=1573078; + //BA.debugLineNum = 1573078;BA.debugLine="Log(\"SIN permisos de ubicacion\")"; +parent.__c.LogImpl("51573078","SIN permisos de ubicacion",0); + if (true) break; + +case 14: +//C +this.state = 15; +; +RDebugUtils.currentLine=1573080; + //BA.debugLineNum = 1573080;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_COARSE_LOCATION); +RDebugUtils.currentLine=1573081; + //BA.debugLineNum = 1573081;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_created"), null); +this.state = 36; +return; +case 36: +//C +this.state = 15; +_permission = (String) result[1]; +_result = (Boolean) result[2]; +; +RDebugUtils.currentLine=1573082; + //BA.debugLineNum = 1573082;BA.debugLine="If Result Then"; +if (true) break; + +case 15: +//if +this.state = 20; +if (_result) { +this.state = 17; +}else { +this.state = 19; +}if (true) break; + +case 17: +//C +this.state = 20; +RDebugUtils.currentLine=1573083; + //BA.debugLineNum = 1573083;BA.debugLine="Log(\"Con permisos de ubicacion\")"; +parent.__c.LogImpl("51573083","Con permisos de ubicacion",0); + if (true) break; + +case 19: +//C +this.state = 20; +RDebugUtils.currentLine=1573085; + //BA.debugLineNum = 1573085;BA.debugLine="Log(\"SIN permisos de ubicacion\")"; +parent.__c.LogImpl("51573085","SIN permisos de ubicacion",0); + if (true) break; + +case 20: +//C +this.state = 21; +; +RDebugUtils.currentLine=1573087; + //BA.debugLineNum = 1573087;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_READ_PHONE_STATE); +RDebugUtils.currentLine=1573088; + //BA.debugLineNum = 1573088;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_created"), null); +this.state = 37; +return; +case 37: +//C +this.state = 21; +_permission = (String) result[1]; +_result = (Boolean) result[2]; +; +RDebugUtils.currentLine=1573089; + //BA.debugLineNum = 1573089;BA.debugLine="If Result Then"; +if (true) break; + +case 21: +//if +this.state = 24; +if (_result) { +this.state = 23; +}if (true) break; + +case 23: +//C +this.state = 24; + if (true) break; + +case 24: +//C +this.state = 25; +; +RDebugUtils.currentLine=1573103; + //BA.debugLineNum = 1573103;BA.debugLine="MES1.Initialize(Me, \"MES1\")"; +__ref._mes1 /*SHARK2.keymon.com.mx.manageexternalstorage*/ ._initialize /*String*/ (null,ba,parent,"MES1"); +RDebugUtils.currentLine=1573105; + //BA.debugLineNum = 1573105;BA.debugLine="Dim SdkVersion As Int = device.SdkVersion"; +_sdkversion = __ref._device /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion(); +RDebugUtils.currentLine=1573107; + //BA.debugLineNum = 1573107;BA.debugLine="If SdkVersion < 30 Then"; +if (true) break; + +case 25: +//if +this.state = 34; +if (_sdkversion<30) { +this.state = 27; +}else { +this.state = 29; +}if (true) break; + +case 27: +//C +this.state = 34; +RDebugUtils.currentLine=1573109; + //BA.debugLineNum = 1573109;BA.debugLine="Dim rp As RuntimePermissions"; +_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); +RDebugUtils.currentLine=1573110; + //BA.debugLineNum = 1573110;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_"; +_rp.CheckAndRequest(ba,_rp.PERMISSION_WRITE_EXTERNAL_STORAGE); +RDebugUtils.currentLine=1573111; + //BA.debugLineNum = 1573111;BA.debugLine="Wait For Activity_PermissionResult (Permission A"; +parent.__c.WaitFor("activity_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_created"), null); +this.state = 38; +return; +case 38: +//C +this.state = 34; +_permission = (String) result[1]; +_result = (Boolean) result[2]; +; + if (true) break; + +case 29: +//C +this.state = 30; +RDebugUtils.currentLine=1573116; + //BA.debugLineNum = 1573116;BA.debugLine="If Not(MES1.HasPermission) Then"; +if (true) break; + +case 30: +//if +this.state = 33; +if (parent.__c.Not(__ref._mes1 /*SHARK2.keymon.com.mx.manageexternalstorage*/ ._haspermission /*boolean*/ (null))) { +this.state = 32; +}if (true) break; + +case 32: +//C +this.state = 33; +RDebugUtils.currentLine=1573117; + //BA.debugLineNum = 1573117;BA.debugLine="MsgboxAsync(\"This app requires access to all fi"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("This app requires access to all files, please enable the option"),BA.ObjectToCharSequence("Manage All Files"),ba); +RDebugUtils.currentLine=1573118; + //BA.debugLineNum = 1573118;BA.debugLine="Wait For Msgbox_Result(Res As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_created"), null); +this.state = 39; +return; +case 39: +//C +this.state = 33; +_res = (Integer) result[1]; +; +RDebugUtils.currentLine=1573120; + //BA.debugLineNum = 1573120;BA.debugLine="MES1.GetPermission"; +__ref._mes1 /*SHARK2.keymon.com.mx.manageexternalstorage*/ ._getpermission /*String*/ (null); +RDebugUtils.currentLine=1573121; + //BA.debugLineNum = 1573121;BA.debugLine="Wait For MES_StorageAvailable"; +parent.__c.WaitFor("mes_storageavailable", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "b4xpage_created"), null); +this.state = 40; +return; +case 40: +//C +this.state = 33; +; + if (true) break; + +case 33: +//C +this.state = 34; +; + if (true) break; + +case 34: +//C +this.state = -1; +; +RDebugUtils.currentLine=1573124; + //BA.debugLineNum = 1573124;BA.debugLine="P_CIEGO.Height = Root.Height"; +__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=1573125; + //BA.debugLineNum = 1573125;BA.debugLine="P_CIEGO.Width = Root.Width"; +__ref._p_ciego /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=1573126; + //BA.debugLineNum = 1573126;BA.debugLine="p_validacion.Height = Root.Height"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=1573127; + //BA.debugLineNum = 1573127;BA.debugLine="p_validacion.Width = Root.Width"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=1573128; + //BA.debugLineNum = 1573128;BA.debugLine="p_add_monto.Height = Root.Height"; +__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=1573129; + //BA.debugLineNum = 1573129;BA.debugLine="p_add_monto.Width = Root.Width"; +__ref._p_add_monto /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=1573132; + //BA.debugLineNum = 1573132;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _initialize(SHARK2.keymon.com.mx.b4xmainpage __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=1507328; + //BA.debugLineNum = 1507328;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=1507330; + //BA.debugLineNum = 1507330;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +RDebugUtils.currentLine=1441792; + //BA.debugLineNum = 1441792;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=1441793; + //BA.debugLineNum = 1441793;BA.debugLine="Dim c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=1441794; + //BA.debugLineNum = 1441794;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=1441795; + //BA.debugLineNum = 1441795;BA.debugLine="Private Root As B4XView"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=1441796; + //BA.debugLineNum = 1441796;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=1441797; + //BA.debugLineNum = 1441797;BA.debugLine="Dim s As C_Subs"; +_s = new SHARK2.keymon.com.mx.c_subs(); +RDebugUtils.currentLine=1441798; + //BA.debugLineNum = 1441798;BA.debugLine="Public login As B4XMainPage"; +_login = new SHARK2.keymon.com.mx.b4xmainpage(); +RDebugUtils.currentLine=1441799; + //BA.debugLineNum = 1441799;BA.debugLine="Public principal As C_Principal"; +_principal = new SHARK2.keymon.com.mx.c_principal(); +RDebugUtils.currentLine=1441800; + //BA.debugLineNum = 1441800;BA.debugLine="Public clientes As C_Clientes"; +_clientes = new SHARK2.keymon.com.mx.c_clientes(); +RDebugUtils.currentLine=1441801; + //BA.debugLineNum = 1441801;BA.debugLine="Public cliente As C_Cliente"; +_cliente = new SHARK2.keymon.com.mx.c_cliente(); +RDebugUtils.currentLine=1441802; + //BA.debugLineNum = 1441802;BA.debugLine="Public productos As C_Productos"; +_productos = new SHARK2.keymon.com.mx.c_productos(); +RDebugUtils.currentLine=1441803; + //BA.debugLineNum = 1441803;BA.debugLine="Public updateAvailable As C_UpdateAvailable"; +_updateavailable = new SHARK2.keymon.com.mx.c_updateavailable(); +RDebugUtils.currentLine=1441804; + //BA.debugLineNum = 1441804;BA.debugLine="Public mapas As C_Mapas"; +_mapas = new SHARK2.keymon.com.mx.c_mapas(); +RDebugUtils.currentLine=1441805; + //BA.debugLineNum = 1441805;BA.debugLine="Public nuevoCliente As C_NuevoCliente"; +_nuevocliente = new SHARK2.keymon.com.mx.c_nuevocliente(); +RDebugUtils.currentLine=1441806; + //BA.debugLineNum = 1441806;BA.debugLine="Public ticketsDia As C_TicketsDia"; +_ticketsdia = new SHARK2.keymon.com.mx.c_ticketsdia(); +RDebugUtils.currentLine=1441807; + //BA.debugLineNum = 1441807;BA.debugLine="Public noVenta As C_NoVenta"; +_noventa = new SHARK2.keymon.com.mx.c_noventa(); +RDebugUtils.currentLine=1441808; + //BA.debugLineNum = 1441808;BA.debugLine="Public nota As C_Nota"; +_nota = new SHARK2.keymon.com.mx.c_nota(); +RDebugUtils.currentLine=1441809; + //BA.debugLineNum = 1441809;BA.debugLine="Public pedidos As C_Pedidos"; +_pedidos = new SHARK2.keymon.com.mx.c_pedidos(); +RDebugUtils.currentLine=1441810; + //BA.debugLineNum = 1441810;BA.debugLine="Public promos As C_Promos"; +_promos = new SHARK2.keymon.com.mx.c_promos(); +RDebugUtils.currentLine=1441811; + //BA.debugLineNum = 1441811;BA.debugLine="Public historico As C_Historico"; +_historico = new SHARK2.keymon.com.mx.c_historico(); +RDebugUtils.currentLine=1441812; + //BA.debugLineNum = 1441812;BA.debugLine="Public Provider As FileProvider"; +_provider = new SHARK2.keymon.com.mx.fileprovider(); +RDebugUtils.currentLine=1441824; + //BA.debugLineNum = 1441824;BA.debugLine="Dim reqManager As DBRequestManager"; +_reqmanager = new SHARK2.keymon.com.mx.dbrequestmanager(); +RDebugUtils.currentLine=1441825; + //BA.debugLineNum = 1441825;BA.debugLine="Dim v As String = Application.VersionName"; +_v = __c.Application.getVersionName(); +RDebugUtils.currentLine=1441826; + //BA.debugLineNum = 1441826;BA.debugLine="Dim ruta As String"; +_ruta = ""; +RDebugUtils.currentLine=1441827; + //BA.debugLineNum = 1441827;BA.debugLine="Dim tgl As Toggle"; +_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); +RDebugUtils.currentLine=1441828; + //BA.debugLineNum = 1441828;BA.debugLine="Dim lat_gps, lon_gps As String"; +_lat_gps = ""; +_lon_gps = ""; +RDebugUtils.currentLine=1441829; + //BA.debugLineNum = 1441829;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=1441830; + //BA.debugLineNum = 1441830;BA.debugLine="Dim batt As Int"; +_batt = 0; +RDebugUtils.currentLine=1441831; + //BA.debugLineNum = 1441831;BA.debugLine="Dim skmt As SQL"; +_skmt = new anywheresoftware.b4a.sql.SQL(); +RDebugUtils.currentLine=1441832; + //BA.debugLineNum = 1441832;BA.debugLine="Dim montoActual, clientesTotal, clientesVenta, cl"; +_montoactual = ""; +_clientestotal = ""; +_clientesventa = ""; +_clientesvisitados = ""; +_almacen = ""; +_rutapreventa = ""; +RDebugUtils.currentLine=1441833; + //BA.debugLineNum = 1441833;BA.debugLine="Dim DBReqServer, fechaRuta As String"; +_dbreqserver = ""; +_fecharuta = ""; +RDebugUtils.currentLine=1441834; + //BA.debugLineNum = 1441834;BA.debugLine="Dim Logger As Boolean"; +_logger = false; +RDebugUtils.currentLine=1441835; + //BA.debugLineNum = 1441835;BA.debugLine="Dim mac_impresora As String"; +_mac_impresora = ""; +RDebugUtils.currentLine=1441836; + //BA.debugLineNum = 1441836;BA.debugLine="Dim Phn As PhoneId"; +_phn = new anywheresoftware.b4a.phone.Phone.PhoneId(); +RDebugUtils.currentLine=1441838; + //BA.debugLineNum = 1441838;BA.debugLine="Dim user As EditText"; +_user = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1441839; + //BA.debugLineNum = 1441839;BA.debugLine="Dim pass As EditText"; +_pass = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1441840; + //BA.debugLineNum = 1441840;BA.debugLine="Public tabulador As C_tabulador"; +_tabulador = new SHARK2.keymon.com.mx.c_tabulador(); +RDebugUtils.currentLine=1441841; + //BA.debugLineNum = 1441841;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=1441842; + //BA.debugLineNum = 1441842;BA.debugLine="Dim existe As String"; +_existe = ""; +RDebugUtils.currentLine=1441843; + //BA.debugLineNum = 1441843;BA.debugLine="Dim paso1 As String"; +_paso1 = ""; +RDebugUtils.currentLine=1441844; + //BA.debugLineNum = 1441844;BA.debugLine="Private IMEN As Label"; +_imen = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=1441845; + //BA.debugLineNum = 1441845;BA.debugLine="Dim IMEI As String = \"\""; +_imei = ""; +RDebugUtils.currentLine=1441846; + //BA.debugLineNum = 1441846;BA.debugLine="Dim alterno As String"; +_alterno = ""; +RDebugUtils.currentLine=1441847; + //BA.debugLineNum = 1441847;BA.debugLine="Private b_menu As Button"; +_b_menu = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1441848; + //BA.debugLineNum = 1441848;BA.debugLine="Dim PopupMenu As RSPopupMenu"; +_popupmenu = new com.rootsoft.rspopupmenu.RSPopupMenu(); +RDebugUtils.currentLine=1441849; + //BA.debugLineNum = 1441849;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=1441850; + //BA.debugLineNum = 1441850;BA.debugLine="Private PDF As Button"; +_pdf = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1441851; + //BA.debugLineNum = 1441851;BA.debugLine="Private bpv1 As BatteryProgressView"; +_bpv1 = new batteryprogressviewwrapper.batteryprogressviewWrapper(); +RDebugUtils.currentLine=1441852; + //BA.debugLineNum = 1441852;BA.debugLine="Dim batterystatus(11) As Int"; +_batterystatus = new int[(int) (11)]; +; +RDebugUtils.currentLine=1441853; + //BA.debugLineNum = 1441853;BA.debugLine="Private bu As BatteryUtilities"; +_bu = new SHARK2.keymon.com.mx.batteryutilities(); +RDebugUtils.currentLine=1441854; + //BA.debugLineNum = 1441854;BA.debugLine="Private b_apk As Button"; +_b_apk = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1441855; + //BA.debugLineNum = 1441855;BA.debugLine="Private i_engrane As ImageView"; +_i_engrane = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=1441856; + //BA.debugLineNum = 1441856;BA.debugLine="Private p_Main As Panel"; +_p_main = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1441857; + //BA.debugLineNum = 1441857;BA.debugLine="Private p_appUpdate As Panel"; +_p_appupdate = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1441858; + //BA.debugLineNum = 1441858;BA.debugLine="Private b_regesar As Button"; +_b_regesar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1441859; + //BA.debugLineNum = 1441859;BA.debugLine="Private l_version As Label"; +_l_version = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=1441860; + //BA.debugLineNum = 1441860;BA.debugLine="Private ImageView1 As ImageView"; +_imageview1 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=1441861; + //BA.debugLineNum = 1441861;BA.debugLine="Private Label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=1441862; + //BA.debugLineNum = 1441862;BA.debugLine="Private Entrar As Button"; +_entrar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1441863; + //BA.debugLineNum = 1441863;BA.debugLine="Dim tipo_venta As String"; +_tipo_venta = ""; +RDebugUtils.currentLine=1441864; + //BA.debugLineNum = 1441864;BA.debugLine="Dim bTerminarClicked As Boolean = False"; +_bterminarclicked = __c.False; +RDebugUtils.currentLine=1441865; + //BA.debugLineNum = 1441865;BA.debugLine="Private lv_server As ListView"; +_lv_server = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=1441866; + //BA.debugLineNum = 1441866;BA.debugLine="Private l_server As Label"; +_l_server = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=1441867; + //BA.debugLineNum = 1441867;BA.debugLine="Private b_enviarbd As Button"; +_b_enviarbd = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1441868; + //BA.debugLineNum = 1441868;BA.debugLine="Private b_importarBD As Button"; +_b_importarbd = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1441869; + //BA.debugLineNum = 1441869;BA.debugLine="Dim ime As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=1441870; + //BA.debugLineNum = 1441870;BA.debugLine="Dim MES1 As ManageExternalStorage"; +_mes1 = new SHARK2.keymon.com.mx.manageexternalstorage(); +RDebugUtils.currentLine=1441871; + //BA.debugLineNum = 1441871;BA.debugLine="Dim device As Phone"; +_device = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=1441872; + //BA.debugLineNum = 1441872;BA.debugLine="Private et_server As EditText"; +_et_server = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1441873; + //BA.debugLineNum = 1441873;BA.debugLine="Private b_guardar As Button"; +_b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1441874; + //BA.debugLineNum = 1441874;BA.debugLine="Private Panel11 As Panel"; +_panel11 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1441875; + //BA.debugLineNum = 1441875;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView"; +_clv_pick_ciego = new b4a.example3.customlistview(); +RDebugUtils.currentLine=1441876; + //BA.debugLineNum = 1441876;BA.debugLine="Private P_PICK_CIEGO As Panel"; +_p_pick_ciego = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1441877; + //BA.debugLineNum = 1441877;BA.debugLine="Dim ET_PICK_CIEGO As EditText"; +_et_pick_ciego = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1441878; + //BA.debugLineNum = 1441878;BA.debugLine="Private L_PICK_CIEGO As Label"; +_l_pick_ciego = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=1441879; + //BA.debugLineNum = 1441879;BA.debugLine="Private P_CIEGO As Panel"; +_p_ciego = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1441880; + //BA.debugLineNum = 1441880;BA.debugLine="Dim Panel4 As Panel"; +_panel4 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1441881; + //BA.debugLineNum = 1441881;BA.debugLine="Dim q_buscar As String"; +_q_buscar = ""; +RDebugUtils.currentLine=1441882; + //BA.debugLineNum = 1441882;BA.debugLine="Private et_buspc As EditText"; +_et_buspc = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1441883; + //BA.debugLineNum = 1441883;BA.debugLine="Dim d As Cursor"; +_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=1441884; + //BA.debugLineNum = 1441884;BA.debugLine="Dim a As Cursor"; +_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=1441885; + //BA.debugLineNum = 1441885;BA.debugLine="Dim f As Cursor"; +_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=1441886; + //BA.debugLineNum = 1441886;BA.debugLine="Dim idenviar As String"; +_idenviar = ""; +RDebugUtils.currentLine=1441887; + //BA.debugLineNum = 1441887;BA.debugLine="Private et_codigo As EditText"; +_et_codigo = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1441888; + //BA.debugLineNum = 1441888;BA.debugLine="Private b_cancelarcodigo As Button"; +_b_cancelarcodigo = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1441889; + //BA.debugLineNum = 1441889;BA.debugLine="Private b_aceptar As Button"; +_b_aceptar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1441890; + //BA.debugLineNum = 1441890;BA.debugLine="Private p_validacion As Panel"; +_p_validacion = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1441891; + //BA.debugLineNum = 1441891;BA.debugLine="Private b_recarga As Button"; +_b_recarga = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1441892; + //BA.debugLineNum = 1441892;BA.debugLine="Dim recarga As String = \"0\""; +_recarga = "0"; +RDebugUtils.currentLine=1441893; + //BA.debugLineNum = 1441893;BA.debugLine="Private p_add_monto As Panel"; +_p_add_monto = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=1441894; + //BA.debugLineNum = 1441894;BA.debugLine="Private B_Can_Monto As Button"; +_b_can_monto = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1441895; + //BA.debugLineNum = 1441895;BA.debugLine="Private B_Aceptar_Monto As Button"; +_b_aceptar_monto = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=1441896; + //BA.debugLineNum = 1441896;BA.debugLine="Private ET_Add_Monto As EditText"; +_et_add_monto = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=1441897; + //BA.debugLineNum = 1441897;BA.debugLine="End Sub"; +return ""; +} +public void _copiadb(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "copiadb", false)) + {Debug.delegate(ba, "copiadb", null); return;} +ResumableSub_copiaDB rsub = new ResumableSub_copiaDB(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_copiaDB extends BA.ResumableSub { +public ResumableSub_copiaDB(SHARK2.keymon.com.mx.b4xmainpage parent,SHARK2.keymon.com.mx.b4xmainpage __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xmainpage __ref; +SHARK2.keymon.com.mx.b4xmainpage parent; +String _permission = ""; +boolean _result = false; +String _thedir = ""; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xmainpage"; + + while (true) { +try { + + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=2293761; + //BA.debugLineNum = 2293761;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_WRITE_EXTERNAL_STORAGE); +RDebugUtils.currentLine=2293762; + //BA.debugLineNum = 2293762;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "b4xmainpage", "copiadb"), null); +this.state = 18; +return; +case 18: +//C +this.state = 1; +_permission = (String) result[1]; +_result = (Boolean) result[2]; +; +RDebugUtils.currentLine=2293763; + //BA.debugLineNum = 2293763;BA.debugLine="Dim theDir As String = \"\""; +_thedir = ""; +RDebugUtils.currentLine=2293764; + //BA.debugLineNum = 2293764;BA.debugLine="If Result Then"; +if (true) break; + +case 1: +//if +this.state = 17; +if (_result) { +this.state = 3; +}else { +this.state = 16; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=2293771; + //BA.debugLineNum = 2293771;BA.debugLine="Dim theDir As String"; +_thedir = ""; +RDebugUtils.currentLine=2293772; + //BA.debugLineNum = 2293772;BA.debugLine="Try"; +if (true) break; + +case 4: +//try +this.state = 9; +this.catchState = 8; +this.state = 6; +if (true) break; + +case 6: +//C +this.state = 9; +this.catchState = 8; +RDebugUtils.currentLine=2293773; + //BA.debugLineNum = 2293773;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; +parent.__c.File.MakeDir(parent.__c.File.getDirInternal(),"kmts"); +RDebugUtils.currentLine=2293774; + //BA.debugLineNum = 2293774;BA.debugLine="theDir = \"/kmts\""; +_thedir = "/kmts"; + if (true) break; + +case 8: +//C +this.state = 9; +this.catchState = 0; +RDebugUtils.currentLine=2293776; + //BA.debugLineNum = 2293776;BA.debugLine="theDir = \"\""; +_thedir = ""; + if (true) break; +if (true) break; +; +RDebugUtils.currentLine=2293778; + //BA.debugLineNum = 2293778;BA.debugLine="Try"; + +case 9: +//try +this.state = 14; +this.catchState = 0; +this.catchState = 13; +this.state = 11; +if (true) break; + +case 11: +//C +this.state = 14; +this.catchState = 13; +RDebugUtils.currentLine=2293779; + //BA.debugLineNum = 2293779;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirInt"; +parent.__c.File.Copy(parent.__c.File.getDirInternal(),"kmt.db",parent.__c.File.getDirInternal()+_thedir,"SHARK2_kmt.db"); +RDebugUtils.currentLine=2293780; + //BA.debugLineNum = 2293780;BA.debugLine="ToastMessageShow(\"Listo, copiado a \" & File.Dir"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Listo, copiado a "+parent.__c.File.getDirInternal()+_thedir+"/SHARK2_kmt.db"),parent.__c.False); + if (true) break; + +case 13: +//C +this.state = 14; +this.catchState = 0; +RDebugUtils.currentLine=2293782; + //BA.debugLineNum = 2293782;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(parent.__c.LastException(ba))),parent.__c.True); + if (true) break; +if (true) break; + +case 14: +//C +this.state = 17; +this.catchState = 0; +; + if (true) break; + +case 16: +//C +this.state = 17; +RDebugUtils.currentLine=2293785; + //BA.debugLineNum = 2293785;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),parent.__c.False); + if (true) break; + +case 17: +//C +this.state = -1; +; +RDebugUtils.currentLine=2293787; + //BA.debugLineNum = 2293787;BA.debugLine="End Sub"; +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +ba.setLastException(e0);} + } + } + } +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(SHARK2.keymon.com.mx.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=3211264; + //BA.debugLineNum = 3211264;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; +RDebugUtils.currentLine=3211265; + //BA.debugLineNum = 3211265;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=3211266; + //BA.debugLineNum = 3211266;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +_pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); +RDebugUtils.currentLine=3211267; + //BA.debugLineNum = 3211267;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +_pa.LoadLayout("PANEL_PICK_CIEGO",ba); +RDebugUtils.currentLine=3211268; + //BA.debugLineNum = 3211268;BA.debugLine="pa.Height = 55dip"; +_pa.setHeight(__c.DipToCurrent((int) (55))); +RDebugUtils.currentLine=3211269; + //BA.debugLineNum = 3211269;BA.debugLine="pa.Width = 298dip"; +_pa.setWidth(__c.DipToCurrent((int) (298))); +RDebugUtils.currentLine=3211271; + //BA.debugLineNum = 3211271;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=3211272; + //BA.debugLineNum = 3211272;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12)); +RDebugUtils.currentLine=3211273; + //BA.debugLineNum = 3211273;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=3211274; + //BA.debugLineNum = 3211274;BA.debugLine="ET_PICK_CIEGO.Text = cant"; +__ref._et_pick_ciego /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_cant)); +RDebugUtils.currentLine=3211277; + //BA.debugLineNum = 3211277;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=3211278; + //BA.debugLineNum = 3211278;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(SHARK2.keymon.com.mx.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=3276800; + //BA.debugLineNum = 3276800;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; +RDebugUtils.currentLine=3276801; + //BA.debugLineNum = 3276801;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=3276802; + //BA.debugLineNum = 3276802;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; +_pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); +RDebugUtils.currentLine=3276803; + //BA.debugLineNum = 3276803;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; +_pa.LoadLayout("PANEL_PICK_CIEGO",ba); +RDebugUtils.currentLine=3276804; + //BA.debugLineNum = 3276804;BA.debugLine="pa.Height = 55dip"; +_pa.setHeight(__c.DipToCurrent((int) (55))); +RDebugUtils.currentLine=3276805; + //BA.debugLineNum = 3276805;BA.debugLine="pa.Width = 298dip"; +_pa.setWidth(__c.DipToCurrent((int) (298))); +RDebugUtils.currentLine=3276807; + //BA.debugLineNum = 3276807;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=3276808; + //BA.debugLineNum = 3276808;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; +__ref._l_pick_ciego /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (12)); +RDebugUtils.currentLine=3276809; + //BA.debugLineNum = 3276809;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=3276812; + //BA.debugLineNum = 3276812;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=3276813; + //BA.debugLineNum = 3276813;BA.debugLine="End Sub"; +return null; +} +public String _entrar_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "entrar_click", false)) + {return ((String) Debug.delegate(ba, "entrar_click", null));} +anywheresoftware.b4a.agraham.reflection.Reflection _r = null; +int _api = 0; +anywheresoftware.b4a.phone.Phone _pp = null; +int _id = 0; +RDebugUtils.currentLine=1703936; + //BA.debugLineNum = 1703936;BA.debugLine="Sub Entrar_Click"; +RDebugUtils.currentLine=1703937; + //BA.debugLineNum = 1703937;BA.debugLine="Log(\"|\" & Starter.DBReqServer)"; +__c.LogImpl("51703937","|"+_starter._dbreqserver /*String*/ ,0); +RDebugUtils.currentLine=1703938; + //BA.debugLineNum = 1703938;BA.debugLine="Dim r As Reflector"; +_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); +RDebugUtils.currentLine=1703939; + //BA.debugLineNum = 1703939;BA.debugLine="Dim Api As Int"; +_api = 0; +RDebugUtils.currentLine=1703940; + //BA.debugLineNum = 1703940;BA.debugLine="Dim PP As Phone"; +_pp = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=1703941; + //BA.debugLineNum = 1703941;BA.debugLine="Api = r.GetStaticField(\"android.os.Build$VERSION\""; +_api = (int)(BA.ObjectToNumber(_r.GetStaticField("android.os.Build$VERSION","SDK_INT"))); +RDebugUtils.currentLine=1703942; + //BA.debugLineNum = 1703942;BA.debugLine="If Api < 9 Then"; +if (_api<9) { +RDebugUtils.currentLine=1703944; + //BA.debugLineNum = 1703944;BA.debugLine="If File.Exists(File.DirInternal, \"__id\") Then"; +if (__c.File.Exists(__c.File.getDirInternal(),"__id")) { +RDebugUtils.currentLine=1703945; + //BA.debugLineNum = 1703945;BA.debugLine="IMEI = File.ReadString(File.DirInternal, \"__id"; +__ref._imei /*String*/ = __c.File.ReadString(__c.File.getDirInternal(),"__id"); +RDebugUtils.currentLine=1703946; + //BA.debugLineNum = 1703946;BA.debugLine="Log(1&\"-\"&IMEI)"; +__c.LogImpl("51703946",BA.NumberToString(1)+"-"+__ref._imei /*String*/ ,0); + }else { +RDebugUtils.currentLine=1703948; + //BA.debugLineNum = 1703948;BA.debugLine="Dim id As Int"; +_id = 0; +RDebugUtils.currentLine=1703949; + //BA.debugLineNum = 1703949;BA.debugLine="id = Rnd(0x10000000, 0x7FFFFFFF)"; +_id = __c.Rnd(((int)0x10000000),((int)0x7fffffff)); +RDebugUtils.currentLine=1703950; + //BA.debugLineNum = 1703950;BA.debugLine="File.WriteString(File.DirInternal, \"__id\", id)"; +__c.File.WriteString(__c.File.getDirInternal(),"__id",BA.NumberToString(_id)); +RDebugUtils.currentLine=1703951; + //BA.debugLineNum = 1703951;BA.debugLine="IMEI = id"; +__ref._imei /*String*/ = BA.NumberToString(_id); +RDebugUtils.currentLine=1703952; + //BA.debugLineNum = 1703952;BA.debugLine="Log(2&\"-\"&IMEI)"; +__c.LogImpl("51703952",BA.NumberToString(2)+"-"+__ref._imei /*String*/ ,0); + }; + }else { +RDebugUtils.currentLine=1703956; + //BA.debugLineNum = 1703956;BA.debugLine="IMEI = r.GetStaticField(\"android.os.Build\", \"SE"; +__ref._imei /*String*/ = BA.ObjectToString(_r.GetStaticField("android.os.Build","SERIAL")); + }; +RDebugUtils.currentLine=1703959; + //BA.debugLineNum = 1703959;BA.debugLine="If IMEI.ToLowerCase = \"unknown\" Then"; +if ((__ref._imei /*String*/ .toLowerCase()).equals("unknown")) { +RDebugUtils.currentLine=1703960; + //BA.debugLineNum = 1703960;BA.debugLine="IMEI = PP.GetSettings(\"android_id\")"; +__ref._imei /*String*/ = _pp.GetSettings("android_id"); + }; +RDebugUtils.currentLine=1703964; + //BA.debugLineNum = 1703964;BA.debugLine="If user.Text = \"ALTERNO\" Then"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("ALTERNO")) { +RDebugUtils.currentLine=1703965; + //BA.debugLineNum = 1703965;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?",new String[]{"SERVER"}))); +RDebugUtils.currentLine=1703966; + //BA.debugLineNum = 1703966;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1703967; + //BA.debugLineNum = 1703967;BA.debugLine="DBReqServer = c.GetString(\"CAT_CO_CONFIGURACION\""; +__ref._dbreqserver /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CO_CONFIGURACION"); +RDebugUtils.currentLine=1703968; + //BA.debugLineNum = 1703968;BA.debugLine="alterno = c.GetString(\"CAT_CO_RESULTADO\")"; +__ref._alterno /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CO_RESULTADO"); +RDebugUtils.currentLine=1703969; + //BA.debugLineNum = 1703969;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=1703970; + //BA.debugLineNum = 1703970;BA.debugLine="If alterno = 1 Then"; +if ((__ref._alterno /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=1703971; + //BA.debugLineNum = 1703971;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); +RDebugUtils.currentLine=1703972; + //BA.debugLineNum = 1703972;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); + }else +{RDebugUtils.currentLine=1703973; + //BA.debugLineNum = 1703973;BA.debugLine="Else if alterno = 2 Then"; +if ((__ref._alterno /*String*/ ).equals(BA.NumberToString(2))) { +RDebugUtils.currentLine=1703974; + //BA.debugLineNum = 1703974;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); +RDebugUtils.currentLine=1703975; + //BA.debugLineNum = 1703975;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); + }} +; +RDebugUtils.currentLine=1703977; + //BA.debugLineNum = 1703977;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?",new String[]{"SERVER"}))); +RDebugUtils.currentLine=1703978; + //BA.debugLineNum = 1703978;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1703979; + //BA.debugLineNum = 1703979;BA.debugLine="DBReqServer = c.GetString(\"CAT_CO_CONFIGURACION\""; +__ref._dbreqserver /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CO_CONFIGURACION"); +RDebugUtils.currentLine=1703980; + //BA.debugLineNum = 1703980;BA.debugLine="user.Text = DBReqServer"; +__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._dbreqserver /*String*/ )); +RDebugUtils.currentLine=1703981; + //BA.debugLineNum = 1703981;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=1703983; + //BA.debugLineNum = 1703983;BA.debugLine="else if user.Text = \"KMTS1\" Then"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS1")) { +RDebugUtils.currentLine=1703984; + //BA.debugLineNum = 1703984;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); +RDebugUtils.currentLine=1703985; + //BA.debugLineNum = 1703985;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=1703986; + //BA.debugLineNum = 1703986;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); +RDebugUtils.currentLine=1703987; + //BA.debugLineNum = 1703987;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=1703988; + //BA.debugLineNum = 1703988;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); +RDebugUtils.currentLine=1703989; + //BA.debugLineNum = 1703989;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")})); +RDebugUtils.currentLine=1703990; + //BA.debugLineNum = 1703990;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +_b4xpages._showpage /*String*/ (ba,"Clientes"); + }else +{RDebugUtils.currentLine=1703991; + //BA.debugLineNum = 1703991;BA.debugLine="else if user.Text = \"BERNA1\" Then"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("BERNA1")) { +RDebugUtils.currentLine=1703992; + //BA.debugLineNum = 1703992;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); +RDebugUtils.currentLine=1703993; + //BA.debugLineNum = 1703993;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)("1")})); +RDebugUtils.currentLine=1703994; + //BA.debugLineNum = 1703994;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); +RDebugUtils.currentLine=1703995; + //BA.debugLineNum = 1703995;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("1")})); +RDebugUtils.currentLine=1703996; + //BA.debugLineNum = 1703996;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); +RDebugUtils.currentLine=1703997; + //BA.debugLineNum = 1703997;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")})); +RDebugUtils.currentLine=1703998; + //BA.debugLineNum = 1703998;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +_b4xpages._showpage /*String*/ (ba,"Clientes"); + }else +{RDebugUtils.currentLine=1703999; + //BA.debugLineNum = 1703999;BA.debugLine="else if user.Text = \"IMEI\" Then"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("IMEI")) { +RDebugUtils.currentLine=1704000; + //BA.debugLineNum = 1704000;BA.debugLine="user.Text = IMEI"; +__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._imei /*String*/ )); + }}}} +; +RDebugUtils.currentLine=1704003; + //BA.debugLineNum = 1704003;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()}))); +RDebugUtils.currentLine=1704004; + //BA.debugLineNum = 1704004;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1704005; + //BA.debugLineNum = 1704005;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE1"); +RDebugUtils.currentLine=1704006; + //BA.debugLineNum = 1704006;BA.debugLine="If existe = 0 Then"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=1704007; + //BA.debugLineNum = 1704007;BA.debugLine="If IMEI = \"\" Then"; +if ((__ref._imei /*String*/ ).equals("")) { +RDebugUtils.currentLine=1704008; + //BA.debugLineNum = 1704008;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=1704009; + //BA.debugLineNum = 1704009;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1704010; + //BA.debugLineNum = 1704010;BA.debugLine="cmd.Name = \"select_usuario_SHARK2 \" 'Antes sele"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_usuario_SHARK2 "; +RDebugUtils.currentLine=1704011; + //BA.debugLineNum = 1704011;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Trim"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim())}; +RDebugUtils.currentLine=1704012; + //BA.debugLineNum = 1704012;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("usuario_10")); + }else { +RDebugUtils.currentLine=1704014; + //BA.debugLineNum = 1704014;BA.debugLine="If IMEI = \"\" Then"; +if ((__ref._imei /*String*/ ).equals("")) { +RDebugUtils.currentLine=1704015; + //BA.debugLineNum = 1704015;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=1704016; + //BA.debugLineNum = 1704016;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1704017; + //BA.debugLineNum = 1704017;BA.debugLine="cmd.Name = \"select_usuario_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_usuario_SHARK2"; +RDebugUtils.currentLine=1704018; + //BA.debugLineNum = 1704018;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Tri"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim())}; +RDebugUtils.currentLine=1704019; + //BA.debugLineNum = 1704019;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("usuario_10")); + }else { +RDebugUtils.currentLine=1704021; + //BA.debugLineNum = 1704021;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=1704022; + //BA.debugLineNum = 1704022;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1704023; + //BA.debugLineNum = 1704023;BA.debugLine="cmd.Name = \"select_usuario_SHARK2\" 'Antes sele"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_usuario_SHARK2"; +RDebugUtils.currentLine=1704024; + //BA.debugLineNum = 1704024;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Tri"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim())}; +RDebugUtils.currentLine=1704025; + //BA.debugLineNum = 1704025;BA.debugLine="Log(\"Mandamos: \"&user.Text&\"|\"& pass.Text)"; +__c.LogImpl("51704025","Mandamos: "+__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+"|"+__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),0); +RDebugUtils.currentLine=1704026; + //BA.debugLineNum = 1704026;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("usuario_10")); + }; + }; +RDebugUtils.currentLine=1704029; + //BA.debugLineNum = 1704029;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=1704030; + //BA.debugLineNum = 1704030;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1704031; + //BA.debugLineNum = 1704031;BA.debugLine="cmd.Name = \"select_version_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_version_SHARK2"; +RDebugUtils.currentLine=1704032; + //BA.debugLineNum = 1704032;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("version")); + }else { +RDebugUtils.currentLine=1704034; + //BA.debugLineNum = 1704034;BA.debugLine="usuario = user.Text"; +__ref._usuario /*String*/ = __ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); +RDebugUtils.currentLine=1704035; + //BA.debugLineNum = 1704035;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); + }; +RDebugUtils.currentLine=1704037; + //BA.debugLineNum = 1704037;BA.debugLine="End Sub"; +return ""; +} +public String _entrar_longclick(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "entrar_longclick", false)) + {return ((String) Debug.delegate(ba, "entrar_longclick", null));} +RDebugUtils.currentLine=2752512; + //BA.debugLineNum = 2752512;BA.debugLine="Sub Entrar_LongClick"; +RDebugUtils.currentLine=2752514; + //BA.debugLineNum = 2752514;BA.debugLine="End Sub"; +return ""; +} +public String _et_buspc_textchanged(SHARK2.keymon.com.mx.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=3145728; + //BA.debugLineNum = 3145728;BA.debugLine="Private Sub et_buspc_TextChanged (Old As String, N"; +RDebugUtils.currentLine=3145729; + //BA.debugLineNum = 3145729;BA.debugLine="If New = \"\" Then"; +if ((_new).equals("")) { +RDebugUtils.currentLine=3145730; + //BA.debugLineNum = 3145730;BA.debugLine="CLV_PICK_CIEGO.Clear"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear(); + }else +{RDebugUtils.currentLine=3145731; + //BA.debugLineNum = 3145731;BA.debugLine="Else If New.Length >= 3 Then"; +if (_new.length()>=3) { +RDebugUtils.currentLine=3145732; + //BA.debugLineNum = 3145732;BA.debugLine="CLV_PICK_CIEGO.Clear"; +__ref._clv_pick_ciego /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=3145734; + //BA.debugLineNum = 3145734;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\""; +__ref._q_buscar /*String*/ = "%"+__ref._et_buspc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+"%"; +RDebugUtils.currentLine=3145735; + //BA.debugLineNum = 3145735;BA.debugLine="Log(q_buscar)"; +__c.LogImpl("53145735",__ref._q_buscar /*String*/ ,0); +RDebugUtils.currentLine=3145736; + //BA.debugLineNum = 3145736;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"select CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._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=3145737; + //BA.debugLineNum = 3145737;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=3145740; + //BA.debugLineNum = 3145740;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=3145741; + //BA.debugLineNum = 3145741;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3145742; + //BA.debugLineNum = 3145742;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=3145745; + //BA.debugLineNum = 3145745;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=3145747; + //BA.debugLineNum = 3145747;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"select CA"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._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=3145749; + //BA.debugLineNum = 3145749;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=3145750; + //BA.debugLineNum = 3145750;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3145751; + //BA.debugLineNum = 3145751;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=3145754; + //BA.debugLineNum = 3145754;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=3145756; + //BA.debugLineNum = 3145756;BA.debugLine="Else If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=3145757; + //BA.debugLineNum = 3145757;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"select CA"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._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=3145759; + //BA.debugLineNum = 3145759;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=3145760; + //BA.debugLineNum = 3145760;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=3145761; + //BA.debugLineNum = 3145761;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=3145764; + //BA.debugLineNum = 3145764;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; + }} +; +RDebugUtils.currentLine=3145767; + //BA.debugLineNum = 3145767;BA.debugLine="End Sub"; +return ""; +} +public String _et_pick_ciego_textchanged(SHARK2.keymon.com.mx.b4xmainpage __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "et_pick_ciego_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_pick_ciego_textchanged", new Object[] {_old,_new}));} +anywheresoftware.b4a.objects.EditTextWrapper _et = null; +RDebugUtils.currentLine=3342336; + //BA.debugLineNum = 3342336;BA.debugLine="Sub ET_PICK_CIEGO_TextChanged (Old As String, New"; +RDebugUtils.currentLine=3342337; + //BA.debugLineNum = 3342337;BA.debugLine="Dim et As EditText = Sender"; +_et = new anywheresoftware.b4a.objects.EditTextWrapper(); +_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba))); +RDebugUtils.currentLine=3342338; + //BA.debugLineNum = 3342338;BA.debugLine="If New.Length > 4 Then"; +if (_new.length()>4) { +RDebugUtils.currentLine=3342339; + //BA.debugLineNum = 3342339;BA.debugLine="et.Text = Old"; +_et.setText(BA.ObjectToCharSequence(_old)); + }; +RDebugUtils.currentLine=3342341; + //BA.debugLineNum = 3342341;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(SHARK2.keymon.com.mx.b4xmainpage __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=1900544; + //BA.debugLineNum = 1900544;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=1900545; + //BA.debugLineNum = 1900545;BA.debugLine="If user.text = \"GPS\" Then"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("GPS")) { +RDebugUtils.currentLine=1900546; + //BA.debugLineNum = 1900546;BA.debugLine="user.Text=Location1.Latitude"; +__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_location1.getLatitude())); +RDebugUtils.currentLine=1900547; + //BA.debugLineNum = 1900547;BA.debugLine="pass.text=Location1.Longitude"; +__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_location1.getLongitude())); + }; +RDebugUtils.currentLine=1900549; + //BA.debugLineNum = 1900549;BA.debugLine="End Sub"; +return ""; +} +public String _i_engrane_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "i_engrane_click", false)) + {return ((String) Debug.delegate(ba, "i_engrane_click", null));} +RDebugUtils.currentLine=2555904; + //BA.debugLineNum = 2555904;BA.debugLine="Sub i_engrane_Click"; +RDebugUtils.currentLine=2555905; + //BA.debugLineNum = 2555905;BA.debugLine="lv_server.Clear"; +__ref._lv_server /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=2555906; + //BA.debugLineNum = 2555906;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=2555907; + //BA.debugLineNum = 2555907;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=2555909; + //BA.debugLineNum = 2555909;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:1781"));}; +RDebugUtils.currentLine=2555911; + //BA.debugLineNum = 2555911;BA.debugLine="Log($\"|${Starter.DBReqServer}|\"$)"; +__c.LogImpl("52555911",("|"+__c.SmartStringFormatter("",(Object)(_starter._dbreqserver /*String*/ ))+"|"),0); +RDebugUtils.currentLine=2555913; + //BA.debugLineNum = 2555913;BA.debugLine="et_server.Text = Starter.DBReqServer"; +__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_starter._dbreqserver /*String*/ )); +RDebugUtils.currentLine=2555914; + //BA.debugLineNum = 2555914;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=2555915; + //BA.debugLineNum = 2555915;BA.debugLine="If user.Text.trim = \"KMTS1\" Then b_importarBD.Vis"; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()).equals("KMTS1")) { +__ref._b_importarbd /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True);} +else { +__ref._b_importarbd /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False);}; +RDebugUtils.currentLine=2555916; + //BA.debugLineNum = 2555916;BA.debugLine="End Sub"; +return ""; +} +public String _i_engrane_longclick(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "i_engrane_longclick", false)) + {return ((String) Debug.delegate(ba, "i_engrane_longclick", null));} +RDebugUtils.currentLine=2686976; + //BA.debugLineNum = 2686976;BA.debugLine="Sub i_engrane_LongClick"; +RDebugUtils.currentLine=2686977; + //BA.debugLineNum = 2686977;BA.debugLine="copiaDB"; +__ref._copiadb /*void*/ (null); +RDebugUtils.currentLine=2686978; + //BA.debugLineNum = 2686978;BA.debugLine="End Sub"; +return ""; +} +public String _jobdone(SHARK2.keymon.com.mx.b4xmainpage __ref,SHARK2.keymon.com.mx.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} +SHARK2.keymon.com.mx.dbrequestmanager._dbresult _result = null; +Object[] _records = null; +String _cat_ve_version = ""; +String _k = ""; +String _id_almacen = ""; +String _cuenta = ""; +String _id = ""; +String _fecha_hoy = ""; +String _name = ""; +String _imei_base = ""; +String _cat_pa_pass = ""; +String _valido = ""; +RDebugUtils.currentLine=1769472; + //BA.debugLineNum = 1769472;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=1769473; + //BA.debugLineNum = 1769473;BA.debugLine="Log(\"JOBDONE MAINPAGE\")"; +__c.LogImpl("51769473","JOBDONE MAINPAGE",0); +RDebugUtils.currentLine=1769474; + //BA.debugLineNum = 1769474;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IsInitia"; +if (_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) { +RDebugUtils.currentLine=1769475; + //BA.debugLineNum = 1769475;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IndexOf"; +if (_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ )!=-1) { +RDebugUtils.currentLine=1769476; + //BA.debugLineNum = 1769476;BA.debugLine="B4XPages.MainPage.reqManager.reqsList.RemoveAt("; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ )); +RDebugUtils.currentLine=1769477; + //BA.debugLineNum = 1769477;BA.debugLine="LogColor($\">>>>>> Quitamos ${Job.tag}\"$, Colors"; +__c.LogImpl("51769477",(">>>>>> Quitamos "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),__c.Colors.Blue); + }; +RDebugUtils.currentLine=1769479; + //BA.debugLineNum = 1769479;BA.debugLine="LogColor(\">>>>>> \" & B4XPages.MainPage.reqManage"; +__c.LogImpl("51769479",">>>>>> "+BA.NumberToString(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize())+" - "+BA.ObjectToString(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ ),__c.Colors.Blue); + }; +RDebugUtils.currentLine=1769481; + //BA.debugLineNum = 1769481;BA.debugLine="If Job.Success = False Then"; +if (_job._success /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=1769482; + //BA.debugLineNum = 1769482;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Job.Error"; +__c.LogImpl("51769482","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Red); + }else { +RDebugUtils.currentLine=1769484; + //BA.debugLineNum = 1769484;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("51769484","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=1769485; + //BA.debugLineNum = 1769485;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1769486; + //BA.debugLineNum = 1769486;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1769487; + //BA.debugLineNum = 1769487;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { +RDebugUtils.currentLine=1769488; + //BA.debugLineNum = 1769488;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group16 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen16 = group16.getSize() +;int index16 = 0; +; +for (; index16 < groupLen16;index16++){ +_records = (Object[])(group16.Get(index16)); +RDebugUtils.currentLine=1769489; + //BA.debugLineNum = 1769489;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); +RDebugUtils.currentLine=1769490; + //BA.debugLineNum = 1769490;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=1769491; + //BA.debugLineNum = 1769491;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVER"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); + } +}; + }; +RDebugUtils.currentLine=1769495; + //BA.debugLineNum = 1769495;BA.debugLine="If result.Tag = \"select_fechat\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("select_fechat"))) { +RDebugUtils.currentLine=1769496; + //BA.debugLineNum = 1769496;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group23 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen23 = group23.getSize() +;int index23 = 0; +; +for (; index23 < groupLen23;index23++){ +_records = (Object[])(group23.Get(index23)); +RDebugUtils.currentLine=1769497; + //BA.debugLineNum = 1769497;BA.debugLine="For Each k As String In result.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group24 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen24 = group24.getSize() +;int index24 = 0; +; +for (; index24 < groupLen24;index24++){ +_k = BA.ObjectToString(group24.Get(index24)); +RDebugUtils.currentLine=1769498; + //BA.debugLineNum = 1769498;BA.debugLine="Log(\"select_fechat: \" & k & \": \" & records(r"; +__c.LogImpl("51769498","select_fechat: "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); + } +}; + } +}; + }; + }; +RDebugUtils.currentLine=1769504; + //BA.debugLineNum = 1769504;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1769505; + //BA.debugLineNum = 1769505;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1769506; + //BA.debugLineNum = 1769506;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("agencia"))) { +RDebugUtils.currentLine=1769507; + //BA.debugLineNum = 1769507;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group33 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen33 = group33.getSize() +;int index33 = 0; +; +for (; index33 < groupLen33;index33++){ +_records = (Object[])(group33.Get(index33)); +RDebugUtils.currentLine=1769508; + //BA.debugLineNum = 1769508;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=1769513; + //BA.debugLineNum = 1769513;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1769514; + //BA.debugLineNum = 1769514;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1769515; + //BA.debugLineNum = 1769515;BA.debugLine="If result.Tag = \"SelectMontoLiq\" Then"; +if ((_result.Tag /*Object*/ ).equals((Object)("SelectMontoLiq"))) { +RDebugUtils.currentLine=1769516; + //BA.debugLineNum = 1769516;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group41 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen41 = group41.getSize() +;int index41 = 0; +; +for (; index41 < groupLen41;index41++){ +_records = (Object[])(group41.Get(index41)); +RDebugUtils.currentLine=1769517; + //BA.debugLineNum = 1769517;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=1769519; + //BA.debugLineNum = 1769519;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=1769520; + //BA.debugLineNum = 1769520;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=1769521; + //BA.debugLineNum = 1769521;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=1769522; + //BA.debugLineNum = 1769522;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); +RDebugUtils.currentLine=1769523; + //BA.debugLineNum = 1769523;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1769524; + //BA.debugLineNum = 1769524;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID"; +__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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=1769525; + //BA.debugLineNum = 1769525;BA.debugLine="a.Position = 0"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1769527; + //BA.debugLineNum = 1769527;BA.debugLine="Private c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=1769528; + //BA.debugLineNum = 1769528;BA.debugLine="c2=skmt.ExecQuery(\"select USUARIO from usuari"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=1769529; + //BA.debugLineNum = 1769529;BA.debugLine="c2.Position=0"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1769530; + //BA.debugLineNum = 1769530;BA.debugLine="If c2.RowCount > 0 Then c2.GetString(\"USUARIO"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO");}; +RDebugUtils.currentLine=1769532; + //BA.debugLineNum = 1769532;BA.debugLine="Log(CUENTA & \"----------------------!!\")"; +__c.LogImpl("51769532",_cuenta+"----------------------!!",0); +RDebugUtils.currentLine=1769533; + //BA.debugLineNum = 1769533;BA.debugLine="If CUENTA = \"0\" Then"; +if ((_cuenta).equals("0")) { +RDebugUtils.currentLine=1769535; + //BA.debugLineNum = 1769535;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?",new String[]{__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"),__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA")}))); +RDebugUtils.currentLine=1769536; + //BA.debugLineNum = 1769536;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=1769538; + //BA.debugLineNum = 1769538;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1769539; + //BA.debugLineNum = 1769539;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=1769540; + //BA.debugLineNum = 1769540;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1769541; + //BA.debugLineNum = 1769541;BA.debugLine="cmd.Name = \"insert_Monto_Liq_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_Monto_Liq_SHARK2"; +RDebugUtils.currentLine=1769542; + //BA.debugLineNum = 1769542;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_MONTO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_USUARIO")),(Object)("VENTA"),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_FECHA_PED"))}; +RDebugUtils.currentLine=1769543; + //BA.debugLineNum = 1769543;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_Mon_Li"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("ins_Mon_Liq")); +RDebugUtils.currentLine=1769544; + //BA.debugLineNum = 1769544;BA.debugLine="MsgboxAsync(\"Monto Enviado\", \"Atención\")"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Monto Enviado"),BA.ObjectToCharSequence("Atención"),ba); + }; +RDebugUtils.currentLine=1769547; + //BA.debugLineNum = 1769547;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=1769548; + //BA.debugLineNum = 1769548;BA.debugLine="Else if CUENTA > \"0\" Then"; +if ((double)(Double.parseDouble(_cuenta))>(double)(Double.parseDouble("0"))) { +RDebugUtils.currentLine=1769550; + //BA.debugLineNum = 1769550;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?",new String[]{__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"),__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"),__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA")}))); +RDebugUtils.currentLine=1769551; + //BA.debugLineNum = 1769551;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=1769553; + //BA.debugLineNum = 1769553;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1769554; + //BA.debugLineNum = 1769554;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1769555; + //BA.debugLineNum = 1769555;BA.debugLine="cmd.Name = \"update_MontoCuenta_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "update_MontoCuenta_SHARK2"; +RDebugUtils.currentLine=1769556; + //BA.debugLineNum = 1769556;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_MONTO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_ALMACEN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_USUARIO"))}; +RDebugUtils.currentLine=1769558; + //BA.debugLineNum = 1769558;BA.debugLine="Log(c.GetString(\"EML_MONTO\")& \" \" & c.GetSt"; +__c.LogImpl("51769558",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_MONTO")+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_ALMACEN")+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_RUTA")+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EML_USUARIO"),0); +RDebugUtils.currentLine=1769559; + //BA.debugLineNum = 1769559;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_MC\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("update_MC")); +RDebugUtils.currentLine=1769560; + //BA.debugLineNum = 1769560;BA.debugLine="MsgboxAsync(\"Se sobre escribio el Monto\", \""; +__c.MsgboxAsync(BA.ObjectToCharSequence("Se sobre escribio el Monto"),BA.ObjectToCharSequence("Atención"),ba); + }; +RDebugUtils.currentLine=1769563; + //BA.debugLineNum = 1769563;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=1769564; + //BA.debugLineNum = 1769564;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; +RDebugUtils.currentLine=1769566; + //BA.debugLineNum = 1769566;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=1769567; + //BA.debugLineNum = 1769567;BA.debugLine="a.Close"; +__ref._a /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } +}; + }; + }; +RDebugUtils.currentLine=1769572; + //BA.debugLineNum = 1769572;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1769573; + //BA.debugLineNum = 1769573;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1769574; + //BA.debugLineNum = 1769574;BA.debugLine="If result.Tag.As(String).IndexOf(\"PICK_C_\") > -"; +if ((BA.ObjectToString(_result.Tag /*Object*/ )).indexOf("PICK_C_")>-1) { +RDebugUtils.currentLine=1769576; + //BA.debugLineNum = 1769576;BA.debugLine="Private id As String= result.Tag"; +_id = BA.ObjectToString(_result.Tag /*Object*/ ); +RDebugUtils.currentLine=1769577; + //BA.debugLineNum = 1769577;BA.debugLine="id = id.SubString(id.IndexOf(\"_\")+3)"; +_id = _id.substring((int) (_id.indexOf("_")+3)); +RDebugUtils.currentLine=1769578; + //BA.debugLineNum = 1769578;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group91 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen91 = group91.getSize() +;int index91 = 0; +; +for (; index91 < groupLen91;index91++){ +_records = (Object[])(group91.Get(index91)); +RDebugUtils.currentLine=1769579; + //BA.debugLineNum = 1769579;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=1769580; + //BA.debugLineNum = 1769580;BA.debugLine="Log(CUENTA)"; +__c.LogImpl("51769580",_cuenta,0); +RDebugUtils.currentLine=1769581; + //BA.debugLineNum = 1769581;BA.debugLine="Log(id)"; +__c.LogImpl("51769581",_id,0); +RDebugUtils.currentLine=1769582; + //BA.debugLineNum = 1769582;BA.debugLine="If CUENTA = 0 Then"; +if ((_cuenta).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=1769583; + //BA.debugLineNum = 1769583;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=1769584; + //BA.debugLineNum = 1769584;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=1769586; + //BA.debugLineNum = 1769586;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1769587; + //BA.debugLineNum = 1769587;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=1769588; + //BA.debugLineNum = 1769588;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1769589; + //BA.debugLineNum = 1769589;BA.debugLine="cmd.Name = \"insert_PICKCIEGO_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_PICKCIEGO_SHARK2"; +RDebugUtils.currentLine=1769590; + //BA.debugLineNum = 1769590;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; +__ref._cmd /*SHARK2.keymon.com.mx.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)("VENTA")}; +RDebugUtils.currentLine=1769591; + //BA.debugLineNum = 1769591;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_PC\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("ins_PC")); + }; +RDebugUtils.currentLine=1769594; + //BA.debugLineNum = 1769594;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=1769595; + //BA.debugLineNum = 1769595;BA.debugLine="Else if CUENTA > 0 Then"; +if ((double)(Double.parseDouble(_cuenta))>0) { +RDebugUtils.currentLine=1769596; + //BA.debugLineNum = 1769596;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=1769597; + //BA.debugLineNum = 1769597;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=1769599; + //BA.debugLineNum = 1769599;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=1769600; + //BA.debugLineNum = 1769600;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=1769601; + //BA.debugLineNum = 1769601;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=1769602; + //BA.debugLineNum = 1769602;BA.debugLine="cmd.Name = \"update_PICKCIEGO_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "update_PICKCIEGO_SHARK2"; +RDebugUtils.currentLine=1769603; + //BA.debugLineNum = 1769603;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))"; +__c.LogImpl("51769603","FECHA"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FECHA"),0); +RDebugUtils.currentLine=1769604; + //BA.debugLineNum = 1769604;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; +__ref._cmd /*SHARK2.keymon.com.mx.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)("VENTA")}; +RDebugUtils.currentLine=1769605; + //BA.debugLineNum = 1769605;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("update_PC")); + }; +RDebugUtils.currentLine=1769608; + //BA.debugLineNum = 1769608;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; + } +}; + }; + }; +RDebugUtils.currentLine=1769615; + //BA.debugLineNum = 1769615;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1769616; + //BA.debugLineNum = 1769616;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1769617; + //BA.debugLineNum = 1769617;BA.debugLine="If result.Tag = \"fecha\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("fecha"))) { +RDebugUtils.currentLine=1769618; + //BA.debugLineNum = 1769618;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group125 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen125 = group125.getSize() +;int index125 = 0; +; +for (; index125 < groupLen125;index125++){ +_records = (Object[])(group125.Get(index125)); +RDebugUtils.currentLine=1769619; + //BA.debugLineNum = 1769619;BA.debugLine="Dim FECHA_HOY As String = records(result.Colu"; +_fecha_hoy = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("FECHA"))))]); +RDebugUtils.currentLine=1769620; + //BA.debugLineNum = 1769620;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA")})); +RDebugUtils.currentLine=1769621; + //BA.debugLineNum = 1769621;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA"),(Object)(_fecha_hoy)})); + } +}; + }; + }; +RDebugUtils.currentLine=1769626; + //BA.debugLineNum = 1769626;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1769627; + //BA.debugLineNum = 1769627;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1769628; + //BA.debugLineNum = 1769628;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) { +RDebugUtils.currentLine=1769629; + //BA.debugLineNum = 1769629;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group135 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen135 = group135.getSize() +;int index135 = 0; +; +for (; index135 < groupLen135;index135++){ +_records = (Object[])(group135.Get(index135)); +RDebugUtils.currentLine=1769630; + //BA.debugLineNum = 1769630;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=1769631; + //BA.debugLineNum = 1769631;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=1769632; + //BA.debugLineNum = 1769632;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=1769633; + //BA.debugLineNum = 1769633;BA.debugLine="Log(records(result.Columns.Get(\"CAT_LO_IDTELE"; +__c.LogImpl("51769633",BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]),0); + } +}; +RDebugUtils.currentLine=1769635; + //BA.debugLineNum = 1769635;BA.debugLine="paso1 = 1"; +__ref._paso1 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=1769636; + //BA.debugLineNum = 1769636;BA.debugLine="ToastMessageShow(name, False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence(_name),__c.False); +RDebugUtils.currentLine=1769637; + //BA.debugLineNum = 1769637;BA.debugLine="Log(\"////////////////////////// \"&name)"; +__c.LogImpl("51769637","////////////////////////// "+_name,0); + }; + }; +RDebugUtils.currentLine=1769641; + //BA.debugLineNum = 1769641;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1769642; + //BA.debugLineNum = 1769642;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1769643; + //BA.debugLineNum = 1769643;BA.debugLine="If result.Tag = \"usuario_10\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("usuario_10"))) { +RDebugUtils.currentLine=1769644; + //BA.debugLineNum = 1769644;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group149 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen149 = group149.getSize() +;int index149 = 0; +; +for (; index149 < groupLen149;index149++){ +_records = (Object[])(group149.Get(index149)); +RDebugUtils.currentLine=1769645; + //BA.debugLineNum = 1769645;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=1769646; + //BA.debugLineNum = 1769646;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=1769647; + //BA.debugLineNum = 1769647;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=1769649; + //BA.debugLineNum = 1769649;BA.debugLine="Log(\"|\"&name&\"|\")"; +__c.LogImpl("51769649","|"+_name+"|",0); +RDebugUtils.currentLine=1769650; + //BA.debugLineNum = 1769650;BA.debugLine="paso1 = 1"; +__ref._paso1 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=1769651; + //BA.debugLineNum = 1769651;BA.debugLine="IMEI_BASE = \"\""; +_imei_base = ""; +RDebugUtils.currentLine=1769652; + //BA.debugLineNum = 1769652;BA.debugLine="IMEI = \"\""; +__ref._imei /*String*/ = ""; + }; + }; +RDebugUtils.currentLine=1769656; + //BA.debugLineNum = 1769656;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=1769657; + //BA.debugLineNum = 1769657;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=1769658; + //BA.debugLineNum = 1769658;BA.debugLine="If result.Tag = \"contrasena\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("contrasena"))) { +RDebugUtils.currentLine=1769659; + //BA.debugLineNum = 1769659;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group163 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen163 = group163.getSize() +;int index163 = 0; +; +for (; index163 < groupLen163;index163++){ +_records = (Object[])(group163.Get(index163)); +RDebugUtils.currentLine=1769660; + //BA.debugLineNum = 1769660;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=1769661; + //BA.debugLineNum = 1769661;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=1769662; + //BA.debugLineNum = 1769662;BA.debugLine="Log(CAT_PA_PASS)"; +__c.LogImpl("51769662",_cat_pa_pass,0); +RDebugUtils.currentLine=1769663; + //BA.debugLineNum = 1769663;BA.debugLine="p_validacion.Visible = False"; +__ref._p_validacion /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=1769664; + //BA.debugLineNum = 1769664;BA.debugLine="et_codigo.Text = \"\""; +__ref._et_codigo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=1769665; + //BA.debugLineNum = 1769665;BA.debugLine="If recarga = \"0\" Then"; +if ((__ref._recarga /*String*/ ).equals("0")) { +RDebugUtils.currentLine=1769666; + //BA.debugLineNum = 1769666;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=1769667; + //BA.debugLineNum = 1769667;BA.debugLine="Else If recarga = \"1\" Then"; +if ((__ref._recarga /*String*/ ).equals("1")) { +RDebugUtils.currentLine=1769668; + //BA.debugLineNum = 1769668;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUEN"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=1769669; + //BA.debugLineNum = 1769669;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUE"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("1")})); +RDebugUtils.currentLine=1769670; + //BA.debugLineNum = 1769670;BA.debugLine="B4XPages.MainPage.tipo_venta = \"RECARGA\""; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "RECARGA"; +RDebugUtils.currentLine=1769671; + //BA.debugLineNum = 1769671;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }} +; + }else { +RDebugUtils.currentLine=1769675; + //BA.debugLineNum = 1769675;BA.debugLine="MsgboxAsync(\"Contraseña incorrecta\",\"Atenció"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña incorrecta"),BA.ObjectToCharSequence("Atención"),ba); + }; + } +}; + }; + }; +RDebugUtils.currentLine=1769681; + //BA.debugLineNum = 1769681;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) { +RDebugUtils.currentLine=1769682; + //BA.debugLineNum = 1769682;BA.debugLine="Log(\"JOBDONE PRINCIPAL MAINPAGE\")"; +__c.LogImpl("51769682","JOBDONE PRINCIPAL MAINPAGE",0); +RDebugUtils.currentLine=1769683; + //BA.debugLineNum = 1769683;BA.debugLine="For Each records() As Object In result.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group185 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen185 = group185.getSize() +;int index185 = 0; +; +for (; index185 < groupLen185;index185++){ +_records = (Object[])(group185.Get(index185)); +RDebugUtils.currentLine=1769684; + //BA.debugLineNum = 1769684;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=1769685; + //BA.debugLineNum = 1769685;BA.debugLine="If VALIDO = \"OK\" Then"; +if ((_valido).equals("OK")) { +RDebugUtils.currentLine=1769686; + //BA.debugLineNum = 1769686;BA.debugLine="Log(VALIDO)"; +__c.LogImpl("51769686",_valido,0); + }; + } +}; + }; +RDebugUtils.currentLine=1769691; + //BA.debugLineNum = 1769691;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); + }; +RDebugUtils.currentLine=1769693; + //BA.debugLineNum = 1769693;BA.debugLine="Log($\"Paso1 = ${paso1} - Name: ${name} - IMEI: ${"; +__c.LogImpl("51769693",("Paso1 = "+__c.SmartStringFormatter("",(Object)(__ref._paso1 /*String*/ ))+" - Name: "+__c.SmartStringFormatter("",(Object)(_name))+" - IMEI: "+__c.SmartStringFormatter("",(Object)(__ref._imei /*String*/ ))+" - IMEI_BASE: "+__c.SmartStringFormatter("",(Object)(_imei_base))+""),0); +RDebugUtils.currentLine=1769694; + //BA.debugLineNum = 1769694;BA.debugLine="If paso1 = 1 Then"; +if ((__ref._paso1 /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=1769695; + //BA.debugLineNum = 1769695;BA.debugLine="If IMEI = \"\" Then"; +if ((__ref._imei /*String*/ ).equals("")) { +RDebugUtils.currentLine=1769696; + //BA.debugLineNum = 1769696;BA.debugLine="If user.Text = \"KMTS1\" Then name = \"OKActivo\""; +if ((__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS1")) { +_name = "OKActivo";}; +RDebugUtils.currentLine=1769697; + //BA.debugLineNum = 1769697;BA.debugLine="If name = \"OKActivo\" Then"; +if ((_name).equals("OKActivo")) { +RDebugUtils.currentLine=1769698; + //BA.debugLineNum = 1769698;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); +RDebugUtils.currentLine=1769699; + //BA.debugLineNum = 1769699;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUE"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim())})); +RDebugUtils.currentLine=1769700; + //BA.debugLineNum = 1769700;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); +RDebugUtils.currentLine=1769701; + //BA.debugLineNum = 1769701;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)})); +RDebugUtils.currentLine=1769702; + //BA.debugLineNum = 1769702;BA.debugLine="usuario = user.Text"; +__ref._usuario /*String*/ = __ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); +RDebugUtils.currentLine=1769703; + //BA.debugLineNum = 1769703;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); + }else +{RDebugUtils.currentLine=1769704; + //BA.debugLineNum = 1769704;BA.debugLine="Else If name = \"OKExpirado\" Then"; +if ((_name).equals("OKExpirado")) { +RDebugUtils.currentLine=1769705; + //BA.debugLineNum = 1769705;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrad"; +__c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba); + }else +{RDebugUtils.currentLine=1769706; + //BA.debugLineNum = 1769706;BA.debugLine="Else If name = \"OKCancelado\" Then"; +if ((_name).equals("OKCancelado")) { +RDebugUtils.currentLine=1769707; + //BA.debugLineNum = 1769707;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administra"; +__c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba); + }else { +RDebugUtils.currentLine=1769709; + //BA.debugLineNum = 1769709;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'Ig"; +__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); + }}} +; +RDebugUtils.currentLine=1769711; + //BA.debugLineNum = 1769711;BA.debugLine="paso1 = 0"; +__ref._paso1 /*String*/ = BA.NumberToString(0); + }else { +RDebugUtils.currentLine=1769713; + //BA.debugLineNum = 1769713;BA.debugLine="If name = \"OKActivo\" & IMEI And IMEI = IMEI_BA"; +if ((_name).equals("OKActivo"+__ref._imei /*String*/ ) && (__ref._imei /*String*/ ).equals(_imei_base)) { +RDebugUtils.currentLine=1769714; + //BA.debugLineNum = 1769714;BA.debugLine="If name = \"OKActivo\" & IMEI Then"; +if ((_name).equals("OKActivo"+__ref._imei /*String*/ )) { +RDebugUtils.currentLine=1769715; + //BA.debugLineNum = 1769715;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa"); +RDebugUtils.currentLine=1769716; + //BA.debugLineNum = 1769716;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALU"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim()),(Object)(__ref._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().trim())})); +RDebugUtils.currentLine=1769717; + //BA.debugLineNum = 1769717;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_almacen"); +RDebugUtils.currentLine=1769718; + //BA.debugLineNum = 1769718;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(I"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)})); +RDebugUtils.currentLine=1769719; + //BA.debugLineNum = 1769719;BA.debugLine="usuario = user.Text"; +__ref._usuario /*String*/ = __ref._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(); +RDebugUtils.currentLine=1769720; + //BA.debugLineNum = 1769720;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +_b4xpages._showpage /*String*/ (ba,"Clientes"); + }else +{RDebugUtils.currentLine=1769721; + //BA.debugLineNum = 1769721;BA.debugLine="Else If name = \"OKExpirado\"& IMEI Then"; +if ((_name).equals("OKExpirado"+__ref._imei /*String*/ )) { +RDebugUtils.currentLine=1769722; + //BA.debugLineNum = 1769722;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra"; +__c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba); + }else +{RDebugUtils.currentLine=1769723; + //BA.debugLineNum = 1769723;BA.debugLine="Else If name = \"OKCancelado\"& IMEI Then"; +if ((_name).equals("OKCancelado"+__ref._imei /*String*/ )) { +RDebugUtils.currentLine=1769724; + //BA.debugLineNum = 1769724;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administr"; +__c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba); + }else { +RDebugUtils.currentLine=1769726; + //BA.debugLineNum = 1769726;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i"; +__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); + }}} +; +RDebugUtils.currentLine=1769728; + //BA.debugLineNum = 1769728;BA.debugLine="paso1 = 0"; +__ref._paso1 /*String*/ = BA.NumberToString(0); + }else +{RDebugUtils.currentLine=1769729; + //BA.debugLineNum = 1769729;BA.debugLine="Else IF name = \"OKActivo\" Then"; +if ((_name).equals("OKActivo")) { +RDebugUtils.currentLine=1769730; + //BA.debugLineNum = 1769730;BA.debugLine="Msgbox(\"Telefono no VALIDO!\",\"\") 'ignore"; +__c.Msgbox(BA.ObjectToCharSequence("Telefono no VALIDO!"),BA.ObjectToCharSequence(""),ba); + }else { +RDebugUtils.currentLine=1769732; + //BA.debugLineNum = 1769732;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ig"; +__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); + }} +; + }; + }; +RDebugUtils.currentLine=1769736; + //BA.debugLineNum = 1769736;BA.debugLine="End Sub"; +return ""; +} +public String _lv_server_itemclick(SHARK2.keymon.com.mx.b4xmainpage __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "lv_server_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv_server_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=2818048; + //BA.debugLineNum = 2818048;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,"; +RDebugUtils.currentLine=2818049; + //BA.debugLineNum = 2818049;BA.debugLine="Starter.DBReqServer = Value"; +_starter._dbreqserver /*String*/ = BA.ObjectToString(_value); +RDebugUtils.currentLine=2818051; + //BA.debugLineNum = 2818051;BA.debugLine="et_server.Text = Value"; +__ref._et_server /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_value)); +RDebugUtils.currentLine=2818052; + //BA.debugLineNum = 2818052;BA.debugLine="Starter.reinicializaReqManager(Value)"; +_starter._reinicializareqmanager /*String*/ (BA.ObjectToString(_value)); +RDebugUtils.currentLine=2818054; + //BA.debugLineNum = 2818054;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Servidor modificado"),__c.False); +RDebugUtils.currentLine=2818055; + //BA.debugLineNum = 2818055;BA.debugLine="End Sub"; +return ""; +} +public String _p_add_monto_click(SHARK2.keymon.com.mx.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=4128768; + //BA.debugLineNum = 4128768;BA.debugLine="Private Sub p_add_monto_Click"; +RDebugUtils.currentLine=4128770; + //BA.debugLineNum = 4128770;BA.debugLine="End Sub"; +return ""; +} +public String _p_ciego_click(SHARK2.keymon.com.mx.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=3997696; + //BA.debugLineNum = 3997696;BA.debugLine="Private Sub P_CIEGO_Click"; +RDebugUtils.currentLine=3997698; + //BA.debugLineNum = 3997698;BA.debugLine="End Sub"; +return ""; +} +public String _p_validacion_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "p_validacion_click", false)) + {return ((String) Debug.delegate(ba, "p_validacion_click", null));} +RDebugUtils.currentLine=4063232; + //BA.debugLineNum = 4063232;BA.debugLine="Private Sub p_validacion_Click"; +RDebugUtils.currentLine=4063234; + //BA.debugLineNum = 4063234;BA.debugLine="End Sub"; +return ""; +} +public String _pdf_click(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "pdf_click", false)) + {return ((String) Debug.delegate(ba, "pdf_click", null));} +RDebugUtils.currentLine=2162688; + //BA.debugLineNum = 2162688;BA.debugLine="Sub PDF_Click"; +RDebugUtils.currentLine=2162690; + //BA.debugLineNum = 2162690;BA.debugLine="End Sub"; +return ""; +} +public String _popupmenu_dismiss(SHARK2.keymon.com.mx.b4xmainpage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "popupmenu_dismiss", false)) + {return ((String) Debug.delegate(ba, "popupmenu_dismiss", null));} +RDebugUtils.currentLine=1966080; + //BA.debugLineNum = 1966080;BA.debugLine="Sub PopupMenu_Dismiss"; +RDebugUtils.currentLine=1966081; + //BA.debugLineNum = 1966081;BA.debugLine="ToastMessageShow(\"PopupMenu dismissed\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("PopupMenu dismissed"),__c.False); +RDebugUtils.currentLine=1966082; + //BA.debugLineNum = 1966082;BA.debugLine="End Sub"; +return ""; +} +public boolean _popupmenu_menuitemclick(SHARK2.keymon.com.mx.b4xmainpage __ref,int _itemid) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xmainpage"; +if (Debug.shouldDelegate(ba, "popupmenu_menuitemclick", false)) + {return ((Boolean) Debug.delegate(ba, "popupmenu_menuitemclick", new Object[] {_itemid}));} +RDebugUtils.currentLine=2031616; + //BA.debugLineNum = 2031616;BA.debugLine="Sub PopupMenu_MenuItemClick (ItemId As Int) As Boo"; +RDebugUtils.currentLine=2031617; + //BA.debugLineNum = 2031617;BA.debugLine="ToastMessageShow(\"Item \" & ItemId & \" clicked.\","; +__c.ToastMessageShow(BA.ObjectToCharSequence("Item "+BA.NumberToString(_itemid)+" clicked."),__c.False); +RDebugUtils.currentLine=2031618; + //BA.debugLineNum = 2031618;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=2031619; + //BA.debugLineNum = 2031619;BA.debugLine="End Sub"; +return false; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xorderedmap.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xorderedmap.java new file mode 100644 index 0000000..574cba5 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xorderedmap.java @@ -0,0 +1,284 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xorderedmap"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public boolean _containskey(SHARK2.keymon.com.mx.b4xorderedmap __ref,Object _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "containskey", true)) + {return ((Boolean) Debug.delegate(ba, "containskey", new Object[] {_key}));} +RDebugUtils.currentLine=50987008; + //BA.debugLineNum = 50987008;BA.debugLine="Public Sub ContainsKey (Key As Object) As Boolean"; +RDebugUtils.currentLine=50987009; + //BA.debugLineNum = 50987009;BA.debugLine="Return map.ContainsKey(Key)"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .ContainsKey(_key); +RDebugUtils.currentLine=50987010; + //BA.debugLineNum = 50987010;BA.debugLine="End Sub"; +return false; +} +public Object _get(SHARK2.keymon.com.mx.b4xorderedmap __ref,Object _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "get", true)) + {return ((Object) Debug.delegate(ba, "get", new Object[] {_key}));} +RDebugUtils.currentLine=50855936; + //BA.debugLineNum = 50855936;BA.debugLine="Public Sub Get (Key As Object) As Object"; +RDebugUtils.currentLine=50855937; + //BA.debugLineNum = 50855937;BA.debugLine="Return map.Get(Key)"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Get(_key); +RDebugUtils.currentLine=50855938; + //BA.debugLineNum = 50855938;BA.debugLine="End Sub"; +return null; +} +public String _initialize(SHARK2.keymon.com.mx.b4xorderedmap __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=50528256; + //BA.debugLineNum = 50528256;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=50528257; + //BA.debugLineNum = 50528257;BA.debugLine="map.Initialize"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=50528258; + //BA.debugLineNum = 50528258;BA.debugLine="list.Initialize"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=50528259; + //BA.debugLineNum = 50528259;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.collections.List _getkeys(SHARK2.keymon.com.mx.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getkeys", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getkeys", null));} +RDebugUtils.currentLine=50790400; + //BA.debugLineNum = 50790400;BA.debugLine="Public Sub getKeys As List"; +RDebugUtils.currentLine=50790401; + //BA.debugLineNum = 50790401;BA.debugLine="Return list"; +if (true) return __ref._list /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=50790402; + //BA.debugLineNum = 50790402;BA.debugLine="End Sub"; +return null; +} +public String _put(SHARK2.keymon.com.mx.b4xorderedmap __ref,Object _key,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "put", true)) + {return ((String) Debug.delegate(ba, "put", new Object[] {_key,_value}));} +RDebugUtils.currentLine=50593792; + //BA.debugLineNum = 50593792;BA.debugLine="Public Sub Put (Key As Object, Value As Object)"; +RDebugUtils.currentLine=50593793; + //BA.debugLineNum = 50593793;BA.debugLine="If map.ContainsKey(Key) = False Then"; +if (__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .ContainsKey(_key)==__c.False) { +RDebugUtils.currentLine=50593794; + //BA.debugLineNum = 50593794;BA.debugLine="list.Add(Key)"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .Add(_key); + }; +RDebugUtils.currentLine=50593796; + //BA.debugLineNum = 50593796;BA.debugLine="map.Put(Key, Value)"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Put(_key,_value); +RDebugUtils.currentLine=50593797; + //BA.debugLineNum = 50593797;BA.debugLine="End Sub"; +return ""; +} +public String _remove(SHARK2.keymon.com.mx.b4xorderedmap __ref,Object _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "remove", true)) + {return ((String) Debug.delegate(ba, "remove", new Object[] {_key}));} +RDebugUtils.currentLine=50659328; + //BA.debugLineNum = 50659328;BA.debugLine="Public Sub Remove (Key As Object)"; +RDebugUtils.currentLine=50659329; + //BA.debugLineNum = 50659329;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=50659330; + //BA.debugLineNum = 50659330;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=50659331; + //BA.debugLineNum = 50659331;BA.debugLine="map.Remove(Key)"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Remove(_key); +RDebugUtils.currentLine=50659332; + //BA.debugLineNum = 50659332;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.collections.List _getvalues(SHARK2.keymon.com.mx.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getvalues", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "getvalues", null));} +anywheresoftware.b4a.objects.collections.List _res = null; +Object _key = null; +RDebugUtils.currentLine=51118080; + //BA.debugLineNum = 51118080;BA.debugLine="Public Sub getValues As List"; +RDebugUtils.currentLine=51118081; + //BA.debugLineNum = 51118081;BA.debugLine="Dim res As List"; +_res = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=51118082; + //BA.debugLineNum = 51118082;BA.debugLine="res.Initialize"; +_res.Initialize(); +RDebugUtils.currentLine=51118083; + //BA.debugLineNum = 51118083;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=51118084; + //BA.debugLineNum = 51118084;BA.debugLine="res.Add(map.Get(key))"; +_res.Add(__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Get(_key)); + } +}; +RDebugUtils.currentLine=51118086; + //BA.debugLineNum = 51118086;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=51118087; + //BA.debugLineNum = 51118087;BA.debugLine="End Sub"; +return null; +} +public int _getsize(SHARK2.keymon.com.mx.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=51052544; + //BA.debugLineNum = 51052544;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=51052545; + //BA.debugLineNum = 51052545;BA.debugLine="Return map.Size"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .getSize(); +RDebugUtils.currentLine=51052546; + //BA.debugLineNum = 51052546;BA.debugLine="End Sub"; +return 0; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +RDebugUtils.currentLine=50462720; + //BA.debugLineNum = 50462720;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=50462721; + //BA.debugLineNum = 50462721;BA.debugLine="Private map As Map"; +_map = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=50462722; + //BA.debugLineNum = 50462722;BA.debugLine="Private list As List"; +_list = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=50462723; + //BA.debugLineNum = 50462723;BA.debugLine="End Sub"; +return ""; +} +public String _clear(SHARK2.keymon.com.mx.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=50724864; + //BA.debugLineNum = 50724864;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=50724865; + //BA.debugLineNum = 50724865;BA.debugLine="list.Clear"; +__ref._list /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=50724866; + //BA.debugLineNum = 50724866;BA.debugLine="map.Clear"; +__ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=50724867; + //BA.debugLineNum = 50724867;BA.debugLine="End Sub"; +return ""; +} +public Object _getdataforserializator(SHARK2.keymon.com.mx.b4xorderedmap __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getdataforserializator", true)) + {return ((Object) Debug.delegate(ba, "getdataforserializator", null));} +RDebugUtils.currentLine=51183616; + //BA.debugLineNum = 51183616;BA.debugLine="Public Sub GetDataForSerializator As Object"; +RDebugUtils.currentLine=51183617; + //BA.debugLineNum = 51183617;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=51183618; + //BA.debugLineNum = 51183618;BA.debugLine="End Sub"; +return null; +} +public Object _getdefault(SHARK2.keymon.com.mx.b4xorderedmap __ref,Object _key,Object _defaultvalue) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "getdefault", true)) + {return ((Object) Debug.delegate(ba, "getdefault", new Object[] {_key,_defaultvalue}));} +RDebugUtils.currentLine=50921472; + //BA.debugLineNum = 50921472;BA.debugLine="Public Sub GetDefault (Key As Object, DefaultValue"; +RDebugUtils.currentLine=50921473; + //BA.debugLineNum = 50921473;BA.debugLine="Return map.GetDefault(Key, DefaultValue)"; +if (true) return __ref._map /*anywheresoftware.b4a.objects.collections.Map*/ .GetDefault(_key,_defaultvalue); +RDebugUtils.currentLine=50921474; + //BA.debugLineNum = 50921474;BA.debugLine="End Sub"; +return null; +} +public String _setdatafromserializator(SHARK2.keymon.com.mx.b4xorderedmap __ref,Object _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xorderedmap"; +if (Debug.shouldDelegate(ba, "setdatafromserializator", true)) + {return ((String) Debug.delegate(ba, "setdatafromserializator", new Object[] {_data}));} +Object[] _o = null; +RDebugUtils.currentLine=51249152; + //BA.debugLineNum = 51249152;BA.debugLine="Public Sub SetDataFromSerializator (Data As Object"; +RDebugUtils.currentLine=51249153; + //BA.debugLineNum = 51249153;BA.debugLine="Dim o() As Object = Data"; +_o = (Object[])(_data); +RDebugUtils.currentLine=51249154; + //BA.debugLineNum = 51249154;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=51249155; + //BA.debugLineNum = 51249155;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=51249156; + //BA.debugLineNum = 51249156;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xpages.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xpages.java new file mode 100644 index 0000000..beada8f --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xpages.java @@ -0,0 +1,217 @@ +package SHARK2.keymon.com.mx; + + +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 SHARK2.keymon.com.mx.b4xpagesdelegator _delegate = null; +public static Object _globalcontext = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.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=46727168; + //BA.debugLineNum = 46727168;BA.debugLine="Public Sub ShowPage (Id As String)"; +RDebugUtils.currentLine=46727169; + //BA.debugLineNum = 46727169;BA.debugLine="GetManager.ShowPage(Id)"; +_getmanager(_ba)._showpage /*String*/ (null,_id); +RDebugUtils.currentLine=46727170; + //BA.debugLineNum = 46727170;BA.debugLine="End Sub"; +return ""; +} +public static SHARK2.keymon.com.mx.b4xmainpage _mainpage(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "mainpage", true)) + {return ((SHARK2.keymon.com.mx.b4xmainpage) Debug.delegate(null, "mainpage", new Object[] {_ba}));} +RDebugUtils.currentLine=46989312; + //BA.debugLineNum = 46989312;BA.debugLine="Public Sub MainPage As B4XMainPage"; +RDebugUtils.currentLine=46989313; + //BA.debugLineNum = 46989313;BA.debugLine="Return GetManager.MainPage"; +if (true) return _getmanager(_ba)._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ ; +RDebugUtils.currentLine=46989314; + //BA.debugLineNum = 46989314;BA.debugLine="End Sub"; +return null; +} +public static SHARK2.keymon.com.mx.b4xpagesmanager _getmanager(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "getmanager", true)) + {return ((SHARK2.keymon.com.mx.b4xpagesmanager) Debug.delegate(null, "getmanager", new Object[] {_ba}));} +RDebugUtils.currentLine=46333952; + //BA.debugLineNum = 46333952;BA.debugLine="Public Sub GetManager As B4XPagesManager"; +RDebugUtils.currentLine=46333953; + //BA.debugLineNum = 46333953;BA.debugLine="Return mPM"; +if (true) return (SHARK2.keymon.com.mx.b4xpagesmanager)(_mpm); +RDebugUtils.currentLine=46333954; + //BA.debugLineNum = 46333954;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=46923776; + //BA.debugLineNum = 46923776;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; +RDebugUtils.currentLine=46923777; + //BA.debugLineNum = 46923777;BA.debugLine="GetManager.SetTitle(B4XPage, Title)"; +_getmanager(_ba)._settitle /*String*/ (null,_b4xpage,_title); +RDebugUtils.currentLine=46923778; + //BA.debugLineNum = 46923778;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=46596096; + //BA.debugLineNum = 46596096;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; +RDebugUtils.currentLine=46596097; + //BA.debugLineNum = 46596097;BA.debugLine="GetManager.AddPage(Id, B4XPage)"; +_getmanager(_ba)._addpage /*String*/ (null,_id,_b4xpage); +RDebugUtils.currentLine=46596098; + //BA.debugLineNum = 46596098;BA.debugLine="End Sub"; +return ""; +} +public static Object _getpage(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "getpage", true)) + {return ((Object) Debug.delegate(null, "getpage", new Object[] {_ba,_id}));} +RDebugUtils.currentLine=46465024; + //BA.debugLineNum = 46465024;BA.debugLine="Public Sub GetPage (Id As String) As Object"; +RDebugUtils.currentLine=46465025; + //BA.debugLineNum = 46465025;BA.debugLine="Return GetManager.GetPage(Id)"; +if (true) return _getmanager(_ba)._getpage /*Object*/ (null,_id); +RDebugUtils.currentLine=46465026; + //BA.debugLineNum = 46465026;BA.debugLine="End Sub"; +return null; +} +public static anywheresoftware.b4a.objects.ActivityWrapper _getnativeparent(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "getnativeparent", true)) + {return ((anywheresoftware.b4a.objects.ActivityWrapper) Debug.delegate(null, "getnativeparent", new Object[] {_ba,_b4xpage}));} +RDebugUtils.currentLine=47054848; + //BA.debugLineNum = 47054848;BA.debugLine="Public Sub GetNativeParent (B4XPage As Object) As"; +RDebugUtils.currentLine=47054856; + //BA.debugLineNum = 47054856;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Pare"; +if (true) return _getmanager(_ba)._findpifromb4xpage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage).Parent /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ ; +RDebugUtils.currentLine=47054857; + //BA.debugLineNum = 47054857;BA.debugLine="End Sub"; +return null; +} +public static SHARK2.keymon.com.mx.b4xpagesmanager._b4amenuitem _addmenuitem(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "addmenuitem", true)) + {return ((SHARK2.keymon.com.mx.b4xpagesmanager._b4amenuitem) Debug.delegate(null, "addmenuitem", new Object[] {_ba,_b4xpage,_title}));} +RDebugUtils.currentLine=47120384; + //BA.debugLineNum = 47120384;BA.debugLine="Public Sub AddMenuItem(B4XPage As Object, Title As"; +RDebugUtils.currentLine=47120385; + //BA.debugLineNum = 47120385;BA.debugLine="Return GetManager.AddMenuItem(B4XPage, Title)"; +if (true) return _getmanager(_ba)._addmenuitem /*SHARK2.keymon.com.mx.b4xpagesmanager._b4amenuitem*/ (null,_b4xpage,_title); +RDebugUtils.currentLine=47120386; + //BA.debugLineNum = 47120386;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=46661632; + //BA.debugLineNum = 46661632;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; +RDebugUtils.currentLine=46661633; + //BA.debugLineNum = 46661633;BA.debugLine="GetManager.AddPageAndCreate(Id, B4XPage)"; +_getmanager(_ba)._addpageandcreate /*String*/ (null,_id,_b4xpage); +RDebugUtils.currentLine=46661634; + //BA.debugLineNum = 46661634;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=46858240; + //BA.debugLineNum = 46858240;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; +RDebugUtils.currentLine=46858241; + //BA.debugLineNum = 46858241;BA.debugLine="GetManager.ClosePage (B4XPage)"; +_getmanager(_ba)._closepage /*String*/ (null,_b4xpage); +RDebugUtils.currentLine=46858242; + //BA.debugLineNum = 46858242;BA.debugLine="End Sub"; +return ""; +} +public static String _getpageid(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ +RDebugUtils.currentModule="b4xpages"; +if (Debug.shouldDelegate(null, "getpageid", true)) + {return ((String) Debug.delegate(null, "getpageid", new Object[] {_ba,_b4xpage}));} +RDebugUtils.currentLine=46530560; + //BA.debugLineNum = 46530560;BA.debugLine="Public Sub GetPageId (B4XPage As Object) As String"; +RDebugUtils.currentLine=46530561; + //BA.debugLineNum = 46530561;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Id"; +if (true) return _getmanager(_ba)._findpifromb4xpage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage).Id /*String*/ ; +RDebugUtils.currentLine=46530562; + //BA.debugLineNum = 46530562;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=46399488; + //BA.debugLineNum = 46399488;BA.debugLine="Public Sub InternalSetPagesManager(PM As Object)"; +RDebugUtils.currentLine=46399489; + //BA.debugLineNum = 46399489;BA.debugLine="Delegate.Initialize"; +_delegate._initialize /*String*/ (null,(_ba.processBA == null ? _ba : _ba.processBA)); +RDebugUtils.currentLine=46399490; + //BA.debugLineNum = 46399490;BA.debugLine="mPM = PM"; +_mpm = _pm; +RDebugUtils.currentLine=46399491; + //BA.debugLineNum = 46399491;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=46268416; + //BA.debugLineNum = 46268416;BA.debugLine="Public Sub IsInitialized As Boolean"; +RDebugUtils.currentLine=46268417; + //BA.debugLineNum = 46268417;BA.debugLine="Return mPM Is B4XPagesManager"; +if (true) return _mpm instanceof SHARK2.keymon.com.mx.b4xpagesmanager; +RDebugUtils.currentLine=46268418; + //BA.debugLineNum = 46268418;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=46792704; + //BA.debugLineNum = 46792704;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; +RDebugUtils.currentLine=46792705; + //BA.debugLineNum = 46792705;BA.debugLine="GetManager.ShowPageAndRemovePreviousPages (Id)"; +_getmanager(_ba)._showpageandremovepreviouspages /*String*/ (null,_id); +RDebugUtils.currentLine=46792706; + //BA.debugLineNum = 46792706;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xpagesdelegator.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xpagesdelegator.java new file mode 100644 index 0000000..df47ff3 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xpagesdelegator.java @@ -0,0 +1,166 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xpagesdelegator"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _activity_actionbarhomeclick(SHARK2.keymon.com.mx.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "activity_actionbarhomeclick", true)) + {return ((String) Debug.delegate(ba, "activity_actionbarhomeclick", null));} +RDebugUtils.currentLine=52101120; + //BA.debugLineNum = 52101120;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; +RDebugUtils.currentLine=52101121; + //BA.debugLineNum = 52101121;BA.debugLine="B4XPages.GetManager.Activity_ActionBarHomeClick"; +_b4xpages._getmanager /*SHARK2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_actionbarhomeclick /*String*/ (null); +RDebugUtils.currentLine=52101122; + //BA.debugLineNum = 52101122;BA.debugLine="End Sub"; +return ""; +} +public boolean _activity_keypress(SHARK2.keymon.com.mx.b4xpagesdelegator __ref,int _keycode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "activity_keypress", true)) + {return ((Boolean) Debug.delegate(ba, "activity_keypress", new Object[] {_keycode}));} +RDebugUtils.currentLine=51970048; + //BA.debugLineNum = 51970048;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; +RDebugUtils.currentLine=51970049; + //BA.debugLineNum = 51970049;BA.debugLine="Return B4XPages.GetManager.Activity_KeyPress (Key"; +if (true) return _b4xpages._getmanager /*SHARK2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_keypress /*boolean*/ (null,_keycode); +RDebugUtils.currentLine=51970050; + //BA.debugLineNum = 51970050;BA.debugLine="End Sub"; +return false; +} +public String _activity_pause(SHARK2.keymon.com.mx.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +RDebugUtils.currentLine=52363264; + //BA.debugLineNum = 52363264;BA.debugLine="Public Sub Activity_Pause"; +RDebugUtils.currentLine=52363265; + //BA.debugLineNum = 52363265;BA.debugLine="B4XPages.GetManager.Activity_Pause"; +_b4xpages._getmanager /*SHARK2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_pause /*String*/ (null); +RDebugUtils.currentLine=52363266; + //BA.debugLineNum = 52363266;BA.debugLine="End Sub"; +return ""; +} +public String _activity_permissionresult(SHARK2.keymon.com.mx.b4xpagesdelegator __ref,String _permission,boolean _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "activity_permissionresult", true)) + {return ((String) Debug.delegate(ba, "activity_permissionresult", new Object[] {_permission,_result}));} +RDebugUtils.currentLine=52035584; + //BA.debugLineNum = 52035584;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +RDebugUtils.currentLine=52035585; + //BA.debugLineNum = 52035585;BA.debugLine="B4XPages.GetManager.RaiseEvent(B4XPages.GetManage"; +_b4xpages._getmanager /*SHARK2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._raiseevent /*String*/ (null,_b4xpages._getmanager /*SHARK2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_PermissionResult",new Object[]{(Object)(_permission),(Object)(_result)}); +RDebugUtils.currentLine=52035586; + //BA.debugLineNum = 52035586;BA.debugLine="End Sub"; +return ""; +} +public String _activity_resume(SHARK2.keymon.com.mx.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "activity_resume", true)) + {return ((String) Debug.delegate(ba, "activity_resume", null));} +RDebugUtils.currentLine=52297728; + //BA.debugLineNum = 52297728;BA.debugLine="Public Sub Activity_Resume"; +RDebugUtils.currentLine=52297729; + //BA.debugLineNum = 52297729;BA.debugLine="B4XPages.GetManager.Activity_Resume"; +_b4xpages._getmanager /*SHARK2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_resume /*String*/ (null); +RDebugUtils.currentLine=52297730; + //BA.debugLineNum = 52297730;BA.debugLine="End Sub"; +return ""; +} +public String _create_menu(SHARK2.keymon.com.mx.b4xpagesdelegator __ref,Object _menu) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "create_menu", true)) + {return ((String) Debug.delegate(ba, "create_menu", new Object[] {_menu}));} +RDebugUtils.currentLine=52166656; + //BA.debugLineNum = 52166656;BA.debugLine="Public Sub Create_Menu (Menu As Object)"; +RDebugUtils.currentLine=52166657; + //BA.debugLineNum = 52166657;BA.debugLine="B4XPages.GetManager.CreateMenu(Menu)"; +_b4xpages._getmanager /*SHARK2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._createmenu /*String*/ (null,_menu); +RDebugUtils.currentLine=52166658; + //BA.debugLineNum = 52166658;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.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=51904512; + //BA.debugLineNum = 51904512;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=51904514; + //BA.debugLineNum = 51904514;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xpagesdelegator __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +RDebugUtils.currentLine=51838976; + //BA.debugLineNum = 51838976;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=51838977; + //BA.debugLineNum = 51838977;BA.debugLine="End Sub"; +return ""; +} +public String _mainform_resize(SHARK2.keymon.com.mx.b4xpagesdelegator __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesdelegator"; +if (Debug.shouldDelegate(ba, "mainform_resize", true)) + {return ((String) Debug.delegate(ba, "mainform_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=52232192; + //BA.debugLineNum = 52232192;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; +RDebugUtils.currentLine=52232193; + //BA.debugLineNum = 52232193;BA.debugLine="B4XPages.GetManager.MainForm_Resize(Width, Height"; +_b4xpages._getmanager /*SHARK2.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._mainform_resize /*String*/ (null,_width,_height); +RDebugUtils.currentLine=52232194; + //BA.debugLineNum = 52232194;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xpagesmanager.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xpagesmanager.java new file mode 100644 index 0000000..0a6ffcf --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xpagesmanager.java @@ -0,0 +1,1561 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xpagesmanager"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent(); +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public anywheresoftware.b4a.keywords.Common __c = null; +public SHARK2.keymon.com.mx.b4xorderedmap _idtob4xpage = null; +public SHARK2.keymon.com.mx.b4xorderedmap _rootb4xtopage = null; +public anywheresoftware.b4j.object.JavaObject _context = null; +public SHARK2.keymon.com.mx.b4xset _mstackofpageids = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public anywheresoftware.b4a.objects.ActivityWrapper _mmainform = null; +public boolean _showupindicator = false; +public anywheresoftware.b4j.object.JavaObject _actionbar = null; +public boolean _isforeground = false; +public int _transitionanimationduration = 0; +public SHARK2.keymon.com.mx.b4xmainpage _mainpage = null; +public String _stackstring = ""; +public boolean _logevents = false; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _initialize(SHARK2.keymon.com.mx.b4xpagesmanager __ref,anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ActivityWrapper _activity) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_activity}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +anywheresoftware.b4j.object.JavaObject _module = null; +boolean _nonmainpagewasadded = false; +RDebugUtils.currentLine=52494336; + //BA.debugLineNum = 52494336;BA.debugLine="Public Sub Initialize (Activity As Activity)"; +RDebugUtils.currentLine=52494340; + //BA.debugLineNum = 52494340;BA.debugLine="IdToB4XPage.Initialize"; +__ref._idtob4xpage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=52494341; + //BA.debugLineNum = 52494341;BA.debugLine="RootB4XToPage.Initialize"; +__ref._rootb4xtopage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=52494342; + //BA.debugLineNum = 52494342;BA.debugLine="mStackOfPageIds.Initialize"; +__ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=52494346; + //BA.debugLineNum = 52494346;BA.debugLine="Context.InitializeContext"; +__ref._context /*anywheresoftware.b4j.object.JavaObject*/ .InitializeContext(ba); +RDebugUtils.currentLine=52494347; + //BA.debugLineNum = 52494347;BA.debugLine="mMainForm = Activity"; +__ref._mmainform /*anywheresoftware.b4a.objects.ActivityWrapper*/ = _activity; +RDebugUtils.currentLine=52494348; + //BA.debugLineNum = 52494348;BA.debugLine="CheckMainActivityOrientations"; +__ref._checkmainactivityorientations /*String*/ (null); +RDebugUtils.currentLine=52494349; + //BA.debugLineNum = 52494349;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=52494350; + //BA.debugLineNum = 52494350;BA.debugLine="Dim module As JavaObject"; +_module = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=52494351; + //BA.debugLineNum = 52494351;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=52494355; + //BA.debugLineNum = 52494355;BA.debugLine="B4XPages.InternalSetPagesManager(Me)"; +_b4xpages._internalsetpagesmanager /*String*/ (ba,this); +RDebugUtils.currentLine=52494356; + //BA.debugLineNum = 52494356;BA.debugLine="MainPage.Initialize"; +__ref._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=52494357; + //BA.debugLineNum = 52494357;BA.debugLine="Dim NonMainPageWasAdded As Boolean = IdToB4XPage."; +_nonmainpagewasadded = __ref._idtob4xpage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._getsize /*int*/ (null)>0; +RDebugUtils.currentLine=52494358; + //BA.debugLineNum = 52494358;BA.debugLine="IdToB4XPage.Put(\"~~~~~temp~~~~\", CreateB4XPageInf"; +__ref._idtob4xpage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._put /*String*/ (null,(Object)("~~~~~temp~~~~"),(Object)(__ref._createb4xpageinfo /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,(Object)(__ref._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ ),"",__c.False,(Object)("")))); +RDebugUtils.currentLine=52494359; + //BA.debugLineNum = 52494359;BA.debugLine="BackgroundStateChanged(True)"; +__ref._backgroundstatechanged /*String*/ (null,__c.True); +RDebugUtils.currentLine=52494360; + //BA.debugLineNum = 52494360;BA.debugLine="IdToB4XPage.Remove(\"~~~~~temp~~~~\")"; +__ref._idtob4xpage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._remove /*String*/ (null,(Object)("~~~~~temp~~~~")); +RDebugUtils.currentLine=52494361; + //BA.debugLineNum = 52494361;BA.debugLine="AddPageAndCreate(\"MainPage\", MainPage)"; +__ref._addpageandcreate /*String*/ (null,"MainPage",(Object)(__ref._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ )); +RDebugUtils.currentLine=52494362; + //BA.debugLineNum = 52494362;BA.debugLine="If LogEvents = False Then"; +if (__ref._logevents /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=52494363; + //BA.debugLineNum = 52494363;BA.debugLine="Log(\"Call B4XPages.GetManager.LogEvents = True t"; +__c.LogImpl("952494363","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0); + }; +RDebugUtils.currentLine=52494365; + //BA.debugLineNum = 52494365;BA.debugLine="If NonMainPageWasAdded Then"; +if (_nonmainpagewasadded) { +RDebugUtils.currentLine=52494366; + //BA.debugLineNum = 52494366;BA.debugLine="If Not(xui.IsB4i) Then"; +if (__c.Not(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i())) { +RDebugUtils.currentLine=52494367; + //BA.debugLineNum = 52494367;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; +__ref._raiseevent /*String*/ (null,__ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_Appear",(Object[])(__c.Null)); + }; + }; +RDebugUtils.currentLine=52494370; + //BA.debugLineNum = 52494370;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.b4xpagesmanager._b4amenuitem _addmenuitem(SHARK2.keymon.com.mx.b4xpagesmanager __ref,Object _b4xpage,Object _title) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "addmenuitem", true)) + {return ((SHARK2.keymon.com.mx.b4xpagesmanager._b4amenuitem) Debug.delegate(ba, "addmenuitem", new Object[] {_b4xpage,_title}));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4amenuitem _mi = null; +RDebugUtils.currentLine=53870592; + //BA.debugLineNum = 53870592;BA.debugLine="Public Sub AddMenuItem (B4XPage As Object, Title A"; +RDebugUtils.currentLine=53870593; + //BA.debugLineNum = 53870593;BA.debugLine="Dim mi As B4AMenuItem"; +_mi = new SHARK2.keymon.com.mx.b4xpagesmanager._b4amenuitem(); +RDebugUtils.currentLine=53870594; + //BA.debugLineNum = 53870594;BA.debugLine="mi.Initialize"; +_mi.Initialize(); +RDebugUtils.currentLine=53870595; + //BA.debugLineNum = 53870595;BA.debugLine="mi.Title = Title"; +_mi.Title /*Object*/ = _title; +RDebugUtils.currentLine=53870596; + //BA.debugLineNum = 53870596;BA.debugLine="mi.Tag = Title"; +_mi.Tag /*String*/ = BA.ObjectToString(_title); +RDebugUtils.currentLine=53870597; + //BA.debugLineNum = 53870597;BA.debugLine="FindPIFromB4XPage(B4XPage).Parent.MenuItems.Add(m"; +__ref._findpifromb4xpage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage).Parent /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_mi)); +RDebugUtils.currentLine=53870598; + //BA.debugLineNum = 53870598;BA.debugLine="Return mi"; +if (true) return _mi; +RDebugUtils.currentLine=53870599; + //BA.debugLineNum = 53870599;BA.debugLine="End Sub"; +return null; +} +public String _addpage(SHARK2.keymon.com.mx.b4xpagesmanager __ref,String _id,Object _b4xpage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "addpage", true)) + {return ((String) Debug.delegate(ba, "addpage", new Object[] {_id,_b4xpage}));} +String _idtolower = ""; +RDebugUtils.currentLine=52690944; + //BA.debugLineNum = 52690944;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; +RDebugUtils.currentLine=52690945; + //BA.debugLineNum = 52690945;BA.debugLine="Dim IdToLower As String = Id.ToLowerCase"; +_idtolower = _id.toLowerCase(); +RDebugUtils.currentLine=52690946; + //BA.debugLineNum = 52690946;BA.debugLine="If IdToB4XPage.ContainsKey(IdToLower) Then"; +if (__ref._idtob4xpage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._containskey /*boolean*/ (null,(Object)(_idtolower))) { +RDebugUtils.currentLine=52690947; + //BA.debugLineNum = 52690947;BA.debugLine="Log($\"Page with this id already exists: ${IdToLo"; +__c.LogImpl("952690947",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0); +RDebugUtils.currentLine=52690948; + //BA.debugLineNum = 52690948;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=52690950; + //BA.debugLineNum = 52690950;BA.debugLine="IdToB4XPage.Put(IdToLower, CreateB4XPageInfo(B4XP"; +__ref._idtob4xpage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_idtolower),(Object)(__ref._createb4xpageinfo /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage,_idtolower,__c.False,(Object)(_id)))); +RDebugUtils.currentLine=52690951; + //BA.debugLineNum = 52690951;BA.debugLine="If IdToB4XPage.Size = 1 Then ShowPage(IdToLower)"; +if (__ref._idtob4xpage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._getsize /*int*/ (null)==1) { +__ref._showpage /*String*/ (null,_idtolower);}; +RDebugUtils.currentLine=52690952; + //BA.debugLineNum = 52690952;BA.debugLine="End Sub"; +return ""; +} +public String _addpageandcreate(SHARK2.keymon.com.mx.b4xpagesmanager __ref,String _id,Object _b4xpage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "addpageandcreate", true)) + {return ((String) Debug.delegate(ba, "addpageandcreate", new Object[] {_id,_b4xpage}));} +RDebugUtils.currentLine=52756480; + //BA.debugLineNum = 52756480;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; +RDebugUtils.currentLine=52756481; + //BA.debugLineNum = 52756481;BA.debugLine="AddPage (Id, B4XPage)"; +__ref._addpage /*String*/ (null,_id,_b4xpage); +RDebugUtils.currentLine=52756482; + //BA.debugLineNum = 52756482;BA.debugLine="CreatePageIfNeeded(GetPageFromId(Id))"; +__ref._createpageifneeded /*String*/ (null,__ref._getpagefromid /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_id)); +RDebugUtils.currentLine=52756483; + //BA.debugLineNum = 52756483;BA.debugLine="End Sub"; +return ""; +} +public String _closepage(SHARK2.keymon.com.mx.b4xpagesmanager __ref,Object _b4xpage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "closepage", true)) + {return ((String) Debug.delegate(ba, "closepage", new Object[] {_b4xpage}));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +boolean _isclosingtoppage = false; +RDebugUtils.currentLine=52953088; + //BA.debugLineNum = 52953088;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; +RDebugUtils.currentLine=52953089; + //BA.debugLineNum = 52953089;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; +_pi = __ref._findpifromb4xpage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage); +RDebugUtils.currentLine=52953090; + //BA.debugLineNum = 52953090;BA.debugLine="If mStackOfPageIds.Contains(pi.Id) = False Then R"; +if (__ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._contains /*boolean*/ (null,(Object)(_pi.Id /*String*/ ))==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=52953091; + //BA.debugLineNum = 52953091;BA.debugLine="If xui.IsB4i And GetTopPage <> pi Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i() && (__ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null)).equals(_pi) == false) { +RDebugUtils.currentLine=52953092; + //BA.debugLineNum = 52953092;BA.debugLine="Log(\"Only top page can be closed\")"; +__c.LogImpl("952953092","Only top page can be closed",0); +RDebugUtils.currentLine=52953093; + //BA.debugLineNum = 52953093;BA.debugLine="Return"; +if (true) return ""; + }else +{RDebugUtils.currentLine=52953094; + //BA.debugLineNum = 52953094;BA.debugLine="Else If xui.IsB4i And mStackOfPageIds.Size = 1 Th"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i() && __ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)==1) { +RDebugUtils.currentLine=52953095; + //BA.debugLineNum = 52953095;BA.debugLine="Log(\"First page cannot be closed\")"; +__c.LogImpl("952953095","First page cannot be closed",0); +RDebugUtils.currentLine=52953096; + //BA.debugLineNum = 52953096;BA.debugLine="Return"; +if (true) return ""; + }} +; +RDebugUtils.currentLine=52953098; + //BA.debugLineNum = 52953098;BA.debugLine="Dim IsClosingTopPage As Boolean = GetTopPage = pi"; +_isclosingtoppage = (__ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null)).equals(_pi); +RDebugUtils.currentLine=52953099; + //BA.debugLineNum = 52953099;BA.debugLine="ClosePageImpl(pi)"; +__ref._closepageimpl /*String*/ (null,_pi); +RDebugUtils.currentLine=52953100; + //BA.debugLineNum = 52953100;BA.debugLine="If IsClosingTopPage Then"; +if (_isclosingtoppage) { +RDebugUtils.currentLine=52953101; + //BA.debugLineNum = 52953101;BA.debugLine="TopPageDisappear"; +__ref._toppagedisappear /*String*/ (null); + }; +RDebugUtils.currentLine=52953103; + //BA.debugLineNum = 52953103;BA.debugLine="If xui.IsB4A And mStackOfPageIds.Size = 1 Then Re"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() && __ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)==1) { +if (true) return "";}; +RDebugUtils.currentLine=52953104; + //BA.debugLineNum = 52953104;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; +__ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._remove /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=52953105; + //BA.debugLineNum = 52953105;BA.debugLine="If IsClosingTopPage Then"; +if (_isclosingtoppage) { +RDebugUtils.currentLine=52953106; + //BA.debugLineNum = 52953106;BA.debugLine="If xui.IsB4A Then ShowPageImpl(GetTopPage)"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A()) { +__ref._showpageimpl /*String*/ (null,__ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null));}; +RDebugUtils.currentLine=52953107; + //BA.debugLineNum = 52953107;BA.debugLine="TopPageAppear"; +__ref._toppageappear /*String*/ (null); + }; +RDebugUtils.currentLine=52953109; + //BA.debugLineNum = 52953109;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _findpifromb4xpage(SHARK2.keymon.com.mx.b4xpagesmanager __ref,Object _page) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "findpifromb4xpage", true)) + {return ((SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "findpifromb4xpage", new Object[] {_page}));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=53149696; + //BA.debugLineNum = 53149696;BA.debugLine="Public Sub FindPIFromB4XPage (Page As Object) As B"; +RDebugUtils.currentLine=53149697; + //BA.debugLineNum = 53149697;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; +{ +final anywheresoftware.b4a.BA.IterableList group1 = __ref._idtob4xpage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +final int groupLen1 = group1.getSize() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_pi = (SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(group1.Get(index1)); +RDebugUtils.currentLine=53149698; + //BA.debugLineNum = 53149698;BA.debugLine="If pi.B4XPage = Page Then"; +if ((_pi.B4XPage /*Object*/ ).equals(_page)) { +RDebugUtils.currentLine=53149699; + //BA.debugLineNum = 53149699;BA.debugLine="Return pi"; +if (true) return _pi; + }; + } +}; +RDebugUtils.currentLine=53149702; + //BA.debugLineNum = 53149702;BA.debugLine="Return Null"; +if (true) return (SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__c.Null); +RDebugUtils.currentLine=53149703; + //BA.debugLineNum = 53149703;BA.debugLine="End Sub"; +return null; +} +public Object _getpage(SHARK2.keymon.com.mx.b4xpagesmanager __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "getpage", true)) + {return ((Object) Debug.delegate(ba, "getpage", new Object[] {_id}));} +RDebugUtils.currentLine=53542912; + //BA.debugLineNum = 53542912;BA.debugLine="Public Sub GetPage (Id As String) As Object"; +RDebugUtils.currentLine=53542913; + //BA.debugLineNum = 53542913;BA.debugLine="Return GetPageFromId(Id).B4XPage"; +if (true) return __ref._getpagefromid /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_id).B4XPage /*Object*/ ; +RDebugUtils.currentLine=53542914; + //BA.debugLineNum = 53542914;BA.debugLine="End Sub"; +return null; +} +public String _settitle(SHARK2.keymon.com.mx.b4xpagesmanager __ref,Object _b4xpage,Object _title) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "settitle", true)) + {return ((String) Debug.delegate(ba, "settitle", new Object[] {_b4xpage,_title}));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=53411840; + //BA.debugLineNum = 53411840;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; +RDebugUtils.currentLine=53411841; + //BA.debugLineNum = 53411841;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; +_pi = __ref._findpifromb4xpage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_b4xpage); +RDebugUtils.currentLine=53411842; + //BA.debugLineNum = 53411842;BA.debugLine="pi.Title = Title"; +_pi.Title /*Object*/ = _title; +RDebugUtils.currentLine=53411843; + //BA.debugLineNum = 53411843;BA.debugLine="pi.Parent.NativeType.Title = Title"; +_pi.Parent /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ .setTitle(BA.ObjectToCharSequence(_title)); +RDebugUtils.currentLine=53411844; + //BA.debugLineNum = 53411844;BA.debugLine="End Sub"; +return ""; +} +public String _showpage(SHARK2.keymon.com.mx.b4xpagesmanager __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "showpage", true)) + {return ((String) Debug.delegate(ba, "showpage", new Object[] {_id}));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _top = null; +RDebugUtils.currentLine=52822016; + //BA.debugLineNum = 52822016;BA.debugLine="Public Sub ShowPage (Id As String)"; +RDebugUtils.currentLine=52822017; + //BA.debugLineNum = 52822017;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; +_pi = __ref._getpagefromid /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_id); +RDebugUtils.currentLine=52822018; + //BA.debugLineNum = 52822018;BA.debugLine="If pi = GetTopPage Then Return"; +if ((_pi).equals(__ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null))) { +if (true) return "";}; +RDebugUtils.currentLine=52822019; + //BA.debugLineNum = 52822019;BA.debugLine="CreatePageIfNeeded(pi)"; +__ref._createpageifneeded /*String*/ (null,_pi); +RDebugUtils.currentLine=52822020; + //BA.debugLineNum = 52822020;BA.debugLine="TopPageDisappear"; +__ref._toppagedisappear /*String*/ (null); +RDebugUtils.currentLine=52822022; + //BA.debugLineNum = 52822022;BA.debugLine="Dim Top As B4XPageInfo = GetTopPage"; +_top = __ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=52822023; + //BA.debugLineNum = 52822023;BA.debugLine="If Top <> Null Then"; +if (_top!= null) { +RDebugUtils.currentLine=52822024; + //BA.debugLineNum = 52822024;BA.debugLine="Top.Root.RemoveViewFromParent"; +_top.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); + }; +RDebugUtils.currentLine=52822034; + //BA.debugLineNum = 52822034;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; +__ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._remove /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=52822035; + //BA.debugLineNum = 52822035;BA.debugLine="ShowPageImpl(pi)"; +__ref._showpageimpl /*String*/ (null,_pi); +RDebugUtils.currentLine=52822036; + //BA.debugLineNum = 52822036;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +__ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._add /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=52822037; + //BA.debugLineNum = 52822037;BA.debugLine="TopPageAppear"; +__ref._toppageappear /*String*/ (null); +RDebugUtils.currentLine=52822038; + //BA.debugLineNum = 52822038;BA.debugLine="End Sub"; +return ""; +} +public String _showpageandremovepreviouspages(SHARK2.keymon.com.mx.b4xpagesmanager __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "showpageandremovepreviouspages", true)) + {return ((String) Debug.delegate(ba, "showpageandremovepreviouspages", new Object[] {_id}));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pagetoremove = null; +RDebugUtils.currentLine=52887552; + //BA.debugLineNum = 52887552;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; +RDebugUtils.currentLine=52887553; + //BA.debugLineNum = 52887553;BA.debugLine="If GetTopPage = Null Then"; +if (__ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null)== null) { +RDebugUtils.currentLine=52887554; + //BA.debugLineNum = 52887554;BA.debugLine="ShowPage(Id)"; +__ref._showpage /*String*/ (null,_id); +RDebugUtils.currentLine=52887555; + //BA.debugLineNum = 52887555;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=52887557; + //BA.debugLineNum = 52887557;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; +_pi = __ref._getpagefromid /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_id); +RDebugUtils.currentLine=52887558; + //BA.debugLineNum = 52887558;BA.debugLine="CreatePageIfNeeded(pi)"; +__ref._createpageifneeded /*String*/ (null,_pi); +RDebugUtils.currentLine=52887559; + //BA.debugLineNum = 52887559;BA.debugLine="TopPageDisappear"; +__ref._toppagedisappear /*String*/ (null); +RDebugUtils.currentLine=52887563; + //BA.debugLineNum = 52887563;BA.debugLine="For Each Id As String In mStackOfPageIds.AsList"; +{ +final anywheresoftware.b4a.BA.IterableList group8 = __ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._aslist /*anywheresoftware.b4a.objects.collections.List*/ (null); +final int groupLen8 = group8.getSize() +;int index8 = 0; +; +for (; index8 < groupLen8;index8++){ +_id = BA.ObjectToString(group8.Get(index8)); +RDebugUtils.currentLine=52887564; + //BA.debugLineNum = 52887564;BA.debugLine="Dim PageToRemove As B4XPageInfo = GetPageFromId("; +_pagetoremove = __ref._getpagefromid /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,_id); +RDebugUtils.currentLine=52887566; + //BA.debugLineNum = 52887566;BA.debugLine="PageToRemove.Root.RemoveViewFromParent"; +_pagetoremove.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); + } +}; +RDebugUtils.currentLine=52887573; + //BA.debugLineNum = 52887573;BA.debugLine="mStackOfPageIds.Clear"; +__ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._clear /*String*/ (null); +RDebugUtils.currentLine=52887574; + //BA.debugLineNum = 52887574;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; +__ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._add /*String*/ (null,(Object)(_pi.Id /*String*/ )); +RDebugUtils.currentLine=52887575; + //BA.debugLineNum = 52887575;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=52887576; + //BA.debugLineNum = 52887576;BA.debugLine="ShowPageImpl(pi)"; +__ref._showpageimpl /*String*/ (null,_pi); + }; +RDebugUtils.currentLine=52887578; + //BA.debugLineNum = 52887578;BA.debugLine="TopPageAppear"; +__ref._toppageappear /*String*/ (null); +RDebugUtils.currentLine=52887579; + //BA.debugLineNum = 52887579;BA.debugLine="End Sub"; +return ""; +} +public String _activity_actionbarhomeclick(SHARK2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "activity_actionbarhomeclick", true)) + {return ((String) Debug.delegate(ba, "activity_actionbarhomeclick", null));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=52625408; + //BA.debugLineNum = 52625408;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; +RDebugUtils.currentLine=52625409; + //BA.debugLineNum = 52625409;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=52625410; + //BA.debugLineNum = 52625410;BA.debugLine="If pi <> Null Then"; +if (_pi!= null) { +RDebugUtils.currentLine=52625411; + //BA.debugLineNum = 52625411;BA.debugLine="If CloseRequestExists (pi) Then"; +if (__ref._closerequestexists /*boolean*/ (null,_pi)) { +RDebugUtils.currentLine=52625412; + //BA.debugLineNum = 52625412;BA.debugLine="HandleCloseRequest(pi)"; +__ref._handlecloserequest /*void*/ (null,_pi); + }else { +RDebugUtils.currentLine=52625414; + //BA.debugLineNum = 52625414;BA.debugLine="ClosePage(pi.B4XPage)"; +__ref._closepage /*String*/ (null,_pi.B4XPage /*Object*/ ); + }; + }; +RDebugUtils.currentLine=52625417; + //BA.debugLineNum = 52625417;BA.debugLine="End Sub"; +return ""; +} +public boolean _activity_keypress(SHARK2.keymon.com.mx.b4xpagesmanager __ref,int _keycode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "activity_keypress", true)) + {return ((Boolean) Debug.delegate(ba, "activity_keypress", new Object[] {_keycode}));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=53805056; + //BA.debugLineNum = 53805056;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; +RDebugUtils.currentLine=53805057; + //BA.debugLineNum = 53805057;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then"; +if (_keycode==__c.KeyCodes.KEYCODE_BACK) { +RDebugUtils.currentLine=53805058; + //BA.debugLineNum = 53805058;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=53805059; + //BA.debugLineNum = 53805059;BA.debugLine="If CloseRequestExists(pi) Then"; +if (__ref._closerequestexists /*boolean*/ (null,_pi)) { +RDebugUtils.currentLine=53805060; + //BA.debugLineNum = 53805060;BA.debugLine="HandleCloseRequest(pi)"; +__ref._handlecloserequest /*void*/ (null,_pi); + }else { +RDebugUtils.currentLine=53805062; + //BA.debugLineNum = 53805062;BA.debugLine="ClosePage(pi.B4XPage)"; +__ref._closepage /*String*/ (null,_pi.B4XPage /*Object*/ ); + }; +RDebugUtils.currentLine=53805064; + //BA.debugLineNum = 53805064;BA.debugLine="Return True"; +if (true) return __c.True; + }; +RDebugUtils.currentLine=53805066; + //BA.debugLineNum = 53805066;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=53805067; + //BA.debugLineNum = 53805067;BA.debugLine="End Sub"; +return false; +} +public String _activity_pause(SHARK2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +RDebugUtils.currentLine=54657024; + //BA.debugLineNum = 54657024;BA.debugLine="Public Sub Activity_Pause"; +RDebugUtils.currentLine=54657025; + //BA.debugLineNum = 54657025;BA.debugLine="RaiseEventWithResult(GetTopPage, \"B4XPage_Disappe"; +__ref._raiseeventwithresult /*Object*/ (null,__ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_Disappear",(Object[])(__c.Null)); +RDebugUtils.currentLine=54657026; + //BA.debugLineNum = 54657026;BA.debugLine="BackgroundStateChanged(False)"; +__ref._backgroundstatechanged /*String*/ (null,__c.False); +RDebugUtils.currentLine=54657027; + //BA.debugLineNum = 54657027;BA.debugLine="End Sub"; +return ""; +} +public String _raiseevent(SHARK2.keymon.com.mx.b4xpagesmanager __ref,SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _targetpage,String _subname,Object[] _params) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "raiseevent", true)) + {return ((String) Debug.delegate(ba, "raiseevent", new Object[] {_targetpage,_subname,_params}));} +int _length = 0; +RDebugUtils.currentLine=54198272; + //BA.debugLineNum = 54198272;BA.debugLine="Public Sub RaiseEvent (TargetPage As B4XPageInfo,"; +RDebugUtils.currentLine=54198273; + //BA.debugLineNum = 54198273;BA.debugLine="If TargetPage = Null Then Return"; +if (_targetpage== null) { +if (true) return "";}; +RDebugUtils.currentLine=54198274; + //BA.debugLineNum = 54198274;BA.debugLine="Dim length As Int"; +_length = 0; +RDebugUtils.currentLine=54198275; + //BA.debugLineNum = 54198275;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; +if (_params== null) { +_length = (int) (0);} +else { +_length = _params.length;}; +RDebugUtils.currentLine=54198276; + //BA.debugLineNum = 54198276;BA.debugLine="LogEvent(TargetPage, SubName)"; +__ref._logevent /*String*/ (null,_targetpage,_subname); +RDebugUtils.currentLine=54198277; + //BA.debugLineNum = 54198277;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=54198278; + //BA.debugLineNum = 54198278;BA.debugLine="Select length"; +switch (_length) { +case 0: { +RDebugUtils.currentLine=54198280; + //BA.debugLineNum = 54198280;BA.debugLine="CallSubDelayed(TargetPage.B4XPage, SubName)"; +__c.CallSubDelayed(ba,_targetpage.B4XPage /*Object*/ ,_subname); + break; } +case 1: { +RDebugUtils.currentLine=54198282; + //BA.debugLineNum = 54198282;BA.debugLine="CallSubDelayed2(TargetPage.B4XPage, SubName, Pa"; +__c.CallSubDelayed2(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)]); + break; } +case 2: { +RDebugUtils.currentLine=54198284; + //BA.debugLineNum = 54198284;BA.debugLine="CallSubDelayed3(TargetPage.B4XPage, SubName, Pa"; +__c.CallSubDelayed3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)],_params[(int) (1)]); + break; } +default: { +RDebugUtils.currentLine=54198286; + //BA.debugLineNum = 54198286;BA.debugLine="Log(\"Too many parameters\")"; +__c.LogImpl("954198286","Too many parameters",0); + break; } +} +; +RDebugUtils.currentLine=54198288; + //BA.debugLineNum = 54198288;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _gettoppage(SHARK2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "gettoppage", true)) + {return ((SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "gettoppage", null));} +RDebugUtils.currentLine=54394880; + //BA.debugLineNum = 54394880;BA.debugLine="Public Sub GetTopPage As B4XPageInfo"; +RDebugUtils.currentLine=54394881; + //BA.debugLineNum = 54394881;BA.debugLine="If mStackOfPageIds.Size = 0 Then Return Null"; +if (__ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)==0) { +if (true) return (SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__c.Null);}; +RDebugUtils.currentLine=54394882; + //BA.debugLineNum = 54394882;BA.debugLine="Return IdToB4XPage.Get(mStackOfPageIds.AsList.Get"; +if (true) return (SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__ref._idtob4xpage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._get /*Object*/ (null,__ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._aslist /*anywheresoftware.b4a.objects.collections.List*/ (null).Get((int) (__ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)-1)))); +RDebugUtils.currentLine=54394883; + //BA.debugLineNum = 54394883;BA.debugLine="End Sub"; +return null; +} +public String _activity_resume(SHARK2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "activity_resume", true)) + {return ((String) Debug.delegate(ba, "activity_resume", null));} +boolean _shouldraise = false; +RDebugUtils.currentLine=54525952; + //BA.debugLineNum = 54525952;BA.debugLine="Public Sub Activity_Resume"; +RDebugUtils.currentLine=54525953; + //BA.debugLineNum = 54525953;BA.debugLine="Dim ShouldRaise As Boolean = IsForeground = False"; +_shouldraise = __ref._isforeground /*boolean*/ ==__c.False; +RDebugUtils.currentLine=54525954; + //BA.debugLineNum = 54525954;BA.debugLine="BackgroundStateChanged(True)"; +__ref._backgroundstatechanged /*String*/ (null,__c.True); +RDebugUtils.currentLine=54525955; + //BA.debugLineNum = 54525955;BA.debugLine="If ShouldRaise Then"; +if (_shouldraise) { +RDebugUtils.currentLine=54525956; + //BA.debugLineNum = 54525956;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; +__ref._raiseevent /*String*/ (null,__ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null),"B4XPage_Appear",(Object[])(__c.Null)); + }; +RDebugUtils.currentLine=54525958; + //BA.debugLineNum = 54525958;BA.debugLine="End Sub"; +return ""; +} +public String _createmenu(SHARK2.keymon.com.mx.b4xpagesmanager __ref,Object _menu) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createmenu", true)) + {return ((String) Debug.delegate(ba, "createmenu", new Object[] {_menu}));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +anywheresoftware.b4j.object.JavaObject _jo = null; +SHARK2.keymon.com.mx.b4xpagesmanager._b4amenuitem _mi = null; +anywheresoftware.b4j.object.JavaObject _nativemenuitem = null; +anywheresoftware.b4a.objects.drawable.BitmapDrawable _bd = null; +anywheresoftware.b4j.object.JavaObject _listener = null; +RDebugUtils.currentLine=54001664; + //BA.debugLineNum = 54001664;BA.debugLine="Public Sub CreateMenu (Menu As Object)"; +RDebugUtils.currentLine=54001665; + //BA.debugLineNum = 54001665;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=54001666; + //BA.debugLineNum = 54001666;BA.debugLine="If pi = Null Then Return"; +if (_pi== null) { +if (true) return "";}; +RDebugUtils.currentLine=54001667; + //BA.debugLineNum = 54001667;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=54001668; + //BA.debugLineNum = 54001668;BA.debugLine="For Each mi As B4AMenuItem In pi.Parent.MenuItems"; +{ +final anywheresoftware.b4a.BA.IterableList group4 = _pi.Parent /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen4 = group4.getSize() +;int index4 = 0; +; +for (; index4 < groupLen4;index4++){ +_mi = (SHARK2.keymon.com.mx.b4xpagesmanager._b4amenuitem)(group4.Get(index4)); +RDebugUtils.currentLine=54001669; + //BA.debugLineNum = 54001669;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=54001670; + //BA.debugLineNum = 54001670;BA.debugLine="If mi.Bitmap.IsInitialized Then"; +if (_mi.Bitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=54001671; + //BA.debugLineNum = 54001671;BA.debugLine="Dim bd As BitmapDrawable"; +_bd = new anywheresoftware.b4a.objects.drawable.BitmapDrawable(); +RDebugUtils.currentLine=54001672; + //BA.debugLineNum = 54001672;BA.debugLine="bd.Initialize(mi.Bitmap)"; +_bd.Initialize((android.graphics.Bitmap)(_mi.Bitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getObject())); +RDebugUtils.currentLine=54001673; + //BA.debugLineNum = 54001673;BA.debugLine="NativeMenuItem.RunMethod(\"setIcon\", Array(bd))"; +_nativemenuitem.RunMethod("setIcon",new Object[]{(Object)(_bd.getObject())}); + }; +RDebugUtils.currentLine=54001675; + //BA.debugLineNum = 54001675;BA.debugLine="If mi.AddToBar Then"; +if (_mi.AddToBar /*boolean*/ ) { +RDebugUtils.currentLine=54001676; + //BA.debugLineNum = 54001676;BA.debugLine="NativeMenuItem.RunMethod(\"setShowAsAction\", Arr"; +_nativemenuitem.RunMethod("setShowAsAction",new Object[]{(Object)(1)}); + }; +RDebugUtils.currentLine=54001678; + //BA.debugLineNum = 54001678;BA.debugLine="Dim listener As JavaObject"; +_listener = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=54001679; + //BA.debugLineNum = 54001679;BA.debugLine="listener.InitializeNewInstance(Application.Packa"; +_listener.InitializeNewInstance(__c.Application.getPackageName()+".b4xpagesmanager$PagesMenuListener",new Object[]{_pi.B4XPage /*Object*/ ,(Object)(_mi.Tag /*String*/ )}); +RDebugUtils.currentLine=54001680; + //BA.debugLineNum = 54001680;BA.debugLine="NativeMenuItem.RunMethod(\"setOnMenuItemClickList"; +_nativemenuitem.RunMethod("setOnMenuItemClickListener",new Object[]{(Object)(_listener.getObject())}); + } +}; +RDebugUtils.currentLine=54001682; + //BA.debugLineNum = 54001682;BA.debugLine="End Sub"; +return ""; +} +public String _mainform_resize(SHARK2.keymon.com.mx.b4xpagesmanager __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "mainform_resize", true)) + {return ((String) Debug.delegate(ba, "mainform_resize", new Object[] {_width,_height}));} +int _w = 0; +int _h = 0; +RDebugUtils.currentLine=54329344; + //BA.debugLineNum = 54329344;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; +RDebugUtils.currentLine=54329345; + //BA.debugLineNum = 54329345;BA.debugLine="Dim w As Int = Width"; +_w = (int) (_width); +RDebugUtils.currentLine=54329346; + //BA.debugLineNum = 54329346;BA.debugLine="Dim h As Int = Height"; +_h = (int) (_height); +RDebugUtils.currentLine=54329347; + //BA.debugLineNum = 54329347;BA.debugLine="RaiseEvent(GetPageInfoFromRoot(Sender), \"B4XPage_"; +__ref._raiseevent /*String*/ (null,__ref._getpageinfofromroot /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null,(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))),"B4XPage_Resize",new Object[]{(Object)(_w),(Object)(_h)}); +RDebugUtils.currentLine=54329348; + //BA.debugLineNum = 54329348;BA.debugLine="End Sub"; +return ""; +} +public boolean _closerequestexists(SHARK2.keymon.com.mx.b4xpagesmanager __ref,SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "closerequestexists", true)) + {return ((Boolean) Debug.delegate(ba, "closerequestexists", new Object[] {_pi}));} +RDebugUtils.currentLine=54067200; + //BA.debugLineNum = 54067200;BA.debugLine="Private Sub CloseRequestExists (pi As B4XPageInfo)"; +RDebugUtils.currentLine=54067201; + //BA.debugLineNum = 54067201;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=54067202; + //BA.debugLineNum = 54067202;BA.debugLine="End Sub"; +return false; +} +public void _handlecloserequest(SHARK2.keymon.com.mx.b4xpagesmanager __ref,SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "handlecloserequest", true)) + {Debug.delegate(ba, "handlecloserequest", new Object[] {_pi}); return;} +ResumableSub_HandleCloseRequest rsub = new ResumableSub_HandleCloseRequest(this,__ref,_pi); +rsub.resume(ba, null); +} +public static class ResumableSub_HandleCloseRequest extends BA.ResumableSub { +public ResumableSub_HandleCloseRequest(SHARK2.keymon.com.mx.b4xpagesmanager parent,SHARK2.keymon.com.mx.b4xpagesmanager __ref,SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) { +this.parent = parent; +this.__ref = __ref; +this._pi = _pi; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xpagesmanager __ref; +SHARK2.keymon.com.mx.b4xpagesmanager parent; +SHARK2.keymon.com.mx.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=54132737; + //BA.debugLineNum = 54132737;BA.debugLine="LogEvent(pi, \"B4XPage_CloseRequest\")"; +__ref._logevent /*String*/ (null,_pi,"B4XPage_CloseRequest"); +RDebugUtils.currentLine=54132738; + //BA.debugLineNum = 54132738;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=54132739; + //BA.debugLineNum = 54132739;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=54132740; + //BA.debugLineNum = 54132740;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=54132741; + //BA.debugLineNum = 54132741;BA.debugLine="ClosePage(pi.B4XPage)"; +__ref._closepage /*String*/ (null,_pi.B4XPage /*Object*/ ); + if (true) break; + +case 4: +//C +this.state = -1; +; +RDebugUtils.currentLine=54132743; + //BA.debugLineNum = 54132743;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public Object _raiseeventwithresult(SHARK2.keymon.com.mx.b4xpagesmanager __ref,SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _targetpage,String _subname,Object[] _params) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "raiseeventwithresult", true)) + {return ((Object) Debug.delegate(ba, "raiseeventwithresult", new Object[] {_targetpage,_subname,_params}));} +int _length = 0; +RDebugUtils.currentLine=54263808; + //BA.debugLineNum = 54263808;BA.debugLine="Public Sub RaiseEventWithResult (TargetPage As B4X"; +RDebugUtils.currentLine=54263809; + //BA.debugLineNum = 54263809;BA.debugLine="If TargetPage = Null Then Return Null"; +if (_targetpage== null) { +if (true) return __c.Null;}; +RDebugUtils.currentLine=54263810; + //BA.debugLineNum = 54263810;BA.debugLine="Dim length As Int"; +_length = 0; +RDebugUtils.currentLine=54263811; + //BA.debugLineNum = 54263811;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; +if (_params== null) { +_length = (int) (0);} +else { +_length = _params.length;}; +RDebugUtils.currentLine=54263812; + //BA.debugLineNum = 54263812;BA.debugLine="LogEvent(TargetPage, SubName)"; +__ref._logevent /*String*/ (null,_targetpage,_subname); +RDebugUtils.currentLine=54263813; + //BA.debugLineNum = 54263813;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=54263814; + //BA.debugLineNum = 54263814;BA.debugLine="Select length"; +switch (_length) { +case 0: { +RDebugUtils.currentLine=54263816; + //BA.debugLineNum = 54263816;BA.debugLine="Return CallSub(TargetPage.B4XPage, SubName)"; +if (true) return __c.CallSubNew(ba,_targetpage.B4XPage /*Object*/ ,_subname); + break; } +case 1: { +RDebugUtils.currentLine=54263818; + //BA.debugLineNum = 54263818;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=54263820; + //BA.debugLineNum = 54263820;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=54263822; + //BA.debugLineNum = 54263822;BA.debugLine="Log(\"Too many parameters\")"; +__c.LogImpl("954263822","Too many parameters",0); + break; } +} +; +RDebugUtils.currentLine=54263824; + //BA.debugLineNum = 54263824;BA.debugLine="Return Null"; +if (true) return __c.Null; +RDebugUtils.currentLine=54263825; + //BA.debugLineNum = 54263825;BA.debugLine="End Sub"; +return null; +} +public String _backgroundstatechanged(SHARK2.keymon.com.mx.b4xpagesmanager __ref,boolean _newstate) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "backgroundstatechanged", true)) + {return ((String) Debug.delegate(ba, "backgroundstatechanged", new Object[] {_newstate}));} +String _ev = ""; +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=54591488; + //BA.debugLineNum = 54591488;BA.debugLine="Private Sub BackgroundStateChanged (NewState As Bo"; +RDebugUtils.currentLine=54591489; + //BA.debugLineNum = 54591489;BA.debugLine="If IsForeground = NewState Then Return"; +if (__ref._isforeground /*boolean*/ ==_newstate) { +if (true) return "";}; +RDebugUtils.currentLine=54591490; + //BA.debugLineNum = 54591490;BA.debugLine="IsForeground = NewState"; +__ref._isforeground /*boolean*/ = _newstate; +RDebugUtils.currentLine=54591491; + //BA.debugLineNum = 54591491;BA.debugLine="Dim ev As String"; +_ev = ""; +RDebugUtils.currentLine=54591492; + //BA.debugLineNum = 54591492;BA.debugLine="If IsForeground Then ev = \"B4XPage_Foreground\" El"; +if (__ref._isforeground /*boolean*/ ) { +_ev = "B4XPage_Foreground";} +else { +_ev = "B4XPage_Background";}; +RDebugUtils.currentLine=54591493; + //BA.debugLineNum = 54591493;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; +{ +final anywheresoftware.b4a.BA.IterableList group5 = __ref._idtob4xpage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (null); +final int groupLen5 = group5.getSize() +;int index5 = 0; +; +for (; index5 < groupLen5;index5++){ +_pi = (SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(group5.Get(index5)); +RDebugUtils.currentLine=54591494; + //BA.debugLineNum = 54591494;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=54591495; + //BA.debugLineNum = 54591495;BA.debugLine="LogEvent(pi, ev)"; +__ref._logevent /*String*/ (null,_pi,_ev); +RDebugUtils.currentLine=54591496; + //BA.debugLineNum = 54591496;BA.debugLine="If IsForeground Then"; +if (__ref._isforeground /*boolean*/ ) { +RDebugUtils.currentLine=54591497; + //BA.debugLineNum = 54591497;BA.debugLine="CallSubDelayed(pi.B4XPage, ev)"; +__c.CallSubDelayed(ba,_pi.B4XPage /*Object*/ ,_ev); + }else { +RDebugUtils.currentLine=54591499; + //BA.debugLineNum = 54591499;BA.debugLine="CallSub(pi.B4XPage, ev)"; +__c.CallSubNew(ba,_pi.B4XPage /*Object*/ ,_ev); + }; + }; + } +}; +RDebugUtils.currentLine=54591503; + //BA.debugLineNum = 54591503;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _createb4xpageinfo(SHARK2.keymon.com.mx.b4xpagesmanager __ref,Object _b4xpage,String _id,boolean _created,Object _title) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createb4xpageinfo", true)) + {return ((SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "createb4xpageinfo", new Object[] {_b4xpage,_id,_created,_title}));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _t1 = null; +RDebugUtils.currentLine=53739520; + //BA.debugLineNum = 53739520;BA.debugLine="Private Sub CreateB4XPageInfo (B4XPage As Object,"; +RDebugUtils.currentLine=53739521; + //BA.debugLineNum = 53739521;BA.debugLine="Dim t1 As B4XPageInfo"; +_t1 = new SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo(); +RDebugUtils.currentLine=53739522; + //BA.debugLineNum = 53739522;BA.debugLine="t1.Initialize"; +_t1.Initialize(); +RDebugUtils.currentLine=53739523; + //BA.debugLineNum = 53739523;BA.debugLine="t1.B4XPage = B4XPage"; +_t1.B4XPage /*Object*/ = _b4xpage; +RDebugUtils.currentLine=53739524; + //BA.debugLineNum = 53739524;BA.debugLine="t1.Id = Id"; +_t1.Id /*String*/ = _id; +RDebugUtils.currentLine=53739525; + //BA.debugLineNum = 53739525;BA.debugLine="t1.Created = Created"; +_t1.Created /*boolean*/ = _created; +RDebugUtils.currentLine=53739526; + //BA.debugLineNum = 53739526;BA.debugLine="t1.Title = Title"; +_t1.Title /*Object*/ = _title; +RDebugUtils.currentLine=53739527; + //BA.debugLineNum = 53739527;BA.debugLine="Return t1"; +if (true) return _t1; +RDebugUtils.currentLine=53739528; + //BA.debugLineNum = 53739528;BA.debugLine="End Sub"; +return null; +} +public String _createpageifneeded(SHARK2.keymon.com.mx.b4xpagesmanager __ref,SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createpageifneeded", true)) + {return ((String) Debug.delegate(ba, "createpageifneeded", new Object[] {_pi}));} +RDebugUtils.currentLine=53346304; + //BA.debugLineNum = 53346304;BA.debugLine="Private Sub CreatePageIfNeeded(pi As B4XPageInfo)"; +RDebugUtils.currentLine=53346305; + //BA.debugLineNum = 53346305;BA.debugLine="If pi.Created Then Return"; +if (_pi.Created /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=53346306; + //BA.debugLineNum = 53346306;BA.debugLine="pi.IsFirst = IdToB4XPage.Size = 1"; +_pi.IsFirst /*boolean*/ = __ref._idtob4xpage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._getsize /*int*/ (null)==1; +RDebugUtils.currentLine=53346307; + //BA.debugLineNum = 53346307;BA.debugLine="CreatePageImpl (pi)"; +__ref._createpageimpl /*String*/ (null,_pi); +RDebugUtils.currentLine=53346308; + //BA.debugLineNum = 53346308;BA.debugLine="pi.Created = True"; +_pi.Created /*boolean*/ = __c.True; +RDebugUtils.currentLine=53346309; + //BA.debugLineNum = 53346309;BA.debugLine="RootB4XToPage.Put(pi.Root, pi)"; +__ref._rootb4xtopage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._put /*String*/ (null,(Object)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(Object)(_pi)); +RDebugUtils.currentLine=53346310; + //BA.debugLineNum = 53346310;BA.debugLine="LogEvent(pi, \"B4XPage_Created\")"; +__ref._logevent /*String*/ (null,_pi,"B4XPage_Created"); +RDebugUtils.currentLine=53346311; + //BA.debugLineNum = 53346311;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=53346313; + //BA.debugLineNum = 53346313;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _getpagefromid(SHARK2.keymon.com.mx.b4xpagesmanager __ref,String _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "getpagefromid", true)) + {return ((SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "getpagefromid", new Object[] {_id}));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=53608448; + //BA.debugLineNum = 53608448;BA.debugLine="Private Sub GetPageFromId (id As String) As B4XPag"; +RDebugUtils.currentLine=53608449; + //BA.debugLineNum = 53608449;BA.debugLine="Dim pi As B4XPageInfo = IdToB4XPage.Get(id.ToLowe"; +_pi = (SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__ref._idtob4xpage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_id.toLowerCase()))); +RDebugUtils.currentLine=53608450; + //BA.debugLineNum = 53608450;BA.debugLine="If pi = Null Then"; +if (_pi== null) { +RDebugUtils.currentLine=53608451; + //BA.debugLineNum = 53608451;BA.debugLine="Log(\"Error: page id not found: \" & id)"; +__c.LogImpl("953608451","Error: page id not found: "+_id,0); +RDebugUtils.currentLine=53608452; + //BA.debugLineNum = 53608452;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore"; +__c.LogImpl("953608452","Ids: "+BA.ObjectToString(__ref._idtob4xpage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null)),0); + }; +RDebugUtils.currentLine=53608454; + //BA.debugLineNum = 53608454;BA.debugLine="Return pi"; +if (true) return _pi; +RDebugUtils.currentLine=53608455; + //BA.debugLineNum = 53608455;BA.debugLine="End Sub"; +return null; +} +public String _logevent(SHARK2.keymon.com.mx.b4xpagesmanager __ref,SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi,String _ev) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "logevent", true)) + {return ((String) Debug.delegate(ba, "logevent", new Object[] {_pi,_ev}));} +String _msg = ""; +RDebugUtils.currentLine=54722560; + //BA.debugLineNum = 54722560;BA.debugLine="Private Sub LogEvent (pi As B4XPageInfo, ev As Str"; +RDebugUtils.currentLine=54722561; + //BA.debugLineNum = 54722561;BA.debugLine="If LogEvents Then"; +if (__ref._logevents /*boolean*/ ) { +RDebugUtils.currentLine=54722562; + //BA.debugLineNum = 54722562;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=54722563; + //BA.debugLineNum = 54722563;BA.debugLine="Log(msg)"; +__c.LogImpl("954722563",_msg,0); + }; +RDebugUtils.currentLine=54722565; + //BA.debugLineNum = 54722565;BA.debugLine="End Sub"; +return ""; +} +public String _checkmainactivityorientations(SHARK2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "checkmainactivityorientations", true)) + {return ((String) Debug.delegate(ba, "checkmainactivityorientations", null));} +anywheresoftware.b4j.object.JavaObject _jo = null; +anywheresoftware.b4j.object.JavaObject _jme = null; +boolean _isappcompat = false; +anywheresoftware.b4j.object.JavaObject _pi = null; +Object[] _activities = null; +anywheresoftware.b4j.object.JavaObject _act = null; +String _name = ""; +int _screenorientation = 0; +RDebugUtils.currentLine=52559872; + //BA.debugLineNum = 52559872;BA.debugLine="Private Sub CheckMainActivityOrientations"; +RDebugUtils.currentLine=52559874; + //BA.debugLineNum = 52559874;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=52559875; + //BA.debugLineNum = 52559875;BA.debugLine="jo.InitializeContext"; +_jo.InitializeContext(ba); +RDebugUtils.currentLine=52559877; + //BA.debugLineNum = 52559877;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=52559878; + //BA.debugLineNum = 52559878;BA.debugLine="If ActionBar.IsInitialized = False Then"; +if (__ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ .IsInitialized()==__c.False) { +RDebugUtils.currentLine=52559879; + //BA.debugLineNum = 52559879;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=52559880; + //BA.debugLineNum = 52559880;BA.debugLine="Dim IsAppCompat As Boolean = jme.RunMethod(\"chec"; +_isappcompat = BA.ObjectToBoolean(_jme.RunMethod("checkIfAppCompat",new Object[]{(Object)(_jo.getObject())})); +RDebugUtils.currentLine=52559881; + //BA.debugLineNum = 52559881;BA.debugLine="If IsAppCompat Then"; +if (_isappcompat) { +RDebugUtils.currentLine=52559882; + //BA.debugLineNum = 52559882;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=52559886; + //BA.debugLineNum = 52559886;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=52559887; + //BA.debugLineNum = 52559887;BA.debugLine="Dim activities() As Object = pi.GetField(\"activit"; +_activities = (Object[])(_pi.GetField("activities")); +RDebugUtils.currentLine=52559888; + //BA.debugLineNum = 52559888;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=52559889; + //BA.debugLineNum = 52559889;BA.debugLine="Dim name As String = Act.GetField(\"name\")"; +_name = BA.ObjectToString(_act.GetField("name")); +RDebugUtils.currentLine=52559890; + //BA.debugLineNum = 52559890;BA.debugLine="If name.EndsWith(\".main\") Then"; +if (_name.endsWith(".main")) { +RDebugUtils.currentLine=52559891; + //BA.debugLineNum = 52559891;BA.debugLine="Dim screenOrientation As Int = Act.GetField(\"sc"; +_screenorientation = (int)(BA.ObjectToNumber(_act.GetField("screenOrientation"))); +RDebugUtils.currentLine=52559892; + //BA.debugLineNum = 52559892;BA.debugLine="If screenOrientation = -1 Then"; +if (_screenorientation==-1) { +RDebugUtils.currentLine=52559893; + //BA.debugLineNum = 52559893;BA.debugLine="LogColor(\"#SupportedOrientations attribute mus"; +__c.LogImpl("952559893","#SupportedOrientations attribute must be set to landscape or portrait.",__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Red); + }; + }; + } +}; +RDebugUtils.currentLine=52559897; + //BA.debugLineNum = 52559897;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +RDebugUtils.currentLine=52428800; + //BA.debugLineNum = 52428800;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=52428801; + //BA.debugLineNum = 52428801;BA.debugLine="Private IdToB4XPage As B4XOrderedMap"; +_idtob4xpage = new SHARK2.keymon.com.mx.b4xorderedmap(); +RDebugUtils.currentLine=52428802; + //BA.debugLineNum = 52428802;BA.debugLine="Private RootB4XToPage As B4XOrderedMap"; +_rootb4xtopage = new SHARK2.keymon.com.mx.b4xorderedmap(); +RDebugUtils.currentLine=52428804; + //BA.debugLineNum = 52428804;BA.debugLine="Private Context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=52428805; + //BA.debugLineNum = 52428805;BA.debugLine="Type B4XPageParent (NativeType As Activity, MenuI"; +; +RDebugUtils.currentLine=52428806; + //BA.debugLineNum = 52428806;BA.debugLine="Type B4AMenuItem (Title As Object, Bitmap As B4XB"; +; +RDebugUtils.currentLine=52428812; + //BA.debugLineNum = 52428812;BA.debugLine="Type B4XPageInfo (B4XPage As Object, Id As String"; +; +RDebugUtils.currentLine=52428816; + //BA.debugLineNum = 52428816;BA.debugLine="Public mStackOfPageIds As B4XSet"; +_mstackofpageids = new SHARK2.keymon.com.mx.b4xset(); +RDebugUtils.currentLine=52428817; + //BA.debugLineNum = 52428817;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=52428821; + //BA.debugLineNum = 52428821;BA.debugLine="Private mMainForm As Activity"; +_mmainform = new anywheresoftware.b4a.objects.ActivityWrapper(); +RDebugUtils.currentLine=52428822; + //BA.debugLineNum = 52428822;BA.debugLine="Public ShowUpIndicator As Boolean = True"; +_showupindicator = __c.True; +RDebugUtils.currentLine=52428823; + //BA.debugLineNum = 52428823;BA.debugLine="Public ActionBar As JavaObject"; +_actionbar = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=52428827; + //BA.debugLineNum = 52428827;BA.debugLine="Public IsForeground As Boolean"; +_isforeground = false; +RDebugUtils.currentLine=52428828; + //BA.debugLineNum = 52428828;BA.debugLine="Public TransitionAnimationDuration As Int = 100"; +_transitionanimationduration = (int) (100); +RDebugUtils.currentLine=52428829; + //BA.debugLineNum = 52428829;BA.debugLine="Public MainPage As B4XMainPage"; +_mainpage = new SHARK2.keymon.com.mx.b4xmainpage(); +RDebugUtils.currentLine=52428830; + //BA.debugLineNum = 52428830;BA.debugLine="Private StackString As String"; +_stackstring = ""; +RDebugUtils.currentLine=52428831; + //BA.debugLineNum = 52428831;BA.debugLine="Public LogEvents As Boolean = False"; +_logevents = __c.False; +RDebugUtils.currentLine=52428832; + //BA.debugLineNum = 52428832;BA.debugLine="End Sub"; +return ""; +} +public String _closepageimpl(SHARK2.keymon.com.mx.b4xpagesmanager __ref,SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "closepageimpl", true)) + {return ((String) Debug.delegate(ba, "closepageimpl", new Object[] {_pi}));} +anywheresoftware.b4a.objects.IntentWrapper _i = null; +RDebugUtils.currentLine=53215232; + //BA.debugLineNum = 53215232;BA.debugLine="Private Sub ClosePageImpl (pi As B4XPageInfo) 'ign"; +RDebugUtils.currentLine=53215234; + //BA.debugLineNum = 53215234;BA.debugLine="If mStackOfPageIds.Size = 1 Then"; +if (__ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)==1) { +RDebugUtils.currentLine=53215235; + //BA.debugLineNum = 53215235;BA.debugLine="Dim i As Intent"; +_i = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=53215236; + //BA.debugLineNum = 53215236;BA.debugLine="i.Initialize(i.ACTION_MAIN, \"\")"; +_i.Initialize(_i.ACTION_MAIN,""); +RDebugUtils.currentLine=53215237; + //BA.debugLineNum = 53215237;BA.debugLine="i.AddCategory(\"android.intent.category.HOME\")"; +_i.AddCategory("android.intent.category.HOME"); +RDebugUtils.currentLine=53215238; + //BA.debugLineNum = 53215238;BA.debugLine="i.Flags = 0x10000000"; +_i.setFlags(((int)0x10000000)); +RDebugUtils.currentLine=53215239; + //BA.debugLineNum = 53215239;BA.debugLine="StartActivity(i)"; +__c.StartActivity(ba,(Object)(_i.getObject())); + }else { +RDebugUtils.currentLine=53215241; + //BA.debugLineNum = 53215241;BA.debugLine="pi.Root.RemoveViewFromParent"; +_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); + }; +RDebugUtils.currentLine=53215248; + //BA.debugLineNum = 53215248;BA.debugLine="End Sub"; +return ""; +} +public String _toppagedisappear(SHARK2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "toppagedisappear", true)) + {return ((String) Debug.delegate(ba, "toppagedisappear", null));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=53018624; + //BA.debugLineNum = 53018624;BA.debugLine="Private Sub TopPageDisappear"; +RDebugUtils.currentLine=53018625; + //BA.debugLineNum = 53018625;BA.debugLine="If xui.IsB4J Then Return"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +if (true) return "";}; +RDebugUtils.currentLine=53018626; + //BA.debugLineNum = 53018626;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=53018627; + //BA.debugLineNum = 53018627;BA.debugLine="If pi = Null Then Return"; +if (_pi== null) { +if (true) return "";}; +RDebugUtils.currentLine=53018628; + //BA.debugLineNum = 53018628;BA.debugLine="If Not(xui.IsB4i) Then"; +if (__c.Not(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i())) { +RDebugUtils.currentLine=53018629; + //BA.debugLineNum = 53018629;BA.debugLine="If IsForeground Then"; +if (__ref._isforeground /*boolean*/ ) { +RDebugUtils.currentLine=53018630; + //BA.debugLineNum = 53018630;BA.debugLine="RaiseEventWithResult(pi, \"B4XPage_Disappear\", N"; +__ref._raiseeventwithresult /*Object*/ (null,_pi,"B4XPage_Disappear",(Object[])(__c.Null)); + }; + }; +RDebugUtils.currentLine=53018633; + //BA.debugLineNum = 53018633;BA.debugLine="End Sub"; +return ""; +} +public String _showpageimpl(SHARK2.keymon.com.mx.b4xpagesmanager __ref,SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "showpageimpl", true)) + {return ((String) Debug.delegate(ba, "showpageimpl", new Object[] {_pi}));} +anywheresoftware.b4a.objects.PanelWrapper _pnl = null; +RDebugUtils.currentLine=53280768; + //BA.debugLineNum = 53280768;BA.debugLine="Private Sub ShowPageImpl (pi As B4XPageInfo)"; +RDebugUtils.currentLine=53280774; + //BA.debugLineNum = 53280774;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=53280775; + //BA.debugLineNum = 53280775;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=53280776; + //BA.debugLineNum = 53280776;BA.debugLine="If TransitionAnimationDuration > 0 Then"; +if (__ref._transitionanimationduration /*int*/ >0) { +RDebugUtils.currentLine=53280777; + //BA.debugLineNum = 53280777;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=53280778; + //BA.debugLineNum = 53280778;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=53280780; + //BA.debugLineNum = 53280780;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=53280785; + //BA.debugLineNum = 53280785;BA.debugLine="End Sub"; +return ""; +} +public String _toppageappear(SHARK2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "toppageappear", true)) + {return ((String) Debug.delegate(ba, "toppageappear", null));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; +RDebugUtils.currentLine=53084160; + //BA.debugLineNum = 53084160;BA.debugLine="Private Sub TopPageAppear"; +RDebugUtils.currentLine=53084161; + //BA.debugLineNum = 53084161;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; +_pi = __ref._gettoppage /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (null); +RDebugUtils.currentLine=53084162; + //BA.debugLineNum = 53084162;BA.debugLine="If pi = Null Then Return"; +if (_pi== null) { +if (true) return "";}; +RDebugUtils.currentLine=53084163; + //BA.debugLineNum = 53084163;BA.debugLine="pi.Parent.NativeType.Title = pi.Title"; +_pi.Parent /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ .setTitle(BA.ObjectToCharSequence(_pi.Title /*Object*/ )); +RDebugUtils.currentLine=53084164; + //BA.debugLineNum = 53084164;BA.debugLine="If Not(xui.IsB4i) Then"; +if (__c.Not(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i())) { +RDebugUtils.currentLine=53084165; + //BA.debugLineNum = 53084165;BA.debugLine="If IsForeground Then"; +if (__ref._isforeground /*boolean*/ ) { +RDebugUtils.currentLine=53084166; + //BA.debugLineNum = 53084166;BA.debugLine="RaiseEvent(pi, \"B4XPage_Appear\", Null)"; +__ref._raiseevent /*String*/ (null,_pi,"B4XPage_Appear",(Object[])(__c.Null)); + }; + }; +RDebugUtils.currentLine=53084170; + //BA.debugLineNum = 53084170;BA.debugLine="If ShowUpIndicator And ActionBar.IsInitialized Th"; +if (__ref._showupindicator /*boolean*/ && __ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ .IsInitialized()) { +RDebugUtils.currentLine=53084171; + //BA.debugLineNum = 53084171;BA.debugLine="ActionBar.RunMethod(\"setDisplayHomeAsUpEnabled\","; +__ref._actionbar /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("setDisplayHomeAsUpEnabled",new Object[]{(Object)(__ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)>1)}); + }; +RDebugUtils.currentLine=53084173; + //BA.debugLineNum = 53084173;BA.debugLine="UpdateMenuItems"; +__ref._updatemenuitems /*String*/ (null); +RDebugUtils.currentLine=53084175; + //BA.debugLineNum = 53084175;BA.debugLine="UpdateStackString"; +__ref._updatestackstring /*String*/ (null); +RDebugUtils.currentLine=53084176; + //BA.debugLineNum = 53084176;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent _createb4xpageparent(SHARK2.keymon.com.mx.b4xpagesmanager __ref,Object _nativetype) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createb4xpageparent", true)) + {return ((SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent) Debug.delegate(ba, "createb4xpageparent", new Object[] {_nativetype}));} +SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent _t1 = null; +RDebugUtils.currentLine=54460416; + //BA.debugLineNum = 54460416;BA.debugLine="Private Sub CreateB4XPageParent (NativeType As Obj"; +RDebugUtils.currentLine=54460422; + //BA.debugLineNum = 54460422;BA.debugLine="Dim t1 As B4XPageParent"; +_t1 = new SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent(); +RDebugUtils.currentLine=54460423; + //BA.debugLineNum = 54460423;BA.debugLine="t1.Initialize"; +_t1.Initialize(); +RDebugUtils.currentLine=54460424; + //BA.debugLineNum = 54460424;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=54460425; + //BA.debugLineNum = 54460425;BA.debugLine="Return t1"; +if (true) return _t1; +RDebugUtils.currentLine=54460426; + //BA.debugLineNum = 54460426;BA.debugLine="End Sub"; +return null; +} +public String _createpageimpl(SHARK2.keymon.com.mx.b4xpagesmanager __ref,SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "createpageimpl", true)) + {return ((String) Debug.delegate(ba, "createpageimpl", new Object[] {_pi}));} +RDebugUtils.currentLine=53477376; + //BA.debugLineNum = 53477376;BA.debugLine="Private Sub CreatePageImpl (pi As B4XPageInfo)"; +RDebugUtils.currentLine=53477388; + //BA.debugLineNum = 53477388;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=53477389; + //BA.debugLineNum = 53477389;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=53477390; + //BA.debugLineNum = 53477390;BA.debugLine="pi.Parent = CreateB4XPageParent(mMainForm)"; +_pi.Parent /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ = __ref._createb4xpageparent /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ (null,(Object)(__ref._mmainform /*anywheresoftware.b4a.objects.ActivityWrapper*/ .getObject())); +RDebugUtils.currentLine=53477391; + //BA.debugLineNum = 53477391;BA.debugLine="pi.Parent.MenuItems.Initialize"; +_pi.Parent /*SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=53477399; + //BA.debugLineNum = 53477399;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo _getpageinfofromroot(SHARK2.keymon.com.mx.b4xpagesmanager __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "getpageinfofromroot", true)) + {return ((SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo) Debug.delegate(ba, "getpageinfofromroot", new Object[] {_root}));} +RDebugUtils.currentLine=53673984; + //BA.debugLineNum = 53673984;BA.debugLine="Public Sub GetPageInfoFromRoot (Root As B4XView) A"; +RDebugUtils.currentLine=53673985; + //BA.debugLineNum = 53673985;BA.debugLine="Return RootB4XToPage.Get(Root)"; +if (true) return (SHARK2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__ref._rootb4xtopage /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._get /*Object*/ (null,(Object)(_root.getObject()))); +RDebugUtils.currentLine=53673986; + //BA.debugLineNum = 53673986;BA.debugLine="End Sub"; +return null; +} +public String _updatemenuitems(SHARK2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "updatemenuitems", true)) + {return ((String) Debug.delegate(ba, "updatemenuitems", null));} +RDebugUtils.currentLine=53936128; + //BA.debugLineNum = 53936128;BA.debugLine="Private Sub UpdateMenuItems"; +RDebugUtils.currentLine=53936129; + //BA.debugLineNum = 53936129;BA.debugLine="Context.RunMethod(\"invalidateOptionsMenu\", Null)"; +__ref._context /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("invalidateOptionsMenu",(Object[])(__c.Null)); +RDebugUtils.currentLine=53936130; + //BA.debugLineNum = 53936130;BA.debugLine="End Sub"; +return ""; +} +public String _updatestackstring(SHARK2.keymon.com.mx.b4xpagesmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xpagesmanager"; +if (Debug.shouldDelegate(ba, "updatestackstring", true)) + {return ((String) Debug.delegate(ba, "updatestackstring", null));} +anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; +String _id = ""; +RDebugUtils.currentLine=54788096; + //BA.debugLineNum = 54788096;BA.debugLine="Public Sub UpdateStackString"; +RDebugUtils.currentLine=54788097; + //BA.debugLineNum = 54788097;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=54788098; + //BA.debugLineNum = 54788098;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=54788099; + //BA.debugLineNum = 54788099;BA.debugLine="sb.Append(\"[\")"; +_sb.Append("["); +RDebugUtils.currentLine=54788100; + //BA.debugLineNum = 54788100;BA.debugLine="If mStackOfPageIds.Size > 0 Then"; +if (__ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._getsize /*int*/ (null)>0) { +RDebugUtils.currentLine=54788101; + //BA.debugLineNum = 54788101;BA.debugLine="For Each id As String In mStackOfPageIds.AsList"; +{ +final anywheresoftware.b4a.BA.IterableList group5 = __ref._mstackofpageids /*SHARK2.keymon.com.mx.b4xset*/ ._aslist /*anywheresoftware.b4a.objects.collections.List*/ (null); +final int groupLen5 = group5.getSize() +;int index5 = 0; +; +for (; index5 < groupLen5;index5++){ +_id = BA.ObjectToString(group5.Get(index5)); +RDebugUtils.currentLine=54788102; + //BA.debugLineNum = 54788102;BA.debugLine="sb.Append(id).Append(\", \")"; +_sb.Append(_id).Append(", "); + } +}; +RDebugUtils.currentLine=54788104; + //BA.debugLineNum = 54788104;BA.debugLine="sb.Remove(sb.Length - 2, sb.Length)"; +_sb.Remove((int) (_sb.getLength()-2),_sb.getLength()); + }; +RDebugUtils.currentLine=54788106; + //BA.debugLineNum = 54788106;BA.debugLine="sb.Append(\"]\")"; +_sb.Append("]"); +RDebugUtils.currentLine=54788107; + //BA.debugLineNum = 54788107;BA.debugLine="StackString = sb.ToString"; +__ref._stackstring /*String*/ = _sb.ToString(); +RDebugUtils.currentLine=54788108; + //BA.debugLineNum = 54788108;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/SHARK2/keymon/com/mx/b4xplusminus.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xplusminus.java new file mode 100644 index 0000000..b6223e8 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xplusminus.java @@ -0,0 +1,849 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xplusminus"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.b4xformatter _formatter = null; +public boolean _stringmode = false; +public int _size = 0; +public boolean _mhaptic = false; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(SHARK2.keymon.com.mx.b4xplusminus __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=70254592; + //BA.debugLineNum = 70254592;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=70254593; + //BA.debugLineNum = 70254593;BA.debugLine="If Formation = \"Horizontal\" Then"; +if ((__ref._formation /*String*/ ).equals("Horizontal")) { +RDebugUtils.currentLine=70254594; + //BA.debugLineNum = 70254594;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=70254595; + //BA.debugLineNum = 70254595;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=70254596; + //BA.debugLineNum = 70254596;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=70254597; + //BA.debugLineNum = 70254597;BA.debugLine="Else if Formation = \"Vertical\" Then"; +if ((__ref._formation /*String*/ ).equals("Vertical")) { +RDebugUtils.currentLine=70254598; + //BA.debugLineNum = 70254598;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=70254599; + //BA.debugLineNum = 70254599;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=70254600; + //BA.debugLineNum = 70254600;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=70254602; + //BA.debugLineNum = 70254602;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=70254603; + //BA.debugLineNum = 70254603;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=70254604; + //BA.debugLineNum = 70254604;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=70254606; + //BA.debugLineNum = 70254606;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=70254607; + //BA.debugLineNum = 70254607;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=70254608; + //BA.debugLineNum = 70254608;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +RDebugUtils.currentLine=70057984; + //BA.debugLineNum = 70057984;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=70057985; + //BA.debugLineNum = 70057985;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=70057986; + //BA.debugLineNum = 70057986;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=70057987; + //BA.debugLineNum = 70057987;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=70057988; + //BA.debugLineNum = 70057988;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=70057989; + //BA.debugLineNum = 70057989;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=70057990; + //BA.debugLineNum = 70057990;BA.debugLine="Public pnlPlus, pnlMinus As B4XView"; +_pnlplus = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnlminus = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=70057991; + //BA.debugLineNum = 70057991;BA.debugLine="Public lblPlus, lblMinus As B4XView"; +_lblplus = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lblminus = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=70057992; + //BA.debugLineNum = 70057992;BA.debugLine="Public Formation As String"; +_formation = ""; +RDebugUtils.currentLine=70057993; + //BA.debugLineNum = 70057993;BA.debugLine="Public mCyclic As Boolean"; +_mcyclic = false; +RDebugUtils.currentLine=70057994; + //BA.debugLineNum = 70057994;BA.debugLine="Public mRapid As Boolean"; +_mrapid = false; +RDebugUtils.currentLine=70057995; + //BA.debugLineNum = 70057995;BA.debugLine="Public MainLabel As B4XView"; +_mainlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=70057996; + //BA.debugLineNum = 70057996;BA.debugLine="Public ArrowsSize As Int = 30dip"; +_arrowssize = __c.DipToCurrent((int) (30)); +RDebugUtils.currentLine=70057997; + //BA.debugLineNum = 70057997;BA.debugLine="Private mStringItems As List"; +_mstringitems = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=70057998; + //BA.debugLineNum = 70057998;BA.debugLine="Private mStartRange, mInterval, mEndRange As Doub"; +_mstartrange = 0; +_minterval = 0; +_mendrange = 0; +RDebugUtils.currentLine=70057999; + //BA.debugLineNum = 70057999;BA.debugLine="Private mSelectedIndex As Int = -1"; +_mselectedindex = (int) (-1); +RDebugUtils.currentLine=70058000; + //BA.debugLineNum = 70058000;BA.debugLine="Private LoopIndex As Int"; +_loopindex = 0; +RDebugUtils.currentLine=70058001; + //BA.debugLineNum = 70058001;BA.debugLine="Public RapidPeriod1 As Int = 1000"; +_rapidperiod1 = (int) (1000); +RDebugUtils.currentLine=70058002; + //BA.debugLineNum = 70058002;BA.debugLine="Public RapidPeriod2 As Int = 30"; +_rapidperiod2 = (int) (30); +RDebugUtils.currentLine=70058003; + //BA.debugLineNum = 70058003;BA.debugLine="Public Formatter As B4XFormatter"; +_formatter = new SHARK2.keymon.com.mx.b4xformatter(); +RDebugUtils.currentLine=70058004; + //BA.debugLineNum = 70058004;BA.debugLine="Private StringMode As Boolean"; +_stringmode = false; +RDebugUtils.currentLine=70058005; + //BA.debugLineNum = 70058005;BA.debugLine="Private Size As Int"; +_size = 0; +RDebugUtils.currentLine=70058006; + //BA.debugLineNum = 70058006;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=70058007; + //BA.debugLineNum = 70058007;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _createlabel(SHARK2.keymon.com.mx.b4xplusminus __ref,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "createlabel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "createlabel", new Object[] {_text}));} +anywheresoftware.b4a.objects.LabelWrapper _lbl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +RDebugUtils.currentLine=71041024; + //BA.debugLineNum = 71041024;BA.debugLine="Private Sub CreateLabel (text As String) As B4XVie"; +RDebugUtils.currentLine=71041025; + //BA.debugLineNum = 71041025;BA.debugLine="Dim lbl As Label"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=71041026; + //BA.debugLineNum = 71041026;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(ba,""); +RDebugUtils.currentLine=71041027; + //BA.debugLineNum = 71041027;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=71041028; + //BA.debugLineNum = 71041028;BA.debugLine="xlbl.Font = xui.CreateMaterialIcons(30)"; +_xlbl.setFont(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateMaterialIcons((float) (30))); +RDebugUtils.currentLine=71041029; + //BA.debugLineNum = 71041029;BA.debugLine="xlbl.Text = text"; +_xlbl.setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=71041030; + //BA.debugLineNum = 71041030;BA.debugLine="xlbl.TextColor = MainLabel.TextColor"; +_xlbl.setTextColor(__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor()); +RDebugUtils.currentLine=71041031; + //BA.debugLineNum = 71041031;BA.debugLine="Return xlbl"; +if (true) return _xlbl; +RDebugUtils.currentLine=71041032; + //BA.debugLineNum = 71041032;BA.debugLine="End Sub"; +return null; +} +public String _decrement(SHARK2.keymon.com.mx.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "decrement", true)) + {return ((String) Debug.delegate(ba, "decrement", null));} +RDebugUtils.currentLine=70778880; + //BA.debugLineNum = 70778880;BA.debugLine="Public Sub Decrement"; +RDebugUtils.currentLine=70778881; + //BA.debugLineNum = 70778881;BA.debugLine="If mSelectedIndex <= 0 Then"; +if (__ref._mselectedindex /*int*/ <=0) { +RDebugUtils.currentLine=70778882; + //BA.debugLineNum = 70778882;BA.debugLine="If mCyclic Then"; +if (__ref._mcyclic /*boolean*/ ) { +RDebugUtils.currentLine=70778883; + //BA.debugLineNum = 70778883;BA.debugLine="mSelectedIndex = Size"; +__ref._mselectedindex /*int*/ = __ref._size /*int*/ ; + }else { +RDebugUtils.currentLine=70778885; + //BA.debugLineNum = 70778885;BA.debugLine="mSelectedIndex = 0"; +__ref._mselectedindex /*int*/ = (int) (0); +RDebugUtils.currentLine=70778886; + //BA.debugLineNum = 70778886;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=70778887; + //BA.debugLineNum = 70778887;BA.debugLine="Return"; +if (true) return ""; + }; + }; +RDebugUtils.currentLine=70778890; + //BA.debugLineNum = 70778890;BA.debugLine="SetIndex(mSelectedIndex - 1, True)"; +__ref._setindex /*String*/ (null,(int) (__ref._mselectedindex /*int*/ -1),__c.True); +RDebugUtils.currentLine=70778891; + //BA.debugLineNum = 70778891;BA.debugLine="End Sub"; +return ""; +} +public String _setindex(SHARK2.keymon.com.mx.b4xplusminus __ref,int _i,boolean _raiseevent) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "setindex", true)) + {return ((String) Debug.delegate(ba, "setindex", new Object[] {_i,_raiseevent}));} +Object _value = null; +RDebugUtils.currentLine=70647808; + //BA.debugLineNum = 70647808;BA.debugLine="Private Sub SetIndex(i As Int, RaiseEvent As Boole"; +RDebugUtils.currentLine=70647809; + //BA.debugLineNum = 70647809;BA.debugLine="If i >= Size Then i = -1"; +if (_i>=__ref._size /*int*/ ) { +_i = (int) (-1);}; +RDebugUtils.currentLine=70647810; + //BA.debugLineNum = 70647810;BA.debugLine="mSelectedIndex = i"; +__ref._mselectedindex /*int*/ = _i; +RDebugUtils.currentLine=70647811; + //BA.debugLineNum = 70647811;BA.debugLine="If mSelectedIndex = -1 Then"; +if (__ref._mselectedindex /*int*/ ==-1) { +RDebugUtils.currentLine=70647812; + //BA.debugLineNum = 70647812;BA.debugLine="MainLabel.Text = \"\""; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence("")); + }else { +RDebugUtils.currentLine=70647814; + //BA.debugLineNum = 70647814;BA.debugLine="Dim value As Object = GetValueImpl (mSelectedInd"; +_value = __ref._getvalueimpl /*Object*/ (null,__ref._mselectedindex /*int*/ ); +RDebugUtils.currentLine=70647815; + //BA.debugLineNum = 70647815;BA.debugLine="If StringMode Then"; +if (__ref._stringmode /*boolean*/ ) { +RDebugUtils.currentLine=70647816; + //BA.debugLineNum = 70647816;BA.debugLine="InternalSetTextOrCSBuilderToLabel(MainLabel, va"; +__ref._internalsettextorcsbuildertolabel /*String*/ (null,__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_value); + }else { +RDebugUtils.currentLine=70647818; + //BA.debugLineNum = 70647818;BA.debugLine="MainLabel.Text = Formatter.Format(value)"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._formatter /*SHARK2.keymon.com.mx.b4xformatter*/ ._format /*String*/ (null,(double)(BA.ObjectToNumber(_value))))); + }; +RDebugUtils.currentLine=70647820; + //BA.debugLineNum = 70647820;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=70647821; + //BA.debugLineNum = 70647821;BA.debugLine="CallSub2(mCallBack, mEventName & \"_valuechanged"; +__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_valuechanged",_value); + }; + }; +RDebugUtils.currentLine=70647824; + //BA.debugLineNum = 70647824;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=70647825; + //BA.debugLineNum = 70647825;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=70647826; + //BA.debugLineNum = 70647826;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(SHARK2.keymon.com.mx.b4xplusminus __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +RDebugUtils.currentLine=70189056; + //BA.debugLineNum = 70189056;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; +RDebugUtils.currentLine=70189057; + //BA.debugLineNum = 70189057;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=70189058; + //BA.debugLineNum = 70189058;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=70189058; + //BA.debugLineNum = 70189058;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=70189059; + //BA.debugLineNum = 70189059;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=70189060; + //BA.debugLineNum = 70189060;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=70189061; + //BA.debugLineNum = 70189061;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=70189071; + //BA.debugLineNum = 70189071;BA.debugLine="pnlPlus = xui.CreatePanel(\"pnlArrow\")"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnlArrow"); +RDebugUtils.currentLine=70189072; + //BA.debugLineNum = 70189072;BA.debugLine="pnlMinus = xui.CreatePanel(\"pnlArrow\")"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnlArrow"); +RDebugUtils.currentLine=70189074; + //BA.debugLineNum = 70189074;BA.debugLine="pnlPlus.Tag = True"; +__ref._pnlplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)(__c.True)); +RDebugUtils.currentLine=70189075; + //BA.debugLineNum = 70189075;BA.debugLine="pnlMinus.Tag = False"; +__ref._pnlminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag((Object)(__c.False)); +RDebugUtils.currentLine=70189076; + //BA.debugLineNum = 70189076;BA.debugLine="Formation = Props.Get(\"Orientation\")"; +__ref._formation /*String*/ = BA.ObjectToString(_props.Get((Object)("Orientation"))); +RDebugUtils.currentLine=70189077; + //BA.debugLineNum = 70189077;BA.debugLine="mCyclic = Props.Get(\"Cyclic\")"; +__ref._mcyclic /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Cyclic"))); +RDebugUtils.currentLine=70189078; + //BA.debugLineNum = 70189078;BA.debugLine="mRapid = Props.Get(\"Rapid\")"; +__ref._mrapid /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Rapid"))); +RDebugUtils.currentLine=70189079; + //BA.debugLineNum = 70189079;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=70189080; + //BA.debugLineNum = 70189080;BA.debugLine="Formatter.GetDefaultFormat.FormatFont = MainLabel"; +__ref._formatter /*SHARK2.keymon.com.mx.b4xformatter*/ ._getdefaultformat /*SHARK2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null).FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = __ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getFont(); +RDebugUtils.currentLine=70189081; + //BA.debugLineNum = 70189081;BA.debugLine="Formatter.GetDefaultFormat.TextColor = MainLabel."; +__ref._formatter /*SHARK2.keymon.com.mx.b4xformatter*/ ._getdefaultformat /*SHARK2.keymon.com.mx.b4xformatter._b4xformatdata*/ (null).TextColor /*int*/ = __ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTextColor(); +RDebugUtils.currentLine=70189082; + //BA.debugLineNum = 70189082;BA.debugLine="If Formation = \"Horizontal\" Then"; +if ((__ref._formation /*String*/ ).equals("Horizontal")) { +RDebugUtils.currentLine=70189083; + //BA.debugLineNum = 70189083;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=70189084; + //BA.debugLineNum = 70189084;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=70189086; + //BA.debugLineNum = 70189086;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=70189087; + //BA.debugLineNum = 70189087;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=70189089; + //BA.debugLineNum = 70189089;BA.debugLine="lblMinus.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._lblminus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=70189090; + //BA.debugLineNum = 70189090;BA.debugLine="lblPlus.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._lblplus /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=70189091; + //BA.debugLineNum = 70189091;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._mainlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=70189092; + //BA.debugLineNum = 70189092;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=70189093; + //BA.debugLineNum = 70189093;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=70189094; + //BA.debugLineNum = 70189094;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=70189095; + //BA.debugLineNum = 70189095;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=70189096; + //BA.debugLineNum = 70189096;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=70189097; + //BA.debugLineNum = 70189097;BA.debugLine="SetIndex(-1, False)"; +__ref._setindex /*String*/ (null,(int) (-1),__c.False); +RDebugUtils.currentLine=70189098; + //BA.debugLineNum = 70189098;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=70189099; + //BA.debugLineNum = 70189099;BA.debugLine="End Sub"; +return ""; +} +public Object _getselectedvalue(SHARK2.keymon.com.mx.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "getselectedvalue", true)) + {return ((Object) Debug.delegate(ba, "getselectedvalue", null));} +RDebugUtils.currentLine=70451200; + //BA.debugLineNum = 70451200;BA.debugLine="Public Sub getSelectedValue As Object"; +RDebugUtils.currentLine=70451201; + //BA.debugLineNum = 70451201;BA.debugLine="Return GetValueImpl (mSelectedIndex)"; +if (true) return __ref._getvalueimpl /*Object*/ (null,__ref._mselectedindex /*int*/ ); +RDebugUtils.currentLine=70451202; + //BA.debugLineNum = 70451202;BA.debugLine="End Sub"; +return null; +} +public Object _getvalueimpl(SHARK2.keymon.com.mx.b4xplusminus __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "getvalueimpl", true)) + {return ((Object) Debug.delegate(ba, "getvalueimpl", new Object[] {_index}));} +RDebugUtils.currentLine=70582272; + //BA.debugLineNum = 70582272;BA.debugLine="Private Sub GetValueImpl (Index As Int) As Object"; +RDebugUtils.currentLine=70582273; + //BA.debugLineNum = 70582273;BA.debugLine="If StringMode Then"; +if (__ref._stringmode /*boolean*/ ) { +RDebugUtils.currentLine=70582274; + //BA.debugLineNum = 70582274;BA.debugLine="Return mStringItems.Get(Index)"; +if (true) return __ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ .Get(_index); + }else { +RDebugUtils.currentLine=70582276; + //BA.debugLineNum = 70582276;BA.debugLine="If Index = Size - 1 Then"; +if (_index==__ref._size /*int*/ -1) { +RDebugUtils.currentLine=70582277; + //BA.debugLineNum = 70582277;BA.debugLine="Return mEndRange"; +if (true) return (Object)(__ref._mendrange /*double*/ ); + }else { +RDebugUtils.currentLine=70582279; + //BA.debugLineNum = 70582279;BA.debugLine="Return mStartRange + Index * mInterval"; +if (true) return (Object)(__ref._mstartrange /*double*/ +_index*__ref._minterval /*double*/ ); + }; + }; +RDebugUtils.currentLine=70582282; + //BA.debugLineNum = 70582282;BA.debugLine="End Sub"; +return null; +} +public String _increment(SHARK2.keymon.com.mx.b4xplusminus __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "increment", true)) + {return ((String) Debug.delegate(ba, "increment", null));} +double _v1 = 0; +double _v2 = 0; +RDebugUtils.currentLine=70713344; + //BA.debugLineNum = 70713344;BA.debugLine="Public Sub Increment"; +RDebugUtils.currentLine=70713345; + //BA.debugLineNum = 70713345;BA.debugLine="If mSelectedIndex = Size - 3 And StringMode = Fal"; +if (__ref._mselectedindex /*int*/ ==__ref._size /*int*/ -3 && __ref._stringmode /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=70713346; + //BA.debugLineNum = 70713346;BA.debugLine="Dim v1 As Double = GetValueImpl(mSelectedIndex +"; +_v1 = (double)(BA.ObjectToNumber(__ref._getvalueimpl /*Object*/ (null,(int) (__ref._mselectedindex /*int*/ +1)))); +RDebugUtils.currentLine=70713347; + //BA.debugLineNum = 70713347;BA.debugLine="Dim v2 As Double = GetValueImpl(mSelectedIndex +"; +_v2 = (double)(BA.ObjectToNumber(__ref._getvalueimpl /*Object*/ (null,(int) (__ref._mselectedindex /*int*/ +2)))); +RDebugUtils.currentLine=70713348; + //BA.debugLineNum = 70713348;BA.debugLine="If Formatter.Format(v1) = Formatter.Format(v2) T"; +if ((__ref._formatter /*SHARK2.keymon.com.mx.b4xformatter*/ ._format /*String*/ (null,_v1)).equals(__ref._formatter /*SHARK2.keymon.com.mx.b4xformatter*/ ._format /*String*/ (null,_v2))) { +RDebugUtils.currentLine=70713349; + //BA.debugLineNum = 70713349;BA.debugLine="mSelectedIndex = mSelectedIndex + 1"; +__ref._mselectedindex /*int*/ = (int) (__ref._mselectedindex /*int*/ +1); + }; + }; +RDebugUtils.currentLine=70713352; + //BA.debugLineNum = 70713352;BA.debugLine="If mSelectedIndex >= Size - 1 Then"; +if (__ref._mselectedindex /*int*/ >=__ref._size /*int*/ -1) { +RDebugUtils.currentLine=70713353; + //BA.debugLineNum = 70713353;BA.debugLine="If mCyclic Then"; +if (__ref._mcyclic /*boolean*/ ) { +RDebugUtils.currentLine=70713354; + //BA.debugLineNum = 70713354;BA.debugLine="mSelectedIndex = -1"; +__ref._mselectedindex /*int*/ = (int) (-1); + }else { +RDebugUtils.currentLine=70713356; + //BA.debugLineNum = 70713356;BA.debugLine="mSelectedIndex = Size - 1"; +__ref._mselectedindex /*int*/ = (int) (__ref._size /*int*/ -1); +RDebugUtils.currentLine=70713357; + //BA.debugLineNum = 70713357;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=70713358; + //BA.debugLineNum = 70713358;BA.debugLine="Return"; +if (true) return ""; + }; + }; +RDebugUtils.currentLine=70713361; + //BA.debugLineNum = 70713361;BA.debugLine="SetIndex(mSelectedIndex + 1, True)"; +__ref._setindex /*String*/ (null,(int) (__ref._mselectedindex /*int*/ +1),__c.True); +RDebugUtils.currentLine=70713362; + //BA.debugLineNum = 70713362;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.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=70123520; + //BA.debugLineNum = 70123520;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=70123521; + //BA.debugLineNum = 70123521;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=70123522; + //BA.debugLineNum = 70123522;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=70123523; + //BA.debugLineNum = 70123523;BA.debugLine="Formatter.Initialize"; +__ref._formatter /*SHARK2.keymon.com.mx.b4xformatter*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=70123524; + //BA.debugLineNum = 70123524;BA.debugLine="End Sub"; +return ""; +} +public String _internalsettextorcsbuildertolabel(SHARK2.keymon.com.mx.b4xplusminus __ref,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "internalsettextorcsbuildertolabel", true)) + {return ((String) Debug.delegate(ba, "internalsettextorcsbuildertolabel", new Object[] {_xlbl,_text}));} +RDebugUtils.currentLine=71106560; + //BA.debugLineNum = 71106560;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +RDebugUtils.currentLine=71106562; + //BA.debugLineNum = 71106562;BA.debugLine="xlbl.Text = Text"; +_xlbl.setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=71106572; + //BA.debugLineNum = 71106572;BA.debugLine="End Sub"; +return ""; +} +public String _pnlarrow_touch(SHARK2.keymon.com.mx.b4xplusminus __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "pnlarrow_touch", true)) + {return ((String) Debug.delegate(ba, "pnlarrow_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=70844416; + //BA.debugLineNum = 70844416;BA.debugLine="Private Sub pnlArrow_Touch (Action As Int, X As Fl"; +RDebugUtils.currentLine=70844417; + //BA.debugLineNum = 70844417;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=70844418; + //BA.debugLineNum = 70844418;BA.debugLine="End Sub"; +return ""; +} +public String _touch(SHARK2.keymon.com.mx.b4xplusminus __ref,boolean _start,boolean _stop,anywheresoftware.b4a.objects.B4XViewWrapper _pnl) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "touch", true)) + {return ((String) Debug.delegate(ba, "touch", new Object[] {_start,_stop,_pnl}));} +RDebugUtils.currentLine=70909952; + //BA.debugLineNum = 70909952;BA.debugLine="Private Sub Touch (Start As Boolean, Stop As Boole"; +RDebugUtils.currentLine=70909953; + //BA.debugLineNum = 70909953;BA.debugLine="If pnl.GetView(0).Enabled = False Then Return"; +if (_pnl.GetView((int) (0)).getEnabled()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=70909954; + //BA.debugLineNum = 70909954;BA.debugLine="If Start Then"; +if (_start) { +RDebugUtils.currentLine=70909955; + //BA.debugLineNum = 70909955;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,_pnl);}; +RDebugUtils.currentLine=70909956; + //BA.debugLineNum = 70909956;BA.debugLine="If pnl.Tag = True Then"; +if ((_pnl.getTag()).equals((Object)(__c.True))) { +RDebugUtils.currentLine=70909957; + //BA.debugLineNum = 70909957;BA.debugLine="Increment"; +__ref._increment /*String*/ (null); +RDebugUtils.currentLine=70909958; + //BA.debugLineNum = 70909958;BA.debugLine="StartDownLoop(True)"; +__ref._startdownloop /*void*/ (null,__c.True); + }else { +RDebugUtils.currentLine=70909960; + //BA.debugLineNum = 70909960;BA.debugLine="Decrement"; +__ref._decrement /*String*/ (null); +RDebugUtils.currentLine=70909961; + //BA.debugLineNum = 70909961;BA.debugLine="StartDownLoop(False)"; +__ref._startdownloop /*void*/ (null,__c.False); + }; + }else +{RDebugUtils.currentLine=70909963; + //BA.debugLineNum = 70909963;BA.debugLine="Else If Stop Then"; +if (_stop) { +RDebugUtils.currentLine=70909964; + //BA.debugLineNum = 70909964;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); + }} +; +RDebugUtils.currentLine=70909966; + //BA.debugLineNum = 70909966;BA.debugLine="End Sub"; +return ""; +} +public String _setnumericrange(SHARK2.keymon.com.mx.b4xplusminus __ref,double _startrange,double _endrange,double _interval) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "setnumericrange", true)) + {return ((String) Debug.delegate(ba, "setnumericrange", new Object[] {_startrange,_endrange,_interval}));} +RDebugUtils.currentLine=70385664; + //BA.debugLineNum = 70385664;BA.debugLine="Public Sub SetNumericRange (StartRange As Double,"; +RDebugUtils.currentLine=70385665; + //BA.debugLineNum = 70385665;BA.debugLine="Size = Ceil((EndRange - StartRange) / Interval) +"; +__ref._size /*int*/ = (int) (__c.Ceil((_endrange-_startrange)/(double)_interval)+1); +RDebugUtils.currentLine=70385666; + //BA.debugLineNum = 70385666;BA.debugLine="mStartRange = StartRange"; +__ref._mstartrange /*double*/ = _startrange; +RDebugUtils.currentLine=70385667; + //BA.debugLineNum = 70385667;BA.debugLine="mEndRange = EndRange"; +__ref._mendrange /*double*/ = _endrange; +RDebugUtils.currentLine=70385668; + //BA.debugLineNum = 70385668;BA.debugLine="mInterval = Interval"; +__ref._minterval /*double*/ = _interval; +RDebugUtils.currentLine=70385669; + //BA.debugLineNum = 70385669;BA.debugLine="StringMode = False"; +__ref._stringmode /*boolean*/ = __c.False; +RDebugUtils.currentLine=70385670; + //BA.debugLineNum = 70385670;BA.debugLine="SetIndex(0, False)"; +__ref._setindex /*String*/ (null,(int) (0),__c.False); +RDebugUtils.currentLine=70385671; + //BA.debugLineNum = 70385671;BA.debugLine="End Sub"; +return ""; +} +public String _setselectedvalue(SHARK2.keymon.com.mx.b4xplusminus __ref,Object _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "setselectedvalue", true)) + {return ((String) Debug.delegate(ba, "setselectedvalue", new Object[] {_v}));} +double _n = 0; +RDebugUtils.currentLine=70516736; + //BA.debugLineNum = 70516736;BA.debugLine="Public Sub setSelectedValue (v As Object)"; +RDebugUtils.currentLine=70516737; + //BA.debugLineNum = 70516737;BA.debugLine="If StringMode Then"; +if (__ref._stringmode /*boolean*/ ) { +RDebugUtils.currentLine=70516738; + //BA.debugLineNum = 70516738;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=70516740; + //BA.debugLineNum = 70516740;BA.debugLine="Dim n As Double = v"; +_n = (double)(BA.ObjectToNumber(_v)); +RDebugUtils.currentLine=70516741; + //BA.debugLineNum = 70516741;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=70516743; + //BA.debugLineNum = 70516743;BA.debugLine="End Sub"; +return ""; +} +public String _setstringitems(SHARK2.keymon.com.mx.b4xplusminus __ref,anywheresoftware.b4a.objects.collections.List _list) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "setstringitems", true)) + {return ((String) Debug.delegate(ba, "setstringitems", new Object[] {_list}));} +RDebugUtils.currentLine=70320128; + //BA.debugLineNum = 70320128;BA.debugLine="Public Sub SetStringItems (list As List)"; +RDebugUtils.currentLine=70320129; + //BA.debugLineNum = 70320129;BA.debugLine="mStringItems = list"; +__ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ = _list; +RDebugUtils.currentLine=70320130; + //BA.debugLineNum = 70320130;BA.debugLine="StringMode = True"; +__ref._stringmode /*boolean*/ = __c.True; +RDebugUtils.currentLine=70320131; + //BA.debugLineNum = 70320131;BA.debugLine="Size = mStringItems.Size"; +__ref._size /*int*/ = __ref._mstringitems /*anywheresoftware.b4a.objects.collections.List*/ .getSize(); +RDebugUtils.currentLine=70320132; + //BA.debugLineNum = 70320132;BA.debugLine="SetIndex(-1, False)"; +__ref._setindex /*String*/ (null,(int) (-1),__c.False); +RDebugUtils.currentLine=70320133; + //BA.debugLineNum = 70320133;BA.debugLine="End Sub"; +return ""; +} +public void _startdownloop(SHARK2.keymon.com.mx.b4xplusminus __ref,boolean _up) throws Exception{ +RDebugUtils.currentModule="b4xplusminus"; +if (Debug.shouldDelegate(ba, "startdownloop", true)) + {Debug.delegate(ba, "startdownloop", new Object[] {_up}); return;} +ResumableSub_StartDownLoop rsub = new ResumableSub_StartDownLoop(this,__ref,_up); +rsub.resume(ba, null); +} +public static class ResumableSub_StartDownLoop extends BA.ResumableSub { +public ResumableSub_StartDownLoop(SHARK2.keymon.com.mx.b4xplusminus parent,SHARK2.keymon.com.mx.b4xplusminus __ref,boolean _up) { +this.parent = parent; +this.__ref = __ref; +this._up = _up; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xplusminus __ref; +SHARK2.keymon.com.mx.b4xplusminus parent; +boolean _up; +int _myindex = 0; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xplusminus"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=70975489; + //BA.debugLineNum = 70975489;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=70975490; + //BA.debugLineNum = 70975490;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=70975491; + //BA.debugLineNum = 70975491;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +_myindex = __ref._loopindex /*int*/ ; +RDebugUtils.currentLine=70975492; + //BA.debugLineNum = 70975492;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=70975493; + //BA.debugLineNum = 70975493;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=70975494; + //BA.debugLineNum = 70975494;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=70975495; + //BA.debugLineNum = 70975495;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=70975497; + //BA.debugLineNum = 70975497;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xradiobutton.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xradiobutton.java new file mode 100644 index 0000000..3349133 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xradiobutton.java @@ -0,0 +1,792 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xradiobutton"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(SHARK2.keymon.com.mx.b4xradiobutton __ref,double _width1,double _height1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width1,_height1}));} +int _newsize = 0; +int _gap = 0; +RDebugUtils.currentLine=71368704; + //BA.debugLineNum = 71368704;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; +RDebugUtils.currentLine=71368705; + //BA.debugLineNum = 71368705;BA.debugLine="Dim NewSize As Int = Max(5dip, Height1)"; +_newsize = (int) (__c.Max(__c.DipToCurrent((int) (5)),_height1)); +RDebugUtils.currentLine=71368706; + //BA.debugLineNum = 71368706;BA.debugLine="If NewSize = Size Then Return"; +if (_newsize==__ref._size /*int*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=71368707; + //BA.debugLineNum = 71368707;BA.debugLine="Size = NewSize"; +__ref._size /*int*/ = _newsize; +RDebugUtils.currentLine=71368708; + //BA.debugLineNum = 71368708;BA.debugLine="Dim gap As Int = 3dip"; +_gap = __c.DipToCurrent((int) (3)); +RDebugUtils.currentLine=71368710; + //BA.debugLineNum = 71368710;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=71368711; + //BA.debugLineNum = 71368711;BA.debugLine="Scale = xui.Scale"; +__ref._scale /*float*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale(); +RDebugUtils.currentLine=71368716; + //BA.debugLineNum = 71368716;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=71368717; + //BA.debugLineNum = 71368717;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=71368718; + //BA.debugLineNum = 71368718;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=71368719; + //BA.debugLineNum = 71368719;BA.debugLine="OnBrush = bc.CreateBrushFromColor(OnColor)"; +__ref._onbrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._oncolor /*int*/ ); +RDebugUtils.currentLine=71368720; + //BA.debugLineNum = 71368720;BA.debugLine="OffBrush = bc.CreateBrushFromColor(OffColor)"; +__ref._offbrush /*b4a.example.bcpath._bcbrush*/ = __ref._bc /*b4a.example.bitmapcreator*/ ._createbrushfromcolor(__ref._offcolor /*int*/ ); +RDebugUtils.currentLine=71368721; + //BA.debugLineNum = 71368721;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=71368722; + //BA.debugLineNum = 71368722;BA.debugLine="SetValueImpl(mValue, True)"; +__ref._setvalueimpl /*void*/ (null,__ref._mvalue /*boolean*/ ,__c.True); +RDebugUtils.currentLine=71368723; + //BA.debugLineNum = 71368723;BA.debugLine="End Sub"; +return ""; +} +public void _setvalueimpl(SHARK2.keymon.com.mx.b4xradiobutton __ref,boolean _b,boolean _immediate) throws Exception{ +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "setvalueimpl", true)) + {Debug.delegate(ba, "setvalueimpl", new Object[] {_b,_immediate}); return;} +ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(this,__ref,_b,_immediate); +rsub.resume(ba, null); +} +public static class ResumableSub_SetValueImpl extends BA.ResumableSub { +public ResumableSub_SetValueImpl(SHARK2.keymon.com.mx.b4xradiobutton parent,SHARK2.keymon.com.mx.b4xradiobutton __ref,boolean _b,boolean _immediate) { +this.parent = parent; +this.__ref = __ref; +this._b = _b; +this._immediate = _immediate; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xradiobutton __ref; +SHARK2.keymon.com.mx.b4xradiobutton parent; +boolean _b; +boolean _immediate; +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _v = null; +SHARK2.keymon.com.mx.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=71499777; + //BA.debugLineNum = 71499777;BA.debugLine="mValue = b"; +__ref._mvalue /*boolean*/ = _b; +RDebugUtils.currentLine=71499778; + //BA.debugLineNum = 71499778;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=71499779; + //BA.debugLineNum = 71499779;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=71499780; + //BA.debugLineNum = 71499780;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=71499781; + //BA.debugLineNum = 71499781;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 SHARK2.keymon.com.mx.b4xradiobutton) { +this.state = 9; +}if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=71499782; + //BA.debugLineNum = 71499782;BA.debugLine="Dim rb As B4XRadioButton = v.Tag"; +_rb = (SHARK2.keymon.com.mx.b4xradiobutton)(_v.getTag()); +RDebugUtils.currentLine=71499783; + //BA.debugLineNum = 71499783;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=71499787; + //BA.debugLineNum = 71499787;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=71499788; + //BA.debugLineNum = 71499788;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=71499789; + //BA.debugLineNum = 71499789;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=71499791; + //BA.debugLineNum = 71499791;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +_myindex = __ref._loopindex /*int*/ ; +RDebugUtils.currentLine=71499792; + //BA.debugLineNum = 71499792;BA.debugLine="Dim start As Long = DateTime.Now"; +_start = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=71499793; + //BA.debugLineNum = 71499793;BA.debugLine="Dim duration As Int = 200"; +_duration = (int) (200); +RDebugUtils.currentLine=71499794; + //BA.debugLineNum = 71499794;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=71499795; + //BA.debugLineNum = 71499795;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; +_state1 = (float) ((parent.__c.DateTime.getNow()-_start)/(double)_duration); +RDebugUtils.currentLine=71499796; + //BA.debugLineNum = 71499796;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=71499797; + //BA.debugLineNum = 71499797;BA.debugLine="Draw(state1)"; +__ref._draw /*String*/ (null,_state1); +RDebugUtils.currentLine=71499798; + //BA.debugLineNum = 71499798;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=71499799; + //BA.debugLineNum = 71499799;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=71499801; + //BA.debugLineNum = 71499801;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=71499802; + //BA.debugLineNum = 71499802;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=71499805; + //BA.debugLineNum = 71499805;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=71499806; + //BA.debugLineNum = 71499806;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=71499808; + //BA.debugLineNum = 71499808;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=71499811; + //BA.debugLineNum = 71499811;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _class_globals(SHARK2.keymon.com.mx.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +RDebugUtils.currentLine=71172096; + //BA.debugLineNum = 71172096;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=71172097; + //BA.debugLineNum = 71172097;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=71172098; + //BA.debugLineNum = 71172098;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=71172099; + //BA.debugLineNum = 71172099;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=71172100; + //BA.debugLineNum = 71172100;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=71172101; + //BA.debugLineNum = 71172101;BA.debugLine="Public OnColor, OffColor As Int"; +_oncolor = 0; +_offcolor = 0; +RDebugUtils.currentLine=71172102; + //BA.debugLineNum = 71172102;BA.debugLine="Private bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=71172103; + //BA.debugLineNum = 71172103;BA.debugLine="Private iv As B4XView"; +_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=71172104; + //BA.debugLineNum = 71172104;BA.debugLine="Private mValue As Boolean"; +_mvalue = false; +RDebugUtils.currentLine=71172105; + //BA.debugLineNum = 71172105;BA.debugLine="Private transparent As BCBrush"; +_transparent = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=71172106; + //BA.debugLineNum = 71172106;BA.debugLine="Private LoopIndex As Int"; +_loopindex = 0; +RDebugUtils.currentLine=71172107; + //BA.debugLineNum = 71172107;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=71172108; + //BA.debugLineNum = 71172108;BA.debugLine="Private OnBrush, OffBrush As BCBrush"; +_onbrush = new b4a.example.bcpath._bcbrush(); +_offbrush = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=71172109; + //BA.debugLineNum = 71172109;BA.debugLine="Private mEnabled As Boolean = True"; +_menabled = __c.True; +RDebugUtils.currentLine=71172110; + //BA.debugLineNum = 71172110;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=71172111; + //BA.debugLineNum = 71172111;BA.debugLine="Private Size As Int"; +_size = 0; +RDebugUtils.currentLine=71172112; + //BA.debugLineNum = 71172112;BA.debugLine="Public mLabel As B4XView"; +_mlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=71172113; + //BA.debugLineNum = 71172113;BA.debugLine="Private pnl As B4XView"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=71172114; + //BA.debugLineNum = 71172114;BA.debugLine="Private Scale As Float 'ignore"; +_scale = 0f; +RDebugUtils.currentLine=71172115; + //BA.debugLineNum = 71172115;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(SHARK2.keymon.com.mx.b4xradiobutton __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; +RDebugUtils.currentLine=71303168; + //BA.debugLineNum = 71303168;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=71303169; + //BA.debugLineNum = 71303169;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=71303170; + //BA.debugLineNum = 71303170;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=71303170; + //BA.debugLineNum = 71303170;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=71303171; + //BA.debugLineNum = 71303171;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=71303172; + //BA.debugLineNum = 71303172;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnl"); +RDebugUtils.currentLine=71303173; + //BA.debugLineNum = 71303173;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=71303174; + //BA.debugLineNum = 71303174;BA.debugLine="Dim iiv As ImageView"; +_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=71303175; + //BA.debugLineNum = 71303175;BA.debugLine="iiv.Initialize(\"\")"; +_iiv.Initialize(ba,""); +RDebugUtils.currentLine=71303176; + //BA.debugLineNum = 71303176;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=71303177; + //BA.debugLineNum = 71303177;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=71303178; + //BA.debugLineNum = 71303178;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=71303179; + //BA.debugLineNum = 71303179;BA.debugLine="mLabel.SetTextAlignment(\"CENTER\", \"LEFT\")"; +__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","LEFT"); +RDebugUtils.currentLine=71303180; + //BA.debugLineNum = 71303180;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=71303181; + //BA.debugLineNum = 71303181;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=71303183; + //BA.debugLineNum = 71303183;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=71303184; + //BA.debugLineNum = 71303184;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=71303185; + //BA.debugLineNum = 71303185;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=71303187; + //BA.debugLineNum = 71303187;BA.debugLine="mEnabled = mBase.Enabled"; +__ref._menabled /*boolean*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getEnabled(); +RDebugUtils.currentLine=71303188; + //BA.debugLineNum = 71303188;BA.debugLine="mBase.Enabled = True"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=71303189; + //BA.debugLineNum = 71303189;BA.debugLine="mValue = Props.Get(\"Value\")"; +__ref._mvalue /*boolean*/ = BA.ObjectToBoolean(_props.Get((Object)("Value"))); +RDebugUtils.currentLine=71303190; + //BA.debugLineNum = 71303190;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=71303191; + //BA.debugLineNum = 71303191;BA.debugLine="End Sub"; +return ""; +} +public String _draw(SHARK2.keymon.com.mx.b4xradiobutton __ref,float _state) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", new Object[] {_state}));} +float _r = 0f; +RDebugUtils.currentLine=71827456; + //BA.debugLineNum = 71827456;BA.debugLine="Private Sub Draw (State As Float)"; +RDebugUtils.currentLine=71827457; + //BA.debugLineNum = 71827457;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=71827458; + //BA.debugLineNum = 71827458;BA.debugLine="Dim r As Float = Floor(bc.mHeight / 2)"; +_r = (float) (__c.Floor(__ref._bc /*b4a.example.bitmapcreator*/ ._mheight/(double)2)); +RDebugUtils.currentLine=71827459; + //BA.debugLineNum = 71827459;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=71827460; + //BA.debugLineNum = 71827460;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=71827461; + //BA.debugLineNum = 71827461;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=71827462; + //BA.debugLineNum = 71827462;BA.debugLine="End Sub"; +return ""; +} +public boolean _getchecked(SHARK2.keymon.com.mx.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "getchecked", true)) + {return ((Boolean) Debug.delegate(ba, "getchecked", null));} +RDebugUtils.currentLine=71630848; + //BA.debugLineNum = 71630848;BA.debugLine="Public Sub getChecked As Boolean"; +RDebugUtils.currentLine=71630849; + //BA.debugLineNum = 71630849;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*boolean*/ ; +RDebugUtils.currentLine=71630850; + //BA.debugLineNum = 71630850;BA.debugLine="End Sub"; +return false; +} +public boolean _getenabled(SHARK2.keymon.com.mx.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "getenabled", true)) + {return ((Boolean) Debug.delegate(ba, "getenabled", null));} +RDebugUtils.currentLine=71761920; + //BA.debugLineNum = 71761920;BA.debugLine="Public Sub getEnabled As Boolean"; +RDebugUtils.currentLine=71761921; + //BA.debugLineNum = 71761921;BA.debugLine="Return mEnabled"; +if (true) return __ref._menabled /*boolean*/ ; +RDebugUtils.currentLine=71761922; + //BA.debugLineNum = 71761922;BA.debugLine="End Sub"; +return false; +} +public Object _gettext(SHARK2.keymon.com.mx.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "gettext", true)) + {return ((Object) Debug.delegate(ba, "gettext", null));} +RDebugUtils.currentLine=71958528; + //BA.debugLineNum = 71958528;BA.debugLine="Public Sub getText As Object"; +RDebugUtils.currentLine=71958529; + //BA.debugLineNum = 71958529;BA.debugLine="Return mLabel.Text"; +if (true) return (Object)(__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getText()); +RDebugUtils.currentLine=71958530; + //BA.debugLineNum = 71958530;BA.debugLine="End Sub"; +return null; +} +public String _initialize(SHARK2.keymon.com.mx.b4xradiobutton __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=71237632; + //BA.debugLineNum = 71237632;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=71237633; + //BA.debugLineNum = 71237633;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=71237634; + //BA.debugLineNum = 71237634;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=71237635; + //BA.debugLineNum = 71237635;BA.debugLine="End Sub"; +return ""; +} +public String _pnl_click(SHARK2.keymon.com.mx.b4xradiobutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "pnl_click", true)) + {return ((String) Debug.delegate(ba, "pnl_click", null));} +RDebugUtils.currentLine=71434240; + //BA.debugLineNum = 71434240;BA.debugLine="Private Sub pnl_Click"; +RDebugUtils.currentLine=71434242; + //BA.debugLineNum = 71434242;BA.debugLine="If mValue Then Return"; +if (__ref._mvalue /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=71434243; + //BA.debugLineNum = 71434243;BA.debugLine="If mEnabled Then"; +if (__ref._menabled /*boolean*/ ) { +RDebugUtils.currentLine=71434244; + //BA.debugLineNum = 71434244;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=71434245; + //BA.debugLineNum = 71434245;BA.debugLine="SetValueImpl(Not(mValue), False)"; +__ref._setvalueimpl /*void*/ (null,__c.Not(__ref._mvalue /*boolean*/ ),__c.False); +RDebugUtils.currentLine=71434246; + //BA.debugLineNum = 71434246;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=71434247; + //BA.debugLineNum = 71434247;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Checke"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_Checked"); + }; + }; +RDebugUtils.currentLine=71434250; + //BA.debugLineNum = 71434250;BA.debugLine="End Sub"; +return ""; +} +public String _setchecked(SHARK2.keymon.com.mx.b4xradiobutton __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "setchecked", true)) + {return ((String) Debug.delegate(ba, "setchecked", new Object[] {_b}));} +RDebugUtils.currentLine=71565312; + //BA.debugLineNum = 71565312;BA.debugLine="Public Sub setChecked(b As Boolean)"; +RDebugUtils.currentLine=71565313; + //BA.debugLineNum = 71565313;BA.debugLine="If b = mValue Then Return"; +if (_b==__ref._mvalue /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=71565314; + //BA.debugLineNum = 71565314;BA.debugLine="SetValueImpl(b, False)"; +__ref._setvalueimpl /*void*/ (null,_b,__c.False); +RDebugUtils.currentLine=71565315; + //BA.debugLineNum = 71565315;BA.debugLine="End Sub"; +return ""; +} +public String _setenabled(SHARK2.keymon.com.mx.b4xradiobutton __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "setenabled", true)) + {return ((String) Debug.delegate(ba, "setenabled", new Object[] {_b}));} +RDebugUtils.currentLine=71696384; + //BA.debugLineNum = 71696384;BA.debugLine="Public Sub setEnabled (b As Boolean)"; +RDebugUtils.currentLine=71696385; + //BA.debugLineNum = 71696385;BA.debugLine="mEnabled = b"; +__ref._menabled /*boolean*/ = _b; +RDebugUtils.currentLine=71696386; + //BA.debugLineNum = 71696386;BA.debugLine="SetValueImpl(mValue, True)"; +__ref._setvalueimpl /*void*/ (null,__ref._mvalue /*boolean*/ ,__c.True); +RDebugUtils.currentLine=71696387; + //BA.debugLineNum = 71696387;BA.debugLine="End Sub"; +return ""; +} +public String _settext(SHARK2.keymon.com.mx.b4xradiobutton __ref,Object _t) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xradiobutton"; +if (Debug.shouldDelegate(ba, "settext", true)) + {return ((String) Debug.delegate(ba, "settext", new Object[] {_t}));} +RDebugUtils.currentLine=71892992; + //BA.debugLineNum = 71892992;BA.debugLine="Public Sub setText (t As Object)"; +RDebugUtils.currentLine=71892993; + //BA.debugLineNum = 71892993;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(mLabel, t"; +_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,__ref._mlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_t); +RDebugUtils.currentLine=71892994; + //BA.debugLineNum = 71892994;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xsearchtemplate.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xsearchtemplate.java new file mode 100644 index 0000000..016af5e --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xsearchtemplate.java @@ -0,0 +1,750 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xsearchtemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.b4xdialog _xdialog = null; +public SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(SHARK2.keymon.com.mx.b4xsearchtemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=72220672; + //BA.debugLineNum = 72220672;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=72220673; + //BA.debugLineNum = 72220673;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=72220674; + //BA.debugLineNum = 72220674;BA.debugLine="End Sub"; +return null; +} +public void _show(SHARK2.keymon.com.mx.b4xsearchtemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); +rsub.resume(ba, null); +} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(SHARK2.keymon.com.mx.b4xsearchtemplate parent,SHARK2.keymon.com.mx.b4xsearchtemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xsearchtemplate __ref; +SHARK2.keymon.com.mx.b4xsearchtemplate parent; +SHARK2.keymon.com.mx.b4xdialog _dialog; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xsearchtemplate"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=72286209; + //BA.debugLineNum = 72286209;BA.debugLine="xDialog = Dialog"; +__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ = _dialog; +RDebugUtils.currentLine=72286210; + //BA.debugLineNum = 72286210;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; +__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ ._putattop /*boolean*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4A() || __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4i(); +RDebugUtils.currentLine=72286211; + //BA.debugLineNum = 72286211;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=72286212; + //BA.debugLineNum = 72286212;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=72286213; + //BA.debugLineNum = 72286213;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=72286214; + //BA.debugLineNum = 72286214;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=72286215; + //BA.debugLineNum = 72286215;BA.debugLine="Update(\"\", True)"; +__ref._update /*String*/ (null,"",parent.__c.True); +RDebugUtils.currentLine=72286216; + //BA.debugLineNum = 72286216;BA.debugLine="CustomListView1.JumpToItem(0)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._jumptoitem((int) (0)); +RDebugUtils.currentLine=72286217; + //BA.debugLineNum = 72286217;BA.debugLine="SearchField.Text = \"\""; +__ref._searchfield /*SHARK2.keymon.com.mx.b4xfloattextfield*/ ._settext /*String*/ (null,""); +RDebugUtils.currentLine=72286218; + //BA.debugLineNum = 72286218;BA.debugLine="SearchField.TextField.RequestFocus"; +__ref._searchfield /*SHARK2.keymon.com.mx.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).RequestFocus(); +RDebugUtils.currentLine=72286220; + //BA.debugLineNum = 72286220;BA.debugLine="IME.ShowKeyboard(SearchField.TextField)"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .ShowKeyboard((android.view.View)(__ref._searchfield /*SHARK2.keymon.com.mx.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).getObject())); +RDebugUtils.currentLine=72286222; + //BA.debugLineNum = 72286222;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _dialogclosed(SHARK2.keymon.com.mx.b4xsearchtemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=72810496; + //BA.debugLineNum = 72810496;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; +RDebugUtils.currentLine=72810498; + //BA.debugLineNum = 72810498;BA.debugLine="End Sub"; +return ""; +} +public String _additemstolist(SHARK2.keymon.com.mx.b4xsearchtemplate __ref,anywheresoftware.b4a.objects.collections.List _li,String _full) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "additemstolist", true)) + {return ((String) Debug.delegate(ba, "additemstolist", new Object[] {_li,_full}));} +int _i = 0; +String _item = ""; +int _x = 0; +int _pnlcolor = 0; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=72613888; + //BA.debugLineNum = 72613888;BA.debugLine="Private Sub AddItemsToList(li As List, full As Str"; +RDebugUtils.currentLine=72613889; + //BA.debugLineNum = 72613889;BA.debugLine="If li.IsInitialized = False Then Return"; +if (_li.IsInitialized()==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=72613894; + //BA.debugLineNum = 72613894;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=72613895; + //BA.debugLineNum = 72613895;BA.debugLine="If CustomListView1.Size >= MaxNumberOfItemsToSho"; +if (__ref._customlistview1 /*b4a.example3.customlistview*/ ._getsize()>=__ref._maxnumberofitemstoshow /*int*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=72613896; + //BA.debugLineNum = 72613896;BA.debugLine="Dim item As String = li.Get(i)"; +_item = BA.ObjectToString(_li.Get(_i)); +RDebugUtils.currentLine=72613897; + //BA.debugLineNum = 72613897;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; +_x = _item.toLowerCase().indexOf(_full); +RDebugUtils.currentLine=72613898; + //BA.debugLineNum = 72613898;BA.debugLine="If x = -1 Then"; +if (_x==-1) { +RDebugUtils.currentLine=72613899; + //BA.debugLineNum = 72613899;BA.debugLine="Continue"; +if (true) continue; + }; +RDebugUtils.currentLine=72613901; + //BA.debugLineNum = 72613901;BA.debugLine="Dim pnlColor As Int"; +_pnlcolor = 0; +RDebugUtils.currentLine=72613902; + //BA.debugLineNum = 72613902;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=72613903; + //BA.debugLineNum = 72613903;BA.debugLine="pnlColor = ItemHightlightColor"; +_pnlcolor = __ref._itemhightlightcolor /*int*/ ; + }else { +RDebugUtils.currentLine=72613905; + //BA.debugLineNum = 72613905;BA.debugLine="pnlColor = CustomListView1.DefaultTextBackgroun"; +_pnlcolor = __ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor; + }; +RDebugUtils.currentLine=72613908; + //BA.debugLineNum = 72613908;BA.debugLine="Dim cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=72613909; + //BA.debugLineNum = 72613909;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=72613910; + //BA.debugLineNum = 72613910;BA.debugLine="cs.Append(item.SubString(x + full.Length))"; +_cs.Append(BA.ObjectToCharSequence(_item.substring((int) (_x+_full.length())))); +RDebugUtils.currentLine=72613911; + //BA.debugLineNum = 72613911;BA.debugLine="If ItemsCache.Size > 0 Then"; +if (__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>0) { +RDebugUtils.currentLine=72613912; + //BA.debugLineNum = 72613912;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=72613913; + //BA.debugLineNum = 72613913;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=72613915; + //BA.debugLineNum = 72613915;BA.debugLine="p.GetView(0).Text = cs"; +_p.GetView((int) (0)).setText(BA.ObjectToCharSequence(_cs.getObject())); +RDebugUtils.currentLine=72613920; + //BA.debugLineNum = 72613920;BA.debugLine="p.Color = pnlColor"; +_p.setColor(_pnlcolor); +RDebugUtils.currentLine=72613921; + //BA.debugLineNum = 72613921;BA.debugLine="CustomListView1.Add(p, item)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._add(_p,(Object)(_item)); + }else { +RDebugUtils.currentLine=72613923; + //BA.debugLineNum = 72613923;BA.debugLine="CustomListView1.AddTextItem(cs, item)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._addtextitem((Object)(_cs.getObject()),(Object)(_item)); + }; + } +}; +RDebugUtils.currentLine=72613944; + //BA.debugLineNum = 72613944;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=72613945; + //BA.debugLineNum = 72613945;BA.debugLine="Dim item As String = li.Get(i)"; +_item = BA.ObjectToString(_li.Get(_i)); +RDebugUtils.currentLine=72613946; + //BA.debugLineNum = 72613946;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; +_x = _item.toLowerCase().indexOf(_full); +RDebugUtils.currentLine=72613947; + //BA.debugLineNum = 72613947;BA.debugLine="If x = -1 Then"; +if (_x==-1) { +RDebugUtils.currentLine=72613948; + //BA.debugLineNum = 72613948;BA.debugLine="Continue"; +if (true) continue; + }; + } +}; +RDebugUtils.currentLine=72613951; + //BA.debugLineNum = 72613951;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xsearchtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +RDebugUtils.currentLine=72024064; + //BA.debugLineNum = 72024064;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=72024065; + //BA.debugLineNum = 72024065;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=72024066; + //BA.debugLineNum = 72024066;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=72024067; + //BA.debugLineNum = 72024067;BA.debugLine="Public CustomListView1 As CustomListView"; +_customlistview1 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=72024068; + //BA.debugLineNum = 72024068;BA.debugLine="Private xDialog As B4XDialog"; +_xdialog = new SHARK2.keymon.com.mx.b4xdialog(); +RDebugUtils.currentLine=72024069; + //BA.debugLineNum = 72024069;BA.debugLine="Public SearchField As B4XFloatTextField"; +_searchfield = new SHARK2.keymon.com.mx.b4xfloattextfield(); +RDebugUtils.currentLine=72024070; + //BA.debugLineNum = 72024070;BA.debugLine="Private prefixList As Map"; +_prefixlist = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=72024071; + //BA.debugLineNum = 72024071;BA.debugLine="Private substringList As Map"; +_substringlist = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=72024072; + //BA.debugLineNum = 72024072;BA.debugLine="Public TextHighlightColor As Int = 0xFFFD5C5C"; +_texthighlightcolor = ((int)0xfffd5c5c); +RDebugUtils.currentLine=72024073; + //BA.debugLineNum = 72024073;BA.debugLine="Public ItemHightlightColor As Int = 0x7E008EFF"; +_itemhightlightcolor = ((int)0x7e008eff); +RDebugUtils.currentLine=72024074; + //BA.debugLineNum = 72024074;BA.debugLine="Private MAX_LIMIT = 4 As Int"; +_max_limit = (int) (4); +RDebugUtils.currentLine=72024075; + //BA.debugLineNum = 72024075;BA.debugLine="Public MaxNumberOfItemsToShow As Int = 100"; +_maxnumberofitemstoshow = (int) (100); +RDebugUtils.currentLine=72024076; + //BA.debugLineNum = 72024076;BA.debugLine="Private ItemsCache As List"; +_itemscache = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=72024077; + //BA.debugLineNum = 72024077;BA.debugLine="Private AllItems As List"; +_allitems = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=72024078; + //BA.debugLineNum = 72024078;BA.debugLine="Public SelectedItem As String"; +_selecteditem = ""; +RDebugUtils.currentLine=72024079; + //BA.debugLineNum = 72024079;BA.debugLine="Private LastTerm As String"; +_lastterm = ""; +RDebugUtils.currentLine=72024081; + //BA.debugLineNum = 72024081;BA.debugLine="Private IME As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=72024083; + //BA.debugLineNum = 72024083;BA.debugLine="Public AllowUnlistedText As Boolean"; +_allowunlistedtext = false; +RDebugUtils.currentLine=72024084; + //BA.debugLineNum = 72024084;BA.debugLine="Public PrefixOnly As Boolean"; +_prefixonly = false; +RDebugUtils.currentLine=72024085; + //BA.debugLineNum = 72024085;BA.debugLine="End Sub"; +return ""; +} +public String _customlistview1_itemclick(SHARK2.keymon.com.mx.b4xsearchtemplate __ref,int _index,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "customlistview1_itemclick", true)) + {return ((String) Debug.delegate(ba, "customlistview1_itemclick", new Object[] {_index,_value}));} +RDebugUtils.currentLine=72548352; + //BA.debugLineNum = 72548352;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; +RDebugUtils.currentLine=72548353; + //BA.debugLineNum = 72548353;BA.debugLine="If Value = \"\" Then Return"; +if ((_value).equals((Object)(""))) { +if (true) return "";}; +RDebugUtils.currentLine=72548354; + //BA.debugLineNum = 72548354;BA.debugLine="SelectedItem = Value"; +__ref._selecteditem /*String*/ = BA.ObjectToString(_value); +RDebugUtils.currentLine=72548355; + //BA.debugLineNum = 72548355;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); +RDebugUtils.currentLine=72548356; + //BA.debugLineNum = 72548356;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.b4xsearchtemplate __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +int _height = 0; +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=72089600; + //BA.debugLineNum = 72089600;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=72089601; + //BA.debugLineNum = 72089601;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=72089603; + //BA.debugLineNum = 72089603;BA.debugLine="Dim height As Int"; +_height = 0; +RDebugUtils.currentLine=72089604; + //BA.debugLineNum = 72089604;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=72089605; + //BA.debugLineNum = 72089605;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=72089606; + //BA.debugLineNum = 72089606;BA.debugLine="mBase.LoadLayout(\"SearchTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("SearchTemplate",ba); +RDebugUtils.currentLine=72089607; + //BA.debugLineNum = 72089607;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=72089608; + //BA.debugLineNum = 72089608;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=72089609; + //BA.debugLineNum = 72089609;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextbackgroundcolor = ((int)0xff555555); +RDebugUtils.currentLine=72089610; + //BA.debugLineNum = 72089610;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._defaulttextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=72089620; + //BA.debugLineNum = 72089620;BA.debugLine="ItemsCache.Initialize"; +__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=72089621; + //BA.debugLineNum = 72089621;BA.debugLine="prefixList.Initialize"; +__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=72089622; + //BA.debugLineNum = 72089622;BA.debugLine="substringList.Initialize"; +__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=72089624; + //BA.debugLineNum = 72089624;BA.debugLine="IME.Initialize(\"\")"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .Initialize(""); +RDebugUtils.currentLine=72089625; + //BA.debugLineNum = 72089625;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 /*SHARK2.keymon.com.mx.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null).getObject())); +RDebugUtils.currentLine=72089626; + //BA.debugLineNum = 72089626;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; +_jo.RunMethod("setImeOptions",new Object[]{(Object)(__c.Bit.Or((int) (33554432),(int) (6)))}); +RDebugUtils.currentLine=72089628; + //BA.debugLineNum = 72089628;BA.debugLine="End Sub"; +return ""; +} +public String _resize(SHARK2.keymon.com.mx.b4xsearchtemplate __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} +anywheresoftware.b4a.objects.B4XViewWrapper _c = null; +RDebugUtils.currentLine=72155136; + //BA.debugLineNum = 72155136;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=72155137; + //BA.debugLineNum = 72155137;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=72155138; + //BA.debugLineNum = 72155138;BA.debugLine="Dim c As B4XView = CustomListView1.AsView"; +_c = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_c = __ref._customlistview1 /*b4a.example3.customlistview*/ ._asview(); +RDebugUtils.currentLine=72155139; + //BA.debugLineNum = 72155139;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=72155140; + //BA.debugLineNum = 72155140;BA.debugLine="CustomListView1.Base_Resize(Width, c.Height)"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._base_resize(_width,_c.getHeight()); +RDebugUtils.currentLine=72155141; + //BA.debugLineNum = 72155141;BA.debugLine="End Sub"; +return ""; +} +public String _searchfield_enterpressed(SHARK2.keymon.com.mx.b4xsearchtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "searchfield_enterpressed", true)) + {return ((String) Debug.delegate(ba, "searchfield_enterpressed", null));} +RDebugUtils.currentLine=72482816; + //BA.debugLineNum = 72482816;BA.debugLine="Private Sub SearchField_EnterPressed"; +RDebugUtils.currentLine=72482817; + //BA.debugLineNum = 72482817;BA.debugLine="If AllowUnlistedText Then"; +if (__ref._allowunlistedtext /*boolean*/ ) { +RDebugUtils.currentLine=72482818; + //BA.debugLineNum = 72482818;BA.debugLine="SelectedItem = LastTerm"; +__ref._selecteditem /*String*/ = __ref._lastterm /*String*/ ; +RDebugUtils.currentLine=72482819; + //BA.debugLineNum = 72482819;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; +__ref._xdialog /*SHARK2.keymon.com.mx.b4xdialog*/ ._close /*boolean*/ (null,__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .DialogResponse_Positive); + }else +{RDebugUtils.currentLine=72482820; + //BA.debugLineNum = 72482820;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=72482821; + //BA.debugLineNum = 72482821;BA.debugLine="CustomListView1_ItemClick(0, CustomListView1.Get"; +__ref._customlistview1_itemclick /*String*/ (null,(int) (0),__ref._customlistview1 /*b4a.example3.customlistview*/ ._getvalue((int) (0))); + }} +; +RDebugUtils.currentLine=72482823; + //BA.debugLineNum = 72482823;BA.debugLine="End Sub"; +return ""; +} +public String _searchfield_textchanged(SHARK2.keymon.com.mx.b4xsearchtemplate __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "searchfield_textchanged", true)) + {return ((String) Debug.delegate(ba, "searchfield_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=72351744; + //BA.debugLineNum = 72351744;BA.debugLine="Private Sub SearchField_TextChanged (Old As String"; +RDebugUtils.currentLine=72351745; + //BA.debugLineNum = 72351745;BA.debugLine="Update(New, False)"; +__ref._update /*String*/ (null,_new,__c.False); +RDebugUtils.currentLine=72351746; + //BA.debugLineNum = 72351746;BA.debugLine="End Sub"; +return ""; +} +public String _update(SHARK2.keymon.com.mx.b4xsearchtemplate __ref,String _term,boolean _force) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", new Object[] {_term,_force}));} +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +String _str1 = ""; +String _str2 = ""; +RDebugUtils.currentLine=72417280; + //BA.debugLineNum = 72417280;BA.debugLine="Private Sub Update(Term As String, Force As Boolea"; +RDebugUtils.currentLine=72417281; + //BA.debugLineNum = 72417281;BA.debugLine="If Term = LastTerm And Force = False Then Return"; +if ((_term).equals(__ref._lastterm /*String*/ ) && _force==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=72417282; + //BA.debugLineNum = 72417282;BA.debugLine="LastTerm = Term"; +__ref._lastterm /*String*/ = _term; +RDebugUtils.currentLine=72417283; + //BA.debugLineNum = 72417283;BA.debugLine="If xui.IsB4J = False Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()==__c.False) { +RDebugUtils.currentLine=72417284; + //BA.debugLineNum = 72417284;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=72417285; + //BA.debugLineNum = 72417285;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=72417286; + //BA.debugLineNum = 72417286;BA.debugLine="p.RemoveViewFromParent"; +_p.RemoveViewFromParent(); +RDebugUtils.currentLine=72417287; + //BA.debugLineNum = 72417287;BA.debugLine="ItemsCache.Add(p)"; +__ref._itemscache /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_p.getObject())); + } +}; + }; +RDebugUtils.currentLine=72417290; + //BA.debugLineNum = 72417290;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=72417292; + //BA.debugLineNum = 72417292;BA.debugLine="Dim str1, str2 As String"; +_str1 = ""; +_str2 = ""; +RDebugUtils.currentLine=72417293; + //BA.debugLineNum = 72417293;BA.debugLine="str1 = Term.ToLowerCase"; +_str1 = _term.toLowerCase(); +RDebugUtils.currentLine=72417294; + //BA.debugLineNum = 72417294;BA.debugLine="If Term = \"\" Then"; +if ((_term).equals("")) { +RDebugUtils.currentLine=72417295; + //BA.debugLineNum = 72417295;BA.debugLine="AddItemsToList(AllItems, str1)"; +__ref._additemstolist /*String*/ (null,__ref._allitems /*anywheresoftware.b4a.objects.collections.List*/ ,_str1); + }else { +RDebugUtils.currentLine=72417297; + //BA.debugLineNum = 72417297;BA.debugLine="If str1.Length > MAX_LIMIT Then"; +if (_str1.length()>__ref._max_limit /*int*/ ) { +RDebugUtils.currentLine=72417298; + //BA.debugLineNum = 72417298;BA.debugLine="str2 = str1.SubString2(0, MAX_LIMIT)"; +_str2 = _str1.substring((int) (0),__ref._max_limit /*int*/ ); + }else { +RDebugUtils.currentLine=72417300; + //BA.debugLineNum = 72417300;BA.debugLine="str2 = str1"; +_str2 = _str1; + }; +RDebugUtils.currentLine=72417302; + //BA.debugLineNum = 72417302;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=72417303; + //BA.debugLineNum = 72417303;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=72417305; + //BA.debugLineNum = 72417305;BA.debugLine="End Sub"; +return ""; +} +public String _setindex(SHARK2.keymon.com.mx.b4xsearchtemplate __ref,Object _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "setindex", true)) + {return ((String) Debug.delegate(ba, "setindex", new Object[] {_index}));} +Object[] _obj = null; +RDebugUtils.currentLine=72744960; + //BA.debugLineNum = 72744960;BA.debugLine="Public Sub SetIndex(Index As Object)"; +RDebugUtils.currentLine=72744961; + //BA.debugLineNum = 72744961;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=72744962; + //BA.debugLineNum = 72744962;BA.debugLine="obj = Index"; +_obj = (Object[])(_index); +RDebugUtils.currentLine=72744963; + //BA.debugLineNum = 72744963;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=72744964; + //BA.debugLineNum = 72744964;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=72744965; + //BA.debugLineNum = 72744965;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=72744966; + //BA.debugLineNum = 72744966;BA.debugLine="End Sub"; +return ""; +} +public Object _setitems(SHARK2.keymon.com.mx.b4xsearchtemplate __ref,anywheresoftware.b4a.objects.collections.List _items) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsearchtemplate"; +if (Debug.shouldDelegate(ba, "setitems", true)) + {return ((Object) Debug.delegate(ba, "setitems", new Object[] {_items}));} +long _starttime = 0L; +anywheresoftware.b4a.objects.collections.Map _noduplicates = null; +anywheresoftware.b4a.objects.collections.Map _m = null; +anywheresoftware.b4a.objects.collections.List _li = null; +int _i = 0; +String _itemnotlower = ""; +String _itemtolower = ""; +int _start = 0; +int _count = 0; +String _str = ""; +RDebugUtils.currentLine=72679424; + //BA.debugLineNum = 72679424;BA.debugLine="Public Sub SetItems(Items As List) As Object"; +RDebugUtils.currentLine=72679425; + //BA.debugLineNum = 72679425;BA.debugLine="Dim startTime As Long"; +_starttime = 0L; +RDebugUtils.currentLine=72679426; + //BA.debugLineNum = 72679426;BA.debugLine="startTime = DateTime.Now"; +_starttime = __c.DateTime.getNow(); +RDebugUtils.currentLine=72679427; + //BA.debugLineNum = 72679427;BA.debugLine="Dim noDuplicates As Map"; +_noduplicates = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=72679428; + //BA.debugLineNum = 72679428;BA.debugLine="noDuplicates.Initialize"; +_noduplicates.Initialize(); +RDebugUtils.currentLine=72679429; + //BA.debugLineNum = 72679429;BA.debugLine="prefixList.Clear"; +__ref._prefixlist /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=72679430; + //BA.debugLineNum = 72679430;BA.debugLine="substringList.Clear"; +__ref._substringlist /*anywheresoftware.b4a.objects.collections.Map*/ .Clear(); +RDebugUtils.currentLine=72679431; + //BA.debugLineNum = 72679431;BA.debugLine="Dim m As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=72679432; + //BA.debugLineNum = 72679432;BA.debugLine="Dim li As List"; +_li = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=72679433; + //BA.debugLineNum = 72679433;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=72679434; + //BA.debugLineNum = 72679434;BA.debugLine="Dim itemNotLower As String = Items.Get(i)"; +_itemnotlower = BA.ObjectToString(_items.Get(_i)); +RDebugUtils.currentLine=72679435; + //BA.debugLineNum = 72679435;BA.debugLine="Dim itemToLower As String = itemNotLower.ToLower"; +_itemtolower = _itemnotlower.toLowerCase(); +RDebugUtils.currentLine=72679436; + //BA.debugLineNum = 72679436;BA.debugLine="noDuplicates.Clear"; +_noduplicates.Clear(); +RDebugUtils.currentLine=72679437; + //BA.debugLineNum = 72679437;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=72679438; + //BA.debugLineNum = 72679438;BA.debugLine="Dim count As Int = 1"; +_count = (int) (1); +RDebugUtils.currentLine=72679439; + //BA.debugLineNum = 72679439;BA.debugLine="Do While count <= MAX_LIMIT And start + count <"; +while (_count<=__ref._max_limit /*int*/ && _start+_count<=_itemtolower.length()) { +RDebugUtils.currentLine=72679440; + //BA.debugLineNum = 72679440;BA.debugLine="Dim str As String = itemToLower.SubString2(sta"; +_str = _itemtolower.substring(_start,(int) (_start+_count)); +RDebugUtils.currentLine=72679441; + //BA.debugLineNum = 72679441;BA.debugLine="If noDuplicates.ContainsKey(str) = False Then"; +if (_noduplicates.ContainsKey((Object)(_str))==__c.False) { +RDebugUtils.currentLine=72679442; + //BA.debugLineNum = 72679442;BA.debugLine="noDuplicates.Put(str, \"\")"; +_noduplicates.Put((Object)(_str),(Object)("")); +RDebugUtils.currentLine=72679443; + //BA.debugLineNum = 72679443;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=72679444; + //BA.debugLineNum = 72679444;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=72679445; + //BA.debugLineNum = 72679445;BA.debugLine="If li.IsInitialized = False Then"; +if (_li.IsInitialized()==__c.False) { +RDebugUtils.currentLine=72679446; + //BA.debugLineNum = 72679446;BA.debugLine="li.Initialize"; +_li.Initialize(); +RDebugUtils.currentLine=72679447; + //BA.debugLineNum = 72679447;BA.debugLine="m.Put(str, li)"; +_m.Put((Object)(_str),(Object)(_li.getObject())); + }; +RDebugUtils.currentLine=72679449; + //BA.debugLineNum = 72679449;BA.debugLine="li.Add(itemNotLower)"; +_li.Add((Object)(_itemnotlower)); + }; +RDebugUtils.currentLine=72679451; + //BA.debugLineNum = 72679451;BA.debugLine="count = count + 1"; +_count = (int) (_count+1); + } +; + } +}; + } +}; +RDebugUtils.currentLine=72679455; + //BA.debugLineNum = 72679455;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &"; +__c.LogImpl("972679455","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0); +RDebugUtils.currentLine=72679456; + //BA.debugLineNum = 72679456;BA.debugLine="AllItems = Items"; +__ref._allitems /*anywheresoftware.b4a.objects.collections.List*/ = _items; +RDebugUtils.currentLine=72679457; + //BA.debugLineNum = 72679457;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=72679458; + //BA.debugLineNum = 72679458;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/SHARK2/keymon/com/mx/b4xseekbar.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xseekbar.java new file mode 100644 index 0000000..220899d --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xseekbar.java @@ -0,0 +1,446 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xseekbar"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _update(SHARK2.keymon.com.mx.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +int _s1 = 0; +int _y = 0; +int _x = 0; +RDebugUtils.currentLine=73138176; + //BA.debugLineNum = 73138176;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=73138178; + //BA.debugLineNum = 73138178;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=73138179; + //BA.debugLineNum = 73138179;BA.debugLine="If size > 0 Then"; +if (__ref._size /*int*/ >0) { +RDebugUtils.currentLine=73138180; + //BA.debugLineNum = 73138180;BA.debugLine="If Vertical = False Then"; +if (__ref._vertical /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=73138181; + //BA.debugLineNum = 73138181;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=73138182; + //BA.debugLineNum = 73138182;BA.debugLine="Dim y As Int = mBase.Height / 2"; +_y = (int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2); +RDebugUtils.currentLine=73138183; + //BA.debugLineNum = 73138183;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=73138184; + //BA.debugLineNum = 73138184;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=73138185; + //BA.debugLineNum = 73138185;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=73138186; + //BA.debugLineNum = 73138186;BA.debugLine="If Pressed Then"; +if (__ref._pressed /*boolean*/ ) { +RDebugUtils.currentLine=73138187; + //BA.debugLineNum = 73138187;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=73138190; + //BA.debugLineNum = 73138190;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=73138191; + //BA.debugLineNum = 73138191;BA.debugLine="Dim x As Int = mBase.Width / 2"; +_x = (int) (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2); +RDebugUtils.currentLine=73138192; + //BA.debugLineNum = 73138192;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=73138193; + //BA.debugLineNum = 73138193;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=73138194; + //BA.debugLineNum = 73138194;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=73138195; + //BA.debugLineNum = 73138195;BA.debugLine="If Pressed Then"; +if (__ref._pressed /*boolean*/ ) { +RDebugUtils.currentLine=73138196; + //BA.debugLineNum = 73138196;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=73138200; + //BA.debugLineNum = 73138200;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=73138201; + //BA.debugLineNum = 73138201;BA.debugLine="End Sub"; +return ""; +} +public String _setvalue(SHARK2.keymon.com.mx.b4xseekbar __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_v}));} +RDebugUtils.currentLine=73400320; + //BA.debugLineNum = 73400320;BA.debugLine="Public Sub setValue(v As Int)"; +RDebugUtils.currentLine=73400321; + //BA.debugLineNum = 73400321;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=73400322; + //BA.debugLineNum = 73400322;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=73400323; + //BA.debugLineNum = 73400323;BA.debugLine="End Sub"; +return ""; +} +public String _base_resize(SHARK2.keymon.com.mx.b4xseekbar __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=73072640; + //BA.debugLineNum = 73072640;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; +RDebugUtils.currentLine=73072641; + //BA.debugLineNum = 73072641;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=73072642; + //BA.debugLineNum = 73072642;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=73072643; + //BA.debugLineNum = 73072643;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=73072644; + //BA.debugLineNum = 73072644;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=73072645; + //BA.debugLineNum = 73072645;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=73072646; + //BA.debugLineNum = 73072646;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +RDebugUtils.currentLine=72876032; + //BA.debugLineNum = 72876032;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=72876033; + //BA.debugLineNum = 72876033;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=72876034; + //BA.debugLineNum = 72876034;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=72876035; + //BA.debugLineNum = 72876035;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=72876036; + //BA.debugLineNum = 72876036;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=72876037; + //BA.debugLineNum = 72876037;BA.debugLine="Public Color1, Color2, ThumbColor As Int"; +_color1 = 0; +_color2 = 0; +_thumbcolor = 0; +RDebugUtils.currentLine=72876038; + //BA.debugLineNum = 72876038;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=72876039; + //BA.debugLineNum = 72876039;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=72876040; + //BA.debugLineNum = 72876040;BA.debugLine="Private TouchPanel As B4XView"; +_touchpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=72876041; + //BA.debugLineNum = 72876041;BA.debugLine="Private mValue As Int"; +_mvalue = 0; +RDebugUtils.currentLine=72876042; + //BA.debugLineNum = 72876042;BA.debugLine="Public MinValue, MaxValue As Int"; +_minvalue = 0; +_maxvalue = 0; +RDebugUtils.currentLine=72876043; + //BA.debugLineNum = 72876043;BA.debugLine="Public Interval As Int = 1"; +_interval = (int) (1); +RDebugUtils.currentLine=72876044; + //BA.debugLineNum = 72876044;BA.debugLine="Private Vertical As Boolean"; +_vertical = false; +RDebugUtils.currentLine=72876045; + //BA.debugLineNum = 72876045;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=72876046; + //BA.debugLineNum = 72876046;BA.debugLine="Private Pressed As Boolean"; +_pressed = false; +RDebugUtils.currentLine=72876047; + //BA.debugLineNum = 72876047;BA.debugLine="Private size As Int"; +_size = 0; +RDebugUtils.currentLine=72876048; + //BA.debugLineNum = 72876048;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(SHARK2.keymon.com.mx.b4xseekbar __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +RDebugUtils.currentLine=73007104; + //BA.debugLineNum = 73007104;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=73007105; + //BA.debugLineNum = 73007105;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=73007106; + //BA.debugLineNum = 73007106;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=73007106; + //BA.debugLineNum = 73007106;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=73007107; + //BA.debugLineNum = 73007107;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=73007108; + //BA.debugLineNum = 73007108;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=73007109; + //BA.debugLineNum = 73007109;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=73007110; + //BA.debugLineNum = 73007110;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=73007111; + //BA.debugLineNum = 73007111;BA.debugLine="MinValue = Props.Get(\"Min\")"; +__ref._minvalue /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); +RDebugUtils.currentLine=73007112; + //BA.debugLineNum = 73007112;BA.debugLine="MaxValue = Props.Get(\"Max\")"; +__ref._maxvalue /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); +RDebugUtils.currentLine=73007113; + //BA.debugLineNum = 73007113;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=73007114; + //BA.debugLineNum = 73007114;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=73007115; + //BA.debugLineNum = 73007115;BA.debugLine="TouchPanel = xui.CreatePanel(\"TouchPanel\")"; +__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"TouchPanel"); +RDebugUtils.currentLine=73007116; + //BA.debugLineNum = 73007116;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=73007117; + //BA.debugLineNum = 73007117;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=73007118; + //BA.debugLineNum = 73007118;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=73007119; + //BA.debugLineNum = 73007119;BA.debugLine="End Sub"; +return ""; +} +public int _getvalue(SHARK2.keymon.com.mx.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=73465856; + //BA.debugLineNum = 73465856;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=73465857; + //BA.debugLineNum = 73465857;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*int*/ ; +RDebugUtils.currentLine=73465858; + //BA.debugLineNum = 73465858;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(SHARK2.keymon.com.mx.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=72941568; + //BA.debugLineNum = 72941568;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=72941569; + //BA.debugLineNum = 72941569;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=72941570; + //BA.debugLineNum = 72941570;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=72941571; + //BA.debugLineNum = 72941571;BA.debugLine="End Sub"; +return ""; +} +public String _raisetouchstateevent(SHARK2.keymon.com.mx.b4xseekbar __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "raisetouchstateevent", true)) + {return ((String) Debug.delegate(ba, "raisetouchstateevent", null));} +RDebugUtils.currentLine=73269248; + //BA.debugLineNum = 73269248;BA.debugLine="Private Sub RaiseTouchStateEvent"; +RDebugUtils.currentLine=73269249; + //BA.debugLineNum = 73269249;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=73269250; + //BA.debugLineNum = 73269250;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_TouchS"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TouchStateChanged",(Object)(__ref._pressed /*boolean*/ )); + }; +RDebugUtils.currentLine=73269252; + //BA.debugLineNum = 73269252;BA.debugLine="End Sub"; +return ""; +} +public String _setvaluebasedontouch(SHARK2.keymon.com.mx.b4xseekbar __ref,int _x,int _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "setvaluebasedontouch", true)) + {return ((String) Debug.delegate(ba, "setvaluebasedontouch", new Object[] {_x,_y}));} +int _v = 0; +int _newvalue = 0; +RDebugUtils.currentLine=73334784; + //BA.debugLineNum = 73334784;BA.debugLine="Private Sub SetValueBasedOnTouch(x As Int, y As In"; +RDebugUtils.currentLine=73334785; + //BA.debugLineNum = 73334785;BA.debugLine="Dim v As Int"; +_v = 0; +RDebugUtils.currentLine=73334786; + //BA.debugLineNum = 73334786;BA.debugLine="If Vertical Then"; +if (__ref._vertical /*boolean*/ ) { +RDebugUtils.currentLine=73334787; + //BA.debugLineNum = 73334787;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=73334789; + //BA.debugLineNum = 73334789;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=73334791; + //BA.debugLineNum = 73334791;BA.debugLine="v = Round (v / Interval) * Interval"; +_v = (int) (__c.Round(_v/(double)__ref._interval /*int*/ )*__ref._interval /*int*/ ); +RDebugUtils.currentLine=73334792; + //BA.debugLineNum = 73334792;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=73334793; + //BA.debugLineNum = 73334793;BA.debugLine="If NewValue <> mValue Then"; +if (_newvalue!=__ref._mvalue /*int*/ ) { +RDebugUtils.currentLine=73334794; + //BA.debugLineNum = 73334794;BA.debugLine="mValue = NewValue"; +__ref._mvalue /*int*/ = _newvalue; +RDebugUtils.currentLine=73334795; + //BA.debugLineNum = 73334795;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=73334796; + //BA.debugLineNum = 73334796;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(Object)(__ref._mvalue /*int*/ )); + }; + }; +RDebugUtils.currentLine=73334799; + //BA.debugLineNum = 73334799;BA.debugLine="End Sub"; +return ""; +} +public String _touchpanel_touch(SHARK2.keymon.com.mx.b4xseekbar __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xseekbar"; +if (Debug.shouldDelegate(ba, "touchpanel_touch", true)) + {return ((String) Debug.delegate(ba, "touchpanel_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=73203712; + //BA.debugLineNum = 73203712;BA.debugLine="Private Sub TouchPanel_Touch (Action As Int, X As"; +RDebugUtils.currentLine=73203713; + //BA.debugLineNum = 73203713;BA.debugLine="If Action = TouchPanel.TOUCH_ACTION_DOWN Then"; +if (_action==__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_DOWN) { +RDebugUtils.currentLine=73203714; + //BA.debugLineNum = 73203714;BA.debugLine="Pressed = True"; +__ref._pressed /*boolean*/ = __c.True; +RDebugUtils.currentLine=73203715; + //BA.debugLineNum = 73203715;BA.debugLine="RaiseTouchStateEvent"; +__ref._raisetouchstateevent /*String*/ (null); +RDebugUtils.currentLine=73203716; + //BA.debugLineNum = 73203716;BA.debugLine="SetValueBasedOnTouch(X, Y)"; +__ref._setvaluebasedontouch /*String*/ (null,(int) (_x),(int) (_y)); + }else +{RDebugUtils.currentLine=73203717; + //BA.debugLineNum = 73203717;BA.debugLine="Else If Action = TouchPanel.TOUCH_ACTION_MOVE The"; +if (_action==__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_MOVE) { +RDebugUtils.currentLine=73203718; + //BA.debugLineNum = 73203718;BA.debugLine="SetValueBasedOnTouch(X, Y)"; +__ref._setvaluebasedontouch /*String*/ (null,(int) (_x),(int) (_y)); + }else +{RDebugUtils.currentLine=73203719; + //BA.debugLineNum = 73203719;BA.debugLine="Else If Action = TouchPanel.TOUCH_ACTION_UP Then"; +if (_action==__ref._touchpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .TOUCH_ACTION_UP) { +RDebugUtils.currentLine=73203720; + //BA.debugLineNum = 73203720;BA.debugLine="Pressed = False"; +__ref._pressed /*boolean*/ = __c.False; +RDebugUtils.currentLine=73203721; + //BA.debugLineNum = 73203721;BA.debugLine="RaiseTouchStateEvent"; +__ref._raisetouchstateevent /*String*/ (null); + }}} +; +RDebugUtils.currentLine=73203723; + //BA.debugLineNum = 73203723;BA.debugLine="Update"; +__ref._update /*String*/ (null); +RDebugUtils.currentLine=73203724; + //BA.debugLineNum = 73203724;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xset.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xset.java new file mode 100644 index 0000000..1044783 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xset.java @@ -0,0 +1,161 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xset"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.b4xorderedmap _map = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _add(SHARK2.keymon.com.mx.b4xset __ref,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "add", true)) + {return ((String) Debug.delegate(ba, "add", new Object[] {_value}));} +RDebugUtils.currentLine=51445760; + //BA.debugLineNum = 51445760;BA.debugLine="Public Sub Add(Value As Object)"; +RDebugUtils.currentLine=51445761; + //BA.debugLineNum = 51445761;BA.debugLine="map.Put(Value, \"\")"; +__ref._map /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._put /*String*/ (null,_value,(Object)("")); +RDebugUtils.currentLine=51445762; + //BA.debugLineNum = 51445762;BA.debugLine="End Sub"; +return ""; +} +public boolean _contains(SHARK2.keymon.com.mx.b4xset __ref,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "contains", true)) + {return ((Boolean) Debug.delegate(ba, "contains", new Object[] {_value}));} +RDebugUtils.currentLine=51576832; + //BA.debugLineNum = 51576832;BA.debugLine="Public Sub Contains (Value As Object) As Boolean"; +RDebugUtils.currentLine=51576833; + //BA.debugLineNum = 51576833;BA.debugLine="Return map.ContainsKey(Value)"; +if (true) return __ref._map /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._containskey /*boolean*/ (null,_value); +RDebugUtils.currentLine=51576834; + //BA.debugLineNum = 51576834;BA.debugLine="End Sub"; +return false; +} +public String _initialize(SHARK2.keymon.com.mx.b4xset __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=51380224; + //BA.debugLineNum = 51380224;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=51380225; + //BA.debugLineNum = 51380225;BA.debugLine="map.Initialize"; +__ref._map /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=51380226; + //BA.debugLineNum = 51380226;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.collections.List _aslist(SHARK2.keymon.com.mx.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "aslist", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "aslist", null));} +RDebugUtils.currentLine=51773440; + //BA.debugLineNum = 51773440;BA.debugLine="Public Sub AsList As List"; +RDebugUtils.currentLine=51773441; + //BA.debugLineNum = 51773441;BA.debugLine="Return map.Keys"; +if (true) return __ref._map /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (null); +RDebugUtils.currentLine=51773442; + //BA.debugLineNum = 51773442;BA.debugLine="End Sub"; +return null; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +RDebugUtils.currentLine=51314688; + //BA.debugLineNum = 51314688;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=51314689; + //BA.debugLineNum = 51314689;BA.debugLine="Private map As B4XOrderedMap"; +_map = new SHARK2.keymon.com.mx.b4xorderedmap(); +RDebugUtils.currentLine=51314690; + //BA.debugLineNum = 51314690;BA.debugLine="End Sub"; +return ""; +} +public String _clear(SHARK2.keymon.com.mx.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "clear", true)) + {return ((String) Debug.delegate(ba, "clear", null));} +RDebugUtils.currentLine=51707904; + //BA.debugLineNum = 51707904;BA.debugLine="Public Sub Clear"; +RDebugUtils.currentLine=51707905; + //BA.debugLineNum = 51707905;BA.debugLine="map.Clear"; +__ref._map /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._clear /*String*/ (null); +RDebugUtils.currentLine=51707906; + //BA.debugLineNum = 51707906;BA.debugLine="End Sub"; +return ""; +} +public int _getsize(SHARK2.keymon.com.mx.b4xset __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "getsize", true)) + {return ((Integer) Debug.delegate(ba, "getsize", null));} +RDebugUtils.currentLine=51642368; + //BA.debugLineNum = 51642368;BA.debugLine="Public Sub getSize As Int"; +RDebugUtils.currentLine=51642369; + //BA.debugLineNum = 51642369;BA.debugLine="Return map.Size"; +if (true) return __ref._map /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._getsize /*int*/ (null); +RDebugUtils.currentLine=51642370; + //BA.debugLineNum = 51642370;BA.debugLine="End Sub"; +return 0; +} +public String _remove(SHARK2.keymon.com.mx.b4xset __ref,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xset"; +if (Debug.shouldDelegate(ba, "remove", true)) + {return ((String) Debug.delegate(ba, "remove", new Object[] {_value}));} +RDebugUtils.currentLine=51511296; + //BA.debugLineNum = 51511296;BA.debugLine="Public Sub Remove(Value As Object)"; +RDebugUtils.currentLine=51511297; + //BA.debugLineNum = 51511297;BA.debugLine="map.Remove(Value)"; +__ref._map /*SHARK2.keymon.com.mx.b4xorderedmap*/ ._remove /*String*/ (null,_value); +RDebugUtils.currentLine=51511298; + //BA.debugLineNum = 51511298;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xsignaturetemplate.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xsignaturetemplate.java new file mode 100644 index 0000000..8458391 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xsignaturetemplate.java @@ -0,0 +1,260 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xsignaturetemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(SHARK2.keymon.com.mx.b4xsignaturetemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +RDebugUtils.currentLine=73728000; + //BA.debugLineNum = 73728000;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=73728001; + //BA.debugLineNum = 73728001;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=73728002; + //BA.debugLineNum = 73728002;BA.debugLine="End Sub"; +return null; +} +public String _show(SHARK2.keymon.com.mx.b4xsignaturetemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {return ((String) Debug.delegate(ba, "show", new Object[] {_dialog}));} +RDebugUtils.currentLine=73793536; + //BA.debugLineNum = 73793536;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; +RDebugUtils.currentLine=73793537; + //BA.debugLineNum = 73793537;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=73793538; + //BA.debugLineNum = 73793538;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=73793539; + //BA.debugLineNum = 73793539;BA.debugLine="NumberOfPoints = 0"; +__ref._numberofpoints /*int*/ = (int) (0); +RDebugUtils.currentLine=73793540; + //BA.debugLineNum = 73793540;BA.debugLine="End Sub"; +return ""; +} +public String _dialogclosed(SHARK2.keymon.com.mx.b4xsignaturetemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +int _baseline = 0; +RDebugUtils.currentLine=73990144; + //BA.debugLineNum = 73990144;BA.debugLine="Private Sub DialogClosed (Result As Int)"; +RDebugUtils.currentLine=73990145; + //BA.debugLineNum = 73990145;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=73990146; + //BA.debugLineNum = 73990146;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=73990147; + //BA.debugLineNum = 73990147;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=73990148; + //BA.debugLineNum = 73990148;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=73990150; + //BA.debugLineNum = 73990150;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xsignaturetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +RDebugUtils.currentLine=73531392; + //BA.debugLineNum = 73531392;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=73531393; + //BA.debugLineNum = 73531393;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=73531394; + //BA.debugLineNum = 73531394;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=73531395; + //BA.debugLineNum = 73531395;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=73531396; + //BA.debugLineNum = 73531396;BA.debugLine="Private LastX, LastY As Float"; +_lastx = 0f; +_lasty = 0f; +RDebugUtils.currentLine=73531397; + //BA.debugLineNum = 73531397;BA.debugLine="Public StrokeWidth As Float = 2dip"; +_strokewidth = (float) (__c.DipToCurrent((int) (2))); +RDebugUtils.currentLine=73531398; + //BA.debugLineNum = 73531398;BA.debugLine="Public StrokeColor As Int = xui.Color_Black"; +_strokecolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black; +RDebugUtils.currentLine=73531399; + //BA.debugLineNum = 73531399;BA.debugLine="Public TextColor As Int = 0xFFFF8800"; +_textcolor = ((int)0xffff8800); +RDebugUtils.currentLine=73531400; + //BA.debugLineNum = 73531400;BA.debugLine="Public BackgroundColor As Int = xui.Color_White"; +_backgroundcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=73531401; + //BA.debugLineNum = 73531401;BA.debugLine="Public AddDateAndTime As Boolean = True"; +_adddateandtime = __c.True; +RDebugUtils.currentLine=73531402; + //BA.debugLineNum = 73531402;BA.debugLine="Public TextFont As B4XFont"; +_textfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=73531403; + //BA.debugLineNum = 73531403;BA.debugLine="Public NumberOfPoints As Int"; +_numberofpoints = 0; +RDebugUtils.currentLine=73531404; + //BA.debugLineNum = 73531404;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap(SHARK2.keymon.com.mx.b4xsignaturetemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "getbitmap", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "getbitmap", null));} +RDebugUtils.currentLine=73924608; + //BA.debugLineNum = 73924608;BA.debugLine="Public Sub getBitmap As B4XBitmap"; +RDebugUtils.currentLine=73924609; + //BA.debugLineNum = 73924609;BA.debugLine="Return cvs.CreateBitmap"; +if (true) return __ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .CreateBitmap(); +RDebugUtils.currentLine=73924610; + //BA.debugLineNum = 73924610;BA.debugLine="End Sub"; +return null; +} +public String _initialize(SHARK2.keymon.com.mx.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=73596928; + //BA.debugLineNum = 73596928;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=73596929; + //BA.debugLineNum = 73596929;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=73596930; + //BA.debugLineNum = 73596930;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=73596931; + //BA.debugLineNum = 73596931;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=73596932; + //BA.debugLineNum = 73596932;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=73596933; + //BA.debugLineNum = 73596933;BA.debugLine="End Sub"; +return ""; +} +public String _mbase_touch(SHARK2.keymon.com.mx.b4xsignaturetemplate __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "mbase_touch", true)) + {return ((String) Debug.delegate(ba, "mbase_touch", new Object[] {_action,_x,_y}));} +RDebugUtils.currentLine=73859072; + //BA.debugLineNum = 73859072;BA.debugLine="Private Sub mBase_Touch (Action As Int, X As Float"; +RDebugUtils.currentLine=73859073; + //BA.debugLineNum = 73859073;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=73859075; + //BA.debugLineNum = 73859075;BA.debugLine="LastX = X"; +__ref._lastx /*float*/ = _x; +RDebugUtils.currentLine=73859076; + //BA.debugLineNum = 73859076;BA.debugLine="LastY = Y"; +__ref._lasty /*float*/ = _y; + break; } +case 1: { +RDebugUtils.currentLine=73859078; + //BA.debugLineNum = 73859078;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=73859079; + //BA.debugLineNum = 73859079;BA.debugLine="LastX = X"; +__ref._lastx /*float*/ = _x; +RDebugUtils.currentLine=73859080; + //BA.debugLineNum = 73859080;BA.debugLine="LastY = Y"; +__ref._lasty /*float*/ = _y; +RDebugUtils.currentLine=73859081; + //BA.debugLineNum = 73859081;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=73859082; + //BA.debugLineNum = 73859082;BA.debugLine="NumberOfPoints = NumberOfPoints + 1"; +__ref._numberofpoints /*int*/ = (int) (__ref._numberofpoints /*int*/ +1); + break; } +} +; +RDebugUtils.currentLine=73859084; + //BA.debugLineNum = 73859084;BA.debugLine="End Sub"; +return ""; +} +public String _resize(SHARK2.keymon.com.mx.b4xsignaturetemplate __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xsignaturetemplate"; +if (Debug.shouldDelegate(ba, "resize", true)) + {return ((String) Debug.delegate(ba, "resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=73662464; + //BA.debugLineNum = 73662464;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; +RDebugUtils.currentLine=73662465; + //BA.debugLineNum = 73662465;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=73662466; + //BA.debugLineNum = 73662466;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=73662467; + //BA.debugLineNum = 73662467;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xswitch.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xswitch.java new file mode 100644 index 0000000..c0cd60d --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xswitch.java @@ -0,0 +1,665 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xswitch"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(SHARK2.keymon.com.mx.b4xswitch __ref,double _width1,double _height1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width1,_height1}));} +RDebugUtils.currentLine=74711040; + //BA.debugLineNum = 74711040;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; +RDebugUtils.currentLine=74711042; + //BA.debugLineNum = 74711042;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +RDebugUtils.currentLine=74055680; + //BA.debugLineNum = 74055680;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=74055681; + //BA.debugLineNum = 74055681;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=74055682; + //BA.debugLineNum = 74055682;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=74055683; + //BA.debugLineNum = 74055683;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=74055684; + //BA.debugLineNum = 74055684;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=74055685; + //BA.debugLineNum = 74055685;BA.debugLine="Private OnColor, OffColor As BCBrush"; +_oncolor = new b4a.example.bcpath._bcbrush(); +_offcolor = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=74055686; + //BA.debugLineNum = 74055686;BA.debugLine="Private bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=74055687; + //BA.debugLineNum = 74055687;BA.debugLine="Private Width As Int = 55dip"; +_width = __c.DipToCurrent((int) (55)); +RDebugUtils.currentLine=74055688; + //BA.debugLineNum = 74055688;BA.debugLine="Private Height As Int = 31dip"; +_height = __c.DipToCurrent((int) (31)); +RDebugUtils.currentLine=74055689; + //BA.debugLineNum = 74055689;BA.debugLine="Private ThumbColor As BCBrush"; +_thumbcolor = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=74055690; + //BA.debugLineNum = 74055690;BA.debugLine="Private iv As ImageView"; +_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=74055691; + //BA.debugLineNum = 74055691;BA.debugLine="Private mValue As Boolean"; +_mvalue = false; +RDebugUtils.currentLine=74055692; + //BA.debugLineNum = 74055692;BA.debugLine="Private transparent As BCBrush"; +_transparent = new b4a.example.bcpath._bcbrush(); +RDebugUtils.currentLine=74055693; + //BA.debugLineNum = 74055693;BA.debugLine="Private LoopIndex As Int"; +_loopindex = 0; +RDebugUtils.currentLine=74055694; + //BA.debugLineNum = 74055694;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=74055695; + //BA.debugLineNum = 74055695;BA.debugLine="Private Scale As Float"; +_scale = 0f; +RDebugUtils.currentLine=74055696; + //BA.debugLineNum = 74055696;BA.debugLine="Private mEnabled As Boolean = True"; +_menabled = __c.True; +RDebugUtils.currentLine=74055697; + //BA.debugLineNum = 74055697;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=74055698; + //BA.debugLineNum = 74055698;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(SHARK2.keymon.com.mx.b4xswitch __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +RDebugUtils.currentLine=74186752; + //BA.debugLineNum = 74186752;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=74186753; + //BA.debugLineNum = 74186753;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=74186754; + //BA.debugLineNum = 74186754;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=74186754; + //BA.debugLineNum = 74186754;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=74186755; + //BA.debugLineNum = 74186755;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=74186756; + //BA.debugLineNum = 74186756;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=74186757; + //BA.debugLineNum = 74186757;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=74186758; + //BA.debugLineNum = 74186758;BA.debugLine="pnl.Color = xui.Color_Transparent"; +_pnl.setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=74186759; + //BA.debugLineNum = 74186759;BA.debugLine="iv.Initialize(\"\")"; +__ref._iv /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .Initialize(ba,""); +RDebugUtils.currentLine=74186760; + //BA.debugLineNum = 74186760;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=74186761; + //BA.debugLineNum = 74186761;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=74186763; + //BA.debugLineNum = 74186763;BA.debugLine="bc.Initialize(Width, Height)"; +__ref._bc /*b4a.example.bitmapcreator*/ ._initialize(ba,__ref._width /*int*/ ,__ref._height /*int*/ ); +RDebugUtils.currentLine=74186764; + //BA.debugLineNum = 74186764;BA.debugLine="Scale = xui.Scale"; +__ref._scale /*float*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getScale(); +RDebugUtils.currentLine=74186769; + //BA.debugLineNum = 74186769;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=74186770; + //BA.debugLineNum = 74186770;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=74186771; + //BA.debugLineNum = 74186771;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=74186772; + //BA.debugLineNum = 74186772;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=74186773; + //BA.debugLineNum = 74186773;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=74186774; + //BA.debugLineNum = 74186774;BA.debugLine="mEnabled = mBase.Enabled"; +__ref._menabled /*boolean*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getEnabled(); +RDebugUtils.currentLine=74186775; + //BA.debugLineNum = 74186775;BA.debugLine="mBase.Enabled = True"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=74186776; + //BA.debugLineNum = 74186776;BA.debugLine="SetValueImpl(Props.Get(\"Value\"), True)"; +__ref._setvalueimpl /*void*/ (null,BA.ObjectToBoolean(_props.Get((Object)("Value"))),__c.True); +RDebugUtils.currentLine=74186777; + //BA.debugLineNum = 74186777;BA.debugLine="End Sub"; +return ""; +} +public void _setvalueimpl(SHARK2.keymon.com.mx.b4xswitch __ref,boolean _b,boolean _immediate) throws Exception{ +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "setvalueimpl", true)) + {Debug.delegate(ba, "setvalueimpl", new Object[] {_b,_immediate}); return;} +ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(this,__ref,_b,_immediate); +rsub.resume(ba, null); +} +public static class ResumableSub_SetValueImpl extends BA.ResumableSub { +public ResumableSub_SetValueImpl(SHARK2.keymon.com.mx.b4xswitch parent,SHARK2.keymon.com.mx.b4xswitch __ref,boolean _b,boolean _immediate) { +this.parent = parent; +this.__ref = __ref; +this._b = _b; +this._immediate = _immediate; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xswitch __ref; +SHARK2.keymon.com.mx.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=74317825; + //BA.debugLineNum = 74317825;BA.debugLine="mValue = b"; +__ref._mvalue /*boolean*/ = _b; +RDebugUtils.currentLine=74317826; + //BA.debugLineNum = 74317826;BA.debugLine="LoopIndex = LoopIndex + 1"; +__ref._loopindex /*int*/ = (int) (__ref._loopindex /*int*/ +1); +RDebugUtils.currentLine=74317827; + //BA.debugLineNum = 74317827;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=74317828; + //BA.debugLineNum = 74317828;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=74317830; + //BA.debugLineNum = 74317830;BA.debugLine="Dim MyIndex As Int = LoopIndex"; +_myindex = __ref._loopindex /*int*/ ; +RDebugUtils.currentLine=74317831; + //BA.debugLineNum = 74317831;BA.debugLine="Dim start As Long = DateTime.Now"; +_start = parent.__c.DateTime.getNow(); +RDebugUtils.currentLine=74317832; + //BA.debugLineNum = 74317832;BA.debugLine="Dim duration As Int = 200"; +_duration = (int) (200); +RDebugUtils.currentLine=74317833; + //BA.debugLineNum = 74317833;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=74317834; + //BA.debugLineNum = 74317834;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; +_state1 = (float) ((parent.__c.DateTime.getNow()-_start)/(double)_duration); +RDebugUtils.currentLine=74317835; + //BA.debugLineNum = 74317835;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=74317836; + //BA.debugLineNum = 74317836;BA.debugLine="Draw(state1)"; +__ref._draw /*String*/ (null,_state1); +RDebugUtils.currentLine=74317837; + //BA.debugLineNum = 74317837;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=74317838; + //BA.debugLineNum = 74317838;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=74317840; + //BA.debugLineNum = 74317840;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=74317841; + //BA.debugLineNum = 74317841;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=74317844; + //BA.debugLineNum = 74317844;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=74317845; + //BA.debugLineNum = 74317845;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=74317847; + //BA.debugLineNum = 74317847;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=74317849; + //BA.debugLineNum = 74317849;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _draw(SHARK2.keymon.com.mx.b4xswitch __ref,float _state) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", new Object[] {_state}));} +float _r = 0f; +float _cx = 0f; +int _cy = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _smallrect = null; +float _w = 0f; +float _h = 0f; +RDebugUtils.currentLine=74645504; + //BA.debugLineNum = 74645504;BA.debugLine="Private Sub Draw (State As Float)"; +RDebugUtils.currentLine=74645505; + //BA.debugLineNum = 74645505;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=74645506; + //BA.debugLineNum = 74645506;BA.debugLine="Dim r As Float = Round(bc.mHeight / 2)"; +_r = (float) (__c.Round(__ref._bc /*b4a.example.bitmapcreator*/ ._mheight/(double)2)); +RDebugUtils.currentLine=74645507; + //BA.debugLineNum = 74645507;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=74645508; + //BA.debugLineNum = 74645508;BA.debugLine="If State = 0 Then"; +if (_state==0) { +RDebugUtils.currentLine=74645509; + //BA.debugLineNum = 74645509;BA.debugLine="cx = r"; +_cx = _r; + }else +{RDebugUtils.currentLine=74645510; + //BA.debugLineNum = 74645510;BA.debugLine="Else If State = 1 Then"; +if (_state==1) { +RDebugUtils.currentLine=74645511; + //BA.debugLineNum = 74645511;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=74645513; + //BA.debugLineNum = 74645513;BA.debugLine="Dim cy As Int = bc.mHeight / 2"; +_cy = (int) (__ref._bc /*b4a.example.bitmapcreator*/ ._mheight/(double)2); +RDebugUtils.currentLine=74645514; + //BA.debugLineNum = 74645514;BA.debugLine="Dim smallrect As B4XRect"; +_smallrect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=74645515; + //BA.debugLineNum = 74645515;BA.debugLine="Dim w As Float = State * bc.mWidth"; +_w = (float) (_state*__ref._bc /*b4a.example.bitmapcreator*/ ._mwidth); +RDebugUtils.currentLine=74645516; + //BA.debugLineNum = 74645516;BA.debugLine="Dim h As Float = State * bc.mHeight"; +_h = (float) (_state*__ref._bc /*b4a.example.bitmapcreator*/ ._mheight); +RDebugUtils.currentLine=74645517; + //BA.debugLineNum = 74645517;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=74645518; + //BA.debugLineNum = 74645518;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=74645519; + //BA.debugLineNum = 74645519;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=74645520; + //BA.debugLineNum = 74645520;BA.debugLine="If mEnabled Then"; +if (__ref._menabled /*boolean*/ ) { +RDebugUtils.currentLine=74645521; + //BA.debugLineNum = 74645521;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=74645523; + //BA.debugLineNum = 74645523;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=74645524; + //BA.debugLineNum = 74645524;BA.debugLine="End Sub"; +return ""; +} +public boolean _getenabled(SHARK2.keymon.com.mx.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "getenabled", true)) + {return ((Boolean) Debug.delegate(ba, "getenabled", null));} +RDebugUtils.currentLine=74579968; + //BA.debugLineNum = 74579968;BA.debugLine="Public Sub getEnabled As Boolean"; +RDebugUtils.currentLine=74579969; + //BA.debugLineNum = 74579969;BA.debugLine="Return mEnabled"; +if (true) return __ref._menabled /*boolean*/ ; +RDebugUtils.currentLine=74579970; + //BA.debugLineNum = 74579970;BA.debugLine="End Sub"; +return false; +} +public boolean _getvalue(SHARK2.keymon.com.mx.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Boolean) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=74448896; + //BA.debugLineNum = 74448896;BA.debugLine="Public Sub getValue As Boolean"; +RDebugUtils.currentLine=74448897; + //BA.debugLineNum = 74448897;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*boolean*/ ; +RDebugUtils.currentLine=74448898; + //BA.debugLineNum = 74448898;BA.debugLine="End Sub"; +return false; +} +public String _initialize(SHARK2.keymon.com.mx.b4xswitch __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=74121216; + //BA.debugLineNum = 74121216;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=74121217; + //BA.debugLineNum = 74121217;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=74121218; + //BA.debugLineNum = 74121218;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=74121219; + //BA.debugLineNum = 74121219;BA.debugLine="End Sub"; +return ""; +} +public String _pnl_click(SHARK2.keymon.com.mx.b4xswitch __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "pnl_click", true)) + {return ((String) Debug.delegate(ba, "pnl_click", null));} +RDebugUtils.currentLine=74252288; + //BA.debugLineNum = 74252288;BA.debugLine="Private Sub pnl_Click"; +RDebugUtils.currentLine=74252290; + //BA.debugLineNum = 74252290;BA.debugLine="If mEnabled Then"; +if (__ref._menabled /*boolean*/ ) { +RDebugUtils.currentLine=74252291; + //BA.debugLineNum = 74252291;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=74252292; + //BA.debugLineNum = 74252292;BA.debugLine="SetValueImpl(Not(mValue), False)"; +__ref._setvalueimpl /*void*/ (null,__c.Not(__ref._mvalue /*boolean*/ ),__c.False); +RDebugUtils.currentLine=74252293; + //BA.debugLineNum = 74252293;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=74252294; + //BA.debugLineNum = 74252294;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; +__c.CallSubDelayed2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(Object)(__ref._mvalue /*boolean*/ )); + }; + }; +RDebugUtils.currentLine=74252297; + //BA.debugLineNum = 74252297;BA.debugLine="End Sub"; +return ""; +} +public String _setenabled(SHARK2.keymon.com.mx.b4xswitch __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "setenabled", true)) + {return ((String) Debug.delegate(ba, "setenabled", new Object[] {_b}));} +RDebugUtils.currentLine=74514432; + //BA.debugLineNum = 74514432;BA.debugLine="Public Sub setEnabled (b As Boolean)"; +RDebugUtils.currentLine=74514433; + //BA.debugLineNum = 74514433;BA.debugLine="mEnabled = b"; +__ref._menabled /*boolean*/ = _b; +RDebugUtils.currentLine=74514434; + //BA.debugLineNum = 74514434;BA.debugLine="SetValueImpl(mValue, True)"; +__ref._setvalueimpl /*void*/ (null,__ref._mvalue /*boolean*/ ,__c.True); +RDebugUtils.currentLine=74514435; + //BA.debugLineNum = 74514435;BA.debugLine="End Sub"; +return ""; +} +public String _setvalue(SHARK2.keymon.com.mx.b4xswitch __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xswitch"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_b}));} +RDebugUtils.currentLine=74383360; + //BA.debugLineNum = 74383360;BA.debugLine="Public Sub setValue(b As Boolean)"; +RDebugUtils.currentLine=74383361; + //BA.debugLineNum = 74383361;BA.debugLine="If b = mValue Then Return"; +if (_b==__ref._mvalue /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=74383362; + //BA.debugLineNum = 74383362;BA.debugLine="SetValueImpl(b, False)"; +__ref._setvalueimpl /*void*/ (null,_b,__c.False); +RDebugUtils.currentLine=74383363; + //BA.debugLineNum = 74383363;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/b4xtimedtemplate.java b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xtimedtemplate.java new file mode 100644 index 0000000..bace2a7 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/b4xtimedtemplate.java @@ -0,0 +1,245 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.b4xtimedtemplate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.anotherprogressbar _anotherprogressbar1 = null; +public Object _mtemplate = null; +public int _timeoutmilliseconds = 0; +public int _index = 0; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(SHARK2.keymon.com.mx.b4xtimedtemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xtimedtemplate"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", new Object[] {_dialog}));} +anywheresoftware.b4a.objects.B4XViewWrapper _innerpanel = null; +RDebugUtils.currentLine=74907648; + //BA.debugLineNum = 74907648;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; +RDebugUtils.currentLine=74907649; + //BA.debugLineNum = 74907649;BA.debugLine="If mBase.NumberOfViews = 0 Then"; +if (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()==0) { +RDebugUtils.currentLine=74907650; + //BA.debugLineNum = 74907650;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=74907651; + //BA.debugLineNum = 74907651;BA.debugLine="If InnerPanel.Parent.IsInitialized Then InnerPan"; +if (_innerpanel.getParent().IsInitialized()) { +_innerpanel.RemoveViewFromParent();}; +RDebugUtils.currentLine=74907652; + //BA.debugLineNum = 74907652;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=74907653; + //BA.debugLineNum = 74907653;BA.debugLine="mBase.LoadLayout(\"TimedDialogTemplate\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("TimedDialogTemplate",ba); +RDebugUtils.currentLine=74907654; + //BA.debugLineNum = 74907654;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=74907655; + //BA.debugLineNum = 74907655;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=74907657; + //BA.debugLineNum = 74907657;BA.debugLine="Return mBase"; +if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=74907658; + //BA.debugLineNum = 74907658;BA.debugLine="End Sub"; +return null; +} +public void _show(SHARK2.keymon.com.mx.b4xtimedtemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) throws Exception{ +RDebugUtils.currentModule="b4xtimedtemplate"; +if (Debug.shouldDelegate(ba, "show", true)) + {Debug.delegate(ba, "show", new Object[] {_dialog}); return;} +ResumableSub_Show rsub = new ResumableSub_Show(this,__ref,_dialog); +rsub.resume(ba, null); +} +public static class ResumableSub_Show extends BA.ResumableSub { +public ResumableSub_Show(SHARK2.keymon.com.mx.b4xtimedtemplate parent,SHARK2.keymon.com.mx.b4xtimedtemplate __ref,SHARK2.keymon.com.mx.b4xdialog _dialog) { +this.parent = parent; +this.__ref = __ref; +this._dialog = _dialog; +this.__ref = parent; +} +SHARK2.keymon.com.mx.b4xtimedtemplate __ref; +SHARK2.keymon.com.mx.b4xtimedtemplate parent; +SHARK2.keymon.com.mx.b4xdialog _dialog; +int _myindex = 0; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="b4xtimedtemplate"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=74973185; + //BA.debugLineNum = 74973185;BA.debugLine="CallSub2(mTemplate, \"Show\", Dialog)"; +parent.__c.CallSubDebug2(ba,__ref._mtemplate /*Object*/ ,"Show",(Object)(_dialog)); +RDebugUtils.currentLine=74973186; + //BA.debugLineNum = 74973186;BA.debugLine="AnotherProgressBar1.SetValueNoAnimation(0)"; +__ref._anotherprogressbar1 /*SHARK2.keymon.com.mx.anotherprogressbar*/ ._setvaluenoanimation /*String*/ (null,(int) (0)); +RDebugUtils.currentLine=74973187; + //BA.debugLineNum = 74973187;BA.debugLine="AnotherProgressBar1.ValueChangePerSecond = 100 /"; +__ref._anotherprogressbar1 /*SHARK2.keymon.com.mx.anotherprogressbar*/ ._valuechangepersecond /*float*/ = (float) (100/(double)(__ref._timeoutmilliseconds /*int*/ /(double)1000)); +RDebugUtils.currentLine=74973188; + //BA.debugLineNum = 74973188;BA.debugLine="AnotherProgressBar1.Value = 100"; +__ref._anotherprogressbar1 /*SHARK2.keymon.com.mx.anotherprogressbar*/ ._setvalue /*int*/ (null,(int) (100)); +RDebugUtils.currentLine=74973189; + //BA.debugLineNum = 74973189;BA.debugLine="Index = Index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=74973190; + //BA.debugLineNum = 74973190;BA.debugLine="Dim MyIndex As Int = Index"; +_myindex = __ref._index /*int*/ ; +RDebugUtils.currentLine=74973191; + //BA.debugLineNum = 74973191;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=74973192; + //BA.debugLineNum = 74973192;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=74973193; + //BA.debugLineNum = 74973193;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=74973195; + //BA.debugLineNum = 74973195;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _dialogclosed(SHARK2.keymon.com.mx.b4xtimedtemplate __ref,int _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xtimedtemplate"; +if (Debug.shouldDelegate(ba, "dialogclosed", true)) + {return ((String) Debug.delegate(ba, "dialogclosed", new Object[] {_result}));} +RDebugUtils.currentLine=75038720; + //BA.debugLineNum = 75038720;BA.debugLine="Private Sub DialogClosed(Result As Int)"; +RDebugUtils.currentLine=75038721; + //BA.debugLineNum = 75038721;BA.debugLine="Index = Index + 1"; +__ref._index /*int*/ = (int) (__ref._index /*int*/ +1); +RDebugUtils.currentLine=75038722; + //BA.debugLineNum = 75038722;BA.debugLine="CallSub2(mTemplate, \"DialogClosed\", Result)"; +__c.CallSubDebug2(ba,__ref._mtemplate /*Object*/ ,"DialogClosed",(Object)(_result)); +RDebugUtils.currentLine=75038723; + //BA.debugLineNum = 75038723;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.b4xtimedtemplate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="b4xtimedtemplate"; +RDebugUtils.currentLine=74776576; + //BA.debugLineNum = 74776576;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=74776577; + //BA.debugLineNum = 74776577;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=74776578; + //BA.debugLineNum = 74776578;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=74776579; + //BA.debugLineNum = 74776579;BA.debugLine="Private AnotherProgressBar1 As AnotherProgressBar"; +_anotherprogressbar1 = new SHARK2.keymon.com.mx.anotherprogressbar(); +RDebugUtils.currentLine=74776580; + //BA.debugLineNum = 74776580;BA.debugLine="Private mTemplate As Object"; +_mtemplate = new Object(); +RDebugUtils.currentLine=74776581; + //BA.debugLineNum = 74776581;BA.debugLine="Public TimeoutMilliseconds As Int = 10000"; +_timeoutmilliseconds = (int) (10000); +RDebugUtils.currentLine=74776582; + //BA.debugLineNum = 74776582;BA.debugLine="Private Index As Int"; +_index = 0; +RDebugUtils.currentLine=74776583; + //BA.debugLineNum = 74776583;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.b4xtimedtemplate __ref,anywheresoftware.b4a.BA _ba,Object _innertemplate) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="b4xtimedtemplate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_innertemplate}));} +RDebugUtils.currentLine=74842112; + //BA.debugLineNum = 74842112;BA.debugLine="Public Sub Initialize (InnerTemplate As Object)"; +RDebugUtils.currentLine=74842113; + //BA.debugLineNum = 74842113;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"mBase"); +RDebugUtils.currentLine=74842114; + //BA.debugLineNum = 74842114;BA.debugLine="mTemplate = InnerTemplate"; +__ref._mtemplate /*Object*/ = _innertemplate; +RDebugUtils.currentLine=74842116; + //BA.debugLineNum = 74842116;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/batteryutilities.java b/B4A/Objects/src/SHARK2/keymon/com/mx/batteryutilities.java new file mode 100644 index 0000000..ac25271 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/batteryutilities.java @@ -0,0 +1,199 @@ +package SHARK2.keymon.com.mx; + +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, "SHARK2.keymon.com.mx.batteryutilities"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _initialize(SHARK2.keymon.com.mx.batteryutilities __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="batteryutilities"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=4259840; + //BA.debugLineNum = 4259840;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=4259841; + //BA.debugLineNum = 4259841;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=4259842; + //BA.debugLineNum = 4259842;BA.debugLine="End Sub"; +return ""; +} +public int[] _getbatteryinformation(SHARK2.keymon.com.mx.batteryutilities __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="batteryutilities"; +if (Debug.shouldDelegate(ba, "getbatteryinformation", false)) + {return ((int[]) Debug.delegate(ba, "getbatteryinformation", null));} +int[] _batteryinfo = null; +RDebugUtils.currentLine=4325376; + //BA.debugLineNum = 4325376;BA.debugLine="Public Sub getBatteryInformation () As Int()"; +RDebugUtils.currentLine=4325378; + //BA.debugLineNum = 4325378;BA.debugLine="Dim batteryInfo(11) As Int"; +_batteryinfo = new int[(int) (11)]; +; +RDebugUtils.currentLine=4325379; + //BA.debugLineNum = 4325379;BA.debugLine="batteryInfo = nativeMe.RunMethod(\"getBatteryInfor"; +_batteryinfo = (int[])(__ref._nativeme /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("getBatteryInformation",(Object[])(__c.Null))); +RDebugUtils.currentLine=4325380; + //BA.debugLineNum = 4325380;BA.debugLine="Return batteryInfo"; +if (true) return _batteryinfo; +RDebugUtils.currentLine=4325382; + //BA.debugLineNum = 4325382;BA.debugLine="End Sub"; +return null; +} +public String _class_globals(SHARK2.keymon.com.mx.batteryutilities __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="batteryutilities"; +RDebugUtils.currentLine=4194304; + //BA.debugLineNum = 4194304;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=4194305; + //BA.debugLineNum = 4194305;BA.debugLine="Private nativeMe As JavaObject"; +_nativeme = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=4194307; + //BA.debugLineNum = 4194307;BA.debugLine="End Sub"; +return ""; +} +public String _getbatterytechnolgy(SHARK2.keymon.com.mx.batteryutilities __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="batteryutilities"; +if (Debug.shouldDelegate(ba, "getbatterytechnolgy", false)) + {return ((String) Debug.delegate(ba, "getbatterytechnolgy", null));} +String _batterytech = ""; +RDebugUtils.currentLine=4390912; + //BA.debugLineNum = 4390912;BA.debugLine="Public Sub getBatteryTechnolgy() As String"; +RDebugUtils.currentLine=4390914; + //BA.debugLineNum = 4390914;BA.debugLine="Dim batterytech As String"; +_batterytech = ""; +RDebugUtils.currentLine=4390915; + //BA.debugLineNum = 4390915;BA.debugLine="batterytech = nativeMe.RunMethod(\"getBatteryTechn"; +_batterytech = BA.ObjectToString(__ref._nativeme /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("getBatteryTechnology",(Object[])(__c.Null))); +RDebugUtils.currentLine=4390916; + //BA.debugLineNum = 4390916;BA.debugLine="Return batterytech"; +if (true) return _batterytech; +RDebugUtils.currentLine=4390918; + //BA.debugLineNum = 4390918;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/SHARK2/keymon/com/mx/c_cliente.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_cliente.java new file mode 100644 index 0000000..d77ed8e --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_cliente.java @@ -0,0 +1,8490 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.c_cliente"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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.objects.PanelWrapper _p_cliente = null; +public SHARK2.keymon.com.mx.dbrequestmanager _reqmanager = null; +public SHARK2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; +public anywheresoftware.b4a.objects.IME _ime = null; +public String _credito_diponible = ""; +public anywheresoftware.b4a.gps.GPS _g = null; +public String _ruta = ""; +public anywheresoftware.b4a.sql.SQL _skmt = null; +public String _clie_id = ""; +public String _sdate = ""; +public String _stime = ""; +public String _usuario = ""; +public String _total_cliente = ""; +public String _m_lat = ""; +public String _m_lon = ""; +public String _m_lat_al = ""; +public String _m_lon_al = ""; +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 String _cuenta = ""; +public String _tipo_venta = ""; +public String _mac_impresora = ""; +public SHARK2.keymon.com.mx.escposprinter _printer1 = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _dd = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = 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 boolean _impresoraconectada = false; +public anywheresoftware.b4a.objects.ButtonWrapper _tels = null; +public anywheresoftware.b4a.objects.LabelWrapper _label10 = null; +public anywheresoftware.b4a.objects.LabelWrapper _label11 = null; +public anywheresoftware.b4a.objects.ButtonWrapper _tar = null; +public int _errorimpresora = 0; +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.sql.SQL.CursorWrapper _s2 = null; +public String _res = ""; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _credi = null; +public anywheresoftware.b4a.objects.ButtonWrapper _hist = null; +public String _monto_compra = ""; +public String _meta = ""; +public String _meta2 = ""; +public String _verifica = ""; +public anywheresoftware.b4a.objects.LabelWrapper _l_qr = null; +public anywheresoftware.b4a.objects.ButtonWrapper _bt_qr = null; +public String _codigo = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_mapa = null; +public String _cuantos = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_imp = null; +public com.rootsoft.togglelibrary.ToggleLibrary _toggla = null; +public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; +public float _pre_act = 0f; +public anywheresoftware.b4a.objects.PanelWrapper _panel1 = null; +public anywheresoftware.b4a.objects.EditTextWrapper _i_compra = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_guarda_c = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_venta = null; +public String _almacen = ""; +public anywheresoftware.b4a.objects.LabelWrapper _la_gps = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_e_next = null; +public anywheresoftware.b4a.objects.EditTextWrapper _e_res_e = null; +public anywheresoftware.b4a.objects.LabelWrapper _t_tenc = null; +public anywheresoftware.b4a.objects.PanelWrapper _panel2 = null; +public String _contador_e = ""; +public String _hr_res1 = ""; +public String _hr_res2 = ""; +public String _hr_res3 = ""; +public String _existe = ""; +public String _telefono = ""; +public anywheresoftware.b4a.objects.Timer _t1 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb1 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb2 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb3 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb4 = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb5 = null; +public String _stay_hh = ""; +public String _stay_mi = ""; +public String _stay_ss = ""; +public anywheresoftware.b4a.objects.LabelWrapper _la_geo = null; +public int _result = 0; +public String _cercavalor = ""; +public String _la_ruta = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_like = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_gps = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb_factura = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_cbfactura = null; +public boolean _venimosdeticketsdia = false; +public anywheresoftware.b4a.objects.PanelWrapper _p_abono = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_abono = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_abono = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelar = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_abono1 = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _b = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_cxc = null; +public b4a.example3.customlistview _clv_abonos = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_folio = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_saldo = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _f = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_montoabonostotal = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _j = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _h = null; +public long _distance = 0L; +public long _distance2 = 0L; +public SHARK2.keymon.com.mx.c_cuestionario _cuest = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_ventaabordo = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_factura = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_limite = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_montoacredito = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_cancred = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_acred = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_credito = null; +public int _banderaimp = 0; +public String _k1 = ""; +public String _k2 = ""; +public String _k3 = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_ubicar = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_venta_credito = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_act_coords = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_giro = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_atiende = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_atiende = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelatiende = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_acepatiende = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_giro = null; +public SHARK2.keymon.com.mx.b4xcombobox _cb_giro = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelgiro = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_acepgiro = null; +public String _giros = ""; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=4587520; + //BA.debugLineNum = 4587520;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=4587521; + //BA.debugLineNum = 4587521;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=4587522; + //BA.debugLineNum = 4587522;BA.debugLine="End Sub"; +return null; +} +public void _b_abono_click(SHARK2.keymon.com.mx.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(SHARK2.keymon.com.mx.c_cliente parent,SHARK2.keymon.com.mx.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_cliente __ref; +SHARK2.keymon.com.mx.c_cliente parent; +anywheresoftware.b4a.sql.SQL.CursorWrapper _k = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _y = null; +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=7864322; + //BA.debugLineNum = 7864322;BA.debugLine="If et_abono.text > l_montoabonostotal.text Then"; +if (true) break; + +case 1: +//if +this.state = 28; +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 = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 28; +RDebugUtils.currentLine=7864323; + //BA.debugLineNum = 7864323;BA.debugLine="MsgboxAsync(\"El monto a abonar no puede ser mayo"; +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 5: +//C +this.state = 6; +RDebugUtils.currentLine=7864325; + //BA.debugLineNum = 7864325;BA.debugLine="If et_abono.Text <> \"\" Then"; +if (true) break; + +case 6: +//if +this.state = 27; +if ((__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +this.state = 8; +}if (true) break; + +case 8: +//C +this.state = 9; +RDebugUtils.currentLine=7864327; + //BA.debugLineNum = 7864327;BA.debugLine="Dim k As Cursor = B4XPages.MainPage.skmt.ExecQu"; +_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._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA from CUENTAA"))); +RDebugUtils.currentLine=7864328; + //BA.debugLineNum = 7864328;BA.debugLine="k.Position = 0"; +_k.setPosition((int) (0)); +RDebugUtils.currentLine=7864329; + //BA.debugLineNum = 7864329;BA.debugLine="Log(k.GetString(\"CUENTA\"))"; +parent.__c.LogImpl("57864329",_k.GetString("CUENTA"),0); +RDebugUtils.currentLine=7864330; + //BA.debugLineNum = 7864330;BA.debugLine="Dim y As Cursor = B4XPages.MainPage.skmt.ExecQu"; +_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._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono FROM ABONOS WHERE a_cliente = ?",new String[]{_k.GetString("CUENTA")}))); +RDebugUtils.currentLine=7864331; + //BA.debugLineNum = 7864331;BA.debugLine="y.position = 0"; +_y.setPosition((int) (0)); +RDebugUtils.currentLine=7864333; + //BA.debugLineNum = 7864333;BA.debugLine="If y.RowCount = 0 Then"; +if (true) break; + +case 9: +//if +this.state = 26; +if (_y.getRowCount()==0) { +this.state = 11; +}else +{RDebugUtils.currentLine=7864339; + //BA.debugLineNum = 7864339;BA.debugLine="Else If et_abono.Text > y.GetString(\"a_abono\")"; +if ((double)(Double.parseDouble(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>(double)(Double.parseDouble(_y.GetString("a_abono")))) { +this.state = 17; +}else +{RDebugUtils.currentLine=7864345; + //BA.debugLineNum = 7864345;BA.debugLine="Else If et_abono.Text = y.GetString(\"a_abono\")"; +if ((__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals(_y.GetString("a_abono"))) { +this.state = 23; +}else +{RDebugUtils.currentLine=7864348; + //BA.debugLineNum = 7864348;BA.debugLine="Else If et_abono.Text < y.GetString(\"a_abono\")"; +if ((double)(Double.parseDouble(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))<(double)(Double.parseDouble(_y.GetString("a_abono")))) { +this.state = 25; +}}}} +if (true) break; + +case 11: +//C +this.state = 12; +RDebugUtils.currentLine=7864334; + //BA.debugLineNum = 7864334;BA.debugLine="Msgbox2Async($\"¿Seguro que quieres realizar un"; +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=7864335; + //BA.debugLineNum = 7864335;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 = 29; +return; +case 29: +//C +this.state = 12; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=7864336; + //BA.debugLineNum = 7864336;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 12: +//if +this.state = 15; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 14; +}if (true) break; + +case 14: +//C +this.state = 15; +RDebugUtils.currentLine=7864337; + //BA.debugLineNum = 7864337;BA.debugLine="imprime_pagare"; +__ref._imprime_pagare /*void*/ (null); + if (true) break; + +case 15: +//C +this.state = 26; +; + if (true) break; + +case 17: +//C +this.state = 18; +RDebugUtils.currentLine=7864340; + //BA.debugLineNum = 7864340;BA.debugLine="Msgbox2Async($\"¿Seguro que quieres realizar un"; +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=7864341; + //BA.debugLineNum = 7864341;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 = 30; +return; +case 30: +//C +this.state = 18; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=7864342; + //BA.debugLineNum = 7864342;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 18: +//if +this.state = 21; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 20; +}if (true) break; + +case 20: +//C +this.state = 21; +RDebugUtils.currentLine=7864343; + //BA.debugLineNum = 7864343;BA.debugLine="imprime_pagare"; +__ref._imprime_pagare /*void*/ (null); + if (true) break; + +case 21: +//C +this.state = 26; +; + if (true) break; + +case 23: +//C +this.state = 26; +RDebugUtils.currentLine=7864346; + //BA.debugLineNum = 7864346;BA.debugLine="p_abono.Visible = False"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=7864347; + //BA.debugLineNum = 7864347;BA.debugLine="et_abono.Text = \"\""; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + if (true) break; + +case 25: +//C +this.state = 26; +RDebugUtils.currentLine=7864349; + //BA.debugLineNum = 7864349;BA.debugLine="p_abono.Visible = False"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=7864350; + //BA.debugLineNum = 7864350;BA.debugLine="MsgboxAsync(\"El pago no puede ser menor al mon"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("El pago no puede ser menor al monto capturado."),BA.ObjectToCharSequence("Atención"),ba); +RDebugUtils.currentLine=7864351; + //BA.debugLineNum = 7864351;BA.debugLine="et_abono.Text = \"\""; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + if (true) break; + +case 26: +//C +this.state = 27; +; + if (true) break; + +case 27: +//C +this.state = 28; +; + if (true) break; + +case 28: +//C +this.state = -1; +; +RDebugUtils.currentLine=7864359; + //BA.debugLineNum = 7864359;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=7864360; + //BA.debugLineNum = 7864360;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _imprime_pagare(SHARK2.keymon.com.mx.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(SHARK2.keymon.com.mx.c_cliente parent,SHARK2.keymon.com.mx.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_cliente __ref; +SHARK2.keymon.com.mx.c_cliente parent; +String _elinefeed = ""; +int _cont = 0; +String _notaabono = ""; +String _saldopendiente = ""; +String[] _fechatabulador = null; +String[] _fechatabulador2 = null; +String _fechatabulador3 = ""; +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=8323075; + //BA.debugLineNum = 8323075;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=8323076; + //BA.debugLineNum = 8323076;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8323077; + //BA.debugLineNum = 8323077;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=8323078; + //BA.debugLineNum = 8323078;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=8323079; + //BA.debugLineNum = 8323079;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +parent.__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=8323080; + //BA.debugLineNum = 8323080;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=8323081; + //BA.debugLineNum = 8323081;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=8323082; + //BA.debugLineNum = 8323082;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8323084; + //BA.debugLineNum = 8323084;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a))); +RDebugUtils.currentLine=8323086; + //BA.debugLineNum = 8323086;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); +RDebugUtils.currentLine=8323087; + //BA.debugLineNum = 8323087;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=8323088; + //BA.debugLineNum = 8323088;BA.debugLine="If Not(Printer1.IsConnected) Then"; +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.Not(__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=8323090; + //BA.debugLineNum = 8323090;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=8323091; + //BA.debugLineNum = 8323091;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=8323092; + //BA.debugLineNum = 8323092;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=8323093; + //BA.debugLineNum = 8323093;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_pagare"),(int) (1000)); +this.state = 55; +return; +case 55: +//C +this.state = 7; +; +RDebugUtils.currentLine=8323094; + //BA.debugLineNum = 8323094;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=8323095; + //BA.debugLineNum = 8323095;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 /*SHARK2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=8323096; + //BA.debugLineNum = 8323096;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=8323098; + //BA.debugLineNum = 8323098;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_pagare"),(int) (500)); +this.state = 56; +return; +case 56: +//C +this.state = 38; +; +RDebugUtils.currentLine=8323099; + //BA.debugLineNum = 8323099;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=8323102; + //BA.debugLineNum = 8323102;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=8323103; + //BA.debugLineNum = 8323103;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=8323104; + //BA.debugLineNum = 8323104;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 /*SHARK2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=8323105; + //BA.debugLineNum = 8323105;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_pagare"),(int) (1000)); +this.state = 57; +return; +case 57: +//C +this.state = 25; +; +RDebugUtils.currentLine=8323106; + //BA.debugLineNum = 8323106;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=8323107; + //BA.debugLineNum = 8323107;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 /*SHARK2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 30: +//C +this.state = 31; +; +RDebugUtils.currentLine=8323108; + //BA.debugLineNum = 8323108;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=8323110; + //BA.debugLineNum = 8323110;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_pagare"),(int) (500)); +this.state = 58; +return; +case 58: +//C +this.state = 38; +; +RDebugUtils.currentLine=8323111; + //BA.debugLineNum = 8323111;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 38: +//C +this.state = 39; +; +RDebugUtils.currentLine=8323114; + //BA.debugLineNum = 8323114;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=8323115; + //BA.debugLineNum = 8323115;BA.debugLine="ESPACIO = 22"; +__ref._espacio /*int*/ = (int) (22); +RDebugUtils.currentLine=8323116; + //BA.debugLineNum = 8323116;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=8323118; + //BA.debugLineNum = 8323118;BA.debugLine="Printer1.WriteString(\"SHARK2 Distribuciones\" & e"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"SHARK2 Distribuciones"+_elinefeed); +RDebugUtils.currentLine=8323120; + //BA.debugLineNum = 8323120;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +_elinefeed); +RDebugUtils.currentLine=8323121; + //BA.debugLineNum = 8323121;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +_elinefeed); +RDebugUtils.currentLine=8323122; + //BA.debugLineNum = 8323122;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eL"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Vendedor:"+__ref._usuario /*String*/ +_elinefeed); +RDebugUtils.currentLine=8323123; + //BA.debugLineNum = 8323123;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=8323124; + //BA.debugLineNum = 8323124;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=8323125; + //BA.debugLineNum = 8323125;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=8323126; + //BA.debugLineNum = 8323126;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=8323127; + //BA.debugLineNum = 8323127;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=8323128; + //BA.debugLineNum = 8323128;BA.debugLine="Dim notaabono As String"; +_notaabono = ""; +RDebugUtils.currentLine=8323129; + //BA.debugLineNum = 8323129;BA.debugLine="Dim saldopendiente As String"; +_saldopendiente = ""; +RDebugUtils.currentLine=8323130; + //BA.debugLineNum = 8323130;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT NOTA, DIA_VEN"; +__ref._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, DIA_VENCIMIENTO, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=8323131; + //BA.debugLineNum = 8323131;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 39: +//if +this.state = 42; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=8323132; + //BA.debugLineNum = 8323132;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8323134; + //BA.debugLineNum = 8323134;BA.debugLine="Dim fechatabulador() As String = Regex.Split(\""; +_fechatabulador = parent.__c.Regex.Split(" ",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("DIA_VENCIMIENTO")); +RDebugUtils.currentLine=8323135; + //BA.debugLineNum = 8323135;BA.debugLine="Dim fechatabulador2() As String = Regex.Split(\""; +_fechatabulador2 = parent.__c.Regex.Split("-",_fechatabulador[(int) (0)]); +RDebugUtils.currentLine=8323136; + //BA.debugLineNum = 8323136;BA.debugLine="Dim fechatabulador3 As String = fechatabulador2"; +_fechatabulador3 = _fechatabulador2[(int) (2)]+"/"+_fechatabulador2[(int) (1)]+"/"+_fechatabulador2[(int) (0)]; +RDebugUtils.currentLine=8323138; + //BA.debugLineNum = 8323138;BA.debugLine="notaabono = c.GetString(\"NOTA\")"; +_notaabono = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA"); +RDebugUtils.currentLine=8323139; + //BA.debugLineNum = 8323139;BA.debugLine="saldopendiente = c.GetString(\"SALDO_PENDIENTE\")"; +_saldopendiente = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE"); + if (true) break; + +case 42: +//C +this.state = 43; +; +RDebugUtils.currentLine=8323141; + //BA.debugLineNum = 8323141;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8323148; + //BA.debugLineNum = 8323148;BA.debugLine="Log(notaabono)"; +parent.__c.LogImpl("58323148",_notaabono,0); +RDebugUtils.currentLine=8323149; + //BA.debugLineNum = 8323149;BA.debugLine="Log(et_abono.Text)"; +parent.__c.LogImpl("58323149",__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),0); +RDebugUtils.currentLine=8323150; + //BA.debugLineNum = 8323150;BA.debugLine="Printer1.WriteString(\"Comprobante de pago del pa"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Comprobante de pago del pagare"+_elinefeed); +RDebugUtils.currentLine=8323152; + //BA.debugLineNum = 8323152;BA.debugLine="Printer1.WriteString(\"Folio: \" & notaabono & e"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Folio: "+_notaabono+_elinefeed); +RDebugUtils.currentLine=8323154; + //BA.debugLineNum = 8323154;BA.debugLine="Printer1.WriteString(\"Monto deuda: \" & (NumberF"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Monto deuda: "+(parent.__c.NumberFormat((double)(Double.parseDouble(_saldopendiente)),(int) (0),(int) (2)))+_elinefeed); +RDebugUtils.currentLine=8323156; + //BA.debugLineNum = 8323156;BA.debugLine="Printer1.WriteString(\"Monto abono: \" & (NumberF"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Monto abono: "+(parent.__c.NumberFormat((double)(Double.parseDouble(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())),(int) (0),(int) (2)))+_elinefeed); +RDebugUtils.currentLine=8323158; + //BA.debugLineNum = 8323158;BA.debugLine="Printer1.WriteString(\"Restante: \" &(NumberFormat"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Restante: "+(parent.__c.NumberFormat((double)(Double.parseDouble(_saldopendiente))-(double)(Double.parseDouble(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())),(int) (0),(int) (2)))+_elinefeed); +RDebugUtils.currentLine=8323160; + //BA.debugLineNum = 8323160;BA.debugLine="Printer1.WriteString(\"Fecha Abono: \" & sDate &"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Fecha Abono: "+__ref._sdate /*String*/ +_elinefeed); +RDebugUtils.currentLine=8323162; + //BA.debugLineNum = 8323162;BA.debugLine="Printer1.WriteString(\"Fecha vencimiento: \" & fec"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Fecha vencimiento: "+_fechatabulador3+_elinefeed); +RDebugUtils.currentLine=8323164; + //BA.debugLineNum = 8323164;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=8323165; + //BA.debugLineNum = 8323165;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=8323166; + //BA.debugLineNum = 8323166;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=8323167; + //BA.debugLineNum = 8323167;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=8323168; + //BA.debugLineNum = 8323168;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=8323169; + //BA.debugLineNum = 8323169;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=8323170; + //BA.debugLineNum = 8323170;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=8323172; + //BA.debugLineNum = 8323172;BA.debugLine="Printer1.WriteString(\"--------------------------"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=8323173; + //BA.debugLineNum = 8323173;BA.debugLine="Printer1.WriteString(\"-------------FIRMA--------"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"-------------FIRMA------------"+_elinefeed); +RDebugUtils.currentLine=8323175; + //BA.debugLineNum = 8323175;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=8323176; + //BA.debugLineNum = 8323176;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=8323177; + //BA.debugLineNum = 8323177;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=8323178; + //BA.debugLineNum = 8323178;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_pagare"),(int) (1000)); +this.state = 59; +return; +case 59: +//C +this.state = 43; +; +RDebugUtils.currentLine=8323179; + //BA.debugLineNum = 8323179;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=8323181; + //BA.debugLineNum = 8323181;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=8323184; + //BA.debugLineNum = 8323184;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=8323185; + //BA.debugLineNum = 8323185;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 = 60; +return; +case 60: +//C +this.state = 43; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=8323186; + //BA.debugLineNum = 8323186;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 43: +//if +this.state = 54; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 45; +}else { +this.state = 47; +}if (true) break; + +case 45: +//C +this.state = 54; +RDebugUtils.currentLine=8323187; + //BA.debugLineNum = 8323187;BA.debugLine="imprime_pagare"; +__ref._imprime_pagare /*void*/ (null); + if (true) break; + +case 47: +//C +this.state = 48; +RDebugUtils.currentLine=8323189; + //BA.debugLineNum = 8323189;BA.debugLine="h = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CUE"; +__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._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA from CUENTAA"))); +RDebugUtils.currentLine=8323190; + //BA.debugLineNum = 8323190;BA.debugLine="h.Position = 0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8323191; + //BA.debugLineNum = 8323191;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; +parent.__c.LogImpl("58323191",__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"),0); +RDebugUtils.currentLine=8323193; + //BA.debugLineNum = 8323193;BA.debugLine="j = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT a_"; +__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._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._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=8323194; + //BA.debugLineNum = 8323194;BA.debugLine="j.position = 0"; +__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8323195; + //BA.debugLineNum = 8323195;BA.debugLine="If j.RowCount = 0 Then"; +if (true) break; + +case 48: +//if +this.state = 53; +if (__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +this.state = 50; +}else { +this.state = 52; +}if (true) break; + +case 50: +//C +this.state = 53; +RDebugUtils.currentLine=8323196; + //BA.debugLineNum = 8323196;BA.debugLine="p_abono.Visible = False"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=8323198; + //BA.debugLineNum = 8323198;BA.debugLine="skmt.ExecNonQuery($\"INSERT INTO ABONOS(a_usuari"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha) 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()))))+"')")); +RDebugUtils.currentLine=8323199; + //BA.debugLineNum = 8323199;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Abono guardado"),parent.__c.False); +RDebugUtils.currentLine=8323200; + //BA.debugLineNum = 8323200;BA.debugLine="et_abono.Text = \"\""; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=8323201; + //BA.debugLineNum = 8323201;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + if (true) break; + +case 52: +//C +this.state = 53; +RDebugUtils.currentLine=8323203; + //BA.debugLineNum = 8323203;BA.debugLine="p_abono.Visible = False"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=8323206; + //BA.debugLineNum = 8323206;BA.debugLine="skmt.ExecNonQuery($\"UPDATE ABONOS set a_abono ="; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE ABONOS set a_abono = '"+parent.__c.SmartStringFormatter("",(Object)(__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"' where a_usuario = '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeusuariodebd /*String*/ (ba)))+"' and a_ruta = '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeruta /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))+"' and a_cliente In (select cuenta from cuentaa)")); +RDebugUtils.currentLine=8323207; + //BA.debugLineNum = 8323207;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Abono guardado"),parent.__c.False); +RDebugUtils.currentLine=8323208; + //BA.debugLineNum = 8323208;BA.debugLine="et_abono.Text = \"\""; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=8323209; + //BA.debugLineNum = 8323209;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + if (true) break; + +case 53: +//C +this.state = 54; +; + if (true) break; + +case 54: +//C +this.state = -1; +; +RDebugUtils.currentLine=8323216; + //BA.debugLineNum = 8323216;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b_abono1_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_abono1_click", false)) + {return ((String) Debug.delegate(ba, "b_abono1_click", null));} +RDebugUtils.currentLine=7995392; + //BA.debugLineNum = 7995392;BA.debugLine="Private Sub b_abono1_Click"; +RDebugUtils.currentLine=7995393; + //BA.debugLineNum = 7995393;BA.debugLine="p_abono.Visible = True"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=7995394; + //BA.debugLineNum = 7995394;BA.debugLine="End Sub"; +return ""; +} +public String _b_acepatiende_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_acepatiende_click", false)) + {return ((String) Debug.delegate(ba, "b_acepatiende_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _coord = null; +RDebugUtils.currentLine=8650752; + //BA.debugLineNum = 8650752;BA.debugLine="Private Sub b_acepatiende_Click"; +RDebugUtils.currentLine=8650753; + //BA.debugLineNum = 8650753;BA.debugLine="If et_atiende.Text <> \"\" Then"; +if ((__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=8650755; + //BA.debugLineNum = 8650755;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skmt"; +_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * from ATIENDE where CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=8650757; + //BA.debugLineNum = 8650757;BA.debugLine="If coord.RowCount = 0 Then"; +if (_coord.getRowCount()==0) { +RDebugUtils.currentLine=8650758; + //BA.debugLineNum = 8650758;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ATIENDE(ATIENDE"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ATIENDE(ATIENDE,CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),_subs._traecliente /*String*/ (ba)})); +RDebugUtils.currentLine=8650759; + //BA.debugLineNum = 8650759;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set CAT_CL_ATIENDE1 = '"+__c.SmartStringFormatter("",(Object)(__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); +RDebugUtils.currentLine=8650760; + //BA.debugLineNum = 8650760;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba); +RDebugUtils.currentLine=8650761; + //BA.debugLineNum = 8650761;BA.debugLine="l_atiende.Text = et_atiende.Text"; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())); +RDebugUtils.currentLine=8650762; + //BA.debugLineNum = 8650762;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=8650763; + //BA.debugLineNum = 8650763;BA.debugLine="p_atiende.Visible = False"; +__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=8650764; + //BA.debugLineNum = 8650764;BA.debugLine="et_atiende.Text = \"\""; +__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }else { +RDebugUtils.currentLine=8650766; + //BA.debugLineNum = 8650766;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE ATIENDE SET ATIENDE"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE ATIENDE SET ATIENDE = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()})); +RDebugUtils.currentLine=8650767; + //BA.debugLineNum = 8650767;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set CAT_CL_ATIENDE1 = '"+__c.SmartStringFormatter("",(Object)(__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); +RDebugUtils.currentLine=8650768; + //BA.debugLineNum = 8650768;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba); +RDebugUtils.currentLine=8650769; + //BA.debugLineNum = 8650769;BA.debugLine="l_atiende.Text = et_atiende.Text"; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())); +RDebugUtils.currentLine=8650770; + //BA.debugLineNum = 8650770;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=8650771; + //BA.debugLineNum = 8650771;BA.debugLine="p_atiende.Visible = False"; +__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=8650772; + //BA.debugLineNum = 8650772;BA.debugLine="et_atiende.Text = \"\""; +__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }; + }else { +RDebugUtils.currentLine=8650777; + //BA.debugLineNum = 8650777;BA.debugLine="MsgboxAsync(\"Por favor captura un nombre valido."; +__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura un nombre valido."),BA.ObjectToCharSequence("Atención"),ba); + }; +RDebugUtils.currentLine=8650779; + //BA.debugLineNum = 8650779;BA.debugLine="End Sub"; +return ""; +} +public String _b_acepgiro_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_acepgiro_click", false)) + {return ((String) Debug.delegate(ba, "b_acepgiro_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _coord = null; +RDebugUtils.currentLine=8912896; + //BA.debugLineNum = 8912896;BA.debugLine="Private Sub b_acepgiro_Click"; +RDebugUtils.currentLine=8912897; + //BA.debugLineNum = 8912897;BA.debugLine="If giros <> \"SELECCIONA UNA OPCIÓN\" Or cb_giro.Se"; +if ((__ref._giros /*String*/ ).equals("SELECCIONA UNA OPCIÓN") == false || (__ref._cb_giro /*SHARK2.keymon.com.mx.b4xcombobox*/ ._getselecteditem /*String*/ (null)).equals("SELECCIONA UNA OPCIÓN") == false) { +RDebugUtils.currentLine=8912898; + //BA.debugLineNum = 8912898;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skmt"; +_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * from GIROS_ACTUAL where CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=8912900; + //BA.debugLineNum = 8912900;BA.debugLine="If coord.RowCount = 0 Then"; +if (_coord.getRowCount()==0) { +RDebugUtils.currentLine=8912901; + //BA.debugLineNum = 8912901;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO GIROS_ACTUAL(GI"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO GIROS_ACTUAL(GIRO,CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._giros /*String*/ ,_subs._traecliente /*String*/ (ba)})); +RDebugUtils.currentLine=8912902; + //BA.debugLineNum = 8912902;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set CAT_CL_GIRO = '"+__c.SmartStringFormatter("",(Object)(__ref._cb_giro /*SHARK2.keymon.com.mx.b4xcombobox*/ ._getselecteditem /*String*/ (null)))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); +RDebugUtils.currentLine=8912903; + //BA.debugLineNum = 8912903;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba); +RDebugUtils.currentLine=8912904; + //BA.debugLineNum = 8912904;BA.debugLine="l_giro.Text = giros"; +__ref._l_giro /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._giros /*String*/ )); +RDebugUtils.currentLine=8912905; + //BA.debugLineNum = 8912905;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=8912906; + //BA.debugLineNum = 8912906;BA.debugLine="p_giro.Visible = False"; +__ref._p_giro /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=8912907; + //BA.debugLineNum = 8912907;BA.debugLine="giros = \"SELECCIONA UNA OPCIÓN\""; +__ref._giros /*String*/ = "SELECCIONA UNA OPCIÓN"; + }else { +RDebugUtils.currentLine=8912909; + //BA.debugLineNum = 8912909;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GIROS_ACTUAL SET GIR"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GIROS_ACTUAL SET GIRO = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._giros /*String*/ })); +RDebugUtils.currentLine=8912910; + //BA.debugLineNum = 8912910;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info set CAT_CL_GIRO = '"+__c.SmartStringFormatter("",(Object)(__ref._cb_giro /*SHARK2.keymon.com.mx.b4xcombobox*/ ._getselecteditem /*String*/ (null)))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)")); +RDebugUtils.currentLine=8912911; + //BA.debugLineNum = 8912911;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba); +RDebugUtils.currentLine=8912912; + //BA.debugLineNum = 8912912;BA.debugLine="l_giro.Text = giros"; +__ref._l_giro /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._giros /*String*/ )); +RDebugUtils.currentLine=8912913; + //BA.debugLineNum = 8912913;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=8912914; + //BA.debugLineNum = 8912914;BA.debugLine="p_giro.Visible = False"; +__ref._p_giro /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=8912915; + //BA.debugLineNum = 8912915;BA.debugLine="giros = \"SELECCIONA UNA OPCIÓN\""; +__ref._giros /*String*/ = "SELECCIONA UNA OPCIÓN"; + }; + }else { +RDebugUtils.currentLine=8912918; + //BA.debugLineNum = 8912918;BA.debugLine="MsgboxAsync(\"Por favor selecciona un giro valido"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor selecciona un giro valido."),BA.ObjectToCharSequence("Atención"),ba); + }; +RDebugUtils.currentLine=8912920; + //BA.debugLineNum = 8912920;BA.debugLine="End Sub"; +return ""; +} +public String _b_acred_click(SHARK2.keymon.com.mx.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 _limitcred = null; +RDebugUtils.currentLine=5373952; + //BA.debugLineNum = 5373952;BA.debugLine="Private Sub b_acred_Click"; +RDebugUtils.currentLine=5373953; + //BA.debugLineNum = 5373953;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=5373954; + //BA.debugLineNum = 5373954;BA.debugLine="c2.Position=0"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5373955; + //BA.debugLineNum = 5373955;BA.debugLine="usuario = c2.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=5373956; + //BA.debugLineNum = 5373956;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=5373957; + //BA.debugLineNum = 5373957;BA.debugLine="Dim limitcred As Cursor"; +_limitcred = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=5373958; + //BA.debugLineNum = 5373958;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=5373959; + //BA.debugLineNum = 5373959;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=5373960; + //BA.debugLineNum = 5373960;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=5373961; + //BA.debugLineNum = 5373961;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=5373962; + //BA.debugLineNum = 5373962;BA.debugLine="limitcred = B4XPages.MainPage.skmt.ExecQuery(\"SEL"; +_limitcred = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_LIMITECREDITO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_LIMITECREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=5373963; + //BA.debugLineNum = 5373963;BA.debugLine="limitcred.Position = 0"; +_limitcred.setPosition((int) (0)); +RDebugUtils.currentLine=5373964; + //BA.debugLineNum = 5373964;BA.debugLine="l_limite.Text = \"Limite de credito: $\" & limitcre"; +__ref._l_limite /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Limite de credito: $"+_limitcred.GetString("CAT_CL_LIMITECREDITO"))); +RDebugUtils.currentLine=5373965; + //BA.debugLineNum = 5373965;BA.debugLine="If Subs.traeTotalClientepreventaparacredito >= l"; +if (_subs._traetotalclientepreventaparacredito /*double*/ (ba)>=(double)(Double.parseDouble(_limitcred.GetString("CAT_CL_LIMITECREDITO")))) { +RDebugUtils.currentLine=5373967; + //BA.debugLineNum = 5373967;BA.debugLine="If et_montoacredito.Text > limitcred.GetString(\""; +if ((double)(Double.parseDouble(__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>(double)(Double.parseDouble(_limitcred.GetString("CAT_CL_LIMITECREDITO")))) { +RDebugUtils.currentLine=5373968; + //BA.debugLineNum = 5373968;BA.debugLine="MsgboxAsync(\"El monto del pagare no puede ser m"; +__c.MsgboxAsync(BA.ObjectToCharSequence("El monto del pagare no puede ser mayor al limite del credito"),BA.ObjectToCharSequence("Atención"),ba); +RDebugUtils.currentLine=5373969; + //BA.debugLineNum = 5373969;BA.debugLine="et_montoacredito.Text = limitcred.GetString(\"CA"; +__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_limitcred.GetString("CAT_CL_LIMITECREDITO"))); + }else { +RDebugUtils.currentLine=5373971; + //BA.debugLineNum = 5373971;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) As REGISTRADO FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=5373972; + //BA.debugLineNum = 5373972;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5373973; + //BA.debugLineNum = 5373973;BA.debugLine="If c.GetString(\"REGISTRADO\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REGISTRADO")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=5373975; + //BA.debugLineNum = 5373975;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA, PA_FECHA, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._la_ruta /*String*/ ),(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)(__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=5373976; + //BA.debugLineNum = 5373976;BA.debugLine="Log(\"Inserto: \" &\" Almacen: \"& ALMACEN &\" Ruta"; +__c.LogImpl("55373976","Inserto: "+" Almacen: "+__ref._almacen /*String*/ +" Ruta: "+__ref._la_ruta /*String*/ +" Fecha: "+(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )+"Captura: "+(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )+" Monto: "+__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+" Usuario: "+__ref._usuario /*String*/ +" Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),0); +RDebugUtils.currentLine=5373977; + //BA.debugLineNum = 5373977;BA.debugLine="GuardaVenta"; +__ref._guardaventa /*String*/ (null); +RDebugUtils.currentLine=5373978; + //BA.debugLineNum = 5373978;BA.debugLine="p_credito.Visible = False"; +__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=5373981; + //BA.debugLineNum = 5373981;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PAGARES set PA_FECHA = ?, PA_CAPTURA = ?, PA_MONTO = ? where PA_CLIENTE In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)(__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=5373982; + //BA.debugLineNum = 5373982;BA.debugLine="Log(\"Actualizo: \" &\" Almacen: \"& ALMACEN &\" Ru"; +__c.LogImpl("55373982","Actualizo: "+" Almacen: "+__ref._almacen /*String*/ +" Ruta: "+__ref._la_ruta /*String*/ +" Fecha: "+(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )+"Captura: "+(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )+" Monto: "+__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+" Usuario: "+__ref._usuario /*String*/ +" Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(),0); +RDebugUtils.currentLine=5373983; + //BA.debugLineNum = 5373983;BA.debugLine="GuardaVenta"; +__ref._guardaventa /*String*/ (null); +RDebugUtils.currentLine=5373984; + //BA.debugLineNum = 5373984;BA.debugLine="p_credito.Visible = False"; +__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }; + }; + }else +{RDebugUtils.currentLine=5373987; + //BA.debugLineNum = 5373987;BA.debugLine="Else If Subs.traeTotalClientepreventaparacredito"; +if (_subs._traetotalclientepreventaparacredito /*double*/ (ba)<(double)(Double.parseDouble(_limitcred.GetString("CAT_CL_LIMITECREDITO")))) { +RDebugUtils.currentLine=5373988; + //BA.debugLineNum = 5373988;BA.debugLine="If et_montoacredito.Text > Subs.traeTotalCliente"; +if ((double)(Double.parseDouble(__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>_subs._traetotalclientepreventaparacredito /*double*/ (ba)) { +RDebugUtils.currentLine=5373989; + //BA.debugLineNum = 5373989;BA.debugLine="MsgboxAsync(\"El monto del pagare no puede ser m"; +__c.MsgboxAsync(BA.ObjectToCharSequence("El monto del pagare no puede ser mayor a la preventa registrada"),BA.ObjectToCharSequence("Atención"),ba); +RDebugUtils.currentLine=5373990; + //BA.debugLineNum = 5373990;BA.debugLine="et_montoacredito.Text = Subs.traeTotalClientepr"; +__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_subs._traetotalclientepreventaparacredito /*double*/ (ba))); + }else { +RDebugUtils.currentLine=5373992; + //BA.debugLineNum = 5373992;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) As REGISTRADO FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=5373993; + //BA.debugLineNum = 5373993;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5373994; + //BA.debugLineNum = 5373994;BA.debugLine="If c.GetString(\"REGISTRADO\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("REGISTRADO")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=5373996; + //BA.debugLineNum = 5373996;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA, PA_FECHA, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._la_ruta /*String*/ ),(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)(__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=5373997; + //BA.debugLineNum = 5373997;BA.debugLine="Log(\"Aqui hay informacion variada e inserte: \""; +__c.LogImpl("55373997","Aqui hay informacion variada e inserte: "+(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )+(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )+(__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())+"<<<<<<<<<<<<<<<<<<<<<",0); +RDebugUtils.currentLine=5373998; + //BA.debugLineNum = 5373998;BA.debugLine="GuardaVenta"; +__ref._guardaventa /*String*/ (null); +RDebugUtils.currentLine=5373999; + //BA.debugLineNum = 5373999;BA.debugLine="p_credito.Visible = False"; +__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=5374002; + //BA.debugLineNum = 5374002;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PAGARES set PA_FECHA = ?, PA_CAPTURA = ?, PA_MONTO = ? where PA_CLIENTE In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)(__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=5374003; + //BA.debugLineNum = 5374003;BA.debugLine="Log(\"Aqui hay informacion variada y acualice:"; +__c.LogImpl("55374003","Aqui hay informacion variada y acualice: "+(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )+(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )+(__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())+"<<<<<<<<<<<<<<<<<<<<<",0); +RDebugUtils.currentLine=5374004; + //BA.debugLineNum = 5374004;BA.debugLine="GuardaVenta"; +__ref._guardaventa /*String*/ (null); +RDebugUtils.currentLine=5374005; + //BA.debugLineNum = 5374005;BA.debugLine="p_credito.Visible = False"; +__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }; + }; + }} +; +RDebugUtils.currentLine=5374009; + //BA.debugLineNum = 5374009;BA.debugLine="limitcred.Close"; +_limitcred.Close(); +RDebugUtils.currentLine=5374010; + //BA.debugLineNum = 5374010;BA.debugLine="End Sub"; +return ""; +} +public String _guardaventa(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "guardaventa", false)) + {return ((String) Debug.delegate(ba, "guardaventa", null));} +RDebugUtils.currentLine=5505024; + //BA.debugLineNum = 5505024;BA.debugLine="Sub GuardaVenta"; +RDebugUtils.currentLine=5505025; + //BA.debugLineNum = 5505025;BA.debugLine="If pre_act <> Starter.pre_viejo Then"; +if (__ref._pre_act /*float*/ !=_starter._pre_viejo /*float*/ ) { +RDebugUtils.currentLine=5505026; + //BA.debugLineNum = 5505026;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*String*/ (null); +RDebugUtils.currentLine=5505027; + //BA.debugLineNum = 5505027;BA.debugLine="Guardar.Enabled = False"; +__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); +RDebugUtils.currentLine=5505028; + //BA.debugLineNum = 5505028;BA.debugLine="gest.Enabled = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); +RDebugUtils.currentLine=5505029; + //BA.debugLineNum = 5505029;BA.debugLine="b_cxc.Enabled = False"; +__ref._b_cxc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); +RDebugUtils.currentLine=5505030; + //BA.debugLineNum = 5505030;BA.debugLine="Tar.Enabled = False"; +__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); +RDebugUtils.currentLine=5505031; + //BA.debugLineNum = 5505031;BA.debugLine="Tels.Enabled = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); +RDebugUtils.currentLine=5505032; + //BA.debugLineNum = 5505032;BA.debugLine="b_ventaabordo.Enabled = False"; +__ref._b_ventaabordo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); +RDebugUtils.currentLine=5505033; + //BA.debugLineNum = 5505033;BA.debugLine="HIST.Enabled = False"; +__ref._hist /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False); +RDebugUtils.currentLine=5505034; + //BA.debugLineNum = 5505034;BA.debugLine="banderaimp = 1"; +__ref._banderaimp /*int*/ = (int) (1); + }else +{RDebugUtils.currentLine=5505035; + //BA.debugLineNum = 5505035;BA.debugLine="Else If pre_act = Starter.pre_viejo Then"; +if (__ref._pre_act /*float*/ ==_starter._pre_viejo /*float*/ ) { +RDebugUtils.currentLine=5505036; + //BA.debugLineNum = 5505036;BA.debugLine="If banderaimp = 1 Then"; +if (__ref._banderaimp /*int*/ ==1) { +RDebugUtils.currentLine=5505037; + //BA.debugLineNum = 5505037;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*String*/ (null); + }else { +RDebugUtils.currentLine=5505039; + //BA.debugLineNum = 5505039;BA.debugLine="GUADAVENTA2"; +__ref._guadaventa2 /*String*/ (null); + }; + }} +; +RDebugUtils.currentLine=5505042; + //BA.debugLineNum = 5505042;BA.debugLine="End Sub"; +return ""; +} +public String _b_act_coords_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_act_coords_click", false)) + {return ((String) Debug.delegate(ba, "b_act_coords_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _coord = null; +RDebugUtils.currentLine=8519680; + //BA.debugLineNum = 8519680;BA.debugLine="Private Sub b_act_coords_Click"; +RDebugUtils.currentLine=8519681; + //BA.debugLineNum = 8519681;BA.debugLine="h = B4XPages.MainPage.skmt.ExecQuery(\"SELECT IFNU"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT IFNULL(CAT_CL_BCOORDENADAS,0) AS CAT_CL_BCOORDENADAS from kmt_info where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=8519682; + //BA.debugLineNum = 8519682;BA.debugLine="h.Position = 0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8519683; + //BA.debugLineNum = 8519683;BA.debugLine="Log(h.GetInt(\"CAT_CL_BCOORDENADAS\"))"; +__c.LogImpl("58519683",BA.NumberToString(__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_BCOORDENADAS")),0); +RDebugUtils.currentLine=8519684; + //BA.debugLineNum = 8519684;BA.debugLine="If h.GetInt(\"CAT_CL_BCOORDENADAS\") <= 2 Then"; +if (__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_BCOORDENADAS")<=2) { +RDebugUtils.currentLine=8519685; + //BA.debugLineNum = 8519685;BA.debugLine="Log(B4XPages.MainPage.lon_gps & \" , \" & B4XPages"; +__c.LogImpl("58519685",_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ +" , "+_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,0); +RDebugUtils.currentLine=8519687; + //BA.debugLineNum = 8519687;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skmt"; +_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * from COORDENADAS where CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=8519689; + //BA.debugLineNum = 8519689;BA.debugLine="If coord.RowCount = 0 Then"; +if (_coord.getRowCount()==0) { +RDebugUtils.currentLine=8519690; + //BA.debugLineNum = 8519690;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO COORDENADAS(LAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO COORDENADAS(LAT,LONG,CLIENTE,CANTIDAD) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_subs._traecliente /*String*/ (ba),BA.NumberToString((__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_BCOORDENADAS")+1))})); +RDebugUtils.currentLine=8519691; + //BA.debugLineNum = 8519691;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info set CAT_CL_LONG = ?, CAT_CL_LAT =?, CAT_CL_BCOORDENADAS = ? where CAT_CL_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)((__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_BCOORDENADAS")+1))})); +RDebugUtils.currentLine=8519692; + //BA.debugLineNum = 8519692;BA.debugLine="MsgboxAsync(\"Coordenadas actualizadas.\",\"Atenci"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Coordenadas actualizadas."),BA.ObjectToCharSequence("Atención"),ba); + }else { +RDebugUtils.currentLine=8519694; + //BA.debugLineNum = 8519694;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE COORDENADAS SET LAT"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE COORDENADAS SET LAT = ?, LONG = ?,CANTIDAD = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,BA.NumberToString((__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_BCOORDENADAS")+1))})); +RDebugUtils.currentLine=8519695; + //BA.debugLineNum = 8519695;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info set CAT_CL_LONG = ?, CAT_CL_LAT =?, CAT_CL_BCOORDENADAS = ? where CAT_CL_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)((__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("CAT_CL_BCOORDENADAS")+1))})); +RDebugUtils.currentLine=8519696; + //BA.debugLineNum = 8519696;BA.debugLine="MsgboxAsync(\"Coordenadas actualizadas.\",\"Atenci"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Coordenadas actualizadas."),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=8519701; + //BA.debugLineNum = 8519701;BA.debugLine="MsgboxAsync(\"Las coordenadas de este cliente ya"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Las coordenadas de este cliente ya fueron actualizadas."),BA.ObjectToCharSequence("Atención"),ba); + }; +RDebugUtils.currentLine=8519703; + //BA.debugLineNum = 8519703;BA.debugLine="End Sub"; +return ""; +} +public String _b_cancelar_click(SHARK2.keymon.com.mx.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=7929856; + //BA.debugLineNum = 7929856;BA.debugLine="Private Sub b_cancelar_Click"; +RDebugUtils.currentLine=7929857; + //BA.debugLineNum = 7929857;BA.debugLine="et_abono.Text = \"\""; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=7929858; + //BA.debugLineNum = 7929858;BA.debugLine="p_abono.Visible = False"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=7929859; + //BA.debugLineNum = 7929859;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=7929860; + //BA.debugLineNum = 7929860;BA.debugLine="End Sub"; +return ""; +} +public String _b_cancelatiende_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cancelatiende_click", false)) + {return ((String) Debug.delegate(ba, "b_cancelatiende_click", null));} +RDebugUtils.currentLine=8716288; + //BA.debugLineNum = 8716288;BA.debugLine="Private Sub b_cancelatiende_Click"; +RDebugUtils.currentLine=8716289; + //BA.debugLineNum = 8716289;BA.debugLine="p_atiende.Visible = False"; +__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=8716290; + //BA.debugLineNum = 8716290;BA.debugLine="et_atiende.Text = \"\""; +__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=8716291; + //BA.debugLineNum = 8716291;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=8716292; + //BA.debugLineNum = 8716292;BA.debugLine="End Sub"; +return ""; +} +public String _b_cancelgiro_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cancelgiro_click", false)) + {return ((String) Debug.delegate(ba, "b_cancelgiro_click", null));} +RDebugUtils.currentLine=8978432; + //BA.debugLineNum = 8978432;BA.debugLine="Private Sub b_cancelgiro_Click"; +RDebugUtils.currentLine=8978433; + //BA.debugLineNum = 8978433;BA.debugLine="p_giro.Visible = False"; +__ref._p_giro /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=8978434; + //BA.debugLineNum = 8978434;BA.debugLine="End Sub"; +return ""; +} +public String _b_cancred_click(SHARK2.keymon.com.mx.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=5439488; + //BA.debugLineNum = 5439488;BA.debugLine="Private Sub b_cancred_Click"; +RDebugUtils.currentLine=5439489; + //BA.debugLineNum = 5439489;BA.debugLine="p_credito.Visible = False"; +__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=5439490; + //BA.debugLineNum = 5439490;BA.debugLine="End Sub"; +return ""; +} +public String _b_cxc_click(SHARK2.keymon.com.mx.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));} +String _total = ""; +int _i = 0; +RDebugUtils.currentLine=8060928; + //BA.debugLineNum = 8060928;BA.debugLine="Private Sub b_cxc_Click"; +RDebugUtils.currentLine=8060930; + //BA.debugLineNum = 8060930;BA.debugLine="h = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CUEN"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA from CUENTAA"))); +RDebugUtils.currentLine=8060931; + //BA.debugLineNum = 8060931;BA.debugLine="h.Position = 0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8060932; + //BA.debugLineNum = 8060932;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; +__c.LogImpl("58060932",__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"),0); +RDebugUtils.currentLine=8060933; + //BA.debugLineNum = 8060933;BA.debugLine="j = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT a_a"; +__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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._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=8060934; + //BA.debugLineNum = 8060934;BA.debugLine="j.position = 0"; +__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8060935; + //BA.debugLineNum = 8060935;BA.debugLine="Log(j.RowCount)"; +__c.LogImpl("58060935",BA.NumberToString(__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=8060936; + //BA.debugLineNum = 8060936;BA.debugLine="If j.RowCount = 0 Then"; +if (__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=8060938; + //BA.debugLineNum = 8060938;BA.debugLine="p_abono.Visible = True"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=8060939; + //BA.debugLineNum = 8060939;BA.debugLine="Dim total As String = 0"; +_total = BA.NumberToString(0); +RDebugUtils.currentLine=8060940; + //BA.debugLineNum = 8060940;BA.debugLine="f = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CUE"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); +RDebugUtils.currentLine=8060941; + //BA.debugLineNum = 8060941;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8060943; + //BA.debugLineNum = 8060943;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT NO"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? ",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=8060944; + //BA.debugLineNum = 8060944;BA.debugLine="clv_abonos.Clear"; +__ref._clv_abonos /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=8060945; + //BA.debugLineNum = 8060945;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step14 = 1; +final int limit14 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit14 ;_i = _i + step14 ) { +RDebugUtils.currentLine=8060946; + //BA.debugLineNum = 8060946;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=8060947; + //BA.debugLineNum = 8060947;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=8060948; + //BA.debugLineNum = 8060948;BA.debugLine="Log(d.GetString(\"NOTA\"))"; +__c.LogImpl("58060948",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA"),0); +RDebugUtils.currentLine=8060949; + //BA.debugLineNum = 8060949;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; +__c.LogImpl("58060949",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE"),0); +RDebugUtils.currentLine=8060950; + //BA.debugLineNum = 8060950;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; +_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE")))); +RDebugUtils.currentLine=8060951; + //BA.debugLineNum = 8060951;BA.debugLine="Log(total)"; +__c.LogImpl("58060951",_total,0); + } +}; +RDebugUtils.currentLine=8060953; + //BA.debugLineNum = 8060953;BA.debugLine="l_montoabonostotal.Text = total"; +__ref._l_montoabonostotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_total)); +RDebugUtils.currentLine=8060954; + //BA.debugLineNum = 8060954;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8060955; + //BA.debugLineNum = 8060955;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=8060957; + //BA.debugLineNum = 8060957;BA.debugLine="Else If j.RowCount > 0 Then"; +if (__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=8060958; + //BA.debugLineNum = 8060958;BA.debugLine="p_abono.Visible = True"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=8060959; + //BA.debugLineNum = 8060959;BA.debugLine="et_abono.text = j.GetString(\"a_abono\")"; +__ref._et_abono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono"))); +RDebugUtils.currentLine=8060960; + //BA.debugLineNum = 8060960;BA.debugLine="Dim total As String = 0"; +_total = BA.NumberToString(0); +RDebugUtils.currentLine=8060961; + //BA.debugLineNum = 8060961;BA.debugLine="f = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CUE"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); +RDebugUtils.currentLine=8060962; + //BA.debugLineNum = 8060962;BA.debugLine="f.Position = 0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=8060964; + //BA.debugLineNum = 8060964;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT NO"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? ",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")}))); +RDebugUtils.currentLine=8060965; + //BA.debugLineNum = 8060965;BA.debugLine="clv_abonos.Clear"; +__ref._clv_abonos /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=8060966; + //BA.debugLineNum = 8060966;BA.debugLine="For i = 0 To d.RowCount - 1"; +{ +final int step33 = 1; +final int limit33 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit33 ;_i = _i + step33 ) { +RDebugUtils.currentLine=8060967; + //BA.debugLineNum = 8060967;BA.debugLine="d.Position = i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=8060968; + //BA.debugLineNum = 8060968;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=8060969; + //BA.debugLineNum = 8060969;BA.debugLine="Log(d.GetString(\"NOTA\"))"; +__c.LogImpl("58060969",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOTA"),0); +RDebugUtils.currentLine=8060970; + //BA.debugLineNum = 8060970;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; +__c.LogImpl("58060970",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE"),0); +RDebugUtils.currentLine=8060971; + //BA.debugLineNum = 8060971;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; +_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SALDO_PENDIENTE")))); +RDebugUtils.currentLine=8060972; + //BA.debugLineNum = 8060972;BA.debugLine="Log(total)"; +__c.LogImpl("58060972",_total,0); + } +}; +RDebugUtils.currentLine=8060974; + //BA.debugLineNum = 8060974;BA.debugLine="l_montoabonostotal.Text = total"; +__ref._l_montoabonostotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_total)); +RDebugUtils.currentLine=8060975; + //BA.debugLineNum = 8060975;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8060976; + //BA.debugLineNum = 8060976;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; +RDebugUtils.currentLine=8060979; + //BA.debugLineNum = 8060979;BA.debugLine="h.Close"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8060980; + //BA.debugLineNum = 8060980;BA.debugLine="j.Close"; +__ref._j /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8060983; + //BA.debugLineNum = 8060983;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(SHARK2.keymon.com.mx.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=8126464; + //BA.debugLineNum = 8126464;BA.debugLine="Sub CreateListItem(mostrar As String, mostrar1 As"; +RDebugUtils.currentLine=8126465; + //BA.debugLineNum = 8126465;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=8126466; + //BA.debugLineNum = 8126466;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 1, 10)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); +RDebugUtils.currentLine=8126467; + //BA.debugLineNum = 8126467;BA.debugLine="p.LoadLayout(\"folioabono\")"; +_p.LoadLayout("folioabono",ba); +RDebugUtils.currentLine=8126468; + //BA.debugLineNum = 8126468;BA.debugLine="p.Height= 32dip"; +_p.setHeight(__c.DipToCurrent((int) (32))); +RDebugUtils.currentLine=8126469; + //BA.debugLineNum = 8126469;BA.debugLine="p.Width = 80dip"; +_p.setWidth(__c.DipToCurrent((int) (80))); +RDebugUtils.currentLine=8126471; + //BA.debugLineNum = 8126471;BA.debugLine="l_folio.Text = mostrar"; +__ref._l_folio /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_mostrar)); +RDebugUtils.currentLine=8126472; + //BA.debugLineNum = 8126472;BA.debugLine="l_saldo.Text = mostrar1"; +__ref._l_saldo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_mostrar1)); +RDebugUtils.currentLine=8126475; + //BA.debugLineNum = 8126475;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=8126476; + //BA.debugLineNum = 8126476;BA.debugLine="End Sub"; +return null; +} +public String _b_cxc_longclick(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_cxc_longclick", false)) + {return ((String) Debug.delegate(ba, "b_cxc_longclick", null));} +RDebugUtils.currentLine=8388608; + //BA.debugLineNum = 8388608;BA.debugLine="Private Sub b_cxc_LongClick"; +RDebugUtils.currentLine=8388610; + //BA.debugLineNum = 8388610;BA.debugLine="End Sub"; +return ""; +} +public String _b_e_next_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_e_next_click", false)) + {return ((String) Debug.delegate(ba, "b_e_next_click", null));} +RDebugUtils.currentLine=6946816; + //BA.debugLineNum = 6946816;BA.debugLine="Sub B_E_NEXT_Click"; +RDebugUtils.currentLine=6946817; + //BA.debugLineNum = 6946817;BA.debugLine="If E_RES_E.Text <> \"\" Then"; +if ((__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=6946818; + //BA.debugLineNum = 6946818;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)("DONDE")})); +RDebugUtils.currentLine=6946819; + //BA.debugLineNum = 6946819;BA.debugLine="Panel2.Visible = False"; +__ref._panel2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=6946820; + //BA.debugLineNum = 6946820;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }else { +RDebugUtils.currentLine=6946822; + //BA.debugLineNum = 6946822;BA.debugLine="Msgbox(\"SIN RESPUESTA\",\"AVISO\") 'Ignore"; +__c.Msgbox(BA.ObjectToCharSequence("SIN RESPUESTA"),BA.ObjectToCharSequence("AVISO"),ba); + }; +RDebugUtils.currentLine=6946824; + //BA.debugLineNum = 6946824;BA.debugLine="End Sub"; +return ""; +} +public String _b_guarda_c_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_guarda_c_click", false)) + {return ((String) Debug.delegate(ba, "b_guarda_c_click", null));} +RDebugUtils.currentLine=6815744; + //BA.debugLineNum = 6815744;BA.debugLine="Sub B_GUARDA_C_Click"; +RDebugUtils.currentLine=6815745; + //BA.debugLineNum = 6815745;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=6815746; + //BA.debugLineNum = 6815746;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=6815747; + //BA.debugLineNum = 6815747;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=6815748; + //BA.debugLineNum = 6815748;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=6815749; + //BA.debugLineNum = 6815749;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=6815750; + //BA.debugLineNum = 6815750;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=6815751; + //BA.debugLineNum = 6815751;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=6815752; + //BA.debugLineNum = 6815752;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=6815753; + //BA.debugLineNum = 6815753;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=6815754; + //BA.debugLineNum = 6815754;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=6815755; + //BA.debugLineNum = 6815755;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=6815756; + //BA.debugLineNum = 6815756;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("4"),(Object)(.01),(Object)(.01),(Object)(2),(Object)("KNORR RINDE MAS 70 GR"),(Object)("GUNA2"),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._la_ruta /*String*/ )})); +RDebugUtils.currentLine=6815757; + //BA.debugLineNum = 6815757;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_FACE(HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN) VALUES (?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._i_compra /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._la_ruta /*String*/ ),(Object)(__ref._almacen /*String*/ )})); +RDebugUtils.currentLine=6815758; + //BA.debugLineNum = 6815758;BA.debugLine="Panel1.Visible = False"; +__ref._panel1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=6815760; + //BA.debugLineNum = 6815760;BA.debugLine="Tar.Visible = True"; +__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=6815761; + //BA.debugLineNum = 6815761;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=6815763; + //BA.debugLineNum = 6815763;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=6815765; + //BA.debugLineNum = 6815765;BA.debugLine="Guardar.Visible = True"; +__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=6815766; + //BA.debugLineNum = 6815766;BA.debugLine="End Sub"; +return ""; +} +public String _b_imp_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_imp_click", false)) + {return ((String) Debug.delegate(ba, "b_imp_click", null));} +RDebugUtils.currentLine=6160384; + //BA.debugLineNum = 6160384;BA.debugLine="Sub B_IMP_Click"; +RDebugUtils.currentLine=6160386; + //BA.debugLineNum = 6160386;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",new String[]{"VENTA"}))); +RDebugUtils.currentLine=6160388; + //BA.debugLineNum = 6160388;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=6160390; + //BA.debugLineNum = 6160390;BA.debugLine="imprime_venta"; +__ref._imprime_venta /*void*/ (null); +RDebugUtils.currentLine=6160391; + //BA.debugLineNum = 6160391;BA.debugLine="t1.Initialize(\"T1\", 5000) ' 5 segundos de espera"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .Initialize(ba,"T1",(long) (5000)); +RDebugUtils.currentLine=6160392; + //BA.debugLineNum = 6160392;BA.debugLine="t1.Enabled = True"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.True); + }else { +RDebugUtils.currentLine=6160395; + //BA.debugLineNum = 6160395;BA.debugLine="s = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE (PE_FOLIO = ? OR PE_FOLIO = ?) AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",new String[]{"PREVENTA_CONTADO","PREVENTA_CREDITO"}))); +RDebugUtils.currentLine=6160397; + //BA.debugLineNum = 6160397;BA.debugLine="If s.RowCount > 0 Then"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=6160399; + //BA.debugLineNum = 6160399;BA.debugLine="imprime_preventa"; +__ref._imprime_preventa /*void*/ (null); + }else { +RDebugUtils.currentLine=6160402; + //BA.debugLineNum = 6160402;BA.debugLine="Msgbox(\"No hay registros de venta o preventa pa"; +__c.Msgbox(BA.ObjectToCharSequence("No hay registros de venta o preventa para imprimir"),BA.ObjectToCharSequence("Aviso"),ba); + }; + }; +RDebugUtils.currentLine=6160405; + //BA.debugLineNum = 6160405;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=6160406; + //BA.debugLineNum = 6160406;BA.debugLine="If s <> Null Then s.Close"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ != null) { +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();}; +RDebugUtils.currentLine=6160407; + //BA.debugLineNum = 6160407;BA.debugLine="End Sub"; +return ""; +} +public void _imprime_venta(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "imprime_venta", false)) + {Debug.delegate(ba, "imprime_venta", null); return;} +ResumableSub_imprime_venta rsub = new ResumableSub_imprime_venta(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_imprime_venta extends BA.ResumableSub { +public ResumableSub_imprime_venta(SHARK2.keymon.com.mx.c_cliente parent,SHARK2.keymon.com.mx.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_cliente __ref; +SHARK2.keymon.com.mx.c_cliente parent; +String _elinefeed = ""; +int _cont = 0; +anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; +SHARK2.keymon.com.mx.escposprinter._animage _myimage = null; +int _i = 0; +int _e = 0; +int _resultado = 0; +int step65; +int limit65; +int step79; +int limit79; +int step95; +int limit95; +int step113; +int limit113; +int step127; +int limit127; + +@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=6488065; + //BA.debugLineNum = 6488065;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=6488066; + //BA.debugLineNum = 6488066;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=6488067; + //BA.debugLineNum = 6488067;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=6488068; + //BA.debugLineNum = 6488068;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=6488069; + //BA.debugLineNum = 6488069;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=6488070; + //BA.debugLineNum = 6488070;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=6488071; + //BA.debugLineNum = 6488071;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=6488077; + //BA.debugLineNum = 6488077;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a))); +RDebugUtils.currentLine=6488079; + //BA.debugLineNum = 6488079;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); +RDebugUtils.currentLine=6488080; + //BA.debugLineNum = 6488080;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=6488081; + //BA.debugLineNum = 6488081;BA.debugLine="If Not(Printer1.IsConnected) Then"; +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.Not(__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=6488083; + //BA.debugLineNum = 6488083;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=6488084; + //BA.debugLineNum = 6488084;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=6488085; + //BA.debugLineNum = 6488085;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=6488086; + //BA.debugLineNum = 6488086;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_venta"),(int) (1000)); +this.state = 99; +return; +case 99: +//C +this.state = 7; +; +RDebugUtils.currentLine=6488087; + //BA.debugLineNum = 6488087;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=6488088; + //BA.debugLineNum = 6488088;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 /*SHARK2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=6488089; + //BA.debugLineNum = 6488089;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=6488091; + //BA.debugLineNum = 6488091;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_venta"),(int) (500)); +this.state = 100; +return; +case 100: +//C +this.state = 38; +; +RDebugUtils.currentLine=6488092; + //BA.debugLineNum = 6488092;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=6488095; + //BA.debugLineNum = 6488095;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=6488096; + //BA.debugLineNum = 6488096;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=6488097; + //BA.debugLineNum = 6488097;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 /*SHARK2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=6488098; + //BA.debugLineNum = 6488098;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_venta"),(int) (1000)); +this.state = 101; +return; +case 101: +//C +this.state = 25; +; +RDebugUtils.currentLine=6488099; + //BA.debugLineNum = 6488099;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=6488100; + //BA.debugLineNum = 6488100;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 /*SHARK2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 30: +//C +this.state = 31; +; +RDebugUtils.currentLine=6488101; + //BA.debugLineNum = 6488101;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=6488103; + //BA.debugLineNum = 6488103;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_venta"),(int) (500)); +this.state = 102; +return; +case 102: +//C +this.state = 38; +; +RDebugUtils.currentLine=6488104; + //BA.debugLineNum = 6488104;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 38: +//C +this.state = 39; +; +RDebugUtils.currentLine=6488107; + //BA.debugLineNum = 6488107;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=6488108; + //BA.debugLineNum = 6488108;BA.debugLine="ESPACIO = 22"; +__ref._espacio /*int*/ = (int) (22); +RDebugUtils.currentLine=6488109; + //BA.debugLineNum = 6488109;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=6488127; + //BA.debugLineNum = 6488127;BA.debugLine="Dim bmp As Bitmap"; +_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=6488128; + //BA.debugLineNum = 6488128;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=6488129; + //BA.debugLineNum = 6488129;BA.debugLine="bmp.InitializeResize(File.DirAssets, \"amigos.jpg\""; +_bmp.InitializeResize(parent.__c.File.getDirAssets(),"amigos.jpg",(int) (192),(int) (252),parent.__c.True); +RDebugUtils.currentLine=6488130; + //BA.debugLineNum = 6488130;BA.debugLine="Dim myimage As AnImage = Printer1.ImageToBWIMage("; +_myimage = __ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._imagetobwimage /*SHARK2.keymon.com.mx.escposprinter._animage*/ (null,_bmp); +RDebugUtils.currentLine=6488132; + //BA.debugLineNum = 6488132;BA.debugLine="myimage = Printer1.DitherImage2D(myimage, 128)"; +_myimage = __ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._ditherimage2d /*SHARK2.keymon.com.mx.escposprinter._animage*/ (null,_myimage,(int) (128)); +RDebugUtils.currentLine=6488134; + //BA.debugLineNum = 6488134;BA.debugLine="myimage= Printer1.PackImage(myimage)"; +_myimage = __ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._packimage /*SHARK2.keymon.com.mx.escposprinter._animage*/ (null,_myimage); +RDebugUtils.currentLine=6488135; + //BA.debugLineNum = 6488135;BA.debugLine="Printer1.WriteString(CRLF) ' nudge the printer to"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,parent.__c.CRLF); +RDebugUtils.currentLine=6488136; + //BA.debugLineNum = 6488136;BA.debugLine="Printer1.WriteString(Printer1.REVERSE)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._reverse /*String*/ ); +RDebugUtils.currentLine=6488138; + //BA.debugLineNum = 6488138;BA.debugLine="Printer1.PrintImage(myimage)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._printimage /*int*/ (null,_myimage); +RDebugUtils.currentLine=6488139; + //BA.debugLineNum = 6488139;BA.debugLine="Printer1.WriteString(Printer1.UNREVERSE)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._unreverse /*String*/ ); +RDebugUtils.currentLine=6488141; + //BA.debugLineNum = 6488141;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=6488143; + //BA.debugLineNum = 6488143;BA.debugLine="Printer1.WriteString(\"CANDY SHARK2\" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"CANDY SHARK2"+_elinefeed); +RDebugUtils.currentLine=6488145; + //BA.debugLineNum = 6488145;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +_elinefeed); +RDebugUtils.currentLine=6488146; + //BA.debugLineNum = 6488146;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +_elinefeed); +RDebugUtils.currentLine=6488147; + //BA.debugLineNum = 6488147;BA.debugLine="Printer1.WriteString(\"Vendedor: \" & TraeVendedor"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Vendedor: "+__ref._traevendedor /*String*/ (null)+_elinefeed); +RDebugUtils.currentLine=6488148; + //BA.debugLineNum = 6488148;BA.debugLine="Printer1.WriteString(\"Numero de Vendedor: \" & Tra"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Numero de Vendedor: "+__ref._traenumvendedor /*String*/ (null)+_elinefeed); +RDebugUtils.currentLine=6488149; + //BA.debugLineNum = 6488149;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=6488150; + //BA.debugLineNum = 6488150;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=6488151; + //BA.debugLineNum = 6488151;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=6488152; + //BA.debugLineNum = 6488152;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=6488156; + //BA.debugLineNum = 6488156;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=6488157; + //BA.debugLineNum = 6488157;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"VENTA"}))); +RDebugUtils.currentLine=6488158; + //BA.debugLineNum = 6488158;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 39: +//if +this.state = 88; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 41; +}if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=6488159; + //BA.debugLineNum = 6488159;BA.debugLine="Printer1.WriteString(\"-----------VENTA----------"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"-----------VENTA-----------"+_elinefeed); +RDebugUtils.currentLine=6488162; + //BA.debugLineNum = 6488162;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Cant. Precio Importe"+_elinefeed); +RDebugUtils.currentLine=6488164; + //BA.debugLineNum = 6488164;BA.debugLine="Printer1.WriteString(\"--------------------------"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=6488166; + //BA.debugLineNum = 6488166;BA.debugLine="s=skmt.ExecQuery2(\"select PE_BCAJAS, PE_PRONOMBR"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_BCAJAS, PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU, PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"VENTA"}))); +RDebugUtils.currentLine=6488167; + //BA.debugLineNum = 6488167;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 42: +//if +this.state = 69; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 44; +}if (true) break; + +case 44: +//C +this.state = 45; +RDebugUtils.currentLine=6488168; + //BA.debugLineNum = 6488168;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 45: +//for +this.state = 68; +step65 = 1; +limit65 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 103; +if (true) break; + +case 103: +//C +this.state = 68; +if ((step65 > 0 && _i <= limit65) || (step65 < 0 && _i >= limit65)) this.state = 47; +if (true) break; + +case 104: +//C +this.state = 103; +_i = ((int)(0 + _i + step65)) ; +if (true) break; + +case 47: +//C +this.state = 48; +RDebugUtils.currentLine=6488169; + //BA.debugLineNum = 6488169;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=6488170; + //BA.debugLineNum = 6488170;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; +if (true) break; + +case 48: +//if +this.state = 67; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +this.state = 50; +}else { +this.state = 52; +}if (true) break; + +case 50: +//C +this.state = 67; +RDebugUtils.currentLine=6488171; + //BA.debugLineNum = 6488171;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBR"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); + if (true) break; + +case 52: +//C +this.state = 53; +RDebugUtils.currentLine=6488175; + //BA.debugLineNum = 6488175;BA.debugLine="If s.GetString(\"PE_BCAJAS\") = 0 Then"; +if (true) break; + +case 53: +//if +this.state = 66; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_BCAJAS")).equals(BA.NumberToString(0))) { +this.state = 55; +}else { +this.state = 61; +}if (true) break; + +case 55: +//C +this.state = 56; +RDebugUtils.currentLine=6488178; + //BA.debugLineNum = 6488178;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMB"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=6488216; + //BA.debugLineNum = 6488216;BA.debugLine="k1 = NumberFormat(s.GETSTRING(\"PE_COSTOU\"),0"; +__ref._k1 /*String*/ = parent.__c.NumberFormat((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))),(int) (0),(int) (2)); +RDebugUtils.currentLine=6488217; + //BA.debugLineNum = 6488217;BA.debugLine="k2 = NumberFormat(s.GETSTRING(\"PE_COSTO_TOT\""; +__ref._k2 /*String*/ = parent.__c.NumberFormat((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT"))),(int) (0),(int) (2)); +RDebugUtils.currentLine=6488219; + //BA.debugLineNum = 6488219;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + k1.Length + k"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._k1 /*String*/ .length()+__ref._k2 /*String*/ .length()); +RDebugUtils.currentLine=6488220; + //BA.debugLineNum = 6488220;BA.debugLine="ESPACIO = 30"; +__ref._espacio /*int*/ = (int) (30); +RDebugUtils.currentLine=6488221; + //BA.debugLineNum = 6488221;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=6488222; + //BA.debugLineNum = 6488222;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=6488223; + //BA.debugLineNum = 6488223;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=6488224; + //BA.debugLineNum = 6488224;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 56: +//for +this.state = 59; +step79 = 1; +limit79 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 105; +if (true) break; + +case 105: +//C +this.state = 59; +if ((step79 > 0 && _e <= limit79) || (step79 < 0 && _e >= limit79)) this.state = 58; +if (true) break; + +case 106: +//C +this.state = 105; +_e = ((int)(0 + _e + step79)) ; +if (true) break; + +case 58: +//C +this.state = 106; +RDebugUtils.currentLine=6488225; + //BA.debugLineNum = 6488225;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 59: +//C +this.state = 66; +; +RDebugUtils.currentLine=6488228; + //BA.debugLineNum = 6488228;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_CANT\")"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._k1 /*String*/ +__ref._blanco /*String*/ +__ref._k2 /*String*/ +_elinefeed); +RDebugUtils.currentLine=6488230; + //BA.debugLineNum = 6488230;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=6488231; + //BA.debugLineNum = 6488231;BA.debugLine="ESPACIO = 30"; +__ref._espacio /*int*/ = (int) (30); +RDebugUtils.currentLine=6488232; + //BA.debugLineNum = 6488232;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 61: +//C +this.state = 62; +RDebugUtils.currentLine=6488235; + //BA.debugLineNum = 6488235;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMB"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=6488279; + //BA.debugLineNum = 6488279;BA.debugLine="k1 = NumberFormat((s.GETSTRING(\"PE_COSTO_TOT"; +__ref._k1 /*String*/ = parent.__c.NumberFormat(((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)); +RDebugUtils.currentLine=6488280; + //BA.debugLineNum = 6488280;BA.debugLine="k2 = NumberFormat(s.GETSTRING(\"PE_COSTO_TOT\""; +__ref._k2 /*String*/ = parent.__c.NumberFormat((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT"))),(int) (0),(int) (2)); +RDebugUtils.currentLine=6488282; + //BA.debugLineNum = 6488282;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + k1.Length + k"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._k1 /*String*/ .length()+__ref._k2 /*String*/ .length()); +RDebugUtils.currentLine=6488283; + //BA.debugLineNum = 6488283;BA.debugLine="ESPACIO = 30"; +__ref._espacio /*int*/ = (int) (30); +RDebugUtils.currentLine=6488284; + //BA.debugLineNum = 6488284;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=6488285; + //BA.debugLineNum = 6488285;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=6488286; + //BA.debugLineNum = 6488286;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=6488287; + //BA.debugLineNum = 6488287;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 62: +//for +this.state = 65; +step95 = 1; +limit95 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 107; +if (true) break; + +case 107: +//C +this.state = 65; +if ((step95 > 0 && _e <= limit95) || (step95 < 0 && _e >= limit95)) this.state = 64; +if (true) break; + +case 108: +//C +this.state = 107; +_e = ((int)(0 + _e + step95)) ; +if (true) break; + +case 64: +//C +this.state = 108; +RDebugUtils.currentLine=6488288; + //BA.debugLineNum = 6488288;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 65: +//C +this.state = 66; +; +RDebugUtils.currentLine=6488291; + //BA.debugLineNum = 6488291;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_CANT\")"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._k1 /*String*/ +__ref._blanco /*String*/ +__ref._k2 /*String*/ +_elinefeed); +RDebugUtils.currentLine=6488293; + //BA.debugLineNum = 6488293;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=6488294; + //BA.debugLineNum = 6488294;BA.debugLine="ESPACIO = 30"; +__ref._espacio /*int*/ = (int) (30); +RDebugUtils.currentLine=6488295; + //BA.debugLineNum = 6488295;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 66: +//C +this.state = 67; +; + if (true) break; + +case 67: +//C +this.state = 104; +; + if (true) break; +if (true) break; + +case 68: +//C +this.state = 69; +; + if (true) break; + +case 69: +//C +this.state = 70; +; +RDebugUtils.currentLine=6488302; + //BA.debugLineNum = 6488302;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=6488303; + //BA.debugLineNum = 6488303;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=6488304; + //BA.debugLineNum = 6488304;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"VENTA"}))); +RDebugUtils.currentLine=6488305; + //BA.debugLineNum = 6488305;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 70: +//if +this.state = 87; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 72; +}if (true) break; + +case 72: +//C +this.state = 73; +RDebugUtils.currentLine=6488306; + //BA.debugLineNum = 6488306;BA.debugLine="Printer1.WriteString(\"-------PROMOS VENTA------"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"-------PROMOS VENTA--------"+_elinefeed); +RDebugUtils.currentLine=6488307; + //BA.debugLineNum = 6488307;BA.debugLine="Printer1.WriteString(\"Cant. Precio"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Cant. Precio Importe"+_elinefeed); +RDebugUtils.currentLine=6488308; + //BA.debugLineNum = 6488308;BA.debugLine="Printer1.WriteString(\"-------------------------"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=6488309; + //BA.debugLineNum = 6488309;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 73: +//for +this.state = 86; +step113 = 1; +limit113 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 109; +if (true) break; + +case 109: +//C +this.state = 86; +if ((step113 > 0 && _i <= limit113) || (step113 < 0 && _i >= limit113)) this.state = 75; +if (true) break; + +case 110: +//C +this.state = 109; +_i = ((int)(0 + _i + step113)) ; +if (true) break; + +case 75: +//C +this.state = 76; +RDebugUtils.currentLine=6488310; + //BA.debugLineNum = 6488310;BA.debugLine="s.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=6488311; + //BA.debugLineNum = 6488311;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; +if (true) break; + +case 76: +//if +this.state = 85; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +this.state = 78; +}else { +this.state = 80; +}if (true) break; + +case 78: +//C +this.state = 85; +RDebugUtils.currentLine=6488312; + //BA.debugLineNum = 6488312;BA.debugLine="Printer1.WriteString(\"* \"& s.GetString(\"PE_PR"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"* "+__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=6488313; + //BA.debugLineNum = 6488313;BA.debugLine="Log(\"promo\")"; +parent.__c.LogImpl("56488313","promo",0); + if (true) break; + +case 80: +//C +this.state = 81; +RDebugUtils.currentLine=6488316; + //BA.debugLineNum = 6488316;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBR"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=6488358; + //BA.debugLineNum = 6488358;BA.debugLine="k1 = NumberFormat(s.GETSTRING(\"PE_COSTOU\"),0,"; +__ref._k1 /*String*/ = parent.__c.NumberFormat((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))),(int) (0),(int) (2)); +RDebugUtils.currentLine=6488359; + //BA.debugLineNum = 6488359;BA.debugLine="k2 = NumberFormat(s.GETSTRING(\"PE_COSTO_TOT\")"; +__ref._k2 /*String*/ = parent.__c.NumberFormat((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT"))),(int) (0),(int) (2)); +RDebugUtils.currentLine=6488361; + //BA.debugLineNum = 6488361;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + k1.Length + k2"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._k1 /*String*/ .length()+__ref._k2 /*String*/ .length()); +RDebugUtils.currentLine=6488362; + //BA.debugLineNum = 6488362;BA.debugLine="ESPACIO = 30"; +__ref._espacio /*int*/ = (int) (30); +RDebugUtils.currentLine=6488363; + //BA.debugLineNum = 6488363;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=6488364; + //BA.debugLineNum = 6488364;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=6488365; + //BA.debugLineNum = 6488365;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=6488366; + //BA.debugLineNum = 6488366;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 81: +//for +this.state = 84; +step127 = 1; +limit127 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 111; +if (true) break; + +case 111: +//C +this.state = 84; +if ((step127 > 0 && _e <= limit127) || (step127 < 0 && _e >= limit127)) this.state = 83; +if (true) break; + +case 112: +//C +this.state = 111; +_e = ((int)(0 + _e + step127)) ; +if (true) break; + +case 83: +//C +this.state = 112; +RDebugUtils.currentLine=6488367; + //BA.debugLineNum = 6488367;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 84: +//C +this.state = 85; +; +RDebugUtils.currentLine=6488370; + //BA.debugLineNum = 6488370;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_CANT\") &"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._k1 /*String*/ +__ref._blanco /*String*/ +__ref._k2 /*String*/ +_elinefeed); +RDebugUtils.currentLine=6488372; + //BA.debugLineNum = 6488372;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=6488373; + //BA.debugLineNum = 6488373;BA.debugLine="ESPACIO = 30"; +__ref._espacio /*int*/ = (int) (30); +RDebugUtils.currentLine=6488374; + //BA.debugLineNum = 6488374;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 85: +//C +this.state = 110; +; + if (true) break; +if (true) break; + +case 86: +//C +this.state = 87; +; +RDebugUtils.currentLine=6488378; + //BA.debugLineNum = 6488378;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); + if (true) break; + +case 87: +//C +this.state = 88; +; +RDebugUtils.currentLine=6488380; + //BA.debugLineNum = 6488380;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=6488382; + //BA.debugLineNum = 6488382;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) AS T"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?",new String[]{"VENTA"}))); +RDebugUtils.currentLine=6488383; + //BA.debugLineNum = 6488383;BA.debugLine="s.Position =0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=6488387; + //BA.debugLineNum = 6488387;BA.debugLine="Printer1.WriteString(\"Total venta: $\" & Number"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total venta: $"+parent.__c.NumberFormat((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL"))),(int) (0),(int) (2))+_elinefeed); +RDebugUtils.currentLine=6488389; + //BA.debugLineNum = 6488389;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=6488390; + //BA.debugLineNum = 6488390;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"VENTA"}))); +RDebugUtils.currentLine=6488391; + //BA.debugLineNum = 6488391;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=6488392; + //BA.debugLineNum = 6488392;BA.debugLine="Printer1.WriteString(\"Total art. venta: \" &Numbe"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total art. venta: "+parent.__c.NumberFormat((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"))),(int) (0),(int) (0))+_elinefeed); +RDebugUtils.currentLine=6488393; + //BA.debugLineNum = 6488393;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + if (true) break; + +case 88: +//C +this.state = 89; +; +RDebugUtils.currentLine=6488414; + //BA.debugLineNum = 6488414;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=6488415; + //BA.debugLineNum = 6488415;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=6488418; + //BA.debugLineNum = 6488418;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"----ESTE TICKET NO ES UN -----"+_elinefeed); +RDebugUtils.currentLine=6488419; + //BA.debugLineNum = 6488419;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--COMPROBANTE FISCAL, SOLO ES-"+_elinefeed); +RDebugUtils.currentLine=6488420; + //BA.debugLineNum = 6488420;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--------INFORMATIVO-----------"+_elinefeed); +RDebugUtils.currentLine=6488421; + //BA.debugLineNum = 6488421;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=6488422; + //BA.debugLineNum = 6488422;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=6488423; + //BA.debugLineNum = 6488423;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=6488424; + //BA.debugLineNum = 6488424;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=6488425; + //BA.debugLineNum = 6488425;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_venta"),(int) (1000)); +this.state = 113; +return; +case 113: +//C +this.state = 89; +; +RDebugUtils.currentLine=6488426; + //BA.debugLineNum = 6488426;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=6488428; + //BA.debugLineNum = 6488428;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=6488430; + //BA.debugLineNum = 6488430;BA.debugLine="s = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE ("; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE (PE_FOLIO = ? OR PE_FOLIO = ?) AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",new String[]{"PREVENTA_CREDITO","PREVENTA_CONTADO"}))); +RDebugUtils.currentLine=6488431; + //BA.debugLineNum = 6488431;BA.debugLine="If s.RowCount = 0 Then"; +if (true) break; + +case 89: +//if +this.state = 98; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +this.state = 91; +}if (true) break; + +case 91: +//C +this.state = 92; +RDebugUtils.currentLine=6488432; + //BA.debugLineNum = 6488432;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=6488433; + //BA.debugLineNum = 6488433;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_venta"), null); +this.state = 114; +return; +case 114: +//C +this.state = 92; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=6488434; + //BA.debugLineNum = 6488434;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 92: +//if +this.state = 97; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 94; +}else { +this.state = 96; +}if (true) break; + +case 94: +//C +this.state = 97; +RDebugUtils.currentLine=6488435; + //BA.debugLineNum = 6488435;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*String*/ (null); + if (true) break; + +case 96: +//C +this.state = 97; +RDebugUtils.currentLine=6488437; + //BA.debugLineNum = 6488437;BA.debugLine="GUADAVENTA2"; +__ref._guadaventa2 /*String*/ (null); + if (true) break; + +case 97: +//C +this.state = 98; +; + if (true) break; + +case 98: +//C +this.state = -1; +; +RDebugUtils.currentLine=6488443; + //BA.debugLineNum = 6488443;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _imprime_preventa(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "imprime_preventa", false)) + {Debug.delegate(ba, "imprime_preventa", null); return;} +ResumableSub_imprime_preventa rsub = new ResumableSub_imprime_preventa(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_imprime_preventa extends BA.ResumableSub { +public ResumableSub_imprime_preventa(SHARK2.keymon.com.mx.c_cliente parent,SHARK2.keymon.com.mx.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_cliente __ref; +SHARK2.keymon.com.mx.c_cliente parent; +String _elinefeed = ""; +int _cont = 0; +anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; +SHARK2.keymon.com.mx.escposprinter._animage _myimage = null; +anywheresoftware.b4a.objects.collections.List _tipos_preventa = null; +String _tipo = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _siesacredi = null; +int _i = 0; +int _e = 0; +double _subtotal = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _subtot = null; +double _descuento = 0; +double _total = 0; +String _monto = ""; +double _pamonto = 0; +int _resultado = 0; +anywheresoftware.b4a.BA.IterableList group63; +int index63; +int groupLen63; +int step72; +int limit72; +int step86; +int limit86; +int step102; +int limit102; +int step120; +int limit120; +int step129; +int limit129; + +@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=6422529; + //BA.debugLineNum = 6422529;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=6422530; + //BA.debugLineNum = 6422530;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=6422531; + //BA.debugLineNum = 6422531;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=6422532; + //BA.debugLineNum = 6422532;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=6422533; + //BA.debugLineNum = 6422533;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=6422534; + //BA.debugLineNum = 6422534;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=6422535; + //BA.debugLineNum = 6422535;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=6422537; + //BA.debugLineNum = 6422537;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)"; +_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a))); +RDebugUtils.currentLine=6422539; + //BA.debugLineNum = 6422539;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); +RDebugUtils.currentLine=6422540; + //BA.debugLineNum = 6422540;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=6422541; + //BA.debugLineNum = 6422541;BA.debugLine="If Not(Printer1.IsConnected) Then"; +if (true) break; + +case 1: +//if +this.state = 38; +if (parent.__c.Not(__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 3; +}else { +this.state = 21; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=6422543; + //BA.debugLineNum = 6422543;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=6422544; + //BA.debugLineNum = 6422544;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=6422545; + //BA.debugLineNum = 6422545;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=6422546; + //BA.debugLineNum = 6422546;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_preventa"),(int) (1000)); +this.state = 122; +return; +case 122: +//C +this.state = 7; +; +RDebugUtils.currentLine=6422547; + //BA.debugLineNum = 6422547;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=6422548; + //BA.debugLineNum = 6422548;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 /*SHARK2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 12: +//C +this.state = 13; +; +RDebugUtils.currentLine=6422549; + //BA.debugLineNum = 6422549;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=6422551; + //BA.debugLineNum = 6422551;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_preventa"),(int) (500)); +this.state = 123; +return; +case 123: +//C +this.state = 38; +; +RDebugUtils.currentLine=6422552; + //BA.debugLineNum = 6422552;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=6422555; + //BA.debugLineNum = 6422555;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=6422556; + //BA.debugLineNum = 6422556;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=6422557; + //BA.debugLineNum = 6422557;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 /*SHARK2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null))) { +this.state = 24; +if (true) break; +} +if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=6422558; + //BA.debugLineNum = 6422558;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_preventa"),(int) (1000)); +this.state = 124; +return; +case 124: +//C +this.state = 25; +; +RDebugUtils.currentLine=6422559; + //BA.debugLineNum = 6422559;BA.debugLine="cont = cont + 1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=6422560; + //BA.debugLineNum = 6422560;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 /*SHARK2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +if (true) break; + +case 30: +//C +this.state = 31; +; +RDebugUtils.currentLine=6422561; + //BA.debugLineNum = 6422561;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=6422563; + //BA.debugLineNum = 6422563;BA.debugLine="Sleep(500)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_preventa"),(int) (500)); +this.state = 125; +return; +case 125: +//C +this.state = 38; +; +RDebugUtils.currentLine=6422564; + //BA.debugLineNum = 6422564;BA.debugLine="impresoraConectada = False"; +__ref._impresoraconectada /*boolean*/ = parent.__c.False; + if (true) break; + +case 38: +//C +this.state = 39; +; +RDebugUtils.currentLine=6422567; + //BA.debugLineNum = 6422567;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=6422568; + //BA.debugLineNum = 6422568;BA.debugLine="ESPACIO = 22"; +__ref._espacio /*int*/ = (int) (22); +RDebugUtils.currentLine=6422569; + //BA.debugLineNum = 6422569;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=6422572; + //BA.debugLineNum = 6422572;BA.debugLine="Dim bmp As Bitmap"; +_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=6422573; + //BA.debugLineNum = 6422573;BA.debugLine="Printer1.Justify = 1"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._setjustify(null,(int) (1)); +RDebugUtils.currentLine=6422574; + //BA.debugLineNum = 6422574;BA.debugLine="bmp.InitializeResize(File.DirAssets, \"amigos.jpg"; +_bmp.InitializeResize(parent.__c.File.getDirAssets(),"amigos.jpg",(int) (192),(int) (252),parent.__c.True); +RDebugUtils.currentLine=6422575; + //BA.debugLineNum = 6422575;BA.debugLine="Dim myimage As AnImage = Printer1.ImageToBWIMage"; +_myimage = __ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._imagetobwimage /*SHARK2.keymon.com.mx.escposprinter._animage*/ (null,_bmp); +RDebugUtils.currentLine=6422577; + //BA.debugLineNum = 6422577;BA.debugLine="myimage = Printer1.DitherImage2D(myimage, 128)"; +_myimage = __ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._ditherimage2d /*SHARK2.keymon.com.mx.escposprinter._animage*/ (null,_myimage,(int) (128)); +RDebugUtils.currentLine=6422579; + //BA.debugLineNum = 6422579;BA.debugLine="myimage= Printer1.PackImage(myimage)"; +_myimage = __ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._packimage /*SHARK2.keymon.com.mx.escposprinter._animage*/ (null,_myimage); +RDebugUtils.currentLine=6422580; + //BA.debugLineNum = 6422580;BA.debugLine="Printer1.WriteString(CRLF) ' nudge the printer t"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,parent.__c.CRLF); +RDebugUtils.currentLine=6422581; + //BA.debugLineNum = 6422581;BA.debugLine="Printer1.WriteString(Printer1.REVERSE)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._reverse /*String*/ ); +RDebugUtils.currentLine=6422583; + //BA.debugLineNum = 6422583;BA.debugLine="Printer1.PrintImage(myimage)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._printimage /*int*/ (null,_myimage); +RDebugUtils.currentLine=6422584; + //BA.debugLineNum = 6422584;BA.debugLine="Printer1.WriteString(Printer1.UNREVERSE)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._unreverse /*String*/ ); +RDebugUtils.currentLine=6422586; + //BA.debugLineNum = 6422586;BA.debugLine="Printer1.Justify = 0"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._setjustify(null,(int) (0)); +RDebugUtils.currentLine=6422606; + //BA.debugLineNum = 6422606;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=6422607; + //BA.debugLineNum = 6422607;BA.debugLine="Printer1.WriteString(\"CANDY SHARK2\" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"CANDY SHARK2"+_elinefeed); +RDebugUtils.currentLine=6422608; + //BA.debugLineNum = 6422608;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._sdate /*String*/ +_elinefeed); +RDebugUtils.currentLine=6422609; + //BA.debugLineNum = 6422609;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._stime /*String*/ +_elinefeed); +RDebugUtils.currentLine=6422610; + //BA.debugLineNum = 6422610;BA.debugLine="Printer1.WriteString(\"Vendedor: \" & TraeVendedor"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Vendedor: "+__ref._traevendedor /*String*/ (null)+_elinefeed); +RDebugUtils.currentLine=6422611; + //BA.debugLineNum = 6422611;BA.debugLine="Printer1.WriteString(\"Numero de Vendedor: \" & Tra"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Numero de Vendedor: "+__ref._traenumvendedor /*String*/ (null)+_elinefeed); +RDebugUtils.currentLine=6422612; + //BA.debugLineNum = 6422612;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Tienda: "+__ref._la_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=6422613; + //BA.debugLineNum = 6422613;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta.T"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"ID.Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=6422614; + //BA.debugLineNum = 6422614;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Calle: "+__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=6422615; + //BA.debugLineNum = 6422615;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Colonia: "+__ref._la_col /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+_elinefeed); +RDebugUtils.currentLine=6422616; + //BA.debugLineNum = 6422616;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=6422618; + //BA.debugLineNum = 6422618;BA.debugLine="Dim tipos_preventa As List"; +_tipos_preventa = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=6422619; + //BA.debugLineNum = 6422619;BA.debugLine="tipos_preventa.Initialize"; +_tipos_preventa.Initialize(); +RDebugUtils.currentLine=6422620; + //BA.debugLineNum = 6422620;BA.debugLine="tipos_preventa.Add(\"PREVENTA_CREDITO\")"; +_tipos_preventa.Add((Object)("PREVENTA_CREDITO")); +RDebugUtils.currentLine=6422621; + //BA.debugLineNum = 6422621;BA.debugLine="tipos_preventa.Add(\"PREVENTA_CONTADO\")"; +_tipos_preventa.Add((Object)("PREVENTA_CONTADO")); +RDebugUtils.currentLine=6422623; + //BA.debugLineNum = 6422623;BA.debugLine="For Each tipo As String In tipos_preventa"; +if (true) break; + +case 39: +//for +this.state = 109; +group63 = _tipos_preventa; +index63 = 0; +groupLen63 = group63.getSize(); +this.state = 126; +if (true) break; + +case 126: +//C +this.state = 109; +if (index63 < groupLen63) { +this.state = 41; +_tipo = BA.ObjectToString(group63.Get(index63));} +if (true) break; + +case 127: +//C +this.state = 126; +index63++; +if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=6422624; + //BA.debugLineNum = 6422624;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{_tipo}))); +RDebugUtils.currentLine=6422626; + //BA.debugLineNum = 6422626;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 42: +//if +this.state = 108; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 44; +}if (true) break; + +case 44: +//C +this.state = 45; +RDebugUtils.currentLine=6422628; + //BA.debugLineNum = 6422628;BA.debugLine="Dim siesacredi As Cursor = skmt.ExecQuery(\"SELE"; +_siesacredi = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_siesacredi = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=6422629; + //BA.debugLineNum = 6422629;BA.debugLine="Printer1.WriteString(\"----------\" & \"PREVENTA\""; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"----------"+"PREVENTA"+"----------"+_elinefeed); +RDebugUtils.currentLine=6422631; + //BA.debugLineNum = 6422631;BA.debugLine="Printer1.WriteString(\"Cant. Precio"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Cant. Precio Importe"+_elinefeed); +RDebugUtils.currentLine=6422632; + //BA.debugLineNum = 6422632;BA.debugLine="Printer1.WriteString(\"-------------------------"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=6422635; + //BA.debugLineNum = 6422635;BA.debugLine="s=skmt.ExecQuery2(\"select PE_BCAJAS,PE_PRONOMBR"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_BCAJAS,PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU, PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{_tipo,parent._subs._traealmacen /*String*/ (ba)}))); +RDebugUtils.currentLine=6422637; + //BA.debugLineNum = 6422637;BA.debugLine="If S.RowCount>0 Then"; +if (true) break; + +case 45: +//if +this.state = 72; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 47; +}if (true) break; + +case 47: +//C +this.state = 48; +RDebugUtils.currentLine=6422638; + //BA.debugLineNum = 6422638;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 48: +//for +this.state = 71; +step72 = 1; +limit72 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 128; +if (true) break; + +case 128: +//C +this.state = 71; +if ((step72 > 0 && _i <= limit72) || (step72 < 0 && _i >= limit72)) this.state = 50; +if (true) break; + +case 129: +//C +this.state = 128; +_i = ((int)(0 + _i + step72)) ; +if (true) break; + +case 50: +//C +this.state = 51; +RDebugUtils.currentLine=6422639; + //BA.debugLineNum = 6422639;BA.debugLine="S.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=6422640; + //BA.debugLineNum = 6422640;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_"; +if (true) break; + +case 51: +//if +this.state = 70; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))) { +this.state = 53; +}else { +this.state = 55; +}if (true) break; + +case 53: +//C +this.state = 70; +RDebugUtils.currentLine=6422641; + //BA.debugLineNum = 6422641;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMB"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); + if (true) break; + +case 55: +//C +this.state = 56; +RDebugUtils.currentLine=6422643; + //BA.debugLineNum = 6422643;BA.debugLine="If s.GetString(\"PE_BCAJAS\") = 0 Then"; +if (true) break; + +case 56: +//if +this.state = 69; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_BCAJAS")).equals(BA.NumberToString(0))) { +this.state = 58; +}else { +this.state = 64; +}if (true) break; + +case 58: +//C +this.state = 59; +RDebugUtils.currentLine=6422644; + //BA.debugLineNum = 6422644;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOM"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=6422645; + //BA.debugLineNum = 6422645;BA.debugLine="k1 = NumberFormat(s.GETSTRING(\"PE_COSTOU\"),"; +__ref._k1 /*String*/ = parent.__c.NumberFormat((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))),(int) (0),(int) (2)); +RDebugUtils.currentLine=6422646; + //BA.debugLineNum = 6422646;BA.debugLine="k2 = NumberFormat(s.GETSTRING(\"PE_COSTO_TOT"; +__ref._k2 /*String*/ = parent.__c.NumberFormat((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT"))),(int) (0),(int) (2)); +RDebugUtils.currentLine=6422648; + //BA.debugLineNum = 6422648;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + k1.Length +"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._k1 /*String*/ .length()+__ref._k2 /*String*/ .length()); +RDebugUtils.currentLine=6422649; + //BA.debugLineNum = 6422649;BA.debugLine="ESPACIO = 30"; +__ref._espacio /*int*/ = (int) (30); +RDebugUtils.currentLine=6422650; + //BA.debugLineNum = 6422650;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=6422651; + //BA.debugLineNum = 6422651;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=6422652; + //BA.debugLineNum = 6422652;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=6422653; + //BA.debugLineNum = 6422653;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 59: +//for +this.state = 62; +step86 = 1; +limit86 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 130; +if (true) break; + +case 130: +//C +this.state = 62; +if ((step86 > 0 && _e <= limit86) || (step86 < 0 && _e >= limit86)) this.state = 61; +if (true) break; + +case 131: +//C +this.state = 130; +_e = ((int)(0 + _e + step86)) ; +if (true) break; + +case 61: +//C +this.state = 131; +RDebugUtils.currentLine=6422654; + //BA.debugLineNum = 6422654;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 62: +//C +this.state = 69; +; +RDebugUtils.currentLine=6422657; + //BA.debugLineNum = 6422657;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_CANT\")"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._k1 /*String*/ +__ref._blanco /*String*/ +__ref._k2 /*String*/ +_elinefeed); +RDebugUtils.currentLine=6422658; + //BA.debugLineNum = 6422658;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=6422659; + //BA.debugLineNum = 6422659;BA.debugLine="ESPACIO = 30"; +__ref._espacio /*int*/ = (int) (30); +RDebugUtils.currentLine=6422660; + //BA.debugLineNum = 6422660;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 64: +//C +this.state = 65; +RDebugUtils.currentLine=6422662; + //BA.debugLineNum = 6422662;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOM"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=6422663; + //BA.debugLineNum = 6422663;BA.debugLine="k1 = NumberFormat((s.GETSTRING(\"PE_COSTO_TO"; +__ref._k1 /*String*/ = parent.__c.NumberFormat(((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)); +RDebugUtils.currentLine=6422664; + //BA.debugLineNum = 6422664;BA.debugLine="k2 = NumberFormat(s.GETSTRING(\"PE_COSTO_TOT"; +__ref._k2 /*String*/ = parent.__c.NumberFormat((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT"))),(int) (0),(int) (2)); +RDebugUtils.currentLine=6422666; + //BA.debugLineNum = 6422666;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + k1.Length +"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetLong("L_CANT")+__ref._k1 /*String*/ .length()+__ref._k2 /*String*/ .length()); +RDebugUtils.currentLine=6422667; + //BA.debugLineNum = 6422667;BA.debugLine="ESPACIO = 30"; +__ref._espacio /*int*/ = (int) (30); +RDebugUtils.currentLine=6422668; + //BA.debugLineNum = 6422668;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=6422669; + //BA.debugLineNum = 6422669;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=6422670; + //BA.debugLineNum = 6422670;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=6422671; + //BA.debugLineNum = 6422671;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 65: +//for +this.state = 68; +step102 = 1; +limit102 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 132; +if (true) break; + +case 132: +//C +this.state = 68; +if ((step102 > 0 && _e <= limit102) || (step102 < 0 && _e >= limit102)) this.state = 67; +if (true) break; + +case 133: +//C +this.state = 132; +_e = ((int)(0 + _e + step102)) ; +if (true) break; + +case 67: +//C +this.state = 133; +RDebugUtils.currentLine=6422672; + //BA.debugLineNum = 6422672;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; + +case 68: +//C +this.state = 69; +; +RDebugUtils.currentLine=6422675; + //BA.debugLineNum = 6422675;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_CANT\")"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._k1 /*String*/ +__ref._blanco /*String*/ +__ref._k2 /*String*/ +_elinefeed); +RDebugUtils.currentLine=6422676; + //BA.debugLineNum = 6422676;BA.debugLine="TAMANO = 0"; +__ref._tamano /*int*/ = (int) (0); +RDebugUtils.currentLine=6422677; + //BA.debugLineNum = 6422677;BA.debugLine="ESPACIO = 30"; +__ref._espacio /*int*/ = (int) (30); +RDebugUtils.currentLine=6422678; + //BA.debugLineNum = 6422678;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; + if (true) break; + +case 69: +//C +this.state = 70; +; + if (true) break; + +case 70: +//C +this.state = 129; +; + if (true) break; +if (true) break; + +case 71: +//C +this.state = 72; +; + if (true) break; + +case 72: +//C +this.state = 73; +; +RDebugUtils.currentLine=6422683; + //BA.debugLineNum = 6422683;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=6422686; + //BA.debugLineNum = 6422686;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=6422687; + //BA.debugLineNum = 6422687;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PRONOMBRE, PE_CANT, PE_COSTOU, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CEDIS <> ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{_tipo,parent._subs._traealmacen /*String*/ (ba)}))); +RDebugUtils.currentLine=6422689; + //BA.debugLineNum = 6422689;BA.debugLine="If s.RowCount>0 Then"; +if (true) break; + +case 73: +//if +this.state = 89; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 75; +}if (true) break; + +case 75: +//C +this.state = 76; +RDebugUtils.currentLine=6422690; + //BA.debugLineNum = 6422690;BA.debugLine="Printer1.WriteString(\"---PRODUCTOS EN PROMOCIO"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"---PRODUCTOS EN PROMOCION---"+_elinefeed); +RDebugUtils.currentLine=6422691; + //BA.debugLineNum = 6422691;BA.debugLine="Printer1.WriteString(\"Cant. Precio"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Cant. Precio Importe"+_elinefeed); +RDebugUtils.currentLine=6422692; + //BA.debugLineNum = 6422692;BA.debugLine="Printer1.WriteString(\"------------------------"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=6422694; + //BA.debugLineNum = 6422694;BA.debugLine="For i=0 To S.RowCount -1"; +if (true) break; + +case 76: +//for +this.state = 88; +step120 = 1; +limit120 = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 134; +if (true) break; + +case 134: +//C +this.state = 88; +if ((step120 > 0 && _i <= limit120) || (step120 < 0 && _i >= limit120)) this.state = 78; +if (true) break; + +case 135: +//C +this.state = 134; +_i = ((int)(0 + _i + step120)) ; +if (true) break; + +case 78: +//C +this.state = 79; +RDebugUtils.currentLine=6422695; + //BA.debugLineNum = 6422695;BA.debugLine="s.Position=i"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=6422696; + //BA.debugLineNum = 6422696;BA.debugLine="k1 = NumberFormat(s.GETSTRING(\"PE_COSTOU\"),0,"; +__ref._k1 /*String*/ = parent.__c.NumberFormat((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU"))),(int) (0),(int) (2)); +RDebugUtils.currentLine=6422697; + //BA.debugLineNum = 6422697;BA.debugLine="k2 = NumberFormat(s.GETSTRING(\"PE_COSTO_TOT\")"; +__ref._k2 /*String*/ = parent.__c.NumberFormat((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT"))),(int) (0),(int) (2)); +RDebugUtils.currentLine=6422699; + //BA.debugLineNum = 6422699;BA.debugLine="TAMANO = s.GetString(\"PE_CANT\").Length + k1.L"; +__ref._tamano /*int*/ = (int) (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT").length()+__ref._k1 /*String*/ .length()+__ref._k2 /*String*/ .length()); +RDebugUtils.currentLine=6422700; + //BA.debugLineNum = 6422700;BA.debugLine="ESPACIO = 30"; +__ref._espacio /*int*/ = (int) (30); +RDebugUtils.currentLine=6422701; + //BA.debugLineNum = 6422701;BA.debugLine="BLANCO = \" \""; +__ref._blanco /*String*/ = " "; +RDebugUtils.currentLine=6422702; + //BA.debugLineNum = 6422702;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ -__ref._tamano /*int*/ ); +RDebugUtils.currentLine=6422703; + //BA.debugLineNum = 6422703;BA.debugLine="ESPACIO = ESPACIO / 2"; +__ref._espacio /*int*/ = (int) (__ref._espacio /*int*/ /(double)2); +RDebugUtils.currentLine=6422704; + //BA.debugLineNum = 6422704;BA.debugLine="For E=0 To ESPACIO -1"; +if (true) break; + +case 79: +//for +this.state = 82; +step129 = 1; +limit129 = (int) (__ref._espacio /*int*/ -1); +_e = (int) (0) ; +this.state = 136; +if (true) break; + +case 136: +//C +this.state = 82; +if ((step129 > 0 && _e <= limit129) || (step129 < 0 && _e >= limit129)) this.state = 81; +if (true) break; + +case 137: +//C +this.state = 136; +_e = ((int)(0 + _e + step129)) ; +if (true) break; + +case 81: +//C +this.state = 137; +RDebugUtils.currentLine=6422705; + //BA.debugLineNum = 6422705;BA.debugLine="BLANCO = \" \" & BLANCO"; +__ref._blanco /*String*/ = " "+__ref._blanco /*String*/ ; + if (true) break; +if (true) break; +; +RDebugUtils.currentLine=6422707; + //BA.debugLineNum = 6422707;BA.debugLine="If s.GetString(\"PE_PROID\") = s.GetString(\"PE_"; + +case 82: +//if +this.state = 87; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")).equals(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS"))) { +this.state = 84; +}else { +this.state = 86; +}if (true) break; + +case 84: +//C +this.state = 87; +RDebugUtils.currentLine=6422708; + //BA.debugLineNum = 6422708;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMB"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=6422709; + //BA.debugLineNum = 6422709;BA.debugLine="Printer1.WriteString(\" \"& eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); + if (true) break; + +case 86: +//C +this.state = 87; +RDebugUtils.currentLine=6422711; + //BA.debugLineNum = 6422711;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMB"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")+_elinefeed); +RDebugUtils.currentLine=6422712; + //BA.debugLineNum = 6422712;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_CANT\")"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")+__ref._blanco /*String*/ +__ref._k1 /*String*/ +__ref._blanco /*String*/ +__ref._k2 /*String*/ +_elinefeed); + if (true) break; + +case 87: +//C +this.state = 135; +; + if (true) break; +if (true) break; + +case 88: +//C +this.state = 89; +; +RDebugUtils.currentLine=6422716; + //BA.debugLineNum = 6422716;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); + if (true) break; + +case 89: +//C +this.state = 90; +; +RDebugUtils.currentLine=6422734; + //BA.debugLineNum = 6422734;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=6422735; + //BA.debugLineNum = 6422735;BA.debugLine="s = skmt.ExecQuery($\"SELECT SUM(CAT_GP_PRECIO *"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT SUM(CAT_GP_PRECIO * PE_CANT) As SUBTOTAL FROM PEDIDO P INNER JOIN CAT_GUNAPROD C ON P.PE_PROID = C.CAT_GP_ID And P.PE_CEDIS = P.PE_PROID WHERE PE_CLIENTE IN (Select cuenta FROM CUENTAA) And PE_FOLIO = 'PREVENTA_CONTADO'")))); +RDebugUtils.currentLine=6422736; + //BA.debugLineNum = 6422736;BA.debugLine="Dim subtotal As Double"; +_subtotal = 0; +RDebugUtils.currentLine=6422737; + //BA.debugLineNum = 6422737;BA.debugLine="s.Position = 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=6422738; + //BA.debugLineNum = 6422738;BA.debugLine="subtotal = s.GetDouble(\"SUBTOTAL\")"; +_subtotal = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("SUBTOTAL"); +RDebugUtils.currentLine=6422739; + //BA.debugLineNum = 6422739;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=6422741; + //BA.debugLineNum = 6422741;BA.debugLine="Dim subtot As Cursor = skmt.ExecQuery(\"SELECT S"; +_subtot = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_subtot = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(P.PE_COSTO_TOT) As TOTAL_SIN_PROMO FROM PEDIDO P INNER JOIN CAT_GUNAPROD C ON P.PE_PROID = C.CAT_GP_ID WHERE P.PE_CLIENTE IN (Select cuenta FROM CUENTAA) And P.PE_FOLIO = 'PREVENTA_CONTADO' And PE_CEDIS Not IN (Select DISTINCT PE_PROID FROM PEDIDO)"))); +RDebugUtils.currentLine=6422742; + //BA.debugLineNum = 6422742;BA.debugLine="subtot.Position = 0"; +_subtot.setPosition((int) (0)); +RDebugUtils.currentLine=6422743; + //BA.debugLineNum = 6422743;BA.debugLine="subtotal = subtotal + subtot.GetDouble(\"TOTAL_S"; +_subtotal = _subtotal+_subtot.GetDouble("TOTAL_SIN_PROMO"); +RDebugUtils.currentLine=6422744; + //BA.debugLineNum = 6422744;BA.debugLine="subtot.Close"; +_subtot.Close(); +RDebugUtils.currentLine=6422746; + //BA.debugLineNum = 6422746;BA.debugLine="subtotal = Round2(subtotal, 2)"; +_subtotal = parent.__c.Round2(_subtotal,(int) (2)); +RDebugUtils.currentLine=6422747; + //BA.debugLineNum = 6422747;BA.debugLine="Printer1.WriteString(\"Subtotal: $\" & NumberFo"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Subtotal: $"+parent.__c.NumberFormat(_subtotal,(int) (0),(int) (2))+_elinefeed); +RDebugUtils.currentLine=6422750; + //BA.debugLineNum = 6422750;BA.debugLine="Dim descuento As Double"; +_descuento = 0; +RDebugUtils.currentLine=6422751; + //BA.debugLineNum = 6422751;BA.debugLine="s = skmt.ExecQuery2(\"SELECT SUM(PE_COSTO_TOT) A"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?",new String[]{"PREVENTA_CONTADO"}))); +RDebugUtils.currentLine=6422752; + //BA.debugLineNum = 6422752;BA.debugLine="s.Position = 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=6422753; + //BA.debugLineNum = 6422753;BA.debugLine="Dim total As Double = s.GetDouble(\"TOTAL\")"; +_total = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("TOTAL"); +RDebugUtils.currentLine=6422754; + //BA.debugLineNum = 6422754;BA.debugLine="descuento = subtotal - total"; +_descuento = _subtotal-_total; +RDebugUtils.currentLine=6422755; + //BA.debugLineNum = 6422755;BA.debugLine="descuento = Round2(descuento, 2) ' Redondear de"; +_descuento = parent.__c.Round2(_descuento,(int) (2)); +RDebugUtils.currentLine=6422756; + //BA.debugLineNum = 6422756;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=6422759; + //BA.debugLineNum = 6422759;BA.debugLine="Printer1.WriteString(\"Total preventa: $\" & Nu"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total preventa: $"+parent.__c.NumberFormat(_total,(int) (0),(int) (2))+_elinefeed); +RDebugUtils.currentLine=6422760; + //BA.debugLineNum = 6422760;BA.debugLine="Printer1.WriteString(\"Usted ahorro: $\" & Numb"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Usted ahorro: $"+parent.__c.NumberFormat(_descuento,(int) (0),(int) (2))+_elinefeed); +RDebugUtils.currentLine=6422764; + //BA.debugLineNum = 6422764;BA.debugLine="Dim c As Cursor = skmt.ExecQuery2(\"SELECT SUM(P"; +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)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_CANT) AS PC_NOART FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP) AND PE_FOLIO = ?",new String[]{"PREVENTA_CONTADO"}))); +RDebugUtils.currentLine=6422765; + //BA.debugLineNum = 6422765;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=6422766; + //BA.debugLineNum = 6422766;BA.debugLine="Printer1.WriteString(\"Total art. preventa: \" &"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total art. preventa: "+parent.__c.NumberFormat(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PC_NOART"),(int) (0),(int) (0))+_elinefeed); +RDebugUtils.currentLine=6422767; + //BA.debugLineNum = 6422767;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=6422770; + //BA.debugLineNum = 6422770;BA.debugLine="If tipo = \"PREVENTA_CREDITO\" Then"; +if (true) break; + +case 90: +//if +this.state = 107; +if ((_tipo).equals("PREVENTA_CREDITO")) { +this.state = 92; +}if (true) break; + +case 92: +//C +this.state = 93; +RDebugUtils.currentLine=6422771; + //BA.debugLineNum = 6422771;BA.debugLine="Dim siesacredi As Cursor = skmt.ExecQuery(\"SEL"; +_siesacredi = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_siesacredi = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=6422772; + //BA.debugLineNum = 6422772;BA.debugLine="If siesacredi.RowCount > 0 Then"; +if (true) break; + +case 93: +//if +this.state = 106; +if (_siesacredi.getRowCount()>0) { +this.state = 95; +}if (true) break; + +case 95: +//C +this.state = 96; +RDebugUtils.currentLine=6422773; + //BA.debugLineNum = 6422773;BA.debugLine="siesacredi.Position = 0"; +_siesacredi.setPosition((int) (0)); +RDebugUtils.currentLine=6422774; + //BA.debugLineNum = 6422774;BA.debugLine="Dim monto As String = siesacredi.GetString(\"P"; +_monto = _siesacredi.GetString("PA_MONTO"); +RDebugUtils.currentLine=6422775; + //BA.debugLineNum = 6422775;BA.debugLine="If monto = Null Or monto = \"\" Then monto = \"0"; +if (true) break; + +case 96: +//if +this.state = 101; +if (_monto== null || (_monto).equals("")) { +this.state = 98; +;}if (true) break; + +case 98: +//C +this.state = 101; +_monto = "0"; +if (true) break; + +case 101: +//C +this.state = 102; +; +RDebugUtils.currentLine=6422776; + //BA.debugLineNum = 6422776;BA.debugLine="Printer1.WriteString(\"Total a credito: $\" &"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total a credito: $"+parent.__c.NumberFormat((double)(Double.parseDouble(_monto)),(int) (0),(int) (2))+_elinefeed); +RDebugUtils.currentLine=6422778; + //BA.debugLineNum = 6422778;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) A"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?",new String[]{_tipo}))); +RDebugUtils.currentLine=6422779; + //BA.debugLineNum = 6422779;BA.debugLine="s.Position =0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=6422780; + //BA.debugLineNum = 6422780;BA.debugLine="Dim total As Double = IIf(s.GetString(\"TOTAL\""; +_total = (double)(BA.ObjectToNumber(((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")== null || (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")).equals("")) ? ((Object)(0)) : ((Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))))); +RDebugUtils.currentLine=6422781; + //BA.debugLineNum = 6422781;BA.debugLine="Dim paMonto As Double = IIf(siesacredi.GetStr"; +_pamonto = (double)(BA.ObjectToNumber(((_siesacredi.GetString("PA_MONTO")== null || (_siesacredi.GetString("PA_MONTO")).equals("")) ? ((Object)(0)) : ((Object)(_siesacredi.GetString("PA_MONTO")))))); +RDebugUtils.currentLine=6422783; + //BA.debugLineNum = 6422783;BA.debugLine="If total > paMonto Then"; +if (true) break; + +case 102: +//if +this.state = 105; +if (_total>_pamonto) { +this.state = 104; +}if (true) break; + +case 104: +//C +this.state = 105; +RDebugUtils.currentLine=6422784; + //BA.debugLineNum = 6422784;BA.debugLine="Printer1.WriteString(\"Total a contado: $\""; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"Total a contado: $"+parent.__c.NumberFormat(((double)(Double.parseDouble(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))-(double)(Double.parseDouble(_siesacredi.GetString("PA_MONTO")))),(int) (0),(int) (2))+_elinefeed); + if (true) break; + +case 105: +//C +this.state = 106; +; +RDebugUtils.currentLine=6422786; + //BA.debugLineNum = 6422786;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + if (true) break; + +case 106: +//C +this.state = 107; +; + if (true) break; + +case 107: +//C +this.state = 108; +; +RDebugUtils.currentLine=6422790; + //BA.debugLineNum = 6422790;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); + if (true) break; + +case 108: +//C +this.state = 127; +; + if (true) break; +if (true) break; + +case 109: +//C +this.state = 110; +; +RDebugUtils.currentLine=6422794; + //BA.debugLineNum = 6422794;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=6422795; + //BA.debugLineNum = 6422795;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"----ESTE TICKET NO ES UN -----"+_elinefeed); +RDebugUtils.currentLine=6422796; + //BA.debugLineNum = 6422796;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE DE PAGO NI FI"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--COMPROBANTE DE PAGO NI FISCAL-"+_elinefeed); +RDebugUtils.currentLine=6422797; + //BA.debugLineNum = 6422797;BA.debugLine="Printer1.WriteString(\"--ES UN TICKET INFORMATIVO-"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"--ES UN TICKET INFORMATIVO----"+_elinefeed); +RDebugUtils.currentLine=6422798; + //BA.debugLineNum = 6422798;BA.debugLine="Printer1.WriteString(\"---------------------------"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"------------------------------"+_elinefeed); +RDebugUtils.currentLine=6422799; + //BA.debugLineNum = 6422799;BA.debugLine="If ALMACEN = \"2\" Then"; +if (true) break; + +case 110: +//if +this.state = 115; +if ((__ref._almacen /*String*/ ).equals("2")) { +this.state = 112; +}else +{RDebugUtils.currentLine=6422801; + //BA.debugLineNum = 6422801;BA.debugLine="Else If ALMACEN = \"3\" Then"; +if ((__ref._almacen /*String*/ ).equals("3")) { +this.state = 114; +}} +if (true) break; + +case 112: +//C +this.state = 115; +RDebugUtils.currentLine=6422800; + //BA.debugLineNum = 6422800;BA.debugLine="Printer1.WriteString(\"TEL.: 5591972829\" & eLINEF"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"TEL.: 5591972829"+_elinefeed); + if (true) break; + +case 114: +//C +this.state = 115; +RDebugUtils.currentLine=6422802; + //BA.debugLineNum = 6422802;BA.debugLine="Printer1.WriteString(\"TEL.: 5579797285\" & eLINEF"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null,"TEL.: 5579797285"+_elinefeed); + if (true) break; + +case 115: +//C +this.state = 116; +; +RDebugUtils.currentLine=6422804; + //BA.debugLineNum = 6422804;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=6422805; + //BA.debugLineNum = 6422805;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=6422806; + //BA.debugLineNum = 6422806;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._writestring /*String*/ (null," "+_elinefeed); +RDebugUtils.currentLine=6422807; + //BA.debugLineNum = 6422807;BA.debugLine="Sleep(1000)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "imprime_preventa"),(int) (1000)); +this.state = 138; +return; +case 138: +//C +this.state = 116; +; +RDebugUtils.currentLine=6422808; + //BA.debugLineNum = 6422808;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=6422810; + //BA.debugLineNum = 6422810;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=6422812; + //BA.debugLineNum = 6422812;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=6422813; + //BA.debugLineNum = 6422813;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_preventa"), null); +this.state = 139; +return; +case 139: +//C +this.state = 116; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=6422814; + //BA.debugLineNum = 6422814;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 116: +//if +this.state = 121; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 118; +}else { +this.state = 120; +}if (true) break; + +case 118: +//C +this.state = 121; +RDebugUtils.currentLine=6422815; + //BA.debugLineNum = 6422815;BA.debugLine="B_IMP_Click"; +__ref._b_imp_click /*String*/ (null); + if (true) break; + +case 120: +//C +this.state = 121; +RDebugUtils.currentLine=6422817; + //BA.debugLineNum = 6422817;BA.debugLine="GUADAVENTA2"; +__ref._guadaventa2 /*String*/ (null); + if (true) break; + +case 121: +//C +this.state = -1; +; +RDebugUtils.currentLine=6422819; + //BA.debugLineNum = 6422819;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b_mapa_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_mapa_click", false)) + {return ((String) Debug.delegate(ba, "b_mapa_click", null));} +RDebugUtils.currentLine=6094848; + //BA.debugLineNum = 6094848;BA.debugLine="Sub b_mapa_Click"; +RDebugUtils.currentLine=6094849; + //BA.debugLineNum = 6094849;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; +_b4xpages._showpage /*String*/ (ba,"mapas"); +RDebugUtils.currentLine=6094850; + //BA.debugLineNum = 6094850;BA.debugLine="End Sub"; +return ""; +} +public String _b_ubicar_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_ubicar_click", false)) + {return ((String) Debug.delegate(ba, "b_ubicar_click", null));} +RDebugUtils.currentLine=8454144; + //BA.debugLineNum = 8454144;BA.debugLine="Private Sub b_ubicar_Click"; +RDebugUtils.currentLine=8454145; + //BA.debugLineNum = 8454145;BA.debugLine="StartActivity(MAPA_CLIENTE)"; +__c.StartActivity(ba,(Object)(_mapa_cliente.getObject())); +RDebugUtils.currentLine=8454146; + //BA.debugLineNum = 8454146;BA.debugLine="End Sub"; +return ""; +} +public String _b_venta_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_venta_click", false)) + {return ((String) Debug.delegate(ba, "b_venta_click", null));} +RDebugUtils.currentLine=6881280; + //BA.debugLineNum = 6881280;BA.debugLine="Sub b_venta_Click"; +RDebugUtils.currentLine=6881281; + //BA.debugLineNum = 6881281;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=6881282; + //BA.debugLineNum = 6881282;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=6881283; + //BA.debugLineNum = 6881283;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=6881311; + //BA.debugLineNum = 6881311;BA.debugLine="End Sub"; +return ""; +} +public String _b_venta_credito_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_venta_credito_click", false)) + {return ((String) Debug.delegate(ba, "b_venta_credito_click", null));} +RDebugUtils.currentLine=4980736; + //BA.debugLineNum = 4980736;BA.debugLine="Private Sub b_venta_credito_Click"; +RDebugUtils.currentLine=4980737; + //BA.debugLineNum = 4980737;BA.debugLine="If la_cuenta.Text = \"0\" Then"; +if ((__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=4980738; + //BA.debugLineNum = 4980738;BA.debugLine="B4XPages.MainPage.tipo_venta = \"ABORDO\""; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "ABORDO"; + }else +{RDebugUtils.currentLine=4980739; + //BA.debugLineNum = 4980739;BA.debugLine="Else If la_cuenta.Text = \"1\" Then"; +if ((__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("1")) { +RDebugUtils.currentLine=4980740; + //BA.debugLineNum = 4980740;BA.debugLine="B4XPages.MainPage.tipo_venta = \"RECARGA\""; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "RECARGA"; + }else { +RDebugUtils.currentLine=4980742; + //BA.debugLineNum = 4980742;BA.debugLine="B4XPages.MainPage.tipo_venta = \"PREVENTA_CREDITO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "PREVENTA_CREDITO"; + }} +; +RDebugUtils.currentLine=4980744; + //BA.debugLineNum = 4980744;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); +RDebugUtils.currentLine=4980745; + //BA.debugLineNum = 4980745;BA.debugLine="End Sub"; +return ""; +} +public String _b_ventaabordo_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b_ventaabordo_click", false)) + {return ((String) Debug.delegate(ba, "b_ventaabordo_click", null));} +RDebugUtils.currentLine=8257536; + //BA.debugLineNum = 8257536;BA.debugLine="Private Sub b_ventaabordo_Click"; +RDebugUtils.currentLine=8257538; + //BA.debugLineNum = 8257538;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select * Fro"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select * From CAT_GUNAPROD2 where cat_gp_tipo <> ? ",new String[]{"PROMOS"}))); +RDebugUtils.currentLine=8257539; + //BA.debugLineNum = 8257539;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=8257543; + //BA.debugLineNum = 8257543;BA.debugLine="B4XPages.MainPage.tipo_venta = \"VENTA\""; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "VENTA"; +RDebugUtils.currentLine=8257578; + //BA.debugLineNum = 8257578;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); + }else +{RDebugUtils.currentLine=8257581; + //BA.debugLineNum = 8257581;BA.debugLine="Else If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=8257583; + //BA.debugLineNum = 8257583;BA.debugLine="MsgboxAsync(\"No puedes hacer venta porque no tie"; +__c.MsgboxAsync(BA.ObjectToCharSequence("No puedes hacer venta porque no tienes inventario abordo"),BA.ObjectToCharSequence("Atención"),ba); + }} +; +RDebugUtils.currentLine=8257587; + //BA.debugLineNum = 8257587;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(SHARK2.keymon.com.mx.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));} +String _cabonos = ""; +String _factura = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cor_al = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _geo = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _credi2 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _credi3 = null; +String _total = ""; +int _i = 0; +RDebugUtils.currentLine=4718592; + //BA.debugLineNum = 4718592;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=4718594; + //BA.debugLineNum = 4718594;BA.debugLine="Guardar.Enabled = True"; +__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=4718595; + //BA.debugLineNum = 4718595;BA.debugLine="gest.Enabled = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=4718596; + //BA.debugLineNum = 4718596;BA.debugLine="b_cxc.Enabled = True"; +__ref._b_cxc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=4718597; + //BA.debugLineNum = 4718597;BA.debugLine="Tar.Enabled = True"; +__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=4718598; + //BA.debugLineNum = 4718598;BA.debugLine="Tels.Enabled = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=4718599; + //BA.debugLineNum = 4718599;BA.debugLine="b_ventaabordo.Enabled = True"; +__ref._b_ventaabordo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=4718601; + //BA.debugLineNum = 4718601;BA.debugLine="HIST.Enabled = True"; +__ref._hist /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=4718602; + //BA.debugLineNum = 4718602;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_starter._dbreqserver /*String*/ ); +RDebugUtils.currentLine=4718603; + //BA.debugLineNum = 4718603;BA.debugLine="LA_GPS.TextColor = Colors.Red"; +__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red); +RDebugUtils.currentLine=4718604; + //BA.debugLineNum = 4718604;BA.debugLine="LA_GPS.Text = \"SIN UBICACION GPS\""; +__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("SIN UBICACION GPS")); +RDebugUtils.currentLine=4718605; + //BA.debugLineNum = 4718605;BA.debugLine="cercavalor = 0"; +__ref._cercavalor /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=4718606; + //BA.debugLineNum = 4718606;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { +RDebugUtils.currentLine=4718607; + //BA.debugLineNum = 4718607;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); +RDebugUtils.currentLine=4718608; + //BA.debugLineNum = 4718608;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); + }; +RDebugUtils.currentLine=4718611; + //BA.debugLineNum = 4718611;BA.debugLine="cb_factura.Checked = False"; +__ref._cb_factura /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=4718612; + //BA.debugLineNum = 4718612;BA.debugLine="p_abono.Visible = False"; +__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4718613; + //BA.debugLineNum = 4718613;BA.debugLine="Subs.centraPanel(p_abono, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_abono /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=4718614; + //BA.debugLineNum = 4718614;BA.debugLine="Subs.centraPanel(p_atiende, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=4718615; + //BA.debugLineNum = 4718615;BA.debugLine="Subs.centraPanel(p_giro, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_giro /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=4718616; + //BA.debugLineNum = 4718616;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=4718617; + //BA.debugLineNum = 4718617;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(__ref._ruta /*String*/ ,"kmt.db",__c.True); +RDebugUtils.currentLine=4718618; + //BA.debugLineNum = 4718618;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, CAT_CL_GIRO from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa) UNION ALL select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, CAT_CL_GIRO from kmt_info2 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=4718619; + //BA.debugLineNum = 4718619;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"Select SUM(PE"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select SUM(PE_COSTO_TOT) As TOTAL_CLIE, SUM(PE_CANT) As CANT_CLIE, PC_FACTURA FROM PEDIDO_CLIENTE INNER JOIN PEDIDO ON PEDIDO_CLIENTE.PC_CLIENTE = PEDIDO.PE_CLIENTE WHERE (PE_CLIENTE IN (Select cuenta from cuentaa))"))); +RDebugUtils.currentLine=4718620; + //BA.debugLineNum = 4718620;BA.debugLine="b = B4XPages.MainPage.skmt.ExecQuery(\"select COUN"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=4718621; + //BA.debugLineNum = 4718621;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4718622; + //BA.debugLineNum = 4718622;BA.debugLine="Dim cabonos As String = b.GetString(\"CLIENTE\")"; +_cabonos = __ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTE"); +RDebugUtils.currentLine=4718623; + //BA.debugLineNum = 4718623;BA.debugLine="If cabonos = 0 Then"; +if ((_cabonos).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=4718624; + //BA.debugLineNum = 4718624;BA.debugLine="b_cxc.Visible = False"; +__ref._b_cxc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=4718626; + //BA.debugLineNum = 4718626;BA.debugLine="b_cxc.Visible = True"; +__ref._b_cxc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=4718629; + //BA.debugLineNum = 4718629;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4718630; + //BA.debugLineNum = 4718630;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=4718631; + //BA.debugLineNum = 4718631;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4718632; + //BA.debugLineNum = 4718632;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=4718633; + //BA.debugLineNum = 4718633;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=4718634; + //BA.debugLineNum = 4718634;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \""; +__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")+" "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT"))); +RDebugUtils.currentLine=4718635; + //BA.debugLineNum = 4718635;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=4718636; + //BA.debugLineNum = 4718636;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=4718637; + //BA.debugLineNum = 4718637;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=4718638; + //BA.debugLineNum = 4718638;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=4718639; + //BA.debugLineNum = 4718639;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1"))); +RDebugUtils.currentLine=4718640; + //BA.debugLineNum = 4718640;BA.debugLine="l_giro.Text = c.GetString(\"CAT_CL_GIRO\")"; +__ref._l_giro /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_GIRO"))); +RDebugUtils.currentLine=4718641; + //BA.debugLineNum = 4718641;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=4718642; + //BA.debugLineNum = 4718642;BA.debugLine="TELEFONO = c.GetString(\"CAT_CL_TELEFONO\")"; +__ref._telefono /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_TELEFONO"); +RDebugUtils.currentLine=4718643; + //BA.debugLineNum = 4718643;BA.debugLine="l_total.Text = s.GetString(\"TOTAL_CLIE\")"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"))); +RDebugUtils.currentLine=4718644; + //BA.debugLineNum = 4718644;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; +__ref._total_cliente /*String*/ = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"); +RDebugUtils.currentLine=4718645; + //BA.debugLineNum = 4718645;BA.debugLine="Private factura As String = 0"; +_factura = BA.NumberToString(0); +RDebugUtils.currentLine=4718646; + //BA.debugLineNum = 4718646;BA.debugLine="If s.GetString(\"PC_FACTURA\") <> Null And IsNumbe"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FACTURA")!= null && __c.IsNumber(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FACTURA"))) { +_factura = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FACTURA");}; +RDebugUtils.currentLine=4718647; + //BA.debugLineNum = 4718647;BA.debugLine="If factura = \"1\" Then cb_factura.Checked = True"; +if ((_factura).equals("1")) { +__ref._cb_factura /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .setChecked(__c.True);}; +RDebugUtils.currentLine=4718648; + //BA.debugLineNum = 4718648;BA.debugLine="m_lat = \"0\""; +__ref._m_lat /*String*/ = "0"; +RDebugUtils.currentLine=4718649; + //BA.debugLineNum = 4718649;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat =c"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT")).equals("") == false) { +__ref._m_lat /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LAT");}; +RDebugUtils.currentLine=4718650; + //BA.debugLineNum = 4718650;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\""; +if (__ref._m_lat /*String*/ .length()<5) { +__ref._m_lat /*String*/ = "0";}; +RDebugUtils.currentLine=4718651; + //BA.debugLineNum = 4718651;BA.debugLine="m_lon = \"0\""; +__ref._m_lon /*String*/ = "0"; +RDebugUtils.currentLine=4718652; + //BA.debugLineNum = 4718652;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon ="; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG")).equals("") == false) { +__ref._m_lon /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_LONG");}; +RDebugUtils.currentLine=4718653; + //BA.debugLineNum = 4718653;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\""; +if (__ref._m_lon /*String*/ .length()<5) { +__ref._m_lon /*String*/ = "0";}; +RDebugUtils.currentLine=4718654; + //BA.debugLineNum = 4718654;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")"; +__ref._la_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=4718656; + //BA.debugLineNum = 4718656;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\""; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NUM_SERIEFISICO")).equals("0")) { +RDebugUtils.currentLine=4718657; + //BA.debugLineNum = 4718657;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\""; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("SIN CODIGO")); +RDebugUtils.currentLine=4718658; + //BA.debugLineNum = 4718658;BA.debugLine="L_QR.TextColor = Colors.Red"; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red); +RDebugUtils.currentLine=4718660; + //BA.debugLineNum = 4718660;BA.debugLine="gest.VISIBLE = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4718661; + //BA.debugLineNum = 4718661;BA.debugLine="BT_QR.Visible = True"; +__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=4718663; + //BA.debugLineNum = 4718663;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISICO"; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NUM_SERIEFISICO"))); +RDebugUtils.currentLine=4718664; + //BA.debugLineNum = 4718664;BA.debugLine="L_QR.TextColor = Colors.Blue"; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=4718665; + //BA.debugLineNum = 4718665;BA.debugLine="BT_QR.Visible = False"; +__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }; + }; +RDebugUtils.currentLine=4718669; + //BA.debugLineNum = 4718669;BA.debugLine="Dim cor_al As Cursor = Starter.skmt.ExecQuery(\"SE"; +_cor_al = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cor_al = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT LAT, LONG FROM COORDS_ALMACEN"))); +RDebugUtils.currentLine=4718670; + //BA.debugLineNum = 4718670;BA.debugLine="If cor_al.RowCount > 0 Then"; +if (_cor_al.getRowCount()>0) { +RDebugUtils.currentLine=4718671; + //BA.debugLineNum = 4718671;BA.debugLine="cor_al.Position = 0"; +_cor_al.setPosition((int) (0)); +RDebugUtils.currentLine=4718672; + //BA.debugLineNum = 4718672;BA.debugLine="m_lat_al = cor_al.GetString(\"LAT\")"; +__ref._m_lat_al /*String*/ = _cor_al.GetString("LAT"); +RDebugUtils.currentLine=4718673; + //BA.debugLineNum = 4718673;BA.debugLine="m_lon_al = cor_al.GetString(\"LONG\")"; +__ref._m_lon_al /*String*/ = _cor_al.GetString("LONG"); + }; +RDebugUtils.currentLine=4718676; + //BA.debugLineNum = 4718676;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4718677; + //BA.debugLineNum = 4718677;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4718678; + //BA.debugLineNum = 4718678;BA.debugLine="S2=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) AS CUANTOS from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=4718679; + //BA.debugLineNum = 4718679;BA.debugLine="S2.Position =0"; +__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4718680; + //BA.debugLineNum = 4718680;BA.debugLine="CUANTOS = S2.GetString(\"CUANTOS\")"; +__ref._cuantos /*String*/ = __ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=4718681; + //BA.debugLineNum = 4718681;BA.debugLine="S2.Close"; +__ref._s2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4718682; + //BA.debugLineNum = 4718682;BA.debugLine="If CUANTOS > 0 Then"; +if ((double)(Double.parseDouble(__ref._cuantos /*String*/ ))>0) { +RDebugUtils.currentLine=4718683; + //BA.debugLineNum = 4718683;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(HVD_COSTO_TOT) AS TOTAL from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=4718684; + //BA.debugLineNum = 4718684;BA.debugLine="c2.Position =0"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4718685; + //BA.debugLineNum = 4718685;BA.debugLine="MONTO_COMPRA = c2.GetString(\"TOTAL\")"; +__ref._monto_compra /*String*/ = __ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL"); +RDebugUtils.currentLine=4718686; + //BA.debugLineNum = 4718686;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { +RDebugUtils.currentLine=4718688; + //BA.debugLineNum = 4718688;BA.debugLine="MONTO_COMPRA = \"0\""; +__ref._monto_compra /*String*/ = "0"; + }; +RDebugUtils.currentLine=4718691; + //BA.debugLineNum = 4718691;BA.debugLine="la_saldotot.Text = MONTO_COMPRA"; +__ref._la_saldotot /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._monto_compra /*String*/ )); +RDebugUtils.currentLine=4718692; + //BA.debugLineNum = 4718692;BA.debugLine="If MONTO_COMPRA <> \"0\" Then"; +if ((__ref._monto_compra /*String*/ ).equals("0") == false) { +RDebugUtils.currentLine=4718693; + //BA.debugLineNum = 4718693;BA.debugLine="META2 = 300 - MONTO_COMPRA"; +__ref._meta2 /*String*/ = BA.NumberToString(300-(double)(Double.parseDouble(__ref._monto_compra /*String*/ ))); + }else { +RDebugUtils.currentLine=4718695; + //BA.debugLineNum = 4718695;BA.debugLine="META2 = 300"; +__ref._meta2 /*String*/ = BA.NumberToString(300); + }; +RDebugUtils.currentLine=4718697; + //BA.debugLineNum = 4718697;BA.debugLine="If META2 < 1 Then"; +if ((double)(Double.parseDouble(__ref._meta2 /*String*/ ))<1) { +RDebugUtils.currentLine=4718698; + //BA.debugLineNum = 4718698;BA.debugLine="META2 = \"CUBIERTO\""; +__ref._meta2 /*String*/ = "CUBIERTO"; + }; +RDebugUtils.currentLine=4718700; + //BA.debugLineNum = 4718700;BA.debugLine="la_saldooper.Text = META2"; +__ref._la_saldooper /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._meta2 /*String*/ )); +RDebugUtils.currentLine=4718701; + //BA.debugLineNum = 4718701;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=4718702; + //BA.debugLineNum = 4718702;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=4718703; + //BA.debugLineNum = 4718703;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4718704; + //BA.debugLineNum = 4718704;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); + }; +RDebugUtils.currentLine=4718706; + //BA.debugLineNum = 4718706;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4718708; + //BA.debugLineNum = 4718708;BA.debugLine="Dim geo As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +_geo = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_geo = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ACTIVA FROM GEOCERCA"))); +RDebugUtils.currentLine=4718709; + //BA.debugLineNum = 4718709;BA.debugLine="If geo.RowCount > 0 Then"; +if (_geo.getRowCount()>0) { +RDebugUtils.currentLine=4718710; + //BA.debugLineNum = 4718710;BA.debugLine="geo.Position = 0"; +_geo.setPosition((int) (0)); +RDebugUtils.currentLine=4718711; + //BA.debugLineNum = 4718711;BA.debugLine="If geo.GetInt(\"ACTIVA\") = 0 Then"; +if (_geo.GetInt("ACTIVA")==0) { +RDebugUtils.currentLine=4718712; + //BA.debugLineNum = 4718712;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4718714; + //BA.debugLineNum = 4718714;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }else +{RDebugUtils.currentLine=4718715; + //BA.debugLineNum = 4718715;BA.debugLine="Else If geo.GetInt(\"ACTIVA\") = 1 Then"; +if (_geo.GetInt("ACTIVA")==1) { +RDebugUtils.currentLine=4718716; + //BA.debugLineNum = 4718716;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4718717; + //BA.debugLineNum = 4718717;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; + }; +RDebugUtils.currentLine=4718727; + //BA.debugLineNum = 4718727;BA.debugLine="If ALMACEN = \"4\" Then"; +if ((__ref._almacen /*String*/ ).equals("4")) { +RDebugUtils.currentLine=4718729; + //BA.debugLineNum = 4718729;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{"KNORR RINDE MAS 70 GR"}))); +RDebugUtils.currentLine=4718730; + //BA.debugLineNum = 4718730;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4718731; + //BA.debugLineNum = 4718731;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +if ((__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=4718732; + //BA.debugLineNum = 4718732;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?",new String[]{"KNORR RINDE MAS 70 GR"}))); +RDebugUtils.currentLine=4718733; + //BA.debugLineNum = 4718733;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4718739; + //BA.debugLineNum = 4718739;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { + }; +RDebugUtils.currentLine=4718743; + //BA.debugLineNum = 4718743;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { + }; +RDebugUtils.currentLine=4718747; + //BA.debugLineNum = 4718747;BA.debugLine="If ALMACEN = \"16\" Or ALMACEN = \"13\" Then"; +if ((__ref._almacen /*String*/ ).equals("16") || (__ref._almacen /*String*/ ).equals("13")) { +RDebugUtils.currentLine=4718748; + //BA.debugLineNum = 4718748;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4718750; + //BA.debugLineNum = 4718750;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=4718752; + //BA.debugLineNum = 4718752;BA.debugLine="CallSubDelayed(Tracker, \"Track\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"Track"); +RDebugUtils.currentLine=4718753; + //BA.debugLineNum = 4718753;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLPSmall"); +RDebugUtils.currentLine=4718754; + //BA.debugLineNum = 4718754;BA.debugLine="If Tracker.FLP.IsInitialized And Tracker.FLP.GetL"; +if (_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized() && _tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { +RDebugUtils.currentLine=4718755; + //BA.debugLineNum = 4718755;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()); +RDebugUtils.currentLine=4718756; + //BA.debugLineNum = 4718756;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()); +RDebugUtils.currentLine=4718758; + //BA.debugLineNum = 4718758;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; +__ref._gps_locationchanged /*String*/ (null,_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation()); + }; +RDebugUtils.currentLine=4718775; + //BA.debugLineNum = 4718775;BA.debugLine="If la_cuenta.Text = \"0\" Or la_cuenta.Text = \"1\" T"; +if ((__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0") || (__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("1")) { +RDebugUtils.currentLine=4718776; + //BA.debugLineNum = 4718776;BA.debugLine="p_cbFactura.Visible = False"; +__ref._p_cbfactura /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4718777; + //BA.debugLineNum = 4718777;BA.debugLine="l_factura.Visible = False"; +__ref._l_factura /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4718778; + //BA.debugLineNum = 4718778;BA.debugLine="b_ventaabordo.Visible = False"; +__ref._b_ventaabordo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4718779; + //BA.debugLineNum = 4718779;BA.debugLine="gest.Visible = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=4718782; + //BA.debugLineNum = 4718782;BA.debugLine="p_cbFactura.Visible = False"; +__ref._p_cbfactura /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4718784; + //BA.debugLineNum = 4718784;BA.debugLine="l_factura.Visible = False"; +__ref._l_factura /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4718785; + //BA.debugLineNum = 4718785;BA.debugLine="b_ventaabordo.Visible = True"; +__ref._b_ventaabordo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=4718790; + //BA.debugLineNum = 4718790;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"MACIMP"}))); +RDebugUtils.currentLine=4718791; + //BA.debugLineNum = 4718791;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=4718792; + //BA.debugLineNum = 4718792;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4718793; + //BA.debugLineNum = 4718793;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=4718795; + //BA.debugLineNum = 4718795;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; +if ((_starter._mac_impresora /*String*/ ).equals("")) { +_starter._mac_impresora /*String*/ = "0";}; +RDebugUtils.currentLine=4718797; + //BA.debugLineNum = 4718797;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._initialize /*String*/ (null,ba,this,"Printer1"); +RDebugUtils.currentLine=4718799; + //BA.debugLineNum = 4718799;BA.debugLine="If Printer1.IsConnected = False Then"; +if (__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._isconnected /*boolean*/ (null)==__c.False) { + }else { +RDebugUtils.currentLine=4718803; + //BA.debugLineNum = 4718803;BA.debugLine="Printer1.DisConnect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._disconnect /*String*/ (null); +RDebugUtils.currentLine=4718804; + //BA.debugLineNum = 4718804;BA.debugLine="Printer1.Connect"; +__ref._printer1 /*SHARK2.keymon.com.mx.escposprinter*/ ._connect /*boolean*/ (null); +RDebugUtils.currentLine=4718805; + //BA.debugLineNum = 4718805;BA.debugLine="Log(\"2\")"; +__c.LogImpl("54718805","2",0); + }; +RDebugUtils.currentLine=4718808; + //BA.debugLineNum = 4718808;BA.debugLine="pre_act = Subs.traeTotalClientepreventaparacredit"; +__ref._pre_act /*float*/ = (float) (_subs._traetotalclientepreventaparacredito /*double*/ (ba)); +RDebugUtils.currentLine=4718812; + //BA.debugLineNum = 4718812;BA.debugLine="Private credi2 As Cursor = B4XPages.MainPage.skmt"; +_credi2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_credi2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_CODIGO, Ifnull(SALDO_PENDIENTE,0) As SALDO_PENDIENTE, Ifnull(CAT_CL_LIMITECREDITO,0) As CAT_CL_LIMITECREDITO FROM KMT_INFO LEFT JOIN ABONOSP ON CAT_CL_CODIGO = CLIENTE WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_BCREDITO, CAT_CL_CODIGO, Ifnull(SALDO_PENDIENTE,0) As SALDO_PENDIENTE, Ifnull(CAT_CL_LIMITECREDITO,0) As CAT_CL_LIMITECREDITO FROM KMT_INFO2 LEFT JOIN ABONOSP ON CAT_CL_CODIGO = CLIENTE WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=4718813; + //BA.debugLineNum = 4718813;BA.debugLine="Log(credi2.RowCount)"; +__c.LogImpl("54718813",BA.NumberToString(_credi2.getRowCount()),0); +RDebugUtils.currentLine=4718814; + //BA.debugLineNum = 4718814;BA.debugLine="If credi2.RowCount > 0 Then"; +if (_credi2.getRowCount()>0) { +RDebugUtils.currentLine=4718815; + //BA.debugLineNum = 4718815;BA.debugLine="credi2.Position = 0"; +_credi2.setPosition((int) (0)); +RDebugUtils.currentLine=4718816; + //BA.debugLineNum = 4718816;BA.debugLine="credito_diponible = credi2.GetString (\"CAT_CL_LI"; +__ref._credito_diponible /*String*/ = _credi2.GetString("CAT_CL_LIMITECREDITO"); +RDebugUtils.currentLine=4718817; + //BA.debugLineNum = 4718817;BA.debugLine="Log(credi2.GetString (\"CAT_CL_BCREDITO\"))"; +__c.LogImpl("54718817",_credi2.GetString("CAT_CL_BCREDITO"),0); +RDebugUtils.currentLine=4718818; + //BA.debugLineNum = 4718818;BA.debugLine="If credi2.GetString (\"CAT_CL_BCREDITO\") = \"1\" Th"; +if ((_credi2.GetString("CAT_CL_BCREDITO")).equals("1")) { +RDebugUtils.currentLine=4718819; + //BA.debugLineNum = 4718819;BA.debugLine="Log(credi2.GetString(\"SALDO_PENDIENTE\"))"; +__c.LogImpl("54718819",_credi2.GetString("SALDO_PENDIENTE"),0); +RDebugUtils.currentLine=4718820; + //BA.debugLineNum = 4718820;BA.debugLine="If credi2.GetString(\"SALDO_PENDIENTE\") > 0 Then"; +if ((double)(Double.parseDouble(_credi2.GetString("SALDO_PENDIENTE")))>0) { +RDebugUtils.currentLine=4718822; + //BA.debugLineNum = 4718822;BA.debugLine="Private credi3 As Cursor = B4XPages.MainPage.s"; +_credi3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_credi3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO2 INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=4718823; + //BA.debugLineNum = 4718823;BA.debugLine="If credi3.RowCount > 0 Then"; +if (_credi3.getRowCount()>0) { +RDebugUtils.currentLine=4718824; + //BA.debugLineNum = 4718824;BA.debugLine="credi3.Position = 0"; +_credi3.setPosition((int) (0)); +RDebugUtils.currentLine=4718825; + //BA.debugLineNum = 4718825;BA.debugLine="Dim total As String = 0"; +_total = BA.NumberToString(0); +RDebugUtils.currentLine=4718826; + //BA.debugLineNum = 4718826;BA.debugLine="For i = 0 To credi2.RowCount - 1"; +{ +final int step177 = 1; +final int limit177 = (int) (_credi2.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit177 ;_i = _i + step177 ) { +RDebugUtils.currentLine=4718827; + //BA.debugLineNum = 4718827;BA.debugLine="credi2.Position = i"; +_credi2.setPosition(_i); +RDebugUtils.currentLine=4718828; + //BA.debugLineNum = 4718828;BA.debugLine="Log(credi2.GetString(\"SALDO_PENDIENTE\"))"; +__c.LogImpl("54718828",_credi2.GetString("SALDO_PENDIENTE"),0); +RDebugUtils.currentLine=4718829; + //BA.debugLineNum = 4718829;BA.debugLine="total = total + credi2.GetString(\"SALDO_PEND"; +_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_credi2.GetString("SALDO_PENDIENTE")))); +RDebugUtils.currentLine=4718830; + //BA.debugLineNum = 4718830;BA.debugLine="Log(total)"; +__c.LogImpl("54718830",_total,0); + } +}; +RDebugUtils.currentLine=4718832; + //BA.debugLineNum = 4718832;BA.debugLine="If NumberFormat2(total,1,2,2,False) <> Number"; +if ((__c.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),__c.False)).equals(__c.NumberFormat2((double)(Double.parseDouble(_credi3.GetString("a_abono"))),(int) (1),(int) (2),(int) (2),__c.False)) == false) { +RDebugUtils.currentLine=4718833; + //BA.debugLineNum = 4718833;BA.debugLine="MsgboxAsync(\"La venta sera en efectivo porqu"; +__c.MsgboxAsync(BA.ObjectToCharSequence("La venta sera en efectivo porque el pago del pagare es menor al total de la deuda."),BA.ObjectToCharSequence("Atención"),ba); +RDebugUtils.currentLine=4718834; + //BA.debugLineNum = 4718834;BA.debugLine="b_venta_credito.Visible = False"; +__ref._b_venta_credito /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }else +{RDebugUtils.currentLine=4718835; + //BA.debugLineNum = 4718835;BA.debugLine="Else If credi2.GetString (\"SALDO_PENDIENTE\")"; +if ((_credi2.GetString("SALDO_PENDIENTE")).equals(_credi3.GetString("a_abono"))) { +RDebugUtils.currentLine=4718836; + //BA.debugLineNum = 4718836;BA.debugLine="Log(\"AQUI ESTOY SI VISIBLE BOTON\")"; +__c.LogImpl("54718836","AQUI ESTOY SI VISIBLE BOTON",0); +RDebugUtils.currentLine=4718837; + //BA.debugLineNum = 4718837;BA.debugLine="b_venta_credito.Visible = False ''' AQUI ACT"; +__ref._b_venta_credito /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; + }else { +RDebugUtils.currentLine=4718840; + //BA.debugLineNum = 4718840;BA.debugLine="MsgboxAsync(\"La venta sera en efectivo por qu"; +__c.MsgboxAsync(BA.ObjectToCharSequence("La venta sera en efectivo por que hay un pagare pendiente de pago"),BA.ObjectToCharSequence("Atención"),ba); +RDebugUtils.currentLine=4718841; + //BA.debugLineNum = 4718841;BA.debugLine="b_venta_credito.Visible = False"; +__ref._b_venta_credito /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=4718843; + //BA.debugLineNum = 4718843;BA.debugLine="credi3.Close"; +_credi3.Close(); + }else +{RDebugUtils.currentLine=4718844; + //BA.debugLineNum = 4718844;BA.debugLine="Else If credi2.GetString(\"SALDO_PENDIENTE\") = 0"; +if ((_credi2.GetString("SALDO_PENDIENTE")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=4718845; + //BA.debugLineNum = 4718845;BA.debugLine="b_venta_credito.Visible = False '' AQUI ACTIV"; +__ref._b_venta_credito /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }} +; + }else { +RDebugUtils.currentLine=4718849; + //BA.debugLineNum = 4718849;BA.debugLine="Log(1)"; +__c.LogImpl("54718849",BA.NumberToString(1),0); +RDebugUtils.currentLine=4718850; + //BA.debugLineNum = 4718850;BA.debugLine="b_venta_credito.Visible = False"; +__ref._b_venta_credito /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4718851; + //BA.debugLineNum = 4718851;BA.debugLine="If credi2.GetString(\"SALDO_PENDIENTE\") > 0 Then"; +if ((double)(Double.parseDouble(_credi2.GetString("SALDO_PENDIENTE")))>0) { +RDebugUtils.currentLine=4718852; + //BA.debugLineNum = 4718852;BA.debugLine="Private credi3 As Cursor = B4XPages.MainPage.s"; +_credi3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_credi3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO2 INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=4718853; + //BA.debugLineNum = 4718853;BA.debugLine="If credi3.RowCount > 0 Then"; +if (_credi3.getRowCount()>0) { +RDebugUtils.currentLine=4718854; + //BA.debugLineNum = 4718854;BA.debugLine="credi3.Position = 0"; +_credi3.setPosition((int) (0)); +RDebugUtils.currentLine=4718856; + //BA.debugLineNum = 4718856;BA.debugLine="Dim total As String = 0"; +_total = BA.NumberToString(0); +RDebugUtils.currentLine=4718857; + //BA.debugLineNum = 4718857;BA.debugLine="For i = 0 To credi2.RowCount - 1"; +{ +final int step206 = 1; +final int limit206 = (int) (_credi2.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit206 ;_i = _i + step206 ) { +RDebugUtils.currentLine=4718858; + //BA.debugLineNum = 4718858;BA.debugLine="credi2.Position = i"; +_credi2.setPosition(_i); +RDebugUtils.currentLine=4718859; + //BA.debugLineNum = 4718859;BA.debugLine="Log(credi2.GetString(\"SALDO_PENDIENTE\"))"; +__c.LogImpl("54718859",_credi2.GetString("SALDO_PENDIENTE"),0); +RDebugUtils.currentLine=4718860; + //BA.debugLineNum = 4718860;BA.debugLine="total = total + credi2.GetString(\"SALDO_PEND"; +_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_credi2.GetString("SALDO_PENDIENTE")))); +RDebugUtils.currentLine=4718861; + //BA.debugLineNum = 4718861;BA.debugLine="Log(total)"; +__c.LogImpl("54718861",_total,0); + } +}; +RDebugUtils.currentLine=4718863; + //BA.debugLineNum = 4718863;BA.debugLine="If NumberFormat2(total,1,2,2,False) <> Number"; +if ((__c.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),__c.False)).equals(__c.NumberFormat2((double)(Double.parseDouble(_credi3.GetString("a_abono"))),(int) (1),(int) (2),(int) (2),__c.False)) == false) { +RDebugUtils.currentLine=4718864; + //BA.debugLineNum = 4718864;BA.debugLine="MsgboxAsync(\"La venta sera en efectivo porqu"; +__c.MsgboxAsync(BA.ObjectToCharSequence("La venta sera en efectivo porque el pago del pagare es menor al total de la deuda."),BA.ObjectToCharSequence("Atención"),ba); + }else +{RDebugUtils.currentLine=4718865; + //BA.debugLineNum = 4718865;BA.debugLine="Else If credi2.GetString (\"SALDO_PENDIENTE\")"; +if ((_credi2.GetString("SALDO_PENDIENTE")).equals(_credi3.GetString("a_abono"))) { + }} +; + }else { +RDebugUtils.currentLine=4718868; + //BA.debugLineNum = 4718868;BA.debugLine="MsgboxAsync(\"La venta sera en efectivo por qu"; +__c.MsgboxAsync(BA.ObjectToCharSequence("La venta sera en efectivo por que hay un pagare pendiente de pago"),BA.ObjectToCharSequence("Atención"),ba); + }; +RDebugUtils.currentLine=4718870; + //BA.debugLineNum = 4718870;BA.debugLine="credi3.Close"; +_credi3.Close(); + }else +{RDebugUtils.currentLine=4718871; + //BA.debugLineNum = 4718871;BA.debugLine="Else If credi2.GetString(\"SALDO_PENDIENTE\") = 0"; +if ((_credi2.GetString("SALDO_PENDIENTE")).equals(BA.NumberToString(0))) { + }} +; + }; + }; +RDebugUtils.currentLine=4718876; + //BA.debugLineNum = 4718876;BA.debugLine="credi2.Close"; +_credi2.Close(); +RDebugUtils.currentLine=4718877; + //BA.debugLineNum = 4718877;BA.debugLine="If la_cuenta.Text = \"0\" Then"; +if ((__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=4718878; + //BA.debugLineNum = 4718878;BA.debugLine="gest.Text = \"Abordo\""; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("Abordo")); +RDebugUtils.currentLine=4718879; + //BA.debugLineNum = 4718879;BA.debugLine="B4XPages.MainPage.recarga = \"0\""; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ = "0"; + }else +{RDebugUtils.currentLine=4718880; + //BA.debugLineNum = 4718880;BA.debugLine="Else If la_cuenta.Text = \"1\" Then"; +if ((__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("1")) { +RDebugUtils.currentLine=4718881; + //BA.debugLineNum = 4718881;BA.debugLine="gest.Text = \"Recarga\""; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("Recarga")); +RDebugUtils.currentLine=4718882; + //BA.debugLineNum = 4718882;BA.debugLine="B4XPages.MainPage.recarga = \"1\""; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ = "1"; + }else { +RDebugUtils.currentLine=4718885; + //BA.debugLineNum = 4718885;BA.debugLine="gest.Text = \"Preventa\""; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("Preventa")); +RDebugUtils.currentLine=4718886; + //BA.debugLineNum = 4718886;BA.debugLine="B4XPages.MainPage.recarga = \"0\""; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ = "0"; + }} +; +RDebugUtils.currentLine=4718888; + //BA.debugLineNum = 4718888;BA.debugLine="LogColor(B4XPages.MainPage.recarga,Colors.Blue)"; +__c.LogImpl("54718888",_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ,__c.Colors.Blue); +RDebugUtils.currentLine=4718892; + //BA.debugLineNum = 4718892;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(SHARK2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +anywheresoftware.b4a.gps.LocationWrapper _l1 = null; +anywheresoftware.b4a.gps.LocationWrapper _l2 = null; +anywheresoftware.b4a.gps.LocationWrapper _l3 = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _geo = null; +RDebugUtils.currentLine=4784128; + //BA.debugLineNum = 4784128;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=4784130; + //BA.debugLineNum = 4784130;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; +if (_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized() && _tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()!=0) { +RDebugUtils.currentLine=4784131; + //BA.debugLineNum = 4784131;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()); +RDebugUtils.currentLine=4784132; + //BA.debugLineNum = 4784132;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()); + }; +RDebugUtils.currentLine=4784136; + //BA.debugLineNum = 4784136;BA.debugLine="Dim l1, l2,l3 As Location"; +_l1 = new anywheresoftware.b4a.gps.LocationWrapper(); +_l2 = new anywheresoftware.b4a.gps.LocationWrapper(); +_l3 = new anywheresoftware.b4a.gps.LocationWrapper(); +RDebugUtils.currentLine=4784137; + //BA.debugLineNum = 4784137;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPage"; +_l1.Initialize2(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ); +RDebugUtils.currentLine=4784139; + //BA.debugLineNum = 4784139;BA.debugLine="l2.Initialize2(m_lat, m_lon)"; +_l2.Initialize2(__ref._m_lat /*String*/ ,__ref._m_lon /*String*/ ); +RDebugUtils.currentLine=4784140; + //BA.debugLineNum = 4784140;BA.debugLine="l3.Initialize2(m_lat_al,m_lon_al)"; +_l3.Initialize2(__ref._m_lat_al /*String*/ ,__ref._m_lon_al /*String*/ ); +RDebugUtils.currentLine=4784141; + //BA.debugLineNum = 4784141;BA.debugLine="BT_QR.Enabled = True"; +__ref._bt_qr /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=4784142; + //BA.debugLineNum = 4784142;BA.debugLine="LA_GPS.TextColor = Colors.Blue"; +__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=4784143; + //BA.debugLineNum = 4784143;BA.debugLine="LA_GPS.Text = \"CON UBICACION GPS\""; +__ref._la_gps /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CON UBICACION GPS")); +RDebugUtils.currentLine=4784146; + //BA.debugLineNum = 4784146;BA.debugLine="distance = l1.DistanceTo(l2) 'the result is i"; +__ref._distance /*long*/ = (long) (_l1.DistanceTo((android.location.Location)(_l2.getObject()))); +RDebugUtils.currentLine=4784147; + //BA.debugLineNum = 4784147;BA.debugLine="distance2 = l1.DistanceTo(l3) 'the result is"; +__ref._distance2 /*long*/ = (long) (_l1.DistanceTo((android.location.Location)(_l3.getObject()))); +RDebugUtils.currentLine=4784150; + //BA.debugLineNum = 4784150;BA.debugLine="Dim geo As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +_geo = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_geo = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ACTIVA FROM GEOCERCA"))); +RDebugUtils.currentLine=4784151; + //BA.debugLineNum = 4784151;BA.debugLine="If geo.RowCount > 0 Then"; +if (_geo.getRowCount()>0) { +RDebugUtils.currentLine=4784152; + //BA.debugLineNum = 4784152;BA.debugLine="geo.Position = 0"; +_geo.setPosition((int) (0)); +RDebugUtils.currentLine=4784153; + //BA.debugLineNum = 4784153;BA.debugLine="If geo.GetInt(\"ACTIVA\") = 0 Then"; +if (_geo.GetInt("ACTIVA")==0) { +RDebugUtils.currentLine=4784154; + //BA.debugLineNum = 4784154;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4784156; + //BA.debugLineNum = 4784156;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }else +{RDebugUtils.currentLine=4784157; + //BA.debugLineNum = 4784157;BA.debugLine="Else If geo.GetInt(\"ACTIVA\") = 1 Then"; +if (_geo.GetInt("ACTIVA")==1) { +RDebugUtils.currentLine=4784158; + //BA.debugLineNum = 4784158;BA.debugLine="If distance2 < 100 Then"; +if (__ref._distance2 /*long*/ <100) { +RDebugUtils.currentLine=4784159; + //BA.debugLineNum = 4784159;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=4784160; + //BA.debugLineNum = 4784160;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4784162; + //BA.debugLineNum = 4784162;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=4784164; + //BA.debugLineNum = 4784164;BA.debugLine="If distance < 50 Then"; +if (__ref._distance /*long*/ <50) { +RDebugUtils.currentLine=4784165; + //BA.debugLineNum = 4784165;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=4784166; + //BA.debugLineNum = 4784166;BA.debugLine="Tels.Visible = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=4784168; + //BA.debugLineNum = 4784168;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=4784170; + //BA.debugLineNum = 4784170;BA.debugLine="LA_GEO.TextColor = Colors.Red"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red); +RDebugUtils.currentLine=4784171; + //BA.debugLineNum = 4784171;BA.debugLine="Tels.Visible = False"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=4784172; + //BA.debugLineNum = 4784172;BA.debugLine="gest.Visible = False"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }; + }; + }} +; + }; +RDebugUtils.currentLine=4784178; + //BA.debugLineNum = 4784178;BA.debugLine="LA_GEO.Text= $\"$1.2{distance/1000} kms\"$"; +__ref._la_geo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.2",(Object)(__ref._distance /*long*/ /(double)1000))+" kms"))); +RDebugUtils.currentLine=4784179; + //BA.debugLineNum = 4784179;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); +RDebugUtils.currentLine=4784180; + //BA.debugLineNum = 4784180;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=4784181; + //BA.debugLineNum = 4784181;BA.debugLine="CallSubDelayed(Tracker, \"CreateLocationRequest\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"CreateLocationRequest"); +RDebugUtils.currentLine=4784182; + //BA.debugLineNum = 4784182;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(SHARK2.keymon.com.mx.c_cliente parent,SHARK2.keymon.com.mx.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_cliente __ref; +SHARK2.keymon.com.mx.c_cliente parent; +int _resultado1 = 0; + +@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=5111812; + //BA.debugLineNum = 5111812;BA.debugLine="If Starter.pre_viejo = pre_act Then"; +if (true) break; + +case 1: +//if +this.state = 32; +if (parent._starter._pre_viejo /*float*/ ==__ref._pre_act /*float*/ ) { +this.state = 3; +}else { +this.state = 27; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=5111813; + //BA.debugLineNum = 5111813;BA.debugLine="If (la_cuenta.Text <> \"0\" And la_cuenta.Text <>"; +if (true) break; + +case 4: +//if +this.state = 25; +if (((__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0") == false && (__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("1") == false)) { +this.state = 6; +}else { +this.state = 24; +}if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=5111814; + //BA.debugLineNum = 5111814;BA.debugLine="If banderaimp = 1 Then"; +if (true) break; + +case 7: +//if +this.state = 22; +if (__ref._banderaimp /*int*/ ==1) { +this.state = 9; +}else { +this.state = 11; +}if (true) break; + +case 9: +//C +this.state = 22; + if (true) break; + +case 11: +//C +this.state = 12; +RDebugUtils.currentLine=5111816; + //BA.debugLineNum = 5111816;BA.debugLine="cuest.encuestaIniciada = False"; +__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._encuestainiciada /*boolean*/ = parent.__c.False; +RDebugUtils.currentLine=5111817; + //BA.debugLineNum = 5111817;BA.debugLine="cuest.ocultPanelPregunta"; +__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._ocultpanelpregunta /*String*/ (null); +RDebugUtils.currentLine=5111818; + //BA.debugLineNum = 5111818;BA.debugLine="If IsNumber(l_total.text) And Not(Subs.pedidoG"; +if (true) break; + +case 12: +//if +this.state = 21; +if (parent.__c.IsNumber(__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()) && parent.__c.Not(parent._subs._pedidoguardado /*boolean*/ (ba))) { +this.state = 14; +}if (true) break; + +case 14: +//C +this.state = 15; +RDebugUtils.currentLine=5111819; + //BA.debugLineNum = 5111819;BA.debugLine="LogColor(\"Hay Venta\", Colors.Red)"; +parent.__c.LogImpl("55111819","Hay Venta",parent.__c.Colors.Red); +RDebugUtils.currentLine=5111820; + //BA.debugLineNum = 5111820;BA.debugLine="Private resultado1 As Int = Msgbox2($\"Va sali"; +_resultado1 = parent.__c.Msgbox2(BA.ObjectToCharSequence(("Va salir sin haber guardado la venta, si continua, la venta se BORRARA."+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"¿Esta seguro que desea continuar?")),BA.ObjectToCharSequence("SE VA A BORRAR LA VENTA"),"Borrar Venta","Guardar Venta","",(android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png").getObject()),ba); +RDebugUtils.currentLine=5111821; + //BA.debugLineNum = 5111821;BA.debugLine="If resultado1 = DialogResponse.POSITIVE Then"; +if (true) break; + +case 15: +//if +this.state = 20; +if (_resultado1==parent.__c.DialogResponse.POSITIVE) { +this.state = 17; +}else +{RDebugUtils.currentLine=5111827; + //BA.debugLineNum = 5111827;BA.debugLine="else if resultado1=DialogResponse.CANCEL Then"; +if (_resultado1==parent.__c.DialogResponse.CANCEL) { +this.state = 19; +}} +if (true) break; + +case 17: +//C +this.state = 20; +RDebugUtils.currentLine=5111822; + //BA.debugLineNum = 5111822;BA.debugLine="Log(\"Borrra venta\")"; +parent.__c.LogImpl("55111822","Borrra venta",0); +RDebugUtils.currentLine=5111823; + //BA.debugLineNum = 5111823;BA.debugLine="Subs.borraPedidoClienteActual"; +parent._subs._borrapedidoclienteactual /*String*/ (ba); +RDebugUtils.currentLine=5111824; + //BA.debugLineNum = 5111824;BA.debugLine="ToastMessageShow(\"Venta Borrada\", False)"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Venta Borrada"),parent.__c.False); +RDebugUtils.currentLine=5111826; + //BA.debugLineNum = 5111826;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +parent._b4xpages._showpage /*String*/ (ba,"Principal"); + if (true) break; + +case 19: +//C +this.state = 20; +RDebugUtils.currentLine=5111828; + //BA.debugLineNum = 5111828;BA.debugLine="Log(\"Pedido guardado\")"; +parent.__c.LogImpl("55111828","Pedido guardado",0); +RDebugUtils.currentLine=5111829; + //BA.debugLineNum = 5111829;BA.debugLine="Guardar_Click"; +__ref._guardar_click /*void*/ (null); +RDebugUtils.currentLine=5111830; + //BA.debugLineNum = 5111830;BA.debugLine="ToastMessageShow(\"Venta Guardada\", False)"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Venta Guardada"),parent.__c.False); + if (true) break; + +case 20: +//C +this.state = 21; +; + if (true) break; + +case 21: +//C +this.state = 22; +; +RDebugUtils.currentLine=5111834; + //BA.debugLineNum = 5111834;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +parent._b4xpages._showpage /*String*/ (ba,"Clientes"); + if (true) break; + +case 22: +//C +this.state = 25; +; + if (true) break; + +case 24: +//C +this.state = 25; + if (true) break; + +case 25: +//C +this.state = 32; +; + if (true) break; + +case 27: +//C +this.state = 28; +RDebugUtils.currentLine=5111843; + //BA.debugLineNum = 5111843;BA.debugLine="If B4XPages.MainPage.recarga = \"1\" Then"; +if (true) break; + +case 28: +//if +this.state = 31; +if ((parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ).equals("1")) { +this.state = 30; +}if (true) break; + +case 30: +//C +this.state = 31; +RDebugUtils.currentLine=5111844; + //BA.debugLineNum = 5111844;BA.debugLine="B4XPages.ShowPage(\"login\")"; +parent._b4xpages._showpage /*String*/ (ba,"login"); + if (true) break; + +case 31: +//C +this.state = 32; +; + if (true) break; + +case 32: +//C +this.state = -1; +; +RDebugUtils.currentLine=5111849; + //BA.debugLineNum = 5111849;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=5111850; + //BA.debugLineNum = 5111850;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _guardar_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "guardar_click", false)) + {Debug.delegate(ba, "guardar_click", null); return;} +ResumableSub_Guardar_Click rsub = new ResumableSub_Guardar_Click(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_Guardar_Click extends BA.ResumableSub { +public ResumableSub_Guardar_Click(SHARK2.keymon.com.mx.c_cliente parent,SHARK2.keymon.com.mx.c_cliente __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_cliente __ref; +SHARK2.keymon.com.mx.c_cliente parent; +anywheresoftware.b4a.sql.SQL.CursorWrapper _fg = null; +String _costo = ""; +int _resultado = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cpagares = 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=5308417; + //BA.debugLineNum = 5308417;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"Select COU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select COUNT(Case WHEN PE_FOLIO = 'PREVENTA_CONTADO' THEN 1 END) AS CUANTOS_CONTADO,COUNT(Case WHEN PE_FOLIO = 'PREVENTA_CREDITO' THEN 1 END) AS CUANTOS_CREDITO FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta FROM CUENTAA) And (PE_FOLIO = ? OR PE_FOLIO = ?)",new String[]{"PREVENTA_CONTADO","PREVENTA_CREDITO"}))); +RDebugUtils.currentLine=5308418; + //BA.debugLineNum = 5308418;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5308420; + //BA.debugLineNum = 5308420;BA.debugLine="Log(\"Esto es Contado<<<<<<<<<<<<<: \" & c.GetStri"; +parent.__c.LogImpl("55308420","Esto es Contado<<<<<<<<<<<<<: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_CONTADO"),0); +RDebugUtils.currentLine=5308421; + //BA.debugLineNum = 5308421;BA.debugLine="Log(\"Esto es Credito<<<<<<<<<<<<<: \" & c.GetStri"; +parent.__c.LogImpl("55308421","Esto es Credito<<<<<<<<<<<<<: "+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_CREDITO"),0); +RDebugUtils.currentLine=5308424; + //BA.debugLineNum = 5308424;BA.debugLine="If c.GetString(\"CUANTOS_CREDITO\") = 0 Then"; +if (true) break; + +case 1: +//if +this.state = 22; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_CREDITO")).equals(BA.NumberToString(0))) { +this.state = 3; +}else +{RDebugUtils.currentLine=5308426; + //BA.debugLineNum = 5308426;BA.debugLine="Else If c.GetString(\"CUANTOS_CREDITO\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_CREDITO")))>0) { +this.state = 5; +}} +if (true) break; + +case 3: +//C +this.state = 22; +RDebugUtils.currentLine=5308425; + //BA.debugLineNum = 5308425;BA.debugLine="GuardaVenta"; +__ref._guardaventa /*String*/ (null); + if (true) break; + +case 5: +//C +this.state = 6; +RDebugUtils.currentLine=5308427; + //BA.debugLineNum = 5308427;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"Sele"; +_fg = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_fg = (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_COSTO_TOT),0) AS COSTO, PE_FOLIO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))); +RDebugUtils.currentLine=5308428; + //BA.debugLineNum = 5308428;BA.debugLine="fg.Position = 0"; +_fg.setPosition((int) (0)); +RDebugUtils.currentLine=5308429; + //BA.debugLineNum = 5308429;BA.debugLine="Dim costo As String = fg.GetString(\"COSTO\")"; +_costo = _fg.GetString("COSTO"); +RDebugUtils.currentLine=5308431; + //BA.debugLineNum = 5308431;BA.debugLine="If costo > 0 And costo < 1000 Then"; +if (true) break; + +case 6: +//if +this.state = 21; +if ((double)(Double.parseDouble(_costo))>0 && (double)(Double.parseDouble(_costo))<1000) { +this.state = 8; +}else +{RDebugUtils.currentLine=5308439; + //BA.debugLineNum = 5308439;BA.debugLine="Else If costo >= 1000 Then"; +if ((double)(Double.parseDouble(_costo))>=1000) { +this.state = 14; +}} +if (true) break; + +case 8: +//C +this.state = 9; +RDebugUtils.currentLine=5308432; + //BA.debugLineNum = 5308432;BA.debugLine="Msgbox2Async($\"¿Desea continuar?${CRLF}Si acep"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("¿Desea continuar?"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Si acepta, el pedido a crédito se borrará (mínimo $1,000)."+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"Si cancela, podrá seguir agregando productos.")),BA.ObjectToCharSequence("Venta Minima de Credito"),"Si","","No",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=5308433; + //BA.debugLineNum = 5308433;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "guardar_click"), null); +this.state = 23; +return; +case 23: +//C +this.state = 9; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=5308434; + //BA.debugLineNum = 5308434;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 9: +//if +this.state = 12; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 11; +}if (true) break; + +case 11: +//C +this.state = 12; +RDebugUtils.currentLine=5308435; + //BA.debugLineNum = 5308435;BA.debugLine="Subs.borraPedidoCredito"; +parent._subs._borrapedidocredito /*String*/ (ba); +RDebugUtils.currentLine=5308436; + //BA.debugLineNum = 5308436;BA.debugLine="GuardaVenta"; +__ref._guardaventa /*String*/ (null); + if (true) break; + +case 12: +//C +this.state = 21; +; + if (true) break; + +case 14: +//C +this.state = 15; +RDebugUtils.currentLine=5308440; + //BA.debugLineNum = 5308440;BA.debugLine="Dim cPagares As Cursor = B4XPages.MainPage.skm"; +_cpagares = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cpagares = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) As REGISTRADO FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=5308441; + //BA.debugLineNum = 5308441;BA.debugLine="cPagares.Position = 0"; +_cpagares.setPosition((int) (0)); +RDebugUtils.currentLine=5308442; + //BA.debugLineNum = 5308442;BA.debugLine="If cPagares.GetString(\"REGISTRADO\") = 0 Then"; +if (true) break; + +case 15: +//if +this.state = 20; +if ((_cpagares.GetString("REGISTRADO")).equals(BA.NumberToString(0))) { +this.state = 17; +}else { +this.state = 19; +}if (true) break; + +case 17: +//C +this.state = 20; +RDebugUtils.currentLine=5308443; + //BA.debugLineNum = 5308443;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA, PA_FECHA, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._la_ruta /*String*/ ),(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)(_costo),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=5308444; + //BA.debugLineNum = 5308444;BA.debugLine="Log(\"Aqui inserto: \" & \"Almacen: \" & ALMACEN &"; +parent.__c.LogImpl("55308444","Aqui inserto: "+"Almacen: "+__ref._almacen /*String*/ +"Ruta "+__ref._la_ruta /*String*/ +"Fecha: "+(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )+"Captura: "+(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )+"Monto: "+_costo+"Usuario: "+__ref._usuario /*String*/ +"Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+"<<<<<<<<<<<<<<<<<<<<<",0); +RDebugUtils.currentLine=5308445; + //BA.debugLineNum = 5308445;BA.debugLine="GuardaVenta"; +__ref._guardaventa /*String*/ (null); +RDebugUtils.currentLine=5308446; + //BA.debugLineNum = 5308446;BA.debugLine="p_credito.Visible = False"; +__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); + if (true) break; + +case 19: +//C +this.state = 20; +RDebugUtils.currentLine=5308448; + //BA.debugLineNum = 5308448;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PAGARES set PA_FECHA = ?, PA_CAPTURA = ?, PA_MONTO = ? where PA_CLIENTE In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)(__ref._et_montoacredito /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=5308449; + //BA.debugLineNum = 5308449;BA.debugLine="Log(\"Aqui actualizo: \" & \"Almacen: \" & ALMACEN"; +parent.__c.LogImpl("55308449","Aqui actualizo: "+"Almacen: "+__ref._almacen /*String*/ +"Ruta "+__ref._la_ruta /*String*/ +"Fecha: "+(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )+"Captura: "+(__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )+"Monto: "+_costo+"Usuario: "+__ref._usuario /*String*/ +"Cliente: "+__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+"<<<<<<<<<<<<<<<<<<<<<",0); +RDebugUtils.currentLine=5308450; + //BA.debugLineNum = 5308450;BA.debugLine="GuardaVenta"; +__ref._guardaventa /*String*/ (null); +RDebugUtils.currentLine=5308451; + //BA.debugLineNum = 5308451;BA.debugLine="p_credito.Visible = False"; +__ref._p_credito /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); + if (true) break; + +case 20: +//C +this.state = 21; +; +RDebugUtils.currentLine=5308453; + //BA.debugLineNum = 5308453;BA.debugLine="cPagares.Close"; +_cpagares.Close(); +RDebugUtils.currentLine=5308454; + //BA.debugLineNum = 5308454;BA.debugLine="GuardaVenta"; +__ref._guardaventa /*String*/ (null); + if (true) break; + +case 21: +//C +this.state = 22; +; +RDebugUtils.currentLine=5308456; + //BA.debugLineNum = 5308456;BA.debugLine="fg.Close"; +_fg.Close(); + if (true) break; + +case 22: +//C +this.state = -1; +; +RDebugUtils.currentLine=5308459; + //BA.debugLineNum = 5308459;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=5308548; + //BA.debugLineNum = 5308548;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public void _b4xpage_created(SHARK2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}); return;} +ResumableSub_B4XPage_Created rsub = new ResumableSub_B4XPage_Created(this,__ref,_root1); +rsub.resume(ba, null); +} +public static class ResumableSub_B4XPage_Created extends BA.ResumableSub { +public ResumableSub_B4XPage_Created(SHARK2.keymon.com.mx.c_cliente parent,SHARK2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) { +this.parent = parent; +this.__ref = __ref; +this._root1 = _root1; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_cliente __ref; +SHARK2.keymon.com.mx.c_cliente parent; +anywheresoftware.b4a.objects.B4XViewWrapper _root1; +String _cabonos = ""; +String _permission = ""; +boolean _resultc = false; + +@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=4653057; + //BA.debugLineNum = 4653057;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=4653060; + //BA.debugLineNum = 4653060;BA.debugLine="Root.LoadLayout(\"cliente\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("cliente",ba); +RDebugUtils.currentLine=4653061; + //BA.debugLineNum = 4653061;BA.debugLine="cuest.Initialize(Me, \"cuest\", Root, Starter.skmt)"; +__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._initialize /*Object*/ (null,ba,parent,"cuest",__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ ); +RDebugUtils.currentLine=4653062; + //BA.debugLineNum = 4653062;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = parent.__c.File.getDirInternal(); +RDebugUtils.currentLine=4653063; + //BA.debugLineNum = 4653063;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (true) break; + +case 1: +//if +this.state = 4; +if (parent.__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==parent.__c.False) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=4653064; + //BA.debugLineNum = 4653064;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +parent.__c.File.Copy(parent.__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); + if (true) break; + +case 4: +//C +this.state = 5; +; +RDebugUtils.currentLine=4653066; + //BA.debugLineNum = 4653066;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(__ref._ruta /*String*/ ,"kmt.db",parent.__c.True); +RDebugUtils.currentLine=4653067; + //BA.debugLineNum = 4653067;BA.debugLine="c = skmt.ExecQuery(\"select CAT_CL_CODIGO,CAT_CL_R"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA, CAT_CL_GIRO from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=4653068; + //BA.debugLineNum = 4653068;BA.debugLine="s = skmt.ExecQuery(\"select sum(pe_costo_tot) as T"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .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=4653069; + //BA.debugLineNum = 4653069;BA.debugLine="b = skmt.ExecQuery(\"select COUNT(*) AS CLIENTE FR"; +__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)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=4653070; + //BA.debugLineNum = 4653070;BA.debugLine="b.Position = 0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4653071; + //BA.debugLineNum = 4653071;BA.debugLine="Dim cabonos As String = b.GetString(\"CLIENTE\")"; +_cabonos = __ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTE"); +RDebugUtils.currentLine=4653072; + //BA.debugLineNum = 4653072;BA.debugLine="If cabonos = 0 Then"; +if (true) break; + +case 5: +//if +this.state = 10; +if ((_cabonos).equals(BA.NumberToString(0))) { +this.state = 7; +}else { +this.state = 9; +}if (true) break; + +case 7: +//C +this.state = 10; +RDebugUtils.currentLine=4653073; + //BA.debugLineNum = 4653073;BA.debugLine="b_cxc.Visible = False"; +__ref._b_cxc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); + if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=4653075; + //BA.debugLineNum = 4653075;BA.debugLine="b_cxc.Visible = True"; +__ref._b_cxc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); + if (true) break; + +case 10: +//C +this.state = 11; +; +RDebugUtils.currentLine=4653078; + //BA.debugLineNum = 4653078;BA.debugLine="s.Position=0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4653079; + //BA.debugLineNum = 4653079;BA.debugLine="If c.RowCount>0 Then"; +if (true) break; + +case 11: +//if +this.state = 14; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 13; +}if (true) break; + +case 13: +//C +this.state = 14; +RDebugUtils.currentLine=4653080; + //BA.debugLineNum = 4653080;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=4653081; + //BA.debugLineNum = 4653081;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=4653082; + //BA.debugLineNum = 4653082;BA.debugLine="cuenta = c.GetString(\"CAT_CL_CODIGO\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"); +RDebugUtils.currentLine=4653083; + //BA.debugLineNum = 4653083;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=4653084; + //BA.debugLineNum = 4653084;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c."; +__ref._la_calle /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOEXT"))); +RDebugUtils.currentLine=4653085; + //BA.debugLineNum = 4653085;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=4653086; + //BA.debugLineNum = 4653086;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=4653088; + //BA.debugLineNum = 4653088;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=4653089; + //BA.debugLineNum = 4653089;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=4653090; + //BA.debugLineNum = 4653090;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; +__ref._l_atiende /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_ATIENDE1"))); +RDebugUtils.currentLine=4653091; + //BA.debugLineNum = 4653091;BA.debugLine="l_giro.Text = c.GetString(\"CAT_CL_GIRO\")"; +__ref._l_giro /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_GIRO"))); +RDebugUtils.currentLine=4653092; + //BA.debugLineNum = 4653092;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=4653093; + //BA.debugLineNum = 4653093;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=4653094; + //BA.debugLineNum = 4653094;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=4653095; + //BA.debugLineNum = 4653095;BA.debugLine="l_total.Text = s.GetString(\"TOTAL_CLIE\")"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"))); +RDebugUtils.currentLine=4653096; + //BA.debugLineNum = 4653096;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; +__ref._total_cliente /*String*/ = __ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"); +RDebugUtils.currentLine=4653097; + //BA.debugLineNum = 4653097;BA.debugLine="MONTO_COMPRA = c.GetString(\"CAT_CL_MTOCOMPRA\")"; +__ref._monto_compra /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_MTOCOMPRA"); + if (true) break; + +case 14: +//C +this.state = -1; +; +RDebugUtils.currentLine=4653099; + //BA.debugLineNum = 4653099;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4653100; + //BA.debugLineNum = 4653100;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=4653101; + //BA.debugLineNum = 4653101;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; +__ref._btadmin /*anywheresoftware.b4a.objects.Serial.BluetoothAdmin*/ .Initialize(ba,"BlueTeeth"); +RDebugUtils.currentLine=4653102; + //BA.debugLineNum = 4653102;BA.debugLine="cmp20.Initialize(\"Printer\")"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Initialize("Printer"); +RDebugUtils.currentLine=4653103; + //BA.debugLineNum = 4653103;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=4653104; + //BA.debugLineNum = 4653104;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b4xpage_created"), null); +this.state = 15; +return; +case 15: +//C +this.state = -1; +_permission = (String) result[1]; +_resultc = (Boolean) result[2]; +; +RDebugUtils.currentLine=4653105; + //BA.debugLineNum = 4653105;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_WRITE_EXTERNAL_STORAGE); +RDebugUtils.currentLine=4653106; + //BA.debugLineNum = 4653106;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "b4xpage_created"), null); +this.state = 16; +return; +case 16: +//C +this.state = -1; +_permission = (String) result[1]; +_resultc = (Boolean) result[2]; +; +RDebugUtils.currentLine=4653122; + //BA.debugLineNum = 4653122;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _bt_qr_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "bt_qr_click", false)) + {return ((String) Debug.delegate(ba, "bt_qr_click", null));} +RDebugUtils.currentLine=5767168; + //BA.debugLineNum = 5767168;BA.debugLine="Sub BT_QR_Click"; +RDebugUtils.currentLine=5767176; + //BA.debugLineNum = 5767176;BA.debugLine="End Sub"; +return ""; +} +public String _calc_ean_checksum(SHARK2.keymon.com.mx.c_cliente __ref,String _number) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "calc_ean_checksum", false)) + {return ((String) Debug.delegate(ba, "calc_ean_checksum", new Object[] {_number}));} +int _i = 0; +char _co = '\0'; +int _soma = 0; +int _n = 0; +float _digit = 0f; +RDebugUtils.currentLine=6029312; + //BA.debugLineNum = 6029312;BA.debugLine="Sub calc_ean_checksum(number As String) As String"; +RDebugUtils.currentLine=6029313; + //BA.debugLineNum = 6029313;BA.debugLine="Dim i As Int"; +_i = 0; +RDebugUtils.currentLine=6029314; + //BA.debugLineNum = 6029314;BA.debugLine="Dim cO As Char"; +_co = '\0'; +RDebugUtils.currentLine=6029315; + //BA.debugLineNum = 6029315;BA.debugLine="Dim soma As Int"; +_soma = 0; +RDebugUtils.currentLine=6029316; + //BA.debugLineNum = 6029316;BA.debugLine="Dim n As Int"; +_n = 0; +RDebugUtils.currentLine=6029317; + //BA.debugLineNum = 6029317;BA.debugLine="Dim digit As Float"; +_digit = 0f; +RDebugUtils.currentLine=6029318; + //BA.debugLineNum = 6029318;BA.debugLine="soma = 0"; +_soma = (int) (0); +RDebugUtils.currentLine=6029319; + //BA.debugLineNum = 6029319;BA.debugLine="For i=0 To number.Length - 1"; +{ +final int step7 = 1; +final int limit7 = (int) (_number.length()-1); +_i = (int) (0) ; +for (;_i <= limit7 ;_i = _i + step7 ) { +RDebugUtils.currentLine=6029320; + //BA.debugLineNum = 6029320;BA.debugLine="digit = number.SubString2(i,i+1)"; +_digit = (float)(Double.parseDouble(_number.substring(_i,(int) (_i+1)))); +RDebugUtils.currentLine=6029321; + //BA.debugLineNum = 6029321;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)"; +_n = (int) (_digit*((_i%2)*2+1)); +RDebugUtils.currentLine=6029322; + //BA.debugLineNum = 6029322;BA.debugLine="soma=soma+n"; +_soma = (int) (_soma+_n); + } +}; +RDebugUtils.currentLine=6029324; + //BA.debugLineNum = 6029324;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10"; +if (true) return _number+BA.NumberToString(((10-(_soma%10))%10)); +RDebugUtils.currentLine=6029325; + //BA.debugLineNum = 6029325;BA.debugLine="End Sub"; +return ""; +} +public String _cb_factura_checkedchange(SHARK2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_factura_checkedchange", false)) + {return ((String) Debug.delegate(ba, "cb_factura_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=7340032; + //BA.debugLineNum = 7340032;BA.debugLine="Private Sub cb_factura_CheckedChange(Checked As Bo"; +RDebugUtils.currentLine=7340034; + //BA.debugLineNum = 7340034;BA.debugLine="If Checked Then p_cbFactura.Color = Colors.Green"; +if (_checked) { +__ref._p_cbfactura /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(__c.Colors.Green);} +else { +__ref._p_cbfactura /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(__c.Colors.Red);}; +RDebugUtils.currentLine=7340035; + //BA.debugLineNum = 7340035;BA.debugLine="End Sub"; +return ""; +} +public String _cb_giro_selectedindexchanged(SHARK2.keymon.com.mx.c_cliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cb_giro_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_giro_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=9043968; + //BA.debugLineNum = 9043968;BA.debugLine="Private Sub cb_giro_SelectedIndexChanged (Index As"; +RDebugUtils.currentLine=9043969; + //BA.debugLineNum = 9043969;BA.debugLine="giros = cb_giro.SelectedItem"; +__ref._giros /*String*/ = __ref._cb_giro /*SHARK2.keymon.com.mx.b4xcombobox*/ ._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=9043970; + //BA.debugLineNum = 9043970;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +RDebugUtils.currentLine=4521984; + //BA.debugLineNum = 4521984;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=4521985; + //BA.debugLineNum = 4521985;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=4521986; + //BA.debugLineNum = 4521986;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=4521987; + //BA.debugLineNum = 4521987;BA.debugLine="Private p_cliente As Panel"; +_p_cliente = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=4521988; + //BA.debugLineNum = 4521988;BA.debugLine="Dim reqManager As DBRequestManager"; +_reqmanager = new SHARK2.keymon.com.mx.dbrequestmanager(); +RDebugUtils.currentLine=4521989; + //BA.debugLineNum = 4521989;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=4521990; + //BA.debugLineNum = 4521990;BA.debugLine="Dim ime As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=4521991; + //BA.debugLineNum = 4521991;BA.debugLine="Dim credito_diponible As String"; +_credito_diponible = ""; +RDebugUtils.currentLine=4521992; + //BA.debugLineNum = 4521992;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=4521993; + //BA.debugLineNum = 4521993;BA.debugLine="Dim ruta As String"; +_ruta = ""; +RDebugUtils.currentLine=4521994; + //BA.debugLineNum = 4521994;BA.debugLine="Dim skmt As SQL"; +_skmt = new anywheresoftware.b4a.sql.SQL(); +RDebugUtils.currentLine=4521995; + //BA.debugLineNum = 4521995;BA.debugLine="Dim clie_id As String"; +_clie_id = ""; +RDebugUtils.currentLine=4521996; + //BA.debugLineNum = 4521996;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=4521997; + //BA.debugLineNum = 4521997;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=4521998; + //BA.debugLineNum = 4521998;BA.debugLine="Dim total_cliente As String"; +_total_cliente = ""; +RDebugUtils.currentLine=4521999; + //BA.debugLineNum = 4521999;BA.debugLine="Dim m_lat, m_lon As String"; +_m_lat = ""; +_m_lon = ""; +RDebugUtils.currentLine=4522000; + //BA.debugLineNum = 4522000;BA.debugLine="Dim m_lat_al, m_lon_al As String"; +_m_lat_al = ""; +_m_lon_al = ""; +RDebugUtils.currentLine=4522001; + //BA.debugLineNum = 4522001;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); +RDebugUtils.currentLine=4522002; + //BA.debugLineNum = 4522002;BA.debugLine="Dim cmp20 As Serial"; +_cmp20 = new anywheresoftware.b4a.objects.Serial(); +RDebugUtils.currentLine=4522003; + //BA.debugLineNum = 4522003;BA.debugLine="Dim printer As TextWriter"; +_printer = new anywheresoftware.b4a.objects.streams.File.TextWriterWrapper(); +RDebugUtils.currentLine=4522004; + //BA.debugLineNum = 4522004;BA.debugLine="Dim PairedDevices As Map"; +_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=4522005; + //BA.debugLineNum = 4522005;BA.debugLine="Dim L As List"; +_l = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=4522006; + //BA.debugLineNum = 4522006;BA.debugLine="Dim TAMANO As Int"; +_tamano = 0; +RDebugUtils.currentLine=4522007; + //BA.debugLineNum = 4522007;BA.debugLine="Dim ESPACIO As Int"; +_espacio = 0; +RDebugUtils.currentLine=4522008; + //BA.debugLineNum = 4522008;BA.debugLine="Dim BLANCO As String"; +_blanco = ""; +RDebugUtils.currentLine=4522009; + //BA.debugLineNum = 4522009;BA.debugLine="Dim cuenta As String"; +_cuenta = ""; +RDebugUtils.currentLine=4522010; + //BA.debugLineNum = 4522010;BA.debugLine="Dim tipo_venta As String = \"PREVENTA\""; +_tipo_venta = "PREVENTA"; +RDebugUtils.currentLine=4522011; + //BA.debugLineNum = 4522011;BA.debugLine="Dim MAC_IMPRESORA As String"; +_mac_impresora = ""; +RDebugUtils.currentLine=4522012; + //BA.debugLineNum = 4522012;BA.debugLine="Dim Printer1 As EscPosPrinter"; +_printer1 = new SHARK2.keymon.com.mx.escposprinter(); +RDebugUtils.currentLine=4522013; + //BA.debugLineNum = 4522013;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4522014; + //BA.debugLineNum = 4522014;BA.debugLine="Dim s As Cursor"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4522015; + //BA.debugLineNum = 4522015;BA.debugLine="Dim DD As Cursor"; +_dd = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4522016; + //BA.debugLineNum = 4522016;BA.debugLine="Dim c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4522017; + //BA.debugLineNum = 4522017;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=4522018; + //BA.debugLineNum = 4522018;BA.debugLine="Dim la_cuenta As Label"; +_la_cuenta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522019; + //BA.debugLineNum = 4522019;BA.debugLine="Dim La_nombre As Label"; +_la_nombre = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522020; + //BA.debugLineNum = 4522020;BA.debugLine="Dim la_Calle As Label"; +_la_calle = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522021; + //BA.debugLineNum = 4522021;BA.debugLine="Dim la_numero As Label"; +_la_numero = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522022; + //BA.debugLineNum = 4522022;BA.debugLine="Dim la_nint As Label"; +_la_nint = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522023; + //BA.debugLineNum = 4522023;BA.debugLine="Dim la_edo As Label"; +_la_edo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522024; + //BA.debugLineNum = 4522024;BA.debugLine="Dim la_pob As Label"; +_la_pob = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522025; + //BA.debugLineNum = 4522025;BA.debugLine="Dim la_col As Label"; +_la_col = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522026; + //BA.debugLineNum = 4522026;BA.debugLine="Dim la_cp As Label"; +_la_cp = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522027; + //BA.debugLineNum = 4522027;BA.debugLine="Dim la_zona As Label"; +_la_zona = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522028; + //BA.debugLineNum = 4522028;BA.debugLine="Dim gest As Button"; +_gest = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522029; + //BA.debugLineNum = 4522029;BA.debugLine="Dim la_saldotot As Label"; +_la_saldotot = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522030; + //BA.debugLineNum = 4522030;BA.debugLine="Dim la_saldooper As Label"; +_la_saldooper = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522031; + //BA.debugLineNum = 4522031;BA.debugLine="Dim impresoraConectada As Boolean = False"; +_impresoraconectada = __c.False; +RDebugUtils.currentLine=4522032; + //BA.debugLineNum = 4522032;BA.debugLine="Dim Tels As Button"; +_tels = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522033; + //BA.debugLineNum = 4522033;BA.debugLine="Dim Label10 As Label"; +_label10 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522034; + //BA.debugLineNum = 4522034;BA.debugLine="Dim Label11 As Label"; +_label11 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522035; + //BA.debugLineNum = 4522035;BA.debugLine="Dim btAdmin As BluetoothAdmin"; +_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); +RDebugUtils.currentLine=4522036; + //BA.debugLineNum = 4522036;BA.debugLine="Dim Tar As Button"; +_tar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522037; + //BA.debugLineNum = 4522037;BA.debugLine="Dim errorImpresora As Int = 0"; +_errorimpresora = (int) (0); +RDebugUtils.currentLine=4522038; + //BA.debugLineNum = 4522038;BA.debugLine="Dim la_comm As Label"; +_la_comm = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522039; + //BA.debugLineNum = 4522039;BA.debugLine="Dim la_actdte As Label"; +_la_actdte = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522040; + //BA.debugLineNum = 4522040;BA.debugLine="Dim la_usuario As Label"; +_la_usuario = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522041; + //BA.debugLineNum = 4522041;BA.debugLine="Dim la_resultado As Label"; +_la_resultado = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522042; + //BA.debugLineNum = 4522042;BA.debugLine="Dim l_entre1 As Label"; +_l_entre1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522043; + //BA.debugLineNum = 4522043;BA.debugLine="Dim l_entre2 As Label"; +_l_entre2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522044; + //BA.debugLineNum = 4522044;BA.debugLine="Dim l_atiende As Label"; +_l_atiende = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522045; + //BA.debugLineNum = 4522045;BA.debugLine="Dim l_atiende2 As Label"; +_l_atiende2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522046; + //BA.debugLineNum = 4522046;BA.debugLine="Dim DATOS As Button"; +_datos = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522047; + //BA.debugLineNum = 4522047;BA.debugLine="Dim Guardar As Button"; +_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522048; + //BA.debugLineNum = 4522048;BA.debugLine="Dim NUEVO As Button"; +_nuevo = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522051; + //BA.debugLineNum = 4522051;BA.debugLine="Dim l_total As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522052; + //BA.debugLineNum = 4522052;BA.debugLine="Dim c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4522053; + //BA.debugLineNum = 4522053;BA.debugLine="Dim S2 As Cursor"; +_s2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4522054; + //BA.debugLineNum = 4522054;BA.debugLine="Private s As Cursor"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4522055; + //BA.debugLineNum = 4522055;BA.debugLine="Dim res As String"; +_res = ""; +RDebugUtils.currentLine=4522056; + //BA.debugLineNum = 4522056;BA.debugLine="Dim Credi As Cursor"; +_credi = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4522057; + //BA.debugLineNum = 4522057;BA.debugLine="Private HIST As Button"; +_hist = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522058; + //BA.debugLineNum = 4522058;BA.debugLine="Private MONTO_COMPRA As String"; +_monto_compra = ""; +RDebugUtils.currentLine=4522059; + //BA.debugLineNum = 4522059;BA.debugLine="Private META As String"; +_meta = ""; +RDebugUtils.currentLine=4522060; + //BA.debugLineNum = 4522060;BA.debugLine="Private META2 As String"; +_meta2 = ""; +RDebugUtils.currentLine=4522061; + //BA.debugLineNum = 4522061;BA.debugLine="Private VERIFICA As String"; +_verifica = ""; +RDebugUtils.currentLine=4522062; + //BA.debugLineNum = 4522062;BA.debugLine="Private L_QR As Label"; +_l_qr = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522063; + //BA.debugLineNum = 4522063;BA.debugLine="Private BT_QR As Button"; +_bt_qr = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522065; + //BA.debugLineNum = 4522065;BA.debugLine="Dim CODIGO As String"; +_codigo = ""; +RDebugUtils.currentLine=4522067; + //BA.debugLineNum = 4522067;BA.debugLine="Private b_mapa As Button"; +_b_mapa = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522068; + //BA.debugLineNum = 4522068;BA.debugLine="Dim CUANTOS As String"; +_cuantos = ""; +RDebugUtils.currentLine=4522069; + //BA.debugLineNum = 4522069;BA.debugLine="Private B_IMP As Button"; +_b_imp = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522070; + //BA.debugLineNum = 4522070;BA.debugLine="Dim Toggla As Toggle"; +_toggla = new com.rootsoft.togglelibrary.ToggleLibrary(); +RDebugUtils.currentLine=4522071; + //BA.debugLineNum = 4522071;BA.debugLine="Dim tgl As Toggle"; +_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); +RDebugUtils.currentLine=4522072; + //BA.debugLineNum = 4522072;BA.debugLine="Dim pre_act As Float"; +_pre_act = 0f; +RDebugUtils.currentLine=4522074; + //BA.debugLineNum = 4522074;BA.debugLine="Private Panel1 As Panel"; +_panel1 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=4522075; + //BA.debugLineNum = 4522075;BA.debugLine="Private I_COMPRA As EditText"; +_i_compra = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=4522076; + //BA.debugLineNum = 4522076;BA.debugLine="Private B_GUARDA_C As Button"; +_b_guarda_c = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522077; + //BA.debugLineNum = 4522077;BA.debugLine="Private b_venta As Button"; +_b_venta = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522078; + //BA.debugLineNum = 4522078;BA.debugLine="Dim ALMACEN As String"; +_almacen = ""; +RDebugUtils.currentLine=4522079; + //BA.debugLineNum = 4522079;BA.debugLine="Private LA_GPS As Label"; +_la_gps = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522080; + //BA.debugLineNum = 4522080;BA.debugLine="Private B_E_NEXT As Button"; +_b_e_next = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522081; + //BA.debugLineNum = 4522081;BA.debugLine="Private E_RES_E As EditText"; +_e_res_e = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=4522082; + //BA.debugLineNum = 4522082;BA.debugLine="Private t_tenc As Label"; +_t_tenc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522083; + //BA.debugLineNum = 4522083;BA.debugLine="Private Panel2 As Panel"; +_panel2 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=4522084; + //BA.debugLineNum = 4522084;BA.debugLine="Private CONTADOR_E As String"; +_contador_e = ""; +RDebugUtils.currentLine=4522085; + //BA.debugLineNum = 4522085;BA.debugLine="Private HR_RES1 As String"; +_hr_res1 = ""; +RDebugUtils.currentLine=4522086; + //BA.debugLineNum = 4522086;BA.debugLine="Private HR_RES2 As String"; +_hr_res2 = ""; +RDebugUtils.currentLine=4522087; + //BA.debugLineNum = 4522087;BA.debugLine="Private HR_RES3 As String"; +_hr_res3 = ""; +RDebugUtils.currentLine=4522088; + //BA.debugLineNum = 4522088;BA.debugLine="Private EXISTE As String"; +_existe = ""; +RDebugUtils.currentLine=4522089; + //BA.debugLineNum = 4522089;BA.debugLine="Private TELEFONO As String"; +_telefono = ""; +RDebugUtils.currentLine=4522090; + //BA.debugLineNum = 4522090;BA.debugLine="Dim t1 As Timer"; +_t1 = new anywheresoftware.b4a.objects.Timer(); +RDebugUtils.currentLine=4522091; + //BA.debugLineNum = 4522091;BA.debugLine="Private RB1 As RadioButton"; +_rb1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4522092; + //BA.debugLineNum = 4522092;BA.debugLine="Private RB2 As RadioButton"; +_rb2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4522093; + //BA.debugLineNum = 4522093;BA.debugLine="Private RB3 As RadioButton"; +_rb3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4522094; + //BA.debugLineNum = 4522094;BA.debugLine="Private RB4 As RadioButton"; +_rb4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4522095; + //BA.debugLineNum = 4522095;BA.debugLine="Private RB5 As RadioButton"; +_rb5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=4522097; + //BA.debugLineNum = 4522097;BA.debugLine="Private stay_hh As String"; +_stay_hh = ""; +RDebugUtils.currentLine=4522098; + //BA.debugLineNum = 4522098;BA.debugLine="Private stay_mi As String"; +_stay_mi = ""; +RDebugUtils.currentLine=4522099; + //BA.debugLineNum = 4522099;BA.debugLine="Private stay_ss As String"; +_stay_ss = ""; +RDebugUtils.currentLine=4522101; + //BA.debugLineNum = 4522101;BA.debugLine="Private LA_GEO As Label"; +_la_geo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522102; + //BA.debugLineNum = 4522102;BA.debugLine="Dim result As Int"; +_result = 0; +RDebugUtils.currentLine=4522103; + //BA.debugLineNum = 4522103;BA.debugLine="Private cercavalor As String"; +_cercavalor = ""; +RDebugUtils.currentLine=4522104; + //BA.debugLineNum = 4522104;BA.debugLine="Private LA_RUTA As String"; +_la_ruta = ""; +RDebugUtils.currentLine=4522106; + //BA.debugLineNum = 4522106;BA.debugLine="Private b_like As Button"; +_b_like = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522107; + //BA.debugLineNum = 4522107;BA.debugLine="Private B_GPS As Button"; +_b_gps = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522109; + //BA.debugLineNum = 4522109;BA.debugLine="Dim CODIGO As String"; +_codigo = ""; +RDebugUtils.currentLine=4522110; + //BA.debugLineNum = 4522110;BA.debugLine="Private cb_factura As CheckBox"; +_cb_factura = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); +RDebugUtils.currentLine=4522111; + //BA.debugLineNum = 4522111;BA.debugLine="Private p_cbFactura As Panel"; +_p_cbfactura = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=4522112; + //BA.debugLineNum = 4522112;BA.debugLine="Dim venimosDeTicketsDia As Boolean = False"; +_venimosdeticketsdia = __c.False; +RDebugUtils.currentLine=4522113; + //BA.debugLineNum = 4522113;BA.debugLine="Private p_abono As Panel"; +_p_abono = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=4522114; + //BA.debugLineNum = 4522114;BA.debugLine="Private et_abono As EditText"; +_et_abono = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=4522115; + //BA.debugLineNum = 4522115;BA.debugLine="Private b_abono As Button"; +_b_abono = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522116; + //BA.debugLineNum = 4522116;BA.debugLine="Private b_cancelar As Button"; +_b_cancelar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522117; + //BA.debugLineNum = 4522117;BA.debugLine="Private b_abono1 As Button"; +_b_abono1 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522118; + //BA.debugLineNum = 4522118;BA.debugLine="Dim b As Cursor"; +_b = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4522119; + //BA.debugLineNum = 4522119;BA.debugLine="Private b_cxc As Button"; +_b_cxc = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522120; + //BA.debugLineNum = 4522120;BA.debugLine="Private clv_abonos As CustomListView"; +_clv_abonos = new b4a.example3.customlistview(); +RDebugUtils.currentLine=4522121; + //BA.debugLineNum = 4522121;BA.debugLine="Private l_folio As Label"; +_l_folio = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522122; + //BA.debugLineNum = 4522122;BA.debugLine="Private l_saldo As Label"; +_l_saldo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522123; + //BA.debugLineNum = 4522123;BA.debugLine="Dim d As Cursor"; +_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4522124; + //BA.debugLineNum = 4522124;BA.debugLine="Dim f As Cursor"; +_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4522125; + //BA.debugLineNum = 4522125;BA.debugLine="Private l_montoabonostotal As Label"; +_l_montoabonostotal = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522126; + //BA.debugLineNum = 4522126;BA.debugLine="Dim j As Cursor"; +_j = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4522127; + //BA.debugLineNum = 4522127;BA.debugLine="Dim h As Cursor"; +_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=4522128; + //BA.debugLineNum = 4522128;BA.debugLine="Dim distance As Long"; +_distance = 0L; +RDebugUtils.currentLine=4522129; + //BA.debugLineNum = 4522129;BA.debugLine="Dim distance2 As Long"; +_distance2 = 0L; +RDebugUtils.currentLine=4522130; + //BA.debugLineNum = 4522130;BA.debugLine="Dim cuest As C_Cuestionario"; +_cuest = new SHARK2.keymon.com.mx.c_cuestionario(); +RDebugUtils.currentLine=4522131; + //BA.debugLineNum = 4522131;BA.debugLine="Private b_ventaabordo As Button"; +_b_ventaabordo = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522132; + //BA.debugLineNum = 4522132;BA.debugLine="Private l_factura As Label"; +_l_factura = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522133; + //BA.debugLineNum = 4522133;BA.debugLine="Private l_limite As Label"; +_l_limite = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522134; + //BA.debugLineNum = 4522134;BA.debugLine="Private et_montoacredito As EditText"; +_et_montoacredito = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=4522135; + //BA.debugLineNum = 4522135;BA.debugLine="Private b_cancred As Button"; +_b_cancred = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522136; + //BA.debugLineNum = 4522136;BA.debugLine="Private b_acred As Button"; +_b_acred = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522137; + //BA.debugLineNum = 4522137;BA.debugLine="Private p_credito As Panel"; +_p_credito = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=4522138; + //BA.debugLineNum = 4522138;BA.debugLine="Dim banderaimp As Int = 0"; +_banderaimp = (int) (0); +RDebugUtils.currentLine=4522140; + //BA.debugLineNum = 4522140;BA.debugLine="Dim k1,k2,k3 As String"; +_k1 = ""; +_k2 = ""; +_k3 = ""; +RDebugUtils.currentLine=4522141; + //BA.debugLineNum = 4522141;BA.debugLine="Private b_ubicar As Button"; +_b_ubicar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522142; + //BA.debugLineNum = 4522142;BA.debugLine="Private b_venta_credito As Button"; +_b_venta_credito = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522143; + //BA.debugLineNum = 4522143;BA.debugLine="Private b_act_coords As Button"; +_b_act_coords = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522144; + //BA.debugLineNum = 4522144;BA.debugLine="Private l_giro As Label"; +_l_giro = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=4522145; + //BA.debugLineNum = 4522145;BA.debugLine="Private p_atiende As Panel"; +_p_atiende = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=4522146; + //BA.debugLineNum = 4522146;BA.debugLine="Private et_atiende As EditText"; +_et_atiende = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=4522147; + //BA.debugLineNum = 4522147;BA.debugLine="Private b_cancelatiende As Button"; +_b_cancelatiende = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522148; + //BA.debugLineNum = 4522148;BA.debugLine="Private b_acepatiende As Button"; +_b_acepatiende = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522149; + //BA.debugLineNum = 4522149;BA.debugLine="Private p_giro As Panel"; +_p_giro = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=4522150; + //BA.debugLineNum = 4522150;BA.debugLine="Private cb_giro As B4XComboBox"; +_cb_giro = new SHARK2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=4522151; + //BA.debugLineNum = 4522151;BA.debugLine="Private b_cancelgiro As Button"; +_b_cancelgiro = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522152; + //BA.debugLineNum = 4522152;BA.debugLine="Private b_acepgiro As Button"; +_b_acepgiro = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=4522153; + //BA.debugLineNum = 4522153;BA.debugLine="Dim giros As String"; +_giros = ""; +RDebugUtils.currentLine=4522154; + //BA.debugLineNum = 4522154;BA.debugLine="End Sub"; +return ""; +} +public String _cuest_preguntacontestada(SHARK2.keymon.com.mx.c_cliente __ref,anywheresoftware.b4a.objects.collections.Map _m) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "cuest_preguntacontestada", false)) + {return ((String) Debug.delegate(ba, "cuest_preguntacontestada", new Object[] {_m}));} +RDebugUtils.currentLine=8192000; + //BA.debugLineNum = 8192000;BA.debugLine="Sub cuest_preguntaContestada(m As Map)"; +RDebugUtils.currentLine=8192002; + //BA.debugLineNum = 8192002;BA.debugLine="Log(m)"; +__c.LogImpl("58192002",BA.ObjectToString(_m),0); +RDebugUtils.currentLine=8192005; + //BA.debugLineNum = 8192005;BA.debugLine="m.Get(\"panel\").As(Panel).RemoveView 'Quitamos le"; +((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_m.Get((Object)("panel"))))).RemoveView(); +RDebugUtils.currentLine=8192006; + //BA.debugLineNum = 8192006;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=8192007; + //BA.debugLineNum = 8192007;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=8192008; + //BA.debugLineNum = 8192008;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from CUESTIONA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from CUESTIONARIO where Q_IDCLIENTE = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"' and Q_IDPREGUNTA = '"+__c.SmartStringFormatter("",_m.Get((Object)("idPregunta")))+"'")); +RDebugUtils.currentLine=8192009; + //BA.debugLineNum = 8192009;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into CUESTIONA"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CUESTIONARIO (Q_RUTA, Q_ALMACEN, Q_IDCLIENTE, Q_IDPREGUNTA, Q_PREGUNTA, Q_IDRESPUESTA, Q_RESPUESTA, Q_FECHA) values ('"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba,_subs._traecliente /*String*/ (ba))))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("idPregunta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("pregunta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("idRespuesta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("respuesta")))+"', '"+__c.SmartStringFormatter("",(Object)(__c.DateTime.Date(__c.DateTime.getNow())))+" "+__c.SmartStringFormatter("",(Object)(__c.DateTime.Time(__c.DateTime.getNow())))+"')")); +RDebugUtils.currentLine=8192010; + //BA.debugLineNum = 8192010;BA.debugLine="Select Case m.Get(\"idPregunta\")"; +switch (BA.switchObjectToInt(_m.Get((Object)("idPregunta")),(Object)("1"),(Object)("2"),(Object)("3"),(Object)("4"),(Object)("5"),(Object)("6"))) { +case 0: { +RDebugUtils.currentLine=8192012; + //BA.debugLineNum = 8192012;BA.debugLine="If m.Get(\"respuesta\") = \"No, está enrejado o no"; +if ((_m.Get((Object)("respuesta"))).equals((Object)("No, está enrejado o no se tiene acceso"))) { +RDebugUtils.currentLine=8192013; + //BA.debugLineNum = 8192013;BA.debugLine="Log(\"Tiendajon / Ventana / Kiosko\")"; +__c.LogImpl("58192013","Tiendajon / Ventana / Kiosko",0); +RDebugUtils.currentLine=8192014; + //BA.debugLineNum = 8192014;BA.debugLine="ToastMessageShow(\"Tiendajon / Ventana / Kiosko"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Tiendajon / Ventana / Kiosko"),__c.False); +RDebugUtils.currentLine=8192015; + //BA.debugLineNum = 8192015;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; +__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._agregapregunta /*String*/ (null,"6","¿Cuenta con caja de salida para cobro con sistema de computo?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si, tiene sistema de computo para cobro","No"})); + }else +{RDebugUtils.currentLine=8192016; + //BA.debugLineNum = 8192016;BA.debugLine="Else if m.Get(\"respuesta\") = \"Si se pude accede"; +if ((_m.Get((Object)("respuesta"))).equals((Object)("Si se pude acceder"))) { +RDebugUtils.currentLine=8192017; + //BA.debugLineNum = 8192017;BA.debugLine="cuest.agregaPregunta(\"2\", \"¿Tiene al menos 2 p"; +__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._agregapregunta /*String*/ (null,"2","¿Tiene al menos 2 pasillos con acceso directo a la mercancía?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si tiene al menos 2 pasillos con acceso directo a la mercancía","No tiene pasillos o solo uno central"})); + }} +; + break; } +case 1: { +RDebugUtils.currentLine=8192020; + //BA.debugLineNum = 8192020;BA.debugLine="If m.Get(\"respuesta\") = \"Si tiene al menos 2 pa"; +if ((_m.Get((Object)("respuesta"))).equals((Object)("Si tiene al menos 2 pasillos con acceso directo a la mercancía"))) { +RDebugUtils.currentLine=8192021; + //BA.debugLineNum = 8192021;BA.debugLine="Log(\"Mini-Super\")"; +__c.LogImpl("58192021","Mini-Super",0); +RDebugUtils.currentLine=8192022; + //BA.debugLineNum = 8192022;BA.debugLine="ToastMessageShow(\"Mini-Super\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Mini-Super"),__c.False); +RDebugUtils.currentLine=8192023; + //BA.debugLineNum = 8192023;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; +__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._agregapregunta /*String*/ (null,"6","¿Cuenta con caja de salida para cobro con sistema de computo?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si, tiene sistema de computo para cobro","No"})); + }else +{RDebugUtils.currentLine=8192024; + //BA.debugLineNum = 8192024;BA.debugLine="else If m.Get(\"respuesta\") = \"No tiene pasillos"; +if ((_m.Get((Object)("respuesta"))).equals((Object)("No tiene pasillos o solo uno central"))) { +RDebugUtils.currentLine=8192025; + //BA.debugLineNum = 8192025;BA.debugLine="cuest.agregaPregunta(\"3\", \"¿Cuenta con enfriad"; +__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._agregapregunta /*String*/ (null,"3","¿Cuenta con enfriador horizontal para venta de perecederos como queso, jamon, crema, etc.?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si","No tiene enfriador horizontal."})); + }} +; + break; } +case 2: { +RDebugUtils.currentLine=8192028; + //BA.debugLineNum = 8192028;BA.debugLine="Log(\"|\"&m.Get(\"respuesta\")&\"|\")"; +__c.LogImpl("58192028","|"+BA.ObjectToString(_m.Get((Object)("respuesta")))+"|",0); +RDebugUtils.currentLine=8192029; + //BA.debugLineNum = 8192029;BA.debugLine="If m.Get(\"respuesta\") = \"Si\" Then"; +if ((_m.Get((Object)("respuesta"))).equals((Object)("Si"))) { +RDebugUtils.currentLine=8192030; + //BA.debugLineNum = 8192030;BA.debugLine="Log(\"Miscelanea\")"; +__c.LogImpl("58192030","Miscelanea",0); +RDebugUtils.currentLine=8192031; + //BA.debugLineNum = 8192031;BA.debugLine="ToastMessageShow(\"Miscelanea\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Miscelanea"),__c.False); +RDebugUtils.currentLine=8192032; + //BA.debugLineNum = 8192032;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; +__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._agregapregunta /*String*/ (null,"6","¿Cuenta con caja de salida para cobro con sistema de computo?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si, tiene sistema de computo para cobro","No"})); + }else +{RDebugUtils.currentLine=8192033; + //BA.debugLineNum = 8192033;BA.debugLine="else If m.Get(\"respuesta\") = \"No tiene enfriado"; +if ((_m.Get((Object)("respuesta"))).equals((Object)("No tiene enfriador horizontal."))) { +RDebugUtils.currentLine=8192034; + //BA.debugLineNum = 8192034;BA.debugLine="cuest.agregaPregunta(\"4\", \"¿El local esta enfo"; +__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._agregapregunta /*String*/ (null,"4","¿El local esta enfocado a venta especializada?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"No","Si"})); + }} +; + break; } +case 3: { +RDebugUtils.currentLine=8192037; + //BA.debugLineNum = 8192037;BA.debugLine="If m.Get(\"respuesta\") = \"No\" Then"; +if ((_m.Get((Object)("respuesta"))).equals((Object)("No"))) { +RDebugUtils.currentLine=8192038; + //BA.debugLineNum = 8192038;BA.debugLine="Log(\"Abarrotera\")"; +__c.LogImpl("58192038","Abarrotera",0); +RDebugUtils.currentLine=8192039; + //BA.debugLineNum = 8192039;BA.debugLine="ToastMessageShow(\"Abarrotera\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Abarrotera"),__c.False); +RDebugUtils.currentLine=8192040; + //BA.debugLineNum = 8192040;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; +__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._agregapregunta /*String*/ (null,"6","¿Cuenta con caja de salida para cobro con sistema de computo?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si, tiene sistema de computo para cobro","No"})); + }else +{RDebugUtils.currentLine=8192041; + //BA.debugLineNum = 8192041;BA.debugLine="else If m.Get(\"respuesta\") = \"Si\" Then"; +if ((_m.Get((Object)("respuesta"))).equals((Object)("Si"))) { +RDebugUtils.currentLine=8192042; + //BA.debugLineNum = 8192042;BA.debugLine="cuest.agregaPregunta(\"5\", \"¿Cual venta especia"; +__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._agregapregunta /*String*/ (null,"5","¿Cual venta especializada?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Carnicería / Pollería","Cremería","Depósito / Vinateria","Dulcería","Farmacia","Fonda / Restaurante / Cafetería","Verdulería"})); + }} +; + break; } +case 4: { +RDebugUtils.currentLine=8192045; + //BA.debugLineNum = 8192045;BA.debugLine="Log(m.Get(\"respuesta\"))"; +__c.LogImpl("58192045",BA.ObjectToString(_m.Get((Object)("respuesta"))),0); +RDebugUtils.currentLine=8192046; + //BA.debugLineNum = 8192046;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence(_m.Get((Object)("respuesta"))),__c.False); +RDebugUtils.currentLine=8192051; + //BA.debugLineNum = 8192051;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; +__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._agregapregunta /*String*/ (null,"6","¿Cuenta con caja de salida para cobro con sistema de computo?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si, tiene sistema de computo para cobro","No"})); + break; } +case 5: { +RDebugUtils.currentLine=8192054; + //BA.debugLineNum = 8192054;BA.debugLine="Log(m.Get(\"respuesta\"))"; +__c.LogImpl("58192054",BA.ObjectToString(_m.Get((Object)("respuesta"))),0); +RDebugUtils.currentLine=8192055; + //BA.debugLineNum = 8192055;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence(_m.Get((Object)("respuesta"))),__c.False); +RDebugUtils.currentLine=8192056; + //BA.debugLineNum = 8192056;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)"; +__c.LogImpl("58192056",">>>>>>>>>> "+BA.ObjectToString(__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._encuestainiciada /*boolean*/ ),0); +RDebugUtils.currentLine=8192057; + //BA.debugLineNum = 8192057;BA.debugLine="cuest.encuestaIniciada = False"; +__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._encuestainiciada /*boolean*/ = __c.False; +RDebugUtils.currentLine=8192058; + //BA.debugLineNum = 8192058;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)"; +__c.LogImpl("58192058",">>>>>>>>>> "+BA.ObjectToString(__ref._cuest /*SHARK2.keymon.com.mx.c_cuestionario*/ ._encuestainiciada /*boolean*/ ),0); +RDebugUtils.currentLine=8192061; + //BA.debugLineNum = 8192061;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + break; } +} +; +RDebugUtils.currentLine=8192064; + //BA.debugLineNum = 8192064;BA.debugLine="End Sub"; +return ""; +} +public String _datos_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "datos_click", false)) + {return ((String) Debug.delegate(ba, "datos_click", null));} +RDebugUtils.currentLine=5242880; + //BA.debugLineNum = 5242880;BA.debugLine="Sub DATOS_Click"; +RDebugUtils.currentLine=5242881; + //BA.debugLineNum = 5242881;BA.debugLine="B4XPages.ShowPage(\"telefonos\")"; +_b4xpages._showpage /*String*/ (ba,"telefonos"); +RDebugUtils.currentLine=5242882; + //BA.debugLineNum = 5242882;BA.debugLine="End Sub"; +return ""; +} +public String _gest_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "gest_click", false)) + {return ((String) Debug.delegate(ba, "gest_click", null));} +RDebugUtils.currentLine=4915200; + //BA.debugLineNum = 4915200;BA.debugLine="Sub gest_Click"; +RDebugUtils.currentLine=4915201; + //BA.debugLineNum = 4915201;BA.debugLine="If la_cuenta.Text = \"0\" Then"; +if ((__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=4915202; + //BA.debugLineNum = 4915202;BA.debugLine="B4XPages.MainPage.tipo_venta = \"ABORDO\""; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "ABORDO"; + }else +{RDebugUtils.currentLine=4915203; + //BA.debugLineNum = 4915203;BA.debugLine="Else If la_cuenta.Text = \"1\" Then"; +if ((__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("1")) { +RDebugUtils.currentLine=4915204; + //BA.debugLineNum = 4915204;BA.debugLine="B4XPages.MainPage.tipo_venta = \"RECARGA\""; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "RECARGA"; + }else { +RDebugUtils.currentLine=4915206; + //BA.debugLineNum = 4915206;BA.debugLine="B4XPages.MainPage.tipo_venta = \"PREVENTA_CONTADO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "PREVENTA_CONTADO"; + }} +; +RDebugUtils.currentLine=4915238; + //BA.debugLineNum = 4915238;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); +RDebugUtils.currentLine=4915239; + //BA.debugLineNum = 4915239;BA.debugLine="End Sub"; +return ""; +} +public String _guadaventa2(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "guadaventa2", false)) + {return ((String) Debug.delegate(ba, "guadaventa2", null));} +int _cbfactura = 0; +RDebugUtils.currentLine=5570560; + //BA.debugLineNum = 5570560;BA.debugLine="Sub GUADAVENTA2"; +RDebugUtils.currentLine=5570561; + //BA.debugLineNum = 5570561;BA.debugLine="Log(B4XPages.MainPage.recarga)"; +__c.LogImpl("55570561",_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ,0); +RDebugUtils.currentLine=5570562; + //BA.debugLineNum = 5570562;BA.debugLine="If B4XPages.MainPage.recarga = \"0\" Then"; +if ((_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ).equals("0")) { +RDebugUtils.currentLine=5570563; + //BA.debugLineNum = 5570563;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=5570564; + //BA.debugLineNum = 5570564;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=5570565; + //BA.debugLineNum = 5570565;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=5570566; + //BA.debugLineNum = 5570566;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=5570567; + //BA.debugLineNum = 5570567;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5570568; + //BA.debugLineNum = 5570568;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=5570569; + //BA.debugLineNum = 5570569;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=5570570; + //BA.debugLineNum = 5570570;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=5570571; + //BA.debugLineNum = 5570571;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5570572; + //BA.debugLineNum = 5570572;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=5570573; + //BA.debugLineNum = 5570573;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=5570574; + //BA.debugLineNum = 5570574;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=5570575; + //BA.debugLineNum = 5570575;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5570577; + //BA.debugLineNum = 5570577;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=5570578; + //BA.debugLineNum = 5570578;BA.debugLine="Private cbFactura As Int = 0"; +_cbfactura = (int) (0); +RDebugUtils.currentLine=5570579; + //BA.debugLineNum = 5570579;BA.debugLine="If cb_factura.Checked Then cbFactura = 1"; +if (__ref._cb_factura /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_cbfactura = (int) (1);}; +RDebugUtils.currentLine=5570580; + //BA.debugLineNum = 5570580;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA where NV_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=5570581; + //BA.debugLineNum = 5570581;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=5570582; + //BA.debugLineNum = 5570582;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT, PC_ENVIO_OK, PC_FACTURA) VALUES (?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(0),(Object)(_cbfactura)})); +RDebugUtils.currentLine=5570583; + //BA.debugLineNum = 5570583;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=5570584; + //BA.debugLineNum = 5570584;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info2 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); + }; +RDebugUtils.currentLine=5570586; + //BA.debugLineNum = 5570586;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=5570587; + //BA.debugLineNum = 5570587;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=5570588; + //BA.debugLineNum = 5570588;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=5570589; + //BA.debugLineNum = 5570589;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_OUT = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); +RDebugUtils.currentLine=5570591; + //BA.debugLineNum = 5570591;BA.debugLine="Try"; +try {RDebugUtils.currentLine=5570592; + //BA.debugLineNum = 5570592;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (su"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "+"Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "+" Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, "+"Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "+" Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "+" from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) "))); +RDebugUtils.currentLine=5570598; + //BA.debugLineNum = 5570598;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5570599; + //BA.debugLineNum = 5570599;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 6"; +__ref._stay_hh /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HORAS_TOTALES")))*60*60); +RDebugUtils.currentLine=5570600; + //BA.debugLineNum = 5570600;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60"; +__ref._stay_mi /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MINUTOS_TOTALES")))*60); +RDebugUtils.currentLine=5570601; + //BA.debugLineNum = 5570601;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")"; +__ref._stay_ss /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SEGUNDOS_TOTALES"); +RDebugUtils.currentLine=5570602; + //BA.debugLineNum = 5570602;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((double)(Double.parseDouble(__ref._stay_hh /*String*/ ))+(double)(Double.parseDouble(__ref._stay_mi /*String*/ ))+(double)(Double.parseDouble(__ref._stay_ss /*String*/ )))})); +RDebugUtils.currentLine=5570603; + //BA.debugLineNum = 5570603;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_FIN = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); +RDebugUtils.currentLine=5570604; + //BA.debugLineNum = 5570604;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } + catch (Exception e39) { + ba.setLastException(e39);RDebugUtils.currentLine=5570606; + //BA.debugLineNum = 5570606;BA.debugLine="ToastMessageShow(\".\",True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("."),__c.True); + }; +RDebugUtils.currentLine=5570609; + //BA.debugLineNum = 5570609;BA.debugLine="skmt.ExecNonQuery2(\"update PEDIDO_INICIO_FINAL s"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update PEDIDO_INICIO_FINAL set PIF_HORA_FINAL = ? where PIF_CLIENTE = ? and PIF_HORA_FINAL = 0",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__c.DateTime.getNow()),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=5570611; + //BA.debugLineNum = 5570611;BA.debugLine="Subs.actualizaTET(la_cuenta.text)"; +_subs._actualizatet /*String*/ (ba,__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()); +RDebugUtils.currentLine=5570612; + //BA.debugLineNum = 5570612;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=5570615; + //BA.debugLineNum = 5570615;BA.debugLine="mandapiezas"; +__ref._mandapiezas /*String*/ (null); +RDebugUtils.currentLine=5570616; + //BA.debugLineNum = 5570616;BA.debugLine="B4XPages.MainPage.productos.reiniciarlistaProds"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*SHARK2.keymon.com.mx.c_productos*/ ._reiniciarlistaprods /*boolean*/ = __c.True; +RDebugUtils.currentLine=5570617; + //BA.debugLineNum = 5570617;BA.debugLine="B4XPages.MainPage.productos.prodsMap.Initialize"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*SHARK2.keymon.com.mx.c_productos*/ ._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=5570618; + //BA.debugLineNum = 5570618;BA.debugLine="B4XPages.MainPage.promos.promosMap.Initialize"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._promos /*SHARK2.keymon.com.mx.c_promos*/ ._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=5570619; + //BA.debugLineNum = 5570619;BA.debugLine="Guardar.Enabled = True"; +__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=5570620; + //BA.debugLineNum = 5570620;BA.debugLine="gest.Enabled = True"; +__ref._gest /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=5570621; + //BA.debugLineNum = 5570621;BA.debugLine="b_cxc.Enabled = True"; +__ref._b_cxc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=5570622; + //BA.debugLineNum = 5570622;BA.debugLine="Tar.Enabled = True"; +__ref._tar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=5570623; + //BA.debugLineNum = 5570623;BA.debugLine="Tels.Enabled = True"; +__ref._tels /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=5570624; + //BA.debugLineNum = 5570624;BA.debugLine="b_ventaabordo.Enabled = True"; +__ref._b_ventaabordo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=5570626; + //BA.debugLineNum = 5570626;BA.debugLine="HIST.Enabled = True"; +__ref._hist /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True); +RDebugUtils.currentLine=5570627; + //BA.debugLineNum = 5570627;BA.debugLine="banderaimp = 0"; +__ref._banderaimp /*int*/ = (int) (0); +RDebugUtils.currentLine=5570628; + //BA.debugLineNum = 5570628;BA.debugLine="mandaPendientePagare"; +__ref._mandapendientepagare /*String*/ (null); +RDebugUtils.currentLine=5570629; + //BA.debugLineNum = 5570629;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); + }else +{RDebugUtils.currentLine=5570630; + //BA.debugLineNum = 5570630;BA.debugLine="Else If B4XPages.MainPage.recarga = \"1\" Then"; +if ((_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ).equals("1")) { +RDebugUtils.currentLine=5570631; + //BA.debugLineNum = 5570631;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=5570632; + //BA.debugLineNum = 5570632;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=5570633; + //BA.debugLineNum = 5570633;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=5570634; + //BA.debugLineNum = 5570634;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=5570635; + //BA.debugLineNum = 5570635;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5570636; + //BA.debugLineNum = 5570636;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=5570637; + //BA.debugLineNum = 5570637;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=5570638; + //BA.debugLineNum = 5570638;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=5570639; + //BA.debugLineNum = 5570639;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5570640; + //BA.debugLineNum = 5570640;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=5570641; + //BA.debugLineNum = 5570641;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=5570642; + //BA.debugLineNum = 5570642;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=5570643; + //BA.debugLineNum = 5570643;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5570645; + //BA.debugLineNum = 5570645;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=5570646; + //BA.debugLineNum = 5570646;BA.debugLine="Private cbFactura As Int = 0"; +_cbfactura = (int) (0); +RDebugUtils.currentLine=5570647; + //BA.debugLineNum = 5570647;BA.debugLine="If cb_factura.Checked Then cbFactura = 1"; +if (__ref._cb_factura /*anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper*/ .getChecked()) { +_cbfactura = (int) (1);}; +RDebugUtils.currentLine=5570648; + //BA.debugLineNum = 5570648;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA where NV_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=5570649; + //BA.debugLineNum = 5570649;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=5570650; + //BA.debugLineNum = 5570650;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT, PC_ENVIO_OK, PC_FACTURA) VALUES (?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(0),(Object)(_cbfactura)})); +RDebugUtils.currentLine=5570651; + //BA.debugLineNum = 5570651;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); + }; +RDebugUtils.currentLine=5570653; + //BA.debugLineNum = 5570653;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=5570654; + //BA.debugLineNum = 5570654;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=5570655; + //BA.debugLineNum = 5570655;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=5570656; + //BA.debugLineNum = 5570656;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_OUT = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); +RDebugUtils.currentLine=5570676; + //BA.debugLineNum = 5570676;BA.debugLine="skmt.ExecNonQuery2(\"update PEDIDO_INICIO_FINAL s"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update PEDIDO_INICIO_FINAL set PIF_HORA_FINAL = ? where PIF_CLIENTE = ? and PIF_HORA_FINAL = 0",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__c.DateTime.getNow()),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=5570678; + //BA.debugLineNum = 5570678;BA.debugLine="Subs.actualizaTET(la_cuenta.text)"; +_subs._actualizatet /*String*/ (ba,__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()); +RDebugUtils.currentLine=5570679; + //BA.debugLineNum = 5570679;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=5570683; + //BA.debugLineNum = 5570683;BA.debugLine="mandaPendientesrecarga"; +__ref._mandapendientesrecarga /*String*/ (null); +RDebugUtils.currentLine=5570684; + //BA.debugLineNum = 5570684;BA.debugLine="mandapiezasrecarga"; +__ref._mandapiezasrecarga /*String*/ (null); +RDebugUtils.currentLine=5570685; + //BA.debugLineNum = 5570685;BA.debugLine="B4XPages.MainPage.productos.reiniciarlistaProds"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*SHARK2.keymon.com.mx.c_productos*/ ._reiniciarlistaprods /*boolean*/ = __c.True; +RDebugUtils.currentLine=5570686; + //BA.debugLineNum = 5570686;BA.debugLine="B4XPages.MainPage.productos.prodsMap.Initialize"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*SHARK2.keymon.com.mx.c_productos*/ ._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=5570687; + //BA.debugLineNum = 5570687;BA.debugLine="B4XPages.MainPage.promos.promosMap.Initialize"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._promos /*SHARK2.keymon.com.mx.c_promos*/ ._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=5570688; + //BA.debugLineNum = 5570688;BA.debugLine="B4XPages.ShowPage(\"login\")"; +_b4xpages._showpage /*String*/ (ba,"login"); +RDebugUtils.currentLine=5570689; + //BA.debugLineNum = 5570689;BA.debugLine="B4XPages.MainPage.recarga = \"0\""; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ = "0"; + }} +; +RDebugUtils.currentLine=5570691; + //BA.debugLineNum = 5570691;BA.debugLine="End Sub"; +return ""; +} +public String _mandapiezas(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "mandapiezas", false)) + {return ((String) Debug.delegate(ba, "mandapiezas", null));} +String _pcnoarts = ""; +String _pcmonto = ""; +RDebugUtils.currentLine=7667712; + //BA.debugLineNum = 7667712;BA.debugLine="Sub mandapiezas"; +RDebugUtils.currentLine=7667713; + //BA.debugLineNum = 7667713;BA.debugLine="If l_total.Text <> Null Or l_total.Text <> \"null"; +if (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()!= null || (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null") == false) { +RDebugUtils.currentLine=7667714; + //BA.debugLineNum = 7667714;BA.debugLine="Dim PCNoArts As String"; +_pcnoarts = ""; +RDebugUtils.currentLine=7667715; + //BA.debugLineNum = 7667715;BA.debugLine="Dim PCMonto As String"; +_pcmonto = ""; +RDebugUtils.currentLine=7667716; + //BA.debugLineNum = 7667716;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CLIENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?",new String[]{__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()}))); +RDebugUtils.currentLine=7667717; + //BA.debugLineNum = 7667717;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=7667718; + //BA.debugLineNum = 7667718;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7667719; + //BA.debugLineNum = 7667719;BA.debugLine="Log(la_cuenta.Text&\", \"& ALMACEN&\", \"& LA_RUTA)"; +__c.LogImpl("57667719",__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+", "+__ref._almacen /*String*/ +", "+__ref._la_ruta /*String*/ ,0); +RDebugUtils.currentLine=7667720; + //BA.debugLineNum = 7667720;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=7667721; + //BA.debugLineNum = 7667721;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=7667722; + //BA.debugLineNum = 7667722;BA.debugLine="cmd.Name = \"select_piezas_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_piezas_SHARK2"; +RDebugUtils.currentLine=7667723; + //BA.debugLineNum = 7667723;BA.debugLine="cmd.Parameters = Array As Object(la_cuenta.Text"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._la_ruta /*String*/ )}; +RDebugUtils.currentLine=7667724; + //BA.debugLineNum = 7667724;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"piezas\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("piezas")); + }; + }; +RDebugUtils.currentLine=7667728; + //BA.debugLineNum = 7667728;BA.debugLine="End Sub"; +return ""; +} +public String _mandapendientepagare(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "mandapendientepagare", false)) + {return ((String) Debug.delegate(ba, "mandapendientepagare", null));} +int _i = 0; +RDebugUtils.currentLine=7471104; + //BA.debugLineNum = 7471104;BA.debugLine="Sub mandaPendientePagare"; +RDebugUtils.currentLine=7471105; + //BA.debugLineNum = 7471105;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ABONOS where ifnull(a_enviado, 0) <> 1"))); +RDebugUtils.currentLine=7471106; + //BA.debugLineNum = 7471106;BA.debugLine="Log($\"ABONO PENDIENTE: ${c.RowCount}\"$)"; +__c.LogImpl("57471106",("ABONO PENDIENTE: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+""),0); +RDebugUtils.currentLine=7471107; + //BA.debugLineNum = 7471107;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=7471108; + //BA.debugLineNum = 7471108;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=7471109; + //BA.debugLineNum = 7471109;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=7471110; + //BA.debugLineNum = 7471110;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=7471111; + //BA.debugLineNum = 7471111;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=7471112; + //BA.debugLineNum = 7471112;BA.debugLine="cmd.Name = \"insert_abono_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_abono_SHARK2"; +RDebugUtils.currentLine=7471113; + //BA.debugLineNum = 7471113;BA.debugLine="cmd.Parameters = Array As Object( c.GetString(\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_usuario")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_ruta")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_cliente")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_abono")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_fecha")),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=7471114; + //BA.debugLineNum = 7471114;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPen"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)(("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_cliente")))+""))); +RDebugUtils.currentLine=7471115; + //BA.debugLineNum = 7471115;BA.debugLine="Log($\"ins_abonosPendientes_${c.GetString(\"a_cli"; +__c.LogImpl("57471115",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("a_cliente")))+""),0); + } +}; + }; +RDebugUtils.currentLine=7471118; + //BA.debugLineNum = 7471118;BA.debugLine="End Sub"; +return ""; +} +public String _mandapendientesrecarga(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "mandapendientesrecarga", false)) + {return ((String) Debug.delegate(ba, "mandapendientesrecarga", null));} +String _pcnoarts = ""; +String _pcmonto = ""; +int _i = 0; +RDebugUtils.currentLine=7536640; + //BA.debugLineNum = 7536640;BA.debugLine="Sub mandaPendientesrecarga"; +RDebugUtils.currentLine=7536642; + //BA.debugLineNum = 7536642;BA.debugLine="Log(\">>>>>>> MANDA PENDIENTES\")"; +__c.LogImpl("57536642",">>>>>>> MANDA PENDIENTES",0); +RDebugUtils.currentLine=7536643; + //BA.debugLineNum = 7536643;BA.debugLine="Dim PCNoArts As String"; +_pcnoarts = ""; +RDebugUtils.currentLine=7536644; + //BA.debugLineNum = 7536644;BA.debugLine="Dim PCMonto As String"; +_pcmonto = ""; +RDebugUtils.currentLine=7536645; + //BA.debugLineNum = 7536645;BA.debugLine="If usuario <> \"KMTS1\" Then"; +if ((__ref._usuario /*String*/ ).equals("KMTS1") == false) { +RDebugUtils.currentLine=7536646; + //BA.debugLineNum = 7536646;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); +RDebugUtils.currentLine=7536647; + //BA.debugLineNum = 7536647;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7536648; + //BA.debugLineNum = 7536648;BA.debugLine="d = skmt.ExecQuery(\"SELECT * FROM PEDIDO_CLIENTE"; +__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)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PEDIDO_CLIENTE where PC_ENVIO_OK = 0 AND PC_CLIENTE = 1"))); +RDebugUtils.currentLine=7536649; + //BA.debugLineNum = 7536649;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM PEDIDO_CLIENTE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PEDIDO_CLIENTE where PC_ENVIO_OK = 0 AND PC_CLIENTE = 1"))); +RDebugUtils.currentLine=7536650; + //BA.debugLineNum = 7536650;BA.debugLine="Log($\"Pedido_Cliente PENDIENTE: ${c.RowCount}\"$)"; +__c.LogImpl("57536650",("Pedido_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+""),0); +RDebugUtils.currentLine=7536651; + //BA.debugLineNum = 7536651;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=7536652; + //BA.debugLineNum = 7536652;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step11 = 1; +final int limit11 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit11 ;_i = _i + step11 ) { +RDebugUtils.currentLine=7536653; + //BA.debugLineNum = 7536653;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=7536654; + //BA.debugLineNum = 7536654;BA.debugLine="Log($\"${c.GetString(\"PC_CLIENTE\")}|${c.GetStri"; +__c.LogImpl("57536654",(""+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")))+"|"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FECHA")))+"|"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_ENVIO_OK")))+"|"),0); +RDebugUtils.currentLine=7536655; + //BA.debugLineNum = 7536655;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=7536656; + //BA.debugLineNum = 7536656;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=7536657; + //BA.debugLineNum = 7536657;BA.debugLine="cmd.Name = \"insert_pedidos_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_pedidos_SHARK2"; +RDebugUtils.currentLine=7536658; + //BA.debugLineNum = 7536658;BA.debugLine="cmd.Parameters = Array As Object(\"0\", c.GetStr"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)("0"),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_USER")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_LON")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_LAT")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FACTURA"))}; +RDebugUtils.currentLine=7536659; + //BA.debugLineNum = 7536659;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +_pcnoarts = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"); +RDebugUtils.currentLine=7536660; + //BA.debugLineNum = 7536660;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +_pcmonto = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"); +RDebugUtils.currentLine=7536662; + //BA.debugLineNum = 7536662;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)(("ins_pedidosPendientes_head_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")))+""))); + } +}; + }; +RDebugUtils.currentLine=7536665; + //BA.debugLineNum = 7536665;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=7536667; + //BA.debugLineNum = 7536667;BA.debugLine="c = skmt.ExecQuery($\"SELECT PE_ENVIO_OK, PE_CEDI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT PE_ENVIO_OK, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS FROM PEDIDO where PE_ENVIO_OK <> 1 AND PE_FOLIO = 'RECARGA'")))); +RDebugUtils.currentLine=7536668; + //BA.debugLineNum = 7536668;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; +__c.LogImpl("57536668",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+""),0); +RDebugUtils.currentLine=7536669; + //BA.debugLineNum = 7536669;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=7536670; + //BA.debugLineNum = 7536670;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step27 = 1; +final int limit27 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit27 ;_i = _i + step27 ) { +RDebugUtils.currentLine=7536671; + //BA.debugLineNum = 7536671;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=7536672; + //BA.debugLineNum = 7536672;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=7536673; + //BA.debugLineNum = 7536673;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=7536674; + //BA.debugLineNum = 7536674;BA.debugLine="cmd.Name = \"insert_pedido3_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_pedido3_SHARK2"; +RDebugUtils.currentLine=7536675; + //BA.debugLineNum = 7536675;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)("0"),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)("ABORDO"),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANTC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_BCAJAS")),(Object)("RECARGA")}; +RDebugUtils.currentLine=7536676; + //BA.debugLineNum = 7536676;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)(("ins_pedidosPendientes_prods_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")))+"_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+""))); +RDebugUtils.currentLine=7536677; + //BA.debugLineNum = 7536677;BA.debugLine="Log($\">>>> INS_PEDIDO= ${C.GetString(\"PE_CEDI"; +__c.LogImpl("57536677",(">>>> INS_PEDIDO= "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")))+","+__c.SmartStringFormatter("",(Object)(__ref._almacen /*String*/ ))+","+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")))+","+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))+","+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")))+", "+__c.SmartStringFormatter("",(Object)(_pcnoarts))+", "+__c.SmartStringFormatter("",(Object)(_pcmonto))+""),0); + } +}; + }; + }; +RDebugUtils.currentLine=7536683; + //BA.debugLineNum = 7536683;BA.debugLine="End Sub"; +return ""; +} +public String _mandapiezasrecarga(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "mandapiezasrecarga", false)) + {return ((String) Debug.delegate(ba, "mandapiezasrecarga", null));} +String _pcnoarts = ""; +String _pcmonto = ""; +RDebugUtils.currentLine=7602176; + //BA.debugLineNum = 7602176;BA.debugLine="Sub mandapiezasrecarga"; +RDebugUtils.currentLine=7602177; + //BA.debugLineNum = 7602177;BA.debugLine="If l_total.Text <> Null Or l_total.Text <> \"null"; +if (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()!= null || (__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null") == false) { +RDebugUtils.currentLine=7602178; + //BA.debugLineNum = 7602178;BA.debugLine="Dim PCNoArts As String"; +_pcnoarts = ""; +RDebugUtils.currentLine=7602179; + //BA.debugLineNum = 7602179;BA.debugLine="Dim PCMonto As String"; +_pcmonto = ""; +RDebugUtils.currentLine=7602180; + //BA.debugLineNum = 7602180;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CLIENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?",new String[]{"1"}))); +RDebugUtils.currentLine=7602181; + //BA.debugLineNum = 7602181;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=7602182; + //BA.debugLineNum = 7602182;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7602183; + //BA.debugLineNum = 7602183;BA.debugLine="Log(la_cuenta.Text&\", \"& ALMACEN&\", \"& LA_RUTA)"; +__c.LogImpl("57602183",__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()+", "+__ref._almacen /*String*/ +", "+__ref._la_ruta /*String*/ ,0); +RDebugUtils.currentLine=7602184; + //BA.debugLineNum = 7602184;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=7602185; + //BA.debugLineNum = 7602185;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=7602186; + //BA.debugLineNum = 7602186;BA.debugLine="cmd.Name = \"select_piezas_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_piezas_SHARK2"; +RDebugUtils.currentLine=7602187; + //BA.debugLineNum = 7602187;BA.debugLine="cmd.Parameters = Array As Object(la_cuenta.Text"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._la_ruta /*String*/ )}; +RDebugUtils.currentLine=7602188; + //BA.debugLineNum = 7602188;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"piezasrecarga"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("piezasrecarga")); + }; + }; +RDebugUtils.currentLine=7602191; + //BA.debugLineNum = 7602191;BA.debugLine="End Sub"; +return ""; +} +public String _hist_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "hist_click", false)) + {return ((String) Debug.delegate(ba, "hist_click", null));} +RDebugUtils.currentLine=5701632; + //BA.debugLineNum = 5701632;BA.debugLine="Sub HIST_Click"; +RDebugUtils.currentLine=5701633; + //BA.debugLineNum = 5701633;BA.debugLine="B4XPages.ShowPage(\"Historico\")"; +_b4xpages._showpage /*String*/ (ba,"Historico"); +RDebugUtils.currentLine=5701634; + //BA.debugLineNum = 5701634;BA.debugLine="End Sub"; +return ""; +} +public String _traevendedor(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "traevendedor", false)) + {return ((String) Debug.delegate(ba, "traevendedor", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _pv = null; +String _preventa = ""; +RDebugUtils.currentLine=6291456; + //BA.debugLineNum = 6291456;BA.debugLine="Sub TraeVendedor As String"; +RDebugUtils.currentLine=6291458; + //BA.debugLineNum = 6291458;BA.debugLine="Private pv As Cursor"; +_pv = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=6291459; + //BA.debugLineNum = 6291459;BA.debugLine="Private Preventa As String = \"\""; +_preventa = ""; +RDebugUtils.currentLine=6291460; + //BA.debugLineNum = 6291460;BA.debugLine="pv = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT"; +_pv = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'nom_usuario'"))); +RDebugUtils.currentLine=6291461; + //BA.debugLineNum = 6291461;BA.debugLine="If pv.RowCount > 0 Then"; +if (_pv.getRowCount()>0) { +RDebugUtils.currentLine=6291462; + //BA.debugLineNum = 6291462;BA.debugLine="pv.Position = 0"; +_pv.setPosition((int) (0)); +RDebugUtils.currentLine=6291463; + //BA.debugLineNum = 6291463;BA.debugLine="Preventa = pv.GetString(\"CAT_VA_VALOR\")"; +_preventa = _pv.GetString("CAT_VA_VALOR"); + }; +RDebugUtils.currentLine=6291465; + //BA.debugLineNum = 6291465;BA.debugLine="pv.Close"; +_pv.Close(); +RDebugUtils.currentLine=6291466; + //BA.debugLineNum = 6291466;BA.debugLine="Return Preventa"; +if (true) return _preventa; +RDebugUtils.currentLine=6291467; + //BA.debugLineNum = 6291467;BA.debugLine="End Sub"; +return ""; +} +public String _traenumvendedor(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "traenumvendedor", false)) + {return ((String) Debug.delegate(ba, "traenumvendedor", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _np = null; +String _tel_preventa = ""; +RDebugUtils.currentLine=6356992; + //BA.debugLineNum = 6356992;BA.debugLine="Sub TraeNumVendedor As String"; +RDebugUtils.currentLine=6356993; + //BA.debugLineNum = 6356993;BA.debugLine="Private np As Cursor"; +_np = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=6356994; + //BA.debugLineNum = 6356994;BA.debugLine="Private Tel_Preventa As String = \"\""; +_tel_preventa = ""; +RDebugUtils.currentLine=6356995; + //BA.debugLineNum = 6356995;BA.debugLine="np = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT"; +_np = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'TELEFONO'"))); +RDebugUtils.currentLine=6356996; + //BA.debugLineNum = 6356996;BA.debugLine="If np.RowCount > 0 Then"; +if (_np.getRowCount()>0) { +RDebugUtils.currentLine=6356997; + //BA.debugLineNum = 6356997;BA.debugLine="np.Position = 0"; +_np.setPosition((int) (0)); +RDebugUtils.currentLine=6356998; + //BA.debugLineNum = 6356998;BA.debugLine="Tel_Preventa = np.GetString(\"CAT_VA_VALOR\")"; +_tel_preventa = _np.GetString("CAT_VA_VALOR"); + }; +RDebugUtils.currentLine=6357000; + //BA.debugLineNum = 6357000;BA.debugLine="np.Close"; +_np.Close(); +RDebugUtils.currentLine=6357001; + //BA.debugLineNum = 6357001;BA.debugLine="Return Tel_Preventa"; +if (true) return _tel_preventa; +RDebugUtils.currentLine=6357002; + //BA.debugLineNum = 6357002;BA.debugLine="End Sub"; +return ""; +} +public String _jobdone(SHARK2.keymon.com.mx.c_cliente __ref,SHARK2.keymon.com.mx.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} +SHARK2.keymon.com.mx.dbrequestmanager._dbresult _resultado = null; +String _cliente = ""; +Object[] _records = null; +String[] _pars = null; +int _piezasexiste = 0; +String _pcnoarts = ""; +String _pcmonto = ""; +String _k = ""; +String _idpreg = ""; +String _idresp = ""; +RDebugUtils.currentLine=7733248; + //BA.debugLineNum = 7733248;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=7733250; + //BA.debugLineNum = 7733250;BA.debugLine="If Job.Success = False Then"; +if (_job._success /*boolean*/ ==__c.False) { + }else { +RDebugUtils.currentLine=7733253; + //BA.debugLineNum = 7733253;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("57733253","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=7733254; + //BA.debugLineNum = 7733254;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=7733255; + //BA.debugLineNum = 7733255;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=7733256; + //BA.debugLineNum = 7733256;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_pedido"; +if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_pedidosPendientes_head_")>-1) { +RDebugUtils.currentLine=7733257; + //BA.debugLineNum = 7733257;BA.debugLine="Subs.logJobDoneResultados(resultado)"; +_subs._logjobdoneresultados /*String*/ (ba,_resultado); +RDebugUtils.currentLine=7733258; + //BA.debugLineNum = 7733258;BA.debugLine="Private cliente As String= resultado.Tag"; +_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); +RDebugUtils.currentLine=7733259; + //BA.debugLineNum = 7733259;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); +RDebugUtils.currentLine=7733261; + //BA.debugLineNum = 7733261;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group10 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen10 = group10.getSize() +;int index10 = 0; +; +for (; index10 < groupLen10;index10++){ +_records = (Object[])(group10.Get(index10)); +RDebugUtils.currentLine=7733262; + //BA.debugLineNum = 7733262;BA.debugLine="If records(resultado.Columns.Get(\"AffectedRow"; +if (((int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("AffectedRows"))))])))==1) { +RDebugUtils.currentLine=7733264; + //BA.debugLineNum = 7733264;BA.debugLine="Private pars() As String = Regex.Split(\"_\","; +_pars = __c.Regex.Split("_",BA.ObjectToString(_resultado.Tag /*Object*/ )); +RDebugUtils.currentLine=7733265; + //BA.debugLineNum = 7733265;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO_CLIENTE set PC_ENVIO_OK = 1 where PC_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_pars[(int) (3)]))+"'")); + }; + } +}; + }; + }; +RDebugUtils.currentLine=7733275; + //BA.debugLineNum = 7733275;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=7733276; + //BA.debugLineNum = 7733276;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=7733277; + //BA.debugLineNum = 7733277;BA.debugLine="If resultado.Tag = \"piezas\" Then 'query tag"; +if ((_resultado.Tag /*Object*/ ).equals((Object)("piezas"))) { +RDebugUtils.currentLine=7733279; + //BA.debugLineNum = 7733279;BA.debugLine="Dim piezasexiste As Int"; +_piezasexiste = 0; +RDebugUtils.currentLine=7733281; + //BA.debugLineNum = 7733281;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group22 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen22 = group22.getSize() +;int index22 = 0; +; +for (; index22 < groupLen22;index22++){ +_records = (Object[])(group22.Get(index22)); +RDebugUtils.currentLine=7733283; + //BA.debugLineNum = 7733283;BA.debugLine="piezasexiste = records(resultado.Columns.Get("; +_piezasexiste = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT(*)"))))])); +RDebugUtils.currentLine=7733284; + //BA.debugLineNum = 7733284;BA.debugLine="Log(piezasexiste)"; +__c.LogImpl("57733284",BA.NumberToString(_piezasexiste),0); +RDebugUtils.currentLine=7733285; + //BA.debugLineNum = 7733285;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=7733286; + //BA.debugLineNum = 7733286;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=7733287; + //BA.debugLineNum = 7733287;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=7733288; + //BA.debugLineNum = 7733288;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=7733289; + //BA.debugLineNum = 7733289;BA.debugLine="If piezasexiste = 0 Then"; +if (_piezasexiste==0) { +RDebugUtils.currentLine=7733291; + //BA.debugLineNum = 7733291;BA.debugLine="Dim PCNoArts As String"; +_pcnoarts = ""; +RDebugUtils.currentLine=7733292; + //BA.debugLineNum = 7733292;BA.debugLine="Dim PCMonto As String"; +_pcmonto = ""; +RDebugUtils.currentLine=7733293; + //BA.debugLineNum = 7733293;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?",new String[]{__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()}))); +RDebugUtils.currentLine=7733296; + //BA.debugLineNum = 7733296;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=7733297; + //BA.debugLineNum = 7733297;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7733298; + //BA.debugLineNum = 7733298;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +_pcnoarts = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"); +RDebugUtils.currentLine=7733299; + //BA.debugLineNum = 7733299;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +_pcmonto = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"); + }; +RDebugUtils.currentLine=7733302; + //BA.debugLineNum = 7733302;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=7733303; + //BA.debugLineNum = 7733303;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=7733304; + //BA.debugLineNum = 7733304;BA.debugLine="cmd.Name = \"insert_HVC_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_HVC_SHARK2"; +RDebugUtils.currentLine=7733305; + //BA.debugLineNum = 7733305;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(_pcnoarts),(Object)(_pcmonto),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._la_ruta /*String*/ )}; +RDebugUtils.currentLine=7733306; + //BA.debugLineNum = 7733306;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insert_hvc\""; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("insert_hvc")); + }else +{RDebugUtils.currentLine=7733309; + //BA.debugLineNum = 7733309;BA.debugLine="Else If piezasexiste = 1 Then"; +if (_piezasexiste==1) { +RDebugUtils.currentLine=7733310; + //BA.debugLineNum = 7733310;BA.debugLine="Dim PCNoArts As String"; +_pcnoarts = ""; +RDebugUtils.currentLine=7733311; + //BA.debugLineNum = 7733311;BA.debugLine="Dim PCMonto As String"; +_pcmonto = ""; +RDebugUtils.currentLine=7733312; + //BA.debugLineNum = 7733312;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?",new String[]{__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()}))); +RDebugUtils.currentLine=7733314; + //BA.debugLineNum = 7733314;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=7733315; + //BA.debugLineNum = 7733315;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7733316; + //BA.debugLineNum = 7733316;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +_pcnoarts = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"); +RDebugUtils.currentLine=7733317; + //BA.debugLineNum = 7733317;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +_pcmonto = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"); + }; +RDebugUtils.currentLine=7733319; + //BA.debugLineNum = 7733319;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=7733320; + //BA.debugLineNum = 7733320;BA.debugLine="cmd.Name = \"update_HVC_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "update_HVC_SHARK2"; +RDebugUtils.currentLine=7733321; + //BA.debugLineNum = 7733321;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(_pcnoarts),(Object)(_pcmonto),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._la_ruta /*String*/ ),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._la_ruta /*String*/ )}; +RDebugUtils.currentLine=7733322; + //BA.debugLineNum = 7733322;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvc\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("update_hvc")); + }} +; + } +}; + }; + }; +RDebugUtils.currentLine=7733331; + //BA.debugLineNum = 7733331;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=7733332; + //BA.debugLineNum = 7733332;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=7733333; + //BA.debugLineNum = 7733333;BA.debugLine="If resultado.Tag = \"piezasrecarga\" Then 'query"; +if ((_resultado.Tag /*Object*/ ).equals((Object)("piezasrecarga"))) { +RDebugUtils.currentLine=7733335; + //BA.debugLineNum = 7733335;BA.debugLine="Dim piezasexiste As Int"; +_piezasexiste = 0; +RDebugUtils.currentLine=7733336; + //BA.debugLineNum = 7733336;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group64 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen64 = group64.getSize() +;int index64 = 0; +; +for (; index64 < groupLen64;index64++){ +_records = (Object[])(group64.Get(index64)); +RDebugUtils.currentLine=7733337; + //BA.debugLineNum = 7733337;BA.debugLine="piezasexiste = records(resultado.Columns.Get("; +_piezasexiste = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT(*)"))))])); +RDebugUtils.currentLine=7733338; + //BA.debugLineNum = 7733338;BA.debugLine="Log(piezasexiste)"; +__c.LogImpl("57733338",BA.NumberToString(_piezasexiste),0); +RDebugUtils.currentLine=7733339; + //BA.debugLineNum = 7733339;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=7733340; + //BA.debugLineNum = 7733340;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=7733341; + //BA.debugLineNum = 7733341;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=7733342; + //BA.debugLineNum = 7733342;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=7733343; + //BA.debugLineNum = 7733343;BA.debugLine="If piezasexiste = 0 Then"; +if (_piezasexiste==0) { +RDebugUtils.currentLine=7733344; + //BA.debugLineNum = 7733344;BA.debugLine="Dim PCNoArts As String"; +_pcnoarts = ""; +RDebugUtils.currentLine=7733345; + //BA.debugLineNum = 7733345;BA.debugLine="Dim PCMonto As String"; +_pcmonto = ""; +RDebugUtils.currentLine=7733346; + //BA.debugLineNum = 7733346;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?",new String[]{"1"}))); +RDebugUtils.currentLine=7733347; + //BA.debugLineNum = 7733347;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=7733348; + //BA.debugLineNum = 7733348;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7733349; + //BA.debugLineNum = 7733349;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +_pcnoarts = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"); +RDebugUtils.currentLine=7733350; + //BA.debugLineNum = 7733350;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +_pcmonto = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"); + }; +RDebugUtils.currentLine=7733352; + //BA.debugLineNum = 7733352;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=7733353; + //BA.debugLineNum = 7733353;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=7733354; + //BA.debugLineNum = 7733354;BA.debugLine="cmd.Name = \"insert_HVC_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_HVC_SHARK2"; +RDebugUtils.currentLine=7733355; + //BA.debugLineNum = 7733355;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)("0"),(Object)(_pcnoarts),(Object)(_pcmonto),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._la_ruta /*String*/ )}; +RDebugUtils.currentLine=7733356; + //BA.debugLineNum = 7733356;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insert_hvc\""; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("insert_hvc")); + }else +{RDebugUtils.currentLine=7733358; + //BA.debugLineNum = 7733358;BA.debugLine="Else If piezasexiste = 1 Then"; +if (_piezasexiste==1) { +RDebugUtils.currentLine=7733359; + //BA.debugLineNum = 7733359;BA.debugLine="Dim PCNoArts As String"; +_pcnoarts = ""; +RDebugUtils.currentLine=7733360; + //BA.debugLineNum = 7733360;BA.debugLine="Dim PCMonto As String"; +_pcmonto = ""; +RDebugUtils.currentLine=7733361; + //BA.debugLineNum = 7733361;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?",new String[]{"1"}))); +RDebugUtils.currentLine=7733362; + //BA.debugLineNum = 7733362;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=7733363; + //BA.debugLineNum = 7733363;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=7733364; + //BA.debugLineNum = 7733364;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +_pcnoarts = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"); +RDebugUtils.currentLine=7733365; + //BA.debugLineNum = 7733365;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +_pcmonto = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"); + }; +RDebugUtils.currentLine=7733367; + //BA.debugLineNum = 7733367;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=7733368; + //BA.debugLineNum = 7733368;BA.debugLine="cmd.Name = \"update_HVC_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "update_HVC_SHARK2"; +RDebugUtils.currentLine=7733369; + //BA.debugLineNum = 7733369;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)("0"),(Object)(_pcnoarts),(Object)(_pcmonto),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._la_ruta /*String*/ ),(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._la_ruta /*String*/ )}; +RDebugUtils.currentLine=7733370; + //BA.debugLineNum = 7733370;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvc\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("update_hvc")); + }} +; + } +}; + }; + }; +RDebugUtils.currentLine=7733396; + //BA.debugLineNum = 7733396;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=7733397; + //BA.debugLineNum = 7733397;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=7733398; + //BA.debugLineNum = 7733398;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_abonos"; +if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_abonosPendientes_")>-1) { +RDebugUtils.currentLine=7733399; + //BA.debugLineNum = 7733399;BA.debugLine="Private cliente As String= resultado.Tag"; +_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); +RDebugUtils.currentLine=7733400; + //BA.debugLineNum = 7733400;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +_cliente = _cliente.substring((int) (_cliente.indexOf("_")+18)); +RDebugUtils.currentLine=7733401; + //BA.debugLineNum = 7733401;BA.debugLine="Log($\"Cliente2:${cliente}\"$)"; +__c.LogImpl("57733401",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +RDebugUtils.currentLine=7733402; + //BA.debugLineNum = 7733402;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group108 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen108 = group108.getSize() +;int index108 = 0; +; +for (; index108 < groupLen108;index108++){ +_records = (Object[])(group108.Get(index108)); +RDebugUtils.currentLine=7733403; + //BA.debugLineNum = 7733403;BA.debugLine="For Each k As String In resultado.Columns.Key"; +{ +final anywheresoftware.b4a.BA.IterableList group109 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen109 = group109.getSize() +;int index109 = 0; +; +for (; index109 < groupLen109;index109++){ +_k = BA.ObjectToString(group109.Get(index109)); +RDebugUtils.currentLine=7733404; + //BA.debugLineNum = 7733404;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +__c.LogImpl("57733404",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=7733407; + //BA.debugLineNum = 7733407;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE A"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE ABONOS set a_enviado = 1 where a_cliente = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"'")); + }; + }; +RDebugUtils.currentLine=7733412; + //BA.debugLineNum = 7733412;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=7733413; + //BA.debugLineNum = 7733413;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=7733414; + //BA.debugLineNum = 7733414;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"insert_cli"; +if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("insert_cliente_")>-1) { +RDebugUtils.currentLine=7733415; + //BA.debugLineNum = 7733415;BA.debugLine="Private cliente As String= resultado.Tag"; +_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); +RDebugUtils.currentLine=7733416; + //BA.debugLineNum = 7733416;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; +_cliente = _cliente.substring((int) (_cliente.indexOf("_")+9)); +RDebugUtils.currentLine=7733417; + //BA.debugLineNum = 7733417;BA.debugLine="Log($\"Cliente2:${cliente}\"$)"; +__c.LogImpl("57733417",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +RDebugUtils.currentLine=7733418; + //BA.debugLineNum = 7733418;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group122 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen122 = group122.getSize() +;int index122 = 0; +; +for (; index122 < groupLen122;index122++){ +_records = (Object[])(group122.Get(index122)); +RDebugUtils.currentLine=7733419; + //BA.debugLineNum = 7733419;BA.debugLine="For Each k As String In resultado.Columns.Key"; +{ +final anywheresoftware.b4a.BA.IterableList group123 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen123 = group123.getSize() +;int index123 = 0; +; +for (; index123 < groupLen123;index123++){ +_k = BA.ObjectToString(group123.Get(index123)); +RDebugUtils.currentLine=7733420; + //BA.debugLineNum = 7733420;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +__c.LogImpl("57733420",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=7733423; + //BA.debugLineNum = 7733423;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE C"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE CLIENTE_NUEVO set CN_enviado = 1 where CN_ID_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"'")); + }; + }; +RDebugUtils.currentLine=7733428; + //BA.debugLineNum = 7733428;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=7733429; + //BA.debugLineNum = 7733429;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=7733430; + //BA.debugLineNum = 7733430;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"insert_cue"; +if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("insert_cuestionario_")>-1) { +RDebugUtils.currentLine=7733431; + //BA.debugLineNum = 7733431;BA.debugLine="Private pars() As String = Regex.Split(\"_\", re"; +_pars = __c.Regex.Split("_",(BA.ObjectToString(_resultado.Tag /*Object*/ ))); +RDebugUtils.currentLine=7733432; + //BA.debugLineNum = 7733432;BA.debugLine="Log($\"${resultado.tag}|${pars(0)}\"$)"; +__c.LogImpl("57733432",(""+__c.SmartStringFormatter("",_resultado.Tag /*Object*/ )+"|"+__c.SmartStringFormatter("",(Object)(_pars[(int) (0)]))+""),0); +RDebugUtils.currentLine=7733433; + //BA.debugLineNum = 7733433;BA.debugLine="Log($\"${pars(1)}\"$)"; +__c.LogImpl("57733433",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (1)]))+""),0); +RDebugUtils.currentLine=7733434; + //BA.debugLineNum = 7733434;BA.debugLine="Log($\"${pars(2)}\"$)"; +__c.LogImpl("57733434",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (2)]))+""),0); +RDebugUtils.currentLine=7733435; + //BA.debugLineNum = 7733435;BA.debugLine="Log($\"${pars(3)}\"$)"; +__c.LogImpl("57733435",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (3)]))+""),0); +RDebugUtils.currentLine=7733436; + //BA.debugLineNum = 7733436;BA.debugLine="Log($\"${pars(4)}\"$)"; +__c.LogImpl("57733436",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (4)]))+""),0); +RDebugUtils.currentLine=7733437; + //BA.debugLineNum = 7733437;BA.debugLine="Private cliente As String = pars(2)"; +_cliente = _pars[(int) (2)]; +RDebugUtils.currentLine=7733438; + //BA.debugLineNum = 7733438;BA.debugLine="Private idPreg As String = pars(3)"; +_idpreg = _pars[(int) (3)]; +RDebugUtils.currentLine=7733439; + //BA.debugLineNum = 7733439;BA.debugLine="Private idResp As String = pars(4)"; +_idresp = _pars[(int) (4)]; +RDebugUtils.currentLine=7733440; + //BA.debugLineNum = 7733440;BA.debugLine="Log($\"Cliente2:${cliente}, preg:${idPreg}, res"; +__c.LogImpl("57733440",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+", preg:"+__c.SmartStringFormatter("",(Object)(_idpreg))+", res:"+__c.SmartStringFormatter("",(Object)(_idresp))+""),0); +RDebugUtils.currentLine=7733441; + //BA.debugLineNum = 7733441;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group143 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen143 = group143.getSize() +;int index143 = 0; +; +for (; index143 < groupLen143;index143++){ +_records = (Object[])(group143.Get(index143)); +RDebugUtils.currentLine=7733442; + //BA.debugLineNum = 7733442;BA.debugLine="For Each k As String In resultado.Columns.Key"; +{ +final anywheresoftware.b4a.BA.IterableList group144 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen144 = group144.getSize() +;int index144 = 0; +; +for (; index144 < groupLen144;index144++){ +_k = BA.ObjectToString(group144.Get(index144)); +RDebugUtils.currentLine=7733443; + //BA.debugLineNum = 7733443;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +__c.LogImpl("57733443",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=7733446; + //BA.debugLineNum = 7733446;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE C"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE CUESTIONARIO set Q_ENVIO_OK = 1 where Q_IDCLIENTE = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"' and Q_IDPREGUNTA='"+__c.SmartStringFormatter("",(Object)(_idpreg))+"' and Q_IDRESPUESTA='"+__c.SmartStringFormatter("",(Object)(_idresp))+"'")); + }; + }; +RDebugUtils.currentLine=7733450; + //BA.debugLineNum = 7733450;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); + }; +RDebugUtils.currentLine=7733453; + //BA.debugLineNum = 7733453;BA.debugLine="End Sub"; +return ""; +} +public String _l_atiende_longclick(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "l_atiende_longclick", false)) + {return ((String) Debug.delegate(ba, "l_atiende_longclick", null));} +RDebugUtils.currentLine=8585216; + //BA.debugLineNum = 8585216;BA.debugLine="Private Sub l_atiende_LongClick"; +RDebugUtils.currentLine=8585217; + //BA.debugLineNum = 8585217;BA.debugLine="p_atiende.Height = Root.Height"; +__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=8585218; + //BA.debugLineNum = 8585218;BA.debugLine="p_atiende.Width = Root.Width"; +__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=8585219; + //BA.debugLineNum = 8585219;BA.debugLine="p_atiende.Visible = True"; +__ref._p_atiende /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=8585220; + //BA.debugLineNum = 8585220;BA.debugLine="End Sub"; +return ""; +} +public String _l_giro_longclick(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "l_giro_longclick", false)) + {return ((String) Debug.delegate(ba, "l_giro_longclick", null));} +anywheresoftware.b4a.objects.collections.List _items = null; +int _i = 0; +RDebugUtils.currentLine=8847360; + //BA.debugLineNum = 8847360;BA.debugLine="Private Sub l_giro_LongClick"; +RDebugUtils.currentLine=8847361; + //BA.debugLineNum = 8847361;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT GIRO FROM CAT_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT GIRO FROM CAT_GIRO order by 1"))); +RDebugUtils.currentLine=8847362; + //BA.debugLineNum = 8847362;BA.debugLine="Dim Items As List"; +_items = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=8847363; + //BA.debugLineNum = 8847363;BA.debugLine="Items.Initialize"; +_items.Initialize(); +RDebugUtils.currentLine=8847364; + //BA.debugLineNum = 8847364;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCIÓN\")"; +_items.Add((Object)("SELECCIONA UNA OPCIÓN")); +RDebugUtils.currentLine=8847365; + //BA.debugLineNum = 8847365;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=8847366; + //BA.debugLineNum = 8847366;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=8847367; + //BA.debugLineNum = 8847367;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=8847368; + //BA.debugLineNum = 8847368;BA.debugLine="Items.Add(c.GetString(\"GIRO\"))"; +_items.Add((Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("GIRO"))); + } +}; +RDebugUtils.currentLine=8847370; + //BA.debugLineNum = 8847370;BA.debugLine="cb_giro.SetItems(Items)"; +__ref._cb_giro /*SHARK2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items); + }; +RDebugUtils.currentLine=8847372; + //BA.debugLineNum = 8847372;BA.debugLine="giros = \"SELECCIONA UNA OPCIÓN\""; +__ref._giros /*String*/ = "SELECCIONA UNA OPCIÓN"; +RDebugUtils.currentLine=8847373; + //BA.debugLineNum = 8847373;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=8847374; + //BA.debugLineNum = 8847374;BA.debugLine="p_giro.Height = Root.Height"; +__ref._p_giro /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=8847375; + //BA.debugLineNum = 8847375;BA.debugLine="p_giro.Width = Root.Width"; +__ref._p_giro /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=8847376; + //BA.debugLineNum = 8847376;BA.debugLine="p_giro.Visible = True"; +__ref._p_giro /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=8847377; + //BA.debugLineNum = 8847377;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemlongclick(SHARK2.keymon.com.mx.c_cliente __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=4849664; + //BA.debugLineNum = 4849664;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=4849666; + //BA.debugLineNum = 4849666;BA.debugLine="End Sub"; +return ""; +} +public String _mandapendientes(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "mandapendientes", false)) + {return ((String) Debug.delegate(ba, "mandapendientes", null));} +String _pcnoarts = ""; +String _pcmonto = ""; +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _ab = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _bb = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cb = null; +RDebugUtils.currentLine=7405568; + //BA.debugLineNum = 7405568;BA.debugLine="Sub mandaPendientes"; +RDebugUtils.currentLine=7405570; + //BA.debugLineNum = 7405570;BA.debugLine="Log(\">>>>>>> MANDA PENDIENTES\")"; +__c.LogImpl("57405570",">>>>>>> MANDA PENDIENTES",0); +RDebugUtils.currentLine=7405571; + //BA.debugLineNum = 7405571;BA.debugLine="Dim PCNoArts As String"; +_pcnoarts = ""; +RDebugUtils.currentLine=7405572; + //BA.debugLineNum = 7405572;BA.debugLine="Dim PCMonto As String"; +_pcmonto = ""; +RDebugUtils.currentLine=7405573; + //BA.debugLineNum = 7405573;BA.debugLine="If usuario <> \"KMTS1\" Then"; +if ((__ref._usuario /*String*/ ).equals("KMTS1") == false) { +RDebugUtils.currentLine=7405592; + //BA.debugLineNum = 7405592;BA.debugLine="c = skmt.ExecQuery($\"SELECT PE_ENVIO_OK, PE_CEDI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT PE_ENVIO_OK, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS FROM PEDIDO where PE_ENVIO_OK <> 1")))); +RDebugUtils.currentLine=7405593; + //BA.debugLineNum = 7405593;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; +__c.LogImpl("57405593",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+""),0); +RDebugUtils.currentLine=7405594; + //BA.debugLineNum = 7405594;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=7405595; + //BA.debugLineNum = 7405595;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step8 = 1; +final int limit8 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit8 ;_i = _i + step8 ) { +RDebugUtils.currentLine=7405596; + //BA.debugLineNum = 7405596;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=7405597; + //BA.debugLineNum = 7405597;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=7405598; + //BA.debugLineNum = 7405598;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=7405599; + //BA.debugLineNum = 7405599;BA.debugLine="cmd.Name = \"insert_pedido2_SHARK2P3\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_pedido2_SHARK2P3"; +RDebugUtils.currentLine=7405600; + //BA.debugLineNum = 7405600;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANTC")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_BCAJAS"))}; +RDebugUtils.currentLine=7405601; + //BA.debugLineNum = 7405601;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)(("ins_pedidosPendientes_prods_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")))+"_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+""))); +RDebugUtils.currentLine=7405602; + //BA.debugLineNum = 7405602;BA.debugLine="Log($\">>>> INS_PEDIDO= ${C.GetString(\"PE_CEDI"; +__c.LogImpl("57405602",(">>>> INS_PEDIDO= "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")))+","+__c.SmartStringFormatter("",(Object)(__ref._almacen /*String*/ ))+","+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")))+","+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")))+","+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FECHA")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_USUARIO")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_RUTA")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")))+", "+__c.SmartStringFormatter("",(Object)(_pcnoarts))+", "+__c.SmartStringFormatter("",(Object)(_pcmonto))+""),0); + } +}; + }; +RDebugUtils.currentLine=7405609; + //BA.debugLineNum = 7405609;BA.debugLine="Dim ab As Cursor = B4XPages.MainPage.skmt.ExecQu"; +_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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * from ABONOS where a_enviado is null")))); +RDebugUtils.currentLine=7405610; + //BA.debugLineNum = 7405610;BA.debugLine="Log(ab.RowCount)"; +__c.LogImpl("57405610",BA.NumberToString(_ab.getRowCount()),0); +RDebugUtils.currentLine=7405611; + //BA.debugLineNum = 7405611;BA.debugLine="If ab.RowCount > 0 Then"; +if (_ab.getRowCount()>0) { +RDebugUtils.currentLine=7405612; + //BA.debugLineNum = 7405612;BA.debugLine="For i=0 To ab.RowCount -1"; +{ +final int step21 = 1; +final int limit21 = (int) (_ab.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit21 ;_i = _i + step21 ) { +RDebugUtils.currentLine=7405613; + //BA.debugLineNum = 7405613;BA.debugLine="ab.Position = i"; +_ab.setPosition(_i); +RDebugUtils.currentLine=7405614; + //BA.debugLineNum = 7405614;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=7405615; + //BA.debugLineNum = 7405615;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=7405616; + //BA.debugLineNum = 7405616;BA.debugLine="cmd.Name = \"insert_abono_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_abono_SHARK2"; +RDebugUtils.currentLine=7405617; + //BA.debugLineNum = 7405617;BA.debugLine="cmd.Parameters = Array As Object( ab.GetString"; +__ref._cmd /*SHARK2.keymon.com.mx.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*/ )}; +RDebugUtils.currentLine=7405618; + //BA.debugLineNum = 7405618;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPe"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)(("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""))); +RDebugUtils.currentLine=7405619; + //BA.debugLineNum = 7405619;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_c"; +__c.LogImpl("57405619",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0); + } +}; + }; +RDebugUtils.currentLine=7405622; + //BA.debugLineNum = 7405622;BA.debugLine="ab.Close"; +_ab.Close(); +RDebugUtils.currentLine=7405625; + //BA.debugLineNum = 7405625;BA.debugLine="Dim bb As Cursor = B4XPages.MainPage.skmt.ExecQu"; +_bb = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_bb = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * from CLIENTE_NUEVO where CN_enviado is null")))); +RDebugUtils.currentLine=7405626; + //BA.debugLineNum = 7405626;BA.debugLine="Dim cb As Cursor = B4XPages.MainPage.skmt.ExecQu"; +_cb = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cb = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=7405627; + //BA.debugLineNum = 7405627;BA.debugLine="cb.Position = 0"; +_cb.setPosition((int) (0)); +RDebugUtils.currentLine=7405628; + //BA.debugLineNum = 7405628;BA.debugLine="If bb.RowCount > 0 Then"; +if (_bb.getRowCount()>0) { +RDebugUtils.currentLine=7405629; + //BA.debugLineNum = 7405629;BA.debugLine="For i=0 To bb.RowCount -1"; +{ +final int step36 = 1; +final int limit36 = (int) (_bb.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit36 ;_i = _i + step36 ) { +RDebugUtils.currentLine=7405630; + //BA.debugLineNum = 7405630;BA.debugLine="bb.Position = i"; +_bb.setPosition(_i); +RDebugUtils.currentLine=7405631; + //BA.debugLineNum = 7405631;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=7405632; + //BA.debugLineNum = 7405632;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=7405633; + //BA.debugLineNum = 7405633;BA.debugLine="cmd.Name = \"insert_cliente_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_cliente_SHARK2"; +RDebugUtils.currentLine=7405634; + //BA.debugLineNum = 7405634;BA.debugLine="cmd.Parameters = Array As Object( bb.GetString"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(_bb.GetString("CN_ID_CLIENTE")),(Object)(_bb.GetString("CN_NOMBRE")),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._principal /*SHARK2.keymon.com.mx.c_principal*/ ._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(_cb.GetString("ID_ALMACEN"))}; +RDebugUtils.currentLine=7405635; + //BA.debugLineNum = 7405635;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"insert_clien"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)(("insert_cliente_"+__c.SmartStringFormatter("",(Object)(_bb.GetString("CN_ID_CLIENTE")))+""))); +RDebugUtils.currentLine=7405636; + //BA.debugLineNum = 7405636;BA.debugLine="Log($\"insert_cliente_${bb.GetString(\"CN_ID_CLI"; +__c.LogImpl("57405636",("insert_cliente_"+__c.SmartStringFormatter("",(Object)(_bb.GetString("CN_ID_CLIENTE")))+""),0); + } +}; +RDebugUtils.currentLine=7405638; + //BA.debugLineNum = 7405638;BA.debugLine="Log(\"si lo hice\")"; +__c.LogImpl("57405638","si lo hice",0); + }; +RDebugUtils.currentLine=7405640; + //BA.debugLineNum = 7405640;BA.debugLine="bb.Close"; +_bb.Close(); +RDebugUtils.currentLine=7405641; + //BA.debugLineNum = 7405641;BA.debugLine="cb.Close"; +_cb.Close(); + }; +RDebugUtils.currentLine=7405676; + //BA.debugLineNum = 7405676;BA.debugLine="End Sub"; +return ""; +} +public String _mods(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "mods", false)) + {return ((String) Debug.delegate(ba, "mods", null));} +RDebugUtils.currentLine=4456448; + //BA.debugLineNum = 4456448;BA.debugLine="Sub MODS 'ignore"; +RDebugUtils.currentLine=4456450; + //BA.debugLineNum = 4456450;BA.debugLine="End Sub"; +return ""; +} +public String _nuevo_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "nuevo_click", false)) + {return ((String) Debug.delegate(ba, "nuevo_click", null));} +RDebugUtils.currentLine=5636096; + //BA.debugLineNum = 5636096;BA.debugLine="Sub NUEVO_Click"; +RDebugUtils.currentLine=5636097; + //BA.debugLineNum = 5636097;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +_b4xpages._showpage /*String*/ (ba,"NuevoCliente"); +RDebugUtils.currentLine=5636098; + //BA.debugLineNum = 5636098;BA.debugLine="End Sub"; +return ""; +} +public String _p_abono_click(SHARK2.keymon.com.mx.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=7798784; + //BA.debugLineNum = 7798784;BA.debugLine="Private Sub p_abono_Click"; +RDebugUtils.currentLine=7798786; + //BA.debugLineNum = 7798786;BA.debugLine="End Sub"; +return ""; +} +public String _p_atiende_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_atiende_click", false)) + {return ((String) Debug.delegate(ba, "p_atiende_click", null));} +RDebugUtils.currentLine=8781824; + //BA.debugLineNum = 8781824;BA.debugLine="Private Sub p_atiende_Click"; +RDebugUtils.currentLine=8781826; + //BA.debugLineNum = 8781826;BA.debugLine="End Sub"; +return ""; +} +public String _p_cliente_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_cliente_click", false)) + {return ((String) Debug.delegate(ba, "p_cliente_click", null));} +RDebugUtils.currentLine=7274496; + //BA.debugLineNum = 7274496;BA.debugLine="Private Sub p_cliente_Click"; +RDebugUtils.currentLine=7274498; + //BA.debugLineNum = 7274498;BA.debugLine="End Sub"; +return ""; +} +public String _p_giro_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "p_giro_click", false)) + {return ((String) Debug.delegate(ba, "p_giro_click", null));} +RDebugUtils.currentLine=9109504; + //BA.debugLineNum = 9109504;BA.debugLine="Private Sub p_giro_Click"; +RDebugUtils.currentLine=9109506; + //BA.debugLineNum = 9109506;BA.debugLine="End Sub"; +return ""; +} +public String _printer_connected(SHARK2.keymon.com.mx.c_cliente __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "printer_connected", false)) + {return ((String) Debug.delegate(ba, "printer_connected", new Object[] {_success}));} +RDebugUtils.currentLine=6684672; + //BA.debugLineNum = 6684672;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; +RDebugUtils.currentLine=6684673; + //BA.debugLineNum = 6684673;BA.debugLine="If Success Then"; +if (_success) { + }else { +RDebugUtils.currentLine=6684678; + //BA.debugLineNum = 6684678;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=6684679; + //BA.debugLineNum = 6684679;BA.debugLine="StartPrinter"; +__ref._startprinter /*String*/ (null); + }; + }; +RDebugUtils.currentLine=6684682; + //BA.debugLineNum = 6684682;BA.debugLine="End Sub"; +return ""; +} +public String _startprinter(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "startprinter", false)) + {return ((String) Debug.delegate(ba, "startprinter", null));} +anywheresoftware.b4a.objects.collections.List _l1 = null; +int _resimp = 0; +int _i = 0; +RDebugUtils.currentLine=6750208; + //BA.debugLineNum = 6750208;BA.debugLine="Sub StartPrinter"; +RDebugUtils.currentLine=6750209; + //BA.debugLineNum = 6750209;BA.debugLine="Dim PairedDevices As Map"; +_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=6750210; + //BA.debugLineNum = 6750210;BA.debugLine="Dim L1 As List"; +_l1 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=6750211; + //BA.debugLineNum = 6750211;BA.debugLine="Dim resimp As Int"; +_resimp = 0; +RDebugUtils.currentLine=6750212; + //BA.debugLineNum = 6750212;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Printing....."),__c.True); +RDebugUtils.currentLine=6750213; + //BA.debugLineNum = 6750213;BA.debugLine="PairedDevices.Initialize"; +__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=6750214; + //BA.debugLineNum = 6750214;BA.debugLine="Try"; +try {RDebugUtils.currentLine=6750215; + //BA.debugLineNum = 6750215;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=6750217; + //BA.debugLineNum = 6750217;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; +__c.Msgbox(BA.ObjectToCharSequence("Getting Paired Devices"),BA.ObjectToCharSequence("Printer Error"),ba); +RDebugUtils.currentLine=6750218; + //BA.debugLineNum = 6750218;BA.debugLine="printer.Close"; +__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close(); +RDebugUtils.currentLine=6750219; + //BA.debugLineNum = 6750219;BA.debugLine="cmp20.Disconnect"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); + }; +RDebugUtils.currentLine=6750222; + //BA.debugLineNum = 6750222;BA.debugLine="If PairedDevices.Size = 0 Then"; +if (__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .getSize()==0) { +RDebugUtils.currentLine=6750223; + //BA.debugLineNum = 6750223;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=6750224; + //BA.debugLineNum = 6750224;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=6750227; + //BA.debugLineNum = 6750227;BA.debugLine="If PairedDevices.Size = 1 Then"; +if (__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .getSize()==1) { +RDebugUtils.currentLine=6750228; + //BA.debugLineNum = 6750228;BA.debugLine="Try"; +try {RDebugUtils.currentLine=6750229; + //BA.debugLineNum = 6750229;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=6750231; + //BA.debugLineNum = 6750231;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore"; +__c.Msgbox(BA.ObjectToCharSequence("Connecting"),BA.ObjectToCharSequence("Printer Error"),ba); +RDebugUtils.currentLine=6750232; + //BA.debugLineNum = 6750232;BA.debugLine="printer.Close"; +__ref._printer /*anywheresoftware.b4a.objects.streams.File.TextWriterWrapper*/ .Close(); +RDebugUtils.currentLine=6750233; + //BA.debugLineNum = 6750233;BA.debugLine="cmp20.Disconnect"; +__ref._cmp20 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); + }; + }else { +RDebugUtils.currentLine=6750236; + //BA.debugLineNum = 6750236;BA.debugLine="L1.Initialize"; +_l1.Initialize(); +RDebugUtils.currentLine=6750237; + //BA.debugLineNum = 6750237;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=6750238; + //BA.debugLineNum = 6750238;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))"; +_l1.Add(__ref._paireddevices /*anywheresoftware.b4a.objects.collections.Map*/ .GetKeyAt(_i)); + } +}; +RDebugUtils.currentLine=6750240; + //BA.debugLineNum = 6750240;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign"; +_resimp = __c.InputList(_l1,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba); +RDebugUtils.currentLine=6750241; + //BA.debugLineNum = 6750241;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; +if (_resimp!=__c.DialogResponse.CANCEL) { +RDebugUtils.currentLine=6750242; + //BA.debugLineNum = 6750242;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=6750245; + //BA.debugLineNum = 6750245;BA.debugLine="End Sub"; +return ""; +} +public String _printer1_connected(SHARK2.keymon.com.mx.c_cliente __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "printer1_connected", false)) + {return ((String) Debug.delegate(ba, "printer1_connected", new Object[] {_success}));} +RDebugUtils.currentLine=6553600; + //BA.debugLineNum = 6553600;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; +RDebugUtils.currentLine=6553602; + //BA.debugLineNum = 6553602;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=6553603; + //BA.debugLineNum = 6553603;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False); +RDebugUtils.currentLine=6553604; + //BA.debugLineNum = 6553604;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=6553605; + //BA.debugLineNum = 6553605;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=6553608; + //BA.debugLineNum = 6553608;BA.debugLine="impresoraConectada = True"; +__ref._impresoraconectada /*boolean*/ = __c.True; + }else { +RDebugUtils.currentLine=6553612; + //BA.debugLineNum = 6553612;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; +__c.LogImpl("56553612","Error conectando la impresora",__c.Colors.Red); +RDebugUtils.currentLine=6553613; + //BA.debugLineNum = 6553613;BA.debugLine="errorImpresora = errorImpresora + 1"; +__ref._errorimpresora /*int*/ = (int) (__ref._errorimpresora /*int*/ +1); +RDebugUtils.currentLine=6553614; + //BA.debugLineNum = 6553614;BA.debugLine="If errorImpresora > 1 Then"; +if (__ref._errorimpresora /*int*/ >1) { +RDebugUtils.currentLine=6553615; + //BA.debugLineNum = 6553615;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; +_starter._mac_impresora /*String*/ = "0"; +RDebugUtils.currentLine=6553616; + //BA.debugLineNum = 6553616;BA.debugLine="errorImpresora = 0"; +__ref._errorimpresora /*int*/ = (int) (0); + }; + }; +RDebugUtils.currentLine=6553619; + //BA.debugLineNum = 6553619;BA.debugLine="End Sub"; +return ""; +} +public String _printer1_error(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "printer1_error", false)) + {return ((String) Debug.delegate(ba, "printer1_error", null));} +RDebugUtils.currentLine=6619136; + //BA.debugLineNum = 6619136;BA.debugLine="Sub Printer1_Error"; +RDebugUtils.currentLine=6619137; + //BA.debugLineNum = 6619137;BA.debugLine="Log(\"error printer\")"; +__c.LogImpl("56619137","error printer",0); +RDebugUtils.currentLine=6619138; + //BA.debugLineNum = 6619138;BA.debugLine="End Sub"; +return ""; +} +public String _rb1_checkedchange(SHARK2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "rb1_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb1_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=7012352; + //BA.debugLineNum = 7012352;BA.debugLine="Sub RB1_CheckedChange(Checked As Boolean)"; +RDebugUtils.currentLine=7012353; + //BA.debugLineNum = 7012353;BA.debugLine="If RB1.Checked = True Then"; +if (__ref._rb1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { +RDebugUtils.currentLine=7012354; + //BA.debugLineNum = 7012354;BA.debugLine="E_RES_E.Text = \"CENTRAL DE ABASTOS\""; +__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("CENTRAL DE ABASTOS")); + }; +RDebugUtils.currentLine=7012356; + //BA.debugLineNum = 7012356;BA.debugLine="End Sub"; +return ""; +} +public String _rb2_checkedchange(SHARK2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "rb2_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb2_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=7077888; + //BA.debugLineNum = 7077888;BA.debugLine="Sub RB2_CheckedChange(Checked As Boolean)"; +RDebugUtils.currentLine=7077889; + //BA.debugLineNum = 7077889;BA.debugLine="If RB2.Checked = True Then"; +if (__ref._rb2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { +RDebugUtils.currentLine=7077890; + //BA.debugLineNum = 7077890;BA.debugLine="E_RES_E.Text = \"AUTOSERVICIO\""; +__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("AUTOSERVICIO")); + }; +RDebugUtils.currentLine=7077892; + //BA.debugLineNum = 7077892;BA.debugLine="End Sub"; +return ""; +} +public String _rb3_checkedchange(SHARK2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "rb3_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb3_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=7143424; + //BA.debugLineNum = 7143424;BA.debugLine="Sub RB3_CheckedChange(Checked As Boolean)"; +RDebugUtils.currentLine=7143425; + //BA.debugLineNum = 7143425;BA.debugLine="If RB3.Checked = True Then"; +if (__ref._rb3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { +RDebugUtils.currentLine=7143426; + //BA.debugLineNum = 7143426;BA.debugLine="E_RES_E.Text = \"CLUB DE PRECIO\""; +__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("CLUB DE PRECIO")); + }; +RDebugUtils.currentLine=7143428; + //BA.debugLineNum = 7143428;BA.debugLine="End Sub"; +return ""; +} +public String _rb4_checkedchange(SHARK2.keymon.com.mx.c_cliente __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "rb4_checkedchange", false)) + {return ((String) Debug.delegate(ba, "rb4_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=7208960; + //BA.debugLineNum = 7208960;BA.debugLine="Sub RB4_CheckedChange(Checked As Boolean)"; +RDebugUtils.currentLine=7208961; + //BA.debugLineNum = 7208961;BA.debugLine="If RB4.Checked = True Then"; +if (__ref._rb4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()==__c.True) { +RDebugUtils.currentLine=7208962; + //BA.debugLineNum = 7208962;BA.debugLine="E_RES_E.Text = \"DIRECTO PEDEGREE\""; +__ref._e_res_e /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("DIRECTO PEDEGREE")); + }; +RDebugUtils.currentLine=7208964; + //BA.debugLineNum = 7208964;BA.debugLine="End Sub"; +return ""; +} +public void _sc_result(SHARK2.keymon.com.mx.c_cliente __ref,String _atype,String _values,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) throws Exception{ +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "sc_result", false)) + {Debug.delegate(ba, "sc_result", new Object[] {_atype,_values,_image}); return;} +ResumableSub_sc_result rsub = new ResumableSub_sc_result(this,__ref,_atype,_values,_image); +rsub.resume(ba, null); +} +public static class ResumableSub_sc_result extends BA.ResumableSub { +public ResumableSub_sc_result(SHARK2.keymon.com.mx.c_cliente parent,SHARK2.keymon.com.mx.c_cliente __ref,String _atype,String _values,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) { +this.parent = parent; +this.__ref = __ref; +this._atype = _atype; +this._values = _values; +this._image = _image; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_cliente __ref; +SHARK2.keymon.com.mx.c_cliente parent; +String _atype; +String _values; +anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image; +int _resultado = 0; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_cliente"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=5832707; + //BA.debugLineNum = 5832707;BA.debugLine="CODIGO = Values"; +__ref._codigo /*String*/ = _values; +RDebugUtils.currentLine=5832708; + //BA.debugLineNum = 5832708;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM kmt_info WHERE CAT_CL_NUM_SERIEFISICO = ?",new String[]{__ref._codigo /*String*/ }))); +RDebugUtils.currentLine=5832709; + //BA.debugLineNum = 5832709;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=5832710; + //BA.debugLineNum = 5832710;BA.debugLine="If DD.GetString(\"CUANTOS\") > 0 Then"; +if (true) break; + +case 1: +//if +this.state = 16; +if ((double)(Double.parseDouble(__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 16; +RDebugUtils.currentLine=5832711; + //BA.debugLineNum = 5832711;BA.debugLine="MsgboxAsync(\"Código ya asignado\", \"AVISO\")"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Código ya asignado"),BA.ObjectToCharSequence("AVISO"),ba); + if (true) break; + +case 5: +//C +this.state = 6; +RDebugUtils.currentLine=5832713; + //BA.debugLineNum = 5832713;BA.debugLine="If CODIGO.Length = 7 Then"; +if (true) break; + +case 6: +//if +this.state = 15; +if (__ref._codigo /*String*/ .length()==7) { +this.state = 8; +}else { +this.state = 14; +}if (true) break; + +case 8: +//C +this.state = 9; +RDebugUtils.currentLine=5832714; + //BA.debugLineNum = 5832714;BA.debugLine="Msgbox2Async(\"El código \"& CODIGO & \" es correc"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El código "+__ref._codigo /*String*/ +" es correcto?"),BA.ObjectToCharSequence("Title"),"Yes","Cancel","No",(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(parent.__c.Null)),ba,parent.__c.False); +RDebugUtils.currentLine=5832715; + //BA.debugLineNum = 5832715;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_cliente", "sc_result"), null); +this.state = 17; +return; +case 17: +//C +this.state = 9; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=5832716; + //BA.debugLineNum = 5832716;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 9: +//if +this.state = 12; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 11; +}if (true) break; + +case 11: +//C +this.state = 12; +RDebugUtils.currentLine=5832717; + //BA.debugLineNum = 5832717;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE k"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info set CAT_CL_NUM_SERIEFISICO = ?, CAT_CL_LONG = ?, CAT_CL_LAT =? where CAT_CL_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._codigo /*String*/ ),(Object)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=5832718; + //BA.debugLineNum = 5832718;BA.debugLine="L_QR.TEXT =CODIGO"; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._codigo /*String*/ )); +RDebugUtils.currentLine=5832719; + //BA.debugLineNum = 5832719;BA.debugLine="L_QR.TextColor = Colors.Blue"; +__ref._l_qr /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(parent.__c.Colors.Blue); +RDebugUtils.currentLine=5832720; + //BA.debugLineNum = 5832720;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert i"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_CODIGO_BARRAS(CODIGOKMTS, CODIGOB, LAT, LON) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._codigo /*String*/ ),(Object)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); + if (true) break; + +case 12: +//C +this.state = 15; +; + if (true) break; + +case 14: +//C +this.state = 15; +RDebugUtils.currentLine=5832723; + //BA.debugLineNum = 5832723;BA.debugLine="MsgboxAsync(\"Código No Valido\", \"AVISO\")"; +parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Código No Valido"),BA.ObjectToCharSequence("AVISO"),ba); + if (true) break; + +case 15: +//C +this.state = 16; +; + if (true) break; + +case 16: +//C +this.state = -1; +; +RDebugUtils.currentLine=5832726; + //BA.debugLineNum = 5832726;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=5832727; + //BA.debugLineNum = 5832727;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _sc_timedout(SHARK2.keymon.com.mx.c_cliente __ref,boolean _timedout) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "sc_timedout", false)) + {return ((String) Debug.delegate(ba, "sc_timedout", new Object[] {_timedout}));} +RDebugUtils.currentLine=5898240; + //BA.debugLineNum = 5898240;BA.debugLine="Sub sc_timedout(timedOut As Boolean)"; +RDebugUtils.currentLine=5898241; + //BA.debugLineNum = 5898241;BA.debugLine="Log(\"timedOut \" & timedOut)"; +__c.LogImpl("55898241","timedOut "+BA.ObjectToString(_timedout),0); +RDebugUtils.currentLine=5898242; + //BA.debugLineNum = 5898242;BA.debugLine="End Sub"; +return ""; +} +public String _sc_usercancelled(SHARK2.keymon.com.mx.c_cliente __ref,boolean _usercancelled) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "sc_usercancelled", false)) + {return ((String) Debug.delegate(ba, "sc_usercancelled", new Object[] {_usercancelled}));} +RDebugUtils.currentLine=5963776; + //BA.debugLineNum = 5963776;BA.debugLine="Sub sc_usercancelled(userCancelled As Boolean)"; +RDebugUtils.currentLine=5963777; + //BA.debugLineNum = 5963777;BA.debugLine="Log(\"userCancelled \" & userCancelled)"; +__c.LogImpl("55963777","userCancelled "+BA.ObjectToString(_usercancelled),0); +RDebugUtils.currentLine=5963778; + //BA.debugLineNum = 5963778;BA.debugLine="End Sub"; +return ""; +} +public String _t1_tick(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "t1_tick", false)) + {return ((String) Debug.delegate(ba, "t1_tick", null));} +RDebugUtils.currentLine=6225920; + //BA.debugLineNum = 6225920;BA.debugLine="Sub T1_Tick"; +RDebugUtils.currentLine=6225923; + //BA.debugLineNum = 6225923;BA.debugLine="s = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE ("; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE (PE_FOLIO = ? OR PE_FOLIO = ?) AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",new String[]{"PREVENTA_CONTADO","PREVENTA_CREDITO"}))); +RDebugUtils.currentLine=6225925; + //BA.debugLineNum = 6225925;BA.debugLine="If s.RowCount > 0 Then"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=6225926; + //BA.debugLineNum = 6225926;BA.debugLine="imprime_preventa"; +__ref._imprime_preventa /*void*/ (null); + }; +RDebugUtils.currentLine=6225930; + //BA.debugLineNum = 6225930;BA.debugLine="t1.Enabled = False"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.False); +RDebugUtils.currentLine=6225931; + //BA.debugLineNum = 6225931;BA.debugLine="If s <> Null Then s.Close"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ != null) { +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close();}; +RDebugUtils.currentLine=6225932; + //BA.debugLineNum = 6225932;BA.debugLine="End Sub"; +return ""; +} +public String _tar_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "tar_click", false)) + {return ((String) Debug.delegate(ba, "tar_click", null));} +RDebugUtils.currentLine=5177344; + //BA.debugLineNum = 5177344;BA.debugLine="Sub Tar_Click"; +RDebugUtils.currentLine=5177345; + //BA.debugLineNum = 5177345;BA.debugLine="B4XPages.ShowPage(\"Nota\")"; +_b4xpages._showpage /*String*/ (ba,"Nota"); +RDebugUtils.currentLine=5177346; + //BA.debugLineNum = 5177346;BA.debugLine="End Sub"; +return ""; +} +public String _tels_click(SHARK2.keymon.com.mx.c_cliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cliente"; +if (Debug.shouldDelegate(ba, "tels_click", false)) + {return ((String) Debug.delegate(ba, "tels_click", null));} +RDebugUtils.currentLine=5046272; + //BA.debugLineNum = 5046272;BA.debugLine="Sub Tels_Click"; +RDebugUtils.currentLine=5046273; + //BA.debugLineNum = 5046273;BA.debugLine="B4XPages.ShowPage(\"NoVenta\")"; +_b4xpages._showpage /*String*/ (ba,"NoVenta"); +RDebugUtils.currentLine=5046274; + //BA.debugLineNum = 5046274;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_clientes.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_clientes.java new file mode 100644 index 0000000..9e42f60 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_clientes.java @@ -0,0 +1,1583 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.c_clientes"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; +public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; +public String _entro = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _gest = null; +public anywheresoftware.b4a.objects.LabelWrapper _lfila = null; +public anywheresoftware.b4a.objects.EditTextWrapper _busca = null; +public String _colonia = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_qr = null; +public com.inforpires.baQRCode.baQRCode _qr = null; +public String _codigo = ""; +public String _stime = ""; +public String _ruta = ""; +public String _q_buscar = ""; +public anywheresoftware.b4a.objects.PanelWrapper _p_clientes = null; +public b4a.example3.customlistview _customlistview1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _numerocliente = null; +public anywheresoftware.b4a.objects.LabelWrapper _nombrecliente = null; +public anywheresoftware.b4a.objects.LabelWrapper _direccion = null; +public anywheresoftware.b4a.objects.LabelWrapper _cxc = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_datosclie = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_buscar = null; +public int _check = 0; +public anywheresoftware.b4a.objects.LabelWrapper _l_baseodia = null; +public anywheresoftware.b4a.objects.collections.List _lista_punta = null; +public anywheresoftware.b4a.objects.LabelWrapper _credito = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.c_clientes __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=9240576; + //BA.debugLineNum = 9240576;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=9240577; + //BA.debugLineNum = 9240577;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=9240578; + //BA.debugLineNum = 9240578;BA.debugLine="End Sub"; +return null; +} +public String _b_buscar_click(SHARK2.keymon.com.mx.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b_buscar_click", false)) + {return ((String) Debug.delegate(ba, "b_buscar_click", null));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=10223616; + //BA.debugLineNum = 10223616;BA.debugLine="Private Sub b_buscar_Click"; +RDebugUtils.currentLine=10223617; + //BA.debugLineNum = 10223617;BA.debugLine="Log(CHECK)"; +__c.LogImpl("510223617",BA.NumberToString(__ref._check /*int*/ ),0); +RDebugUtils.currentLine=10223618; + //BA.debugLineNum = 10223618;BA.debugLine="If CHECK = 0 Then"; +if (__ref._check /*int*/ ==0) { +RDebugUtils.currentLine=10223619; + //BA.debugLineNum = 10223619;BA.debugLine="l_baseodia.Text = \"Clientes de base de datos\""; +__ref._l_baseodia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Clientes de base de datos")); +RDebugUtils.currentLine=10223620; + //BA.debugLineNum = 10223620;BA.debugLine="CHECK = 1"; +__ref._check /*int*/ = (int) (1); +RDebugUtils.currentLine=10223621; + //BA.debugLineNum = 10223621;BA.debugLine="busca.Text = \"\""; +__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=10223622; + //BA.debugLineNum = 10223622;BA.debugLine="entro =\"2\""; +__ref._entro /*String*/ = "2"; +RDebugUtils.currentLine=10223623; + //BA.debugLineNum = 10223623;BA.debugLine="colonia = 0"; +__ref._colonia /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=10223624; + //BA.debugLineNum = 10223624;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info2 where gestion = 0 AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("0"))+" AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("1"))+" ORDER BY CAT_CL_CODIGO")))); +RDebugUtils.currentLine=10223625; + //BA.debugLineNum = 10223625;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10223626; + //BA.debugLineNum = 10223626;BA.debugLine="lfila.Text = \"NOMBRE\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("NOMBRE")); +RDebugUtils.currentLine=10223627; + //BA.debugLineNum = 10223627;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10223628; + //BA.debugLineNum = 10223628;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=10223629; + //BA.debugLineNum = 10223629;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step13 = 1; +final int limit13 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit13 ;_i = _i + step13 ) { +RDebugUtils.currentLine=10223630; + //BA.debugLineNum = 10223630;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=10223631; + //BA.debugLineNum = 10223631;BA.debugLine="CustomListView1.Add(CreateListItem(c.GetString("; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=10223632; + //BA.debugLineNum = 10223632;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select 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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=10223633; + //BA.debugLineNum = 10223633;BA.debugLine="If d.RowCount = 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=10223634; + //BA.debugLineNum = 10223634;BA.debugLine="cxc.Visible = False"; +__ref._cxc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=10223636; + //BA.debugLineNum = 10223636;BA.debugLine="cxc.Visible = True"; +__ref._cxc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=10223639; + //BA.debugLineNum = 10223639;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select I"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=10223641; + //BA.debugLineNum = 10223641;BA.debugLine="If d.RowCount > 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=10223642; + //BA.debugLineNum = 10223642;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=10223643; + //BA.debugLineNum = 10223643;BA.debugLine="LogColor(d.GetString(\"CAT_CL_BCREDITO\"),Colors"; +__c.LogImpl("510223643",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO"),__c.Colors.Blue); +RDebugUtils.currentLine=10223644; + //BA.debugLineNum = 10223644;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; +if ((__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO")).equals("1")) { +RDebugUtils.currentLine=10223645; + //BA.debugLineNum = 10223645;BA.debugLine="CREDITO.Visible = True"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=10223648; + //BA.debugLineNum = 10223648;BA.debugLine="CREDITO.Visible = False"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=10223650; + //BA.debugLineNum = 10223650;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { +RDebugUtils.currentLine=10223652; + //BA.debugLineNum = 10223652;BA.debugLine="CREDITO.Visible = False"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }; + } +}; +RDebugUtils.currentLine=10223655; + //BA.debugLineNum = 10223655;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=10223656; + //BA.debugLineNum = 10223656;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step37 = 1; +final int limit37 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit37 ;_i = _i + step37 ) { +RDebugUtils.currentLine=10223657; + //BA.debugLineNum = 10223657;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=10223658; + //BA.debugLineNum = 10223658;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10223659; + //BA.debugLineNum = 10223659;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=10223660; + //BA.debugLineNum = 10223660;BA.debugLine="label1.TextSize = 13"; +_label1.setTextSize((float) (13)); +RDebugUtils.currentLine=10223661; + //BA.debugLineNum = 10223661;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=10223662; + //BA.debugLineNum = 10223662;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10223663; + //BA.debugLineNum = 10223663;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=10223664; + //BA.debugLineNum = 10223664;BA.debugLine="label2.TextSize = 13"; +_label2.setTextSize((float) (13)); +RDebugUtils.currentLine=10223665; + //BA.debugLineNum = 10223665;BA.debugLine="label2.TextColor = Colors.Black"; +_label2.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=10223666; + //BA.debugLineNum = 10223666;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_CODI"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))); + } +}; + }; +RDebugUtils.currentLine=10223669; + //BA.debugLineNum = 10223669;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=10223670; + //BA.debugLineNum = 10223670;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; + }else +{RDebugUtils.currentLine=10223672; + //BA.debugLineNum = 10223672;BA.debugLine="Else If CHECK = 1 Then"; +if (__ref._check /*int*/ ==1) { +RDebugUtils.currentLine=10223673; + //BA.debugLineNum = 10223673;BA.debugLine="l_baseodia.Text = \"Clientes del día de visita\""; +__ref._l_baseodia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Clientes del día de visita")); +RDebugUtils.currentLine=10223674; + //BA.debugLineNum = 10223674;BA.debugLine="CHECK = 0"; +__ref._check /*int*/ = (int) (0); +RDebugUtils.currentLine=10223675; + //BA.debugLineNum = 10223675;BA.debugLine="busca.Text = \"\""; +__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=10223676; + //BA.debugLineNum = 10223676;BA.debugLine="entro =\"2\""; +__ref._entro /*String*/ = "2"; +RDebugUtils.currentLine=10223677; + //BA.debugLineNum = 10223677;BA.debugLine="colonia = 0"; +__ref._colonia /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=10223678; + //BA.debugLineNum = 10223678;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("0"))+" AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("1"))+" ORDER BY CAT_CL_CODIGO")))); +RDebugUtils.currentLine=10223679; + //BA.debugLineNum = 10223679;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10223680; + //BA.debugLineNum = 10223680;BA.debugLine="lfila.Text = \"NOMBRE\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("NOMBRE")); +RDebugUtils.currentLine=10223681; + //BA.debugLineNum = 10223681;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10223682; + //BA.debugLineNum = 10223682;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=10223683; + //BA.debugLineNum = 10223683;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step63 = 1; +final int limit63 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit63 ;_i = _i + step63 ) { +RDebugUtils.currentLine=10223684; + //BA.debugLineNum = 10223684;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=10223685; + //BA.debugLineNum = 10223685;BA.debugLine="CustomListView1.Add(CreateListItem(c.GetString("; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=10223686; + //BA.debugLineNum = 10223686;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select 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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=10223687; + //BA.debugLineNum = 10223687;BA.debugLine="If d.RowCount = 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=10223688; + //BA.debugLineNum = 10223688;BA.debugLine="cxc.Visible = False"; +__ref._cxc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=10223690; + //BA.debugLineNum = 10223690;BA.debugLine="cxc.Visible = True"; +__ref._cxc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=10223693; + //BA.debugLineNum = 10223693;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select I"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=10223695; + //BA.debugLineNum = 10223695;BA.debugLine="If d.RowCount > 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=10223696; + //BA.debugLineNum = 10223696;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=10223697; + //BA.debugLineNum = 10223697;BA.debugLine="LogColor(d.GetString(\"CAT_CL_BCREDITO\"),Colors"; +__c.LogImpl("510223697",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO"),__c.Colors.Blue); +RDebugUtils.currentLine=10223698; + //BA.debugLineNum = 10223698;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; +if ((__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO")).equals("1")) { +RDebugUtils.currentLine=10223699; + //BA.debugLineNum = 10223699;BA.debugLine="CREDITO.Visible = True"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=10223701; + //BA.debugLineNum = 10223701;BA.debugLine="CREDITO.Visible = False"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=10223703; + //BA.debugLineNum = 10223703;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { +RDebugUtils.currentLine=10223705; + //BA.debugLineNum = 10223705;BA.debugLine="CREDITO.Visible = False"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }; + } +}; +RDebugUtils.currentLine=10223708; + //BA.debugLineNum = 10223708;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=10223709; + //BA.debugLineNum = 10223709;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step87 = 1; +final int limit87 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit87 ;_i = _i + step87 ) { +RDebugUtils.currentLine=10223710; + //BA.debugLineNum = 10223710;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=10223711; + //BA.debugLineNum = 10223711;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10223712; + //BA.debugLineNum = 10223712;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=10223713; + //BA.debugLineNum = 10223713;BA.debugLine="label1.TextSize = 13"; +_label1.setTextSize((float) (13)); +RDebugUtils.currentLine=10223714; + //BA.debugLineNum = 10223714;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=10223715; + //BA.debugLineNum = 10223715;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10223716; + //BA.debugLineNum = 10223716;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=10223717; + //BA.debugLineNum = 10223717;BA.debugLine="label2.TextSize = 13"; +_label2.setTextSize((float) (13)); +RDebugUtils.currentLine=10223718; + //BA.debugLineNum = 10223718;BA.debugLine="label2.TextColor = Colors.Black"; +_label2.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=10223719; + //BA.debugLineNum = 10223719;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_CODI"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))); + } +}; + }; +RDebugUtils.currentLine=10223722; + //BA.debugLineNum = 10223722;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=10223723; + //BA.debugLineNum = 10223723;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; + }} +; +RDebugUtils.currentLine=10223726; + //BA.debugLineNum = 10223726;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(SHARK2.keymon.com.mx.c_clientes __ref,String _mostrar,String _mostrar1,String _mostrar2) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_mostrar,_mostrar1,_mostrar2}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=9502720; + //BA.debugLineNum = 9502720;BA.debugLine="Sub CreateListItem(mostrar As String, mostrar1 As"; +RDebugUtils.currentLine=9502721; + //BA.debugLineNum = 9502721;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=9502722; + //BA.debugLineNum = 9502722;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 1, 220)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (220)); +RDebugUtils.currentLine=9502723; + //BA.debugLineNum = 9502723;BA.debugLine="p.LoadLayout(\"datoscliente\")"; +_p.LoadLayout("datoscliente",ba); +RDebugUtils.currentLine=9502724; + //BA.debugLineNum = 9502724;BA.debugLine="p.Height= 60dip"; +_p.setHeight(__c.DipToCurrent((int) (60))); +RDebugUtils.currentLine=9502726; + //BA.debugLineNum = 9502726;BA.debugLine="nombrecliente.Text = mostrar"; +__ref._nombrecliente /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_mostrar)); +RDebugUtils.currentLine=9502727; + //BA.debugLineNum = 9502727;BA.debugLine="direccion.Text = mostrar1"; +__ref._direccion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_mostrar1)); +RDebugUtils.currentLine=9502728; + //BA.debugLineNum = 9502728;BA.debugLine="numerocliente.Text = mostrar2"; +__ref._numerocliente /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_mostrar2)); +RDebugUtils.currentLine=9502729; + //BA.debugLineNum = 9502729;BA.debugLine="p_datosclie.Tag = mostrar2"; +__ref._p_datosclie /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag((Object)(_mostrar2)); +RDebugUtils.currentLine=9502732; + //BA.debugLineNum = 9502732;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=9502733; + //BA.debugLineNum = 9502733;BA.debugLine="End Sub"; +return null; +} +public String _b_qr_click(SHARK2.keymon.com.mx.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b_qr_click", false)) + {return ((String) Debug.delegate(ba, "b_qr_click", null));} +int _scan_width = 0; +int _scan_height = 0; +RDebugUtils.currentLine=9830400; + //BA.debugLineNum = 9830400;BA.debugLine="Sub b_qr_Click"; +RDebugUtils.currentLine=9830401; + //BA.debugLineNum = 9830401;BA.debugLine="Dim scan_width As Int"; +_scan_width = 0; +RDebugUtils.currentLine=9830402; + //BA.debugLineNum = 9830402;BA.debugLine="Dim scan_height As Int"; +_scan_height = 0; +RDebugUtils.currentLine=9830403; + //BA.debugLineNum = 9830403;BA.debugLine="scan_width = 400"; +_scan_width = (int) (400); +RDebugUtils.currentLine=9830404; + //BA.debugLineNum = 9830404;BA.debugLine="scan_height = 400"; +_scan_height = (int) (400); +RDebugUtils.currentLine=9830405; + //BA.debugLineNum = 9830405;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(SHARK2.keymon.com.mx.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=9371648; + //BA.debugLineNum = 9371648;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=9371649; + //BA.debugLineNum = 9371649;BA.debugLine="l_baseodia.Text = \"Clientes del día de visita\""; +__ref._l_baseodia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Clientes del día de visita")); +RDebugUtils.currentLine=9371650; + //BA.debugLineNum = 9371650;BA.debugLine="CHECK = 0"; +__ref._check /*int*/ = (int) (0); +RDebugUtils.currentLine=9371651; + //BA.debugLineNum = 9371651;BA.debugLine="busca.Text = \"\""; +__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=9371652; + //BA.debugLineNum = 9371652;BA.debugLine="entro =\"2\""; +__ref._entro /*String*/ = "2"; +RDebugUtils.currentLine=9371653; + //BA.debugLineNum = 9371653;BA.debugLine="colonia = 0"; +__ref._colonia /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=9371654; + //BA.debugLineNum = 9371654;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("0"))+" AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("1"))+" ORDER BY CAST(CAT_CL_NUM_SERIEFISICO AS INTEGER) ASC")))); +RDebugUtils.currentLine=9371655; + //BA.debugLineNum = 9371655;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=9371656; + //BA.debugLineNum = 9371656;BA.debugLine="lfila.Text = \"NOMBRE\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("NOMBRE")); +RDebugUtils.currentLine=9371658; + //BA.debugLineNum = 9371658;BA.debugLine="CallSubDelayed(Tracker, \"Track\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"Track"); +RDebugUtils.currentLine=9371659; + //BA.debugLineNum = 9371659;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLPSmall"); +RDebugUtils.currentLine=9371660; + //BA.debugLineNum = 9371660;BA.debugLine="If Tracker.FLP.IsInitialized And Tracker.FLP.GetL"; +if (_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized() && _tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { +RDebugUtils.currentLine=9371661; + //BA.debugLineNum = 9371661;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()); +RDebugUtils.currentLine=9371662; + //BA.debugLineNum = 9371662;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()); +RDebugUtils.currentLine=9371664; + //BA.debugLineNum = 9371664;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; +__ref._gps_locationchanged /*String*/ (null,_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation()); + }; +RDebugUtils.currentLine=9371667; + //BA.debugLineNum = 9371667;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=9371668; + //BA.debugLineNum = 9371668;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step17 = 1; +final int limit17 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit17 ;_i = _i + step17 ) { +RDebugUtils.currentLine=9371669; + //BA.debugLineNum = 9371669;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9371670; + //BA.debugLineNum = 9371670;BA.debugLine="CustomListView1.Add(CreateListItem(c.GetString(\""; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE"),__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=9371671; + //BA.debugLineNum = 9371671;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select CL"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=9371672; + //BA.debugLineNum = 9371672;BA.debugLine="If d.RowCount = 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=9371673; + //BA.debugLineNum = 9371673;BA.debugLine="cxc.Visible = False"; +__ref._cxc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=9371675; + //BA.debugLineNum = 9371675;BA.debugLine="cxc.Visible = True"; +__ref._cxc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=9371678; + //BA.debugLineNum = 9371678;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select IF"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=9371680; + //BA.debugLineNum = 9371680;BA.debugLine="If d.RowCount > 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9371681; + //BA.debugLineNum = 9371681;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9371682; + //BA.debugLineNum = 9371682;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; +if ((__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO")).equals("1")) { +RDebugUtils.currentLine=9371683; + //BA.debugLineNum = 9371683;BA.debugLine="CREDITO.Visible = True"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=9371685; + //BA.debugLineNum = 9371685;BA.debugLine="CREDITO.Visible = False"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=9371687; + //BA.debugLineNum = 9371687;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { +RDebugUtils.currentLine=9371689; + //BA.debugLineNum = 9371689;BA.debugLine="CREDITO.Visible = False"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }; + } +}; +RDebugUtils.currentLine=9371692; + //BA.debugLineNum = 9371692;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9371693; + //BA.debugLineNum = 9371693;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step40 = 1; +final int limit40 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit40 ;_i = _i + step40 ) { +RDebugUtils.currentLine=9371694; + //BA.debugLineNum = 9371694;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9371695; + //BA.debugLineNum = 9371695;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=9371696; + //BA.debugLineNum = 9371696;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=9371697; + //BA.debugLineNum = 9371697;BA.debugLine="label1.TextSize = 13"; +_label1.setTextSize((float) (13)); +RDebugUtils.currentLine=9371698; + //BA.debugLineNum = 9371698;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=9371699; + //BA.debugLineNum = 9371699;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=9371700; + //BA.debugLineNum = 9371700;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=9371701; + //BA.debugLineNum = 9371701;BA.debugLine="label2.TextSize = 13"; +_label2.setTextSize((float) (13)); +RDebugUtils.currentLine=9371702; + //BA.debugLineNum = 9371702;BA.debugLine="label2.TextColor = Colors.Black"; +_label2.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=9371703; + //BA.debugLineNum = 9371703;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_CODIG"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))); + } +}; + }; +RDebugUtils.currentLine=9371706; + //BA.debugLineNum = 9371706;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9371707; + //BA.debugLineNum = 9371707;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; +RDebugUtils.currentLine=9371721; + //BA.debugLineNum = 9371721;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(SHARK2.keymon.com.mx.c_clientes __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=9437184; + //BA.debugLineNum = 9437184;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=9437186; + //BA.debugLineNum = 9437186;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; +if (_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized() && _tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()!=0) { +RDebugUtils.currentLine=9437187; + //BA.debugLineNum = 9437187;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()); +RDebugUtils.currentLine=9437188; + //BA.debugLineNum = 9437188;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()); + }; +RDebugUtils.currentLine=9437193; + //BA.debugLineNum = 9437193;BA.debugLine="CallSubDelayed(Tracker, \"CreateLocationRequest\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"CreateLocationRequest"); +RDebugUtils.currentLine=9437194; + //BA.debugLineNum = 9437194;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(SHARK2.keymon.com.mx.c_clientes __ref) throws Exception{ +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(SHARK2.keymon.com.mx.c_clientes parent,SHARK2.keymon.com.mx.c_clientes __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_clientes __ref; +SHARK2.keymon.com.mx.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=9699335; + //BA.debugLineNum = 9699335;BA.debugLine="Return True"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;}; +RDebugUtils.currentLine=9699336; + //BA.debugLineNum = 9699336;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(SHARK2.keymon.com.mx.c_clientes __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=9306112; + //BA.debugLineNum = 9306112;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=9306113; + //BA.debugLineNum = 9306113;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=9306115; + //BA.debugLineNum = 9306115;BA.debugLine="Root.LoadLayout(\"clientes\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("clientes",ba); +RDebugUtils.currentLine=9306117; + //BA.debugLineNum = 9306117;BA.debugLine="entro =\"2\""; +__ref._entro /*String*/ = "2"; +RDebugUtils.currentLine=9306122; + //BA.debugLineNum = 9306122;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=9306129; + //BA.debugLineNum = 9306129;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=9306130; + //BA.debugLineNum = 9306130;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); + }; +RDebugUtils.currentLine=9306132; + //BA.debugLineNum = 9306132;BA.debugLine="qr.initialize"; +__ref._qr /*com.inforpires.baQRCode.baQRCode*/ .initialize(); +RDebugUtils.currentLine=9306133; + //BA.debugLineNum = 9306133;BA.debugLine="End Sub"; +return ""; +} +public String _busca_textchanged(SHARK2.keymon.com.mx.c_clientes __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "busca_textchanged", false)) + {return ((String) Debug.delegate(ba, "busca_textchanged", new Object[] {_old,_new}));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=9764864; + //BA.debugLineNum = 9764864;BA.debugLine="Sub BUSCA_TextChanged (Old As String, New As Strin"; +RDebugUtils.currentLine=9764865; + //BA.debugLineNum = 9764865;BA.debugLine="If CHECK = 0 Then"; +if (__ref._check /*int*/ ==0) { +RDebugUtils.currentLine=9764866; + //BA.debugLineNum = 9764866;BA.debugLine="q_buscar = \"%\" & busca.Text & \"%\""; +__ref._q_buscar /*String*/ = "%"+__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+"%"; +RDebugUtils.currentLine=9764867; + //BA.debugLineNum = 9764867;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?)and gestion = 0 AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("0"))+" AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("1"))+" order by CAT_CL_CODIGO "),new String[]{__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ }))); +RDebugUtils.currentLine=9764868; + //BA.debugLineNum = 9764868;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=9764869; + //BA.debugLineNum = 9764869;BA.debugLine="lfila.text = \"Nombre y Calle\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Nombre y Calle")); +RDebugUtils.currentLine=9764871; + //BA.debugLineNum = 9764871;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=9764872; + //BA.debugLineNum = 9764872;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=9764873; + //BA.debugLineNum = 9764873;BA.debugLine="c2.Position = i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9764874; + //BA.debugLineNum = 9764874;BA.debugLine="CustomListView1.Add(CreateListItem(c2.GetString"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"),__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE"),__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=9764875; + //BA.debugLineNum = 9764875;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select 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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=9764876; + //BA.debugLineNum = 9764876;BA.debugLine="If d.RowCount = 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=9764877; + //BA.debugLineNum = 9764877;BA.debugLine="cxc.Visible = False"; +__ref._cxc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=9764879; + //BA.debugLineNum = 9764879;BA.debugLine="cxc.Visible = True"; +__ref._cxc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=9764882; + //BA.debugLineNum = 9764882;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select I"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=9764884; + //BA.debugLineNum = 9764884;BA.debugLine="If d.RowCount > 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9764885; + //BA.debugLineNum = 9764885;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9764887; + //BA.debugLineNum = 9764887;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; +if ((__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO")).equals("1")) { +RDebugUtils.currentLine=9764888; + //BA.debugLineNum = 9764888;BA.debugLine="CREDITO.Visible = True"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=9764890; + //BA.debugLineNum = 9764890;BA.debugLine="CREDITO.Visible = False"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=9764892; + //BA.debugLineNum = 9764892;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { +RDebugUtils.currentLine=9764894; + //BA.debugLineNum = 9764894;BA.debugLine="CREDITO.Visible = False"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }; + } +}; +RDebugUtils.currentLine=9764898; + //BA.debugLineNum = 9764898;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9764899; + //BA.debugLineNum = 9764899;BA.debugLine="For i=0 To c2.RowCount -1"; +{ +final int step30 = 1; +final int limit30 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit30 ;_i = _i + step30 ) { +RDebugUtils.currentLine=9764900; + //BA.debugLineNum = 9764900;BA.debugLine="c2.Position=i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9764901; + //BA.debugLineNum = 9764901;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=9764902; + //BA.debugLineNum = 9764902;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=9764903; + //BA.debugLineNum = 9764903;BA.debugLine="label1.TextSize = 9"; +_label1.setTextSize((float) (9)); +RDebugUtils.currentLine=9764904; + //BA.debugLineNum = 9764904;BA.debugLine="label1.TextColor = Colors.White"; +_label1.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=9764905; + //BA.debugLineNum = 9764905;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=9764906; + //BA.debugLineNum = 9764906;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=9764907; + //BA.debugLineNum = 9764907;BA.debugLine="label2.TextSize = 17"; +_label2.setTextSize((float) (17)); +RDebugUtils.currentLine=9764908; + //BA.debugLineNum = 9764908;BA.debugLine="label2.TextColor = Colors.White"; +_label2.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=9764909; + //BA.debugLineNum = 9764909;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")+" CALLE: "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE"))); + } +}; + }; +RDebugUtils.currentLine=9764912; + //BA.debugLineNum = 9764912;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; +RDebugUtils.currentLine=9764913; + //BA.debugLineNum = 9764913;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else +{RDebugUtils.currentLine=9764914; + //BA.debugLineNum = 9764914;BA.debugLine="Else If CHECK = 1 Then"; +if (__ref._check /*int*/ ==1) { +RDebugUtils.currentLine=9764915; + //BA.debugLineNum = 9764915;BA.debugLine="q_buscar = \"%\" & busca.Text & \"%\""; +__ref._q_buscar /*String*/ = "%"+__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()+"%"; +RDebugUtils.currentLine=9764916; + //BA.debugLineNum = 9764916;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info2 where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?)and gestion = 0 order by CAT_CL_CODIGO ",new String[]{__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ ,__ref._q_buscar /*String*/ }))); +RDebugUtils.currentLine=9764917; + //BA.debugLineNum = 9764917;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=9764918; + //BA.debugLineNum = 9764918;BA.debugLine="lfila.text = \"Nombre y Calle\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Nombre y Calle")); +RDebugUtils.currentLine=9764920; + //BA.debugLineNum = 9764920;BA.debugLine="CustomListView1.Clear"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=9764921; + //BA.debugLineNum = 9764921;BA.debugLine="For i = 0 To c2.RowCount - 1"; +{ +final int step51 = 1; +final int limit51 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit51 ;_i = _i + step51 ) { +RDebugUtils.currentLine=9764922; + //BA.debugLineNum = 9764922;BA.debugLine="c2.Position = i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9764923; + //BA.debugLineNum = 9764923;BA.debugLine="CustomListView1.Add(CreateListItem(c2.GetString"; +__ref._customlistview1 /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"),__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE"),__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")).getObject())),(Object)(_i)); +RDebugUtils.currentLine=9764924; + //BA.debugLineNum = 9764924;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select 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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=9764925; + //BA.debugLineNum = 9764925;BA.debugLine="If d.RowCount = 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=9764926; + //BA.debugLineNum = 9764926;BA.debugLine="cxc.Visible = False"; +__ref._cxc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=9764928; + //BA.debugLineNum = 9764928;BA.debugLine="cxc.Visible = True"; +__ref._cxc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=9764930; + //BA.debugLineNum = 9764930;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select I"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")))+"'")))); +RDebugUtils.currentLine=9764932; + //BA.debugLineNum = 9764932;BA.debugLine="If d.RowCount > 0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9764933; + //BA.debugLineNum = 9764933;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9764934; + //BA.debugLineNum = 9764934;BA.debugLine="LogColor(d.GetString(\"CAT_CL_BCREDITO\"),Colors"; +__c.LogImpl("59764934",__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO"),__c.Colors.Blue); +RDebugUtils.currentLine=9764935; + //BA.debugLineNum = 9764935;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; +if ((__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_BCREDITO")).equals("1")) { +RDebugUtils.currentLine=9764936; + //BA.debugLineNum = 9764936;BA.debugLine="CREDITO.Visible = True"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=9764938; + //BA.debugLineNum = 9764938;BA.debugLine="CREDITO.Visible = False"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=9764940; + //BA.debugLineNum = 9764940;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { +RDebugUtils.currentLine=9764942; + //BA.debugLineNum = 9764942;BA.debugLine="CREDITO.Visible = False"; +__ref._credito /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }; + } +}; +RDebugUtils.currentLine=9764946; + //BA.debugLineNum = 9764946;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9764947; + //BA.debugLineNum = 9764947;BA.debugLine="For i=0 To c2.RowCount -1"; +{ +final int step75 = 1; +final int limit75 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit75 ;_i = _i + step75 ) { +RDebugUtils.currentLine=9764948; + //BA.debugLineNum = 9764948;BA.debugLine="c2.Position=i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9764949; + //BA.debugLineNum = 9764949;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=9764950; + //BA.debugLineNum = 9764950;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=9764951; + //BA.debugLineNum = 9764951;BA.debugLine="label1.TextSize = 9"; +_label1.setTextSize((float) (9)); +RDebugUtils.currentLine=9764952; + //BA.debugLineNum = 9764952;BA.debugLine="label1.TextColor = Colors.White"; +_label1.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=9764953; + //BA.debugLineNum = 9764953;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=9764954; + //BA.debugLineNum = 9764954;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=9764955; + //BA.debugLineNum = 9764955;BA.debugLine="label2.TextSize = 17"; +_label2.setTextSize((float) (17)); +RDebugUtils.currentLine=9764956; + //BA.debugLineNum = 9764956;BA.debugLine="label2.TextColor = Colors.White"; +_label2.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=9764957; + //BA.debugLineNum = 9764957;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE")+" CALLE: "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE"))); + } +}; + }; +RDebugUtils.currentLine=9764960; + //BA.debugLineNum = 9764960;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; +RDebugUtils.currentLine=9764961; + //BA.debugLineNum = 9764961;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }} +; +RDebugUtils.currentLine=9764963; + //BA.debugLineNum = 9764963;BA.debugLine="End Sub"; +return ""; +} +public String _calc_ean_checksum(SHARK2.keymon.com.mx.c_clientes __ref,String _number) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "calc_ean_checksum", false)) + {return ((String) Debug.delegate(ba, "calc_ean_checksum", new Object[] {_number}));} +int _i = 0; +char _co = '\0'; +int _soma = 0; +int _n = 0; +float _digit = 0f; +RDebugUtils.currentLine=10027008; + //BA.debugLineNum = 10027008;BA.debugLine="Sub calc_ean_checksum(number As String) As String"; +RDebugUtils.currentLine=10027009; + //BA.debugLineNum = 10027009;BA.debugLine="Dim i As Int"; +_i = 0; +RDebugUtils.currentLine=10027010; + //BA.debugLineNum = 10027010;BA.debugLine="Dim cO As Char"; +_co = '\0'; +RDebugUtils.currentLine=10027011; + //BA.debugLineNum = 10027011;BA.debugLine="Dim soma As Int"; +_soma = 0; +RDebugUtils.currentLine=10027012; + //BA.debugLineNum = 10027012;BA.debugLine="Dim n As Int"; +_n = 0; +RDebugUtils.currentLine=10027013; + //BA.debugLineNum = 10027013;BA.debugLine="Dim digit As Float"; +_digit = 0f; +RDebugUtils.currentLine=10027014; + //BA.debugLineNum = 10027014;BA.debugLine="soma = 0"; +_soma = (int) (0); +RDebugUtils.currentLine=10027015; + //BA.debugLineNum = 10027015;BA.debugLine="For i=0 To number.Length - 1"; +{ +final int step7 = 1; +final int limit7 = (int) (_number.length()-1); +_i = (int) (0) ; +for (;_i <= limit7 ;_i = _i + step7 ) { +RDebugUtils.currentLine=10027016; + //BA.debugLineNum = 10027016;BA.debugLine="digit = number.SubString2(i,i+1)"; +_digit = (float)(Double.parseDouble(_number.substring(_i,(int) (_i+1)))); +RDebugUtils.currentLine=10027017; + //BA.debugLineNum = 10027017;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)"; +_n = (int) (_digit*((_i%2)*2+1)); +RDebugUtils.currentLine=10027018; + //BA.debugLineNum = 10027018;BA.debugLine="soma=soma+n"; +_soma = (int) (_soma+_n); + } +}; +RDebugUtils.currentLine=10027020; + //BA.debugLineNum = 10027020;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10"; +if (true) return _number+BA.NumberToString(((10-(_soma%10))%10)); +RDebugUtils.currentLine=10027021; + //BA.debugLineNum = 10027021;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +RDebugUtils.currentLine=9175040; + //BA.debugLineNum = 9175040;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=9175041; + //BA.debugLineNum = 9175041;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=9175042; + //BA.debugLineNum = 9175042;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=9175044; + //BA.debugLineNum = 9175044;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=9175045; + //BA.debugLineNum = 9175045;BA.debugLine="Dim c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=9175046; + //BA.debugLineNum = 9175046;BA.debugLine="Dim d As Cursor"; +_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=9175047; + //BA.debugLineNum = 9175047;BA.debugLine="Dim s As Cursor"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=9175048; + //BA.debugLineNum = 9175048;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=9175049; + //BA.debugLineNum = 9175049;BA.debugLine="Dim entro As String"; +_entro = ""; +RDebugUtils.currentLine=9175050; + //BA.debugLineNum = 9175050;BA.debugLine="Dim gest As Button"; +_gest = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=9175051; + //BA.debugLineNum = 9175051;BA.debugLine="Dim lfila As Label"; +_lfila = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=9175052; + //BA.debugLineNum = 9175052;BA.debugLine="Dim busca As EditText"; +_busca = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=9175053; + //BA.debugLineNum = 9175053;BA.debugLine="Dim colonia As String"; +_colonia = ""; +RDebugUtils.currentLine=9175054; + //BA.debugLineNum = 9175054;BA.debugLine="Private b_qr As Button"; +_b_qr = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=9175055; + //BA.debugLineNum = 9175055;BA.debugLine="Private qr As QRCode"; +_qr = new com.inforpires.baQRCode.baQRCode(); +RDebugUtils.currentLine=9175057; + //BA.debugLineNum = 9175057;BA.debugLine="Dim CODIGO As String"; +_codigo = ""; +RDebugUtils.currentLine=9175058; + //BA.debugLineNum = 9175058;BA.debugLine="Dim STIME As String"; +_stime = ""; +RDebugUtils.currentLine=9175059; + //BA.debugLineNum = 9175059;BA.debugLine="Dim ruta As String"; +_ruta = ""; +RDebugUtils.currentLine=9175060; + //BA.debugLineNum = 9175060;BA.debugLine="Dim q_buscar As String"; +_q_buscar = ""; +RDebugUtils.currentLine=9175061; + //BA.debugLineNum = 9175061;BA.debugLine="Private p_clientes As Panel"; +_p_clientes = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=9175062; + //BA.debugLineNum = 9175062;BA.debugLine="Private CustomListView1 As CustomListView"; +_customlistview1 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=9175063; + //BA.debugLineNum = 9175063;BA.debugLine="Private numerocliente As Label"; +_numerocliente = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=9175064; + //BA.debugLineNum = 9175064;BA.debugLine="Private nombrecliente As Label"; +_nombrecliente = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=9175065; + //BA.debugLineNum = 9175065;BA.debugLine="Private direccion As Label"; +_direccion = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=9175066; + //BA.debugLineNum = 9175066;BA.debugLine="Private cxc As Label"; +_cxc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=9175067; + //BA.debugLineNum = 9175067;BA.debugLine="Private p_datosclie As Panel"; +_p_datosclie = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=9175068; + //BA.debugLineNum = 9175068;BA.debugLine="Private b_buscar As Button"; +_b_buscar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=9175069; + //BA.debugLineNum = 9175069;BA.debugLine="Private CHECK As Int"; +_check = 0; +RDebugUtils.currentLine=9175070; + //BA.debugLineNum = 9175070;BA.debugLine="Private l_baseodia As Label"; +_l_baseodia = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=9175071; + //BA.debugLineNum = 9175071;BA.debugLine="Dim lista_punta As List"; +_lista_punta = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=9175072; + //BA.debugLineNum = 9175072;BA.debugLine="Private CREDITO As Label"; +_credito = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=9175074; + //BA.debugLineNum = 9175074;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemclick(SHARK2.keymon.com.mx.c_clientes __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "listview1_itemclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemclick", new Object[] {_position,_value}));} +int _i = 0; +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _mpoint = null; +RDebugUtils.currentLine=9633792; + //BA.debugLineNum = 9633792;BA.debugLine="Sub ListView1_ItemClick (Position As Int, value As"; +RDebugUtils.currentLine=9633793; + //BA.debugLineNum = 9633793;BA.debugLine="If colonia = 0 Then"; +if ((__ref._colonia /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=9633794; + //BA.debugLineNum = 9633794;BA.debugLine="colonia = value"; +__ref._colonia /*String*/ = BA.ObjectToString(_value); + }; +RDebugUtils.currentLine=9633796; + //BA.debugLineNum = 9633796;BA.debugLine="If entro = \"2\" Then"; +if ((__ref._entro /*String*/ ).equals("2")) { +RDebugUtils.currentLine=9633797; + //BA.debugLineNum = 9633797;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_CALLE, CAT_CL_COLONIA, count(*) as cuantos from kmt_info where gestion = 0 and CAT_CL_COLONIA = ? GROUP BY CAT_CL_CALLE, CAT_CL_COLONIA order by CAT_CL_CALLE ",new String[]{BA.ObjectToString(_value)}))); +RDebugUtils.currentLine=9633798; + //BA.debugLineNum = 9633798;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=9633799; + //BA.debugLineNum = 9633799;BA.debugLine="lfila.text = \"Calle\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Calle")); +RDebugUtils.currentLine=9633800; + //BA.debugLineNum = 9633800;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9633801; + //BA.debugLineNum = 9633801;BA.debugLine="For i=0 To c2.RowCount -1"; +{ +final int step9 = 1; +final int limit9 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit9 ;_i = _i + step9 ) { +RDebugUtils.currentLine=9633802; + //BA.debugLineNum = 9633802;BA.debugLine="c2.Position=i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9633803; + //BA.debugLineNum = 9633803;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CAL"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")),BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("cuantos"))); + } +}; + }; +RDebugUtils.currentLine=9633806; + //BA.debugLineNum = 9633806;BA.debugLine="entro = \"3\""; +__ref._entro /*String*/ = "3"; + }else +{RDebugUtils.currentLine=9633807; + //BA.debugLineNum = 9633807;BA.debugLine="Else If entro = \"3\" Then"; +if ((__ref._entro /*String*/ ).equals("3")) { +RDebugUtils.currentLine=9633808; + //BA.debugLineNum = 9633808;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 and CAT_CL_CALLE = ? AND CAT_CL_COLONIA = ? order by CAT_CL_NOMBRE ",new String[]{BA.ObjectToString(_value),__ref._colonia /*String*/ }))); +RDebugUtils.currentLine=9633809; + //BA.debugLineNum = 9633809;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=9633810; + //BA.debugLineNum = 9633810;BA.debugLine="lfila.text = \"Nombre\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Nombre")); +RDebugUtils.currentLine=9633811; + //BA.debugLineNum = 9633811;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=9633812; + //BA.debugLineNum = 9633812;BA.debugLine="For i=0 To c2.RowCount -1"; +{ +final int step20 = 1; +final int limit20 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit20 ;_i = _i + step20 ) { +RDebugUtils.currentLine=9633813; + //BA.debugLineNum = 9633813;BA.debugLine="c2.Position=i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=9633814; + //BA.debugLineNum = 9633814;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))); + } +}; + }; +RDebugUtils.currentLine=9633817; + //BA.debugLineNum = 9633817;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; + }else +{RDebugUtils.currentLine=9633818; + //BA.debugLineNum = 9633818;BA.debugLine="Else If entro = \"4\" Then"; +if ((__ref._entro /*String*/ ).equals("4")) { +RDebugUtils.currentLine=9633819; + //BA.debugLineNum = 9633819;BA.debugLine="Dim mPoint As LatLng"; +_mpoint = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +RDebugUtils.currentLine=9633820; + //BA.debugLineNum = 9633820;BA.debugLine="mPoint.Initialize(B4XPages.MainPage.lat_gps, B4X"; +_mpoint.Initialize((double)(Double.parseDouble(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )),(double)(Double.parseDouble(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ))); +RDebugUtils.currentLine=9633829; + //BA.debugLineNum = 9633829;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=9633830; + //BA.debugLineNum = 9633830;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); +RDebugUtils.currentLine=9633831; + //BA.debugLineNum = 9633831;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=9633832; + //BA.debugLineNum = 9633832;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=9633833; + //BA.debugLineNum = 9633833;BA.debugLine="Starter.pre_viejo = Subs.traeTotalClienteprevent"; +_starter._pre_viejo /*float*/ = (float) (_subs._traetotalclientepreventaparacredito /*double*/ (ba)); +RDebugUtils.currentLine=9633834; + //BA.debugLineNum = 9633834;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = ? AND HSS_CODIGO In (select cuenta from cuentaa)",new String[]{"0"}))); +RDebugUtils.currentLine=9633835; + //BA.debugLineNum = 9633835;BA.debugLine="s.Position = 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9633836; + //BA.debugLineNum = 9633836;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=9633837; + //BA.debugLineNum = 9633837;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); + }else { +RDebugUtils.currentLine=9633839; + //BA.debugLineNum = 9633839;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); +RDebugUtils.currentLine=9633840; + //BA.debugLineNum = 9633840;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); + }; +RDebugUtils.currentLine=9633842; + //BA.debugLineNum = 9633842;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_INI = ? where HSO_INI = 0 ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); +RDebugUtils.currentLine=9633843; + //BA.debugLineNum = 9633843;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=9633845; + //BA.debugLineNum = 9633845;BA.debugLine="Subs.guardaClienteHoraInicio(value)"; +_subs._guardaclientehorainicio /*String*/ (ba,BA.ObjectToString(_value)); +RDebugUtils.currentLine=9633847; + //BA.debugLineNum = 9633847;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); + }}} +; +RDebugUtils.currentLine=9633849; + //BA.debugLineNum = 9633849;BA.debugLine="End Sub"; +return ""; +} +public String _p_clientes_click(SHARK2.keymon.com.mx.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "p_clientes_click", false)) + {return ((String) Debug.delegate(ba, "p_clientes_click", null));} +RDebugUtils.currentLine=10092544; + //BA.debugLineNum = 10092544;BA.debugLine="Private Sub p_clientes_Click"; +RDebugUtils.currentLine=10092546; + //BA.debugLineNum = 10092546;BA.debugLine="End Sub"; +return ""; +} +public String _p_datosclie_click(SHARK2.keymon.com.mx.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "p_datosclie_click", false)) + {return ((String) Debug.delegate(ba, "p_datosclie_click", null));} +int _i = 0; +RDebugUtils.currentLine=10158080; + //BA.debugLineNum = 10158080;BA.debugLine="Private Sub p_datosclie_Click"; +RDebugUtils.currentLine=10158081; + //BA.debugLineNum = 10158081;BA.debugLine="If colonia = 0 Then"; +if ((__ref._colonia /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=10158082; + //BA.debugLineNum = 10158082;BA.debugLine="colonia = Sender.As(Panel).tag"; +__ref._colonia /*String*/ = BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()); + }; +RDebugUtils.currentLine=10158084; + //BA.debugLineNum = 10158084;BA.debugLine="If entro = \"2\" Then"; +if ((__ref._entro /*String*/ ).equals("2")) { +RDebugUtils.currentLine=10158085; + //BA.debugLineNum = 10158085;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_CALLE, CAT_CL_COLONIA, count(*) as cuantos from kmt_info where gestion = 0 and CAT_CL_COLONIA = ? GROUP BY CAT_CL_CALLE, CAT_CL_COLONIA order by CAT_CL_CALLE ",new String[]{BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag())}))); +RDebugUtils.currentLine=10158086; + //BA.debugLineNum = 10158086;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10158087; + //BA.debugLineNum = 10158087;BA.debugLine="lfila.text = \"Calle\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Calle")); +RDebugUtils.currentLine=10158088; + //BA.debugLineNum = 10158088;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=10158089; + //BA.debugLineNum = 10158089;BA.debugLine="For i=0 To c2.RowCount -1"; +{ +final int step9 = 1; +final int limit9 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit9 ;_i = _i + step9 ) { +RDebugUtils.currentLine=10158090; + //BA.debugLineNum = 10158090;BA.debugLine="c2.Position=i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=10158091; + //BA.debugLineNum = 10158091;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CAL"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CALLE")),BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("cuantos"))); + } +}; + }; +RDebugUtils.currentLine=10158094; + //BA.debugLineNum = 10158094;BA.debugLine="entro = \"3\""; +__ref._entro /*String*/ = "3"; + }else +{RDebugUtils.currentLine=10158095; + //BA.debugLineNum = 10158095;BA.debugLine="Else If entro = \"3\" Then"; +if ((__ref._entro /*String*/ ).equals("3")) { +RDebugUtils.currentLine=10158096; + //BA.debugLineNum = 10158096;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 and CAT_CL_CALLE = ? AND CAT_CL_COLONIA = ? order by CAT_CL_NOMBRE ",new String[]{BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),__ref._colonia /*String*/ }))); +RDebugUtils.currentLine=10158097; + //BA.debugLineNum = 10158097;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=10158098; + //BA.debugLineNum = 10158098;BA.debugLine="lfila.text = \"Nombre\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Nombre")); +RDebugUtils.currentLine=10158099; + //BA.debugLineNum = 10158099;BA.debugLine="If c2.RowCount>0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=10158100; + //BA.debugLineNum = 10158100;BA.debugLine="For i=0 To c2.RowCount -1"; +{ +final int step20 = 1; +final int limit20 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit20 ;_i = _i + step20 ) { +RDebugUtils.currentLine=10158101; + //BA.debugLineNum = 10158101;BA.debugLine="c2.Position=i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=10158102; + //BA.debugLineNum = 10158102;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"))); + } +}; + }; +RDebugUtils.currentLine=10158105; + //BA.debugLineNum = 10158105;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; + }else +{RDebugUtils.currentLine=10158106; + //BA.debugLineNum = 10158106;BA.debugLine="Else If entro = \"4\" Then"; +if ((__ref._entro /*String*/ ).equals("4")) { +RDebugUtils.currentLine=10158107; + //BA.debugLineNum = 10158107;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=10158108; + //BA.debugLineNum = 10158108;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()})); +RDebugUtils.currentLine=10158109; + //BA.debugLineNum = 10158109;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=10158110; + //BA.debugLineNum = 10158110;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=10158112; + //BA.debugLineNum = 10158112;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = ? AND HSS_CODIGO In (select cuenta from cuentaa)",new String[]{"0"}))); +RDebugUtils.currentLine=10158113; + //BA.debugLineNum = 10158113;BA.debugLine="s.Position = 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=10158114; + //BA.debugLineNum = 10158114;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=10158115; + //BA.debugLineNum = 10158115;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); + }else { +RDebugUtils.currentLine=10158117; + //BA.debugLineNum = 10158117;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()})); +RDebugUtils.currentLine=10158118; + //BA.debugLineNum = 10158118;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); + }; +RDebugUtils.currentLine=10158120; + //BA.debugLineNum = 10158120;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_INI = ? where HSO_INI = 0 ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); +RDebugUtils.currentLine=10158121; + //BA.debugLineNum = 10158121;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=10158123; + //BA.debugLineNum = 10158123;BA.debugLine="Subs.guardaClienteHoraInicio(Sender.As(Panel).ta"; +_subs._guardaclientehorainicio /*String*/ (ba,BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag())); +RDebugUtils.currentLine=10158125; + //BA.debugLineNum = 10158125;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); + }}} +; +RDebugUtils.currentLine=10158129; + //BA.debugLineNum = 10158129;BA.debugLine="End Sub"; +return ""; +} +public boolean _pointinpolygon(SHARK2.keymon.com.mx.c_clientes __ref,anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _point,anywheresoftware.b4a.objects.collections.List _polygon) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "pointinpolygon", false)) + {return ((Boolean) Debug.delegate(ba, "pointinpolygon", new Object[] {_point,_polygon}));} +double _x = 0; +double _y = 0; +boolean _inside = false; +int _i = 0; +int _j = 0; +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _p1_1 = null; +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _p2_1 = null; +double _xi = 0; +double _yi = 0; +double _xj = 0; +double _yj = 0; +boolean _intersect = false; +RDebugUtils.currentLine=9568256; + //BA.debugLineNum = 9568256;BA.debugLine="Sub PointInPolygon(point As LatLng, polygon As Lis"; +RDebugUtils.currentLine=9568257; + //BA.debugLineNum = 9568257;BA.debugLine="Dim x As Double = point.Longitude"; +_x = _point.getLongitude(); +RDebugUtils.currentLine=9568258; + //BA.debugLineNum = 9568258;BA.debugLine="Dim y As Double = point.Latitude"; +_y = _point.getLatitude(); +RDebugUtils.currentLine=9568260; + //BA.debugLineNum = 9568260;BA.debugLine="Dim inside As Boolean = False"; +_inside = __c.False; +RDebugUtils.currentLine=9568261; + //BA.debugLineNum = 9568261;BA.debugLine="For i = 0 To polygon.Size - 1"; +{ +final int step4 = 1; +final int limit4 = (int) (_polygon.getSize()-1); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=9568262; + //BA.debugLineNum = 9568262;BA.debugLine="Dim j As Int = (i + 1) Mod polygon.Size"; +_j = (int) ((_i+1)%_polygon.getSize()); +RDebugUtils.currentLine=9568263; + //BA.debugLineNum = 9568263;BA.debugLine="Dim p1_1 As LatLng = polygon.Get(i)"; +_p1_1 = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +_p1_1 = (anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(), (com.google.android.gms.maps.model.LatLng)(_polygon.Get(_i))); +RDebugUtils.currentLine=9568264; + //BA.debugLineNum = 9568264;BA.debugLine="Dim p2_1 As LatLng = polygon.Get(j)"; +_p2_1 = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +_p2_1 = (anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(), (com.google.android.gms.maps.model.LatLng)(_polygon.Get(_j))); +RDebugUtils.currentLine=9568266; + //BA.debugLineNum = 9568266;BA.debugLine="Dim xi As Double = p1_1.Longitude"; +_xi = _p1_1.getLongitude(); +RDebugUtils.currentLine=9568267; + //BA.debugLineNum = 9568267;BA.debugLine="Dim yi As Double = p1_1.Latitude"; +_yi = _p1_1.getLatitude(); +RDebugUtils.currentLine=9568268; + //BA.debugLineNum = 9568268;BA.debugLine="Dim xj As Double = p2_1.Longitude"; +_xj = _p2_1.getLongitude(); +RDebugUtils.currentLine=9568269; + //BA.debugLineNum = 9568269;BA.debugLine="Dim yj As Double = p2_1.Latitude"; +_yj = _p2_1.getLatitude(); +RDebugUtils.currentLine=9568271; + //BA.debugLineNum = 9568271;BA.debugLine="Dim intersect As Boolean = ((yi > y) <> (yj > y)"; +_intersect = ((_yi>_y)!=(_yj>_y)) && (_x<(_xj-_xi)*(_y-_yi)/(double)(_yj-_yi)+_xi); +RDebugUtils.currentLine=9568272; + //BA.debugLineNum = 9568272;BA.debugLine="If intersect Then"; +if (_intersect) { +RDebugUtils.currentLine=9568273; + //BA.debugLineNum = 9568273;BA.debugLine="inside = Not(inside)"; +_inside = __c.Not(_inside); + }; + } +}; +RDebugUtils.currentLine=9568277; + //BA.debugLineNum = 9568277;BA.debugLine="Return inside"; +if (true) return _inside; +RDebugUtils.currentLine=9568280; + //BA.debugLineNum = 9568280;BA.debugLine="End Sub"; +return false; +} +public String _sc_noscan(SHARK2.keymon.com.mx.c_clientes __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "sc_noscan", false)) + {return ((String) Debug.delegate(ba, "sc_noscan", null));} +RDebugUtils.currentLine=9961472; + //BA.debugLineNum = 9961472;BA.debugLine="Sub sc_noScan"; +RDebugUtils.currentLine=9961473; + //BA.debugLineNum = 9961473;BA.debugLine="Log(\"nothing returned from the scan !!!!!\")"; +__c.LogImpl("59961473","nothing returned from the scan !!!!!",0); +RDebugUtils.currentLine=9961474; + //BA.debugLineNum = 9961474;BA.debugLine="End Sub"; +return ""; +} +public String _sc_result(SHARK2.keymon.com.mx.c_clientes __ref,String _atype,String _values) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_clientes"; +if (Debug.shouldDelegate(ba, "sc_result", false)) + {return ((String) Debug.delegate(ba, "sc_result", new Object[] {_atype,_values}));} +RDebugUtils.currentLine=9895936; + //BA.debugLineNum = 9895936;BA.debugLine="Sub sc_result(atype As String,Values As String)"; +RDebugUtils.currentLine=9895937; + //BA.debugLineNum = 9895937;BA.debugLine="CODIGO = Values"; +__ref._codigo /*String*/ = _values; +RDebugUtils.currentLine=9895938; + //BA.debugLineNum = 9895938;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CO"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS ENCONTRADO from kmt_info where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ",new String[]{__ref._codigo /*String*/ }))); +RDebugUtils.currentLine=9895939; + //BA.debugLineNum = 9895939;BA.debugLine="c2.Position =0"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9895940; + //BA.debugLineNum = 9895940;BA.debugLine="If c2.GetString(\"ENCONTRADO\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ENCONTRADO")))>0) { +RDebugUtils.currentLine=9895941; + //BA.debugLineNum = 9895941;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_CODIGO from kmt_info where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ",new String[]{__ref._codigo /*String*/ }))); +RDebugUtils.currentLine=9895942; + //BA.debugLineNum = 9895942;BA.debugLine="s.Position =0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=9895943; + //BA.debugLineNum = 9895943;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=9895944; + //BA.debugLineNum = 9895944;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"))})); +RDebugUtils.currentLine=9895945; + //BA.debugLineNum = 9895945;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=9895947; + //BA.debugLineNum = 9895947;BA.debugLine="B4XPages.ShowPage(\"clientes\")"; +_b4xpages._showpage /*String*/ (ba,"clientes"); + }else { +RDebugUtils.currentLine=9895949; + //BA.debugLineNum = 9895949;BA.debugLine="Msgbox(\"CODIGO \" & CODIGO & \" NO ENCONTRADO\",\"AV"; +__c.Msgbox(BA.ObjectToCharSequence("CODIGO "+__ref._codigo /*String*/ +" NO ENCONTRADO"),BA.ObjectToCharSequence("AVISO"),ba); + }; +RDebugUtils.currentLine=9895951; + //BA.debugLineNum = 9895951;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_cuestionario.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_cuestionario.java new file mode 100644 index 0000000..a3a7111 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_cuestionario.java @@ -0,0 +1,484 @@ +package SHARK2.keymon.com.mx; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_cuestionario 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, "SHARK2.keymon.com.mx.c_cuestionario"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.c_cuestionario.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.ButtonWrapper _baceptarpregunta = null; +public boolean _encuestainiciada = false; +public anywheresoftware.b4a.objects.B4XViewWrapper _root2 = null; +public String _eventname = ""; +public Object _callback = null; +public String _vpreguntaactual = ""; +public anywheresoftware.b4a.sql.SQL _db = null; +public anywheresoftware.b4a.objects.PanelWrapper _panelsombra = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _ocultpanelpregunta(SHARK2.keymon.com.mx.c_cuestionario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "ocultpanelpregunta", false)) + {return ((String) Debug.delegate(ba, "ocultpanelpregunta", null));} +RDebugUtils.currentLine=10944512; + //BA.debugLineNum = 10944512;BA.debugLine="Sub ocultPanelPregunta"; +RDebugUtils.currentLine=10944513; + //BA.debugLineNum = 10944513;BA.debugLine="If panelSombra.IsInitialized Then panelSombra.Rem"; +if (__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .IsInitialized()) { +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .RemoveView();}; +RDebugUtils.currentLine=10944514; + //BA.debugLineNum = 10944514;BA.debugLine="End Sub"; +return ""; +} +public Object _initialize(SHARK2.keymon.com.mx.c_cuestionario __ref,anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname,anywheresoftware.b4a.objects.B4XViewWrapper _vroot,anywheresoftware.b4a.sql.SQL _skmt) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba,_vcallback,_veventname,_vroot,_skmt}));} +RDebugUtils.currentLine=10354688; + //BA.debugLineNum = 10354688;BA.debugLine="Public Sub Initialize (vCallback As Object, vEvent"; +RDebugUtils.currentLine=10354689; + //BA.debugLineNum = 10354689;BA.debugLine="Root2 = vRoot"; +__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _vroot; +RDebugUtils.currentLine=10354690; + //BA.debugLineNum = 10354690;BA.debugLine="EventName = vEventName"; +__ref._eventname /*String*/ = _veventname; +RDebugUtils.currentLine=10354691; + //BA.debugLineNum = 10354691;BA.debugLine="CallBack = vCallback"; +__ref._callback /*Object*/ = _vcallback; +RDebugUtils.currentLine=10354692; + //BA.debugLineNum = 10354692;BA.debugLine="db = skmt"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ = _skmt; +RDebugUtils.currentLine=10354693; + //BA.debugLineNum = 10354693;BA.debugLine="vPreguntaActual = 0"; +__ref._vpreguntaactual /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=10354694; + //BA.debugLineNum = 10354694;BA.debugLine="db.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CUEST"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("CREATE TABLE IF NOT EXISTS CUESTIONARIO (Q_RUTA TEXT, Q_ALMACEN TEXT, Q_IDCLIENTE TEXT, Q_IDPREGUNTA TEXT, Q_PREGUNTA TEXT, Q_IDRESPUESTA TEXT, Q_RESPUESTA TEXT, Q_FECHA TEXT, Q_ENVIO_OK INTEGER DEFAULT 0)"); +RDebugUtils.currentLine=10354695; + //BA.debugLineNum = 10354695;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_ENVIO_OK\", \"TEXT"; +__ref._agregacolumna /*String*/ (null,"CUESTIONARIO","Q_ENVIO_OK","TEXT"); +RDebugUtils.currentLine=10354696; + //BA.debugLineNum = 10354696;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_RUTA\", \"TEXT\")"; +__ref._agregacolumna /*String*/ (null,"CUESTIONARIO","Q_RUTA","TEXT"); +RDebugUtils.currentLine=10354697; + //BA.debugLineNum = 10354697;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_ALMACEN\", \"TEXT\""; +__ref._agregacolumna /*String*/ (null,"CUESTIONARIO","Q_ALMACEN","TEXT"); +RDebugUtils.currentLine=10354698; + //BA.debugLineNum = 10354698;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=10354699; + //BA.debugLineNum = 10354699;BA.debugLine="End Sub"; +return null; +} +public String _agregapregunta(SHARK2.keymon.com.mx.c_cuestionario __ref,String _id,String _pregunta,anywheresoftware.b4a.objects.collections.List _respuestas) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "agregapregunta", false)) + {return ((String) Debug.delegate(ba, "agregapregunta", new Object[] {_id,_pregunta,_respuestas}));} +anywheresoftware.b4a.objects.StringUtils _su = null; +anywheresoftware.b4a.objects.drawable.ColorDrawable _cd = null; +anywheresoftware.b4a.objects.PanelWrapper _panelx = null; +anywheresoftware.b4a.objects.LabelWrapper _lbl = null; +anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper[] _r = null; +int _p = 0; +int _newtop = 0; +RDebugUtils.currentLine=10551296; + //BA.debugLineNum = 10551296;BA.debugLine="Sub agregaPregunta(id As String, pregunta As Strin"; +RDebugUtils.currentLine=10551297; + //BA.debugLineNum = 10551297;BA.debugLine="encuestaIniciada = True"; +__ref._encuestainiciada /*boolean*/ = __c.True; +RDebugUtils.currentLine=10551298; + //BA.debugLineNum = 10551298;BA.debugLine="vPreguntaActual = id"; +__ref._vpreguntaactual /*String*/ = _id; +RDebugUtils.currentLine=10551299; + //BA.debugLineNum = 10551299;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .Initialize(ba,"bAceptarPregunta"); +RDebugUtils.currentLine=10551301; + //BA.debugLineNum = 10551301;BA.debugLine="Private su As StringUtils"; +_su = new anywheresoftware.b4a.objects.StringUtils(); +RDebugUtils.currentLine=10551302; + //BA.debugLineNum = 10551302;BA.debugLine="panelSombra.Initialize(\"pSombra\")"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .Initialize(ba,"pSombra"); +RDebugUtils.currentLine=10551303; + //BA.debugLineNum = 10551303;BA.debugLine="Private cd As ColorDrawable"; +_cd = new anywheresoftware.b4a.objects.drawable.ColorDrawable(); +RDebugUtils.currentLine=10551304; + //BA.debugLineNum = 10551304;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)"; +_cd.Initialize(__c.Colors.ARGB((int) (125),(int) (98),(int) (98),(int) (98)),(int) (0)); +RDebugUtils.currentLine=10551305; + //BA.debugLineNum = 10551305;BA.debugLine="panelSombra.Background = cd"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); +RDebugUtils.currentLine=10551306; + //BA.debugLineNum = 10551306;BA.debugLine="Private panelX As Panel 'Panel de la pregunta."; +_panelx = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=10551307; + //BA.debugLineNum = 10551307;BA.debugLine="panelX.Initialize(\"pQuest\")"; +_panelx.Initialize(ba,"pQuest"); +RDebugUtils.currentLine=10551308; + //BA.debugLineNum = 10551308;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta."; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=10551309; + //BA.debugLineNum = 10551309;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(ba,""); +RDebugUtils.currentLine=10551310; + //BA.debugLineNum = 10551310;BA.debugLine="lbl.Text = pregunta"; +_lbl.setText(BA.ObjectToCharSequence(_pregunta)); +RDebugUtils.currentLine=10551311; + //BA.debugLineNum = 10551311;BA.debugLine="lbl.TextSize = 16"; +_lbl.setTextSize((float) (16)); +RDebugUtils.currentLine=10551312; + //BA.debugLineNum = 10551312;BA.debugLine="lbl.TextColor = Colors.Black"; +_lbl.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=10551313; + //BA.debugLineNum = 10551313;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)"; +_cd.Initialize2(__c.Colors.White,(int) (20),(int) (1),__c.Colors.Gray); +RDebugUtils.currentLine=10551314; + //BA.debugLineNum = 10551314;BA.debugLine="panelX.Background = cd"; +_panelx.setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); +RDebugUtils.currentLine=10551315; + //BA.debugLineNum = 10551315;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .AddView((android.view.View)(_panelx.getObject()),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (0)),__c.PerXToCurrent((float) (80),ba),__c.DipToCurrent((int) (200))); +RDebugUtils.currentLine=10551316; + //BA.debugLineNum = 10551316;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a"; +__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .getObject()),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); +RDebugUtils.currentLine=10551317; + //BA.debugLineNum = 10551317;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *"; +_panelx.AddView((android.view.View)(_lbl.getObject()),__c.DipToCurrent((int) (20)),__c.DipToCurrent((int) (20)),(int) ((_panelx.getWidth()*0.9)),__c.DipToCurrent((int) (40))); +RDebugUtils.currentLine=10551318; + //BA.debugLineNum = 10551318;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l"; +_lbl.setHeight(_su.MeasureMultilineTextHeight((android.widget.TextView)(_lbl.getObject()),BA.ObjectToCharSequence(_lbl.getText()))); +RDebugUtils.currentLine=10551319; + //BA.debugLineNum = 10551319;BA.debugLine="Private r(respuestas.Size) As RadioButton"; +_r = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper[_respuestas.getSize()]; +{ +int d0 = _r.length; +for (int i0 = 0;i0 < d0;i0++) { +_r[i0] = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +} +} +; +RDebugUtils.currentLine=10551320; + //BA.debugLineNum = 10551320;BA.debugLine="For p = 0 To respuestas.Size - 1"; +{ +final int step23 = 1; +final int limit23 = (int) (_respuestas.getSize()-1); +_p = (int) (0) ; +for (;_p <= limit23 ;_p = _p + step23 ) { +RDebugUtils.currentLine=10551321; + //BA.debugLineNum = 10551321;BA.debugLine="r(p).Initialize(\"r\")"; +_r[_p].Initialize(ba,"r"); +RDebugUtils.currentLine=10551322; + //BA.debugLineNum = 10551322;BA.debugLine="r(p).Text = respuestas.Get(p)"; +_r[_p].setText(BA.ObjectToCharSequence(_respuestas.Get(_p))); +RDebugUtils.currentLine=10551323; + //BA.debugLineNum = 10551323;BA.debugLine="r(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregunt"; +_r[_p].setTag((Object)(__c.createMap(new Object[] {(Object)("id"),(Object)(_id),(Object)("pregunta"),(Object)(_pregunta),(Object)("panel"),(Object)(__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .getObject()),(Object)("idRespuesta"),(Object)(_p+1)}).getObject())); +RDebugUtils.currentLine=10551324; + //BA.debugLineNum = 10551324;BA.debugLine="panelX.AddView(r(p), 10dip, (70 * (p + 1)), (pan"; +_panelx.AddView((android.view.View)(_r[_p].getObject()),__c.DipToCurrent((int) (10)),(int) ((70*(_p+1))),(int) ((_panelx.getWidth()*0.9)),(int) (10)); +RDebugUtils.currentLine=10551325; + //BA.debugLineNum = 10551325;BA.debugLine="r(p).Height = su.MeasureMultilineTextHeight(r(p)"; +_r[_p].setHeight((int) (_su.MeasureMultilineTextHeight((android.widget.TextView)(_r[_p].getObject()),BA.ObjectToCharSequence(_r[_p].getText()))+25)); +RDebugUtils.currentLine=10551326; + //BA.debugLineNum = 10551326;BA.debugLine="Private newTop As Int = lbl.top + lbl.Height + 1"; +_newtop = (int) (_lbl.getTop()+_lbl.getHeight()+10); +RDebugUtils.currentLine=10551327; + //BA.debugLineNum = 10551327;BA.debugLine="If p <> 0 Then newTop = r(p - 1).Top + r(p - 1)."; +if (_p!=0) { +_newtop = (int) (_r[(int) (_p-1)].getTop()+_r[(int) (_p-1)].getHeight()+5);}; +RDebugUtils.currentLine=10551328; + //BA.debugLineNum = 10551328;BA.debugLine="r(p).Top = newTop"; +_r[_p].setTop(_newtop); + } +}; +RDebugUtils.currentLine=10551330; + //BA.debugLineNum = 10551330;BA.debugLine="r(0).Checked = True"; +_r[(int) (0)].setChecked(__c.True); +RDebugUtils.currentLine=10551331; + //BA.debugLineNum = 10551331;BA.debugLine="bAceptarPregunta.Text = \"Continuar\""; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("Continuar")); +RDebugUtils.currentLine=10551332; + //BA.debugLineNum = 10551332;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, newTop + r(r"; +_panelx.AddView((android.view.View)(__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getObject()),(int) (10),(int) (_newtop+_r[(int) (_respuestas.getSize()-1)].getHeight()+20),__c.DipToCurrent((int) (150)),__c.DipToCurrent((int) (50))); +RDebugUtils.currentLine=10551333; + //BA.debugLineNum = 10551333;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) ((_panelx.getWidth()/(double)2)-(__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=10551334; + //BA.debugLineNum = 10551334;BA.debugLine="panelX.Height = bAceptarPregunta.Top + bAceptarPr"; +_panelx.setHeight((int) (__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getTop()+__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getHeight()+__c.DipToCurrent((int) (15)))); +RDebugUtils.currentLine=10551335; + //BA.debugLineNum = 10551335;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /"; +_panelx.setLeft((int) ((__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(_panelx.getWidth()/(double)2))); +RDebugUtils.currentLine=10551336; + //BA.debugLineNum = 10551336;BA.debugLine="panelX.top = (Root2.Height / 3) - (panelX.Height"; +_panelx.setTop((int) ((__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)3)-(_panelx.getHeight()/(double)2))); +RDebugUtils.currentLine=10551337; + //BA.debugLineNum = 10551337;BA.debugLine="panelSombra.Width = Root2.Width"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=10551338; + //BA.debugLineNum = 10551338;BA.debugLine="panelSombra.Height = Root2.Height"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root2 /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=10551339; + //BA.debugLineNum = 10551339;BA.debugLine="panelSombra.Elevation = 100"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .setElevation((float) (100)); +RDebugUtils.currentLine=10551340; + //BA.debugLineNum = 10551340;BA.debugLine="panelSombra.BringToFront"; +__ref._panelsombra /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=10551342; + //BA.debugLineNum = 10551342;BA.debugLine="End Sub"; +return ""; +} +public String _agregacolumna(SHARK2.keymon.com.mx.c_cuestionario __ref,String _tabla,String _columna,String _tipo) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "agregacolumna", false)) + {return ((String) Debug.delegate(ba, "agregacolumna", new Object[] {_tabla,_columna,_tipo}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=11010048; + //BA.debugLineNum = 11010048;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +RDebugUtils.currentLine=11010049; + //BA.debugLineNum = 11010049;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=11010050; + //BA.debugLineNum = 11010050;BA.debugLine="Private c As Cursor = db.ExecQuery($\"SELECT COUN"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+__c.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+__c.SmartStringFormatter("",(Object)(_columna))+"'")))); +RDebugUtils.currentLine=11010051; + //BA.debugLineNum = 11010051;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=11010052; + //BA.debugLineNum = 11010052;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=11010053; + //BA.debugLineNum = 11010053;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=11010054; + //BA.debugLineNum = 11010054;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +__c.LogImpl("511010054",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); + }; + } + catch (Exception e9) { + ba.setLastException(e9);RDebugUtils.currentLine=11010057; + //BA.debugLineNum = 11010057;BA.debugLine="Try"; +try {RDebugUtils.currentLine=11010058; + //BA.debugLineNum = 11010058;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=11010059; + //BA.debugLineNum = 11010059;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +__c.LogImpl("511010059",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); + } + catch (Exception e13) { + ba.setLastException(e13);RDebugUtils.currentLine=11010061; + //BA.debugLineNum = 11010061;BA.debugLine="Log(LastException)"; +__c.LogImpl("511010061",BA.ObjectToString(__c.LastException(ba)),0); + }; + }; +RDebugUtils.currentLine=11010064; + //BA.debugLineNum = 11010064;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(SHARK2.keymon.com.mx.c_cuestionario __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=10420224; + //BA.debugLineNum = 10420224;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=10420225; + //BA.debugLineNum = 10420225;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=10420227; + //BA.debugLineNum = 10420227;BA.debugLine="End Sub"; +return ""; +} +public String _baceptarpregunta_click(SHARK2.keymon.com.mx.c_cuestionario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "baceptarpregunta_click", false)) + {return ((String) Debug.delegate(ba, "baceptarpregunta_click", null));} +anywheresoftware.b4a.objects.collections.Map _m = null; +RDebugUtils.currentLine=10813440; + //BA.debugLineNum = 10813440;BA.debugLine="Private Sub bAceptarPregunta_Click"; +RDebugUtils.currentLine=10813441; + //BA.debugLineNum = 10813441;BA.debugLine="encuestaIniciada = True"; +__ref._encuestainiciada /*boolean*/ = __c.True; +RDebugUtils.currentLine=10813442; + //BA.debugLineNum = 10813442;BA.debugLine="Private m As Map = Sender.As(Button).tag.As(Map)"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m = ((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba)))).getTag()))); +RDebugUtils.currentLine=10813443; + //BA.debugLineNum = 10813443;BA.debugLine="preguntaContestada(m)"; +__ref._preguntacontestada /*String*/ (null,_m); +RDebugUtils.currentLine=10813456; + //BA.debugLineNum = 10813456;BA.debugLine="End Sub"; +return ""; +} +public String _preguntacontestada(SHARK2.keymon.com.mx.c_cuestionario __ref,anywheresoftware.b4a.objects.collections.Map _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "preguntacontestada", false)) + {return ((String) Debug.delegate(ba, "preguntacontestada", new Object[] {_success}));} +RDebugUtils.currentLine=10616832; + //BA.debugLineNum = 10616832;BA.debugLine="private Sub preguntaContestada(Success As Map) 'ig"; +RDebugUtils.currentLine=10616833; + //BA.debugLineNum = 10616833;BA.debugLine="If SubExists(CallBack, EventName & \"_preguntaCont"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_preguntaContestada")) { +RDebugUtils.currentLine=10616834; + //BA.debugLineNum = 10616834;BA.debugLine="CallSubDelayed2(CallBack, EventName & \"_pregunta"; +__c.CallSubDelayed2(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_preguntaContestada",(Object)(_success)); + }; +RDebugUtils.currentLine=10616836; + //BA.debugLineNum = 10616836;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_cuestionario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +RDebugUtils.currentLine=10289152; + //BA.debugLineNum = 10289152;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=10289153; + //BA.debugLineNum = 10289153;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=10289154; + //BA.debugLineNum = 10289154;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=10289155; + //BA.debugLineNum = 10289155;BA.debugLine="Private bAceptarPregunta As Button"; +_baceptarpregunta = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=10289156; + //BA.debugLineNum = 10289156;BA.debugLine="Dim encuestaIniciada As Boolean = False"; +_encuestainiciada = __c.False; +RDebugUtils.currentLine=10289157; + //BA.debugLineNum = 10289157;BA.debugLine="Private Root2 As B4XView"; +_root2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=10289158; + //BA.debugLineNum = 10289158;BA.debugLine="Private EventName As String 'ignore"; +_eventname = ""; +RDebugUtils.currentLine=10289159; + //BA.debugLineNum = 10289159;BA.debugLine="Private CallBack As Object 'ignore"; +_callback = new Object(); +RDebugUtils.currentLine=10289160; + //BA.debugLineNum = 10289160;BA.debugLine="Private vPreguntaActual As String"; +_vpreguntaactual = ""; +RDebugUtils.currentLine=10289161; + //BA.debugLineNum = 10289161;BA.debugLine="Private db As SQL"; +_db = new anywheresoftware.b4a.sql.SQL(); +RDebugUtils.currentLine=10289163; + //BA.debugLineNum = 10289163;BA.debugLine="Dim panelSombra As Panel 'Panel de sombra."; +_panelsombra = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=10289164; + //BA.debugLineNum = 10289164;BA.debugLine="End Sub"; +return ""; +} +public boolean _clienteconcuestionario(SHARK2.keymon.com.mx.c_cuestionario __ref,String _idcliente) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "clienteconcuestionario", false)) + {return ((Boolean) Debug.delegate(ba, "clienteconcuestionario", new Object[] {_idcliente}));} +boolean _r = false; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=10878976; + //BA.debugLineNum = 10878976;BA.debugLine="Sub clienteConCuestionario(idCliente As String) As"; +RDebugUtils.currentLine=10878977; + //BA.debugLineNum = 10878977;BA.debugLine="Private r As Boolean = False"; +_r = __c.False; +RDebugUtils.currentLine=10878978; + //BA.debugLineNum = 10878978;BA.debugLine="Private c As Cursor = db.ExecQuery($\"select count"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(*) as q from CUESTIONARIO where Q_IDCLIENTE = '"+__c.SmartStringFormatter("",(Object)(_idcliente))+"'")))); +RDebugUtils.currentLine=10878979; + //BA.debugLineNum = 10878979;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=10878980; + //BA.debugLineNum = 10878980;BA.debugLine="If c.GetInt(\"q\") > 0 Then r = True"; +if (_c.GetInt("q")>0) { +_r = __c.True;}; +RDebugUtils.currentLine=10878981; + //BA.debugLineNum = 10878981;BA.debugLine="Return r"; +if (true) return _r; +RDebugUtils.currentLine=10878982; + //BA.debugLineNum = 10878982;BA.debugLine="End Sub"; +return false; +} +public String _preguntaactual(SHARK2.keymon.com.mx.c_cuestionario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "preguntaactual", false)) + {return ((String) Debug.delegate(ba, "preguntaactual", null));} +RDebugUtils.currentLine=10485760; + //BA.debugLineNum = 10485760;BA.debugLine="Sub preguntaActual As String 'ignore"; +RDebugUtils.currentLine=10485761; + //BA.debugLineNum = 10485761;BA.debugLine="Return vPreguntaActual"; +if (true) return __ref._vpreguntaactual /*String*/ ; +RDebugUtils.currentLine=10485762; + //BA.debugLineNum = 10485762;BA.debugLine="End Sub"; +return ""; +} +public String _psombra_click(SHARK2.keymon.com.mx.c_cuestionario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "psombra_click", false)) + {return ((String) Debug.delegate(ba, "psombra_click", null));} +RDebugUtils.currentLine=10682368; + //BA.debugLineNum = 10682368;BA.debugLine="private Sub pSombra_Click"; +RDebugUtils.currentLine=10682369; + //BA.debugLineNum = 10682369;BA.debugLine="End Sub"; +return ""; +} +public String _r_checkedchange(SHARK2.keymon.com.mx.c_cuestionario __ref,boolean _checked) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_cuestionario"; +if (Debug.shouldDelegate(ba, "r_checkedchange", false)) + {return ((String) Debug.delegate(ba, "r_checkedchange", new Object[] {_checked}));} +RDebugUtils.currentLine=10747904; + //BA.debugLineNum = 10747904;BA.debugLine="private Sub r_CheckedChange(Checked As Boolean)"; +RDebugUtils.currentLine=10747905; + //BA.debugLineNum = 10747905;BA.debugLine="bAceptarPregunta.tag = CreateMap(\"idPregunta\":Sen"; +__ref._baceptarpregunta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setTag((Object)(__c.createMap(new Object[] {(Object)("idPregunta"),(Object)((BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("id"))))),(Object)("pregunta"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("pregunta")),(Object)("idRespuesta"),(Object)((BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("idRespuesta"))))),(Object)("respuesta"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()),(Object)("panel"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("panel"))}).getObject())); +RDebugUtils.currentLine=10747906; + //BA.debugLineNum = 10747906;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_historico.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_historico.java new file mode 100644 index 0000000..712c3d7 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_historico.java @@ -0,0 +1,423 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.c_historico"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 String _ruta = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _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 _borra = null; +public String _existe = ""; +public String _result = ""; +public anywheresoftware.b4a.objects.LabelWrapper _titulo = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_desc = null; +public anywheresoftware.b4a.objects.ListViewWrapper _listview2 = null; +public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.c_historico __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=11141120; + //BA.debugLineNum = 11141120;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=11141121; + //BA.debugLineNum = 11141121;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=11141122; + //BA.debugLineNum = 11141122;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_appear(SHARK2.keymon.com.mx.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=11272192; + //BA.debugLineNum = 11272192;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=11272193; + //BA.debugLineNum = 11272193;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { +RDebugUtils.currentLine=11272194; + //BA.debugLineNum = 11272194;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); +RDebugUtils.currentLine=11272195; + //BA.debugLineNum = 11272195;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); + }; +RDebugUtils.currentLine=11272197; + //BA.debugLineNum = 11272197;BA.debugLine="L_CANT.Text =\"\""; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=11272198; + //BA.debugLineNum = 11272198;BA.debugLine="L_TOTAL.Text=\"\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=11272199; + //BA.debugLineNum = 11272199;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=11272200; + //BA.debugLineNum = 11272200;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=11272201; + //BA.debugLineNum = 11272201;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; +__ref._existe /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("EXISTE"); +RDebugUtils.currentLine=11272202; + //BA.debugLineNum = 11272202;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=11272203; + //BA.debugLineNum = 11272203;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HVD_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._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=11272204; + //BA.debugLineNum = 11272204;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=11272205; + //BA.debugLineNum = 11272205;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=11272206; + //BA.debugLineNum = 11272206;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step14 = 1; +final int limit14 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit14 ;_i = _i + step14 ) { +RDebugUtils.currentLine=11272207; + //BA.debugLineNum = 11272207;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=11272208; + //BA.debugLineNum = 11272208;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11272209; + //BA.debugLineNum = 11272209;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=11272210; + //BA.debugLineNum = 11272210;BA.debugLine="label1.TextSize = 15"; +_label1.setTextSize((float) (15)); +RDebugUtils.currentLine=11272211; + //BA.debugLineNum = 11272211;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=11272212; + //BA.debugLineNum = 11272212;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11272213; + //BA.debugLineNum = 11272213;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=11272214; + //BA.debugLineNum = 11272214;BA.debugLine="label2.TextSize = 10"; +_label2.setTextSize((float) (10)); +RDebugUtils.currentLine=11272215; + //BA.debugLineNum = 11272215;BA.debugLine="label2.TextColor = Colors.Blue"; +_label2.setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=11272216; + //BA.debugLineNum = 11272216;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"HVD_PRONOMBR"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_PRONOMBRE")),BA.ObjectToCharSequence("Cantidad #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_CANT")+" SubTotal $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HVD_COSTO_TOT"))); + } +}; + }; +RDebugUtils.currentLine=11272219; + //BA.debugLineNum = 11272219;BA.debugLine="If Existe <> 0 Then"; +if ((__ref._existe /*String*/ ).equals(BA.NumberToString(0)) == false) { +RDebugUtils.currentLine=11272220; + //BA.debugLineNum = 11272220;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(H"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=11272221; + //BA.debugLineNum = 11272221;BA.debugLine="C.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=11272222; + //BA.debugLineNum = 11272222;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=11272223; + //BA.debugLineNum = 11272223;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); + }; +RDebugUtils.currentLine=11272225; + //BA.debugLineNum = 11272225;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(SHARK2.keymon.com.mx.c_historico __ref) throws Exception{ +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(SHARK2.keymon.com.mx.c_historico parent,SHARK2.keymon.com.mx.c_historico __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_historico __ref; +SHARK2.keymon.com.mx.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=11468803; + //BA.debugLineNum = 11468803;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +parent._b4xpages._showpage /*String*/ (ba,"Principal"); +RDebugUtils.currentLine=11468804; + //BA.debugLineNum = 11468804;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=11468805; + //BA.debugLineNum = 11468805;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(SHARK2.keymon.com.mx.c_historico __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=11206656; + //BA.debugLineNum = 11206656;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=11206657; + //BA.debugLineNum = 11206657;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=11206659; + //BA.debugLineNum = 11206659;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=11206660; + //BA.debugLineNum = 11206660;BA.debugLine="Root.LoadLayout(\"nota\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("nota",ba); +RDebugUtils.currentLine=11206661; + //BA.debugLineNum = 11206661;BA.debugLine="borra.Visible = False"; +__ref._borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=11206662; + //BA.debugLineNum = 11206662;BA.debugLine="Titulo.Text = \"Acumulado\""; +__ref._titulo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Acumulado")); +RDebugUtils.currentLine=11206663; + //BA.debugLineNum = 11206663;BA.debugLine="b_desc.Visible = False"; +__ref._b_desc /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=11206664; + //BA.debugLineNum = 11206664;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=11206665; + //BA.debugLineNum = 11206665;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); + }; +RDebugUtils.currentLine=11206668; + //BA.debugLineNum = 11206668;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +RDebugUtils.currentLine=11075584; + //BA.debugLineNum = 11075584;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=11075585; + //BA.debugLineNum = 11075585;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=11075586; + //BA.debugLineNum = 11075586;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=11075588; + //BA.debugLineNum = 11075588;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=11075589; + //BA.debugLineNum = 11075589;BA.debugLine="Dim clie_id As String"; +_clie_id = ""; +RDebugUtils.currentLine=11075590; + //BA.debugLineNum = 11075590;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=11075591; + //BA.debugLineNum = 11075591;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=11075593; + //BA.debugLineNum = 11075593;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=11075594; + //BA.debugLineNum = 11075594;BA.debugLine="Dim ruta As String"; +_ruta = ""; +RDebugUtils.currentLine=11075595; + //BA.debugLineNum = 11075595;BA.debugLine="Dim Regresar As Button"; +_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11075598; + //BA.debugLineNum = 11075598;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=11075599; + //BA.debugLineNum = 11075599;BA.debugLine="Dim L_CANT As Label"; +_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11075600; + //BA.debugLineNum = 11075600;BA.debugLine="Dim L_TOTAL As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11075601; + //BA.debugLineNum = 11075601;BA.debugLine="Dim borra As Button"; +_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11075602; + //BA.debugLineNum = 11075602;BA.debugLine="Dim Existe As String"; +_existe = ""; +RDebugUtils.currentLine=11075603; + //BA.debugLineNum = 11075603;BA.debugLine="Dim result As String"; +_result = ""; +RDebugUtils.currentLine=11075606; + //BA.debugLineNum = 11075606;BA.debugLine="Private Titulo As Label"; +_titulo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11075607; + //BA.debugLineNum = 11075607;BA.debugLine="Private b_desc As Button"; +_b_desc = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11075608; + //BA.debugLineNum = 11075608;BA.debugLine="Private ListView2 As ListView"; +_listview2 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=11075609; + //BA.debugLineNum = 11075609;BA.debugLine="Dim tgl As Toggle"; +_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); +RDebugUtils.currentLine=11075610; + //BA.debugLineNum = 11075610;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(SHARK2.keymon.com.mx.c_historico __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=11337728; + //BA.debugLineNum = 11337728;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=11337731; + //BA.debugLineNum = 11337731;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemclick(SHARK2.keymon.com.mx.c_historico __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "listview1_itemclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemclick", new Object[] {_position,_value}));} +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +int _i = 0; +RDebugUtils.currentLine=11599872; + //BA.debugLineNum = 11599872;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; +RDebugUtils.currentLine=11599873; + //BA.debugLineNum = 11599873;BA.debugLine="ListView2.Visible = True"; +__ref._listview2 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=11599874; + //BA.debugLineNum = 11599874;BA.debugLine="ListView1.Visible = False"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=11599875; + //BA.debugLineNum = 11599875;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11599876; + //BA.debugLineNum = 11599876;BA.debugLine="For i=0 To 20"; +{ +final int step4 = 1; +final int limit4 = (int) (20); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=11599877; + //BA.debugLineNum = 11599877;BA.debugLine="label1 = ListView2.SingleLineLayout.Label"; +_label1 = __ref._listview2 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=11599878; + //BA.debugLineNum = 11599878;BA.debugLine="label1.TextSize = 15"; +_label1.setTextSize((float) (15)); +RDebugUtils.currentLine=11599879; + //BA.debugLineNum = 11599879;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=11599880; + //BA.debugLineNum = 11599880;BA.debugLine="ListView2.AddSingleLine(i)"; +__ref._listview2 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(_i)); + } +}; +RDebugUtils.currentLine=11599882; + //BA.debugLineNum = 11599882;BA.debugLine="End Sub"; +return ""; +} +public String _listview2_itemclick(SHARK2.keymon.com.mx.c_historico __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "listview2_itemclick", false)) + {return ((String) Debug.delegate(ba, "listview2_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=11534336; + //BA.debugLineNum = 11534336;BA.debugLine="Sub ListView2_ItemClick (Position As Int, Value As"; +RDebugUtils.currentLine=11534337; + //BA.debugLineNum = 11534337;BA.debugLine="ListView2.Visible = False"; +__ref._listview2 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=11534338; + //BA.debugLineNum = 11534338;BA.debugLine="ListView1.Visible = True"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=11534339; + //BA.debugLineNum = 11534339;BA.debugLine="End Sub"; +return ""; +} +public String _regresar_click(SHARK2.keymon.com.mx.c_historico __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_historico"; +if (Debug.shouldDelegate(ba, "regresar_click", false)) + {return ((String) Debug.delegate(ba, "regresar_click", null));} +RDebugUtils.currentLine=11403264; + //BA.debugLineNum = 11403264;BA.debugLine="Sub Regresar_Click"; +RDebugUtils.currentLine=11403265; + //BA.debugLineNum = 11403265;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=11403266; + //BA.debugLineNum = 11403266;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_mapas.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_mapas.java new file mode 100644 index 0000000..0eeeed4 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_mapas.java @@ -0,0 +1,95 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.c_mapas"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.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=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 _b4xpage_created(SHARK2.keymon.com.mx.c_mapas __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_mapas"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=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=11796484; + //BA.debugLineNum = 11796484;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_mapas __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_mapas"; +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="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_nota.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_nota.java new file mode 100644 index 0000000..5533cb8 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_nota.java @@ -0,0 +1,969 @@ +package SHARK2.keymon.com.mx; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_nota extends B4AClass.ImplB4AClass implements BA.SubDelegator{ + private static java.util.HashMap htSubs; + private void innerInitialize(BA _ba) throws Exception { + if (ba == null) { + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "SHARK2.keymon.com.mx.c_nota"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.c_nota.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 _skmt = 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 String _ruta = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _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 _borra = null; +public String _existe = ""; +public String _result = ""; +public String _desc = ""; +public anywheresoftware.b4a.objects.LabelWrapper _titulo = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_desc = null; +public String _descuento = ""; +public String _folio = ""; +public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; +public String _almacen = ""; +public anywheresoftware.b4a.objects.PanelWrapper _p_nota = null; +public anywheresoftware.b4a.objects.collections.List _vamoaver = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _j3 = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.c_nota __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=11927552; + //BA.debugLineNum = 11927552;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=11927553; + //BA.debugLineNum = 11927553;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=11927554; + //BA.debugLineNum = 11927554;BA.debugLine="End Sub"; +return null; +} +public String _activity_pause(SHARK2.keymon.com.mx.c_nota __ref,boolean _userclosed) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +RDebugUtils.currentLine=12189696; + //BA.debugLineNum = 12189696;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=12189698; + //BA.debugLineNum = 12189698;BA.debugLine="End Sub"; +return ""; +} +public String _actualizartotalespantalla(SHARK2.keymon.com.mx.c_nota __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "actualizartotalespantalla", false)) + {return ((String) Debug.delegate(ba, "actualizartotalespantalla", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _res = null; +RDebugUtils.currentLine=12124160; + //BA.debugLineNum = 12124160;BA.debugLine="Private Sub ActualizarTotalesPantalla"; +RDebugUtils.currentLine=12124162; + //BA.debugLineNum = 12124162;BA.debugLine="Dim res As Cursor = B4XPages.MainPage.skmt.ExecQu"; +_res = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_res = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT IFNULL(SUM(PE_CANT),0) AS PC_NOART, SUM(IFNULL(PE_COSTO_TOT,0)) AS PC_MONTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)"))); +RDebugUtils.currentLine=12124164; + //BA.debugLineNum = 12124164;BA.debugLine="If res.RowCount > 0 Then"; +if (_res.getRowCount()>0) { +RDebugUtils.currentLine=12124165; + //BA.debugLineNum = 12124165;BA.debugLine="res.Position = 0"; +_res.setPosition((int) (0)); +RDebugUtils.currentLine=12124166; + //BA.debugLineNum = 12124166;BA.debugLine="L_CANT.Text = res.GetString(\"PC_NOART\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_res.GetString("PC_NOART"))); +RDebugUtils.currentLine=12124167; + //BA.debugLineNum = 12124167;BA.debugLine="L_TOTAL.Text = \"$\" & NumberFormat2(res.GetDouble"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("$"+__c.NumberFormat2(_res.GetDouble("PC_MONTO"),(int) (1),(int) (2),(int) (2),__c.False))); + }else { +RDebugUtils.currentLine=12124169; + //BA.debugLineNum = 12124169;BA.debugLine="L_CANT.Text = \"0\""; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); +RDebugUtils.currentLine=12124170; + //BA.debugLineNum = 12124170;BA.debugLine="L_TOTAL.Text = \"$0.00\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("$0.00")); + }; +RDebugUtils.currentLine=12124172; + //BA.debugLineNum = 12124172;BA.debugLine="res.Close"; +_res.Close(); +RDebugUtils.currentLine=12124175; + //BA.debugLineNum = 12124175;BA.debugLine="If Subs.pedidoGuardado Then borra.Enabled = False"; +if (_subs._pedidoguardado /*boolean*/ (ba)) { +__ref._borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.False);} +else { +__ref._borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(__c.True);}; +RDebugUtils.currentLine=12124176; + //BA.debugLineNum = 12124176;BA.debugLine="End Sub"; +return ""; +} +public String _b_desc_click(SHARK2.keymon.com.mx.c_nota __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "b_desc_click", false)) + {return ((String) Debug.delegate(ba, "b_desc_click", null));} +RDebugUtils.currentLine=12582912; + //BA.debugLineNum = 12582912;BA.debugLine="Sub b_desc_Click"; +RDebugUtils.currentLine=12582913; + //BA.debugLineNum = 12582913;BA.debugLine="If DESCUENTO = \"MENOS\" Then"; +if ((__ref._descuento /*String*/ ).equals("MENOS")) { +RDebugUtils.currentLine=12582914; + //BA.debugLineNum = 12582914;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=12582915; + //BA.debugLineNum = 12582915;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=12582916; + //BA.debugLineNum = 12582916;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=12582917; + //BA.debugLineNum = 12582917;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=12582918; + //BA.debugLineNum = 12582918;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=12582919; + //BA.debugLineNum = 12582919;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=12582920; + //BA.debugLineNum = 12582920;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=12582921; + //BA.debugLineNum = 12582921;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=12582922; + //BA.debugLineNum = 12582922;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=12582923; + //BA.debugLineNum = 12582923;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=12582924; + //BA.debugLineNum = 12582924;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=12582925; + //BA.debugLineNum = 12582925;BA.debugLine="result = Msgbox2(\"Seguro que desea dar descuent"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea dar descuento del 5%?"),BA.ObjectToCharSequence("Dar descuento"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=12582926; + //BA.debugLineNum = 12582926;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=12582927; + //BA.debugLineNum = 12582927;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT * .95, PE_DESC = 5 WHERE PE_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=12582928; + //BA.debugLineNum = 12582928;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=12582929; + //BA.debugLineNum = 12582929;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=12582930; + //BA.debugLineNum = 12582930;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=12582931; + //BA.debugLineNum = 12582931;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=12582932; + //BA.debugLineNum = 12582932;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=12582933; + //BA.debugLineNum = 12582933;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }else +{RDebugUtils.currentLine=12582935; + //BA.debugLineNum = 12582935;BA.debugLine="ELSE IF DESCUENTO = \"MAS\" Then"; +if ((__ref._descuento /*String*/ ).equals("MAS")) { +RDebugUtils.currentLine=12582936; + //BA.debugLineNum = 12582936;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=12582937; + //BA.debugLineNum = 12582937;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=12582938; + //BA.debugLineNum = 12582938;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=12582939; + //BA.debugLineNum = 12582939;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=12582940; + //BA.debugLineNum = 12582940;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=12582941; + //BA.debugLineNum = 12582941;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=12582942; + //BA.debugLineNum = 12582942;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=12582943; + //BA.debugLineNum = 12582943;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=12582944; + //BA.debugLineNum = 12582944;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=12582945; + //BA.debugLineNum = 12582945;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=12582946; + //BA.debugLineNum = 12582946;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=12582947; + //BA.debugLineNum = 12582947;BA.debugLine="result = Msgbox2(\"Seguro que desea CANCELAR el"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea CANCELAR el descuento?"),BA.ObjectToCharSequence("Cancelar descuento"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=12582948; + //BA.debugLineNum = 12582948;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=12582949; + //BA.debugLineNum = 12582949;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT / .95, PE_DESC = 0 WHERE PE_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=12582950; + //BA.debugLineNum = 12582950;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=12582951; + //BA.debugLineNum = 12582951;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=12582952; + //BA.debugLineNum = 12582952;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=12582953; + //BA.debugLineNum = 12582953;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=12582954; + //BA.debugLineNum = 12582954;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=12582955; + //BA.debugLineNum = 12582955;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }} +; +RDebugUtils.currentLine=12582958; + //BA.debugLineNum = 12582958;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(SHARK2.keymon.com.mx.c_nota __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +String _query = ""; +String _almacenactual = ""; +int _i = 0; +String _idprod = ""; +String _nomprod = ""; +String _factual = ""; +String _presname = ""; +String _cantpres = ""; +int _uvmval = 0; +String _cedisfila = ""; +String _dirigidafila = ""; +int _cantpzs = 0; +anywheresoftware.b4a.objects.CSBuilder _cstitulo = null; +anywheresoftware.b4a.objects.CSBuilder _csdetalle = null; +anywheresoftware.b4a.objects.collections.Map _datosidentificadores = null; +RDebugUtils.currentLine=12058624; + //BA.debugLineNum = 12058624;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=12058626; + //BA.debugLineNum = 12058626;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { +RDebugUtils.currentLine=12058627; + //BA.debugLineNum = 12058627;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); +RDebugUtils.currentLine=12058628; + //BA.debugLineNum = 12058628;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); + }; +RDebugUtils.currentLine=12058632; + //BA.debugLineNum = 12058632;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT ID_A"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN"))); +RDebugUtils.currentLine=12058633; + //BA.debugLineNum = 12058633;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=12058634; + //BA.debugLineNum = 12058634;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=12058635; + //BA.debugLineNum = 12058635;BA.debugLine="almacen = c.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); + }; +RDebugUtils.currentLine=12058637; + //BA.debugLineNum = 12058637;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=12058640; + //BA.debugLineNum = 12058640;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 130dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (130))); +RDebugUtils.currentLine=12058643; + //BA.debugLineNum = 12058643;BA.debugLine="ListView1.TwoLinesLayout.Label.Height = 45dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label.setHeight(__c.DipToCurrent((int) (45))); +RDebugUtils.currentLine=12058644; + //BA.debugLineNum = 12058644;BA.debugLine="ListView1.TwoLinesLayout.Label.TextSize = 18"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label.setTextSize((float) (18)); +RDebugUtils.currentLine=12058645; + //BA.debugLineNum = 12058645;BA.debugLine="ListView1.TwoLinesLayout.Label.Typeface = Typefac"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label.setTypeface(__c.Typeface.DEFAULT_BOLD); +RDebugUtils.currentLine=12058646; + //BA.debugLineNum = 12058646;BA.debugLine="ListView1.TwoLinesLayout.Label.TextColor = Colors"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label.setTextColor(__c.Colors.RGB((int) (150),(int) (0),(int) (0))); +RDebugUtils.currentLine=12058647; + //BA.debugLineNum = 12058647;BA.debugLine="ListView1.TwoLinesLayout.Label.Gravity = Gravity."; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label.setGravity(__c.Gravity.CENTER_VERTICAL); +RDebugUtils.currentLine=12058650; + //BA.debugLineNum = 12058650;BA.debugLine="ListView1.TwoLinesLayout.SecondLabel.Height = 80d"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel.setHeight(__c.DipToCurrent((int) (80))); +RDebugUtils.currentLine=12058651; + //BA.debugLineNum = 12058651;BA.debugLine="ListView1.TwoLinesLayout.SecondLabel.Top = 45dip"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel.setTop(__c.DipToCurrent((int) (45))); +RDebugUtils.currentLine=12058652; + //BA.debugLineNum = 12058652;BA.debugLine="ListView1.TwoLinesLayout.SecondLabel.TextSize = 1"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel.setTextSize((float) (14)); +RDebugUtils.currentLine=12058656; + //BA.debugLineNum = 12058656;BA.debugLine="Dim query As String = \"SELECT PE_PRONOMBRE, PE_CO"; +_query = "SELECT PE_PRONOMBRE, PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS, "+"PE_PRESENTACION, PE_CANTC, PE_UVM, PE_PROID, PE_DIRIGIDA "+"FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM cuentaa) "+"ORDER BY PE_CEDIS,PE_COSTO_TOT, PE_PRONOMBRE"; +RDebugUtils.currentLine=12058661; + //BA.debugLineNum = 12058661;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(query)"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(_query))); +RDebugUtils.currentLine=12058662; + //BA.debugLineNum = 12058662;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=12058663; + //BA.debugLineNum = 12058663;BA.debugLine="vamoaver.Initialize"; +__ref._vamoaver /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=12058711; + //BA.debugLineNum = 12058711;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=12058712; + //BA.debugLineNum = 12058712;BA.debugLine="Dim almacenActual As String = Subs.traeAlmacen '"; +_almacenactual = _subs._traealmacen /*String*/ (ba); +RDebugUtils.currentLine=12058714; + //BA.debugLineNum = 12058714;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step26 = 1; +final int limit26 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit26 ;_i = _i + step26 ) { +RDebugUtils.currentLine=12058715; + //BA.debugLineNum = 12058715;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=12058718; + //BA.debugLineNum = 12058718;BA.debugLine="Dim idProd As String = c.GetString(\"PE_PROID\")"; +_idprod = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"); +RDebugUtils.currentLine=12058719; + //BA.debugLineNum = 12058719;BA.debugLine="Dim nomProd As String = c.GetString(\"PE_PRONOMB"; +_nomprod = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRONOMBRE"); +RDebugUtils.currentLine=12058720; + //BA.debugLineNum = 12058720;BA.debugLine="Dim fActual As String = c.GetString(\"PE_FOLIO\")"; +_factual = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO"); +RDebugUtils.currentLine=12058721; + //BA.debugLineNum = 12058721;BA.debugLine="Dim presName As String = c.GetString(\"PE_PRESEN"; +_presname = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRESENTACION"); +RDebugUtils.currentLine=12058722; + //BA.debugLineNum = 12058722;BA.debugLine="Dim cantPres As String = c.GetString(\"PE_CANTC\""; +_cantpres = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANTC"); +RDebugUtils.currentLine=12058723; + //BA.debugLineNum = 12058723;BA.debugLine="Dim uvmVal As Int = c.GetInt(\"PE_UVM\")"; +_uvmval = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_UVM"); +RDebugUtils.currentLine=12058724; + //BA.debugLineNum = 12058724;BA.debugLine="Dim cedisFila As String = c.GetString(\"PE_CEDIS"; +_cedisfila = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS"); +RDebugUtils.currentLine=12058725; + //BA.debugLineNum = 12058725;BA.debugLine="Dim dirigidaFila As String = c.GetString(\"PE_DI"; +_dirigidafila = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DIRIGIDA"); +RDebugUtils.currentLine=12058726; + //BA.debugLineNum = 12058726;BA.debugLine="Dim cantPzs As Int = c.GetInt(\"PE_CANT\")"; +_cantpzs = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetInt("PE_CANT"); +RDebugUtils.currentLine=12058728; + //BA.debugLineNum = 12058728;BA.debugLine="If cantPres = \"\" Or cantPres = \"null\" Then cant"; +if ((_cantpres).equals("") || (_cantpres).equals("null")) { +_cantpres = "0";}; +RDebugUtils.currentLine=12058732; + //BA.debugLineNum = 12058732;BA.debugLine="Dim csTitulo As CSBuilder"; +_cstitulo = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=12058733; + //BA.debugLineNum = 12058733;BA.debugLine="csTitulo.Initialize"; +_cstitulo.Initialize(); +RDebugUtils.currentLine=12058735; + //BA.debugLineNum = 12058735;BA.debugLine="If cedisFila <> almacenActual Then"; +if ((_cedisfila).equals(_almacenactual) == false) { +RDebugUtils.currentLine=12058737; + //BA.debugLineNum = 12058737;BA.debugLine="csTitulo.Color(Colors.RGB(0, 150, 136)).Typefa"; +_cstitulo.Color(__c.Colors.RGB((int) (0),(int) (150),(int) (136))).Typeface(__c.Typeface.DEFAULT_BOLD).Append(BA.ObjectToCharSequence(_nomprod+" (PROMO)")).PopAll(); + }else { +RDebugUtils.currentLine=12058740; + //BA.debugLineNum = 12058740;BA.debugLine="csTitulo.Color(Colors.RGB(150, 0, 0)).Typeface"; +_cstitulo.Color(__c.Colors.RGB((int) (150),(int) (0),(int) (0))).Typeface(__c.Typeface.DEFAULT_BOLD).Append(BA.ObjectToCharSequence(_nomprod)).PopAll(); + }; +RDebugUtils.currentLine=12058744; + //BA.debugLineNum = 12058744;BA.debugLine="Dim csDetalle As CSBuilder"; +_csdetalle = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=12058745; + //BA.debugLineNum = 12058745;BA.debugLine="csDetalle.Initialize"; +_csdetalle.Initialize(); +RDebugUtils.currentLine=12058748; + //BA.debugLineNum = 12058748;BA.debugLine="If uvmVal > 1 Then"; +if (_uvmval>1) { +RDebugUtils.currentLine=12058749; + //BA.debugLineNum = 12058749;BA.debugLine="csDetalle.Color(Colors.Blue).Size(17).Append(p"; +_csdetalle.Color(__c.Colors.Blue).Size((int) (17)).Append(BA.ObjectToCharSequence(_presname.toUpperCase()+": "+BA.NumberToString((_cantpzs/(double)_uvmval)))).Pop().Pop().Append(BA.ObjectToCharSequence(__c.CRLF)); +RDebugUtils.currentLine=12058750; + //BA.debugLineNum = 12058750;BA.debugLine="csDetalle.Size(6).Append(CRLF).Pop"; +_csdetalle.Size((int) (6)).Append(BA.ObjectToCharSequence(__c.CRLF)).Pop(); + }; +RDebugUtils.currentLine=12058754; + //BA.debugLineNum = 12058754;BA.debugLine="csDetalle.Color(Colors.DarkGray).Size(13).Appen"; +_csdetalle.Color(__c.Colors.DarkGray).Size((int) (13)).Append(BA.ObjectToCharSequence("Piezas: ")).Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("#"+BA.NumberToString(_cantpzs))).Pop(); +RDebugUtils.currentLine=12058755; + //BA.debugLineNum = 12058755;BA.debugLine="csDetalle.Append(\" | \").Color(Colors.DarkGray"; +_csdetalle.Append(BA.ObjectToCharSequence(" | ")).Color(__c.Colors.DarkGray).Append(BA.ObjectToCharSequence("Subtotal: ")).Color(((int)0xff008000)).Append(BA.ObjectToCharSequence("$"+__c.NumberFormat2(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("PE_COSTO_TOT"),(int) (1),(int) (2),(int) (2),__c.False))).PopAll(); +RDebugUtils.currentLine=12058758; + //BA.debugLineNum = 12058758;BA.debugLine="Dim datosIdentificadores As Map = CreateMap(\"id"; +_datosidentificadores = new anywheresoftware.b4a.objects.collections.Map(); +_datosidentificadores = __c.createMap(new Object[] {(Object)("id"),(Object)(_idprod),(Object)("nombre"),(Object)(_nomprod),(Object)("cedis"),(Object)(_cedisfila),(Object)("pres"),(Object)(_presname),(Object)("uvm"),(Object)(_uvmval),(Object)("dir"),(Object)(_dirigidafila),(Object)("folio"),(Object)(_factual),(Object)("cant"),(Object)(_cantpzs)}); +RDebugUtils.currentLine=12058762; + //BA.debugLineNum = 12058762;BA.debugLine="ListView1.AddTwoLines2(csTitulo, csDetalle, dat"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines2(BA.ObjectToCharSequence(_cstitulo.getObject()),BA.ObjectToCharSequence(_csdetalle.getObject()),(Object)(_datosidentificadores.getObject())); +RDebugUtils.currentLine=12058764; + //BA.debugLineNum = 12058764;BA.debugLine="vamoaver.Add(fActual)"; +__ref._vamoaver /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_factual)); + } +}; + }; +RDebugUtils.currentLine=12058767; + //BA.debugLineNum = 12058767;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=12058770; + //BA.debugLineNum = 12058770;BA.debugLine="ActualizarTotalesPantalla"; +__ref._actualizartotalespantalla /*String*/ (null); +RDebugUtils.currentLine=12058771; + //BA.debugLineNum = 12058771;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(SHARK2.keymon.com.mx.c_nota __ref) throws Exception{ +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(SHARK2.keymon.com.mx.c_nota parent,SHARK2.keymon.com.mx.c_nota __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_nota __ref; +SHARK2.keymon.com.mx.c_nota parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_nota"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=12386307; + //BA.debugLineNum = 12386307;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +parent._b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=12386308; + //BA.debugLineNum = 12386308;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=12386309; + //BA.debugLineNum = 12386309;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(SHARK2.keymon.com.mx.c_nota __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=11993088; + //BA.debugLineNum = 11993088;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=11993089; + //BA.debugLineNum = 11993089;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=11993090; + //BA.debugLineNum = 11993090;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=11993091; + //BA.debugLineNum = 11993091;BA.debugLine="Root.LoadLayout(\"nota\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("nota",ba); +RDebugUtils.currentLine=11993092; + //BA.debugLineNum = 11993092;BA.debugLine="borra.Visible = True"; +__ref._borra /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=11993093; + //BA.debugLineNum = 11993093;BA.debugLine="Titulo.Text = \"Pedido Actual\""; +__ref._titulo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Pedido Actual")); +RDebugUtils.currentLine=11993100; + //BA.debugLineNum = 11993100;BA.debugLine="End Sub"; +return ""; +} +public String _borra_click(SHARK2.keymon.com.mx.c_nota __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "borra_click", false)) + {return ((String) Debug.delegate(ba, "borra_click", null));} +int _i = 0; +String _tablainventario = ""; +RDebugUtils.currentLine=12451840; + //BA.debugLineNum = 12451840;BA.debugLine="Sub borra_Click"; +RDebugUtils.currentLine=12451841; + //BA.debugLineNum = 12451841;BA.debugLine="Log(\"Entre al btn borrar\")"; +__c.LogImpl("512451841","Entre al btn borrar",0); +RDebugUtils.currentLine=12451842; + //BA.debugLineNum = 12451842;BA.debugLine="result = Msgbox2(\"Seguro que desa borrar el pedi"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa borrar el pedido?"),BA.ObjectToCharSequence("Cancelar pedido"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=12451843; + //BA.debugLineNum = 12451843;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=12451844; + //BA.debugLineNum = 12451844;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE_PR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) "))); +RDebugUtils.currentLine=12451845; + //BA.debugLineNum = 12451845;BA.debugLine="Log($\"select PE_PROID,PE_CANT FROM PEDIDO where"; +__c.LogImpl("512451845",("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa)"),0); +RDebugUtils.currentLine=12451846; + //BA.debugLineNum = 12451846;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=12451847; + //BA.debugLineNum = 12451847;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=12451850; + //BA.debugLineNum = 12451850;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=12451852; + //BA.debugLineNum = 12451852;BA.debugLine="Dim tablaInventario As String"; +_tablainventario = ""; +RDebugUtils.currentLine=12451854; + //BA.debugLineNum = 12451854;BA.debugLine="If c.GetString(\"PE_FOLIO\") = \"PREVENTA_CONTADO"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")).equals("PREVENTA_CONTADO") || (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")).equals("ABORDO")) { +RDebugUtils.currentLine=12451855; + //BA.debugLineNum = 12451855;BA.debugLine="tablaInventario = \"CAT_GUNAPROD\""; +_tablainventario = "CAT_GUNAPROD"; +RDebugUtils.currentLine=12451856; + //BA.debugLineNum = 12451856;BA.debugLine="Log(\"1\")"; +__c.LogImpl("512451856","1",0); + }else +{RDebugUtils.currentLine=12451857; + //BA.debugLineNum = 12451857;BA.debugLine="Else If c.GetString(\"PE_FOLIO\") = \"VENTA\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")).equals("VENTA")) { +RDebugUtils.currentLine=12451858; + //BA.debugLineNum = 12451858;BA.debugLine="tablaInventario = \"CAT_GUNAPROD2\""; +_tablainventario = "CAT_GUNAPROD2"; +RDebugUtils.currentLine=12451859; + //BA.debugLineNum = 12451859;BA.debugLine="Log(2)"; +__c.LogImpl("512451859",BA.NumberToString(2),0); + }else +{RDebugUtils.currentLine=12451860; + //BA.debugLineNum = 12451860;BA.debugLine="Else If c.GetString(\"PE_FOLIO\") = \"RECARGA\" Th"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")).equals("RECARGA")) { +RDebugUtils.currentLine=12451861; + //BA.debugLineNum = 12451861;BA.debugLine="tablaInventario = \"CAT_GUNAPROD\""; +_tablainventario = "CAT_GUNAPROD"; +RDebugUtils.currentLine=12451862; + //BA.debugLineNum = 12451862;BA.debugLine="Log(3)"; +__c.LogImpl("512451862",BA.NumberToString(3),0); + }else +{RDebugUtils.currentLine=12451863; + //BA.debugLineNum = 12451863;BA.debugLine="Else If c.GetString(\"PE_FOLIO\") = \"PREVENTA_CR"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")).equals("PREVENTA_CREDITO")) { +RDebugUtils.currentLine=12451864; + //BA.debugLineNum = 12451864;BA.debugLine="tablaInventario = \"CAT_GUNAPROD4\""; +_tablainventario = "CAT_GUNAPROD4"; +RDebugUtils.currentLine=12451865; + //BA.debugLineNum = 12451865;BA.debugLine="Log(4)"; +__c.LogImpl("512451865",BA.NumberToString(4),0); + }}}} +; +RDebugUtils.currentLine=12451867; + //BA.debugLineNum = 12451867;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+__c.SmartStringFormatter("",(Object)(_tablainventario))+" set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?"),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))})); +RDebugUtils.currentLine=12451868; + //BA.debugLineNum = 12451868;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")),(Object)((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))*-1)})); + } +}; + }; +RDebugUtils.currentLine=12451871; + //BA.debugLineNum = 12451871;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"); +RDebugUtils.currentLine=12451872; + //BA.debugLineNum = 12451872;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"); +RDebugUtils.currentLine=12451873; + //BA.debugLineNum = 12451873;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=12451874; + //BA.debugLineNum = 12451874;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; +RDebugUtils.currentLine=12451876; + //BA.debugLineNum = 12451876;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_nota __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +RDebugUtils.currentLine=11862016; + //BA.debugLineNum = 11862016;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=11862017; + //BA.debugLineNum = 11862017;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=11862018; + //BA.debugLineNum = 11862018;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=11862020; + //BA.debugLineNum = 11862020;BA.debugLine="Dim skmt As SQL"; +_skmt = new anywheresoftware.b4a.sql.SQL(); +RDebugUtils.currentLine=11862021; + //BA.debugLineNum = 11862021;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=11862022; + //BA.debugLineNum = 11862022;BA.debugLine="Dim clie_id As String"; +_clie_id = ""; +RDebugUtils.currentLine=11862023; + //BA.debugLineNum = 11862023;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=11862024; + //BA.debugLineNum = 11862024;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=11862026; + //BA.debugLineNum = 11862026;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=11862027; + //BA.debugLineNum = 11862027;BA.debugLine="Dim ruta As String"; +_ruta = ""; +RDebugUtils.currentLine=11862028; + //BA.debugLineNum = 11862028;BA.debugLine="Dim Regresar As Button"; +_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11862030; + //BA.debugLineNum = 11862030;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=11862031; + //BA.debugLineNum = 11862031;BA.debugLine="Dim L_CANT As Label"; +_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11862032; + //BA.debugLineNum = 11862032;BA.debugLine="Dim L_TOTAL As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11862033; + //BA.debugLineNum = 11862033;BA.debugLine="Dim borra As Button"; +_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11862034; + //BA.debugLineNum = 11862034;BA.debugLine="Dim Existe As String"; +_existe = ""; +RDebugUtils.currentLine=11862035; + //BA.debugLineNum = 11862035;BA.debugLine="Dim result As String"; +_result = ""; +RDebugUtils.currentLine=11862037; + //BA.debugLineNum = 11862037;BA.debugLine="Dim DESC As String"; +_desc = ""; +RDebugUtils.currentLine=11862039; + //BA.debugLineNum = 11862039;BA.debugLine="Private Titulo As Label"; +_titulo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=11862040; + //BA.debugLineNum = 11862040;BA.debugLine="Private b_desc As Button"; +_b_desc = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=11862041; + //BA.debugLineNum = 11862041;BA.debugLine="Dim DESCUENTO As String"; +_descuento = ""; +RDebugUtils.currentLine=11862042; + //BA.debugLineNum = 11862042;BA.debugLine="Dim folio As String"; +_folio = ""; +RDebugUtils.currentLine=11862043; + //BA.debugLineNum = 11862043;BA.debugLine="Dim tgl As Toggle"; +_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); +RDebugUtils.currentLine=11862044; + //BA.debugLineNum = 11862044;BA.debugLine="Private almacen As String"; +_almacen = ""; +RDebugUtils.currentLine=11862045; + //BA.debugLineNum = 11862045;BA.debugLine="Private p_nota As Panel"; +_p_nota = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=11862046; + //BA.debugLineNum = 11862046;BA.debugLine="Dim vamoaver As List"; +_vamoaver = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=11862047; + //BA.debugLineNum = 11862047;BA.debugLine="Dim c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=11862048; + //BA.debugLineNum = 11862048;BA.debugLine="Dim j3 As Cursor"; +_j3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=11862049; + //BA.debugLineNum = 11862049;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(SHARK2.keymon.com.mx.c_nota __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=12255232; + //BA.debugLineNum = 12255232;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=12255235; + //BA.debugLineNum = 12255235;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemlongclick(SHARK2.keymon.com.mx.c_nota __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +anywheresoftware.b4a.objects.collections.Map _datos = null; +String _idprod = ""; +String _nom = ""; +String _presname = ""; +int _uvmval = 0; +String _cedis = ""; +String _folioactual = ""; +int _cantregresar = 0; +String _tablainv = ""; +int _j = 0; +String _qdelete = ""; +RDebugUtils.currentLine=12517376; + //BA.debugLineNum = 12517376;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=12517378; + //BA.debugLineNum = 12517378;BA.debugLine="Dim datos As Map = Value"; +_datos = new anywheresoftware.b4a.objects.collections.Map(); +_datos = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_value)); +RDebugUtils.currentLine=12517380; + //BA.debugLineNum = 12517380;BA.debugLine="Dim idProd As String = datos.Get(\"id\")"; +_idprod = BA.ObjectToString(_datos.Get((Object)("id"))); +RDebugUtils.currentLine=12517381; + //BA.debugLineNum = 12517381;BA.debugLine="Dim nom As String = datos.Get(\"nombre\")"; +_nom = BA.ObjectToString(_datos.Get((Object)("nombre"))); +RDebugUtils.currentLine=12517382; + //BA.debugLineNum = 12517382;BA.debugLine="Dim presName As String = datos.Get(\"pres\")"; +_presname = BA.ObjectToString(_datos.Get((Object)("pres"))); +RDebugUtils.currentLine=12517383; + //BA.debugLineNum = 12517383;BA.debugLine="Dim uvmVal As Int = datos.Get(\"uvm\")"; +_uvmval = (int)(BA.ObjectToNumber(_datos.Get((Object)("uvm")))); +RDebugUtils.currentLine=12517384; + //BA.debugLineNum = 12517384;BA.debugLine="Dim cedis As String = datos.Get(\"cedis\")"; +_cedis = BA.ObjectToString(_datos.Get((Object)("cedis"))); +RDebugUtils.currentLine=12517385; + //BA.debugLineNum = 12517385;BA.debugLine="Dim folioActual As String = datos.Get(\"folio\")"; +_folioactual = BA.ObjectToString(_datos.Get((Object)("folio"))); +RDebugUtils.currentLine=12517386; + //BA.debugLineNum = 12517386;BA.debugLine="Dim cantRegresar As Int = datos.Get(\"cant\")"; +_cantregresar = (int)(BA.ObjectToNumber(_datos.Get((Object)("cant")))); +RDebugUtils.currentLine=12517387; + //BA.debugLineNum = 12517387;BA.debugLine="Log(folioActual)"; +__c.LogImpl("512517387",_folioactual,0); +RDebugUtils.currentLine=12517388; + //BA.debugLineNum = 12517388;BA.debugLine="Log(cedis)"; +__c.LogImpl("512517388",_cedis,0); +RDebugUtils.currentLine=12517390; + //BA.debugLineNum = 12517390;BA.debugLine="result = Msgbox2(\"¿Seguro que desea borrar \" & no"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("¿Seguro que desea borrar "+_nom+" ("+_presname+")?"),BA.ObjectToCharSequence("Borrar Artículo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=12517392; + //BA.debugLineNum = 12517392;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=12517394; + //BA.debugLineNum = 12517394;BA.debugLine="Dim tablaInv As String"; +_tablainv = ""; +RDebugUtils.currentLine=12517398; + //BA.debugLineNum = 12517398;BA.debugLine="If folioActual = \"PREVENTA_CONTADO\" Or folioActu"; +if ((_folioactual).equals("PREVENTA_CONTADO") || (_folioactual).equals("ABORDO")) { +RDebugUtils.currentLine=12517399; + //BA.debugLineNum = 12517399;BA.debugLine="tablaInv = \"CAT_GUNAPROD\""; +_tablainv = "CAT_GUNAPROD"; +RDebugUtils.currentLine=12517400; + //BA.debugLineNum = 12517400;BA.debugLine="Log(\"1\")"; +__c.LogImpl("512517400","1",0); + }else +{RDebugUtils.currentLine=12517401; + //BA.debugLineNum = 12517401;BA.debugLine="Else If folioActual = \"VENTA\" Then"; +if ((_folioactual).equals("VENTA")) { +RDebugUtils.currentLine=12517402; + //BA.debugLineNum = 12517402;BA.debugLine="tablaInv = \"CAT_GUNAPROD2\""; +_tablainv = "CAT_GUNAPROD2"; +RDebugUtils.currentLine=12517403; + //BA.debugLineNum = 12517403;BA.debugLine="Log(2)"; +__c.LogImpl("512517403",BA.NumberToString(2),0); + }else +{RDebugUtils.currentLine=12517404; + //BA.debugLineNum = 12517404;BA.debugLine="Else If folioActual = \"RECARGA\" Then"; +if ((_folioactual).equals("RECARGA")) { +RDebugUtils.currentLine=12517405; + //BA.debugLineNum = 12517405;BA.debugLine="tablaInv = \"CAT_GUNAPROD\""; +_tablainv = "CAT_GUNAPROD"; +RDebugUtils.currentLine=12517406; + //BA.debugLineNum = 12517406;BA.debugLine="Log(3)"; +__c.LogImpl("512517406",BA.NumberToString(3),0); + }else +{RDebugUtils.currentLine=12517407; + //BA.debugLineNum = 12517407;BA.debugLine="Else If folioActual = \"PREVENTA_CREDITO\" Then"; +if ((_folioactual).equals("PREVENTA_CREDITO")) { +RDebugUtils.currentLine=12517408; + //BA.debugLineNum = 12517408;BA.debugLine="tablaInv = \"CAT_GUNAPROD4\""; +_tablainv = "CAT_GUNAPROD4"; +RDebugUtils.currentLine=12517409; + //BA.debugLineNum = 12517409;BA.debugLine="Log(4)"; +__c.LogImpl("512517409",BA.NumberToString(4),0); + }}}} +; +RDebugUtils.currentLine=12517412; + //BA.debugLineNum = 12517412;BA.debugLine="If cedis <> Subs.traeAlmacen Then"; +if ((_cedis).equals(_subs._traealmacen /*String*/ (ba)) == false) { +RDebugUtils.currentLine=12517415; + //BA.debugLineNum = 12517415;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ? and PE_CEDIS = ?) AND PE_FOLIO = ?",new String[]{_nom,_cedis,_folioactual}))); +RDebugUtils.currentLine=12517416; + //BA.debugLineNum = 12517416;BA.debugLine="Log(j3.RowCount)"; +__c.LogImpl("512517416",BA.NumberToString(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=12517417; + //BA.debugLineNum = 12517417;BA.debugLine="If j3.RowCount > 0 Then"; +if (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=12517418; + //BA.debugLineNum = 12517418;BA.debugLine="Log(\"Soy promo\")"; +__c.LogImpl("512517418","Soy promo",0); +RDebugUtils.currentLine=12517419; + //BA.debugLineNum = 12517419;BA.debugLine="For j = 0 To j3.RowCount -1"; +{ +final int step32 = 1; +final int limit32 = (int) (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_j = (int) (0) ; +for (;_j <= limit32 ;_j = _j + step32 ) { +RDebugUtils.currentLine=12517420; + //BA.debugLineNum = 12517420;BA.debugLine="Log(\"aqui tronare?\")"; +__c.LogImpl("512517420","aqui tronare?",0); +RDebugUtils.currentLine=12517422; + //BA.debugLineNum = 12517422;BA.debugLine="j3.Position = j"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_j); +RDebugUtils.currentLine=12517423; + //BA.debugLineNum = 12517423;BA.debugLine="Log(j3.GetString(\"PE_CANT\"))"; +__c.LogImpl("512517423",__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"),0); +RDebugUtils.currentLine=12517424; + //BA.debugLineNum = 12517424;BA.debugLine="Log($\"update ${tablaInv} set CAT_GP_ALMACEN ="; +__c.LogImpl("512517424",("update "+__c.SmartStringFormatter("",(Object)(_tablainv))+" set CAT_GP_ALMACEN = CAT_GP_ALMACEN + '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+"' where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'"),0); +RDebugUtils.currentLine=12517425; + //BA.debugLineNum = 12517425;BA.debugLine="If vamoaver.Get(Position) = \"PREVENTA_CREDITO"; +if ((__ref._vamoaver /*anywheresoftware.b4a.objects.collections.List*/ .Get(_position)).equals((Object)("PREVENTA_CREDITO"))) { +RDebugUtils.currentLine=12517426; + //BA.debugLineNum = 12517426;BA.debugLine="Starter.skmt.ExecNonQuery($\"update CAT_GUNAP"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD4 set CAT_GP_ALMACEN = CAT_GP_ALMACEN + "+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=12517427; + //BA.debugLineNum = 12517427;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); + }else { +RDebugUtils.currentLine=12517429; + //BA.debugLineNum = 12517429;BA.debugLine="Starter.skmt.ExecNonQuery($\"update ${tablaIn"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_tablainv))+" set CAT_GP_ALMACEN = CAT_GP_ALMACEN + "+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=12517430; + //BA.debugLineNum = 12517430;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); + }; + } +}; + }; +RDebugUtils.currentLine=12517435; + //BA.debugLineNum = 12517435;BA.debugLine="j3.Close"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=12517437; + //BA.debugLineNum = 12517437;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }else { +RDebugUtils.currentLine=12517441; + //BA.debugLineNum = 12517441;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ${"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE "+__c.SmartStringFormatter("",(Object)(_tablainv))+" SET CAT_GP_ALMACEN = CAT_GP_ALMACEN + "+__c.SmartStringFormatter("",(Object)(_cantregresar))+" WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idprod))+"'")); +RDebugUtils.currentLine=12517448; + //BA.debugLineNum = 12517448;BA.debugLine="Dim qDelete As String = \"DELETE FROM PEDIDO WHE"; +_qdelete = "DELETE FROM PEDIDO WHERE PE_PROID = ? AND PE_PRESENTACION = ? "+"AND PE_UVM = ? AND PE_CEDIS = ? "+"AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = ?"; +RDebugUtils.currentLine=12517452; + //BA.debugLineNum = 12517452;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(qDelete, A"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(_qdelete,anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_idprod),(Object)(_presname),(Object)(_uvmval),(Object)(_cedis),(Object)(_folioactual)})); +RDebugUtils.currentLine=12517454; + //BA.debugLineNum = 12517454;BA.debugLine="LogColor(\"Borrado exitoso de Nota: \" & nom & \""; +__c.LogImpl("512517454","Borrado exitoso de Nota: "+_nom+" ("+_presname+")",__c.Colors.Blue); +RDebugUtils.currentLine=12517457; + //BA.debugLineNum = 12517457;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*String*/ (null); + }; + }; +RDebugUtils.currentLine=12517461; + //BA.debugLineNum = 12517461;BA.debugLine="End Sub"; +return ""; +} +public String _p_nota_click(SHARK2.keymon.com.mx.c_nota __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "p_nota_click", false)) + {return ((String) Debug.delegate(ba, "p_nota_click", null));} +RDebugUtils.currentLine=12648448; + //BA.debugLineNum = 12648448;BA.debugLine="Private Sub p_nota_Click"; +RDebugUtils.currentLine=12648450; + //BA.debugLineNum = 12648450;BA.debugLine="End Sub"; +return ""; +} +public String _regresar_click(SHARK2.keymon.com.mx.c_nota __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nota"; +if (Debug.shouldDelegate(ba, "regresar_click", false)) + {return ((String) Debug.delegate(ba, "regresar_click", null));} +RDebugUtils.currentLine=12320768; + //BA.debugLineNum = 12320768;BA.debugLine="Sub Regresar_Click"; +RDebugUtils.currentLine=12320769; + //BA.debugLineNum = 12320769;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=12320770; + //BA.debugLineNum = 12320770;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_noventa.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_noventa.java new file mode 100644 index 0000000..9d33852 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_noventa.java @@ -0,0 +1,544 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.c_noventa"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 String _ruta = ""; +public anywheresoftware.b4a.sql.SQL _skmt = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +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 com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _r_4 = null; +public SHARK2.keymon.com.mx.dbrequestmanager _reqmanager = null; +public String _stay_hh = ""; +public String _stay_mi = ""; +public String _stay_ss = ""; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.c_noventa __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=12779520; + //BA.debugLineNum = 12779520;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=12779521; + //BA.debugLineNum = 12779521;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=12779522; + //BA.debugLineNum = 12779522;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_appear(SHARK2.keymon.com.mx.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +RDebugUtils.currentLine=12910592; + //BA.debugLineNum = 12910592;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=12910593; + //BA.debugLineNum = 12910593;BA.debugLine="e_comm.Text=\"\""; +__ref._e_comm /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=12910594; + //BA.debugLineNum = 12910594;BA.debugLine="tgl.Initialize"; +__ref._tgl /*com.rootsoft.togglelibrary.ToggleLibrary*/ .Initialize(ba); +RDebugUtils.currentLine=12910595; + //BA.debugLineNum = 12910595;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { +RDebugUtils.currentLine=12910596; + //BA.debugLineNum = 12910596;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); +RDebugUtils.currentLine=12910597; + //BA.debugLineNum = 12910597;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); + }; +RDebugUtils.currentLine=12910599; + //BA.debugLineNum = 12910599;BA.debugLine="r_1.Checked = False"; +__ref._r_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=12910600; + //BA.debugLineNum = 12910600;BA.debugLine="r_2.Checked = False"; +__ref._r_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=12910601; + //BA.debugLineNum = 12910601;BA.debugLine="r_3.Checked = False"; +__ref._r_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=12910602; + //BA.debugLineNum = 12910602;BA.debugLine="r_4.Checked = False"; +__ref._r_4 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .setChecked(__c.False); +RDebugUtils.currentLine=12910603; + //BA.debugLineNum = 12910603;BA.debugLine="e_comm.Text = \"\""; +__ref._e_comm /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=12910604; + //BA.debugLineNum = 12910604;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(SHARK2.keymon.com.mx.c_noventa __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=12845056; + //BA.debugLineNum = 12845056;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=12845057; + //BA.debugLineNum = 12845057;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=12845059; + //BA.debugLineNum = 12845059;BA.debugLine="Root.LoadLayout(\"noventa\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("noventa",ba); +RDebugUtils.currentLine=12845060; + //BA.debugLineNum = 12845060;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=12845062; + //BA.debugLineNum = 12845062;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=12845063; + //BA.debugLineNum = 12845063;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); + }; +RDebugUtils.currentLine=12845065; + //BA.debugLineNum = 12845065;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_starter._dbreqserver /*String*/ ); +RDebugUtils.currentLine=12845067; + //BA.debugLineNum = 12845067;BA.debugLine="End Sub"; +return ""; +} +public String _cancela_click(SHARK2.keymon.com.mx.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "cancela_click", false)) + {return ((String) Debug.delegate(ba, "cancela_click", null));} +RDebugUtils.currentLine=13041664; + //BA.debugLineNum = 13041664;BA.debugLine="Sub CANCELA_Click"; +RDebugUtils.currentLine=13041665; + //BA.debugLineNum = 13041665;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=13041666; + //BA.debugLineNum = 13041666;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +RDebugUtils.currentLine=12713984; + //BA.debugLineNum = 12713984;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=12713985; + //BA.debugLineNum = 12713985;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=12713986; + //BA.debugLineNum = 12713986;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=12713988; + //BA.debugLineNum = 12713988;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=12713989; + //BA.debugLineNum = 12713989;BA.debugLine="Dim ruta As String"; +_ruta = ""; +RDebugUtils.currentLine=12713990; + //BA.debugLineNum = 12713990;BA.debugLine="Dim skmt As SQL"; +_skmt = new anywheresoftware.b4a.sql.SQL(); +RDebugUtils.currentLine=12713991; + //BA.debugLineNum = 12713991;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=12713993; + //BA.debugLineNum = 12713993;BA.debugLine="Dim CANCELA As Button"; +_cancela = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=12713994; + //BA.debugLineNum = 12713994;BA.debugLine="Dim GUARDA As Button"; +_guarda = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=12713995; + //BA.debugLineNum = 12713995;BA.debugLine="Dim r_1 As RadioButton"; +_r_1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=12713996; + //BA.debugLineNum = 12713996;BA.debugLine="Dim r_2 As RadioButton"; +_r_2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=12713997; + //BA.debugLineNum = 12713997;BA.debugLine="Dim r_3 As RadioButton"; +_r_3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=12713998; + //BA.debugLineNum = 12713998;BA.debugLine="Dim e_comm As EditText"; +_e_comm = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=12713999; + //BA.debugLineNum = 12713999;BA.debugLine="Dim motivo As String"; +_motivo = ""; +RDebugUtils.currentLine=12714000; + //BA.debugLineNum = 12714000;BA.debugLine="Dim cuenta As String"; +_cuenta = ""; +RDebugUtils.currentLine=12714001; + //BA.debugLineNum = 12714001;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=12714002; + //BA.debugLineNum = 12714002;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=12714004; + //BA.debugLineNum = 12714004;BA.debugLine="Dim tgl As Toggle"; +_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); +RDebugUtils.currentLine=12714005; + //BA.debugLineNum = 12714005;BA.debugLine="Dim r_4 As RadioButton"; +_r_4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=12714006; + //BA.debugLineNum = 12714006;BA.debugLine="Dim reqManager As DBRequestManager"; +_reqmanager = new SHARK2.keymon.com.mx.dbrequestmanager(); +RDebugUtils.currentLine=12714007; + //BA.debugLineNum = 12714007;BA.debugLine="Private stay_hh As String"; +_stay_hh = ""; +RDebugUtils.currentLine=12714008; + //BA.debugLineNum = 12714008;BA.debugLine="Private stay_mi As String"; +_stay_mi = ""; +RDebugUtils.currentLine=12714009; + //BA.debugLineNum = 12714009;BA.debugLine="Private stay_ss As String"; +_stay_ss = ""; +RDebugUtils.currentLine=12714010; + //BA.debugLineNum = 12714010;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(SHARK2.keymon.com.mx.c_noventa __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=12976128; + //BA.debugLineNum = 12976128;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=12976131; + //BA.debugLineNum = 12976131;BA.debugLine="End Sub"; +return ""; +} +public String _guarda_click(SHARK2.keymon.com.mx.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "guarda_click", false)) + {return ((String) Debug.delegate(ba, "guarda_click", null));} +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _crevisa = null; +RDebugUtils.currentLine=13107200; + //BA.debugLineNum = 13107200;BA.debugLine="Sub GUARDA_Click"; +RDebugUtils.currentLine=13107201; + //BA.debugLineNum = 13107201;BA.debugLine="If r_1.Checked Then"; +if (__ref._r_1 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=13107202; + //BA.debugLineNum = 13107202;BA.debugLine="motivo = \"CERRADO\""; +__ref._motivo /*String*/ = "CERRADO"; + }else +{RDebugUtils.currentLine=13107203; + //BA.debugLineNum = 13107203;BA.debugLine="Else If r_2.Checked Then"; +if (__ref._r_2 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=13107204; + //BA.debugLineNum = 13107204;BA.debugLine="motivo = \"NO COMPRA\""; +__ref._motivo /*String*/ = "NO COMPRA"; + }else +{RDebugUtils.currentLine=13107205; + //BA.debugLineNum = 13107205;BA.debugLine="Else If r_3.Checked Then"; +if (__ref._r_3 /*anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper*/ .getChecked()) { +RDebugUtils.currentLine=13107206; + //BA.debugLineNum = 13107206;BA.debugLine="motivo = \"CON PRODUCTO\""; +__ref._motivo /*String*/ = "CON PRODUCTO"; + }else { +RDebugUtils.currentLine=13107208; + //BA.debugLineNum = 13107208;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; +__ref._motivo /*String*/ = "NO ESTA EL ENCARGADO"; + }}} +; +RDebugUtils.currentLine=13107210; + //BA.debugLineNum = 13107210;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=13107211; + //BA.debugLineNum = 13107211;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=13107212; + //BA.debugLineNum = 13107212;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=13107213; + //BA.debugLineNum = 13107213;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CUENTA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CUENTA from cuentaa"))); +RDebugUtils.currentLine=13107214; + //BA.debugLineNum = 13107214;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13107215; + //BA.debugLineNum = 13107215;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; +__ref._cuenta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=13107216; + //BA.debugLineNum = 13107216;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=13107217; + //BA.debugLineNum = 13107217;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13107218; + //BA.debugLineNum = 13107218;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=13107219; + //BA.debugLineNum = 13107219;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE_PRO"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) "))); +RDebugUtils.currentLine=13107220; + //BA.debugLineNum = 13107220;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=13107221; + //BA.debugLineNum = 13107221;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step21 = 1; +final int limit21 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit21 ;_i = _i + step21 ) { +RDebugUtils.currentLine=13107222; + //BA.debugLineNum = 13107222;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=13107223; + //BA.debugLineNum = 13107223;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update ca"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID"))})); +RDebugUtils.currentLine=13107224; + //BA.debugLineNum = 13107224;BA.debugLine="Subs.borraPedidoClienteActual"; +_subs._borrapedidoclienteactual /*String*/ (ba); + } +}; + }; +RDebugUtils.currentLine=13107231; + //BA.debugLineNum = 13107231;BA.debugLine="Dim cRevisa As Cursor = B4XPages.MainPage.skmt.Ex"; +_crevisa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_crevisa = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT distinct NV_CLIENTE FROM NOVENTA WHERE NV_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._cuenta /*String*/ ))+"'")))); +RDebugUtils.currentLine=13107232; + //BA.debugLineNum = 13107232;BA.debugLine="If cRevisa.RowCount > 0 Then"; +if (_crevisa.getRowCount()>0) { +RDebugUtils.currentLine=13107233; + //BA.debugLineNum = 13107233;BA.debugLine="cRevisa.Position = 0"; +_crevisa.setPosition((int) (0)); +RDebugUtils.currentLine=13107234; + //BA.debugLineNum = 13107234;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); + }else { +RDebugUtils.currentLine=13107236; + //BA.debugLineNum = 13107236;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON) VALUES(?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cuenta /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._motivo /*String*/ ),(Object)(__ref._e_comm /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=13107237; + //BA.debugLineNum = 13107237;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); + }; +RDebugUtils.currentLine=13107239; + //BA.debugLineNum = 13107239;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=13107240; + //BA.debugLineNum = 13107240;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=13107241; + //BA.debugLineNum = 13107241;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); +RDebugUtils.currentLine=13107244; + //BA.debugLineNum = 13107244;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (subs"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "+"Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "+" Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, "+"Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "+" Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "+" from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) "))); +RDebugUtils.currentLine=13107250; + //BA.debugLineNum = 13107250;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13107251; + //BA.debugLineNum = 13107251;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 60"; +__ref._stay_hh /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HORAS_TOTALES")))*60*60); +RDebugUtils.currentLine=13107252; + //BA.debugLineNum = 13107252;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60"; +__ref._stay_mi /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MINUTOS_TOTALES")))*60); +RDebugUtils.currentLine=13107253; + //BA.debugLineNum = 13107253;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")"; +__ref._stay_ss /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("SEGUNDOS_TOTALES"); +RDebugUtils.currentLine=13107255; + //BA.debugLineNum = 13107255;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((double)(Double.parseDouble(__ref._stay_hh /*String*/ ))+(double)(Double.parseDouble(__ref._stay_mi /*String*/ ))+(double)(Double.parseDouble(__ref._stay_ss /*String*/ )))})); +RDebugUtils.currentLine=13107256; + //BA.debugLineNum = 13107256;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_FIN = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); +RDebugUtils.currentLine=13107257; + //BA.debugLineNum = 13107257;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=13107259; + //BA.debugLineNum = 13107259;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update PEDI"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update PEDIDO_INICIO_FINAL set PIF_HORA_FINAL = ? where PIF_CLIENTE = ? and PIF_HORA_FINAL = 0",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__c.DateTime.getNow()),(Object)(__ref._cuenta /*String*/ )})); +RDebugUtils.currentLine=13107260; + //BA.debugLineNum = 13107260;BA.debugLine="LogColor($\"actualizamos \"${cuenta}, hora_final=$"; +__c.LogImpl("513107260",("actualizamos \""+__c.SmartStringFormatter("",(Object)(__ref._cuenta /*String*/ ))+", hora_final="+__c.SmartStringFormatter("",(Object)(__c.DateTime.getNow()))+""),__c.Colors.Red); +RDebugUtils.currentLine=13107263; + //BA.debugLineNum = 13107263;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); +RDebugUtils.currentLine=13107264; + //BA.debugLineNum = 13107264;BA.debugLine="End Sub"; +return ""; +} +public String _jobdone(SHARK2.keymon.com.mx.c_noventa __ref,SHARK2.keymon.com.mx.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}));} +SHARK2.keymon.com.mx.dbrequestmanager._dbresult _resultado = null; +String _cliente = ""; +Object[] _records = null; +String _k = ""; +RDebugUtils.currentLine=13238272; + //BA.debugLineNum = 13238272;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=13238273; + //BA.debugLineNum = 13238273;BA.debugLine="Log(Job.Success)"; +__c.LogImpl("513238273",BA.ObjectToString(_job._success /*boolean*/ ),0); +RDebugUtils.currentLine=13238274; + //BA.debugLineNum = 13238274;BA.debugLine="If Job.Success = False Then"; +if (_job._success /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=13238275; + //BA.debugLineNum = 13238275;BA.debugLine="ToastMessageShow(\"Error: \" & Job.ErrorMessage, Tr"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_job._errormessage /*String*/ ),__c.True); + }else { +RDebugUtils.currentLine=13238277; + //BA.debugLineNum = 13238277;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job)"; +__c.LogImpl("513238277","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); +RDebugUtils.currentLine=13238278; + //BA.debugLineNum = 13238278;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=13238279; + //BA.debugLineNum = 13238279;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJob"; +_resultado = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=13238280; + //BA.debugLineNum = 13238280;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"insert_nov"; +if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("insert_noventa_")>-1) { +RDebugUtils.currentLine=13238281; + //BA.debugLineNum = 13238281;BA.debugLine="Private cliente As String= resultado.Tag"; +_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); +RDebugUtils.currentLine=13238282; + //BA.debugLineNum = 13238282;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_\""; +_cliente = _cliente.substring((int) (_cliente.indexOf("_")+9)); +RDebugUtils.currentLine=13238283; + //BA.debugLineNum = 13238283;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; +__c.LogImpl("513238283",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); +RDebugUtils.currentLine=13238284; + //BA.debugLineNum = 13238284;BA.debugLine="Starter.skmt.ExecNonQuery($\"update NOVENTA set"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update NOVENTA set NV_ENVIO_OK = '1' where NV_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"'")); +RDebugUtils.currentLine=13238285; + //BA.debugLineNum = 13238285;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group13 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen13 = group13.getSize() +;int index13 = 0; +; +for (; index13 < groupLen13;index13++){ +_records = (Object[])(group13.Get(index13)); +RDebugUtils.currentLine=13238286; + //BA.debugLineNum = 13238286;BA.debugLine="For Each k As String In resultado.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group14 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen14 = group14.getSize() +;int index14 = 0; +; +for (; index14 < groupLen14;index14++){ +_k = BA.ObjectToString(group14.Get(index14)); +RDebugUtils.currentLine=13238287; + //BA.debugLineNum = 13238287;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & records"; +__c.LogImpl("513238287",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=13238292; + //BA.debugLineNum = 13238292;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); + }; +RDebugUtils.currentLine=13238294; + //BA.debugLineNum = 13238294;BA.debugLine="End Sub"; +return ""; +} +public String _mandapendientesnoventa(SHARK2.keymon.com.mx.c_noventa __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_noventa"; +if (Debug.shouldDelegate(ba, "mandapendientesnoventa", false)) + {return ((String) Debug.delegate(ba, "mandapendientesnoventa", null));} +int _i = 0; +SHARK2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; +RDebugUtils.currentLine=13172736; + //BA.debugLineNum = 13172736;BA.debugLine="Sub mandaPendientesnoventa"; +RDebugUtils.currentLine=13172739; + //BA.debugLineNum = 13172739;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM NOVENTA where ifnull(NV_ENVIO_OK, 0) <> 1"))); +RDebugUtils.currentLine=13172740; + //BA.debugLineNum = 13172740;BA.debugLine="Log($\"NO VENTA PENDIENTE: ${c.RowCount}\"$)"; +__c.LogImpl("513172740",("NO VENTA PENDIENTE: "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()))+""),0); +RDebugUtils.currentLine=13172741; + //BA.debugLineNum = 13172741;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=13172742; + //BA.debugLineNum = 13172742;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=13172743; + //BA.debugLineNum = 13172743;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=13172744; + //BA.debugLineNum = 13172744;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=13172745; + //BA.debugLineNum = 13172745;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=13172746; + //BA.debugLineNum = 13172746;BA.debugLine="cmd.Name = \"insert_noventa_SHARK2\""; +_cmd.Name /*String*/ = "insert_noventa_SHARK2"; +RDebugUtils.currentLine=13172747; + //BA.debugLineNum = 13172747;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"N"; +_cmd.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)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_CLIENTE")))}; +RDebugUtils.currentLine=13172748; + //BA.debugLineNum = 13172748;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"insert_novent"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,_cmd,(Object)(("insert_noventa_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_CLIENTE")))+""))); + } +}; + }; +RDebugUtils.currentLine=13172752; + //BA.debugLineNum = 13172752;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_nuevocliente.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_nuevocliente.java new file mode 100644 index 0000000..8586103 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_nuevocliente.java @@ -0,0 +1,979 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.c_nuevocliente"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 anywheresoftware.b4a.gps.GPS _g = null; +public String _ruta = ""; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.objects.ButtonWrapper _cancela = null; +public anywheresoftware.b4a.objects.ButtonWrapper _guarda = null; +public String _cuenta = ""; +public String _usuario = ""; +public String _sdate = ""; +public String _stime = ""; +public String _sdate2 = ""; +public String _stime2 = ""; +public String _no_cliente = ""; +public String _no_ruta = ""; +public anywheresoftware.b4a.objects.collections.List _lista_punta = null; +public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _r_4 = null; +public anywheresoftware.b4a.objects.EditTextWrapper _e_nombre = null; +public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_sinubicacion = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_nuevocliente = null; +public anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_botones = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_cam = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_camara = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_foto_inci = null; +public boolean _frontcamera = false; +public String _fototomada = ""; +public String _almacen = ""; +public anywheresoftware.b4a.objects.EditTextWrapper _et_direccion = null; +public anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +public double _lat = 0; +public double _lon = 0; +public anywheresoftware.b4a.objects.LabelWrapper _b_ubicacion = null; +public anywheresoftware.b4a.objects.LabelWrapper _label3 = null; +public SHARK2.keymon.com.mx.b4xcombobox _cb_giro = null; +public String _giros = ""; +public anywheresoftware.b4a.objects.LabelWrapper _l_atiende = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_atiende = null; +public anywheresoftware.b4a.objects.LabelWrapper _label5 = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_colonia = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_telefono = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_cp = null; +public anywheresoftware.b4a.objects.LabelWrapper _label6 = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.c_nuevocliente __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=16515072; + //BA.debugLineNum = 16515072;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=16515073; + //BA.debugLineNum = 16515073;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=16515074; + //BA.debugLineNum = 16515074;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_appear(SHARK2.keymon.com.mx.c_nuevocliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _pol = null; +int _poli = 0; +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _coords = null; +anywheresoftware.b4a.objects.collections.List _items = null; +int _i = 0; +RDebugUtils.currentLine=16646144; + //BA.debugLineNum = 16646144;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=16646145; + //BA.debugLineNum = 16646145;BA.debugLine="et_direccion.Text = \"\""; +__ref._et_direccion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=16646146; + //BA.debugLineNum = 16646146;BA.debugLine="E_NOMBRE.Text = \"\""; +__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=16646147; + //BA.debugLineNum = 16646147;BA.debugLine="ET_Atiende.Text = \"\""; +__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=16646148; + //BA.debugLineNum = 16646148;BA.debugLine="et_colonia.Text = \"\""; +__ref._et_colonia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=16646149; + //BA.debugLineNum = 16646149;BA.debugLine="et_telefono.Text = \"\""; +__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=16646150; + //BA.debugLineNum = 16646150;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { +RDebugUtils.currentLine=16646151; + //BA.debugLineNum = 16646151;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); +RDebugUtils.currentLine=16646152; + //BA.debugLineNum = 16646152;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); + }; +RDebugUtils.currentLine=16646154; + //BA.debugLineNum = 16646154;BA.debugLine="GUARDA.Visible = False"; +__ref._guarda /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=16646155; + //BA.debugLineNum = 16646155;BA.debugLine="Subs.panelVisible(p_nuevoCliente, 0, 0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_nuevocliente /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=16646156; + //BA.debugLineNum = 16646156;BA.debugLine="p_nuevoCliente.Height = Root.Height"; +__ref._p_nuevocliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=16646157; + //BA.debugLineNum = 16646157;BA.debugLine="p_nuevoCliente.Width = Root.Width"; +__ref._p_nuevocliente /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=16646158; + //BA.debugLineNum = 16646158;BA.debugLine="Subs.centraEtiqueta(Label1, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._label1 /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=16646159; + //BA.debugLineNum = 16646159;BA.debugLine="Subs.centraEtiqueta(Label5, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._label5 /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=16646160; + //BA.debugLineNum = 16646160;BA.debugLine="Subs.centraEtiqueta(Label6, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._label6 /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=16646161; + //BA.debugLineNum = 16646161;BA.debugLine="Subs.centraEtiqueta(Label2, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._label2 /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=16646162; + //BA.debugLineNum = 16646162;BA.debugLine="Subs.centraEtiqueta(Label3, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._label3 /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=16646163; + //BA.debugLineNum = 16646163;BA.debugLine="Subs.centraEtiqueta(l_sinUbicacion, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._l_sinubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=16646164; + //BA.debugLineNum = 16646164;BA.debugLine="Subs.centraEtiqueta(b_ubicacion, Root.Width)"; +_subs._centraetiqueta /*String*/ (ba,__ref._b_ubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=16646165; + //BA.debugLineNum = 16646165;BA.debugLine="Subs.centraPanel(p_botones, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_botones /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=16646166; + //BA.debugLineNum = 16646166;BA.debugLine="E_NOMBRE.Left = Round(Root.Width/2)-(E_NOMBRE.Wid"; +__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setLeft((int) (__c.Round(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=16646167; + //BA.debugLineNum = 16646167;BA.debugLine="et_cp.Left = Round(Root.Width/2)-(E_NOMBRE.Width/"; +__ref._et_cp /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setLeft((int) (__c.Round(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=16646168; + //BA.debugLineNum = 16646168;BA.debugLine="et_colonia.Left = Round(Root.Width/2)-(et_colonia"; +__ref._et_colonia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setLeft((int) (__c.Round(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._et_colonia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=16646169; + //BA.debugLineNum = 16646169;BA.debugLine="et_direccion.Left = Round(Root.Width/2)-(et_direc"; +__ref._et_direccion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setLeft((int) (__c.Round(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._et_direccion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=16646170; + //BA.debugLineNum = 16646170;BA.debugLine="If B4XPages.MainPage.lat_gps <> \"0.0\" Then"; +if ((_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ).equals("0.0") == false) { +RDebugUtils.currentLine=16646171; + //BA.debugLineNum = 16646171;BA.debugLine="GUARDA.Visible = True 'Si hay ubicaccion, mostra"; +__ref._guarda /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=16646172; + //BA.debugLineNum = 16646172;BA.debugLine="l_sinUbicacion.Visible = True"; +__ref._l_sinubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=16646175; + //BA.debugLineNum = 16646175;BA.debugLine="CallSubDelayed(Tracker, \"Track\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"Track"); +RDebugUtils.currentLine=16646176; + //BA.debugLineNum = 16646176;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLPSmall"); +RDebugUtils.currentLine=16646177; + //BA.debugLineNum = 16646177;BA.debugLine="If Tracker.FLP.IsInitialized And Tracker.FLP.GetL"; +if (_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized() && _tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { +RDebugUtils.currentLine=16646178; + //BA.debugLineNum = 16646178;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()); +RDebugUtils.currentLine=16646179; + //BA.debugLineNum = 16646179;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()); +RDebugUtils.currentLine=16646181; + //BA.debugLineNum = 16646181;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; +__ref._gps_locationchanged /*String*/ (null,_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation()); + }; +RDebugUtils.currentLine=16646184; + //BA.debugLineNum = 16646184;BA.debugLine="lista_punta.Initialize"; +__ref._lista_punta /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=16646185; + //BA.debugLineNum = 16646185;BA.debugLine="Dim pol As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +_pol = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pol = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT LAT, LONG FROM POLIGONO"))); +RDebugUtils.currentLine=16646186; + //BA.debugLineNum = 16646186;BA.debugLine="If pol.RowCount > 0 Then"; +if (_pol.getRowCount()>0) { +RDebugUtils.currentLine=16646188; + //BA.debugLineNum = 16646188;BA.debugLine="For poli = 0 To pol.RowCount -1"; +{ +final int step40 = 1; +final int limit40 = (int) (_pol.getRowCount()-1); +_poli = (int) (0) ; +for (;_poli <= limit40 ;_poli = _poli + step40 ) { +RDebugUtils.currentLine=16646189; + //BA.debugLineNum = 16646189;BA.debugLine="pol.Position = poli"; +_pol.setPosition(_poli); +RDebugUtils.currentLine=16646190; + //BA.debugLineNum = 16646190;BA.debugLine="Dim coords As LatLng"; +_coords = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +RDebugUtils.currentLine=16646191; + //BA.debugLineNum = 16646191;BA.debugLine="coords.Initialize(pol.GetString(\"LAT\"), pol.Get"; +_coords.Initialize((double)(Double.parseDouble(_pol.GetString("LAT"))),(double)(Double.parseDouble(_pol.GetString("LONG")))); +RDebugUtils.currentLine=16646192; + //BA.debugLineNum = 16646192;BA.debugLine="lista_punta.Add(coords)"; +__ref._lista_punta /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_coords.getObject())); + } +}; + }; +RDebugUtils.currentLine=16646196; + //BA.debugLineNum = 16646196;BA.debugLine="If Not(Starter.GPS.GPSEnabled) Then"; +if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { +RDebugUtils.currentLine=16646197; + //BA.debugLineNum = 16646197;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo."),__c.True); +RDebugUtils.currentLine=16646198; + //BA.debugLineNum = 16646198;BA.debugLine="StartActivity(Starter.GPS.LocationSettingsIntent"; +__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); + }else { +RDebugUtils.currentLine=16646200; + //BA.debugLineNum = 16646200;BA.debugLine="Starter.GPS.Start(0, 0)"; +_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .Start(ba,(long) (0),(float) (0)); + }; +RDebugUtils.currentLine=16646203; + //BA.debugLineNum = 16646203;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLPSmall"); +RDebugUtils.currentLine=16646205; + //BA.debugLineNum = 16646205;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT GIRO FROM CAT_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT GIRO FROM CAT_GIRO order by 1"))); +RDebugUtils.currentLine=16646206; + //BA.debugLineNum = 16646206;BA.debugLine="Dim Items As List"; +_items = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=16646207; + //BA.debugLineNum = 16646207;BA.debugLine="Items.Initialize"; +_items.Initialize(); +RDebugUtils.currentLine=16646208; + //BA.debugLineNum = 16646208;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCIÓN\")"; +_items.Add((Object)("SELECCIONA UNA OPCIÓN")); +RDebugUtils.currentLine=16646209; + //BA.debugLineNum = 16646209;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=16646210; + //BA.debugLineNum = 16646210;BA.debugLine="For i = 0 To c.RowCount-1"; +{ +final int step59 = 1; +final int limit59 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit59 ;_i = _i + step59 ) { +RDebugUtils.currentLine=16646211; + //BA.debugLineNum = 16646211;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=16646212; + //BA.debugLineNum = 16646212;BA.debugLine="Items.Add(c.GetString(\"GIRO\"))"; +_items.Add((Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("GIRO"))); + } +}; +RDebugUtils.currentLine=16646214; + //BA.debugLineNum = 16646214;BA.debugLine="cb_giro.SetItems(Items)"; +__ref._cb_giro /*SHARK2.keymon.com.mx.b4xcombobox*/ ._setitems /*String*/ (null,_items); + }; +RDebugUtils.currentLine=16646216; + //BA.debugLineNum = 16646216;BA.debugLine="giros = \"SELECCIONA UNA OPCIÓN\""; +__ref._giros /*String*/ = "SELECCIONA UNA OPCIÓN"; +RDebugUtils.currentLine=16646217; + //BA.debugLineNum = 16646217;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=16646218; + //BA.debugLineNum = 16646218;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(SHARK2.keymon.com.mx.c_nuevocliente __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=16711680; + //BA.debugLineNum = 16711680;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=16711681; + //BA.debugLineNum = 16711681;BA.debugLine="If B4XPages.MainPage.lat_gps <> \"0.0\" Then"; +if ((_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ).equals("0.0") == false) { +RDebugUtils.currentLine=16711682; + //BA.debugLineNum = 16711682;BA.debugLine="GUARDA.Visible = True 'Si hay ubicaccion, mostra"; +__ref._guarda /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=16711683; + //BA.debugLineNum = 16711683;BA.debugLine="l_sinUbicacion.Visible = True"; +__ref._l_sinubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=16711684; + //BA.debugLineNum = 16711684;BA.debugLine="lat = Location1.Latitude"; +__ref._lat /*double*/ = _location1.getLatitude(); +RDebugUtils.currentLine=16711685; + //BA.debugLineNum = 16711685;BA.debugLine="lon = Location1.Longitude"; +__ref._lon /*double*/ = _location1.getLongitude(); +RDebugUtils.currentLine=16711686; + //BA.debugLineNum = 16711686;BA.debugLine="l_sinUbicacion.Text = (\"Latitud: \" & lat & \", Lo"; +__ref._l_sinubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Latitud: "+BA.NumberToString(__ref._lat /*double*/ )+", Longotud: "+BA.NumberToString(__ref._lon /*double*/ )))); + }; +RDebugUtils.currentLine=16711689; + //BA.debugLineNum = 16711689;BA.debugLine="b_ubicacion.TextSize = 13"; +__ref._b_ubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (13)); +RDebugUtils.currentLine=16711690; + //BA.debugLineNum = 16711690;BA.debugLine="b_ubicacion.Text = $\"Precisión GPS $1.0{Location1"; +__ref._b_ubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Precisión GPS "+__c.SmartStringFormatter("1.0",(Object)(_location1.getAccuracy()))+" m"))); +RDebugUtils.currentLine=16711691; + //BA.debugLineNum = 16711691;BA.debugLine="If Location1.Accuracy > 200 Then"; +if (_location1.getAccuracy()>200) { +RDebugUtils.currentLine=16711692; + //BA.debugLineNum = 16711692;BA.debugLine="b_ubicacion.TextColor = Colors.Red"; +__ref._b_ubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextColor(__c.Colors.Red); +RDebugUtils.currentLine=16711693; + //BA.debugLineNum = 16711693;BA.debugLine="b_ubicacion.TextSize = 16"; +__ref._b_ubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (16)); +RDebugUtils.currentLine=16711694; + //BA.debugLineNum = 16711694;BA.debugLine="b_ubicacion.Text = $\"Mala señal $1.0{Location1.A"; +__ref._b_ubicacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Mala señal "+__c.SmartStringFormatter("1.0",(Object)(_location1.getAccuracy()))+" m"))); + }; +RDebugUtils.currentLine=16711696; + //BA.debugLineNum = 16711696;BA.debugLine="End Sub"; +return ""; +} +public void _b4xpage_created(SHARK2.keymon.com.mx.c_nuevocliente __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}); return;} +ResumableSub_B4XPage_Created rsub = new ResumableSub_B4XPage_Created(this,__ref,_root1); +rsub.resume(ba, null); +} +public static class ResumableSub_B4XPage_Created extends BA.ResumableSub { +public ResumableSub_B4XPage_Created(SHARK2.keymon.com.mx.c_nuevocliente parent,SHARK2.keymon.com.mx.c_nuevocliente __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) { +this.parent = parent; +this.__ref = __ref; +this._root1 = _root1; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_nuevocliente __ref; +SHARK2.keymon.com.mx.c_nuevocliente parent; +anywheresoftware.b4a.objects.B4XViewWrapper _root1; +String _permission = ""; +boolean _result = false; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_nuevocliente"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=16580610; + //BA.debugLineNum = 16580610;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=16580612; + //BA.debugLineNum = 16580612;BA.debugLine="Root.LoadLayout(\"nuevocliente\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("nuevocliente",ba); +RDebugUtils.currentLine=16580613; + //BA.debugLineNum = 16580613;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = parent.__c.File.getDirInternal(); +RDebugUtils.currentLine=16580614; + //BA.debugLineNum = 16580614;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (true) break; + +case 1: +//if +this.state = 4; +if (parent.__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==parent.__c.False) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=16580615; + //BA.debugLineNum = 16580615;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +parent.__c.File.Copy(parent.__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); + if (true) break; + +case 4: +//C +this.state = 5; +; +RDebugUtils.currentLine=16580629; + //BA.debugLineNum = 16580629;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_WRITE_EXTERNAL_STORAGE); +RDebugUtils.currentLine=16580630; + //BA.debugLineNum = 16580630;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_nuevocliente", "b4xpage_created"), null); +this.state = 17; +return; +case 17: +//C +this.state = 5; +_permission = (String) result[1]; +_result = (Boolean) result[2]; +; +RDebugUtils.currentLine=16580631; + //BA.debugLineNum = 16580631;BA.debugLine="If Result Then"; +if (true) break; + +case 5: +//if +this.state = 10; +if (_result) { +this.state = 7; +}else { +this.state = 9; +}if (true) break; + +case 7: +//C +this.state = 10; +RDebugUtils.currentLine=16580632; + //BA.debugLineNum = 16580632;BA.debugLine="Log(\"Con permisos para escritura\")"; +parent.__c.LogImpl("516580632","Con permisos para escritura",0); + if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=16580634; + //BA.debugLineNum = 16580634;BA.debugLine="ToastMessageShow(\"Sin permisos de escritura!!!\","; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos de escritura!!!"),parent.__c.True); + if (true) break; + +case 10: +//C +this.state = 11; +; +RDebugUtils.currentLine=16580637; + //BA.debugLineNum = 16580637;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_READ_EXTERNAL_STORAGE); +RDebugUtils.currentLine=16580638; + //BA.debugLineNum = 16580638;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_nuevocliente", "b4xpage_created"), null); +this.state = 18; +return; +case 18: +//C +this.state = 11; +_permission = (String) result[1]; +_result = (Boolean) result[2]; +; +RDebugUtils.currentLine=16580639; + //BA.debugLineNum = 16580639;BA.debugLine="If Result Then"; +if (true) break; + +case 11: +//if +this.state = 16; +if (_result) { +this.state = 13; +}else { +this.state = 15; +}if (true) break; + +case 13: +//C +this.state = 16; +RDebugUtils.currentLine=16580640; + //BA.debugLineNum = 16580640;BA.debugLine="Log(\"Con permisos para escritura\")"; +parent.__c.LogImpl("516580640","Con permisos para escritura",0); + if (true) break; + +case 15: +//C +this.state = 16; +RDebugUtils.currentLine=16580642; + //BA.debugLineNum = 16580642;BA.debugLine="ToastMessageShow(\"Sin permisos de lectura!!!\", T"; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos de lectura!!!"),parent.__c.True); + if (true) break; + +case 16: +//C +this.state = -1; +; +RDebugUtils.currentLine=16580644; + //BA.debugLineNum = 16580644;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _cancela_click(SHARK2.keymon.com.mx.c_nuevocliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "cancela_click", false)) + {return ((String) Debug.delegate(ba, "cancela_click", null));} +RDebugUtils.currentLine=16777216; + //BA.debugLineNum = 16777216;BA.debugLine="Sub CANCELA_Click"; +RDebugUtils.currentLine=16777217; + //BA.debugLineNum = 16777217;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); +RDebugUtils.currentLine=16777218; + //BA.debugLineNum = 16777218;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLP"); +RDebugUtils.currentLine=16777219; + //BA.debugLineNum = 16777219;BA.debugLine="End Sub"; +return ""; +} +public String _cb_giro_selectedindexchanged(SHARK2.keymon.com.mx.c_nuevocliente __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "cb_giro_selectedindexchanged", false)) + {return ((String) Debug.delegate(ba, "cb_giro_selectedindexchanged", new Object[] {_index}));} +RDebugUtils.currentLine=17039360; + //BA.debugLineNum = 17039360;BA.debugLine="Private Sub cb_giro_SelectedIndexChanged (Index As"; +RDebugUtils.currentLine=17039361; + //BA.debugLineNum = 17039361;BA.debugLine="giros = cb_giro.SelectedItem"; +__ref._giros /*String*/ = __ref._cb_giro /*SHARK2.keymon.com.mx.b4xcombobox*/ ._getselecteditem /*String*/ (null); +RDebugUtils.currentLine=17039362; + //BA.debugLineNum = 17039362;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_nuevocliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +RDebugUtils.currentLine=16449536; + //BA.debugLineNum = 16449536;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=16449537; + //BA.debugLineNum = 16449537;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=16449538; + //BA.debugLineNum = 16449538;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=16449540; + //BA.debugLineNum = 16449540;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=16449541; + //BA.debugLineNum = 16449541;BA.debugLine="Dim ruta As String"; +_ruta = ""; +RDebugUtils.currentLine=16449542; + //BA.debugLineNum = 16449542;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=16449544; + //BA.debugLineNum = 16449544;BA.debugLine="Dim CANCELA As Button"; +_cancela = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=16449545; + //BA.debugLineNum = 16449545;BA.debugLine="Dim GUARDA As Button"; +_guarda = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=16449546; + //BA.debugLineNum = 16449546;BA.debugLine="Dim cuenta As String"; +_cuenta = ""; +RDebugUtils.currentLine=16449547; + //BA.debugLineNum = 16449547;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=16449548; + //BA.debugLineNum = 16449548;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=16449549; + //BA.debugLineNum = 16449549;BA.debugLine="Dim sDate2,sTime2 As String"; +_sdate2 = ""; +_stime2 = ""; +RDebugUtils.currentLine=16449550; + //BA.debugLineNum = 16449550;BA.debugLine="Dim no_cliente As String"; +_no_cliente = ""; +RDebugUtils.currentLine=16449551; + //BA.debugLineNum = 16449551;BA.debugLine="Dim no_ruta As String"; +_no_ruta = ""; +RDebugUtils.currentLine=16449552; + //BA.debugLineNum = 16449552;BA.debugLine="Dim lista_punta As List"; +_lista_punta = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=16449553; + //BA.debugLineNum = 16449553;BA.debugLine="Dim r_4 As RadioButton"; +_r_4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); +RDebugUtils.currentLine=16449554; + //BA.debugLineNum = 16449554;BA.debugLine="Dim E_NOMBRE As EditText"; +_e_nombre = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=16449555; + //BA.debugLineNum = 16449555;BA.debugLine="Dim tgl As Toggle"; +_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); +RDebugUtils.currentLine=16449556; + //BA.debugLineNum = 16449556;BA.debugLine="Private l_sinUbicacion As Label"; +_l_sinubicacion = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=16449557; + //BA.debugLineNum = 16449557;BA.debugLine="Private p_nuevoCliente As Panel"; +_p_nuevocliente = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=16449558; + //BA.debugLineNum = 16449558;BA.debugLine="Private Label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=16449559; + //BA.debugLineNum = 16449559;BA.debugLine="Private p_botones As Panel"; +_p_botones = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=16449560; + //BA.debugLineNum = 16449560;BA.debugLine="Private p_cam As Panel"; +_p_cam = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=16449561; + //BA.debugLineNum = 16449561;BA.debugLine="Private p_camara As Panel"; +_p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=16449562; + //BA.debugLineNum = 16449562;BA.debugLine="Private b_foto_inci As Button"; +_b_foto_inci = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=16449564; + //BA.debugLineNum = 16449564;BA.debugLine="Dim frontCamera As Boolean = False"; +_frontcamera = __c.False; +RDebugUtils.currentLine=16449565; + //BA.debugLineNum = 16449565;BA.debugLine="Dim fototomada As String = \"0\""; +_fototomada = "0"; +RDebugUtils.currentLine=16449566; + //BA.debugLineNum = 16449566;BA.debugLine="Dim ALMACEN As String"; +_almacen = ""; +RDebugUtils.currentLine=16449567; + //BA.debugLineNum = 16449567;BA.debugLine="Private et_direccion As EditText"; +_et_direccion = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=16449568; + //BA.debugLineNum = 16449568;BA.debugLine="Private Label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=16449569; + //BA.debugLineNum = 16449569;BA.debugLine="Dim lat As Double = 0"; +_lat = 0; +RDebugUtils.currentLine=16449570; + //BA.debugLineNum = 16449570;BA.debugLine="Dim lon As Double = 0"; +_lon = 0; +RDebugUtils.currentLine=16449571; + //BA.debugLineNum = 16449571;BA.debugLine="Private b_ubicacion As Label"; +_b_ubicacion = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=16449572; + //BA.debugLineNum = 16449572;BA.debugLine="Private Label3 As Label"; +_label3 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=16449573; + //BA.debugLineNum = 16449573;BA.debugLine="Private cb_giro As B4XComboBox"; +_cb_giro = new SHARK2.keymon.com.mx.b4xcombobox(); +RDebugUtils.currentLine=16449574; + //BA.debugLineNum = 16449574;BA.debugLine="Dim giros As String"; +_giros = ""; +RDebugUtils.currentLine=16449575; + //BA.debugLineNum = 16449575;BA.debugLine="Private L_Atiende As Label"; +_l_atiende = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=16449576; + //BA.debugLineNum = 16449576;BA.debugLine="Private ET_Atiende As EditText"; +_et_atiende = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=16449577; + //BA.debugLineNum = 16449577;BA.debugLine="Private Label5 As Label"; +_label5 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=16449578; + //BA.debugLineNum = 16449578;BA.debugLine="Private et_colonia As EditText"; +_et_colonia = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=16449579; + //BA.debugLineNum = 16449579;BA.debugLine="Private et_telefono As EditText"; +_et_telefono = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=16449580; + //BA.debugLineNum = 16449580;BA.debugLine="Private et_cp As EditText"; +_et_cp = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=16449581; + //BA.debugLineNum = 16449581;BA.debugLine="Private Label6 As Label"; +_label6 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=16449582; + //BA.debugLineNum = 16449582;BA.debugLine="End Sub"; +return ""; +} +public String _guarda_click(SHARK2.keymon.com.mx.c_nuevocliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "guarda_click", false)) + {return ((String) Debug.delegate(ba, "guarda_click", null));} +String _hora = ""; +String _mins = ""; +String _segs = ""; +RDebugUtils.currentLine=16908288; + //BA.debugLineNum = 16908288;BA.debugLine="Sub GUARDA_Click"; +RDebugUtils.currentLine=16908297; + //BA.debugLineNum = 16908297;BA.debugLine="ToastMessageShow(\"El punto está DENTRO del polí"; +__c.ToastMessageShow(BA.ObjectToCharSequence("El punto está DENTRO del polígono"),__c.True); +RDebugUtils.currentLine=16908298; + //BA.debugLineNum = 16908298;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +_b4xpages._showpage /*String*/ (ba,"NuevoCliente"); +RDebugUtils.currentLine=16908302; + //BA.debugLineNum = 16908302;BA.debugLine="If E_NOMBRE.Text = \"\" Then"; +if ((__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=16908303; + //BA.debugLineNum = 16908303;BA.debugLine="MsgboxAsync(\"Por favor captura el nombre de la"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura el nombre de la Tienda"),BA.ObjectToCharSequence("Atención"),ba); + }else +{RDebugUtils.currentLine=16908305; + //BA.debugLineNum = 16908305;BA.debugLine="Else If et_direccion.Text.Length > 3 Then"; +if (__ref._et_direccion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()>3) { +RDebugUtils.currentLine=16908307; + //BA.debugLineNum = 16908307;BA.debugLine="If lat <> 0 Then"; +if (__ref._lat /*double*/ !=0) { +RDebugUtils.currentLine=16908309; + //BA.debugLineNum = 16908309;BA.debugLine="If giros <> \"SELECCIONA UNA OPCIÓN\" Or cb_gir"; +if ((__ref._giros /*String*/ ).equals("SELECCIONA UNA OPCIÓN") == false || (__ref._cb_giro /*SHARK2.keymon.com.mx.b4xcombobox*/ ._getselecteditem /*String*/ (null)).equals("SELECCIONA UNA OPCIÓN") == false) { +RDebugUtils.currentLine=16908311; + //BA.debugLineNum = 16908311;BA.debugLine="If ET_Atiende.Text <> \"\" Then"; +if ((__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=16908312; + //BA.debugLineNum = 16908312;BA.debugLine="If et_colonia.Text <> \"\" Then"; +if ((__ref._et_colonia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=16908313; + //BA.debugLineNum = 16908313;BA.debugLine="If et_colonia.Text <> \"\" Then"; +if ((__ref._et_colonia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=16908314; + //BA.debugLineNum = 16908314;BA.debugLine="If et_cp.Text <> \"\" Then"; +if ((__ref._et_cp /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=16908316; + //BA.debugLineNum = 16908316;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=16908317; + //BA.debugLineNum = 16908317;BA.debugLine="DateTime.Timeformat = \"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=16908318; + //BA.debugLineNum = 16908318;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=16908319; + //BA.debugLineNum = 16908319;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=16908320; + //BA.debugLineNum = 16908320;BA.debugLine="Log($\" //////////// Date: ${sDate} - T"; +__c.LogImpl("516908320",(" //////////// Date: "+__c.SmartStringFormatter("",(Object)(__ref._sdate /*String*/ ))+" - Time: "+__c.SmartStringFormatter("",(Object)(__ref._stime /*String*/ ))+" ////////////////"),0); +RDebugUtils.currentLine=16908322; + //BA.debugLineNum = 16908322;BA.debugLine="Private hora As String = sTime.SubString"; +_hora = __ref._stime /*String*/ .substring((int) (0),(int) (2)); +RDebugUtils.currentLine=16908323; + //BA.debugLineNum = 16908323;BA.debugLine="Private mins As String = sTime.SubString"; +_mins = __ref._stime /*String*/ .substring((int) (2),(int) (4)); +RDebugUtils.currentLine=16908324; + //BA.debugLineNum = 16908324;BA.debugLine="Private segs As String = sTime.SubString"; +_segs = __ref._stime /*String*/ .substring((int) (4)); +RDebugUtils.currentLine=16908325; + //BA.debugLineNum = 16908325;BA.debugLine="sTime = hora & \":\" & mins & \":\" & segs"; +__ref._stime /*String*/ = _hora+":"+_mins+":"+_segs; +RDebugUtils.currentLine=16908326; + //BA.debugLineNum = 16908326;BA.debugLine="Log(\"////////////// sTime: \"&sTime&\" ///"; +__c.LogImpl("516908326","////////////// sTime: "+__ref._stime /*String*/ +" ////////////////",0); +RDebugUtils.currentLine=16908327; + //BA.debugLineNum = 16908327;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA FROM kmt_info"))); +RDebugUtils.currentLine=16908328; + //BA.debugLineNum = 16908328;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=16908329; + //BA.debugLineNum = 16908329;BA.debugLine="no_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._no_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=16908330; + //BA.debugLineNum = 16908330;BA.debugLine="no_cliente = \"N\" & sTime & no_ruta"; +__ref._no_cliente /*String*/ = "N"+__ref._stime /*String*/ +__ref._no_ruta /*String*/ ; +RDebugUtils.currentLine=16908331; + //BA.debugLineNum = 16908331;BA.debugLine="Log(\"++ ++ no_cliente = \"&no_cliente)"; +__c.LogImpl("516908331","++ ++ no_cliente = "+__ref._no_cliente /*String*/ ,0); +RDebugUtils.currentLine=16908332; + //BA.debugLineNum = 16908332;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=16908334; + //BA.debugLineNum = 16908334;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._no_cliente /*String*/ )})); +RDebugUtils.currentLine=16908335; + //BA.debugLineNum = 16908335;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from C"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=16908336; + //BA.debugLineNum = 16908336;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._no_cliente /*String*/ )})); +RDebugUtils.currentLine=16908337; + //BA.debugLineNum = 16908337;BA.debugLine="c = Starter.skmt.ExecQuery(\"select ID_AL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=16908338; + //BA.debugLineNum = 16908338;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=16908339; + //BA.debugLineNum = 16908339;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=16908340; + //BA.debugLineNum = 16908340;BA.debugLine="ALMACEN = c.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); + }; +RDebugUtils.currentLine=16908342; + //BA.debugLineNum = 16908342;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=16908343; + //BA.debugLineNum = 16908343;BA.debugLine="c = Starter.skmt.ExecQuery(\"select usuar"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=16908344; + //BA.debugLineNum = 16908344;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=16908345; + //BA.debugLineNum = 16908345;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=16908346; + //BA.debugLineNum = 16908346;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=16908350; + //BA.debugLineNum = 16908350;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; +__c.DateTime.setDateFormat("dd/MM/yyyy"); +RDebugUtils.currentLine=16908351; + //BA.debugLineNum = 16908351;BA.debugLine="DateTime.Timeformat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=16908352; + //BA.debugLineNum = 16908352;BA.debugLine="sDate2 = DateTime.Date(DateTime.Now)"; +__ref._sdate2 /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=16908353; + //BA.debugLineNum = 16908353;BA.debugLine="sTime2 = DateTime.Time(DateTime.Now)"; +__ref._stime2 /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=16908355; + //BA.debugLineNum = 16908355;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +_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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO,CAT_CL_CP) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._no_cliente /*String*/ ),(Object)(__ref._no_ruta /*String*/ ),(Object)(__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(__ref._cb_giro /*SHARK2.keymon.com.mx.b4xcombobox*/ ._getselecteditem /*String*/ (null)),(Object)(__ref._et_cp /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=16908356; + //BA.debugLineNum = 16908356;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CLIENTES_NUEVOS(CN_ID, CN_FECHA, CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA,CN_COLONIA, CN_TELEFONO,CN_CP) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._no_cliente /*String*/ ,__ref._sdate2 /*String*/ +" "+__ref._stime2 /*String*/ ,__ref._usuario /*String*/ ,BA.NumberToString(__ref._lat /*double*/ ),BA.NumberToString(__ref._lon /*double*/ ),__ref._e_nombre /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._et_direccion /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._almacen /*String*/ ,__ref._no_ruta /*String*/ ,__ref._cb_giro /*SHARK2.keymon.com.mx.b4xcombobox*/ ._getselecteditem /*String*/ (null),__ref._et_atiende /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._et_colonia /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._et_telefono /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText(),__ref._et_cp /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()})); +RDebugUtils.currentLine=16908358; + //BA.debugLineNum = 16908358;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=16908359; + //BA.debugLineNum = 16908359;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; +__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLP"); + }else { +RDebugUtils.currentLine=16908361; + //BA.debugLineNum = 16908361;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar el"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, debe capturar el C.P. el negocio."),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=16908364; + //BA.debugLineNum = 16908364;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar la"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, debe capturar la colonia el negocio."),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=16908367; + //BA.debugLineNum = 16908367;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar el t"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, debe capturar el telfono."),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=16908371; + //BA.debugLineNum = 16908371;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar al en"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, debe capturar al encargado que atiende el negocio."),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=16908374; + //BA.debugLineNum = 16908374;BA.debugLine="MsgboxAsync(\"Por favor captura el giro del c"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura el giro del cliente"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=16908377; + //BA.debugLineNum = 16908377;BA.debugLine="MsgboxAsync(\"Por favor revisa que tengas seña"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor revisa que tengas señal GPS"),BA.ObjectToCharSequence("Atención"),ba); + }; + }else { +RDebugUtils.currentLine=16908380; + //BA.debugLineNum = 16908380;BA.debugLine="MsgboxAsync(\"Por favor captura la dirección de"; +__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura la dirección del cliente"),BA.ObjectToCharSequence("Atención"),ba); + }} +; +RDebugUtils.currentLine=16908387; + //BA.debugLineNum = 16908387;BA.debugLine="End Sub"; +return ""; +} +public String _p_nuevocliente_click(SHARK2.keymon.com.mx.c_nuevocliente __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "p_nuevocliente_click", false)) + {return ((String) Debug.delegate(ba, "p_nuevocliente_click", null));} +RDebugUtils.currentLine=16973824; + //BA.debugLineNum = 16973824;BA.debugLine="Private Sub p_nuevoCliente_Click"; +RDebugUtils.currentLine=16973826; + //BA.debugLineNum = 16973826;BA.debugLine="End Sub"; +return ""; +} +public boolean _pointinpolygon(SHARK2.keymon.com.mx.c_nuevocliente __ref,anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _point,anywheresoftware.b4a.objects.collections.List _polygon) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_nuevocliente"; +if (Debug.shouldDelegate(ba, "pointinpolygon", false)) + {return ((Boolean) Debug.delegate(ba, "pointinpolygon", new Object[] {_point,_polygon}));} +double _x = 0; +double _y = 0; +boolean _inside = false; +int _i = 0; +int _j = 0; +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _p1_1 = null; +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _p2_1 = null; +double _xi = 0; +double _yi = 0; +double _xj = 0; +double _yj = 0; +boolean _intersect = false; +RDebugUtils.currentLine=16842752; + //BA.debugLineNum = 16842752;BA.debugLine="Sub PointInPolygon(point As LatLng, polygon As Lis"; +RDebugUtils.currentLine=16842753; + //BA.debugLineNum = 16842753;BA.debugLine="Dim x As Double = point.Longitude"; +_x = _point.getLongitude(); +RDebugUtils.currentLine=16842754; + //BA.debugLineNum = 16842754;BA.debugLine="Dim y As Double = point.Latitude"; +_y = _point.getLatitude(); +RDebugUtils.currentLine=16842756; + //BA.debugLineNum = 16842756;BA.debugLine="Dim inside As Boolean = False"; +_inside = __c.False; +RDebugUtils.currentLine=16842757; + //BA.debugLineNum = 16842757;BA.debugLine="For i = 0 To polygon.Size - 1"; +{ +final int step4 = 1; +final int limit4 = (int) (_polygon.getSize()-1); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=16842758; + //BA.debugLineNum = 16842758;BA.debugLine="Dim j As Int = (i + 1) Mod polygon.Size"; +_j = (int) ((_i+1)%_polygon.getSize()); +RDebugUtils.currentLine=16842759; + //BA.debugLineNum = 16842759;BA.debugLine="Dim p1_1 As LatLng = polygon.Get(i)"; +_p1_1 = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +_p1_1 = (anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(), (com.google.android.gms.maps.model.LatLng)(_polygon.Get(_i))); +RDebugUtils.currentLine=16842760; + //BA.debugLineNum = 16842760;BA.debugLine="Dim p2_1 As LatLng = polygon.Get(j)"; +_p2_1 = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +_p2_1 = (anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(), (com.google.android.gms.maps.model.LatLng)(_polygon.Get(_j))); +RDebugUtils.currentLine=16842762; + //BA.debugLineNum = 16842762;BA.debugLine="Dim xi As Double = p1_1.Longitude"; +_xi = _p1_1.getLongitude(); +RDebugUtils.currentLine=16842763; + //BA.debugLineNum = 16842763;BA.debugLine="Dim yi As Double = p1_1.Latitude"; +_yi = _p1_1.getLatitude(); +RDebugUtils.currentLine=16842764; + //BA.debugLineNum = 16842764;BA.debugLine="Dim xj As Double = p2_1.Longitude"; +_xj = _p2_1.getLongitude(); +RDebugUtils.currentLine=16842765; + //BA.debugLineNum = 16842765;BA.debugLine="Dim yj As Double = p2_1.Latitude"; +_yj = _p2_1.getLatitude(); +RDebugUtils.currentLine=16842767; + //BA.debugLineNum = 16842767;BA.debugLine="Dim intersect As Boolean = ((yi > y) <> (yj > y)"; +_intersect = ((_yi>_y)!=(_yj>_y)) && (_x<(_xj-_xi)*(_y-_yi)/(double)(_yj-_yi)+_xi); +RDebugUtils.currentLine=16842768; + //BA.debugLineNum = 16842768;BA.debugLine="If intersect Then"; +if (_intersect) { +RDebugUtils.currentLine=16842769; + //BA.debugLineNum = 16842769;BA.debugLine="inside = Not(inside)"; +_inside = __c.Not(_inside); + }; + } +}; +RDebugUtils.currentLine=16842773; + //BA.debugLineNum = 16842773;BA.debugLine="Return inside"; +if (true) return _inside; +RDebugUtils.currentLine=16842776; + //BA.debugLineNum = 16842776;BA.debugLine="End Sub"; +return false; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_pedidos.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_pedidos.java new file mode 100644 index 0000000..f0ad72a --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_pedidos.java @@ -0,0 +1,1744 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.c_pedidos"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 anywheresoftware.b4a.gps.GPS _g = null; +public String _ruta = ""; +public anywheresoftware.b4a.sql.SQL _skmt = null; +public anywheresoftware.b4a.objects.Timer _t3 = null; +public anywheresoftware.b4a.phone.Phone _p = null; +public anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _e = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _f = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _h = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _cc = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _dd = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_tipo = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_sub = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_marca = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_desc = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_precio = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_bodega = null; +public anywheresoftware.b4a.objects.EditTextWrapper _cantidad = null; +public anywheresoftware.b4a.objects.ButtonWrapper _guardar = null; +public anywheresoftware.b4a.objects.ButtonWrapper _terminar = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _img_prod = null; +public byte[] _img_paso = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_proid = null; +public String _clie_id = ""; +public String _sdate = ""; +public String _stime = ""; +public String _usuario = ""; +public anywheresoftware.b4a.objects.LabelWrapper _t_venta = null; +public String _promo_c = ""; +public anywheresoftware.b4a.objects.ImageViewWrapper _i_fotol = null; +public anywheresoftware.b4a.objects.ButtonWrapper _desc_promo = null; +public anywheresoftware.b4a.objects.ButtonWrapper _nopromo = null; +public String _tot_art_promo = ""; +public String _cambio = ""; +public String _costo_tot = ""; +public String _almacen = ""; +public String _preciosin = ""; +public String _cl_ruta = ""; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; +public String _tot_art_promor = ""; +public String _promo_cr = ""; +public String _total_promo = ""; +public String _hccp_cant = ""; +public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; +public String _precio_cero = ""; +public String _bonsabor = ""; +public String _bonsabor2 = ""; +public SHARK2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_pedido = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.c_pedidos __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=17170432; + //BA.debugLineNum = 17170432;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=17170433; + //BA.debugLineNum = 17170433;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=17170434; + //BA.debugLineNum = 17170434;BA.debugLine="End Sub"; +return null; +} +public String _b4xpage_appear(SHARK2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=17301504; + //BA.debugLineNum = 17301504;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=17301505; + //BA.debugLineNum = 17301505;BA.debugLine="tgl.Initialize"; +__ref._tgl /*com.rootsoft.togglelibrary.ToggleLibrary*/ .Initialize(ba); +RDebugUtils.currentLine=17301506; + //BA.debugLineNum = 17301506;BA.debugLine="BONSABOR = 0"; +__ref._bonsabor /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=17301507; + //BA.debugLineNum = 17301507;BA.debugLine="BONSABOR2 = 0"; +__ref._bonsabor2 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=17301508; + //BA.debugLineNum = 17301508;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { +RDebugUtils.currentLine=17301509; + //BA.debugLineNum = 17301509;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); +RDebugUtils.currentLine=17301510; + //BA.debugLineNum = 17301510;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); + }; +RDebugUtils.currentLine=17301512; + //BA.debugLineNum = 17301512;BA.debugLine="cantidad.Text = \"\""; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=17301513; + //BA.debugLineNum = 17301513;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=17301514; + //BA.debugLineNum = 17301514;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17301515; + //BA.debugLineNum = 17301515;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); +RDebugUtils.currentLine=17301516; + //BA.debugLineNum = 17301516;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17301517; + //BA.debugLineNum = 17301517;BA.debugLine="i_fotol.Visible = False"; +__ref._i_fotol /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=17301518; + //BA.debugLineNum = 17301518;BA.debugLine="sb.Initialize"; +__ref._sb /*anywheresoftware.b4a.keywords.StringBuilderWrapper*/ .Initialize(); +RDebugUtils.currentLine=17301519; + //BA.debugLineNum = 17301519;BA.debugLine="p.Shell(\"ping -c1 -W1 177.244.63.54\",Null, sb,Nul"; +__ref._p /*anywheresoftware.b4a.phone.Phone*/ .Shell("ping -c1 -W1 177.244.63.54",(String[])(__c.Null),(java.lang.StringBuilder)(__ref._sb /*anywheresoftware.b4a.keywords.StringBuilderWrapper*/ .getObject()),(java.lang.StringBuilder)(__c.Null)); +RDebugUtils.currentLine=17301520; + //BA.debugLineNum = 17301520;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(__ref._ruta /*String*/ ,"kmt.db",__c.True); +RDebugUtils.currentLine=17301521; + //BA.debugLineNum = 17301521;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_GP"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_DEV from CAT_GUNAPROD where CAT_GP_NOMBRE In (Select PDESC from PROID)"))); +RDebugUtils.currentLine=17301522; + //BA.debugLineNum = 17301522;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17301523; + //BA.debugLineNum = 17301523;BA.debugLine="L_PROID.Text = c.GetString(\"CAT_GP_ID\")"; +__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"))); +RDebugUtils.currentLine=17301524; + //BA.debugLineNum = 17301524;BA.debugLine="l_tipo.Text = c.GetString(\"CAT_GP_TIPO\")"; +__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_TIPO"))); +RDebugUtils.currentLine=17301525; + //BA.debugLineNum = 17301525;BA.debugLine="l_sub.Text = c.GetString(\"CAT_GP_SUBTIPO\")"; +__ref._l_sub /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_SUBTIPO"))); +RDebugUtils.currentLine=17301526; + //BA.debugLineNum = 17301526;BA.debugLine="l_marca.Text = c.GetString(\"CAT_GP_CLASIF\")"; +__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF"))); +RDebugUtils.currentLine=17301527; + //BA.debugLineNum = 17301527;BA.debugLine="l_desc.Text = c.GetString(\"CAT_GP_NOMBRE\")"; +__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE"))); +RDebugUtils.currentLine=17301528; + //BA.debugLineNum = 17301528;BA.debugLine="l_precio.Text = c.GetDouble(\"CAT_GP_PRECIO\")"; +__ref._l_precio /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("CAT_GP_PRECIO"))); +RDebugUtils.currentLine=17301529; + //BA.debugLineNum = 17301529;BA.debugLine="l_bodega.Text = c.GetString(\"CAT_GP_ALMACEN\")"; +__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ALMACEN"))); +RDebugUtils.currentLine=17301530; + //BA.debugLineNum = 17301530;BA.debugLine="IMG_PASO = c.GetBlob(\"CAT_GP_IMG\")"; +__ref._img_paso /*byte[]*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetBlob("CAT_GP_IMG"); +RDebugUtils.currentLine=17301531; + //BA.debugLineNum = 17301531;BA.debugLine="PROMO_C = c.GetString(\"CAT_GP_STS\")"; +__ref._promo_c /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_STS"); +RDebugUtils.currentLine=17301532; + //BA.debugLineNum = 17301532;BA.debugLine="cambio = c.GetString(\"CAT_GP_DEV\")"; +__ref._cambio /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_DEV"); +RDebugUtils.currentLine=17301533; + //BA.debugLineNum = 17301533;BA.debugLine="preciosin = c.GetString(\"CAT_GP_IMP2\")"; +__ref._preciosin /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_IMP2"); +RDebugUtils.currentLine=17301534; + //BA.debugLineNum = 17301534;BA.debugLine="PROMO_CR = c.GetString(\"CAT_GP_IMP1\")"; +__ref._promo_cr /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_IMP1"); +RDebugUtils.currentLine=17301535; + //BA.debugLineNum = 17301535;BA.debugLine="cambio = \"0\""; +__ref._cambio /*String*/ = "0"; +RDebugUtils.currentLine=17301537; + //BA.debugLineNum = 17301537;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select count"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS FROM pedido WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select cuenta from cuentaa) ",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")}))); +RDebugUtils.currentLine=17301538; + //BA.debugLineNum = 17301538;BA.debugLine="e.Position =0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17301539; + //BA.debugLineNum = 17301539;BA.debugLine="If e.GetString(\"CUANTOS\") = 0 Then"; +if ((__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=17301540; + //BA.debugLineNum = 17301540;BA.debugLine="If l_marca.text = \"PROMOS\" And l_tipo.Text =\"PRO"; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS")) { +RDebugUtils.currentLine=17301541; + //BA.debugLineNum = 17301541;BA.debugLine="DESC_PROMO.Visible = True"; +__ref._desc_promo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=17301542; + //BA.debugLineNum = 17301542;BA.debugLine="CC=B4XPages.MainPage.skmt.ExecQuery2(\"select co"; +__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS FROM PROMOS_COMP WHERE CAT_PA_ID = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")}))); +RDebugUtils.currentLine=17301543; + //BA.debugLineNum = 17301543;BA.debugLine="CC.Position =0"; +__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17301544; + //BA.debugLineNum = 17301544;BA.debugLine="If CC.GetString(\"CUANTOS\") = 0 Then"; +if ((__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=17301545; + //BA.debugLineNum = 17301545;BA.debugLine="l_bodega.Text = \"0\" ' se modifica a cero para"; +__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); + }else { +RDebugUtils.currentLine=17301547; + //BA.debugLineNum = 17301547;BA.debugLine="CC.Close"; +__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17301548; + //BA.debugLineNum = 17301548;BA.debugLine="CC=B4XPages.MainPage.skmt.ExecQuery2(\"select C"; +__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE FROM PROMOS_COMP WHERE CAT_PA_ID = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")}))); +RDebugUtils.currentLine=17301549; + //BA.debugLineNum = 17301549;BA.debugLine="CC.Position =0"; +__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17301551; + //BA.debugLineNum = 17301551;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT C"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")}))); +RDebugUtils.currentLine=17301552; + //BA.debugLineNum = 17301552;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17301553; + //BA.debugLineNum = 17301553;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +if ((__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=17301554; + //BA.debugLineNum = 17301554;BA.debugLine="HCCP_CANT = 0"; +__ref._hccp_cant /*String*/ = BA.NumberToString(0); + }else { +RDebugUtils.currentLine=17301556; + //BA.debugLineNum = 17301556;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17301557; + //BA.debugLineNum = 17301557;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT HCCP_CANT FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID")}))); +RDebugUtils.currentLine=17301558; + //BA.debugLineNum = 17301558;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17301559; + //BA.debugLineNum = 17301559;BA.debugLine="HCCP_CANT = DD.GetString(\"HCCP_CANT\")"; +__ref._hccp_cant /*String*/ = __ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HCCP_CANT"); +RDebugUtils.currentLine=17301560; + //BA.debugLineNum = 17301560;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=17301562; + //BA.debugLineNum = 17301562;BA.debugLine="BONSABOR = HCCP_CANT"; +__ref._bonsabor /*String*/ = __ref._hccp_cant /*String*/ ; +RDebugUtils.currentLine=17301563; + //BA.debugLineNum = 17301563;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT C"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")}))); +RDebugUtils.currentLine=17301564; + //BA.debugLineNum = 17301564;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17301565; + //BA.debugLineNum = 17301565;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; +if ((__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=17301566; + //BA.debugLineNum = 17301566;BA.debugLine="HCCP_CANT = 0"; +__ref._hccp_cant /*String*/ = BA.NumberToString(0); + }else { +RDebugUtils.currentLine=17301568; + //BA.debugLineNum = 17301568;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17301569; + //BA.debugLineNum = 17301569;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(HVD_CANT) AS HCCP_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")}))); +RDebugUtils.currentLine=17301570; + //BA.debugLineNum = 17301570;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17301571; + //BA.debugLineNum = 17301571;BA.debugLine="HCCP_CANT = DD.GetString(\"HCCP_CANT\")"; +__ref._hccp_cant /*String*/ = __ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HCCP_CANT"); +RDebugUtils.currentLine=17301572; + //BA.debugLineNum = 17301572;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=17301574; + //BA.debugLineNum = 17301574;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"Select C"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PROID IN (select CAT_GP_ID from CAT_GUNAPROD where CAT_GP_CLASIF = ?) ",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")}))); +RDebugUtils.currentLine=17301575; + //BA.debugLineNum = 17301575;BA.debugLine="DD.Position =0"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17301576; + //BA.debugLineNum = 17301576;BA.debugLine="BONSABOR2 = DD.GetString(\"CUANTOS\")"; +__ref._bonsabor2 /*String*/ = __ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=17301577; + //BA.debugLineNum = 17301577;BA.debugLine="DD.Close"; +__ref._dd /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17301578; + //BA.debugLineNum = 17301578;BA.debugLine="TOTAL_PROMO = CC.GetString(\"CAT_PA_MAXPROMCLIE"; +__ref._total_promo /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_PA_MAXPROMCLIE")))-(double)(Double.parseDouble(__ref._hccp_cant /*String*/ ))); +RDebugUtils.currentLine=17301579; + //BA.debugLineNum = 17301579;BA.debugLine="If HCCP_CANT = 0 Then"; +if ((__ref._hccp_cant /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=17301580; + //BA.debugLineNum = 17301580;BA.debugLine="l_bodega.Text = CC.GetString(\"CAT_PA_MAXPROM\""; +__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_PA_MAXPROM"))); + }else +{RDebugUtils.currentLine=17301581; + //BA.debugLineNum = 17301581;BA.debugLine="Else IF TOTAL_PROMO > CC.GetString(\"CAT_PA_MAX"; +if ((double)(Double.parseDouble(__ref._total_promo /*String*/ ))>(double)(Double.parseDouble(__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_PA_MAXPROMREC")))) { +RDebugUtils.currentLine=17301582; + //BA.debugLineNum = 17301582;BA.debugLine="l_bodega.Text = CC.GetString(\"CAT_PA_MAXPROM"; +__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._cc /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_PA_MAXPROMREC"))); + }else { +RDebugUtils.currentLine=17301584; + //BA.debugLineNum = 17301584;BA.debugLine="l_bodega.Text = TOTAL_PROMO"; +__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._total_promo /*String*/ )); + }} +; + }; + }else { +RDebugUtils.currentLine=17301588; + //BA.debugLineNum = 17301588;BA.debugLine="DESC_PROMO.Visible = False"; +__ref._desc_promo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=17301590; + //BA.debugLineNum = 17301590;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17301591; + //BA.debugLineNum = 17301591;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CASE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CASE WHEN pe_costo_tot is null then 0 else sum( pe_costo_tot ) end as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=17301592; + //BA.debugLineNum = 17301592;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17301593; + //BA.debugLineNum = 17301593;BA.debugLine="t_venta.Text = c.GetString(\"TOTAL_CLIE\")"; +__ref._t_venta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE"))); +RDebugUtils.currentLine=17301594; + //BA.debugLineNum = 17301594;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17301595; + //BA.debugLineNum = 17301595;BA.debugLine="Terminar.Visible = True"; +__ref._terminar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=17301596; + //BA.debugLineNum = 17301596;BA.debugLine="guardar.Visible = True"; +__ref._guardar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=17301597; + //BA.debugLineNum = 17301597;BA.debugLine="cantidad.Visible = True"; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=17301598; + //BA.debugLineNum = 17301598;BA.debugLine="If cambio = \"1\" Then"; +if ((__ref._cambio /*String*/ ).equals("1")) { +RDebugUtils.currentLine=17301599; + //BA.debugLineNum = 17301599;BA.debugLine="nopromo.Visible = True"; +__ref._nopromo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }else { +RDebugUtils.currentLine=17301601; + //BA.debugLineNum = 17301601;BA.debugLine="nopromo.Visible = False"; +__ref._nopromo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=17301603; + //BA.debugLineNum = 17301603;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=17301604; + //BA.debugLineNum = 17301604;BA.debugLine="out = File.OpenOutput(ruta, \"1.jpg\", False)"; +_out = __c.File.OpenOutput(__ref._ruta /*String*/ ,"1.jpg",__c.False); +RDebugUtils.currentLine=17301605; + //BA.debugLineNum = 17301605;BA.debugLine="out.WriteBytes(IMG_PASO, 0, IMG_PASO.Length)"; +_out.WriteBytes(__ref._img_paso /*byte[]*/ ,(int) (0),__ref._img_paso /*byte[]*/ .length); +RDebugUtils.currentLine=17301606; + //BA.debugLineNum = 17301606;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=17301607; + //BA.debugLineNum = 17301607;BA.debugLine="img_prod.Bitmap = LoadBitmap(ruta,\"1.jpg\")"; +__ref._img_prod /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__ref._ruta /*String*/ ,"1.jpg").getObject())); +RDebugUtils.currentLine=17301608; + //BA.debugLineNum = 17301608;BA.debugLine="TOT_ART_PROMO = \"0\""; +__ref._tot_art_promo /*String*/ = "0"; +RDebugUtils.currentLine=17301609; + //BA.debugLineNum = 17301609;BA.debugLine="TOT_ART_PROMOR = \"0\""; +__ref._tot_art_promor /*String*/ = "0"; +RDebugUtils.currentLine=17301610; + //BA.debugLineNum = 17301610;BA.debugLine="If l_marca.text = \"PROMOS\" And l_tipo.Text =\"PRO"; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +RDebugUtils.currentLine=17301611; + //BA.debugLineNum = 17301611;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE NO PUEDE TENER ESTA"; +__c.Msgbox(BA.ObjectToCharSequence("ALERTA"),BA.ObjectToCharSequence("EL CLIENTE NO PUEDE TENER ESTA PROMOCION"),ba); +RDebugUtils.currentLine=17301612; + //BA.debugLineNum = 17301612;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }else +{RDebugUtils.currentLine=17301613; + //BA.debugLineNum = 17301613;BA.debugLine="ELSE IF l_marca.text = \"PROMOS\" And l_tipo.Text"; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROUNI1") && (__ref._bonsabor /*String*/ ).equals("1") == false && (__ref._bonsabor2 /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=17301614; + //BA.debugLineNum = 17301614;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE NO PUEDE TENER ESTA"; +__c.Msgbox(BA.ObjectToCharSequence("ALERTA"),BA.ObjectToCharSequence("EL CLIENTE NO PUEDE TENER ESTA PROMOCION"),ba); +RDebugUtils.currentLine=17301615; + //BA.debugLineNum = 17301615;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }} +; + }else { +RDebugUtils.currentLine=17301618; + //BA.debugLineNum = 17301618;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE YA COMPRO ESTE PRODU"; +__c.Msgbox(BA.ObjectToCharSequence("ALERTA"),BA.ObjectToCharSequence("EL CLIENTE YA COMPRO ESTE PRODUCTO REVISAR NOTA"),ba); +RDebugUtils.currentLine=17301619; + //BA.debugLineNum = 17301619;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }; +RDebugUtils.currentLine=17301621; + //BA.debugLineNum = 17301621;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(SHARK2.keymon.com.mx.c_pedidos __ref) throws Exception{ +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(SHARK2.keymon.com.mx.c_pedidos parent,SHARK2.keymon.com.mx.c_pedidos __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_pedidos __ref; +SHARK2.keymon.com.mx.c_pedidos parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_pedidos"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=17563651; + //BA.debugLineNum = 17563651;BA.debugLine="Msgbox(\"Presione Boton Terminar.\",\"ADVERTENCIA\")"; +parent.__c.Msgbox(BA.ObjectToCharSequence("Presione Boton Terminar."),BA.ObjectToCharSequence("ADVERTENCIA"),ba); +RDebugUtils.currentLine=17563652; + //BA.debugLineNum = 17563652;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=17563653; + //BA.debugLineNum = 17563653;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(SHARK2.keymon.com.mx.c_pedidos __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=17235968; + //BA.debugLineNum = 17235968;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=17235969; + //BA.debugLineNum = 17235969;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=17235971; + //BA.debugLineNum = 17235971;BA.debugLine="Root.LoadLayout(\"pedido\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("pedido",ba); +RDebugUtils.currentLine=17235972; + //BA.debugLineNum = 17235972;BA.debugLine="i_fotol.Visible = False"; +__ref._i_fotol /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=17235974; + //BA.debugLineNum = 17235974;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=17235975; + //BA.debugLineNum = 17235975;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=17235976; + //BA.debugLineNum = 17235976;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); + }; +RDebugUtils.currentLine=17235979; + //BA.debugLineNum = 17235979;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +RDebugUtils.currentLine=17104896; + //BA.debugLineNum = 17104896;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=17104897; + //BA.debugLineNum = 17104897;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=17104898; + //BA.debugLineNum = 17104898;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=17104900; + //BA.debugLineNum = 17104900;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=17104901; + //BA.debugLineNum = 17104901;BA.debugLine="Dim ruta As String"; +_ruta = ""; +RDebugUtils.currentLine=17104902; + //BA.debugLineNum = 17104902;BA.debugLine="Dim skmt As SQL"; +_skmt = new anywheresoftware.b4a.sql.SQL(); +RDebugUtils.currentLine=17104903; + //BA.debugLineNum = 17104903;BA.debugLine="Private t3 As Timer"; +_t3 = new anywheresoftware.b4a.objects.Timer(); +RDebugUtils.currentLine=17104904; + //BA.debugLineNum = 17104904;BA.debugLine="Dim p As Phone"; +_p = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=17104905; + //BA.debugLineNum = 17104905;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=17104907; + //BA.debugLineNum = 17104907;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17104908; + //BA.debugLineNum = 17104908;BA.debugLine="Dim e As Cursor"; +_e = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17104909; + //BA.debugLineNum = 17104909;BA.debugLine="Dim f As Cursor"; +_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17104910; + //BA.debugLineNum = 17104910;BA.debugLine="Dim h As Cursor"; +_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17104911; + //BA.debugLineNum = 17104911;BA.debugLine="Dim CC As Cursor"; +_cc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17104912; + //BA.debugLineNum = 17104912;BA.debugLine="Dim DD As Cursor"; +_dd = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17104913; + //BA.debugLineNum = 17104913;BA.debugLine="Dim l_tipo As Label"; +_l_tipo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17104914; + //BA.debugLineNum = 17104914;BA.debugLine="Dim l_sub As Label"; +_l_sub = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17104915; + //BA.debugLineNum = 17104915;BA.debugLine="Dim l_marca As Label"; +_l_marca = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17104916; + //BA.debugLineNum = 17104916;BA.debugLine="Dim l_desc As Label"; +_l_desc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17104917; + //BA.debugLineNum = 17104917;BA.debugLine="Dim l_precio As Label"; +_l_precio = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17104918; + //BA.debugLineNum = 17104918;BA.debugLine="Dim l_bodega As Label"; +_l_bodega = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17104919; + //BA.debugLineNum = 17104919;BA.debugLine="Dim cantidad As EditText"; +_cantidad = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=17104920; + //BA.debugLineNum = 17104920;BA.debugLine="Dim guardar As Button"; +_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17104921; + //BA.debugLineNum = 17104921;BA.debugLine="Dim Terminar As Button"; +_terminar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17104922; + //BA.debugLineNum = 17104922;BA.debugLine="Dim img_prod As ImageView"; +_img_prod = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=17104923; + //BA.debugLineNum = 17104923;BA.debugLine="Dim IMG_PASO() As Byte"; +_img_paso = new byte[(int) (0)]; +; +RDebugUtils.currentLine=17104924; + //BA.debugLineNum = 17104924;BA.debugLine="Dim L_PROID As Label"; +_l_proid = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17104925; + //BA.debugLineNum = 17104925;BA.debugLine="Dim clie_id As String"; +_clie_id = ""; +RDebugUtils.currentLine=17104926; + //BA.debugLineNum = 17104926;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=17104927; + //BA.debugLineNum = 17104927;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=17104929; + //BA.debugLineNum = 17104929;BA.debugLine="Dim t_venta As Label"; +_t_venta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17104930; + //BA.debugLineNum = 17104930;BA.debugLine="Dim PROMO_C As String"; +_promo_c = ""; +RDebugUtils.currentLine=17104931; + //BA.debugLineNum = 17104931;BA.debugLine="Dim i_fotol As ImageView"; +_i_fotol = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=17104932; + //BA.debugLineNum = 17104932;BA.debugLine="Private DESC_PROMO As Button"; +_desc_promo = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17104933; + //BA.debugLineNum = 17104933;BA.debugLine="Private nopromo As Button"; +_nopromo = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17104934; + //BA.debugLineNum = 17104934;BA.debugLine="Dim TOT_ART_PROMO As String"; +_tot_art_promo = ""; +RDebugUtils.currentLine=17104935; + //BA.debugLineNum = 17104935;BA.debugLine="Dim cambio As String"; +_cambio = ""; +RDebugUtils.currentLine=17104936; + //BA.debugLineNum = 17104936;BA.debugLine="Dim COSTO_TOT As String"; +_costo_tot = ""; +RDebugUtils.currentLine=17104937; + //BA.debugLineNum = 17104937;BA.debugLine="Dim ALMACEN As String"; +_almacen = ""; +RDebugUtils.currentLine=17104938; + //BA.debugLineNum = 17104938;BA.debugLine="Dim preciosin As String"; +_preciosin = ""; +RDebugUtils.currentLine=17104939; + //BA.debugLineNum = 17104939;BA.debugLine="Dim cl_ruta As String"; +_cl_ruta = ""; +RDebugUtils.currentLine=17104940; + //BA.debugLineNum = 17104940;BA.debugLine="Dim d As Cursor"; +_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17104941; + //BA.debugLineNum = 17104941;BA.debugLine="Dim TOT_ART_PROMOR As String"; +_tot_art_promor = ""; +RDebugUtils.currentLine=17104942; + //BA.debugLineNum = 17104942;BA.debugLine="Dim PROMO_CR As String"; +_promo_cr = ""; +RDebugUtils.currentLine=17104943; + //BA.debugLineNum = 17104943;BA.debugLine="Dim TOTAL_PROMO As String"; +_total_promo = ""; +RDebugUtils.currentLine=17104944; + //BA.debugLineNum = 17104944;BA.debugLine="Dim HCCP_CANT As String"; +_hccp_cant = ""; +RDebugUtils.currentLine=17104945; + //BA.debugLineNum = 17104945;BA.debugLine="Dim tgl As Toggle"; +_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); +RDebugUtils.currentLine=17104946; + //BA.debugLineNum = 17104946;BA.debugLine="Dim precio_Cero As String"; +_precio_cero = ""; +RDebugUtils.currentLine=17104947; + //BA.debugLineNum = 17104947;BA.debugLine="Private BONSABOR As String"; +_bonsabor = ""; +RDebugUtils.currentLine=17104948; + //BA.debugLineNum = 17104948;BA.debugLine="Private BONSABOR2 As String"; +_bonsabor2 = ""; +RDebugUtils.currentLine=17104949; + //BA.debugLineNum = 17104949;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=17104950; + //BA.debugLineNum = 17104950;BA.debugLine="Private p_pedido As Panel"; +_p_pedido = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=17104951; + //BA.debugLineNum = 17104951;BA.debugLine="End Sub"; +return ""; +} +public String _desc_promo_click(SHARK2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "desc_promo_click", false)) + {return ((String) Debug.delegate(ba, "desc_promo_click", null));} +RDebugUtils.currentLine=17760256; + //BA.debugLineNum = 17760256;BA.debugLine="Sub DESC_PROMO_Click"; +RDebugUtils.currentLine=17760257; + //BA.debugLineNum = 17760257;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); +RDebugUtils.currentLine=17760258; + //BA.debugLineNum = 17760258;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=17760259; + //BA.debugLineNum = 17760259;BA.debugLine="B4XPages.ShowPage(\"detalle_promo\")"; +_b4xpages._showpage /*String*/ (ba,"detalle_promo"); +RDebugUtils.currentLine=17760260; + //BA.debugLineNum = 17760260;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(SHARK2.keymon.com.mx.c_pedidos __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=17432576; + //BA.debugLineNum = 17432576;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=17432579; + //BA.debugLineNum = 17432579;BA.debugLine="End Sub"; +return ""; +} +public String _guardar_click(SHARK2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "guardar_click", false)) + {return ((String) Debug.delegate(ba, "guardar_click", null));} +int _i = 0; +RDebugUtils.currentLine=17367040; + //BA.debugLineNum = 17367040;BA.debugLine="Sub guardar_Click"; +RDebugUtils.currentLine=17367041; + //BA.debugLineNum = 17367041;BA.debugLine="If cantidad.Text = \"\" Then"; +if ((__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=17367042; + //BA.debugLineNum = 17367042;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }else +{RDebugUtils.currentLine=17367043; + //BA.debugLineNum = 17367043;BA.debugLine="ELSE If cantidad.Text > l_bodega.Text Then"; +if ((double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>(double)(Double.parseDouble(__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))) { +RDebugUtils.currentLine=17367044; + //BA.debugLineNum = 17367044;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; +__c.Msgbox(BA.ObjectToCharSequence("Exede la existencia"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); + }else +{RDebugUtils.currentLine=17367045; + //BA.debugLineNum = 17367045;BA.debugLine="Else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (double)(Double.parseDouble(__ref._promo_c /*String*/ ))>0 && (double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>0) { +RDebugUtils.currentLine=17367046; + //BA.debugLineNum = 17367046;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); +RDebugUtils.currentLine=17367047; + //BA.debugLineNum = 17367047;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=17367048; + //BA.debugLineNum = 17367048;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)"))); +RDebugUtils.currentLine=17367049; + //BA.debugLineNum = 17367049;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367050; + //BA.debugLineNum = 17367050;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOSD")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=17367051; + //BA.debugLineNum = 17367051;BA.debugLine="Msgbox(\"No tiene venta el cliente para la promo"; +__c.Msgbox(BA.ObjectToCharSequence("No tiene venta el cliente para la promo"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); + }else { +RDebugUtils.currentLine=17367053; + //BA.debugLineNum = 17367053;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)"))); +RDebugUtils.currentLine=17367054; + //BA.debugLineNum = 17367054;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367055; + //BA.debugLineNum = 17367055;BA.debugLine="TOT_ART_PROMO = C.GetString(\"TOT_ART_PROMO\")"; +__ref._tot_art_promo /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOT_ART_PROMO"); +RDebugUtils.currentLine=17367056; + //BA.debugLineNum = 17367056;BA.debugLine="COSTO_TOT = C.GetString(\"COSTO_TOT\")"; +__ref._costo_tot /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("COSTO_TOT"); +RDebugUtils.currentLine=17367057; + //BA.debugLineNum = 17367057;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17367058; + //BA.debugLineNum = 17367058;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); +RDebugUtils.currentLine=17367059; + //BA.debugLineNum = 17367059;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367060; + //BA.debugLineNum = 17367060;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOSD")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=17367061; + //BA.debugLineNum = 17367061;BA.debugLine="TOT_ART_PROMOR = \"0\" 'Msgbox(\"No tiene venta e"; +__ref._tot_art_promor /*String*/ = "0"; + }else { +RDebugUtils.currentLine=17367063; + //BA.debugLineNum = 17367063;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); +RDebugUtils.currentLine=17367064; + //BA.debugLineNum = 17367064;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367065; + //BA.debugLineNum = 17367065;BA.debugLine="TOT_ART_PROMOR = C.GetString(\"TOT_ART_PROMO\")"; +__ref._tot_art_promor /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOT_ART_PROMO"); + }; +RDebugUtils.currentLine=17367067; + //BA.debugLineNum = 17367067;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17367068; + //BA.debugLineNum = 17367068;BA.debugLine="PROMO_C = PROMO_C * cantidad.Text"; +__ref._promo_c /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._promo_c /*String*/ ))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))); +RDebugUtils.currentLine=17367069; + //BA.debugLineNum = 17367069;BA.debugLine="PROMO_CR = PROMO_CR * cantidad.Text"; +__ref._promo_cr /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._promo_cr /*String*/ ))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))); +RDebugUtils.currentLine=17367070; + //BA.debugLineNum = 17367070;BA.debugLine="If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR"; +if ((__ref._tot_art_promo /*String*/ ).equals(__ref._promo_c /*String*/ ) && (__ref._tot_art_promor /*String*/ ).equals(__ref._promo_cr /*String*/ )) { +RDebugUtils.currentLine=17367071; + //BA.debugLineNum = 17367071;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=17367072; + //BA.debugLineNum = 17367072;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1"))); +RDebugUtils.currentLine=17367073; + //BA.debugLineNum = 17367073;BA.debugLine="If D.RowCount>0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=17367074; + //BA.debugLineNum = 17367074;BA.debugLine="For i=0 To D.RowCount -1"; +{ +final int step34 = 1; +final int limit34 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit34 ;_i = _i + step34 ) { +RDebugUtils.currentLine=17367075; + //BA.debugLineNum = 17367075;BA.debugLine="D.Position=i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=17367076; + //BA.debugLineNum = 17367076;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD"))})); + } +}; + }; +RDebugUtils.currentLine=17367079; + //BA.debugLineNum = 17367079;BA.debugLine="D.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17367080; + //BA.debugLineNum = 17367080;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1"))); +RDebugUtils.currentLine=17367081; + //BA.debugLineNum = 17367081;BA.debugLine="If D.RowCount>0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=17367082; + //BA.debugLineNum = 17367082;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=17367083; + //BA.debugLineNum = 17367083;BA.debugLine="D.Position=i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=17367084; + //BA.debugLineNum = 17367084;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD"))})); + } +}; + }; +RDebugUtils.currentLine=17367087; + //BA.debugLineNum = 17367087;BA.debugLine="D.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17367088; + //BA.debugLineNum = 17367088;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=17367089; + //BA.debugLineNum = 17367089;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=17367090; + //BA.debugLineNum = 17367090;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=17367091; + //BA.debugLineNum = 17367091;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=17367092; + //BA.debugLineNum = 17367092;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367093; + //BA.debugLineNum = 17367093;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=17367094; + //BA.debugLineNum = 17367094;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17367095; + //BA.debugLineNum = 17367095;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=17367096; + //BA.debugLineNum = 17367096;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367097; + //BA.debugLineNum = 17367097;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._cl_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=17367098; + //BA.debugLineNum = 17367098;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17367099; + //BA.debugLineNum = 17367099;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=17367100; + //BA.debugLineNum = 17367100;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367101; + //BA.debugLineNum = 17367101;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=17367102; + //BA.debugLineNum = 17367102;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select cou"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); +RDebugUtils.currentLine=17367104; + //BA.debugLineNum = 17367104;BA.debugLine="e.Position =0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367105; + //BA.debugLineNum = 17367105;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=17367106; + //BA.debugLineNum = 17367106;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS,CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); +RDebugUtils.currentLine=17367109; + //BA.debugLineNum = 17367109;BA.debugLine="If f.RowCount>0 Then"; +if (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=17367110; + //BA.debugLineNum = 17367110;BA.debugLine="For i=0 To f.RowCount -1"; +{ +final int step67 = 1; +final int limit67 = (int) (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit67 ;_i = _i + step67 ) { +RDebugUtils.currentLine=17367111; + //BA.debugLineNum = 17367111;BA.debugLine="f.Position=i"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=17367112; + //BA.debugLineNum = 17367112;BA.debugLine="precio_Cero = f.GetString(\"CAT_DP_PRECIO\")"; +__ref._precio_cero /*String*/ = __ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO"); +RDebugUtils.currentLine=17367113; + //BA.debugLineNum = 17367113;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2(\"select"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from CAT_GUNAPROD where CAT_GP_ID = ? ",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")}))); +RDebugUtils.currentLine=17367114; + //BA.debugLineNum = 17367114;BA.debugLine="h.Position=0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367116; + //BA.debugLineNum = 17367116;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)((double)(Double.parseDouble(__ref._precio_cero /*String*/ ))*(double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))),(Object)(__ref._precio_cero /*String*/ ),(Object)((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))),(Object)(__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ )})); +RDebugUtils.currentLine=17367117; + //BA.debugLineNum = 17367117;BA.debugLine="h.Close"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } +}; + }; +RDebugUtils.currentLine=17367120; + //BA.debugLineNum = 17367120;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=17367122; + //BA.debugLineNum = 17367122;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17367123; + //BA.debugLineNum = 17367123;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(0),(Object)(0),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=17367124; + //BA.debugLineNum = 17367124;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update c"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); + }else { +RDebugUtils.currentLine=17367126; + //BA.debugLineNum = 17367126;BA.debugLine="Msgbox(\"Tiene \" & TOT_ART_PROMO & \" \" & TOT_AR"; +__c.Msgbox(BA.ObjectToCharSequence("Tiene "+__ref._tot_art_promo /*String*/ +" "+__ref._tot_art_promor /*String*/ +" y necesita "+__ref._promo_c /*String*/ +" "+__ref._promo_cr /*String*/ +" Para la Promo. "),BA.ObjectToCharSequence("ADVERTENCIA"),ba); + }; + }; +RDebugUtils.currentLine=17367129; + //BA.debugLineNum = 17367129;BA.debugLine="cantidad.Text = \"\""; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=17367130; + //BA.debugLineNum = 17367130;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }else +{RDebugUtils.currentLine=17367131; + //BA.debugLineNum = 17367131;BA.debugLine="else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._promo_c /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=17367132; + //BA.debugLineNum = 17367132;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); +RDebugUtils.currentLine=17367133; + //BA.debugLineNum = 17367133;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=17367134; + //BA.debugLineNum = 17367134;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=17367135; + //BA.debugLineNum = 17367135;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367136; + //BA.debugLineNum = 17367136;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=17367137; + //BA.debugLineNum = 17367137;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17367138; + //BA.debugLineNum = 17367138;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=17367139; + //BA.debugLineNum = 17367139;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=17367140; + //BA.debugLineNum = 17367140;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=17367141; + //BA.debugLineNum = 17367141;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=17367142; + //BA.debugLineNum = 17367142;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367143; + //BA.debugLineNum = 17367143;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._cl_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=17367144; + //BA.debugLineNum = 17367144;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17367145; + //BA.debugLineNum = 17367145;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=17367146; + //BA.debugLineNum = 17367146;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367147; + //BA.debugLineNum = 17367147;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=17367150; + //BA.debugLineNum = 17367150;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) "))); +RDebugUtils.currentLine=17367151; + //BA.debugLineNum = 17367151;BA.debugLine="e.Position =0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367152; + //BA.debugLineNum = 17367152;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=17367153; + //BA.debugLineNum = 17367153;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); +RDebugUtils.currentLine=17367154; + //BA.debugLineNum = 17367154;BA.debugLine="For i =0 To f.RowCount -1"; +{ +final int step108 = 1; +final int limit108 = (int) (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit108 ;_i = _i + step108 ) { +RDebugUtils.currentLine=17367155; + //BA.debugLineNum = 17367155;BA.debugLine="F.Position =i"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=17367156; + //BA.debugLineNum = 17367156;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from CAT_GUNAPROD where CAT_GP_ID = ? ",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")}))); +RDebugUtils.currentLine=17367157; + //BA.debugLineNum = 17367157;BA.debugLine="h.Position=0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367158; + //BA.debugLineNum = 17367158;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*(double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))),(Object)(__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=17367159; + //BA.debugLineNum = 17367159;BA.debugLine="h.Close"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } +}; +RDebugUtils.currentLine=17367161; + //BA.debugLineNum = 17367161;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=17367163; + //BA.debugLineNum = 17367163;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17367165; + //BA.debugLineNum = 17367165;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(0),(Object)(0),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=17367166; + //BA.debugLineNum = 17367166;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=17367167; + //BA.debugLineNum = 17367167;BA.debugLine="cantidad.Text = \"\""; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=17367168; + //BA.debugLineNum = 17367168;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=17367169; + //BA.debugLineNum = 17367169;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367170; + //BA.debugLineNum = 17367170;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=17367171; + //BA.debugLineNum = 17367171;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE_SIN"))})); +RDebugUtils.currentLine=17367172; + //BA.debugLineNum = 17367172;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=17367173; + //BA.debugLineNum = 17367173;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }else { +RDebugUtils.currentLine=17367175; + //BA.debugLineNum = 17367175;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=17367176; + //BA.debugLineNum = 17367176;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=17367177; + //BA.debugLineNum = 17367177;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=17367178; + //BA.debugLineNum = 17367178;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=17367179; + //BA.debugLineNum = 17367179;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367180; + //BA.debugLineNum = 17367180;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=17367181; + //BA.debugLineNum = 17367181;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17367182; + //BA.debugLineNum = 17367182;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=17367183; + //BA.debugLineNum = 17367183;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367184; + //BA.debugLineNum = 17367184;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._cl_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=17367185; + //BA.debugLineNum = 17367185;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17367186; + //BA.debugLineNum = 17367186;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=17367187; + //BA.debugLineNum = 17367187;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367188; + //BA.debugLineNum = 17367188;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=17367189; + //BA.debugLineNum = 17367189;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN, PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)((double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*(double)(Double.parseDouble(__ref._l_precio /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))),(Object)(__ref._l_precio /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(__ref._preciosin /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=17367190; + //BA.debugLineNum = 17367190;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=17367191; + //BA.debugLineNum = 17367191;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=17367192; + //BA.debugLineNum = 17367192;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17367193; + //BA.debugLineNum = 17367193;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=17367194; + //BA.debugLineNum = 17367194;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE_SIN"))})); +RDebugUtils.currentLine=17367195; + //BA.debugLineNum = 17367195;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=17367196; + //BA.debugLineNum = 17367196;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=17367197; + //BA.debugLineNum = 17367197;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }}}} +; +RDebugUtils.currentLine=17367199; + //BA.debugLineNum = 17367199;BA.debugLine="End Sub"; +return ""; +} +public String _i_fotol_click(SHARK2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "i_fotol_click", false)) + {return ((String) Debug.delegate(ba, "i_fotol_click", null));} +RDebugUtils.currentLine=17694720; + //BA.debugLineNum = 17694720;BA.debugLine="Sub i_fotol_Click"; +RDebugUtils.currentLine=17694721; + //BA.debugLineNum = 17694721;BA.debugLine="i_fotol.Visible = False"; +__ref._i_fotol /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=17694723; + //BA.debugLineNum = 17694723;BA.debugLine="End Sub"; +return ""; +} +public String _img_prod_click(SHARK2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "img_prod_click", false)) + {return ((String) Debug.delegate(ba, "img_prod_click", null));} +RDebugUtils.currentLine=17629184; + //BA.debugLineNum = 17629184;BA.debugLine="Sub img_prod_Click"; +RDebugUtils.currentLine=17629185; + //BA.debugLineNum = 17629185;BA.debugLine="i_fotol.Visible = True"; +__ref._i_fotol /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=17629186; + //BA.debugLineNum = 17629186;BA.debugLine="i_fotol.Bitmap = LoadBitmap(ruta,\"1.jpg\")"; +__ref._i_fotol /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__ref._ruta /*String*/ ,"1.jpg").getObject())); +RDebugUtils.currentLine=17629188; + //BA.debugLineNum = 17629188;BA.debugLine="End Sub"; +return ""; +} +public String _nopromo_click(SHARK2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "nopromo_click", false)) + {return ((String) Debug.delegate(ba, "nopromo_click", null));} +RDebugUtils.currentLine=17825792; + //BA.debugLineNum = 17825792;BA.debugLine="Sub nopromo_Click"; +RDebugUtils.currentLine=17825793; + //BA.debugLineNum = 17825793;BA.debugLine="If cantidad.Text = \"\" Then"; +if ((__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=17825794; + //BA.debugLineNum = 17825794;BA.debugLine="Msgbox(\"Cantidad no puede ser 0\",\"Cantidad\") 'ig"; +__c.Msgbox(BA.ObjectToCharSequence("Cantidad no puede ser 0"),BA.ObjectToCharSequence("Cantidad"),ba); + }else +{RDebugUtils.currentLine=17825795; + //BA.debugLineNum = 17825795;BA.debugLine="Else If cantidad.Text > l_bodega.Text Then"; +if ((double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>(double)(Double.parseDouble(__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))) { +RDebugUtils.currentLine=17825796; + //BA.debugLineNum = 17825796;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; +__c.Msgbox(BA.ObjectToCharSequence("Exede la existencia"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); + }else { +RDebugUtils.currentLine=17825798; + //BA.debugLineNum = 17825798;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=17825799; + //BA.debugLineNum = 17825799;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=17825800; + //BA.debugLineNum = 17825800;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=17825801; + //BA.debugLineNum = 17825801;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=17825802; + //BA.debugLineNum = 17825802;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17825803; + //BA.debugLineNum = 17825803;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=17825804; + //BA.debugLineNum = 17825804;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=17825805; + //BA.debugLineNum = 17825805;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17825806; + //BA.debugLineNum = 17825806;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=17825807; + //BA.debugLineNum = 17825807;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COACALCO"),(Object)(0),(Object)(0),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=17825808; + //BA.debugLineNum = 17825808;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=17825809; + //BA.debugLineNum = 17825809;BA.debugLine="cantidad.Text = \"\""; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=17825810; + //BA.debugLineNum = 17825810;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); + }} +; +RDebugUtils.currentLine=17825812; + //BA.debugLineNum = 17825812;BA.debugLine="End Sub"; +return ""; +} +public String _p_pedido_click(SHARK2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "p_pedido_click", false)) + {return ((String) Debug.delegate(ba, "p_pedido_click", null));} +RDebugUtils.currentLine=17891328; + //BA.debugLineNum = 17891328;BA.debugLine="Private Sub p_pedido_Click"; +RDebugUtils.currentLine=17891330; + //BA.debugLineNum = 17891330;BA.debugLine="End Sub"; +return ""; +} +public String _terminar_click(SHARK2.keymon.com.mx.c_pedidos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_pedidos"; +if (Debug.shouldDelegate(ba, "terminar_click", false)) + {return ((String) Debug.delegate(ba, "terminar_click", null));} +int _i = 0; +RDebugUtils.currentLine=17498112; + //BA.debugLineNum = 17498112;BA.debugLine="Sub Terminar_Click"; +RDebugUtils.currentLine=17498113; + //BA.debugLineNum = 17498113;BA.debugLine="If cantidad.Text = \"\" Then"; +if ((__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=17498114; + //BA.debugLineNum = 17498114;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); + }else +{RDebugUtils.currentLine=17498115; + //BA.debugLineNum = 17498115;BA.debugLine="ELSE If cantidad.Text > l_bodega.Text Then"; +if ((double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>(double)(Double.parseDouble(__ref._l_bodega /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))) { +RDebugUtils.currentLine=17498116; + //BA.debugLineNum = 17498116;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; +__c.Msgbox(BA.ObjectToCharSequence("Exede la existencia"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); + }else +{RDebugUtils.currentLine=17498117; + //BA.debugLineNum = 17498117;BA.debugLine="Else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (double)(Double.parseDouble(__ref._promo_c /*String*/ ))>0 && (double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>0) { +RDebugUtils.currentLine=17498118; + //BA.debugLineNum = 17498118;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); +RDebugUtils.currentLine=17498119; + //BA.debugLineNum = 17498119;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=17498120; + //BA.debugLineNum = 17498120;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)"))); +RDebugUtils.currentLine=17498121; + //BA.debugLineNum = 17498121;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498122; + //BA.debugLineNum = 17498122;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOSD")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=17498123; + //BA.debugLineNum = 17498123;BA.debugLine="Msgbox(\"No tiene venta el cliente para la promo"; +__c.Msgbox(BA.ObjectToCharSequence("No tiene venta el cliente para la promo"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); + }else { +RDebugUtils.currentLine=17498125; + //BA.debugLineNum = 17498125;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)"))); +RDebugUtils.currentLine=17498126; + //BA.debugLineNum = 17498126;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498127; + //BA.debugLineNum = 17498127;BA.debugLine="TOT_ART_PROMO = C.GetString(\"TOT_ART_PROMO\")"; +__ref._tot_art_promo /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOT_ART_PROMO"); +RDebugUtils.currentLine=17498128; + //BA.debugLineNum = 17498128;BA.debugLine="COSTO_TOT = C.GetString(\"COSTO_TOT\")"; +__ref._costo_tot /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("COSTO_TOT"); +RDebugUtils.currentLine=17498129; + //BA.debugLineNum = 17498129;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17498130; + //BA.debugLineNum = 17498130;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); +RDebugUtils.currentLine=17498131; + //BA.debugLineNum = 17498131;BA.debugLine="c.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498132; + //BA.debugLineNum = 17498132;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOSD")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=17498133; + //BA.debugLineNum = 17498133;BA.debugLine="TOT_ART_PROMOR = \"0\" 'Msgbox(\"No tiene venta e"; +__ref._tot_art_promor /*String*/ = "0"; + }else { +RDebugUtils.currentLine=17498135; + //BA.debugLineNum = 17498135;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); +RDebugUtils.currentLine=17498136; + //BA.debugLineNum = 17498136;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498137; + //BA.debugLineNum = 17498137;BA.debugLine="TOT_ART_PROMOR = C.GetString(\"TOT_ART_PROMO\")"; +__ref._tot_art_promor /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOT_ART_PROMO"); + }; +RDebugUtils.currentLine=17498139; + //BA.debugLineNum = 17498139;BA.debugLine="C.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17498140; + //BA.debugLineNum = 17498140;BA.debugLine="PROMO_C = PROMO_C * cantidad.Text"; +__ref._promo_c /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._promo_c /*String*/ ))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))); +RDebugUtils.currentLine=17498141; + //BA.debugLineNum = 17498141;BA.debugLine="PROMO_CR = PROMO_CR * cantidad.Text"; +__ref._promo_cr /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._promo_cr /*String*/ ))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))); +RDebugUtils.currentLine=17498142; + //BA.debugLineNum = 17498142;BA.debugLine="If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR"; +if ((__ref._tot_art_promo /*String*/ ).equals(__ref._promo_c /*String*/ ) && (__ref._tot_art_promor /*String*/ ).equals(__ref._promo_cr /*String*/ )) { +RDebugUtils.currentLine=17498146; + //BA.debugLineNum = 17498146;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=17498147; + //BA.debugLineNum = 17498147;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1"))); +RDebugUtils.currentLine=17498148; + //BA.debugLineNum = 17498148;BA.debugLine="If D.RowCount>0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=17498149; + //BA.debugLineNum = 17498149;BA.debugLine="For i=0 To D.RowCount -1"; +{ +final int step34 = 1; +final int limit34 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit34 ;_i = _i + step34 ) { +RDebugUtils.currentLine=17498150; + //BA.debugLineNum = 17498150;BA.debugLine="D.Position=i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=17498151; + //BA.debugLineNum = 17498151;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD"))})); + } +}; + }; +RDebugUtils.currentLine=17498154; + //BA.debugLineNum = 17498154;BA.debugLine="D.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17498155; + //BA.debugLineNum = 17498155;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1"))); +RDebugUtils.currentLine=17498156; + //BA.debugLineNum = 17498156;BA.debugLine="If D.RowCount>0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=17498157; + //BA.debugLineNum = 17498157;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=17498158; + //BA.debugLineNum = 17498158;BA.debugLine="D.Position=i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=17498159; + //BA.debugLineNum = 17498159;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD"))})); + } +}; + }; +RDebugUtils.currentLine=17498162; + //BA.debugLineNum = 17498162;BA.debugLine="D.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17498163; + //BA.debugLineNum = 17498163;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=17498164; + //BA.debugLineNum = 17498164;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=17498165; + //BA.debugLineNum = 17498165;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=17498166; + //BA.debugLineNum = 17498166;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=17498167; + //BA.debugLineNum = 17498167;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498168; + //BA.debugLineNum = 17498168;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=17498169; + //BA.debugLineNum = 17498169;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17498170; + //BA.debugLineNum = 17498170;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=17498171; + //BA.debugLineNum = 17498171;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498172; + //BA.debugLineNum = 17498172;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._cl_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=17498173; + //BA.debugLineNum = 17498173;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17498174; + //BA.debugLineNum = 17498174;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=17498175; + //BA.debugLineNum = 17498175;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498176; + //BA.debugLineNum = 17498176;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=17498178; + //BA.debugLineNum = 17498178;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select cou"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); +RDebugUtils.currentLine=17498180; + //BA.debugLineNum = 17498180;BA.debugLine="e.Position =0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498181; + //BA.debugLineNum = 17498181;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=17498182; + //BA.debugLineNum = 17498182;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS,CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); +RDebugUtils.currentLine=17498185; + //BA.debugLineNum = 17498185;BA.debugLine="If f.RowCount>0 Then"; +if (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=17498186; + //BA.debugLineNum = 17498186;BA.debugLine="For i=0 To f.RowCount -1"; +{ +final int step67 = 1; +final int limit67 = (int) (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit67 ;_i = _i + step67 ) { +RDebugUtils.currentLine=17498187; + //BA.debugLineNum = 17498187;BA.debugLine="f.Position=i"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=17498188; + //BA.debugLineNum = 17498188;BA.debugLine="precio_Cero = f.GetString(\"CAT_DP_PRECIO\")"; +__ref._precio_cero /*String*/ = __ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO"); +RDebugUtils.currentLine=17498189; + //BA.debugLineNum = 17498189;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2(\"select"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from CAT_GUNAPROD where CAT_GP_ID = ? ",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")}))); +RDebugUtils.currentLine=17498190; + //BA.debugLineNum = 17498190;BA.debugLine="h.Position=0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498191; + //BA.debugLineNum = 17498191;BA.debugLine="Log(111)"; +__c.LogImpl("517498191",BA.NumberToString(111),0); +RDebugUtils.currentLine=17498192; + //BA.debugLineNum = 17498192;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)((double)(Double.parseDouble(__ref._precio_cero /*String*/ ))*(double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))),(Object)(__ref._precio_cero /*String*/ ),(Object)((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))),(Object)(__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=17498193; + //BA.debugLineNum = 17498193;BA.debugLine="h.Close"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } +}; + }; +RDebugUtils.currentLine=17498196; + //BA.debugLineNum = 17498196;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=17498198; + //BA.debugLineNum = 17498198;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17498199; + //BA.debugLineNum = 17498199;BA.debugLine="Log(222)"; +__c.LogImpl("517498199",BA.NumberToString(222),0); +RDebugUtils.currentLine=17498200; + //BA.debugLineNum = 17498200;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(0),(Object)(0),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=17498201; + //BA.debugLineNum = 17498201;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update c"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); + }else { +RDebugUtils.currentLine=17498203; + //BA.debugLineNum = 17498203;BA.debugLine="Msgbox(\"Tiene \" & TOT_ART_PROMO & \" \" & TOT_AR"; +__c.Msgbox(BA.ObjectToCharSequence("Tiene "+__ref._tot_art_promo /*String*/ +" "+__ref._tot_art_promor /*String*/ +" y necesita "+__ref._promo_c /*String*/ +" "+__ref._promo_cr /*String*/ +" Para la Promo. "),BA.ObjectToCharSequence("ADVERTENCIA"),ba); + }; + }; +RDebugUtils.currentLine=17498206; + //BA.debugLineNum = 17498206;BA.debugLine="cantidad.Text = \"\""; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=17498207; + //BA.debugLineNum = 17498207;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); + }else +{RDebugUtils.currentLine=17498208; + //BA.debugLineNum = 17498208;BA.debugLine="else If l_marca.text = \"PROMOS\" And l_tipo.Text ="; +if ((__ref._l_marca /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._l_tipo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("PROMOS") && (__ref._promo_c /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=17498209; + //BA.debugLineNum = 17498209;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); +RDebugUtils.currentLine=17498210; + //BA.debugLineNum = 17498210;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=17498211; + //BA.debugLineNum = 17498211;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=17498212; + //BA.debugLineNum = 17498212;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498213; + //BA.debugLineNum = 17498213;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=17498214; + //BA.debugLineNum = 17498214;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17498215; + //BA.debugLineNum = 17498215;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=17498216; + //BA.debugLineNum = 17498216;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=17498217; + //BA.debugLineNum = 17498217;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=17498218; + //BA.debugLineNum = 17498218;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=17498219; + //BA.debugLineNum = 17498219;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498220; + //BA.debugLineNum = 17498220;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._cl_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=17498221; + //BA.debugLineNum = 17498221;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17498222; + //BA.debugLineNum = 17498222;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=17498223; + //BA.debugLineNum = 17498223;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498224; + //BA.debugLineNum = 17498224;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=17498226; + //BA.debugLineNum = 17498226;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) "))); +RDebugUtils.currentLine=17498227; + //BA.debugLineNum = 17498227;BA.debugLine="e.Position =0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498228; + //BA.debugLineNum = 17498228;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=17498229; + //BA.debugLineNum = 17498229;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); +RDebugUtils.currentLine=17498230; + //BA.debugLineNum = 17498230;BA.debugLine="For i =0 To f.RowCount -1"; +{ +final int step110 = 1; +final int limit110 = (int) (__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit110 ;_i = _i + step110 ) { +RDebugUtils.currentLine=17498231; + //BA.debugLineNum = 17498231;BA.debugLine="F.Position =i"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=17498232; + //BA.debugLineNum = 17498232;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from CAT_GUNAPROD where CAT_GP_ID = ? ",new String[]{__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")}))); +RDebugUtils.currentLine=17498233; + //BA.debugLineNum = 17498233;BA.debugLine="h.Position=0"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498234; + //BA.debugLineNum = 17498234;BA.debugLine="Log(333)"; +__c.LogImpl("517498234",BA.NumberToString(333),0); +RDebugUtils.currentLine=17498235; + //BA.debugLineNum = 17498235;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*(double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PRECIO")),(Object)((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))),(Object)(__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),(Object)(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_DP_IDPROD")),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=17498236; + //BA.debugLineNum = 17498236;BA.debugLine="h.Close"; +__ref._h /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } +}; +RDebugUtils.currentLine=17498238; + //BA.debugLineNum = 17498238;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=17498240; + //BA.debugLineNum = 17498240;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17498241; + //BA.debugLineNum = 17498241;BA.debugLine="Log(444)"; +__c.LogImpl("517498241",BA.NumberToString(444),0); +RDebugUtils.currentLine=17498242; + //BA.debugLineNum = 17498242;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(0),(Object)(0),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=17498243; + //BA.debugLineNum = 17498243;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=17498244; + //BA.debugLineNum = 17498244;BA.debugLine="cantidad.Text = \"\""; +__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=17498245; + //BA.debugLineNum = 17498245;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=17498246; + //BA.debugLineNum = 17498246;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498247; + //BA.debugLineNum = 17498247;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=17498248; + //BA.debugLineNum = 17498248;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE_SIN"))})); +RDebugUtils.currentLine=17498249; + //BA.debugLineNum = 17498249;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=17498250; + //BA.debugLineNum = 17498250;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); + }else { +RDebugUtils.currentLine=17498252; + //BA.debugLineNum = 17498252;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=17498253; + //BA.debugLineNum = 17498253;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=17498254; + //BA.debugLineNum = 17498254;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=17498255; + //BA.debugLineNum = 17498255;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=17498256; + //BA.debugLineNum = 17498256;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498257; + //BA.debugLineNum = 17498257;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; +__ref._clie_id /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA"); +RDebugUtils.currentLine=17498258; + //BA.debugLineNum = 17498258;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17498259; + //BA.debugLineNum = 17498259;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=17498260; + //BA.debugLineNum = 17498260;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498261; + //BA.debugLineNum = 17498261;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; +__ref._cl_ruta /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"); +RDebugUtils.currentLine=17498262; + //BA.debugLineNum = 17498262;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=17498263; + //BA.debugLineNum = 17498263;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=17498264; + //BA.debugLineNum = 17498264;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498265; + //BA.debugLineNum = 17498265;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=17498266; + //BA.debugLineNum = 17498266;BA.debugLine="Log(555)"; +__c.LogImpl("517498266",BA.NumberToString(555),0); +RDebugUtils.currentLine=17498267; + //BA.debugLineNum = 17498267;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)((double)(Double.parseDouble(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))*(double)(Double.parseDouble(__ref._l_precio /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))),(Object)(__ref._l_precio /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_desc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(__ref._preciosin /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); +RDebugUtils.currentLine=17498268; + //BA.debugLineNum = 17498268;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())})); +RDebugUtils.currentLine=17498269; + //BA.debugLineNum = 17498269;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=17498270; + //BA.debugLineNum = 17498270;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=17498271; + //BA.debugLineNum = 17498271;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=17498272; + //BA.debugLineNum = 17498272;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._clie_id /*String*/ ),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._usuario /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CANT_CLIE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._cl_ruta /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL_CLIE_SIN"))})); +RDebugUtils.currentLine=17498273; + //BA.debugLineNum = 17498273;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=17498274; + //BA.debugLineNum = 17498274;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_proid /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._cantidad /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())})); +RDebugUtils.currentLine=17498275; + //BA.debugLineNum = 17498275;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); + }}}} +; +RDebugUtils.currentLine=17498277; + //BA.debugLineNum = 17498277;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_principal.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_principal.java new file mode 100644 index 0000000..69d1974 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_principal.java @@ -0,0 +1,9036 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.c_principal"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 static class _titledata{ +public boolean IsInitialized; +public String Title; +public void Initialize() { +IsInitialized = true; +Title = ""; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public anywheresoftware.b4a.keywords.Common __c = null; +public anywheresoftware.b4a.objects.RuntimePermissions _rp = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public SHARK2.keymon.com.mx.c_respaldodiario _rd = null; +public SHARK2.keymon.com.mx.dbrequestmanager _reqmanager = null; +public String _conectado = ""; +public anywheresoftware.b4a.objects.IME _ime = null; +public anywheresoftware.b4a.objects.Timer _t1 = null; +public anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; +public anywheresoftware.b4a.phone.Phone _phone = null; +public anywheresoftware.b4a.gps.GPS _g = null; +public anywheresoftware.b4a.objects.ButtonWrapper _trabajar = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = 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 _d2 = 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 SHARK2.keymon.com.mx.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.objects.LabelWrapper _l_montod = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cuantosc = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_drop = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_efectiva = 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.PanelWrapper _p1 = null; +public anywheresoftware.b4a.objects.EditTextWrapper _clave = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_ok_pas = null; +public String _paso = ""; +public anywheresoftware.b4a.objects.EditTextWrapper _usuario1 = null; +public double _connecta1 = 0; +public String _armafolio = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _nuevo = null; +public anywheresoftware.b4a.objects.LabelWrapper _s_cc = null; +public anywheresoftware.b4a.objects.LabelWrapper _s_cp = null; +public anywheresoftware.b4a.objects.LabelWrapper _s_ch = null; +public anywheresoftware.b4a.objects.ProgressBarWrapper _pb2 = null; +public anywheresoftware.b4a.objects.ProgressBarWrapper _pb1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_p_1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_p_2 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_p_3 = null; +public String _carga = ""; +public String _porcentaje = ""; +public anywheresoftware.b4a.objects.PanelWrapper _p_resumen = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_ok_res = null; +public anywheresoftware.b4a.objects.ButtonWrapper _resumen = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cuantost = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _img3 = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _imageview3 = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _imageview5 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_tickprom = null; +public anywheresoftware.b4a.objects.ListViewWrapper _l_marcas = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _imageview9 = null; +public anywheresoftware.b4a.objects.EditTextWrapper _e_ruta2 = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _resdia = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _hacer_ped = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _nvo_cliente = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _tickets_dia = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_monto_ks = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_monto_kp = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_monto_k = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_monto_c1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_monto_c2 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_monto_c3 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_encuesta = null; +public batteryprogressviewwrapper.batteryprogressviewWrapper _bpv1 = null; +public int[] _batterystatus = null; +public SHARK2.keymon.com.mx.batteryutilities _bu = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_nes = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_real = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_alcance = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_vplan = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_vreal = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_efec_vis = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_visitcc = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_efec_pv = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_efec_pura = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cte_promo = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_reden_promo = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_lin_tick = null; +public anywheresoftware.b4a.objects.ScrollViewWrapper _scroll_resdia = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_acumulado = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_unilever = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_rechazop = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_rechazom = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_vta_3mes = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_vta_2mes = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_vta_1mes = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_mes_py = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_frec_de_creal = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_frec_de_cobj = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cob_visit = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_visit_real = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_visit_plan = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_eco = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cob_ccc = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_ctes = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_vpo_vta = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_vpo_obj = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_ds_vta = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_ds_obj = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_dra_vta = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_dra_obj = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_alcancem = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_tendencia = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_vta_acum = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_obj_mes = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_ds_objd = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_ds_vtad = null; +public String _lpt = ""; +public String _steyin = ""; +public String _steyout = ""; +public anywheresoftware.b4a.objects.LabelWrapper _l_prio = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_secund = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_comp = null; +public String _stay_hh = ""; +public String _stay_mi = ""; +public String _stay_ss = ""; +public String _sdate = ""; +public String _stime = ""; +public String _horaingreso = ""; +public anywheresoftware.b4a.objects.LabelWrapper _l_quala = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_ferrero = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_sanmarcos = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_campari = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_iberia = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_bepensa = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_scj = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_medj = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_duracell = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_guna = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_kimb = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_tresm = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_redb = null; +public anywheresoftware.b4a.objects.ButtonWrapper _btn_ubicar = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_comm = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total_mm = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total_vive = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total_guna = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total_ba = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total_comis = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total_mm_1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total_vive_1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total_guna_1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total_ba_1 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total_comis_1 = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_ok_comiss = null; +public anywheresoftware.b4a.objects.PanelWrapper _panel_c = null; +public int _titleheight = 0; +public int _title2height = 0; +public int _dividerheight = 0; +public b4a.example3.customlistview _clv1 = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _pnltitle = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_marcas = null; +public anywheresoftware.b4a.objects.PanelWrapper _panel5 = null; +public anywheresoftware.b4a.objects.LabelWrapper _lbltitle = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_ok_panel5 = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_mandainfo = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; +public anywheresoftware.b4a.objects.LabelWrapper _label22 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_rutasuplencia = null; +public String _userpiezas = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_abordo = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_abordo = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_venta = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_preventa = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_abordo = null; +public anywheresoftware.b4a.objects.PanelWrapper _panel11 = null; +public b4a.example3.customlistview _clv_pick_ciego = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_pick_ciego = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_pick_ciego = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_pick_ciego = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_ciego = null; +public anywheresoftware.b4a.objects.PanelWrapper _panel4 = null; +public String _q_buscar = ""; +public anywheresoftware.b4a.objects.EditTextWrapper _et_buspc = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_tabulador = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_b_tabulador = null; +public anywheresoftware.b4a.objects.PanelWrapper _pnlcobranza = null; +public b4a.example3.customlistview _clvcobranza = null; +public anywheresoftware.b4a.objects.PanelWrapper _pnlbtncobranza = null; +public anywheresoftware.b4a.objects.ButtonWrapper _btncobranza = null; +public anywheresoftware.b4a.objects.PanelWrapper _pnlbtnregresar = null; +public anywheresoftware.b4a.objects.ButtonWrapper _btnregresar = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_secuencia = null; +public anywheresoftware.b4a.objects.PanelWrapper _pnlcontenedorcobranza = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_nombre = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cuentaxcobrar = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_abono = null; +public anywheresoftware.b4a.objects.PanelWrapper _pnlcabecero = null; +public anywheresoftware.b4a.objects.LabelWrapper _lblabono = null; +public anywheresoftware.b4a.objects.LabelWrapper _lblsaldo = null; +public anywheresoftware.b4a.objects.LabelWrapper _lblcliente = null; +public anywheresoftware.b4a.objects.LabelWrapper _lblsec = null; +public anywheresoftware.b4a.objects.PanelWrapper _pnltotal = null; +public anywheresoftware.b4a.objects.LabelWrapper _lbltotal = null; +public anywheresoftware.b4a.objects.LabelWrapper _lblversion = null; +public anywheresoftware.b4a.objects.collections.List _lista_punta = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_prod = null; +public anywheresoftware.b4a.objects.ListViewWrapper _lv_prod_prin = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_regreso = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_productos = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.c_principal __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=13369344; + //BA.debugLineNum = 13369344;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=13369345; + //BA.debugLineNum = 13369345;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=13369346; + //BA.debugLineNum = 13369346;BA.debugLine="End Sub"; +return null; +} +public String _addtitle(SHARK2.keymon.com.mx.c_principal __ref,String _title) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "addtitle", false)) + {return ((String) Debug.delegate(ba, "addtitle", new Object[] {_title}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p_marcas = null; +SHARK2.keymon.com.mx.c_principal._titledata _td = null; +RDebugUtils.currentLine=15597568; + //BA.debugLineNum = 15597568;BA.debugLine="Sub AddTitle (Title As String)"; +RDebugUtils.currentLine=15597569; + //BA.debugLineNum = 15597569;BA.debugLine="Dim p_MARCAS As B4XView = xui.CreatePanel(\"\")"; +_p_marcas = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p_marcas = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=15597570; + //BA.debugLineNum = 15597570;BA.debugLine="p_MARCAS.SetLayoutAnimated(0, 0, 0, CLV1.AsView.W"; +_p_marcas.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._clv1 /*b4a.example3.customlistview*/ ._asview().getWidth(),__ref._titleheight /*int*/ ); +RDebugUtils.currentLine=15597571; + //BA.debugLineNum = 15597571;BA.debugLine="p_MARCAS.LoadLayout(\"CellTitle\")"; +_p_marcas.LoadLayout("CellTitle",ba); +RDebugUtils.currentLine=15597572; + //BA.debugLineNum = 15597572;BA.debugLine="lblTitle.Text = Title"; +__ref._lbltitle /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_title)); +RDebugUtils.currentLine=15597573; + //BA.debugLineNum = 15597573;BA.debugLine="Dim td As TitleData"; +_td = new SHARK2.keymon.com.mx.c_principal._titledata(); +RDebugUtils.currentLine=15597574; + //BA.debugLineNum = 15597574;BA.debugLine="td.Title = Title"; +_td.Title /*String*/ = _title; +RDebugUtils.currentLine=15597575; + //BA.debugLineNum = 15597575;BA.debugLine="CLV1.Add(p_MARCAS, td)"; +__ref._clv1 /*b4a.example3.customlistview*/ ._add(_p_marcas,(Object)(_td)); +RDebugUtils.currentLine=15597576; + //BA.debugLineNum = 15597576;BA.debugLine="End Sub"; +return ""; +} +public String _b_comm_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_comm_click", false)) + {return ((String) Debug.delegate(ba, "b_comm_click", null));} +RDebugUtils.currentLine=15400960; + //BA.debugLineNum = 15400960;BA.debugLine="Sub B_COMM_Click"; +RDebugUtils.currentLine=15400961; + //BA.debugLineNum = 15400961;BA.debugLine="Btn_Ubicar.Visible=False"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15400962; + //BA.debugLineNum = 15400962;BA.debugLine="SCROLL_RESDIA.Visible = True"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15400963; + //BA.debugLineNum = 15400963;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"COMIS\")"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("COMIS",ba); +RDebugUtils.currentLine=15400964; + //BA.debugLineNum = 15400964;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel_C.Height"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight(__ref._panel_c /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=15400965; + //BA.debugLineNum = 15400965;BA.debugLine="Panel4.Visible = False"; +__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15400966; + //BA.debugLineNum = 15400966;BA.debugLine="Panel_C.Visible = True"; +__ref._panel_c /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15400969; + //BA.debugLineNum = 15400969;BA.debugLine="NUEVO.Visible =False"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15400970; + //BA.debugLineNum = 15400970;BA.debugLine="BUSCA.Visible=False"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15400971; + //BA.debugLineNum = 15400971;BA.debugLine="connecta.Visible=False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15400972; + //BA.debugLineNum = 15400972;BA.debugLine="Subir.Visible=False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15400973; + //BA.debugLineNum = 15400973;BA.debugLine="cargar.Visible=False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15400974; + //BA.debugLineNum = 15400974;BA.debugLine="Resumen.Visible= False"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15400992; + //BA.debugLineNum = 15400992;BA.debugLine="End Sub"; +return ""; +} +public String _b_mapa_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_mapa_click", false)) + {return ((String) Debug.delegate(ba, "b_mapa_click", null));} +RDebugUtils.currentLine=14286848; + //BA.debugLineNum = 14286848;BA.debugLine="Sub b_mapa_Click"; +RDebugUtils.currentLine=14286849; + //BA.debugLineNum = 14286849;BA.debugLine="Log(\"mapClic\")"; +__c.LogImpl("514286849","mapClic",0); +RDebugUtils.currentLine=14286850; + //BA.debugLineNum = 14286850;BA.debugLine="B4XPages.GetPage(\"Mapas\")"; +_b4xpages._getpage /*Object*/ (ba,"Mapas"); +RDebugUtils.currentLine=14286851; + //BA.debugLineNum = 14286851;BA.debugLine="End Sub"; +return ""; +} +public String _b_marcas_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_marcas_click", false)) + {return ((String) Debug.delegate(ba, "b_marcas_click", null));} +int _i = 0; +RDebugUtils.currentLine=15532032; + //BA.debugLineNum = 15532032;BA.debugLine="Sub B_MARCAS_Click"; +RDebugUtils.currentLine=15532057; + //BA.debugLineNum = 15532057;BA.debugLine="SCROLL_RESDIA.Visible = False"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15532058; + //BA.debugLineNum = 15532058;BA.debugLine="Panel5.Visible = True"; +__ref._panel5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15532059; + //BA.debugLineNum = 15532059;BA.debugLine="pnlTitle.Visible = False"; +__ref._pnltitle /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15532060; + //BA.debugLineNum = 15532060;BA.debugLine="pnlTitle.SetLayoutAnimated(0, 0, 0, CLV1.AsView.W"; +__ref._pnltitle /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._clv1 /*b4a.example3.customlistview*/ ._asview().getWidth(),(int) (__ref._titleheight /*int*/ +__ref._dividerheight /*int*/ )); +RDebugUtils.currentLine=15532061; + //BA.debugLineNum = 15532061;BA.debugLine="pnlTitle.LoadLayout(\"CellTitle\")"; +__ref._pnltitle /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("CellTitle",ba); +RDebugUtils.currentLine=15532062; + //BA.debugLineNum = 15532062;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_GP"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CAT_GP_CLASIF, SUM(TOTAL) AS TOTAL FROM TOTAL_MARCAS GROUP BY CAT_GP_CLASIF"))); +RDebugUtils.currentLine=15532063; + //BA.debugLineNum = 15532063;BA.debugLine="CLV1.Clear"; +__ref._clv1 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=15532064; + //BA.debugLineNum = 15532064;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=15532065; + //BA.debugLineNum = 15532065;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=15532066; + //BA.debugLineNum = 15532066;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=15532067; + //BA.debugLineNum = 15532067;BA.debugLine="AddTitle(c.GetString(\"CAT_GP_CLASIF\"))"; +__ref._addtitle /*String*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF")); +RDebugUtils.currentLine=15532068; + //BA.debugLineNum = 15532068;BA.debugLine="If c.GetString(\"CAT_GP_CLASIF\") = \"PROMOS\" Then"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF")).equals("PROMOS")) { +RDebugUtils.currentLine=15532069; + //BA.debugLineNum = 15532069;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT SUM"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(PE_CANT) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID"))); +RDebugUtils.currentLine=15532070; + //BA.debugLineNum = 15532070;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=15532071; + //BA.debugLineNum = 15532071;BA.debugLine="CLV1.AddTextItem(\"CANTIDAD DE PROMOS = \" & d.G"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("CANTIDAD DE PROMOS = "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")),(Object)("1")); +RDebugUtils.currentLine=15532072; + //BA.debugLineNum = 15532072;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { +RDebugUtils.currentLine=15532074; + //BA.debugLineNum = 15532074;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery2(\"select CO"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS CUANTOS from HIST_MARCAS_CUOTAS where HMC_MARCA = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF")}))); +RDebugUtils.currentLine=15532075; + //BA.debugLineNum = 15532075;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=15532076; + //BA.debugLineNum = 15532076;BA.debugLine="If f.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=15532077; + //BA.debugLineNum = 15532077;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select H"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select HMC_MARCA, HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA = ?",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF")}))); +RDebugUtils.currentLine=15532078; + //BA.debugLineNum = 15532078;BA.debugLine="e.Position=0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=15532079; + //BA.debugLineNum = 15532079;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT 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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT count(distinct(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from cat_gunaprod WHERE CAT_GP_CLASIF =?)",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF")}))); +RDebugUtils.currentLine=15532080; + //BA.debugLineNum = 15532080;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=15532081; + //BA.debugLineNum = 15532081;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("TOTAL PREVENTA = $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")),(Object)("1")); +RDebugUtils.currentLine=15532082; + //BA.debugLineNum = 15532082;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & e.GetString"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("M E T A = $"+__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HMC_TOTAL")),(Object)("1")); +RDebugUtils.currentLine=15532083; + //BA.debugLineNum = 15532083;BA.debugLine="CLV1.AddTextItem(\"FALTA = $\" & (e.GetString("; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("FALTA = $"+BA.NumberToString(((double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HMC_TOTAL")))-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))))),(Object)("1")); +RDebugUtils.currentLine=15532084; + //BA.debugLineNum = 15532084;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("CLIENTES = "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")),(Object)("1")); +RDebugUtils.currentLine=15532085; + //BA.debugLineNum = 15532085;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=15532086; + //BA.debugLineNum = 15532086;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { +RDebugUtils.currentLine=15532088; + //BA.debugLineNum = 15532088;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT 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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT count(distinct(pe_cliente)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from cat_gunaprod WHERE CAT_GP_CLASIF =?)",new String[]{__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_CLASIF")}))); +RDebugUtils.currentLine=15532089; + //BA.debugLineNum = 15532089;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=15532090; + //BA.debugLineNum = 15532090;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("TOTAL PREVENTA = $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")),(Object)("1")); +RDebugUtils.currentLine=15532091; + //BA.debugLineNum = 15532091;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & \"1000\",\"1\")"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("M E T A = $"+"1000"),(Object)("1")); +RDebugUtils.currentLine=15532092; + //BA.debugLineNum = 15532092;BA.debugLine="CLV1.AddTextItem(\"FALTA = $\" & (1000 - c.Get"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("FALTA = $"+BA.NumberToString((1000-(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL")))))),(Object)("1")); +RDebugUtils.currentLine=15532093; + //BA.debugLineNum = 15532093;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("CLIENTES = "+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")),(Object)("1")); +RDebugUtils.currentLine=15532094; + //BA.debugLineNum = 15532094;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=15532096; + //BA.debugLineNum = 15532096;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; + } +}; + }; +RDebugUtils.currentLine=15532100; + //BA.debugLineNum = 15532100;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=15532101; + //BA.debugLineNum = 15532101;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HMC_MA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HMC_MARCA, HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA not in (SELECT CAT_GP_CLASIF FROM TOTAL_MARCAS )"))); +RDebugUtils.currentLine=15532102; + //BA.debugLineNum = 15532102;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=15532103; + //BA.debugLineNum = 15532103;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step47 = 1; +final int limit47 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit47 ;_i = _i + step47 ) { +RDebugUtils.currentLine=15532104; + //BA.debugLineNum = 15532104;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=15532105; + //BA.debugLineNum = 15532105;BA.debugLine="AddTitle(c.GetString(\"HMC_MARCA\"))"; +__ref._addtitle /*String*/ (null,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HMC_MARCA")); +RDebugUtils.currentLine=15532106; + //BA.debugLineNum = 15532106;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $ 0.00\",\"1\""; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("TOTAL PREVENTA = $ 0.00"),(Object)("1")); +RDebugUtils.currentLine=15532107; + //BA.debugLineNum = 15532107;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & C.GetString(\""; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("M E T A = $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HMC_TOTAL")),(Object)("1")); +RDebugUtils.currentLine=15532108; + //BA.debugLineNum = 15532108;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = 0\",\"1\")"; +__ref._clv1 /*b4a.example3.customlistview*/ ._addtextitem((Object)("CLIENTES = 0"),(Object)("1")); + } +}; + }; +RDebugUtils.currentLine=15532111; + //BA.debugLineNum = 15532111;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=15532114; + //BA.debugLineNum = 15532114;BA.debugLine="End Sub"; +return ""; +} +public String _b_ok_comiss_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_ok_comiss_click", false)) + {return ((String) Debug.delegate(ba, "b_ok_comiss_click", null));} +RDebugUtils.currentLine=15466496; + //BA.debugLineNum = 15466496;BA.debugLine="Sub B_OK_COMISS_Click"; +RDebugUtils.currentLine=15466497; + //BA.debugLineNum = 15466497;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15466498; + //BA.debugLineNum = 15466498;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +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="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15466501; + //BA.debugLineNum = 15466501;BA.debugLine="P_RESUMEN.Visible=False"; +__ref._p_resumen /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15466502; + //BA.debugLineNum = 15466502;BA.debugLine="Panel_C.Visible = False"; +__ref._panel_c /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15466503; + //BA.debugLineNum = 15466503;BA.debugLine="SCROLL_RESDIA.Visible = False"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15466504; + //BA.debugLineNum = 15466504;BA.debugLine="Btn_Ubicar.Visible=True"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15466505; + //BA.debugLineNum = 15466505;BA.debugLine="End Sub"; +return ""; +} +public String _b_ok_panel5_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_ok_panel5_click", false)) + {return ((String) Debug.delegate(ba, "b_ok_panel5_click", null));} +RDebugUtils.currentLine=15663104; + //BA.debugLineNum = 15663104;BA.debugLine="Sub B_OK_PANEL5_Click"; +RDebugUtils.currentLine=15663105; + //BA.debugLineNum = 15663105;BA.debugLine="Panel5.Visible = False"; +__ref._panel5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15663106; + //BA.debugLineNum = 15663106;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15663107; + //BA.debugLineNum = 15663107;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15663108; + //BA.debugLineNum = 15663108;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15663109; + //BA.debugLineNum = 15663109;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15663110; + //BA.debugLineNum = 15663110;BA.debugLine="P_RESUMEN.Visible=False"; +__ref._p_resumen /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15663111; + //BA.debugLineNum = 15663111;BA.debugLine="Panel4.Visible=False"; +__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15663112; + //BA.debugLineNum = 15663112;BA.debugLine="SCROLL_RESDIA.Visible = False"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=15663113; + //BA.debugLineNum = 15663113;BA.debugLine="Btn_Ubicar.Visible=True"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15663114; + //BA.debugLineNum = 15663114;BA.debugLine="p_principal.Visible = True"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15663116; + //BA.debugLineNum = 15663116;BA.debugLine="End Sub"; +return ""; +} +public String _b_ok_pas_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_ok_pas_click", false)) + {return ((String) Debug.delegate(ba, "b_ok_pas_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _cn = null; +int _gh = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c12 = null; +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c13 = null; +RDebugUtils.currentLine=14548992; + //BA.debugLineNum = 14548992;BA.debugLine="Sub B_OK_PAS_Click"; +RDebugUtils.currentLine=14548993; + //BA.debugLineNum = 14548993;BA.debugLine="If CARGA = \"SUBIR\" And S_CP.Text = \"INFO OK\" Then"; +if ((__ref._carga /*String*/ ).equals("SUBIR") && (__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("INFO OK")) { +RDebugUtils.currentLine=14548994; + //BA.debugLineNum = 14548994;BA.debugLine="P1.Visible = False"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14548995; + //BA.debugLineNum = 14548995;BA.debugLine="p_mandaInfo.Visible = False"; +__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14548996; + //BA.debugLineNum = 14548996;BA.debugLine="Btn_Ubicar.Visible=True"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14548998; + //BA.debugLineNum = 14548998;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14548999; + //BA.debugLineNum = 14548999;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549000; + //BA.debugLineNum = 14549000;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549001; + //BA.debugLineNum = 14549001;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549002; + //BA.debugLineNum = 14549002;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14549003; + //BA.debugLineNum = 14549003;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); + }else +{RDebugUtils.currentLine=14549004; + //BA.debugLineNum = 14549004;BA.debugLine="Else If CARGA = \"SUBIR\" And S_CP.Text = \"ERROR\" T"; +if ((__ref._carga /*String*/ ).equals("SUBIR") && (__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("ERROR")) { +RDebugUtils.currentLine=14549005; + //BA.debugLineNum = 14549005;BA.debugLine="Msgbox(\"Tiene que subir de nuevo la información\""; +__c.Msgbox(BA.ObjectToCharSequence("Tiene que subir de nuevo la información"),BA.ObjectToCharSequence("Atención"),ba); +RDebugUtils.currentLine=14549006; + //BA.debugLineNum = 14549006;BA.debugLine="P1.Visible = False"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14549007; + //BA.debugLineNum = 14549007;BA.debugLine="p_mandaInfo.Visible = False"; +__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14549009; + //BA.debugLineNum = 14549009;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549010; + //BA.debugLineNum = 14549010;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549011; + //BA.debugLineNum = 14549011;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549012; + //BA.debugLineNum = 14549012;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549013; + //BA.debugLineNum = 14549013;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14549014; + //BA.debugLineNum = 14549014;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); + }else +{RDebugUtils.currentLine=14549015; + //BA.debugLineNum = 14549015;BA.debugLine="Else if CARGA = \"SUBIR\" And S_CP.Text <> \"INFO OK"; +if ((__ref._carga /*String*/ ).equals("SUBIR") && (__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("INFO OK") == false) { +RDebugUtils.currentLine=14549016; + //BA.debugLineNum = 14549016;BA.debugLine="RES = Msgbox2(\"Seguro que desea abortar el proc"; +__ref._res /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea abortar el proceso"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=14549017; + //BA.debugLineNum = 14549017;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +if ((__ref._res /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=14549018; + //BA.debugLineNum = 14549018;BA.debugLine="P1.Visible = False"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14549020; + //BA.debugLineNum = 14549020;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549021; + //BA.debugLineNum = 14549021;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549022; + //BA.debugLineNum = 14549022;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549023; + //BA.debugLineNum = 14549023;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549024; + //BA.debugLineNum = 14549024;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14549025; + //BA.debugLineNum = 14549025;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=14549026; + //BA.debugLineNum = 14549026;BA.debugLine="ExitApplication"; +__c.ExitApplication(); + }; + }}} +; +RDebugUtils.currentLine=14549029; + //BA.debugLineNum = 14549029;BA.debugLine="If CARGA = \"CARGAR\" And S_CP.Text = \"LISTO\" And S"; +if ((__ref._carga /*String*/ ).equals("CARGAR") && (__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO") && (__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO") && (__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO")) { +RDebugUtils.currentLine=14549030; + //BA.debugLineNum = 14549030;BA.debugLine="P1.Visible = False"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14549031; + //BA.debugLineNum = 14549031;BA.debugLine="p_mandaInfo.Visible = False"; +__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14549032; + //BA.debugLineNum = 14549032;BA.debugLine="p_mandaInfo.Visible = False"; +__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14549033; + //BA.debugLineNum = 14549033;BA.debugLine="Btn_Ubicar.Visible=True"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549035; + //BA.debugLineNum = 14549035;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549036; + //BA.debugLineNum = 14549036;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549037; + //BA.debugLineNum = 14549037;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549038; + //BA.debugLineNum = 14549038;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549039; + //BA.debugLineNum = 14549039;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14549040; + //BA.debugLineNum = 14549040;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=14549042; + //BA.debugLineNum = 14549042;BA.debugLine="Dim cn As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +_cn = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cn = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM CLIENTES_NUEVOS"))); +RDebugUtils.currentLine=14549043; + //BA.debugLineNum = 14549043;BA.debugLine="If cn.RowCount > 0 Then"; +if (_cn.getRowCount()>0) { +RDebugUtils.currentLine=14549044; + //BA.debugLineNum = 14549044;BA.debugLine="For gh = 0 To cn.RowCount -1"; +{ +final int step47 = 1; +final int limit47 = (int) (_cn.getRowCount()-1); +_gh = (int) (0) ; +for (;_gh <= limit47 ;_gh = _gh + step47 ) { +RDebugUtils.currentLine=14549045; + //BA.debugLineNum = 14549045;BA.debugLine="cn.Position = gh"; +_cn.setPosition(_gh); +RDebugUtils.currentLine=14549046; + //BA.debugLineNum = 14549046;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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cn.GetString("CN_ID")),(Object)(_cn.GetString("CN_RUTA")),(Object)(_cn.GetString("CN_NOMBRE")),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)(_cn.GetString("CN_LON")),(Object)(_cn.GetString("CN_LAT")),(Object)(_cn.GetString("CN_GIRO"))})); + } +}; + }; +RDebugUtils.currentLine=14549050; + //BA.debugLineNum = 14549050;BA.debugLine="If E_RUTA2.Text <> \"\" Then"; +if ((__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=14549051; + //BA.debugLineNum = 14549051;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_SUPLENCIA(RS_RUTA) VALUES(?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()})); + }; +RDebugUtils.currentLine=14549053; + //BA.debugLineNum = 14549053;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES(?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()})); +RDebugUtils.currentLine=14549054; + //BA.debugLineNum = 14549054;BA.debugLine="checaPedido"; +__ref._checapedido /*String*/ (null); +RDebugUtils.currentLine=14549056; + //BA.debugLineNum = 14549056;BA.debugLine="Dim c12 As Cursor = Starter.skmt.ExecQuery(\"Sel"; +_c12 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c12 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'PREVENTA'"))); +RDebugUtils.currentLine=14549057; + //BA.debugLineNum = 14549057;BA.debugLine="If c12.RowCount > 0 Then"; +if (_c12.getRowCount()>0) { +RDebugUtils.currentLine=14549058; + //BA.debugLineNum = 14549058;BA.debugLine="For i = 0 To c12.RowCount - 1"; +{ +final int step59 = 1; +final int limit59 = (int) (_c12.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit59 ;_i = _i + step59 ) { +RDebugUtils.currentLine=14549059; + //BA.debugLineNum = 14549059;BA.debugLine="c12.Position = i"; +_c12.setPosition(_i); +RDebugUtils.currentLine=14549060; + //BA.debugLineNum = 14549060;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE CAT_GUNAPROD SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "+__c.SmartStringFormatter("",(Object)(_c12.GetString("PE_CANT")))+" WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c12.GetString("PE_PROID")))+"'")); + } +}; + }; +RDebugUtils.currentLine=14549063; + //BA.debugLineNum = 14549063;BA.debugLine="c12.Close"; +_c12.Close(); +RDebugUtils.currentLine=14549065; + //BA.debugLineNum = 14549065;BA.debugLine="Dim c13 As Cursor = Starter.skmt.ExecQuery(\"Sel"; +_c13 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c13 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'VENTA'"))); +RDebugUtils.currentLine=14549066; + //BA.debugLineNum = 14549066;BA.debugLine="If c13.RowCount > 0 Then"; +if (_c13.getRowCount()>0) { +RDebugUtils.currentLine=14549067; + //BA.debugLineNum = 14549067;BA.debugLine="For i = 0 To c13.RowCount - 1"; +{ +final int step67 = 1; +final int limit67 = (int) (_c13.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit67 ;_i = _i + step67 ) { +RDebugUtils.currentLine=14549068; + //BA.debugLineNum = 14549068;BA.debugLine="c13.Position = i"; +_c13.setPosition(_i); +RDebugUtils.currentLine=14549069; + //BA.debugLineNum = 14549069;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE CAT_GUNAPROD2 SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "+__c.SmartStringFormatter("",(Object)(_c13.GetString("PE_CANT")))+" WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c13.GetString("PE_PROID")))+"'")); + } +}; + }; +RDebugUtils.currentLine=14549072; + //BA.debugLineNum = 14549072;BA.debugLine="c13.Close"; +_c13.Close(); +RDebugUtils.currentLine=14549074; + //BA.debugLineNum = 14549074;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }else +{RDebugUtils.currentLine=14549075; + //BA.debugLineNum = 14549075;BA.debugLine="Else if CARGA = \"CARGAR\" And (S_CP.Text <> \"LISTO"; +if ((__ref._carga /*String*/ ).equals("CARGAR") && ((__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO") == false || (__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO") == false || (__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("LISTO") == false)) { +RDebugUtils.currentLine=14549076; + //BA.debugLineNum = 14549076;BA.debugLine="RES = Msgbox2(\"Seguro que desea abortar el proc"; +__ref._res /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea abortar el proceso"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=14549077; + //BA.debugLineNum = 14549077;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +if ((__ref._res /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=14549078; + //BA.debugLineNum = 14549078;BA.debugLine="P1.Visible = False"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14549079; + //BA.debugLineNum = 14549079;BA.debugLine="p_mandaInfo.Visible = False"; +__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14549081; + //BA.debugLineNum = 14549081;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549082; + //BA.debugLineNum = 14549082;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549083; + //BA.debugLineNum = 14549083;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549084; + //BA.debugLineNum = 14549084;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14549085; + //BA.debugLineNum = 14549085;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14549086; + //BA.debugLineNum = 14549086;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; +_subs._panelvisible /*String*/ (ba,__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=14549087; + //BA.debugLineNum = 14549087;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); +RDebugUtils.currentLine=14549088; + //BA.debugLineNum = 14549088;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); +RDebugUtils.currentLine=14549089; + //BA.debugLineNum = 14549089;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); +RDebugUtils.currentLine=14549090; + //BA.debugLineNum = 14549090;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); +RDebugUtils.currentLine=14549091; + //BA.debugLineNum = 14549091;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2"); +RDebugUtils.currentLine=14549092; + //BA.debugLineNum = 14549092;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); +RDebugUtils.currentLine=14549093; + //BA.debugLineNum = 14549093;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod4"); +RDebugUtils.currentLine=14549094; + //BA.debugLineNum = 14549094;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); +RDebugUtils.currentLine=14549095; + //BA.debugLineNum = 14549095;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); +RDebugUtils.currentLine=14549096; + //BA.debugLineNum = 14549096;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); +RDebugUtils.currentLine=14549097; + //BA.debugLineNum = 14549097;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PROMOS"); +RDebugUtils.currentLine=14549098; + //BA.debugLineNum = 14549098;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_CLIENTE_CANT_PROMOS"); +RDebugUtils.currentLine=14549099; + //BA.debugLineNum = 14549099;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROMOS_COMP"); +RDebugUtils.currentLine=14549100; + //BA.debugLineNum = 14549100;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VERIFICACION"); +RDebugUtils.currentLine=14549101; + //BA.debugLineNum = 14549101;BA.debugLine="ExitApplication"; +__c.ExitApplication(); + }; + }} +; +RDebugUtils.currentLine=14549104; + //BA.debugLineNum = 14549104;BA.debugLine="End Sub"; +return ""; +} +public String _checapedido(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "checapedido", false)) + {return ((String) Debug.delegate(ba, "checapedido", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _coord = null; +int _cor = 0; +RDebugUtils.currentLine=15859712; + //BA.debugLineNum = 15859712;BA.debugLine="Sub checaPedido"; +RDebugUtils.currentLine=15859713; + //BA.debugLineNum = 15859713;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set ge"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info set gestion = 0"); +RDebugUtils.currentLine=15859714; + //BA.debugLineNum = 15859714;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE"))); +RDebugUtils.currentLine=15859715; + //BA.debugLineNum = 15859715;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=15859716; + //BA.debugLineNum = 15859716;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 PC_CLIENTE FROM PEDIDO_CLIENTE)"); + }; +RDebugUtils.currentLine=15859718; + //BA.debugLineNum = 15859718;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=15859719; + //BA.debugLineNum = 15859719;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=15859720; + //BA.debugLineNum = 15859720;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)"); + }; +RDebugUtils.currentLine=15859723; + //BA.debugLineNum = 15859723;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery("; +_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM COORDENADAS"))); +RDebugUtils.currentLine=15859724; + //BA.debugLineNum = 15859724;BA.debugLine="If coord.RowCount > 0 Then"; +if (_coord.getRowCount()>0) { +RDebugUtils.currentLine=15859725; + //BA.debugLineNum = 15859725;BA.debugLine="For cor = 0 To coord.RowCount -1"; +{ +final int step12 = 1; +final int limit12 = (int) (_coord.getRowCount()-1); +_cor = (int) (0) ; +for (;_cor <= limit12 ;_cor = _cor + step12 ) { +RDebugUtils.currentLine=15859726; + //BA.debugLineNum = 15859726;BA.debugLine="coord.Position = cor"; +_coord.setPosition(_cor); +RDebugUtils.currentLine=15859727; + //BA.debugLineNum = 15859727;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info set CAT_CL_LONG = ?, CAT_CL_LAT =?, CAT_CL_BCOORDENADAS = ? where CAT_CL_CODIGO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_coord.GetString("LAT")),(Object)(_coord.GetString("LONG")),(Object)((_coord.GetInt("CANTIDAD")+1)),(Object)(_coord.GetString("CLIENTE"))})); + } +}; + }; +RDebugUtils.currentLine=15859731; + //BA.debugLineNum = 15859731;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery("; +_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ATIENDE"))); +RDebugUtils.currentLine=15859732; + //BA.debugLineNum = 15859732;BA.debugLine="If coord.RowCount > 0 Then"; +if (_coord.getRowCount()>0) { +RDebugUtils.currentLine=15859733; + //BA.debugLineNum = 15859733;BA.debugLine="For cor = 0 To coord.RowCount -1"; +{ +final int step19 = 1; +final int limit19 = (int) (_coord.getRowCount()-1); +_cor = (int) (0) ; +for (;_cor <= limit19 ;_cor = _cor + step19 ) { +RDebugUtils.currentLine=15859734; + //BA.debugLineNum = 15859734;BA.debugLine="coord.Position = cor"; +_coord.setPosition(_cor); +RDebugUtils.currentLine=15859735; + //BA.debugLineNum = 15859735;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info set CAT_CL_ATIENDE1 = ? where CAT_CL_CODIGO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_coord.GetString("ATIENDE")),(Object)(_coord.GetString("CLIENTE"))})); + } +}; + }; +RDebugUtils.currentLine=15859739; + //BA.debugLineNum = 15859739;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery("; +_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM GIROS_ACTUAL"))); +RDebugUtils.currentLine=15859740; + //BA.debugLineNum = 15859740;BA.debugLine="If coord.RowCount > 0 Then"; +if (_coord.getRowCount()>0) { +RDebugUtils.currentLine=15859741; + //BA.debugLineNum = 15859741;BA.debugLine="For cor = 0 To coord.RowCount -1"; +{ +final int step26 = 1; +final int limit26 = (int) (_coord.getRowCount()-1); +_cor = (int) (0) ; +for (;_cor <= limit26 ;_cor = _cor + step26 ) { +RDebugUtils.currentLine=15859742; + //BA.debugLineNum = 15859742;BA.debugLine="coord.Position = cor"; +_coord.setPosition(_cor); +RDebugUtils.currentLine=15859743; + //BA.debugLineNum = 15859743;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info set CAT_CL_GIRO = ? where CAT_CL_CODIGO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_coord.GetString("GIRO")),(Object)(_coord.GetString("CLIENTE"))})); + } +}; + }; +RDebugUtils.currentLine=15859746; + //BA.debugLineNum = 15859746;BA.debugLine="End Sub"; +return ""; +} +public void _b4xpage_appear(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +RDebugUtils.currentModule="c_principal"; +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(SHARK2.keymon.com.mx.c_principal parent,SHARK2.keymon.com.mx.c_principal __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_principal __ref; +SHARK2.keymon.com.mx.c_principal parent; +int _conven = 0; +int _sinven = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cursor = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cnoventa = null; +int _totclientes = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _fg = null; +double _costo_cred = 0; +double _costo_contado = 0; +int _resultado = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _pol = null; +int _poli = 0; +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _coords = null; +int step210; +int limit210; + +@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=13697026; + //BA.debugLineNum = 13697026;BA.debugLine="rd.respaldaPedido"; +__ref._rd /*SHARK2.keymon.com.mx.c_respaldodiario*/ ._respaldapedido /*String*/ (null); +RDebugUtils.currentLine=13697027; + //BA.debugLineNum = 13697027;BA.debugLine="rd.respaldaInventarios"; +__ref._rd /*SHARK2.keymon.com.mx.c_respaldodiario*/ ._respaldainventarios /*String*/ (null); +RDebugUtils.currentLine=13697028; + //BA.debugLineNum = 13697028;BA.debugLine="rd.respaldaPaquetes"; +__ref._rd /*SHARK2.keymon.com.mx.c_respaldodiario*/ ._respaldapaquetes /*String*/ (null); +RDebugUtils.currentLine=13697029; + //BA.debugLineNum = 13697029;BA.debugLine="HORAINGRESO =\"000000\""; +__ref._horaingreso /*String*/ = "000000"; +RDebugUtils.currentLine=13697030; + //BA.debugLineNum = 13697030;BA.debugLine="Btn_Ubicar.Left = (Root.Width/2) - (Btn_Ubicar.Wi"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) ((__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=13697031; + //BA.debugLineNum = 13697031;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,parent,parent._starter._dbreqserver /*String*/ ); +RDebugUtils.currentLine=13697032; + //BA.debugLineNum = 13697032;BA.debugLine="Log(Starter.DBReqServer)"; +parent.__c.LogImpl("513697032",parent._starter._dbreqserver /*String*/ ,0); +RDebugUtils.currentLine=13697033; + //BA.debugLineNum = 13697033;BA.debugLine="PASO =0"; +__ref._paso /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=13697034; + //BA.debugLineNum = 13697034;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; +if (true) break; + +case 1: +//if +this.state = 10; +if (parent.__c.Not(parent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=13697035; + //BA.debugLineNum = 13697035;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; +if (true) break; + +case 4: +//if +this.state = 9; +if ((parent._starter._marcacel /*String*/ ).equals("Sony") == false) { +this.state = 6; +;}if (true) break; + +case 6: +//C +this.state = 9; +parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),parent.__c.True); +if (true) break; + +case 9: +//C +this.state = 10; +; +RDebugUtils.currentLine=13697036; + //BA.debugLineNum = 13697036;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; +parent.__c.StartActivity(ba,(Object)(parent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); + if (true) break; + +case 10: +//C +this.state = 11; +; +RDebugUtils.currentLine=13697038; + //BA.debugLineNum = 13697038;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select count"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); +RDebugUtils.currentLine=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="If c.GetString(\"CUANTOS\") = 0 Then"; +if (true) break; + +case 11: +//if +this.state = 20; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(0))) { +this.state = 13; +}else { +this.state = 15; +}if (true) break; + +case 13: +//C +this.state = 20; +RDebugUtils.currentLine=13697041; + //BA.debugLineNum = 13697041;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13697042; + //BA.debugLineNum = 13697042;BA.debugLine="cmd.Name = \"select_fecha\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_fecha"; +RDebugUtils.currentLine=13697043; + //BA.debugLineNum = 13697043;BA.debugLine="Log( Starter.DBReqServer)"; +parent.__c.LogImpl("513697043",parent._starter._dbreqserver /*String*/ ,0); +RDebugUtils.currentLine=13697044; + //BA.debugLineNum = 13697044;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("fecha")); +RDebugUtils.currentLine=13697045; + //BA.debugLineNum = 13697045;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'ignore"; +parent.__c.Msgbox(BA.ObjectToCharSequence("AJUSTAR FECHA"),BA.ObjectToCharSequence("AVISO"),ba); +RDebugUtils.currentLine=13697046; + //BA.debugLineNum = 13697046;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + if (true) break; + +case 15: +//C +this.state = 16; +RDebugUtils.currentLine=13697048; + //BA.debugLineNum = 13697048;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); +RDebugUtils.currentLine=13697049; + //BA.debugLineNum = 13697049;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697050; + //BA.debugLineNum = 13697050;BA.debugLine="Dim sDate,sTime As String"; +parent._sdate = ""; +parent._stime = ""; +RDebugUtils.currentLine=13697051; + //BA.debugLineNum = 13697051;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; +parent.__c.DateTime.setDateFormat("yyyyMMdd"); +RDebugUtils.currentLine=13697052; + //BA.debugLineNum = 13697052;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=13697053; + //BA.debugLineNum = 13697053;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then"; +if (true) break; + +case 16: +//if +this.state = 19; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_VA_VALOR")))>(double)(Double.parseDouble(__ref._sdate /*String*/ ))) { +this.state = 18; +}if (true) break; + +case 18: +//C +this.state = 19; +RDebugUtils.currentLine=13697054; + //BA.debugLineNum = 13697054;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS"; +parent.__c.Msgbox(BA.ObjectToCharSequence("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA"),BA.ObjectToCharSequence("AVISO"),ba); +RDebugUtils.currentLine=13697055; + //BA.debugLineNum = 13697055;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697056; + //BA.debugLineNum = 13697056;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + if (true) break; + +case 19: +//C +this.state = 20; +; +RDebugUtils.currentLine=13697058; + //BA.debugLineNum = 13697058;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + if (true) break; + +case 20: +//C +this.state = 21; +; +RDebugUtils.currentLine=13697060; + //BA.debugLineNum = 13697060;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697061; + //BA.debugLineNum = 13697061;BA.debugLine="If EJECUTANDO =0 Then"; +if (true) break; + +case 21: +//if +this.state = 24; +if ((__ref._ejecutando /*String*/ ).equals(BA.NumberToString(0))) { +this.state = 23; +}if (true) break; + +case 23: +//C +this.state = 24; +RDebugUtils.currentLine=13697062; + //BA.debugLineNum = 13697062;BA.debugLine="Listo1 = 0"; +__ref._listo1 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=13697063; + //BA.debugLineNum = 13697063;BA.debugLine="Listo2 = 0"; +__ref._listo2 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=13697064; + //BA.debugLineNum = 13697064;BA.debugLine="Listo3 = 0"; +__ref._listo3 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=13697065; + //BA.debugLineNum = 13697065;BA.debugLine="Listo4 = 0"; +__ref._listo4 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=13697066; + //BA.debugLineNum = 13697066;BA.debugLine="Listo5 = 0"; +__ref._listo5 /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=13697067; + //BA.debugLineNum = 13697067;BA.debugLine="inve = 0"; +__ref._inve /*String*/ = BA.NumberToString(0); +RDebugUtils.currentLine=13697068; + //BA.debugLineNum = 13697068;BA.debugLine="img2.Visible =False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(parent.__c.False); + if (true) break; + +case 24: +//C +this.state = 25; +; +RDebugUtils.currentLine=13697070; + //BA.debugLineNum = 13697070;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=13697071; + //BA.debugLineNum = 13697071;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +__ref._fecha /*String*/ = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=13697072; + //BA.debugLineNum = 13697072;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count("; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from pedido_cliente WHERE PC_CLIENTE <> 0 AND PC_CLIENTE <> 1"))); +RDebugUtils.currentLine=13697073; + //BA.debugLineNum = 13697073;BA.debugLine="b.Position=0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697074; + //BA.debugLineNum = 13697074;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; +__ref._cuantos /*String*/ = __ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=13697075; + //BA.debugLineNum = 13697075;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697077; + //BA.debugLineNum = 13697077;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0"))); +RDebugUtils.currentLine=13697078; + //BA.debugLineNum = 13697078;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697079; + //BA.debugLineNum = 13697079;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_CODIGO <>0 OR CAT_CL_CODIGO <>1 "))); +RDebugUtils.currentLine=13697080; + //BA.debugLineNum = 13697080;BA.debugLine="e.Position=0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697081; + //BA.debugLineNum = 13697081;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CAT_CL_RUTA from kmt_info WHERE CAT_CL_CODIGO <>0 OR CAT_CL_CODIGO <>1 "))); +RDebugUtils.currentLine=13697082; + //BA.debugLineNum = 13697082;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697083; + //BA.debugLineNum = 13697083;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"))); +RDebugUtils.currentLine=13697084; + //BA.debugLineNum = 13697084;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697085; + //BA.debugLineNum = 13697085;BA.debugLine="If l_ruta.Text = 0 Then"; +if (true) break; + +case 25: +//if +this.state = 30; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals(BA.NumberToString(0))) { +this.state = 27; +}else { +this.state = 29; +}if (true) break; + +case 27: +//C +this.state = 30; +RDebugUtils.currentLine=13697086; + //BA.debugLineNum = 13697086;BA.debugLine="l_ruta.Text =0"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=13697087; + //BA.debugLineNum = 13697087;BA.debugLine="p_b_tabulador.Visible = False"; +__ref._p_b_tabulador /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=13697088; + //BA.debugLineNum = 13697088;BA.debugLine="pnlBtnCobranza.Visible = False"; +__ref._pnlbtncobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); + if (true) break; + +case 29: +//C +this.state = 30; +RDebugUtils.currentLine=13697090; + //BA.debugLineNum = 13697090;BA.debugLine="p_b_tabulador.Visible = False"; +__ref._p_b_tabulador /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=13697091; + //BA.debugLineNum = 13697091;BA.debugLine="pnlBtnCobranza.Visible = False"; +__ref._pnlbtncobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=13697092; + //BA.debugLineNum = 13697092;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_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)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); +RDebugUtils.currentLine=13697093; + //BA.debugLineNum = 13697093;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697094; + //BA.debugLineNum = 13697094;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"))); +RDebugUtils.currentLine=13697095; + //BA.debugLineNum = 13697095;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + if (true) break; +; +RDebugUtils.currentLine=13697097; + //BA.debugLineNum = 13697097;BA.debugLine="If Cuantos = 0 Then"; + +case 30: +//if +this.state = 43; +if ((__ref._cuantos /*String*/ ).equals(BA.NumberToString(0))) { +this.state = 32; +}else { +this.state = 34; +}if (true) break; + +case 32: +//C +this.state = 43; +RDebugUtils.currentLine=13697098; + //BA.debugLineNum = 13697098;BA.debugLine="L_MONTOD.Text =0"; +__ref._l_montod /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=13697099; + //BA.debugLineNum = 13697099;BA.debugLine="l_cuantosc.Text = 0"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=13697100; + //BA.debugLineNum = 13697100;BA.debugLine="l_cuantosn.Text = 0"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=13697101; + //BA.debugLineNum = 13697101;BA.debugLine="L_CUANTOST.Text = 0"; +__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=13697102; + //BA.debugLineNum = 13697102;BA.debugLine="drop = 0"; +__ref._drop /*double*/ = 0; +RDebugUtils.currentLine=13697103; + //BA.debugLineNum = 13697103;BA.debugLine="l_drop.Text = 0"; +__ref._l_drop /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=13697104; + //BA.debugLineNum = 13697104;BA.debugLine="efectiva = 0"; +__ref._efectiva /*double*/ = 0; +RDebugUtils.currentLine=13697105; + //BA.debugLineNum = 13697105;BA.debugLine="l_efectiva.text =0"; +__ref._l_efectiva /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=13697106; + //BA.debugLineNum = 13697106;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=13697107; + //BA.debugLineNum = 13697107;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR"))); +RDebugUtils.currentLine=13697108; + //BA.debugLineNum = 13697108;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697109; + //BA.debugLineNum = 13697109;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697110; + //BA.debugLineNum = 13697110;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS from noventa"))); +RDebugUtils.currentLine=13697111; + //BA.debugLineNum = 13697111;BA.debugLine="b.Position=0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697112; + //BA.debugLineNum = 13697112;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"))); +RDebugUtils.currentLine=13697113; + //BA.debugLineNum = 13697113;BA.debugLine="b.close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + if (true) break; + +case 34: +//C +this.state = 35; +RDebugUtils.currentLine=13697115; + //BA.debugLineNum = 13697115;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) as MONTO_DIA, COUNT(DISTINCT(PE_CLIENTE)) AS CLIENTES_DIA from PEDIDO WHERE PE_CLIENTE <> 0"))); +RDebugUtils.currentLine=13697116; + //BA.debugLineNum = 13697116;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS from noventa"))); +RDebugUtils.currentLine=13697117; + //BA.debugLineNum = 13697117;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697118; + //BA.debugLineNum = 13697118;BA.debugLine="b.Position=0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697119; + //BA.debugLineNum = 13697119;BA.debugLine="L_MONTOD.Text = c.GetString(\"MONTO_DIA\")"; +__ref._l_montod /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA"))); +RDebugUtils.currentLine=13697120; + //BA.debugLineNum = 13697120;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTES_DIA"))); +RDebugUtils.currentLine=13697122; + //BA.debugLineNum = 13697122;BA.debugLine="D2=B4XPages.MainPage.skmt.ExecQuery(\"select COU"; +__ref._d2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS from PEDIDO "))); +RDebugUtils.currentLine=13697123; + //BA.debugLineNum = 13697123;BA.debugLine="D2.Position = 0"; +__ref._d2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697124; + //BA.debugLineNum = 13697124;BA.debugLine="LPT = D2.GetString(\"CUANTOS\") / l_cuantosc.Text"; +__ref._lpt /*String*/ = BA.NumberToString((double)(Double.parseDouble(__ref._d2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))/(double)(double)(Double.parseDouble(__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))); +RDebugUtils.currentLine=13697125; + //BA.debugLineNum = 13697125;BA.debugLine="D2.Close"; +__ref._d2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697127; + //BA.debugLineNum = 13697127;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"))); +RDebugUtils.currentLine=13697128; + //BA.debugLineNum = 13697128;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt"; +__ref._efectiva /*double*/ = (double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTES_DIA")))/(double)(double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR"))); +RDebugUtils.currentLine=13697129; + //BA.debugLineNum = 13697129;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)"; +__ref._l_efectiva /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.Round2(__ref._efectiva /*double*/ *100,(int) (2)))); +RDebugUtils.currentLine=13697130; + //BA.debugLineNum = 13697130;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=13697131; + //BA.debugLineNum = 13697131;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697132; + //BA.debugLineNum = 13697132;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR"))); +RDebugUtils.currentLine=13697133; + //BA.debugLineNum = 13697133;BA.debugLine="L_CUANTOST.Text = l_cuantosc.Text + l_cuantosn.T"; +__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence((double)(Double.parseDouble(__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+(double)(Double.parseDouble(__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())))); +RDebugUtils.currentLine=13697134; + //BA.debugLineNum = 13697134;BA.debugLine="drop = L_CUANTOST.Text / l_porvisitar.Text"; +__ref._drop /*double*/ = (double)(Double.parseDouble(__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))/(double)(double)(Double.parseDouble(__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())); +RDebugUtils.currentLine=13697135; + //BA.debugLineNum = 13697135;BA.debugLine="l_drop.Text = Round(drop * 100)"; +__ref._l_drop /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(parent.__c.Round(__ref._drop /*double*/ *100))); +RDebugUtils.currentLine=13697136; + //BA.debugLineNum = 13697136;BA.debugLine="If L_CUANTOST.Text < 40 Then"; +if (true) break; + +case 35: +//if +this.state = 42; +if ((double)(Double.parseDouble(__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))<40) { +this.state = 37; +}else +{RDebugUtils.currentLine=13697138; + //BA.debugLineNum = 13697138;BA.debugLine="Else If L_CUANTOST.Text > = 40 And L_CUANTOST."; +if ((double)(Double.parseDouble(__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))>=40 && (double)(Double.parseDouble(__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))<50) { +this.state = 39; +}else { +this.state = 41; +}} +if (true) break; + +case 37: +//C +this.state = 42; +RDebugUtils.currentLine=13697137; + //BA.debugLineNum = 13697137;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,"; +__ref._imageview3 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"tache_rojo.png").getObject())); + if (true) break; + +case 39: +//C +this.state = 42; +RDebugUtils.currentLine=13697139; + //BA.debugLineNum = 13697139;BA.debugLine="ImageView3.bitmap = LoadBitmap(File.DirAssets,"; +__ref._imageview3 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alerta_amarilla.png").getObject())); + if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=13697141; + //BA.debugLineNum = 13697141;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,"; +__ref._imageview3 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setBitmap((android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"palomita_verde.png").getObject())); + if (true) break; + +case 42: +//C +this.state = 43; +; +RDebugUtils.currentLine=13697151; + //BA.debugLineNum = 13697151;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697152; + //BA.debugLineNum = 13697152;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + if (true) break; + +case 43: +//C +this.state = 44; +; +RDebugUtils.currentLine=13697154; + //BA.debugLineNum = 13697154;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697155; + //BA.debugLineNum = 13697155;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697156; + //BA.debugLineNum = 13697156;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697157; + //BA.debugLineNum = 13697157;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=13697158; + //BA.debugLineNum = 13697158;BA.debugLine="C.Position =0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697159; + //BA.debugLineNum = 13697159;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; +__ref._almacen /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("ID_ALMACEN"); +RDebugUtils.currentLine=13697160; + //BA.debugLineNum = 13697160;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697161; + //BA.debugLineNum = 13697161;BA.debugLine="bu.Initialize"; +__ref._bu /*SHARK2.keymon.com.mx.batteryutilities*/ ._initialize /*String*/ (null,ba); +RDebugUtils.currentLine=13697162; + //BA.debugLineNum = 13697162;BA.debugLine="batterystatus = bu.BatteryInformation"; +__ref._batterystatus /*int[]*/ = __ref._bu /*SHARK2.keymon.com.mx.batteryutilities*/ ._getbatteryinformation /*int[]*/ (null); +RDebugUtils.currentLine=13697165; + //BA.debugLineNum = 13697165;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=13697166; + //BA.debugLineNum = 13697166;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697167; + //BA.debugLineNum = 13697167;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=13697168; + //BA.debugLineNum = 13697168;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697177; + //BA.debugLineNum = 13697177;BA.debugLine="Dim conVen As Int = 0"; +_conven = (int) (0); +RDebugUtils.currentLine=13697178; + //BA.debugLineNum = 13697178;BA.debugLine="Dim sinVen As Int = 0"; +_sinven = (int) (0); +RDebugUtils.currentLine=13697180; + //BA.debugLineNum = 13697180;BA.debugLine="Dim cursor As Cursor = Starter.skmt.ExecQuery($\"S"; +_cursor = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cursor = (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(PE_COSTO_TOT) AS PE_COSTO_TOT, COUNT(DISTINCT PE_CLIENTE) AS PE_CLIENTE FROM PEDIDO WHERE PE_FOLIO <> 'RECARGA'")))); +RDebugUtils.currentLine=13697181; + //BA.debugLineNum = 13697181;BA.debugLine="If cursor.RowCount > 0 Then"; +if (true) break; + +case 44: +//if +this.state = 47; +if (_cursor.getRowCount()>0) { +this.state = 46; +}if (true) break; + +case 46: +//C +this.state = 47; +RDebugUtils.currentLine=13697182; + //BA.debugLineNum = 13697182;BA.debugLine="cursor.Position = 0"; +_cursor.setPosition((int) (0)); +RDebugUtils.currentLine=13697183; + //BA.debugLineNum = 13697183;BA.debugLine="B4XPages.MainPage.montoActual = cursor.GetString"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._montoactual /*String*/ = _cursor.GetString("PE_COSTO_TOT"); +RDebugUtils.currentLine=13697184; + //BA.debugLineNum = 13697184;BA.debugLine="B4XPages.MainPage.clientesventa = cursor.GetStri"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._clientesventa /*String*/ = _cursor.GetString("PE_CLIENTE"); +RDebugUtils.currentLine=13697185; + //BA.debugLineNum = 13697185;BA.debugLine="conVen = cursor.GetInt(\"PE_CLIENTE\")"; +_conven = _cursor.GetInt("PE_CLIENTE"); + if (true) break; + +case 47: +//C +this.state = 48; +; +RDebugUtils.currentLine=13697187; + //BA.debugLineNum = 13697187;BA.debugLine="Log(\"Clientes con venta: \" & conVen)"; +parent.__c.LogImpl("513697187","Clientes con venta: "+BA.NumberToString(_conven),0); +RDebugUtils.currentLine=13697189; + //BA.debugLineNum = 13697189;BA.debugLine="Dim cNoVenta As Cursor = Starter.skmt.ExecQuery($"; +_cnoventa = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cnoventa = (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 COUNT(DISTINCT NV_CLIENTE) AS NV_CLIENTE FROM NOVENTA")))); +RDebugUtils.currentLine=13697190; + //BA.debugLineNum = 13697190;BA.debugLine="If cNoVenta.RowCount > 0 Then"; +if (true) break; + +case 48: +//if +this.state = 51; +if (_cnoventa.getRowCount()>0) { +this.state = 50; +}if (true) break; + +case 50: +//C +this.state = 51; +RDebugUtils.currentLine=13697191; + //BA.debugLineNum = 13697191;BA.debugLine="cNoVenta.Position = 0"; +_cnoventa.setPosition((int) (0)); +RDebugUtils.currentLine=13697192; + //BA.debugLineNum = 13697192;BA.debugLine="sinVen = cNoVenta.GetInt(\"NV_CLIENTE\")"; +_sinven = _cnoventa.GetInt("NV_CLIENTE"); +RDebugUtils.currentLine=13697194; + //BA.debugLineNum = 13697194;BA.debugLine="Log(\"Clientes sin venta: \" & sinVen)"; +parent.__c.LogImpl("513697194","Clientes sin venta: "+BA.NumberToString(_sinven),0); +RDebugUtils.currentLine=13697196; + //BA.debugLineNum = 13697196;BA.debugLine="Dim totClientes As Int = sinVen + conVen"; +_totclientes = (int) (_sinven+_conven); +RDebugUtils.currentLine=13697197; + //BA.debugLineNum = 13697197;BA.debugLine="Log(\"Total clientes visitados: \" & totClientes)"; +parent.__c.LogImpl("513697197","Total clientes visitados: "+BA.NumberToString(_totclientes),0); + if (true) break; + +case 51: +//C +this.state = 52; +; +RDebugUtils.currentLine=13697202; + //BA.debugLineNum = 13697202;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._batt /*int*/ = __ref._batterystatus /*int[]*/ [(int) (0)]; +RDebugUtils.currentLine=13697203; + //BA.debugLineNum = 13697203;BA.debugLine="B4XPages.MainPage.clientestotal = totClientes"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._clientestotal /*String*/ = BA.NumberToString(_totclientes); +RDebugUtils.currentLine=13697204; + //BA.debugLineNum = 13697204;BA.debugLine="B4XPages.MainPage.clientesvisitados = l_porvisita"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._clientesvisitados /*String*/ = __ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=13697205; + //BA.debugLineNum = 13697205;BA.debugLine="B4XPages.MainPage.ALMACEN = ALMACEN"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._almacen /*String*/ = __ref._almacen /*String*/ ; +RDebugUtils.currentLine=13697206; + //BA.debugLineNum = 13697206;BA.debugLine="B4XPages.MainPage.rutapreventa = l_ruta.Text"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._rutapreventa /*String*/ = __ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText(); +RDebugUtils.currentLine=13697209; + //BA.debugLineNum = 13697209;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=13697210; + //BA.debugLineNum = 13697210;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697211; + //BA.debugLineNum = 13697211;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=13697212; + //BA.debugLineNum = 13697212;BA.debugLine="B4XPages.MainPage.usuario = usuario"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._usuario /*String*/ = __ref._usuario /*String*/ ; +RDebugUtils.currentLine=13697213; + //BA.debugLineNum = 13697213;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697215; + //BA.debugLineNum = 13697215;BA.debugLine="CallSub(Starter, \"ENVIA_ULTIMA_GPS\")"; +parent.__c.CallSubDebug(ba,(Object)(parent._starter.getObject()),"ENVIA_ULTIMA_GPS"); +RDebugUtils.currentLine=13697218; + //BA.debugLineNum = 13697218;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select RS_R"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RS_RUTA FROM RUTA_SUPLENCIA"))); +RDebugUtils.currentLine=13697219; + //BA.debugLineNum = 13697219;BA.debugLine="s.Position = 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697220; + //BA.debugLineNum = 13697220;BA.debugLine="If s.RowCount = 0 Then"; +if (true) break; + +case 52: +//if +this.state = 57; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +this.state = 54; +}else +{RDebugUtils.currentLine=13697226; + //BA.debugLineNum = 13697226;BA.debugLine="Else If s.RowCount > 0 Then"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 56; +}} +if (true) break; + +case 54: +//C +this.state = 57; +RDebugUtils.currentLine=13697222; + //BA.debugLineNum = 13697222;BA.debugLine="Label22.Visible = False"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=13697223; + //BA.debugLineNum = 13697223;BA.debugLine="l_rutasuplencia.Visible = False"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=13697224; + //BA.debugLineNum = 13697224;BA.debugLine="l_rutasuplencia.Text = \"\""; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); + if (true) break; + +case 56: +//C +this.state = 57; +RDebugUtils.currentLine=13697228; + //BA.debugLineNum = 13697228;BA.debugLine="Label22.Visible = True"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=13697229; + //BA.debugLineNum = 13697229;BA.debugLine="l_rutasuplencia.Visible = True"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=13697230; + //BA.debugLineNum = 13697230;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RS_RUTA"))); + if (true) break; + +case 57: +//C +this.state = 58; +; +RDebugUtils.currentLine=13697233; + //BA.debugLineNum = 13697233;BA.debugLine="s.Close"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13697235; + //BA.debugLineNum = 13697235;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select RUTA"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA FROM RUTAA"))); +RDebugUtils.currentLine=13697236; + //BA.debugLineNum = 13697236;BA.debugLine="s.Position = 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13697237; + //BA.debugLineNum = 13697237;BA.debugLine="If s.RowCount = 0 Then"; +if (true) break; + +case 58: +//if +this.state = 63; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +this.state = 60; +}else +{RDebugUtils.currentLine=13697242; + //BA.debugLineNum = 13697242;BA.debugLine="Else If s.RowCount > 0 Then"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 62; +}} +if (true) break; + +case 60: +//C +this.state = 63; +RDebugUtils.currentLine=13697240; + //BA.debugLineNum = 13697240;BA.debugLine="l_ruta.Text = 0"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + if (true) break; + +case 62: +//C +this.state = 63; +RDebugUtils.currentLine=13697244; + //BA.debugLineNum = 13697244;BA.debugLine="l_ruta.Text = s.GetString(\"RUTAA\")"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RUTAA"))); + if (true) break; +; +RDebugUtils.currentLine=13697248; + //BA.debugLineNum = 13697248;BA.debugLine="If l_ruta.Text = \"0\" Then"; + +case 63: +//if +this.state = 68; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0")) { +this.state = 65; +}else { +this.state = 67; +}if (true) break; + +case 65: +//C +this.state = 68; +RDebugUtils.currentLine=13697249; + //BA.debugLineNum = 13697249;BA.debugLine="p_abordo.Visible = False"; +__ref._p_abordo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=13697250; + //BA.debugLineNum = 13697250;BA.debugLine="b_productos.Visible = False"; +__ref._b_productos /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.False); + if (true) break; + +case 67: +//C +this.state = 68; +RDebugUtils.currentLine=13697252; + //BA.debugLineNum = 13697252;BA.debugLine="p_abordo.Visible = True"; +__ref._p_abordo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=13697253; + //BA.debugLineNum = 13697253;BA.debugLine="b_productos.Visible = True"; +__ref._b_productos /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(parent.__c.True); + if (true) break; + +case 68: +//C +this.state = 69; +; +RDebugUtils.currentLine=13697267; + //BA.debugLineNum = 13697267;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"SELECT"; +_fg = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_fg = (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(CASE WHEN PE_FOLIO = 'PREVENTA_CREDITO' THEN PE_COSTO_TOT ELSE 0 END), 0) AS COSTO_CRED, IFNULL(SUM(CASE WHEN PE_FOLIO = 'PREVENTA_CONTADO' THEN PE_COSTO_TOT ELSE 0 END), 0) AS COSTO_CONTADO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO IN ('PREVENTA_CREDITO', 'PREVENTA_CONTADO')"))); +RDebugUtils.currentLine=13697269; + //BA.debugLineNum = 13697269;BA.debugLine="fg.Position = 0"; +_fg.setPosition((int) (0)); +RDebugUtils.currentLine=13697270; + //BA.debugLineNum = 13697270;BA.debugLine="Dim COSTO_CRED As Double = fg.GetDouble(\"COSTO_CR"; +_costo_cred = _fg.GetDouble("COSTO_CRED"); +RDebugUtils.currentLine=13697271; + //BA.debugLineNum = 13697271;BA.debugLine="Dim COSTO_CONTADO As Double = fg.GetDouble(\"COSTO"; +_costo_contado = _fg.GetDouble("COSTO_CONTADO"); +RDebugUtils.currentLine=13697273; + //BA.debugLineNum = 13697273;BA.debugLine="Log(\"Costo Crédito: \" & COSTO_CRED & \"<<<<<<<<<<<"; +parent.__c.LogImpl("513697273","Costo Crédito: "+BA.NumberToString(_costo_cred)+"<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<",0); +RDebugUtils.currentLine=13697274; + //BA.debugLineNum = 13697274;BA.debugLine="Log(\"Costo Contado: \" & COSTO_CONTADO & \"<<<<<<<<"; +parent.__c.LogImpl("513697274","Costo Contado: "+BA.NumberToString(_costo_contado)+"<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<",0); +RDebugUtils.currentLine=13697276; + //BA.debugLineNum = 13697276;BA.debugLine="If COSTO_CRED > 0 And COSTO_CRED < 1000 Then"; +if (true) break; + +case 69: +//if +this.state = 76; +if (_costo_cred>0 && _costo_cred<1000) { +this.state = 71; +}if (true) break; + +case 71: +//C +this.state = 72; +RDebugUtils.currentLine=13697277; + //BA.debugLineNum = 13697277;BA.debugLine="Msgbox2Async($\"Se ha detectado venta a crédito m"; +parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Se ha detectado venta a crédito menor a $1000 pesos. ¿Desea borrarla?")),BA.ObjectToCharSequence("Venta Mínima de Crédito"),"Sí","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); +RDebugUtils.currentLine=13697278; + //BA.debugLineNum = 13697278;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; +parent.__c.WaitFor("msgbox_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_principal", "b4xpage_appear"), null); +this.state = 89; +return; +case 89: +//C +this.state = 72; +_resultado = (Integer) result[1]; +; +RDebugUtils.currentLine=13697279; + //BA.debugLineNum = 13697279;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; +if (true) break; + +case 72: +//if +this.state = 75; +if (_resultado==parent.__c.DialogResponse.POSITIVE) { +this.state = 74; +}if (true) break; + +case 74: +//C +this.state = 75; +RDebugUtils.currentLine=13697280; + //BA.debugLineNum = 13697280;BA.debugLine="Subs.borraPedidoCredito"; +parent._subs._borrapedidocredito /*String*/ (ba); + if (true) break; + +case 75: +//C +this.state = 76; +; + if (true) break; + +case 76: +//C +this.state = 77; +; +RDebugUtils.currentLine=13697284; + //BA.debugLineNum = 13697284;BA.debugLine="fg.Close"; +_fg.Close(); +RDebugUtils.currentLine=13697286; + //BA.debugLineNum = 13697286;BA.debugLine="CallSubDelayed(Tracker, \"Track\")"; +parent.__c.CallSubDelayed(ba,(Object)(parent._tracker.getObject()),"Track"); +RDebugUtils.currentLine=13697287; + //BA.debugLineNum = 13697287;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; +parent.__c.CallSubDelayed(ba,(Object)(parent._tracker.getObject()),"StartFLPSmall"); +RDebugUtils.currentLine=13697288; + //BA.debugLineNum = 13697288;BA.debugLine="If Tracker.FLP.IsInitialized And Tracker.FLP.GetL"; +if (true) break; + +case 77: +//if +this.state = 80; +if (parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized() && parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { +this.state = 79; +}if (true) break; + +case 79: +//C +this.state = 80; +RDebugUtils.currentLine=13697289; + //BA.debugLineNum = 13697289;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()); +RDebugUtils.currentLine=13697290; + //BA.debugLineNum = 13697290;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()); +RDebugUtils.currentLine=13697292; + //BA.debugLineNum = 13697292;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; +__ref._gps_locationchanged /*String*/ (null,parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation()); + if (true) break; + +case 80: +//C +this.state = 81; +; +RDebugUtils.currentLine=13697294; + //BA.debugLineNum = 13697294;BA.debugLine="lista_punta.Initialize"; +__ref._lista_punta /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=13697295; + //BA.debugLineNum = 13697295;BA.debugLine="Dim pol As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +_pol = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pol = (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 LAT, LONG FROM POLIGONO"))); +RDebugUtils.currentLine=13697296; + //BA.debugLineNum = 13697296;BA.debugLine="If pol.RowCount > 0 Then"; +if (true) break; + +case 81: +//if +this.state = 88; +if (_pol.getRowCount()>0) { +this.state = 83; +}if (true) break; + +case 83: +//C +this.state = 84; +RDebugUtils.currentLine=13697298; + //BA.debugLineNum = 13697298;BA.debugLine="For poli = 0 To pol.RowCount -1"; +if (true) break; + +case 84: +//for +this.state = 87; +step210 = 1; +limit210 = (int) (_pol.getRowCount()-1); +_poli = (int) (0) ; +this.state = 90; +if (true) break; + +case 90: +//C +this.state = 87; +if ((step210 > 0 && _poli <= limit210) || (step210 < 0 && _poli >= limit210)) this.state = 86; +if (true) break; + +case 91: +//C +this.state = 90; +_poli = ((int)(0 + _poli + step210)) ; +if (true) break; + +case 86: +//C +this.state = 91; +RDebugUtils.currentLine=13697299; + //BA.debugLineNum = 13697299;BA.debugLine="pol.Position = poli"; +_pol.setPosition(_poli); +RDebugUtils.currentLine=13697300; + //BA.debugLineNum = 13697300;BA.debugLine="Dim coords As LatLng"; +_coords = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +RDebugUtils.currentLine=13697301; + //BA.debugLineNum = 13697301;BA.debugLine="coords.Initialize(pol.GetString(\"LAT\"), pol.Get"; +_coords.Initialize((double)(Double.parseDouble(_pol.GetString("LAT"))),(double)(Double.parseDouble(_pol.GetString("LONG")))); +RDebugUtils.currentLine=13697302; + //BA.debugLineNum = 13697302;BA.debugLine="lista_punta.Add(coords)"; +__ref._lista_punta /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_coords.getObject())); + if (true) break; +if (true) break; + +case 87: +//C +this.state = 88; +; + if (true) break; + +case 88: +//C +this.state = -1; +; +RDebugUtils.currentLine=13697305; + //BA.debugLineNum = 13697305;BA.debugLine="checaPedido"; +__ref._checapedido /*String*/ (null); +RDebugUtils.currentLine=13697307; + //BA.debugLineNum = 13697307;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b_ok_res_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_ok_res_click", false)) + {return ((String) Debug.delegate(ba, "b_ok_res_click", null));} +RDebugUtils.currentLine=14680064; + //BA.debugLineNum = 14680064;BA.debugLine="Sub B_OK_RES_Click"; +RDebugUtils.currentLine=14680066; + //BA.debugLineNum = 14680066;BA.debugLine="NUEVO.Visible =True"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14680067; + //BA.debugLineNum = 14680067;BA.debugLine="BUSCA.Visible=True"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14680068; + //BA.debugLineNum = 14680068;BA.debugLine="connecta.Visible=True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14680069; + //BA.debugLineNum = 14680069;BA.debugLine="Resumen.Visible= True"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14680070; + //BA.debugLineNum = 14680070;BA.debugLine="P_RESUMEN.Visible=False"; +__ref._p_resumen /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14680071; + //BA.debugLineNum = 14680071;BA.debugLine="Panel4.Visible = False"; +__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14680072; + //BA.debugLineNum = 14680072;BA.debugLine="SCROLL_RESDIA.Visible = False"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14680073; + //BA.debugLineNum = 14680073;BA.debugLine="Btn_Ubicar.Visible=True"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14680074; + //BA.debugLineNum = 14680074;BA.debugLine="p_principal.Visible = True"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14680075; + //BA.debugLineNum = 14680075;BA.debugLine="End Sub"; +return ""; +} +public String _b_productos_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b_productos_click", false)) + {return ((String) Debug.delegate(ba, "b_productos_click", null));} +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +int _i = 0; +String _itemtext = ""; +RDebugUtils.currentLine=16384000; + //BA.debugLineNum = 16384000;BA.debugLine="Private Sub b_productos_Click"; +RDebugUtils.currentLine=16384002; + //BA.debugLineNum = 16384002;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=16384003; + //BA.debugLineNum = 16384003;BA.debugLine="label1 = lv_prod_Prin.SingleLineLayout.Label"; +_label1 = __ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=16384004; + //BA.debugLineNum = 16384004;BA.debugLine="label1.TextSize = 14"; +_label1.setTextSize((float) (14)); +RDebugUtils.currentLine=16384005; + //BA.debugLineNum = 16384005;BA.debugLine="p_prod.Width = Root.Width"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=16384006; + //BA.debugLineNum = 16384006;BA.debugLine="p_prod.Height = Root.Height"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=16384007; + //BA.debugLineNum = 16384007;BA.debugLine="b_regreso.Left = (p_prod.Width - b_regreso.Width)"; +__ref._b_regreso /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) ((__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()-__ref._b_regreso /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth())/(double)2)); +RDebugUtils.currentLine=16384008; + //BA.debugLineNum = 16384008;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=16384010; + //BA.debugLineNum = 16384010;BA.debugLine="p_prod.Visible = True"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=16384011; + //BA.debugLineNum = 16384011;BA.debugLine="p_prod.BringToFront"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=16384014; + //BA.debugLineNum = 16384014;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 CAT_GP_NOMBRE AS HVD_PRONOMBRE, IFNULL(cat_gp_almacen, 0) AS HVD_RECHAZOCANT from CAT_GUNAPROD2 WHERE CAT_GP_TIPO <> 'PROMOS' AND CAT_GP_SUBTIPO <> 'PROMOS' order by CAT_GP_NOMBRE asc"))); +RDebugUtils.currentLine=16384016; + //BA.debugLineNum = 16384016;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=16384017; + //BA.debugLineNum = 16384017;BA.debugLine="lv_prod_Prin.Clear"; +__ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=16384018; + //BA.debugLineNum = 16384018;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=16384019; + //BA.debugLineNum = 16384019;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step14 = 1; +final int limit14 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit14 ;_i = _i + step14 ) { +RDebugUtils.currentLine=16384020; + //BA.debugLineNum = 16384020;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=16384021; + //BA.debugLineNum = 16384021;BA.debugLine="Dim itemText As String"; +_itemtext = ""; +RDebugUtils.currentLine=16384025; + //BA.debugLineNum = 16384025;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))+" "+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Cantidad: "+__c.SmartStringFormatter("",(Object)((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("HVD_RECHAZOCANT"))))+""); +RDebugUtils.currentLine=16384026; + //BA.debugLineNum = 16384026;BA.debugLine="lv_prod_Prin.AddSingleLine(itemText)"; +__ref._lv_prod_prin /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(_itemtext)); + } +}; + }else { +RDebugUtils.currentLine=16384031; + //BA.debugLineNum = 16384031;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=16384033; + //BA.debugLineNum = 16384033;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=16384035; + //BA.debugLineNum = 16384035;BA.debugLine="End Sub"; +return ""; +} +public String _b_regreso_click(SHARK2.keymon.com.mx.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=16252928; + //BA.debugLineNum = 16252928;BA.debugLine="Private Sub b_regreso_Click"; +RDebugUtils.currentLine=16252929; + //BA.debugLineNum = 16252929;BA.debugLine="p_prod.Visible = False"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=16252930; + //BA.debugLineNum = 16252930;BA.debugLine="End Sub"; +return ""; +} +public String _b_tabulador_click(SHARK2.keymon.com.mx.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=15925248; + //BA.debugLineNum = 15925248;BA.debugLine="Private Sub b_tabulador_Click"; +RDebugUtils.currentLine=15925249; + //BA.debugLineNum = 15925249;BA.debugLine="B4XPages.ShowPage(\"tabulador\")"; +_b4xpages._showpage /*String*/ (ba,"tabulador"); +RDebugUtils.currentLine=15925250; + //BA.debugLineNum = 15925250;BA.debugLine="End Sub"; +return ""; +} +public String _gps_locationchanged(SHARK2.keymon.com.mx.c_principal __ref,anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "gps_locationchanged", false)) + {return ((String) Debug.delegate(ba, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=15204352; + //BA.debugLineNum = 15204352;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=15204354; + //BA.debugLineNum = 15204354;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(SHARK2.keymon.com.mx.c_principal parent,SHARK2.keymon.com.mx.c_principal __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_principal __ref; +SHARK2.keymon.com.mx.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=14090242; + //BA.debugLineNum = 14090242;BA.debugLine="If SCROLL_RESDIA.Visible Then"; +if (true) break; + +case 1: +//if +this.state = 12; +if (__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getVisible()) { +this.state = 3; +}else +{RDebugUtils.currentLine=14090246; + //BA.debugLineNum = 14090246;BA.debugLine="Else if p_prod.Visible Then"; +if (__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 5; +}else +{RDebugUtils.currentLine=14090249; + //BA.debugLineNum = 14090249;BA.debugLine="Else if Panel5.Visible Then"; +if (__ref._panel5 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 7; +}else +{RDebugUtils.currentLine=14090252; + //BA.debugLineNum = 14090252;BA.debugLine="Else If pnlCobranza.Visible Then"; +if (__ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 9; +}else { +this.state = 11; +}}}} +if (true) break; + +case 3: +//C +this.state = 12; +RDebugUtils.currentLine=14090243; + //BA.debugLineNum = 14090243;BA.debugLine="SCROLL_RESDIA.Visible = False"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=14090244; + //BA.debugLineNum = 14090244;BA.debugLine="B_OK_RES_Click"; +__ref._b_ok_res_click /*String*/ (null); +RDebugUtils.currentLine=14090245; + //BA.debugLineNum = 14090245;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 5: +//C +this.state = 12; +RDebugUtils.currentLine=14090247; + //BA.debugLineNum = 14090247;BA.debugLine="p_prod.Visible = False"; +__ref._p_prod /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=14090248; + //BA.debugLineNum = 14090248;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 7: +//C +this.state = 12; +RDebugUtils.currentLine=14090250; + //BA.debugLineNum = 14090250;BA.debugLine="B_OK_PANEL5_Click"; +__ref._b_ok_panel5_click /*String*/ (null); +RDebugUtils.currentLine=14090251; + //BA.debugLineNum = 14090251;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 9: +//C +this.state = 12; +RDebugUtils.currentLine=14090253; + //BA.debugLineNum = 14090253;BA.debugLine="pnlCobranza.Visible = False"; +__ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=14090254; + //BA.debugLineNum = 14090254;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 11: +//C +this.state = 12; +RDebugUtils.currentLine=14090256; + //BA.debugLineNum = 14090256;BA.debugLine="B4XPages.ShowPage(\"login\")"; +parent._b4xpages._showpage /*String*/ (ba,"login"); + if (true) break; + +case 12: +//C +this.state = -1; +; +RDebugUtils.currentLine=14090258; + //BA.debugLineNum = 14090258;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=14090259; + //BA.debugLineNum = 14090259;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(SHARK2.keymon.com.mx.c_principal __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +String _ruta = ""; +RDebugUtils.currentLine=13434880; + //BA.debugLineNum = 13434880;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=13434881; + //BA.debugLineNum = 13434881;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=13434883; + //BA.debugLineNum = 13434883;BA.debugLine="Root.LoadLayout(\"principal\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("principal",ba); +RDebugUtils.currentLine=13434884; + //BA.debugLineNum = 13434884;BA.debugLine="rd.Initialize"; +__ref._rd /*SHARK2.keymon.com.mx.c_respaldodiario*/ ._initialize /*Object*/ (null,ba); +RDebugUtils.currentLine=13434885; + //BA.debugLineNum = 13434885;BA.debugLine="rd.vacuum"; +__ref._rd /*SHARK2.keymon.com.mx.c_respaldodiario*/ ._vacuum /*String*/ (null); +RDebugUtils.currentLine=13434886; + //BA.debugLineNum = 13434886;BA.debugLine="EJECUTANDO=1"; +__ref._ejecutando /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=13434887; + //BA.debugLineNum = 13434887;BA.debugLine="Dim ruta As String"; +_ruta = ""; +RDebugUtils.currentLine=13434888; + //BA.debugLineNum = 13434888;BA.debugLine="img2.Visible =False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13434889; + //BA.debugLineNum = 13434889;BA.debugLine="ruta = File.DirInternal"; +_ruta = __c.File.getDirInternal(); +RDebugUtils.currentLine=13434890; + //BA.debugLineNum = 13434890;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { +RDebugUtils.currentLine=13434891; + //BA.debugLineNum = 13434891;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); + }; +RDebugUtils.currentLine=13434893; + //BA.debugLineNum = 13434893;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=13434894; + //BA.debugLineNum = 13434894;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; +__ref._fecha /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=13434895; + //BA.debugLineNum = 13434895;BA.debugLine="B4XPages.MainPage.skmt.Initialize(ruta,\"kmt.db\","; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(_ruta,"kmt.db",__c.True); +RDebugUtils.currentLine=13434896; + //BA.debugLineNum = 13434896;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count("; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from pedido_cliente"))); +RDebugUtils.currentLine=13434897; + //BA.debugLineNum = 13434897;BA.debugLine="b.Position=0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13434898; + //BA.debugLineNum = 13434898;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; +__ref._cuantos /*String*/ = __ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"); +RDebugUtils.currentLine=13434899; + //BA.debugLineNum = 13434899;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13434900; + //BA.debugLineNum = 13434900;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0"))); +RDebugUtils.currentLine=13434901; + //BA.debugLineNum = 13434901;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13434902; + //BA.debugLineNum = 13434902;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info"))); +RDebugUtils.currentLine=13434903; + //BA.debugLineNum = 13434903;BA.debugLine="e.Position=0"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13434904; + //BA.debugLineNum = 13434904;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count("; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CAT_CL_RUTA from kmt_info"))); +RDebugUtils.currentLine=13434905; + //BA.debugLineNum = 13434905;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13434906; + //BA.debugLineNum = 13434906;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"))); +RDebugUtils.currentLine=13434907; + //BA.debugLineNum = 13434907;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13434908; + //BA.debugLineNum = 13434908;BA.debugLine="If l_ruta.Text = 0 Then"; +if ((__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=13434909; + //BA.debugLineNum = 13434909;BA.debugLine="l_ruta.Text =0"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }else { +RDebugUtils.currentLine=13434911; + //BA.debugLineNum = 13434911;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); +RDebugUtils.currentLine=13434912; + //BA.debugLineNum = 13434912;BA.debugLine="f.Position=0"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13434913; + //BA.debugLineNum = 13434913;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; +__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_RUTA"))); +RDebugUtils.currentLine=13434914; + //BA.debugLineNum = 13434914;BA.debugLine="f.Close"; +__ref._f /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=13434916; + //BA.debugLineNum = 13434916;BA.debugLine="If Cuantos = 0 Then"; +if ((__ref._cuantos /*String*/ ).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=13434917; + //BA.debugLineNum = 13434917;BA.debugLine="L_MONTOD.Text =0"; +__ref._l_montod /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=13434918; + //BA.debugLineNum = 13434918;BA.debugLine="l_cuantosc.Text = 0"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=13434919; + //BA.debugLineNum = 13434919;BA.debugLine="l_cuantosn.Text = 0"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=13434920; + //BA.debugLineNum = 13434920;BA.debugLine="drop = 0"; +__ref._drop /*double*/ = 0; +RDebugUtils.currentLine=13434921; + //BA.debugLineNum = 13434921;BA.debugLine="l_drop.Text = 0"; +__ref._l_drop /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=13434922; + //BA.debugLineNum = 13434922;BA.debugLine="efectiva = 0"; +__ref._efectiva /*double*/ = 0; +RDebugUtils.currentLine=13434923; + //BA.debugLineNum = 13434923;BA.debugLine="l_efectiva.text =0"; +__ref._l_efectiva /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=13434924; + //BA.debugLineNum = 13434924;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=13434925; + //BA.debugLineNum = 13434925;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=13434927; + //BA.debugLineNum = 13434927;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pc_monto) as MONTO_DIA, count(pc_cliente) AS CLIENTES_DIA from pedido_cliente where PC_CLIENTE <> 0 AND PC_CLIENTE <> 1"))); +RDebugUtils.currentLine=13434928; + //BA.debugLineNum = 13434928;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS from noventa"))); +RDebugUtils.currentLine=13434930; + //BA.debugLineNum = 13434930;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13434931; + //BA.debugLineNum = 13434931;BA.debugLine="b.Position=0"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13434932; + //BA.debugLineNum = 13434932;BA.debugLine="L_MONTOD.Text = c.GetString(\"MONTO_DIA\")"; +__ref._l_montod /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA"))); +RDebugUtils.currentLine=13434933; + //BA.debugLineNum = 13434933;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")"; +__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTES_DIA"))); +RDebugUtils.currentLine=13434934; + //BA.debugLineNum = 13434934;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; +__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"))); +RDebugUtils.currentLine=13434936; + //BA.debugLineNum = 13434936;BA.debugLine="l_drop.Text = Round2(drop,2)"; +__ref._l_drop /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2(__ref._drop /*double*/ ,(int) (2)))); +RDebugUtils.currentLine=13434937; + //BA.debugLineNum = 13434937;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt"; +__ref._efectiva /*double*/ = (double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTES_DIA")))/(double)(double)(Double.parseDouble(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR"))); +RDebugUtils.currentLine=13434938; + //BA.debugLineNum = 13434938;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)"; +__ref._l_efectiva /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2(__ref._efectiva /*double*/ *100,(int) (2)))); +RDebugUtils.currentLine=13434939; + //BA.debugLineNum = 13434939;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=13434940; + //BA.debugLineNum = 13434940;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; +__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("POR_VISITAR"))); +RDebugUtils.currentLine=13434941; + //BA.debugLineNum = 13434941;BA.debugLine="b.Close"; +__ref._b /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13434942; + //BA.debugLineNum = 13434942;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=13434944; + //BA.debugLineNum = 13434944;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13434945; + //BA.debugLineNum = 13434945;BA.debugLine="e.Close"; +__ref._e /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13434947; + //BA.debugLineNum = 13434947;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select RS_R"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RS_RUTA FROM RUTA_SUPLENCIA"))); +RDebugUtils.currentLine=13434948; + //BA.debugLineNum = 13434948;BA.debugLine="s.Position = 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13434949; + //BA.debugLineNum = 13434949;BA.debugLine="If s.RowCount = 0 Then"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=13434950; + //BA.debugLineNum = 13434950;BA.debugLine="Label22.Visible = False"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13434951; + //BA.debugLineNum = 13434951;BA.debugLine="l_rutasuplencia.Visible = False"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); + }else +{RDebugUtils.currentLine=13434952; + //BA.debugLineNum = 13434952;BA.debugLine="Else If s.RowCount > 0 Then"; +if (__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=13434953; + //BA.debugLineNum = 13434953;BA.debugLine="Label22.Visible = True"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=13434954; + //BA.debugLineNum = 13434954;BA.debugLine="l_rutasuplencia.Visible = True"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=13434955; + //BA.debugLineNum = 13434955;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("RS_RUTA"))); + }} +; +RDebugUtils.currentLine=13434957; + //BA.debugLineNum = 13434957;BA.debugLine="Starter.Skmt.ExecNonQuery($\"create table if not e"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("create table if not exists kmt_info2 ("+__c.SmartStringFormatter("",(Object)(__ref._gettablecolumnlist /*String*/ (null,_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ ,"kmt_info")))+")")); +RDebugUtils.currentLine=13434958; + //BA.debugLineNum = 13434958;BA.debugLine="End Sub"; +return ""; +} +public String _gettablecolumnlist(SHARK2.keymon.com.mx.c_principal __ref,anywheresoftware.b4a.sql.SQL _db,String _table) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "gettablecolumnlist", false)) + {return ((String) Debug.delegate(ba, "gettablecolumnlist", new Object[] {_db,_table}));} +String _l = ""; +int _i = 0; +RDebugUtils.currentLine=13631488; + //BA.debugLineNum = 13631488;BA.debugLine="Sub getTableColumnList(db As SQL, table As String)"; +RDebugUtils.currentLine=13631489; + //BA.debugLineNum = 13631489;BA.debugLine="Private l As String = \"\""; +_l = ""; +RDebugUtils.currentLine=13631490; + //BA.debugLineNum = 13631490;BA.debugLine="If chkIfTableExists(db, table) Then"; +if (__ref._chkiftableexists /*boolean*/ (null,_db,_table)) { +RDebugUtils.currentLine=13631491; + //BA.debugLineNum = 13631491;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"p"; +_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(("pragma table_info("+__c.SmartStringFormatter("",(Object)(_table))+")")))); +RDebugUtils.currentLine=13631492; + //BA.debugLineNum = 13631492;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=13631493; + //BA.debugLineNum = 13631493;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=13631494; + //BA.debugLineNum = 13631494;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=13631495; + //BA.debugLineNum = 13631495;BA.debugLine="If l.Length = 0 Then"; +if (_l.length()==0) { +RDebugUtils.currentLine=13631496; + //BA.debugLineNum = 13631496;BA.debugLine="l = $\"${c.GetString(\"name\")} ${c.GetString(\"t"; +_l = (""+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("name")))+" "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("type")))+""); + }else { +RDebugUtils.currentLine=13631498; + //BA.debugLineNum = 13631498;BA.debugLine="l = $\"${l}, ${c.GetString(\"name\")} ${c.GetStr"; +_l = (""+__c.SmartStringFormatter("",(Object)(_l))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("name")))+" "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("type")))+""); + }; + } +}; + }; + }else { +RDebugUtils.currentLine=13631503; + //BA.debugLineNum = 13631503;BA.debugLine="Return \"No existe la tabla.\""; +if (true) return "No existe la tabla."; + }; +RDebugUtils.currentLine=13631505; + //BA.debugLineNum = 13631505;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13631506; + //BA.debugLineNum = 13631506;BA.debugLine="Return l"; +if (true) return _l; +RDebugUtils.currentLine=13631507; + //BA.debugLineNum = 13631507;BA.debugLine="End Sub"; +return ""; +} +public void _btn_ubicar_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "btn_ubicar_click", false)) + {Debug.delegate(ba, "btn_ubicar_click", null); return;} +ResumableSub_Btn_Ubicar_Click rsub = new ResumableSub_Btn_Ubicar_Click(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_Btn_Ubicar_Click extends BA.ResumableSub { +public ResumableSub_Btn_Ubicar_Click(SHARK2.keymon.com.mx.c_principal parent,SHARK2.keymon.com.mx.c_principal __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_principal __ref; +SHARK2.keymon.com.mx.c_principal parent; +String _permission = ""; +boolean _result = false; + +@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=15269889; + //BA.debugLineNum = 15269889;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; +__ref._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,__ref._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION); +RDebugUtils.currentLine=15269890; + //BA.debugLineNum = 15269890;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; +parent.__c.WaitFor("b4xpage_permissionresult", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_principal", "btn_ubicar_click"), null); +this.state = 5; +return; +case 5: +//C +this.state = 1; +_permission = (String) result[1]; +_result = (Boolean) result[2]; +; +RDebugUtils.currentLine=15269891; + //BA.debugLineNum = 15269891;BA.debugLine="If Result Then"; +if (true) break; + +case 1: +//if +this.state = 4; +if (_result) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=15269892; + //BA.debugLineNum = 15269892;BA.debugLine="StartActivity(MAPA_RUTAS)"; +parent.__c.StartActivity(ba,(Object)(parent._mapa_rutas.getObject())); + if (true) break; + +case 4: +//C +this.state = -1; +; +RDebugUtils.currentLine=15269894; + //BA.debugLineNum = 15269894;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _btncobranza_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "btncobranza_click", false)) + {return ((String) Debug.delegate(ba, "btncobranza_click", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _ct = null; +RDebugUtils.currentLine=15990784; + //BA.debugLineNum = 15990784;BA.debugLine="Private Sub btnCobranza_Click"; +RDebugUtils.currentLine=15990785; + //BA.debugLineNum = 15990785;BA.debugLine="Log(\"Entrando al Panel de Cobranza\")"; +__c.LogImpl("515990785","Entrando al Panel de Cobranza",0); +RDebugUtils.currentLine=15990787; + //BA.debugLineNum = 15990787;BA.debugLine="pnlCobranza.Width = Root.Width"; +__ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=15990788; + //BA.debugLineNum = 15990788;BA.debugLine="pnlCobranza.Height = Root.Height"; +__ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=15990789; + //BA.debugLineNum = 15990789;BA.debugLine="pnlCobranza.Left = 0"; +__ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0)); +RDebugUtils.currentLine=15990790; + //BA.debugLineNum = 15990790;BA.debugLine="pnlCobranza.Top = 0"; +__ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=15990791; + //BA.debugLineNum = 15990791;BA.debugLine="pnlCobranza.BringToFront"; +__ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=15990792; + //BA.debugLineNum = 15990792;BA.debugLine="pnlCobranza.Visible = True"; +__ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15990793; + //BA.debugLineNum = 15990793;BA.debugLine="pnlTotal.Visible = True"; +__ref._pnltotal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=15990794; + //BA.debugLineNum = 15990794;BA.debugLine="Dim ct As Cursor = B4XPages.MainPage.skmt.ExecQue"; +_ct = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_ct = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(sum(IFNULL(a.a_abono,0)),0) as suma_abono FROM kmt_info2 ki LEFT JOIN ABONOSP ap ON ki.CAT_CL_CODIGO = ap.CLIENTE LEFT JOIN ABONOS a ON ki.CAT_CL_CODIGO = a.a_cliente WHERE CAST(ap.SALDO_PENDIENTE AS REAL) > 0")))); +RDebugUtils.currentLine=15990795; + //BA.debugLineNum = 15990795;BA.debugLine="ct.Position = 0"; +_ct.setPosition((int) (0)); +RDebugUtils.currentLine=15990796; + //BA.debugLineNum = 15990796;BA.debugLine="If ct.RowCount > 0 Then"; +if (_ct.getRowCount()>0) { +RDebugUtils.currentLine=15990797; + //BA.debugLineNum = 15990797;BA.debugLine="lblTotal.Text = \"El total abonado es: $\" & ct.ge"; +__ref._lbltotal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("El total abonado es: $"+_ct.GetString("suma_abono"))); + }; +RDebugUtils.currentLine=15990799; + //BA.debugLineNum = 15990799;BA.debugLine="lblVersion.Text = Application.VersionName"; +__ref._lblversion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Application.getVersionName())); +RDebugUtils.currentLine=15990800; + //BA.debugLineNum = 15990800;BA.debugLine="ct.Close"; +_ct.Close(); +RDebugUtils.currentLine=15990801; + //BA.debugLineNum = 15990801;BA.debugLine="CargarDatosCobranza"; +__ref._cargardatoscobranza /*String*/ (null); +RDebugUtils.currentLine=15990802; + //BA.debugLineNum = 15990802;BA.debugLine="End Sub"; +return ""; +} +public String _cargardatoscobranza(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "cargardatoscobranza", false)) + {return ((String) Debug.delegate(ba, "cargardatoscobranza", null));} +int _i = 0; +anywheresoftware.b4a.objects.ConcreteViewWrapper _v = null; +anywheresoftware.b4a.objects.LabelWrapper _lbl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pitem = null; +String _codigo = ""; +String _nombre = ""; +anywheresoftware.b4a.objects.LabelWrapper _lblempty = null; +RDebugUtils.currentLine=16056320; + //BA.debugLineNum = 16056320;BA.debugLine="Private Sub CargarDatosCobranza"; +RDebugUtils.currentLine=16056321; + //BA.debugLineNum = 16056321;BA.debugLine="For i = pnlCobranza.NumberOfViews - 1 To 0 Step -"; +{ +final int step1 = -1; +final int limit1 = (int) (0); +_i = (int) (__ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .getNumberOfViews()-1) ; +for (;_i >= limit1 ;_i = _i + step1 ) { +RDebugUtils.currentLine=16056322; + //BA.debugLineNum = 16056322;BA.debugLine="Dim v As View = pnlCobranza.GetView(i)"; +_v = new anywheresoftware.b4a.objects.ConcreteViewWrapper(); +_v = __ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .GetView(_i); +RDebugUtils.currentLine=16056323; + //BA.debugLineNum = 16056323;BA.debugLine="If v Is Label Then"; +if (_v.getObjectOrNull() instanceof android.widget.TextView) { +RDebugUtils.currentLine=16056324; + //BA.debugLineNum = 16056324;BA.debugLine="Dim lbl As Label = v"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +_lbl = (anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_v.getObject())); +RDebugUtils.currentLine=16056325; + //BA.debugLineNum = 16056325;BA.debugLine="If lbl.Text = \"No hay cuentas por cobrar\" Then"; +if ((_lbl.getText()).equals("No hay cuentas por cobrar")) { +RDebugUtils.currentLine=16056326; + //BA.debugLineNum = 16056326;BA.debugLine="pnlCobranza.RemoveViewAt(i)"; +__ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .RemoveViewAt(_i); + }; + }; + } +}; +RDebugUtils.currentLine=16056330; + //BA.debugLineNum = 16056330;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"SELECT ROW"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT ROW_NUMBER() OVER (ORDER BY ki.CAT_CL_NOMBRE) AS Secuencia, ki.CAT_CL_CODIGO, ki.CAT_CL_NOMBRE, ap.SALDO_PENDIENTE, IFNULL(a.a_abono,0) as a_abono FROM kmt_info2 ki LEFT JOIN ABONOSP ap ON ki.CAT_CL_CODIGO = ap.CLIENTE LEFT JOIN ABONOS a ON ki.CAT_CL_CODIGO = a.a_cliente WHERE CAST(ap.SALDO_PENDIENTE AS REAL) > 0")))); +RDebugUtils.currentLine=16056331; + //BA.debugLineNum = 16056331;BA.debugLine="Log(\"Número de registros: \" & c.RowCount)"; +__c.LogImpl("516056331","Número de registros: "+BA.NumberToString(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=16056333; + //BA.debugLineNum = 16056333;BA.debugLine="clvCobranza.Clear"; +__ref._clvcobranza /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=16056335; + //BA.debugLineNum = 16056335;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step13 = 1; +final int limit13 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit13 ;_i = _i + step13 ) { +RDebugUtils.currentLine=16056336; + //BA.debugLineNum = 16056336;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=16056338; + //BA.debugLineNum = 16056338;BA.debugLine="Dim pItem As B4XView = xui.CreatePanel(\"\")"; +_pitem = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pitem = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=16056339; + //BA.debugLineNum = 16056339;BA.debugLine="pItem.LoadLayout(\"C_CuentasXCobrar\")"; +_pitem.LoadLayout("C_CuentasXCobrar",ba); +RDebugUtils.currentLine=16056340; + //BA.debugLineNum = 16056340;BA.debugLine="pItem.SetLayoutAnimated(0, 0, 0, Root.Width, 100"; +_pitem.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__c.DipToCurrent((int) (100))); +RDebugUtils.currentLine=16056341; + //BA.debugLineNum = 16056341;BA.debugLine="pItem.Color = Colors.White"; +_pitem.setColor(__c.Colors.White); +RDebugUtils.currentLine=16056343; + //BA.debugLineNum = 16056343;BA.debugLine="pnlContenedorCobranza.SetLayoutAnimated(0, 0, 0,"; +__ref._pnlcontenedorcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),_pitem.getWidth(),_pitem.getHeight()); +RDebugUtils.currentLine=16056344; + //BA.debugLineNum = 16056344;BA.debugLine="pnlContenedorCobranza.Color = xui.Color_Transpar"; +__ref._pnlcontenedorcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=16056346; + //BA.debugLineNum = 16056346;BA.debugLine="l_Secuencia.Text = c.GetString(\"Secuencia\")"; +__ref._l_secuencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("Secuencia"))); +RDebugUtils.currentLine=16056349; + //BA.debugLineNum = 16056349;BA.debugLine="Dim codigo As String = c.GetString(\"CAT_CL_CODIG"; +_codigo = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_CODIGO"); +RDebugUtils.currentLine=16056350; + //BA.debugLineNum = 16056350;BA.debugLine="Dim nombre As String = c.GetString(\"CAT_CL_NOMBR"; +_nombre = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_CL_NOMBRE"); +RDebugUtils.currentLine=16056351; + //BA.debugLineNum = 16056351;BA.debugLine="If codigo = Null Then codigo = \"\""; +if (_codigo== null) { +_codigo = "";}; +RDebugUtils.currentLine=16056352; + //BA.debugLineNum = 16056352;BA.debugLine="If nombre = Null Then nombre = \"\""; +if (_nombre== null) { +_nombre = "";}; +RDebugUtils.currentLine=16056353; + //BA.debugLineNum = 16056353;BA.debugLine="l_Nombre.SingleLine = False"; +__ref._l_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .setSingleLine(__c.False); +RDebugUtils.currentLine=16056354; + //BA.debugLineNum = 16056354;BA.debugLine="l_Nombre.Text = codigo & \" \" & nombre"; +__ref._l_nombre /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_codigo+" "+_nombre)); +RDebugUtils.currentLine=16056356; + //BA.debugLineNum = 16056356;BA.debugLine="l_CuentaXCobrar.Text = \"$\" & NumberFormat(c.GetD"; +__ref._l_cuentaxcobrar /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("$"+__c.NumberFormat(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("SALDO_PENDIENTE"),(int) (1),(int) (2)))); +RDebugUtils.currentLine=16056357; + //BA.debugLineNum = 16056357;BA.debugLine="l_Abono.Text = \"$\" & NumberFormat(c.GetDouble(\"a"; +__ref._l_abono /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("$"+__c.NumberFormat(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetDouble("a_abono"),(int) (1),(int) (2)))); +RDebugUtils.currentLine=16056359; + //BA.debugLineNum = 16056359;BA.debugLine="clvCobranza.Add(pItem, \"Item-\" & i)"; +__ref._clvcobranza /*b4a.example3.customlistview*/ ._add(_pitem,(Object)("Item-"+BA.NumberToString(_i))); + } +}; +RDebugUtils.currentLine=16056362; + //BA.debugLineNum = 16056362;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=16056363; + //BA.debugLineNum = 16056363;BA.debugLine="pnlCobranza.Invalidate"; +__ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .Invalidate(); +RDebugUtils.currentLine=16056365; + //BA.debugLineNum = 16056365;BA.debugLine="If c.RowCount = 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()==0) { +RDebugUtils.currentLine=16056366; + //BA.debugLineNum = 16056366;BA.debugLine="Dim lblEmpty As Label"; +_lblempty = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=16056367; + //BA.debugLineNum = 16056367;BA.debugLine="lblEmpty.Initialize(\"\")"; +_lblempty.Initialize(ba,""); +RDebugUtils.currentLine=16056368; + //BA.debugLineNum = 16056368;BA.debugLine="lblEmpty.Text = \"No hay cuentas por cobrar\""; +_lblempty.setText(BA.ObjectToCharSequence("No hay cuentas por cobrar")); +RDebugUtils.currentLine=16056369; + //BA.debugLineNum = 16056369;BA.debugLine="lblEmpty.TextSize = 16"; +_lblempty.setTextSize((float) (16)); +RDebugUtils.currentLine=16056370; + //BA.debugLineNum = 16056370;BA.debugLine="lblEmpty.TextColor = Colors.Gray"; +_lblempty.setTextColor(__c.Colors.Gray); +RDebugUtils.currentLine=16056371; + //BA.debugLineNum = 16056371;BA.debugLine="lblEmpty.Gravity = Gravity.CENTER"; +_lblempty.setGravity(__c.Gravity.CENTER); +RDebugUtils.currentLine=16056372; + //BA.debugLineNum = 16056372;BA.debugLine="pnlCobranza.AddView(lblEmpty, 0, 100dip, Root.Wi"; +__ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .AddView((android.view.View)(_lblempty.getObject()),(int) (0),__c.DipToCurrent((int) (100)),__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__c.DipToCurrent((int) (50))); + }; +RDebugUtils.currentLine=16056374; + //BA.debugLineNum = 16056374;BA.debugLine="End Sub"; +return ""; +} +public String _btnregresar_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "btnregresar_click", false)) + {return ((String) Debug.delegate(ba, "btnregresar_click", null));} +RDebugUtils.currentLine=16121856; + //BA.debugLineNum = 16121856;BA.debugLine="Private Sub btnRegresar_Click"; +RDebugUtils.currentLine=16121857; + //BA.debugLineNum = 16121857;BA.debugLine="pnlCobranza.Visible = False"; +__ref._pnlcobranza /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=16121858; + //BA.debugLineNum = 16121858;BA.debugLine="End Sub"; +return ""; +} +public String _busca_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "busca_click", false)) + {return ((String) Debug.delegate(ba, "busca_click", null));} +RDebugUtils.currentLine=14221312; + //BA.debugLineNum = 14221312;BA.debugLine="Sub BUSCA_Click"; +RDebugUtils.currentLine=14221313; + //BA.debugLineNum = 14221313;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")"; +_b4xpages._showpage /*String*/ (ba,"TicketsDia"); +RDebugUtils.currentLine=14221314; + //BA.debugLineNum = 14221314;BA.debugLine="End Sub"; +return ""; +} +public String _carga_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "carga_click", false)) + {return ((String) Debug.delegate(ba, "carga_click", null));} +RDebugUtils.currentLine=14876672; + //BA.debugLineNum = 14876672;BA.debugLine="Sub CARGA_Click"; +RDebugUtils.currentLine=14876673; + //BA.debugLineNum = 14876673;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); +RDebugUtils.currentLine=14876674; + //BA.debugLineNum = 14876674;BA.debugLine="End Sub"; +return ""; +} +public String _cargar_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "cargar_click", false)) + {return ((String) Debug.delegate(ba, "cargar_click", null));} +boolean _pedidodiaanterior = false; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cp = null; +String[] _fecha2 = null; +String _dia = ""; +String _dia2 = ""; +RDebugUtils.currentLine=13959168; + //BA.debugLineNum = 13959168;BA.debugLine="Sub cargar_Click"; +RDebugUtils.currentLine=13959169; + //BA.debugLineNum = 13959169;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; +_pedidodiaanterior = __c.False; +RDebugUtils.currentLine=13959170; + //BA.debugLineNum = 13959170;BA.debugLine="Dim cp As Cursor = B4XPages.MainPage.skmt.ExecQue"; +_cp = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cp = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from PEDIDO"))); +RDebugUtils.currentLine=13959171; + //BA.debugLineNum = 13959171;BA.debugLine="If cp.RowCount > 0 Then"; +if (_cp.getRowCount()>0) { +RDebugUtils.currentLine=13959172; + //BA.debugLineNum = 13959172;BA.debugLine="cp.Position = 0"; +_cp.setPosition((int) (0)); +RDebugUtils.currentLine=13959173; + //BA.debugLineNum = 13959173;BA.debugLine="Private fecha As String = cp.GetString(\"PE_FECHA"; +_fecha = _cp.GetString("PE_FECHA"); +RDebugUtils.currentLine=13959174; + //BA.debugLineNum = 13959174;BA.debugLine="Dim fecha2() As String = Regex.Split(\"/\",fecha)"; +_fecha2 = __c.Regex.Split("/",__ref._fecha /*String*/ ); +RDebugUtils.currentLine=13959175; + //BA.debugLineNum = 13959175;BA.debugLine="Dim dia As String = fecha2(1)"; +_dia = _fecha2[(int) (1)]; +RDebugUtils.currentLine=13959176; + //BA.debugLineNum = 13959176;BA.debugLine="Log(dia)"; +__c.LogImpl("513959176",_dia,0); +RDebugUtils.currentLine=13959177; + //BA.debugLineNum = 13959177;BA.debugLine="Dim dia2 As String = DateTime.GetDayOfMonth(Date"; +_dia2 = BA.NumberToString(__c.DateTime.GetDayOfMonth(__c.DateTime.getNow())); +RDebugUtils.currentLine=13959178; + //BA.debugLineNum = 13959178;BA.debugLine="Log(dia & \" , \" & dia2)"; +__c.LogImpl("513959178",_dia+" , "+_dia2,0); +RDebugUtils.currentLine=13959179; + //BA.debugLineNum = 13959179;BA.debugLine="If dia < dia2 Then"; +if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) { +RDebugUtils.currentLine=13959180; + //BA.debugLineNum = 13959180;BA.debugLine="pedidodiaanterior = True"; +_pedidodiaanterior = __c.True; + }; + }; +RDebugUtils.currentLine=13959183; + //BA.debugLineNum = 13959183;BA.debugLine="If Not (pedidodiaanterior) Then"; +if (__c.Not(_pedidodiaanterior)) { +RDebugUtils.currentLine=13959184; + //BA.debugLineNum = 13959184;BA.debugLine="CARGA = \"CARGAR\""; +__ref._carga /*String*/ = "CARGAR"; +RDebugUtils.currentLine=13959185; + //BA.debugLineNum = 13959185;BA.debugLine="p_mandaInfo.Width = Root.Width"; +__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=13959186; + //BA.debugLineNum = 13959186;BA.debugLine="p_mandaInfo.Height = Root.Height"; +__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=13959187; + //BA.debugLineNum = 13959187;BA.debugLine="P1.Left = (p_mandaInfo.Width/2) - (P1.Width/2)"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) ((__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()/(double)2)-(__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=13959188; + //BA.debugLineNum = 13959188;BA.debugLine="P1.top = (p_mandaInfo.Height/2) - (P1.Height/2)"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) ((__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()/(double)2)-(__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()/(double)2))); +RDebugUtils.currentLine=13959189; + //BA.debugLineNum = 13959189;BA.debugLine="img2.Visible =True"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=13959190; + //BA.debugLineNum = 13959190;BA.debugLine="L_P_1.Visible = True"; +__ref._l_p_1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=13959191; + //BA.debugLineNum = 13959191;BA.debugLine="S_CC.Visible = True"; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=13959192; + //BA.debugLineNum = 13959192;BA.debugLine="Btn_Ubicar.Visible=False"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13959193; + //BA.debugLineNum = 13959193;BA.debugLine="P1.Visible = True"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=13959194; + //BA.debugLineNum = 13959194;BA.debugLine="p_mandaInfo.Visible = True"; +__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=13959195; + //BA.debugLineNum = 13959195;BA.debugLine="p_principal.Visible = False"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13959196; + //BA.debugLineNum = 13959196;BA.debugLine="Subs.panelVisible(P1, 0, 0)"; +_subs._panelvisible /*String*/ (ba,__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ ,(int) (0),(int) (0)); +RDebugUtils.currentLine=13959197; + //BA.debugLineNum = 13959197;BA.debugLine="Subs.centraPanel(P1, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=13959198; + //BA.debugLineNum = 13959198;BA.debugLine="Subs.centraPanelV(P1, Root.Height)"; +_subs._centrapanelv /*String*/ (ba,__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=13959200; + //BA.debugLineNum = 13959200;BA.debugLine="NUEVO.Visible =False"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13959201; + //BA.debugLineNum = 13959201;BA.debugLine="BUSCA.Visible=False"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13959202; + //BA.debugLineNum = 13959202;BA.debugLine="connecta.Visible=False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13959203; + //BA.debugLineNum = 13959203;BA.debugLine="L_P_3.Visible = True"; +__ref._l_p_3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=13959204; + //BA.debugLineNum = 13959204;BA.debugLine="S_CH.Visible = True"; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=13959205; + //BA.debugLineNum = 13959205;BA.debugLine="PB1.Visible = True"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=13959206; + //BA.debugLineNum = 13959206;BA.debugLine="Resumen.Visible= False"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13959208; + //BA.debugLineNum = 13959208;BA.debugLine="L_P_1.Text = \"Catalogo de Clientes\""; +__ref._l_p_1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Catalogo de Clientes")); +RDebugUtils.currentLine=13959209; + //BA.debugLineNum = 13959209;BA.debugLine="L_P_2.Text = \"Catalogos de Productos\""; +__ref._l_p_2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Catalogos de Productos")); +RDebugUtils.currentLine=13959210; + //BA.debugLineNum = 13959210;BA.debugLine="L_P_3.Text = \"Catalogos Historicos\""; +__ref._l_p_3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Catalogos Historicos")); +RDebugUtils.currentLine=13959211; + //BA.debugLineNum = 13959211;BA.debugLine="S_CC.Text = \"EN PROCESO\""; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("EN PROCESO")); +RDebugUtils.currentLine=13959212; + //BA.debugLineNum = 13959212;BA.debugLine="S_CH.Text = \"EN PROCESO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("EN PROCESO")); +RDebugUtils.currentLine=13959213; + //BA.debugLineNum = 13959213;BA.debugLine="S_CP.Text = \"EN PROCESO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("EN PROCESO")); +RDebugUtils.currentLine=13959214; + //BA.debugLineNum = 13959214;BA.debugLine="PB1.Progress = 0"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (0)); +RDebugUtils.currentLine=13959215; + //BA.debugLineNum = 13959215;BA.debugLine="PB2.Progress = 0"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (0)); +RDebugUtils.currentLine=13959216; + //BA.debugLineNum = 13959216;BA.debugLine="EJECUTANDO = 1"; +__ref._ejecutando /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=13959219; + //BA.debugLineNum = 13959219;BA.debugLine="TOPE = 0"; +__ref._tope /*int*/ = (int) (0); +RDebugUtils.currentLine=13959221; + //BA.debugLineNum = 13959221;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTA_SUPLENCIA"); +RDebugUtils.currentLine=13959222; + //BA.debugLineNum = 13959222;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); +RDebugUtils.currentLine=13959223; + //BA.debugLineNum = 13959223;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM GEOCERCA"); +RDebugUtils.currentLine=13959224; + //BA.debugLineNum = 13959224;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM COORDS_ALMACEN"); +RDebugUtils.currentLine=13959225; + //BA.debugLineNum = 13959225;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CLIENTE_NUEVO"); +RDebugUtils.currentLine=13959226; + //BA.debugLineNum = 13959226;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); +RDebugUtils.currentLine=13959227; + //BA.debugLineNum = 13959227;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info2"); +RDebugUtils.currentLine=13959228; + //BA.debugLineNum = 13959228;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); +RDebugUtils.currentLine=13959229; + //BA.debugLineNum = 13959229;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); +RDebugUtils.currentLine=13959230; + //BA.debugLineNum = 13959230;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); +RDebugUtils.currentLine=13959231; + //BA.debugLineNum = 13959231;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2"); +RDebugUtils.currentLine=13959232; + //BA.debugLineNum = 13959232;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); +RDebugUtils.currentLine=13959233; + //BA.debugLineNum = 13959233;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod4"); +RDebugUtils.currentLine=13959234; + //BA.debugLineNum = 13959234;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); +RDebugUtils.currentLine=13959235; + //BA.debugLineNum = 13959235;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); +RDebugUtils.currentLine=13959236; + //BA.debugLineNum = 13959236;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); +RDebugUtils.currentLine=13959237; + //BA.debugLineNum = 13959237;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PROMOS"); +RDebugUtils.currentLine=13959238; + //BA.debugLineNum = 13959238;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_CLIENTE_CANT_PROMOS"); +RDebugUtils.currentLine=13959239; + //BA.debugLineNum = 13959239;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROMOS_COMP"); +RDebugUtils.currentLine=13959240; + //BA.debugLineNum = 13959240;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VERIFICACION"); +RDebugUtils.currentLine=13959241; + //BA.debugLineNum = 13959241;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO\""; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_GIRO"); +RDebugUtils.currentLine=13959242; + //BA.debugLineNum = 13959242;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM MARCAS_RUTAS"); +RDebugUtils.currentLine=13959243; + //BA.debugLineNum = 13959243;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_STAY_STORE"); +RDebugUtils.currentLine=13959244; + //BA.debugLineNum = 13959244;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GEOCERCA"); +RDebugUtils.currentLine=13959245; + //BA.debugLineNum = 13959245;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_MARCAS_CUOTAS"); +RDebugUtils.currentLine=13959247; + //BA.debugLineNum = 13959247;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP"); +RDebugUtils.currentLine=13959249; + //BA.debugLineNum = 13959249;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select co"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(CAT_VA_DESCRIPCION) as HoraIngreso from cat_variables where CAT_VA_DESCRIPCION = ? ",new String[]{"HoraIngreso"}))); +RDebugUtils.currentLine=13959250; + //BA.debugLineNum = 13959250;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13959251; + //BA.debugLineNum = 13959251;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=13959253; + //BA.debugLineNum = 13959253;BA.debugLine="If c.GetString(\"HoraIngreso\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HoraIngreso")))>0) { +RDebugUtils.currentLine=13959254; + //BA.debugLineNum = 13959254;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update ca"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update cat_variables set CAT_VA_VALOR = ? WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.DateTime.Time(__c.DateTime.getNow()),"HoraIngreso"})); + }else { +RDebugUtils.currentLine=13959256; + //BA.debugLineNum = 13959256;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_VALOR,CAT_VA_DESCRIPCION) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.DateTime.Time(__c.DateTime.getNow()),"HoraIngreso"})); + }; +RDebugUtils.currentLine=13959258; + //BA.debugLineNum = 13959258;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13959259; + //BA.debugLineNum = 13959259;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=13959260; + //BA.debugLineNum = 13959260;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=13959261; + //BA.debugLineNum = 13959261;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13959262; + //BA.debugLineNum = 13959262;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=13959263; + //BA.debugLineNum = 13959263;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13959265; + //BA.debugLineNum = 13959265;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=13959266; + //BA.debugLineNum = 13959266;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=13959267; + //BA.debugLineNum = 13959267;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=13959268; + //BA.debugLineNum = 13959268;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=13959270; + //BA.debugLineNum = 13959270;BA.debugLine="Dim P As PhoneId"; +_p = new anywheresoftware.b4a.phone.Phone.PhoneId(); +RDebugUtils.currentLine=13959272; + //BA.debugLineNum = 13959272;BA.debugLine="imei = \"xxxx\""; +__ref._imei /*String*/ = "xxxx"; +RDebugUtils.currentLine=13959273; + //BA.debugLineNum = 13959273;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959274; + //BA.debugLineNum = 13959274;BA.debugLine="cmd.Name =\"insert_drop_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_drop_SHARK2"; +RDebugUtils.currentLine=13959275; + //BA.debugLineNum = 13959275;BA.debugLine="cmd.Parameters = Array As Object(usuario,e_ruta."; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._usuario /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ ),(Object)(__ref._imei /*String*/ ),(Object)(__ref._stime /*String*/ ),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("CARGA"),(Object)(__ref._almacen /*String*/ ),(Object)(__c.Application.getVersionName())}; +RDebugUtils.currentLine=13959277; + //BA.debugLineNum = 13959277;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_noventa")); +RDebugUtils.currentLine=13959279; + //BA.debugLineNum = 13959279;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959280; + //BA.debugLineNum = 13959280;BA.debugLine="cmd.Name = \"select_cat_gunaprod_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_gunaprod_SHARK2"; +RDebugUtils.currentLine=13959281; + //BA.debugLineNum = 13959281;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959282; + //BA.debugLineNum = 13959282;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod")); +RDebugUtils.currentLine=13959284; + //BA.debugLineNum = 13959284;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959285; + //BA.debugLineNum = 13959285;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_gunaprod2_SHARK2"; +RDebugUtils.currentLine=13959286; + //BA.debugLineNum = 13959286;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,e_ruta."; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=13959287; + //BA.debugLineNum = 13959287;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod2\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod2")); +RDebugUtils.currentLine=13959294; + //BA.debugLineNum = 13959294;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959295; + //BA.debugLineNum = 13959295;BA.debugLine="cmd.Name = \"select_coords_almacen_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_coords_almacen_SHARK2"; +RDebugUtils.currentLine=13959296; + //BA.debugLineNum = 13959296;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959297; + //BA.debugLineNum = 13959297;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"coords_almacen"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("coords_almacen")); +RDebugUtils.currentLine=13959304; + //BA.debugLineNum = 13959304;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959305; + //BA.debugLineNum = 13959305;BA.debugLine="cmd.Name = \"select_cat_GIRO_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_GIRO_SHARK2"; +RDebugUtils.currentLine=13959306; + //BA.debugLineNum = 13959306;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"giro\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("giro")); +RDebugUtils.currentLine=13959313; + //BA.debugLineNum = 13959313;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959314; + //BA.debugLineNum = 13959314;BA.debugLine="cmd.Name = \"select_cat_paquetes_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_paquetes_SHARK2"; +RDebugUtils.currentLine=13959315; + //BA.debugLineNum = 13959315;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959316; + //BA.debugLineNum = 13959316;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprodp\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprodp")); +RDebugUtils.currentLine=13959319; + //BA.debugLineNum = 13959319;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959320; + //BA.debugLineNum = 13959320;BA.debugLine="cmd.Name = \"select_cat_paquetess_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_paquetess_SHARK2"; +RDebugUtils.currentLine=13959321; + //BA.debugLineNum = 13959321;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959322; + //BA.debugLineNum = 13959322;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprodp\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprodp")); +RDebugUtils.currentLine=13959324; + //BA.debugLineNum = 13959324;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959325; + //BA.debugLineNum = 13959325;BA.debugLine="cmd.Name = \"select_cat_detallepa_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_detallepa_SHARK2"; +RDebugUtils.currentLine=13959326; + //BA.debugLineNum = 13959326;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959327; + //BA.debugLineNum = 13959327;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"detallepaq\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("detallepaq")); +RDebugUtils.currentLine=13959329; + //BA.debugLineNum = 13959329;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959330; + //BA.debugLineNum = 13959330;BA.debugLine="cmd.Name = \"select_cat_clientes_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_clientes_SHARK2"; +RDebugUtils.currentLine=13959331; + //BA.debugLineNum = 13959331;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959332; + //BA.debugLineNum = 13959332;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("kmt_datos")); +RDebugUtils.currentLine=13959334; + //BA.debugLineNum = 13959334;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959335; + //BA.debugLineNum = 13959335;BA.debugLine="cmd.Name = \"select_cat_clientes_todos_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_clientes_todos_SHARK2"; +RDebugUtils.currentLine=13959336; + //BA.debugLineNum = 13959336;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959337; + //BA.debugLineNum = 13959337;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos_todo"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("kmt_datos_todos")); +RDebugUtils.currentLine=13959339; + //BA.debugLineNum = 13959339;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959340; + //BA.debugLineNum = 13959340;BA.debugLine="cmd.Name = \"select_hist_datos_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_hist_datos_SHARK2"; +RDebugUtils.currentLine=13959341; + //BA.debugLineNum = 13959341;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959342; + //BA.debugLineNum = 13959342;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_datos")); +RDebugUtils.currentLine=13959344; + //BA.debugLineNum = 13959344;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959345; + //BA.debugLineNum = 13959345;BA.debugLine="cmd.Name = \"select_hist_promos_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_hist_promos_SHARK2"; +RDebugUtils.currentLine=13959346; + //BA.debugLineNum = 13959346;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959347; + //BA.debugLineNum = 13959347;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_promos\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_promos")); +RDebugUtils.currentLine=13959354; + //BA.debugLineNum = 13959354;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959355; + //BA.debugLineNum = 13959355;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_hist_cliente_promos_SHARK2"; +RDebugUtils.currentLine=13959356; + //BA.debugLineNum = 13959356;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959357; + //BA.debugLineNum = 13959357;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_cliente_p"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_cliente_promos")); +RDebugUtils.currentLine=13959359; + //BA.debugLineNum = 13959359;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959360; + //BA.debugLineNum = 13959360;BA.debugLine="cmd.Name = \"select_nom_user_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_nom_user_SHARK2"; +RDebugUtils.currentLine=13959361; + //BA.debugLineNum = 13959361;BA.debugLine="cmd.Parameters = Array As Object(usuario)"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._usuario /*String*/ )}; +RDebugUtils.currentLine=13959362; + //BA.debugLineNum = 13959362;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"nom_user\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("nom_user")); +RDebugUtils.currentLine=13959364; + //BA.debugLineNum = 13959364;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959365; + //BA.debugLineNum = 13959365;BA.debugLine="cmd.Name = \"select_telefono_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_telefono_SHARK2"; +RDebugUtils.currentLine=13959366; + //BA.debugLineNum = 13959366;BA.debugLine="cmd.Parameters = Array As Object(usuario)"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._usuario /*String*/ )}; +RDebugUtils.currentLine=13959367; + //BA.debugLineNum = 13959367;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"telefono\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("telefono")); +RDebugUtils.currentLine=13959375; + //BA.debugLineNum = 13959375;BA.debugLine="If E_RUTA2.text <> \"\" Then"; +if ((__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +RDebugUtils.currentLine=13959379; + //BA.debugLineNum = 13959379;BA.debugLine="E_RUTA2.Visible = False"; +__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13959380; + //BA.debugLineNum = 13959380;BA.debugLine="Panel11.Visible = False"; +__ref._panel11 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13959382; + //BA.debugLineNum = 13959382;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959383; + //BA.debugLineNum = 13959383;BA.debugLine="cmd.Name = \"select_cat_clientes_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_clientes_SHARK2"; +RDebugUtils.currentLine=13959384; + //BA.debugLineNum = 13959384;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959385; + //BA.debugLineNum = 13959385;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("kmt_datos")); +RDebugUtils.currentLine=13959387; + //BA.debugLineNum = 13959387;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959388; + //BA.debugLineNum = 13959388;BA.debugLine="cmd.Name = \"select_cat_clientes_todos_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_clientes_todos_SHARK2"; +RDebugUtils.currentLine=13959389; + //BA.debugLineNum = 13959389;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959390; + //BA.debugLineNum = 13959390;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos_tod"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("kmt_datos_todos")); +RDebugUtils.currentLine=13959392; + //BA.debugLineNum = 13959392;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959393; + //BA.debugLineNum = 13959393;BA.debugLine="cmd.Name = \"select_hist_datos_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_hist_datos_SHARK2"; +RDebugUtils.currentLine=13959394; + //BA.debugLineNum = 13959394;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959395; + //BA.debugLineNum = 13959395;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_datos")); +RDebugUtils.currentLine=13959397; + //BA.debugLineNum = 13959397;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959398; + //BA.debugLineNum = 13959398;BA.debugLine="cmd.Name = \"select_hist_promos_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_hist_promos_SHARK2"; +RDebugUtils.currentLine=13959399; + //BA.debugLineNum = 13959399;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959400; + //BA.debugLineNum = 13959400;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_promos\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_promos")); +RDebugUtils.currentLine=13959402; + //BA.debugLineNum = 13959402;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959403; + //BA.debugLineNum = 13959403;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_hist_cliente_promos_SHARK2"; +RDebugUtils.currentLine=13959404; + //BA.debugLineNum = 13959404;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959405; + //BA.debugLineNum = 13959405;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_cliente_"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_cliente_promos")); + }; +RDebugUtils.currentLine=13959408; + //BA.debugLineNum = 13959408;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959409; + //BA.debugLineNum = 13959409;BA.debugLine="cmd.Name = \"select_promo_comp_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_promo_comp_SHARK2"; +RDebugUtils.currentLine=13959410; + //BA.debugLineNum = 13959410;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959411; + //BA.debugLineNum = 13959411;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_comp_prom"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("hist_comp_promos")); +RDebugUtils.currentLine=13959418; + //BA.debugLineNum = 13959418;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959419; + //BA.debugLineNum = 13959419;BA.debugLine="cmd.Name = \"select_fecha\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_fecha"; +RDebugUtils.currentLine=13959420; + //BA.debugLineNum = 13959420;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=13959421; + //BA.debugLineNum = 13959421;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("fecha")); +RDebugUtils.currentLine=13959433; + //BA.debugLineNum = 13959433;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13959434; + //BA.debugLineNum = 13959434;BA.debugLine="cmd.Name = \"select_marcas_rutas_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_marcas_rutas_SHARK2"; +RDebugUtils.currentLine=13959435; + //BA.debugLineNum = 13959435;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=13959436; + //BA.debugLineNum = 13959436;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"marcas_rutas\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("marcas_rutas")); +RDebugUtils.currentLine=13959459; + //BA.debugLineNum = 13959459;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13959460; + //BA.debugLineNum = 13959460;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13959461; + //BA.debugLineNum = 13959461;BA.debugLine="inv.Visible = False"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13959462; + //BA.debugLineNum = 13959462;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias"),__c.True);}; + }else { +RDebugUtils.currentLine=13959464; + //BA.debugLineNum = 13959464;BA.debugLine="Log(\"XXXX\")"; +__c.LogImpl("513959464","XXXX",0); +RDebugUtils.currentLine=13959465; + //BA.debugLineNum = 13959465;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=13959467; + //BA.debugLineNum = 13959467;BA.debugLine="End Sub"; +return ""; +} +public boolean _chkiftableexists(SHARK2.keymon.com.mx.c_principal __ref,anywheresoftware.b4a.sql.SQL _db,String _table) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "chkiftableexists", false)) + {return ((Boolean) Debug.delegate(ba, "chkiftableexists", new Object[] {_db,_table}));} +boolean _t = false; +RDebugUtils.currentLine=13500416; + //BA.debugLineNum = 13500416;BA.debugLine="Sub chkIfTableExists(db As SQL, table As String) A"; +RDebugUtils.currentLine=13500417; + //BA.debugLineNum = 13500417;BA.debugLine="Private t As Boolean = False 'ignore"; +_t = __c.False; +RDebugUtils.currentLine=13500418; + //BA.debugLineNum = 13500418;BA.debugLine="If db.IsInitialized Then"; +if (_db.IsInitialized()) { +RDebugUtils.currentLine=13500419; + //BA.debugLineNum = 13500419;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)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT name FROM sqlite_master WHERE type='table' AND name='"+__c.SmartStringFormatter("",(Object)(_table))+"'")))); +RDebugUtils.currentLine=13500420; + //BA.debugLineNum = 13500420;BA.debugLine="If c.RowCount > 0 Then t = True"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +_t = __c.True;}; +RDebugUtils.currentLine=13500421; + //BA.debugLineNum = 13500421;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=13500423; + //BA.debugLineNum = 13500423;BA.debugLine="Return t"; +if (true) return _t; +RDebugUtils.currentLine=13500424; + //BA.debugLineNum = 13500424;BA.debugLine="End Sub"; +return false; +} +public String _class_globals(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +RDebugUtils.currentLine=13303808; + //BA.debugLineNum = 13303808;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=13303809; + //BA.debugLineNum = 13303809;BA.debugLine="Public rp As RuntimePermissions"; +_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); +RDebugUtils.currentLine=13303810; + //BA.debugLineNum = 13303810;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=13303811; + //BA.debugLineNum = 13303811;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=13303813; + //BA.debugLineNum = 13303813;BA.debugLine="Dim rd As C_RespaldoDiario"; +_rd = new SHARK2.keymon.com.mx.c_respaldodiario(); +RDebugUtils.currentLine=13303814; + //BA.debugLineNum = 13303814;BA.debugLine="Dim reqManager As DBRequestManager"; +_reqmanager = new SHARK2.keymon.com.mx.dbrequestmanager(); +RDebugUtils.currentLine=13303815; + //BA.debugLineNum = 13303815;BA.debugLine="Dim conectado As String"; +_conectado = ""; +RDebugUtils.currentLine=13303816; + //BA.debugLineNum = 13303816;BA.debugLine="Dim ime As IME"; +_ime = new anywheresoftware.b4a.objects.IME(); +RDebugUtils.currentLine=13303817; + //BA.debugLineNum = 13303817;BA.debugLine="Dim t1 As Timer"; +_t1 = new anywheresoftware.b4a.objects.Timer(); +RDebugUtils.currentLine=13303818; + //BA.debugLineNum = 13303818;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=13303819; + //BA.debugLineNum = 13303819;BA.debugLine="Dim PHONE As Phone"; +_phone = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=13303820; + //BA.debugLineNum = 13303820;BA.debugLine="Dim g As GPS"; +_g = new anywheresoftware.b4a.gps.GPS(); +RDebugUtils.currentLine=13303821; + //BA.debugLineNum = 13303821;BA.debugLine="Dim trabajar As Button"; +_trabajar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303823; + //BA.debugLineNum = 13303823;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=13303824; + //BA.debugLineNum = 13303824;BA.debugLine="Dim d As Cursor"; +_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=13303825; + //BA.debugLineNum = 13303825;BA.debugLine="Dim b As Cursor"; +_b = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=13303826; + //BA.debugLineNum = 13303826;BA.debugLine="Dim e As Cursor"; +_e = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=13303827; + //BA.debugLineNum = 13303827;BA.debugLine="Dim f As Cursor"; +_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=13303828; + //BA.debugLineNum = 13303828;BA.debugLine="Dim D2 As Cursor"; +_d2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=13303829; + //BA.debugLineNum = 13303829;BA.debugLine="Dim lv As ListView"; +_lv = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=13303830; + //BA.debugLineNum = 13303830;BA.debugLine="Dim cargar As Button"; +_cargar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303831; + //BA.debugLineNum = 13303831;BA.debugLine="Dim pendiente As Button"; +_pendiente = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303832; + //BA.debugLineNum = 13303832;BA.debugLine="Dim foto1() As Byte"; +_foto1 = new byte[(int) (0)]; +; +RDebugUtils.currentLine=13303833; + //BA.debugLineNum = 13303833;BA.debugLine="Dim usuario As String"; +_usuario = ""; +RDebugUtils.currentLine=13303834; + //BA.debugLineNum = 13303834;BA.debugLine="Dim connecta As Button"; +_connecta = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303835; + //BA.debugLineNum = 13303835;BA.debugLine="Dim conn As String"; +_conn = ""; +RDebugUtils.currentLine=13303836; + //BA.debugLineNum = 13303836;BA.debugLine="Dim Subir As Button"; +_subir = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303837; + //BA.debugLineNum = 13303837;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=13303838; + //BA.debugLineNum = 13303838;BA.debugLine="Dim TOPE As Int"; +_tope = 0; +RDebugUtils.currentLine=13303839; + //BA.debugLineNum = 13303839;BA.debugLine="Dim COUNT_CLIE As Int"; +_count_clie = 0; +RDebugUtils.currentLine=13303840; + //BA.debugLineNum = 13303840;BA.debugLine="Dim fecha As String"; +_fecha = ""; +RDebugUtils.currentLine=13303841; + //BA.debugLineNum = 13303841;BA.debugLine="Dim drop As Double"; +_drop = 0; +RDebugUtils.currentLine=13303842; + //BA.debugLineNum = 13303842;BA.debugLine="Dim efectiva As Double"; +_efectiva = 0; +RDebugUtils.currentLine=13303843; + //BA.debugLineNum = 13303843;BA.debugLine="Dim L_MONTOD As Label"; +_l_montod = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303844; + //BA.debugLineNum = 13303844;BA.debugLine="Dim l_cuantosc As Label"; +_l_cuantosc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303845; + //BA.debugLineNum = 13303845;BA.debugLine="Dim l_drop As Label"; +_l_drop = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303846; + //BA.debugLineNum = 13303846;BA.debugLine="Dim l_efectiva As Label"; +_l_efectiva = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303847; + //BA.debugLineNum = 13303847;BA.debugLine="Dim l_ctast As Label"; +_l_ctast = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303848; + //BA.debugLineNum = 13303848;BA.debugLine="Dim BUSCA As Button"; +_busca = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303849; + //BA.debugLineNum = 13303849;BA.debugLine="Dim Cuantos As String"; +_cuantos = ""; +RDebugUtils.currentLine=13303850; + //BA.debugLineNum = 13303850;BA.debugLine="Dim l_cuantosn As Label"; +_l_cuantosn = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303851; + //BA.debugLineNum = 13303851;BA.debugLine="Dim e_ruta As EditText"; +_e_ruta = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=13303852; + //BA.debugLineNum = 13303852;BA.debugLine="Dim l_porvisitar As Label"; +_l_porvisitar = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303853; + //BA.debugLineNum = 13303853;BA.debugLine="Dim b_mapa As Button"; +_b_mapa = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303854; + //BA.debugLineNum = 13303854;BA.debugLine="Dim l_ruta As Label"; +_l_ruta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303855; + //BA.debugLineNum = 13303855;BA.debugLine="Dim ALMACEN As String"; +_almacen = ""; +RDebugUtils.currentLine=13303856; + //BA.debugLineNum = 13303856;BA.debugLine="Private img2 As ImageView"; +_img2 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=13303857; + //BA.debugLineNum = 13303857;BA.debugLine="Dim Listo1 As String"; +_listo1 = ""; +RDebugUtils.currentLine=13303858; + //BA.debugLineNum = 13303858;BA.debugLine="Dim Listo2 As String"; +_listo2 = ""; +RDebugUtils.currentLine=13303859; + //BA.debugLineNum = 13303859;BA.debugLine="Dim Listo3 As String"; +_listo3 = ""; +RDebugUtils.currentLine=13303860; + //BA.debugLineNum = 13303860;BA.debugLine="Dim Listo4 As String"; +_listo4 = ""; +RDebugUtils.currentLine=13303861; + //BA.debugLineNum = 13303861;BA.debugLine="Dim Listo5 As String"; +_listo5 = ""; +RDebugUtils.currentLine=13303862; + //BA.debugLineNum = 13303862;BA.debugLine="Dim EJECUTANDO As String"; +_ejecutando = ""; +RDebugUtils.currentLine=13303863; + //BA.debugLineNum = 13303863;BA.debugLine="Dim RES As String"; +_res = ""; +RDebugUtils.currentLine=13303864; + //BA.debugLineNum = 13303864;BA.debugLine="Dim inve As String"; +_inve = ""; +RDebugUtils.currentLine=13303865; + //BA.debugLineNum = 13303865;BA.debugLine="Dim cuantos_pedidosc As String"; +_cuantos_pedidosc = ""; +RDebugUtils.currentLine=13303866; + //BA.debugLineNum = 13303866;BA.debugLine="Dim cuantos_pedido As String"; +_cuantos_pedido = ""; +RDebugUtils.currentLine=13303867; + //BA.debugLineNum = 13303867;BA.debugLine="Dim cuantos_noventa As String"; +_cuantos_noventa = ""; +RDebugUtils.currentLine=13303868; + //BA.debugLineNum = 13303868;BA.debugLine="Dim datos_iguales As String"; +_datos_iguales = ""; +RDebugUtils.currentLine=13303869; + //BA.debugLineNum = 13303869;BA.debugLine="Dim p As PhoneId"; +_p = new anywheresoftware.b4a.phone.Phone.PhoneId(); +RDebugUtils.currentLine=13303870; + //BA.debugLineNum = 13303870;BA.debugLine="Dim imei As String"; +_imei = ""; +RDebugUtils.currentLine=13303872; + //BA.debugLineNum = 13303872;BA.debugLine="Private inv As Button"; +_inv = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303873; + //BA.debugLineNum = 13303873;BA.debugLine="Private P1 As Panel"; +_p1 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13303874; + //BA.debugLineNum = 13303874;BA.debugLine="Private CLAVE As EditText"; +_clave = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=13303875; + //BA.debugLineNum = 13303875;BA.debugLine="Private B_OK_PAS As Button"; +_b_ok_pas = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303876; + //BA.debugLineNum = 13303876;BA.debugLine="Dim PASO As String"; +_paso = ""; +RDebugUtils.currentLine=13303877; + //BA.debugLineNum = 13303877;BA.debugLine="Private USUARIO1 As EditText"; +_usuario1 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=13303878; + //BA.debugLineNum = 13303878;BA.debugLine="Dim connecta1 As Double"; +_connecta1 = 0; +RDebugUtils.currentLine=13303879; + //BA.debugLineNum = 13303879;BA.debugLine="Dim armafolio As String"; +_armafolio = ""; +RDebugUtils.currentLine=13303880; + //BA.debugLineNum = 13303880;BA.debugLine="Private NUEVO As Button"; +_nuevo = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303881; + //BA.debugLineNum = 13303881;BA.debugLine="Private S_CC As Label"; +_s_cc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303882; + //BA.debugLineNum = 13303882;BA.debugLine="Private S_CP As Label"; +_s_cp = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303883; + //BA.debugLineNum = 13303883;BA.debugLine="Private S_CH As Label"; +_s_ch = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303884; + //BA.debugLineNum = 13303884;BA.debugLine="Private PB2 As ProgressBar"; +_pb2 = new anywheresoftware.b4a.objects.ProgressBarWrapper(); +RDebugUtils.currentLine=13303885; + //BA.debugLineNum = 13303885;BA.debugLine="Private PB1 As ProgressBar"; +_pb1 = new anywheresoftware.b4a.objects.ProgressBarWrapper(); +RDebugUtils.currentLine=13303886; + //BA.debugLineNum = 13303886;BA.debugLine="Private L_P_1 As Label"; +_l_p_1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303887; + //BA.debugLineNum = 13303887;BA.debugLine="Private L_P_2 As Label"; +_l_p_2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303888; + //BA.debugLineNum = 13303888;BA.debugLine="Private L_P_3 As Label"; +_l_p_3 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303889; + //BA.debugLineNum = 13303889;BA.debugLine="Private CARGA As String"; +_carga = ""; +RDebugUtils.currentLine=13303890; + //BA.debugLineNum = 13303890;BA.debugLine="Private PORCENTAJE As String"; +_porcentaje = ""; +RDebugUtils.currentLine=13303891; + //BA.debugLineNum = 13303891;BA.debugLine="Private P_RESUMEN As Panel"; +_p_resumen = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13303892; + //BA.debugLineNum = 13303892;BA.debugLine="Private B_OK_RES As Button"; +_b_ok_res = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303893; + //BA.debugLineNum = 13303893;BA.debugLine="Private Resumen As Button"; +_resumen = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303894; + //BA.debugLineNum = 13303894;BA.debugLine="Private L_CUANTOST As Label"; +_l_cuantost = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303895; + //BA.debugLineNum = 13303895;BA.debugLine="Private img3 As ImageView"; +_img3 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=13303896; + //BA.debugLineNum = 13303896;BA.debugLine="Private ImageView3 As ImageView"; +_imageview3 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=13303897; + //BA.debugLineNum = 13303897;BA.debugLine="Private ImageView5 As ImageView"; +_imageview5 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=13303898; + //BA.debugLineNum = 13303898;BA.debugLine="Private L_TICKPROM As Label"; +_l_tickprom = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303899; + //BA.debugLineNum = 13303899;BA.debugLine="Private L_MARCAS As ListView"; +_l_marcas = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=13303900; + //BA.debugLineNum = 13303900;BA.debugLine="Private ImageView9 As ImageView"; +_imageview9 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=13303901; + //BA.debugLineNum = 13303901;BA.debugLine="Private E_RUTA2 As EditText"; +_e_ruta2 = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=13303902; + //BA.debugLineNum = 13303902;BA.debugLine="Private resdia As ImageView"; +_resdia = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=13303903; + //BA.debugLineNum = 13303903;BA.debugLine="Private hacer_ped As ImageView"; +_hacer_ped = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=13303904; + //BA.debugLineNum = 13303904;BA.debugLine="Private nvo_cliente As ImageView"; +_nvo_cliente = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=13303905; + //BA.debugLineNum = 13303905;BA.debugLine="Private tickets_dia As ImageView"; +_tickets_dia = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=13303906; + //BA.debugLineNum = 13303906;BA.debugLine="Private l_monto_ks As Label"; +_l_monto_ks = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303907; + //BA.debugLineNum = 13303907;BA.debugLine="Private l_monto_kp As Label"; +_l_monto_kp = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303908; + //BA.debugLineNum = 13303908;BA.debugLine="Private l_monto_k As Label"; +_l_monto_k = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303909; + //BA.debugLineNum = 13303909;BA.debugLine="Private l_monto_c1 As Label"; +_l_monto_c1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303910; + //BA.debugLineNum = 13303910;BA.debugLine="Private l_monto_c2 As Label"; +_l_monto_c2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303911; + //BA.debugLineNum = 13303911;BA.debugLine="Private l_monto_c3 As Label"; +_l_monto_c3 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303912; + //BA.debugLineNum = 13303912;BA.debugLine="Private l_encuesta As Label"; +_l_encuesta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303913; + //BA.debugLineNum = 13303913;BA.debugLine="Private bpv1 As BatteryProgressView"; +_bpv1 = new batteryprogressviewwrapper.batteryprogressviewWrapper(); +RDebugUtils.currentLine=13303914; + //BA.debugLineNum = 13303914;BA.debugLine="Dim batterystatus(11) As Int"; +_batterystatus = new int[(int) (11)]; +; +RDebugUtils.currentLine=13303915; + //BA.debugLineNum = 13303915;BA.debugLine="Private bu As BatteryUtilities"; +_bu = new SHARK2.keymon.com.mx.batteryutilities(); +RDebugUtils.currentLine=13303916; + //BA.debugLineNum = 13303916;BA.debugLine="Private L_NES As Label"; +_l_nes = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303917; + //BA.debugLineNum = 13303917;BA.debugLine="Private L_REAL As Label"; +_l_real = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303918; + //BA.debugLineNum = 13303918;BA.debugLine="Private L_ALCANCE As Label"; +_l_alcance = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303919; + //BA.debugLineNum = 13303919;BA.debugLine="Private L_VPLAN As Label"; +_l_vplan = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303920; + //BA.debugLineNum = 13303920;BA.debugLine="Private L_VREAL As Label"; +_l_vreal = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303921; + //BA.debugLineNum = 13303921;BA.debugLine="Private L_EFEC_VIS As Label"; +_l_efec_vis = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303922; + //BA.debugLineNum = 13303922;BA.debugLine="Private L_VISITCC As Label"; +_l_visitcc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303923; + //BA.debugLineNum = 13303923;BA.debugLine="Private L_EFEC_PV As Label"; +_l_efec_pv = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303924; + //BA.debugLineNum = 13303924;BA.debugLine="Private L_EFEC_PURA As Label"; +_l_efec_pura = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303925; + //BA.debugLineNum = 13303925;BA.debugLine="Private L_CTE_PROMO As Label"; +_l_cte_promo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303926; + //BA.debugLineNum = 13303926;BA.debugLine="Private L_REDEN_PROMO As Label"; +_l_reden_promo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303927; + //BA.debugLineNum = 13303927;BA.debugLine="Private L_LIN_TICK As Label"; +_l_lin_tick = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303928; + //BA.debugLineNum = 13303928;BA.debugLine="Private SCROLL_RESDIA As ScrollView"; +_scroll_resdia = new anywheresoftware.b4a.objects.ScrollViewWrapper(); +RDebugUtils.currentLine=13303929; + //BA.debugLineNum = 13303929;BA.debugLine="Private L_ACUMULADO As Label"; +_l_acumulado = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303930; + //BA.debugLineNum = 13303930;BA.debugLine="Private L_UNILEVER As Label"; +_l_unilever = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303931; + //BA.debugLineNum = 13303931;BA.debugLine="Private L_RECHAZOP As Label"; +_l_rechazop = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303932; + //BA.debugLineNum = 13303932;BA.debugLine="Private L_RECHAZOM As Label"; +_l_rechazom = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303933; + //BA.debugLineNum = 13303933;BA.debugLine="Private L_VTA_3MES As Label"; +_l_vta_3mes = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303934; + //BA.debugLineNum = 13303934;BA.debugLine="Private L_VTA_2MES As Label"; +_l_vta_2mes = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303935; + //BA.debugLineNum = 13303935;BA.debugLine="Private L_VTA_1MES As Label"; +_l_vta_1mes = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303936; + //BA.debugLineNum = 13303936;BA.debugLine="Private L_MES_PY As Label"; +_l_mes_py = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303937; + //BA.debugLineNum = 13303937;BA.debugLine="Private L_FREC_DE_CREAL As Label"; +_l_frec_de_creal = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303938; + //BA.debugLineNum = 13303938;BA.debugLine="Private L_FREC_DE_COBJ As Label"; +_l_frec_de_cobj = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303939; + //BA.debugLineNum = 13303939;BA.debugLine="Private L_COB_VISIT As Label"; +_l_cob_visit = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303940; + //BA.debugLineNum = 13303940;BA.debugLine="Private L_VISIT_REAL As Label"; +_l_visit_real = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303941; + //BA.debugLineNum = 13303941;BA.debugLine="Private L_VISIT_PLAN As Label"; +_l_visit_plan = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303942; + //BA.debugLineNum = 13303942;BA.debugLine="Private L_ECO As Label"; +_l_eco = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303943; + //BA.debugLineNum = 13303943;BA.debugLine="Private L_COB_CCC As Label"; +_l_cob_ccc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303944; + //BA.debugLineNum = 13303944;BA.debugLine="Private L_CTES As Label"; +_l_ctes = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303945; + //BA.debugLineNum = 13303945;BA.debugLine="Private L_VPO_VTA As Label"; +_l_vpo_vta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303946; + //BA.debugLineNum = 13303946;BA.debugLine="Private L_VPO_OBJ As Label"; +_l_vpo_obj = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303947; + //BA.debugLineNum = 13303947;BA.debugLine="Private L_DS_VTA As Label"; +_l_ds_vta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303948; + //BA.debugLineNum = 13303948;BA.debugLine="Private L_DS_OBJ As Label"; +_l_ds_obj = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303949; + //BA.debugLineNum = 13303949;BA.debugLine="Private L_DRA_VTA As Label"; +_l_dra_vta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303950; + //BA.debugLineNum = 13303950;BA.debugLine="Private L_DRA_OBJ As Label"; +_l_dra_obj = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303951; + //BA.debugLineNum = 13303951;BA.debugLine="Private L_ALCANCEM As Label"; +_l_alcancem = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303952; + //BA.debugLineNum = 13303952;BA.debugLine="Private L_TENDENCIA As Label"; +_l_tendencia = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303953; + //BA.debugLineNum = 13303953;BA.debugLine="Private L_VTA_ACUM As Label"; +_l_vta_acum = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303954; + //BA.debugLineNum = 13303954;BA.debugLine="Private L_OBJ_MES As Label"; +_l_obj_mes = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303955; + //BA.debugLineNum = 13303955;BA.debugLine="Private L_DS_OBJD As Label"; +_l_ds_objd = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303956; + //BA.debugLineNum = 13303956;BA.debugLine="Private L_DS_VTAD As Label"; +_l_ds_vtad = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303957; + //BA.debugLineNum = 13303957;BA.debugLine="Private LPT As String"; +_lpt = ""; +RDebugUtils.currentLine=13303958; + //BA.debugLineNum = 13303958;BA.debugLine="Private STEYIN As String"; +_steyin = ""; +RDebugUtils.currentLine=13303959; + //BA.debugLineNum = 13303959;BA.debugLine="Private STEYOUT As String"; +_steyout = ""; +RDebugUtils.currentLine=13303960; + //BA.debugLineNum = 13303960;BA.debugLine="Private L_PRIO As Label"; +_l_prio = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303961; + //BA.debugLineNum = 13303961;BA.debugLine="Private L_SECUND As Label"; +_l_secund = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303962; + //BA.debugLineNum = 13303962;BA.debugLine="Private L_COMP As Label"; +_l_comp = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303963; + //BA.debugLineNum = 13303963;BA.debugLine="Private stay_hh As String"; +_stay_hh = ""; +RDebugUtils.currentLine=13303964; + //BA.debugLineNum = 13303964;BA.debugLine="Private stay_mi As String"; +_stay_mi = ""; +RDebugUtils.currentLine=13303965; + //BA.debugLineNum = 13303965;BA.debugLine="Private stay_ss As String"; +_stay_ss = ""; +RDebugUtils.currentLine=13303966; + //BA.debugLineNum = 13303966;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=13303967; + //BA.debugLineNum = 13303967;BA.debugLine="Dim HORAINGRESO As String"; +_horaingreso = ""; +RDebugUtils.currentLine=13303968; + //BA.debugLineNum = 13303968;BA.debugLine="Private L_QUALA As Label"; +_l_quala = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303969; + //BA.debugLineNum = 13303969;BA.debugLine="Private L_FERRERO As Label"; +_l_ferrero = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303970; + //BA.debugLineNum = 13303970;BA.debugLine="Private L_SANMARCOS As Label"; +_l_sanmarcos = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303971; + //BA.debugLineNum = 13303971;BA.debugLine="Private L_CAMPARI As Label"; +_l_campari = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303972; + //BA.debugLineNum = 13303972;BA.debugLine="Private L_IBERIA As Label"; +_l_iberia = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303973; + //BA.debugLineNum = 13303973;BA.debugLine="Private L_BEPENSA As Label"; +_l_bepensa = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303974; + //BA.debugLineNum = 13303974;BA.debugLine="Private L_SCJ As Label"; +_l_scj = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303975; + //BA.debugLineNum = 13303975;BA.debugLine="Private L_MEDJ As Label"; +_l_medj = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303976; + //BA.debugLineNum = 13303976;BA.debugLine="Private L_DURACELL As Label"; +_l_duracell = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303977; + //BA.debugLineNum = 13303977;BA.debugLine="Private L_GUNA As Label"; +_l_guna = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303978; + //BA.debugLineNum = 13303978;BA.debugLine="Private L_KIMB As Label"; +_l_kimb = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303979; + //BA.debugLineNum = 13303979;BA.debugLine="Private L_TRESM As Label"; +_l_tresm = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303980; + //BA.debugLineNum = 13303980;BA.debugLine="Private L_REDB As Label"; +_l_redb = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303981; + //BA.debugLineNum = 13303981;BA.debugLine="Private Btn_Ubicar As Button"; +_btn_ubicar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303982; + //BA.debugLineNum = 13303982;BA.debugLine="Private B_COMM As Button"; +_b_comm = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303983; + //BA.debugLineNum = 13303983;BA.debugLine="Private L_TOTAL_MM As Label"; +_l_total_mm = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303984; + //BA.debugLineNum = 13303984;BA.debugLine="Private L_TOTAL_VIVE As Label"; +_l_total_vive = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303985; + //BA.debugLineNum = 13303985;BA.debugLine="Private L_TOTAL_GUNA As Label"; +_l_total_guna = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303986; + //BA.debugLineNum = 13303986;BA.debugLine="Private L_TOTAL_BA As Label"; +_l_total_ba = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303987; + //BA.debugLineNum = 13303987;BA.debugLine="Private L_TOTAL_COMIS As Label"; +_l_total_comis = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303988; + //BA.debugLineNum = 13303988;BA.debugLine="Private L_TOTAL_MM_1 As Label"; +_l_total_mm_1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303989; + //BA.debugLineNum = 13303989;BA.debugLine="Private L_TOTAL_VIVE_1 As Label"; +_l_total_vive_1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303990; + //BA.debugLineNum = 13303990;BA.debugLine="Private L_TOTAL_GUNA_1 As Label"; +_l_total_guna_1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303991; + //BA.debugLineNum = 13303991;BA.debugLine="Private L_TOTAL_BA_1 As Label"; +_l_total_ba_1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303992; + //BA.debugLineNum = 13303992;BA.debugLine="Private L_TOTAL_COMIS_1 As Label"; +_l_total_comis_1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13303993; + //BA.debugLineNum = 13303993;BA.debugLine="Private B_OK_COMISS As Button"; +_b_ok_comiss = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13303994; + //BA.debugLineNum = 13303994;BA.debugLine="Private Panel_C As Panel"; +_panel_c = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13303995; + //BA.debugLineNum = 13303995;BA.debugLine="Private TitleHeight As Int = 50dip"; +_titleheight = __c.DipToCurrent((int) (50)); +RDebugUtils.currentLine=13303996; + //BA.debugLineNum = 13303996;BA.debugLine="Private Title2Height As Int = 100dip"; +_title2height = __c.DipToCurrent((int) (100)); +RDebugUtils.currentLine=13303997; + //BA.debugLineNum = 13303997;BA.debugLine="Private DividerHeight As Int = 5dip"; +_dividerheight = __c.DipToCurrent((int) (5)); +RDebugUtils.currentLine=13303998; + //BA.debugLineNum = 13303998;BA.debugLine="Private CLV1 As CustomListView"; +_clv1 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=13303999; + //BA.debugLineNum = 13303999;BA.debugLine="Private pnlTitle As B4XView"; +_pnltitle = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=13304000; + //BA.debugLineNum = 13304000;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=13304001; + //BA.debugLineNum = 13304001;BA.debugLine="Type TitleData (Title As String)"; +; +RDebugUtils.currentLine=13304002; + //BA.debugLineNum = 13304002;BA.debugLine="Private B_MARCAS As Button"; +_b_marcas = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13304003; + //BA.debugLineNum = 13304003;BA.debugLine="Private Panel5 As Panel"; +_panel5 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304004; + //BA.debugLineNum = 13304004;BA.debugLine="Private lblTitle As Label"; +_lbltitle = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304005; + //BA.debugLineNum = 13304005;BA.debugLine="Private B_OK_PANEL5 As Button"; +_b_ok_panel5 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13304006; + //BA.debugLineNum = 13304006;BA.debugLine="Private p_principal As Panel"; +_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304007; + //BA.debugLineNum = 13304007;BA.debugLine="Private p_mandaInfo As Panel"; +_p_mandainfo = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304008; + //BA.debugLineNum = 13304008;BA.debugLine="Dim s As Cursor"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=13304009; + //BA.debugLineNum = 13304009;BA.debugLine="Private Label22 As Label"; +_label22 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304010; + //BA.debugLineNum = 13304010;BA.debugLine="Private l_rutasuplencia As Label"; +_l_rutasuplencia = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304011; + //BA.debugLineNum = 13304011;BA.debugLine="Dim userpiezas As String"; +_userpiezas = ""; +RDebugUtils.currentLine=13304012; + //BA.debugLineNum = 13304012;BA.debugLine="Private b_abordo As Button"; +_b_abordo = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13304013; + //BA.debugLineNum = 13304013;BA.debugLine="Private L_ABORDO As Label"; +_l_abordo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304014; + //BA.debugLineNum = 13304014;BA.debugLine="Private L_VENTA As Label"; +_l_venta = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304015; + //BA.debugLineNum = 13304015;BA.debugLine="Private L_PREVENTA As Label"; +_l_preventa = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304016; + //BA.debugLineNum = 13304016;BA.debugLine="Private p_abordo As Panel"; +_p_abordo = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304017; + //BA.debugLineNum = 13304017;BA.debugLine="Private Panel11 As Panel"; +_panel11 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304018; + //BA.debugLineNum = 13304018;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView"; +_clv_pick_ciego = new b4a.example3.customlistview(); +RDebugUtils.currentLine=13304019; + //BA.debugLineNum = 13304019;BA.debugLine="Private P_PICK_CIEGO As Panel"; +_p_pick_ciego = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304020; + //BA.debugLineNum = 13304020;BA.debugLine="Dim ET_PICK_CIEGO As EditText"; +_et_pick_ciego = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=13304021; + //BA.debugLineNum = 13304021;BA.debugLine="Private L_PICK_CIEGO As Label"; +_l_pick_ciego = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304022; + //BA.debugLineNum = 13304022;BA.debugLine="Private P_CIEGO As Panel"; +_p_ciego = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304023; + //BA.debugLineNum = 13304023;BA.debugLine="Dim Panel4 As Panel"; +_panel4 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304024; + //BA.debugLineNum = 13304024;BA.debugLine="Dim q_buscar As String"; +_q_buscar = ""; +RDebugUtils.currentLine=13304025; + //BA.debugLineNum = 13304025;BA.debugLine="Private et_buspc As EditText"; +_et_buspc = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=13304026; + //BA.debugLineNum = 13304026;BA.debugLine="Private b_tabulador As Button"; +_b_tabulador = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13304027; + //BA.debugLineNum = 13304027;BA.debugLine="Private p_b_tabulador As Panel"; +_p_b_tabulador = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304028; + //BA.debugLineNum = 13304028;BA.debugLine="Private pnlCobranza As Panel"; +_pnlcobranza = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304029; + //BA.debugLineNum = 13304029;BA.debugLine="Private clvCobranza As CustomListView"; +_clvcobranza = new b4a.example3.customlistview(); +RDebugUtils.currentLine=13304030; + //BA.debugLineNum = 13304030;BA.debugLine="Private pnlBtnCobranza As Panel"; +_pnlbtncobranza = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304031; + //BA.debugLineNum = 13304031;BA.debugLine="Private btnCobranza As Button"; +_btncobranza = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13304032; + //BA.debugLineNum = 13304032;BA.debugLine="Private pnlBtnRegresar As Panel"; +_pnlbtnregresar = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304033; + //BA.debugLineNum = 13304033;BA.debugLine="Private btnRegresar As Button"; +_btnregresar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13304034; + //BA.debugLineNum = 13304034;BA.debugLine="Private l_Secuencia As Label"; +_l_secuencia = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304035; + //BA.debugLineNum = 13304035;BA.debugLine="Dim pnlContenedorCobranza As Panel"; +_pnlcontenedorcobranza = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304036; + //BA.debugLineNum = 13304036;BA.debugLine="Private l_Nombre As Label"; +_l_nombre = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304037; + //BA.debugLineNum = 13304037;BA.debugLine="Private l_CuentaXCobrar As Label"; +_l_cuentaxcobrar = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304038; + //BA.debugLineNum = 13304038;BA.debugLine="Private l_Abono As Label"; +_l_abono = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304039; + //BA.debugLineNum = 13304039;BA.debugLine="Private pnlCabecero As Panel"; +_pnlcabecero = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304040; + //BA.debugLineNum = 13304040;BA.debugLine="Private lblAbono As Label"; +_lblabono = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304041; + //BA.debugLineNum = 13304041;BA.debugLine="Private lblSaldo As Label"; +_lblsaldo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304042; + //BA.debugLineNum = 13304042;BA.debugLine="Private lblCliente As Label"; +_lblcliente = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304043; + //BA.debugLineNum = 13304043;BA.debugLine="Private lblSec As Label"; +_lblsec = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304044; + //BA.debugLineNum = 13304044;BA.debugLine="Private pnlTotal As Panel"; +_pnltotal = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304045; + //BA.debugLineNum = 13304045;BA.debugLine="Private lblTotal As Label"; +_lbltotal = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304046; + //BA.debugLineNum = 13304046;BA.debugLine="Private lblVersion As Label"; +_lblversion = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=13304047; + //BA.debugLineNum = 13304047;BA.debugLine="Dim lista_punta As List"; +_lista_punta = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=13304048; + //BA.debugLineNum = 13304048;BA.debugLine="Private p_prod As Panel"; +_p_prod = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=13304049; + //BA.debugLineNum = 13304049;BA.debugLine="Private lv_prod_Prin As ListView"; +_lv_prod_prin = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=13304050; + //BA.debugLineNum = 13304050;BA.debugLine="Private b_regreso As Button"; +_b_regreso = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13304051; + //BA.debugLineNum = 13304051;BA.debugLine="Private b_productos As Button"; +_b_productos = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=13304053; + //BA.debugLineNum = 13304053;BA.debugLine="End Sub"; +return ""; +} +public String _connecta_click(SHARK2.keymon.com.mx.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=14155776; + //BA.debugLineNum = 14155776;BA.debugLine="Sub connecta_Click"; +RDebugUtils.currentLine=14155777; + //BA.debugLineNum = 14155777;BA.debugLine="Log( Starter.DBReqServer)"; +__c.LogImpl("514155777",_starter._dbreqserver /*String*/ ,0); +RDebugUtils.currentLine=14155778; + //BA.debugLineNum = 14155778;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (null,ba,this,_starter._dbreqserver /*String*/ ); +RDebugUtils.currentLine=14155779; + //BA.debugLineNum = 14155779;BA.debugLine="ime.HideKeyboard"; +__ref._ime /*anywheresoftware.b4a.objects.IME*/ .HideKeyboard(ba); +RDebugUtils.currentLine=14155780; + //BA.debugLineNum = 14155780;BA.debugLine="connecta1 = connecta1 + 1"; +__ref._connecta1 /*double*/ = __ref._connecta1 /*double*/ +1; +RDebugUtils.currentLine=14155782; + //BA.debugLineNum = 14155782;BA.debugLine="imei = \"xxxx\""; +__ref._imei /*String*/ = "xxxx"; +RDebugUtils.currentLine=14155783; + //BA.debugLineNum = 14155783;BA.debugLine="conn = \"1\""; +__ref._conn /*String*/ = "1"; +RDebugUtils.currentLine=14155803; + //BA.debugLineNum = 14155803;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14155804; + //BA.debugLineNum = 14155804;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14155806; + //BA.debugLineNum = 14155806;BA.debugLine="cmd.Name = \"select_ruta_SHARK23\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_ruta_SHARK23"; +RDebugUtils.currentLine=14155807; + //BA.debugLineNum = 14155807;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta."; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())}; +RDebugUtils.currentLine=14155809; + //BA.debugLineNum = 14155809;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("ruta")); +RDebugUtils.currentLine=14155811; + //BA.debugLineNum = 14155811;BA.debugLine="If e_ruta.Text = \"KMTS1\" Then"; +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("KMTS1")) { +RDebugUtils.currentLine=14155812; + //BA.debugLineNum = 14155812;BA.debugLine="cargar.Visible = True"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14155813; + //BA.debugLineNum = 14155813;BA.debugLine="Subir.Visible = True"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14155814; + //BA.debugLineNum = 14155814;BA.debugLine="e_ruta.Text = \"\""; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }; +RDebugUtils.currentLine=14155817; + //BA.debugLineNum = 14155817;BA.debugLine="If e_ruta.Text = \"BERNA1\" Then"; +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("BERNA1")) { +RDebugUtils.currentLine=14155818; + //BA.debugLineNum = 14155818;BA.debugLine="cargar.Visible = True"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14155819; + //BA.debugLineNum = 14155819;BA.debugLine="Subir.Visible = True"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14155820; + //BA.debugLineNum = 14155820;BA.debugLine="e_ruta.Text = \"\""; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }; +RDebugUtils.currentLine=14155823; + //BA.debugLineNum = 14155823;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Validando Conexión."),__c.True); +RDebugUtils.currentLine=14155839; + //BA.debugLineNum = 14155839;BA.debugLine="End Sub"; +return ""; +} +public String _e_ruta_enterpressed(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "e_ruta_enterpressed", false)) + {return ((String) Debug.delegate(ba, "e_ruta_enterpressed", null));} +RDebugUtils.currentLine=14352384; + //BA.debugLineNum = 14352384;BA.debugLine="Sub e_ruta_EnterPressed"; +RDebugUtils.currentLine=14352385; + //BA.debugLineNum = 14352385;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("FIN DIA")) { +RDebugUtils.currentLine=14352386; + //BA.debugLineNum = 14352386;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=14352387; + //BA.debugLineNum = 14352387;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; +if ((__ref._res /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=14352388; + //BA.debugLineNum = 14352388;BA.debugLine="e_ruta.Text = \"\""; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=14352389; + //BA.debugLineNum = 14352389;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_GIRO"); +RDebugUtils.currentLine=14352390; + //BA.debugLineNum = 14352390;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CLIENTE_NUEVO"); +RDebugUtils.currentLine=14352391; + //BA.debugLineNum = 14352391;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM GEOCERCA"); +RDebugUtils.currentLine=14352392; + //BA.debugLineNum = 14352392;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ATIENDE"); +RDebugUtils.currentLine=14352393; + //BA.debugLineNum = 14352393;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM GIROS_ACTUAL"); +RDebugUtils.currentLine=14352394; + //BA.debugLineNum = 14352394;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM COORDS_ALMACEN"); +RDebugUtils.currentLine=14352395; + //BA.debugLineNum = 14352395;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from COORDENADAS"); +RDebugUtils.currentLine=14352396; + //BA.debugLineNum = 14352396;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PICKCIEGO_HECHO"); +RDebugUtils.currentLine=14352397; + //BA.debugLineNum = 14352397;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente"); +RDebugUtils.currentLine=14352398; + //BA.debugLineNum = 14352398;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido"); +RDebugUtils.currentLine=14352399; + //BA.debugLineNum = 14352399;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PAGARES"); +RDebugUtils.currentLine=14352400; + //BA.debugLineNum = 14352400;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from noventa"); +RDebugUtils.currentLine=14352401; + //BA.debugLineNum = 14352401;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from clie_act"); +RDebugUtils.currentLine=14352402; + //BA.debugLineNum = 14352402;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); +RDebugUtils.currentLine=14352403; + //BA.debugLineNum = 14352403;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info2"); +RDebugUtils.currentLine=14352404; + //BA.debugLineNum = 14352404;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); +RDebugUtils.currentLine=14352405; + //BA.debugLineNum = 14352405;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2"); +RDebugUtils.currentLine=14352406; + //BA.debugLineNum = 14352406;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod3"); +RDebugUtils.currentLine=14352407; + //BA.debugLineNum = 14352407;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod4"); +RDebugUtils.currentLine=14352408; + //BA.debugLineNum = 14352408;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); +RDebugUtils.currentLine=14352409; + //BA.debugLineNum = 14352409;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); +RDebugUtils.currentLine=14352410; + //BA.debugLineNum = 14352410;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VERIFICACION"); +RDebugUtils.currentLine=14352411; + //BA.debugLineNum = 14352411;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_ENCUESTA"); +RDebugUtils.currentLine=14352412; + //BA.debugLineNum = 14352412;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_STAY_OUT"); +RDebugUtils.currentLine=14352413; + //BA.debugLineNum = 14352413;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); +RDebugUtils.currentLine=14352414; + //BA.debugLineNum = 14352414;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_FACE"); +RDebugUtils.currentLine=14352415; + //BA.debugLineNum = 14352415;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)"); +RDebugUtils.currentLine=14352416; + //BA.debugLineNum = 14352416;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_CODIGO_BARRAS"); +RDebugUtils.currentLine=14352417; + //BA.debugLineNum = 14352417;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP"); +RDebugUtils.currentLine=14352418; + //BA.debugLineNum = 14352418;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOS"); +RDebugUtils.currentLine=14352419; + //BA.debugLineNum = 14352419;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PICK_CIEGO"); +RDebugUtils.currentLine=14352420; + //BA.debugLineNum = 14352420;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTA_SUPLENCIA"); +RDebugUtils.currentLine=14352421; + //BA.debugLineNum = 14352421;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); +RDebugUtils.currentLine=14352422; + //BA.debugLineNum = 14352422;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CLIENTES_NUEVOS"); +RDebugUtils.currentLine=14352423; + //BA.debugLineNum = 14352423;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_MONEDAS"); +RDebugUtils.currentLine=14352424; + //BA.debugLineNum = 14352424;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADO"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_BILLETES"); +RDebugUtils.currentLine=14352425; + //BA.debugLineNum = 14352425;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENV_MONTO_LIQ"); +RDebugUtils.currentLine=14352426; + //BA.debugLineNum = 14352426;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14352427; + //BA.debugLineNum = 14352427;BA.debugLine="l_rutasuplencia.Visible = False"; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14352428; + //BA.debugLineNum = 14352428;BA.debugLine="Label22.Visible = False"; +__ref._label22 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14352429; + //BA.debugLineNum = 14352429;BA.debugLine="l_rutasuplencia.Text = \"\""; +__ref._l_rutasuplencia /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); + }; + }; +RDebugUtils.currentLine=14352432; + //BA.debugLineNum = 14352432;BA.debugLine="If e_ruta.Text = \"IWL\" Then"; +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("IWL")) { +RDebugUtils.currentLine=14352434; + //BA.debugLineNum = 14352434;BA.debugLine="NUEVO.Visible =False"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14352435; + //BA.debugLineNum = 14352435;BA.debugLine="BUSCA.Visible=False"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14352436; + //BA.debugLineNum = 14352436;BA.debugLine="connecta.Visible=False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14352437; + //BA.debugLineNum = 14352437;BA.debugLine="img3.Visible =True"; +__ref._img3 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14352438; + //BA.debugLineNum = 14352438;BA.debugLine="Resumen.Visible= False"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=14352440; + //BA.debugLineNum = 14352440;BA.debugLine="If e_ruta.Text = \"SUPLENCIA\" Then"; +if ((__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("SUPLENCIA")) { +RDebugUtils.currentLine=14352441; + //BA.debugLineNum = 14352441;BA.debugLine="E_RUTA2.Visible = True"; +__ref._e_ruta2 /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14352442; + //BA.debugLineNum = 14352442;BA.debugLine="Panel11.Visible = True"; +__ref._panel11 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14352444; + //BA.debugLineNum = 14352444;BA.debugLine="e_ruta.Text= \"\""; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); + }; +RDebugUtils.currentLine=14352446; + //BA.debugLineNum = 14352446;BA.debugLine="End Sub"; +return ""; +} +public String _e_ruta_textchanged(SHARK2.keymon.com.mx.c_principal __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "e_ruta_textchanged", false)) + {return ((String) Debug.delegate(ba, "e_ruta_textchanged", new Object[] {_old,_new}));} +String _validchars = ""; +RDebugUtils.currentLine=15335424; + //BA.debugLineNum = 15335424;BA.debugLine="Sub e_ruta_TextChanged (Old As String, New As Stri"; +RDebugUtils.currentLine=15335425; + //BA.debugLineNum = 15335425;BA.debugLine="Dim validChars As String =\"ABCDEFGHIJKLMNOPQRSTUV"; +_validchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 "; +RDebugUtils.currentLine=15335427; + //BA.debugLineNum = 15335427;BA.debugLine="If Old <> \"KMTS1\" Then"; +if ((_old).equals("KMTS1") == false) { +RDebugUtils.currentLine=15335429; + //BA.debugLineNum = 15335429;BA.debugLine="Try"; +try {RDebugUtils.currentLine=15335430; + //BA.debugLineNum = 15335430;BA.debugLine="If validChars.Contains(New.SubString(New.Length"; +if (_validchars.contains(_new.substring((int) (_new.length()-1)))==__c.False) { +RDebugUtils.currentLine=15335431; + //BA.debugLineNum = 15335431;BA.debugLine="e_ruta.Text = New.SubString2(0, New.Length-1)"; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_new.substring((int) (0),(int) (_new.length()-1)))); +RDebugUtils.currentLine=15335432; + //BA.debugLineNum = 15335432;BA.debugLine="e_ruta.SelectionStart = e_ruta.Text.Length"; +__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setSelectionStart(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText().length()); + }; + } + catch (Exception e9) { + ba.setLastException(e9);RDebugUtils.currentLine=15335435; + //BA.debugLineNum = 15335435;BA.debugLine="Log(LastException)"; +__c.LogImpl("515335435",BA.ObjectToString(__c.LastException(ba)),0); + }; + }; +RDebugUtils.currentLine=15335438; + //BA.debugLineNum = 15335438;BA.debugLine="End Sub"; +return ""; +} +public String _gettablecolumnlistname(SHARK2.keymon.com.mx.c_principal __ref,anywheresoftware.b4a.sql.SQL _db,String _table) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "gettablecolumnlistname", false)) + {return ((String) Debug.delegate(ba, "gettablecolumnlistname", new Object[] {_db,_table}));} +String _l = ""; +int _i = 0; +RDebugUtils.currentLine=13565952; + //BA.debugLineNum = 13565952;BA.debugLine="Sub getTableColumnListName(db As SQL, table As Str"; +RDebugUtils.currentLine=13565953; + //BA.debugLineNum = 13565953;BA.debugLine="Private l As String = \"\""; +_l = ""; +RDebugUtils.currentLine=13565954; + //BA.debugLineNum = 13565954;BA.debugLine="If chkIfTableExists(db, table) Then"; +if (__ref._chkiftableexists /*boolean*/ (null,_db,_table)) { +RDebugUtils.currentLine=13565955; + //BA.debugLineNum = 13565955;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"p"; +_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(("pragma table_info("+__c.SmartStringFormatter("",(Object)(_table))+")")))); +RDebugUtils.currentLine=13565956; + //BA.debugLineNum = 13565956;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=13565957; + //BA.debugLineNum = 13565957;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=13565958; + //BA.debugLineNum = 13565958;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=13565959; + //BA.debugLineNum = 13565959;BA.debugLine="If l.Length = 0 Then"; +if (_l.length()==0) { +RDebugUtils.currentLine=13565960; + //BA.debugLineNum = 13565960;BA.debugLine="l = $\"${c.GetString(\"name\")}\"$"; +_l = (""+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("name")))+""); + }else { +RDebugUtils.currentLine=13565962; + //BA.debugLineNum = 13565962;BA.debugLine="l = $\"${l}, ${c.GetString(\"name\")}\"$"; +_l = (""+__c.SmartStringFormatter("",(Object)(_l))+", "+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("name")))+""); + }; + } +}; + }; + }else { +RDebugUtils.currentLine=13565967; + //BA.debugLineNum = 13565967;BA.debugLine="Return \"No existe la tabla.\""; +if (true) return "No existe la tabla."; + }; +RDebugUtils.currentLine=13565969; + //BA.debugLineNum = 13565969;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13565970; + //BA.debugLineNum = 13565970;BA.debugLine="Return l"; +if (true) return _l; +RDebugUtils.currentLine=13565971; + //BA.debugLineNum = 13565971;BA.debugLine="End Sub"; +return ""; +} +public String _hacer_ped_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "hacer_ped_click", false)) + {return ((String) Debug.delegate(ba, "hacer_ped_click", null));} +RDebugUtils.currentLine=15007744; + //BA.debugLineNum = 15007744;BA.debugLine="Sub hacer_ped_Click"; +RDebugUtils.currentLine=15007745; + //BA.debugLineNum = 15007745;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; +_b4xpages._showpage /*String*/ (ba,"Clientes"); +RDebugUtils.currentLine=15007746; + //BA.debugLineNum = 15007746;BA.debugLine="End Sub"; +return ""; +} +public String _inv_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "inv_click", false)) + {return ((String) Debug.delegate(ba, "inv_click", null));} +RDebugUtils.currentLine=14417920; + //BA.debugLineNum = 14417920;BA.debugLine="Sub inv_Click"; +RDebugUtils.currentLine=14417921; + //BA.debugLineNum = 14417921;BA.debugLine="img2.Visible =True"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14417922; + //BA.debugLineNum = 14417922;BA.debugLine="EJECUTANDO = 1"; +__ref._ejecutando /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14417923; + //BA.debugLineNum = 14417923;BA.debugLine="inve = 1"; +__ref._inve /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14417924; + //BA.debugLineNum = 14417924;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); +RDebugUtils.currentLine=14417925; + //BA.debugLineNum = 14417925;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2"); +RDebugUtils.currentLine=14417926; + //BA.debugLineNum = 14417926;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); +RDebugUtils.currentLine=14417927; + //BA.debugLineNum = 14417927;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=14417928; + //BA.debugLineNum = 14417928;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14417929; + //BA.debugLineNum = 14417929;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=14417930; + //BA.debugLineNum = 14417930;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14417931; + //BA.debugLineNum = 14417931;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14417932; + //BA.debugLineNum = 14417932;BA.debugLine="cmd.Name = \"select_cat_gunaprod_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_gunaprod_SHARK2"; +RDebugUtils.currentLine=14417933; + //BA.debugLineNum = 14417933;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14417934; + //BA.debugLineNum = 14417934;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprod")); +RDebugUtils.currentLine=14417935; + //BA.debugLineNum = 14417935;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14417936; + //BA.debugLineNum = 14417936;BA.debugLine="cmd.Name = \"select_cat_paquetes_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_paquetes_SHARK2"; +RDebugUtils.currentLine=14417937; + //BA.debugLineNum = 14417937;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14417938; + //BA.debugLineNum = 14417938;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprodp\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("gunaprodp")); +RDebugUtils.currentLine=14417940; + //BA.debugLineNum = 14417940;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14417941; + //BA.debugLineNum = 14417941;BA.debugLine="cmd.Name = \"select_cat_detallepa_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cat_detallepa_SHARK2"; +RDebugUtils.currentLine=14417942; + //BA.debugLineNum = 14417942;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ )}; +RDebugUtils.currentLine=14417943; + //BA.debugLineNum = 14417943;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"detallepaq\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("detallepaq")); +RDebugUtils.currentLine=14417945; + //BA.debugLineNum = 14417945;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14417946; + //BA.debugLineNum = 14417946;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14417947; + //BA.debugLineNum = 14417947;BA.debugLine="connecta.Visible = True"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14417948; + //BA.debugLineNum = 14417948;BA.debugLine="inv.Visible = False"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14417949; + //BA.debugLineNum = 14417949;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=14417950; + //BA.debugLineNum = 14417950;BA.debugLine="End Sub"; +return ""; +} +public String _iv_abordo_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "iv_abordo_click", false)) + {return ((String) Debug.delegate(ba, "iv_abordo_click", null));} +RDebugUtils.currentLine=15794176; + //BA.debugLineNum = 15794176;BA.debugLine="Private Sub iv_abordo_Click"; +RDebugUtils.currentLine=15794177; + //BA.debugLineNum = 15794177;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=15794178; + //BA.debugLineNum = 15794178;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)("0")})); +RDebugUtils.currentLine=15794179; + //BA.debugLineNum = 15794179;BA.debugLine="B4XPages.MainPage.tipo_venta = \"ABORDO\""; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "ABORDO"; +RDebugUtils.currentLine=15794180; + //BA.debugLineNum = 15794180;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; +_b4xpages._showpage /*String*/ (ba,"Productos"); +RDebugUtils.currentLine=15794181; + //BA.debugLineNum = 15794181;BA.debugLine="End Sub"; +return ""; +} +public String _jobdone(SHARK2.keymon.com.mx.c_principal __ref,SHARK2.keymon.com.mx.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} +SHARK2.keymon.com.mx.dbrequestmanager._dbresult _result = null; +Object[] _records = null; +String _k = ""; +String _n = ""; +String _giro = ""; +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_mtocompra = ""; +String _cat_cl_num_seriefisico = ""; +String _cat_cl_bcredito = ""; +String _cat_cl_limitecredito = ""; +String _cat_cl_giro = ""; +String _cat_cl_tipocliente = ""; +String _cat_cl_bcoordenadas = ""; +SHARK2.keymon.com.mx.dbrequestmanager._dbresult _resultado = null; +int _piezasexiste = 0; +String _pcnoarts = ""; +String _pcmonto = ""; +String _cat_cl_dias_visita = ""; +String _hist_ra_objmes = ""; +String _hist_ra_venta = ""; +String _hist_ra_tendencia = ""; +String _hist_ra_alcance = ""; +String _hisr_ra_draobj = ""; +String _hist_ra_dravta = ""; +String _hist_ra_dsobj = ""; +String _hist_ra_dsvta = ""; +String _hist_ra_vpoobj = ""; +String _hist_ra_vpovta = ""; +String _hist_ra_ctes = ""; +String _hist_ra_cobccc = ""; +String _hist_ra_eco = ""; +String _hist_ra_visitplan = ""; +String _hist_ra_visireal = ""; +String _hist_ra_cobvisit = ""; +String _hist_ra_freccompobj = ""; +String _hist_ra_freccomreal = ""; +String _hist_ra_ventames1 = ""; +String _hist_ra_ventames2 = ""; +String _hist_ra_ventames3 = ""; +String _hist_ra_ventames4 = ""; +String _hist_ra_rechazo = ""; +String _hist_ra_rechazoporcen = ""; +String _hist_ra_semana1 = ""; +String _hist_ra_semana1_dias = ""; +String _hist_ra_semana1_dra = ""; +String _hist_ra_semana2 = ""; +String _hist_ra_semana2_dias = ""; +String _hist_ra_semana2_dra = ""; +String _hist_ra_semana3 = ""; +String _hist_ra_semana3_dias = ""; +String _hist_ra_semana3_dra = ""; +String _hist_ra_semana4 = ""; +String _hist_ra_semana4_dias = ""; +String _hist_ra_semana4_dra = ""; +String _hist_ra_semana5 = ""; +String _hist_ra_semana5_dias = ""; +String _hist_ra_semana5_dra = ""; +String _hist_ra_semana1_lpt = ""; +String _hist_ra_semana2_lpt = ""; +String _hist_ra_semana3_lpt = ""; +String _hist_ra_semana4_lpt = ""; +String _hist_ra_semana5_lpt = ""; +String _hist_ra_ruta = ""; +String _hist_ra_idalmacen = ""; +String _hp_cliente = ""; +String _hp_codigo_promocion = ""; +String _hccp_cliente = ""; +String _hccp_promo = ""; +String _hccp_cant = ""; +String _cat_al_geocerca = ""; +String _cat_al_latitud = ""; +String _cat_al_longitud = ""; +String _hmc_marca = ""; +String _hmc_total = ""; +String _cat_pa_id = ""; +String _cat_pa_maxprom = ""; +String _cat_pa_maxpromrec = ""; +String _cat_pa_maxpromclie = ""; +String _cat_ve_idprod = ""; +String _cat_ve_nombre = ""; +String _cat_ve_orden = ""; +String _hvd_marca = ""; +String _clientes = ""; +String _hc_ruta = ""; +String _hc_cuota1 = ""; +String _hc_cuota2 = ""; +String _hc_cuota3 = ""; +String _hc_cuota4 = ""; +String _hc_cuota5 = ""; +String _hc_cuota6 = ""; +String _hc_meta1 = ""; +String _hc_meta2 = ""; +String _hc_meta3 = ""; +String _hc_meta4 = ""; +String _hc_meta5 = ""; +String _hc_meta6 = ""; +String _cat_gp_id = ""; +String _cat_gp_nombre = ""; +String _cat_gp_imp1 = ""; +String _cat_gp_imp2 = ""; +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; +String _cat_gp_dev = ""; +int _cat_gp_tipoprod = 0; +int _cat_gp_iniciativa = 0; +String _cat_gp_tipoprod2 = ""; +String _cat_gp_precio1 = ""; +String _cat_gp_precio2 = ""; +String _cat_gp_precio3 = ""; +String _cat_gp_precio4 = ""; +String _cat_gp_precio5 = ""; +String _cat_gp_precio6 = ""; +String _cat_gp_precio7 = ""; +String _cat_gp_precio8 = ""; +String _cat_gp_precio9 = ""; +String _cat_gp_precio10 = ""; +String _cat_gp_precio11 = ""; +String _cat_gp_presentacion1 = ""; +String _cat_gp_presentacion2 = ""; +String _cat_gp_presentacion3 = ""; +String _cat_gp_presentacion4 = ""; +String _cat_gp_presentacion5 = ""; +String _cat_gp_presentacion6 = ""; +String _cat_gp_presentacion7 = ""; +String _cat_gp_presentacion8 = ""; +String _cat_gp_presentacion9 = ""; +String _cat_gp_presentacion10 = ""; +String _cat_gp_presentacion11 = ""; +String _cat_gp_umv1 = ""; +String _cat_gp_umv2 = ""; +String _cat_gp_umv3 = ""; +String _cat_gp_umv4 = ""; +String _cat_gp_umv5 = ""; +String _cat_gp_umv6 = ""; +String _cat_gp_umv7 = ""; +String _cat_gp_umv8 = ""; +String _cat_gp_umv9 = ""; +String _cat_gp_umv10 = ""; +String _cat_gp_umv11 = ""; +String _cat_gp_dirigida1 = ""; +String _cat_gp_dirigida2 = ""; +String _cat_gp_dirigida3 = ""; +String _cat_gp_dirigida4 = ""; +String _cat_gp_dirigida5 = ""; +String _cat_gp_dirigida6 = ""; +String _cat_gp_dirigida7 = ""; +String _cat_gp_dirigida8 = ""; +String _cat_gp_dirigida9 = ""; +String _cat_gp_dirigida10 = ""; +String _cat_gp_dirigida11 = ""; +String _cat_gp_precio = ""; +float _cat_dp_precio4 = 0f; +int _cat_dp_conversion1 = 0; +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_cliente = ""; +String _hvd_pronombre = ""; +String _hvd_cant = ""; +String _hvd_costo_tot = ""; +String _cat_va_descripcion = ""; +String _cat_va_valor = ""; +int _cuantosp = 0; +int _cuantosc = 0; +int _cuantosn = 0; +String _cat_ve_version = ""; +String _valido = ""; +String _name2 = ""; +String _fecha_hoy = ""; +String _idcliente = ""; +String _telefono = ""; +int _index = 0; +String _nombre_user = ""; +RDebugUtils.currentLine=14024704; + //BA.debugLineNum = 14024704;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=14024705; + //BA.debugLineNum = 14024705;BA.debugLine="Log(\"JOBDONE PRINCIPAL\")"; +__c.LogImpl("514024705","JOBDONE PRINCIPAL",0); +RDebugUtils.currentLine=14024706; + //BA.debugLineNum = 14024706;BA.debugLine="If reqManager.reqsList.IsInitialized Then 'Si ten"; +if (__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) { +RDebugUtils.currentLine=14024707; + //BA.debugLineNum = 14024707;BA.debugLine="If reqManager.reqsList.IndexOf(Job.tag) <> -1 Th"; +if (__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ )!=-1) { +RDebugUtils.currentLine=14024708; + //BA.debugLineNum = 14024708;BA.debugLine="reqManager.reqsList.RemoveAt(reqManager.reqsLis"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ )); +RDebugUtils.currentLine=14024709; + //BA.debugLineNum = 14024709;BA.debugLine="LogColor($\">>>>>> Quitamos ${Job.tag}\"$, Colors"; +__c.LogImpl("514024709",(">>>>>> Quitamos "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),__c.Colors.Blue); + }; +RDebugUtils.currentLine=14024711; + //BA.debugLineNum = 14024711;BA.debugLine="LogColor(\">>>>>> \" & reqManager.reqsList.Size &"; +__c.LogImpl("514024711",">>>>>> "+BA.NumberToString(__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize())+" - "+BA.ObjectToString(__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ ),__c.Colors.Blue); + }; +RDebugUtils.currentLine=14024713; + //BA.debugLineNum = 14024713;BA.debugLine="If Job.Success = False Then"; +if (_job._success /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=14024714; + //BA.debugLineNum = 14024714;BA.debugLine="Log(\"ERROR\")"; +__c.LogImpl("514024714","ERROR",0); +RDebugUtils.currentLine=14024715; + //BA.debugLineNum = 14024715;BA.debugLine="LogColor(\"Error: \" & reqManager.HandleJob(Job).t"; +__c.LogImpl("514024715","Error: "+BA.ObjectToString(__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Red); +RDebugUtils.currentLine=14024716; + //BA.debugLineNum = 14024716;BA.debugLine="Log(\"ex\")"; +__c.LogImpl("514024716","ex",0); +RDebugUtils.currentLine=14024717; + //BA.debugLineNum = 14024717;BA.debugLine="Log(2)"; +__c.LogImpl("514024717",BA.NumberToString(2),0); + }else { +RDebugUtils.currentLine=14024720; + //BA.debugLineNum = 14024720;BA.debugLine="Log(3)"; +__c.LogImpl("514024720",BA.NumberToString(3),0); +RDebugUtils.currentLine=14024721; + //BA.debugLineNum = 14024721;BA.debugLine="Log(ALMACEN)"; +__c.LogImpl("514024721",__ref._almacen /*String*/ ,0); +RDebugUtils.currentLine=14024722; + //BA.debugLineNum = 14024722;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; +__c.LogImpl("514024722","JobDone: '"+BA.ObjectToString(__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.RGB((int) (0),(int) (160),(int) (0))); +RDebugUtils.currentLine=14024724; + //BA.debugLineNum = 14024724;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14024725; + //BA.debugLineNum = 14024725;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14024726; + //BA.debugLineNum = 14024726;BA.debugLine="If RESULT.Tag = \"update_gps\" Then"; +if ((_result.Tag /*Object*/ ).equals((Object)("update_gps"))) { +RDebugUtils.currentLine=14024727; + //BA.debugLineNum = 14024727;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group21 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen21 = group21.getSize() +;int index21 = 0; +; +for (; index21 < groupLen21;index21++){ +_records = (Object[])(group21.Get(index21)); +RDebugUtils.currentLine=14024728; + //BA.debugLineNum = 14024728;BA.debugLine="Log(\"==========================REGISTROS=\"&RE"; +__c.LogImpl("514024728","==========================REGISTROS="+BA.ObjectToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ),0); +RDebugUtils.currentLine=14024729; + //BA.debugLineNum = 14024729;BA.debugLine="For Each k As String In RESULT.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group23 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen23 = group23.getSize() +;int index23 = 0; +; +for (; index23 < groupLen23;index23++){ +_k = BA.ObjectToString(group23.Get(index23)); +RDebugUtils.currentLine=14024730; + //BA.debugLineNum = 14024730;BA.debugLine="Log(RESULT.Tag & \": \" & k & \": \" & records(R"; +__c.LogImpl("514024730",BA.ObjectToString(_result.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); + } +}; + } +}; + }; +RDebugUtils.currentLine=14024734; + //BA.debugLineNum = 14024734;BA.debugLine="If RESULT.Tag = \"ins_pedidos\" Then"; +if ((_result.Tag /*Object*/ ).equals((Object)("ins_pedidos"))) { +RDebugUtils.currentLine=14024735; + //BA.debugLineNum = 14024735;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group29 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen29 = group29.getSize() +;int index29 = 0; +; +for (; index29 < groupLen29;index29++){ +_records = (Object[])(group29.Get(index29)); +RDebugUtils.currentLine=14024736; + //BA.debugLineNum = 14024736;BA.debugLine="Log(\"==========================REGISTROS=\"&RE"; +__c.LogImpl("514024736","==========================REGISTROS="+BA.ObjectToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ),0); +RDebugUtils.currentLine=14024737; + //BA.debugLineNum = 14024737;BA.debugLine="For Each k As String In RESULT.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group31 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen31 = group31.getSize() +;int index31 = 0; +; +for (; index31 < groupLen31;index31++){ +_k = BA.ObjectToString(group31.Get(index31)); +RDebugUtils.currentLine=14024738; + //BA.debugLineNum = 14024738;BA.debugLine="Log(RESULT.Tag & \": \" & k & \": \" & records(R"; +__c.LogImpl("514024738",BA.ObjectToString(_result.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); + } +}; + } +}; + }; +RDebugUtils.currentLine=14024742; + //BA.debugLineNum = 14024742;BA.debugLine="If RESULT.Tag = \"usuarioA\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("usuarioA"))) { +RDebugUtils.currentLine=14024743; + //BA.debugLineNum = 14024743;BA.debugLine="Private n As String = \"Sin Usuario\""; +_n = "Sin Usuario"; +RDebugUtils.currentLine=14024744; + //BA.debugLineNum = 14024744;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group38 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen38 = group38.getSize() +;int index38 = 0; +; +for (; index38 < groupLen38;index38++){ +_records = (Object[])(group38.Get(index38)); +RDebugUtils.currentLine=14024745; + //BA.debugLineNum = 14024745;BA.debugLine="n = records(RESULT.Columns.Get(\"USUARIO\"))"; +_n = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("USUARIO"))))]); + } +}; +RDebugUtils.currentLine=14024747; + //BA.debugLineNum = 14024747;BA.debugLine="LogColor(\"**************************\"&n, Color"; +__c.LogImpl("514024747","**************************"+_n,__c.Colors.Green); +RDebugUtils.currentLine=14024748; + //BA.debugLineNum = 14024748;BA.debugLine="If n = \"OKActivo\" Then"; +if ((_n).equals("OKActivo")) { +RDebugUtils.currentLine=14024749; + //BA.debugLineNum = 14024749;BA.debugLine="Log(\"Usuario guardado en BD es 'Valido'\")"; +__c.LogImpl("514024749","Usuario guardado en BD es 'Valido'",0); + }else +{RDebugUtils.currentLine=14024750; + //BA.debugLineNum = 14024750;BA.debugLine="Else If n = \"OKExpirado\" Then"; +if ((_n).equals("OKExpirado")) { +RDebugUtils.currentLine=14024751; + //BA.debugLineNum = 14024751;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra"; +__c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba); +RDebugUtils.currentLine=14024752; + //BA.debugLineNum = 14024752;BA.debugLine="B4XPages.ShowPage(\"B4XMainPage\")"; +_b4xpages._showpage /*String*/ (ba,"B4XMainPage"); + }else +{RDebugUtils.currentLine=14024753; + //BA.debugLineNum = 14024753;BA.debugLine="Else If n = \"OKCancelado\" Then"; +if ((_n).equals("OKCancelado")) { +RDebugUtils.currentLine=14024754; + //BA.debugLineNum = 14024754;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administr"; +__c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba); +RDebugUtils.currentLine=14024755; + //BA.debugLineNum = 14024755;BA.debugLine="B4XPages.ShowPage(\"B4XMainPage\")"; +_b4xpages._showpage /*String*/ (ba,"B4XMainPage"); + }else { +RDebugUtils.currentLine=14024757; + //BA.debugLineNum = 14024757;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i"; +__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); +RDebugUtils.currentLine=14024758; + //BA.debugLineNum = 14024758;BA.debugLine="B4XPages.ShowPage(\"B4XMainPage\")"; +_b4xpages._showpage /*String*/ (ba,"B4XMainPage"); + }}} +; +RDebugUtils.currentLine=14024760; + //BA.debugLineNum = 14024760;BA.debugLine="Log(\"***************** \"&n)"; +__c.LogImpl("514024760","***************** "+_n,0); + }; + }; +RDebugUtils.currentLine=14024764; + //BA.debugLineNum = 14024764;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14024765; + //BA.debugLineNum = 14024765;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14024766; + //BA.debugLineNum = 14024766;BA.debugLine="If RESULT.Tag = \"giro\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("giro"))) { +RDebugUtils.currentLine=14024767; + //BA.debugLineNum = 14024767;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group60 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen60 = group60.getSize() +;int index60 = 0; +; +for (; index60 < groupLen60;index60++){ +_records = (Object[])(group60.Get(index60)); +RDebugUtils.currentLine=14024768; + //BA.debugLineNum = 14024768;BA.debugLine="Dim giro As String = records(RESULT.Columns."; +_giro = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GR_DESC"))))]); +RDebugUtils.currentLine=14024770; + //BA.debugLineNum = 14024770;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GIRO(GIRO) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_giro)})); + } +}; +RDebugUtils.currentLine=14024772; + //BA.debugLineNum = 14024772;BA.debugLine="If PB2.Progress = 0 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=14024773; + //BA.debugLineNum = 14024773;BA.debugLine="PB2.Progress = 30"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=14024774; + //BA.debugLineNum = 14024774;BA.debugLine="S_CP.Text = \"CARGANDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=14024775; + //BA.debugLineNum = 14024775;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=14024776; + //BA.debugLineNum = 14024776;BA.debugLine="PB2.Progress = 60"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=14024777; + //BA.debugLineNum = 14024777;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=14024778; + //BA.debugLineNum = 14024778;BA.debugLine="PB2.Progress = 100"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=14024779; + //BA.debugLineNum = 14024779;BA.debugLine="S_CP.Text = \"LISTO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} +; +RDebugUtils.currentLine=14024781; + //BA.debugLineNum = 14024781;BA.debugLine="Listo3 =1"; +__ref._listo3 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14024782; + //BA.debugLineNum = 14024782;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=14024783; + //BA.debugLineNum = 14024783;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14024784; + //BA.debugLineNum = 14024784;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14024785; + //BA.debugLineNum = 14024785;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }else +{RDebugUtils.currentLine=14024786; + //BA.debugLineNum = 14024786;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=14024787; + //BA.debugLineNum = 14024787;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14024788; + //BA.debugLineNum = 14024788;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14024789; + //BA.debugLineNum = 14024789;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }} +; + }; + }; +RDebugUtils.currentLine=14024795; + //BA.debugLineNum = 14024795;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14024796; + //BA.debugLineNum = 14024796;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14024797; + //BA.debugLineNum = 14024797;BA.debugLine="If RESULT.Tag = \"kmt_datos\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos"))) { +RDebugUtils.currentLine=14024798; + //BA.debugLineNum = 14024798;BA.debugLine="S_CC.TEXT = \"CARGANDO\""; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); +RDebugUtils.currentLine=14024799; + //BA.debugLineNum = 14024799;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group89 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen89 = group89.getSize() +;int index89 = 0; +; +for (; index89 < groupLen89;index89++){ +_records = (Object[])(group89.Get(index89)); +RDebugUtils.currentLine=14024800; + //BA.debugLineNum = 14024800;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=14024801; + //BA.debugLineNum = 14024801;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=14024802; + //BA.debugLineNum = 14024802;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=14024803; + //BA.debugLineNum = 14024803;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=14024804; + //BA.debugLineNum = 14024804;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=14024805; + //BA.debugLineNum = 14024805;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=14024806; + //BA.debugLineNum = 14024806;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=14024807; + //BA.debugLineNum = 14024807;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=14024808; + //BA.debugLineNum = 14024808;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=14024809; + //BA.debugLineNum = 14024809;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=14024810; + //BA.debugLineNum = 14024810;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=14024811; + //BA.debugLineNum = 14024811;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=14024812; + //BA.debugLineNum = 14024812;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=14024813; + //BA.debugLineNum = 14024813;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=14024814; + //BA.debugLineNum = 14024814;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=14024815; + //BA.debugLineNum = 14024815;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=14024816; + //BA.debugLineNum = 14024816;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=14024817; + //BA.debugLineNum = 14024817;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=14024818; + //BA.debugLineNum = 14024818;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; +_cat_cl_mtocompra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MTOCOMPRA"))))]); +RDebugUtils.currentLine=14024819; + //BA.debugLineNum = 14024819;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; +_cat_cl_num_seriefisico = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NUM_SERIEFISICO"))))]); +RDebugUtils.currentLine=14024820; + //BA.debugLineNum = 14024820;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=14024821; + //BA.debugLineNum = 14024821;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records("; +_cat_cl_limitecredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LIMITECREDITO"))))]); +RDebugUtils.currentLine=14024822; + //BA.debugLineNum = 14024822;BA.debugLine="Dim CAT_CL_GIRO As String = records(RESULT.Co"; +_cat_cl_giro = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_GIRO"))))]); +RDebugUtils.currentLine=14024824; + //BA.debugLineNum = 14024824;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE"; +_cat_cl_tipocliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TIPOCLIENTE"))))]); +RDebugUtils.currentLine=14024826; + //BA.debugLineNum = 14024826;BA.debugLine="Dim CAT_CL_BCOORDENADAS As String = 0"; +_cat_cl_bcoordenadas = BA.NumberToString(0); +RDebugUtils.currentLine=14024827; + //BA.debugLineNum = 14024827;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO, gestion,CAT_CL_BCOORDENADAS, CAT_CL_GIRO,CAT_CL_TIPOCLIENTE) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?,0,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_mtocompra),(Object)(_cat_cl_num_seriefisico),(Object)(_cat_cl_bcredito),(Object)(_cat_cl_limitecredito),(Object)(_cat_cl_bcoordenadas),(Object)(_cat_cl_giro),(Object)(_cat_cl_tipocliente)})); +RDebugUtils.currentLine=14024828; + //BA.debugLineNum = 14024828;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo)})); + } +}; +RDebugUtils.currentLine=14024830; + //BA.debugLineNum = 14024830;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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("0"),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)("VENTA ABORDO"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("NULL"),(Object)("null"),(Object)("NULL")})); +RDebugUtils.currentLine=14024831; + //BA.debugLineNum = 14024831;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_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("1"),(Object)(__ref._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)("VENTA RECARGA"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("NULL"),(Object)("null"),(Object)("NULL")})); +RDebugUtils.currentLine=14024832; + //BA.debugLineNum = 14024832;BA.debugLine="Listo1 = 1"; +__ref._listo1 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14024833; + //BA.debugLineNum = 14024833;BA.debugLine="S_CC.Text = \"LISTO\""; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); +RDebugUtils.currentLine=14024834; + //BA.debugLineNum = 14024834;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("Catalogo Clientes Actualizados."),__c.True);}; +RDebugUtils.currentLine=14024835; + //BA.debugLineNum = 14024835;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=14024836; + //BA.debugLineNum = 14024836;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14024837; + //BA.debugLineNum = 14024837;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14024838; + //BA.debugLineNum = 14024838;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }; + }; + }; +RDebugUtils.currentLine=14024843; + //BA.debugLineNum = 14024843;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14024844; + //BA.debugLineNum = 14024844;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14024845; + //BA.debugLineNum = 14024845;BA.debugLine="If resultado.Tag = \"piezas\" Then 'query tag"; +if ((_resultado.Tag /*Object*/ ).equals((Object)("piezas"))) { +RDebugUtils.currentLine=14024847; + //BA.debugLineNum = 14024847;BA.debugLine="Dim piezasexiste As Int"; +_piezasexiste = 0; +RDebugUtils.currentLine=14024849; + //BA.debugLineNum = 14024849;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group134 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen134 = group134.getSize() +;int index134 = 0; +; +for (; index134 < groupLen134;index134++){ +_records = (Object[])(group134.Get(index134)); +RDebugUtils.currentLine=14024851; + //BA.debugLineNum = 14024851;BA.debugLine="piezasexiste = records(resultado.Columns.Get("; +_piezasexiste = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT(*)"))))])); +RDebugUtils.currentLine=14024852; + //BA.debugLineNum = 14024852;BA.debugLine="Log(piezasexiste)"; +__c.LogImpl("514024852",BA.NumberToString(_piezasexiste),0); +RDebugUtils.currentLine=14024853; + //BA.debugLineNum = 14024853;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=14024854; + //BA.debugLineNum = 14024854;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=14024855; + //BA.debugLineNum = 14024855;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=14024856; + //BA.debugLineNum = 14024856;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=14024858; + //BA.debugLineNum = 14024858;BA.debugLine="If piezasexiste = 0 Then"; +if (_piezasexiste==0) { +RDebugUtils.currentLine=14024860; + //BA.debugLineNum = 14024860;BA.debugLine="Dim PCNoArts As String"; +_pcnoarts = ""; +RDebugUtils.currentLine=14024861; + //BA.debugLineNum = 14024861;BA.debugLine="Dim PCMonto As String"; +_pcmonto = ""; +RDebugUtils.currentLine=14024862; + //BA.debugLineNum = 14024862;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"SELEC"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ? AND PC_CLIENTE <> 1",new String[]{__ref._userpiezas /*String*/ }))); +RDebugUtils.currentLine=14024864; + //BA.debugLineNum = 14024864;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14024865; + //BA.debugLineNum = 14024865;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14024866; + //BA.debugLineNum = 14024866;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +_pcnoarts = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"); +RDebugUtils.currentLine=14024867; + //BA.debugLineNum = 14024867;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +_pcmonto = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"); + }; +RDebugUtils.currentLine=14024870; + //BA.debugLineNum = 14024870;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=14024871; + //BA.debugLineNum = 14024871;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14024872; + //BA.debugLineNum = 14024872;BA.debugLine="cmd.Name = \"insert_HVC_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_HVC_SHARK2"; +RDebugUtils.currentLine=14024873; + //BA.debugLineNum = 14024873;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)((__ref._sdate /*String*/ +" "+__ref._stime /*String*/ )),(Object)(__ref._userpiezas /*String*/ ),(Object)(_pcnoarts),(Object)(_pcmonto),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=14024874; + //BA.debugLineNum = 14024874;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insert_hvc\""; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("insert_hvc")); + }; + } +}; + }; + }; +RDebugUtils.currentLine=14024886; + //BA.debugLineNum = 14024886;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14024887; + //BA.debugLineNum = 14024887;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14024888; + //BA.debugLineNum = 14024888;BA.debugLine="If RESULT.Tag = \"kmt_datos_todos\" Then 'query t"; +if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos_todos"))) { +RDebugUtils.currentLine=14024889; + //BA.debugLineNum = 14024889;BA.debugLine="S_CC.TEXT = \"CARGANDO\""; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); +RDebugUtils.currentLine=14024890; + //BA.debugLineNum = 14024890;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group163 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen163 = group163.getSize() +;int index163 = 0; +; +for (; index163 < groupLen163;index163++){ +_records = (Object[])(group163.Get(index163)); +RDebugUtils.currentLine=14024891; + //BA.debugLineNum = 14024891;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=14024892; + //BA.debugLineNum = 14024892;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=14024893; + //BA.debugLineNum = 14024893;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=14024894; + //BA.debugLineNum = 14024894;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=14024895; + //BA.debugLineNum = 14024895;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=14024896; + //BA.debugLineNum = 14024896;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=14024897; + //BA.debugLineNum = 14024897;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=14024898; + //BA.debugLineNum = 14024898;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=14024899; + //BA.debugLineNum = 14024899;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=14024900; + //BA.debugLineNum = 14024900;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=14024901; + //BA.debugLineNum = 14024901;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=14024902; + //BA.debugLineNum = 14024902;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=14024903; + //BA.debugLineNum = 14024903;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=14024904; + //BA.debugLineNum = 14024904;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=14024905; + //BA.debugLineNum = 14024905;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=14024906; + //BA.debugLineNum = 14024906;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=14024907; + //BA.debugLineNum = 14024907;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=14024908; + //BA.debugLineNum = 14024908;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=14024909; + //BA.debugLineNum = 14024909;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; +_cat_cl_mtocompra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MTOCOMPRA"))))]); +RDebugUtils.currentLine=14024910; + //BA.debugLineNum = 14024910;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; +_cat_cl_num_seriefisico = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NUM_SERIEFISICO"))))]); +RDebugUtils.currentLine=14024911; + //BA.debugLineNum = 14024911;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=14024912; + //BA.debugLineNum = 14024912;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records("; +_cat_cl_limitecredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LIMITECREDITO"))))]); +RDebugUtils.currentLine=14024913; + //BA.debugLineNum = 14024913;BA.debugLine="Dim CAT_CL_DIAS_VISITA As String = records(RE"; +_cat_cl_dias_visita = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_DIAS_VISITA"))))]); +RDebugUtils.currentLine=14024914; + //BA.debugLineNum = 14024914;BA.debugLine="Dim CAT_CL_GIRO As String = records(RESULT.Co"; +_cat_cl_giro = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_GIRO"))))]); +RDebugUtils.currentLine=14024915; + //BA.debugLineNum = 14024915;BA.debugLine="Dim CAT_CL_GIRO As String = records(RESULT.Co"; +_cat_cl_giro = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_GIRO"))))]); +RDebugUtils.currentLine=14024916; + //BA.debugLineNum = 14024916;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info2(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_DIAS_VISITA, CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO,CAT_CL_GIRO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0, ?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_mtocompra),(Object)(_cat_cl_num_seriefisico),(Object)(_cat_cl_dias_visita),(Object)(_cat_cl_bcredito),(Object)(_cat_cl_limitecredito),(Object)(_cat_cl_giro)})); +RDebugUtils.currentLine=14024917; + //BA.debugLineNum = 14024917;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo)})); + } +}; +RDebugUtils.currentLine=14024919; + //BA.debugLineNum = 14024919;BA.debugLine="Listo1 = 1"; +__ref._listo1 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14024920; + //BA.debugLineNum = 14024920;BA.debugLine="S_CC.Text = \"LISTO\""; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); +RDebugUtils.currentLine=14024921; + //BA.debugLineNum = 14024921;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("Catalogo Clientes Actualizados."),__c.True);}; +RDebugUtils.currentLine=14024922; + //BA.debugLineNum = 14024922;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=14024923; + //BA.debugLineNum = 14024923;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14024924; + //BA.debugLineNum = 14024924;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14024925; + //BA.debugLineNum = 14024925;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }; + }; + }; +RDebugUtils.currentLine=14024930; + //BA.debugLineNum = 14024930;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14024931; + //BA.debugLineNum = 14024931;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14024932; + //BA.debugLineNum = 14024932;BA.debugLine="If RESULT.Tag = \"resum_apk\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("resum_apk"))) { +RDebugUtils.currentLine=14024933; + //BA.debugLineNum = 14024933;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group205 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen205 = group205.getSize() +;int index205 = 0; +; +for (; index205 < groupLen205;index205++){ +_records = (Object[])(group205.Get(index205)); +RDebugUtils.currentLine=14024934; + //BA.debugLineNum = 14024934;BA.debugLine="Dim HIST_RA_OBJMES As String = records(RESULT"; +_hist_ra_objmes = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_OBJMES"))))]); +RDebugUtils.currentLine=14024935; + //BA.debugLineNum = 14024935;BA.debugLine="Dim HIST_RA_VENTA As String = records(RESULT."; +_hist_ra_venta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VENTA"))))]); +RDebugUtils.currentLine=14024936; + //BA.debugLineNum = 14024936;BA.debugLine="Dim HIST_RA_TENDENCIA As String = records(RES"; +_hist_ra_tendencia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_TENDENCIA"))))]); +RDebugUtils.currentLine=14024937; + //BA.debugLineNum = 14024937;BA.debugLine="Dim HIST_RA_ALCANCE As String = records(RESUL"; +_hist_ra_alcance = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_ALCANCE"))))]); +RDebugUtils.currentLine=14024938; + //BA.debugLineNum = 14024938;BA.debugLine="Dim HISR_RA_DRAOBJ As String = records(RESULT"; +_hisr_ra_draobj = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HISR_RA_DRAOBJ"))))]); +RDebugUtils.currentLine=14024939; + //BA.debugLineNum = 14024939;BA.debugLine="Dim HIST_RA_DRAVTA As String = records(RESULT"; +_hist_ra_dravta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_DRAVTA"))))]); +RDebugUtils.currentLine=14024940; + //BA.debugLineNum = 14024940;BA.debugLine="Dim HIST_RA_DSOBJ As String = records(RESULT."; +_hist_ra_dsobj = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_DSOBJ"))))]); +RDebugUtils.currentLine=14024941; + //BA.debugLineNum = 14024941;BA.debugLine="Dim HIST_RA_DSVTA As String = records(RESULT."; +_hist_ra_dsvta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_DSVTA"))))]); +RDebugUtils.currentLine=14024942; + //BA.debugLineNum = 14024942;BA.debugLine="Dim HIST_RA_VPOOBJ As String = records(RESULT"; +_hist_ra_vpoobj = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VPOOBJ"))))]); +RDebugUtils.currentLine=14024943; + //BA.debugLineNum = 14024943;BA.debugLine="Dim HIST_RA_VPOVTA As String = records(RESULT"; +_hist_ra_vpovta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VPOVTA"))))]); +RDebugUtils.currentLine=14024944; + //BA.debugLineNum = 14024944;BA.debugLine="Dim HIST_RA_CTES As String = records(RESULT.C"; +_hist_ra_ctes = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_CTES"))))]); +RDebugUtils.currentLine=14024945; + //BA.debugLineNum = 14024945;BA.debugLine="Dim HIST_RA_COBCCC As String = records(RESULT"; +_hist_ra_cobccc = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_COBCCC"))))]); +RDebugUtils.currentLine=14024946; + //BA.debugLineNum = 14024946;BA.debugLine="Dim HIST_RA_ECO As String = records(RESULT.Co"; +_hist_ra_eco = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_ECO"))))]); +RDebugUtils.currentLine=14024947; + //BA.debugLineNum = 14024947;BA.debugLine="Dim HIST_RA_VISITPLAN As String = records(RES"; +_hist_ra_visitplan = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VISITPLAN"))))]); +RDebugUtils.currentLine=14024948; + //BA.debugLineNum = 14024948;BA.debugLine="Dim HIST_RA_VISIREAL As String = records(RESU"; +_hist_ra_visireal = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VISIREAL"))))]); +RDebugUtils.currentLine=14024949; + //BA.debugLineNum = 14024949;BA.debugLine="Dim HIST_RA_COBVISIT As String = records(RESU"; +_hist_ra_cobvisit = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_COBVISIT"))))]); +RDebugUtils.currentLine=14024950; + //BA.debugLineNum = 14024950;BA.debugLine="Dim HIST_RA_FRECCOMPOBJ As String = records(R"; +_hist_ra_freccompobj = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_FRECCOMPOBJ"))))]); +RDebugUtils.currentLine=14024951; + //BA.debugLineNum = 14024951;BA.debugLine="Dim HIST_RA_FRECCOMREAL As String = records(R"; +_hist_ra_freccomreal = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_FRECCOMREAL"))))]); +RDebugUtils.currentLine=14024952; + //BA.debugLineNum = 14024952;BA.debugLine="Dim HIST_RA_VENTAMES1 As String = records(RES"; +_hist_ra_ventames1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VENTAMES1"))))]); +RDebugUtils.currentLine=14024953; + //BA.debugLineNum = 14024953;BA.debugLine="Dim HIST_RA_VENTAMES2 As String = records(RES"; +_hist_ra_ventames2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VENTAMES2"))))]); +RDebugUtils.currentLine=14024954; + //BA.debugLineNum = 14024954;BA.debugLine="Dim HIST_RA_VENTAMES3 As String = records(RES"; +_hist_ra_ventames3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VENTAMES3"))))]); +RDebugUtils.currentLine=14024955; + //BA.debugLineNum = 14024955;BA.debugLine="Dim HIST_RA_VENTAMES4 As String = records(RES"; +_hist_ra_ventames4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VENTAMES4"))))]); +RDebugUtils.currentLine=14024956; + //BA.debugLineNum = 14024956;BA.debugLine="Dim HIST_RA_RECHAZO As String = records(RESUL"; +_hist_ra_rechazo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_RECHAZO"))))]); +RDebugUtils.currentLine=14024957; + //BA.debugLineNum = 14024957;BA.debugLine="Dim HIST_RA_RECHAZOPORCEN As String = records"; +_hist_ra_rechazoporcen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_RECHAZOPORCEN"))))]); +RDebugUtils.currentLine=14024958; + //BA.debugLineNum = 14024958;BA.debugLine="Dim HIST_RA_SEMANA1 As String = records(RESUL"; +_hist_ra_semana1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA1"))))]); +RDebugUtils.currentLine=14024959; + //BA.debugLineNum = 14024959;BA.debugLine="Dim HIST_RA_SEMANA1_DIAS As String = records("; +_hist_ra_semana1_dias = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA1_DIAS"))))]); +RDebugUtils.currentLine=14024960; + //BA.debugLineNum = 14024960;BA.debugLine="Dim HIST_RA_SEMANA1_DRA As String = records(R"; +_hist_ra_semana1_dra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA1_DRA"))))]); +RDebugUtils.currentLine=14024961; + //BA.debugLineNum = 14024961;BA.debugLine="Dim HIST_RA_SEMANA2 As String = records(RESUL"; +_hist_ra_semana2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA2"))))]); +RDebugUtils.currentLine=14024962; + //BA.debugLineNum = 14024962;BA.debugLine="Dim HIST_RA_SEMANA2_DIAS As String = records("; +_hist_ra_semana2_dias = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA2_DIAS"))))]); +RDebugUtils.currentLine=14024963; + //BA.debugLineNum = 14024963;BA.debugLine="Dim HIST_RA_SEMANA2_DRA As String = records(R"; +_hist_ra_semana2_dra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA2_DRA"))))]); +RDebugUtils.currentLine=14024964; + //BA.debugLineNum = 14024964;BA.debugLine="Dim HIST_RA_SEMANA3 As String = records(RESUL"; +_hist_ra_semana3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA3"))))]); +RDebugUtils.currentLine=14024965; + //BA.debugLineNum = 14024965;BA.debugLine="Dim HIST_RA_SEMANA3_DIAS As String = records("; +_hist_ra_semana3_dias = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA3_DIAS"))))]); +RDebugUtils.currentLine=14024966; + //BA.debugLineNum = 14024966;BA.debugLine="Dim HIST_RA_SEMANA3_DRA As String = records(R"; +_hist_ra_semana3_dra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA3_DRA"))))]); +RDebugUtils.currentLine=14024967; + //BA.debugLineNum = 14024967;BA.debugLine="Dim HIST_RA_SEMANA4 As String = records(RESUL"; +_hist_ra_semana4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA4"))))]); +RDebugUtils.currentLine=14024968; + //BA.debugLineNum = 14024968;BA.debugLine="Dim HIST_RA_SEMANA4_DIAS As String = records("; +_hist_ra_semana4_dias = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA4_DIAS"))))]); +RDebugUtils.currentLine=14024969; + //BA.debugLineNum = 14024969;BA.debugLine="Dim HIST_RA_SEMANA4_DRA As String = records(R"; +_hist_ra_semana4_dra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA4_DRA"))))]); +RDebugUtils.currentLine=14024970; + //BA.debugLineNum = 14024970;BA.debugLine="Dim HIST_RA_SEMANA5 As String = records(RESUL"; +_hist_ra_semana5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA5"))))]); +RDebugUtils.currentLine=14024971; + //BA.debugLineNum = 14024971;BA.debugLine="Dim HIST_RA_SEMANA5_DIAS As String = records("; +_hist_ra_semana5_dias = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA5_DIAS"))))]); +RDebugUtils.currentLine=14024972; + //BA.debugLineNum = 14024972;BA.debugLine="Dim HIST_RA_SEMANA5_DRA As String = records(R"; +_hist_ra_semana5_dra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA5_DRA"))))]); +RDebugUtils.currentLine=14024973; + //BA.debugLineNum = 14024973;BA.debugLine="Dim HIST_RA_SEMANA1_LPT As String = records(R"; +_hist_ra_semana1_lpt = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA1_LPT"))))]); +RDebugUtils.currentLine=14024974; + //BA.debugLineNum = 14024974;BA.debugLine="Dim HIST_RA_SEMANA2_LPT As String = records(R"; +_hist_ra_semana2_lpt = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA2_LPT"))))]); +RDebugUtils.currentLine=14024975; + //BA.debugLineNum = 14024975;BA.debugLine="Dim HIST_RA_SEMANA3_LPT As String = records(R"; +_hist_ra_semana3_lpt = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA3_LPT"))))]); +RDebugUtils.currentLine=14024976; + //BA.debugLineNum = 14024976;BA.debugLine="Dim HIST_RA_SEMANA4_LPT As String = records(R"; +_hist_ra_semana4_lpt = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA4_LPT"))))]); +RDebugUtils.currentLine=14024977; + //BA.debugLineNum = 14024977;BA.debugLine="Dim HIST_RA_SEMANA5_LPT As String = records(R"; +_hist_ra_semana5_lpt = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA5_LPT"))))]); +RDebugUtils.currentLine=14024978; + //BA.debugLineNum = 14024978;BA.debugLine="Dim HIST_RA_RUTA As String = records(RESULT.C"; +_hist_ra_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_RUTA"))))]); +RDebugUtils.currentLine=14024979; + //BA.debugLineNum = 14024979;BA.debugLine="Dim HIST_RA_IDALMACEN As String = records(RES"; +_hist_ra_idalmacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_IDALMACEN"))))]); +RDebugUtils.currentLine=14024981; + //BA.debugLineNum = 14024981;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_RESUM_APK(HIST_RA_OBJMES,HIST_RA_VENTA,HIST_RA_TENDENCIA,HIST_RA_ALCANCE,HISR_RA_DRAOBJ,HIST_RA_DRAVTA,HIST_RA_DSOBJ,HIST_RA_DSVTA,HIST_RA_VPOOBJ,HIST_RA_VPOVTA,HIST_RA_CTES,HIST_RA_COBCCC,HIST_RA_ECO,HIST_RA_VISITPLAN,HIST_RA_VISIREAL,HIST_RA_COBVISIT,HIST_RA_FRECCOMPOBJ,HIST_RA_FRECCOMREAL,HIST_RA_VENTAMES1,HIST_RA_VENTAMES2,HIST_RA_VENTAMES3,HIST_RA_VENTAMES4,HIST_RA_RECHAZO,HIST_RA_RECHAZOPORCEN,HIST_RA_SEMANA1,HIST_RA_SEMANA1_DIAS,HIST_RA_SEMANA1_DRA,HIST_RA_SEMANA2,HIST_RA_SEMANA2_DIAS,HIST_RA_SEMANA2_DRA,HIST_RA_SEMANA3,HIST_RA_SEMANA3_DIAS,HIST_RA_SEMANA3_DRA,HIST_RA_SEMANA4,HIST_RA_SEMANA4_DIAS,HIST_RA_SEMANA4_DRA,HIST_RA_SEMANA5,HIST_RA_SEMANA5_DIAS,HIST_RA_SEMANA5_DRA,HIST_RA_SEMANA1_LPT,HIST_RA_SEMANA2_LPT,HIST_RA_SEMANA3_LPT,HIST_RA_SEMANA4_LPT,HIST_RA_SEMANA5_LPT,HIST_RA_RUTA,HIST_RA_IDALMACEN) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hist_ra_objmes),(Object)(_hist_ra_venta),(Object)(_hist_ra_tendencia),(Object)(_hist_ra_alcance),(Object)(_hisr_ra_draobj),(Object)(_hist_ra_dravta),(Object)(_hist_ra_dsobj),(Object)(_hist_ra_dsvta),(Object)(_hist_ra_vpoobj),(Object)(_hist_ra_vpovta),(Object)(_hist_ra_ctes),(Object)(_hist_ra_cobccc),(Object)(_hist_ra_eco),(Object)(_hist_ra_visitplan),(Object)(_hist_ra_visireal),(Object)(_hist_ra_cobvisit),(Object)(_hist_ra_freccompobj),(Object)(_hist_ra_freccomreal),(Object)(_hist_ra_ventames1),(Object)(_hist_ra_ventames2),(Object)(_hist_ra_ventames3),(Object)(_hist_ra_ventames4),(Object)(_hist_ra_rechazo),(Object)(_hist_ra_rechazoporcen),(Object)(_hist_ra_semana1),(Object)(_hist_ra_semana1_dias),(Object)(_hist_ra_semana1_dra),(Object)(_hist_ra_semana2),(Object)(_hist_ra_semana2_dias),(Object)(_hist_ra_semana2_dra),(Object)(_hist_ra_semana3),(Object)(_hist_ra_semana3_dias),(Object)(_hist_ra_semana3_dra),(Object)(_hist_ra_semana4),(Object)(_hist_ra_semana4_dias),(Object)(_hist_ra_semana4_dra),(Object)(_hist_ra_semana5),(Object)(_hist_ra_semana5_dias),(Object)(_hist_ra_semana5_dra),(Object)(_hist_ra_semana1_lpt),(Object)(_hist_ra_semana2_lpt),(Object)(_hist_ra_semana3_lpt),(Object)(_hist_ra_semana4_lpt),(Object)(_hist_ra_semana5_lpt),(Object)(_hist_ra_ruta),(Object)(_hist_ra_idalmacen)})); + } +}; +RDebugUtils.currentLine=14024984; + //BA.debugLineNum = 14024984;BA.debugLine="Listo1 = 1"; +__ref._listo1 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14024985; + //BA.debugLineNum = 14024985;BA.debugLine="S_CC.Text = \"LISTO\""; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); +RDebugUtils.currentLine=14024986; + //BA.debugLineNum = 14024986;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("Catalogo Resumen Actualizado."),__c.True);}; + }; + }; +RDebugUtils.currentLine=14024990; + //BA.debugLineNum = 14024990;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14024991; + //BA.debugLineNum = 14024991;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14024992; + //BA.debugLineNum = 14024992;BA.debugLine="If RESULT.Tag = \"hist_promos\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("hist_promos"))) { +RDebugUtils.currentLine=14024993; + //BA.debugLineNum = 14024993;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group262 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen262 = group262.getSize() +;int index262 = 0; +; +for (; index262 < groupLen262;index262++){ +_records = (Object[])(group262.Get(index262)); +RDebugUtils.currentLine=14024994; + //BA.debugLineNum = 14024994;BA.debugLine="Dim HP_CLIENTE As String = records(RESULT.Col"; +_hp_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HP_CLIENTE"))))]); +RDebugUtils.currentLine=14024995; + //BA.debugLineNum = 14024995;BA.debugLine="Dim HP_CODIGO_PROMOCION As String = records(R"; +_hp_codigo_promocion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HP_CODIGO_PROMOCION"))))]); +RDebugUtils.currentLine=14024996; + //BA.debugLineNum = 14024996;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PROMOS(HP_CLIENTE, HP_CODIGO_PROMOCION) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hp_cliente),(Object)(_hp_codigo_promocion)})); + } +}; +RDebugUtils.currentLine=14024998; + //BA.debugLineNum = 14024998;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("Historico Promociones Actualizado."),__c.True);}; +RDebugUtils.currentLine=14024999; + //BA.debugLineNum = 14024999;BA.debugLine="If PB1.Progress = 0 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=14025000; + //BA.debugLineNum = 14025000;BA.debugLine="PB1.Progress = 30"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=14025001; + //BA.debugLineNum = 14025001;BA.debugLine="S_CH.Text = \"CARGANDO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=14025002; + //BA.debugLineNum = 14025002;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=14025003; + //BA.debugLineNum = 14025003;BA.debugLine="PB1.Progress = 60"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=14025004; + //BA.debugLineNum = 14025004;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=14025005; + //BA.debugLineNum = 14025005;BA.debugLine="PB1.Progress = 100"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=14025006; + //BA.debugLineNum = 14025006;BA.debugLine="S_CH.Text = \"LISTO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} +; + }; + }; +RDebugUtils.currentLine=14025011; + //BA.debugLineNum = 14025011;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025012; + //BA.debugLineNum = 14025012;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025013; + //BA.debugLineNum = 14025013;BA.debugLine="If RESULT.Tag = \"hist_cliente_promos\" Then 'que"; +if ((_result.Tag /*Object*/ ).equals((Object)("hist_cliente_promos"))) { +RDebugUtils.currentLine=14025014; + //BA.debugLineNum = 14025014;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group282 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen282 = group282.getSize() +;int index282 = 0; +; +for (; index282 < groupLen282;index282++){ +_records = (Object[])(group282.Get(index282)); +RDebugUtils.currentLine=14025015; + //BA.debugLineNum = 14025015;BA.debugLine="Dim HCCP_CLIENTE As String = records(RESULT.C"; +_hccp_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCCP_CLIENTE"))))]); +RDebugUtils.currentLine=14025016; + //BA.debugLineNum = 14025016;BA.debugLine="Dim HCCP_PROMO As String = records(RESULT.Col"; +_hccp_promo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCCP_PROMO"))))]); +RDebugUtils.currentLine=14025017; + //BA.debugLineNum = 14025017;BA.debugLine="Dim HCCP_CANT As String = records(RESULT.Colu"; +_hccp_cant = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCCP_CANT"))))]); +RDebugUtils.currentLine=14025018; + //BA.debugLineNum = 14025018;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_CLIENTE_CANT_PROMOS(HCCP_CLIENTE, HCCP_PROMO, HCCP_CANT) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hccp_cliente),(Object)(_hccp_promo),(Object)(_hccp_cant)})); + } +}; +RDebugUtils.currentLine=14025020; + //BA.debugLineNum = 14025020;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence(" Historico Clientes Promociones Actualizado."),__c.True);}; + }; + }; +RDebugUtils.currentLine=14025024; + //BA.debugLineNum = 14025024;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025025; + //BA.debugLineNum = 14025025;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025026; + //BA.debugLineNum = 14025026;BA.debugLine="If RESULT.Tag = \"GEOCERCA\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("GEOCERCA"))) { +RDebugUtils.currentLine=14025027; + //BA.debugLineNum = 14025027;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group294 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen294 = group294.getSize() +;int index294 = 0; +; +for (; index294 < groupLen294;index294++){ +_records = (Object[])(group294.Get(index294)); +RDebugUtils.currentLine=14025028; + //BA.debugLineNum = 14025028;BA.debugLine="Dim CAT_AL_GEOCERCA As String = records(RESUL"; +_cat_al_geocerca = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_GEOCERCA"))))]); +RDebugUtils.currentLine=14025029; + //BA.debugLineNum = 14025029;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO GEOCERCA(ACTIVA) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_al_geocerca)})); + } +}; + }; + }; +RDebugUtils.currentLine=14025034; + //BA.debugLineNum = 14025034;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025035; + //BA.debugLineNum = 14025035;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025036; + //BA.debugLineNum = 14025036;BA.debugLine="If RESULT.Tag = \"coords_almacen\" Then 'query ta"; +if ((_result.Tag /*Object*/ ).equals((Object)("coords_almacen"))) { +RDebugUtils.currentLine=14025037; + //BA.debugLineNum = 14025037;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group303 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen303 = group303.getSize() +;int index303 = 0; +; +for (; index303 < groupLen303;index303++){ +_records = (Object[])(group303.Get(index303)); +RDebugUtils.currentLine=14025038; + //BA.debugLineNum = 14025038;BA.debugLine="Dim CAT_AL_LATITUD As String = records(RESULT"; +_cat_al_latitud = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))]); +RDebugUtils.currentLine=14025039; + //BA.debugLineNum = 14025039;BA.debugLine="Dim CAT_AL_LONGITUD As String = records(RESUL"; +_cat_al_longitud = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]); +RDebugUtils.currentLine=14025040; + //BA.debugLineNum = 14025040;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO COORDS_ALMACEN(LAT,LONG) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_al_latitud),(Object)(_cat_al_longitud)})); + } +}; + }; + }; +RDebugUtils.currentLine=14025045; + //BA.debugLineNum = 14025045;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025046; + //BA.debugLineNum = 14025046;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025047; + //BA.debugLineNum = 14025047;BA.debugLine="If RESULT.Tag = \"HIST_MARCAS_CUOTAS\" Then 'quer"; +if ((_result.Tag /*Object*/ ).equals((Object)("HIST_MARCAS_CUOTAS"))) { +RDebugUtils.currentLine=14025048; + //BA.debugLineNum = 14025048;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group313 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen313 = group313.getSize() +;int index313 = 0; +; +for (; index313 < groupLen313;index313++){ +_records = (Object[])(group313.Get(index313)); +RDebugUtils.currentLine=14025049; + //BA.debugLineNum = 14025049;BA.debugLine="Dim HMC_MARCA As String = records(RESULT.Colu"; +_hmc_marca = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HMC_MARCA"))))]); +RDebugUtils.currentLine=14025050; + //BA.debugLineNum = 14025050;BA.debugLine="Dim HMC_TOTAL As String = records(RESULT.Colu"; +_hmc_total = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HMC_TOTAL"))))]); +RDebugUtils.currentLine=14025051; + //BA.debugLineNum = 14025051;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_MARCAS_CUOTAS(HMC_MARCA, HMC_TOTAL) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hmc_marca),(Object)(_hmc_total)})); + } +}; +RDebugUtils.currentLine=14025053; + //BA.debugLineNum = 14025053;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence(" Historico Marcas"),__c.True);}; + }; + }; +RDebugUtils.currentLine=14025057; + //BA.debugLineNum = 14025057;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025058; + //BA.debugLineNum = 14025058;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025059; + //BA.debugLineNum = 14025059;BA.debugLine="If RESULT.Tag = \"hist_comp_promos\" Then 'query"; +if ((_result.Tag /*Object*/ ).equals((Object)("hist_comp_promos"))) { +RDebugUtils.currentLine=14025060; + //BA.debugLineNum = 14025060;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group324 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen324 = group324.getSize() +;int index324 = 0; +; +for (; index324 < groupLen324;index324++){ +_records = (Object[])(group324.Get(index324)); +RDebugUtils.currentLine=14025061; + //BA.debugLineNum = 14025061;BA.debugLine="Dim CAT_PA_ID As String = records(RESULT.Colu"; +_cat_pa_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_ID"))))]); +RDebugUtils.currentLine=14025062; + //BA.debugLineNum = 14025062;BA.debugLine="Dim CAT_PA_MAXPROM As String = records(RESULT"; +_cat_pa_maxprom = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROM"))))]); +RDebugUtils.currentLine=14025063; + //BA.debugLineNum = 14025063;BA.debugLine="Dim CAT_PA_MAXPROMREC As String = records(RES"; +_cat_pa_maxpromrec = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROMREC"))))]); +RDebugUtils.currentLine=14025064; + //BA.debugLineNum = 14025064;BA.debugLine="Dim CAT_PA_MAXPROMCLIE As String = records(RE"; +_cat_pa_maxpromclie = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROMCLIE"))))]); +RDebugUtils.currentLine=14025065; + //BA.debugLineNum = 14025065;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROMOS_COMP(CAT_PA_ID, CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_pa_id),(Object)(_cat_pa_maxprom),(Object)(_cat_pa_maxpromrec),(Object)(_cat_pa_maxpromclie)})); + } +}; +RDebugUtils.currentLine=14025067; + //BA.debugLineNum = 14025067;BA.debugLine="If PB1.Progress = 0 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=14025068; + //BA.debugLineNum = 14025068;BA.debugLine="PB1.Progress = 30"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=14025069; + //BA.debugLineNum = 14025069;BA.debugLine="S_CH.Text = \"CARGANDO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=14025070; + //BA.debugLineNum = 14025070;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=14025071; + //BA.debugLineNum = 14025071;BA.debugLine="PB1.Progress = 60"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=14025072; + //BA.debugLineNum = 14025072;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=14025073; + //BA.debugLineNum = 14025073;BA.debugLine="PB1.Progress = 100"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=14025074; + //BA.debugLineNum = 14025074;BA.debugLine="S_CH.Text = \"LISTO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} +; + }; + }; +RDebugUtils.currentLine=14025079; + //BA.debugLineNum = 14025079;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025080; + //BA.debugLineNum = 14025080;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025081; + //BA.debugLineNum = 14025081;BA.debugLine="If RESULT.Tag = \"cat_verificacion\" Then 'query"; +if ((_result.Tag /*Object*/ ).equals((Object)("cat_verificacion"))) { +RDebugUtils.currentLine=14025082; + //BA.debugLineNum = 14025082;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group345 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen345 = group345.getSize() +;int index345 = 0; +; +for (; index345 < groupLen345;index345++){ +_records = (Object[])(group345.Get(index345)); +RDebugUtils.currentLine=14025083; + //BA.debugLineNum = 14025083;BA.debugLine="Dim CAT_VE_IDPROD As String = records(RESULT."; +_cat_ve_idprod = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_IDPROD"))))]); +RDebugUtils.currentLine=14025084; + //BA.debugLineNum = 14025084;BA.debugLine="Dim CAT_VE_NOMBRE As String = records(RESULT."; +_cat_ve_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_NOMBRE"))))]); +RDebugUtils.currentLine=14025085; + //BA.debugLineNum = 14025085;BA.debugLine="Dim CAT_VE_ORDEN As String = records(RESULT.C"; +_cat_ve_orden = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_ORDEN"))))]); +RDebugUtils.currentLine=14025086; + //BA.debugLineNum = 14025086;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VERIFICACION(CAT_VE_IDPROD, CAT_VE_NOMBRE,CAT_VE_ORDEN) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_idprod),(Object)(_cat_ve_nombre),(Object)(_cat_ve_orden)})); + } +}; + }; + }; +RDebugUtils.currentLine=14025091; + //BA.debugLineNum = 14025091;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025092; + //BA.debugLineNum = 14025092;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025093; + //BA.debugLineNum = 14025093;BA.debugLine="If RESULT.Tag = \"marcas_rutas\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("marcas_rutas"))) { +RDebugUtils.currentLine=14025094; + //BA.debugLineNum = 14025094;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group356 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen356 = group356.getSize() +;int index356 = 0; +; +for (; index356 < groupLen356;index356++){ +_records = (Object[])(group356.Get(index356)); +RDebugUtils.currentLine=14025095; + //BA.debugLineNum = 14025095;BA.debugLine="Dim HVD_MARCA As String = records(RESULT.Colu"; +_hvd_marca = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_MARCA"))))]); +RDebugUtils.currentLine=14025096; + //BA.debugLineNum = 14025096;BA.debugLine="Dim CLIENTES As String = records(RESULT.Colum"; +_clientes = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CLIENTES"))))]); +RDebugUtils.currentLine=14025097; + //BA.debugLineNum = 14025097;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO MARCAS_RUTAS(HVD_MARCA, CLIENTES) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_marca),(Object)(_clientes)})); + } +}; + }; + }; +RDebugUtils.currentLine=14025103; + //BA.debugLineNum = 14025103;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025104; + //BA.debugLineNum = 14025104;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025105; + //BA.debugLineNum = 14025105;BA.debugLine="If RESULT.Tag = \"CUOTAS\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("CUOTAS"))) { +RDebugUtils.currentLine=14025106; + //BA.debugLineNum = 14025106;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group366 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen366 = group366.getSize() +;int index366 = 0; +; +for (; index366 < groupLen366;index366++){ +_records = (Object[])(group366.Get(index366)); +RDebugUtils.currentLine=14025107; + //BA.debugLineNum = 14025107;BA.debugLine="Dim HC_RUTA As String = records(RESULT.Column"; +_hc_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_RUTA"))))]); +RDebugUtils.currentLine=14025108; + //BA.debugLineNum = 14025108;BA.debugLine="Dim HC_CUOTA1 As String = records(RESULT.Colu"; +_hc_cuota1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CUOTA1"))))]); +RDebugUtils.currentLine=14025109; + //BA.debugLineNum = 14025109;BA.debugLine="Dim HC_CUOTA2 As String = records(RESULT.Colu"; +_hc_cuota2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CUOTA2"))))]); +RDebugUtils.currentLine=14025110; + //BA.debugLineNum = 14025110;BA.debugLine="Dim HC_CUOTA3 As String = records(RESULT.Colu"; +_hc_cuota3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CUOTA3"))))]); +RDebugUtils.currentLine=14025111; + //BA.debugLineNum = 14025111;BA.debugLine="Dim HC_CUOTA4 As String = records(RESULT.Colu"; +_hc_cuota4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CUOTA4"))))]); +RDebugUtils.currentLine=14025112; + //BA.debugLineNum = 14025112;BA.debugLine="Dim HC_CUOTA5 As String = records(RESULT.Colu"; +_hc_cuota5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CUOTA5"))))]); +RDebugUtils.currentLine=14025113; + //BA.debugLineNum = 14025113;BA.debugLine="Dim HC_CUOTA6 As String = records(RESULT.Colu"; +_hc_cuota6 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CUOTA6"))))]); +RDebugUtils.currentLine=14025114; + //BA.debugLineNum = 14025114;BA.debugLine="Dim HC_META1 As String = records(RESULT.Colum"; +_hc_meta1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_META1"))))]); +RDebugUtils.currentLine=14025115; + //BA.debugLineNum = 14025115;BA.debugLine="Dim HC_META2 As String = records(RESULT.Colum"; +_hc_meta2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_META2"))))]); +RDebugUtils.currentLine=14025116; + //BA.debugLineNum = 14025116;BA.debugLine="Dim HC_META3 As String = records(RESULT.Colum"; +_hc_meta3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_META3"))))]); +RDebugUtils.currentLine=14025117; + //BA.debugLineNum = 14025117;BA.debugLine="Dim HC_META4 As String = records(RESULT.Colum"; +_hc_meta4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_META4"))))]); +RDebugUtils.currentLine=14025118; + //BA.debugLineNum = 14025118;BA.debugLine="Dim HC_META5 As String = records(RESULT.Colum"; +_hc_meta5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_META5"))))]); +RDebugUtils.currentLine=14025119; + //BA.debugLineNum = 14025119;BA.debugLine="Dim HC_META6 As String = records(RESULT.Colum"; +_hc_meta6 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_META6"))))]); +RDebugUtils.currentLine=14025120; + //BA.debugLineNum = 14025120;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_CUOTAS(HC_RUTA, HC_CUOTA1,HC_CUOTA2,HC_CUOTA3,HC_CUOTA4,HC_CUOTA5,HC_CUOTA6,HC_META1,HC_META2,HC_META3,HC_META4,HC_META5,HC_META6) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hc_ruta),(Object)(_hc_cuota1),(Object)(_hc_cuota2),(Object)(_hc_cuota3),(Object)(_hc_cuota4),(Object)(_hc_cuota5),(Object)(_hc_cuota6),(Object)(_hc_meta1),(Object)(_hc_meta2),(Object)(_hc_meta3),(Object)(_hc_meta4),(Object)(_hc_meta5),(Object)(_hc_meta6)})); + } +}; + }; + }; +RDebugUtils.currentLine=14025140; + //BA.debugLineNum = 14025140;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025141; + //BA.debugLineNum = 14025141;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025142; + //BA.debugLineNum = 14025142;BA.debugLine="If RESULT.Tag = \"gunaprod\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod"))) { +RDebugUtils.currentLine=14025143; + //BA.debugLineNum = 14025143;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()<30) { +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO"));}; +RDebugUtils.currentLine=14025144; + //BA.debugLineNum = 14025144;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group388 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen388 = group388.getSize() +;int index388 = 0; +; +for (; index388 < groupLen388;index388++){ +_records = (Object[])(group388.Get(index388)); +RDebugUtils.currentLine=14025145; + //BA.debugLineNum = 14025145;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=14025146; + //BA.debugLineNum = 14025146;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=14025147; + //BA.debugLineNum = 14025147;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=14025148; + //BA.debugLineNum = 14025148;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=14025149; + //BA.debugLineNum = 14025149;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=14025150; + //BA.debugLineNum = 14025150;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=14025151; + //BA.debugLineNum = 14025151;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=14025152; + //BA.debugLineNum = 14025152;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=14025153; + //BA.debugLineNum = 14025153;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=14025154; + //BA.debugLineNum = 14025154;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_DP_ALMACEN"))))])); +RDebugUtils.currentLine=14025155; + //BA.debugLineNum = 14025155;BA.debugLine="Dim CAT_GP_DEV As String = records(RESULT.Col"; +_cat_gp_dev = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DEV"))))]); +RDebugUtils.currentLine=14025156; + //BA.debugLineNum = 14025156;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_DP_TIPOPROD"))))])); +RDebugUtils.currentLine=14025157; + //BA.debugLineNum = 14025157;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_DP_INICIATIVA"))))])); +RDebugUtils.currentLine=14025159; + //BA.debugLineNum = 14025159;BA.debugLine="Dim CAT_GP_TIPOPROD2 As String = 0"; +_cat_gp_tipoprod2 = BA.NumberToString(0); +RDebugUtils.currentLine=14025162; + //BA.debugLineNum = 14025162;BA.debugLine="Dim CAT_GP_PRECIO1 As String = records(RESULT"; +_cat_gp_precio1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO1"))))]); +RDebugUtils.currentLine=14025163; + //BA.debugLineNum = 14025163;BA.debugLine="Dim CAT_GP_PRECIO2 As String = records(RESULT"; +_cat_gp_precio2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO2"))))]); +RDebugUtils.currentLine=14025164; + //BA.debugLineNum = 14025164;BA.debugLine="Dim CAT_GP_PRECIO3 As String = records(RESULT"; +_cat_gp_precio3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO3"))))]); +RDebugUtils.currentLine=14025165; + //BA.debugLineNum = 14025165;BA.debugLine="Dim CAT_GP_PRECIO4 As String = records(RESULT"; +_cat_gp_precio4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO4"))))]); +RDebugUtils.currentLine=14025166; + //BA.debugLineNum = 14025166;BA.debugLine="Dim CAT_GP_PRECIO5 As String = records(RESULT"; +_cat_gp_precio5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO5"))))]); +RDebugUtils.currentLine=14025167; + //BA.debugLineNum = 14025167;BA.debugLine="Dim CAT_GP_PRECIO6 As String = records(RESULT"; +_cat_gp_precio6 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO6"))))]); +RDebugUtils.currentLine=14025168; + //BA.debugLineNum = 14025168;BA.debugLine="Dim CAT_GP_PRECIO7 As String = records(RESULT"; +_cat_gp_precio7 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO7"))))]); +RDebugUtils.currentLine=14025169; + //BA.debugLineNum = 14025169;BA.debugLine="Dim CAT_GP_PRECIO8 As String = records(RESULT"; +_cat_gp_precio8 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO8"))))]); +RDebugUtils.currentLine=14025170; + //BA.debugLineNum = 14025170;BA.debugLine="Dim CAT_GP_PRECIO9 As String = records(RESULT"; +_cat_gp_precio9 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO9"))))]); +RDebugUtils.currentLine=14025171; + //BA.debugLineNum = 14025171;BA.debugLine="Dim CAT_GP_PRECIO10 As String = records(RESUL"; +_cat_gp_precio10 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO10"))))]); +RDebugUtils.currentLine=14025172; + //BA.debugLineNum = 14025172;BA.debugLine="Dim CAT_GP_PRECIO11 As String = records(RESUL"; +_cat_gp_precio11 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO11"))))]); +RDebugUtils.currentLine=14025175; + //BA.debugLineNum = 14025175;BA.debugLine="Dim CAT_GP_PRESENTACION1 As String = records("; +_cat_gp_presentacion1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION1"))))]); +RDebugUtils.currentLine=14025176; + //BA.debugLineNum = 14025176;BA.debugLine="Dim CAT_GP_PRESENTACION2 As String = records("; +_cat_gp_presentacion2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION2"))))]); +RDebugUtils.currentLine=14025177; + //BA.debugLineNum = 14025177;BA.debugLine="Dim CAT_GP_PRESENTACION3 As String = records("; +_cat_gp_presentacion3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION3"))))]); +RDebugUtils.currentLine=14025178; + //BA.debugLineNum = 14025178;BA.debugLine="Dim CAT_GP_PRESENTACION4 As String = records("; +_cat_gp_presentacion4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION4"))))]); +RDebugUtils.currentLine=14025179; + //BA.debugLineNum = 14025179;BA.debugLine="Dim CAT_GP_PRESENTACION5 As String = records("; +_cat_gp_presentacion5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION5"))))]); +RDebugUtils.currentLine=14025180; + //BA.debugLineNum = 14025180;BA.debugLine="Dim CAT_GP_PRESENTACION6 As String = records("; +_cat_gp_presentacion6 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION6"))))]); +RDebugUtils.currentLine=14025181; + //BA.debugLineNum = 14025181;BA.debugLine="Dim CAT_GP_PRESENTACION7 As String = records("; +_cat_gp_presentacion7 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION7"))))]); +RDebugUtils.currentLine=14025182; + //BA.debugLineNum = 14025182;BA.debugLine="Dim CAT_GP_PRESENTACION8 As String = records("; +_cat_gp_presentacion8 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION8"))))]); +RDebugUtils.currentLine=14025183; + //BA.debugLineNum = 14025183;BA.debugLine="Dim CAT_GP_PRESENTACION9 As String = records("; +_cat_gp_presentacion9 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION9"))))]); +RDebugUtils.currentLine=14025184; + //BA.debugLineNum = 14025184;BA.debugLine="Dim CAT_GP_PRESENTACION10 As String = records"; +_cat_gp_presentacion10 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION10"))))]); +RDebugUtils.currentLine=14025185; + //BA.debugLineNum = 14025185;BA.debugLine="Dim CAT_GP_PRESENTACION11 As String = records"; +_cat_gp_presentacion11 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION11"))))]); +RDebugUtils.currentLine=14025188; + //BA.debugLineNum = 14025188;BA.debugLine="Dim CAT_GP_UMV1 As String = records(RESULT.Co"; +_cat_gp_umv1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV1"))))]); +RDebugUtils.currentLine=14025189; + //BA.debugLineNum = 14025189;BA.debugLine="Dim CAT_GP_UMV2 As String = records(RESULT.Co"; +_cat_gp_umv2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV2"))))]); +RDebugUtils.currentLine=14025190; + //BA.debugLineNum = 14025190;BA.debugLine="Dim CAT_GP_UMV3 As String = records(RESULT.Co"; +_cat_gp_umv3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV3"))))]); +RDebugUtils.currentLine=14025191; + //BA.debugLineNum = 14025191;BA.debugLine="Dim CAT_GP_UMV4 As String = records(RESULT.Co"; +_cat_gp_umv4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV4"))))]); +RDebugUtils.currentLine=14025192; + //BA.debugLineNum = 14025192;BA.debugLine="Dim CAT_GP_UMV5 As String = records(RESULT.Co"; +_cat_gp_umv5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV5"))))]); +RDebugUtils.currentLine=14025193; + //BA.debugLineNum = 14025193;BA.debugLine="Dim CAT_GP_UMV6 As String = records(RESULT.Co"; +_cat_gp_umv6 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV6"))))]); +RDebugUtils.currentLine=14025194; + //BA.debugLineNum = 14025194;BA.debugLine="Dim CAT_GP_UMV7 As String = records(RESULT.Co"; +_cat_gp_umv7 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV7"))))]); +RDebugUtils.currentLine=14025195; + //BA.debugLineNum = 14025195;BA.debugLine="Dim CAT_GP_UMV8 As String = records(RESULT.Co"; +_cat_gp_umv8 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV8"))))]); +RDebugUtils.currentLine=14025196; + //BA.debugLineNum = 14025196;BA.debugLine="Dim CAT_GP_UMV9 As String = records(RESULT.Co"; +_cat_gp_umv9 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV9"))))]); +RDebugUtils.currentLine=14025197; + //BA.debugLineNum = 14025197;BA.debugLine="Dim CAT_GP_UMV10 As String = records(RESULT.C"; +_cat_gp_umv10 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV10"))))]); +RDebugUtils.currentLine=14025198; + //BA.debugLineNum = 14025198;BA.debugLine="Dim CAT_GP_UMV11 As String = records(RESULT.C"; +_cat_gp_umv11 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV11"))))]); +RDebugUtils.currentLine=14025201; + //BA.debugLineNum = 14025201;BA.debugLine="Dim CAT_GP_DIRIGIDA1 As String = records(RESU"; +_cat_gp_dirigida1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA1"))))]); +RDebugUtils.currentLine=14025202; + //BA.debugLineNum = 14025202;BA.debugLine="Dim CAT_GP_DIRIGIDA2 As String = records(RESU"; +_cat_gp_dirigida2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA2"))))]); +RDebugUtils.currentLine=14025203; + //BA.debugLineNum = 14025203;BA.debugLine="Dim CAT_GP_DIRIGIDA3 As String = records(RESU"; +_cat_gp_dirigida3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA3"))))]); +RDebugUtils.currentLine=14025204; + //BA.debugLineNum = 14025204;BA.debugLine="Dim CAT_GP_DIRIGIDA4 As String = records(RESU"; +_cat_gp_dirigida4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA4"))))]); +RDebugUtils.currentLine=14025205; + //BA.debugLineNum = 14025205;BA.debugLine="Dim CAT_GP_DIRIGIDA5 As String = records(RESU"; +_cat_gp_dirigida5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA5"))))]); +RDebugUtils.currentLine=14025206; + //BA.debugLineNum = 14025206;BA.debugLine="Dim CAT_GP_DIRIGIDA6 As String = records(RESU"; +_cat_gp_dirigida6 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA6"))))]); +RDebugUtils.currentLine=14025207; + //BA.debugLineNum = 14025207;BA.debugLine="Dim CAT_GP_DIRIGIDA7 As String = records(RESU"; +_cat_gp_dirigida7 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA7"))))]); +RDebugUtils.currentLine=14025208; + //BA.debugLineNum = 14025208;BA.debugLine="Dim CAT_GP_DIRIGIDA8 As String = records(RESU"; +_cat_gp_dirigida8 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA8"))))]); +RDebugUtils.currentLine=14025209; + //BA.debugLineNum = 14025209;BA.debugLine="Dim CAT_GP_DIRIGIDA9 As String = records(RESU"; +_cat_gp_dirigida9 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA9"))))]); +RDebugUtils.currentLine=14025210; + //BA.debugLineNum = 14025210;BA.debugLine="Dim CAT_GP_DIRIGIDA10 As String = records(RES"; +_cat_gp_dirigida10 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA10"))))]); +RDebugUtils.currentLine=14025211; + //BA.debugLineNum = 14025211;BA.debugLine="Dim CAT_GP_DIRIGIDA11 As String = records(RES"; +_cat_gp_dirigida11 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA11"))))]); +RDebugUtils.currentLine=14025214; + //BA.debugLineNum = 14025214;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T"; +_cat_gp_nombre = _cat_gp_nombre.trim(); +RDebugUtils.currentLine=14025215; + //BA.debugLineNum = 14025215;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_IMP1, CAT_GP_IMP2, CAT_GP_CLASIF, CAT_GP_STS, CAT_GP_TIPO, CAT_GP_SUBTIPO, CAT_GP_IMG, CAT_GP_ALMACEN, CAT_GP_DEV, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA, CAT_GP_TIPOPROD2, CAT_GP_PRECIO1, CAT_GP_PRECIO2, CAT_GP_PRECIO3, CAT_GP_PRECIO4, CAT_GP_PRECIO5, CAT_GP_PRECIO6, CAT_GP_PRECIO7, CAT_GP_PRECIO8, CAT_GP_PRECIO9, CAT_GP_PRECIO10, CAT_GP_PRECIO11, CAT_GP_PRESENTACION1, CAT_GP_PRESENTACION2, CAT_GP_PRESENTACION3, CAT_GP_PRESENTACION4, CAT_GP_PRESENTACION5, CAT_GP_PRESENTACION6, CAT_GP_PRESENTACION7, CAT_GP_PRESENTACION8, CAT_GP_PRESENTACION9, CAT_GP_PRESENTACION10, CAT_GP_PRESENTACION11, CAT_GP_UMV1, CAT_GP_UMV2, CAT_GP_UMV3, CAT_GP_UMV4, CAT_GP_UMV5, CAT_GP_UMV6, CAT_GP_UMV7, CAT_GP_UMV8, CAT_GP_UMV9, CAT_GP_UMV10, CAT_GP_UMV11, CAT_GP_DIRIGIDA1, CAT_GP_DIRIGIDA2, CAT_GP_DIRIGIDA3, CAT_GP_DIRIGIDA4, CAT_GP_DIRIGIDA5, CAT_GP_DIRIGIDA6, CAT_GP_DIRIGIDA7, CAT_GP_DIRIGIDA8, CAT_GP_DIRIGIDA9, CAT_GP_DIRIGIDA10, CAT_GP_DIRIGIDA11) 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_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_dev),(Object)(_cat_gp_tipoprod),(Object)(_cat_gp_iniciativa),(Object)(_cat_gp_tipoprod2),(Object)(_cat_gp_precio1),(Object)(_cat_gp_precio2),(Object)(_cat_gp_precio3),(Object)(_cat_gp_precio4),(Object)(_cat_gp_precio5),(Object)(_cat_gp_precio6),(Object)(_cat_gp_precio7),(Object)(_cat_gp_precio8),(Object)(_cat_gp_precio9),(Object)(_cat_gp_precio10),(Object)(_cat_gp_precio11),(Object)(_cat_gp_presentacion1),(Object)(_cat_gp_presentacion2),(Object)(_cat_gp_presentacion3),(Object)(_cat_gp_presentacion4),(Object)(_cat_gp_presentacion5),(Object)(_cat_gp_presentacion6),(Object)(_cat_gp_presentacion7),(Object)(_cat_gp_presentacion8),(Object)(_cat_gp_presentacion9),(Object)(_cat_gp_presentacion10),(Object)(_cat_gp_presentacion11),(Object)(_cat_gp_umv1),(Object)(_cat_gp_umv2),(Object)(_cat_gp_umv3),(Object)(_cat_gp_umv4),(Object)(_cat_gp_umv5),(Object)(_cat_gp_umv6),(Object)(_cat_gp_umv7),(Object)(_cat_gp_umv8),(Object)(_cat_gp_umv9),(Object)(_cat_gp_umv10),(Object)(_cat_gp_umv11),(Object)(_cat_gp_dirigida1),(Object)(_cat_gp_dirigida2),(Object)(_cat_gp_dirigida3),(Object)(_cat_gp_dirigida4),(Object)(_cat_gp_dirigida5),(Object)(_cat_gp_dirigida6),(Object)(_cat_gp_dirigida7),(Object)(_cat_gp_dirigida8),(Object)(_cat_gp_dirigida9),(Object)(_cat_gp_dirigida10),(Object)(_cat_gp_dirigida11)})); + } +}; +RDebugUtils.currentLine=14025218; + //BA.debugLineNum = 14025218;BA.debugLine="Listo2=1"; +__ref._listo2 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14025219; + //BA.debugLineNum = 14025219;BA.debugLine="If PB2.Progress = 0 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=14025220; + //BA.debugLineNum = 14025220;BA.debugLine="PB2.Progress = 30"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=14025221; + //BA.debugLineNum = 14025221;BA.debugLine="S_CP.Text = \"CARGANDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=14025222; + //BA.debugLineNum = 14025222;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=14025223; + //BA.debugLineNum = 14025223;BA.debugLine="PB2.Progress = 60"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=14025224; + //BA.debugLineNum = 14025224;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=14025225; + //BA.debugLineNum = 14025225;BA.debugLine="PB2.Progress = 100"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=14025226; + //BA.debugLineNum = 14025226;BA.debugLine="S_CP.Text = \"LISTO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} +; +RDebugUtils.currentLine=14025228; + //BA.debugLineNum = 14025228;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("Productos Actualizados."),__c.True);}; +RDebugUtils.currentLine=14025229; + //BA.debugLineNum = 14025229;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=14025230; + //BA.debugLineNum = 14025230;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14025231; + //BA.debugLineNum = 14025231;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025232; + //BA.debugLineNum = 14025232;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }; + }; + }; +RDebugUtils.currentLine=14025237; + //BA.debugLineNum = 14025237;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025238; + //BA.debugLineNum = 14025238;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025239; + //BA.debugLineNum = 14025239;BA.debugLine="If RESULT.Tag = \"gunaprod3\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod3"))) { +RDebugUtils.currentLine=14025240; + //BA.debugLineNum = 14025240;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()<30) { +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO"));}; +RDebugUtils.currentLine=14025241; + //BA.debugLineNum = 14025241;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group472 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen472 = group472.getSize() +;int index472 = 0; +; +for (; index472 < groupLen472;index472++){ +_records = (Object[])(group472.Get(index472)); +RDebugUtils.currentLine=14025242; + //BA.debugLineNum = 14025242;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=14025243; + //BA.debugLineNum = 14025243;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=14025244; + //BA.debugLineNum = 14025244;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=14025245; + //BA.debugLineNum = 14025245;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=14025246; + //BA.debugLineNum = 14025246;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=14025247; + //BA.debugLineNum = 14025247;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=14025248; + //BA.debugLineNum = 14025248;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=14025249; + //BA.debugLineNum = 14025249;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=14025250; + //BA.debugLineNum = 14025250;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=14025251; + //BA.debugLineNum = 14025251;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=14025252; + //BA.debugLineNum = 14025252;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_DP_ALMACEN"))))])); +RDebugUtils.currentLine=14025254; + //BA.debugLineNum = 14025254;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_DP_TIPOPROD"))))])); +RDebugUtils.currentLine=14025255; + //BA.debugLineNum = 14025255;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_DP_INICIATIVA"))))])); +RDebugUtils.currentLine=14025256; + //BA.debugLineNum = 14025256;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=14025257; + //BA.debugLineNum = 14025257;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=14025260; + //BA.debugLineNum = 14025260;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T"; +_cat_gp_nombre = _cat_gp_nombre.trim(); +RDebugUtils.currentLine=14025261; + //BA.debugLineNum = 14025261;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._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=14025266; + //BA.debugLineNum = 14025266;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025267; + //BA.debugLineNum = 14025267;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025268; + //BA.debugLineNum = 14025268;BA.debugLine="If RESULT.Tag = \"gunaprod2\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod2"))) { +RDebugUtils.currentLine=14025269; + //BA.debugLineNum = 14025269;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()<30) { +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO"));}; +RDebugUtils.currentLine=14025270; + //BA.debugLineNum = 14025270;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group497 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen497 = group497.getSize() +;int index497 = 0; +; +for (; index497 < groupLen497;index497++){ +_records = (Object[])(group497.Get(index497)); +RDebugUtils.currentLine=14025271; + //BA.debugLineNum = 14025271;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=14025272; + //BA.debugLineNum = 14025272;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=14025273; + //BA.debugLineNum = 14025273;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=14025274; + //BA.debugLineNum = 14025274;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=14025275; + //BA.debugLineNum = 14025275;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=14025276; + //BA.debugLineNum = 14025276;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=14025277; + //BA.debugLineNum = 14025277;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=14025278; + //BA.debugLineNum = 14025278;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=14025279; + //BA.debugLineNum = 14025279;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=14025280; + //BA.debugLineNum = 14025280;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_DP_ALMACEN"))))])); +RDebugUtils.currentLine=14025281; + //BA.debugLineNum = 14025281;BA.debugLine="Dim CAT_GP_DEV As String = records(RESULT.Col"; +_cat_gp_dev = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DEV"))))]); +RDebugUtils.currentLine=14025282; + //BA.debugLineNum = 14025282;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_DP_TIPOPROD"))))])); +RDebugUtils.currentLine=14025283; + //BA.debugLineNum = 14025283;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_DP_INICIATIVA"))))])); +RDebugUtils.currentLine=14025284; + //BA.debugLineNum = 14025284;BA.debugLine="Dim CAT_GP_TIPOPROD2 As String = records(RESU"; +_cat_gp_tipoprod2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_TIPOPROD2"))))]); +RDebugUtils.currentLine=14025287; + //BA.debugLineNum = 14025287;BA.debugLine="Dim CAT_GP_PRECIO1 As String = records(RESULT"; +_cat_gp_precio1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO1"))))]); +RDebugUtils.currentLine=14025288; + //BA.debugLineNum = 14025288;BA.debugLine="Dim CAT_GP_PRECIO2 As String = records(RESULT"; +_cat_gp_precio2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO2"))))]); +RDebugUtils.currentLine=14025289; + //BA.debugLineNum = 14025289;BA.debugLine="Dim CAT_GP_PRECIO3 As String = records(RESULT"; +_cat_gp_precio3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO3"))))]); +RDebugUtils.currentLine=14025290; + //BA.debugLineNum = 14025290;BA.debugLine="Dim CAT_GP_PRECIO4 As String = records(RESULT"; +_cat_gp_precio4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO4"))))]); +RDebugUtils.currentLine=14025291; + //BA.debugLineNum = 14025291;BA.debugLine="Dim CAT_GP_PRECIO5 As String = records(RESULT"; +_cat_gp_precio5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO5"))))]); +RDebugUtils.currentLine=14025292; + //BA.debugLineNum = 14025292;BA.debugLine="Dim CAT_GP_PRECIO6 As String = records(RESULT"; +_cat_gp_precio6 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO6"))))]); +RDebugUtils.currentLine=14025293; + //BA.debugLineNum = 14025293;BA.debugLine="Dim CAT_GP_PRECIO7 As String = records(RESULT"; +_cat_gp_precio7 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO7"))))]); +RDebugUtils.currentLine=14025294; + //BA.debugLineNum = 14025294;BA.debugLine="Dim CAT_GP_PRECIO8 As String = records(RESULT"; +_cat_gp_precio8 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO8"))))]); +RDebugUtils.currentLine=14025295; + //BA.debugLineNum = 14025295;BA.debugLine="Dim CAT_GP_PRECIO9 As String = records(RESULT"; +_cat_gp_precio9 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO9"))))]); +RDebugUtils.currentLine=14025296; + //BA.debugLineNum = 14025296;BA.debugLine="Dim CAT_GP_PRECIO10 As String = records(RESUL"; +_cat_gp_precio10 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO10"))))]); +RDebugUtils.currentLine=14025297; + //BA.debugLineNum = 14025297;BA.debugLine="Dim CAT_GP_PRECIO11 As String = records(RESUL"; +_cat_gp_precio11 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO11"))))]); +RDebugUtils.currentLine=14025300; + //BA.debugLineNum = 14025300;BA.debugLine="Dim CAT_GP_PRESENTACION1 As String = records("; +_cat_gp_presentacion1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION1"))))]); +RDebugUtils.currentLine=14025301; + //BA.debugLineNum = 14025301;BA.debugLine="Dim CAT_GP_PRESENTACION2 As String = records("; +_cat_gp_presentacion2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION2"))))]); +RDebugUtils.currentLine=14025302; + //BA.debugLineNum = 14025302;BA.debugLine="Dim CAT_GP_PRESENTACION3 As String = records("; +_cat_gp_presentacion3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION3"))))]); +RDebugUtils.currentLine=14025303; + //BA.debugLineNum = 14025303;BA.debugLine="Dim CAT_GP_PRESENTACION4 As String = records("; +_cat_gp_presentacion4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION4"))))]); +RDebugUtils.currentLine=14025304; + //BA.debugLineNum = 14025304;BA.debugLine="Dim CAT_GP_PRESENTACION5 As String = records("; +_cat_gp_presentacion5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION5"))))]); +RDebugUtils.currentLine=14025305; + //BA.debugLineNum = 14025305;BA.debugLine="Dim CAT_GP_PRESENTACION6 As String = records("; +_cat_gp_presentacion6 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION6"))))]); +RDebugUtils.currentLine=14025306; + //BA.debugLineNum = 14025306;BA.debugLine="Dim CAT_GP_PRESENTACION7 As String = records("; +_cat_gp_presentacion7 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION7"))))]); +RDebugUtils.currentLine=14025307; + //BA.debugLineNum = 14025307;BA.debugLine="Dim CAT_GP_PRESENTACION8 As String = records("; +_cat_gp_presentacion8 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION8"))))]); +RDebugUtils.currentLine=14025308; + //BA.debugLineNum = 14025308;BA.debugLine="Dim CAT_GP_PRESENTACION9 As String = records("; +_cat_gp_presentacion9 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION9"))))]); +RDebugUtils.currentLine=14025309; + //BA.debugLineNum = 14025309;BA.debugLine="Dim CAT_GP_PRESENTACION10 As String = records"; +_cat_gp_presentacion10 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION10"))))]); +RDebugUtils.currentLine=14025310; + //BA.debugLineNum = 14025310;BA.debugLine="Dim CAT_GP_PRESENTACION11 As String = records"; +_cat_gp_presentacion11 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRESENTACION11"))))]); +RDebugUtils.currentLine=14025313; + //BA.debugLineNum = 14025313;BA.debugLine="Dim CAT_GP_UMV1 As String = records(RESULT.Co"; +_cat_gp_umv1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV1"))))]); +RDebugUtils.currentLine=14025314; + //BA.debugLineNum = 14025314;BA.debugLine="Dim CAT_GP_UMV2 As String = records(RESULT.Co"; +_cat_gp_umv2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV2"))))]); +RDebugUtils.currentLine=14025315; + //BA.debugLineNum = 14025315;BA.debugLine="Dim CAT_GP_UMV3 As String = records(RESULT.Co"; +_cat_gp_umv3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV3"))))]); +RDebugUtils.currentLine=14025316; + //BA.debugLineNum = 14025316;BA.debugLine="Dim CAT_GP_UMV4 As String = records(RESULT.Co"; +_cat_gp_umv4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV4"))))]); +RDebugUtils.currentLine=14025317; + //BA.debugLineNum = 14025317;BA.debugLine="Dim CAT_GP_UMV5 As String = records(RESULT.Co"; +_cat_gp_umv5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV5"))))]); +RDebugUtils.currentLine=14025318; + //BA.debugLineNum = 14025318;BA.debugLine="Dim CAT_GP_UMV6 As String = records(RESULT.Co"; +_cat_gp_umv6 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV6"))))]); +RDebugUtils.currentLine=14025319; + //BA.debugLineNum = 14025319;BA.debugLine="Dim CAT_GP_UMV7 As String = records(RESULT.Co"; +_cat_gp_umv7 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV7"))))]); +RDebugUtils.currentLine=14025320; + //BA.debugLineNum = 14025320;BA.debugLine="Dim CAT_GP_UMV8 As String = records(RESULT.Co"; +_cat_gp_umv8 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV8"))))]); +RDebugUtils.currentLine=14025321; + //BA.debugLineNum = 14025321;BA.debugLine="Dim CAT_GP_UMV9 As String = records(RESULT.Co"; +_cat_gp_umv9 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV9"))))]); +RDebugUtils.currentLine=14025322; + //BA.debugLineNum = 14025322;BA.debugLine="Dim CAT_GP_UMV10 As String = records(RESULT.C"; +_cat_gp_umv10 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV10"))))]); +RDebugUtils.currentLine=14025323; + //BA.debugLineNum = 14025323;BA.debugLine="Dim CAT_GP_UMV11 As String = records(RESULT.C"; +_cat_gp_umv11 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_UMV11"))))]); +RDebugUtils.currentLine=14025326; + //BA.debugLineNum = 14025326;BA.debugLine="Dim CAT_GP_DIRIGIDA1 As String = records(RESU"; +_cat_gp_dirigida1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA1"))))]); +RDebugUtils.currentLine=14025327; + //BA.debugLineNum = 14025327;BA.debugLine="Dim CAT_GP_DIRIGIDA2 As String = records(RESU"; +_cat_gp_dirigida2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA2"))))]); +RDebugUtils.currentLine=14025328; + //BA.debugLineNum = 14025328;BA.debugLine="Dim CAT_GP_DIRIGIDA3 As String = records(RESU"; +_cat_gp_dirigida3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA3"))))]); +RDebugUtils.currentLine=14025329; + //BA.debugLineNum = 14025329;BA.debugLine="Dim CAT_GP_DIRIGIDA4 As String = records(RESU"; +_cat_gp_dirigida4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA4"))))]); +RDebugUtils.currentLine=14025330; + //BA.debugLineNum = 14025330;BA.debugLine="Dim CAT_GP_DIRIGIDA5 As String = records(RESU"; +_cat_gp_dirigida5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA5"))))]); +RDebugUtils.currentLine=14025331; + //BA.debugLineNum = 14025331;BA.debugLine="Dim CAT_GP_DIRIGIDA6 As String = records(RESU"; +_cat_gp_dirigida6 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA6"))))]); +RDebugUtils.currentLine=14025332; + //BA.debugLineNum = 14025332;BA.debugLine="Dim CAT_GP_DIRIGIDA7 As String = records(RESU"; +_cat_gp_dirigida7 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA7"))))]); +RDebugUtils.currentLine=14025333; + //BA.debugLineNum = 14025333;BA.debugLine="Dim CAT_GP_DIRIGIDA8 As String = records(RESU"; +_cat_gp_dirigida8 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA8"))))]); +RDebugUtils.currentLine=14025334; + //BA.debugLineNum = 14025334;BA.debugLine="Dim CAT_GP_DIRIGIDA9 As String = records(RESU"; +_cat_gp_dirigida9 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA9"))))]); +RDebugUtils.currentLine=14025335; + //BA.debugLineNum = 14025335;BA.debugLine="Dim CAT_GP_DIRIGIDA10 As String = records(RES"; +_cat_gp_dirigida10 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA10"))))]); +RDebugUtils.currentLine=14025336; + //BA.debugLineNum = 14025336;BA.debugLine="Dim CAT_GP_DIRIGIDA11 As String = records(RES"; +_cat_gp_dirigida11 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_DIRIGIDA11"))))]); +RDebugUtils.currentLine=14025339; + //BA.debugLineNum = 14025339;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T"; +_cat_gp_nombre = _cat_gp_nombre.trim(); +RDebugUtils.currentLine=14025340; + //BA.debugLineNum = 14025340;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_IMP1, CAT_GP_IMP2, CAT_GP_CLASIF, CAT_GP_STS, CAT_GP_TIPO, CAT_GP_SUBTIPO, CAT_GP_IMG, CAT_GP_ALMACEN, CAT_GP_DEV, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA, CAT_GP_TIPOPROD2, CAT_GP_PRECIO1, CAT_GP_PRECIO2, CAT_GP_PRECIO3, CAT_GP_PRECIO4, CAT_GP_PRECIO5, CAT_GP_PRECIO6, CAT_GP_PRECIO7, CAT_GP_PRECIO8, CAT_GP_PRECIO9, CAT_GP_PRECIO10, CAT_GP_PRECIO11, CAT_GP_PRESENTACION1, CAT_GP_PRESENTACION2, CAT_GP_PRESENTACION3, CAT_GP_PRESENTACION4, CAT_GP_PRESENTACION5, CAT_GP_PRESENTACION6, CAT_GP_PRESENTACION7, CAT_GP_PRESENTACION8, CAT_GP_PRESENTACION9, CAT_GP_PRESENTACION10, CAT_GP_PRESENTACION11, CAT_GP_UMV1, CAT_GP_UMV2, CAT_GP_UMV3, CAT_GP_UMV4, CAT_GP_UMV5, CAT_GP_UMV6, CAT_GP_UMV7, CAT_GP_UMV8, CAT_GP_UMV9, CAT_GP_UMV10, CAT_GP_UMV11, CAT_GP_DIRIGIDA1, CAT_GP_DIRIGIDA2, CAT_GP_DIRIGIDA3, CAT_GP_DIRIGIDA4, CAT_GP_DIRIGIDA5, CAT_GP_DIRIGIDA6, CAT_GP_DIRIGIDA7, CAT_GP_DIRIGIDA8, CAT_GP_DIRIGIDA9, CAT_GP_DIRIGIDA10, CAT_GP_DIRIGIDA11) 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_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_dev),(Object)(_cat_gp_tipoprod),(Object)(_cat_gp_iniciativa),(Object)(_cat_gp_tipoprod2),(Object)(_cat_gp_precio1),(Object)(_cat_gp_precio2),(Object)(_cat_gp_precio3),(Object)(_cat_gp_precio4),(Object)(_cat_gp_precio5),(Object)(_cat_gp_precio6),(Object)(_cat_gp_precio7),(Object)(_cat_gp_precio8),(Object)(_cat_gp_precio9),(Object)(_cat_gp_precio10),(Object)(_cat_gp_precio11),(Object)(_cat_gp_presentacion1),(Object)(_cat_gp_presentacion2),(Object)(_cat_gp_presentacion3),(Object)(_cat_gp_presentacion4),(Object)(_cat_gp_presentacion5),(Object)(_cat_gp_presentacion6),(Object)(_cat_gp_presentacion7),(Object)(_cat_gp_presentacion8),(Object)(_cat_gp_presentacion9),(Object)(_cat_gp_presentacion10),(Object)(_cat_gp_presentacion11),(Object)(_cat_gp_umv1),(Object)(_cat_gp_umv2),(Object)(_cat_gp_umv3),(Object)(_cat_gp_umv4),(Object)(_cat_gp_umv5),(Object)(_cat_gp_umv6),(Object)(_cat_gp_umv7),(Object)(_cat_gp_umv8),(Object)(_cat_gp_umv9),(Object)(_cat_gp_umv10),(Object)(_cat_gp_umv11),(Object)(_cat_gp_dirigida1),(Object)(_cat_gp_dirigida2),(Object)(_cat_gp_dirigida3),(Object)(_cat_gp_dirigida4),(Object)(_cat_gp_dirigida5),(Object)(_cat_gp_dirigida6),(Object)(_cat_gp_dirigida7),(Object)(_cat_gp_dirigida8),(Object)(_cat_gp_dirigida9),(Object)(_cat_gp_dirigida10),(Object)(_cat_gp_dirigida11)})); + } +}; +RDebugUtils.currentLine=14025343; + //BA.debugLineNum = 14025343;BA.debugLine="Listo2=1"; +__ref._listo2 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14025344; + //BA.debugLineNum = 14025344;BA.debugLine="If PB2.Progress = 0 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=14025345; + //BA.debugLineNum = 14025345;BA.debugLine="PB2.Progress = 30"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=14025346; + //BA.debugLineNum = 14025346;BA.debugLine="S_CP.Text = \"CARGANDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=14025347; + //BA.debugLineNum = 14025347;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=14025348; + //BA.debugLineNum = 14025348;BA.debugLine="PB2.Progress = 60"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=14025349; + //BA.debugLineNum = 14025349;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=14025350; + //BA.debugLineNum = 14025350;BA.debugLine="PB2.Progress = 100"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=14025351; + //BA.debugLineNum = 14025351;BA.debugLine="S_CP.Text = \"LISTO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} +; +RDebugUtils.currentLine=14025353; + //BA.debugLineNum = 14025353;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("Productos Actualizados."),__c.True);}; +RDebugUtils.currentLine=14025354; + //BA.debugLineNum = 14025354;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=14025355; + //BA.debugLineNum = 14025355;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14025356; + //BA.debugLineNum = 14025356;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025357; + //BA.debugLineNum = 14025357;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }; + }; + }; +RDebugUtils.currentLine=14025362; + //BA.debugLineNum = 14025362;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025363; + //BA.debugLineNum = 14025363;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025364; + //BA.debugLineNum = 14025364;BA.debugLine="If RESULT.Tag = \"gunaprodp\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodp"))) { +RDebugUtils.currentLine=14025365; + //BA.debugLineNum = 14025365;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group580 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen580 = group580.getSize() +;int index580 = 0; +; +for (; index580 < groupLen580;index580++){ +_records = (Object[])(group580.Get(index580)); +RDebugUtils.currentLine=14025366; + //BA.debugLineNum = 14025366;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=14025367; + //BA.debugLineNum = 14025367;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=14025368; + //BA.debugLineNum = 14025368;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=14025369; + //BA.debugLineNum = 14025369;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=14025370; + //BA.debugLineNum = 14025370;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=14025371; + //BA.debugLineNum = 14025371;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=14025372; + //BA.debugLineNum = 14025372;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=14025373; + //BA.debugLineNum = 14025373;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=14025374; + //BA.debugLineNum = 14025374;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=14025375; + //BA.debugLineNum = 14025375;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=14025376; + //BA.debugLineNum = 14025376;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=14025377; + //BA.debugLineNum = 14025377;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=14025378; + //BA.debugLineNum = 14025378;BA.debugLine="CAT_GP_TIPOPROD = \"5\""; +_cat_gp_tipoprod = (int)(Double.parseDouble("5")); +RDebugUtils.currentLine=14025379; + //BA.debugLineNum = 14025379;BA.debugLine="If CAT_GP_ID = \"PAQUNI003\" Then"; +if ((_cat_gp_id).equals("PAQUNI003")) { +RDebugUtils.currentLine=14025380; + //BA.debugLineNum = 14025380;BA.debugLine="CAT_GP_ALMACEN = 60"; +_cat_gp_almacen = (int) (60); + }; +RDebugUtils.currentLine=14025383; + //BA.debugLineNum = 14025383;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T"; +_cat_gp_nombre = _cat_gp_nombre.trim(); +RDebugUtils.currentLine=14025384; + //BA.debugLineNum = 14025384;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO1,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod)})); +RDebugUtils.currentLine=14025385; + //BA.debugLineNum = 14025385;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO1,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod)})); + } +}; +RDebugUtils.currentLine=14025389; + //BA.debugLineNum = 14025389;BA.debugLine="If PB2.Progress = 0 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=14025390; + //BA.debugLineNum = 14025390;BA.debugLine="PB2.Progress = 30"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=14025391; + //BA.debugLineNum = 14025391;BA.debugLine="S_CP.Text = \"CARGANDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=14025392; + //BA.debugLineNum = 14025392;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=14025393; + //BA.debugLineNum = 14025393;BA.debugLine="PB2.Progress = 60"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=14025394; + //BA.debugLineNum = 14025394;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=14025395; + //BA.debugLineNum = 14025395;BA.debugLine="PB2.Progress = 100"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=14025396; + //BA.debugLineNum = 14025396;BA.debugLine="S_CP.Text = \"LISTO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} +; +RDebugUtils.currentLine=14025398; + //BA.debugLineNum = 14025398;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("Promociones Actualizados."),__c.True);}; +RDebugUtils.currentLine=14025399; + //BA.debugLineNum = 14025399;BA.debugLine="Listo4=1"; +__ref._listo4 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14025400; + //BA.debugLineNum = 14025400;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=14025401; + //BA.debugLineNum = 14025401;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14025402; + //BA.debugLineNum = 14025402;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025403; + //BA.debugLineNum = 14025403;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }else +{RDebugUtils.currentLine=14025404; + //BA.debugLineNum = 14025404;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=14025405; + //BA.debugLineNum = 14025405;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14025406; + //BA.debugLineNum = 14025406;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025407; + //BA.debugLineNum = 14025407;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }} +; + }; + }; +RDebugUtils.currentLine=14025412; + //BA.debugLineNum = 14025412;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025413; + //BA.debugLineNum = 14025413;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025414; + //BA.debugLineNum = 14025414;BA.debugLine="If RESULT.Tag = \"gunaprodps\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodps"))) { +RDebugUtils.currentLine=14025415; + //BA.debugLineNum = 14025415;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group626 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen626 = group626.getSize() +;int index626 = 0; +; +for (; index626 < groupLen626;index626++){ +_records = (Object[])(group626.Get(index626)); +RDebugUtils.currentLine=14025417; + //BA.debugLineNum = 14025417;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=14025418; + //BA.debugLineNum = 14025418;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=14025419; + //BA.debugLineNum = 14025419;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=14025420; + //BA.debugLineNum = 14025420;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=14025421; + //BA.debugLineNum = 14025421;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=14025422; + //BA.debugLineNum = 14025422;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=14025423; + //BA.debugLineNum = 14025423;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=14025424; + //BA.debugLineNum = 14025424;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=14025425; + //BA.debugLineNum = 14025425;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=14025426; + //BA.debugLineNum = 14025426;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=14025427; + //BA.debugLineNum = 14025427;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=14025428; + //BA.debugLineNum = 14025428;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=14025429; + //BA.debugLineNum = 14025429;BA.debugLine="Log(\"XXXXXXXX gunaprodps XXXXXXXX \" & record"; +__c.LogImpl("514025429","XXXXXXXX gunaprodps XXXXXXXX "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))])+"|"+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]),0); +RDebugUtils.currentLine=14025430; + //BA.debugLineNum = 14025430;BA.debugLine="Dim CAT_GP_NOMBRE As String = CAT_GP_NOMBRE.T"; +_cat_gp_nombre = _cat_gp_nombre.trim(); +RDebugUtils.currentLine=14025431; + //BA.debugLineNum = 14025431;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID, CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO1,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod)})); + } +}; +RDebugUtils.currentLine=14025435; + //BA.debugLineNum = 14025435;BA.debugLine="If PB2.Progress = 0 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=14025436; + //BA.debugLineNum = 14025436;BA.debugLine="PB2.Progress = 30"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=14025437; + //BA.debugLineNum = 14025437;BA.debugLine="S_CP.Text = \"CARGANDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); +RDebugUtils.currentLine=14025438; + //BA.debugLineNum = 14025438;BA.debugLine="Log(\"C4\")"; +__c.LogImpl("514025438","C4",0); + }else +{RDebugUtils.currentLine=14025439; + //BA.debugLineNum = 14025439;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=14025440; + //BA.debugLineNum = 14025440;BA.debugLine="PB2.Progress = 60"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=14025441; + //BA.debugLineNum = 14025441;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=14025442; + //BA.debugLineNum = 14025442;BA.debugLine="PB2.Progress = 100"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=14025443; + //BA.debugLineNum = 14025443;BA.debugLine="S_CP.Text = \"LISTO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); +RDebugUtils.currentLine=14025444; + //BA.debugLineNum = 14025444;BA.debugLine="Log(\"3\")"; +__c.LogImpl("514025444","3",0); + }}} +; +RDebugUtils.currentLine=14025446; + //BA.debugLineNum = 14025446;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("Promociones especiales Actualizados."),__c.True);}; +RDebugUtils.currentLine=14025448; + //BA.debugLineNum = 14025448;BA.debugLine="Listo4=1"; +__ref._listo4 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14025449; + //BA.debugLineNum = 14025449;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=14025450; + //BA.debugLineNum = 14025450;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14025451; + //BA.debugLineNum = 14025451;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025452; + //BA.debugLineNum = 14025452;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }else +{RDebugUtils.currentLine=14025453; + //BA.debugLineNum = 14025453;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=14025454; + //BA.debugLineNum = 14025454;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14025455; + //BA.debugLineNum = 14025455;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025456; + //BA.debugLineNum = 14025456;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }} +; + }; + }; +RDebugUtils.currentLine=14025461; + //BA.debugLineNum = 14025461;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025462; + //BA.debugLineNum = 14025462;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025463; + //BA.debugLineNum = 14025463;BA.debugLine="If RESULT.Tag = \"detallepaq\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("detallepaq"))) { +RDebugUtils.currentLine=14025464; + //BA.debugLineNum = 14025464;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group670 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen670 = group670.getSize() +;int index670 = 0; +; +for (; index670 < groupLen670;index670++){ +_records = (Object[])(group670.Get(index670)); +RDebugUtils.currentLine=14025465; + //BA.debugLineNum = 14025465;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=14025466; + //BA.debugLineNum = 14025466;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=14025467; + //BA.debugLineNum = 14025467;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=14025468; + //BA.debugLineNum = 14025468;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=14025469; + //BA.debugLineNum = 14025469;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=14025470; + //BA.debugLineNum = 14025470;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=14025471; + //BA.debugLineNum = 14025471;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=14025472; + //BA.debugLineNum = 14025472;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=14025473; + //BA.debugLineNum = 14025473;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=14025474; + //BA.debugLineNum = 14025474;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=14025475; + //BA.debugLineNum = 14025475;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=14025476; + //BA.debugLineNum = 14025476;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_DETALLES_PAQ(CAT_DP_ALMACEN,CAT_DP_ID,CAT_DP_IDPROD,CAT_DP_TIPO,CAT_DP_PZAS,CAT_DP_USUARIO,CAT_DP_FECHA,CAT_DP_REGALO,CAT_DP_CLASIF,CAT_DP_PRECIO,CAT_DP_PRECIO_SIMPTOS) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_dp_almacen),(Object)(_cat_dp_id),(Object)(_cat_dp_idprod),(Object)(_cat_dp_tipo),(Object)(_cat_dp_pzas),(Object)(_cat_dp_usuario),(Object)(_cat_dp_fecha),(Object)(_cat_dp_regalo),(Object)(_cat_dp_clasif),(Object)(_cat_dp_precio),(Object)(_cat_dp_precio_simptos)})); + } +}; +RDebugUtils.currentLine=14025478; + //BA.debugLineNum = 14025478;BA.debugLine="If PB2.Progress = 0 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=14025479; + //BA.debugLineNum = 14025479;BA.debugLine="PB2.Progress = 30"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=14025480; + //BA.debugLineNum = 14025480;BA.debugLine="S_CP.Text = \"CARGANDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=14025481; + //BA.debugLineNum = 14025481;BA.debugLine="ELSE If PB2.Progress = 30 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=14025482; + //BA.debugLineNum = 14025482;BA.debugLine="PB2.Progress = 60"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=14025483; + //BA.debugLineNum = 14025483;BA.debugLine="ELSE IF PB2.Progress = 60 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=14025484; + //BA.debugLineNum = 14025484;BA.debugLine="PB2.Progress = 100"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=14025485; + //BA.debugLineNum = 14025485;BA.debugLine="S_CP.Text = \"LISTO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} +; +RDebugUtils.currentLine=14025487; + //BA.debugLineNum = 14025487;BA.debugLine="Listo3 =1"; +__ref._listo3 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14025488; + //BA.debugLineNum = 14025488;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=14025489; + //BA.debugLineNum = 14025489;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14025490; + //BA.debugLineNum = 14025490;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025491; + //BA.debugLineNum = 14025491;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }else +{RDebugUtils.currentLine=14025492; + //BA.debugLineNum = 14025492;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=14025493; + //BA.debugLineNum = 14025493;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14025494; + //BA.debugLineNum = 14025494;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025495; + //BA.debugLineNum = 14025495;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }} +; + }; + }; +RDebugUtils.currentLine=14025501; + //BA.debugLineNum = 14025501;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025502; + //BA.debugLineNum = 14025502;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025503; + //BA.debugLineNum = 14025503;BA.debugLine="If RESULT.Tag = \"hist_datos\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("hist_datos"))) { +RDebugUtils.currentLine=14025504; + //BA.debugLineNum = 14025504;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group708 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen708 = group708.getSize() +;int index708 = 0; +; +for (; index708 < groupLen708;index708++){ +_records = (Object[])(group708.Get(index708)); +RDebugUtils.currentLine=14025505; + //BA.debugLineNum = 14025505;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=14025506; + //BA.debugLineNum = 14025506;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=14025507; + //BA.debugLineNum = 14025507;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=14025508; + //BA.debugLineNum = 14025508;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=14025509; + //BA.debugLineNum = 14025509;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot)})); + } +}; +RDebugUtils.currentLine=14025511; + //BA.debugLineNum = 14025511;BA.debugLine="Listo3 =1"; +__ref._listo3 /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=14025512; + //BA.debugLineNum = 14025512;BA.debugLine="If PB1.Progress = 0 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=14025513; + //BA.debugLineNum = 14025513;BA.debugLine="PB1.Progress = 30"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (30)); +RDebugUtils.currentLine=14025514; + //BA.debugLineNum = 14025514;BA.debugLine="S_CH.Text = \"CARGANDO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CARGANDO")); + }else +{RDebugUtils.currentLine=14025515; + //BA.debugLineNum = 14025515;BA.debugLine="ELSE If PB1.Progress = 30 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==30) { +RDebugUtils.currentLine=14025516; + //BA.debugLineNum = 14025516;BA.debugLine="PB1.Progress = 60"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (60)); + }else +{RDebugUtils.currentLine=14025517; + //BA.debugLineNum = 14025517;BA.debugLine="ELSE IF PB1.Progress = 60 Then"; +if (__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==60) { +RDebugUtils.currentLine=14025518; + //BA.debugLineNum = 14025518;BA.debugLine="PB1.Progress = 100"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=14025519; + //BA.debugLineNum = 14025519;BA.debugLine="S_CH.Text = \"LISTO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("LISTO")); + }}} +; +RDebugUtils.currentLine=14025521; + //BA.debugLineNum = 14025521;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("Venta historico Actualizado."),__c.True);}; +RDebugUtils.currentLine=14025522; + //BA.debugLineNum = 14025522;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=14025523; + //BA.debugLineNum = 14025523;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=14025524; + //BA.debugLineNum = 14025524;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025525; + //BA.debugLineNum = 14025525;BA.debugLine="EJECUTANDO=0"; +__ref._ejecutando /*String*/ = BA.NumberToString(0); + }; + }; + }; +RDebugUtils.currentLine=14025530; + //BA.debugLineNum = 14025530;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025531; + //BA.debugLineNum = 14025531;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025532; + //BA.debugLineNum = 14025532;BA.debugLine="If RESULT.Tag = \"variables\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("variables"))) { +RDebugUtils.currentLine=14025533; + //BA.debugLineNum = 14025533;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group736 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen736 = group736.getSize() +;int index736 = 0; +; +for (; index736 < groupLen736;index736++){ +_records = (Object[])(group736.Get(index736)); +RDebugUtils.currentLine=14025534; + //BA.debugLineNum = 14025534;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=14025535; + //BA.debugLineNum = 14025535;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=14025536; + //BA.debugLineNum = 14025536;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_va_descripcion),(Object)(_cat_va_valor)})); + } +}; + }; + }; +RDebugUtils.currentLine=14025541; + //BA.debugLineNum = 14025541;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025542; + //BA.debugLineNum = 14025542;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025543; + //BA.debugLineNum = 14025543;BA.debugLine="If RESULT.Tag = \"CUESTIONARIO\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("CUESTIONARIO"))) { +RDebugUtils.currentLine=14025544; + //BA.debugLineNum = 14025544;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group746 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen746 = group746.getSize() +;int index746 = 0; +; +for (; index746 < groupLen746;index746++){ +_records = (Object[])(group746.Get(index746)); +RDebugUtils.currentLine=14025545; + //BA.debugLineNum = 14025545;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C"; +_cat_va_valor = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VALOR"))))]); +RDebugUtils.currentLine=14025546; + //BA.debugLineNum = 14025546;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("CUESTIONARIO")})); +RDebugUtils.currentLine=14025547; + //BA.debugLineNum = 14025547;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("CUESTIONARIO"),(Object)(_cat_va_valor)})); + } +}; + }; + }; +RDebugUtils.currentLine=14025552; + //BA.debugLineNum = 14025552;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025553; + //BA.debugLineNum = 14025553;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025554; + //BA.debugLineNum = 14025554;BA.debugLine="If RESULT.Tag = \"valida_pedido\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedido"))) { +RDebugUtils.currentLine=14025555; + //BA.debugLineNum = 14025555;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group756 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen756 = group756.getSize() +;int index756 = 0; +; +for (; index756 < groupLen756;index756++){ +_records = (Object[])(group756.Get(index756)); +RDebugUtils.currentLine=14025556; + //BA.debugLineNum = 14025556;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=14025557; + //BA.debugLineNum = 14025557;BA.debugLine="If cuantos_pedido <= CUANTOSP Then"; +if ((double)(Double.parseDouble(__ref._cuantos_pedido /*String*/ ))<=_cuantosp) { +RDebugUtils.currentLine=14025559; + //BA.debugLineNum = 14025559;BA.debugLine="datos_iguales = \"ok\""; +__ref._datos_iguales /*String*/ = "ok"; +RDebugUtils.currentLine=14025560; + //BA.debugLineNum = 14025560;BA.debugLine="S_CP.Text = \"INFO OK\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("INFO OK")); + }else { +RDebugUtils.currentLine=14025562; + //BA.debugLineNum = 14025562;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info P. Sync Nuevamente"+BA.NumberToString(_cuantosp)+" "+__ref._cuantos_pedido /*String*/ ),__c.True);}; +RDebugUtils.currentLine=14025563; + //BA.debugLineNum = 14025563;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-2)\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("ENVIAR DATOS (K-2)")); + }; + } +}; + }; + }; +RDebugUtils.currentLine=14025569; + //BA.debugLineNum = 14025569;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025570; + //BA.debugLineNum = 14025570;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025571; + //BA.debugLineNum = 14025571;BA.debugLine="If RESULT.Tag = \"valida_pedidoc\" Then 'query ta"; +if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedidoc"))) { +RDebugUtils.currentLine=14025572; + //BA.debugLineNum = 14025572;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group771 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen771 = group771.getSize() +;int index771 = 0; +; +for (; index771 < groupLen771;index771++){ +_records = (Object[])(group771.Get(index771)); +RDebugUtils.currentLine=14025573; + //BA.debugLineNum = 14025573;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=14025574; + //BA.debugLineNum = 14025574;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; +if ((__ref._cuantos_pedidosc /*String*/ ).equals(BA.NumberToString(_cuantosc))) { +RDebugUtils.currentLine=14025576; + //BA.debugLineNum = 14025576;BA.debugLine="datos_iguales = \"ok\""; +__ref._datos_iguales /*String*/ = "ok"; + }else { +RDebugUtils.currentLine=14025578; + //BA.debugLineNum = 14025578;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info C. Sync Nuevamente"+BA.NumberToString(_cuantosc)+" "+__ref._cuantos_pedidosc /*String*/ ),__c.True);}; + }; + } +}; + }; + }; +RDebugUtils.currentLine=14025584; + //BA.debugLineNum = 14025584;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025585; + //BA.debugLineNum = 14025585;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025586; + //BA.debugLineNum = 14025586;BA.debugLine="If RESULT.Tag = \"valida_noventa\" Then 'query ta"; +if ((_result.Tag /*Object*/ ).equals((Object)("valida_noventa"))) { +RDebugUtils.currentLine=14025587; + //BA.debugLineNum = 14025587;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group784 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen784 = group784.getSize() +;int index784 = 0; +; +for (; index784 < groupLen784;index784++){ +_records = (Object[])(group784.Get(index784)); +RDebugUtils.currentLine=14025588; + //BA.debugLineNum = 14025588;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=14025589; + //BA.debugLineNum = 14025589;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; +if ((__ref._cuantos_noventa /*String*/ ).equals(BA.NumberToString(_cuantosn))) { +RDebugUtils.currentLine=14025591; + //BA.debugLineNum = 14025591;BA.debugLine="datos_iguales = \"ok\""; +__ref._datos_iguales /*String*/ = "ok"; + }else { +RDebugUtils.currentLine=14025593; + //BA.debugLineNum = 14025593;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info N. Sync Nuevamente"+BA.NumberToString(_cuantosn)+" "+__ref._cuantos_noventa /*String*/ ),__c.True);}; + }; + } +}; + }; + }; +RDebugUtils.currentLine=14025599; + //BA.debugLineNum = 14025599;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025600; + //BA.debugLineNum = 14025600;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025601; + //BA.debugLineNum = 14025601;BA.debugLine="If RESULT.Tag = \"ins_pedido\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("ins_pedido"))) { +RDebugUtils.currentLine=14025602; + //BA.debugLineNum = 14025602;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group797 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen797 = group797.getSize() +;int index797 = 0; +; +for (; index797 < groupLen797;index797++){ +_records = (Object[])(group797.Get(index797)); +RDebugUtils.currentLine=14025603; + //BA.debugLineNum = 14025603;BA.debugLine="PB2.Progress = PB2.Progress + 5"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()+5)); +RDebugUtils.currentLine=14025604; + //BA.debugLineNum = 14025604;BA.debugLine="S_CP.Text = \"SUBIENDO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("SUBIENDO")); + } +}; +RDebugUtils.currentLine=14025606; + //BA.debugLineNum = 14025606;BA.debugLine="PB2.Progress = 100"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (100)); +RDebugUtils.currentLine=14025607; + //BA.debugLineNum = 14025607;BA.debugLine="S_CP.Text = \"REVISANDO ...\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("REVISANDO ...")); +RDebugUtils.currentLine=14025608; + //BA.debugLineNum = 14025608;BA.debugLine="Log(\"5\")"; +__c.LogImpl("514025608","5",0); + }; + }; +RDebugUtils.currentLine=14025612; + //BA.debugLineNum = 14025612;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025613; + //BA.debugLineNum = 14025613;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025614; + //BA.debugLineNum = 14025614;BA.debugLine="If RESULT.Tag = \"version\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { +RDebugUtils.currentLine=14025615; + //BA.debugLineNum = 14025615;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group809 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen809 = group809.getSize() +;int index809 = 0; +; +for (; index809 < groupLen809;index809++){ +_records = (Object[])(group809.Get(index809)); +RDebugUtils.currentLine=14025616; + //BA.debugLineNum = 14025616;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); +RDebugUtils.currentLine=14025617; + //BA.debugLineNum = 14025617;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=14025618; + //BA.debugLineNum = 14025618;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); + } +}; + }; + }; +RDebugUtils.currentLine=14025623; + //BA.debugLineNum = 14025623;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025624; + //BA.debugLineNum = 14025624;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025625; + //BA.debugLineNum = 14025625;BA.debugLine="If RESULT.Tag = \"count_cli\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("count_cli"))) { +RDebugUtils.currentLine=14025626; + //BA.debugLineNum = 14025626;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group819 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen819 = group819.getSize() +;int index819 = 0; +; +for (; index819 < groupLen819;index819++){ +_records = (Object[])(group819.Get(index819)); +RDebugUtils.currentLine=14025627; + //BA.debugLineNum = 14025627;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=14025632; + //BA.debugLineNum = 14025632;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025633; + //BA.debugLineNum = 14025633;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025634; + //BA.debugLineNum = 14025634;BA.debugLine="If RESULT.Tag = \"ruta\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) { +RDebugUtils.currentLine=14025635; + //BA.debugLineNum = 14025635;BA.debugLine="Log(\"JOBDONE PRINCIPAL RUTA\")"; +__c.LogImpl("514025635","JOBDONE PRINCIPAL RUTA",0); +RDebugUtils.currentLine=14025636; + //BA.debugLineNum = 14025636;BA.debugLine="Log(RESULT.Rows.Size)"; +__c.LogImpl("514025636",BA.NumberToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); +RDebugUtils.currentLine=14025637; + //BA.debugLineNum = 14025637;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group829 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen829 = group829.getSize() +;int index829 = 0; +; +for (; index829 < groupLen829;index829++){ +_records = (Object[])(group829.Get(index829)); +RDebugUtils.currentLine=14025638; + //BA.debugLineNum = 14025638;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=14025639; + //BA.debugLineNum = 14025639;BA.debugLine="Log(\"|\"&VALIDO)"; +__c.LogImpl("514025639","|"+_valido,0); +RDebugUtils.currentLine=14025640; + //BA.debugLineNum = 14025640;BA.debugLine="If VALIDO = \"OK\" Then"; +if ((_valido).equals("OK")) { +RDebugUtils.currentLine=14025641; + //BA.debugLineNum = 14025641;BA.debugLine="cargar.Visible = True"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14025642; + //BA.debugLineNum = 14025642;BA.debugLine="Subir.Visible = True"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14025643; + //BA.debugLineNum = 14025643;BA.debugLine="inv.Visible = True"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14025644; + //BA.debugLineNum = 14025644;BA.debugLine="connecta.Visible = False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025645; + //BA.debugLineNum = 14025645;BA.debugLine="If conn = \"1\" Then"; +if ((__ref._conn /*String*/ ).equals("1")) { +RDebugUtils.currentLine=14025646; + //BA.debugLineNum = 14025646;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Existe Conexión con el Servidor."),__c.True); + }; + }else { +RDebugUtils.currentLine=14025649; + //BA.debugLineNum = 14025649;BA.debugLine="cargar.Visible = False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025650; + //BA.debugLineNum = 14025650;BA.debugLine="Subir.Visible = False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025651; + //BA.debugLineNum = 14025651;BA.debugLine="inv.Visible = False"; +__ref._inv /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025652; + //BA.debugLineNum = 14025652;BA.debugLine="connecta.Visible = False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025653; + //BA.debugLineNum = 14025653;BA.debugLine="ToastMessageShow(\"Ruta invalida.\" , True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Ruta invalida."),__c.True); + }; + } +}; + }; + }; +RDebugUtils.currentLine=14025659; + //BA.debugLineNum = 14025659;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025660; + //BA.debugLineNum = 14025660;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025661; + //BA.debugLineNum = 14025661;BA.debugLine="If RESULT.Tag = \"usuario\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) { +RDebugUtils.currentLine=14025662; + //BA.debugLineNum = 14025662;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group853 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen853 = group853.getSize() +;int index853 = 0; +; +for (; index853 < groupLen853;index853++){ +_records = (Object[])(group853.Get(index853)); +RDebugUtils.currentLine=14025663; + //BA.debugLineNum = 14025663;BA.debugLine="Dim name2 As String = records(RESULT.Columns."; +_name2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("VALIDO"))))]); + } +}; +RDebugUtils.currentLine=14025665; + //BA.debugLineNum = 14025665;BA.debugLine="If name2 = \"OK\" Then"; +if ((_name2).equals("OK")) { +RDebugUtils.currentLine=14025666; + //BA.debugLineNum = 14025666;BA.debugLine="PASO = 1"; +__ref._paso /*String*/ = BA.NumberToString(1); + }; +RDebugUtils.currentLine=14025668; + //BA.debugLineNum = 14025668;BA.debugLine="P1.Visible = False"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14025669; + //BA.debugLineNum = 14025669;BA.debugLine="p_mandaInfo.Visible = False"; +__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }; + }; +RDebugUtils.currentLine=14025673; + //BA.debugLineNum = 14025673;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025674; + //BA.debugLineNum = 14025674;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025675; + //BA.debugLineNum = 14025675;BA.debugLine="If RESULT.Tag = \"fecha\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("fecha"))) { +RDebugUtils.currentLine=14025676; + //BA.debugLineNum = 14025676;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group866 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen866 = group866.getSize() +;int index866 = 0; +; +for (; index866 < groupLen866;index866++){ +_records = (Object[])(group866.Get(index866)); +RDebugUtils.currentLine=14025677; + //BA.debugLineNum = 14025677;BA.debugLine="Dim FECHA_HOY As String = records(RESULT.Colu"; +_fecha_hoy = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("FECHA"))))]); +RDebugUtils.currentLine=14025678; + //BA.debugLineNum = 14025678;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA")})); +RDebugUtils.currentLine=14025679; + //BA.debugLineNum = 14025679;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA"),(Object)(_fecha_hoy)})); + } +}; + }; + }; + }; +RDebugUtils.currentLine=14025722; + //BA.debugLineNum = 14025722;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025723; + //BA.debugLineNum = 14025723;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025724; + //BA.debugLineNum = 14025724;BA.debugLine="If RESULT.Tag = \"ins_cuestionario\" Then 'query t"; +if ((_result.Tag /*Object*/ ).equals((Object)("ins_cuestionario"))) { +RDebugUtils.currentLine=14025725; + //BA.debugLineNum = 14025725;BA.debugLine="Subs.logJobDoneResultados(RESULT)"; +_subs._logjobdoneresultados /*String*/ (ba,_result); + }; +RDebugUtils.currentLine=14025728; + //BA.debugLineNum = 14025728;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025729; + //BA.debugLineNum = 14025729;BA.debugLine="If RESULT.Tag = \"test\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("test"))) { +RDebugUtils.currentLine=14025730; + //BA.debugLineNum = 14025730;BA.debugLine="Log(\">>>>>>>>>>>>> TEST\")"; +__c.LogImpl("514025730",">>>>>>>>>>>>> TEST",0); +RDebugUtils.currentLine=14025731; + //BA.debugLineNum = 14025731;BA.debugLine="Subs.logJobDoneResultados(RESULT)"; +_subs._logjobdoneresultados /*String*/ (ba,_result); + }; +RDebugUtils.currentLine=14025734; + //BA.debugLineNum = 14025734;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025735; + //BA.debugLineNum = 14025735;BA.debugLine="If RESULT.Tag = \"clientes_cuestionario\" Then"; +if ((_result.Tag /*Object*/ ).equals((Object)("clientes_cuestionario"))) { +RDebugUtils.currentLine=14025736; + //BA.debugLineNum = 14025736;BA.debugLine="Log(\"Entramos a clientes_cuestionario - Regs:\""; +__c.LogImpl("514025736","Entramos a clientes_cuestionario - Regs:"+BA.NumberToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); +RDebugUtils.currentLine=14025737; + //BA.debugLineNum = 14025737;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_CUE"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_CUESTIONARIO"); +RDebugUtils.currentLine=14025738; + //BA.debugLineNum = 14025738;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group888 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen888 = group888.getSize() +;int index888 = 0; +; +for (; index888 < groupLen888;index888++){ +_records = (Object[])(group888.Get(index888)); +RDebugUtils.currentLine=14025739; + //BA.debugLineNum = 14025739;BA.debugLine="Dim idCliente As String = records(RESULT.Colum"; +_idcliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CLIENTE"))))]); +RDebugUtils.currentLine=14025740; + //BA.debugLineNum = 14025740;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_C"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_CUESTIONARIO(HC_CLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_idcliente)})); + } +}; + }; + }; +RDebugUtils.currentLine=14025745; + //BA.debugLineNum = 14025745;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=14025746; + //BA.debugLineNum = 14025746;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; +_result = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=14025747; + //BA.debugLineNum = 14025747;BA.debugLine="If RESULT.Tag = \"telefono\" Then 'query tag"; +if ((_result.Tag /*Object*/ ).equals((Object)("telefono"))) { +RDebugUtils.currentLine=14025749; + //BA.debugLineNum = 14025749;BA.debugLine="For Each records() As Object In RESULT.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group897 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen897 = group897.getSize() +;int index897 = 0; +; +for (; index897 < groupLen897;index897++){ +_records = (Object[])(group897.Get(index897)); +RDebugUtils.currentLine=14025750; + //BA.debugLineNum = 14025750;BA.debugLine="Dim TELEFONO As String = \"\""; +_telefono = ""; +RDebugUtils.currentLine=14025752; + //BA.debugLineNum = 14025752;BA.debugLine="If RESULT.Columns.Get(\"CAT_LO_IDTELEFONO\") <>"; +if (_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))!= null) { +RDebugUtils.currentLine=14025753; + //BA.debugLineNum = 14025753;BA.debugLine="Dim index As Int = RESULT.Columns.Get(\"CAT_LO"; +_index = (int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO")))); +RDebugUtils.currentLine=14025754; + //BA.debugLineNum = 14025754;BA.debugLine="If records(index) <> Null Then"; +if (_records[_index]!= null) { +RDebugUtils.currentLine=14025755; + //BA.debugLineNum = 14025755;BA.debugLine="TELEFONO = records(index)"; +_telefono = BA.ObjectToString(_records[_index]); + }; + }; +RDebugUtils.currentLine=14025759; + //BA.debugLineNum = 14025759;BA.debugLine="If TELEFONO <> \"\" Then"; +if ((_telefono).equals("") == false) { +RDebugUtils.currentLine=14025760; + //BA.debugLineNum = 14025760;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("TELEFONO")})); +RDebugUtils.currentLine=14025761; + //BA.debugLineNum = 14025761;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("TELEFONO"),(Object)(_telefono)})); + }; + } +}; + }; + }; +RDebugUtils.currentLine=14025767; + //BA.debugLineNum = 14025767;BA.debugLine="If resultado.Tag = \"nom_user\" Then"; +if ((_resultado.Tag /*Object*/ ).equals((Object)("nom_user"))) { +RDebugUtils.currentLine=14025768; + //BA.debugLineNum = 14025768;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group913 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen913 = group913.getSize() +;int index913 = 0; +; +for (; index913 < groupLen913;index913++){ +_records = (Object[])(group913.Get(index913)); +RDebugUtils.currentLine=14025769; + //BA.debugLineNum = 14025769;BA.debugLine="Dim nombre_user As String = records(resultado.C"; +_nombre_user = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_NOMBRE"))))]); +RDebugUtils.currentLine=14025770; + //BA.debugLineNum = 14025770;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FR"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("nom_usuario")})); +RDebugUtils.currentLine=14025771; + //BA.debugLineNum = 14025771;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("nom_usuario"),(Object)(_nombre_user)})); + } +}; + }; +RDebugUtils.currentLine=14025775; + //BA.debugLineNum = 14025775;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); +RDebugUtils.currentLine=14025776; + //BA.debugLineNum = 14025776;BA.debugLine="End Sub"; +return ""; +} +public String _mapfragment1_longclick(SHARK2.keymon.com.mx.c_principal __ref,anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _mpoint) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "mapfragment1_longclick", false)) + {return ((String) Debug.delegate(ba, "mapfragment1_longclick", new Object[] {_mpoint}));} +boolean _dentro = false; +RDebugUtils.currentLine=13828096; + //BA.debugLineNum = 13828096;BA.debugLine="Sub MapFragment1_LongClick (mPoint As LatLng)"; +RDebugUtils.currentLine=13828098; + //BA.debugLineNum = 13828098;BA.debugLine="If lista_punta.Size > 0 Then"; +if (__ref._lista_punta /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>0) { +RDebugUtils.currentLine=13828099; + //BA.debugLineNum = 13828099;BA.debugLine="Dim dentro As Boolean = PointInPolygon(mPoint, l"; +_dentro = __ref._pointinpolygon /*boolean*/ (null,_mpoint,__ref._lista_punta /*anywheresoftware.b4a.objects.collections.List*/ ); +RDebugUtils.currentLine=13828101; + //BA.debugLineNum = 13828101;BA.debugLine="If dentro Then"; +if (_dentro) { +RDebugUtils.currentLine=13828102; + //BA.debugLineNum = 13828102;BA.debugLine="ToastMessageShow(\"El punto está DENTRO del polí"; +__c.ToastMessageShow(BA.ObjectToCharSequence("El punto está DENTRO del polígono"),__c.True); + }else { +RDebugUtils.currentLine=13828104; + //BA.debugLineNum = 13828104;BA.debugLine="ToastMessageShow(\"El punto está FUERA del políg"; +__c.ToastMessageShow(BA.ObjectToCharSequence("El punto está FUERA del polígono"),__c.True); + }; + }; +RDebugUtils.currentLine=13828107; + //BA.debugLineNum = 13828107;BA.debugLine="End Sub"; +return ""; +} +public boolean _pointinpolygon(SHARK2.keymon.com.mx.c_principal __ref,anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _point,anywheresoftware.b4a.objects.collections.List _polygon) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "pointinpolygon", false)) + {return ((Boolean) Debug.delegate(ba, "pointinpolygon", new Object[] {_point,_polygon}));} +double _x = 0; +double _y = 0; +boolean _inside = false; +int _i = 0; +int _j = 0; +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _p1_1 = null; +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _p2_1 = null; +double _xi = 0; +double _yi = 0; +double _xj = 0; +double _yj = 0; +boolean _intersect = false; +RDebugUtils.currentLine=13762560; + //BA.debugLineNum = 13762560;BA.debugLine="Sub PointInPolygon(point As LatLng, polygon As Lis"; +RDebugUtils.currentLine=13762561; + //BA.debugLineNum = 13762561;BA.debugLine="Dim x As Double = point.Longitude"; +_x = _point.getLongitude(); +RDebugUtils.currentLine=13762562; + //BA.debugLineNum = 13762562;BA.debugLine="Dim y As Double = point.Latitude"; +_y = _point.getLatitude(); +RDebugUtils.currentLine=13762564; + //BA.debugLineNum = 13762564;BA.debugLine="Dim inside As Boolean = False"; +_inside = __c.False; +RDebugUtils.currentLine=13762565; + //BA.debugLineNum = 13762565;BA.debugLine="For i = 0 To polygon.Size - 1"; +{ +final int step4 = 1; +final int limit4 = (int) (_polygon.getSize()-1); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=13762566; + //BA.debugLineNum = 13762566;BA.debugLine="Dim j As Int = (i + 1) Mod polygon.Size"; +_j = (int) ((_i+1)%_polygon.getSize()); +RDebugUtils.currentLine=13762567; + //BA.debugLineNum = 13762567;BA.debugLine="Dim p1_1 As LatLng = polygon.Get(i)"; +_p1_1 = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +_p1_1 = (anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(), (com.google.android.gms.maps.model.LatLng)(_polygon.Get(_i))); +RDebugUtils.currentLine=13762568; + //BA.debugLineNum = 13762568;BA.debugLine="Dim p2_1 As LatLng = polygon.Get(j)"; +_p2_1 = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +_p2_1 = (anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(), (com.google.android.gms.maps.model.LatLng)(_polygon.Get(_j))); +RDebugUtils.currentLine=13762570; + //BA.debugLineNum = 13762570;BA.debugLine="Dim xi As Double = p1_1.Longitude"; +_xi = _p1_1.getLongitude(); +RDebugUtils.currentLine=13762571; + //BA.debugLineNum = 13762571;BA.debugLine="Dim yi As Double = p1_1.Latitude"; +_yi = _p1_1.getLatitude(); +RDebugUtils.currentLine=13762572; + //BA.debugLineNum = 13762572;BA.debugLine="Dim xj As Double = p2_1.Longitude"; +_xj = _p2_1.getLongitude(); +RDebugUtils.currentLine=13762573; + //BA.debugLineNum = 13762573;BA.debugLine="Dim yj As Double = p2_1.Latitude"; +_yj = _p2_1.getLatitude(); +RDebugUtils.currentLine=13762575; + //BA.debugLineNum = 13762575;BA.debugLine="Dim intersect As Boolean = ((yi > y) <> (yj > y)"; +_intersect = ((_yi>_y)!=(_yj>_y)) && (_x<(_xj-_xi)*(_y-_yi)/(double)(_yj-_yi)+_xi); +RDebugUtils.currentLine=13762576; + //BA.debugLineNum = 13762576;BA.debugLine="If intersect Then"; +if (_intersect) { +RDebugUtils.currentLine=13762577; + //BA.debugLineNum = 13762577;BA.debugLine="inside = Not(inside)"; +_inside = __c.Not(_inside); + }; + } +}; +RDebugUtils.currentLine=13762581; + //BA.debugLineNum = 13762581;BA.debugLine="Return inside"; +if (true) return _inside; +RDebugUtils.currentLine=13762584; + //BA.debugLineNum = 13762584;BA.debugLine="End Sub"; +return false; +} +public String _nuevo_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "nuevo_click", false)) + {return ((String) Debug.delegate(ba, "nuevo_click", null));} +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _mpoint = null; +RDebugUtils.currentLine=14614528; + //BA.debugLineNum = 14614528;BA.debugLine="Sub NUEVO_Click"; +RDebugUtils.currentLine=14614532; + //BA.debugLineNum = 14614532;BA.debugLine="Dim mPoint As LatLng"; +_mpoint = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +RDebugUtils.currentLine=14614533; + //BA.debugLineNum = 14614533;BA.debugLine="mPoint.Initialize(B4XPages.MainPage.lat_gps, B4XP"; +_mpoint.Initialize((double)(Double.parseDouble(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )),(double)(Double.parseDouble(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ))); +RDebugUtils.currentLine=14614540; + //BA.debugLineNum = 14614540;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +_b4xpages._showpage /*String*/ (ba,"NuevoCliente"); +RDebugUtils.currentLine=14614546; + //BA.debugLineNum = 14614546;BA.debugLine="End Sub"; +return ""; +} +public String _nvo_cliente_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "nvo_cliente_click", false)) + {return ((String) Debug.delegate(ba, "nvo_cliente_click", null));} +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _mpoint = null; +RDebugUtils.currentLine=15073280; + //BA.debugLineNum = 15073280;BA.debugLine="Sub nvo_cliente_Click"; +RDebugUtils.currentLine=15073283; + //BA.debugLineNum = 15073283;BA.debugLine="Dim mPoint As LatLng"; +_mpoint = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +RDebugUtils.currentLine=15073284; + //BA.debugLineNum = 15073284;BA.debugLine="mPoint.Initialize(B4XPages.MainPage.lat_gps, B4XP"; +_mpoint.Initialize((double)(Double.parseDouble(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )),(double)(Double.parseDouble(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ))); +RDebugUtils.currentLine=15073291; + //BA.debugLineNum = 15073291;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; +_b4xpages._showpage /*String*/ (ba,"NuevoCliente"); +RDebugUtils.currentLine=15073296; + //BA.debugLineNum = 15073296;BA.debugLine="End Sub"; +return ""; +} +public String _p_mandainfo_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "p_mandainfo_click", false)) + {return ((String) Debug.delegate(ba, "p_mandainfo_click", null));} +RDebugUtils.currentLine=15728640; + //BA.debugLineNum = 15728640;BA.debugLine="Private Sub p_mandaInfo_Click"; +RDebugUtils.currentLine=15728642; + //BA.debugLineNum = 15728642;BA.debugLine="End Sub"; +return ""; +} +public String _p_prod_click(SHARK2.keymon.com.mx.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=16318464; + //BA.debugLineNum = 16318464;BA.debugLine="Private Sub p_prod_Click"; +RDebugUtils.currentLine=16318466; + //BA.debugLineNum = 16318466;BA.debugLine="End Sub"; +return ""; +} +public String _p_resumen_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "p_resumen_click", false)) + {return ((String) Debug.delegate(ba, "p_resumen_click", null));} +RDebugUtils.currentLine=14811136; + //BA.debugLineNum = 14811136;BA.debugLine="Sub P_RESUMEN_click"; +RDebugUtils.currentLine=14811138; + //BA.debugLineNum = 14811138;BA.debugLine="End Sub"; +return ""; +} +public String _pnlcobranza_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "pnlcobranza_click", false)) + {return ((String) Debug.delegate(ba, "pnlcobranza_click", null));} +RDebugUtils.currentLine=16187392; + //BA.debugLineNum = 16187392;BA.debugLine="Private Sub pnlCobranza_Click"; +RDebugUtils.currentLine=16187394; + //BA.debugLineNum = 16187394;BA.debugLine="End Sub"; +return ""; +} +public String _resdia_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "resdia_click", false)) + {return ((String) Debug.delegate(ba, "resdia_click", null));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +String _cuantos_obj = ""; +RDebugUtils.currentLine=14942208; + //BA.debugLineNum = 14942208;BA.debugLine="Sub resdia_Click"; +RDebugUtils.currentLine=14942209; + //BA.debugLineNum = 14942209;BA.debugLine="p_principal.Visible = False"; +__ref._p_principal /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14942210; + //BA.debugLineNum = 14942210;BA.debugLine="Btn_Ubicar.Visible=False"; +__ref._btn_ubicar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14942211; + //BA.debugLineNum = 14942211;BA.debugLine="SCROLL_RESDIA.Visible = True"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14942212; + //BA.debugLineNum = 14942212;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"RESDIA\")"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().LoadLayout("RESDIA",ba); +RDebugUtils.currentLine=14942213; + //BA.debugLineNum = 14942213;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel4.Height"; +__ref._scroll_resdia /*anywheresoftware.b4a.objects.ScrollViewWrapper*/ .getPanel().setHeight(__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=14942214; + //BA.debugLineNum = 14942214;BA.debugLine="Panel4.Visible = True"; +__ref._panel4 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14942216; + //BA.debugLineNum = 14942216;BA.debugLine="NUEVO.Visible =False"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14942217; + //BA.debugLineNum = 14942217;BA.debugLine="BUSCA.Visible=False"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14942218; + //BA.debugLineNum = 14942218;BA.debugLine="connecta.Visible=False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14942219; + //BA.debugLineNum = 14942219;BA.debugLine="Subir.Visible=False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14942220; + //BA.debugLineNum = 14942220;BA.debugLine="cargar.Visible=False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14942221; + //BA.debugLineNum = 14942221;BA.debugLine="Resumen.Visible= False"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14942223; + //BA.debugLineNum = 14942223;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select COUNT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS CUANTOS FROM HIST_ENCUESTA WHERE HE_TIPO = ?",new String[]{"TELEFONO"}))); +RDebugUtils.currentLine=14942224; + //BA.debugLineNum = 14942224;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942225; + //BA.debugLineNum = 14942225;BA.debugLine="l_encuesta.Text = d.GetString(\"CUANTOS\")"; +__ref._l_encuesta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"))); +RDebugUtils.currentLine=14942226; + //BA.debugLineNum = 14942226;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942228; + //BA.debugLineNum = 14942228;BA.debugLine="L_MARCAS.CLEAR"; +__ref._l_marcas /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=14942229; + //BA.debugLineNum = 14942229;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select disti"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select distinct HE_CLIE AS CLIENTE FROM HIST_ENCUESTA WHERE HE_TIPO = ?",new String[]{"TELEFONO"}))); +RDebugUtils.currentLine=14942230; + //BA.debugLineNum = 14942230;BA.debugLine="If D.RowCount>0 Then"; +if (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14942231; + //BA.debugLineNum = 14942231;BA.debugLine="For i=0 To D.RowCount -1"; +{ +final int step20 = 1; +final int limit20 = (int) (__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit20 ;_i = _i + step20 ) { +RDebugUtils.currentLine=14942232; + //BA.debugLineNum = 14942232;BA.debugLine="D.Position=i"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=14942233; + //BA.debugLineNum = 14942233;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select HE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select HE_RES from HIST_ENCUESTA where HE_CLIE = ? AND HE_TIPO = ?",new String[]{__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTE"),"TELEFONO"}))); +RDebugUtils.currentLine=14942234; + //BA.debugLineNum = 14942234;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942235; + //BA.debugLineNum = 14942235;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14942236; + //BA.debugLineNum = 14942236;BA.debugLine="label1 = L_MARCAS.TwoLinesLayout.Label"; +_label1 = __ref._l_marcas /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=14942237; + //BA.debugLineNum = 14942237;BA.debugLine="label1.TextSize = 13"; +_label1.setTextSize((float) (13)); +RDebugUtils.currentLine=14942238; + //BA.debugLineNum = 14942238;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=14942239; + //BA.debugLineNum = 14942239;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=14942240; + //BA.debugLineNum = 14942240;BA.debugLine="label2 = L_MARCAS.TwoLinesLayout.SecondLabel"; +_label2 = __ref._l_marcas /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=14942241; + //BA.debugLineNum = 14942241;BA.debugLine="label2.TextSize = 13"; +_label2.setTextSize((float) (13)); +RDebugUtils.currentLine=14942242; + //BA.debugLineNum = 14942242;BA.debugLine="label2.TextColor = Colors.Black"; +_label2.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=14942243; + //BA.debugLineNum = 14942243;BA.debugLine="L_MARCAS.AddTwoLines(d.GetString(\"CLIENTE\"),\"TE"; +__ref._l_marcas /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CLIENTE")),BA.ObjectToCharSequence("TELEFONO :"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("HE_RES"))); +RDebugUtils.currentLine=14942244; + //BA.debugLineNum = 14942244;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + } +}; + }; +RDebugUtils.currentLine=14942247; + //BA.debugLineNum = 14942247;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942249; + //BA.debugLineNum = 14942249;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPO = ? )",new String[]{"RTEC"}))); +RDebugUtils.currentLine=14942250; + //BA.debugLineNum = 14942250;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942251; + //BA.debugLineNum = 14942251;BA.debugLine="l_monto_k.Text = c.GetString(\"MONTO_DIA\")"; +__ref._l_monto_k /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA"))); +RDebugUtils.currentLine=14942252; + //BA.debugLineNum = 14942252;BA.debugLine="If l_monto_k.Text = \"null\" Then"; +if ((__ref._l_monto_k /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null")) { +RDebugUtils.currentLine=14942253; + //BA.debugLineNum = 14942253;BA.debugLine="l_monto_k.Text = \"0\""; +__ref._l_monto_k /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); + }; +RDebugUtils.currentLine=14942255; + //BA.debugLineNum = 14942255;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942257; + //BA.debugLineNum = 14942257;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPO = ? )",new String[]{"PING"}))); +RDebugUtils.currentLine=14942258; + //BA.debugLineNum = 14942258;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942259; + //BA.debugLineNum = 14942259;BA.debugLine="l_monto_kp.Text = c.GetString(\"MONTO_DIA\")"; +__ref._l_monto_kp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA"))); +RDebugUtils.currentLine=14942260; + //BA.debugLineNum = 14942260;BA.debugLine="If l_monto_kp.Text = \"null\" Then"; +if ((__ref._l_monto_kp /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null")) { +RDebugUtils.currentLine=14942261; + //BA.debugLineNum = 14942261;BA.debugLine="l_monto_kp.Text = \"0\""; +__ref._l_monto_kp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); + }; +RDebugUtils.currentLine=14942263; + //BA.debugLineNum = 14942263;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942273; + //BA.debugLineNum = 14942273;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum(P"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 "))); +RDebugUtils.currentLine=14942274; + //BA.debugLineNum = 14942274;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942275; + //BA.debugLineNum = 14942275;BA.debugLine="l_monto_ks.Text = Subs.traeTotalCliente"; +__ref._l_monto_ks /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_subs._traetotalcliente /*double*/ (ba))); +RDebugUtils.currentLine=14942277; + //BA.debugLineNum = 14942277;BA.debugLine="If l_monto_ks.Text = \"null\" Then"; +if ((__ref._l_monto_ks /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null")) { +RDebugUtils.currentLine=14942278; + //BA.debugLineNum = 14942278;BA.debugLine="l_monto_ks.Text = \"0\""; +__ref._l_monto_ks /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); + }; +RDebugUtils.currentLine=14942280; + //BA.debugLineNum = 14942280;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942281; + //BA.debugLineNum = 14942281;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) As PREVENTA from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=14942282; + //BA.debugLineNum = 14942282;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14942283; + //BA.debugLineNum = 14942283;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942284; + //BA.debugLineNum = 14942284;BA.debugLine="L_PREVENTA.Text = Subs.traeTotalClientepreventa"; +__ref._l_preventa /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_subs._traetotalclientepreventa /*double*/ (ba))); +RDebugUtils.currentLine=14942285; + //BA.debugLineNum = 14942285;BA.debugLine="If L_PREVENTA.TEXT = \"null\" Then"; +if ((__ref._l_preventa /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null")) { +RDebugUtils.currentLine=14942286; + //BA.debugLineNum = 14942286;BA.debugLine="L_PREVENTA.Text = \"0\""; +__ref._l_preventa /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); + }; + }; +RDebugUtils.currentLine=14942289; + //BA.debugLineNum = 14942289;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942290; + //BA.debugLineNum = 14942290;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) As VENTA from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0",new String[]{"VENTA"}))); +RDebugUtils.currentLine=14942291; + //BA.debugLineNum = 14942291;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14942292; + //BA.debugLineNum = 14942292;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942293; + //BA.debugLineNum = 14942293;BA.debugLine="L_VENTA.Text = Subs.traeTotalClienteventa"; +__ref._l_venta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_subs._traetotalclienteventa /*double*/ (ba))); +RDebugUtils.currentLine=14942294; + //BA.debugLineNum = 14942294;BA.debugLine="If L_VENTA.TEXT = \"null\" Then"; +if ((__ref._l_venta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null")) { +RDebugUtils.currentLine=14942295; + //BA.debugLineNum = 14942295;BA.debugLine="L_VENTA.Text = \"0\""; +__ref._l_venta /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); + }; + }; +RDebugUtils.currentLine=14942298; + //BA.debugLineNum = 14942298;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942299; + //BA.debugLineNum = 14942299;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) As ABORDO from pedido where PE_FOLIO = ? AND PE_CLIENTE = ?",new String[]{"ABORDO","0"}))); +RDebugUtils.currentLine=14942300; + //BA.debugLineNum = 14942300;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=14942301; + //BA.debugLineNum = 14942301;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942302; + //BA.debugLineNum = 14942302;BA.debugLine="L_ABORDO.Text = Subs.traeTotalClienteabordo"; +__ref._l_abordo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_subs._traetotalclienteabordo /*double*/ (ba))); +RDebugUtils.currentLine=14942303; + //BA.debugLineNum = 14942303;BA.debugLine="If L_ABORDO.TEXT = \"null\" Then"; +if ((__ref._l_abordo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("null")) { +RDebugUtils.currentLine=14942304; + //BA.debugLineNum = 14942304;BA.debugLine="L_ABORDO.Text = \"0\""; +__ref._l_abordo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); + }; + }; +RDebugUtils.currentLine=14942307; + //BA.debugLineNum = 14942307;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942308; + //BA.debugLineNum = 14942308;BA.debugLine="Dim cuantos_obj As String"; +_cuantos_obj = ""; +RDebugUtils.currentLine=14942309; + //BA.debugLineNum = 14942309;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) AS TOTAL from HIST_MARCAS_CUOTAS "))); +RDebugUtils.currentLine=14942310; + //BA.debugLineNum = 14942310;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942311; + //BA.debugLineNum = 14942311;BA.debugLine="cuantos_obj = c.GetString(\"TOTAL\")"; +_cuantos_obj = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL"); +RDebugUtils.currentLine=14942312; + //BA.debugLineNum = 14942312;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942314; + //BA.debugLineNum = 14942314;BA.debugLine="If cuantos_obj > 0 Then"; +if ((double)(Double.parseDouble(_cuantos_obj))>0) { +RDebugUtils.currentLine=14942315; + //BA.debugLineNum = 14942315;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select SUM("; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select SUM( HMC_TOTAL) AS TOTAL from HIST_MARCAS_CUOTAS "))); +RDebugUtils.currentLine=14942316; + //BA.debugLineNum = 14942316;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942317; + //BA.debugLineNum = 14942317;BA.debugLine="L_NES.Text = c.GetString(\"TOTAL\")"; +__ref._l_nes /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("TOTAL"))); +RDebugUtils.currentLine=14942318; + //BA.debugLineNum = 14942318;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=14942320; + //BA.debugLineNum = 14942320;BA.debugLine="L_REAL.Text = l_monto_ks.Text"; +__ref._l_real /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._l_monto_ks /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())); +RDebugUtils.currentLine=14942321; + //BA.debugLineNum = 14942321;BA.debugLine="L_ALCANCE.Text = Round2((L_NES.Text / L_REAL.Text"; +__ref._l_alcance /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2(((double)(Double.parseDouble(__ref._l_nes /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))/(double)(double)(Double.parseDouble(__ref._l_real /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+1),(int) (2)))); +RDebugUtils.currentLine=14942322; + //BA.debugLineNum = 14942322;BA.debugLine="L_VPLAN.Text = l_porvisitar.Text"; +__ref._l_vplan /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())); +RDebugUtils.currentLine=14942323; + //BA.debugLineNum = 14942323;BA.debugLine="L_VREAL.Text = L_CUANTOST.text"; +__ref._l_vreal /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._l_cuantost /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())); +RDebugUtils.currentLine=14942324; + //BA.debugLineNum = 14942324;BA.debugLine="L_EFEC_VIS.Text = Round2(L_VREAL.text / L_VPLAN.T"; +__ref._l_efec_vis /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._l_vreal /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))/(double)(double)(Double.parseDouble(__ref._l_vplan /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())),(int) (2)))); +RDebugUtils.currentLine=14942325; + //BA.debugLineNum = 14942325;BA.debugLine="L_VISITCC.Text = l_cuantosc.text"; +__ref._l_visitcc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())); +RDebugUtils.currentLine=14942326; + //BA.debugLineNum = 14942326;BA.debugLine="L_EFEC_PV.Text = Round2(L_VISITCC.Text / L_VREAL."; +__ref._l_efec_pv /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._l_visitcc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))/(double)(double)(Double.parseDouble(__ref._l_vreal /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())),(int) (2)))); +RDebugUtils.currentLine=14942327; + //BA.debugLineNum = 14942327;BA.debugLine="L_EFEC_PURA.Text = Round2(L_VISITCC.Text / L_VPLA"; +__ref._l_efec_pura /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._l_visitcc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))/(double)(double)(Double.parseDouble(__ref._l_vplan /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())),(int) (2)))); +RDebugUtils.currentLine=14942328; + //BA.debugLineNum = 14942328;BA.debugLine="L_LIN_TICK.Text = LPT"; +__ref._l_lin_tick /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._lpt /*String*/ )); +RDebugUtils.currentLine=14942329; + //BA.debugLineNum = 14942329;BA.debugLine="If l_monto_ks.Text <> \"0\" Then"; +if ((__ref._l_monto_ks /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()).equals("0") == false) { +RDebugUtils.currentLine=14942331; + //BA.debugLineNum = 14942331;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select COU"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select COUNT(DISTINCT(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = ? ",new String[]{__ref._almacen /*String*/ }))); +RDebugUtils.currentLine=14942332; + //BA.debugLineNum = 14942332;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942333; + //BA.debugLineNum = 14942333;BA.debugLine="L_CTE_PROMO.Text = c.GetString(\"CUANTOS\")"; +__ref._l_cte_promo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"))); +RDebugUtils.currentLine=14942334; + //BA.debugLineNum = 14942334;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942335; + //BA.debugLineNum = 14942335;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPOPROD = ?) ",new String[]{"PRIORITARIO"}))); +RDebugUtils.currentLine=14942336; + //BA.debugLineNum = 14942336;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942343; + //BA.debugLineNum = 14942343;BA.debugLine="Log(\"|\"&d.GetString(\"MONTO_DIA\")&\"|\")"; +__c.LogImpl("514942343","|"+__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA")+"|",0); +RDebugUtils.currentLine=14942345; + //BA.debugLineNum = 14942345;BA.debugLine="L_PRIO.Text = d.GetString(\"MONTO_DIA\")"; +__ref._l_prio /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA"))); +RDebugUtils.currentLine=14942346; + //BA.debugLineNum = 14942346;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942348; + //BA.debugLineNum = 14942348;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPOPROD = ?) ",new String[]{"ESTRATEGICO"}))); +RDebugUtils.currentLine=14942349; + //BA.debugLineNum = 14942349;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942350; + //BA.debugLineNum = 14942350;BA.debugLine="L_SECUND.Text =d.GetString(\"MONTO_DIA\")"; +__ref._l_secund /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA"))); +RDebugUtils.currentLine=14942351; + //BA.debugLineNum = 14942351;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942353; + //BA.debugLineNum = 14942353;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPOPROD = ?) ",new String[]{"COMPLEMENTARIO"}))); +RDebugUtils.currentLine=14942354; + //BA.debugLineNum = 14942354;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942355; + //BA.debugLineNum = 14942355;BA.debugLine="L_COMP.Text =d.GetString(\"MONTO_DIA\")"; +__ref._l_comp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("MONTO_DIA"))); +RDebugUtils.currentLine=14942356; + //BA.debugLineNum = 14942356;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }else { +RDebugUtils.currentLine=14942358; + //BA.debugLineNum = 14942358;BA.debugLine="L_PRIO.Text = \"0\""; +__ref._l_prio /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); +RDebugUtils.currentLine=14942359; + //BA.debugLineNum = 14942359;BA.debugLine="L_SECUND.Text = \"0\""; +__ref._l_secund /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); +RDebugUtils.currentLine=14942360; + //BA.debugLineNum = 14942360;BA.debugLine="L_COMP.Text = \"0\""; +__ref._l_comp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); + }; +RDebugUtils.currentLine=14942363; + //BA.debugLineNum = 14942363;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID "))); +RDebugUtils.currentLine=14942364; + //BA.debugLineNum = 14942364;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942365; + //BA.debugLineNum = 14942365;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { +RDebugUtils.currentLine=14942366; + //BA.debugLineNum = 14942366;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID "))); +RDebugUtils.currentLine=14942367; + //BA.debugLineNum = 14942367;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942368; + //BA.debugLineNum = 14942368;BA.debugLine="L_CTE_PROMO.Text = d.GetString(\"CUANTOS\")"; +__ref._l_cte_promo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS"))); +RDebugUtils.currentLine=14942369; + //BA.debugLineNum = 14942369;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942370; + //BA.debugLineNum = 14942370;BA.debugLine="L_REDEN_PROMO.TEXT = Round2(L_VISITCC.Text / L_C"; +__ref._l_reden_promo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._l_visitcc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))/(double)(double)(Double.parseDouble(__ref._l_cte_promo /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())),(int) (2)))); + }else { +RDebugUtils.currentLine=14942372; + //BA.debugLineNum = 14942372;BA.debugLine="L_CTE_PROMO.Text = 0"; +__ref._l_cte_promo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=14942373; + //BA.debugLineNum = 14942373;BA.debugLine="L_REDEN_PROMO.Text = 0"; +__ref._l_reden_promo /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=14942375; + //BA.debugLineNum = 14942375;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942376; + //BA.debugLineNum = 14942376;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select COUNT(*) AS CUANTOS FROM PEDIDO "))); +RDebugUtils.currentLine=14942377; + //BA.debugLineNum = 14942377;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942378; + //BA.debugLineNum = 14942378;BA.debugLine="L_LIN_TICK.Text = Round2(d.GetString(\"CUANTOS\") /"; +__ref._l_lin_tick /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))/(double)(double)(Double.parseDouble(__ref._l_visitcc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())),(int) (2)))); +RDebugUtils.currentLine=14942379; + //BA.debugLineNum = 14942379;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942381; + //BA.debugLineNum = 14942381;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from HIST_CUOTAS "))); +RDebugUtils.currentLine=14942382; + //BA.debugLineNum = 14942382;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=14942383; + //BA.debugLineNum = 14942383;BA.debugLine="If d.GetString(\"CUANTOS\") > 0 Then"; +if ((double)(Double.parseDouble(__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")))>0) { + }else { +RDebugUtils.currentLine=14942391; + //BA.debugLineNum = 14942391;BA.debugLine="l_monto_c1.Text = 4000"; +__ref._l_monto_c1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(4000)); +RDebugUtils.currentLine=14942392; + //BA.debugLineNum = 14942392;BA.debugLine="l_monto_c2.Text = 2000"; +__ref._l_monto_c2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(2000)); +RDebugUtils.currentLine=14942393; + //BA.debugLineNum = 14942393;BA.debugLine="l_monto_c3.Text = 1000"; +__ref._l_monto_c3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(1000)); + }; +RDebugUtils.currentLine=14942395; + //BA.debugLineNum = 14942395;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=14942396; + //BA.debugLineNum = 14942396;BA.debugLine="End Sub"; +return ""; +} +public String _resumen_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "resumen_click", false)) + {return ((String) Debug.delegate(ba, "resumen_click", null));} +RDebugUtils.currentLine=14745600; + //BA.debugLineNum = 14745600;BA.debugLine="Sub Resumen_Click"; +RDebugUtils.currentLine=14745601; + //BA.debugLineNum = 14745601;BA.debugLine="P_RESUMEN.Visible = True"; +__ref._p_resumen /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=14745609; + //BA.debugLineNum = 14745609;BA.debugLine="End Sub"; +return ""; +} +public String _subir_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "subir_click", false)) + {return ((String) Debug.delegate(ba, "subir_click", null));} +int _i = 0; +int _dia = 0; +String _dialetra = ""; +String _pcnoarts = ""; +String _pcmonto = ""; +RDebugUtils.currentLine=13893632; + //BA.debugLineNum = 13893632;BA.debugLine="Sub Subir_Click"; +RDebugUtils.currentLine=13893633; + //BA.debugLineNum = 13893633;BA.debugLine="CARGA = \"SUBIR\""; +__ref._carga /*String*/ = "SUBIR"; +RDebugUtils.currentLine=13893634; + //BA.debugLineNum = 13893634;BA.debugLine="p_mandaInfo.Width = Root.Width"; +__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=13893635; + //BA.debugLineNum = 13893635;BA.debugLine="p_mandaInfo.Height = Root.Height"; +__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=13893636; + //BA.debugLineNum = 13893636;BA.debugLine="P1.Visible = True"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=13893637; + //BA.debugLineNum = 13893637;BA.debugLine="P1.Left = (p_mandaInfo.Width/2) - (P1.Width/2)"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) ((__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()/(double)2)-(__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=13893638; + //BA.debugLineNum = 13893638;BA.debugLine="P1.top = (p_mandaInfo.Height/2) - (P1.Height/2)"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) ((__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()/(double)2)-(__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()/(double)2))); +RDebugUtils.currentLine=13893639; + //BA.debugLineNum = 13893639;BA.debugLine="p_mandaInfo.Visible = True"; +__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=13893640; + //BA.debugLineNum = 13893640;BA.debugLine="P1.BringToFront"; +__ref._p1 /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=13893641; + //BA.debugLineNum = 13893641;BA.debugLine="p_mandaInfo.BringToFront"; +__ref._p_mandainfo /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=13893643; + //BA.debugLineNum = 13893643;BA.debugLine="NUEVO.Visible =False"; +__ref._nuevo /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13893644; + //BA.debugLineNum = 13893644;BA.debugLine="BUSCA.Visible=False"; +__ref._busca /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13893645; + //BA.debugLineNum = 13893645;BA.debugLine="connecta.Visible=False"; +__ref._connecta /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13893646; + //BA.debugLineNum = 13893646;BA.debugLine="Subir.Visible=False"; +__ref._subir /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13893647; + //BA.debugLineNum = 13893647;BA.debugLine="cargar.Visible=False"; +__ref._cargar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13893648; + //BA.debugLineNum = 13893648;BA.debugLine="L_P_1.Visible = False"; +__ref._l_p_1 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13893649; + //BA.debugLineNum = 13893649;BA.debugLine="S_CC.Visible = False"; +__ref._s_cc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13893650; + //BA.debugLineNum = 13893650;BA.debugLine="L_P_3.Visible = False"; +__ref._l_p_3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13893651; + //BA.debugLineNum = 13893651;BA.debugLine="S_CH.Visible = False"; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13893652; + //BA.debugLineNum = 13893652;BA.debugLine="PB1.Visible = False"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13893653; + //BA.debugLineNum = 13893653;BA.debugLine="Resumen.Visible= False"; +__ref._resumen /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=13893654; + //BA.debugLineNum = 13893654;BA.debugLine="L_P_2.Text = \"Envio de Pedidos\""; +__ref._l_p_2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Envio de Pedidos")); +RDebugUtils.currentLine=13893655; + //BA.debugLineNum = 13893655;BA.debugLine="L_P_3.Text = \"Envio de Pedidos\""; +__ref._l_p_3 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Envio de Pedidos")); +RDebugUtils.currentLine=13893656; + //BA.debugLineNum = 13893656;BA.debugLine="S_CH.Text = \"EN PROCESO\""; +__ref._s_ch /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("EN PROCESO")); +RDebugUtils.currentLine=13893657; + //BA.debugLineNum = 13893657;BA.debugLine="S_CP.Text = \"EN PROCESO\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("EN PROCESO")); +RDebugUtils.currentLine=13893658; + //BA.debugLineNum = 13893658;BA.debugLine="PB1.Progress = 0"; +__ref._pb1 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (0)); +RDebugUtils.currentLine=13893659; + //BA.debugLineNum = 13893659;BA.debugLine="PB2.Progress = 0"; +__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .setProgress((int) (0)); +RDebugUtils.currentLine=13893665; + //BA.debugLineNum = 13893665;BA.debugLine="PASO = 1"; +__ref._paso /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=13893667; + //BA.debugLineNum = 13893667;BA.debugLine="If PASO = 1 Then"; +if ((__ref._paso /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=13893668; + //BA.debugLineNum = 13893668;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fro"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from PEDIDO WHERE PE_PRONOMBRE = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("N/A")})); +RDebugUtils.currentLine=13893669; + //BA.debugLineNum = 13893669;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE not In (select PE_CLIENTE from pedido)"); +RDebugUtils.currentLine=13893670; + //BA.debugLineNum = 13893670;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); +RDebugUtils.currentLine=13893671; + //BA.debugLineNum = 13893671;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13893672; + //BA.debugLineNum = 13893672;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; +__ref._usuario /*String*/ = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("USUARIO"); +RDebugUtils.currentLine=13893673; + //BA.debugLineNum = 13893673;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13893674; + //BA.debugLineNum = 13893674;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HGDAT"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HGDATE, HGLAT, HGLON from HIST_GPS"))); +RDebugUtils.currentLine=13893675; + //BA.debugLineNum = 13893675;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=13893676; + //BA.debugLineNum = 13893676;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step37 = 1; +final int limit37 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit37 ;_i = _i + step37 ) { +RDebugUtils.currentLine=13893677; + //BA.debugLineNum = 13893677;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=13893678; + //BA.debugLineNum = 13893678;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=13893679; + //BA.debugLineNum = 13893679;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13893680; + //BA.debugLineNum = 13893680;BA.debugLine="cmd.Name = \"UPDATE_SHARK2_ACTUAL2_GPS\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "UPDATE_SHARK2_ACTUAL2_GPS"; +RDebugUtils.currentLine=13893681; + //BA.debugLineNum = 13893681;BA.debugLine="cmd.Parameters = Array As String(B4XPages.Main"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = (Object[])(new String[]{_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._montoactual /*String*/ ,_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._clientestotal /*String*/ ,_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._clientesventa /*String*/ ,_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._clientesvisitados /*String*/ ,_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,BA.NumberToString(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._batt /*int*/ ),BA.NumberToString(0),BA.NumberToString(0),BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._almacen /*String*/ ,_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._rutapreventa /*String*/ }); +RDebugUtils.currentLine=13893682; + //BA.debugLineNum = 13893682;BA.debugLine="reqManager.ExecuteCommand(cmd , \"update_gps\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("update_gps")); + } +}; + }; +RDebugUtils.currentLine=13893685; + //BA.debugLineNum = 13893685;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13893755; + //BA.debugLineNum = 13893755;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CN_ID, CN_FECHA"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CN_ID, CN_FECHA , CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_FOTO, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA, CN_COLONIA, CN_TELEFONO, CN_CP FROM CLIENTES_NUEVOS"))); +RDebugUtils.currentLine=13893756; + //BA.debugLineNum = 13893756;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=13893757; + //BA.debugLineNum = 13893757;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step49 = 1; +final int limit49 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit49 ;_i = _i + step49 ) { +RDebugUtils.currentLine=13893758; + //BA.debugLineNum = 13893758;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=13893759; + //BA.debugLineNum = 13893759;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTim"; +_dia = __c.DateTime.GetDayOfWeek(__c.DateTime.getNow()); +RDebugUtils.currentLine=13893760; + //BA.debugLineNum = 13893760;BA.debugLine="If dia = 2 Then"; +if (_dia==2) { +RDebugUtils.currentLine=13893761; + //BA.debugLineNum = 13893761;BA.debugLine="Dim dialetra As String = \"LUNES\""; +_dialetra = "LUNES"; + }else +{RDebugUtils.currentLine=13893762; + //BA.debugLineNum = 13893762;BA.debugLine="Else If dia = 3 Then"; +if (_dia==3) { +RDebugUtils.currentLine=13893763; + //BA.debugLineNum = 13893763;BA.debugLine="Dim dialetra As String = \"MARTES\""; +_dialetra = "MARTES"; + }else +{RDebugUtils.currentLine=13893764; + //BA.debugLineNum = 13893764;BA.debugLine="Else If dia = 4 Then"; +if (_dia==4) { +RDebugUtils.currentLine=13893765; + //BA.debugLineNum = 13893765;BA.debugLine="Dim dialetra As String = \"MIERCOLES\""; +_dialetra = "MIERCOLES"; + }else +{RDebugUtils.currentLine=13893766; + //BA.debugLineNum = 13893766;BA.debugLine="Else If dia = 5 Then"; +if (_dia==5) { +RDebugUtils.currentLine=13893767; + //BA.debugLineNum = 13893767;BA.debugLine="Dim dialetra As String = \"JUEVES\""; +_dialetra = "JUEVES"; + }else +{RDebugUtils.currentLine=13893768; + //BA.debugLineNum = 13893768;BA.debugLine="Else If dia = 6 Then"; +if (_dia==6) { +RDebugUtils.currentLine=13893769; + //BA.debugLineNum = 13893769;BA.debugLine="Dim dialetra As String = \"VIERNES\""; +_dialetra = "VIERNES"; + }else +{RDebugUtils.currentLine=13893770; + //BA.debugLineNum = 13893770;BA.debugLine="Else If dia = 7 Then"; +if (_dia==7) { +RDebugUtils.currentLine=13893771; + //BA.debugLineNum = 13893771;BA.debugLine="Dim dialetra As String = \"SABADO\""; +_dialetra = "SABADO"; + }}}}}} +; +RDebugUtils.currentLine=13893773; + //BA.debugLineNum = 13893773;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=13893774; + //BA.debugLineNum = 13893774;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13893775; + //BA.debugLineNum = 13893775;BA.debugLine="cmd.Name = \"insert_clientesnuevos_SHARK24\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_clientesnuevos_SHARK24"; +RDebugUtils.currentLine=13893776; + //BA.debugLineNum = 13893776;BA.debugLine="Log(c.GetString(\"CN_ID\")&\" ,\"& c.GetString("; +__c.LogImpl("513893776",__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_ID")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_FECHA")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_USER")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_LAT")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_LON")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_NOMBRE")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_DIRECCION")+" ,"+__ref._almacen /*String*/ +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_RUTA")+" ,"+"En espera"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_GIRO")+" ,"+_dialetra+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_SOLICITA")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_COLONIA")+" ,"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_TELEFONO"),0); +RDebugUtils.currentLine=13893777; + //BA.debugLineNum = 13893777;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_ID")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_USER")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_LAT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_LON")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_NOMBRE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_DIRECCION")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_RUTA")),(Object)("En espera"),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_GIRO")),(Object)(_dialetra),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_SOLICITA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_COLONIA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_TELEFONO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CN_CP"))}; +RDebugUtils.currentLine=13893778; + //BA.debugLineNum = 13893778;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_clientes"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_clientesn")); + } +}; + }; +RDebugUtils.currentLine=13893781; + //BA.debugLineNum = 13893781;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13893797; + //BA.debugLineNum = 13893797;BA.debugLine="Dim PCNoArts As String"; +_pcnoarts = ""; +RDebugUtils.currentLine=13893798; + //BA.debugLineNum = 13893798;BA.debugLine="Dim PCMonto As String"; +_pcmonto = ""; +RDebugUtils.currentLine=13893799; + //BA.debugLineNum = 13893799;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT 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)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT, PC_COSTO_SIN, PC_RUTA, PC_ALMACEN, PC_FACTURA FROM PEDIDO_CLIENTE WHERE PC_CLIENTE <> '1' "))); +RDebugUtils.currentLine=13893800; + //BA.debugLineNum = 13893800;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery(\"SELECT COU"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDOSC FROM PEDIDO_CLIENTE WHERE PC_CLIENTE <> 1 "))); +RDebugUtils.currentLine=13893801; + //BA.debugLineNum = 13893801;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=13893802; + //BA.debugLineNum = 13893802;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step79 = 1; +final int limit79 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit79 ;_i = _i + step79 ) { +RDebugUtils.currentLine=13893803; + //BA.debugLineNum = 13893803;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=13893804; + //BA.debugLineNum = 13893804;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=13893805; + //BA.debugLineNum = 13893805;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13893806; + //BA.debugLineNum = 13893806;BA.debugLine="cmd.Name = \"insert_pedidos_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_pedidos_SHARK2"; +RDebugUtils.currentLine=13893807; + //BA.debugLineNum = 13893807;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; +_pcnoarts = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART"); +RDebugUtils.currentLine=13893808; + //BA.debugLineNum = 13893808;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; +_pcmonto = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"); +RDebugUtils.currentLine=13893809; + //BA.debugLineNum = 13893809;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_USER")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_LON")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_LAT")),(Object)(__ref._almacen /*String*/ ),(Object)(_subs._traeruta2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE"))),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_FACTURA"))}; +RDebugUtils.currentLine=13893810; + //BA.debugLineNum = 13893810;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedidos\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("ins_pedidos")); +RDebugUtils.currentLine=13893811; + //BA.debugLineNum = 13893811;BA.debugLine="Log(\">>>>>> INSERT PEDIDO_CLIENTE\")"; +__c.LogImpl("513893811",">>>>>> INSERT PEDIDO_CLIENTE",0); + } +}; + }; +RDebugUtils.currentLine=13893814; + //BA.debugLineNum = 13893814;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13893815; + //BA.debugLineNum = 13893815;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13893816; + //BA.debugLineNum = 13893816;BA.debugLine="cuantos_pedidosc = d.GetString(\"CUANTOS_PEDIDOSC"; +__ref._cuantos_pedidosc /*String*/ = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_PEDIDOSC"); +RDebugUtils.currentLine=13893817; + //BA.debugLineNum = 13893817;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13893820; + //BA.debugLineNum = 13893820;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT PE_"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS, PE_DIRIGIDA, PE_PRESENTACION, PE_UVM FROM PEDIDO WHERE PE_FOLIO <> 'RECARGA'"))); +RDebugUtils.currentLine=13893821; + //BA.debugLineNum = 13893821;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery(\"SELECT COU"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO"))); +RDebugUtils.currentLine=13893822; + //BA.debugLineNum = 13893822;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=13893823; + //BA.debugLineNum = 13893823;BA.debugLine="For i = 0 To c.RowCount - 1"; +{ +final int step98 = 1; +final int limit98 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit98 ;_i = _i + step98 ) { +RDebugUtils.currentLine=13893824; + //BA.debugLineNum = 13893824;BA.debugLine="c.Position = i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=13893825; + //BA.debugLineNum = 13893825;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=13893826; + //BA.debugLineNum = 13893826;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13893827; + //BA.debugLineNum = 13893827;BA.debugLine="cmd.Name = \"insert_pedido4_SHARK2\" 'CON TOTALE"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_pedido4_SHARK2"; +RDebugUtils.currentLine=13893829; + //BA.debugLineNum = 13893829;BA.debugLine="If c.GetString(\"PE_FOLIO\") = \"PREVENTA_CONTADO"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")).equals("PREVENTA_CONTADO")) { +RDebugUtils.currentLine=13893830; + //BA.debugLineNum = 13893830;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,c.Ge"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")),(Object)(((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_UVM"))))),(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)(_subs._traeruta2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE"))),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)("PREVENTA"),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DIRIGIDA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRESENTACION")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_UVM"))}; + }else +{RDebugUtils.currentLine=13893831; + //BA.debugLineNum = 13893831;BA.debugLine="Else If c.GetString(\"PE_FOLIO\") = \"PREVENTA_CR"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")).equals("PREVENTA_CREDITO")) { +RDebugUtils.currentLine=13893832; + //BA.debugLineNum = 13893832;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,c.Ge"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")),(Object)(((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_UVM"))))),(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)(_subs._traeruta2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE"))),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)("PREVENTA"),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DIRIGIDA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRESENTACION")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_UVM"))}; + }else +{RDebugUtils.currentLine=13893833; + //BA.debugLineNum = 13893833;BA.debugLine="Else If c.GetString(\"PE_FOLIO\") = \"ABORDO\" The"; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")).equals("ABORDO")) { +RDebugUtils.currentLine=13893834; + //BA.debugLineNum = 13893834;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,c.Ge"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")),(Object)(((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_UVM"))))),(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)(_subs._traeruta2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE"))),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)("ABORDO"),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DIRIGIDA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRESENTACION")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_UVM"))}; + }else { +RDebugUtils.currentLine=13893836; + //BA.debugLineNum = 13893836;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,c.Ge"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CEDIS")),(Object)(__ref._almacen /*String*/ ),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_TOT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTOU")),(Object)(((double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))/(double)(double)(Double.parseDouble(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_UVM"))))),(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)(_subs._traeruta2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE"))),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_COSTO_SIN")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DESC")),(Object)("VENTA"),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_DIRIGIDA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PRESENTACION")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_UVM"))}; + }}} +; +RDebugUtils.currentLine=13893838; + //BA.debugLineNum = 13893838;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)(("ins_pedidosPendientes_prods_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CLIENTE")))+"_"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+""))); + } +}; + }; +RDebugUtils.currentLine=13893841; + //BA.debugLineNum = 13893841;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13893842; + //BA.debugLineNum = 13893842;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13893843; + //BA.debugLineNum = 13893843;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")"; +__ref._cuantos_pedido /*String*/ = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_PEDIDO"); +RDebugUtils.currentLine=13893844; + //BA.debugLineNum = 13893844;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13893847; + //BA.debugLineNum = 13893847;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT NV_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON FROM NOVENTA"))); +RDebugUtils.currentLine=13893848; + //BA.debugLineNum = 13893848;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUN"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); +RDebugUtils.currentLine=13893849; + //BA.debugLineNum = 13893849;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=13893850; + //BA.debugLineNum = 13893850;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step122 = 1; +final int limit122 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit122 ;_i = _i + step122 ) { +RDebugUtils.currentLine=13893851; + //BA.debugLineNum = 13893851;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=13893852; + //BA.debugLineNum = 13893852;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=13893853; + //BA.debugLineNum = 13893853;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13893854; + //BA.debugLineNum = 13893854;BA.debugLine="cmd.Name = \"insert_noventa_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_noventa_SHARK2"; +RDebugUtils.currentLine=13893855; + //BA.debugLineNum = 13893855;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_CLIENTE")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_FECHA")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_USER")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_MOTIVO")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_COMM")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_LAT")),(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_LON")),(Object)(__ref._almacen /*String*/ ),(Object)(_subs._traeruta2 /*String*/ (ba,__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_CLIENTE")))}; +RDebugUtils.currentLine=13893856; + //BA.debugLineNum = 13893856;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\""; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_noventa")); + } +}; + }; +RDebugUtils.currentLine=13893859; + //BA.debugLineNum = 13893859;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13893860; + //BA.debugLineNum = 13893860;BA.debugLine="d.Position=0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=13893861; + //BA.debugLineNum = 13893861;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; +__ref._cuantos_noventa /*String*/ = __ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS_NOVENTA"); +RDebugUtils.currentLine=13893862; + //BA.debugLineNum = 13893862;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13893918; + //BA.debugLineNum = 13893918;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=13893984; + //BA.debugLineNum = 13893984;BA.debugLine="t1.Initialize(\"T1\", 30000) ' 1000 = 1 second"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .Initialize(ba,"T1",(long) (30000)); +RDebugUtils.currentLine=13893985; + //BA.debugLineNum = 13893985;BA.debugLine="t1.Enabled = True"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.True); +RDebugUtils.currentLine=13893986; + //BA.debugLineNum = 13893986;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=13893987; + //BA.debugLineNum = 13893987;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=13893988; + //BA.debugLineNum = 13893988;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +__ref._sdate /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=13893989; + //BA.debugLineNum = 13893989;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=13893990; + //BA.debugLineNum = 13893990;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=13893991; + //BA.debugLineNum = 13893991;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=13893992; + //BA.debugLineNum = 13893992;BA.debugLine="cmd.Name =\"insert_drop_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "insert_drop_SHARK2"; +RDebugUtils.currentLine=13893993; + //BA.debugLineNum = 13893993;BA.debugLine="cmd.Parameters = Array As Object(usuario,l_ruta."; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._usuario /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._sdate /*String*/ +__ref._stime /*String*/ ),(Object)(__ref._l_porvisitar /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_drop /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_efectiva /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_cuantosc /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_cuantosn /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(__ref._l_montod /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)("ENVIO"),(Object)(__ref._almacen /*String*/ ),(Object)(__c.Application.getVersionName())}; +RDebugUtils.currentLine=13893994; + //BA.debugLineNum = 13893994;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(Object)("inst_noventa")); +RDebugUtils.currentLine=13893995; + //BA.debugLineNum = 13893995;BA.debugLine="img2.Visible =True"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=13893996; + //BA.debugLineNum = 13893996;BA.debugLine="PORCENTAJE = Round(100/ (cuantos_noventa + cuant"; +__ref._porcentaje /*String*/ = BA.NumberToString(__c.Round(100/(double)((double)(Double.parseDouble(__ref._cuantos_noventa /*String*/ ))+(double)(Double.parseDouble(__ref._cuantos_pedido /*String*/ ))+(double)(Double.parseDouble(__ref._cuantos_pedidosc /*String*/ ))+1))); +RDebugUtils.currentLine=13893997; + //BA.debugLineNum = 13893997;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; +if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { +__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "+__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),__c.True);}; + }; +RDebugUtils.currentLine=13894030; + //BA.debugLineNum = 13894030;BA.debugLine="End Sub"; +return ""; +} +public String _t1_tick(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "t1_tick", false)) + {return ((String) Debug.delegate(ba, "t1_tick", null));} +RDebugUtils.currentLine=14483456; + //BA.debugLineNum = 14483456;BA.debugLine="Sub t1_tick"; +RDebugUtils.currentLine=14483457; + //BA.debugLineNum = 14483457;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14483458; + //BA.debugLineNum = 14483458;BA.debugLine="cmd.Name = \"select_cuantos_pedido_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cuantos_pedido_SHARK2"; +RDebugUtils.currentLine=14483459; + //BA.debugLineNum = 14483459;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=14483460; + //BA.debugLineNum = 14483460;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("valida_pedido")); +RDebugUtils.currentLine=14483462; + //BA.debugLineNum = 14483462;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14483463; + //BA.debugLineNum = 14483463;BA.debugLine="cmd.Name = \"select_cuantos_noventa_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cuantos_noventa_SHARK2"; +RDebugUtils.currentLine=14483464; + //BA.debugLineNum = 14483464;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=14483465; + //BA.debugLineNum = 14483465;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\""; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("valida_noventa")); +RDebugUtils.currentLine=14483467; + //BA.debugLineNum = 14483467;BA.debugLine="cmd.Initialize"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Initialize(); +RDebugUtils.currentLine=14483468; + //BA.debugLineNum = 14483468;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc_SHARK2\""; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Name /*String*/ = "select_cuantos_pedidoc_SHARK2"; +RDebugUtils.currentLine=14483469; + //BA.debugLineNum = 14483469;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; +__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ .Parameters /*Object[]*/ = new Object[]{(Object)(__ref._almacen /*String*/ ),(Object)(__ref._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText())}; +RDebugUtils.currentLine=14483470; + //BA.debugLineNum = 14483470;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\""; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,__ref._cmd /*SHARK2.keymon.com.mx.dbrequestmanager._dbcommand*/ ,(int) (0),(Object)("valida_pedidoc")); +RDebugUtils.currentLine=14483472; + //BA.debugLineNum = 14483472;BA.debugLine="If PB2.Progress = 0 Then"; +if (__ref._pb2 /*anywheresoftware.b4a.objects.ProgressBarWrapper*/ .getProgress()==0) { +RDebugUtils.currentLine=14483473; + //BA.debugLineNum = 14483473;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-1)\""; +__ref._s_cp /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("ENVIAR DATOS (K-1)")); + }; +RDebugUtils.currentLine=14483475; + //BA.debugLineNum = 14483475;BA.debugLine="img2.Visible=False"; +__ref._img2 /*anywheresoftware.b4a.objects.ImageViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=14483476; + //BA.debugLineNum = 14483476;BA.debugLine="t1.Enabled = False"; +__ref._t1 /*anywheresoftware.b4a.objects.Timer*/ .setEnabled(__c.False); +RDebugUtils.currentLine=14483477; + //BA.debugLineNum = 14483477;BA.debugLine="End Sub"; +return ""; +} +public String _tickets_dia_click(SHARK2.keymon.com.mx.c_principal __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_principal"; +if (Debug.shouldDelegate(ba, "tickets_dia_click", false)) + {return ((String) Debug.delegate(ba, "tickets_dia_click", null));} +RDebugUtils.currentLine=15138816; + //BA.debugLineNum = 15138816;BA.debugLine="Sub tickets_dia_Click"; +RDebugUtils.currentLine=15138817; + //BA.debugLineNum = 15138817;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")"; +_b4xpages._showpage /*String*/ (ba,"TicketsDia"); +RDebugUtils.currentLine=15138818; + //BA.debugLineNum = 15138818;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_productos.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_productos.java new file mode 100644 index 0000000..da8a713 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_productos.java @@ -0,0 +1,5444 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.c_productos"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 String _ruta = ""; +public String _q_buscar = ""; +public boolean _forzarbusqueda = false; +public anywheresoftware.b4a.sql.SQL _skmt = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; +public anywheresoftware.b4a.objects.ListViewWrapper _lv_catalogos = null; +public anywheresoftware.b4a.objects.ListViewWrapper _lv_promos = null; +public String _entro = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _gest = null; +public anywheresoftware.b4a.objects.LabelWrapper _lfila = null; +public String _marca = ""; +public String _tipo = ""; +public String _subtipo = ""; +public anywheresoftware.b4a.objects.EditTextWrapper _busca = null; +public String _ya_entro = ""; +public String _tiene_promos = ""; +public String _res = ""; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _s1 = null; +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; +public String _ciclo = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_qr = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_productos = null; +public b4a.example3.customlistview _clv_productos = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _imageview1 = null; +public anywheresoftware.b4a.objects.PanelWrapper _panel3 = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_prods = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _i_prod = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_prodx = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmas = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_pcant = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_pcant = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_terminar1 = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_continuar = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_totprods = null; +public int _totalprods = 0; +public float _totalcompra = 0f; +public boolean _etcanthasfocus = false; +public anywheresoftware.b4a.objects.collections.Map _prodsmap = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_cargando = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_info = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_buscar = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_botonesventa = null; +public anywheresoftware.b4a.objects.ListViewWrapper _lv_tipo = null; +public anywheresoftware.b4a.objects.ListViewWrapper _lv_subtipo = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_vistapreviatrans = null; +public anywheresoftware.b4a.objects.ListViewWrapper _lv_prodspedido = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_rechazar = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_aceptar = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_vistaprevia = null; +public String _folio = ""; +public String _result = ""; +public anywheresoftware.b4a.objects.LabelWrapper _l_cant = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total2 = null; +public String _prodspedidoactual = ""; +public String _montopedidoactual = ""; +public b4a.example3.customlistview _clv_prods_ll = null; +public SHARK2.keymon.com.mx.preoptimizedclv _pclv = null; +public anywheresoftware.b4a.objects.collections.List _listaprods = null; +public anywheresoftware.b4a.objects.collections.Map _pedidomap = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_botmasmen = null; +public boolean _reiniciarlistaprods = false; +public anywheresoftware.b4a.objects.collections.List _listatiempos = null; +public String _clienteid = ""; +public String _rutausuario = ""; +public boolean _haypedido = false; +public anywheresoftware.b4a.objects.collections.List _listahints = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _r = null; +public anywheresoftware.b4a.objects.collections.List _vamoaver = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _j3 = null; +public int _invtotal = 0; +public anywheresoftware.b4a.objects.EditTextWrapper _et_pcantc = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenosc = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmasc = null; +public int _totalcajasmaspiezas = 0; +public int _cajas = 0; +public int _piezas = 0; +public anywheresoftware.b4a.objects.PanelWrapper _p_botmasmenc = null; +public String _tipoclienteactual = ""; +public anywheresoftware.b4a.objects.collections.Map _cantsmap = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.c_productos __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=18022400; + //BA.debugLineNum = 18022400;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=18022401; + //BA.debugLineNum = 18022401;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=18022402; + //BA.debugLineNum = 18022402;BA.debugLine="End Sub"; +return null; +} +public String _actualizaretiquetastotales(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "actualizaretiquetastotales", false)) + {return ((String) Debug.delegate(ba, "actualizaretiquetastotales", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _h = null; +RDebugUtils.currentLine=19136512; + //BA.debugLineNum = 19136512;BA.debugLine="Private Sub ActualizarEtiquetasTotales"; +RDebugUtils.currentLine=19136513; + //BA.debugLineNum = 19136513;BA.debugLine="Dim h As Cursor = B4XPages.MainPage.skmt.ExecQuer"; +_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ifnull(sum(PE_CANT),0) as PC_NOART, ifnull(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); +RDebugUtils.currentLine=19136514; + //BA.debugLineNum = 19136514;BA.debugLine="h.Position = 0"; +_h.setPosition((int) (0)); +RDebugUtils.currentLine=19136516; + //BA.debugLineNum = 19136516;BA.debugLine="l_cant.Text = h.GetString(\"PC_NOART\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_h.GetString("PC_NOART"))); +RDebugUtils.currentLine=19136517; + //BA.debugLineNum = 19136517;BA.debugLine="l_total2.Text = NumberFormat2(h.GetDouble(\"PC_MON"; +__ref._l_total2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(_h.GetDouble("PC_MONTO"),(int) (1),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=19136519; + //BA.debugLineNum = 19136519;BA.debugLine="h.Close"; +_h.Close(); +RDebugUtils.currentLine=19136520; + //BA.debugLineNum = 19136520;BA.debugLine="End Sub"; +return ""; +} +public String _actualizarlabelexistencias(SHARK2.keymon.com.mx.c_productos __ref,anywheresoftware.b4a.objects.ConcreteViewWrapper _v,String _idprod) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "actualizarlabelexistencias", false)) + {return ((String) Debug.delegate(ba, "actualizarlabelexistencias", new Object[] {_v,_idprod}));} +anywheresoftware.b4a.objects.B4XViewWrapper _parent = null; +anywheresoftware.b4a.objects.B4XViewWrapper _child = null; +anywheresoftware.b4a.objects.LabelWrapper _lbl = null; +int _nuevostock = 0; +String _prodnombre = ""; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +RDebugUtils.currentLine=20578304; + //BA.debugLineNum = 20578304;BA.debugLine="Private Sub ActualizarLabelExistencias(v As View,"; +RDebugUtils.currentLine=20578307; + //BA.debugLineNum = 20578307;BA.debugLine="Dim parent As B4XView = v.Parent"; +_parent = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_parent = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_v.getParent())); +RDebugUtils.currentLine=20578311; + //BA.debugLineNum = 20578311;BA.debugLine="For Each child As B4XView In parent.GetAllViewsRe"; +_child = new anywheresoftware.b4a.objects.B4XViewWrapper(); +{ +final anywheresoftware.b4a.BA.IterableList group2 = _parent.GetAllViewsRecursive(); +final int groupLen2 = group2.getSize() +;int index2 = 0; +; +for (; index2 < groupLen2;index2++){ +_child = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group2.Get(index2))); +RDebugUtils.currentLine=20578312; + //BA.debugLineNum = 20578312;BA.debugLine="If child Is Label Then"; +if (_child.getObjectOrNull() instanceof android.widget.TextView) { +RDebugUtils.currentLine=20578313; + //BA.debugLineNum = 20578313;BA.debugLine="Dim lbl As Label = child"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +_lbl = (anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_child.getObject())); +RDebugUtils.currentLine=20578315; + //BA.debugLineNum = 20578315;BA.debugLine="If lbl.Text.Contains(\"Existencias:\") Then"; +if (_lbl.getText().contains("Existencias:")) { +RDebugUtils.currentLine=20578316; + //BA.debugLineNum = 20578316;BA.debugLine="Dim nuevoStock As Int = Subs.traeinventario(id"; +_nuevostock = (int)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_idprod))); +RDebugUtils.currentLine=20578317; + //BA.debugLineNum = 20578317;BA.debugLine="Dim prodNombre As String = Subs.traeProdNombre"; +_prodnombre = _subs._traeprodnombre /*String*/ (ba,_idprod); +RDebugUtils.currentLine=20578319; + //BA.debugLineNum = 20578319;BA.debugLine="Dim cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=20578320; + //BA.debugLineNum = 20578320;BA.debugLine="cs.Initialize.Color(Colors.Red).Bold.Append(pr"; +_cs.Initialize().Color(__c.Colors.Red).Bold().Append(BA.ObjectToCharSequence(_prodnombre)).Pop().Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Size((int) (12)).Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Existencias: "+BA.NumberToString(_nuevostock))).Pop(); +RDebugUtils.currentLine=20578323; + //BA.debugLineNum = 20578323;BA.debugLine="lbl.Text = cs"; +_lbl.setText(BA.ObjectToCharSequence(_cs.getObject())); +RDebugUtils.currentLine=20578324; + //BA.debugLineNum = 20578324;BA.debugLine="Exit ' Ya lo encontramos, salimos del bucle"; +if (true) break; + }; + }; + } +}; +RDebugUtils.currentLine=20578328; + //BA.debugLineNum = 20578328;BA.debugLine="End Sub"; +return ""; +} +public String _actualizarlabelnombrepresentacion(SHARK2.keymon.com.mx.c_productos __ref,anywheresoftware.b4a.objects.ConcreteViewWrapper _v,String _nombrepres,int _totalunidades) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "actualizarlabelnombrepresentacion", false)) + {return ((String) Debug.delegate(ba, "actualizarlabelnombrepresentacion", new Object[] {_v,_nombrepres,_totalunidades}));} +anywheresoftware.b4a.objects.B4XViewWrapper _parent = null; +anywheresoftware.b4a.objects.B4XViewWrapper _child = null; +anywheresoftware.b4a.objects.LabelWrapper _lbl = null; +RDebugUtils.currentLine=20774912; + //BA.debugLineNum = 20774912;BA.debugLine="Private Sub ActualizarLabelNombrePresentacion(v As"; +RDebugUtils.currentLine=20774914; + //BA.debugLineNum = 20774914;BA.debugLine="Dim parent As B4XView = v.Parent"; +_parent = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_parent = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_v.getParent())); +RDebugUtils.currentLine=20774917; + //BA.debugLineNum = 20774917;BA.debugLine="For Each child As B4XView In parent.GetAllViewsRe"; +_child = new anywheresoftware.b4a.objects.B4XViewWrapper(); +{ +final anywheresoftware.b4a.BA.IterableList group2 = _parent.GetAllViewsRecursive(); +final int groupLen2 = group2.getSize() +;int index2 = 0; +; +for (; index2 < groupLen2;index2++){ +_child = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group2.Get(index2))); +RDebugUtils.currentLine=20774918; + //BA.debugLineNum = 20774918;BA.debugLine="If child Is Label Then"; +if (_child.getObjectOrNull() instanceof android.widget.TextView) { +RDebugUtils.currentLine=20774919; + //BA.debugLineNum = 20774919;BA.debugLine="Dim lbl As Label = child"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +_lbl = (anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_child.getObject())); +RDebugUtils.currentLine=20774922; + //BA.debugLineNum = 20774922;BA.debugLine="If lbl.Text.ToUpperCase.Contains(nombrePres.ToU"; +if (_lbl.getText().toUpperCase().contains(_nombrepres.toUpperCase())) { +RDebugUtils.currentLine=20774923; + //BA.debugLineNum = 20774923;BA.debugLine="lbl.Text = nombrePres.ToUpperCase & \": \" & tot"; +_lbl.setText(BA.ObjectToCharSequence(_nombrepres.toUpperCase()+": "+BA.NumberToString(_totalunidades))); +RDebugUtils.currentLine=20774924; + //BA.debugLineNum = 20774924;BA.debugLine="Exit"; +if (true) break; + }; + }; + } +}; +RDebugUtils.currentLine=20774928; + //BA.debugLineNum = 20774928;BA.debugLine="End Sub"; +return ""; +} +public String _actualizartotalespedido(SHARK2.keymon.com.mx.c_productos __ref,String _idclie) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "actualizartotalespedido", false)) + {return ((String) Debug.delegate(ba, "actualizartotalespedido", new Object[] {_idclie}));} +String _sdate = ""; +String _stime = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _h = null; +String _usuario = ""; +RDebugUtils.currentLine=19857408; + //BA.debugLineNum = 19857408;BA.debugLine="Private Sub ActualizarTotalesPedido(idClie As Stri"; +RDebugUtils.currentLine=19857409; + //BA.debugLineNum = 19857409;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=19857410; + //BA.debugLineNum = 19857410;BA.debugLine="Dim sDate As String = DateTime.Date(DateTime.Now)"; +_sdate = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=19857411; + //BA.debugLineNum = 19857411;BA.debugLine="Dim sTime As String = DateTime.Time(DateTime.Now)"; +_stime = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=19857414; + //BA.debugLineNum = 19857414;BA.debugLine="Dim h As Cursor = B4XPages.MainPage.skmt.ExecQuer"; +_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(PE_CANT) as PC_NOART, SUM(PE_COSTO_TOT) as PC_MONTO FROM PEDIDO WHERE PE_CLIENTE = '"+_idclie+"'"))); +RDebugUtils.currentLine=19857415; + //BA.debugLineNum = 19857415;BA.debugLine="h.Position = 0"; +_h.setPosition((int) (0)); +RDebugUtils.currentLine=19857417; + //BA.debugLineNum = 19857417;BA.debugLine="If h.RowCount > 0 And h.GetString(\"PC_NOART\") <>"; +if (_h.getRowCount()>0 && _h.GetString("PC_NOART")!= null) { +RDebugUtils.currentLine=19857419; + //BA.debugLineNum = 19857419;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM pedido_cliente WHERE PC_CLIENTE = '"+_idclie+"'"); +RDebugUtils.currentLine=19857421; + //BA.debugLineNum = 19857421;BA.debugLine="Dim usuario As String = Subs.traeUsuarioDeBD 'As"; +_usuario = _subs._traeusuariodebd /*String*/ (ba); +RDebugUtils.currentLine=19857422; + //BA.debugLineNum = 19857422;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_idclie),(Object)(_sdate+" "+_stime),(Object)(_usuario),(Object)(_h.GetString("PC_NOART")),(Object)(_h.GetString("PC_MONTO")),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); +RDebugUtils.currentLine=19857425; + //BA.debugLineNum = 19857425;BA.debugLine="l_cant.Text = h.GetString(\"PC_NOART\")"; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_h.GetString("PC_NOART"))); +RDebugUtils.currentLine=19857426; + //BA.debugLineNum = 19857426;BA.debugLine="l_total2.Text = NumberFormat2(h.GetDouble(\"PC_MO"; +__ref._l_total2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(__c.NumberFormat2(_h.GetDouble("PC_MONTO"),(int) (1),(int) (2),(int) (2),__c.False))); + }else { +RDebugUtils.currentLine=19857429; + //BA.debugLineNum = 19857429;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM pedido_cliente WHERE PC_CLIENTE = '"+_idclie+"'"); +RDebugUtils.currentLine=19857430; + //BA.debugLineNum = 19857430;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info SET gestion = 0 WHERE CAT_CL_CODIGO = '"+_idclie+"'"); +RDebugUtils.currentLine=19857431; + //BA.debugLineNum = 19857431;BA.debugLine="l_cant.Text = \"0\""; +__ref._l_cant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0")); +RDebugUtils.currentLine=19857432; + //BA.debugLineNum = 19857432;BA.debugLine="l_total2.Text = \"0.00\""; +__ref._l_total2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("0.00")); + }; +RDebugUtils.currentLine=19857434; + //BA.debugLineNum = 19857434;BA.debugLine="h.Close"; +_h.Close(); +RDebugUtils.currentLine=19857435; + //BA.debugLineNum = 19857435;BA.debugLine="End Sub"; +return ""; +} +public String _b_aceptar_click(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_aceptar_click", false)) + {return ((String) Debug.delegate(ba, "b_aceptar_click", null));} +RDebugUtils.currentLine=19726336; + //BA.debugLineNum = 19726336;BA.debugLine="Private Sub b_aceptar_Click"; +RDebugUtils.currentLine=19726337; + //BA.debugLineNum = 19726337;BA.debugLine="p_vistaPreviaTrans.Visible=False"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=19726338; + //BA.debugLineNum = 19726338;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=19726339; + //BA.debugLineNum = 19726339;BA.debugLine="End Sub"; +return ""; +} +public String _b_continuar_click(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_continuar_click", false)) + {return ((String) Debug.delegate(ba, "b_continuar_click", null));} +anywheresoftware.b4a.objects.collections.Map _m = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _fg = null; +String _costo = ""; +RDebugUtils.currentLine=19202048; + //BA.debugLineNum = 19202048;BA.debugLine="Private Sub b_continuar_Click"; +RDebugUtils.currentLine=19202049; + //BA.debugLineNum = 19202049;BA.debugLine="Log(\"b_continuar_Click\")"; +__c.LogImpl("519202049","b_continuar_Click",0); +RDebugUtils.currentLine=19202050; + //BA.debugLineNum = 19202050;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=19202052; + //BA.debugLineNum = 19202052;BA.debugLine="Log($\"prodsMap=${prodsMap}\"$)"; +__c.LogImpl("519202052",("prodsMap="+__c.SmartStringFormatter("",(Object)(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .getObject()))+""),0); +RDebugUtils.currentLine=19202059; + //BA.debugLineNum = 19202059;BA.debugLine="Log(\"promos-inv, prods-inv, cat-vis\")"; +__c.LogImpl("519202059","promos-inv, prods-inv, cat-vis",0); +RDebugUtils.currentLine=19202060; + //BA.debugLineNum = 19202060;BA.debugLine="lv_promos.Visible = False"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=19202061; + //BA.debugLineNum = 19202061;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(__c.False); +RDebugUtils.currentLine=19202062; + //BA.debugLineNum = 19202062;BA.debugLine="lv_subtipo.Visible = False"; +__ref._lv_subtipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=19202063; + //BA.debugLineNum = 19202063;BA.debugLine="lv_tipo.Visible = False"; +__ref._lv_tipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=19202064; + //BA.debugLineNum = 19202064;BA.debugLine="lv_catalogos.Visible = True"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=19202065; + //BA.debugLineNum = 19202065;BA.debugLine="Log(\"Continuar\")"; +__c.LogImpl("519202065","Continuar",0); +RDebugUtils.currentLine=19202066; + //BA.debugLineNum = 19202066;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m = _subs._traetotalesclienteactual /*anywheresoftware.b4a.objects.collections.Map*/ (ba); +RDebugUtils.currentLine=19202067; + //BA.debugLineNum = 19202067;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; +__ref._prodspedidoactual /*String*/ = BA.ObjectToString(_m.Get((Object)("productos"))); +RDebugUtils.currentLine=19202068; + //BA.debugLineNum = 19202068;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; +__ref._montopedidoactual /*String*/ = BA.ObjectToString(_m.Get((Object)("monto"))); +RDebugUtils.currentLine=19202069; + //BA.debugLineNum = 19202069;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"Select"; +_fg = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_fg = (anywheresoftware.b4a.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 COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))); +RDebugUtils.currentLine=19202070; + //BA.debugLineNum = 19202070;BA.debugLine="fg.Position = 0"; +_fg.setPosition((int) (0)); +RDebugUtils.currentLine=19202071; + //BA.debugLineNum = 19202071;BA.debugLine="Dim costo As String = fg.GetString(\"COSTO\")"; +_costo = _fg.GetString("COSTO"); +RDebugUtils.currentLine=19202073; + //BA.debugLineNum = 19202073;BA.debugLine="If costo > 0 And costo < 1000 Then"; +if ((double)(Double.parseDouble(_costo))>0 && (double)(Double.parseDouble(_costo))<1000) { +RDebugUtils.currentLine=19202074; + //BA.debugLineNum = 19202074;BA.debugLine="result = Msgbox2($\"¿Desea continuar?${CRLF}Si ac"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence(("¿Desea continuar?"+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Si acepta, el pedido se borrará (mínimo $1,000)."+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Si cancela, podrá seguir agregando productos.")),BA.ObjectToCharSequence("Venta Minima de Credito"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=19202075; + //BA.debugLineNum = 19202075;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=19202076; + //BA.debugLineNum = 19202076;BA.debugLine="Subs.borraPedidoCredito"; +_subs._borrapedidocredito /*String*/ (ba); +RDebugUtils.currentLine=19202077; + //BA.debugLineNum = 19202077;BA.debugLine="B4XPages.MainPage.promos.promosMap.Initialize"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._promos /*SHARK2.keymon.com.mx.c_promos*/ ._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=19202078; + //BA.debugLineNum = 19202078;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); + }else { +RDebugUtils.currentLine=19202080; + //BA.debugLineNum = 19202080;BA.debugLine="lv_catalogos.Visible = True"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); + }; + }; +RDebugUtils.currentLine=19202083; + //BA.debugLineNum = 19202083;BA.debugLine="fg.Close"; +_fg.Close(); +RDebugUtils.currentLine=19202084; + //BA.debugLineNum = 19202084;BA.debugLine="End Sub"; +return ""; +} +public String _cuentaprods(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "cuentaprods", false)) + {return ((String) Debug.delegate(ba, "cuentaprods", null));} +RDebugUtils.currentLine=19005440; + //BA.debugLineNum = 19005440;BA.debugLine="Sub cuentaProds"; +RDebugUtils.currentLine=19005442; + //BA.debugLineNum = 19005442;BA.debugLine="Log(\"===========================\")"; +__c.LogImpl("519005442","===========================",0); +RDebugUtils.currentLine=19005443; + //BA.debugLineNum = 19005443;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(PE_COSTO_TOT) as total, sum(PE_CANT) as cant from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._clienteid /*String*/ ))+"'")))); +RDebugUtils.currentLine=19005446; + //BA.debugLineNum = 19005446;BA.debugLine="p_botonesVenta.Visible = True"; +__ref._p_botonesventa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=19005447; + //BA.debugLineNum = 19005447;BA.debugLine="p_botonesVenta.BringToFront"; +__ref._p_botonesventa /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=19005448; + //BA.debugLineNum = 19005448;BA.debugLine="c.Position=0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=19005450; + //BA.debugLineNum = 19005450;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=19005452; + //BA.debugLineNum = 19005452;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmas_click(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_prodmas_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmas_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.B4XViewWrapper _panelcajas = null; +anywheresoftware.b4a.objects.B4XViewWrapper _panelpiezas = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lprodx = null; +String _precio = ""; +String _inv = ""; +String _existencias = ""; +String _id = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _fg = null; +String _nombrex = ""; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; +String _invactualizado = ""; +int _maxcajas = 0; +RDebugUtils.currentLine=18808832; + //BA.debugLineNum = 18808832;BA.debugLine="Sub b_prodMas_Click"; +RDebugUtils.currentLine=18808833; + //BA.debugLineNum = 18808833;BA.debugLine="totalcajasmaspiezas = 0"; +__ref._totalcajasmaspiezas /*int*/ = (int) (0); +RDebugUtils.currentLine=18808834; + //BA.debugLineNum = 18808834;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=18808835; + //BA.debugLineNum = 18808835;BA.debugLine="Root.RequestFocus"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=18808838; + //BA.debugLineNum = 18808838;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=18808839; + //BA.debugLineNum = 18808839;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=18808840; + //BA.debugLineNum = 18808840;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=18808841; + //BA.debugLineNum = 18808841;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); +RDebugUtils.currentLine=18808842; + //BA.debugLineNum = 18808842;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; +_panelcajas = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_panelcajas = _pnl.GetView((int) (3)); +RDebugUtils.currentLine=18808843; + //BA.debugLineNum = 18808843;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +_panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_panelpiezas = _pnl.GetView((int) (2)); +RDebugUtils.currentLine=18808844; + //BA.debugLineNum = 18808844;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); +RDebugUtils.currentLine=18808845; + //BA.debugLineNum = 18808845;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +_lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lprodx = _pnl.GetView((int) (1)); +RDebugUtils.currentLine=18808848; + //BA.debugLineNum = 18808848;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; +_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio"))); +RDebugUtils.currentLine=18808849; + //BA.debugLineNum = 18808849;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(index"; +_inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("almacen"))); +RDebugUtils.currentLine=18808850; + //BA.debugLineNum = 18808850;BA.debugLine="Private existencias As String = clv_prods_ll.GetV"; +_existencias = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("almacen"))); +RDebugUtils.currentLine=18808851; + //BA.debugLineNum = 18808851;BA.debugLine="Log($\"Existencias: ${existencias}\"$)"; +__c.LogImpl("518808851",("Existencias: "+__c.SmartStringFormatter("",(Object)(_existencias))+""),0); +RDebugUtils.currentLine=18808852; + //BA.debugLineNum = 18808852;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=18808853; + //BA.debugLineNum = 18808853;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("id"))); +RDebugUtils.currentLine=18808870; + //BA.debugLineNum = 18808870;BA.debugLine="Log(B4XPages.MainPage.tipo_venta)"; +__c.LogImpl("518808870",_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,0); +RDebugUtils.currentLine=18808871; + //BA.debugLineNum = 18808871;BA.debugLine="Log(B4XPages.MainPage.cliente.credito_diponible)"; +__c.LogImpl("518808871",_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*SHARK2.keymon.com.mx.c_cliente*/ ._credito_diponible /*String*/ ,0); +RDebugUtils.currentLine=18808872; + //BA.debugLineNum = 18808872;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +__c.LogImpl("518808872",_lacant.getText(),__c.Colors.Red); +RDebugUtils.currentLine=18808873; + //BA.debugLineNum = 18808873;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_CREDI"; +if ((_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_CREDITO")) { +RDebugUtils.currentLine=18808874; + //BA.debugLineNum = 18808874;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"Selec"; +_fg = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_fg = (anywheresoftware.b4a.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 COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))); +RDebugUtils.currentLine=18808875; + //BA.debugLineNum = 18808875;BA.debugLine="fg.Position = 0"; +_fg.setPosition((int) (0)); +RDebugUtils.currentLine=18808877; + //BA.debugLineNum = 18808877;BA.debugLine="If fg.GetString(\"COSTO\") + precio <= B4XPages.Ma"; +if ((double)(Double.parseDouble(_fg.GetString("COSTO")))+(double)(Double.parseDouble(_precio))<=(double)(Double.parseDouble(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*SHARK2.keymon.com.mx.c_cliente*/ ._credito_diponible /*String*/ ))) { +RDebugUtils.currentLine=18808878; + //BA.debugLineNum = 18808878;BA.debugLine="If Subs.traeinventario(id) > 0 And (laCant.Text"; +if ((double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))>0 && ((double)(Double.parseDouble(_lacant.getText()))<=((double)(Double.parseDouble(_lacant.getText()))+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))))) { +RDebugUtils.currentLine=18808880; + //BA.debugLineNum = 18808880;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"alma"; +((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Put((Object)("almacen"),(Object)(((double)(Double.parseDouble(_inv))-1))); +RDebugUtils.currentLine=18808881; + //BA.debugLineNum = 18808881;BA.debugLine="inv = inv - 1"; +_inv = BA.NumberToString((double)(Double.parseDouble(_inv))-1); +RDebugUtils.currentLine=18808883; + //BA.debugLineNum = 18808883;BA.debugLine="laCant.Text = NumberFormat2((laCant.Text + 1),"; +_lacant.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_lacant.getText()))+1),(int) (1),(int) (0),(int) (0),__c.False))); + }; +RDebugUtils.currentLine=18808886; + //BA.debugLineNum = 18808886;BA.debugLine="Private nombreX As String = Subs.traeProdNombre"; +_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); +RDebugUtils.currentLine=18808889; + //BA.debugLineNum = 18808889;BA.debugLine="If laCant.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacant.getText()))>0) { +RDebugUtils.currentLine=18808890; + //BA.debugLineNum = 18808890;BA.debugLine="panelcajas.Visible = False"; +_panelcajas.setVisible(__c.False); + }else +{RDebugUtils.currentLine=18808891; + //BA.debugLineNum = 18808891;BA.debugLine="Else If laCant.Text = 0 Then"; +if ((_lacant.getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=18808892; + //BA.debugLineNum = 18808892;BA.debugLine="panelcajas.Visible = True"; +_panelcajas.setVisible(__c.True); + }} +; +RDebugUtils.currentLine=18808895; + //BA.debugLineNum = 18808895;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +__c.LogImpl("518808895",_lacant.getText(),__c.Colors.Red); +RDebugUtils.currentLine=18808902; + //BA.debugLineNum = 18808902;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio"; +_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,(int)(Double.parseDouble(_lacant.getText())),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); +RDebugUtils.currentLine=18808903; + //BA.debugLineNum = 18808903;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=18808905; + //BA.debugLineNum = 18808905;BA.debugLine="If 1 = 1 Then"; +if (1==1) { +RDebugUtils.currentLine=18808906; + //BA.debugLineNum = 18808906;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=18808907; + //BA.debugLineNum = 18808907;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=18808908; + //BA.debugLineNum = 18808908;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($"; +_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=18808909; + //BA.debugLineNum = 18808909;BA.debugLine="Private invActualizado As String = \"0\""; +_invactualizado = "0"; +RDebugUtils.currentLine=18808910; + //BA.debugLineNum = 18808910;BA.debugLine="If o.RowCount > 0 Then"; +if (_o.getRowCount()>0) { +RDebugUtils.currentLine=18808911; + //BA.debugLineNum = 18808911;BA.debugLine="o.Position = 0"; +_o.setPosition((int) (0)); +RDebugUtils.currentLine=18808912; + //BA.debugLineNum = 18808912;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\""; +_invactualizado = _o.GetString("CAT_GP_ALMACEN"); + }; +RDebugUtils.currentLine=18808914; + //BA.debugLineNum = 18808914;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"p"; +if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion")))))==1) { +RDebugUtils.currentLine=18808915; + //BA.debugLineNum = 18808915;BA.debugLine="Private maxcajas As Int = 0"; +_maxcajas = (int) (0); +RDebugUtils.currentLine=18808916; + //BA.debugLineNum = 18808916;BA.debugLine="Log(\"cajas a 0\")"; +__c.LogImpl("518808916","cajas a 0",0); + }else { +RDebugUtils.currentLine=18808918; + //BA.debugLineNum = 18808918;BA.debugLine="Private maxcajas As Int = invActualizado/clv_"; +_maxcajas = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))))); +RDebugUtils.currentLine=18808919; + //BA.debugLineNum = 18808919;BA.debugLine="Log(\"cajas no a 0\")"; +__c.LogImpl("518808919","cajas no a 0",0); + }; +RDebugUtils.currentLine=18808921; + //BA.debugLineNum = 18808921;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.re"; +if (2==2) { +_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+_invactualizado)).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas))+""))).PopAll().getObject()));}; + }; +RDebugUtils.currentLine=18808924; + //BA.debugLineNum = 18808924;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinven"; +__ref._invtotal /*int*/ = (int) (__ref._totalcajasmaspiezas /*int*/ +(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); + }else { +RDebugUtils.currentLine=18808927; + //BA.debugLineNum = 18808927;BA.debugLine="MsgboxAsync(\"No se puede meter mas venta a cred"; +__c.MsgboxAsync(BA.ObjectToCharSequence("No se puede meter mas venta a credito por que supera el limite del credito"),BA.ObjectToCharSequence("Atencion"),ba); + }; + }else { +RDebugUtils.currentLine=18808930; + //BA.debugLineNum = 18808930;BA.debugLine="If Subs.traeinventario(id) > 0 And (laCant.Text"; +if ((double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))>0 && ((double)(Double.parseDouble(_lacant.getText()))<=((double)(Double.parseDouble(_lacant.getText()))+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))))) { +RDebugUtils.currentLine=18808932; + //BA.debugLineNum = 18808932;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"almac"; +((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Put((Object)("almacen"),(Object)(((double)(Double.parseDouble(_inv))-1))); +RDebugUtils.currentLine=18808933; + //BA.debugLineNum = 18808933;BA.debugLine="inv = inv - 1"; +_inv = BA.NumberToString((double)(Double.parseDouble(_inv))-1); +RDebugUtils.currentLine=18808935; + //BA.debugLineNum = 18808935;BA.debugLine="laCant.Text = NumberFormat2((laCant.Text + 1),"; +_lacant.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_lacant.getText()))+1),(int) (1),(int) (0),(int) (0),__c.False))); + }; +RDebugUtils.currentLine=18808938; + //BA.debugLineNum = 18808938;BA.debugLine="Private nombreX As String = Subs.traeProdNombre("; +_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); +RDebugUtils.currentLine=18808941; + //BA.debugLineNum = 18808941;BA.debugLine="If laCant.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacant.getText()))>0) { +RDebugUtils.currentLine=18808942; + //BA.debugLineNum = 18808942;BA.debugLine="panelcajas.Visible = False"; +_panelcajas.setVisible(__c.False); + }else +{RDebugUtils.currentLine=18808943; + //BA.debugLineNum = 18808943;BA.debugLine="Else If laCant.Text = 0 Then"; +if ((_lacant.getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=18808944; + //BA.debugLineNum = 18808944;BA.debugLine="panelcajas.Visible = True"; +_panelcajas.setVisible(__c.True); + }} +; +RDebugUtils.currentLine=18808947; + //BA.debugLineNum = 18808947;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +__c.LogImpl("518808947",_lacant.getText(),__c.Colors.Red); +RDebugUtils.currentLine=18808954; + //BA.debugLineNum = 18808954;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; +_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,(int)(Double.parseDouble(_lacant.getText())),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); +RDebugUtils.currentLine=18808955; + //BA.debugLineNum = 18808955;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=18808957; + //BA.debugLineNum = 18808957;BA.debugLine="If 1 = 1 Then"; +if (1==1) { +RDebugUtils.currentLine=18808958; + //BA.debugLineNum = 18808958;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=18808959; + //BA.debugLineNum = 18808959;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=18808960; + //BA.debugLineNum = 18808960;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\""; +_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=18808961; + //BA.debugLineNum = 18808961;BA.debugLine="Private invActualizado As String = \"0\""; +_invactualizado = "0"; +RDebugUtils.currentLine=18808962; + //BA.debugLineNum = 18808962;BA.debugLine="If o.RowCount > 0 Then"; +if (_o.getRowCount()>0) { +RDebugUtils.currentLine=18808963; + //BA.debugLineNum = 18808963;BA.debugLine="o.Position = 0"; +_o.setPosition((int) (0)); +RDebugUtils.currentLine=18808964; + //BA.debugLineNum = 18808964;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; +_invactualizado = _o.GetString("CAT_GP_ALMACEN"); + }; +RDebugUtils.currentLine=18808966; + //BA.debugLineNum = 18808966;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pr"; +if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion")))))==1) { +RDebugUtils.currentLine=18808967; + //BA.debugLineNum = 18808967;BA.debugLine="Private maxcajas As Int = 0"; +_maxcajas = (int) (0); +RDebugUtils.currentLine=18808968; + //BA.debugLineNum = 18808968;BA.debugLine="Log(\"cajas a 0\")"; +__c.LogImpl("518808968","cajas a 0",0); + }else { +RDebugUtils.currentLine=18808970; + //BA.debugLineNum = 18808970;BA.debugLine="Private maxcajas As Int = invActualizado/clv_p"; +_maxcajas = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))))); +RDebugUtils.currentLine=18808971; + //BA.debugLineNum = 18808971;BA.debugLine="Log(\"cajas no a 0\")"; +__c.LogImpl("518808971","cajas no a 0",0); + }; +RDebugUtils.currentLine=18808973; + //BA.debugLineNum = 18808973;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red"; +if (2==2) { +_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+_invactualizado)).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas))+""))).PopAll().getObject()));}; + }; +RDebugUtils.currentLine=18808976; + //BA.debugLineNum = 18808976;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinvent"; +__ref._invtotal /*int*/ = (int) (__ref._totalcajasmaspiezas /*int*/ +(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); + }; +RDebugUtils.currentLine=18808979; + //BA.debugLineNum = 18808979;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmasc_click(SHARK2.keymon.com.mx.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 _lacant = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lprodx = null; +anywheresoftware.b4a.objects.B4XViewWrapper _panelcajas = null; +anywheresoftware.b4a.objects.B4XViewWrapper _panelpiezas = null; +String _precio = ""; +String _inv = ""; +String _existencias = ""; +String _conversion = ""; +String _preciocaja = ""; +String _id = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _fg = null; +String _nombrex = ""; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; +String _invactualizado = ""; +int _maxcajas2 = 0; +RDebugUtils.currentLine=20381696; + //BA.debugLineNum = 20381696;BA.debugLine="Sub b_prodMasc_Click"; +RDebugUtils.currentLine=20381697; + //BA.debugLineNum = 20381697;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=20381698; + //BA.debugLineNum = 20381698;BA.debugLine="Root.RequestFocus"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=20381701; + //BA.debugLineNum = 20381701;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=20381702; + //BA.debugLineNum = 20381702;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=20381703; + //BA.debugLineNum = 20381703;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=20381704; + //BA.debugLineNum = 20381704;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); +RDebugUtils.currentLine=20381705; + //BA.debugLineNum = 20381705;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); +RDebugUtils.currentLine=20381706; + //BA.debugLineNum = 20381706;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +_lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lprodx = _pnl.GetView((int) (1)); +RDebugUtils.currentLine=20381707; + //BA.debugLineNum = 20381707;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; +_panelcajas = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_panelcajas = _pnl.GetView((int) (3)); +RDebugUtils.currentLine=20381708; + //BA.debugLineNum = 20381708;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +_panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_panelpiezas = _pnl.GetView((int) (2)); +RDebugUtils.currentLine=20381710; + //BA.debugLineNum = 20381710;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; +_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio"))); +RDebugUtils.currentLine=20381711; + //BA.debugLineNum = 20381711;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(index"; +_inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("almacen"))); +RDebugUtils.currentLine=20381712; + //BA.debugLineNum = 20381712;BA.debugLine="Private existencias As String = clv_prods_ll.GetV"; +_existencias = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("almacen"))); +RDebugUtils.currentLine=20381713; + //BA.debugLineNum = 20381713;BA.debugLine="Private conversion As String = clv_prods_ll.GetVa"; +_conversion = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))); +RDebugUtils.currentLine=20381714; + //BA.debugLineNum = 20381714;BA.debugLine="Private preciocaja As String = clv_prods_ll.GetVa"; +_preciocaja = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio_caja"))); +RDebugUtils.currentLine=20381715; + //BA.debugLineNum = 20381715;BA.debugLine="Log(conversion)"; +__c.LogImpl("520381715",_conversion,0); +RDebugUtils.currentLine=20381716; + //BA.debugLineNum = 20381716;BA.debugLine="Log($\"Existencias: ${existencias}\"$)"; +__c.LogImpl("520381716",("Existencias: "+__c.SmartStringFormatter("",(Object)(_existencias))+""),0); +RDebugUtils.currentLine=20381717; + //BA.debugLineNum = 20381717;BA.debugLine="If laCant2.Text = \"\" Then laCant2.Text = 0"; +if ((_lacant2.getText()).equals("")) { +_lacant2.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=20381718; + //BA.debugLineNum = 20381718;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("id"))); +RDebugUtils.currentLine=20381735; + //BA.debugLineNum = 20381735;BA.debugLine="Log(B4XPages.MainPage.tipo_venta)"; +__c.LogImpl("520381735",_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,0); +RDebugUtils.currentLine=20381736; + //BA.debugLineNum = 20381736;BA.debugLine="Log(\"--------------->Credito Disponible: \"&B4XPag"; +__c.LogImpl("520381736","--------------->Credito Disponible: "+_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*SHARK2.keymon.com.mx.c_cliente*/ ._credito_diponible /*String*/ ,0); +RDebugUtils.currentLine=20381737; + //BA.debugLineNum = 20381737;BA.debugLine="Log(preciocaja)"; +__c.LogImpl("520381737",_preciocaja,0); +RDebugUtils.currentLine=20381739; + //BA.debugLineNum = 20381739;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_CREDI"; +if ((_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_CREDITO")) { +RDebugUtils.currentLine=20381740; + //BA.debugLineNum = 20381740;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"Selec"; +_fg = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_fg = (anywheresoftware.b4a.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 COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))); +RDebugUtils.currentLine=20381741; + //BA.debugLineNum = 20381741;BA.debugLine="fg.Position = 0"; +_fg.setPosition((int) (0)); +RDebugUtils.currentLine=20381742; + //BA.debugLineNum = 20381742;BA.debugLine="If fg.GetString(\"COSTO\") + preciocaja <= B4XPage"; +if ((double)(Double.parseDouble(_fg.GetString("COSTO")))+(double)(Double.parseDouble(_preciocaja))<=(double)(Double.parseDouble(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*SHARK2.keymon.com.mx.c_cliente*/ ._credito_diponible /*String*/ ))) { +RDebugUtils.currentLine=20381743; + //BA.debugLineNum = 20381743;BA.debugLine="Log(Subs.traeinventario(id))"; +__c.LogImpl("520381743",_subs._traeinventario /*String*/ (ba,_id),0); +RDebugUtils.currentLine=20381744; + //BA.debugLineNum = 20381744;BA.debugLine="Log((laCant2.Text * conversion) + conversion)"; +__c.LogImpl("520381744",BA.NumberToString(((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))+(double)(Double.parseDouble(_conversion))),0); +RDebugUtils.currentLine=20381745; + //BA.debugLineNum = 20381745;BA.debugLine="Log((laCant2.Text *conversion)+ Subs.traeinvent"; +__c.LogImpl("520381745",BA.NumberToString(((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))),0); +RDebugUtils.currentLine=20381746; + //BA.debugLineNum = 20381746;BA.debugLine="If Subs.traeinventario(id) > 0 And ((laCant2.Te"; +if ((double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))>0 && (((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))+(double)(Double.parseDouble(_conversion))<=(((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))))) { +RDebugUtils.currentLine=20381748; + //BA.debugLineNum = 20381748;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"alma"; +((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Put((Object)("almacen"),(Object)(((double)(Double.parseDouble(_inv))-(double)(Double.parseDouble(_conversion))))); +RDebugUtils.currentLine=20381749; + //BA.debugLineNum = 20381749;BA.debugLine="inv = inv - conversion"; +_inv = BA.NumberToString((double)(Double.parseDouble(_inv))-(double)(Double.parseDouble(_conversion))); +RDebugUtils.currentLine=20381751; + //BA.debugLineNum = 20381751;BA.debugLine="laCant2.Text = NumberFormat2((laCant2.Text + 1"; +_lacant2.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_lacant2.getText()))+1),(int) (1),(int) (0),(int) (0),__c.False))); +RDebugUtils.currentLine=20381753; + //BA.debugLineNum = 20381753;BA.debugLine="Log(\"cuando entro aqui?\")"; +__c.LogImpl("520381753","cuando entro aqui?",0); + }; +RDebugUtils.currentLine=20381755; + //BA.debugLineNum = 20381755;BA.debugLine="Private nombreX As String = Subs.traeProdNombre"; +_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); +RDebugUtils.currentLine=20381757; + //BA.debugLineNum = 20381757;BA.debugLine="Log((laCant2.Text * conversion))"; +__c.LogImpl("520381757",BA.NumberToString(((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))),0); +RDebugUtils.currentLine=20381758; + //BA.debugLineNum = 20381758;BA.debugLine="If laCant2.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacant2.getText()))>0) { +RDebugUtils.currentLine=20381759; + //BA.debugLineNum = 20381759;BA.debugLine="panelpiezas.Visible = False"; +_panelpiezas.setVisible(__c.False); + }else +{RDebugUtils.currentLine=20381760; + //BA.debugLineNum = 20381760;BA.debugLine="Else If laCant2.Text = 0 Then"; +if ((_lacant2.getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=20381761; + //BA.debugLineNum = 20381761;BA.debugLine="panelpiezas.Visible = True"; +_panelpiezas.setVisible(__c.True); + }} +; +RDebugUtils.currentLine=20381771; + //BA.debugLineNum = 20381771;BA.debugLine="Subs.actualizaProducto2(Subs.traeAlmacen,precio"; +_subs._actualizaproducto2 /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_preciocaja,(int) (((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,_lacant2.getText(),BA.NumberToString(1)); +RDebugUtils.currentLine=20381772; + //BA.debugLineNum = 20381772;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=20381774; + //BA.debugLineNum = 20381774;BA.debugLine="If 1 = 1 Then"; +if (1==1) { +RDebugUtils.currentLine=20381775; + //BA.debugLineNum = 20381775;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=20381776; + //BA.debugLineNum = 20381776;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=20381777; + //BA.debugLineNum = 20381777;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($"; +_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=20381778; + //BA.debugLineNum = 20381778;BA.debugLine="Private invActualizado As String = \"0\""; +_invactualizado = "0"; +RDebugUtils.currentLine=20381779; + //BA.debugLineNum = 20381779;BA.debugLine="If o.RowCount > 0 Then"; +if (_o.getRowCount()>0) { +RDebugUtils.currentLine=20381780; + //BA.debugLineNum = 20381780;BA.debugLine="o.Position = 0"; +_o.setPosition((int) (0)); +RDebugUtils.currentLine=20381781; + //BA.debugLineNum = 20381781;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\""; +_invactualizado = _o.GetString("CAT_GP_ALMACEN"); + }; +RDebugUtils.currentLine=20381783; + //BA.debugLineNum = 20381783;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"p"; +if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion")))))==1) { +RDebugUtils.currentLine=20381784; + //BA.debugLineNum = 20381784;BA.debugLine="Private maxcajas2 As Int = 0"; +_maxcajas2 = (int) (0); +RDebugUtils.currentLine=20381785; + //BA.debugLineNum = 20381785;BA.debugLine="Log(\"cajas a 0\")"; +__c.LogImpl("520381785","cajas a 0",0); + }else { +RDebugUtils.currentLine=20381787; + //BA.debugLineNum = 20381787;BA.debugLine="Private maxcajas2 As Int = invActualizado/clv"; +_maxcajas2 = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))))); +RDebugUtils.currentLine=20381788; + //BA.debugLineNum = 20381788;BA.debugLine="Log(\"cajas no a 0\")"; +__c.LogImpl("520381788","cajas no a 0",0); + }; +RDebugUtils.currentLine=20381790; + //BA.debugLineNum = 20381790;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.re"; +if (2==2) { +_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+_invactualizado)).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas2))+""))).PopAll().getObject()));}; + }; +RDebugUtils.currentLine=20381793; + //BA.debugLineNum = 20381793;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinven"; +__ref._invtotal /*int*/ = (int) (__ref._totalcajasmaspiezas /*int*/ +(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); + }else { +RDebugUtils.currentLine=20381796; + //BA.debugLineNum = 20381796;BA.debugLine="MsgboxAsync(\"No se puede meter mas venta a cred"; +__c.MsgboxAsync(BA.ObjectToCharSequence("No se puede meter mas venta a credito por que supera el limite del credito"),BA.ObjectToCharSequence("Atencion"),ba); + }; + }else { +RDebugUtils.currentLine=20381799; + //BA.debugLineNum = 20381799;BA.debugLine="Log(Subs.traeinventario(id))"; +__c.LogImpl("520381799",_subs._traeinventario /*String*/ (ba,_id),0); +RDebugUtils.currentLine=20381800; + //BA.debugLineNum = 20381800;BA.debugLine="Log((laCant2.Text * conversion) + conversion)"; +__c.LogImpl("520381800",BA.NumberToString(((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))+(double)(Double.parseDouble(_conversion))),0); +RDebugUtils.currentLine=20381801; + //BA.debugLineNum = 20381801;BA.debugLine="Log((laCant2.Text *conversion)+ Subs.traeinventa"; +__c.LogImpl("520381801",BA.NumberToString(((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))),0); +RDebugUtils.currentLine=20381802; + //BA.debugLineNum = 20381802;BA.debugLine="If Subs.traeinventario(id) > 0 And ((laCant2.Tex"; +if ((double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))>0 && (((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))+(double)(Double.parseDouble(_conversion))<=(((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))))) { +RDebugUtils.currentLine=20381804; + //BA.debugLineNum = 20381804;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"almac"; +((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Put((Object)("almacen"),(Object)(((double)(Double.parseDouble(_inv))-(double)(Double.parseDouble(_conversion))))); +RDebugUtils.currentLine=20381805; + //BA.debugLineNum = 20381805;BA.debugLine="inv = inv - conversion"; +_inv = BA.NumberToString((double)(Double.parseDouble(_inv))-(double)(Double.parseDouble(_conversion))); +RDebugUtils.currentLine=20381807; + //BA.debugLineNum = 20381807;BA.debugLine="laCant2.Text = NumberFormat2((laCant2.Text + 1)"; +_lacant2.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_lacant2.getText()))+1),(int) (1),(int) (0),(int) (0),__c.False))); +RDebugUtils.currentLine=20381809; + //BA.debugLineNum = 20381809;BA.debugLine="Log(\"cuando entro aqui?\")"; +__c.LogImpl("520381809","cuando entro aqui?",0); + }; +RDebugUtils.currentLine=20381811; + //BA.debugLineNum = 20381811;BA.debugLine="Private nombreX As String = Subs.traeProdNombre("; +_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); +RDebugUtils.currentLine=20381813; + //BA.debugLineNum = 20381813;BA.debugLine="Log((laCant2.Text * conversion))"; +__c.LogImpl("520381813",BA.NumberToString(((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))),0); +RDebugUtils.currentLine=20381814; + //BA.debugLineNum = 20381814;BA.debugLine="If laCant2.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacant2.getText()))>0) { +RDebugUtils.currentLine=20381815; + //BA.debugLineNum = 20381815;BA.debugLine="panelpiezas.Visible = False"; +_panelpiezas.setVisible(__c.False); + }else +{RDebugUtils.currentLine=20381816; + //BA.debugLineNum = 20381816;BA.debugLine="Else If laCant2.Text = 0 Then"; +if ((_lacant2.getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=20381817; + //BA.debugLineNum = 20381817;BA.debugLine="panelpiezas.Visible = True"; +_panelpiezas.setVisible(__c.True); + }} +; +RDebugUtils.currentLine=20381827; + //BA.debugLineNum = 20381827;BA.debugLine="Subs.actualizaProducto2(Subs.traeAlmacen,precioc"; +_subs._actualizaproducto2 /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_preciocaja,(int) (((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,_lacant2.getText(),BA.NumberToString(1)); +RDebugUtils.currentLine=20381828; + //BA.debugLineNum = 20381828;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=20381830; + //BA.debugLineNum = 20381830;BA.debugLine="If 1 = 1 Then"; +if (1==1) { +RDebugUtils.currentLine=20381831; + //BA.debugLineNum = 20381831;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=20381832; + //BA.debugLineNum = 20381832;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=20381833; + //BA.debugLineNum = 20381833;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\""; +_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=20381834; + //BA.debugLineNum = 20381834;BA.debugLine="Private invActualizado As String = \"0\""; +_invactualizado = "0"; +RDebugUtils.currentLine=20381835; + //BA.debugLineNum = 20381835;BA.debugLine="If o.RowCount > 0 Then"; +if (_o.getRowCount()>0) { +RDebugUtils.currentLine=20381836; + //BA.debugLineNum = 20381836;BA.debugLine="o.Position = 0"; +_o.setPosition((int) (0)); +RDebugUtils.currentLine=20381837; + //BA.debugLineNum = 20381837;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; +_invactualizado = _o.GetString("CAT_GP_ALMACEN"); + }; +RDebugUtils.currentLine=20381839; + //BA.debugLineNum = 20381839;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pr"; +if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion")))))==1) { +RDebugUtils.currentLine=20381840; + //BA.debugLineNum = 20381840;BA.debugLine="Private maxcajas2 As Int = 0"; +_maxcajas2 = (int) (0); +RDebugUtils.currentLine=20381841; + //BA.debugLineNum = 20381841;BA.debugLine="Log(\"cajas a 0\")"; +__c.LogImpl("520381841","cajas a 0",0); + }else { +RDebugUtils.currentLine=20381843; + //BA.debugLineNum = 20381843;BA.debugLine="Private maxcajas2 As Int = invActualizado/clv_"; +_maxcajas2 = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))))); +RDebugUtils.currentLine=20381844; + //BA.debugLineNum = 20381844;BA.debugLine="Log(\"cajas no a 0\")"; +__c.LogImpl("520381844","cajas no a 0",0); + }; +RDebugUtils.currentLine=20381846; + //BA.debugLineNum = 20381846;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red"; +if (2==2) { +_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+_invactualizado)).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas2))+""))).PopAll().getObject()));}; + }; +RDebugUtils.currentLine=20381849; + //BA.debugLineNum = 20381849;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinvent"; +__ref._invtotal /*int*/ = (int) (__ref._totalcajasmaspiezas /*int*/ +(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); + }; +RDebugUtils.currentLine=20381853; + //BA.debugLineNum = 20381853;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmenos_click(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_prodmenos_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmenos_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _panelbotonesc = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lprodx = null; +anywheresoftware.b4a.objects.B4XViewWrapper _panelcajas = null; +anywheresoftware.b4a.objects.B4XViewWrapper _panelpiezas = null; +anywheresoftware.b4a.objects.collections.Map _tmpmap1 = null; +String _precio = ""; +String _id = ""; +anywheresoftware.b4a.objects.collections.Map _tmpmap = null; +String _nombrex = ""; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; +String _invactualizado = ""; +int _maxcajas = 0; +RDebugUtils.currentLine=18743296; + //BA.debugLineNum = 18743296;BA.debugLine="Sub b_prodMenos_Click"; +RDebugUtils.currentLine=18743297; + //BA.debugLineNum = 18743297;BA.debugLine="totalcajasmaspiezas = 0"; +__ref._totalcajasmaspiezas /*int*/ = (int) (0); +RDebugUtils.currentLine=18743298; + //BA.debugLineNum = 18743298;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=18743299; + //BA.debugLineNum = 18743299;BA.debugLine="Root.RequestFocus"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=18743301; + //BA.debugLineNum = 18743301;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=18743302; + //BA.debugLineNum = 18743302;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=18743303; + //BA.debugLineNum = 18743303;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=18743304; + //BA.debugLineNum = 18743304;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); +RDebugUtils.currentLine=18743305; + //BA.debugLineNum = 18743305;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); +RDebugUtils.currentLine=18743306; + //BA.debugLineNum = 18743306;BA.debugLine="Dim panelbotonesc As B4XView = pnl.GetView(3)"; +_panelbotonesc = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_panelbotonesc = _pnl.GetView((int) (3)); +RDebugUtils.currentLine=18743307; + //BA.debugLineNum = 18743307;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +_lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lprodx = _pnl.GetView((int) (1)); +RDebugUtils.currentLine=18743308; + //BA.debugLineNum = 18743308;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; +_panelcajas = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_panelcajas = _pnl.GetView((int) (3)); +RDebugUtils.currentLine=18743309; + //BA.debugLineNum = 18743309;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +_panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_panelpiezas = _pnl.GetView((int) (2)); +RDebugUtils.currentLine=18743311; + //BA.debugLineNum = 18743311;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=18743313; + //BA.debugLineNum = 18743313;BA.debugLine="laCant.Text = $\"${NumberFormat2(laCant.Text-1,0,0"; +_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_lacant.getText()))-1,(int) (0),(int) (0),(int) (0),__c.False)))+""))); +RDebugUtils.currentLine=18743314; + //BA.debugLineNum = 18743314;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=18743315; + //BA.debugLineNum = 18743315;BA.debugLine="Private tmpMap1 As Map = clv_prods_ll.GetValue(in"; +_tmpmap1 = new anywheresoftware.b4a.objects.collections.Map(); +_tmpmap1 = ((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))); +RDebugUtils.currentLine=18743316; + //BA.debugLineNum = 18743316;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; +_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio"))); +RDebugUtils.currentLine=18743317; + //BA.debugLineNum = 18743317;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("id"))); +RDebugUtils.currentLine=18743318; + //BA.debugLineNum = 18743318;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); +_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(_subs._traealmacen /*String*/ (ba))}); +RDebugUtils.currentLine=18743319; + //BA.debugLineNum = 18743319;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; +_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); +RDebugUtils.currentLine=18743320; + //BA.debugLineNum = 18743320;BA.debugLine="LogColor(tmpMap1,Colors.Magenta)"; +__c.LogImpl("518743320",BA.ObjectToString(_tmpmap1),__c.Colors.Magenta); +RDebugUtils.currentLine=18743322; + //BA.debugLineNum = 18743322;BA.debugLine="If laCant.Text = 0 Then prodsMap.Remove(id)"; +if ((_lacant.getText()).equals(BA.NumberToString(0))) { +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)(_id));}; +RDebugUtils.currentLine=18743323; + //BA.debugLineNum = 18743323;BA.debugLine="If laCant.Text = 0 Then"; +if ((_lacant.getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=18743324; + //BA.debugLineNum = 18743324;BA.debugLine="panelcajas.Visible = True"; +_panelcajas.setVisible(__c.True); + }else +{RDebugUtils.currentLine=18743325; + //BA.debugLineNum = 18743325;BA.debugLine="Else If laCant.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacant.getText()))>0) { +RDebugUtils.currentLine=18743326; + //BA.debugLineNum = 18743326;BA.debugLine="panelcajas.Visible = False"; +_panelcajas.setVisible(__c.False); + }} +; +RDebugUtils.currentLine=18743333; + //BA.debugLineNum = 18743333;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; +__c.LogImpl("518743333","prodsMap="+BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Blue); +RDebugUtils.currentLine=18743335; + //BA.debugLineNum = 18743335;BA.debugLine="Log($\"${Subs.traeAlmacen}, ${precio}, ${laCant.te"; +__c.LogImpl("518743335",(""+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+", "+__c.SmartStringFormatter("",(Object)(_precio))+", "+__c.SmartStringFormatter("",(Object)(_lacant.getText()))+", "+__c.SmartStringFormatter("",(Object)(_subs._traeprodnombre /*String*/ (ba,_id)))+", "+__c.SmartStringFormatter("",(Object)(_id))+", "+__c.SmartStringFormatter("",(Object)(__ref._clienteid /*String*/ ))+""),0); +RDebugUtils.currentLine=18743336; + //BA.debugLineNum = 18743336;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; +_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,(int)(Double.parseDouble(_lacant.getText())),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); +RDebugUtils.currentLine=18743337; + //BA.debugLineNum = 18743337;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=18743338; + //BA.debugLineNum = 18743338;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; +__c.LogImpl("518743338","prodsMap="+BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Blue); +RDebugUtils.currentLine=18743339; + //BA.debugLineNum = 18743339;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; +__c.LogImpl("518743339",("Total Prods: "+__c.SmartStringFormatter("",(Object)(__ref._totalprods /*int*/ ))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._totalcompra /*float*/ ))+""),0); +RDebugUtils.currentLine=18743340; + //BA.debugLineNum = 18743340;BA.debugLine="If 1 = 1 Then"; +if (1==1) { +RDebugUtils.currentLine=18743341; + //BA.debugLineNum = 18743341;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=18743342; + //BA.debugLineNum = 18743342;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=18743343; + //BA.debugLineNum = 18743343;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"s"; +_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=18743344; + //BA.debugLineNum = 18743344;BA.debugLine="Private invActualizado As String = \"0\""; +_invactualizado = "0"; +RDebugUtils.currentLine=18743345; + //BA.debugLineNum = 18743345;BA.debugLine="If o.RowCount > 0 Then"; +if (_o.getRowCount()>0) { +RDebugUtils.currentLine=18743346; + //BA.debugLineNum = 18743346;BA.debugLine="o.Position = 0"; +_o.setPosition((int) (0)); +RDebugUtils.currentLine=18743347; + //BA.debugLineNum = 18743347;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; +_invactualizado = _o.GetString("CAT_GP_ALMACEN"); + }; +RDebugUtils.currentLine=18743349; + //BA.debugLineNum = 18743349;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pre"; +if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion")))))==1) { +RDebugUtils.currentLine=18743350; + //BA.debugLineNum = 18743350;BA.debugLine="Private maxcajas As Int = 0"; +_maxcajas = (int) (0); +RDebugUtils.currentLine=18743351; + //BA.debugLineNum = 18743351;BA.debugLine="Log(\"cajas a 0\")"; +__c.LogImpl("518743351","cajas a 0",0); + }else { +RDebugUtils.currentLine=18743353; + //BA.debugLineNum = 18743353;BA.debugLine="Private maxcajas As Int = invActualizado/clv_pr"; +_maxcajas = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))))); +RDebugUtils.currentLine=18743354; + //BA.debugLineNum = 18743354;BA.debugLine="Log(\"cajas no a 0\")"; +__c.LogImpl("518743354","cajas no a 0",0); + }; +RDebugUtils.currentLine=18743357; + //BA.debugLineNum = 18743357;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)"; +if (2==2) { +_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+_invactualizado)).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas))+""))).PopAll().getObject()));}; + }; +RDebugUtils.currentLine=18743360; + //BA.debugLineNum = 18743360;BA.debugLine="If laCant.Text = 0 Then"; +if ((_lacant.getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=18743361; + //BA.debugLineNum = 18743361;BA.debugLine="If maxcajas > 0 Then"; +if (_maxcajas>0) { +RDebugUtils.currentLine=18743362; + //BA.debugLineNum = 18743362;BA.debugLine="panelcajas.Visible = True"; +_panelcajas.setVisible(__c.True); + }else { +RDebugUtils.currentLine=18743364; + //BA.debugLineNum = 18743364;BA.debugLine="panelcajas.Visible = False"; +_panelcajas.setVisible(__c.False); + }; + }else +{RDebugUtils.currentLine=18743366; + //BA.debugLineNum = 18743366;BA.debugLine="Else If laCant.Text > 0 Then"; +if ((double)(Double.parseDouble(_lacant.getText()))>0) { +RDebugUtils.currentLine=18743367; + //BA.debugLineNum = 18743367;BA.debugLine="panelcajas.Visible = False"; +_panelcajas.setVisible(__c.False); + }} +; +RDebugUtils.currentLine=18743369; + //BA.debugLineNum = 18743369;BA.debugLine="If Subs.totalPedido < 1 Then laCant.Text = \"0\""; +if ((double)(Double.parseDouble(_subs._totalpedido /*String*/ (ba)))<1) { +_lacant.setText(BA.ObjectToCharSequence("0"));}; +RDebugUtils.currentLine=18743370; + //BA.debugLineNum = 18743370;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +__ref._invtotal /*int*/ = (int) (__ref._totalcajasmaspiezas /*int*/ +(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); +RDebugUtils.currentLine=18743372; + //BA.debugLineNum = 18743372;BA.debugLine="If tmpMap1.Get(\"conversion\") = \"1\" Or tmpMap1.Get"; +if ((_tmpmap1.Get((Object)("conversion"))).equals((Object)("1")) || (_tmpmap1.Get((Object)("precio_caja"))).equals((Object)("0"))) { +RDebugUtils.currentLine=18743373; + //BA.debugLineNum = 18743373;BA.debugLine="Log(\"invisible\")"; +__c.LogImpl("518743373","invisible",0); +RDebugUtils.currentLine=18743374; + //BA.debugLineNum = 18743374;BA.debugLine="panelbotonesc.Visible = False"; +_panelbotonesc.setVisible(__c.False); + }; +RDebugUtils.currentLine=18743376; + //BA.debugLineNum = 18743376;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"alma"; +if ((double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("almacen"))))<(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))))) { +RDebugUtils.currentLine=18743377; + //BA.debugLineNum = 18743377;BA.debugLine="Log(clv_prods_ll.GetValue(index).As(Map).Get(\"ca"; +__c.LogImpl("518743377",BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("cant"))),0); +RDebugUtils.currentLine=18743378; + //BA.debugLineNum = 18743378;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"can"; +if (((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("cant")))))==0) { +RDebugUtils.currentLine=18743379; + //BA.debugLineNum = 18743379;BA.debugLine="Log(\"Aqui debemos ponerlo invisible\")"; +__c.LogImpl("518743379","Aqui debemos ponerlo invisible",0); +RDebugUtils.currentLine=18743380; + //BA.debugLineNum = 18743380;BA.debugLine="panelcajas.Visible = False"; +_panelcajas.setVisible(__c.False); + }else { + }; + }; +RDebugUtils.currentLine=18743387; + //BA.debugLineNum = 18743387;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmenosc_click(SHARK2.keymon.com.mx.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 _lacant = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lprodx = null; +anywheresoftware.b4a.objects.B4XViewWrapper _panelcajas = null; +anywheresoftware.b4a.objects.B4XViewWrapper _panelpiezas = null; +anywheresoftware.b4a.objects.collections.Map _tmpmap = null; +String _precio = ""; +String _id = ""; +String _nombrex = ""; +String _conversion = ""; +String _preciocaja = ""; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; +String _invactualizado = ""; +int _maxcajas2 = 0; +RDebugUtils.currentLine=20316160; + //BA.debugLineNum = 20316160;BA.debugLine="Sub b_prodMenosc_Click"; +RDebugUtils.currentLine=20316161; + //BA.debugLineNum = 20316161;BA.debugLine="totalcajasmaspiezas = 0"; +__ref._totalcajasmaspiezas /*int*/ = (int) (0); +RDebugUtils.currentLine=20316162; + //BA.debugLineNum = 20316162;BA.debugLine="etCantHasFocus = False"; +__ref._etcanthasfocus /*boolean*/ = __c.False; +RDebugUtils.currentLine=20316163; + //BA.debugLineNum = 20316163;BA.debugLine="Root.RequestFocus"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RequestFocus(); +RDebugUtils.currentLine=20316165; + //BA.debugLineNum = 20316165;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=20316166; + //BA.debugLineNum = 20316166;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=20316167; + //BA.debugLineNum = 20316167;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=20316168; + //BA.debugLineNum = 20316168;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); +RDebugUtils.currentLine=20316169; + //BA.debugLineNum = 20316169;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); +RDebugUtils.currentLine=20316170; + //BA.debugLineNum = 20316170;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +_lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lprodx = _pnl.GetView((int) (1)); +RDebugUtils.currentLine=20316171; + //BA.debugLineNum = 20316171;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; +_panelcajas = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_panelcajas = _pnl.GetView((int) (3)); +RDebugUtils.currentLine=20316172; + //BA.debugLineNum = 20316172;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +_panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_panelpiezas = _pnl.GetView((int) (2)); +RDebugUtils.currentLine=20316174; + //BA.debugLineNum = 20316174;BA.debugLine="If laCant2.Text = \"\" Then laCant2.Text = 0"; +if ((_lacant2.getText()).equals("")) { +_lacant2.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=20316176; + //BA.debugLineNum = 20316176;BA.debugLine="laCant2.Text = $\"${NumberFormat2(laCant2.Text-1,0"; +_lacant2.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_lacant2.getText()))-1,(int) (0),(int) (0),(int) (0),__c.False)))+""))); +RDebugUtils.currentLine=20316177; + //BA.debugLineNum = 20316177;BA.debugLine="If laCant2.Text < 0 Then laCant2.Text = 0"; +if ((double)(Double.parseDouble(_lacant2.getText()))<0) { +_lacant2.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=20316178; + //BA.debugLineNum = 20316178;BA.debugLine="Private tmpMap As Map = clv_prods_ll.GetValue(ind"; +_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); +_tmpmap = ((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))); +RDebugUtils.currentLine=20316179; + //BA.debugLineNum = 20316179;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; +_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio"))); +RDebugUtils.currentLine=20316180; + //BA.debugLineNum = 20316180;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("id"))); +RDebugUtils.currentLine=20316181; + //BA.debugLineNum = 20316181;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); +_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant2.getText()),(Object)("almacen"),(Object)(_subs._traealmacen /*String*/ (ba))}); +RDebugUtils.currentLine=20316182; + //BA.debugLineNum = 20316182;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; +_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); +RDebugUtils.currentLine=20316183; + //BA.debugLineNum = 20316183;BA.debugLine="Private conversion As String = clv_prods_ll.GetVa"; +_conversion = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))); +RDebugUtils.currentLine=20316184; + //BA.debugLineNum = 20316184;BA.debugLine="Private preciocaja As String = clv_prods_ll.GetVa"; +_preciocaja = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio_caja"))); +RDebugUtils.currentLine=20316185; + //BA.debugLineNum = 20316185;BA.debugLine="Log(tmpMap)"; +__c.LogImpl("520316185",BA.ObjectToString(_tmpmap),0); +RDebugUtils.currentLine=20316187; + //BA.debugLineNum = 20316187;BA.debugLine="If laCant2.Text = 0 Then prodsMap.Remove(id)"; +if ((_lacant2.getText()).equals(BA.NumberToString(0))) { +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)(_id));}; +RDebugUtils.currentLine=20316188; + //BA.debugLineNum = 20316188;BA.debugLine="If laCant2.Text = 0 Then"; +if ((_lacant2.getText()).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=20316189; + //BA.debugLineNum = 20316189;BA.debugLine="panelpiezas.Visible = True"; +_panelpiezas.setVisible(__c.True); + }else +{RDebugUtils.currentLine=20316190; + //BA.debugLineNum = 20316190;BA.debugLine="Else If laCant2.Text > 0 Or clv_prods_ll.GetValue"; +if ((double)(Double.parseDouble(_lacant2.getText()))>0 || (double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))))<(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("almacen"))))) { +RDebugUtils.currentLine=20316191; + //BA.debugLineNum = 20316191;BA.debugLine="panelpiezas.Visible = False"; +_panelpiezas.setVisible(__c.False); + }} +; +RDebugUtils.currentLine=20316198; + //BA.debugLineNum = 20316198;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; +__c.LogImpl("520316198","prodsMap="+BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Blue); +RDebugUtils.currentLine=20316200; + //BA.debugLineNum = 20316200;BA.debugLine="Log($\"${Subs.traeAlmacen}, ${precio}, ${laCant2.t"; +__c.LogImpl("520316200",(""+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+", "+__c.SmartStringFormatter("",(Object)(_precio))+", "+__c.SmartStringFormatter("",(Object)(_lacant2.getText()))+", "+__c.SmartStringFormatter("",(Object)(_subs._traeprodnombre /*String*/ (ba,_id)))+", "+__c.SmartStringFormatter("",(Object)(_id))+", "+__c.SmartStringFormatter("",(Object)(__ref._clienteid /*String*/ ))+""),0); +RDebugUtils.currentLine=20316202; + //BA.debugLineNum = 20316202;BA.debugLine="Subs.actualizaProducto2(Subs.traeAlmacen, precio"; +_subs._actualizaproducto2 /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_preciocaja,(int) (((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,_lacant2.getText(),BA.NumberToString(1)); +RDebugUtils.currentLine=20316203; + //BA.debugLineNum = 20316203;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=20316204; + //BA.debugLineNum = 20316204;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; +__c.LogImpl("520316204","prodsMap="+BA.ObjectToString(__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ ),__c.Colors.Blue); +RDebugUtils.currentLine=20316205; + //BA.debugLineNum = 20316205;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; +__c.LogImpl("520316205",("Total Prods: "+__c.SmartStringFormatter("",(Object)(__ref._totalprods /*int*/ ))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._totalcompra /*float*/ ))+""),0); +RDebugUtils.currentLine=20316206; + //BA.debugLineNum = 20316206;BA.debugLine="If 1 = 1 Then"; +if (1==1) { +RDebugUtils.currentLine=20316207; + //BA.debugLineNum = 20316207;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=20316208; + //BA.debugLineNum = 20316208;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=20316209; + //BA.debugLineNum = 20316209;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"s"; +_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=20316210; + //BA.debugLineNum = 20316210;BA.debugLine="Private invActualizado As String = \"0\""; +_invactualizado = "0"; +RDebugUtils.currentLine=20316211; + //BA.debugLineNum = 20316211;BA.debugLine="If o.RowCount > 0 Then"; +if (_o.getRowCount()>0) { +RDebugUtils.currentLine=20316212; + //BA.debugLineNum = 20316212;BA.debugLine="o.Position = 0"; +_o.setPosition((int) (0)); +RDebugUtils.currentLine=20316213; + //BA.debugLineNum = 20316213;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; +_invactualizado = _o.GetString("CAT_GP_ALMACEN"); + }; +RDebugUtils.currentLine=20316215; + //BA.debugLineNum = 20316215;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pre"; +if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion")))))==1) { +RDebugUtils.currentLine=20316216; + //BA.debugLineNum = 20316216;BA.debugLine="Private maxcajas2 As Int = 0"; +_maxcajas2 = (int) (0); +RDebugUtils.currentLine=20316217; + //BA.debugLineNum = 20316217;BA.debugLine="Log(\"cajas a 0\")"; +__c.LogImpl("520316217","cajas a 0",0); + }else { +RDebugUtils.currentLine=20316219; + //BA.debugLineNum = 20316219;BA.debugLine="Private maxcajas2 As Int = invActualizado/clv_p"; +_maxcajas2 = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))))); +RDebugUtils.currentLine=20316220; + //BA.debugLineNum = 20316220;BA.debugLine="Log(\"cajas no a 0\")"; +__c.LogImpl("520316220","cajas no a 0",0); + }; +RDebugUtils.currentLine=20316222; + //BA.debugLineNum = 20316222;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)"; +if (2==2) { +_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+_invactualizado)).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas2))+""))).PopAll().getObject()));}; + }; +RDebugUtils.currentLine=20316225; + //BA.debugLineNum = 20316225;BA.debugLine="If Subs.totalPedido < 1 Then laCant2.Text = \"0\""; +if ((double)(Double.parseDouble(_subs._totalpedido /*String*/ (ba)))<1) { +_lacant2.setText(BA.ObjectToCharSequence("0"));}; +RDebugUtils.currentLine=20316226; + //BA.debugLineNum = 20316226;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +__ref._invtotal /*int*/ = (int) (__ref._totalcajasmaspiezas /*int*/ +(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); +RDebugUtils.currentLine=20316229; + //BA.debugLineNum = 20316229;BA.debugLine="End Sub"; +return ""; +} +public String _b_qr_click(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_qr_click", false)) + {return ((String) Debug.delegate(ba, "b_qr_click", null));} +RDebugUtils.currentLine=18612224; + //BA.debugLineNum = 18612224;BA.debugLine="Sub b_QR_Click"; +RDebugUtils.currentLine=18612225; + //BA.debugLineNum = 18612225;BA.debugLine="If ciclo = 1 Then"; +if ((__ref._ciclo /*String*/ ).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=18612226; + //BA.debugLineNum = 18612226;BA.debugLine="ciclo = 2"; +__ref._ciclo /*String*/ = BA.NumberToString(2); +RDebugUtils.currentLine=18612227; + //BA.debugLineNum = 18612227;BA.debugLine="ya_entro = \"0\""; +__ref._ya_entro /*String*/ = "0"; +RDebugUtils.currentLine=18612228; + //BA.debugLineNum = 18612228;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }else +{RDebugUtils.currentLine=18612229; + //BA.debugLineNum = 18612229;BA.debugLine="else if ciclo = 2 Then"; +if ((__ref._ciclo /*String*/ ).equals(BA.NumberToString(2))) { +RDebugUtils.currentLine=18612230; + //BA.debugLineNum = 18612230;BA.debugLine="ciclo = 3"; +__ref._ciclo /*String*/ = BA.NumberToString(3); +RDebugUtils.currentLine=18612231; + //BA.debugLineNum = 18612231;BA.debugLine="ya_entro = \"0\""; +__ref._ya_entro /*String*/ = "0"; +RDebugUtils.currentLine=18612232; + //BA.debugLineNum = 18612232;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }else +{RDebugUtils.currentLine=18612233; + //BA.debugLineNum = 18612233;BA.debugLine="else if ciclo = 3 Then"; +if ((__ref._ciclo /*String*/ ).equals(BA.NumberToString(3))) { +RDebugUtils.currentLine=18612234; + //BA.debugLineNum = 18612234;BA.debugLine="ciclo = 4"; +__ref._ciclo /*String*/ = BA.NumberToString(4); +RDebugUtils.currentLine=18612235; + //BA.debugLineNum = 18612235;BA.debugLine="ya_entro = \"0\""; +__ref._ya_entro /*String*/ = "0"; +RDebugUtils.currentLine=18612236; + //BA.debugLineNum = 18612236;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }else +{RDebugUtils.currentLine=18612237; + //BA.debugLineNum = 18612237;BA.debugLine="else if ciclo = 4 Then"; +if ((__ref._ciclo /*String*/ ).equals(BA.NumberToString(4))) { +RDebugUtils.currentLine=18612238; + //BA.debugLineNum = 18612238;BA.debugLine="ciclo = 5"; +__ref._ciclo /*String*/ = BA.NumberToString(5); +RDebugUtils.currentLine=18612239; + //BA.debugLineNum = 18612239;BA.debugLine="ya_entro = \"0\""; +__ref._ya_entro /*String*/ = "0"; +RDebugUtils.currentLine=18612240; + //BA.debugLineNum = 18612240;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }else +{RDebugUtils.currentLine=18612241; + //BA.debugLineNum = 18612241;BA.debugLine="else if ciclo = 5 Then"; +if ((__ref._ciclo /*String*/ ).equals(BA.NumberToString(5))) { +RDebugUtils.currentLine=18612242; + //BA.debugLineNum = 18612242;BA.debugLine="ciclo = 1"; +__ref._ciclo /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=18612243; + //BA.debugLineNum = 18612243;BA.debugLine="ya_entro = \"0\""; +__ref._ya_entro /*String*/ = "0"; +RDebugUtils.currentLine=18612244; + //BA.debugLineNum = 18612244;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); + }}}}} +; +RDebugUtils.currentLine=18612246; + //BA.debugLineNum = 18612246;BA.debugLine="End Sub"; +return ""; +} +public void _b4xpage_appear(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {Debug.delegate(ba, "b4xpage_appear", null); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { +public ResumableSub_B4XPage_Appear(SHARK2.keymon.com.mx.c_productos parent,SHARK2.keymon.com.mx.c_productos __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_productos __ref; +SHARK2.keymon.com.mx.c_productos parent; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +boolean _haypromos = false; +int _i = 0; +anywheresoftware.b4a.objects.collections.Map _tm = null; +anywheresoftware.b4a.objects.collections.Map _m = null; +int step63; +int limit63; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_productos"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=18153473; + //BA.debugLineNum = 18153473;BA.debugLine="Log(Subs.traeTipoCliente2)"; +parent.__c.LogImpl("518153473",parent._subs._traetipocliente2 /*String*/ (ba),0); +RDebugUtils.currentLine=18153474; + //BA.debugLineNum = 18153474;BA.debugLine="tipoClienteActual = Subs.traeTipoCliente2"; +__ref._tipoclienteactual /*String*/ = parent._subs._traetipocliente2 /*String*/ (ba); +RDebugUtils.currentLine=18153475; + //BA.debugLineNum = 18153475;BA.debugLine="Log(B4XPages.MainPage.tipo_venta)"; +parent.__c.LogImpl("518153475",parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,0); +RDebugUtils.currentLine=18153476; + //BA.debugLineNum = 18153476;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_CONTA"; +if (true) break; + +case 1: +//if +this.state = 10; +if ((parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_CONTADO") || (parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("ABORDO")) { +this.state = 3; +}else +{RDebugUtils.currentLine=18153479; + //BA.debugLineNum = 18153479;BA.debugLine="Else If B4XPages.MainPage.tipo_venta = \"VENTA\" Th"; +if ((parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("VENTA")) { +this.state = 5; +}else +{RDebugUtils.currentLine=18153482; + //BA.debugLineNum = 18153482;BA.debugLine="Else If B4XPages.MainPage.tipo_venta = \"RECARGA\""; +if ((parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("RECARGA")) { +this.state = 7; +}else +{RDebugUtils.currentLine=18153485; + //BA.debugLineNum = 18153485;BA.debugLine="Else If B4XPages.MainPage.tipo_venta = \"PREVENTA_"; +if ((parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_CREDITO")) { +this.state = 9; +}}}} +if (true) break; + +case 3: +//C +this.state = 10; +RDebugUtils.currentLine=18153477; + //BA.debugLineNum = 18153477;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\""; +parent._starter._tabla /*String*/ = "CAT_GUNAPROD"; +RDebugUtils.currentLine=18153478; + //BA.debugLineNum = 18153478;BA.debugLine="Log(\"1\")"; +parent.__c.LogImpl("518153478","1",0); + if (true) break; + +case 5: +//C +this.state = 10; +RDebugUtils.currentLine=18153480; + //BA.debugLineNum = 18153480;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\""; +parent._starter._tabla /*String*/ = "CAT_GUNAPROD2"; +RDebugUtils.currentLine=18153481; + //BA.debugLineNum = 18153481;BA.debugLine="Log(2)"; +parent.__c.LogImpl("518153481",BA.NumberToString(2),0); + if (true) break; + +case 7: +//C +this.state = 10; +RDebugUtils.currentLine=18153483; + //BA.debugLineNum = 18153483;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\""; +parent._starter._tabla /*String*/ = "CAT_GUNAPROD"; +RDebugUtils.currentLine=18153484; + //BA.debugLineNum = 18153484;BA.debugLine="Log(3)"; +parent.__c.LogImpl("518153484",BA.NumberToString(3),0); + if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=18153486; + //BA.debugLineNum = 18153486;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD4\""; +parent._starter._tabla /*String*/ = "CAT_GUNAPROD4"; +RDebugUtils.currentLine=18153487; + //BA.debugLineNum = 18153487;BA.debugLine="Log(4)"; +parent.__c.LogImpl("518153487",BA.NumberToString(4),0); + if (true) break; + +case 10: +//C +this.state = 11; +; +RDebugUtils.currentLine=18153489; + //BA.debugLineNum = 18153489;BA.debugLine="Log(Starter.tabla)"; +parent.__c.LogImpl("518153489",parent._starter._tabla /*String*/ ,0); +RDebugUtils.currentLine=18153490; + //BA.debugLineNum = 18153490;BA.debugLine="clienteId = Subs.traeCliente"; +__ref._clienteid /*String*/ = parent._subs._traecliente /*String*/ (ba); +RDebugUtils.currentLine=18153491; + //BA.debugLineNum = 18153491;BA.debugLine="rutaUsuario = Subs.traeRuta(Subs.traeCliente)"; +__ref._rutausuario /*String*/ = parent._subs._traeruta /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)); +RDebugUtils.currentLine=18153492; + //BA.debugLineNum = 18153492;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRIORITARIO"),(Object)("1")})); +RDebugUtils.currentLine=18153493; + //BA.debugLineNum = 18153493;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("ESTRATEGICO"),(Object)("2")})); +RDebugUtils.currentLine=18153494; + //BA.debugLineNum = 18153494;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COMPLEMENTARIO"),(Object)("3")})); +RDebugUtils.currentLine=18153495; + //BA.debugLineNum = 18153495;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("CATALOGO REGULAR"),(Object)("0")})); +RDebugUtils.currentLine=18153496; + //BA.debugLineNum = 18153496;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_CLASIF = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PROMOS"),(Object)("PROMOS")})); +RDebugUtils.currentLine=18153497; + //BA.debugLineNum = 18153497;BA.debugLine="clv_prods_ll.GetBase.SetLayoutAnimated(0, 5dip, 1"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getbase().SetLayoutAnimated((int) (0),parent.__c.DipToCurrent((int) (5)),parent.__c.DipToCurrent((int) (130)),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()+10),(int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()*0.74)); +RDebugUtils.currentLine=18153498; + //BA.debugLineNum = 18153498;BA.debugLine="clv_prods_ll.Base_Resize(clv_prods_ll.GetBase.Wid"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._base_resize(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getbase().getWidth(),__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getbase().getHeight()); +RDebugUtils.currentLine=18153499; + //BA.debugLineNum = 18153499;BA.debugLine="If B4XPages.MainPage.bTerminarClicked Then"; +if (true) break; + +case 11: +//if +this.state = 14; +if (parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._bterminarclicked /*boolean*/ ) { +this.state = 13; +}if (true) break; + +case 13: +//C +this.state = 14; +RDebugUtils.currentLine=18153500; + //BA.debugLineNum = 18153500;BA.debugLine="lv_catalogos.Visible = True"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=18153501; + //BA.debugLineNum = 18153501;BA.debugLine="lv_promos.Visible = False"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18153502; + //BA.debugLineNum = 18153502;BA.debugLine="lv_tipo.Visible = False"; +__ref._lv_tipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18153503; + //BA.debugLineNum = 18153503;BA.debugLine="lv_subtipo.Visible = False"; +__ref._lv_subtipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18153504; + //BA.debugLineNum = 18153504;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(parent.__c.False); +RDebugUtils.currentLine=18153505; + //BA.debugLineNum = 18153505;BA.debugLine="B4XPages.MainPage.bTerminarClicked = False"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._bterminarclicked /*boolean*/ = parent.__c.False; + if (true) break; +; +RDebugUtils.currentLine=18153507; + //BA.debugLineNum = 18153507;BA.debugLine="If ya_entro <> \"1\" Then"; + +case 14: +//if +this.state = 23; +if ((__ref._ya_entro /*String*/ ).equals("1") == false) { +this.state = 16; +}if (true) break; + +case 16: +//C +this.state = 17; +RDebugUtils.currentLine=18153508; + //BA.debugLineNum = 18153508;BA.debugLine="If BUSCA.Text <> \"\" Then BUSCA.Text =\"\""; +if (true) break; + +case 17: +//if +this.state = 22; +if ((__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("") == false) { +this.state = 19; +;}if (true) break; + +case 19: +//C +this.state = 22; +__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +if (true) break; + +case 22: +//C +this.state = 23; +; +RDebugUtils.currentLine=18153509; + //BA.debugLineNum = 18153509;BA.debugLine="entro =\"3\""; +__ref._entro /*String*/ = "3"; +RDebugUtils.currentLine=18153510; + //BA.debugLineNum = 18153510;BA.debugLine="lv_catalogos.Clear"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=18153511; + //BA.debugLineNum = 18153511;BA.debugLine="Sleep(100)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_productos", "b4xpage_appear"),(int) (100)); +this.state = 64; +return; +case 64: +//C +this.state = 23; +; +RDebugUtils.currentLine=18153512; + //BA.debugLineNum = 18153512;BA.debugLine="lfila.Text = \"CATALOGOS\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CATALOGOS")); +RDebugUtils.currentLine=18153513; + //BA.debugLineNum = 18153513;BA.debugLine="p_productos.Height = Root.Height"; +__ref._p_productos /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=18153514; + //BA.debugLineNum = 18153514;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(parent.__c.False); +RDebugUtils.currentLine=18153515; + //BA.debugLineNum = 18153515;BA.debugLine="lv_catalogos.Visible = True"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=18153516; + //BA.debugLineNum = 18153516;BA.debugLine="p_botonesVenta.Visible = False"; +__ref._p_botonesventa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18153517; + //BA.debugLineNum = 18153517;BA.debugLine="p_botonesVenta.Top = clv_prods_ll.AsView.top + c"; +__ref._p_botonesventa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getTop()+__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getHeight()-10)); +RDebugUtils.currentLine=18153518; + //BA.debugLineNum = 18153518;BA.debugLine="lv_promos.Visible = False"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); + if (true) break; + +case 23: +//C +this.state = 24; +; +RDebugUtils.currentLine=18153520; + //BA.debugLineNum = 18153520;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=18153521; + //BA.debugLineNum = 18153521;BA.debugLine="label1 = lv_catalogos.SingleLineLayout.Label"; +_label1 = __ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=18153522; + //BA.debugLineNum = 18153522;BA.debugLine="label1.TextSize = 17"; +_label1.setTextSize((float) (17)); +RDebugUtils.currentLine=18153523; + //BA.debugLineNum = 18153523;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(parent.__c.Colors.Black); +RDebugUtils.currentLine=18153524; + //BA.debugLineNum = 18153524;BA.debugLine="lv_catalogos.Clear"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=18153525; + //BA.debugLineNum = 18153525;BA.debugLine="lv_catalogos.AddSingleLine(\"CATALOGO\")"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("CATALOGO")); +RDebugUtils.currentLine=18153527; + //BA.debugLineNum = 18153527;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select cou"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(*) as hayPromos from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_TIPO = 'PROMOS'")))); +RDebugUtils.currentLine=18153528; + //BA.debugLineNum = 18153528;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=18153529; + //BA.debugLineNum = 18153529;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"SELECT CUE"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CUENTA FROM CUENTAA")))); +RDebugUtils.currentLine=18153530; + //BA.debugLineNum = 18153530;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=18153531; + //BA.debugLineNum = 18153531;BA.debugLine="If c.GetString(\"CUENTA\") <> \"0\" And c.GetString(\""; +if (true) break; + +case 24: +//if +this.state = 52; +if ((__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")).equals("0") == false && (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUENTA")).equals("1") == false) { +this.state = 26; +}if (true) break; + +case 26: +//C +this.state = 27; +RDebugUtils.currentLine=18153532; + //BA.debugLineNum = 18153532;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select CA"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO1, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO1 > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"),new String[]{"PROMOS","PROMOS"}))); +RDebugUtils.currentLine=18153535; + //BA.debugLineNum = 18153535;BA.debugLine="Private hayPromos As Boolean = False"; +_haypromos = parent.__c.False; +RDebugUtils.currentLine=18153536; + //BA.debugLineNum = 18153536;BA.debugLine="If c2.RowCount > 0 Then"; +if (true) break; + +case 27: +//if +this.state = 51; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +this.state = 29; +}else { +this.state = 50; +}if (true) break; + +case 29: +//C +this.state = 30; +RDebugUtils.currentLine=18153537; + //BA.debugLineNum = 18153537;BA.debugLine="Log(\"Esto es un conteo --->\"&c2.RowCount) 'Isaa"; +parent.__c.LogImpl("518153537","Esto es un conteo --->"+BA.NumberToString(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=18153538; + //BA.debugLineNum = 18153538;BA.debugLine="For i = 0 To c2.RowCount - 1"; +if (true) break; + +case 30: +//for +this.state = 43; +step63 = 1; +limit63 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 65; +if (true) break; + +case 65: +//C +this.state = 43; +if ((step63 > 0 && _i <= limit63) || (step63 < 0 && _i >= limit63)) this.state = 32; +if (true) break; + +case 66: +//C +this.state = 65; +_i = ((int)(0 + _i + step63)) ; +if (true) break; + +case 32: +//C +this.state = 33; +RDebugUtils.currentLine=18153539; + //BA.debugLineNum = 18153539;BA.debugLine="c2.Position = i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=18153540; + //BA.debugLineNum = 18153540;BA.debugLine="Log(\"Esto es i----->\" & i) 'Isaac"; +parent.__c.LogImpl("518153540","Esto es i----->"+BA.NumberToString(_i),0); +RDebugUtils.currentLine=18153541; + //BA.debugLineNum = 18153541;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; +_tm = new anywheresoftware.b4a.objects.collections.Map(); +_tm = parent._subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._clienteid /*String*/ ); +RDebugUtils.currentLine=18153544; + //BA.debugLineNum = 18153544;BA.debugLine="If tm <> Null Then"; +if (true) break; + +case 33: +//if +this.state = 42; +if (_tm!= null) { +this.state = 35; +}else { +this.state = 41; +}if (true) break; + +case 35: +//C +this.state = 36; +RDebugUtils.currentLine=18153545; + //BA.debugLineNum = 18153545;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestra"; +if (true) break; + +case 36: +//if +this.state = 39; +if ((_tm.Get((Object)("status"))).equals((Object)("ok"))) { +this.state = 38; +}if (true) break; + +case 38: +//C +this.state = 39; +RDebugUtils.currentLine=18153546; + //BA.debugLineNum = 18153546;BA.debugLine="hayPromos = True"; +_haypromos = parent.__c.True; + if (true) break; + +case 39: +//C +this.state = 42; +; + if (true) break; + +case 41: +//C +this.state = 42; +RDebugUtils.currentLine=18153549; + //BA.debugLineNum = 18153549;BA.debugLine="Log(\"El Map devuelto por procesaPromocion es"; +parent.__c.LogImpl("518153549","El Map devuelto por procesaPromocion es null",0); + if (true) break; + +case 42: +//C +this.state = 66; +; + if (true) break; +if (true) break; +; +RDebugUtils.currentLine=18153552; + //BA.debugLineNum = 18153552;BA.debugLine="If hayPromos Then lv_catalogos.AddSingleLine(\"P"; + +case 43: +//if +this.state = 48; +if (_haypromos) { +this.state = 45; +;}if (true) break; + +case 45: +//C +this.state = 48; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence("PROMOS")); +if (true) break; + +case 48: +//C +this.state = 51; +; + if (true) break; + +case 50: +//C +this.state = 51; +RDebugUtils.currentLine=18153554; + //BA.debugLineNum = 18153554;BA.debugLine="Log(\"NO HAY PROMOS\")"; +parent.__c.LogImpl("518153554","NO HAY PROMOS",0); + if (true) break; + +case 51: +//C +this.state = 52; +; +RDebugUtils.currentLine=18153556; + //BA.debugLineNum = 18153556;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + if (true) break; + +case 52: +//C +this.state = 53; +; +RDebugUtils.currentLine=18153558; + //BA.debugLineNum = 18153558;BA.debugLine="Sleep(100)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_productos", "b4xpage_appear"),(int) (100)); +this.state = 67; +return; +case 67: +//C +this.state = 53; +; +RDebugUtils.currentLine=18153559; + //BA.debugLineNum = 18153559;BA.debugLine="l_total.Visible = False"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18153560; + //BA.debugLineNum = 18153560;BA.debugLine="l_totProds.Visible = False"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18153561; + //BA.debugLineNum = 18153561;BA.debugLine="l_total.Left = 5dip"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setLeft(parent.__c.DipToCurrent((int) (5))); +RDebugUtils.currentLine=18153562; + //BA.debugLineNum = 18153562;BA.debugLine="l_totProds.Width = Root.Width * 0.19"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.19)); +RDebugUtils.currentLine=18153563; + //BA.debugLineNum = 18153563;BA.debugLine="l_total.Left = l_totProds.Width + 20"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setLeft((int) (__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .getWidth()+20)); +RDebugUtils.currentLine=18153564; + //BA.debugLineNum = 18153564;BA.debugLine="l_total.Width = Root.Width * 0.25"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.25)); +RDebugUtils.currentLine=18153566; + //BA.debugLineNum = 18153566;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m = parent._subs._traetotalesclienteactual /*anywheresoftware.b4a.objects.collections.Map*/ (ba); +RDebugUtils.currentLine=18153567; + //BA.debugLineNum = 18153567;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; +__ref._prodspedidoactual /*String*/ = BA.ObjectToString(_m.Get((Object)("productos"))); +RDebugUtils.currentLine=18153568; + //BA.debugLineNum = 18153568;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; +__ref._montopedidoactual /*String*/ = BA.ObjectToString(_m.Get((Object)("monto"))); +RDebugUtils.currentLine=18153569; + //BA.debugLineNum = 18153569;BA.debugLine="hayPedido = Subs.hayPedido"; +__ref._haypedido /*boolean*/ = parent._subs._haypedido /*boolean*/ (ba); +RDebugUtils.currentLine=18153571; + //BA.debugLineNum = 18153571;BA.debugLine="B4XPages.MainPage.productos.clv_prods_ll.Clear"; +parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*SHARK2.keymon.com.mx.c_productos*/ ._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=18153572; + //BA.debugLineNum = 18153572;BA.debugLine="If reiniciarlistaProds Then"; +if (true) break; + +case 53: +//if +this.state = 58; +if (__ref._reiniciarlistaprods /*boolean*/ ) { +this.state = 55; +}else +{RDebugUtils.currentLine=18153576; + //BA.debugLineNum = 18153576;BA.debugLine="else If hayPedido Then"; +if (__ref._haypedido /*boolean*/ ) { +this.state = 57; +}} +if (true) break; + +case 55: +//C +this.state = 58; +RDebugUtils.currentLine=18153575; + //BA.debugLineNum = 18153575;BA.debugLine="clv_prods_ll.Clear"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); + if (true) break; + +case 57: +//C +this.state = 58; +RDebugUtils.currentLine=18153580; + //BA.debugLineNum = 18153580;BA.debugLine="clv_prods_ll.Clear"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); + if (true) break; +; +RDebugUtils.currentLine=18153582; + //BA.debugLineNum = 18153582;BA.debugLine="If clv_prods_ll.Size = 0 Then LlenaProdsLL(Null)"; + +case 58: +//if +this.state = 63; +if (__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getsize()==0) { +this.state = 60; +;}if (true) break; + +case 60: +//C +this.state = 63; +__ref._llenaprodsll /*String*/ (null,(anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(parent.__c.Null))); +if (true) break; + +case 63: +//C +this.state = -1; +; +RDebugUtils.currentLine=18153583; + //BA.debugLineNum = 18153583;BA.debugLine="clv_prods_ll.JumpToItem(0) 'Vamos al primer artíc"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._jumptoitem((int) (0)); +RDebugUtils.currentLine=18153584; + //BA.debugLineNum = 18153584;BA.debugLine="PCLV.lblHint.SetTextSizeAnimated(0,13)"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._lblhint /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextSizeAnimated((int) (0),(float) (13)); +RDebugUtils.currentLine=18153585; + //BA.debugLineNum = 18153585;BA.debugLine="PCLV.B4XSeekBar1.Color1=Colors.Transparent"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._color1 /*int*/ = parent.__c.Colors.Transparent; +RDebugUtils.currentLine=18153586; + //BA.debugLineNum = 18153586;BA.debugLine="PCLV.B4XSeekBar1.Color2=Colors.Transparent"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._color2 /*int*/ = parent.__c.Colors.Transparent; +RDebugUtils.currentLine=18153587; + //BA.debugLineNum = 18153587;BA.debugLine="PCLV.B4XSeekBar1.ThumbColor=Colors.Transparent"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._thumbcolor /*int*/ = parent.__c.Colors.Transparent; +RDebugUtils.currentLine=18153588; + //BA.debugLineNum = 18153588;BA.debugLine="PCLV.B4XSeekBar1.mBase.Left=Root.Width *110"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setLeft((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*110)); +RDebugUtils.currentLine=18153590; + //BA.debugLineNum = 18153590;BA.debugLine="PCLV.B4XSeekBar1.mBase.Height=0"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setHeight((int) (0)); +RDebugUtils.currentLine=18153591; + //BA.debugLineNum = 18153591;BA.debugLine="PCLV.pnlOverlay.Height = clv_prods_ll.AsView.Heig"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._pnloverlay /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setHeight(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getHeight()); +RDebugUtils.currentLine=18153592; + //BA.debugLineNum = 18153592;BA.debugLine="PCLV.B4XSeekBar1.Update"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._update /*String*/ (null); +RDebugUtils.currentLine=18153593; + //BA.debugLineNum = 18153593;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b_rechazar_click(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_rechazar_click", false)) + {return ((String) Debug.delegate(ba, "b_rechazar_click", null));} +RDebugUtils.currentLine=19660800; + //BA.debugLineNum = 19660800;BA.debugLine="Private Sub b_rechazar_Click"; +RDebugUtils.currentLine=19660802; + //BA.debugLineNum = 19660802;BA.debugLine="result = Msgbox2($\"Seguro que desea borrar el pe"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence(("Seguro que desea borrar el pedido completo?"+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Haciendo clic largo sobre un producto se pueden borrar articulos independientes.")),BA.ObjectToCharSequence("Rechazar Pedido"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=19660803; + //BA.debugLineNum = 19660803;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=19660804; + //BA.debugLineNum = 19660804;BA.debugLine="Subs.borraPedidoClienteActual"; +_subs._borrapedidoclienteactual /*String*/ (ba); +RDebugUtils.currentLine=19660805; + //BA.debugLineNum = 19660805;BA.debugLine="prodsMap.Initialize"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=19660806; + //BA.debugLineNum = 19660806;BA.debugLine="B4XPages.MainPage.promos.promosMap.Initialize"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._promos /*SHARK2.keymon.com.mx.c_promos*/ ._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=19660809; + //BA.debugLineNum = 19660809;BA.debugLine="clv_prods_ll.Clear"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=19660810; + //BA.debugLineNum = 19660810;BA.debugLine="Log(\"Positivo\")"; +__c.LogImpl("519660810","Positivo",0); +RDebugUtils.currentLine=19660811; + //BA.debugLineNum = 19660811;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); + }else { +RDebugUtils.currentLine=19660813; + //BA.debugLineNum = 19660813;BA.debugLine="Log(\"NO Positivo\")"; +__c.LogImpl("519660813","NO Positivo",0); +RDebugUtils.currentLine=19660814; + //BA.debugLineNum = 19660814;BA.debugLine="p_vistaPreviaTrans.Visible = False"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }; +RDebugUtils.currentLine=19660819; + //BA.debugLineNum = 19660819;BA.debugLine="p_vistaPreviaTrans.Visible=False"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=19660820; + //BA.debugLineNum = 19660820;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=19660821; + //BA.debugLineNum = 19660821;BA.debugLine="End Sub"; +return ""; +} +public String _b_terminar1_click(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b_terminar1_click", false)) + {return ((String) Debug.delegate(ba, "b_terminar1_click", null));} +String _q = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c_prods = null; +String _almacenactual = ""; +int _i = 0; +String _nomprod = ""; +String _idprod = ""; +String _presname = ""; +String _cantpres = ""; +int _uvmval = 0; +String _cedisfila = ""; +String _foliofila = ""; +String _dirfila = ""; +int _cantpzs = 0; +anywheresoftware.b4a.objects.CSBuilder _cstitulo = null; +anywheresoftware.b4a.objects.CSBuilder _detalle = null; +anywheresoftware.b4a.objects.collections.Map _datosidentidad = null; +RDebugUtils.currentLine=19070976; + //BA.debugLineNum = 19070976;BA.debugLine="Sub b_terminar1_Click"; +RDebugUtils.currentLine=19070978; + //BA.debugLineNum = 19070978;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from PEDIDO WHERE PE_PRONOMBRE = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("N/A")})); +RDebugUtils.currentLine=19070980; + //BA.debugLineNum = 19070980;BA.debugLine="lv_promos.Visible = False"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=19070981; + //BA.debugLineNum = 19070981;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(__c.False); +RDebugUtils.currentLine=19070982; + //BA.debugLineNum = 19070982;BA.debugLine="lv_catalogos.Visible = True"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=19070983; + //BA.debugLineNum = 19070983;BA.debugLine="lv_prodsPedido.Clear"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=19070988; + //BA.debugLineNum = 19070988;BA.debugLine="lv_prodsPedido.TwoLinesLayout.ItemHeight = 140dip"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (140))); +RDebugUtils.currentLine=19070991; + //BA.debugLineNum = 19070991;BA.debugLine="lv_prodsPedido.TwoLinesLayout.Label.Height = 45di"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label.setHeight(__c.DipToCurrent((int) (45))); +RDebugUtils.currentLine=19070992; + //BA.debugLineNum = 19070992;BA.debugLine="lv_prodsPedido.TwoLinesLayout.Label.TextSize = 14"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label.setTextSize((float) (14)); +RDebugUtils.currentLine=19070993; + //BA.debugLineNum = 19070993;BA.debugLine="lv_prodsPedido.TwoLinesLayout.Label.Typeface = Ty"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label.setTypeface(__c.Typeface.DEFAULT_BOLD); +RDebugUtils.currentLine=19070994; + //BA.debugLineNum = 19070994;BA.debugLine="lv_prodsPedido.TwoLinesLayout.Label.Gravity = Gra"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label.setGravity(__c.Gravity.CENTER_VERTICAL); +RDebugUtils.currentLine=19070997; + //BA.debugLineNum = 19070997;BA.debugLine="lv_prodsPedido.TwoLinesLayout.SecondLabel.Height"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel.setHeight(__c.DipToCurrent((int) (90))); +RDebugUtils.currentLine=19070998; + //BA.debugLineNum = 19070998;BA.debugLine="lv_prodsPedido.TwoLinesLayout.SecondLabel.Top = 5"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel.setTop(__c.DipToCurrent((int) (50))); +RDebugUtils.currentLine=19070999; + //BA.debugLineNum = 19070999;BA.debugLine="lv_prodsPedido.TwoLinesLayout.SecondLabel.TextSiz"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel.setTextSize((float) (14)); +RDebugUtils.currentLine=19071002; + //BA.debugLineNum = 19071002;BA.debugLine="Private q As String = \"SELECT PE_PRONOMBRE, PE_CO"; +_q = "SELECT PE_PRONOMBRE, PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRESENTACION, PE_CANTC, PE_UVM, PE_PROID, PE_DIRIGIDA "+"FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS,PE_COSTO_TOT, PE_PRONOMBRE"; +RDebugUtils.currentLine=19071005; + //BA.debugLineNum = 19071005;BA.debugLine="Private c_prods As Cursor = B4XPages.MainPage.skm"; +_c_prods = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c_prods = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(_q))); +RDebugUtils.currentLine=19071007; + //BA.debugLineNum = 19071007;BA.debugLine="If c_prods.RowCount > 0 Then"; +if (_c_prods.getRowCount()>0) { +RDebugUtils.currentLine=19071008; + //BA.debugLineNum = 19071008;BA.debugLine="vamoaver.Initialize"; +__ref._vamoaver /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=19071009; + //BA.debugLineNum = 19071009;BA.debugLine="Dim almacenActual As String = Subs.traeAlmacen '"; +_almacenactual = _subs._traealmacen /*String*/ (ba); +RDebugUtils.currentLine=19071011; + //BA.debugLineNum = 19071011;BA.debugLine="For i = 0 To c_prods.RowCount - 1"; +{ +final int step19 = 1; +final int limit19 = (int) (_c_prods.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit19 ;_i = _i + step19 ) { +RDebugUtils.currentLine=19071012; + //BA.debugLineNum = 19071012;BA.debugLine="c_prods.Position = i"; +_c_prods.setPosition(_i); +RDebugUtils.currentLine=19071015; + //BA.debugLineNum = 19071015;BA.debugLine="Dim nomProd As String = c_prods.GetString(\"PE_P"; +_nomprod = _c_prods.GetString("PE_PRONOMBRE"); +RDebugUtils.currentLine=19071016; + //BA.debugLineNum = 19071016;BA.debugLine="Dim idProd As String = c_prods.GetString(\"PE_PR"; +_idprod = _c_prods.GetString("PE_PROID"); +RDebugUtils.currentLine=19071017; + //BA.debugLineNum = 19071017;BA.debugLine="Dim presName As String = c_prods.GetString(\"PE_"; +_presname = _c_prods.GetString("PE_PRESENTACION"); +RDebugUtils.currentLine=19071018; + //BA.debugLineNum = 19071018;BA.debugLine="Dim cantPres As String = c_prods.GetString(\"PE_"; +_cantpres = _c_prods.GetString("PE_CANTC"); +RDebugUtils.currentLine=19071019; + //BA.debugLineNum = 19071019;BA.debugLine="Dim uvmVal As Int = c_prods.GetInt(\"PE_UVM\")"; +_uvmval = _c_prods.GetInt("PE_UVM"); +RDebugUtils.currentLine=19071020; + //BA.debugLineNum = 19071020;BA.debugLine="Dim cedisFila As String = c_prods.GetString(\"PE"; +_cedisfila = _c_prods.GetString("PE_CEDIS"); +RDebugUtils.currentLine=19071021; + //BA.debugLineNum = 19071021;BA.debugLine="Dim folioFila As String = c_prods.GetString(\"PE"; +_foliofila = _c_prods.GetString("PE_FOLIO"); +RDebugUtils.currentLine=19071022; + //BA.debugLineNum = 19071022;BA.debugLine="Dim dirFila As String = c_prods.GetString(\"PE_D"; +_dirfila = _c_prods.GetString("PE_DIRIGIDA"); +RDebugUtils.currentLine=19071023; + //BA.debugLineNum = 19071023;BA.debugLine="Dim cantPzs As Int = c_prods.GetInt(\"PE_CANT\")"; +_cantpzs = _c_prods.GetInt("PE_CANT"); +RDebugUtils.currentLine=19071025; + //BA.debugLineNum = 19071025;BA.debugLine="If cantPres = \"\" Or cantPres = \"null\" Then cant"; +if ((_cantpres).equals("") || (_cantpres).equals("null")) { +_cantpres = "0";}; +RDebugUtils.currentLine=19071030; + //BA.debugLineNum = 19071030;BA.debugLine="Dim csTitulo As CSBuilder"; +_cstitulo = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=19071031; + //BA.debugLineNum = 19071031;BA.debugLine="csTitulo.Initialize"; +_cstitulo.Initialize(); +RDebugUtils.currentLine=19071033; + //BA.debugLineNum = 19071033;BA.debugLine="If cedisFila <> almacenActual Then"; +if ((_cedisfila).equals(_almacenactual) == false) { +RDebugUtils.currentLine=19071035; + //BA.debugLineNum = 19071035;BA.debugLine="csTitulo.Color(Colors.RGB(0, 150, 136)).Typefa"; +_cstitulo.Color(__c.Colors.RGB((int) (0),(int) (150),(int) (136))).Typeface(__c.Typeface.DEFAULT_BOLD).Append(BA.ObjectToCharSequence(_nomprod+" (PROMO)")).PopAll(); + }else { +RDebugUtils.currentLine=19071038; + //BA.debugLineNum = 19071038;BA.debugLine="csTitulo.Color(Colors.RGB(150, 0, 0)).Typeface"; +_cstitulo.Color(__c.Colors.RGB((int) (150),(int) (0),(int) (0))).Typeface(__c.Typeface.DEFAULT_BOLD).Append(BA.ObjectToCharSequence(_nomprod)).PopAll(); + }; +RDebugUtils.currentLine=19071044; + //BA.debugLineNum = 19071044;BA.debugLine="Dim detalle As CSBuilder"; +_detalle = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=19071045; + //BA.debugLineNum = 19071045;BA.debugLine="detalle.Initialize"; +_detalle.Initialize(); +RDebugUtils.currentLine=19071046; + //BA.debugLineNum = 19071046;BA.debugLine="detalle.Append(CRLF) ' Salto de línea inicial p"; +_detalle.Append(BA.ObjectToCharSequence(__c.CRLF)); +RDebugUtils.currentLine=19071049; + //BA.debugLineNum = 19071049;BA.debugLine="If uvmVal > 1 Then"; +if (_uvmval>1) { +RDebugUtils.currentLine=19071050; + //BA.debugLineNum = 19071050;BA.debugLine="detalle.Color(Colors.Blue).Size(14).Append(pre"; +_detalle.Color(__c.Colors.Blue).Size((int) (14)).Append(BA.ObjectToCharSequence(_presname.toUpperCase()+": "+BA.NumberToString((_cantpzs/(double)_uvmval)))).Pop().Pop().Append(BA.ObjectToCharSequence(__c.CRLF)); +RDebugUtils.currentLine=19071051; + //BA.debugLineNum = 19071051;BA.debugLine="detalle.Size(6).Append(CRLF).Pop"; +_detalle.Size((int) (6)).Append(BA.ObjectToCharSequence(__c.CRLF)).Pop(); + }; +RDebugUtils.currentLine=19071054; + //BA.debugLineNum = 19071054;BA.debugLine="detalle.Color(Colors.DarkGray).Size(13).Append("; +_detalle.Color(__c.Colors.DarkGray).Size((int) (13)).Append(BA.ObjectToCharSequence("Piezas: ")).Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("#"+BA.NumberToString(_cantpzs))).Pop(); +RDebugUtils.currentLine=19071055; + //BA.debugLineNum = 19071055;BA.debugLine="detalle.Append(\" | \").Color(Colors.DarkGray)."; +_detalle.Append(BA.ObjectToCharSequence(" | ")).Color(__c.Colors.DarkGray).Append(BA.ObjectToCharSequence("Subtotal: ")).Color(((int)0xff008000)).Append(BA.ObjectToCharSequence("$"+__c.NumberFormat2(_c_prods.GetDouble("PE_COSTO_TOT"),(int) (1),(int) (2),(int) (2),__c.False))).PopAll(); +RDebugUtils.currentLine=19071058; + //BA.debugLineNum = 19071058;BA.debugLine="Dim datosIdentidad As Map = CreateMap(\"id\": idP"; +_datosidentidad = new anywheresoftware.b4a.objects.collections.Map(); +_datosidentidad = __c.createMap(new Object[] {(Object)("id"),(Object)(_idprod),(Object)("nombre"),(Object)(_nomprod),(Object)("cedis"),(Object)(_cedisfila),(Object)("pres"),(Object)(_presname),(Object)("uvm"),(Object)(_uvmval),(Object)("dir"),(Object)(_dirfila),(Object)("folio"),(Object)(_foliofila),(Object)("cant"),(Object)(_cantpzs)}); +RDebugUtils.currentLine=19071061; + //BA.debugLineNum = 19071061;BA.debugLine="lv_prodsPedido.AddTwoLines2(csTitulo, detalle,"; +__ref._lv_prodspedido /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines2(BA.ObjectToCharSequence(_cstitulo.getObject()),BA.ObjectToCharSequence(_detalle.getObject()),(Object)(_datosidentidad.getObject())); +RDebugUtils.currentLine=19071063; + //BA.debugLineNum = 19071063;BA.debugLine="vamoaver.Add(folioFila)"; +__ref._vamoaver /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_foliofila)); + } +}; +RDebugUtils.currentLine=19071066; + //BA.debugLineNum = 19071066;BA.debugLine="ActualizarEtiquetasTotales"; +__ref._actualizaretiquetastotales /*String*/ (null); + }; +RDebugUtils.currentLine=19071068; + //BA.debugLineNum = 19071068;BA.debugLine="c_prods.Close"; +_c_prods.Close(); +RDebugUtils.currentLine=19071071; + //BA.debugLineNum = 19071071;BA.debugLine="p_vistaPreviaTrans.Width = Root.Width"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=19071072; + //BA.debugLineNum = 19071072;BA.debugLine="p_vistaPreviaTrans.Height = Root.Height"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=19071073; + //BA.debugLineNum = 19071073;BA.debugLine="Subs.centraPanel(p_vistaPrevia, Root.Width)"; +_subs._centrapanel /*String*/ (ba,__ref._p_vistaprevia /*anywheresoftware.b4a.objects.PanelWrapper*/ ,__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=19071074; + //BA.debugLineNum = 19071074;BA.debugLine="p_vistaPrevia.Visible = True"; +__ref._p_vistaprevia /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=19071075; + //BA.debugLineNum = 19071075;BA.debugLine="p_vistaPreviaTrans.Visible = True"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=19071076; + //BA.debugLineNum = 19071076;BA.debugLine="End Sub"; +return ""; +} +public String _llenaprodsll(SHARK2.keymon.com.mx.c_productos __ref,anywheresoftware.b4a.sql.SQL.ResultSetWrapper _p) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "llenaprodsll", false)) + {return ((String) Debug.delegate(ba, "llenaprodsll", new Object[] {_p}));} +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _pe = null; +String _idprod = ""; +anywheresoftware.b4a.objects.collections.List _presentacionesvalidas = null; +int _i = 0; +double _precio = 0; +String _presnombre = ""; +String _dirigida = ""; +int _umvval = 0; +int _cantexistente = 0; +anywheresoftware.b4a.objects.collections.Map _m = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.collections.List _lpres = null; +int _alturaitem = 0; +RDebugUtils.currentLine=20185088; + //BA.debugLineNum = 20185088;BA.debugLine="Sub LlenaProdsLL(p As ResultSet)"; +RDebugUtils.currentLine=20185089; + //BA.debugLineNum = 20185089;BA.debugLine="Log(\"--- Iniciando LlenaProdsLL (11 Niveles) ---\""; +__c.LogImpl("520185089","--- Iniciando LlenaProdsLL (11 Niveles) ---",0); +RDebugUtils.currentLine=20185090; + //BA.debugLineNum = 20185090;BA.debugLine="listaProds.Initialize"; +__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=20185091; + //BA.debugLineNum = 20185091;BA.debugLine="listaHints.Initialize"; +__ref._listahints /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=20185092; + //BA.debugLineNum = 20185092;BA.debugLine="cantsMap.Initialize"; +__ref._cantsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=20185105; + //BA.debugLineNum = 20185105;BA.debugLine="If hayPedido Then"; +if (__ref._haypedido /*boolean*/ ) { +RDebugUtils.currentLine=20185106; + //BA.debugLineNum = 20185106;BA.debugLine="Dim pe As ResultSet = B4XPages.MainPage.skmt.Exe"; +_pe = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_pe = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT PE_PROID, PE_DIRIGIDA, PE_CANT FROM PEDIDO WHERE PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._clienteid /*String*/ ))+"' AND PE_FOLIO ='"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ))+"'")))); +RDebugUtils.currentLine=20185107; + //BA.debugLineNum = 20185107;BA.debugLine="Do While pe.NextRow"; +while (_pe.NextRow()) { +RDebugUtils.currentLine=20185109; + //BA.debugLineNum = 20185109;BA.debugLine="cantsMap.Put(pe.GetString(\"PE_PROID\") & \"_\" & p"; +__ref._cantsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_pe.GetString("PE_PROID")+"_"+_pe.GetString("PE_DIRIGIDA")),(Object)(_pe.GetInt("PE_CANT"))); + } +; +RDebugUtils.currentLine=20185111; + //BA.debugLineNum = 20185111;BA.debugLine="pe.Close"; +_pe.Close(); + }; +RDebugUtils.currentLine=20185115; + //BA.debugLineNum = 20185115;BA.debugLine="If p = Null Or p.IsInitialized = False Then"; +if (_p== null || _p.IsInitialized()==__c.False) { +RDebugUtils.currentLine=20185116; + //BA.debugLineNum = 20185116;BA.debugLine="Log(Starter.tabla)"; +__c.LogImpl("520185116",_starter._tabla /*String*/ ,0); +RDebugUtils.currentLine=20185117; + //BA.debugLineNum = 20185117;BA.debugLine="p = B4XPages.MainPage.skmt.ExecQuery($\"SELECT *"; +_p = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * FROM "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" WHERE CAT_GP_STS = 1 AND CAT_GP_TIPO <> 'PROMOS' AND CAT_GP_SUBTIPO <> 'PROMOS' ORDER BY CAT_GP_NOMBRE")))); + }; +RDebugUtils.currentLine=20185121; + //BA.debugLineNum = 20185121;BA.debugLine="Do While p.NextRow"; +while (_p.NextRow()) { +RDebugUtils.currentLine=20185122; + //BA.debugLineNum = 20185122;BA.debugLine="Log(p.GetString(\"CAT_GP_ID\"))"; +__c.LogImpl("520185122",_p.GetString("CAT_GP_ID"),0); +RDebugUtils.currentLine=20185123; + //BA.debugLineNum = 20185123;BA.debugLine="Dim idProd As String = p.GetString(\"CAT_GP_ID\")"; +_idprod = _p.GetString("CAT_GP_ID"); +RDebugUtils.currentLine=20185124; + //BA.debugLineNum = 20185124;BA.debugLine="Dim presentacionesValidas As List : presentacion"; +_presentacionesvalidas = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=20185124; + //BA.debugLineNum = 20185124;BA.debugLine="Dim presentacionesValidas As List : presentacion"; +_presentacionesvalidas.Initialize(); +RDebugUtils.currentLine=20185127; + //BA.debugLineNum = 20185127;BA.debugLine="For i = 1 To 11"; +{ +final int step21 = 1; +final int limit21 = (int) (11); +_i = (int) (1) ; +for (;_i <= limit21 ;_i = _i + step21 ) { +RDebugUtils.currentLine=20185128; + //BA.debugLineNum = 20185128;BA.debugLine="Dim precio As Double = p.GetDouble(\"CAT_GP_PREC"; +_precio = _p.GetDouble("CAT_GP_PRECIO"+BA.NumberToString(_i)); +RDebugUtils.currentLine=20185129; + //BA.debugLineNum = 20185129;BA.debugLine="Dim presNombre As String = p.GetString(\"CAT_GP_"; +_presnombre = _p.GetString("CAT_GP_PRESENTACION"+BA.NumberToString(_i)); +RDebugUtils.currentLine=20185130; + //BA.debugLineNum = 20185130;BA.debugLine="Dim dirigida As String = p.GetString(\"CAT_GP_DI"; +_dirigida = _p.GetString("CAT_GP_DIRIGIDA"+BA.NumberToString(_i)); +RDebugUtils.currentLine=20185131; + //BA.debugLineNum = 20185131;BA.debugLine="Dim umvVal As Int = p.GetInt(\"CAT_GP_UMV\" & i)"; +_umvval = _p.GetInt("CAT_GP_UMV"+BA.NumberToString(_i)); +RDebugUtils.currentLine=20185132; + //BA.debugLineNum = 20185132;BA.debugLine="Log(precio)"; +__c.LogImpl("520185132",BA.NumberToString(_precio),0); +RDebugUtils.currentLine=20185133; + //BA.debugLineNum = 20185133;BA.debugLine="Log(presNombre)"; +__c.LogImpl("520185133",_presnombre,0); +RDebugUtils.currentLine=20185134; + //BA.debugLineNum = 20185134;BA.debugLine="Log(dirigida)"; +__c.LogImpl("520185134",_dirigida,0); +RDebugUtils.currentLine=20185135; + //BA.debugLineNum = 20185135;BA.debugLine="Log(umvVal)"; +__c.LogImpl("520185135",BA.NumberToString(_umvval),0); +RDebugUtils.currentLine=20185139; + //BA.debugLineNum = 20185139;BA.debugLine="If precio > 0 And presNombre <> \"\" And dirigida"; +if (_precio>0 && (_presnombre).equals("") == false && (_dirigida).equals("") == false && _umvval>0) { +RDebugUtils.currentLine=20185141; + //BA.debugLineNum = 20185141;BA.debugLine="Log(tipoClienteActual.ToUpperCase)"; +__c.LogImpl("520185141",__ref._tipoclienteactual /*String*/ .toUpperCase(),0); +RDebugUtils.currentLine=20185142; + //BA.debugLineNum = 20185142;BA.debugLine="If dirigida.ToUpperCase = tipoClienteActual.To"; +if ((_dirigida.toUpperCase()).equals(__ref._tipoclienteactual /*String*/ .toUpperCase())) { +RDebugUtils.currentLine=20185143; + //BA.debugLineNum = 20185143;BA.debugLine="Dim cantExistente As Int = cantsMap.GetDefaul"; +_cantexistente = (int)(BA.ObjectToNumber(__ref._cantsmap /*anywheresoftware.b4a.objects.collections.Map*/ .GetDefault((Object)(_idprod+"_"+BA.NumberToString(_i)),(Object)(0)))); +RDebugUtils.currentLine=20185145; + //BA.debugLineNum = 20185145;BA.debugLine="presentacionesValidas.Add(CreateMap( _ \"c"; +_presentacionesvalidas.Add((Object)(__c.createMap(new Object[] {(Object)("col_index"),(Object)(_i),(Object)("nombre"),(Object)(_presnombre),(Object)("precio"),(Object)(_precio),(Object)("umv"),(Object)(_umvval),(Object)("cantidad"),(Object)(_cantexistente),(Object)("dirigida"),(Object)(_dirigida),(Object)("listaprecio"),(Object)(_i)}).getObject())); + }; + }; + } +}; +RDebugUtils.currentLine=20185157; + //BA.debugLineNum = 20185157;BA.debugLine="Log(presentacionesValidas)"; +__c.LogImpl("520185157",BA.ObjectToString(_presentacionesvalidas),0); +RDebugUtils.currentLine=20185159; + //BA.debugLineNum = 20185159;BA.debugLine="If presentacionesValidas.Size > 0 Then"; +if (_presentacionesvalidas.getSize()>0) { +RDebugUtils.currentLine=20185160; + //BA.debugLineNum = 20185160;BA.debugLine="listaProds.Add(CreateMap( _ \"id"; +__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(__c.createMap(new Object[] {(Object)("id"),(Object)(_idprod),(Object)("prod"),(Object)(_p.GetString("CAT_GP_NOMBRE")),(Object)("almacen"),(Object)(_p.GetInt("CAT_GP_ALMACEN")),(Object)("presentaciones"),(Object)(_presentacionesvalidas.getObject())}).getObject())); +RDebugUtils.currentLine=20185166; + //BA.debugLineNum = 20185166;BA.debugLine="listaHints.Add(p.GetString(\"CAT_GP_NOMBRE\"))"; +__ref._listahints /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_p.GetString("CAT_GP_NOMBRE"))); + }; + } +; +RDebugUtils.currentLine=20185169; + //BA.debugLineNum = 20185169;BA.debugLine="p.Close"; +_p.Close(); +RDebugUtils.currentLine=20185172; + //BA.debugLineNum = 20185172;BA.debugLine="clv_prods_ll.Clear"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=20185173; + //BA.debugLineNum = 20185173;BA.debugLine="PCLV.Commit"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._commit /*String*/ (null); +RDebugUtils.currentLine=20185175; + //BA.debugLineNum = 20185175;BA.debugLine="For Each m As Map In listaProds"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +{ +final anywheresoftware.b4a.BA.IterableList group47 = __ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen47 = group47.getSize() +;int index47 = 0; +; +for (; index47 < groupLen47;index47++){ +_m = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(group47.Get(index47))); +RDebugUtils.currentLine=20185177; + //BA.debugLineNum = 20185177;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"\")"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=20185178; + //BA.debugLineNum = 20185178;BA.debugLine="Dim lPres As List = m.Get(\"presentaciones\")"; +_lpres = new anywheresoftware.b4a.objects.collections.List(); +_lpres = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)("presentaciones")))); +RDebugUtils.currentLine=20185180; + //BA.debugLineNum = 20185180;BA.debugLine="Dim alturaItem As Int = 45dip + (lPres.Size * 60"; +_alturaitem = (int) (__c.DipToCurrent((int) (45))+(_lpres.getSize()*__c.DipToCurrent((int) (60)))); +RDebugUtils.currentLine=20185182; + //BA.debugLineNum = 20185182;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsVi"; +_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getWidth(),_alturaitem); +RDebugUtils.currentLine=20185183; + //BA.debugLineNum = 20185183;BA.debugLine="clv_prods_ll.Add(pnl, m)"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._add(_pnl,(Object)(_m.getObject())); + } +}; +RDebugUtils.currentLine=20185187; + //BA.debugLineNum = 20185187;BA.debugLine="If clv_prods_ll.Size > 0 Then"; +if (__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getsize()>0) { +RDebugUtils.currentLine=20185191; + //BA.debugLineNum = 20185191;BA.debugLine="PCLV.B4XSeekBar1.MaxValue = clv_prods_ll.Size"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._maxvalue /*int*/ = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getsize(); +RDebugUtils.currentLine=20185192; + //BA.debugLineNum = 20185192;BA.debugLine="PCLV.B4XSeekBar1.MinValue = 0"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._minvalue /*int*/ = (int) (0); +RDebugUtils.currentLine=20185193; + //BA.debugLineNum = 20185193;BA.debugLine="PCLV.B4XSeekBar1.Interval = clv_prods_ll.Size/20"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._interval /*int*/ = (int) (__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getsize()/(double)20); +RDebugUtils.currentLine=20185194; + //BA.debugLineNum = 20185194;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._setvalue /*int*/ (null,__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getsize()); +RDebugUtils.currentLine=20185195; + //BA.debugLineNum = 20185195;BA.debugLine="PCLV.B4XSeekBar1.Update"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._update /*String*/ (null); + }; +RDebugUtils.currentLine=20185197; + //BA.debugLineNum = 20185197;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b4xpage_closerequest", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "b4xpage_closerequest", null));} +ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this,__ref); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +} +public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { +public ResumableSub_B4XPage_CloseRequest(SHARK2.keymon.com.mx.c_productos parent,SHARK2.keymon.com.mx.c_productos __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_productos __ref; +SHARK2.keymon.com.mx.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=18546691; + //BA.debugLineNum = 18546691;BA.debugLine="If l_info.Visible Then"; +if (true) break; + +case 1: +//if +this.state = 16; +if (__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .getVisible()) { +this.state = 3; +}else +{RDebugUtils.currentLine=18546694; + //BA.debugLineNum = 18546694;BA.debugLine="else if p_vistaPreviaTrans.Visible Then"; +if (__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible()) { +this.state = 5; +}else +{RDebugUtils.currentLine=18546697; + //BA.debugLineNum = 18546697;BA.debugLine="else if lv_promos.visible Then"; +if (__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getVisible()) { +this.state = 7; +}else +{RDebugUtils.currentLine=18546704; + //BA.debugLineNum = 18546704;BA.debugLine="else if clv_prods_ll.AsView.Visible Then"; +if (__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getVisible()) { +this.state = 9; +}else +{RDebugUtils.currentLine=18546723; + //BA.debugLineNum = 18546723;BA.debugLine="else If entro = \"4\" Then"; +if ((__ref._entro /*String*/ ).equals("4")) { +this.state = 11; +}else +{RDebugUtils.currentLine=18546727; + //BA.debugLineNum = 18546727;BA.debugLine="Else If entro = \"3\" Then"; +if ((__ref._entro /*String*/ ).equals("3")) { +this.state = 13; +}else { +this.state = 15; +}}}}}} +if (true) break; + +case 3: +//C +this.state = 16; +RDebugUtils.currentLine=18546692; + //BA.debugLineNum = 18546692;BA.debugLine="l_info.Visible = False"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18546693; + //BA.debugLineNum = 18546693;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 5: +//C +this.state = 16; +RDebugUtils.currentLine=18546695; + //BA.debugLineNum = 18546695;BA.debugLine="p_vistaPreviaTrans.Visible = False"; +__ref._p_vistapreviatrans /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18546696; + //BA.debugLineNum = 18546696;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 7: +//C +this.state = 16; +RDebugUtils.currentLine=18546698; + //BA.debugLineNum = 18546698;BA.debugLine="lv_promos.Visible = False"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18546699; + //BA.debugLineNum = 18546699;BA.debugLine="lv_catalogos.Visible = True"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=18546700; + //BA.debugLineNum = 18546700;BA.debugLine="p_botonesVenta.Visible = False"; +__ref._p_botonesventa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18546701; + //BA.debugLineNum = 18546701;BA.debugLine="l_total.Visible = False"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18546702; + //BA.debugLineNum = 18546702;BA.debugLine="l_totProds.Visible = False"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18546703; + //BA.debugLineNum = 18546703;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 9: +//C +this.state = 16; +RDebugUtils.currentLine=18546705; + //BA.debugLineNum = 18546705;BA.debugLine="lfila.text = \"CATALOGO\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CATALOGO")); +RDebugUtils.currentLine=18546706; + //BA.debugLineNum = 18546706;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(parent.__c.False); +RDebugUtils.currentLine=18546707; + //BA.debugLineNum = 18546707;BA.debugLine="lv_subtipo.Visible = False"; +__ref._lv_subtipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18546708; + //BA.debugLineNum = 18546708;BA.debugLine="p_botonesVenta.Visible = False"; +__ref._p_botonesventa /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18546709; + //BA.debugLineNum = 18546709;BA.debugLine="l_total.Visible = False"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18546710; + //BA.debugLineNum = 18546710;BA.debugLine="l_totProds.Visible = False"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18546711; + //BA.debugLineNum = 18546711;BA.debugLine="lv_catalogos.Visible = True"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=18546712; + //BA.debugLineNum = 18546712;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 11: +//C +this.state = 16; +RDebugUtils.currentLine=18546724; + //BA.debugLineNum = 18546724;BA.debugLine="entro = \"3\""; +__ref._entro /*String*/ = "3"; +RDebugUtils.currentLine=18546725; + //BA.debugLineNum = 18546725;BA.debugLine="B4XPage_Appear"; +__ref._b4xpage_appear /*void*/ (null); +RDebugUtils.currentLine=18546726; + //BA.debugLineNum = 18546726;BA.debugLine="Return True"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;}; + if (true) break; + +case 13: +//C +this.state = 16; +RDebugUtils.currentLine=18546728; + //BA.debugLineNum = 18546728;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +parent._b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=18546729; + //BA.debugLineNum = 18546729;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 15: +//C +this.state = 16; +RDebugUtils.currentLine=18546731; + //BA.debugLineNum = 18546731;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +parent._b4xpages._showpage /*String*/ (ba,"Cliente"); +RDebugUtils.currentLine=18546732; + //BA.debugLineNum = 18546732;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; + if (true) break; + +case 16: +//C +this.state = -1; +; +RDebugUtils.currentLine=18546734; + //BA.debugLineNum = 18546734;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xpage_created(SHARK2.keymon.com.mx.c_productos __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +int _i = 0; +RDebugUtils.currentLine=18087936; + //BA.debugLineNum = 18087936;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=18087937; + //BA.debugLineNum = 18087937;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=18087940; + //BA.debugLineNum = 18087940;BA.debugLine="Root.LoadLayout(\"productos\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("productos",ba); +RDebugUtils.currentLine=18087941; + //BA.debugLineNum = 18087941;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=18087942; + //BA.debugLineNum = 18087942;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=18087943; + //BA.debugLineNum = 18087943;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); + }; +RDebugUtils.currentLine=18087945; + //BA.debugLineNum = 18087945;BA.debugLine="PCLV.Initialize(Me, \"PCLV\", clv_prods_ll)"; +__ref._pclv /*SHARK2.keymon.com.mx.preoptimizedclv*/ ._initialize /*String*/ (null,ba,this,"PCLV",__ref._clv_prods_ll /*b4a.example3.customlistview*/ ); +RDebugUtils.currentLine=18087946; + //BA.debugLineNum = 18087946;BA.debugLine="ciclo = 1"; +__ref._ciclo /*String*/ = BA.NumberToString(1); +RDebugUtils.currentLine=18087947; + //BA.debugLineNum = 18087947;BA.debugLine="l_info.Width = Root.Width * 0.8"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setWidth((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()*0.8)); +RDebugUtils.currentLine=18087948; + //BA.debugLineNum = 18087948;BA.debugLine="l_info.Left = (Root.Width/2) - (l_info.Width/2)"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setLeft((int) ((__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2)-(__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .getWidth()/(double)2))); +RDebugUtils.currentLine=18087949; + //BA.debugLineNum = 18087949;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select dist"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_GP_TIPO from cat_gunaprod where CAT_GP_TIPO <> 'PROMOS' order by CAT_GP_TIPO"))); +RDebugUtils.currentLine=18087950; + //BA.debugLineNum = 18087950;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=18087951; + //BA.debugLineNum = 18087951;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=18087952; + //BA.debugLineNum = 18087952;BA.debugLine="label1 = lv_tipo.SingleLineLayout.Label"; +_label1 = __ref._lv_tipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=18087953; + //BA.debugLineNum = 18087953;BA.debugLine="label1.TextSize = 17"; +_label1.setTextSize((float) (17)); +RDebugUtils.currentLine=18087954; + //BA.debugLineNum = 18087954;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=18087955; + //BA.debugLineNum = 18087955;BA.debugLine="lv_tipo.Clear"; +__ref._lv_tipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=18087956; + //BA.debugLineNum = 18087956;BA.debugLine="For i=0 To c.RowCount-1"; +{ +final int step18 = 1; +final int limit18 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit18 ;_i = _i + step18 ) { +RDebugUtils.currentLine=18087957; + //BA.debugLineNum = 18087957;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=18087958; + //BA.debugLineNum = 18087958;BA.debugLine="Log(\"ENTRE AQUI EN PROMOS create\")"; +__c.LogImpl("518087958","ENTRE AQUI EN PROMOS create",0); +RDebugUtils.currentLine=18087959; + //BA.debugLineNum = 18087959;BA.debugLine="lv_tipo.AddSingleLine(c.GetString(\"CAT_GP_TIPO\""; +__ref._lv_tipo /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_TIPO"))); + } +}; + }; +RDebugUtils.currentLine=18087962; + //BA.debugLineNum = 18087962;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=18087965; + //BA.debugLineNum = 18087965;BA.debugLine="listaTiempos.Initialize"; +__ref._listatiempos /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=18087966; + //BA.debugLineNum = 18087966;BA.debugLine="listaProds.Initialize"; +__ref._listaprods /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=18087967; + //BA.debugLineNum = 18087967;BA.debugLine="pedidoMap.Initialize"; +__ref._pedidomap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=18087968; + //BA.debugLineNum = 18087968;BA.debugLine="listaHints.Initialize"; +__ref._listahints /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=18087971; + //BA.debugLineNum = 18087971;BA.debugLine="clv_prods_ll.Clear"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=18087972; + //BA.debugLineNum = 18087972;BA.debugLine="prodsMap.Initialize"; +__ref._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=18087973; + //BA.debugLineNum = 18087973;BA.debugLine="End Sub"; +return ""; +} +public String _btnmasdinamico_click(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "btnmasdinamico_click", false)) + {return ((String) Debug.delegate(ba, "btnmasdinamico_click", null));} +anywheresoftware.b4a.objects.ButtonWrapper _btn = null; +anywheresoftware.b4a.objects.collections.Map _info = null; +anywheresoftware.b4a.objects.EditTextWrapper _et = null; +anywheresoftware.b4a.objects.collections.Map _pres = null; +String _idprod = ""; +int _stockdisponible = 0; +int _umv = 0; +int _cantactual = 0; +int _nuevacant = 0; +int _unidades = 0; +RDebugUtils.currentLine=20643840; + //BA.debugLineNum = 20643840;BA.debugLine="Sub btnMasDinamico_Click"; +RDebugUtils.currentLine=20643841; + //BA.debugLineNum = 20643841;BA.debugLine="Dim btn As Button = Sender"; +_btn = new anywheresoftware.b4a.objects.ButtonWrapper(); +_btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba))); +RDebugUtils.currentLine=20643842; + //BA.debugLineNum = 20643842;BA.debugLine="Dim info As Map = btn.Tag"; +_info = new anywheresoftware.b4a.objects.collections.Map(); +_info = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_btn.getTag())); +RDebugUtils.currentLine=20643843; + //BA.debugLineNum = 20643843;BA.debugLine="Dim et As EditText = info.Get(\"et\")"; +_et = new anywheresoftware.b4a.objects.EditTextWrapper(); +_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_info.Get((Object)("et")))); +RDebugUtils.currentLine=20643844; + //BA.debugLineNum = 20643844;BA.debugLine="Dim pres As Map = info.Get(\"pres\")"; +_pres = new anywheresoftware.b4a.objects.collections.Map(); +_pres = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_info.Get((Object)("pres")))); +RDebugUtils.currentLine=20643845; + //BA.debugLineNum = 20643845;BA.debugLine="Dim idProd As String = info.Get(\"id\")"; +_idprod = BA.ObjectToString(_info.Get((Object)("id"))); +RDebugUtils.currentLine=20643847; + //BA.debugLineNum = 20643847;BA.debugLine="Dim stockDisponible As Int = Subs.traeinventario("; +_stockdisponible = (int)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_idprod))); +RDebugUtils.currentLine=20643848; + //BA.debugLineNum = 20643848;BA.debugLine="Dim umv As Int = pres.Get(\"umv\")"; +_umv = (int)(BA.ObjectToNumber(_pres.Get((Object)("umv")))); +RDebugUtils.currentLine=20643850; + //BA.debugLineNum = 20643850;BA.debugLine="Dim cantActual As Int = 0"; +_cantactual = (int) (0); +RDebugUtils.currentLine=20643851; + //BA.debugLineNum = 20643851;BA.debugLine="If et.Text <> \"\" Then cantActual = et.Text"; +if ((_et.getText()).equals("") == false) { +_cantactual = (int)(Double.parseDouble(_et.getText()));}; +RDebugUtils.currentLine=20643853; + //BA.debugLineNum = 20643853;BA.debugLine="If stockDisponible >= umv Then"; +if (_stockdisponible>=_umv) { +RDebugUtils.currentLine=20643854; + //BA.debugLineNum = 20643854;BA.debugLine="Dim nuevaCant As Int = cantActual + umv"; +_nuevacant = (int) (_cantactual+_umv); +RDebugUtils.currentLine=20643855; + //BA.debugLineNum = 20643855;BA.debugLine="et.Text = nuevaCant"; +_et.setText(BA.ObjectToCharSequence(_nuevacant)); +RDebugUtils.currentLine=20643858; + //BA.debugLineNum = 20643858;BA.debugLine="Dim unidades As Int = nuevaCant / umv"; +_unidades = (int) (_nuevacant/(double)_umv); +RDebugUtils.currentLine=20643859; + //BA.debugLineNum = 20643859;BA.debugLine="ActualizarLabelNombrePresentacion(btn, pres.Get("; +__ref._actualizarlabelnombrepresentacion /*String*/ (null,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_btn.getObject())),BA.ObjectToString(_pres.Get((Object)("nombre"))),_unidades); +RDebugUtils.currentLine=20643862; + //BA.debugLineNum = 20643862;BA.debugLine="Subs.actualizaProductoDinamico(Subs.traeAlmacen,"; +_subs._actualizaproductodinamico /*String*/ (ba,_subs._traealmacen /*String*/ (ba),(float)(BA.ObjectToNumber(_pres.Get((Object)("precio")))),(int)(Double.parseDouble(_et.getText())),_subs._traeprodnombre /*String*/ (ba,_idprod),_idprod,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0),BA.ObjectToString(_pres.Get((Object)("listaprecio"))),_umv,BA.ObjectToString(_pres.Get((Object)("nombre")))); +RDebugUtils.currentLine=20643865; + //BA.debugLineNum = 20643865;BA.debugLine="ActualizarLabelExistencias(btn, idProd)"; +__ref._actualizarlabelexistencias /*String*/ (null,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_btn.getObject())),_idprod); +RDebugUtils.currentLine=20643866; + //BA.debugLineNum = 20643866;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); + }else { +RDebugUtils.currentLine=20643868; + //BA.debugLineNum = 20643868;BA.debugLine="ToastMessageShow(\"Inventario insuficiente. Stock"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Inventario insuficiente. Stock: "+BA.NumberToString(_stockdisponible)),__c.False); + }; +RDebugUtils.currentLine=20643870; + //BA.debugLineNum = 20643870;BA.debugLine="End Sub"; +return ""; +} +public String _btnmenosdinamico_click(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "btnmenosdinamico_click", false)) + {return ((String) Debug.delegate(ba, "btnmenosdinamico_click", null));} +anywheresoftware.b4a.objects.ButtonWrapper _btn = null; +anywheresoftware.b4a.objects.collections.Map _info = null; +anywheresoftware.b4a.objects.EditTextWrapper _et = null; +anywheresoftware.b4a.objects.collections.Map _pres = null; +String _idprod = ""; +int _cantactual = 0; +int _umv = 0; +int _nuevacant = 0; +int _unidades = 0; +RDebugUtils.currentLine=20709376; + //BA.debugLineNum = 20709376;BA.debugLine="Sub btnMenosDinamico_Click"; +RDebugUtils.currentLine=20709377; + //BA.debugLineNum = 20709377;BA.debugLine="Dim btn As Button = Sender"; +_btn = new anywheresoftware.b4a.objects.ButtonWrapper(); +_btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba))); +RDebugUtils.currentLine=20709378; + //BA.debugLineNum = 20709378;BA.debugLine="Dim info As Map = btn.Tag"; +_info = new anywheresoftware.b4a.objects.collections.Map(); +_info = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_btn.getTag())); +RDebugUtils.currentLine=20709379; + //BA.debugLineNum = 20709379;BA.debugLine="Dim et As EditText = info.Get(\"et\")"; +_et = new anywheresoftware.b4a.objects.EditTextWrapper(); +_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_info.Get((Object)("et")))); +RDebugUtils.currentLine=20709380; + //BA.debugLineNum = 20709380;BA.debugLine="Dim pres As Map = info.Get(\"pres\")"; +_pres = new anywheresoftware.b4a.objects.collections.Map(); +_pres = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_info.Get((Object)("pres")))); +RDebugUtils.currentLine=20709381; + //BA.debugLineNum = 20709381;BA.debugLine="Dim idProd As String = info.Get(\"id\")"; +_idprod = BA.ObjectToString(_info.Get((Object)("id"))); +RDebugUtils.currentLine=20709383; + //BA.debugLineNum = 20709383;BA.debugLine="Dim cantActual As Int = 0"; +_cantactual = (int) (0); +RDebugUtils.currentLine=20709384; + //BA.debugLineNum = 20709384;BA.debugLine="If et.Text <> \"\" Then cantActual = et.Text"; +if ((_et.getText()).equals("") == false) { +_cantactual = (int)(Double.parseDouble(_et.getText()));}; +RDebugUtils.currentLine=20709386; + //BA.debugLineNum = 20709386;BA.debugLine="If cantActual > 0 Then"; +if (_cantactual>0) { +RDebugUtils.currentLine=20709387; + //BA.debugLineNum = 20709387;BA.debugLine="Dim umv As Int = pres.Get(\"umv\")"; +_umv = (int)(BA.ObjectToNumber(_pres.Get((Object)("umv")))); +RDebugUtils.currentLine=20709388; + //BA.debugLineNum = 20709388;BA.debugLine="Dim nuevaCant As Int = cantActual - umv"; +_nuevacant = (int) (_cantactual-_umv); +RDebugUtils.currentLine=20709389; + //BA.debugLineNum = 20709389;BA.debugLine="If nuevaCant < 0 Then nuevaCant = 0"; +if (_nuevacant<0) { +_nuevacant = (int) (0);}; +RDebugUtils.currentLine=20709390; + //BA.debugLineNum = 20709390;BA.debugLine="et.Text = nuevaCant"; +_et.setText(BA.ObjectToCharSequence(_nuevacant)); +RDebugUtils.currentLine=20709393; + //BA.debugLineNum = 20709393;BA.debugLine="Dim unidades As Int = nuevaCant / umv"; +_unidades = (int) (_nuevacant/(double)_umv); +RDebugUtils.currentLine=20709394; + //BA.debugLineNum = 20709394;BA.debugLine="ActualizarLabelNombrePresentacion(btn, pres.Get("; +__ref._actualizarlabelnombrepresentacion /*String*/ (null,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_btn.getObject())),BA.ObjectToString(_pres.Get((Object)("nombre"))),_unidades); +RDebugUtils.currentLine=20709397; + //BA.debugLineNum = 20709397;BA.debugLine="Subs.actualizaProductoDinamico(Subs.traeAlmacen,"; +_subs._actualizaproductodinamico /*String*/ (ba,_subs._traealmacen /*String*/ (ba),(float)(BA.ObjectToNumber(_pres.Get((Object)("precio")))),(int)(Double.parseDouble(_et.getText())),_subs._traeprodnombre /*String*/ (ba,_idprod),_idprod,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0),BA.ObjectToString(_pres.Get((Object)("listaprecio"))),_umv,BA.ObjectToString(_pres.Get((Object)("nombre")))); +RDebugUtils.currentLine=20709400; + //BA.debugLineNum = 20709400;BA.debugLine="ActualizarLabelExistencias(btn, idProd)"; +__ref._actualizarlabelexistencias /*String*/ (null,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_btn.getObject())),_idprod); +RDebugUtils.currentLine=20709401; + //BA.debugLineNum = 20709401;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); + }; +RDebugUtils.currentLine=20709403; + //BA.debugLineNum = 20709403;BA.debugLine="End Sub"; +return ""; +} +public String _busca_textchanged(SHARK2.keymon.com.mx.c_productos __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "busca_textchanged", false)) + {return ((String) Debug.delegate(ba, "busca_textchanged", new Object[] {_old,_new}));} +String _query = ""; +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _p = null; +RDebugUtils.currentLine=20119552; + //BA.debugLineNum = 20119552;BA.debugLine="Sub Busca_TextChanged (Old As String, New As Strin"; +RDebugUtils.currentLine=20119554; + //BA.debugLineNum = 20119554;BA.debugLine="If Not(clv_prods_ll.AsView.Visible) Then clv_prod"; +if (__c.Not(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().getVisible())) { +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(__c.True);}; +RDebugUtils.currentLine=20119558; + //BA.debugLineNum = 20119558;BA.debugLine="If New.Length > 0 And New.Length < 3 And Not(forz"; +if (_new.length()>0 && _new.length()<3 && __c.Not(__ref._forzarbusqueda /*boolean*/ )) { +if (true) return "";}; +RDebugUtils.currentLine=20119560; + //BA.debugLineNum = 20119560;BA.debugLine="forzarBusqueda = False"; +__ref._forzarbusqueda /*boolean*/ = __c.False; +RDebugUtils.currentLine=20119561; + //BA.debugLineNum = 20119561;BA.debugLine="Log(\"Texto buscado: [\" & New.Trim & \"]\")"; +__c.LogImpl("520119561","Texto buscado: ["+_new.trim()+"]",0); +RDebugUtils.currentLine=20119564; + //BA.debugLineNum = 20119564;BA.debugLine="If New.Trim = \"\" Then"; +if ((_new.trim()).equals("")) { +RDebugUtils.currentLine=20119567; + //BA.debugLineNum = 20119567;BA.debugLine="Log(\"Búsqueda borrada. Restaurando catálogo prin"; +__c.LogImpl("520119567","Búsqueda borrada. Restaurando catálogo principal...",0); +RDebugUtils.currentLine=20119568; + //BA.debugLineNum = 20119568;BA.debugLine="LlenaProdsLL(Null)"; +__ref._llenaprodsll /*String*/ (null,(anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(__c.Null))); + }else { +RDebugUtils.currentLine=20119572; + //BA.debugLineNum = 20119572;BA.debugLine="Dim query As String = $\"SELECT * FROM ${Starter."; +_query = ("SELECT * FROM "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" WHERE CAT_GP_STS = 1 AND CAT_GP_TIPO <> 'PROMOS' AND CAT_GP_SUBTIPO <> 'PROMOS' AND CAT_GP_NOMBRE LIKE '%"+__c.SmartStringFormatter("",(Object)(_new))+"%' ORDER BY CAT_GP_NOMBRE"); +RDebugUtils.currentLine=20119573; + //BA.debugLineNum = 20119573;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exec"; +_p = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_p = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(_query))); +RDebugUtils.currentLine=20119575; + //BA.debugLineNum = 20119575;BA.debugLine="Log(\"Buscando: \" & New & \" - Resultados encontra"; +__c.LogImpl("520119575","Buscando: "+_new+" - Resultados encontrados: "+BA.NumberToString(_p.getRowCount()),0); +RDebugUtils.currentLine=20119576; + //BA.debugLineNum = 20119576;BA.debugLine="LlenaProdsLL(p)"; +__ref._llenaprodsll /*String*/ (null,_p); + }; +RDebugUtils.currentLine=20119578; + //BA.debugLineNum = 20119578;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +RDebugUtils.currentLine=17956864; + //BA.debugLineNum = 17956864;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=17956865; + //BA.debugLineNum = 17956865;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=17956866; + //BA.debugLineNum = 17956866;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=17956867; + //BA.debugLineNum = 17956867;BA.debugLine="Dim ruta As String"; +_ruta = ""; +RDebugUtils.currentLine=17956868; + //BA.debugLineNum = 17956868;BA.debugLine="Dim q_buscar As String"; +_q_buscar = ""; +RDebugUtils.currentLine=17956869; + //BA.debugLineNum = 17956869;BA.debugLine="Dim forzarBusqueda As Boolean = False"; +_forzarbusqueda = __c.False; +RDebugUtils.currentLine=17956870; + //BA.debugLineNum = 17956870;BA.debugLine="Dim skmt As SQL"; +_skmt = new anywheresoftware.b4a.sql.SQL(); +RDebugUtils.currentLine=17956871; + //BA.debugLineNum = 17956871;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17956872; + //BA.debugLineNum = 17956872;BA.debugLine="Dim c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17956873; + //BA.debugLineNum = 17956873;BA.debugLine="Dim C3 As Cursor"; +_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17956874; + //BA.debugLineNum = 17956874;BA.debugLine="Dim s As Cursor"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17956875; + //BA.debugLineNum = 17956875;BA.debugLine="Dim lv_catalogos As ListView"; +_lv_catalogos = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=17956876; + //BA.debugLineNum = 17956876;BA.debugLine="Dim lv_promos As ListView"; +_lv_promos = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=17956877; + //BA.debugLineNum = 17956877;BA.debugLine="Dim entro As String"; +_entro = ""; +RDebugUtils.currentLine=17956878; + //BA.debugLineNum = 17956878;BA.debugLine="Dim gest As Button"; +_gest = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17956879; + //BA.debugLineNum = 17956879;BA.debugLine="Dim lfila As Label"; +_lfila = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17956880; + //BA.debugLineNum = 17956880;BA.debugLine="Dim marca As String"; +_marca = ""; +RDebugUtils.currentLine=17956881; + //BA.debugLineNum = 17956881;BA.debugLine="Dim tipo As String"; +_tipo = ""; +RDebugUtils.currentLine=17956882; + //BA.debugLineNum = 17956882;BA.debugLine="Dim subtipo As String"; +_subtipo = ""; +RDebugUtils.currentLine=17956883; + //BA.debugLineNum = 17956883;BA.debugLine="Private BUSCA As EditText"; +_busca = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=17956884; + //BA.debugLineNum = 17956884;BA.debugLine="Dim ya_entro As String"; +_ya_entro = ""; +RDebugUtils.currentLine=17956885; + //BA.debugLineNum = 17956885;BA.debugLine="Dim TIENE_PROMOS As String"; +_tiene_promos = ""; +RDebugUtils.currentLine=17956886; + //BA.debugLineNum = 17956886;BA.debugLine="Dim RES As String"; +_res = ""; +RDebugUtils.currentLine=17956887; + //BA.debugLineNum = 17956887;BA.debugLine="Dim S1 As Cursor"; +_s1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17956888; + //BA.debugLineNum = 17956888;BA.debugLine="Dim bmp As Bitmap"; +_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=17956889; + //BA.debugLineNum = 17956889;BA.debugLine="Dim ciclo As String"; +_ciclo = ""; +RDebugUtils.currentLine=17956890; + //BA.debugLineNum = 17956890;BA.debugLine="Private b_qr As Button"; +_b_qr = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17956891; + //BA.debugLineNum = 17956891;BA.debugLine="Private p_productos As Panel"; +_p_productos = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=17956892; + //BA.debugLineNum = 17956892;BA.debugLine="Dim clv_productos As CustomListView"; +_clv_productos = new b4a.example3.customlistview(); +RDebugUtils.currentLine=17956893; + //BA.debugLineNum = 17956893;BA.debugLine="Private ImageView1 As ImageView"; +_imageview1 = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=17956894; + //BA.debugLineNum = 17956894;BA.debugLine="Private Panel3 As Panel"; +_panel3 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=17956895; + //BA.debugLineNum = 17956895;BA.debugLine="Private p_prods As Panel"; +_p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=17956896; + //BA.debugLineNum = 17956896;BA.debugLine="Private i_prod As ImageView"; +_i_prod = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=17956897; + //BA.debugLineNum = 17956897;BA.debugLine="Private l_prodX As Label"; +_l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17956898; + //BA.debugLineNum = 17956898;BA.debugLine="Private b_prodMas As Button"; +_b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17956899; + //BA.debugLineNum = 17956899;BA.debugLine="Private l_pCant As Label"; +_l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17956900; + //BA.debugLineNum = 17956900;BA.debugLine="Private et_pCant As EditText"; +_et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=17956901; + //BA.debugLineNum = 17956901;BA.debugLine="Private b_prodMenos As Button"; +_b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17956902; + //BA.debugLineNum = 17956902;BA.debugLine="Dim b_terminar1 As Button"; +_b_terminar1 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17956903; + //BA.debugLineNum = 17956903;BA.debugLine="Dim b_continuar As Button"; +_b_continuar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17956904; + //BA.debugLineNum = 17956904;BA.debugLine="Private l_total As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17956905; + //BA.debugLineNum = 17956905;BA.debugLine="Private l_totProds As Label"; +_l_totprods = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17956906; + //BA.debugLineNum = 17956906;BA.debugLine="Dim totalProds As Int = 0"; +_totalprods = (int) (0); +RDebugUtils.currentLine=17956907; + //BA.debugLineNum = 17956907;BA.debugLine="Dim totalCompra As Float = 0"; +_totalcompra = (float) (0); +RDebugUtils.currentLine=17956908; + //BA.debugLineNum = 17956908;BA.debugLine="Dim etCantHasFocus As Boolean = False"; +_etcanthasfocus = __c.False; +RDebugUtils.currentLine=17956909; + //BA.debugLineNum = 17956909;BA.debugLine="Dim prodsMap As Map"; +_prodsmap = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=17956910; + //BA.debugLineNum = 17956910;BA.debugLine="Private l_Cargando As Label"; +_l_cargando = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17956911; + //BA.debugLineNum = 17956911;BA.debugLine="Private l_info As Label"; +_l_info = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17956912; + //BA.debugLineNum = 17956912;BA.debugLine="Private b_buscar As Button"; +_b_buscar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17956913; + //BA.debugLineNum = 17956913;BA.debugLine="Private p_botonesVenta As Panel"; +_p_botonesventa = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=17956914; + //BA.debugLineNum = 17956914;BA.debugLine="Private lv_tipo As ListView"; +_lv_tipo = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=17956915; + //BA.debugLineNum = 17956915;BA.debugLine="Private lv_subtipo As ListView"; +_lv_subtipo = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=17956916; + //BA.debugLineNum = 17956916;BA.debugLine="Private p_vistaPreviaTrans As Panel"; +_p_vistapreviatrans = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=17956917; + //BA.debugLineNum = 17956917;BA.debugLine="Private lv_prodsPedido As ListView"; +_lv_prodspedido = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=17956918; + //BA.debugLineNum = 17956918;BA.debugLine="Private b_rechazar As Button"; +_b_rechazar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17956919; + //BA.debugLineNum = 17956919;BA.debugLine="Private b_aceptar As Button"; +_b_aceptar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17956920; + //BA.debugLineNum = 17956920;BA.debugLine="Private p_vistaPrevia As Panel"; +_p_vistaprevia = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=17956921; + //BA.debugLineNum = 17956921;BA.debugLine="Dim folio As String"; +_folio = ""; +RDebugUtils.currentLine=17956922; + //BA.debugLineNum = 17956922;BA.debugLine="Dim result As String"; +_result = ""; +RDebugUtils.currentLine=17956923; + //BA.debugLineNum = 17956923;BA.debugLine="Private l_cant As Label"; +_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17956924; + //BA.debugLineNum = 17956924;BA.debugLine="Private l_total2 As Label"; +_l_total2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=17956925; + //BA.debugLineNum = 17956925;BA.debugLine="Dim prodsPedidoActual As String"; +_prodspedidoactual = ""; +RDebugUtils.currentLine=17956926; + //BA.debugLineNum = 17956926;BA.debugLine="Dim montoPedidoActual As String"; +_montopedidoactual = ""; +RDebugUtils.currentLine=17956927; + //BA.debugLineNum = 17956927;BA.debugLine="Dim clv_prods_ll As CustomListView"; +_clv_prods_ll = new b4a.example3.customlistview(); +RDebugUtils.currentLine=17956928; + //BA.debugLineNum = 17956928;BA.debugLine="Private PCLV As PreoptimizedCLV"; +_pclv = new SHARK2.keymon.com.mx.preoptimizedclv(); +RDebugUtils.currentLine=17956929; + //BA.debugLineNum = 17956929;BA.debugLine="Dim listaProds As List"; +_listaprods = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=17956931; + //BA.debugLineNum = 17956931;BA.debugLine="Dim pedidoMap As Map"; +_pedidomap = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=17956932; + //BA.debugLineNum = 17956932;BA.debugLine="Private p_botMasMen As Panel"; +_p_botmasmen = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=17956933; + //BA.debugLineNum = 17956933;BA.debugLine="Dim reiniciarlistaProds As Boolean= False"; +_reiniciarlistaprods = __c.False; +RDebugUtils.currentLine=17956935; + //BA.debugLineNum = 17956935;BA.debugLine="Dim listaTiempos As List"; +_listatiempos = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=17956936; + //BA.debugLineNum = 17956936;BA.debugLine="Dim clienteId As String"; +_clienteid = ""; +RDebugUtils.currentLine=17956937; + //BA.debugLineNum = 17956937;BA.debugLine="Dim rutaUsuario As String"; +_rutausuario = ""; +RDebugUtils.currentLine=17956938; + //BA.debugLineNum = 17956938;BA.debugLine="Dim hayPedido As Boolean"; +_haypedido = false; +RDebugUtils.currentLine=17956939; + //BA.debugLineNum = 17956939;BA.debugLine="Dim listaHints As List"; +_listahints = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=17956940; + //BA.debugLineNum = 17956940;BA.debugLine="Dim r As Cursor"; +_r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17956941; + //BA.debugLineNum = 17956941;BA.debugLine="Dim vamoaver As List"; +_vamoaver = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=17956942; + //BA.debugLineNum = 17956942;BA.debugLine="Dim j3 As Cursor"; +_j3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=17956943; + //BA.debugLineNum = 17956943;BA.debugLine="Dim invTotal As Int"; +_invtotal = 0; +RDebugUtils.currentLine=17956944; + //BA.debugLineNum = 17956944;BA.debugLine="Private et_pCantc As EditText"; +_et_pcantc = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=17956945; + //BA.debugLineNum = 17956945;BA.debugLine="Private b_prodMenosc As Button"; +_b_prodmenosc = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17956946; + //BA.debugLineNum = 17956946;BA.debugLine="Private b_prodMasc As Button"; +_b_prodmasc = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=17956947; + //BA.debugLineNum = 17956947;BA.debugLine="Dim totalcajasmaspiezas As Int"; +_totalcajasmaspiezas = 0; +RDebugUtils.currentLine=17956948; + //BA.debugLineNum = 17956948;BA.debugLine="Dim cajas As Int"; +_cajas = 0; +RDebugUtils.currentLine=17956949; + //BA.debugLineNum = 17956949;BA.debugLine="Dim piezas As Int"; +_piezas = 0; +RDebugUtils.currentLine=17956950; + //BA.debugLineNum = 17956950;BA.debugLine="Private p_botMasMenc As Panel"; +_p_botmasmenc = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=17956953; + //BA.debugLineNum = 17956953;BA.debugLine="Dim tipoClienteActual As String = \"DETALLE\""; +_tipoclienteactual = "DETALLE"; +RDebugUtils.currentLine=17956954; + //BA.debugLineNum = 17956954;BA.debugLine="Dim cantsMap As Map"; +_cantsmap = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=17956955; + //BA.debugLineNum = 17956955;BA.debugLine="End Sub"; +return ""; +} +public String _clv_prods_ll_itemclick(SHARK2.keymon.com.mx.c_productos __ref,int _index,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "clv_prods_ll_itemclick", false)) + {return ((String) Debug.delegate(ba, "clv_prods_ll_itemclick", new Object[] {_index,_value}));} +RDebugUtils.currentLine=19922944; + //BA.debugLineNum = 19922944;BA.debugLine="Private Sub clv_prods_ll_ItemClick (Index As Int,"; +RDebugUtils.currentLine=19922945; + //BA.debugLineNum = 19922945;BA.debugLine="End Sub"; +return ""; +} +public String _clv_prods_ll_visiblerangechanged(SHARK2.keymon.com.mx.c_productos __ref,int _firstindex,int _lastindex) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "clv_prods_ll_visiblerangechanged", false)) + {return ((String) Debug.delegate(ba, "clv_prods_ll_visiblerangechanged", new Object[] {_firstindex,_lastindex}));} +int _i = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.collections.Map _data = null; +anywheresoftware.b4a.objects.B4XViewWrapper _base = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +anywheresoftware.b4a.objects.LabelWrapper _lblinfo = null; +anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +anywheresoftware.b4a.objects.collections.List _presentaciones = null; +int _vtop = 0; +anywheresoftware.b4a.objects.collections.Map _pres = null; +anywheresoftware.b4a.objects.LabelWrapper _lbltipo = null; +int _cantpiezas = 0; +int _factorumv = 0; +int _unidadesexistentes = 0; +anywheresoftware.b4a.objects.LabelWrapper _lblprice = null; +anywheresoftware.b4a.objects.ButtonWrapper _bm = null; +anywheresoftware.b4a.objects.EditTextWrapper _et = null; +anywheresoftware.b4a.objects.ButtonWrapper _bp = null; +anywheresoftware.b4a.objects.collections.Map _taginfo = null; +RDebugUtils.currentLine=20054016; + //BA.debugLineNum = 20054016;BA.debugLine="Private Sub clv_prods_ll_VisibleRangeChanged (Firs"; +RDebugUtils.currentLine=20054017; + //BA.debugLineNum = 20054017;BA.debugLine="For i = Max(0, FirstIndex - 2) To Min(LastIndex +"; +{ +final int step1 = 1; +final int limit1 = (int) (__c.Min(_lastindex+2,__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getsize()-1)); +_i = (int) (__c.Max(0,_firstindex-2)) ; +for (;_i <= limit1 ;_i = _i + step1 ) { +RDebugUtils.currentLine=20054018; + //BA.debugLineNum = 20054018;BA.debugLine="Dim Pnl As B4XView = clv_prods_ll.GetPanel(i)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=20054020; + //BA.debugLineNum = 20054020;BA.debugLine="If i >= FirstIndex And i <= LastIndex Then"; +if (_i>=_firstindex && _i<=_lastindex) { +RDebugUtils.currentLine=20054021; + //BA.debugLineNum = 20054021;BA.debugLine="If Pnl.NumberOfViews = 0 Then"; +if (_pnl.getNumberOfViews()==0) { +RDebugUtils.currentLine=20054022; + //BA.debugLineNum = 20054022;BA.debugLine="Dim data As Map = clv_prods_ll.GetValue(i)"; +_data = new anywheresoftware.b4a.objects.collections.Map(); +_data = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_i))); +RDebugUtils.currentLine=20054025; + //BA.debugLineNum = 20054025;BA.debugLine="Dim base As B4XView = xui.CreatePanel(\"\")"; +_base = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_base = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,""); +RDebugUtils.currentLine=20054029; + //BA.debugLineNum = 20054029;BA.debugLine="base.SetColorAndBorder(xui.Color_White, 1dip,"; +_base.SetColorAndBorder(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White,__c.DipToCurrent((int) (1)),__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black,__c.DipToCurrent((int) (8))); +RDebugUtils.currentLine=20054032; + //BA.debugLineNum = 20054032;BA.debugLine="Pnl.AddView(base, 5dip, 2dip, Pnl.Width - 10di"; +_pnl.AddView((android.view.View)(_base.getObject()),__c.DipToCurrent((int) (5)),__c.DipToCurrent((int) (2)),(int) (_pnl.getWidth()-__c.DipToCurrent((int) (10))),(int) (_pnl.getHeight()-__c.DipToCurrent((int) (4)))); +RDebugUtils.currentLine=20054035; + //BA.debugLineNum = 20054035;BA.debugLine="Dim cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=20054036; + //BA.debugLineNum = 20054036;BA.debugLine="cs.Initialize.Color(Colors.Red).Bold.Append(da"; +_cs.Initialize().Color(__c.Colors.Red).Bold().Append(BA.ObjectToCharSequence(_data.Get((Object)("prod")))).Pop().Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Size((int) (12)).Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Existencias: "+BA.ObjectToString(_data.Get((Object)("almacen"))))).Pop(); +RDebugUtils.currentLine=20054039; + //BA.debugLineNum = 20054039;BA.debugLine="Dim lblInfo As Label : lblInfo.Initialize(\"\")"; +_lblinfo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=20054039; + //BA.debugLineNum = 20054039;BA.debugLine="Dim lblInfo As Label : lblInfo.Initialize(\"\")"; +_lblinfo.Initialize(ba,""); +RDebugUtils.currentLine=20054040; + //BA.debugLineNum = 20054040;BA.debugLine="Dim xlbl As B4XView = lblInfo"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lblinfo.getObject())); +RDebugUtils.currentLine=20054041; + //BA.debugLineNum = 20054041;BA.debugLine="xlbl.Text = cs"; +_xlbl.setText(BA.ObjectToCharSequence(_cs.getObject())); +RDebugUtils.currentLine=20054042; + //BA.debugLineNum = 20054042;BA.debugLine="lblInfo.Gravity = Gravity.TOP"; +_lblinfo.setGravity(__c.Gravity.TOP); +RDebugUtils.currentLine=20054043; + //BA.debugLineNum = 20054043;BA.debugLine="base.AddView(xlbl, 10dip, 8dip, base.Width * 0"; +_base.AddView((android.view.View)(_xlbl.getObject()),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (8)),(int) (_base.getWidth()*0.55),__c.DipToCurrent((int) (45))); +RDebugUtils.currentLine=20054046; + //BA.debugLineNum = 20054046;BA.debugLine="Dim presentaciones As List = data.Get(\"present"; +_presentaciones = new anywheresoftware.b4a.objects.collections.List(); +_presentaciones = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_data.Get((Object)("presentaciones")))); +RDebugUtils.currentLine=20054047; + //BA.debugLineNum = 20054047;BA.debugLine="Dim vTop As Int = 10dip"; +_vtop = __c.DipToCurrent((int) (10)); +RDebugUtils.currentLine=20054049; + //BA.debugLineNum = 20054049;BA.debugLine="For Each pres As Map In presentaciones"; +_pres = new anywheresoftware.b4a.objects.collections.Map(); +{ +final anywheresoftware.b4a.BA.IterableList group19 = _presentaciones; +final int groupLen19 = group19.getSize() +;int index19 = 0; +; +for (; index19 < groupLen19;index19++){ +_pres = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(group19.Get(index19))); +RDebugUtils.currentLine=20054051; + //BA.debugLineNum = 20054051;BA.debugLine="Dim lblTipo As Label : lblTipo.Initialize(\"\")"; +_lbltipo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=20054051; + //BA.debugLineNum = 20054051;BA.debugLine="Dim lblTipo As Label : lblTipo.Initialize(\"\")"; +_lbltipo.Initialize(ba,""); +RDebugUtils.currentLine=20054052; + //BA.debugLineNum = 20054052;BA.debugLine="lblTipo.Text = pres.Get(\"nombre\")"; +_lbltipo.setText(BA.ObjectToCharSequence(_pres.Get((Object)("nombre")))); +RDebugUtils.currentLine=20054053; + //BA.debugLineNum = 20054053;BA.debugLine="lblTipo.TextColor = Colors.Black ' <--- Camb"; +_lbltipo.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=20054054; + //BA.debugLineNum = 20054054;BA.debugLine="lblTipo.TextSize = 14 ' <--- Tama"; +_lbltipo.setTextSize((float) (14)); +RDebugUtils.currentLine=20054056; + //BA.debugLineNum = 20054056;BA.debugLine="lblTipo.Gravity = Gravity.LEFT"; +_lbltipo.setGravity(__c.Gravity.LEFT); +RDebugUtils.currentLine=20054059; + //BA.debugLineNum = 20054059;BA.debugLine="Dim cantPiezas As Int = pres.Get(\"cantidad\")"; +_cantpiezas = (int)(BA.ObjectToNumber(_pres.Get((Object)("cantidad")))); +RDebugUtils.currentLine=20054060; + //BA.debugLineNum = 20054060;BA.debugLine="Dim factorUmv As Int = pres.Get(\"umv\")"; +_factorumv = (int)(BA.ObjectToNumber(_pres.Get((Object)("umv")))); +RDebugUtils.currentLine=20054061; + //BA.debugLineNum = 20054061;BA.debugLine="Dim unidadesExistentes As Int = 0"; +_unidadesexistentes = (int) (0); +RDebugUtils.currentLine=20054064; + //BA.debugLineNum = 20054064;BA.debugLine="If factorUmv > 0 Then unidadesExistentes = ca"; +if (_factorumv>0) { +_unidadesexistentes = (int) (_cantpiezas/(double)_factorumv);}; +RDebugUtils.currentLine=20054066; + //BA.debugLineNum = 20054066;BA.debugLine="Dim lblTipo As Label : lblTipo.Initialize(\"\")"; +_lbltipo = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=20054066; + //BA.debugLineNum = 20054066;BA.debugLine="Dim lblTipo As Label : lblTipo.Initialize(\"\")"; +_lbltipo.Initialize(ba,""); +RDebugUtils.currentLine=20054068; + //BA.debugLineNum = 20054068;BA.debugLine="lblTipo.Text = pres.Get(\"nombre\").As(String)."; +_lbltipo.setText(BA.ObjectToCharSequence((BA.ObjectToString(_pres.Get((Object)("nombre")))).toUpperCase()+": "+BA.NumberToString(_unidadesexistentes))); +RDebugUtils.currentLine=20054069; + //BA.debugLineNum = 20054069;BA.debugLine="lblTipo.TextColor = Colors.Black"; +_lbltipo.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=20054070; + //BA.debugLineNum = 20054070;BA.debugLine="lblTipo.TextSize = 14"; +_lbltipo.setTextSize((float) (14)); +RDebugUtils.currentLine=20054071; + //BA.debugLineNum = 20054071;BA.debugLine="lblTipo.Gravity = Gravity.LEFT"; +_lbltipo.setGravity(__c.Gravity.LEFT); +RDebugUtils.currentLine=20054075; + //BA.debugLineNum = 20054075;BA.debugLine="base.AddView(lblTipo, base.Width - 145dip, vT"; +_base.AddView((android.view.View)(_lbltipo.getObject()),(int) (_base.getWidth()-__c.DipToCurrent((int) (145))),_vtop,__c.DipToCurrent((int) (140)),__c.DipToCurrent((int) (22))); +RDebugUtils.currentLine=20054078; + //BA.debugLineNum = 20054078;BA.debugLine="Dim lblPrice As Label : lblPrice.Initialize(\""; +_lblprice = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=20054078; + //BA.debugLineNum = 20054078;BA.debugLine="Dim lblPrice As Label : lblPrice.Initialize(\""; +_lblprice.Initialize(ba,""); +RDebugUtils.currentLine=20054079; + //BA.debugLineNum = 20054079;BA.debugLine="lblPrice.Text = \"$\" & NumberFormat2(pres.Get("; +_lblprice.setText(BA.ObjectToCharSequence("$"+__c.NumberFormat2((double)(BA.ObjectToNumber(_pres.Get((Object)("precio")))),(int) (1),(int) (2),(int) (2),__c.False))); +RDebugUtils.currentLine=20054080; + //BA.debugLineNum = 20054080;BA.debugLine="lblPrice.TextColor = 0xFF008000"; +_lblprice.setTextColor(((int)0xff008000)); +RDebugUtils.currentLine=20054081; + //BA.debugLineNum = 20054081;BA.debugLine="lblPrice.TextSize = 14 ' <--- Tamb"; +_lblprice.setTextSize((float) (14)); +RDebugUtils.currentLine=20054082; + //BA.debugLineNum = 20054082;BA.debugLine="lblPrice.Gravity = Gravity.CENTER_VERTICAL"; +_lblprice.setGravity(__c.Gravity.CENTER_VERTICAL); +RDebugUtils.currentLine=20054083; + //BA.debugLineNum = 20054083;BA.debugLine="base.AddView(lblPrice, base.Width - 215dip, v"; +_base.AddView((android.view.View)(_lblprice.getObject()),(int) (_base.getWidth()-__c.DipToCurrent((int) (215))),(int) (_vtop+__c.DipToCurrent((int) (22))),__c.DipToCurrent((int) (65)),__c.DipToCurrent((int) (42))); +RDebugUtils.currentLine=20054086; + //BA.debugLineNum = 20054086;BA.debugLine="Dim bM As Button : bM.Initialize(\"btnMenosDin"; +_bm = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=20054086; + //BA.debugLineNum = 20054086;BA.debugLine="Dim bM As Button : bM.Initialize(\"btnMenosDin"; +_bm.Initialize(ba,"btnMenosDinamico"); +RDebugUtils.currentLine=20054087; + //BA.debugLineNum = 20054087;BA.debugLine="bM.Text = \"-\" : bM.TextColor = Colors.White :"; +_bm.setText(BA.ObjectToCharSequence("-")); +RDebugUtils.currentLine=20054087; + //BA.debugLineNum = 20054087;BA.debugLine="bM.Text = \"-\" : bM.TextColor = Colors.White :"; +_bm.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=20054087; + //BA.debugLineNum = 20054087;BA.debugLine="bM.Text = \"-\" : bM.TextColor = Colors.White :"; +_bm.setColor(((int)0xfff4511e)); +RDebugUtils.currentLine=20054089; + //BA.debugLineNum = 20054089;BA.debugLine="Dim et As EditText : et.Initialize(\"etCantDin"; +_et = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=20054089; + //BA.debugLineNum = 20054089;BA.debugLine="Dim et As EditText : et.Initialize(\"etCantDin"; +_et.Initialize(ba,"etCantDinamico"); +RDebugUtils.currentLine=20054090; + //BA.debugLineNum = 20054090;BA.debugLine="et.Text = pres.Get(\"cantidad\")"; +_et.setText(BA.ObjectToCharSequence(_pres.Get((Object)("cantidad")))); +RDebugUtils.currentLine=20054091; + //BA.debugLineNum = 20054091;BA.debugLine="et.InputType = et.INPUT_TYPE_NUMBERS"; +_et.setInputType(_et.INPUT_TYPE_NUMBERS); +RDebugUtils.currentLine=20054092; + //BA.debugLineNum = 20054092;BA.debugLine="et.Gravity = Gravity.CENTER"; +_et.setGravity(__c.Gravity.CENTER); +RDebugUtils.currentLine=20054093; + //BA.debugLineNum = 20054093;BA.debugLine="et.Background = Null"; +_et.setBackground((android.graphics.drawable.Drawable)(__c.Null)); +RDebugUtils.currentLine=20054095; + //BA.debugLineNum = 20054095;BA.debugLine="Dim bP As Button : bP.Initialize(\"btnMasDinam"; +_bp = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=20054095; + //BA.debugLineNum = 20054095;BA.debugLine="Dim bP As Button : bP.Initialize(\"btnMasDinam"; +_bp.Initialize(ba,"btnMasDinamico"); +RDebugUtils.currentLine=20054096; + //BA.debugLineNum = 20054096;BA.debugLine="bP.Text = \"+\" : bP.TextColor = Colors.White :"; +_bp.setText(BA.ObjectToCharSequence("+")); +RDebugUtils.currentLine=20054096; + //BA.debugLineNum = 20054096;BA.debugLine="bP.Text = \"+\" : bP.TextColor = Colors.White :"; +_bp.setTextColor(__c.Colors.White); +RDebugUtils.currentLine=20054096; + //BA.debugLineNum = 20054096;BA.debugLine="bP.Text = \"+\" : bP.TextColor = Colors.White :"; +_bp.setColor(((int)0xff000080)); +RDebugUtils.currentLine=20054098; + //BA.debugLineNum = 20054098;BA.debugLine="Dim tagInfo As Map = CreateMap(\"id\": data.Get"; +_taginfo = new anywheresoftware.b4a.objects.collections.Map(); +_taginfo = __c.createMap(new Object[] {(Object)("id"),_data.Get((Object)("id")),(Object)("col"),_pres.Get((Object)("col_index")),(Object)("et"),(Object)(_et.getObject()),(Object)("pres"),(Object)(_pres.getObject()),(Object)("almacen"),_data.Get((Object)("almacen"))}); +RDebugUtils.currentLine=20054099; + //BA.debugLineNum = 20054099;BA.debugLine="bM.Tag = tagInfo : bP.Tag = tagInfo : et.Tag"; +_bm.setTag((Object)(_taginfo.getObject())); +RDebugUtils.currentLine=20054099; + //BA.debugLineNum = 20054099;BA.debugLine="bM.Tag = tagInfo : bP.Tag = tagInfo : et.Tag"; +_bp.setTag((Object)(_taginfo.getObject())); +RDebugUtils.currentLine=20054099; + //BA.debugLineNum = 20054099;BA.debugLine="bM.Tag = tagInfo : bP.Tag = tagInfo : et.Tag"; +_et.setTag((Object)(_taginfo.getObject())); +RDebugUtils.currentLine=20054102; + //BA.debugLineNum = 20054102;BA.debugLine="base.AddView(bM, base.Width - 145dip, vTop +"; +_base.AddView((android.view.View)(_bm.getObject()),(int) (_base.getWidth()-__c.DipToCurrent((int) (145))),(int) (_vtop+__c.DipToCurrent((int) (22))),__c.DipToCurrent((int) (38)),__c.DipToCurrent((int) (42))); +RDebugUtils.currentLine=20054103; + //BA.debugLineNum = 20054103;BA.debugLine="base.AddView(et, base.Width - 105dip, vTop +"; +_base.AddView((android.view.View)(_et.getObject()),(int) (_base.getWidth()-__c.DipToCurrent((int) (105))),(int) (_vtop+__c.DipToCurrent((int) (22))),__c.DipToCurrent((int) (45)),__c.DipToCurrent((int) (42))); +RDebugUtils.currentLine=20054104; + //BA.debugLineNum = 20054104;BA.debugLine="base.AddView(bP, base.Width - 58dip, vTop + 2"; +_base.AddView((android.view.View)(_bp.getObject()),(int) (_base.getWidth()-__c.DipToCurrent((int) (58))),(int) (_vtop+__c.DipToCurrent((int) (22))),__c.DipToCurrent((int) (38)),__c.DipToCurrent((int) (42))); +RDebugUtils.currentLine=20054107; + //BA.debugLineNum = 20054107;BA.debugLine="vTop = vTop + 75dip"; +_vtop = (int) (_vtop+__c.DipToCurrent((int) (75))); +RDebugUtils.currentLine=20054108; + //BA.debugLineNum = 20054108;BA.debugLine="et.Enabled = False"; +_et.setEnabled(__c.False); +RDebugUtils.currentLine=20054109; + //BA.debugLineNum = 20054109;BA.debugLine="et.TextColor = Colors.Black"; +_et.setTextColor(__c.Colors.Black); + } +}; + }; + }else { +RDebugUtils.currentLine=20054113; + //BA.debugLineNum = 20054113;BA.debugLine="If Pnl.NumberOfViews > 0 Then Pnl.RemoveAllView"; +if (_pnl.getNumberOfViews()>0) { +_pnl.RemoveAllViews();}; + }; + } +}; +RDebugUtils.currentLine=20054116; + //BA.debugLineNum = 20054116;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(SHARK2.keymon.com.mx.c_productos __ref,String _text,String _preciou,int _inv,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_text,_preciou,_inv,_width,_height,_img,_prodid,_bc,_tc}));} +RDebugUtils.currentLine=18677760; + //BA.debugLineNum = 18677760;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +RDebugUtils.currentLine=18677775; + //BA.debugLineNum = 18677775;BA.debugLine="End Sub"; +return null; +} +public String _et_pcant_focuschanged(SHARK2.keymon.com.mx.c_productos __ref,boolean _hasfocus) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "et_pcant_focuschanged", false)) + {return ((String) Debug.delegate(ba, "et_pcant_focuschanged", new Object[] {_hasfocus}));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; +String _id = ""; +RDebugUtils.currentLine=18874368; + //BA.debugLineNum = 18874368;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo"; +RDebugUtils.currentLine=18874369; + //BA.debugLineNum = 18874369;BA.debugLine="LogColor($\"focus changed=${HasFocus}\"$, Colors.Ma"; +__c.LogImpl("518874369",("focus changed="+__c.SmartStringFormatter("",(Object)(_hasfocus))+""),__c.Colors.Magenta); +RDebugUtils.currentLine=18874370; + //BA.debugLineNum = 18874370;BA.debugLine="If et_pCant.Text = \"\" Then et_pCant.Text = \"0\""; +if ((__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("0"));}; +RDebugUtils.currentLine=18874371; + //BA.debugLineNum = 18874371;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=18874372; + //BA.debugLineNum = 18874372;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=18874373; + //BA.debugLineNum = 18874373;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=18874374; + //BA.debugLineNum = 18874374;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); +RDebugUtils.currentLine=18874375; + //BA.debugLineNum = 18874375;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); +RDebugUtils.currentLine=18874376; + //BA.debugLineNum = 18874376;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("id"))); +RDebugUtils.currentLine=18874377; + //BA.debugLineNum = 18874377;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = \"0\""; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence("0"));}; +RDebugUtils.currentLine=18874378; + //BA.debugLineNum = 18874378;BA.debugLine="etCantHasFocus = HasFocus"; +__ref._etcanthasfocus /*boolean*/ = _hasfocus; +RDebugUtils.currentLine=18874379; + //BA.debugLineNum = 18874379;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +__c.LogImpl("518874379",_lacant.getText(),__c.Colors.Red); +RDebugUtils.currentLine=18874380; + //BA.debugLineNum = 18874380;BA.debugLine="If laCant2.IsInitialized Then"; +if (_lacant2.IsInitialized()) { +RDebugUtils.currentLine=18874381; + //BA.debugLineNum = 18874381;BA.debugLine="totalcajasmaspiezas = laCant.Text + laCant2.Text"; +__ref._totalcajasmaspiezas /*int*/ = (int) ((double)(Double.parseDouble(_lacant.getText()))+(double)(Double.parseDouble(_lacant2.getText()))); + }else { +RDebugUtils.currentLine=18874383; + //BA.debugLineNum = 18874383;BA.debugLine="totalcajasmaspiezas = laCant.Text"; +__ref._totalcajasmaspiezas /*int*/ = (int)(Double.parseDouble(_lacant.getText())); + }; +RDebugUtils.currentLine=18874385; + //BA.debugLineNum = 18874385;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +__ref._invtotal /*int*/ = (int) (__ref._totalcajasmaspiezas /*int*/ +(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); +RDebugUtils.currentLine=18874387; + //BA.debugLineNum = 18874387;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=18874388; + //BA.debugLineNum = 18874388;BA.debugLine="End Sub"; +return ""; +} +public String _et_pcant_textchanged(SHARK2.keymon.com.mx.c_productos __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "et_pcant_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_pcant_textchanged", new Object[] {_old,_new}));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lprodx = null; +String _id = ""; +String _precio = ""; +String _inv = ""; +String _nombrex = ""; +anywheresoftware.b4a.objects.B4XViewWrapper _panelcajas = null; +anywheresoftware.b4a.objects.B4XViewWrapper _panelpiezas = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _fg = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; +String _invactualizado = ""; +int _maxcajas = 0; +RDebugUtils.currentLine=18939904; + //BA.debugLineNum = 18939904;BA.debugLine="Private Sub et_pCant_TextChanged (Old As String, N"; +RDebugUtils.currentLine=18939907; + //BA.debugLineNum = 18939907;BA.debugLine="If etCantHasFocus = True Then"; +if (__ref._etcanthasfocus /*boolean*/ ==__c.True) { +RDebugUtils.currentLine=18939908; + //BA.debugLineNum = 18939908;BA.debugLine="LogColor($\"txt changed: ${Old}|${New}, hasfocus="; +__c.LogImpl("518939908",("txt changed: "+__c.SmartStringFormatter("",(Object)(_old))+"|"+__c.SmartStringFormatter("",(Object)(_new))+", hasfocus="+__c.SmartStringFormatter("",(Object)(__ref._etcanthasfocus /*boolean*/ ))+""),__c.Colors.Magenta); +RDebugUtils.currentLine=18939909; + //BA.debugLineNum = 18939909;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView("; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=18939910; + //BA.debugLineNum = 18939910;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(inde"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=18939911; + //BA.debugLineNum = 18939911;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=18939912; + //BA.debugLineNum = 18939912;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); +RDebugUtils.currentLine=18939913; + //BA.debugLineNum = 18939913;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView("; +_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); +RDebugUtils.currentLine=18939914; + //BA.debugLineNum = 18939914;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +_lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lprodx = _pnl.GetView((int) (1)); +RDebugUtils.currentLine=18939915; + //BA.debugLineNum = 18939915;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index"; +_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("id"))); +RDebugUtils.currentLine=18939916; + //BA.debugLineNum = 18939916;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(i"; +_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio"))); +RDebugUtils.currentLine=18939917; + //BA.debugLineNum = 18939917;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(inde"; +_inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("almacen"))); +RDebugUtils.currentLine=18939918; + //BA.debugLineNum = 18939918;BA.debugLine="Private inv As String=Subs.traeinventario(id)"; +_inv = _subs._traeinventario /*String*/ (ba,_id); +RDebugUtils.currentLine=18939919; + //BA.debugLineNum = 18939919;BA.debugLine="Private nombreX As String = Subs.traeProdNombre("; +_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); +RDebugUtils.currentLine=18939920; + //BA.debugLineNum = 18939920;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; +_panelcajas = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_panelcajas = _pnl.GetView((int) (3)); +RDebugUtils.currentLine=18939921; + //BA.debugLineNum = 18939921;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +_panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_panelpiezas = _pnl.GetView((int) (2)); +RDebugUtils.currentLine=18939922; + //BA.debugLineNum = 18939922;BA.debugLine="If(New = \"\" Or New = Null Or New = \"-\") Then New"; +if (((_new).equals("") || _new== null || (_new).equals("-"))) { +_new = BA.NumberToString(0);}; +RDebugUtils.currentLine=18939924; + //BA.debugLineNum = 18939924;BA.debugLine="If(New > invTotal) Then"; +if (((double)(Double.parseDouble(_new))>__ref._invtotal /*int*/ )) { +RDebugUtils.currentLine=18939925; + //BA.debugLineNum = 18939925;BA.debugLine="Sender.As(EditText).text = invTotal"; +((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).setText(BA.ObjectToCharSequence(__ref._invtotal /*int*/ )); + }; +RDebugUtils.currentLine=18939928; + //BA.debugLineNum = 18939928;BA.debugLine="If New = \"\" Then New = 0"; +if ((_new).equals("")) { +_new = BA.NumberToString(0);}; +RDebugUtils.currentLine=18939929; + //BA.debugLineNum = 18939929;BA.debugLine="If Old = \"\" Or Old = Null Then New = 0"; +if ((_old).equals("") || _old== null) { +_new = BA.NumberToString(0);}; +RDebugUtils.currentLine=18939930; + //BA.debugLineNum = 18939930;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; +if ((_lacant.getText()).equals("")) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=18939931; + //BA.debugLineNum = 18939931;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; +__c.LogImpl("518939931",_lacant.getText(),__c.Colors.Red); +RDebugUtils.currentLine=18939932; + //BA.debugLineNum = 18939932;BA.debugLine="If New > 0 Then"; +if ((double)(Double.parseDouble(_new))>0) { +RDebugUtils.currentLine=18939933; + //BA.debugLineNum = 18939933;BA.debugLine="panelcajas.Visible = False"; +_panelcajas.setVisible(__c.False); + }else +{RDebugUtils.currentLine=18939934; + //BA.debugLineNum = 18939934;BA.debugLine="Else If New = 0 Then"; +if ((_new).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=18939935; + //BA.debugLineNum = 18939935;BA.debugLine="panelcajas.Visible = True"; +_panelcajas.setVisible(__c.True); + }} +; +RDebugUtils.currentLine=18939937; + //BA.debugLineNum = 18939937;BA.debugLine="Log(Old)"; +__c.LogImpl("518939937",_old,0); +RDebugUtils.currentLine=18939938; + //BA.debugLineNum = 18939938;BA.debugLine="If Old <> \"\" Then"; +if ((_old).equals("") == false) { +RDebugUtils.currentLine=18939939; + //BA.debugLineNum = 18939939;BA.debugLine="Log(\"--------------->Credito Disponible: \"&B4XP"; +__c.LogImpl("518939939","--------------->Credito Disponible: "+_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*SHARK2.keymon.com.mx.c_cliente*/ ._credito_diponible /*String*/ ,0); +RDebugUtils.currentLine=18939940; + //BA.debugLineNum = 18939940;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_CRE"; +if ((_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_CREDITO")) { +RDebugUtils.currentLine=18939941; + //BA.debugLineNum = 18939941;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"Sel"; +_fg = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_fg = (anywheresoftware.b4a.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 COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))); +RDebugUtils.currentLine=18939942; + //BA.debugLineNum = 18939942;BA.debugLine="fg.Position = 0"; +_fg.setPosition((int) (0)); +RDebugUtils.currentLine=18939943; + //BA.debugLineNum = 18939943;BA.debugLine="If Old = \"\" Or Old = Null Then New = 0"; +if ((_old).equals("") || _old== null) { +_new = BA.NumberToString(0);}; +RDebugUtils.currentLine=18939944; + //BA.debugLineNum = 18939944;BA.debugLine="Log(precio &\" * \"&Old)"; +__c.LogImpl("518939944",_precio+" * "+_old,0); +RDebugUtils.currentLine=18939945; + //BA.debugLineNum = 18939945;BA.debugLine="Log(fg.GetString(\"COSTO\") +(precio*New))"; +__c.LogImpl("518939945",BA.NumberToString((double)(Double.parseDouble(_fg.GetString("COSTO")))+((double)(Double.parseDouble(_precio))*(double)(Double.parseDouble(_new)))),0); +RDebugUtils.currentLine=18939946; + //BA.debugLineNum = 18939946;BA.debugLine="If fg.GetString(\"COSTO\") +((precio*New)-(preci"; +if ((double)(Double.parseDouble(_fg.GetString("COSTO")))+(((double)(Double.parseDouble(_precio))*(double)(Double.parseDouble(_new)))-((double)(Double.parseDouble(_precio))*(double)(Double.parseDouble(_old))))<=(double)(Double.parseDouble(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*SHARK2.keymon.com.mx.c_cliente*/ ._credito_diponible /*String*/ ))) { +RDebugUtils.currentLine=18939952; + //BA.debugLineNum = 18939952;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant.Tex"; +if (__c.Not((_old).equals("0") && (_new).equals("")) && _lacant.getText()!= null && (_lacant.getText()).equals("") == false && __ref._etcanthasfocus /*boolean*/ ) { +RDebugUtils.currentLine=18939953; + //BA.debugLineNum = 18939953;BA.debugLine="Log(\"actualizamos producto\")"; +__c.LogImpl("518939953","actualizamos producto",0); +RDebugUtils.currentLine=18939954; + //BA.debugLineNum = 18939954;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, pre"; +_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,(int)(Double.parseDouble(_lacant.getText())),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); +RDebugUtils.currentLine=18939955; + //BA.debugLineNum = 18939955;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); + }; +RDebugUtils.currentLine=18939966; + //BA.debugLineNum = 18939966;BA.debugLine="If 1 = 1 Then"; +if (1==1) { +RDebugUtils.currentLine=18939967; + //BA.debugLineNum = 18939967;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=18939968; + //BA.debugLineNum = 18939968;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=18939969; + //BA.debugLineNum = 18939969;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery"; +_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=18939970; + //BA.debugLineNum = 18939970;BA.debugLine="Private invActualizado As String = \"0\""; +_invactualizado = "0"; +RDebugUtils.currentLine=18939972; + //BA.debugLineNum = 18939972;BA.debugLine="o.Position = 0"; +_o.setPosition((int) (0)); +RDebugUtils.currentLine=18939973; + //BA.debugLineNum = 18939973;BA.debugLine="invActualizado = Subs.traeinventario(id)"; +_invactualizado = _subs._traeinventario /*String*/ (ba,_id); +RDebugUtils.currentLine=18939974; + //BA.debugLineNum = 18939974;BA.debugLine="Log(Subs.traeinventario(id))"; +__c.LogImpl("518939974",_subs._traeinventario /*String*/ (ba,_id),0); +RDebugUtils.currentLine=18939976; + //BA.debugLineNum = 18939976;BA.debugLine="If New = \"\" Then New = 0"; +if ((_new).equals("")) { +_new = BA.NumberToString(0);}; +RDebugUtils.currentLine=18939977; + //BA.debugLineNum = 18939977;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get("; +if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion")))))==1) { +RDebugUtils.currentLine=18939978; + //BA.debugLineNum = 18939978;BA.debugLine="Private maxcajas As Int = 0"; +_maxcajas = (int) (0); +RDebugUtils.currentLine=18939979; + //BA.debugLineNum = 18939979;BA.debugLine="Log(\"cajas a 0\")"; +__c.LogImpl("518939979","cajas a 0",0); + }else { +RDebugUtils.currentLine=18939981; + //BA.debugLineNum = 18939981;BA.debugLine="Private maxcajas As Int = invActualizado/cl"; +_maxcajas = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))))); +RDebugUtils.currentLine=18939982; + //BA.debugLineNum = 18939982;BA.debugLine="Log(\"cajas no a 0\")"; +__c.LogImpl("518939982","cajas no a 0",0); + }; +RDebugUtils.currentLine=18939984; + //BA.debugLineNum = 18939984;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(no"; +_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+(_subs._traeinventario /*String*/ (ba,_id)))).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas))+""))).PopAll().getObject())); + }; + }else { +RDebugUtils.currentLine=18939987; + //BA.debugLineNum = 18939987;BA.debugLine="laCant.Text = 0"; +_lacant.setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=18939988; + //BA.debugLineNum = 18939988;BA.debugLine="MsgboxAsync(\"No se puede meter mas venta a cr"; +__c.MsgboxAsync(BA.ObjectToCharSequence("No se puede meter mas venta a credito por que supera el limite del credito"),BA.ObjectToCharSequence("Atencion"),ba); + }; + }else { +RDebugUtils.currentLine=18939996; + //BA.debugLineNum = 18939996;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant.Text"; +if (__c.Not((_old).equals("0") && (_new).equals("")) && _lacant.getText()!= null && (_lacant.getText()).equals("") == false && __ref._etcanthasfocus /*boolean*/ ) { +RDebugUtils.currentLine=18939997; + //BA.debugLineNum = 18939997;BA.debugLine="Log(\"actualizamos producto\")"; +__c.LogImpl("518939997","actualizamos producto",0); +RDebugUtils.currentLine=18939998; + //BA.debugLineNum = 18939998;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, prec"; +_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,(int)(Double.parseDouble(_lacant.getText())),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); +RDebugUtils.currentLine=18939999; + //BA.debugLineNum = 18939999;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); + }; +RDebugUtils.currentLine=18940010; + //BA.debugLineNum = 18940010;BA.debugLine="If 1 = 1 Then"; +if (1==1) { +RDebugUtils.currentLine=18940011; + //BA.debugLineNum = 18940011;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=18940012; + //BA.debugLineNum = 18940012;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=18940013; + //BA.debugLineNum = 18940013;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery("; +_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=18940014; + //BA.debugLineNum = 18940014;BA.debugLine="Private invActualizado As String = \"0\""; +_invactualizado = "0"; +RDebugUtils.currentLine=18940016; + //BA.debugLineNum = 18940016;BA.debugLine="o.Position = 0"; +_o.setPosition((int) (0)); +RDebugUtils.currentLine=18940017; + //BA.debugLineNum = 18940017;BA.debugLine="invActualizado = Subs.traeinventario(id)"; +_invactualizado = _subs._traeinventario /*String*/ (ba,_id); +RDebugUtils.currentLine=18940018; + //BA.debugLineNum = 18940018;BA.debugLine="Log(Subs.traeinventario(id))"; +__c.LogImpl("518940018",_subs._traeinventario /*String*/ (ba,_id),0); +RDebugUtils.currentLine=18940020; + //BA.debugLineNum = 18940020;BA.debugLine="If New = \"\" Then New = 0"; +if ((_new).equals("")) { +_new = BA.NumberToString(0);}; +RDebugUtils.currentLine=18940021; + //BA.debugLineNum = 18940021;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\""; +if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion")))))==1) { +RDebugUtils.currentLine=18940022; + //BA.debugLineNum = 18940022;BA.debugLine="Private maxcajas As Int = 0"; +_maxcajas = (int) (0); +RDebugUtils.currentLine=18940023; + //BA.debugLineNum = 18940023;BA.debugLine="Log(\"cajas a 0\")"; +__c.LogImpl("518940023","cajas a 0",0); + }else { +RDebugUtils.currentLine=18940025; + //BA.debugLineNum = 18940025;BA.debugLine="Private maxcajas As Int = invActualizado/clv"; +_maxcajas = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))))); +RDebugUtils.currentLine=18940026; + //BA.debugLineNum = 18940026;BA.debugLine="Log(\"cajas no a 0\")"; +__c.LogImpl("518940026","cajas no a 0",0); + }; +RDebugUtils.currentLine=18940028; + //BA.debugLineNum = 18940028;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(nom"; +_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+(_subs._traeinventario /*String*/ (ba,_id)))).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas))+""))).PopAll().getObject())); + }; + }; + }; +RDebugUtils.currentLine=18940032; + //BA.debugLineNum = 18940032;BA.debugLine="If New > 0 Then"; +if ((double)(Double.parseDouble(_new))>0) { +RDebugUtils.currentLine=18940033; + //BA.debugLineNum = 18940033;BA.debugLine="panelcajas.Visible = False"; +_panelcajas.setVisible(__c.False); + }else +{RDebugUtils.currentLine=18940034; + //BA.debugLineNum = 18940034;BA.debugLine="Else If New = 0 Then"; +if ((_new).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=18940035; + //BA.debugLineNum = 18940035;BA.debugLine="If maxcajas = 0 Then"; +if (_maxcajas==0) { +RDebugUtils.currentLine=18940036; + //BA.debugLineNum = 18940036;BA.debugLine="panelcajas.Visible = False"; +_panelcajas.setVisible(__c.False); + }else { +RDebugUtils.currentLine=18940038; + //BA.debugLineNum = 18940038;BA.debugLine="panelcajas.Visible = True"; +_panelcajas.setVisible(__c.True); + }; + }} +; + }; +RDebugUtils.currentLine=18940042; + //BA.debugLineNum = 18940042;BA.debugLine="End Sub"; +return ""; +} +public String _et_pcantc_focuschanged(SHARK2.keymon.com.mx.c_productos __ref,boolean _hasfocus) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "et_pcantc_focuschanged", false)) + {return ((String) Debug.delegate(ba, "et_pcantc_focuschanged", new Object[] {_hasfocus}));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; +String _id = ""; +RDebugUtils.currentLine=20447232; + //BA.debugLineNum = 20447232;BA.debugLine="Private Sub et_pCantc_FocusChanged (HasFocus As Bo"; +RDebugUtils.currentLine=20447233; + //BA.debugLineNum = 20447233;BA.debugLine="LogColor($\"focus changed=${HasFocus}\"$, Colors.Ma"; +__c.LogImpl("520447233",("focus changed="+__c.SmartStringFormatter("",(Object)(_hasfocus))+""),__c.Colors.Magenta); +RDebugUtils.currentLine=20447234; + //BA.debugLineNum = 20447234;BA.debugLine="If et_pCantc.Text = \"\" Then et_pCantc.Text = \"0\""; +if ((__ref._et_pcantc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +__ref._et_pcantc /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("0"));}; +RDebugUtils.currentLine=20447235; + //BA.debugLineNum = 20447235;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=20447236; + //BA.debugLineNum = 20447236;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=20447237; + //BA.debugLineNum = 20447237;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=20447238; + //BA.debugLineNum = 20447238;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); +RDebugUtils.currentLine=20447239; + //BA.debugLineNum = 20447239;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; +_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); +RDebugUtils.currentLine=20447240; + //BA.debugLineNum = 20447240;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; +_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("id"))); +RDebugUtils.currentLine=20447241; + //BA.debugLineNum = 20447241;BA.debugLine="If laCant2.Text = \"\" Then laCant2.Text = \"0\""; +if ((_lacant2.getText()).equals("")) { +_lacant2.setText(BA.ObjectToCharSequence("0"));}; +RDebugUtils.currentLine=20447242; + //BA.debugLineNum = 20447242;BA.debugLine="etCantHasFocus = HasFocus"; +__ref._etcanthasfocus /*boolean*/ = _hasfocus; +RDebugUtils.currentLine=20447249; + //BA.debugLineNum = 20447249;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; +__ref._invtotal /*int*/ = (int) (__ref._totalcajasmaspiezas /*int*/ +(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); +RDebugUtils.currentLine=20447251; + //BA.debugLineNum = 20447251;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=20447252; + //BA.debugLineNum = 20447252;BA.debugLine="End Sub"; +return ""; +} +public String _et_pcantc_textchanged(SHARK2.keymon.com.mx.c_productos __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "et_pcantc_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_pcantc_textchanged", new Object[] {_old,_new}));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lprodx = null; +String _id = ""; +String _precio = ""; +String _inv = ""; +String _nombrex = ""; +anywheresoftware.b4a.objects.B4XViewWrapper _panelcajas = null; +anywheresoftware.b4a.objects.B4XViewWrapper _panelpiezas = null; +String _conversion = ""; +String _preciocaja = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _fg = null; +int _totalcajaspermi = 0; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; +String _invactualizado = ""; +int _maxcajas2 = 0; +RDebugUtils.currentLine=20512768; + //BA.debugLineNum = 20512768;BA.debugLine="Private Sub et_pCantc_TextChanged (Old As String,"; +RDebugUtils.currentLine=20512771; + //BA.debugLineNum = 20512771;BA.debugLine="If etCantHasFocus = True Then"; +if (__ref._etcanthasfocus /*boolean*/ ==__c.True) { +RDebugUtils.currentLine=20512774; + //BA.debugLineNum = 20512774;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView("; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=20512775; + //BA.debugLineNum = 20512775;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(inde"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=20512776; + //BA.debugLineNum = 20512776;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=20512777; + //BA.debugLineNum = 20512777;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); +RDebugUtils.currentLine=20512778; + //BA.debugLineNum = 20512778;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView("; +_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); +RDebugUtils.currentLine=20512779; + //BA.debugLineNum = 20512779;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; +_lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lprodx = _pnl.GetView((int) (1)); +RDebugUtils.currentLine=20512780; + //BA.debugLineNum = 20512780;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index"; +_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("id"))); +RDebugUtils.currentLine=20512781; + //BA.debugLineNum = 20512781;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(i"; +_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio"))); +RDebugUtils.currentLine=20512782; + //BA.debugLineNum = 20512782;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(inde"; +_inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("almacen"))); +RDebugUtils.currentLine=20512783; + //BA.debugLineNum = 20512783;BA.debugLine="Private inv As String=Subs.traeinventario(id)"; +_inv = _subs._traeinventario /*String*/ (ba,_id); +RDebugUtils.currentLine=20512784; + //BA.debugLineNum = 20512784;BA.debugLine="Private nombreX As String = Subs.traeProdNombre("; +_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); +RDebugUtils.currentLine=20512785; + //BA.debugLineNum = 20512785;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; +_panelcajas = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_panelcajas = _pnl.GetView((int) (3)); +RDebugUtils.currentLine=20512786; + //BA.debugLineNum = 20512786;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; +_panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_panelpiezas = _pnl.GetView((int) (2)); +RDebugUtils.currentLine=20512787; + //BA.debugLineNum = 20512787;BA.debugLine="Private conversion As String = clv_prods_ll.GetV"; +_conversion = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))); +RDebugUtils.currentLine=20512788; + //BA.debugLineNum = 20512788;BA.debugLine="Private preciocaja As String = clv_prods_ll.GetV"; +_preciocaja = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio_caja"))); +RDebugUtils.currentLine=20512789; + //BA.debugLineNum = 20512789;BA.debugLine="invTotal = Subs.traeinventario(id)"; +__ref._invtotal /*int*/ = (int)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id))); +RDebugUtils.currentLine=20512790; + //BA.debugLineNum = 20512790;BA.debugLine="Log(\"inventario total \"& invTotal)"; +__c.LogImpl("520512790","inventario total "+BA.NumberToString(__ref._invtotal /*int*/ ),0); +RDebugUtils.currentLine=20512791; + //BA.debugLineNum = 20512791;BA.debugLine="If(New = \"\" Or New = Null Or New = \"-\") Then New"; +if (((_new).equals("") || _new== null || (_new).equals("-"))) { +_new = BA.NumberToString(0);}; +RDebugUtils.currentLine=20512793; + //BA.debugLineNum = 20512793;BA.debugLine="Log(($\"new*conversion ${New * conversion} > ${i"; +__c.LogImpl("520512793",(("new*conversion "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_new))*(double)(Double.parseDouble(_conversion))))+" > "+__c.SmartStringFormatter("",(Object)(__ref._invtotal /*int*/ ))+" = "+__c.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_new))*(double)(Double.parseDouble(_conversion)))>__ref._invtotal /*int*/ )))+"")),0); +RDebugUtils.currentLine=20512794; + //BA.debugLineNum = 20512794;BA.debugLine="If((New * conversion) > invTotal) Then"; +if ((((double)(Double.parseDouble(_new))*(double)(Double.parseDouble(_conversion)))>__ref._invtotal /*int*/ )) { +RDebugUtils.currentLine=20512796; + //BA.debugLineNum = 20512796;BA.debugLine="Sender.As(EditText).text = 0"; +((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=20512797; + //BA.debugLineNum = 20512797;BA.debugLine="New = 0"; +_new = BA.NumberToString(0); +RDebugUtils.currentLine=20512799; + //BA.debugLineNum = 20512799;BA.debugLine="pnl.GetView(2).Visible = True"; +_pnl.GetView((int) (2)).setVisible(__c.True); +RDebugUtils.currentLine=20512800; + //BA.debugLineNum = 20512800;BA.debugLine="Log(\"ponemos en 0\")"; +__c.LogImpl("520512800","ponemos en 0",0); + }; +RDebugUtils.currentLine=20512802; + //BA.debugLineNum = 20512802;BA.debugLine="Log(\"--------------->Credito Disponible: \"&B4XPa"; +__c.LogImpl("520512802","--------------->Credito Disponible: "+_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*SHARK2.keymon.com.mx.c_cliente*/ ._credito_diponible /*String*/ ,0); +RDebugUtils.currentLine=20512803; + //BA.debugLineNum = 20512803;BA.debugLine="Dim fg As Cursor = Starter.skmt.ExecQuery(\"Selec"; +_fg = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_fg = (anywheresoftware.b4a.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 COSTO FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))); +RDebugUtils.currentLine=20512804; + //BA.debugLineNum = 20512804;BA.debugLine="fg.Position = 0"; +_fg.setPosition((int) (0)); +RDebugUtils.currentLine=20512805; + //BA.debugLineNum = 20512805;BA.debugLine="If Old = \"\" Or Old = Null Then New = 0"; +if ((_old).equals("") || _old== null) { +_new = BA.NumberToString(0);}; +RDebugUtils.currentLine=20512806; + //BA.debugLineNum = 20512806;BA.debugLine="Log(preciocaja &\" * \"&Old)"; +__c.LogImpl("520512806",_preciocaja+" * "+_old,0); +RDebugUtils.currentLine=20512807; + //BA.debugLineNum = 20512807;BA.debugLine="Log((fg.GetString(\"COSTO\") + (preciocaja*New)) &"; +__c.LogImpl("520512807",BA.NumberToString(((double)(Double.parseDouble(_fg.GetString("COSTO")))+((double)(Double.parseDouble(_preciocaja))*(double)(Double.parseDouble(_new)))))+" Monto Actual<-------",0); +RDebugUtils.currentLine=20512808; + //BA.debugLineNum = 20512808;BA.debugLine="If fg.GetString(\"COSTO\") +((preciocaja*New)) >"; +if ((double)(Double.parseDouble(_fg.GetString("COSTO")))+(((double)(Double.parseDouble(_preciocaja))*(double)(Double.parseDouble(_new))))>(double)(Double.parseDouble(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*SHARK2.keymon.com.mx.c_cliente*/ ._credito_diponible /*String*/ ))) { +RDebugUtils.currentLine=20512809; + //BA.debugLineNum = 20512809;BA.debugLine="laCant2.Text = 0"; +_lacant2.setText(BA.ObjectToCharSequence(0)); +RDebugUtils.currentLine=20512810; + //BA.debugLineNum = 20512810;BA.debugLine="MsgboxAsync(\"No se puede meter mas venta a cred"; +__c.MsgboxAsync(BA.ObjectToCharSequence("No se puede meter mas venta a credito por que supera el limite del credito"),BA.ObjectToCharSequence("Atencion"),ba); + }; +RDebugUtils.currentLine=20512813; + //BA.debugLineNum = 20512813;BA.debugLine="Log(\"inventario total despues de max \"& invTotal"; +__c.LogImpl("520512813","inventario total despues de max "+BA.NumberToString(__ref._invtotal /*int*/ ),0); +RDebugUtils.currentLine=20512814; + //BA.debugLineNum = 20512814;BA.debugLine="If New = \"\" Then New = 0"; +if ((_new).equals("")) { +_new = BA.NumberToString(0);}; +RDebugUtils.currentLine=20512815; + //BA.debugLineNum = 20512815;BA.debugLine="If laCant2.Text = \"\" Then laCant2.Text = 0"; +if ((_lacant2.getText()).equals("")) { +_lacant2.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=20512817; + //BA.debugLineNum = 20512817;BA.debugLine="If New > 0 Then"; +if ((double)(Double.parseDouble(_new))>0) { +RDebugUtils.currentLine=20512818; + //BA.debugLineNum = 20512818;BA.debugLine="Log(\"lo ocultamos\")"; +__c.LogImpl("520512818","lo ocultamos",0); +RDebugUtils.currentLine=20512819; + //BA.debugLineNum = 20512819;BA.debugLine="panelpiezas.Visible = False"; +_panelpiezas.setVisible(__c.False); + }else +{RDebugUtils.currentLine=20512820; + //BA.debugLineNum = 20512820;BA.debugLine="Else If New = 0 Then"; +if ((_new).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=20512821; + //BA.debugLineNum = 20512821;BA.debugLine="panelpiezas.Visible = True"; +_panelpiezas.setVisible(__c.True); + }} +; +RDebugUtils.currentLine=20512828; + //BA.debugLineNum = 20512828;BA.debugLine="Log(\"InvTotal: \" & invTotal)"; +__c.LogImpl("520512828","InvTotal: "+BA.NumberToString(__ref._invtotal /*int*/ ),0); +RDebugUtils.currentLine=20512829; + //BA.debugLineNum = 20512829;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant2.Text"; +if (__c.Not((_old).equals("0") && (_new).equals("")) && _lacant2.getText()!= null && (_lacant2.getText()).equals("") == false && __ref._etcanthasfocus /*boolean*/ ) { +RDebugUtils.currentLine=20512830; + //BA.debugLineNum = 20512830;BA.debugLine="If invTotal - (laCant2.Text * conversion) >= 0"; +if (__ref._invtotal /*int*/ -((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))>=0) { +RDebugUtils.currentLine=20512831; + //BA.debugLineNum = 20512831;BA.debugLine="LogColor(\"validacion inventariio \" & (invTotal"; +__c.LogImpl("520512831","validacion inventariio "+BA.NumberToString((__ref._invtotal /*int*/ -((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion))))),__c.Colors.Blue); +RDebugUtils.currentLine=20512832; + //BA.debugLineNum = 20512832;BA.debugLine="Log(\"actualizamos producto\")"; +__c.LogImpl("520512832","actualizamos producto",0); +RDebugUtils.currentLine=20512833; + //BA.debugLineNum = 20512833;BA.debugLine="Subs.actualizaProducto2(Subs.traeAlmacen, pre"; +_subs._actualizaproducto2 /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_preciocaja,(int) (((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))),_subs._traeprodnombre /*String*/ (ba,_id),_id,__ref._clienteid /*String*/ ,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),__ref._rutausuario /*String*/ ,BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,_lacant2.getText(),BA.NumberToString(1)); +RDebugUtils.currentLine=20512834; + //BA.debugLineNum = 20512834;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); + }else { +RDebugUtils.currentLine=20512836; + //BA.debugLineNum = 20512836;BA.debugLine="Private totalcajaspermi As Int = invTotal / co"; +_totalcajaspermi = (int) (__ref._invtotal /*int*/ /(double)(double)(Double.parseDouble(_conversion))); +RDebugUtils.currentLine=20512837; + //BA.debugLineNum = 20512837;BA.debugLine="laCant2.Text = totalcajaspermi"; +_lacant2.setText(BA.ObjectToCharSequence(_totalcajaspermi)); +RDebugUtils.currentLine=20512838; + //BA.debugLineNum = 20512838;BA.debugLine="Log(\"cajas permitidas total por guerra \"& tota"; +__c.LogImpl("520512838","cajas permitidas total por guerra "+BA.NumberToString(_totalcajaspermi),0); + }; + }; +RDebugUtils.currentLine=20512841; + //BA.debugLineNum = 20512841;BA.debugLine="LogColor(\"la cant2 \" & laCant2.Text,Colors.Green"; +__c.LogImpl("520512841","la cant2 "+_lacant2.getText(),__c.Colors.Green); +RDebugUtils.currentLine=20512851; + //BA.debugLineNum = 20512851;BA.debugLine="If 1 = 1 Then"; +if (1==1) { +RDebugUtils.currentLine=20512852; + //BA.debugLineNum = 20512852;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=20512853; + //BA.debugLineNum = 20512853;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=20512854; + //BA.debugLineNum = 20512854;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\""; +_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=20512855; + //BA.debugLineNum = 20512855;BA.debugLine="Private invActualizado As String = \"0\""; +_invactualizado = "0"; +RDebugUtils.currentLine=20512857; + //BA.debugLineNum = 20512857;BA.debugLine="o.Position = 0"; +_o.setPosition((int) (0)); +RDebugUtils.currentLine=20512858; + //BA.debugLineNum = 20512858;BA.debugLine="invActualizado = Subs.traeinventario(id)"; +_invactualizado = _subs._traeinventario /*String*/ (ba,_id); +RDebugUtils.currentLine=20512859; + //BA.debugLineNum = 20512859;BA.debugLine="Log(Subs.traeinventario(id))"; +__c.LogImpl("520512859",_subs._traeinventario /*String*/ (ba,_id),0); +RDebugUtils.currentLine=20512861; + //BA.debugLineNum = 20512861;BA.debugLine="If New = \"\" Then New = 0"; +if ((_new).equals("")) { +_new = BA.NumberToString(0);}; +RDebugUtils.currentLine=20512862; + //BA.debugLineNum = 20512862;BA.debugLine="Log(clv_prods_ll.GetValue(index).As(Map).Get(\"p"; +__c.LogImpl("520512862",BA.NumberToString(((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio_caja"))))))+" Precio caja",0); +RDebugUtils.currentLine=20512863; + //BA.debugLineNum = 20512863;BA.debugLine="Log(clv_prods_ll.GetValue(index).As(Map).Get(\"c"; +__c.LogImpl("520512863",BA.NumberToString(((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))))))+" Conversion",0); +RDebugUtils.currentLine=20512864; + //BA.debugLineNum = 20512864;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pr"; +if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion")))))==1) { +RDebugUtils.currentLine=20512865; + //BA.debugLineNum = 20512865;BA.debugLine="Private maxcajas2 As Int = 0"; +_maxcajas2 = (int) (0); +RDebugUtils.currentLine=20512866; + //BA.debugLineNum = 20512866;BA.debugLine="Log(\"cajas a 0\")"; +__c.LogImpl("520512866","cajas a 0",0); + }else { +RDebugUtils.currentLine=20512868; + //BA.debugLineNum = 20512868;BA.debugLine="Private maxcajas2 As Int = invActualizado/clv_"; +_maxcajas2 = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getvalue(_index)))).Get((Object)("conversion"))))); +RDebugUtils.currentLine=20512869; + //BA.debugLineNum = 20512869;BA.debugLine="Log(\"cajas no a 0\")"; +__c.LogImpl("520512869","cajas no a 0",0); + }; +RDebugUtils.currentLine=20512871; + //BA.debugLineNum = 20512871;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(nombr"; +_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+(_subs._traeinventario /*String*/ (ba,_id)))).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas2))+""))).PopAll().getObject())); + }; + }; +RDebugUtils.currentLine=20512874; + //BA.debugLineNum = 20512874;BA.debugLine="End Sub"; +return ""; +} +public String _l_info_click(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "l_info_click", false)) + {return ((String) Debug.delegate(ba, "l_info_click", null));} +RDebugUtils.currentLine=19333120; + //BA.debugLineNum = 19333120;BA.debugLine="Private Sub l_info_Click"; +RDebugUtils.currentLine=19333121; + //BA.debugLineNum = 19333121;BA.debugLine="l_info.Visible = False"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=19333122; + //BA.debugLineNum = 19333122;BA.debugLine="End Sub"; +return ""; +} +public String _l_prodx_click(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "l_prodx_click", false)) + {return ((String) Debug.delegate(ba, "l_prodx_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _p0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.B4XViewWrapper _cant1 = null; +RDebugUtils.currentLine=19988480; + //BA.debugLineNum = 19988480;BA.debugLine="Sub l_prodx_click"; +RDebugUtils.currentLine=19988481; + //BA.debugLineNum = 19988481;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=19988482; + //BA.debugLineNum = 19988482;BA.debugLine="Private p0 As B4XView = clv_prods_ll.GetPanel(ind"; +_p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p0 = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=19988483; + //BA.debugLineNum = 19988483;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = _p0.GetView((int) (0)); +RDebugUtils.currentLine=19988484; + //BA.debugLineNum = 19988484;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView(2"; +_cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_cant1 = _p.GetView((int) (2)).GetView((int) (2)); +RDebugUtils.currentLine=19988485; + //BA.debugLineNum = 19988485;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; +_index = __ref._clv_prods_ll /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=19988487; + //BA.debugLineNum = 19988487;BA.debugLine="Log(cant1.Text)"; +__c.LogImpl("519988487",_cant1.getText(),0); +RDebugUtils.currentLine=19988488; + //BA.debugLineNum = 19988488;BA.debugLine="End Sub"; +return ""; +} +public String _l_prodx_longclick(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "l_prodx_longclick", false)) + {return ((String) Debug.delegate(ba, "l_prodx_longclick", null));} +RDebugUtils.currentLine=19267584; + //BA.debugLineNum = 19267584;BA.debugLine="Private Sub l_prodX_LongClick"; +RDebugUtils.currentLine=19267585; + //BA.debugLineNum = 19267585;BA.debugLine="Log(\"longclic = \"&Sender.as(Label).tag)"; +__c.LogImpl("519267585","longclic = "+BA.ObjectToString(((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(__c.Sender(ba)))).getTag()),0); +RDebugUtils.currentLine=19267586; + //BA.debugLineNum = 19267586;BA.debugLine="l_info.Text = Sender.as(Label).tag"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(__c.Sender(ba)))).getTag())); +RDebugUtils.currentLine=19267587; + //BA.debugLineNum = 19267587;BA.debugLine="l_info.Visible = True"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=19267588; + //BA.debugLineNum = 19267588;BA.debugLine="End Sub"; +return ""; +} +public String _llenacatalogo(SHARK2.keymon.com.mx.c_productos __ref,String _subtipo1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "llenacatalogo", false)) + {return ((String) Debug.delegate(ba, "llenacatalogo", new Object[] {_subtipo1}));} +RDebugUtils.currentLine=18481152; + //BA.debugLineNum = 18481152;BA.debugLine="Sub llenaCatalogo(subtipo1 As String)"; +RDebugUtils.currentLine=18481175; + //BA.debugLineNum = 18481175;BA.debugLine="End Sub"; +return ""; +} +public String _lv_catalogos_itemclick(SHARK2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_catalogos_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv_catalogos_itemclick", new Object[] {_position,_value}));} +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +anywheresoftware.b4a.objects.LabelWrapper _label13 = null; +anywheresoftware.b4a.objects.LabelWrapper _label14 = null; +int _i = 0; +anywheresoftware.b4a.objects.collections.Map _tm = null; +RDebugUtils.currentLine=18284544; + //BA.debugLineNum = 18284544;BA.debugLine="Sub lv_catalogos_ItemClick (Position As Int, Value"; +RDebugUtils.currentLine=18284545; + //BA.debugLineNum = 18284545;BA.debugLine="If Value = \"CATALOGO\" Then"; +if ((_value).equals((Object)("CATALOGO"))) { +RDebugUtils.currentLine=18284556; + //BA.debugLineNum = 18284556;BA.debugLine="lv_catalogos.Visible = False"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=18284557; + //BA.debugLineNum = 18284557;BA.debugLine="lfila.text = \"PRODUCTOS\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("PRODUCTOS")); +RDebugUtils.currentLine=18284560; + //BA.debugLineNum = 18284560;BA.debugLine="LlenaProdsLL(Null)"; +__ref._llenaprodsll /*String*/ (null,(anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(__c.Null))); +RDebugUtils.currentLine=18284563; + //BA.debugLineNum = 18284563;BA.debugLine="clv_prods_ll.AsView.Visible = True"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(__c.True); +RDebugUtils.currentLine=18284564; + //BA.debugLineNum = 18284564;BA.debugLine="clv_prods_ll.AsView.BringToFront"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().BringToFront(); + }else { +RDebugUtils.currentLine=18284567; + //BA.debugLineNum = 18284567;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(__c.False); +RDebugUtils.currentLine=18284568; + //BA.debugLineNum = 18284568;BA.debugLine="lv_promos.Visible = True"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=18284569; + //BA.debugLineNum = 18284569;BA.debugLine="lfila.text = \"PROMOCIONES\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("PROMOCIONES")); +RDebugUtils.currentLine=18284570; + //BA.debugLineNum = 18284570;BA.debugLine="lv_catalogos.Visible = False"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=18284571; + //BA.debugLineNum = 18284571;BA.debugLine="lv_promos.Clear"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=18284572; + //BA.debugLineNum = 18284572;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=18284573; + //BA.debugLineNum = 18284573;BA.debugLine="label1 = lv_promos.TwoLinesLayout.Label"; +_label1 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=18284574; + //BA.debugLineNum = 18284574;BA.debugLine="label1.TextSize = 12"; +_label1.setTextSize((float) (12)); +RDebugUtils.currentLine=18284575; + //BA.debugLineNum = 18284575;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=18284576; + //BA.debugLineNum = 18284576;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=18284577; + //BA.debugLineNum = 18284577;BA.debugLine="label2 = lv_promos.TwoLinesLayout.SecondLabel"; +_label2 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=18284578; + //BA.debugLineNum = 18284578;BA.debugLine="label2.TextSize = 12"; +_label2.setTextSize((float) (12)); +RDebugUtils.currentLine=18284579; + //BA.debugLineNum = 18284579;BA.debugLine="label2.TextColor = Colors.Black"; +_label2.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=18284580; + //BA.debugLineNum = 18284580;BA.debugLine="Dim label13 As Label"; +_label13 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=18284581; + //BA.debugLineNum = 18284581;BA.debugLine="label13 = lv_promos.TwoLinesAndBitmap.Label"; +_label13 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesAndBitmap().Label; +RDebugUtils.currentLine=18284582; + //BA.debugLineNum = 18284582;BA.debugLine="label13.TextSize = 12"; +_label13.setTextSize((float) (12)); +RDebugUtils.currentLine=18284583; + //BA.debugLineNum = 18284583;BA.debugLine="label13.TextColor = Colors.Black"; +_label13.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=18284584; + //BA.debugLineNum = 18284584;BA.debugLine="Dim label14 As Label"; +_label14 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=18284585; + //BA.debugLineNum = 18284585;BA.debugLine="label14 = lv_promos.TwoLinesAndBitmap.SecondLabe"; +_label14 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesAndBitmap().SecondLabel; +RDebugUtils.currentLine=18284586; + //BA.debugLineNum = 18284586;BA.debugLine="label14.TextSize = 12"; +_label14.setTextSize((float) (12)); +RDebugUtils.currentLine=18284587; + //BA.debugLineNum = 18284587;BA.debugLine="label14.TextColor = Colors.Black"; +_label14.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=18284588; + //BA.debugLineNum = 18284588;BA.debugLine="lfila.text = \"PROMOS\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("PROMOS")); +RDebugUtils.currentLine=18284590; + //BA.debugLineNum = 18284590;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO1, CAT_GP_ALMACEN, CAT_GP_IMG from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_PRECIO1 > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) )"),new String[]{BA.ObjectToString(_value),BA.ObjectToString(_value)}))); +RDebugUtils.currentLine=18284592; + //BA.debugLineNum = 18284592;BA.debugLine="If c2.RowCount > 0 Then"; +if (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=18284593; + //BA.debugLineNum = 18284593;BA.debugLine="For i = 0 To c2.RowCount - 1"; +{ +final int step32 = 1; +final int limit32 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit32 ;_i = _i + step32 ) { +RDebugUtils.currentLine=18284594; + //BA.debugLineNum = 18284594;BA.debugLine="c2.Position = i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=18284595; + //BA.debugLineNum = 18284595;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; +_tm = new anywheresoftware.b4a.objects.collections.Map(); +_tm = _subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._clienteid /*String*/ ); +RDebugUtils.currentLine=18284597; + //BA.debugLineNum = 18284597;BA.debugLine="If tm <> Null Then"; +if (_tm!= null) { +RDebugUtils.currentLine=18284598; + //BA.debugLineNum = 18284598;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then"; +if ((_tm.Get((Object)("status"))).equals((Object)("ok"))) { +RDebugUtils.currentLine=18284599; + //BA.debugLineNum = 18284599;BA.debugLine="lv_promos.AddTwoLines(c2.GetString(\"CAT_GP_N"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ALMACEN")+" $ "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_PRECIO1")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant"))))); + }; + }else { +RDebugUtils.currentLine=18284602; + //BA.debugLineNum = 18284602;BA.debugLine="Log(\"El Map devuelto por procesaPromocion es"; +__c.LogImpl("518284602","El Map devuelto por procesaPromocion es null para el producto: "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE"),0); + }; + } +}; + }else { +RDebugUtils.currentLine=18284606; + //BA.debugLineNum = 18284606;BA.debugLine="ToastMessageShow(\"No hay promociones disponible"; +__c.ToastMessageShow(BA.ObjectToCharSequence("No hay promociones disponibles."),__c.False); + }; +RDebugUtils.currentLine=18284608; + //BA.debugLineNum = 18284608;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=18284609; + //BA.debugLineNum = 18284609;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; + }; +RDebugUtils.currentLine=18284611; + //BA.debugLineNum = 18284611;BA.debugLine="End Sub"; +return ""; +} +public void _lv_catalogos2_itemclick(SHARK2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_catalogos2_itemclick", false)) + {Debug.delegate(ba, "lv_catalogos2_itemclick", new Object[] {_position,_value}); return;} +ResumableSub_lv_catalogos2_ItemClick rsub = new ResumableSub_lv_catalogos2_ItemClick(this,__ref,_position,_value); +rsub.resume(ba, null); +} +public static class ResumableSub_lv_catalogos2_ItemClick extends BA.ResumableSub { +public ResumableSub_lv_catalogos2_ItemClick(SHARK2.keymon.com.mx.c_productos parent,SHARK2.keymon.com.mx.c_productos __ref,int _position,Object _value) { +this.parent = parent; +this.__ref = __ref; +this._position = _position; +this._value = _value; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_productos __ref; +SHARK2.keymon.com.mx.c_productos parent; +int _position; +Object _value; +SHARK2.keymon.com.mx.c_cliente _cliente = null; +String _iniciocontador = ""; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +anywheresoftware.b4a.objects.LabelWrapper _label13 = null; +anywheresoftware.b4a.objects.LabelWrapper _label14 = null; +int _i = 0; +anywheresoftware.b4a.objects.collections.Map _tm = null; +int step57; +int limit57; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_productos"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=18350081; + //BA.debugLineNum = 18350081;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(parent.__c.False); +RDebugUtils.currentLine=18350082; + //BA.debugLineNum = 18350082;BA.debugLine="BUSCA.Text = \"\""; +__ref._busca /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=18350083; + //BA.debugLineNum = 18350083;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie"; +_cliente = (SHARK2.keymon.com.mx.c_cliente)(parent._b4xpages._getpage /*Object*/ (ba,"Cliente")); +RDebugUtils.currentLine=18350084; + //BA.debugLineNum = 18350084;BA.debugLine="Log($\"value=${Value}\"$)"; +parent.__c.LogImpl("518350084",("value="+parent.__c.SmartStringFormatter("",_value)+""),0); +RDebugUtils.currentLine=18350085; + //BA.debugLineNum = 18350085;BA.debugLine="If Value = \"PROMOS\" And cliente.cuenta <> \"N\" The"; +if (true) break; + +case 1: +//if +this.state = 6; +if ((_value).equals((Object)("PROMOS")) && (_cliente._cuenta /*String*/ ).equals("N") == false) { +this.state = 3; +}else +{RDebugUtils.currentLine=18350089; + //BA.debugLineNum = 18350089;BA.debugLine="Else if Value = \"PROMOS\" And cliente.cuenta = \"N\""; +if ((_value).equals((Object)("PROMOS")) && (_cliente._cuenta /*String*/ ).equals("N")) { +this.state = 5; +}} +if (true) break; + +case 3: +//C +this.state = 6; +RDebugUtils.currentLine=18350086; + //BA.debugLineNum = 18350086;BA.debugLine="entro = \"3\""; +__ref._entro /*String*/ = "3"; +RDebugUtils.currentLine=18350087; + //BA.debugLineNum = 18350087;BA.debugLine="marca = \"PROMOS\""; +__ref._marca /*String*/ = "PROMOS"; +RDebugUtils.currentLine=18350088; + //BA.debugLineNum = 18350088;BA.debugLine="tipo = \"PROMOS\""; +__ref._tipo /*String*/ = "PROMOS"; + if (true) break; + +case 5: +//C +this.state = 6; +RDebugUtils.currentLine=18350090; + //BA.debugLineNum = 18350090;BA.debugLine="entro = \"5\""; +__ref._entro /*String*/ = "5"; +RDebugUtils.currentLine=18350091; + //BA.debugLineNum = 18350091;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +parent._b4xpages._showpage /*String*/ (ba,"Cliente"); + if (true) break; +; +RDebugUtils.currentLine=18350093; + //BA.debugLineNum = 18350093;BA.debugLine="If Value = \"PROMOS\" Then"; + +case 6: +//if +this.state = 11; +if ((_value).equals((Object)("PROMOS"))) { +this.state = 8; +}else { +this.state = 10; +}if (true) break; + +case 8: +//C +this.state = 11; +RDebugUtils.currentLine=18350094; + //BA.debugLineNum = 18350094;BA.debugLine="LogColor(\"Promos\", Colors.red)"; +parent.__c.LogImpl("518350094","Promos",parent.__c.Colors.Red); +RDebugUtils.currentLine=18350095; + //BA.debugLineNum = 18350095;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO1, CAT_GP_ALMACEN, CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO1 > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD = ? AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) ) ORDER BY 1"),new String[]{BA.ObjectToString(_value),__ref._marca /*String*/ ,__ref._tipo /*String*/ }))); + if (true) break; + +case 10: +//C +this.state = 11; +RDebugUtils.currentLine=18350097; + //BA.debugLineNum = 18350097;BA.debugLine="LogColor(\"Catalogo\", Colors.red)"; +parent.__c.LogImpl("518350097","Catalogo",parent.__c.Colors.Red); +RDebugUtils.currentLine=18350098; + //BA.debugLineNum = 18350098;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery($\"select CAT"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO1, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO1 > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD <> 'PROMOS' ")))); + if (true) break; +; +RDebugUtils.currentLine=18350100; + //BA.debugLineNum = 18350100;BA.debugLine="If Value = \"CATALOGO\" Then"; + +case 11: +//if +this.state = 28; +if ((_value).equals((Object)("CATALOGO"))) { +this.state = 13; +}else { +this.state = 15; +}if (true) break; + +case 13: +//C +this.state = 28; +RDebugUtils.currentLine=18350101; + //BA.debugLineNum = 18350101;BA.debugLine="lv_catalogos.Visible = False"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18350102; + //BA.debugLineNum = 18350102;BA.debugLine="lv_promos.Visible = False"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18350103; + //BA.debugLineNum = 18350103;BA.debugLine="lfila.text = \"CATALOGO\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("CATALOGO")); +RDebugUtils.currentLine=18350104; + //BA.debugLineNum = 18350104;BA.debugLine="Log(\"PGS\")"; +parent.__c.LogImpl("518350104","PGS",0); +RDebugUtils.currentLine=18350105; + //BA.debugLineNum = 18350105;BA.debugLine="ProgressDialogShow(\"Cargando catalogo ...\")"; +parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Cargando catalogo ...")); +RDebugUtils.currentLine=18350106; + //BA.debugLineNum = 18350106;BA.debugLine="Sleep(100)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "c_productos", "lv_catalogos2_itemclick"),(int) (100)); +this.state = 29; +return; +case 29: +//C +this.state = 28; +; +RDebugUtils.currentLine=18350107; + //BA.debugLineNum = 18350107;BA.debugLine="Private inicioContador As String = DateTime.Now"; +_iniciocontador = BA.NumberToString(parent.__c.DateTime.getNow()); +RDebugUtils.currentLine=18350108; + //BA.debugLineNum = 18350108;BA.debugLine="llenaCatalogo(False)"; +__ref._llenacatalogo /*String*/ (null,BA.ObjectToString(parent.__c.False)); +RDebugUtils.currentLine=18350109; + //BA.debugLineNum = 18350109;BA.debugLine="clv_prods_ll.AsView.Visible = True"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(parent.__c.True); +RDebugUtils.currentLine=18350110; + //BA.debugLineNum = 18350110;BA.debugLine="Log(\"PGH\")"; +parent.__c.LogImpl("518350110","PGH",0); +RDebugUtils.currentLine=18350111; + //BA.debugLineNum = 18350111;BA.debugLine="LogColor(\"TIEMPO DE PROCESO DEL CATALOGO: \" & (("; +parent.__c.LogImpl("518350111","TIEMPO DE PROCESO DEL CATALOGO: "+BA.NumberToString(((parent.__c.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),parent.__c.Colors.Red); +RDebugUtils.currentLine=18350112; + //BA.debugLineNum = 18350112;BA.debugLine="ProgressDialogHide"; +parent.__c.ProgressDialogHide(); +RDebugUtils.currentLine=18350113; + //BA.debugLineNum = 18350113;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + if (true) break; + +case 15: +//C +this.state = 16; +RDebugUtils.currentLine=18350115; + //BA.debugLineNum = 18350115;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(parent.__c.False); +RDebugUtils.currentLine=18350116; + //BA.debugLineNum = 18350116;BA.debugLine="lv_promos.Visible = True"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=18350117; + //BA.debugLineNum = 18350117;BA.debugLine="lv_catalogos.Visible = False"; +__ref._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(parent.__c.False); +RDebugUtils.currentLine=18350118; + //BA.debugLineNum = 18350118;BA.debugLine="lv_promos.Clear"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=18350119; + //BA.debugLineNum = 18350119;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=18350120; + //BA.debugLineNum = 18350120;BA.debugLine="label1 = lv_promos.TwoLinesLayout.Label"; +_label1 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=18350121; + //BA.debugLineNum = 18350121;BA.debugLine="label1.TextSize = 15"; +_label1.setTextSize((float) (15)); +RDebugUtils.currentLine=18350122; + //BA.debugLineNum = 18350122;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(parent.__c.Colors.Black); +RDebugUtils.currentLine=18350123; + //BA.debugLineNum = 18350123;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=18350124; + //BA.debugLineNum = 18350124;BA.debugLine="label2 = lv_promos.TwoLinesLayout.SecondLabel"; +_label2 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=18350125; + //BA.debugLineNum = 18350125;BA.debugLine="label2.TextSize = 15"; +_label2.setTextSize((float) (15)); +RDebugUtils.currentLine=18350126; + //BA.debugLineNum = 18350126;BA.debugLine="label2.TextColor = Colors.Black"; +_label2.setTextColor(parent.__c.Colors.Black); +RDebugUtils.currentLine=18350127; + //BA.debugLineNum = 18350127;BA.debugLine="Dim label13 As Label"; +_label13 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=18350128; + //BA.debugLineNum = 18350128;BA.debugLine="label13 = lv_promos.TwoLinesAndBitmap.Label"; +_label13 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesAndBitmap().Label; +RDebugUtils.currentLine=18350129; + //BA.debugLineNum = 18350129;BA.debugLine="label13.TextSize = 15"; +_label13.setTextSize((float) (15)); +RDebugUtils.currentLine=18350130; + //BA.debugLineNum = 18350130;BA.debugLine="label13.TextColor = Colors.Black"; +_label13.setTextColor(parent.__c.Colors.Black); +RDebugUtils.currentLine=18350131; + //BA.debugLineNum = 18350131;BA.debugLine="Dim label14 As Label"; +_label14 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=18350132; + //BA.debugLineNum = 18350132;BA.debugLine="label14 = lv_promos.TwoLinesAndBitmap.SecondLabe"; +_label14 = __ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesAndBitmap().SecondLabel; +RDebugUtils.currentLine=18350133; + //BA.debugLineNum = 18350133;BA.debugLine="label14.TextSize = 15"; +_label14.setTextSize((float) (15)); +RDebugUtils.currentLine=18350134; + //BA.debugLineNum = 18350134;BA.debugLine="label14.TextColor = Colors.Black"; +_label14.setTextColor(parent.__c.Colors.Black); +RDebugUtils.currentLine=18350135; + //BA.debugLineNum = 18350135;BA.debugLine="lfila.text = \"PROMOS\""; +__ref._lfila /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("PROMOS")); +RDebugUtils.currentLine=18350136; + //BA.debugLineNum = 18350136;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=18350137; + //BA.debugLineNum = 18350137;BA.debugLine="For i=0 To c2.RowCount -1"; +if (true) break; + +case 19: +//for +this.state = 26; +step57 = 1; +limit57 = (int) (__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +this.state = 30; +if (true) break; + +case 30: +//C +this.state = 26; +if ((step57 > 0 && _i <= limit57) || (step57 < 0 && _i >= limit57)) this.state = 21; +if (true) break; + +case 31: +//C +this.state = 30; +_i = ((int)(0 + _i + step57)) ; +if (true) break; + +case 21: +//C +this.state = 22; +RDebugUtils.currentLine=18350138; + //BA.debugLineNum = 18350138;BA.debugLine="c2.Position=i"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=18350139; + //BA.debugLineNum = 18350139;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; +_tm = new anywheresoftware.b4a.objects.collections.Map(); +_tm = parent._subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"),__ref._clienteid /*String*/ ); +RDebugUtils.currentLine=18350140; + //BA.debugLineNum = 18350140;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; +if (true) break; + +case 22: +//if +this.state = 25; +if ((_tm.Get((Object)("status"))).equals((Object)("ok"))) { +this.state = 24; +}if (true) break; + +case 24: +//C +this.state = 25; +RDebugUtils.currentLine=18350141; + //BA.debugLineNum = 18350141;BA.debugLine="lv_promos.AddTwoLines(c2.GetString(\"CAT_GP_NO"; +__ref._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ALMACEN")+" $ "+__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant"))))); + if (true) break; + +case 25: +//C +this.state = 31; +; + if (true) break; +if (true) break; + +case 26: +//C +this.state = 27; +; + if (true) break; + +case 27: +//C +this.state = 28; +; +RDebugUtils.currentLine=18350145; + //BA.debugLineNum = 18350145;BA.debugLine="c2.Close"; +__ref._c2 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + if (true) break; + +case 28: +//C +this.state = -1; +; +RDebugUtils.currentLine=18350147; + //BA.debugLineNum = 18350147;BA.debugLine="entro = \"4\""; +__ref._entro /*String*/ = "4"; +RDebugUtils.currentLine=18350148; + //BA.debugLineNum = 18350148;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _lv_prodspedido_itemlongclick(SHARK2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_prodspedido_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "lv_prodspedido_itemlongclick", new Object[] {_position,_value}));} +anywheresoftware.b4a.objects.collections.Map _datos = null; +String _idprod = ""; +String _nom = ""; +String _presname = ""; +int _uvmval = 0; +String _cedis = ""; +String _dirtarget = ""; +String _folioactual = ""; +int _cantregresar = 0; +String _tablainventario = ""; +int _j = 0; +String _qdelete = ""; +RDebugUtils.currentLine=19791872; + //BA.debugLineNum = 19791872;BA.debugLine="Private Sub lv_prodsPedido_ItemLongClick (Position"; +RDebugUtils.currentLine=19791874; + //BA.debugLineNum = 19791874;BA.debugLine="If Not(Value Is Map) Then"; +if (__c.Not(_value instanceof java.util.Map)) { +RDebugUtils.currentLine=19791875; + //BA.debugLineNum = 19791875;BA.debugLine="Log(\"Error: El valor recibido no es un Mapa de d"; +__c.LogImpl("519791875","Error: El valor recibido no es un Mapa de datos.",0); +RDebugUtils.currentLine=19791876; + //BA.debugLineNum = 19791876;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=19791880; + //BA.debugLineNum = 19791880;BA.debugLine="Dim datos As Map = Value"; +_datos = new anywheresoftware.b4a.objects.collections.Map(); +_datos = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_value)); +RDebugUtils.currentLine=19791881; + //BA.debugLineNum = 19791881;BA.debugLine="Dim idProd As String = datos.Get(\"id\")"; +_idprod = BA.ObjectToString(_datos.Get((Object)("id"))); +RDebugUtils.currentLine=19791882; + //BA.debugLineNum = 19791882;BA.debugLine="Dim nom As String = datos.Get(\"nombre\")"; +_nom = BA.ObjectToString(_datos.Get((Object)("nombre"))); +RDebugUtils.currentLine=19791883; + //BA.debugLineNum = 19791883;BA.debugLine="Dim presName As String = datos.Get(\"pres\")"; +_presname = BA.ObjectToString(_datos.Get((Object)("pres"))); +RDebugUtils.currentLine=19791884; + //BA.debugLineNum = 19791884;BA.debugLine="Dim uvmVal As Int = datos.Get(\"uvm\")"; +_uvmval = (int)(BA.ObjectToNumber(_datos.Get((Object)("uvm")))); +RDebugUtils.currentLine=19791885; + //BA.debugLineNum = 19791885;BA.debugLine="Dim cedis As String = datos.Get(\"cedis\")"; +_cedis = BA.ObjectToString(_datos.Get((Object)("cedis"))); +RDebugUtils.currentLine=19791886; + //BA.debugLineNum = 19791886;BA.debugLine="Dim dirTarget As String = datos.Get(\"dir\")"; +_dirtarget = BA.ObjectToString(_datos.Get((Object)("dir"))); +RDebugUtils.currentLine=19791887; + //BA.debugLineNum = 19791887;BA.debugLine="Dim folioActual As String = datos.Get(\"folio\")"; +_folioactual = BA.ObjectToString(_datos.Get((Object)("folio"))); +RDebugUtils.currentLine=19791888; + //BA.debugLineNum = 19791888;BA.debugLine="Dim cantRegresar As Int = datos.Get(\"cant\")"; +_cantregresar = (int)(BA.ObjectToNumber(_datos.Get((Object)("cant")))); +RDebugUtils.currentLine=19791889; + //BA.debugLineNum = 19791889;BA.debugLine="Log(cedis)"; +__c.LogImpl("519791889",_cedis,0); +RDebugUtils.currentLine=19791890; + //BA.debugLineNum = 19791890;BA.debugLine="Log(folioActual)"; +__c.LogImpl("519791890",_folioactual,0); +RDebugUtils.currentLine=19791892; + //BA.debugLineNum = 19791892;BA.debugLine="Log(\"Intentando borrar -> ID: \" & idProd & \" | No"; +__c.LogImpl("519791892","Intentando borrar -> ID: "+_idprod+" | Nombre: "+_nom+" | Almacen: "+_cedis,0); +RDebugUtils.currentLine=19791894; + //BA.debugLineNum = 19791894;BA.debugLine="result = Msgbox2(\"¿Seguro que desea borrar \" & no"; +__ref._result /*String*/ = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("¿Seguro que desea borrar "+_nom+" ("+_presname+")?"),BA.ObjectToCharSequence("Borrar Artículo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); +RDebugUtils.currentLine=19791896; + //BA.debugLineNum = 19791896;BA.debugLine="If result = DialogResponse.POSITIVE Then"; +if ((__ref._result /*String*/ ).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { +RDebugUtils.currentLine=19791898; + //BA.debugLineNum = 19791898;BA.debugLine="Dim tablaInventario As String"; +_tablainventario = ""; +RDebugUtils.currentLine=19791900; + //BA.debugLineNum = 19791900;BA.debugLine="If folioActual = \"PREVENTA_CONTADO\" Or folioActu"; +if ((_folioactual).equals("PREVENTA_CONTADO") || (_folioactual).equals("ABORDO")) { +RDebugUtils.currentLine=19791901; + //BA.debugLineNum = 19791901;BA.debugLine="tablaInventario = \"CAT_GUNAPROD\""; +_tablainventario = "CAT_GUNAPROD"; +RDebugUtils.currentLine=19791902; + //BA.debugLineNum = 19791902;BA.debugLine="Log(\"1\")"; +__c.LogImpl("519791902","1",0); + }else +{RDebugUtils.currentLine=19791903; + //BA.debugLineNum = 19791903;BA.debugLine="Else If folioActual = \"VENTA\" Then"; +if ((_folioactual).equals("VENTA")) { +RDebugUtils.currentLine=19791904; + //BA.debugLineNum = 19791904;BA.debugLine="tablaInventario = \"CAT_GUNAPROD2\""; +_tablainventario = "CAT_GUNAPROD2"; +RDebugUtils.currentLine=19791905; + //BA.debugLineNum = 19791905;BA.debugLine="Log(2)"; +__c.LogImpl("519791905",BA.NumberToString(2),0); + }else +{RDebugUtils.currentLine=19791906; + //BA.debugLineNum = 19791906;BA.debugLine="Else If folioActual = \"RECARGA\" Then"; +if ((_folioactual).equals("RECARGA")) { +RDebugUtils.currentLine=19791907; + //BA.debugLineNum = 19791907;BA.debugLine="tablaInventario = \"CAT_GUNAPROD\""; +_tablainventario = "CAT_GUNAPROD"; +RDebugUtils.currentLine=19791908; + //BA.debugLineNum = 19791908;BA.debugLine="Log(3)"; +__c.LogImpl("519791908",BA.NumberToString(3),0); + }else +{RDebugUtils.currentLine=19791909; + //BA.debugLineNum = 19791909;BA.debugLine="Else If folioActual = \"PREVENTA_CREDITO\" Then"; +if ((_folioactual).equals("PREVENTA_CREDITO")) { +RDebugUtils.currentLine=19791910; + //BA.debugLineNum = 19791910;BA.debugLine="tablaInventario = \"CAT_GUNAPROD4\""; +_tablainventario = "CAT_GUNAPROD4"; +RDebugUtils.currentLine=19791911; + //BA.debugLineNum = 19791911;BA.debugLine="Log(4)"; +__c.LogImpl("519791911",BA.NumberToString(4),0); + }}}} +; +RDebugUtils.currentLine=19791915; + //BA.debugLineNum = 19791915;BA.debugLine="If cedis <> Subs.traeAlmacen Then"; +if ((_cedis).equals(_subs._traealmacen /*String*/ (ba)) == false) { +RDebugUtils.currentLine=19791916; + //BA.debugLineNum = 19791916;BA.debugLine="Log(\"entre\")"; +__c.LogImpl("519791916","entre",0); +RDebugUtils.currentLine=19791917; + //BA.debugLineNum = 19791917;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ? and PE_CEDIS = ?) AND PE_FOLIO = ?",new String[]{_nom,_cedis,_folioactual}))); +RDebugUtils.currentLine=19791918; + //BA.debugLineNum = 19791918;BA.debugLine="Log(j3.RowCount)"; +__c.LogImpl("519791918",BA.NumberToString(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()),0); +RDebugUtils.currentLine=19791919; + //BA.debugLineNum = 19791919;BA.debugLine="If j3.RowCount > 0 Then"; +if (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=19791920; + //BA.debugLineNum = 19791920;BA.debugLine="Log(\"Soy promo\")"; +__c.LogImpl("519791920","Soy promo",0); +RDebugUtils.currentLine=19791921; + //BA.debugLineNum = 19791921;BA.debugLine="For j = 0 To j3.RowCount -1"; +{ +final int step39 = 1; +final int limit39 = (int) (__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_j = (int) (0) ; +for (;_j <= limit39 ;_j = _j + step39 ) { +RDebugUtils.currentLine=19791922; + //BA.debugLineNum = 19791922;BA.debugLine="Log(\"aqui tronare?\")"; +__c.LogImpl("519791922","aqui tronare?",0); +RDebugUtils.currentLine=19791924; + //BA.debugLineNum = 19791924;BA.debugLine="j3.Position = j"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_j); +RDebugUtils.currentLine=19791925; + //BA.debugLineNum = 19791925;BA.debugLine="Log(j3.GetString(\"PE_CANT\"))"; +__c.LogImpl("519791925",__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT"),0); +RDebugUtils.currentLine=19791926; + //BA.debugLineNum = 19791926;BA.debugLine="Log($\"update ${tablaInventario} set CAT_GP_AL"; +__c.LogImpl("519791926",("update "+__c.SmartStringFormatter("",(Object)(_tablainventario))+" set CAT_GP_ALMACEN = CAT_GP_ALMACEN + '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+"' where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'"),0); +RDebugUtils.currentLine=19791927; + //BA.debugLineNum = 19791927;BA.debugLine="If vamoaver.Get(Position) = \"PREVENTA_CREDITO"; +if ((__ref._vamoaver /*anywheresoftware.b4a.objects.collections.List*/ .Get(_position)).equals((Object)("PREVENTA_CREDITO"))) { +RDebugUtils.currentLine=19791928; + //BA.debugLineNum = 19791928;BA.debugLine="Starter.skmt.ExecNonQuery($\"update CAT_GUNAP"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD4 set CAT_GP_ALMACEN = CAT_GP_ALMACEN + "+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=19791929; + //BA.debugLineNum = 19791929;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); + }else { +RDebugUtils.currentLine=19791931; + //BA.debugLineNum = 19791931;BA.debugLine="Starter.skmt.ExecNonQuery($\"update ${tablaIn"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_tablainventario))+" set CAT_GP_ALMACEN = CAT_GP_ALMACEN + "+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_CANT")))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=19791932; + //BA.debugLineNum = 19791932;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis= '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_FOLIO")))+"' AND PE_PROID = '"+__c.SmartStringFormatter("",(Object)(__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PE_PROID")))+"'")); + }; + } +}; + }; +RDebugUtils.currentLine=19791937; + //BA.debugLineNum = 19791937;BA.debugLine="j3.Close"; +__ref._j3 /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=19791939; + //BA.debugLineNum = 19791939;BA.debugLine="ActualizarTotalesPedido(clienteId)"; +__ref._actualizartotalespedido /*String*/ (null,__ref._clienteid /*String*/ ); +RDebugUtils.currentLine=19791940; + //BA.debugLineNum = 19791940;BA.debugLine="b_terminar1_Click"; +__ref._b_terminar1_click /*String*/ (null); + }else { +RDebugUtils.currentLine=19791944; + //BA.debugLineNum = 19791944;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ${"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE "+__c.SmartStringFormatter("",(Object)(_tablainventario))+" SET CAT_GP_ALMACEN = CAT_GP_ALMACEN + "+__c.SmartStringFormatter("",(Object)(_cantregresar))+" WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_idprod))+"'")); +RDebugUtils.currentLine=19791947; + //BA.debugLineNum = 19791947;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN, PROID, CANTIDAD) VALUES(?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(_idprod),(Object)(_cantregresar*-1)})); +RDebugUtils.currentLine=19791951; + //BA.debugLineNum = 19791951;BA.debugLine="Dim qDelete As String = \"DELETE FROM PEDIDO WHE"; +_qdelete = "DELETE FROM PEDIDO WHERE PE_PROID = ? AND PE_PRESENTACION = ? "+"AND PE_UVM = ? AND PE_DIRIGIDA = ? AND PE_CEDIS = ? "+"AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = ?"; +RDebugUtils.currentLine=19791955; + //BA.debugLineNum = 19791955;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(qDelete, A"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(_qdelete,anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_idprod),(Object)(_presname),(Object)(_uvmval),(Object)(_dirtarget),(Object)(_cedis),(Object)(_folioactual)})); +RDebugUtils.currentLine=19791957; + //BA.debugLineNum = 19791957;BA.debugLine="LogColor(\"Borrado exitoso de base de datos.\", C"; +__c.LogImpl("519791957","Borrado exitoso de base de datos.",__c.Colors.Green); +RDebugUtils.currentLine=19791960; + //BA.debugLineNum = 19791960;BA.debugLine="ActualizarTotalesPedido(clienteId)"; +__ref._actualizartotalespedido /*String*/ (null,__ref._clienteid /*String*/ ); +RDebugUtils.currentLine=19791961; + //BA.debugLineNum = 19791961;BA.debugLine="b_terminar1_Click"; +__ref._b_terminar1_click /*String*/ (null); + }; + }; +RDebugUtils.currentLine=19791966; + //BA.debugLineNum = 19791966;BA.debugLine="End Sub"; +return ""; +} +public String _lv_promos_itemclick(SHARK2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_promos_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv_promos_itemclick", new Object[] {_position,_value}));} +SHARK2.keymon.com.mx.c_cliente _cliente = null; +SHARK2.keymon.com.mx.c_promos _promos = null; +RDebugUtils.currentLine=18415616; + //BA.debugLineNum = 18415616;BA.debugLine="Sub lv_promos_ItemClick (Position As Int, Value As"; +RDebugUtils.currentLine=18415617; + //BA.debugLineNum = 18415617;BA.debugLine="clv_prods_ll.AsView.Visible = False"; +__ref._clv_prods_ll /*b4a.example3.customlistview*/ ._asview().setVisible(__c.False); +RDebugUtils.currentLine=18415618; + //BA.debugLineNum = 18415618;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie"; +_cliente = (SHARK2.keymon.com.mx.c_cliente)(_b4xpages._getpage /*Object*/ (ba,"Cliente")); +RDebugUtils.currentLine=18415620; + //BA.debugLineNum = 18415620;BA.debugLine="If Value = \"PROMOS\" And cliente.cuenta <> \"N\" The"; +if ((_value).equals((Object)("PROMOS")) && (_cliente._cuenta /*String*/ ).equals("N") == false) { +RDebugUtils.currentLine=18415621; + //BA.debugLineNum = 18415621;BA.debugLine="entro = \"3\""; +__ref._entro /*String*/ = "3"; +RDebugUtils.currentLine=18415622; + //BA.debugLineNum = 18415622;BA.debugLine="marca = \"PROMOS\""; +__ref._marca /*String*/ = "PROMOS"; +RDebugUtils.currentLine=18415623; + //BA.debugLineNum = 18415623;BA.debugLine="tipo = \"PROMOS\""; +__ref._tipo /*String*/ = "PROMOS"; + }else +{RDebugUtils.currentLine=18415624; + //BA.debugLineNum = 18415624;BA.debugLine="Else if Value = \"PROMOS\" And cliente.cuenta = \"N\""; +if ((_value).equals((Object)("PROMOS")) && (_cliente._cuenta /*String*/ ).equals("N")) { +RDebugUtils.currentLine=18415625; + //BA.debugLineNum = 18415625;BA.debugLine="entro = \"5\""; +__ref._entro /*String*/ = "5"; +RDebugUtils.currentLine=18415626; + //BA.debugLineNum = 18415626;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +_b4xpages._showpage /*String*/ (ba,"Cliente"); + }} +; +RDebugUtils.currentLine=18415628; + //BA.debugLineNum = 18415628;BA.debugLine="If entro = \"3\" Then"; +if ((__ref._entro /*String*/ ).equals("3")) { + }else +{RDebugUtils.currentLine=18415630; + //BA.debugLineNum = 18415630;BA.debugLine="Else If entro = \"4\" Then"; +if ((__ref._entro /*String*/ ).equals("4")) { +RDebugUtils.currentLine=18415632; + //BA.debugLineNum = 18415632;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROID"); +RDebugUtils.currentLine=18415633; + //BA.debugLineNum = 18415633;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); +RDebugUtils.currentLine=18415634; + //BA.debugLineNum = 18415634;BA.debugLine="Dim promos As C_Promos = B4XPages.GetPage(\"Promo"; +_promos = (SHARK2.keymon.com.mx.c_promos)(_b4xpages._getpage /*Object*/ (ba,"Promos")); +RDebugUtils.currentLine=18415635; + //BA.debugLineNum = 18415635;BA.debugLine="promos.laPromo = Subs.traeProdIdDeBD.Get(\"id\")"; +_promos._lapromo /*String*/ = BA.ObjectToString(_subs._traeprodiddebd /*anywheresoftware.b4a.objects.collections.Map*/ (ba).Get((Object)("id"))); +RDebugUtils.currentLine=18415636; + //BA.debugLineNum = 18415636;BA.debugLine="promos.elCliente = Subs.traeUsuarioDeBD"; +_promos._elcliente /*String*/ = _subs._traeusuariodebd /*String*/ (ba); +RDebugUtils.currentLine=18415637; + //BA.debugLineNum = 18415637;BA.debugLine="B4XPages.ShowPage(\"Promos\")"; +_b4xpages._showpage /*String*/ (ba,"Promos"); + }} +; +RDebugUtils.currentLine=18415639; + //BA.debugLineNum = 18415639;BA.debugLine="End Sub"; +return ""; +} +public String _lv_promos_itemlongclick(SHARK2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_promos_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "lv_promos_itemlongclick", new Object[] {_position,_value}));} +String _id = ""; +RDebugUtils.currentLine=19398656; + //BA.debugLineNum = 19398656;BA.debugLine="Private Sub lv_promos_ItemLongClick (Position As I"; +RDebugUtils.currentLine=19398657; + //BA.debugLineNum = 19398657;BA.debugLine="Log(\"Promo longclic = \"&Value)"; +__c.LogImpl("519398657","Promo longclic = "+BA.ObjectToString(_value),0); +RDebugUtils.currentLine=19398658; + //BA.debugLineNum = 19398658;BA.debugLine="Private id As String = \"\""; +_id = ""; +RDebugUtils.currentLine=19398659; + //BA.debugLineNum = 19398659;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuer"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_TIPO = 'PROMOS' and CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",_value)+"'")))); +RDebugUtils.currentLine=19398660; + //BA.debugLineNum = 19398660;BA.debugLine="If c.RowCount > 0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=19398661; + //BA.debugLineNum = 19398661;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=19398662; + //BA.debugLineNum = 19398662;BA.debugLine="id = c.GetString(\"CAT_GP_ID\")"; +_id = __ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CAT_GP_ID"); + }; +RDebugUtils.currentLine=19398664; + //BA.debugLineNum = 19398664;BA.debugLine="l_info.Text = $\"ID: ${id}${CRLF}${Value}\"$"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("ID: "+__c.SmartStringFormatter("",(Object)(_id))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",_value)+""))); +RDebugUtils.currentLine=19398665; + //BA.debugLineNum = 19398665;BA.debugLine="l_info.Visible = True"; +__ref._l_info /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=19398666; + //BA.debugLineNum = 19398666;BA.debugLine="End Sub"; +return ""; +} +public String _lv_subtipo_itemclick(SHARK2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_subtipo_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv_subtipo_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=19529728; + //BA.debugLineNum = 19529728;BA.debugLine="Private Sub lv_subtipo_ItemClick (Position As Int,"; +RDebugUtils.currentLine=19529742; + //BA.debugLineNum = 19529742;BA.debugLine="End Sub"; +return ""; +} +public String _lv_tipo_itemclick(SHARK2.keymon.com.mx.c_productos __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "lv_tipo_itemclick", false)) + {return ((String) Debug.delegate(ba, "lv_tipo_itemclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=19464192; + //BA.debugLineNum = 19464192;BA.debugLine="Private Sub lv_tipo_ItemClick (Position As Int, Va"; +RDebugUtils.currentLine=19464210; + //BA.debugLineNum = 19464210;BA.debugLine="End Sub"; +return ""; +} +public String _p_vistapreviatrans_click(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "p_vistapreviatrans_click", false)) + {return ((String) Debug.delegate(ba, "p_vistapreviatrans_click", null));} +RDebugUtils.currentLine=19595264; + //BA.debugLineNum = 19595264;BA.debugLine="Private Sub p_vistaPreviaTrans_Click"; +RDebugUtils.currentLine=19595266; + //BA.debugLineNum = 19595266;BA.debugLine="End Sub"; +return ""; +} +public String _pclv_addprods(SHARK2.keymon.com.mx.c_productos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "pclv_addprods", false)) + {return ((String) Debug.delegate(ba, "pclv_addprods", null));} +RDebugUtils.currentLine=18219008; + //BA.debugLineNum = 18219008;BA.debugLine="Sub PCLV_AddProds"; +RDebugUtils.currentLine=18219010; + //BA.debugLineNum = 18219010;BA.debugLine="End Sub"; +return ""; +} +public Object _pclv_hintrequested(SHARK2.keymon.com.mx.c_productos __ref,int _index) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_productos"; +if (Debug.shouldDelegate(ba, "pclv_hintrequested", false)) + {return ((Object) Debug.delegate(ba, "pclv_hintrequested", new Object[] {_index}));} +String _word = ""; +RDebugUtils.currentLine=20250624; + //BA.debugLineNum = 20250624;BA.debugLine="Sub PCLV_HintRequested(Index As Int) As Object"; +RDebugUtils.currentLine=20250625; + //BA.debugLineNum = 20250625;BA.debugLine="Dim word As String = listaHints.get(Index)"; +_word = BA.ObjectToString(__ref._listahints /*anywheresoftware.b4a.objects.collections.List*/ .Get(_index)); +RDebugUtils.currentLine=20250626; + //BA.debugLineNum = 20250626;BA.debugLine="Return word"; +if (true) return (Object)(_word); +RDebugUtils.currentLine=20250627; + //BA.debugLineNum = 20250627;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_promos.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_promos.java new file mode 100644 index 0000000..7879457 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_promos.java @@ -0,0 +1,1685 @@ +package SHARK2.keymon.com.mx; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_promos extends B4AClass.ImplB4AClass implements BA.SubDelegator{ + private static java.util.HashMap htSubs; + private void innerInitialize(BA _ba) throws Exception { + if (ba == null) { + ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "SHARK2.keymon.com.mx.c_promos"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.c_promos.class).invoke(this, new Object[] {null}); + else + ba.raiseEvent2(null, true, "class_globals", false); + } + + + public void innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{ + innerInitialize(_ba); + } + public Object callSub(String sub, Object sender, Object[] args) throws Exception { + return BA.SubDelegator.SubNotFound; + } +public anywheresoftware.b4a.keywords.Common __c = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_promodesc = null; +public anywheresoftware.b4a.objects.ListViewWrapper _lv_prodsfijos = null; +public b4a.example3.customlistview _clv_prodsvariabes = null; +public b4a.example3.customlistview _clv_prodsvariabes2 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_prodsfijos = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_prodsvariables = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_prodsvariables2 = null; +public anywheresoftware.b4a.objects.ImageViewWrapper _i_prod = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_prodx = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_prods = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos2 = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_pcant = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmas = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmas2 = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_pcant = null; +public int _totalprods = 0; +public int _prodsvar1 = 0; +public int _prodsvar2 = 0; +public int _prodsvarreq = 0; +public int _prodsvarreq_ = 0; +public int _prodsvarreq2 = 0; +public int _prodsvarreq2_ = 0; +public float _totalcompra = 0f; +public float _prodsfijostot = 0f; +public int _tpf = 0; +public int _tpf2 = 0; +public int _maxcantpromos = 0; +public anywheresoftware.b4a.objects.LabelWrapper _l_totprods = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_terminar1 = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_promociones = null; +public anywheresoftware.b4a.objects.collections.List _prodsids = null; +public anywheresoftware.b4a.objects.collections.List _prodscants = null; +public anywheresoftware.b4a.objects.collections.List _prodsprecios = null; +public anywheresoftware.b4a.objects.collections.List _prodsids2 = null; +public anywheresoftware.b4a.objects.collections.List _prodscants2 = null; +public anywheresoftware.b4a.objects.collections.List _prodsprecios2 = null; +public String _estapromo = ""; +public String _estecliente = ""; +public anywheresoftware.b4a.objects.ButtonWrapper _b_promomas = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_promomenos = null; +public anywheresoftware.b4a.objects.EditTextWrapper _et_promocant = null; +public anywheresoftware.b4a.objects.LabelWrapper _l_promoscant = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_continuar = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_prodsvariables = null; +public anywheresoftware.b4a.objects.PanelWrapper _p_prodsvariables2 = null; +public String _lapromo = ""; +public String _elcliente = ""; +public String _prodspedidoactual = ""; +public String _montopedidoactual = ""; +public anywheresoftware.b4a.objects.collections.Map _promosmap = null; +public anywheresoftware.b4a.objects.StringUtils _su = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.c_promos __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=20905984; + //BA.debugLineNum = 20905984;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=20905985; + //BA.debugLineNum = 20905985;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=20905986; + //BA.debugLineNum = 20905986;BA.debugLine="End Sub"; +return null; +} +public String _agregafijosalista(SHARK2.keymon.com.mx.c_promos __ref,anywheresoftware.b4a.objects.collections.Map _mp,boolean _addlistitem) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "agregafijosalista", false)) + {return ((String) Debug.delegate(ba, "agregafijosalista", new Object[] {_mp,_addlistitem}));} +boolean _thislog = false; +int _cont = 0; +anywheresoftware.b4a.objects.collections.List _pf = null; +String _p = ""; +String _tpi = ""; +String _tpr = ""; +int _ntpi = 0; +RDebugUtils.currentLine=21168128; + //BA.debugLineNum = 21168128;BA.debugLine="Sub agregaFijosALista(mp As Map, addListItem As Bo"; +RDebugUtils.currentLine=21168129; + //BA.debugLineNum = 21168129;BA.debugLine="Private thisLog As Boolean = False"; +_thislog = __c.False; +RDebugUtils.currentLine=21168130; + //BA.debugLineNum = 21168130;BA.debugLine="Private cont As Int = 0"; +_cont = (int) (0); +RDebugUtils.currentLine=21168131; + //BA.debugLineNum = 21168131;BA.debugLine="prodsFijosTot = 0"; +__ref._prodsfijostot /*float*/ = (float) (0); +RDebugUtils.currentLine=21168132; + //BA.debugLineNum = 21168132;BA.debugLine="Dim pf As List = mp.Get(\"prodsFijos\")"; +_pf = new anywheresoftware.b4a.objects.collections.List(); +_pf = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijos")))); +RDebugUtils.currentLine=21168133; + //BA.debugLineNum = 21168133;BA.debugLine="If pf.Size < 1 Then pf.Add(\"Sin productos fijos.\""; +if (_pf.getSize()<1) { +_pf.Add((Object)("Sin productos fijos."));}; +RDebugUtils.currentLine=21168137; + //BA.debugLineNum = 21168137;BA.debugLine="prodsIds.clear"; +__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=21168138; + //BA.debugLineNum = 21168138;BA.debugLine="prodsCants.clear"; +__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=21168139; + //BA.debugLineNum = 21168139;BA.debugLine="prodsPrecios.clear"; +__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=21168140; + //BA.debugLineNum = 21168140;BA.debugLine="prodsIds.Add(estaPromo)"; +__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(__ref._estapromo /*String*/ )); +RDebugUtils.currentLine=21168141; + //BA.debugLineNum = 21168141;BA.debugLine="prodsCants.Add(et_promoCant.text.As(Int))"; +__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))))); +RDebugUtils.currentLine=21168142; + //BA.debugLineNum = 21168142;BA.debugLine="prodsPrecios.Add(0)"; +__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(0)); +RDebugUtils.currentLine=21168143; + //BA.debugLineNum = 21168143;BA.debugLine="For Each p As String In pf"; +{ +final anywheresoftware.b4a.BA.IterableList group12 = _pf; +final int groupLen12 = group12.getSize() +;int index12 = 0; +; +for (; index12 < groupLen12;index12++){ +_p = BA.ObjectToString(group12.Get(index12)); +RDebugUtils.currentLine=21168145; + //BA.debugLineNum = 21168145;BA.debugLine="If mp.Get(\"prodsFijosPiezas\").As(List).Size > 0"; +if (((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPiezas"))))).getSize()>0) { +RDebugUtils.currentLine=21168146; + //BA.debugLineNum = 21168146;BA.debugLine="Private tpi As String = mp.Get(\"prodsFijosPieza"; +_tpi = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPiezas"))))).Get(_cont)); + }else { +RDebugUtils.currentLine=21168148; + //BA.debugLineNum = 21168148;BA.debugLine="Private tpi As String = 0"; +_tpi = BA.NumberToString(0); + }; +RDebugUtils.currentLine=21168150; + //BA.debugLineNum = 21168150;BA.debugLine="If mp.Get(\"prodsFijosPrecios\").As(List).Size > 0"; +if (((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPrecios"))))).getSize()>0) { +RDebugUtils.currentLine=21168151; + //BA.debugLineNum = 21168151;BA.debugLine="Private tpr As String = mp.Get(\"prodsFijosPreci"; +_tpr = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPrecios"))))).Get(_cont)); + }else { +RDebugUtils.currentLine=21168153; + //BA.debugLineNum = 21168153;BA.debugLine="Private tpr As String = 0"; +_tpr = BA.NumberToString(0); + }; +RDebugUtils.currentLine=21168155; + //BA.debugLineNum = 21168155;BA.debugLine="prodsFijosTot = prodsFijosTot + (tpi * tpr)"; +__ref._prodsfijostot /*float*/ = (float) (__ref._prodsfijostot /*float*/ +((double)(Double.parseDouble(_tpi))*(double)(Double.parseDouble(_tpr)))); +RDebugUtils.currentLine=21168156; + //BA.debugLineNum = 21168156;BA.debugLine="If thisLog Then Log(\"|\"&tpi&\"|\"&p)"; +if (_thislog) { +__c.LogImpl("521168156","|"+_tpi+"|"+_p,0);}; +RDebugUtils.currentLine=21168157; + //BA.debugLineNum = 21168157;BA.debugLine="Private ntpi As Int = tpi * et_promoCant.text"; +_ntpi = (int) ((double)(Double.parseDouble(_tpi))*(double)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))); +RDebugUtils.currentLine=21168158; + //BA.debugLineNum = 21168158;BA.debugLine="If addListItem And tpi > 0 Then lv_prodsFijos.Ad"; +if (_addlistitem && (double)(Double.parseDouble(_tpi))>0) { +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddSingleLine(BA.ObjectToCharSequence(BA.NumberToString(_ntpi)+" "+_subs._traeprodnombre /*String*/ (ba,_p)+" - $"+_tpr));}; +RDebugUtils.currentLine=21168159; + //BA.debugLineNum = 21168159;BA.debugLine="cont = cont+1"; +_cont = (int) (_cont+1); +RDebugUtils.currentLine=21168162; + //BA.debugLineNum = 21168162;BA.debugLine="prodsIds.Add(p)"; +__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_p)); +RDebugUtils.currentLine=21168163; + //BA.debugLineNum = 21168163;BA.debugLine="prodsCants.Add(tpi.As(Int)*et_promoCant.text.As("; +__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(((int)(Double.parseDouble(_tpi)))*((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))))); +RDebugUtils.currentLine=21168164; + //BA.debugLineNum = 21168164;BA.debugLine="prodsPrecios.Add(tpr) '*et_promoCant.text.As(Int"; +__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_tpr)); + } +}; +RDebugUtils.currentLine=21168166; + //BA.debugLineNum = 21168166;BA.debugLine="End Sub"; +return ""; +} +public String _b_continuar_click(SHARK2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_continuar_click", false)) + {return ((String) Debug.delegate(ba, "b_continuar_click", null));} +int _t = 0; +String _pn = ""; +SHARK2.keymon.com.mx.c_productos _prodspage = null; +RDebugUtils.currentLine=22020096; + //BA.debugLineNum = 22020096;BA.debugLine="Private Sub b_continuar_Click"; +RDebugUtils.currentLine=22020097; + //BA.debugLineNum = 22020097;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=22020098; + //BA.debugLineNum = 22020098;BA.debugLine="Log(\"============================================"; +__c.LogImpl("522020098","====================================================================",0); +RDebugUtils.currentLine=22020099; + //BA.debugLineNum = 22020099;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro"; +{ +final int step3 = 1; +final int limit3 = (int) (__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_t = (int) (0) ; +for (;_t <= limit3 ;_t = _t + step3 ) { +RDebugUtils.currentLine=22020100; + //BA.debugLineNum = 22020100;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t))); +RDebugUtils.currentLine=22020101; + //BA.debugLineNum = 22020101;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsPr"; +_subs._guardaproductosingestion /*String*/ (ba,__ref._estapromo /*String*/ ,BA.ObjectToString(__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),BA.ObjectToString(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_pn,BA.ObjectToString(__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba,_subs._traecliente /*String*/ (ba)),BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); + } +}; +RDebugUtils.currentLine=22020103; + //BA.debugLineNum = 22020103;BA.debugLine="For t = 0 To prodsIds2.Size - 1 'Guardamos los pr"; +{ +final int step7 = 1; +final int limit7 = (int) (__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_t = (int) (0) ; +for (;_t <= limit7 ;_t = _t + step7 ) { +RDebugUtils.currentLine=22020104; + //BA.debugLineNum = 22020104;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t))); +RDebugUtils.currentLine=22020105; + //BA.debugLineNum = 22020105;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsPr"; +_subs._guardaproductosingestion /*String*/ (ba,__ref._estapromo /*String*/ ,BA.ObjectToString(__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),BA.ObjectToString(__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_pn,BA.ObjectToString(__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba,_subs._traecliente /*String*/ (ba)),BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); + } +}; +RDebugUtils.currentLine=22020119; + //BA.debugLineNum = 22020119;BA.debugLine="lv_prodsFijos.Clear"; +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=22020122; + //BA.debugLineNum = 22020122;BA.debugLine="Private prodspage As C_Productos"; +_prodspage = new SHARK2.keymon.com.mx.c_productos(); +RDebugUtils.currentLine=22020123; + //BA.debugLineNum = 22020123;BA.debugLine="If prodspage.IsInitialized Then"; +if (_prodspage.IsInitialized /*boolean*/ ()) { +RDebugUtils.currentLine=22020124; + //BA.debugLineNum = 22020124;BA.debugLine="prodspage.lv_catalogos.Visible = True"; +_prodspage._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=22020125; + //BA.debugLineNum = 22020125;BA.debugLine="prodspage.lv_promos.Visible = False"; +_prodspage._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=22020126; + //BA.debugLineNum = 22020126;BA.debugLine="prodspage.clv_productos.AsView.Visible = False"; +_prodspage._clv_productos /*b4a.example3.customlistview*/ ._asview().setVisible(__c.False); + }; +RDebugUtils.currentLine=22020128; + //BA.debugLineNum = 22020128;BA.debugLine="B4XPages.MainPage.bTerminarClicked = True"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._bterminarclicked /*boolean*/ = __c.True; +RDebugUtils.currentLine=22020129; + //BA.debugLineNum = 22020129;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); +RDebugUtils.currentLine=22020130; + //BA.debugLineNum = 22020130;BA.debugLine="End Sub"; +return ""; +} +public String _cuentaprods(SHARK2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "cuentaprods", false)) + {return ((String) Debug.delegate(ba, "cuentaprods", null));} +boolean _thislog = false; +float _tcpf = 0f; +int _pf = 0; +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; +anywheresoftware.b4a.objects.B4XViewWrapper _cant2 = null; +RDebugUtils.currentLine=21692416; + //BA.debugLineNum = 21692416;BA.debugLine="Sub cuentaProds"; +RDebugUtils.currentLine=21692419; + //BA.debugLineNum = 21692419;BA.debugLine="Private thisLog As Boolean = False"; +_thislog = __c.False; +RDebugUtils.currentLine=21692421; + //BA.debugLineNum = 21692421;BA.debugLine="prodsIds2.Clear"; +__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=21692422; + //BA.debugLineNum = 21692422;BA.debugLine="prodsCants2.Clear"; +__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=21692423; + //BA.debugLineNum = 21692423;BA.debugLine="prodsPrecios2.Clear"; +__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Clear(); +RDebugUtils.currentLine=21692424; + //BA.debugLineNum = 21692424;BA.debugLine="lv_prodsFijos.Clear"; +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=21692425; + //BA.debugLineNum = 21692425;BA.debugLine="prodsVar1 = 0"; +__ref._prodsvar1 /*int*/ = (int) (0); +RDebugUtils.currentLine=21692426; + //BA.debugLineNum = 21692426;BA.debugLine="prodsVar2 = 0"; +__ref._prodsvar2 /*int*/ = (int) (0); +RDebugUtils.currentLine=21692427; + //BA.debugLineNum = 21692427;BA.debugLine="agregaFijosALista(Subs.traePromo(estaPromo, esteC"; +__ref._agregafijosalista /*String*/ (null,_subs._traepromo /*anywheresoftware.b4a.objects.collections.Map*/ (ba,__ref._estapromo /*String*/ ,__ref._estecliente /*String*/ ),__c.True); +RDebugUtils.currentLine=21692429; + //BA.debugLineNum = 21692429;BA.debugLine="Private tcpf As Float = 0 'Total de compra de pro"; +_tcpf = (float) (0); +RDebugUtils.currentLine=21692430; + //BA.debugLineNum = 21692430;BA.debugLine="For pf = 0 To prodsIds.Size - 1"; +{ +final int step10 = 1; +final int limit10 = (int) (__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_pf = (int) (0) ; +for (;_pf <= limit10 ;_pf = _pf + step10 ) { +RDebugUtils.currentLine=21692431; + //BA.debugLineNum = 21692431;BA.debugLine="If thisLog Then Log($\"${tcpf} + ${prodsCants.Get"; +if (_thislog) { +__c.LogImpl("521692431",(""+__c.SmartStringFormatter("",(Object)(_tcpf))+" + "+__c.SmartStringFormatter("",__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pf))+" * "+__c.SmartStringFormatter("",__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pf))+" = "+__c.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pf)))*(double)(BA.ObjectToNumber(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pf))))))+""),0);}; +RDebugUtils.currentLine=21692432; + //BA.debugLineNum = 21692432;BA.debugLine="tcpf = tcpf + (prodsPrecios.Get(pf) * prodsCants"; +_tcpf = (float) (_tcpf+((double)(BA.ObjectToNumber(__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pf)))*(double)(BA.ObjectToNumber(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_pf))))); + } +}; +RDebugUtils.currentLine=21692435; + //BA.debugLineNum = 21692435;BA.debugLine="totalCompra = tcpf"; +__ref._totalcompra /*float*/ = _tcpf; +RDebugUtils.currentLine=21692436; + //BA.debugLineNum = 21692436;BA.debugLine="totalProds = tpf 'Cantidad total de productos fij"; +__ref._totalprods /*int*/ = __ref._tpf /*int*/ ; +RDebugUtils.currentLine=21692438; + //BA.debugLineNum = 21692438;BA.debugLine="For i = 0 To clv_prodsVariabes.GetSize - 1"; +{ +final int step16 = 1; +final int limit16 = (int) (__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getsize()-1); +_i = (int) (0) ; +for (;_i <= limit16 ;_i = _i + step16 ) { +RDebugUtils.currentLine=21692439; + //BA.debugLineNum = 21692439;BA.debugLine="Private p0 As B4XView = clv_prodsVariabes.GetPan"; +_p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p0 = __ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=21692440; + //BA.debugLineNum = 21692440;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = _p0.GetView((int) (0)); +RDebugUtils.currentLine=21692441; + //BA.debugLineNum = 21692441;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView("; +_cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_cant1 = _p.GetView((int) (2)).GetView((int) (4)); +RDebugUtils.currentLine=21692442; + //BA.debugLineNum = 21692442;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; +if ((_cant1.getText()).equals("")) { +_cant1.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=21692443; + //BA.debugLineNum = 21692443;BA.debugLine="totalProds = totalProds + cant1.Text"; +__ref._totalprods /*int*/ = (int) (__ref._totalprods /*int*/ +(double)(Double.parseDouble(_cant1.getText()))); +RDebugUtils.currentLine=21692444; + //BA.debugLineNum = 21692444;BA.debugLine="prodsVar1 = prodsVar1 + cant1.Text"; +__ref._prodsvar1 /*int*/ = (int) (__ref._prodsvar1 /*int*/ +(double)(Double.parseDouble(_cant1.getText()))); +RDebugUtils.currentLine=21692445; + //BA.debugLineNum = 21692445;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", cant"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_cant1.getTag()))); +RDebugUtils.currentLine=21692446; + //BA.debugLineNum = 21692446;BA.debugLine="If cant1.Text > esteTag.Get(1) Then cant1.Text ="; +if ((double)(Double.parseDouble(_cant1.getText()))>(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { +_cant1.setText(BA.ObjectToCharSequence(_estetag.Get((int) (1))));}; +RDebugUtils.currentLine=21692447; + //BA.debugLineNum = 21692447;BA.debugLine="If cant1.Text > 0 Then"; +if ((double)(Double.parseDouble(_cant1.getText()))>0) { +RDebugUtils.currentLine=21692449; + //BA.debugLineNum = 21692449;BA.debugLine="totalCompra = totalCompra + (esteTag.get(0) * c"; +__ref._totalcompra /*float*/ = (float) (__ref._totalcompra /*float*/ +((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant1.getText())))); +RDebugUtils.currentLine=21692450; + //BA.debugLineNum = 21692450;BA.debugLine="If thisLog Then Log($\"Cant: ${cant1.Text}, Suma"; +if (_thislog) { +__c.LogImpl("521692450",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant1.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(__ref._totalcompra /*float*/ ))+""),0);}; +RDebugUtils.currentLine=21692451; + //BA.debugLineNum = 21692451;BA.debugLine="prodsIds2.Add(esteTag.Get(2))"; +__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Add(_estetag.Get((int) (2))); +RDebugUtils.currentLine=21692452; + //BA.debugLineNum = 21692452;BA.debugLine="prodsCants2.Add(cant1.Text)"; +__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_cant1.getText())); +RDebugUtils.currentLine=21692453; + //BA.debugLineNum = 21692453;BA.debugLine="prodsPrecios2.Add(esteTag.get(0))"; +__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Add(_estetag.Get((int) (0))); + }; +RDebugUtils.currentLine=21692455; + //BA.debugLineNum = 21692455;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._totalcompra /*float*/ ))+""))); +RDebugUtils.currentLine=21692456; + //BA.debugLineNum = 21692456;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(__ref._totalprods /*int*/ ))+""))); + } +}; +RDebugUtils.currentLine=21692459; + //BA.debugLineNum = 21692459;BA.debugLine="For i = 0 To clv_prodsVariabes2.GetSize - 1"; +{ +final int step35 = 1; +final int limit35 = (int) (__ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._getsize()-1); +_i = (int) (0) ; +for (;_i <= limit35 ;_i = _i + step35 ) { +RDebugUtils.currentLine=21692460; + //BA.debugLineNum = 21692460;BA.debugLine="Private p0 As B4XView = clv_prodsVariabes2.GetPa"; +_p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p0 = __ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._getpanel(_i); +RDebugUtils.currentLine=21692461; + //BA.debugLineNum = 21692461;BA.debugLine="Private p As B4XView = p0.GetView(0)"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = _p0.GetView((int) (0)); +RDebugUtils.currentLine=21692462; + //BA.debugLineNum = 21692462;BA.debugLine="Private cant2 As B4XView = p.GetView(2).GetView("; +_cant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_cant2 = _p.GetView((int) (2)).GetView((int) (4)); +RDebugUtils.currentLine=21692463; + //BA.debugLineNum = 21692463;BA.debugLine="totalProds = totalProds + cant2.Text"; +__ref._totalprods /*int*/ = (int) (__ref._totalprods /*int*/ +(double)(Double.parseDouble(_cant2.getText()))); +RDebugUtils.currentLine=21692464; + //BA.debugLineNum = 21692464;BA.debugLine="prodsVar2 = prodsVar2 + cant2.Text"; +__ref._prodsvar2 /*int*/ = (int) (__ref._prodsvar2 /*int*/ +(double)(Double.parseDouble(_cant2.getText()))); +RDebugUtils.currentLine=21692465; + //BA.debugLineNum = 21692465;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", cant"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_cant2.getTag()))); +RDebugUtils.currentLine=21692466; + //BA.debugLineNum = 21692466;BA.debugLine="If cant2.Text > esteTag.Get(1) Then cant2.Text ="; +if ((double)(Double.parseDouble(_cant2.getText()))>(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { +_cant2.setText(BA.ObjectToCharSequence(_estetag.Get((int) (1))));}; +RDebugUtils.currentLine=21692467; + //BA.debugLineNum = 21692467;BA.debugLine="If cant2.Text > 0 Then"; +if ((double)(Double.parseDouble(_cant2.getText()))>0) { +RDebugUtils.currentLine=21692469; + //BA.debugLineNum = 21692469;BA.debugLine="totalCompra = totalCompra + (esteTag.get(0) * c"; +__ref._totalcompra /*float*/ = (float) (__ref._totalcompra /*float*/ +((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant2.getText())))); +RDebugUtils.currentLine=21692470; + //BA.debugLineNum = 21692470;BA.debugLine="If thisLog Then Log($\"Cant: ${cant2.Text}, Suma"; +if (_thislog) { +__c.LogImpl("521692470",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant2.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(__ref._totalcompra /*float*/ ))+""),0);}; +RDebugUtils.currentLine=21692471; + //BA.debugLineNum = 21692471;BA.debugLine="prodsIds2.Add(esteTag.Get(2))"; +__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Add(_estetag.Get((int) (2))); +RDebugUtils.currentLine=21692472; + //BA.debugLineNum = 21692472;BA.debugLine="prodsCants2.Add(cant2.Text)"; +__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_cant2.getText())); +RDebugUtils.currentLine=21692473; + //BA.debugLineNum = 21692473;BA.debugLine="prodsPrecios2.Add(esteTag.get(0))"; +__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Add(_estetag.Get((int) (0))); + }; +RDebugUtils.currentLine=21692475; + //BA.debugLineNum = 21692475;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._totalcompra /*float*/ ))+""))); +RDebugUtils.currentLine=21692476; + //BA.debugLineNum = 21692476;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(__ref._totalprods /*int*/ ))+""))); + } +}; +RDebugUtils.currentLine=21692479; + //BA.debugLineNum = 21692479;BA.debugLine="If thisLog Then Log($\"Total Prods: ${totalProds},"; +if (_thislog) { +__c.LogImpl("521692479",("Total Prods: "+__c.SmartStringFormatter("",(Object)(__ref._totalprods /*int*/ ))+", Total: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._totalcompra /*float*/ ))+""),0);}; +RDebugUtils.currentLine=21692480; + //BA.debugLineNum = 21692480;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._totalcompra /*float*/ ))+""))); +RDebugUtils.currentLine=21692481; + //BA.debugLineNum = 21692481;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(__ref._totalprods /*int*/ ))+""))); +RDebugUtils.currentLine=21692482; + //BA.debugLineNum = 21692482;BA.debugLine="If totalProds < prodsVarReq + prodsVarReq2 + tpf"; +if (__ref._totalprods /*int*/ <__ref._prodsvarreq /*int*/ +__ref._prodsvarreq2 /*int*/ +__ref._tpf /*int*/ || __ref._totalprods /*int*/ >__ref._prodsvarreq /*int*/ +__ref._prodsvarreq2 /*int*/ +__ref._tpf /*int*/ ) { +RDebugUtils.currentLine=21692484; + //BA.debugLineNum = 21692484;BA.debugLine="b_terminar1.Visible = False"; +__ref._b_terminar1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=21692485; + //BA.debugLineNum = 21692485;BA.debugLine="b_continuar.Visible = False"; +__ref._b_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=21692488; + //BA.debugLineNum = 21692488;BA.debugLine="b_terminar1.Visible = True"; +__ref._b_terminar1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=21692489; + //BA.debugLineNum = 21692489;BA.debugLine="b_continuar.Visible = True"; +__ref._b_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=21692491; + //BA.debugLineNum = 21692491;BA.debugLine="If thisLog Then LogColor($\"${prodsIds}${CRLF}${pr"; +if (_thislog) { +__c.LogImpl("521692491",(""+__c.SmartStringFormatter("",(Object)(__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .getObject()))+""),__c.Colors.Blue);}; +RDebugUtils.currentLine=21692492; + //BA.debugLineNum = 21692492;BA.debugLine="If thisLog Then LogColor($\"${prodsIds2}${CRLF}${p"; +if (_thislog) { +__c.LogImpl("521692492",(""+__c.SmartStringFormatter("",(Object)(__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .getObject()))+""),__c.Colors.Magenta);}; +RDebugUtils.currentLine=21692494; + //BA.debugLineNum = 21692494;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmas_click(SHARK2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_prodmas_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmas_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _precio = ""; +String _prodid = ""; +anywheresoftware.b4a.objects.collections.Map _tmpmap = null; +RDebugUtils.currentLine=21430272; + //BA.debugLineNum = 21430272;BA.debugLine="Sub b_prodMas_Click"; +RDebugUtils.currentLine=21430273; + //BA.debugLineNum = 21430273;BA.debugLine="If prodsVar1 < prodsVarReq Then"; +if (__ref._prodsvar1 /*int*/ <__ref._prodsvarreq /*int*/ ) { +RDebugUtils.currentLine=21430274; + //BA.debugLineNum = 21430274;BA.debugLine="Dim index As Int = clv_prodsVariabes.GetItemFrom"; +_index = __ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=21430275; + //BA.debugLineNum = 21430275;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=21430276; + //BA.debugLineNum = 21430276;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=21430278; + //BA.debugLineNum = 21430278;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); +RDebugUtils.currentLine=21430281; + //BA.debugLineNum = 21430281;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.T"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); +RDebugUtils.currentLine=21430283; + //BA.debugLineNum = 21430283;BA.debugLine="If laCant.Text + 1 <= esteTag.get(1) Then"; +if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { +RDebugUtils.currentLine=21430284; + //BA.debugLineNum = 21430284;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=21430285; + //BA.debugLineNum = 21430285;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); + }; +RDebugUtils.currentLine=21430289; + //BA.debugLineNum = 21430289;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laC"; +_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; +RDebugUtils.currentLine=21430291; + //BA.debugLineNum = 21430291;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laC"; +_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; +RDebugUtils.currentLine=21430292; + //BA.debugLineNum = 21430292;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":preci"; +_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); +_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(__ref._estapromo /*String*/ )}); +RDebugUtils.currentLine=21430294; + //BA.debugLineNum = 21430294;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_prodid),(Object)(_tmpmap.getObject())); + }; +RDebugUtils.currentLine=21430300; + //BA.debugLineNum = 21430300;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmas2_click(SHARK2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_prodmas2_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmas2_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +anywheresoftware.b4a.objects.collections.List _estetag = null; +String _precio = ""; +String _prodid = ""; +anywheresoftware.b4a.objects.collections.Map _tmpmap = null; +RDebugUtils.currentLine=21561344; + //BA.debugLineNum = 21561344;BA.debugLine="Sub b_prodMas2_Click"; +RDebugUtils.currentLine=21561346; + //BA.debugLineNum = 21561346;BA.debugLine="If prodsVar2 < prodsVarReq2 Then"; +if (__ref._prodsvar2 /*int*/ <__ref._prodsvarreq2 /*int*/ ) { +RDebugUtils.currentLine=21561347; + //BA.debugLineNum = 21561347;BA.debugLine="Dim index As Int = clv_prodsVariabes2.GetItemFro"; +_index = __ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=21561348; + //BA.debugLineNum = 21561348;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes2.GetPane"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=21561349; + //BA.debugLineNum = 21561349;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=21561351; + //BA.debugLineNum = 21561351;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); +RDebugUtils.currentLine=21561354; + //BA.debugLineNum = 21561354;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.T"; +_estetag = new anywheresoftware.b4a.objects.collections.List(); +_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); +RDebugUtils.currentLine=21561356; + //BA.debugLineNum = 21561356;BA.debugLine="If laCant.Text + 1 <= esteTag.get(1) Then"; +if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { +RDebugUtils.currentLine=21561357; + //BA.debugLineNum = 21561357;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=21561358; + //BA.debugLineNum = 21561358;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); + }; +RDebugUtils.currentLine=21561362; + //BA.debugLineNum = 21561362;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laC"; +_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; +RDebugUtils.currentLine=21561364; + //BA.debugLineNum = 21561364;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laC"; +_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; +RDebugUtils.currentLine=21561365; + //BA.debugLineNum = 21561365;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":preci"; +_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); +_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(__ref._estapromo /*String*/ )}); +RDebugUtils.currentLine=21561367; + //BA.debugLineNum = 21561367;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_prodid),(Object)(_tmpmap.getObject())); + }; +RDebugUtils.currentLine=21561373; + //BA.debugLineNum = 21561373;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmenos_click(SHARK2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_prodmenos_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmenos_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +String _precio = ""; +String _prodid = ""; +anywheresoftware.b4a.objects.collections.Map _tmpmap = null; +RDebugUtils.currentLine=21364736; + //BA.debugLineNum = 21364736;BA.debugLine="Sub b_prodMenos_Click"; +RDebugUtils.currentLine=21364737; + //BA.debugLineNum = 21364737;BA.debugLine="Dim index As Int = clv_prodsVariabes.GetItemFromV"; +_index = __ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=21364738; + //BA.debugLineNum = 21364738;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel("; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=21364739; + //BA.debugLineNum = 21364739;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=21364741; + //BA.debugLineNum = 21364741;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); +RDebugUtils.currentLine=21364743; + //BA.debugLineNum = 21364743;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=21364744; + //BA.debugLineNum = 21364744;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=21364747; + //BA.debugLineNum = 21364747;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laCa"; +_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; +RDebugUtils.currentLine=21364749; + //BA.debugLineNum = 21364749;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laCa"; +_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; +RDebugUtils.currentLine=21364750; + //BA.debugLineNum = 21364750;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); +_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(__ref._estapromo /*String*/ )}); +RDebugUtils.currentLine=21364752; + //BA.debugLineNum = 21364752;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_prodid),(Object)(_tmpmap.getObject())); +RDebugUtils.currentLine=21364753; + //BA.debugLineNum = 21364753;BA.debugLine="If laCant.Text = 0 Then promosMap.Remove(prodId)"; +if ((_lacant.getText()).equals(BA.NumberToString(0))) { +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)(_prodid));}; +RDebugUtils.currentLine=21364755; + //BA.debugLineNum = 21364755;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=21364758; + //BA.debugLineNum = 21364758;BA.debugLine="End Sub"; +return ""; +} +public String _b_prodmenos2_click(SHARK2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_prodmenos2_click", false)) + {return ((String) Debug.delegate(ba, "b_prodmenos2_click", null));} +int _index = 0; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; +String _precio = ""; +String _prodid = ""; +anywheresoftware.b4a.objects.collections.Map _tmpmap = null; +RDebugUtils.currentLine=21495808; + //BA.debugLineNum = 21495808;BA.debugLine="Sub b_prodMenos2_Click"; +RDebugUtils.currentLine=21495809; + //BA.debugLineNum = 21495809;BA.debugLine="Dim index As Int = clv_prodsVariabes2.GetItemFrom"; +_index = __ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); +RDebugUtils.currentLine=21495810; + //BA.debugLineNum = 21495810;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes2.GetPanel"; +_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl0 = __ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._getpanel(_index); +RDebugUtils.currentLine=21495811; + //BA.debugLineNum = 21495811;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_pnl = _pnl0.GetView((int) (0)); +RDebugUtils.currentLine=21495813; + //BA.debugLineNum = 21495813;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4)"; +_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); +RDebugUtils.currentLine=21495815; + //BA.debugLineNum = 21495815;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=21495816; + //BA.debugLineNum = 21495816;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; +if ((double)(Double.parseDouble(_lacant.getText()))<0) { +_lacant.setText(BA.ObjectToCharSequence(0));}; +RDebugUtils.currentLine=21495819; + //BA.debugLineNum = 21495819;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laCa"; +_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; +RDebugUtils.currentLine=21495821; + //BA.debugLineNum = 21495821;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laCa"; +_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; +RDebugUtils.currentLine=21495822; + //BA.debugLineNum = 21495822;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; +_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); +_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(__ref._estapromo /*String*/ )}); +RDebugUtils.currentLine=21495824; + //BA.debugLineNum = 21495824;BA.debugLine="promosMap.Put(prodId, tmpMap)"; +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)(_prodid),(Object)(_tmpmap.getObject())); +RDebugUtils.currentLine=21495825; + //BA.debugLineNum = 21495825;BA.debugLine="If laCant.Text = 0 Then promosMap.Remove(prodId)"; +if ((_lacant.getText()).equals(BA.NumberToString(0))) { +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Remove((Object)(_prodid));}; +RDebugUtils.currentLine=21495827; + //BA.debugLineNum = 21495827;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=21495830; + //BA.debugLineNum = 21495830;BA.debugLine="End Sub"; +return ""; +} +public String _b_promomas_click(SHARK2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_promomas_click", false)) + {return ((String) Debug.delegate(ba, "b_promomas_click", null));} +RDebugUtils.currentLine=21889024; + //BA.debugLineNum = 21889024;BA.debugLine="Private Sub b_promoMas_Click"; +RDebugUtils.currentLine=21889025; + //BA.debugLineNum = 21889025;BA.debugLine="If et_promoCant.Text < maxCantPromos Then"; +if ((double)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))<__ref._maxcantpromos /*int*/ ) { +RDebugUtils.currentLine=21889026; + //BA.debugLineNum = 21889026;BA.debugLine="et_promoCant.Text = et_promoCant.Text.As(Int) +"; +__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))+1)); +RDebugUtils.currentLine=21889027; + //BA.debugLineNum = 21889027;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 *"; +__ref._l_prodsfijos /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos fijos ("+__c.SmartStringFormatter("",(Object)(__ref._tpf2 /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+")"))); +RDebugUtils.currentLine=21889028; + //BA.debugLineNum = 21889028;BA.debugLine="l_prodsVariables.Text = $\"Productos variables re"; +__ref._l_prodsvariables /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+""))); +RDebugUtils.currentLine=21889029; + //BA.debugLineNum = 21889029;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2"; +__ref._l_prodsvariables2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables2 requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq2_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+""))); +RDebugUtils.currentLine=21889030; + //BA.debugLineNum = 21889030;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; +__ref._tpf /*int*/ = (int) (__ref._tpf2 /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=21889031; + //BA.debugLineNum = 21889031;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.A"; +__ref._prodsvarreq /*int*/ = (int) (__ref._prodsvarreq_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=21889032; + //BA.debugLineNum = 21889032;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text"; +__ref._prodsvarreq2 /*int*/ = (int) (__ref._prodsvarreq2_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=21889033; + //BA.debugLineNum = 21889033;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, P"; +__c.LogImpl("521889033",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(__ref._tpf /*int*/ ))+", "),0); + }; +RDebugUtils.currentLine=21889035; + //BA.debugLineNum = 21889035;BA.debugLine="If et_promoCant.text > maxCantPromos Then et_prom"; +if ((double)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>__ref._maxcantpromos /*int*/ ) { +__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._maxcantpromos /*int*/ ));}; +RDebugUtils.currentLine=21889036; + //BA.debugLineNum = 21889036;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=21889037; + //BA.debugLineNum = 21889037;BA.debugLine="End Sub"; +return ""; +} +public String _b_promomenos_click(SHARK2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_promomenos_click", false)) + {return ((String) Debug.delegate(ba, "b_promomenos_click", null));} +RDebugUtils.currentLine=21823488; + //BA.debugLineNum = 21823488;BA.debugLine="Private Sub b_promoMenos_Click"; +RDebugUtils.currentLine=21823489; + //BA.debugLineNum = 21823489;BA.debugLine="If et_promoCant.Text > 1 Then"; +if ((double)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>1) { +RDebugUtils.currentLine=21823490; + //BA.debugLineNum = 21823490;BA.debugLine="et_promoCant.Text = et_promoCant.Text.As(Int) -"; +__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))-1)); + }; +RDebugUtils.currentLine=21823492; + //BA.debugLineNum = 21823492;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 * e"; +__ref._l_prodsfijos /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos fijos ("+__c.SmartStringFormatter("",(Object)(__ref._tpf2 /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+")"))); +RDebugUtils.currentLine=21823493; + //BA.debugLineNum = 21823493;BA.debugLine="l_prodsVariables.Text = $\"Productos variables req"; +__ref._l_prodsvariables /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+""))); +RDebugUtils.currentLine=21823494; + //BA.debugLineNum = 21823494;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2 r"; +__ref._l_prodsvariables2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables2 requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq2_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+""))); +RDebugUtils.currentLine=21823495; + //BA.debugLineNum = 21823495;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; +__ref._tpf /*int*/ = (int) (__ref._tpf2 /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=21823496; + //BA.debugLineNum = 21823496;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.As"; +__ref._prodsvarreq /*int*/ = (int) (__ref._prodsvarreq_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=21823497; + //BA.debugLineNum = 21823497;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text."; +__ref._prodsvarreq2 /*int*/ = (int) (__ref._prodsvarreq2_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=21823498; + //BA.debugLineNum = 21823498;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, Pr"; +__c.LogImpl("521823498",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(__ref._tpf /*int*/ ))+", "),0); +RDebugUtils.currentLine=21823499; + //BA.debugLineNum = 21823499;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=21823500; + //BA.debugLineNum = 21823500;BA.debugLine="End Sub"; +return ""; +} +public String _b_terminar1_click(SHARK2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b_terminar1_click", false)) + {return ((String) Debug.delegate(ba, "b_terminar1_click", null));} +int _t = 0; +String _pn = ""; +RDebugUtils.currentLine=21954560; + //BA.debugLineNum = 21954560;BA.debugLine="Private Sub b_terminar1_Click"; +RDebugUtils.currentLine=21954561; + //BA.debugLineNum = 21954561;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=21954562; + //BA.debugLineNum = 21954562;BA.debugLine="Log(\"============================================"; +__c.LogImpl("521954562","====================================================================",0); +RDebugUtils.currentLine=21954563; + //BA.debugLineNum = 21954563;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro"; +{ +final int step3 = 1; +final int limit3 = (int) (__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_t = (int) (0) ; +for (;_t <= limit3 ;_t = _t + step3 ) { +RDebugUtils.currentLine=21954564; + //BA.debugLineNum = 21954564;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t))); +RDebugUtils.currentLine=21954565; + //BA.debugLineNum = 21954565;BA.debugLine="If prodsCants.Get(t) > 0 Then Subs.guardaProduct"; +if ((double)(BA.ObjectToNumber(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)))>0) { +_subs._guardaproductosingestion /*String*/ (ba,__ref._estapromo /*String*/ ,BA.ObjectToString(__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),BA.ObjectToString(__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_pn,BA.ObjectToString(__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba,_subs._traecliente /*String*/ (ba)),BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0));}; + } +}; +RDebugUtils.currentLine=21954567; + //BA.debugLineNum = 21954567;BA.debugLine="For t = 0 To prodsIds2.Size - 1 'Guardamos los pr"; +{ +final int step7 = 1; +final int limit7 = (int) (__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_t = (int) (0) ; +for (;_t <= limit7 ;_t = _t + step7 ) { +RDebugUtils.currentLine=21954568; + //BA.debugLineNum = 21954568;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; +_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t))); +RDebugUtils.currentLine=21954569; + //BA.debugLineNum = 21954569;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsPr"; +_subs._guardaproductosingestion /*String*/ (ba,__ref._estapromo /*String*/ ,BA.ObjectToString(__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),BA.ObjectToString(__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_pn,BA.ObjectToString(__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba,_subs._traecliente /*String*/ (ba)),BA.NumberToString(0),_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); + } +}; +RDebugUtils.currentLine=21954583; + //BA.debugLineNum = 21954583;BA.debugLine="lv_prodsFijos.Clear"; +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=21954584; + //BA.debugLineNum = 21954584;BA.debugLine="B4XPages.MainPage.bTerminarClicked = True"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._bterminarclicked /*boolean*/ = __c.True; +RDebugUtils.currentLine=21954585; + //BA.debugLineNum = 21954585;BA.debugLine="B4XPages.ShowPage(\"productos\")"; +_b4xpages._showpage /*String*/ (ba,"productos"); +RDebugUtils.currentLine=21954586; + //BA.debugLineNum = 21954586;BA.debugLine="B4XPages.MainPage.productos.b_terminar1_Click"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*SHARK2.keymon.com.mx.c_productos*/ ._b_terminar1_click /*String*/ (null); +RDebugUtils.currentLine=21954587; + //BA.debugLineNum = 21954587;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(SHARK2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +anywheresoftware.b4a.objects.collections.Map _m = null; +RDebugUtils.currentLine=21037056; + //BA.debugLineNum = 21037056;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=21037058; + //BA.debugLineNum = 21037058;BA.debugLine="prodsIds.Initialize"; +__ref._prodsids /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=21037059; + //BA.debugLineNum = 21037059;BA.debugLine="prodsCants.Initialize"; +__ref._prodscants /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=21037060; + //BA.debugLineNum = 21037060;BA.debugLine="prodsPrecios.Initialize"; +__ref._prodsprecios /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=21037061; + //BA.debugLineNum = 21037061;BA.debugLine="prodsIds2.Initialize"; +__ref._prodsids2 /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=21037062; + //BA.debugLineNum = 21037062;BA.debugLine="prodsCants2.Initialize"; +__ref._prodscants2 /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=21037063; + //BA.debugLineNum = 21037063;BA.debugLine="prodsPrecios2.Initialize"; +__ref._prodsprecios2 /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=21037064; + //BA.debugLineNum = 21037064;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m = _subs._traetotalesclienteactual /*anywheresoftware.b4a.objects.collections.Map*/ (ba); +RDebugUtils.currentLine=21037065; + //BA.debugLineNum = 21037065;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; +__ref._prodspedidoactual /*String*/ = BA.ObjectToString(_m.Get((Object)("productos"))); +RDebugUtils.currentLine=21037066; + //BA.debugLineNum = 21037066;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; +__ref._montopedidoactual /*String*/ = BA.ObjectToString(_m.Get((Object)("monto"))); +RDebugUtils.currentLine=21037068; + //BA.debugLineNum = 21037068;BA.debugLine="If laPromo <> \"\" Then muestraPromo(laPromo, elCli"; +if ((__ref._lapromo /*String*/ ).equals("") == false) { +__ref._muestrapromo /*String*/ (null,__ref._lapromo /*String*/ ,__ref._elcliente /*String*/ );}; +RDebugUtils.currentLine=21037069; + //BA.debugLineNum = 21037069;BA.debugLine="End Sub"; +return ""; +} +public String _muestrapromo(SHARK2.keymon.com.mx.c_promos __ref,String _promo,String _cliente) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "muestrapromo", false)) + {return ((String) Debug.delegate(ba, "muestrapromo", new Object[] {_promo,_cliente}));} +boolean _thislog = false; +anywheresoftware.b4a.objects.collections.Map _mp = null; +anywheresoftware.b4a.objects.collections.Map _prodspromo = null; +anywheresoftware.b4a.objects.collections.Map _invdisppromo = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +anywheresoftware.b4a.objects.collections.List _listapv = null; +anywheresoftware.b4a.objects.collections.List _listapreciospv = null; +anywheresoftware.b4a.objects.collections.List _listapv2 = null; +anywheresoftware.b4a.objects.collections.List _listapreciospv2 = null; +anywheresoftware.b4a.objects.collections.List _pv = null; +anywheresoftware.b4a.objects.collections.List _pv2 = null; +int _pfp = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +String _p = ""; +String _indicepv = ""; +String _esteprecio = ""; +anywheresoftware.b4a.objects.collections.Map _thisprod = null; +String _indicepv2 = ""; +RDebugUtils.currentLine=21102592; + //BA.debugLineNum = 21102592;BA.debugLine="Sub muestraPromo(promo As String, cliente As Strin"; +RDebugUtils.currentLine=21102593; + //BA.debugLineNum = 21102593;BA.debugLine="Private thisLog As Boolean = False"; +_thislog = __c.False; +RDebugUtils.currentLine=21102595; + //BA.debugLineNum = 21102595;BA.debugLine="estaPromo = promo"; +__ref._estapromo /*String*/ = _promo; +RDebugUtils.currentLine=21102596; + //BA.debugLineNum = 21102596;BA.debugLine="esteCliente = cliente"; +__ref._estecliente /*String*/ = _cliente; +RDebugUtils.currentLine=21102597; + //BA.debugLineNum = 21102597;BA.debugLine="Private mp As Map = Subs.traePromo(promo, cliente"; +_mp = new anywheresoftware.b4a.objects.collections.Map(); +_mp = _subs._traepromo /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_promo,_cliente); +RDebugUtils.currentLine=21102598; + //BA.debugLineNum = 21102598;BA.debugLine="Private prodsPromo As Map = mp.Get(\"productos\") '"; +_prodspromo = new anywheresoftware.b4a.objects.collections.Map(); +_prodspromo = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_mp.Get((Object)("productos")))); +RDebugUtils.currentLine=21102599; + //BA.debugLineNum = 21102599;BA.debugLine="Private invDispPromo As Map = Subs.traemosInventa"; +_invdisppromo = new anywheresoftware.b4a.objects.collections.Map(); +_invdisppromo = _subs._traemosinventariodisponibleparapromo /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_promo); +RDebugUtils.currentLine=21102601; + //BA.debugLineNum = 21102601;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods"; +if (_thislog) { +__c.LogImpl("521102601","Max promos por inv de prods FIJOS: "+BA.NumberToString(_subs._revisamaxpromosprodsfijosporinventario /*int*/ (ba,_mp)),0);}; +RDebugUtils.currentLine=21102602; + //BA.debugLineNum = 21102602;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods"; +if (_thislog) { +__c.LogImpl("521102602","Max promos por inv de prods VARIABLES: "+BA.NumberToString(_subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp)),0);}; +RDebugUtils.currentLine=21102603; + //BA.debugLineNum = 21102603;BA.debugLine="maxCantPromos = Subs.revisaMaxPromosProdsVariable"; +__ref._maxcantpromos /*int*/ = _subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp); +RDebugUtils.currentLine=21102604; + //BA.debugLineNum = 21102604;BA.debugLine="et_promoCant.Text = 1"; +__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(1)); +RDebugUtils.currentLine=21102605; + //BA.debugLineNum = 21102605;BA.debugLine="l_promosCant.text = \"Max promos: \" & maxCantPromo"; +__ref._l_promoscant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Max promos: "+BA.NumberToString(__ref._maxcantpromos /*int*/ ))); +RDebugUtils.currentLine=21102606; + //BA.debugLineNum = 21102606;BA.debugLine="Private cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=21102607; + //BA.debugLineNum = 21102607;BA.debugLine="cs.Initialize"; +_cs.Initialize(); +RDebugUtils.currentLine=21102608; + //BA.debugLineNum = 21102608;BA.debugLine="If thisLog Then Log(mp)"; +if (_thislog) { +__c.LogImpl("521102608",BA.ObjectToString(_mp),0);}; +RDebugUtils.currentLine=21102609; + //BA.debugLineNum = 21102609;BA.debugLine="If thisLog Then Log(prodsPromo)"; +if (_thislog) { +__c.LogImpl("521102609",BA.ObjectToString(_prodspromo),0);}; +RDebugUtils.currentLine=21102610; + //BA.debugLineNum = 21102610;BA.debugLine="Private listaPV As List = mp.Get(\"prodsVariables\""; +_listapv = new anywheresoftware.b4a.objects.collections.List(); +_listapv = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables")))); +RDebugUtils.currentLine=21102611; + //BA.debugLineNum = 21102611;BA.debugLine="Private listaPreciosPV As List = mp.Get(\"prodsVar"; +_listapreciospv = new anywheresoftware.b4a.objects.collections.List(); +_listapreciospv = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariablesPrecios")))); +RDebugUtils.currentLine=21102612; + //BA.debugLineNum = 21102612;BA.debugLine="Private listaPV2 As List = mp.Get(\"prodsVariables"; +_listapv2 = new anywheresoftware.b4a.objects.collections.List(); +_listapv2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables2")))); +RDebugUtils.currentLine=21102613; + //BA.debugLineNum = 21102613;BA.debugLine="Private listaPreciosPV2 As List = mp.Get(\"prodsVa"; +_listapreciospv2 = new anywheresoftware.b4a.objects.collections.List(); +_listapreciospv2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariablesPrecios2")))); +RDebugUtils.currentLine=21102618; + //BA.debugLineNum = 21102618;BA.debugLine="l_promoDesc.Text = cs.Color(Colors.RGB(100,149,23"; +__ref._l_promodesc /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence("Promocion: ")).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence(_promo)).Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence(_mp.Get((Object)("descripcion")))).PopAll().getObject())); +RDebugUtils.currentLine=21102619; + //BA.debugLineNum = 21102619;BA.debugLine="prodsFijosTot = 0"; +__ref._prodsfijostot /*float*/ = (float) (0); +RDebugUtils.currentLine=21102622; + //BA.debugLineNum = 21102622;BA.debugLine="Dim pv As List = mp.Get(\"prodsVariables\")"; +_pv = new anywheresoftware.b4a.objects.collections.List(); +_pv = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables")))); +RDebugUtils.currentLine=21102623; + //BA.debugLineNum = 21102623;BA.debugLine="Dim pv2 As List = mp.Get(\"prodsVariables2\")"; +_pv2 = new anywheresoftware.b4a.objects.collections.List(); +_pv2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables2")))); +RDebugUtils.currentLine=21102624; + //BA.debugLineNum = 21102624;BA.debugLine="If thisLog Then Log(mp)"; +if (_thislog) { +__c.LogImpl("521102624",BA.ObjectToString(_mp),0);}; +RDebugUtils.currentLine=21102625; + //BA.debugLineNum = 21102625;BA.debugLine="tpf = 0"; +__ref._tpf /*int*/ = (int) (0); +RDebugUtils.currentLine=21102626; + //BA.debugLineNum = 21102626;BA.debugLine="For Each pfp As Int In mp.Get(\"prodsFijosPiezas\")"; +{ +final anywheresoftware.b4a.BA.IterableList group26 = ((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPiezas"))))); +final int groupLen26 = group26.getSize() +;int index26 = 0; +; +for (; index26 < groupLen26;index26++){ +_pfp = (int)(BA.ObjectToNumber(group26.Get(index26))); +RDebugUtils.currentLine=21102627; + //BA.debugLineNum = 21102627;BA.debugLine="tpf = tpf + pfp"; +__ref._tpf /*int*/ = (int) (__ref._tpf /*int*/ +_pfp); + } +}; +RDebugUtils.currentLine=21102629; + //BA.debugLineNum = 21102629;BA.debugLine="tpf2 = tpf"; +__ref._tpf2 /*int*/ = __ref._tpf /*int*/ ; +RDebugUtils.currentLine=21102631; + //BA.debugLineNum = 21102631;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf})\"$"; +__ref._l_prodsfijos /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos fijos ("+__c.SmartStringFormatter("",(Object)(__ref._tpf /*int*/ ))+")"))); +RDebugUtils.currentLine=21102632; + //BA.debugLineNum = 21102632;BA.debugLine="prodsVarReq = mp.Get(\"prodsVariablesRequeridos\")"; +__ref._prodsvarreq /*int*/ = (int)(BA.ObjectToNumber(_mp.Get((Object)("prodsVariablesRequeridos")))); +RDebugUtils.currentLine=21102633; + //BA.debugLineNum = 21102633;BA.debugLine="prodsVarReq_ = prodsVarReq"; +__ref._prodsvarreq_ /*int*/ = __ref._prodsvarreq /*int*/ ; +RDebugUtils.currentLine=21102634; + //BA.debugLineNum = 21102634;BA.debugLine="prodsVarReq2 = mp.Get(\"prodsVariables2Requeridos\""; +__ref._prodsvarreq2 /*int*/ = (int)(BA.ObjectToNumber(_mp.Get((Object)("prodsVariables2Requeridos")))); +RDebugUtils.currentLine=21102635; + //BA.debugLineNum = 21102635;BA.debugLine="prodsVarReq2_ = prodsVarReq2"; +__ref._prodsvarreq2_ /*int*/ = __ref._prodsvarreq2 /*int*/ ; +RDebugUtils.currentLine=21102637; + //BA.debugLineNum = 21102637;BA.debugLine="l_prodsVariables.Text = $\"Productos variables req"; +__ref._l_prodsvariables /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq /*int*/ ))+""))); +RDebugUtils.currentLine=21102638; + //BA.debugLineNum = 21102638;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2 r"; +__ref._l_prodsvariables2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables2 requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq2 /*int*/ ))+""))); +RDebugUtils.currentLine=21102639; + //BA.debugLineNum = 21102639;BA.debugLine="If prodsVarReq = 0 Then"; +if (__ref._prodsvarreq /*int*/ ==0) { +RDebugUtils.currentLine=21102640; + //BA.debugLineNum = 21102640;BA.debugLine="p_prodsVariables.Visible = False"; +__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); + }else { +RDebugUtils.currentLine=21102642; + //BA.debugLineNum = 21102642;BA.debugLine="p_prodsVariables.Visible = True"; +__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); + }; +RDebugUtils.currentLine=21102645; + //BA.debugLineNum = 21102645;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=21102646; + //BA.debugLineNum = 21102646;BA.debugLine="label1 = lv_prodsFijos.SingleLineLayout.Label"; +_label1 = __ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().Label; +RDebugUtils.currentLine=21102647; + //BA.debugLineNum = 21102647;BA.debugLine="label1.TextSize = 13"; +_label1.setTextSize((float) (13)); +RDebugUtils.currentLine=21102648; + //BA.debugLineNum = 21102648;BA.debugLine="label1.TextColor = Colors.black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=21102649; + //BA.debugLineNum = 21102649;BA.debugLine="lv_prodsFijos.SingleLineLayout.ItemHeight = 30dip"; +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getSingleLineLayout().setItemHeight(__c.DipToCurrent((int) (30))); +RDebugUtils.currentLine=21102650; + //BA.debugLineNum = 21102650;BA.debugLine="lv_prodsFijos.Clear"; +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=21102652; + //BA.debugLineNum = 21102652;BA.debugLine="lv_prodsFijos.Clear"; +__ref._lv_prodsfijos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=21102653; + //BA.debugLineNum = 21102653;BA.debugLine="agregaFijosALista(mp, True)"; +__ref._agregafijosalista /*String*/ (null,_mp,__c.True); +RDebugUtils.currentLine=21102654; + //BA.debugLineNum = 21102654;BA.debugLine="If thisLog Then Log(\"Total prods fijos = \" & prod"; +if (_thislog) { +__c.LogImpl("521102654","Total prods fijos = "+BA.NumberToString(__ref._prodsfijostot /*float*/ ),0);}; +RDebugUtils.currentLine=21102656; + //BA.debugLineNum = 21102656;BA.debugLine="l_totProds.text = $\"Productos: ${tpf}\"$"; +__ref._l_totprods /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(__ref._tpf /*int*/ ))+""))); +RDebugUtils.currentLine=21102657; + //BA.debugLineNum = 21102657;BA.debugLine="l_total.Text = $\"Total: $$1.2{prodsFijosTot}\"$"; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(__ref._prodsfijostot /*float*/ ))+""))); +RDebugUtils.currentLine=21102663; + //BA.debugLineNum = 21102663;BA.debugLine="If thisLog Then Log($\"PV1: ${pv.Size}, ${pv}\"$)"; +if (_thislog) { +__c.LogImpl("521102663",("PV1: "+__c.SmartStringFormatter("",(Object)(_pv.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv.getObject()))+""),0);}; +RDebugUtils.currentLine=21102664; + //BA.debugLineNum = 21102664;BA.debugLine="If thisLog Then Log($\"PV2: ${pv2.Size}, ${pv2}\"$)"; +if (_thislog) { +__c.LogImpl("521102664",("PV2: "+__c.SmartStringFormatter("",(Object)(_pv2.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv2.getObject()))+""),0);}; +RDebugUtils.currentLine=21102665; + //BA.debugLineNum = 21102665;BA.debugLine="If thisLog Then Log(\"invDisp=\" & invDispPromo)"; +if (_thislog) { +__c.LogImpl("521102665","invDisp="+BA.ObjectToString(_invdisppromo),0);}; +RDebugUtils.currentLine=21102666; + //BA.debugLineNum = 21102666;BA.debugLine="clv_prodsVariabes.Clear"; +__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=21102667; + //BA.debugLineNum = 21102667;BA.debugLine="clv_prodsVariabes2.Clear"; +__ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._clear(); +RDebugUtils.currentLine=21102668; + //BA.debugLineNum = 21102668;BA.debugLine="For Each p As String In pv"; +{ +final anywheresoftware.b4a.BA.IterableList group58 = _pv; +final int groupLen58 = group58.getSize() +;int index58 = 0; +; +for (; index58 < groupLen58;index58++){ +_p = BA.ObjectToString(group58.Get(index58)); +RDebugUtils.currentLine=21102669; + //BA.debugLineNum = 21102669;BA.debugLine="If invDispPromo.ContainsKey(p) Then 'Si no esta"; +if (_invdisppromo.ContainsKey((Object)(_p))) { +RDebugUtils.currentLine=21102670; + //BA.debugLineNum = 21102670;BA.debugLine="Private indicePV = listaPV.IndexOf(p)"; +_indicepv = BA.NumberToString(_listapv.IndexOf((Object)(_p))); +RDebugUtils.currentLine=21102672; + //BA.debugLineNum = 21102672;BA.debugLine="Private estePrecio = listaPreciosPV.Get(indiceP"; +_esteprecio = BA.ObjectToString(_listapreciospv.Get((int)(Double.parseDouble(_indicepv)))); +RDebugUtils.currentLine=21102677; + //BA.debugLineNum = 21102677;BA.debugLine="Private thisProd As Map = prodsPromo.Get(p)"; +_thisprod = new anywheresoftware.b4a.objects.collections.Map(); +_thisprod = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodspromo.Get((Object)(_p)))); +RDebugUtils.currentLine=21102678; + //BA.debugLineNum = 21102678;BA.debugLine="If thisLog Then Log(thisProd)"; +if (_thislog) { +__c.LogImpl("521102678",BA.ObjectToString(_thisprod),0);}; +RDebugUtils.currentLine=21102679; + //BA.debugLineNum = 21102679;BA.debugLine="clv_prodsVariabes.Add(CreateListItem(Subs.traeP"; +__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,_subs._traeprodnombre /*String*/ (ba,_p)+__c.CRLF+"Hay "+BA.ObjectToString(_invdisppromo.Get((Object)(_p)))+" $"+_esteprecio,_esteprecio,(int)(BA.ObjectToNumber(_invdisppromo.Get((Object)(_p)))),__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (50)),(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(__c.Null)),_p).getObject())),(Object)(_p)); + }; + } +}; +RDebugUtils.currentLine=21102682; + //BA.debugLineNum = 21102682;BA.debugLine="For Each p As String In pv2"; +{ +final anywheresoftware.b4a.BA.IterableList group67 = _pv2; +final int groupLen67 = group67.getSize() +;int index67 = 0; +; +for (; index67 < groupLen67;index67++){ +_p = BA.ObjectToString(group67.Get(index67)); +RDebugUtils.currentLine=21102683; + //BA.debugLineNum = 21102683;BA.debugLine="If invDispPromo.ContainsKey(p) Then 'Si no esta"; +if (_invdisppromo.ContainsKey((Object)(_p))) { +RDebugUtils.currentLine=21102688; + //BA.debugLineNum = 21102688;BA.debugLine="Private indicePV2 = listaPV2.IndexOf(p)"; +_indicepv2 = BA.NumberToString(_listapv2.IndexOf((Object)(_p))); +RDebugUtils.currentLine=21102691; + //BA.debugLineNum = 21102691;BA.debugLine="Private estePrecio = listaPreciosPV2.Get(indice"; +_esteprecio = BA.ObjectToString(_listapreciospv2.Get((int)(Double.parseDouble(_indicepv2)))); +RDebugUtils.currentLine=21102696; + //BA.debugLineNum = 21102696;BA.debugLine="Private thisProd As Map = prodsPromo.Get(p)"; +_thisprod = new anywheresoftware.b4a.objects.collections.Map(); +_thisprod = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodspromo.Get((Object)(_p)))); +RDebugUtils.currentLine=21102697; + //BA.debugLineNum = 21102697;BA.debugLine="If thisLog Then Log(thisProd)"; +if (_thislog) { +__c.LogImpl("521102697",BA.ObjectToString(_thisprod),0);}; +RDebugUtils.currentLine=21102698; + //BA.debugLineNum = 21102698;BA.debugLine="clv_prodsVariabes2.Add(CreateListItem2(Subs.tra"; +__ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._createlistitem2 /*anywheresoftware.b4a.objects.PanelWrapper*/ (null,_subs._traeprodnombre /*String*/ (ba,_p)+__c.CRLF+"Hay "+BA.ObjectToString(_invdisppromo.Get((Object)(_p)))+" $"+_esteprecio,_esteprecio,(int)(BA.ObjectToNumber(_invdisppromo.Get((Object)(_p)))),__ref._clv_prodsvariabes2 /*b4a.example3.customlistview*/ ._asview().getWidth(),__c.DipToCurrent((int) (50)),(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(__c.Null)),_p).getObject())),(Object)(_p)); + }; + } +}; +RDebugUtils.currentLine=21102701; + //BA.debugLineNum = 21102701;BA.debugLine="If pv2.Size = 0 Then"; +if (_pv2.getSize()==0) { +RDebugUtils.currentLine=21102703; + //BA.debugLineNum = 21102703;BA.debugLine="l_prodsVariables2.Visible = False"; +__ref._l_prodsvariables2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=21102704; + //BA.debugLineNum = 21102704;BA.debugLine="p_prodsVariables2.Visible = False"; +__ref._p_prodsvariables2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=21102706; + //BA.debugLineNum = 21102706;BA.debugLine="p_prodsVariables.Height = 410dip"; +__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__c.DipToCurrent((int) (410))); +RDebugUtils.currentLine=21102707; + //BA.debugLineNum = 21102707;BA.debugLine="clv_prodsVariabes.GetBase.Height = p_prodsVariab"; +__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getbase().setHeight((int) (__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()-20)); +RDebugUtils.currentLine=21102711; + //BA.debugLineNum = 21102711;BA.debugLine="clv_prodsVariabes.Base_Resize(clv_prodsVariabes."; +__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._base_resize(__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getbase().getWidth(),__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()-20); + }else { +RDebugUtils.currentLine=21102713; + //BA.debugLineNum = 21102713;BA.debugLine="l_prodsVariables2.Visible = True"; +__ref._l_prodsvariables2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=21102714; + //BA.debugLineNum = 21102714;BA.debugLine="p_prodsVariables2.Visible = True"; +__ref._p_prodsvariables2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=21102715; + //BA.debugLineNum = 21102715;BA.debugLine="p_prodsVariables.Height = 210dip"; +__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__c.DipToCurrent((int) (210))); +RDebugUtils.currentLine=21102716; + //BA.debugLineNum = 21102716;BA.debugLine="clv_prodsVariabes.GetBase.Height = p_prodsVariab"; +__ref._clv_prodsvariabes /*b4a.example3.customlistview*/ ._getbase().setHeight((int) (__ref._p_prodsvariables /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()-20)); + }; +RDebugUtils.currentLine=21102718; + //BA.debugLineNum = 21102718;BA.debugLine="b_terminar1.Visible = False"; +__ref._b_terminar1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=21102719; + //BA.debugLineNum = 21102719;BA.debugLine="b_continuar.Visible = False"; +__ref._b_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setVisible(__c.False); +RDebugUtils.currentLine=21102720; + //BA.debugLineNum = 21102720;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=21102721; + //BA.debugLineNum = 21102721;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(SHARK2.keymon.com.mx.c_promos __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=20971520; + //BA.debugLineNum = 20971520;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=20971521; + //BA.debugLineNum = 20971521;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=20971523; + //BA.debugLineNum = 20971523;BA.debugLine="Root.LoadLayout(\"promociones\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("promociones",ba); +RDebugUtils.currentLine=20971525; + //BA.debugLineNum = 20971525;BA.debugLine="p_promociones.Height= Root.Height"; +__ref._p_promociones /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); +RDebugUtils.currentLine=20971526; + //BA.debugLineNum = 20971526;BA.debugLine="p_promociones.Width= Root.Width"; +__ref._p_promociones /*anywheresoftware.b4a.objects.PanelWrapper*/ .setWidth(__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); +RDebugUtils.currentLine=20971528; + //BA.debugLineNum = 20971528;BA.debugLine="promosMap.Initialize"; +__ref._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=20971529; + //BA.debugLineNum = 20971529;BA.debugLine="p_promociones.Top=0"; +__ref._p_promociones /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=20971530; + //BA.debugLineNum = 20971530;BA.debugLine="p_promociones.Left=0"; +__ref._p_promociones /*anywheresoftware.b4a.objects.PanelWrapper*/ .setLeft((int) (0)); +RDebugUtils.currentLine=20971531; + //BA.debugLineNum = 20971531;BA.debugLine="b_terminar1.Left = Root.Width - (b_terminar1.Widt"; +__ref._b_terminar1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-(__ref._b_terminar1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()+10))); +RDebugUtils.currentLine=20971532; + //BA.debugLineNum = 20971532;BA.debugLine="b_continuar.Left = Root.Width - b_terminar1.Width"; +__ref._b_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setLeft((int) (__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()-__ref._b_terminar1 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()-(__ref._b_continuar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getWidth()+20))); +RDebugUtils.currentLine=20971533; + //BA.debugLineNum = 20971533;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_promos __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +RDebugUtils.currentLine=20840448; + //BA.debugLineNum = 20840448;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=20840449; + //BA.debugLineNum = 20840449;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=20840450; + //BA.debugLineNum = 20840450;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=20840451; + //BA.debugLineNum = 20840451;BA.debugLine="Private l_promoDesc As Label"; +_l_promodesc = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=20840452; + //BA.debugLineNum = 20840452;BA.debugLine="Private lv_prodsFijos As ListView"; +_lv_prodsfijos = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=20840453; + //BA.debugLineNum = 20840453;BA.debugLine="Private clv_prodsVariabes, clv_prodsVariabes2 As"; +_clv_prodsvariabes = new b4a.example3.customlistview(); +_clv_prodsvariabes2 = new b4a.example3.customlistview(); +RDebugUtils.currentLine=20840454; + //BA.debugLineNum = 20840454;BA.debugLine="Private l_prodsFijos As Label"; +_l_prodsfijos = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=20840455; + //BA.debugLineNum = 20840455;BA.debugLine="Private l_prodsVariables, l_prodsVariables2 As La"; +_l_prodsvariables = new anywheresoftware.b4a.objects.LabelWrapper(); +_l_prodsvariables2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=20840456; + //BA.debugLineNum = 20840456;BA.debugLine="Private i_prod As ImageView"; +_i_prod = new anywheresoftware.b4a.objects.ImageViewWrapper(); +RDebugUtils.currentLine=20840457; + //BA.debugLineNum = 20840457;BA.debugLine="Private l_prodX As Label"; +_l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=20840458; + //BA.debugLineNum = 20840458;BA.debugLine="Private p_prods As Panel"; +_p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=20840459; + //BA.debugLineNum = 20840459;BA.debugLine="Private b_prodMenos, b_prodMenos2 As Button"; +_b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); +_b_prodmenos2 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=20840460; + //BA.debugLineNum = 20840460;BA.debugLine="Private et_pCant As EditText"; +_et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=20840461; + //BA.debugLineNum = 20840461;BA.debugLine="Private b_prodMas, b_prodMas2 As Button"; +_b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); +_b_prodmas2 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=20840462; + //BA.debugLineNum = 20840462;BA.debugLine="Private l_pCant As Label"; +_l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=20840463; + //BA.debugLineNum = 20840463;BA.debugLine="Dim totalProds As Int = 0"; +_totalprods = (int) (0); +RDebugUtils.currentLine=20840464; + //BA.debugLineNum = 20840464;BA.debugLine="Dim prodsVar1 As Int = 0"; +_prodsvar1 = (int) (0); +RDebugUtils.currentLine=20840465; + //BA.debugLineNum = 20840465;BA.debugLine="Dim prodsVar2 As Int = 0"; +_prodsvar2 = (int) (0); +RDebugUtils.currentLine=20840466; + //BA.debugLineNum = 20840466;BA.debugLine="Dim prodsVarReq As Int = 0"; +_prodsvarreq = (int) (0); +RDebugUtils.currentLine=20840467; + //BA.debugLineNum = 20840467;BA.debugLine="Dim prodsVarReq_ As Int = 0"; +_prodsvarreq_ = (int) (0); +RDebugUtils.currentLine=20840468; + //BA.debugLineNum = 20840468;BA.debugLine="Dim prodsVarReq2 As Int = 0"; +_prodsvarreq2 = (int) (0); +RDebugUtils.currentLine=20840469; + //BA.debugLineNum = 20840469;BA.debugLine="Dim prodsVarReq2_ As Int = 0"; +_prodsvarreq2_ = (int) (0); +RDebugUtils.currentLine=20840470; + //BA.debugLineNum = 20840470;BA.debugLine="Dim totalCompra As Float = 0"; +_totalcompra = (float) (0); +RDebugUtils.currentLine=20840471; + //BA.debugLineNum = 20840471;BA.debugLine="Dim prodsFijosTot As Float = 0"; +_prodsfijostot = (float) (0); +RDebugUtils.currentLine=20840472; + //BA.debugLineNum = 20840472;BA.debugLine="Dim tpf As Int = 0"; +_tpf = (int) (0); +RDebugUtils.currentLine=20840473; + //BA.debugLineNum = 20840473;BA.debugLine="Dim tpf2 As Int = 0"; +_tpf2 = (int) (0); +RDebugUtils.currentLine=20840474; + //BA.debugLineNum = 20840474;BA.debugLine="Dim maxCantPromos As Int = 1"; +_maxcantpromos = (int) (1); +RDebugUtils.currentLine=20840475; + //BA.debugLineNum = 20840475;BA.debugLine="Private l_totProds As Label"; +_l_totprods = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=20840476; + //BA.debugLineNum = 20840476;BA.debugLine="Private l_total As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=20840477; + //BA.debugLineNum = 20840477;BA.debugLine="Private b_terminar1 As Button"; +_b_terminar1 = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=20840478; + //BA.debugLineNum = 20840478;BA.debugLine="Private p_promociones As Panel"; +_p_promociones = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=20840479; + //BA.debugLineNum = 20840479;BA.debugLine="Dim prodsIds, prodsCants, prodsPrecios, prodsIds2"; +_prodsids = new anywheresoftware.b4a.objects.collections.List(); +_prodscants = new anywheresoftware.b4a.objects.collections.List(); +_prodsprecios = new anywheresoftware.b4a.objects.collections.List(); +_prodsids2 = new anywheresoftware.b4a.objects.collections.List(); +_prodscants2 = new anywheresoftware.b4a.objects.collections.List(); +_prodsprecios2 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=20840480; + //BA.debugLineNum = 20840480;BA.debugLine="Dim estaPromo, esteCliente As String"; +_estapromo = ""; +_estecliente = ""; +RDebugUtils.currentLine=20840481; + //BA.debugLineNum = 20840481;BA.debugLine="Private b_promoMas As Button"; +_b_promomas = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=20840482; + //BA.debugLineNum = 20840482;BA.debugLine="Private b_promoMenos As Button"; +_b_promomenos = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=20840483; + //BA.debugLineNum = 20840483;BA.debugLine="Private et_promoCant As EditText"; +_et_promocant = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=20840484; + //BA.debugLineNum = 20840484;BA.debugLine="Private l_promosCant As Label"; +_l_promoscant = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=20840485; + //BA.debugLineNum = 20840485;BA.debugLine="Private b_continuar As Button"; +_b_continuar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=20840486; + //BA.debugLineNum = 20840486;BA.debugLine="Private p_prodsVariables, p_prodsVariables2 As Pa"; +_p_prodsvariables = new anywheresoftware.b4a.objects.PanelWrapper(); +_p_prodsvariables2 = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=20840487; + //BA.debugLineNum = 20840487;BA.debugLine="Dim laPromo = \"\", elCliente = \"\" As String"; +_lapromo = ""; +_elcliente = ""; +RDebugUtils.currentLine=20840488; + //BA.debugLineNum = 20840488;BA.debugLine="Dim prodsPedidoActual As String"; +_prodspedidoactual = ""; +RDebugUtils.currentLine=20840489; + //BA.debugLineNum = 20840489;BA.debugLine="Dim montoPedidoActual As String"; +_montopedidoactual = ""; +RDebugUtils.currentLine=20840490; + //BA.debugLineNum = 20840490;BA.debugLine="Dim promosMap As Map"; +_promosmap = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=20840491; + //BA.debugLineNum = 20840491;BA.debugLine="Dim su As StringUtils"; +_su = new anywheresoftware.b4a.objects.StringUtils(); +RDebugUtils.currentLine=20840492; + //BA.debugLineNum = 20840492;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(SHARK2.keymon.com.mx.c_promos __ref,String _text,String _preciou,int _inv,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "createlistitem", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem", new Object[] {_text,_preciou,_inv,_width,_height,_img,_prodid}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=21233664; + //BA.debugLineNum = 21233664;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; +RDebugUtils.currentLine=21233665; + //BA.debugLineNum = 21233665;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=21233666; + //BA.debugLineNum = 21233666;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=21233667; + //BA.debugLineNum = 21233667;BA.debugLine="p.LoadLayout(\"prodItem1\")"; +_p.LoadLayout("prodItem1",ba); +RDebugUtils.currentLine=21233668; + //BA.debugLineNum = 21233668;BA.debugLine="l_prodX.TextSize = 15"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (15)); +RDebugUtils.currentLine=21233669; + //BA.debugLineNum = 21233669;BA.debugLine="l_prodX.Text = Text"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=21233670; + //BA.debugLineNum = 21233670;BA.debugLine="l_prodX.TextSize = 15"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (15)); +RDebugUtils.currentLine=21233673; + //BA.debugLineNum = 21233673;BA.debugLine="p_prods.height = su.MeasureMultilineTextHeight(l_"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight((int) (__ref._su /*anywheresoftware.b4a.objects.StringUtils*/ .MeasureMultilineTextHeight((android.widget.TextView)(__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .getObject()),BA.ObjectToCharSequence(__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+20)); +RDebugUtils.currentLine=21233674; + //BA.debugLineNum = 21233674;BA.debugLine="If p_prods.Height < Height Then p_prods.Height ="; +if (__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()<_height) { +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(_height);}; +RDebugUtils.currentLine=21233675; + //BA.debugLineNum = 21233675;BA.debugLine="l_prodX.Height = p_prods.Height"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setHeight(__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=21233676; + //BA.debugLineNum = 21233676;BA.debugLine="l_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); +RDebugUtils.currentLine=21233677; + //BA.debugLineNum = 21233677;BA.debugLine="et_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); +RDebugUtils.currentLine=21233678; + //BA.debugLineNum = 21233678;BA.debugLine="et_pCant.BringToFront"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .BringToFront(); +RDebugUtils.currentLine=21233680; + //BA.debugLineNum = 21233680;BA.debugLine="p.Height = p_prods.Height"; +_p.setHeight(__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=21233681; + //BA.debugLineNum = 21233681;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=21233682; + //BA.debugLineNum = 21233682;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(SHARK2.keymon.com.mx.c_promos __ref,String _text,String _preciou,int _inv,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "createlistitem2", false)) + {return ((anywheresoftware.b4a.objects.PanelWrapper) Debug.delegate(ba, "createlistitem2", new Object[] {_text,_preciou,_inv,_width,_height,_img,_prodid}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=21299200; + //BA.debugLineNum = 21299200;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; +RDebugUtils.currentLine=21299201; + //BA.debugLineNum = 21299201;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=21299202; + //BA.debugLineNum = 21299202;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); +RDebugUtils.currentLine=21299203; + //BA.debugLineNum = 21299203;BA.debugLine="p.LoadLayout(\"prodItem2\")"; +_p.LoadLayout("prodItem2",ba); +RDebugUtils.currentLine=21299204; + //BA.debugLineNum = 21299204;BA.debugLine="l_prodX.TextSize = 15"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (15)); +RDebugUtils.currentLine=21299205; + //BA.debugLineNum = 21299205;BA.debugLine="l_prodX.Text = Text"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=21299206; + //BA.debugLineNum = 21299206;BA.debugLine="l_prodX.TextSize = 15"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTextSize((float) (15)); +RDebugUtils.currentLine=21299209; + //BA.debugLineNum = 21299209;BA.debugLine="p_prods.height = su.MeasureMultilineTextHeight(l_"; +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight((int) (__ref._su /*anywheresoftware.b4a.objects.StringUtils*/ .MeasureMultilineTextHeight((android.widget.TextView)(__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .getObject()),BA.ObjectToCharSequence(__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+20)); +RDebugUtils.currentLine=21299210; + //BA.debugLineNum = 21299210;BA.debugLine="If p_prods.Height < Height Then p_prods.Height ="; +if (__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()<_height) { +__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .setHeight(_height);}; +RDebugUtils.currentLine=21299211; + //BA.debugLineNum = 21299211;BA.debugLine="l_prodX.Height = p_prods.Height"; +__ref._l_prodx /*anywheresoftware.b4a.objects.LabelWrapper*/ .setHeight(__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=21299213; + //BA.debugLineNum = 21299213;BA.debugLine="l_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +__ref._l_pcant /*anywheresoftware.b4a.objects.LabelWrapper*/ .setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); +RDebugUtils.currentLine=21299214; + //BA.debugLineNum = 21299214;BA.debugLine="et_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); +RDebugUtils.currentLine=21299215; + //BA.debugLineNum = 21299215;BA.debugLine="et_pCant.BringToFront"; +__ref._et_pcant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .BringToFront(); +RDebugUtils.currentLine=21299217; + //BA.debugLineNum = 21299217;BA.debugLine="p.Height = p_prods.Height"; +_p.setHeight(__ref._p_prods /*anywheresoftware.b4a.objects.PanelWrapper*/ .getHeight()); +RDebugUtils.currentLine=21299218; + //BA.debugLineNum = 21299218;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=21299219; + //BA.debugLineNum = 21299219;BA.debugLine="End Sub"; +return null; +} +public String _et_pcant_focuschanged(SHARK2.keymon.com.mx.c_promos __ref,boolean _hasfocus) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "et_pcant_focuschanged", false)) + {return ((String) Debug.delegate(ba, "et_pcant_focuschanged", new Object[] {_hasfocus}));} +RDebugUtils.currentLine=21757952; + //BA.debugLineNum = 21757952;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo"; +RDebugUtils.currentLine=21757953; + //BA.debugLineNum = 21757953;BA.debugLine="LogColor(\"focus changed\", Colors.Magenta)"; +__c.LogImpl("521757953","focus changed",__c.Colors.Magenta); +RDebugUtils.currentLine=21757954; + //BA.debugLineNum = 21757954;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=21757955; + //BA.debugLineNum = 21757955;BA.debugLine="End Sub"; +return ""; +} +public String _et_pcant_textchanged(SHARK2.keymon.com.mx.c_promos __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "et_pcant_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_pcant_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=21626880; + //BA.debugLineNum = 21626880;BA.debugLine="Private Sub et_pCant_TextChanged (Old As String, N"; +RDebugUtils.currentLine=21626882; + //BA.debugLineNum = 21626882;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=21626883; + //BA.debugLineNum = 21626883;BA.debugLine="End Sub"; +return ""; +} +public String _et_promocant_textchanged(SHARK2.keymon.com.mx.c_promos __ref,String _old,String _new) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_promos"; +if (Debug.shouldDelegate(ba, "et_promocant_textchanged", false)) + {return ((String) Debug.delegate(ba, "et_promocant_textchanged", new Object[] {_old,_new}));} +RDebugUtils.currentLine=22085632; + //BA.debugLineNum = 22085632;BA.debugLine="Private Sub et_promoCant_TextChanged (Old As Strin"; +RDebugUtils.currentLine=22085634; + //BA.debugLineNum = 22085634;BA.debugLine="If et_promoCant.Text = \"\" Then"; +if ((__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=22085635; + //BA.debugLineNum = 22085635;BA.debugLine="et_promoCant.Text = 1"; +__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(1)); + }; +RDebugUtils.currentLine=22085639; + //BA.debugLineNum = 22085639;BA.debugLine="If et_promoCant.Text < maxCantPromos Then"; +if ((double)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))<__ref._maxcantpromos /*int*/ ) { +RDebugUtils.currentLine=22085641; + //BA.debugLineNum = 22085641;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 *"; +__ref._l_prodsfijos /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos fijos ("+__c.SmartStringFormatter("",(Object)(__ref._tpf2 /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+")"))); +RDebugUtils.currentLine=22085642; + //BA.debugLineNum = 22085642;BA.debugLine="l_prodsVariables.Text = $\"Productos variables re"; +__ref._l_prodsvariables /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+""))); +RDebugUtils.currentLine=22085643; + //BA.debugLineNum = 22085643;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2"; +__ref._l_prodsvariables2 /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence(("Productos variables2 requeridos: "+__c.SmartStringFormatter("",(Object)(__ref._prodsvarreq2_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+""))); +RDebugUtils.currentLine=22085644; + //BA.debugLineNum = 22085644;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; +__ref._tpf /*int*/ = (int) (__ref._tpf2 /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=22085645; + //BA.debugLineNum = 22085645;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.A"; +__ref._prodsvarreq /*int*/ = (int) (__ref._prodsvarreq_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=22085646; + //BA.debugLineNum = 22085646;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text"; +__ref._prodsvarreq2 /*int*/ = (int) (__ref._prodsvarreq2_ /*int*/ *((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))); +RDebugUtils.currentLine=22085647; + //BA.debugLineNum = 22085647;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, P"; +__c.LogImpl("522085647",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(__ref._tpf /*int*/ ))+", "),0); + }; +RDebugUtils.currentLine=22085649; + //BA.debugLineNum = 22085649;BA.debugLine="If et_promoCant.text > maxCantPromos Then et_prom"; +if ((double)(Double.parseDouble(__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()))>__ref._maxcantpromos /*int*/ ) { +__ref._et_promocant /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(__ref._maxcantpromos /*int*/ ));}; +RDebugUtils.currentLine=22085650; + //BA.debugLineNum = 22085650;BA.debugLine="cuentaProds"; +__ref._cuentaprods /*String*/ (null); +RDebugUtils.currentLine=22085651; + //BA.debugLineNum = 22085651;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_respaldodiario.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_respaldodiario.java new file mode 100644 index 0000000..45e149a --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_respaldodiario.java @@ -0,0 +1,455 @@ +package SHARK2.keymon.com.mx; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_respaldodiario 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, "SHARK2.keymon.com.mx.c_respaldodiario"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.c_respaldodiario.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 _skmt = null; +public anywheresoftware.b4a.sql.SQL _rkmt = null; +public String _safepath = ""; +public String _fechahoy = ""; +public boolean _skmtattached = false; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _respaldapedido(SHARK2.keymon.com.mx.c_respaldodiario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_respaldodiario"; +if (Debug.shouldDelegate(ba, "respaldapedido", false)) + {return ((String) Debug.delegate(ba, "respaldapedido", null));} +String _inicio = ""; +RDebugUtils.currentLine=22413312; + //BA.debugLineNum = 22413312;BA.debugLine="Sub respaldaPedido"; +RDebugUtils.currentLine=22413313; + //BA.debugLineNum = 22413313;BA.debugLine="Private inicio As String = DateTime.Now"; +_inicio = BA.NumberToString(__c.DateTime.getNow()); +RDebugUtils.currentLine=22413314; + //BA.debugLineNum = 22413314;BA.debugLine="Log(\"copiando pedidos ...\")"; +__c.LogImpl("522413314","copiando pedidos ...",0); +RDebugUtils.currentLine=22413315; + //BA.debugLineNum = 22413315;BA.debugLine="rkmt.BeginTransaction"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); +RDebugUtils.currentLine=22413316; + //BA.debugLineNum = 22413316;BA.debugLine="rkmt.ExecNonQuery($\"delete from pedidos where sub"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedidos where substr(pe_fecha, 1, 10) = '"+__c.SmartStringFormatter("",(Object)(__ref._fechahoy /*String*/ ))+"'")); +RDebugUtils.currentLine=22413318; + //BA.debugLineNum = 22413318;BA.debugLine="rkmt.TransactionSuccessful 'Si no se pone Transac"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); +RDebugUtils.currentLine=22413319; + //BA.debugLineNum = 22413319;BA.debugLine="rkmt.EndTransaction"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); +RDebugUtils.currentLine=22413321; + //BA.debugLineNum = 22413321;BA.debugLine="End Sub"; +return ""; +} +public String _respaldainventarios(SHARK2.keymon.com.mx.c_respaldodiario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_respaldodiario"; +if (Debug.shouldDelegate(ba, "respaldainventarios", false)) + {return ((String) Debug.delegate(ba, "respaldainventarios", null));} +String _inicio = ""; +RDebugUtils.currentLine=22478848; + //BA.debugLineNum = 22478848;BA.debugLine="Sub respaldaInventarios"; +RDebugUtils.currentLine=22478850; + //BA.debugLineNum = 22478850;BA.debugLine="Private inicio As String = DateTime.Now"; +_inicio = BA.NumberToString(__c.DateTime.getNow()); +RDebugUtils.currentLine=22478853; + //BA.debugLineNum = 22478853;BA.debugLine="rkmt.BeginTransaction"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); +RDebugUtils.currentLine=22478854; + //BA.debugLineNum = 22478854;BA.debugLine="rkmt.ExecNonQuery($\"delete from inventarios where"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from inventarios where fecha = '"+__c.SmartStringFormatter("",(Object)(__ref._fechahoy /*String*/ ))+"'")); +RDebugUtils.currentLine=22478856; + //BA.debugLineNum = 22478856;BA.debugLine="rkmt.TransactionSuccessful 'Si no se pone Transac"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); +RDebugUtils.currentLine=22478857; + //BA.debugLineNum = 22478857;BA.debugLine="rkmt.EndTransaction"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); +RDebugUtils.currentLine=22478859; + //BA.debugLineNum = 22478859;BA.debugLine="End Sub"; +return ""; +} +public String _respaldapaquetes(SHARK2.keymon.com.mx.c_respaldodiario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_respaldodiario"; +if (Debug.shouldDelegate(ba, "respaldapaquetes", false)) + {return ((String) Debug.delegate(ba, "respaldapaquetes", null));} +String _inicio = ""; +RDebugUtils.currentLine=22544384; + //BA.debugLineNum = 22544384;BA.debugLine="Sub respaldaPaquetes"; +RDebugUtils.currentLine=22544385; + //BA.debugLineNum = 22544385;BA.debugLine="Private inicio As String = DateTime.Now"; +_inicio = BA.NumberToString(__c.DateTime.getNow()); +RDebugUtils.currentLine=22544387; + //BA.debugLineNum = 22544387;BA.debugLine="rkmt.BeginTransaction"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction(); +RDebugUtils.currentLine=22544389; + //BA.debugLineNum = 22544389;BA.debugLine="rkmt.ExecNonQuery($\"delete from paquetes where fe"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from paquetes where fecha = '"+__c.SmartStringFormatter("",(Object)(__ref._fechahoy /*String*/ ))+"'")); +RDebugUtils.currentLine=22544390; + //BA.debugLineNum = 22544390;BA.debugLine="rkmt.ExecNonQuery($\"insert into paquetes (cat_dp_"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into paquetes (cat_dp_precio_simptos, cat_dp_precio, 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, fecha) select cat_dp_precio_simptos, cat_dp_precio, 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, '"+__c.SmartStringFormatter("",(Object)(__ref._fechahoy /*String*/ ))+"' as fecha from skmt1.cat_detalles_paq")); +RDebugUtils.currentLine=22544391; + //BA.debugLineNum = 22544391;BA.debugLine="rkmt.TransactionSuccessful 'Si no se pone Transac"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful(); +RDebugUtils.currentLine=22544392; + //BA.debugLineNum = 22544392;BA.debugLine="rkmt.EndTransaction"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction(); +RDebugUtils.currentLine=22544394; + //BA.debugLineNum = 22544394;BA.debugLine="End Sub"; +return ""; +} +public Object _initialize(SHARK2.keymon.com.mx.c_respaldodiario __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_respaldodiario"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +anywheresoftware.b4a.objects.RuntimePermissions _rp = null; +String _dirp = ""; +String _dir = ""; +String[] _name = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=22216704; + //BA.debugLineNum = 22216704;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=22216706; + //BA.debugLineNum = 22216706;BA.debugLine="Dim rp As RuntimePermissions"; +_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); +RDebugUtils.currentLine=22216707; + //BA.debugLineNum = 22216707;BA.debugLine="Dim Dirp As String = File.DirInternal"; +_dirp = __c.File.getDirInternal(); +RDebugUtils.currentLine=22216708; + //BA.debugLineNum = 22216708;BA.debugLine="Dim Dir As String"; +_dir = ""; +RDebugUtils.currentLine=22216710; + //BA.debugLineNum = 22216710;BA.debugLine="Try"; +try {RDebugUtils.currentLine=22216711; + //BA.debugLineNum = 22216711;BA.debugLine="File.MakeDir(Dirp,\"/kmts\")"; +__c.File.MakeDir(_dirp,"/kmts"); +RDebugUtils.currentLine=22216712; + //BA.debugLineNum = 22216712;BA.debugLine="Dir = \"/kmts\""; +_dir = "/kmts"; + } + catch (Exception e8) { + ba.setLastException(e8);RDebugUtils.currentLine=22216715; + //BA.debugLineNum = 22216715;BA.debugLine="Dir = \"\""; +_dir = ""; + }; +RDebugUtils.currentLine=22216719; + //BA.debugLineNum = 22216719;BA.debugLine="safePath = Dirp & Dir"; +__ref._safepath /*String*/ = _dirp+_dir; +RDebugUtils.currentLine=22216721; + //BA.debugLineNum = 22216721;BA.debugLine="If Not(File.IsDirectory(Dirp, Dir)) Then safePath"; +if (__c.Not(__c.File.IsDirectory(_dirp,_dir))) { +__ref._safepath /*String*/ = _rp.GetSafeDirDefaultExternal("kmts");}; +RDebugUtils.currentLine=22216722; + //BA.debugLineNum = 22216722;BA.debugLine="Private name() As String = Regex.split(\" \", Appli"; +_name = __c.Regex.Split(" ",__c.Application.getLabelName()); +RDebugUtils.currentLine=22216723; + //BA.debugLineNum = 22216723;BA.debugLine="rkmt.Initialize(safePath,$\"${name(0)}.rkmt.km\"$,"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(__ref._safepath /*String*/ ,(""+__c.SmartStringFormatter("",(Object)(_name[(int) (0)]))+".rkmt.km"),__c.True); +RDebugUtils.currentLine=22216724; + //BA.debugLineNum = 22216724;BA.debugLine="skmt.Initialize(File.DirInternal,\"kmt.db\", False)"; +__ref._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(__c.File.getDirInternal(),"kmt.db",__c.False); +RDebugUtils.currentLine=22216725; + //BA.debugLineNum = 22216725;BA.debugLine="rkmt.ExecNonQuery($\"create table if not exists pe"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("create table if not exists pedidos (pe_folio NUMERIC, pe_desc NUMERIC, pe_costo_sin TEXT, pe_ruta TEXT, pe_cedis TEXT, pe_costo_tot NUMERIC, pe_costou NUMERIC, pe_cant NUMERIC, pe_pronombre TEXT, pe_proid TEXT, pe_cliente TEXT, pe_fecha TEXT, pe_usuario TEXT)")); +RDebugUtils.currentLine=22216726; + //BA.debugLineNum = 22216726;BA.debugLine="agregaColumna2(rkmt,\"pedidos\",\"pe_cantc\",\"text\")"; +__ref._agregacolumna2 /*String*/ (null,__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ ,"pedidos","pe_cantc","text"); +RDebugUtils.currentLine=22216727; + //BA.debugLineNum = 22216727;BA.debugLine="agregaColumna2(rkmt,\"pedidos\",\"pe_bcajas\",\"text\")"; +__ref._agregacolumna2 /*String*/ (null,__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ ,"pedidos","pe_bcajas","text"); +RDebugUtils.currentLine=22216728; + //BA.debugLineNum = 22216728;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=22216729; + //BA.debugLineNum = 22216729;BA.debugLine="Private c As Cursor = rkmt.ExecQuery($\"SELECT CO"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('pedidos') WHERE name='pe_envio_ok'")))); +RDebugUtils.currentLine=22216730; + //BA.debugLineNum = 22216730;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=22216731; + //BA.debugLineNum = 22216731;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=22216732; + //BA.debugLineNum = 22216732;BA.debugLine="rkmt.ExecNonQuery($\"ALTER TABLE pedidos ADD COL"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE pedidos ADD COLUMN pe_envio_ok INT")); +RDebugUtils.currentLine=22216733; + //BA.debugLineNum = 22216733;BA.debugLine="Log($\"Columna \"pe_envio_ok INT\", agregada a \"pe"; +__c.LogImpl("522216733",("Columna \"pe_envio_ok INT\", agregada a \"pedidos}\"."),0); + }; + } + catch (Exception e26) { + ba.setLastException(e26);RDebugUtils.currentLine=22216736; + //BA.debugLineNum = 22216736;BA.debugLine="Try"; +try {RDebugUtils.currentLine=22216737; + //BA.debugLineNum = 22216737;BA.debugLine="rkmt.ExecNonQuery($\"ALTER TABLE pedidos ADD COL"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE pedidos ADD COLUMN pe_envio_ok INT")); +RDebugUtils.currentLine=22216738; + //BA.debugLineNum = 22216738;BA.debugLine="Log($\"Columna \"pe_envio_ok INT\", agregada a \"pe"; +__c.LogImpl("522216738",("Columna \"pe_envio_ok INT\", agregada a \"pedidos\".."),0); + } + catch (Exception e30) { + ba.setLastException(e30);RDebugUtils.currentLine=22216740; + //BA.debugLineNum = 22216740;BA.debugLine="Log(LastException)"; +__c.LogImpl("522216740",BA.ObjectToString(__c.LastException(ba)),0); + }; + }; +RDebugUtils.currentLine=22216743; + //BA.debugLineNum = 22216743;BA.debugLine="rkmt.ExecNonQuery($\"create table if not exists in"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("create table if not exists inventarios (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_tipoprod2 TEXT, fecha TEXT)")); +RDebugUtils.currentLine=22216744; + //BA.debugLineNum = 22216744;BA.debugLine="rkmt.ExecNonQuery($\"create table if not exists pa"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("create table if not exists paquetes (cat_dp_precio_simptos TEXT, cat_dp_precio TEXT, cat_dp_almacen TEXT, cat_dp_id TEXT, cat_dp_idprod TEXT, cat_dp_tipo TEXT, cat_dp_pzas TEXT, cat_dp_usuario TEXT, cat_dp_fecha TEXT, cat_dp_regalo TEXT, cat_dp_clasif TEXT, fecha TEXT)")); +RDebugUtils.currentLine=22216745; + //BA.debugLineNum = 22216745;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=22216746; + //BA.debugLineNum = 22216746;BA.debugLine="fechaHoy = DateTime.Date(DateTime.Now)"; +__ref._fechahoy /*String*/ = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=22216747; + //BA.debugLineNum = 22216747;BA.debugLine="revisaSkmtAttached"; +__ref._revisaskmtattached /*String*/ (null); +RDebugUtils.currentLine=22216748; + //BA.debugLineNum = 22216748;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=22216749; + //BA.debugLineNum = 22216749;BA.debugLine="End Sub"; +return null; +} +public String _vacuum(SHARK2.keymon.com.mx.c_respaldodiario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_respaldodiario"; +if (Debug.shouldDelegate(ba, "vacuum", false)) + {return ((String) Debug.delegate(ba, "vacuum", null));} +RDebugUtils.currentLine=22609920; + //BA.debugLineNum = 22609920;BA.debugLine="Sub vacuum"; +RDebugUtils.currentLine=22609921; + //BA.debugLineNum = 22609921;BA.debugLine="Log(\"Vacuum\")"; +__c.LogImpl("522609921","Vacuum",0); +RDebugUtils.currentLine=22609922; + //BA.debugLineNum = 22609922;BA.debugLine="rkmt.ExecNonQuery(\"vacuum;\")"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=22609923; + //BA.debugLineNum = 22609923;BA.debugLine="End Sub"; +return ""; +} +public String _agregacolumna(SHARK2.keymon.com.mx.c_respaldodiario __ref,String _tabla,String _columna,String _tipo) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_respaldodiario"; +if (Debug.shouldDelegate(ba, "agregacolumna", false)) + {return ((String) Debug.delegate(ba, "agregacolumna", new Object[] {_tabla,_columna,_tipo}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=22675456; + //BA.debugLineNum = 22675456;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +RDebugUtils.currentLine=22675457; + //BA.debugLineNum = 22675457;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=22675458; + //BA.debugLineNum = 22675458;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+__c.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+__c.SmartStringFormatter("",(Object)(_columna))+"'")))); +RDebugUtils.currentLine=22675459; + //BA.debugLineNum = 22675459;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=22675460; + //BA.debugLineNum = 22675460;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=22675461; + //BA.debugLineNum = 22675461;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=22675462; + //BA.debugLineNum = 22675462;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +__c.LogImpl("522675462",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); + }; + } + catch (Exception e9) { + ba.setLastException(e9);RDebugUtils.currentLine=22675465; + //BA.debugLineNum = 22675465;BA.debugLine="Try"; +try {RDebugUtils.currentLine=22675466; + //BA.debugLineNum = 22675466;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=22675467; + //BA.debugLineNum = 22675467;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +__c.LogImpl("522675467",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); + } + catch (Exception e13) { + ba.setLastException(e13);RDebugUtils.currentLine=22675469; + //BA.debugLineNum = 22675469;BA.debugLine="Log(LastException)"; +__c.LogImpl("522675469",BA.ObjectToString(__c.LastException(ba)),0); + }; + }; +RDebugUtils.currentLine=22675472; + //BA.debugLineNum = 22675472;BA.debugLine="End Sub"; +return ""; +} +public String _agregacolumna2(SHARK2.keymon.com.mx.c_respaldodiario __ref,anywheresoftware.b4a.sql.SQL _db,String _tabla,String _columna,String _tipo) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_respaldodiario"; +if (Debug.shouldDelegate(ba, "agregacolumna2", false)) + {return ((String) Debug.delegate(ba, "agregacolumna2", new Object[] {_db,_tabla,_columna,_tipo}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=22740992; + //BA.debugLineNum = 22740992;BA.debugLine="Sub agregaColumna2(db As SQL, tabla As String, col"; +RDebugUtils.currentLine=22740993; + //BA.debugLineNum = 22740993;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=22740994; + //BA.debugLineNum = 22740994;BA.debugLine="Private c As Cursor = db.ExecQuery($\"SELECT COUN"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_db.ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+__c.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+__c.SmartStringFormatter("",(Object)(_columna))+"'")))); +RDebugUtils.currentLine=22740995; + //BA.debugLineNum = 22740995;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=22740996; + //BA.debugLineNum = 22740996;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=22740997; + //BA.debugLineNum = 22740997;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=22740998; + //BA.debugLineNum = 22740998;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +__c.LogImpl("522740998",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); + }; + } + catch (Exception e9) { + ba.setLastException(e9);RDebugUtils.currentLine=22741001; + //BA.debugLineNum = 22741001;BA.debugLine="Try"; +try {RDebugUtils.currentLine=22741002; + //BA.debugLineNum = 22741002;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=22741003; + //BA.debugLineNum = 22741003;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +__c.LogImpl("522741003",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); + } + catch (Exception e13) { + ba.setLastException(e13);RDebugUtils.currentLine=22741005; + //BA.debugLineNum = 22741005;BA.debugLine="Log(LastException)"; +__c.LogImpl("522741005",BA.ObjectToString(__c.LastException(ba)),0); + }; + }; +RDebugUtils.currentLine=22741008; + //BA.debugLineNum = 22741008;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(SHARK2.keymon.com.mx.c_respaldodiario __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_respaldodiario"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=22282240; + //BA.debugLineNum = 22282240;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=22282241; + //BA.debugLineNum = 22282241;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=22282243; + //BA.debugLineNum = 22282243;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_respaldodiario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_respaldodiario"; +RDebugUtils.currentLine=22151168; + //BA.debugLineNum = 22151168;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=22151169; + //BA.debugLineNum = 22151169;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=22151170; + //BA.debugLineNum = 22151170;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=22151171; + //BA.debugLineNum = 22151171;BA.debugLine="Dim skmt, rkmt As SQL"; +_skmt = new anywheresoftware.b4a.sql.SQL(); +_rkmt = new anywheresoftware.b4a.sql.SQL(); +RDebugUtils.currentLine=22151173; + //BA.debugLineNum = 22151173;BA.debugLine="Dim safePath As String"; +_safepath = ""; +RDebugUtils.currentLine=22151174; + //BA.debugLineNum = 22151174;BA.debugLine="Dim fechaHoy As String"; +_fechahoy = ""; +RDebugUtils.currentLine=22151175; + //BA.debugLineNum = 22151175;BA.debugLine="Dim skmtAttached As Boolean = False"; +_skmtattached = __c.False; +RDebugUtils.currentLine=22151176; + //BA.debugLineNum = 22151176;BA.debugLine="End Sub"; +return ""; +} +public String _revisaskmtattached(SHARK2.keymon.com.mx.c_respaldodiario __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_respaldodiario"; +if (Debug.shouldDelegate(ba, "revisaskmtattached", false)) + {return ((String) Debug.delegate(ba, "revisaskmtattached", null));} +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _rs = null; +RDebugUtils.currentLine=22347776; + //BA.debugLineNum = 22347776;BA.debugLine="Sub revisaSkmtAttached"; +RDebugUtils.currentLine=22347777; + //BA.debugLineNum = 22347777;BA.debugLine="skmtAttached = False"; +__ref._skmtattached /*boolean*/ = __c.False; +RDebugUtils.currentLine=22347778; + //BA.debugLineNum = 22347778;BA.debugLine="Dim rs As ResultSet = rkmt.ExecQuery(\"SELECT * FR"; +_rs = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_rs = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM pragma_database_list"))); +RDebugUtils.currentLine=22347779; + //BA.debugLineNum = 22347779;BA.debugLine="Do While rs.NextRow 'Revisamos si esta montada \"k"; +while (_rs.NextRow()) { +RDebugUtils.currentLine=22347780; + //BA.debugLineNum = 22347780;BA.debugLine="If rs.GetString(\"name\") = \"skmt1\" Then skmtAttac"; +if ((_rs.GetString("name")).equals("skmt1")) { +__ref._skmtattached /*boolean*/ = __c.True;}; + } +; +RDebugUtils.currentLine=22347782; + //BA.debugLineNum = 22347782;BA.debugLine="If Not(skmtAttached) Then"; +if (__c.Not(__ref._skmtattached /*boolean*/ )) { +RDebugUtils.currentLine=22347783; + //BA.debugLineNum = 22347783;BA.debugLine="rkmt.ExecNonQuery($\"attach database '${File.Comb"; +__ref._rkmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("attach database '"+__c.SmartStringFormatter("",(Object)(__c.File.Combine(__c.File.getDirInternal(),"kmt.db")))+"' as skmt1;")); +RDebugUtils.currentLine=22347784; + //BA.debugLineNum = 22347784;BA.debugLine="skmtAttached = True"; +__ref._skmtattached /*boolean*/ = __c.True; + }; +RDebugUtils.currentLine=22347786; + //BA.debugLineNum = 22347786;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_subs.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_subs.java new file mode 100644 index 0000000..f38efaa --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_subs.java @@ -0,0 +1,1457 @@ +package SHARK2.keymon.com.mx; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class c_subs 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, "SHARK2.keymon.com.mx.c_subs"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.c_subs.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 SHARK2.keymon.com.mx.dbrequestmanager _reqmanager = null; +public String _eventname = ""; +public Object _callback = null; +public anywheresoftware.b4a.phone.Phone _phn = null; +public String _devmodel = ""; +public anywheresoftware.b4a.sql.SQL _db = null; +public anywheresoftware.b4a.sql.SQL _kmt = null; +public anywheresoftware.b4a.sql.SQL _errorlog = null; +public String _ssid = ""; +public anywheresoftware.b4a.objects.collections.List _reqslist = null; +public boolean _reqerror = false; +public boolean _subslogs = false; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.c_subs __ref,anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba,_vcallback,_veventname}));} +RDebugUtils.currentLine=22872064; + //BA.debugLineNum = 22872064;BA.debugLine="Public Sub Initialize (vCallback As Object, vEvent"; +RDebugUtils.currentLine=22872065; + //BA.debugLineNum = 22872065;BA.debugLine="reqsList.Initialize"; +__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=22872066; + //BA.debugLineNum = 22872066;BA.debugLine="EventName = vEventName"; +__ref._eventname /*String*/ = _veventname; +RDebugUtils.currentLine=22872067; + //BA.debugLineNum = 22872067;BA.debugLine="CallBack = vCallback"; +__ref._callback /*Object*/ = _vcallback; +RDebugUtils.currentLine=22872068; + //BA.debugLineNum = 22872068;BA.debugLine="db = dbInit"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ = __ref._dbinit /*anywheresoftware.b4a.sql.SQL*/ (null); +RDebugUtils.currentLine=22872069; + //BA.debugLineNum = 22872069;BA.debugLine="reqManager = reqManagerInit"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ = __ref._reqmanagerinit /*SHARK2.keymon.com.mx.dbrequestmanager*/ (null); +RDebugUtils.currentLine=22872070; + //BA.debugLineNum = 22872070;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=22872071; + //BA.debugLineNum = 22872071;BA.debugLine="End Sub"; +return null; +} +public String _agregacolumna(SHARK2.keymon.com.mx.c_subs __ref,String _tabla,String _columna,String _tipo) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "agregacolumna", false)) + {return ((String) Debug.delegate(ba, "agregacolumna", new Object[] {_tabla,_columna,_tipo}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=24969216; + //BA.debugLineNum = 24969216;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +RDebugUtils.currentLine=24969217; + //BA.debugLineNum = 24969217;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=24969218; + //BA.debugLineNum = 24969218;BA.debugLine="Private c As Cursor = db.ExecQuery($\"SELECT COUN"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+__c.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+__c.SmartStringFormatter("",(Object)(_columna))+"'")))); +RDebugUtils.currentLine=24969219; + //BA.debugLineNum = 24969219;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=24969220; + //BA.debugLineNum = 24969220;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=24969221; + //BA.debugLineNum = 24969221;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=24969222; + //BA.debugLineNum = 24969222;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +__c.LogImpl("524969222",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); + }; + } + catch (Exception e9) { + ba.setLastException(e9);RDebugUtils.currentLine=24969225; + //BA.debugLineNum = 24969225;BA.debugLine="Try"; +try {RDebugUtils.currentLine=24969226; + //BA.debugLineNum = 24969226;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=24969227; + //BA.debugLineNum = 24969227;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +__c.LogImpl("524969227",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); + } + catch (Exception e13) { + ba.setLastException(e13);RDebugUtils.currentLine=24969229; + //BA.debugLineNum = 24969229;BA.debugLine="Log(LastException)"; +__c.LogImpl("524969229",BA.ObjectToString(__c.LastException(getActivityBA())),0); + }; + }; +RDebugUtils.currentLine=24969232; + //BA.debugLineNum = 24969232;BA.debugLine="End Sub"; +return ""; +} +public String _borralogdb(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "borralogdb", false)) + {return ((String) Debug.delegate(ba, "borralogdb", null));} +RDebugUtils.currentLine=24051712; + //BA.debugLineNum = 24051712;BA.debugLine="Sub borraLogDB 'ignore"; +RDebugUtils.currentLine=24051713; + //BA.debugLineNum = 24051713;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +__c.LogImpl("524051713","Borramos BD de log",__c.Colors.Magenta); +RDebugUtils.currentLine=24051714; + //BA.debugLineNum = 24051714;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; +__ref._kmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from bitacora"); +RDebugUtils.currentLine=24051715; + //BA.debugLineNum = 24051715;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +__ref._kmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=24051716; + //BA.debugLineNum = 24051716;BA.debugLine="End Sub"; +return ""; +} +public String _buscadbusuario(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "buscadbusuario", false)) + {return ((String) Debug.delegate(ba, "buscadbusuario", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _usuario = ""; +RDebugUtils.currentLine=24641536; + //BA.debugLineNum = 24641536;BA.debugLine="Sub buscaDBUsuario As String 'ignore"; +RDebugUtils.currentLine=24641537; + //BA.debugLineNum = 24641537;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=24641538; + //BA.debugLineNum = 24641538;BA.debugLine="Private usuario As String = \"SinUsuario\""; +_usuario = "SinUsuario"; +RDebugUtils.currentLine=24641539; + //BA.debugLineNum = 24641539;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)(__ref._kmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); +RDebugUtils.currentLine=24641540; + //BA.debugLineNum = 24641540;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=24641541; + //BA.debugLineNum = 24641541;BA.debugLine="If c.RowCount > 0 Then usuario = c.GetString(\"USU"; +if (_c.getRowCount()>0) { +_usuario = _c.GetString("USUARIO");}; +RDebugUtils.currentLine=24641542; + //BA.debugLineNum = 24641542;BA.debugLine="Return usuario"; +if (true) return _usuario; +RDebugUtils.currentLine=24641543; + //BA.debugLineNum = 24641543;BA.debugLine="End Sub"; +return ""; +} +public String _centraetiqueta(SHARK2.keymon.com.mx.c_subs __ref,anywheresoftware.b4a.objects.LabelWrapper _elemento,int _anchoelementosuperior) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "centraetiqueta", false)) + {return ((String) Debug.delegate(ba, "centraetiqueta", new Object[] {_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=24379392; + //BA.debugLineNum = 24379392;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; +RDebugUtils.currentLine=24379393; + //BA.debugLineNum = 24379393;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +_elemento.setLeft((int) (__c.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); +RDebugUtils.currentLine=24379394; + //BA.debugLineNum = 24379394;BA.debugLine="End Sub"; +return ""; +} +public String _centrapanel(SHARK2.keymon.com.mx.c_subs __ref,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _anchoelementosuperior) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "centrapanel", false)) + {return ((String) Debug.delegate(ba, "centrapanel", new Object[] {_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=24444928; + //BA.debugLineNum = 24444928;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; +RDebugUtils.currentLine=24444929; + //BA.debugLineNum = 24444929;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +_elemento.setLeft((int) (__c.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); +RDebugUtils.currentLine=24444930; + //BA.debugLineNum = 24444930;BA.debugLine="End Sub"; +return ""; +} +public String _centrapanelv(SHARK2.keymon.com.mx.c_subs __ref,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _altoelementosuperior) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "centrapanelv", false)) + {return ((String) Debug.delegate(ba, "centrapanelv", new Object[] {_elemento,_altoelementosuperior}));} +RDebugUtils.currentLine=24510464; + //BA.debugLineNum = 24510464;BA.debugLine="Sub centraPanelV(elemento As Panel, altoElementoSu"; +RDebugUtils.currentLine=24510465; + //BA.debugLineNum = 24510465;BA.debugLine="elemento.Top = Round(altoElementoSuperior/2)-(ele"; +_elemento.setTop((int) (__c.Round(_altoelementosuperior/(double)2)-(_elemento.getHeight()/(double)2))); +RDebugUtils.currentLine=24510466; + //BA.debugLineNum = 24510466;BA.debugLine="End Sub"; +return ""; +} +public String _centraprogressbar(SHARK2.keymon.com.mx.c_subs __ref,anywheresoftware.b4a.objects.ProgressBarWrapper _elemento,int _anchoelementosuperior) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "centraprogressbar", false)) + {return ((String) Debug.delegate(ba, "centraprogressbar", new Object[] {_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=24576000; + //BA.debugLineNum = 24576000;BA.debugLine="Sub centraProgressBar(elemento As ProgressBar, anc"; +RDebugUtils.currentLine=24576001; + //BA.debugLineNum = 24576001;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; +_elemento.setLeft((int) (__c.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); +RDebugUtils.currentLine=24576002; + //BA.debugLineNum = 24576002;BA.debugLine="End Sub"; +return ""; +} +public boolean _checknotificationaccess(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "checknotificationaccess", false)) + {return ((Boolean) Debug.delegate(ba, "checknotificationaccess", null));} +anywheresoftware.b4a.phone.Phone _ph = null; +String _nstr = ""; +String _pstr = ""; +anywheresoftware.b4a.agraham.reflection.Reflection _r = null; +RDebugUtils.currentLine=25559040; + //BA.debugLineNum = 25559040;BA.debugLine="Sub CheckNotificationAccess As Boolean 'ignore"; +RDebugUtils.currentLine=25559041; + //BA.debugLineNum = 25559041;BA.debugLine="Dim ph As Phone"; +_ph = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=25559042; + //BA.debugLineNum = 25559042;BA.debugLine="Dim nstr, pstr As String"; +_nstr = ""; +_pstr = ""; +RDebugUtils.currentLine=25559043; + //BA.debugLineNum = 25559043;BA.debugLine="Dim r As Reflector"; +_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); +RDebugUtils.currentLine=25559044; + //BA.debugLineNum = 25559044;BA.debugLine="pstr = r.GetStaticField(\"anywheresoftware.b4a.BA\""; +_pstr = BA.ObjectToString(_r.GetStaticField("anywheresoftware.b4a.BA","packageName")); +RDebugUtils.currentLine=25559045; + //BA.debugLineNum = 25559045;BA.debugLine="nstr = ph.GetSettings(\"enabled_notification_liste"; +_nstr = _ph.GetSettings("enabled_notification_listeners"); +RDebugUtils.currentLine=25559046; + //BA.debugLineNum = 25559046;BA.debugLine="Return nstr.Contains(pstr)"; +if (true) return _nstr.contains(_pstr); +RDebugUtils.currentLine=25559047; + //BA.debugLineNum = 25559047;BA.debugLine="End Sub"; +return false; +} +public String _class_globals(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +RDebugUtils.currentLine=22806528; + //BA.debugLineNum = 22806528;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=22806533; + //BA.debugLineNum = 22806533;BA.debugLine="Dim reqManager As DBRequestManager"; +_reqmanager = new SHARK2.keymon.com.mx.dbrequestmanager(); +RDebugUtils.currentLine=22806534; + //BA.debugLineNum = 22806534;BA.debugLine="Private EventName As String 'ignore"; +_eventname = ""; +RDebugUtils.currentLine=22806535; + //BA.debugLineNum = 22806535;BA.debugLine="Private CallBack As Object 'ignore"; +_callback = new Object(); +RDebugUtils.currentLine=22806536; + //BA.debugLineNum = 22806536;BA.debugLine="Dim phn As Phone"; +_phn = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=22806537; + //BA.debugLineNum = 22806537;BA.debugLine="Dim devModel As String"; +_devmodel = ""; +RDebugUtils.currentLine=22806538; + //BA.debugLineNum = 22806538;BA.debugLine="Dim db, kmt, errorLog As SQL 'Requiere la libreri"; +_db = new anywheresoftware.b4a.sql.SQL(); +_kmt = new anywheresoftware.b4a.sql.SQL(); +_errorlog = new anywheresoftware.b4a.sql.SQL(); +RDebugUtils.currentLine=22806539; + //BA.debugLineNum = 22806539;BA.debugLine="Dim ssid As String 'ignore"; +_ssid = ""; +RDebugUtils.currentLine=22806540; + //BA.debugLineNum = 22806540;BA.debugLine="Dim reqsList As List"; +_reqslist = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=22806541; + //BA.debugLineNum = 22806541;BA.debugLine="Dim reqError As Boolean = False"; +_reqerror = __c.False; +RDebugUtils.currentLine=22806542; + //BA.debugLineNum = 22806542;BA.debugLine="Private subsLogs As Boolean = False"; +_subslogs = __c.False; +RDebugUtils.currentLine=22806543; + //BA.debugLineNum = 22806543;BA.debugLine="End Sub"; +return ""; +} +public String _copiadb(SHARK2.keymon.com.mx.c_subs __ref,boolean _result) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "copiadb", false)) + {return ((String) Debug.delegate(ba, "copiadb", new Object[] {_result}));} +String _p = ""; +String _thedir = ""; +RDebugUtils.currentLine=24248320; + //BA.debugLineNum = 24248320;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; +RDebugUtils.currentLine=24248321; + //BA.debugLineNum = 24248321;BA.debugLine="ToastMessageShow(\"copiaDB\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("copiaDB"),__c.False); +RDebugUtils.currentLine=24248322; + //BA.debugLineNum = 24248322;BA.debugLine="If result Then"; +if (_result) { +RDebugUtils.currentLine=24248323; + //BA.debugLineNum = 24248323;BA.debugLine="Dim p As String"; +_p = ""; +RDebugUtils.currentLine=24248324; + //BA.debugLineNum = 24248324;BA.debugLine="If File.ExternalWritable Then"; +if (__c.File.getExternalWritable()) { +RDebugUtils.currentLine=24248325; + //BA.debugLineNum = 24248325;BA.debugLine="p = File.DirInternal"; +_p = __c.File.getDirInternal(); + }else { +RDebugUtils.currentLine=24248328; + //BA.debugLineNum = 24248328;BA.debugLine="p = File.DirInternal"; +_p = __c.File.getDirInternal(); + }; +RDebugUtils.currentLine=24248331; + //BA.debugLineNum = 24248331;BA.debugLine="Dim theDir As String"; +_thedir = ""; +RDebugUtils.currentLine=24248332; + //BA.debugLineNum = 24248332;BA.debugLine="Try"; +try {RDebugUtils.currentLine=24248333; + //BA.debugLineNum = 24248333;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; +__c.File.MakeDir(__c.File.getDirInternal(),"kmts"); +RDebugUtils.currentLine=24248334; + //BA.debugLineNum = 24248334;BA.debugLine="theDir = \"/kmts\""; +_thedir = "/kmts"; + } + catch (Exception e14) { + ba.setLastException(e14);RDebugUtils.currentLine=24248336; + //BA.debugLineNum = 24248336;BA.debugLine="theDir = \"\""; +_thedir = ""; + }; +RDebugUtils.currentLine=24248338; + //BA.debugLineNum = 24248338;BA.debugLine="Try"; +try {RDebugUtils.currentLine=24248339; + //BA.debugLineNum = 24248339;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirInt"; +__c.File.Copy(__c.File.getDirInternal(),"kmt.db",__c.File.getDirInternal()+_thedir,"cedex_kmt.db"); +RDebugUtils.currentLine=24248340; + //BA.debugLineNum = 24248340;BA.debugLine="File.Copy(File.DirInternal,\"errorLog.db\",File.D"; +__c.File.Copy(__c.File.getDirInternal(),"errorLog.db",__c.File.getDirInternal()+_thedir,"cedex_errorLog.db"); +RDebugUtils.currentLine=24248341; + //BA.debugLineNum = 24248341;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("BD copiada!"),__c.False); + } + catch (Exception e21) { + ba.setLastException(e21);RDebugUtils.currentLine=24248343; + //BA.debugLineNum = 24248343;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; +__c.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(__c.LastException(getActivityBA()))),__c.True); + }; +RDebugUtils.currentLine=24248345; + //BA.debugLineNum = 24248345;BA.debugLine="Log(\"rootExternal=\"&p)"; +__c.LogImpl("524248345","rootExternal="+_p,0); +RDebugUtils.currentLine=24248346; + //BA.debugLineNum = 24248346;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +__c.LogImpl("524248346","File.DirInternal="+__c.File.getDirInternal(),0); +RDebugUtils.currentLine=24248347; + //BA.debugLineNum = 24248347;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +__c.LogImpl("524248347","File.DirInternal="+__c.File.getDirInternal(),0); + }else { +RDebugUtils.currentLine=24248349; + //BA.debugLineNum = 24248349;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),__c.False); + }; +RDebugUtils.currentLine=24248351; + //BA.debugLineNum = 24248351;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.NotificationWrapper _createnotification(SHARK2.keymon.com.mx.c_subs __ref,String _body) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "createnotification", false)) + {return ((anywheresoftware.b4a.objects.NotificationWrapper) Debug.delegate(ba, "createnotification", new Object[] {_body}));} +anywheresoftware.b4a.objects.NotificationWrapper _notification = null; +RDebugUtils.currentLine=25231360; + //BA.debugLineNum = 25231360;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; +RDebugUtils.currentLine=25231361; + //BA.debugLineNum = 25231361;BA.debugLine="Dim notification As Notification"; +_notification = new anywheresoftware.b4a.objects.NotificationWrapper(); +RDebugUtils.currentLine=25231362; + //BA.debugLineNum = 25231362;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +_notification.Initialize2(_notification.IMPORTANCE_LOW); +RDebugUtils.currentLine=25231363; + //BA.debugLineNum = 25231363;BA.debugLine="notification.Icon = \"icon\""; +_notification.setIcon("icon"); +RDebugUtils.currentLine=25231364; + //BA.debugLineNum = 25231364;BA.debugLine="notification.SetInfo(\"Tester\", Body, Main)"; +_notification.SetInfoNew(ba,BA.ObjectToCharSequence("Tester"),BA.ObjectToCharSequence(_body),(Object)(_main.getObject())); +RDebugUtils.currentLine=25231365; + //BA.debugLineNum = 25231365;BA.debugLine="Return notification"; +if (true) return _notification; +RDebugUtils.currentLine=25231366; + //BA.debugLineNum = 25231366;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.sql.SQL _dbinit(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "dbinit", false)) + {return ((anywheresoftware.b4a.sql.SQL) Debug.delegate(ba, "dbinit", null));} +RDebugUtils.currentLine=22937600; + //BA.debugLineNum = 22937600;BA.debugLine="Sub dbInit As SQL"; +RDebugUtils.currentLine=22937601; + //BA.debugLineNum = 22937601;BA.debugLine="If File.Exists(File.DirInternal, \"kmt.db\") = Fals"; +if (__c.File.Exists(__c.File.getDirInternal(),"kmt.db")==__c.False) { +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__c.File.getDirInternal(),"kmt.db");}; +RDebugUtils.currentLine=22937602; + //BA.debugLineNum = 22937602;BA.debugLine="db.Initialize(File.DirInternal,\"kmt.db\", True)"; +__ref._db /*anywheresoftware.b4a.sql.SQL*/ .Initialize(__c.File.getDirInternal(),"kmt.db",__c.True); +RDebugUtils.currentLine=22937603; + //BA.debugLineNum = 22937603;BA.debugLine="dbOk(True)"; +__ref._dbok /*String*/ (null,__c.True); +RDebugUtils.currentLine=22937605; + //BA.debugLineNum = 22937605;BA.debugLine="Return db"; +if (true) return __ref._db /*anywheresoftware.b4a.sql.SQL*/ ; +RDebugUtils.currentLine=22937606; + //BA.debugLineNum = 22937606;BA.debugLine="End Sub"; +return null; +} +public String _dbok(SHARK2.keymon.com.mx.c_subs __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "dbok", false)) + {return ((String) Debug.delegate(ba, "dbok", new Object[] {_success}));} +RDebugUtils.currentLine=23003136; + //BA.debugLineNum = 23003136;BA.debugLine="Sub dbOk(Success As Boolean)"; +RDebugUtils.currentLine=23003137; + //BA.debugLineNum = 23003137;BA.debugLine="If SubExists(CallBack, EventName & \"_dbOk\") Then"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_dbOk")) { +RDebugUtils.currentLine=23003138; + //BA.debugLineNum = 23003138;BA.debugLine="CallSub2(CallBack, EventName & \"_dbOk\", Success)"; +__c.CallSubNew2(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_dbOk",(Object)(_success)); + }; +RDebugUtils.currentLine=23003140; + //BA.debugLineNum = 23003140;BA.debugLine="End Sub"; +return ""; +} +public String _deleteerrorlog_db(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "deleteerrorlog_db", false)) + {return ((String) Debug.delegate(ba, "deleteerrorlog_db", null));} +RDebugUtils.currentLine=23724032; + //BA.debugLineNum = 23724032;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; +RDebugUtils.currentLine=23724033; + //BA.debugLineNum = 23724033;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; +__ref._errorlog /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from errores"); +RDebugUtils.currentLine=23724034; + //BA.debugLineNum = 23724034;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +__ref._errorlog /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=23724035; + //BA.debugLineNum = 23724035;BA.debugLine="ToastMessageShow(\"BD Errores Borrada\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("BD Errores Borrada"),__c.False); +RDebugUtils.currentLine=23724036; + //BA.debugLineNum = 23724036;BA.debugLine="End Sub"; +return ""; +} +public String _deletegps_db(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "deletegps_db", false)) + {return ((String) Debug.delegate(ba, "deletegps_db", null));} +RDebugUtils.currentLine=23658496; + //BA.debugLineNum = 23658496;BA.debugLine="Sub deleteGPS_DB 'ignore"; +RDebugUtils.currentLine=23658497; + //BA.debugLineNum = 23658497;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; +__ref._kmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from RUTA_GPS"); +RDebugUtils.currentLine=23658498; + //BA.debugLineNum = 23658498;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +__ref._kmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=23658499; + //BA.debugLineNum = 23658499;BA.debugLine="ToastMessageShow(\"Borramos BD Coords GPS\", False)"; +__c.ToastMessageShow(BA.ObjectToCharSequence("Borramos BD Coords GPS"),__c.False); +RDebugUtils.currentLine=23658500; + //BA.debugLineNum = 23658500;BA.debugLine="End Sub"; +return ""; +} +public String _enviook(SHARK2.keymon.com.mx.c_subs __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "enviook", false)) + {return ((String) Debug.delegate(ba, "enviook", new Object[] {_success}));} +RDebugUtils.currentLine=23265280; + //BA.debugLineNum = 23265280;BA.debugLine="Sub envioOk(Success As Boolean)"; +RDebugUtils.currentLine=23265282; + //BA.debugLineNum = 23265282;BA.debugLine="If SubExists(CallBack, EventName & \"_envioOk\") Th"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_envioOk")) { +RDebugUtils.currentLine=23265283; + //BA.debugLineNum = 23265283;BA.debugLine="CallSub2(CallBack, EventName & \"_envioOk\", Succe"; +__c.CallSubNew2(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_envioOk",(Object)(_success)); + }; +RDebugUtils.currentLine=23265285; + //BA.debugLineNum = 23265285;BA.debugLine="End Sub"; +return ""; +} +public String _enviotest(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "enviotest", false)) + {return ((String) Debug.delegate(ba, "enviotest", null));} +SHARK2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; +int _i = 0; +RDebugUtils.currentLine=23199744; + //BA.debugLineNum = 23199744;BA.debugLine="Sub envioTest"; +RDebugUtils.currentLine=23199745; + //BA.debugLineNum = 23199745;BA.debugLine="reqsList.Initialize ' Ponemos la lista de DBReque"; +__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=23199746; + //BA.debugLineNum = 23199746;BA.debugLine="Private cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=23199747; + //BA.debugLineNum = 23199747;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=23199748; + //BA.debugLineNum = 23199748;BA.debugLine="cmd.Name = \"select_fecha\""; +_cmd.Name /*String*/ = "select_fecha"; +RDebugUtils.currentLine=23199749; + //BA.debugLineNum = 23199749;BA.debugLine="For i = 0 To 50"; +{ +final int step5 = 1; +final int limit5 = (int) (50); +_i = (int) (0) ; +for (;_i <= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=23199751; + //BA.debugLineNum = 23199751;BA.debugLine="reqManager.ExecuteQuery(cmd, 0, $\"select_fecha_$"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (null,_cmd,(int) (0),(Object)(("select_fecha_"+__c.SmartStringFormatter("",(Object)(_i))+""))); +RDebugUtils.currentLine=23199752; + //BA.debugLineNum = 23199752;BA.debugLine="reqsList.Add($\"select_fecha_${i}\"$)"; +__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(("select_fecha_"+__c.SmartStringFormatter("",(Object)(_i))+""))); + } +}; +RDebugUtils.currentLine=23199754; + //BA.debugLineNum = 23199754;BA.debugLine="End Sub"; +return ""; +} +public String _fechainiciohoy(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "fechainiciohoy", false)) + {return ((String) Debug.delegate(ba, "fechainiciohoy", null));} +String _origformat = ""; +String _h = ""; +RDebugUtils.currentLine=23789568; + //BA.debugLineNum = 23789568;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; +RDebugUtils.currentLine=23789569; + //BA.debugLineNum = 23789569;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +_origformat = __c.DateTime.getDateFormat(); +RDebugUtils.currentLine=23789570; + //BA.debugLineNum = 23789570;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; +__c.DateTime.setDateFormat("yyMMdd"); +RDebugUtils.currentLine=23789571; + //BA.debugLineNum = 23789571;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now)"; +_h = __c.DateTime.Date(__c.DateTime.getNow())+"000000"; +RDebugUtils.currentLine=23789572; + //BA.debugLineNum = 23789572;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +__c.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=23789573; + //BA.debugLineNum = 23789573;BA.debugLine="Log(\"Hoy=\"&h)"; +__c.LogImpl("523789573","Hoy="+_h,0); +RDebugUtils.currentLine=23789574; + //BA.debugLineNum = 23789574;BA.debugLine="Return h"; +if (true) return _h; +RDebugUtils.currentLine=23789575; + //BA.debugLineNum = 23789575;BA.debugLine="End Sub"; +return ""; +} +public String _fechakmt(SHARK2.keymon.com.mx.c_subs __ref,String _fecha) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "fechakmt", false)) + {return ((String) Debug.delegate(ba, "fechakmt", new Object[] {_fecha}));} +String _origformat = ""; +String _nuevafecha = ""; +RDebugUtils.currentLine=23461888; + //BA.debugLineNum = 23461888;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; +RDebugUtils.currentLine=23461890; + //BA.debugLineNum = 23461890;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +_origformat = __c.DateTime.getDateFormat(); +RDebugUtils.currentLine=23461891; + //BA.debugLineNum = 23461891;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +__c.DateTime.setDateFormat("yyMMddHHmmss"); +RDebugUtils.currentLine=23461892; + //BA.debugLineNum = 23461892;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; +_nuevafecha = __c.DateTime.Date((long)(Double.parseDouble(_fecha))); +RDebugUtils.currentLine=23461893; + //BA.debugLineNum = 23461893;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +__c.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=23461895; + //BA.debugLineNum = 23461895;BA.debugLine="Return nuevaFecha"; +if (true) return _nuevafecha; +RDebugUtils.currentLine=23461896; + //BA.debugLineNum = 23461896;BA.debugLine="End Sub"; +return ""; +} +public long _fechakmt2ticks(SHARK2.keymon.com.mx.c_subs __ref,String _fkmt) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "fechakmt2ticks", false)) + {return ((Long) Debug.delegate(ba, "fechakmt2ticks", new Object[] {_fkmt}));} +String _partefecha = ""; +String _partehora = ""; +String _origformat = ""; +long _ticks = 0L; +RDebugUtils.currentLine=24117248; + //BA.debugLineNum = 24117248;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; +RDebugUtils.currentLine=24117249; + //BA.debugLineNum = 24117249;BA.debugLine="Try"; +try {RDebugUtils.currentLine=24117250; + //BA.debugLineNum = 24117250;BA.debugLine="If fKMT.Length = 12 Then"; +if (_fkmt.length()==12) { +RDebugUtils.currentLine=24117251; + //BA.debugLineNum = 24117251;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; +_partefecha = _fkmt.substring((int) (0),(int) (6)); +RDebugUtils.currentLine=24117252; + //BA.debugLineNum = 24117252;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; +_partehora = _fkmt.substring((int) (6)); +RDebugUtils.currentLine=24117253; + //BA.debugLineNum = 24117253;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; +_origformat = __c.DateTime.getDateFormat(); +RDebugUtils.currentLine=24117254; + //BA.debugLineNum = 24117254;BA.debugLine="DateTime.DateFormat=\"yymmdd\""; +__c.DateTime.setDateFormat("yymmdd"); +RDebugUtils.currentLine=24117255; + //BA.debugLineNum = 24117255;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=24117256; + //BA.debugLineNum = 24117256;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; +_ticks = __c.DateTime.DateTimeParse(_partefecha,_partehora); +RDebugUtils.currentLine=24117257; + //BA.debugLineNum = 24117257;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +__c.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=24117258; + //BA.debugLineNum = 24117258;BA.debugLine="Return ticks"; +if (true) return _ticks; + }else { +RDebugUtils.currentLine=24117260; + //BA.debugLineNum = 24117260;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; +__c.LogImpl("524117260","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); +RDebugUtils.currentLine=24117261; + //BA.debugLineNum = 24117261;BA.debugLine="Return 0"; +if (true) return (long) (0); + }; + } + catch (Exception e16) { + ba.setLastException(e16);RDebugUtils.currentLine=24117264; + //BA.debugLineNum = 24117264;BA.debugLine="Log(LastException)"; +__c.LogImpl("524117264",BA.ObjectToString(__c.LastException(getActivityBA())),0); +RDebugUtils.currentLine=24117265; + //BA.debugLineNum = 24117265;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; +__c.LogImpl("524117265",("Fecha dada: "+__c.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+__c.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+__c.SmartStringFormatter("",(Object)(_partehora))+""),__c.Colors.Red); +RDebugUtils.currentLine=24117266; + //BA.debugLineNum = 24117266;BA.debugLine="Return 0"; +if (true) return (long) (0); + }; +RDebugUtils.currentLine=24117268; + //BA.debugLineNum = 24117268;BA.debugLine="End Sub"; +return 0L; +} +public String _getphnid(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "getphnid", false)) + {return ((String) Debug.delegate(ba, "getphnid", null));} +String _t = ""; +String _s = ""; +RDebugUtils.currentLine=23396352; + //BA.debugLineNum = 23396352;BA.debugLine="Sub getPhnId As String 'ignore"; +RDebugUtils.currentLine=23396354; + //BA.debugLineNum = 23396354;BA.debugLine="devModel = phn.Model"; +__ref._devmodel /*String*/ = __ref._phn /*anywheresoftware.b4a.phone.Phone*/ .getModel(); +RDebugUtils.currentLine=23396355; + //BA.debugLineNum = 23396355;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; +if (__ref._devmodel /*String*/ .length()<=3) { +RDebugUtils.currentLine=23396356; + //BA.debugLineNum = 23396356;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; +_t = __ref._phn /*anywheresoftware.b4a.phone.Phone*/ .GetSettings("android_id"); +RDebugUtils.currentLine=23396357; + //BA.debugLineNum = 23396357;BA.debugLine="devModel = t"; +__ref._devmodel /*String*/ = _t; + }; +RDebugUtils.currentLine=23396359; + //BA.debugLineNum = 23396359;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; +if (__ref._devmodel /*String*/ .length()>=3) { +RDebugUtils.currentLine=23396360; + //BA.debugLineNum = 23396360;BA.debugLine="File.WriteString(File.DirInternal, \"phnId.txt\","; +__c.File.WriteString(__c.File.getDirInternal(),"phnId.txt",__ref._devmodel /*String*/ ); + }else +{RDebugUtils.currentLine=23396362; + //BA.debugLineNum = 23396362;BA.debugLine="Else If devModel.Length < 3 Then ' Si no tenemos"; +if (__ref._devmodel /*String*/ .length()<3) { +RDebugUtils.currentLine=23396363; + //BA.debugLineNum = 23396363;BA.debugLine="Dim s As String = File.ReadString(File.DirIntern"; +_s = __c.File.ReadString(__c.File.getDirInternal(),"phnId.txt"); +RDebugUtils.currentLine=23396364; + //BA.debugLineNum = 23396364;BA.debugLine="devModel = s"; +__ref._devmodel /*String*/ = _s; + }} +; +RDebugUtils.currentLine=23396368; + //BA.debugLineNum = 23396368;BA.debugLine="Return devModel"; +if (true) return __ref._devmodel /*String*/ ; +RDebugUtils.currentLine=23396369; + //BA.debugLineNum = 23396369;BA.debugLine="End Sub"; +return ""; +} +public String _guardaappinfo(SHARK2.keymon.com.mx.c_subs __ref,anywheresoftware.b4a.sql.SQL _skmt) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "guardaappinfo", false)) + {return ((String) Debug.delegate(ba, "guardaappinfo", new Object[] {_skmt}));} +RDebugUtils.currentLine=24772608; + //BA.debugLineNum = 24772608;BA.debugLine="Sub guardaAppInfo(skmt As SQL) 'ignore"; +RDebugUtils.currentLine=24772609; + //BA.debugLineNum = 24772609;BA.debugLine="skmt.ExecNonQuery(\"delete from CAT_VARIABLES wher"; +_skmt.ExecNonQuery("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'"); +RDebugUtils.currentLine=24772610; + //BA.debugLineNum = 24772610;BA.debugLine="skmt.ExecNonQuery($\"insert into CAT_VARIABLES (CA"; +_skmt.ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_NAME', '"+__c.SmartStringFormatter("",(Object)(__c.Application.getLabelName()))+"')")); +RDebugUtils.currentLine=24772611; + //BA.debugLineNum = 24772611;BA.debugLine="skmt.ExecNonQuery($\"insert into CAT_VARIABLES (CA"; +_skmt.ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_VERSION', '"+__c.SmartStringFormatter("",(Object)(__c.Application.getVersionName()))+"')")); +RDebugUtils.currentLine=24772612; + //BA.debugLineNum = 24772612;BA.debugLine="End Sub"; +return ""; +} +public String _guardainfoenarchivo(SHARK2.keymon.com.mx.c_subs __ref,String _coords) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "guardainfoenarchivo", false)) + {return ((String) Debug.delegate(ba, "guardainfoenarchivo", new Object[] {_coords}));} +String _origformat = ""; +String _lastupdate = ""; +String _ubic = ""; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +String _s = ""; +byte[] _t = null; +RDebugUtils.currentLine=23527424; + //BA.debugLineNum = 23527424;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; +RDebugUtils.currentLine=23527426; + //BA.debugLineNum = 23527426;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; +_origformat = __c.DateTime.getDateFormat(); +RDebugUtils.currentLine=23527427; + //BA.debugLineNum = 23527427;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; +__c.DateTime.setDateFormat("MMM-dd HH:mm:ss"); +RDebugUtils.currentLine=23527428; + //BA.debugLineNum = 23527428;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N"; +_lastupdate = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=23527429; + //BA.debugLineNum = 23527429;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +__c.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=23527431; + //BA.debugLineNum = 23527431;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate"; +_ubic = _coords+","+_lastupdate; +RDebugUtils.currentLine=23527432; + //BA.debugLineNum = 23527432;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out = __c.File.OpenOutput(__c.File.getDirInternal(),"gps.txt",__c.True); +RDebugUtils.currentLine=23527433; + //BA.debugLineNum = 23527433;BA.debugLine="Dim s As String = ubic & CRLF"; +_s = _ubic+__c.CRLF; +RDebugUtils.currentLine=23527434; + //BA.debugLineNum = 23527434;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +_t = _s.getBytes("UTF-8"); +RDebugUtils.currentLine=23527435; + //BA.debugLineNum = 23527435;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +_out.WriteBytes(_t,(int) (0),_t.length); +RDebugUtils.currentLine=23527436; + //BA.debugLineNum = 23527436;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=23527437; + //BA.debugLineNum = 23527437;BA.debugLine="End Sub"; +return ""; +} +public String _guardainfoenbd(SHARK2.keymon.com.mx.c_subs __ref,String _coords) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "guardainfoenbd", false)) + {return ((String) Debug.delegate(ba, "guardainfoenbd", new Object[] {_coords}));} +String[] _latlon = null; +RDebugUtils.currentLine=23592960; + //BA.debugLineNum = 23592960;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; +RDebugUtils.currentLine=23592961; + //BA.debugLineNum = 23592961;BA.debugLine="Log(\"Guardamos ubicacion en BD - \"&coords)"; +__c.LogImpl("523592961","Guardamos ubicacion en BD - "+_coords,0); +RDebugUtils.currentLine=23592962; + //BA.debugLineNum = 23592962;BA.debugLine="Try"; +try {RDebugUtils.currentLine=23592963; + //BA.debugLineNum = 23592963;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; +_latlon = __c.Regex.Split("\\|",_coords); +RDebugUtils.currentLine=23592964; + //BA.debugLineNum = 23592964;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; +if (_latlon.length<2) { +_latlon = __c.Regex.Split(",",_coords);}; +RDebugUtils.currentLine=23592965; + //BA.debugLineNum = 23592965;BA.debugLine="If subsLogs Then Log(\"LatLon=\"&latlon)"; +if (__ref._subslogs /*boolean*/ ) { +__c.LogImpl("523592965","LatLon="+BA.ObjectToString(_latlon),0);}; +RDebugUtils.currentLine=23592966; + //BA.debugLineNum = 23592966;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(FECHA, L"; +__ref._kmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_latlon[(int) (2)]),(Object)(_latlon[(int) (0)]),(Object)(_latlon[(int) (1)])})); + } + catch (Exception e8) { + ba.setLastException(e8);RDebugUtils.currentLine=23592968; + //BA.debugLineNum = 23592968;BA.debugLine="LogColor(LastException, Colors.red)"; +__c.LogImpl("523592968",BA.ObjectToString(__c.LastException(getActivityBA())),__c.Colors.Red); + }; +RDebugUtils.currentLine=23592970; + //BA.debugLineNum = 23592970;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.sql.SQL _inicializabd(SHARK2.keymon.com.mx.c_subs __ref,String _ruta,String _bdname) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "inicializabd", false)) + {return ((anywheresoftware.b4a.sql.SQL) Debug.delegate(ba, "inicializabd", new Object[] {_ruta,_bdname}));} +anywheresoftware.b4a.sql.SQL _skmt = null; +RDebugUtils.currentLine=24903680; + //BA.debugLineNum = 24903680;BA.debugLine="Sub inicializaBD(ruta As String, BDName As String)"; +RDebugUtils.currentLine=24903681; + //BA.debugLineNum = 24903681;BA.debugLine="Dim skmt As SQL"; +_skmt = new anywheresoftware.b4a.sql.SQL(); +RDebugUtils.currentLine=24903682; + //BA.debugLineNum = 24903682;BA.debugLine="If File.Exists(ruta, BDName) = False Then"; +if (__c.File.Exists(_ruta,_bdname)==__c.False) { +RDebugUtils.currentLine=24903683; + //BA.debugLineNum = 24903683;BA.debugLine="File.Copy(File.DirAssets, BDName, ruta, BDName)"; +__c.File.Copy(__c.File.getDirAssets(),_bdname,_ruta,_bdname); +RDebugUtils.currentLine=24903684; + //BA.debugLineNum = 24903684;BA.debugLine="LogColor($\"Copiamos ${BDName} de ${File.DirAsset"; +__c.LogImpl("524903684",("Copiamos "+__c.SmartStringFormatter("",(Object)(_bdname))+" de "+__c.SmartStringFormatter("",(Object)(__c.File.getDirAssets()))+" a "+__c.SmartStringFormatter("",(Object)(_ruta))+""),__c.Colors.Green); + }; +RDebugUtils.currentLine=24903686; + //BA.debugLineNum = 24903686;BA.debugLine="skmt.Initialize(ruta, BDName, True)"; +_skmt.Initialize(_ruta,_bdname,__c.True); +RDebugUtils.currentLine=24903687; + //BA.debugLineNum = 24903687;BA.debugLine="Return skmt"; +if (true) return _skmt; +RDebugUtils.currentLine=24903688; + //BA.debugLineNum = 24903688;BA.debugLine="End Sub"; +return null; +} +public SHARK2.keymon.com.mx.dbrequestmanager _reqmanagerinit(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "reqmanagerinit", false)) + {return ((SHARK2.keymon.com.mx.dbrequestmanager) Debug.delegate(ba, "reqmanagerinit", null));} +SHARK2.keymon.com.mx.dbrequestmanager _rm = null; +RDebugUtils.currentLine=23068672; + //BA.debugLineNum = 23068672;BA.debugLine="Sub reqManagerInit As DBRequestManager"; +RDebugUtils.currentLine=23068673; + //BA.debugLineNum = 23068673;BA.debugLine="Private rm As DBRequestManager"; +_rm = new SHARK2.keymon.com.mx.dbrequestmanager(); +RDebugUtils.currentLine=23068674; + //BA.debugLineNum = 23068674;BA.debugLine="rm.Initialize(Me, traeDBReqServerDeBD(db))"; +_rm._initialize /*String*/ (null,ba,this,__ref._traedbreqserverdebd /*String*/ (null,__ref._db /*anywheresoftware.b4a.sql.SQL*/ )); +RDebugUtils.currentLine=23068675; + //BA.debugLineNum = 23068675;BA.debugLine="Log($\"Inicializamos reqManager con ${traeDBReqSer"; +__c.LogImpl("523068675",("Inicializamos reqManager con "+__c.SmartStringFormatter("",(Object)(__ref._traedbreqserverdebd /*String*/ (null,__ref._db /*anywheresoftware.b4a.sql.SQL*/ )))+""),0); +RDebugUtils.currentLine=23068676; + //BA.debugLineNum = 23068676;BA.debugLine="Return rm"; +if (true) return _rm; +RDebugUtils.currentLine=23068677; + //BA.debugLineNum = 23068677;BA.debugLine="End Sub"; +return null; +} +public String _installapk(SHARK2.keymon.com.mx.c_subs __ref,String _dir,String _apk) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "installapk", false)) + {return ((String) Debug.delegate(ba, "installapk", new Object[] {_dir,_apk}));} +anywheresoftware.b4a.objects.IntentWrapper _i = null; +RDebugUtils.currentLine=24182784; + //BA.debugLineNum = 24182784;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; +RDebugUtils.currentLine=24182785; + //BA.debugLineNum = 24182785;BA.debugLine="If File.Exists(dir, apk) Then"; +if (__c.File.Exists(_dir,_apk)) { +RDebugUtils.currentLine=24182786; + //BA.debugLineNum = 24182786;BA.debugLine="Dim i As Intent"; +_i = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=24182787; + //BA.debugLineNum = 24182787;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; +_i.Initialize(_i.ACTION_VIEW,"file://"+__c.File.Combine(_dir,_apk)); +RDebugUtils.currentLine=24182788; + //BA.debugLineNum = 24182788;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +_i.SetType("application/vnd.android.package-archive"); +RDebugUtils.currentLine=24182789; + //BA.debugLineNum = 24182789;BA.debugLine="StartActivity(i)"; +__c.StartActivity(ba,(Object)(_i.getObject())); + }; +RDebugUtils.currentLine=24182791; + //BA.debugLineNum = 24182791;BA.debugLine="End Sub"; +return ""; +} +public String _jobdone(SHARK2.keymon.com.mx.c_subs __ref,SHARK2.keymon.com.mx.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "jobdone", false)) + {return ((String) Debug.delegate(ba, "jobdone", new Object[] {_job}));} +SHARK2.keymon.com.mx.dbrequestmanager._dbresult _resultado = null; +Object[] _records = null; +String _k = ""; +RDebugUtils.currentLine=23330816; + //BA.debugLineNum = 23330816;BA.debugLine="Sub JobDone(Job As HttpJob)"; +RDebugUtils.currentLine=23330817; + //BA.debugLineNum = 23330817;BA.debugLine="LogColor(\"C_SUBS JOBDONE - \" & Job.Success, Color"; +__c.LogImpl("523330817","C_SUBS JOBDONE - "+BA.ObjectToString(_job._success /*boolean*/ ),__c.Colors.Red); +RDebugUtils.currentLine=23330818; + //BA.debugLineNum = 23330818;BA.debugLine="If Job.Success = False Then"; +if (_job._success /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=23330819; + //BA.debugLineNum = 23330819;BA.debugLine="Log($\"Error en el request ${Job.Tag}\"$)"; +__c.LogImpl("523330819",("Error en el request "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),0); +RDebugUtils.currentLine=23330820; + //BA.debugLineNum = 23330820;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro"; +__c.LogImpl("523330820","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red); +RDebugUtils.currentLine=23330821; + //BA.debugLineNum = 23330821;BA.debugLine="If reqsList.IndexOf(Job.Tag) > -1 Then reqsList."; +if (__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ )>-1) { +__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ ));}; +RDebugUtils.currentLine=23330822; + //BA.debugLineNum = 23330822;BA.debugLine="reqError = True"; +__ref._reqerror /*boolean*/ = __c.True; + }else { +RDebugUtils.currentLine=23330824; + //BA.debugLineNum = 23330824;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; +if ((_job._jobname /*String*/ ).equals("DBRequest")) { +RDebugUtils.currentLine=23330825; + //BA.debugLineNum = 23330825;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; +_resultado = __ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*SHARK2.keymon.com.mx.dbrequestmanager._dbresult*/ (null,_job); +RDebugUtils.currentLine=23330826; + //BA.debugLineNum = 23330826;BA.debugLine="If reqsList.IndexOf(resultado.Tag) > -1 Then re"; +if (__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_resultado.Tag /*Object*/ )>-1) { +__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_resultado.Tag /*Object*/ ));}; +RDebugUtils.currentLine=23330827; + //BA.debugLineNum = 23330827;BA.debugLine="If resultado.Tag = \"select_fecha\" Then"; +if ((_resultado.Tag /*Object*/ ).equals((Object)("select_fecha"))) { +RDebugUtils.currentLine=23330828; + //BA.debugLineNum = 23330828;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=23330829; + //BA.debugLineNum = 23330829;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=23330830; + //BA.debugLineNum = 23330830;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; +__c.LogImpl("523330830",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=23330836; + //BA.debugLineNum = 23330836;BA.debugLine="Log(reqsList.Size)"; +__c.LogImpl("523330836",BA.NumberToString(__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); +RDebugUtils.currentLine=23330837; + //BA.debugLineNum = 23330837;BA.debugLine="If reqsList.Size = 0 Then 'Ya no hay DBReqs pendi"; +if (__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { +RDebugUtils.currentLine=23330838; + //BA.debugLineNum = 23330838;BA.debugLine="Log(reqError)"; +__c.LogImpl("523330838",BA.ObjectToString(__ref._reqerror /*boolean*/ ),0); +RDebugUtils.currentLine=23330839; + //BA.debugLineNum = 23330839;BA.debugLine="If Not(reqError) Then"; +if (__c.Not(__ref._reqerror /*boolean*/ )) { +RDebugUtils.currentLine=23330840; + //BA.debugLineNum = 23330840;BA.debugLine="envioOk(True)"; +__ref._enviook /*String*/ (null,__c.True); + }else { +RDebugUtils.currentLine=23330842; + //BA.debugLineNum = 23330842;BA.debugLine="envioOk(False)"; +__ref._enviook /*String*/ (null,__c.False); + }; +RDebugUtils.currentLine=23330844; + //BA.debugLineNum = 23330844;BA.debugLine="reqError = False"; +__ref._reqerror /*boolean*/ = __c.False; +RDebugUtils.currentLine=23330845; + //BA.debugLineNum = 23330845;BA.debugLine="Log(\"-= FIN =-\")"; +__c.LogImpl("523330845","-= FIN =-",0); + }; +RDebugUtils.currentLine=23330847; + //BA.debugLineNum = 23330847;BA.debugLine="Job.Release"; +_job._release /*String*/ (null); +RDebugUtils.currentLine=23330848; + //BA.debugLineNum = 23330848;BA.debugLine="End Sub"; +return ""; +} +public String _log2db(SHARK2.keymon.com.mx.c_subs __ref,String _texto) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "log2db", false)) + {return ((String) Debug.delegate(ba, "log2db", new Object[] {_texto}));} +RDebugUtils.currentLine=23855104; + //BA.debugLineNum = 23855104;BA.debugLine="Sub log2DB(texto As String) 'ignore"; +RDebugUtils.currentLine=23855105; + //BA.debugLineNum = 23855105;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; +__c.LogImpl("523855105",__ref._fechakmt /*String*/ (null,BA.NumberToString(__c.DateTime.getNow()))+" - log2BD: '"+_texto+"'",__c.Colors.LightGray); +RDebugUtils.currentLine=23855106; + //BA.debugLineNum = 23855106;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO bitacora(fecha, te"; +__ref._kmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO bitacora(fecha, texto) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._fechakmt /*String*/ (null,BA.NumberToString(__c.DateTime.getNow()))),(Object)(_texto)})); +RDebugUtils.currentLine=23855107; + //BA.debugLineNum = 23855107;BA.debugLine="End Sub"; +return ""; +} +public String _logjobdoneresultados(SHARK2.keymon.com.mx.c_subs __ref,SHARK2.keymon.com.mx.dbrequestmanager._dbresult _resultado) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "logjobdoneresultados", false)) + {return ((String) Debug.delegate(ba, "logjobdoneresultados", new Object[] {_resultado}));} +Object[] _records = null; +String _k = ""; +RDebugUtils.currentLine=24838144; + //BA.debugLineNum = 24838144;BA.debugLine="Sub logJobDoneResultados(resultado As DBResult) 'i"; +RDebugUtils.currentLine=24838145; + //BA.debugLineNum = 24838145;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group1 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen1 = group1.getSize() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_records = (Object[])(group1.Get(index1)); +RDebugUtils.currentLine=24838146; + //BA.debugLineNum = 24838146;BA.debugLine="LogColor($\"====== ${resultado.Tag} - REGISTROS ="; +__c.LogImpl("524838146",("====== "+__c.SmartStringFormatter("",_resultado.Tag /*Object*/ )+" - REGISTROS = "+__c.SmartStringFormatter("",(Object)(_resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),__c.Colors.RGB((int) (215),(int) (37),(int) (0))); +RDebugUtils.currentLine=24838147; + //BA.debugLineNum = 24838147;BA.debugLine="For Each k As String In resultado.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group3 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen3 = group3.getSize() +;int index3 = 0; +; +for (; index3 < groupLen3;index3++){ +_k = BA.ObjectToString(group3.Get(index3)); +RDebugUtils.currentLine=24838148; + //BA.debugLineNum = 24838148;BA.debugLine="LogColor(k & \" = \" & records(resultado.Columns."; +__c.LogImpl("524838148",_k+" = "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),__c.Colors.RGB((int) (215),(int) (37),(int) (0))); + } +}; + } +}; +RDebugUtils.currentLine=24838151; + //BA.debugLineNum = 24838151;BA.debugLine="End Sub"; +return ""; +} +public boolean _masdexxmins(SHARK2.keymon.com.mx.c_subs __ref,int _hora,int _mins) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "masdexxmins", false)) + {return ((Boolean) Debug.delegate(ba, "masdexxmins", new Object[] {_hora,_mins}));} +RDebugUtils.currentLine=23920640; + //BA.debugLineNum = 23920640;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; +RDebugUtils.currentLine=23920641; + //BA.debugLineNum = 23920641;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; +if ((_hora+_mins*__c.DateTime.TicksPerMinute)<__c.DateTime.getNow()) { +RDebugUtils.currentLine=23920642; + //BA.debugLineNum = 23920642;BA.debugLine="Return True"; +if (true) return __c.True; + }else { +RDebugUtils.currentLine=23920644; + //BA.debugLineNum = 23920644;BA.debugLine="Return False"; +if (true) return __c.False; + }; +RDebugUtils.currentLine=23920646; + //BA.debugLineNum = 23920646;BA.debugLine="End Sub"; +return false; +} +public boolean _masdexxminskmt(SHARK2.keymon.com.mx.c_subs __ref,String _hora,int _mins) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "masdexxminskmt", false)) + {return ((Boolean) Debug.delegate(ba, "masdexxminskmt", new Object[] {_hora,_mins}));} +RDebugUtils.currentLine=23986176; + //BA.debugLineNum = 23986176;BA.debugLine="Sub masDeXXMinsKMT(hora As String, mins As Int) As"; +RDebugUtils.currentLine=23986177; + //BA.debugLineNum = 23986177;BA.debugLine="Try"; +try {RDebugUtils.currentLine=23986179; + //BA.debugLineNum = 23986179;BA.debugLine="If fechaKMT2Ticks(hora) + mins * DateTime.TicksP"; +if (__ref._fechakmt2ticks /*long*/ (null,_hora)+_mins*__c.DateTime.TicksPerMinute<__c.DateTime.getNow()) { +RDebugUtils.currentLine=23986181; + //BA.debugLineNum = 23986181;BA.debugLine="Return True"; +if (true) return __c.True; + }else { +RDebugUtils.currentLine=23986184; + //BA.debugLineNum = 23986184;BA.debugLine="Return False"; +if (true) return __c.False; + }; + } + catch (Exception e8) { + ba.setLastException(e8);RDebugUtils.currentLine=23986187; + //BA.debugLineNum = 23986187;BA.debugLine="Log(LastException)"; +__c.LogImpl("523986187",BA.ObjectToString(__c.LastException(getActivityBA())),0); + }; +RDebugUtils.currentLine=23986189; + //BA.debugLineNum = 23986189;BA.debugLine="End Sub"; +return false; +} +public String _notihigh(SHARK2.keymon.com.mx.c_subs __ref,String _title,String _body,String _id,Object _activity) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "notihigh", false)) + {return ((String) Debug.delegate(ba, "notihigh", new Object[] {_title,_body,_id,_activity}));} +anywheresoftware.b4a.objects.NotificationWrapper _notif = null; +RDebugUtils.currentLine=25296896; + //BA.debugLineNum = 25296896;BA.debugLine="Sub notiHigh(title As String, body As String, id A"; +RDebugUtils.currentLine=25296897; + //BA.debugLineNum = 25296897;BA.debugLine="activity = Main"; +_activity = (Object)(_main.getObject()); +RDebugUtils.currentLine=25296898; + //BA.debugLineNum = 25296898;BA.debugLine="Private notif As Notification"; +_notif = new anywheresoftware.b4a.objects.NotificationWrapper(); +RDebugUtils.currentLine=25296899; + //BA.debugLineNum = 25296899;BA.debugLine="notif.Initialize2(notif.IMPORTANCE_HIGH)"; +_notif.Initialize2(_notif.IMPORTANCE_HIGH); +RDebugUtils.currentLine=25296900; + //BA.debugLineNum = 25296900;BA.debugLine="notif.Icon = \"icon\""; +_notif.setIcon("icon"); +RDebugUtils.currentLine=25296901; + //BA.debugLineNum = 25296901;BA.debugLine="notif.Vibrate = False"; +_notif.setVibrate(__c.False); +RDebugUtils.currentLine=25296902; + //BA.debugLineNum = 25296902;BA.debugLine="notif.Sound = False"; +_notif.setSound(__c.False); +RDebugUtils.currentLine=25296903; + //BA.debugLineNum = 25296903;BA.debugLine="notif.AutoCancel = True"; +_notif.setAutoCancel(__c.True); +RDebugUtils.currentLine=25296905; + //BA.debugLineNum = 25296905;BA.debugLine="notif.SetInfo(title, body, activity)"; +_notif.SetInfoNew(ba,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_body),_activity); +RDebugUtils.currentLine=25296907; + //BA.debugLineNum = 25296907;BA.debugLine="notif.Notify(id)"; +_notif.Notify((int)(Double.parseDouble(_id))); +RDebugUtils.currentLine=25296908; + //BA.debugLineNum = 25296908;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.NotificationWrapper _notilowreturn(SHARK2.keymon.com.mx.c_subs __ref,String _title,String _body,int _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "notilowreturn", false)) + {return ((anywheresoftware.b4a.objects.NotificationWrapper) Debug.delegate(ba, "notilowreturn", new Object[] {_title,_body,_id}));} +anywheresoftware.b4a.objects.NotificationWrapper _notification = null; +RDebugUtils.currentLine=25362432; + //BA.debugLineNum = 25362432;BA.debugLine="Sub notiLowReturn(title As String, Body As String,"; +RDebugUtils.currentLine=25362433; + //BA.debugLineNum = 25362433;BA.debugLine="Private notification As Notification"; +_notification = new anywheresoftware.b4a.objects.NotificationWrapper(); +RDebugUtils.currentLine=25362434; + //BA.debugLineNum = 25362434;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +_notification.Initialize2(_notification.IMPORTANCE_LOW); +RDebugUtils.currentLine=25362436; + //BA.debugLineNum = 25362436;BA.debugLine="notification.Icon = \"icon\""; +_notification.setIcon("icon"); +RDebugUtils.currentLine=25362437; + //BA.debugLineNum = 25362437;BA.debugLine="notification.Sound = False"; +_notification.setSound(__c.False); +RDebugUtils.currentLine=25362438; + //BA.debugLineNum = 25362438;BA.debugLine="notification.Vibrate = False"; +_notification.setVibrate(__c.False); +RDebugUtils.currentLine=25362439; + //BA.debugLineNum = 25362439;BA.debugLine="notification.SetInfo(title, Body, Main)"; +_notification.SetInfoNew(ba,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_body),(Object)(_main.getObject())); +RDebugUtils.currentLine=25362440; + //BA.debugLineNum = 25362440;BA.debugLine="notification.Notify(id)"; +_notification.Notify(_id); +RDebugUtils.currentLine=25362442; + //BA.debugLineNum = 25362442;BA.debugLine="Return notification"; +if (true) return _notification; +RDebugUtils.currentLine=25362443; + //BA.debugLineNum = 25362443;BA.debugLine="End Sub"; +return null; +} +public String _panelvisible(SHARK2.keymon.com.mx.c_subs __ref,anywheresoftware.b4a.objects.PanelWrapper _panel,int _top,int _left) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "panelvisible", false)) + {return ((String) Debug.delegate(ba, "panelvisible", new Object[] {_panel,_top,_left}));} +RDebugUtils.currentLine=24313856; + //BA.debugLineNum = 24313856;BA.debugLine="Sub panelVisible(panel As Panel, top As Int, left"; +RDebugUtils.currentLine=24313857; + //BA.debugLineNum = 24313857;BA.debugLine="panel.BringToFront"; +_panel.BringToFront(); +RDebugUtils.currentLine=24313858; + //BA.debugLineNum = 24313858;BA.debugLine="panel.Visible = True"; +_panel.setVisible(__c.True); +RDebugUtils.currentLine=24313859; + //BA.debugLineNum = 24313859;BA.debugLine="panel.Top = top"; +_panel.setTop(_top); +RDebugUtils.currentLine=24313860; + //BA.debugLineNum = 24313860;BA.debugLine="panel.Left = left"; +_panel.setLeft(_left); +RDebugUtils.currentLine=24313861; + //BA.debugLineNum = 24313861;BA.debugLine="End Sub"; +return ""; +} +public String _traedbreqserverdebd(SHARK2.keymon.com.mx.c_subs __ref,anywheresoftware.b4a.sql.SQL _dbx) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "traedbreqserverdebd", false)) + {return ((String) Debug.delegate(ba, "traedbreqserverdebd", new Object[] {_dbx}));} +String _srvr = ""; +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _rs = null; +RDebugUtils.currentLine=25034752; + //BA.debugLineNum = 25034752;BA.debugLine="Sub traeDBReqServerDeBD(dbx As SQL) As String 'ign"; +RDebugUtils.currentLine=25034753; + //BA.debugLineNum = 25034753;BA.debugLine="Dim srvr As String = \"N/A\""; +_srvr = "N/A"; +RDebugUtils.currentLine=25034754; + //BA.debugLineNum = 25034754;BA.debugLine="Dim rs As ResultSet = dbx.ExecQuery(\"select CAT_V"; +_rs = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_rs = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_dbx.ExecQuery("select CAT_VA_VALOR from cat_variables where CAT_VA_DESCRIPCION = 'SERVER'"))); +RDebugUtils.currentLine=25034755; + //BA.debugLineNum = 25034755;BA.debugLine="If rs.RowCount > 0 Then"; +if (_rs.getRowCount()>0) { +RDebugUtils.currentLine=25034756; + //BA.debugLineNum = 25034756;BA.debugLine="rs.NextRow"; +_rs.NextRow(); +RDebugUtils.currentLine=25034757; + //BA.debugLineNum = 25034757;BA.debugLine="srvr = rs.GetString(\"CAT_VA_VALOR\")"; +_srvr = _rs.GetString("CAT_VA_VALOR"); + }; +RDebugUtils.currentLine=25034759; + //BA.debugLineNum = 25034759;BA.debugLine="Return srvr"; +if (true) return _srvr; +RDebugUtils.currentLine=25034760; + //BA.debugLineNum = 25034760;BA.debugLine="End Sub"; +return ""; +} +public String _reqmanagerreinit(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "reqmanagerreinit", false)) + {return ((String) Debug.delegate(ba, "reqmanagerreinit", null));} +RDebugUtils.currentLine=23134208; + //BA.debugLineNum = 23134208;BA.debugLine="Sub reqManagerReInit"; +RDebugUtils.currentLine=23134209; + //BA.debugLineNum = 23134209;BA.debugLine="Log(\"reqManager ReInit\")"; +__c.LogImpl("523134209","reqManager ReInit",0); +RDebugUtils.currentLine=23134210; + //BA.debugLineNum = 23134210;BA.debugLine="reqManager = reqManagerInit"; +__ref._reqmanager /*SHARK2.keymon.com.mx.dbrequestmanager*/ = __ref._reqmanagerinit /*SHARK2.keymon.com.mx.dbrequestmanager*/ (null); +RDebugUtils.currentLine=23134211; + //BA.debugLineNum = 23134211;BA.debugLine="End Sub"; +return ""; +} +public String _traealmacen(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "traealmacen", false)) + {return ((String) Debug.delegate(ba, "traealmacen", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _a = ""; +RDebugUtils.currentLine=25427968; + //BA.debugLineNum = 25427968;BA.debugLine="Sub traeAlmacen As String 'ignore"; +RDebugUtils.currentLine=25427969; + //BA.debugLineNum = 25427969;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=25427970; + //BA.debugLineNum = 25427970;BA.debugLine="Private a As String"; +_a = ""; +RDebugUtils.currentLine=25427971; + //BA.debugLineNum = 25427971;BA.debugLine="c = db.ExecQuery(\"select ID_ALMACEN from CAT_ALM"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=25427972; + //BA.debugLineNum = 25427972;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=25427973; + //BA.debugLineNum = 25427973;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")"; +_a = _c.GetString("ID_ALMACEN"); +RDebugUtils.currentLine=25427974; + //BA.debugLineNum = 25427974;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=25427975; + //BA.debugLineNum = 25427975;BA.debugLine="Return a"; +if (true) return _a; +RDebugUtils.currentLine=25427976; + //BA.debugLineNum = 25427976;BA.debugLine="End Sub"; +return ""; +} +public String _traefecha(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "traefecha", false)) + {return ((String) Debug.delegate(ba, "traefecha", null));} +String _sdate = ""; +String _stime = ""; +RDebugUtils.currentLine=24707072; + //BA.debugLineNum = 24707072;BA.debugLine="Sub traeFecha As String 'ignore"; +RDebugUtils.currentLine=24707073; + //BA.debugLineNum = 24707073;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +__c.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=24707074; + //BA.debugLineNum = 24707074;BA.debugLine="Private sDate As String = DateTime.Date(DateTime."; +_sdate = __c.DateTime.Date(__c.DateTime.getNow()); +RDebugUtils.currentLine=24707075; + //BA.debugLineNum = 24707075;BA.debugLine="Private sTime As String = DateTime.Time(DateTime."; +_stime = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=24707076; + //BA.debugLineNum = 24707076;BA.debugLine="Return sDate & sTime"; +if (true) return _sdate+_stime; +RDebugUtils.currentLine=24707077; + //BA.debugLineNum = 24707077;BA.debugLine="End Sub"; +return ""; +} +public String _traeintervalodebd(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "traeintervalodebd", false)) + {return ((String) Debug.delegate(ba, "traeintervalodebd", null));} +String _intrvl = ""; +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _rs = null; +RDebugUtils.currentLine=25100288; + //BA.debugLineNum = 25100288;BA.debugLine="Sub traeIntervaloDeBD As String 'ignore"; +RDebugUtils.currentLine=25100289; + //BA.debugLineNum = 25100289;BA.debugLine="Dim intrvl As String = \"30\""; +_intrvl = "30"; +RDebugUtils.currentLine=25100290; + //BA.debugLineNum = 25100290;BA.debugLine="Dim rs As ResultSet = db.ExecQuery(\"select valor"; +_rs = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_rs = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select valor from cat_variables where nombre = 'intervalo'"))); +RDebugUtils.currentLine=25100291; + //BA.debugLineNum = 25100291;BA.debugLine="If rs.RowCount > 0 Then"; +if (_rs.getRowCount()>0) { +RDebugUtils.currentLine=25100292; + //BA.debugLineNum = 25100292;BA.debugLine="rs.NextRow"; +_rs.NextRow(); +RDebugUtils.currentLine=25100293; + //BA.debugLineNum = 25100293;BA.debugLine="intrvl = rs.GetString(\"valor\")"; +_intrvl = _rs.GetString("valor"); + }; +RDebugUtils.currentLine=25100295; + //BA.debugLineNum = 25100295;BA.debugLine="Return intrvl"; +if (true) return _intrvl; +RDebugUtils.currentLine=25100296; + //BA.debugLineNum = 25100296;BA.debugLine="End Sub"; +return ""; +} +public String _traeruta(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "traeruta", false)) + {return ((String) Debug.delegate(ba, "traeruta", null));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _r = ""; +RDebugUtils.currentLine=25493504; + //BA.debugLineNum = 25493504;BA.debugLine="Sub traeRuta As String 'ignore"; +RDebugUtils.currentLine=25493505; + //BA.debugLineNum = 25493505;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=25493506; + //BA.debugLineNum = 25493506;BA.debugLine="Private r As String"; +_r = ""; +RDebugUtils.currentLine=25493507; + //BA.debugLineNum = 25493507;BA.debugLine="c = db.ExecQuery(\"select CAT_CL_RUTA from kmt_inf"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); +RDebugUtils.currentLine=25493508; + //BA.debugLineNum = 25493508;BA.debugLine="r = \"0\""; +_r = "0"; +RDebugUtils.currentLine=25493509; + //BA.debugLineNum = 25493509;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=25493510; + //BA.debugLineNum = 25493510;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=25493511; + //BA.debugLineNum = 25493511;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +_r = _c.GetString("CAT_CL_RUTA"); + }; +RDebugUtils.currentLine=25493513; + //BA.debugLineNum = 25493513;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=25493514; + //BA.debugLineNum = 25493514;BA.debugLine="Return r"; +if (true) return _r; +RDebugUtils.currentLine=25493515; + //BA.debugLineNum = 25493515;BA.debugLine="End Sub"; +return ""; +} +public String _traetimeoutdebd(SHARK2.keymon.com.mx.c_subs __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_subs"; +if (Debug.shouldDelegate(ba, "traetimeoutdebd", false)) + {return ((String) Debug.delegate(ba, "traetimeoutdebd", null));} +String _tmout = ""; +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _rs = null; +RDebugUtils.currentLine=25165824; + //BA.debugLineNum = 25165824;BA.debugLine="Sub traeTimeoutDeBD As String 'ignore"; +RDebugUtils.currentLine=25165825; + //BA.debugLineNum = 25165825;BA.debugLine="Dim tmout As String = \"9000\""; +_tmout = "9000"; +RDebugUtils.currentLine=25165826; + //BA.debugLineNum = 25165826;BA.debugLine="Dim rs As ResultSet = db.ExecQuery(\"select valor"; +_rs = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_rs = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(__ref._db /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select valor from cat_variables where nombre = 'timeout'"))); +RDebugUtils.currentLine=25165827; + //BA.debugLineNum = 25165827;BA.debugLine="If rs.RowCount > 0 Then"; +if (_rs.getRowCount()>0) { +RDebugUtils.currentLine=25165828; + //BA.debugLineNum = 25165828;BA.debugLine="rs.NextRow"; +_rs.NextRow(); +RDebugUtils.currentLine=25165829; + //BA.debugLineNum = 25165829;BA.debugLine="tmout = rs.GetString(\"valor\")"; +_tmout = _rs.GetString("valor"); + }; +RDebugUtils.currentLine=25165831; + //BA.debugLineNum = 25165831;BA.debugLine="Return tmout"; +if (true) return _tmout; +RDebugUtils.currentLine=25165832; + //BA.debugLineNum = 25165832;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_tabulador.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_tabulador.java new file mode 100644 index 0000000..98cfe39 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_tabulador.java @@ -0,0 +1,436 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.c_tabulador"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.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=25690112; + //BA.debugLineNum = 25690112;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=25690113; + //BA.debugLineNum = 25690113;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=25690114; + //BA.debugLineNum = 25690114;BA.debugLine="End Sub"; +return null; +} +public String _b_calcular_click(SHARK2.keymon.com.mx.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=25952256; + //BA.debugLineNum = 25952256;BA.debugLine="Private Sub b_calcular_Click"; +RDebugUtils.currentLine=25952257; + //BA.debugLineNum = 25952257;BA.debugLine="If et_mil.Text = \"\" Then"; +if ((__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25952258; + //BA.debugLineNum = 25952258;BA.debugLine="et_mil.Text = 0"; +__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25952260; + //BA.debugLineNum = 25952260;BA.debugLine="If et_quinientos.Text = \"\" Then"; +if ((__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25952261; + //BA.debugLineNum = 25952261;BA.debugLine="et_quinientos.Text = 0"; +__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25952263; + //BA.debugLineNum = 25952263;BA.debugLine="If et_docientos.Text = \"\" Then"; +if ((__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25952264; + //BA.debugLineNum = 25952264;BA.debugLine="et_docientos.Text = 0"; +__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25952266; + //BA.debugLineNum = 25952266;BA.debugLine="If et_cien.Text = \"\" Then"; +if ((__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25952267; + //BA.debugLineNum = 25952267;BA.debugLine="et_cien.Text = 0"; +__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25952269; + //BA.debugLineNum = 25952269;BA.debugLine="If et_cincuenta.Text = \"\" Then"; +if ((__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25952270; + //BA.debugLineNum = 25952270;BA.debugLine="et_cincuenta.Text = 0"; +__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25952272; + //BA.debugLineNum = 25952272;BA.debugLine="If et_veinte.Text = \"\" Then"; +if ((__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25952273; + //BA.debugLineNum = 25952273;BA.debugLine="et_veinte.Text = 0"; +__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25952275; + //BA.debugLineNum = 25952275;BA.debugLine="If et_m_veinte.Text = \"\" Then"; +if ((__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25952276; + //BA.debugLineNum = 25952276;BA.debugLine="et_m_veinte.Text = 0"; +__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25952278; + //BA.debugLineNum = 25952278;BA.debugLine="If et_m_diez.Text = \"\" Then"; +if ((__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25952279; + //BA.debugLineNum = 25952279;BA.debugLine="et_m_diez.Text = 0"; +__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25952281; + //BA.debugLineNum = 25952281;BA.debugLine="If et_m_cinco.Text = \"\" Then"; +if ((__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25952282; + //BA.debugLineNum = 25952282;BA.debugLine="et_m_cinco.Text = 0"; +__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25952284; + //BA.debugLineNum = 25952284;BA.debugLine="If et_m_dos.Text = \"\" Then"; +if ((__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25952285; + //BA.debugLineNum = 25952285;BA.debugLine="et_m_dos.Text = 0"; +__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25952287; + //BA.debugLineNum = 25952287;BA.debugLine="If et_m_peso.Text = \"\" Then"; +if ((__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25952288; + //BA.debugLineNum = 25952288;BA.debugLine="et_m_peso.Text = 0"; +__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25952290; + //BA.debugLineNum = 25952290;BA.debugLine="If et_m_centavo.Text = \"\" Then"; +if ((__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()).equals("")) { +RDebugUtils.currentLine=25952291; + //BA.debugLineNum = 25952291;BA.debugLine="et_m_centavo.Text = 0"; +__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(0)); + }; +RDebugUtils.currentLine=25952293; + //BA.debugLineNum = 25952293;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=25952294; + //BA.debugLineNum = 25952294;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=25952295; + //BA.debugLineNum = 25952295;BA.debugLine="total = sum_billetes + sum_monedas"; +__ref._total /*float*/ = (float) (__ref._sum_billetes /*int*/ +__ref._sum_monedas /*float*/ ); +RDebugUtils.currentLine=25952296; + //BA.debugLineNum = 25952296;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=25952297; + //BA.debugLineNum = 25952297;BA.debugLine="End Sub"; +return ""; +} +public String _b_guardar_click(SHARK2.keymon.com.mx.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=25886720; + //BA.debugLineNum = 25886720;BA.debugLine="Private Sub b_guardar_Click"; +RDebugUtils.currentLine=25886721; + //BA.debugLineNum = 25886721;BA.debugLine="b_calcular_Click"; +__ref._b_calcular_click /*String*/ (null); +RDebugUtils.currentLine=25886722; + //BA.debugLineNum = 25886722;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADOR_"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_MONEDAS"); +RDebugUtils.currentLine=25886723; + //BA.debugLineNum = 25886723;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM TABULADOR_"; +_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TABULADOR_BILLETES"); +RDebugUtils.currentLine=25886724; + //BA.debugLineNum = 25886724;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=25886725; + //BA.debugLineNum = 25886725;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=25886726; + //BA.debugLineNum = 25886726;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +_b4xpages._showpage /*String*/ (ba,"Principal"); +RDebugUtils.currentLine=25886727; + //BA.debugLineNum = 25886727;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(SHARK2.keymon.com.mx.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=25821184; + //BA.debugLineNum = 25821184;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=25821185; + //BA.debugLineNum = 25821185;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=25821186; + //BA.debugLineNum = 25821186;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=25821187; + //BA.debugLineNum = 25821187;BA.debugLine="c.Position = 0"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=25821188; + //BA.debugLineNum = 25821188;BA.debugLine="d.Position = 0"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=25821189; + //BA.debugLineNum = 25821189;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=25821190; + //BA.debugLineNum = 25821190;BA.debugLine="Log(\"TABULADR CON RESUKTADO\")"; +__c.LogImpl("525821190","TABULADR CON RESUKTADO",0); +RDebugUtils.currentLine=25821191; + //BA.debugLineNum = 25821191;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=25821192; + //BA.debugLineNum = 25821192;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=25821193; + //BA.debugLineNum = 25821193;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=25821194; + //BA.debugLineNum = 25821194;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=25821195; + //BA.debugLineNum = 25821195;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=25821196; + //BA.debugLineNum = 25821196;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=25821197; + //BA.debugLineNum = 25821197;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=25821198; + //BA.debugLineNum = 25821198;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=25821199; + //BA.debugLineNum = 25821199;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=25821200; + //BA.debugLineNum = 25821200;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=25821201; + //BA.debugLineNum = 25821201;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=25821202; + //BA.debugLineNum = 25821202;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=25821203; + //BA.debugLineNum = 25821203;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=25821204; + //BA.debugLineNum = 25821204;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=25821205; + //BA.debugLineNum = 25821205;BA.debugLine="Log(\"TABULADR SIN RESUKTADO\")"; +__c.LogImpl("525821205","TABULADR SIN RESUKTADO",0); +RDebugUtils.currentLine=25821206; + //BA.debugLineNum = 25821206;BA.debugLine="et_mil.Text = \"\""; +__ref._et_mil /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25821207; + //BA.debugLineNum = 25821207;BA.debugLine="et_quinientos.Text = \"\""; +__ref._et_quinientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25821208; + //BA.debugLineNum = 25821208;BA.debugLine="et_docientos.Text = \"\""; +__ref._et_docientos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25821209; + //BA.debugLineNum = 25821209;BA.debugLine="et_cien.Text = \"\""; +__ref._et_cien /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25821210; + //BA.debugLineNum = 25821210;BA.debugLine="et_cincuenta.Text = \"\""; +__ref._et_cincuenta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25821211; + //BA.debugLineNum = 25821211;BA.debugLine="et_veinte.Text = \"\""; +__ref._et_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25821212; + //BA.debugLineNum = 25821212;BA.debugLine="et_m_veinte.Text = \"\""; +__ref._et_m_veinte /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25821213; + //BA.debugLineNum = 25821213;BA.debugLine="et_m_diez.Text = \"\""; +__ref._et_m_diez /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25821214; + //BA.debugLineNum = 25821214;BA.debugLine="et_m_cinco.Text = \"\""; +__ref._et_m_cinco /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25821215; + //BA.debugLineNum = 25821215;BA.debugLine="et_m_dos.Text = \"\""; +__ref._et_m_dos /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25821216; + //BA.debugLineNum = 25821216;BA.debugLine="et_m_peso.Text = \"\""; +__ref._et_m_peso /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25821217; + //BA.debugLineNum = 25821217;BA.debugLine="et_m_centavo.Text = \"\""; +__ref._et_m_centavo /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=25821218; + //BA.debugLineNum = 25821218;BA.debugLine="l_total.Text = \"\""; +__ref._l_total /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("")); + }} +; +RDebugUtils.currentLine=25821220; + //BA.debugLineNum = 25821220;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=25821221; + //BA.debugLineNum = 25821221;BA.debugLine="d.Close"; +__ref._d /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=25821222; + //BA.debugLineNum = 25821222;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(SHARK2.keymon.com.mx.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=25755648; + //BA.debugLineNum = 25755648;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=25755649; + //BA.debugLineNum = 25755649;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=25755651; + //BA.debugLineNum = 25755651;BA.debugLine="Root.LoadLayout(\"tabulador\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("tabulador",ba); +RDebugUtils.currentLine=25755652; + //BA.debugLineNum = 25755652;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_tabulador __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_tabulador"; +RDebugUtils.currentLine=25624576; + //BA.debugLineNum = 25624576;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=25624577; + //BA.debugLineNum = 25624577;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=25624578; + //BA.debugLineNum = 25624578;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=25624579; + //BA.debugLineNum = 25624579;BA.debugLine="Private et_mil As EditText"; +_et_mil = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25624580; + //BA.debugLineNum = 25624580;BA.debugLine="Private et_quinientos As EditText"; +_et_quinientos = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25624581; + //BA.debugLineNum = 25624581;BA.debugLine="Private et_docientos As EditText"; +_et_docientos = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25624582; + //BA.debugLineNum = 25624582;BA.debugLine="Private et_cien As EditText"; +_et_cien = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25624583; + //BA.debugLineNum = 25624583;BA.debugLine="Private et_cincuenta As EditText"; +_et_cincuenta = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25624584; + //BA.debugLineNum = 25624584;BA.debugLine="Private et_veinte As EditText"; +_et_veinte = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25624585; + //BA.debugLineNum = 25624585;BA.debugLine="Private et_m_veinte As EditText"; +_et_m_veinte = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25624586; + //BA.debugLineNum = 25624586;BA.debugLine="Private et_m_diez As EditText"; +_et_m_diez = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25624587; + //BA.debugLineNum = 25624587;BA.debugLine="Private et_m_cinco As EditText"; +_et_m_cinco = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25624588; + //BA.debugLineNum = 25624588;BA.debugLine="Private et_m_dos As EditText"; +_et_m_dos = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25624589; + //BA.debugLineNum = 25624589;BA.debugLine="Private et_m_peso As EditText"; +_et_m_peso = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25624590; + //BA.debugLineNum = 25624590;BA.debugLine="Private et_m_centavo As EditText"; +_et_m_centavo = new anywheresoftware.b4a.objects.EditTextWrapper(); +RDebugUtils.currentLine=25624591; + //BA.debugLineNum = 25624591;BA.debugLine="Private b_calcular As Button"; +_b_calcular = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=25624592; + //BA.debugLineNum = 25624592;BA.debugLine="Private b_guardar As Button"; +_b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=25624593; + //BA.debugLineNum = 25624593;BA.debugLine="Private l_total As Label"; +_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=25624594; + //BA.debugLineNum = 25624594;BA.debugLine="Dim sum_billetes As Int"; +_sum_billetes = 0; +RDebugUtils.currentLine=25624595; + //BA.debugLineNum = 25624595;BA.debugLine="Dim sum_monedas As Float"; +_sum_monedas = 0f; +RDebugUtils.currentLine=25624596; + //BA.debugLineNum = 25624596;BA.debugLine="Dim total As Float"; +_total = 0f; +RDebugUtils.currentLine=25624597; + //BA.debugLineNum = 25624597;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=25624598; + //BA.debugLineNum = 25624598;BA.debugLine="Dim d As Cursor"; +_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=25624599; + //BA.debugLineNum = 25624599;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_ticketsdia.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_ticketsdia.java new file mode 100644 index 0000000..8c2a190 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_ticketsdia.java @@ -0,0 +1,516 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.c_ticketsdia"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 anywheresoftware.b4a.objects.PanelWrapper _p_ticketsdia = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; +public String _ruta = ""; +public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; +public anywheresoftware.b4a.objects.ButtonWrapper _b_noventa = null; +public String _nombre_boton = ""; +public String _stime = ""; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.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=26083328; + //BA.debugLineNum = 26083328;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=26083329; + //BA.debugLineNum = 26083329;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=26083330; + //BA.debugLineNum = 26083330;BA.debugLine="End Sub"; +return null; +} +public boolean _activity_keypress(SHARK2.keymon.com.mx.c_ticketsdia __ref,int _key) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "activity_keypress", false)) + {return ((Boolean) Debug.delegate(ba, "activity_keypress", new Object[] {_key}));} +RDebugUtils.currentLine=26345472; + //BA.debugLineNum = 26345472;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; +RDebugUtils.currentLine=26345474; + //BA.debugLineNum = 26345474;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; +if (_key==__c.KeyCodes.KEYCODE_BACK) { +RDebugUtils.currentLine=26345476; + //BA.debugLineNum = 26345476;BA.debugLine="B4XPages.ShowPage(\"principal\")"; +_b4xpages._showpage /*String*/ (ba,"principal"); + }; +RDebugUtils.currentLine=26345480; + //BA.debugLineNum = 26345480;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=26345481; + //BA.debugLineNum = 26345481;BA.debugLine="End Sub"; +return false; +} +public String _b_noventa_click(SHARK2.keymon.com.mx.c_ticketsdia __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "b_noventa_click", false)) + {return ((String) Debug.delegate(ba, "b_noventa_click", null));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=26476544; + //BA.debugLineNum = 26476544;BA.debugLine="Sub b_noventa_Click"; +RDebugUtils.currentLine=26476545; + //BA.debugLineNum = 26476545;BA.debugLine="If nombre_boton = \"NOVENTA\" Then"; +if ((__ref._nombre_boton /*String*/ ).equals("NOVENTA")) { +RDebugUtils.currentLine=26476546; + //BA.debugLineNum = 26476546;BA.debugLine="nombre_boton = \"VENTA\""; +__ref._nombre_boton /*String*/ = "VENTA"; +RDebugUtils.currentLine=26476547; + //BA.debugLineNum = 26476547;BA.debugLine="b_noventa.Text =\"VENTA\""; +__ref._b_noventa /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("VENTA")); +RDebugUtils.currentLine=26476548; + //BA.debugLineNum = 26476548;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select NV_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select NV_CLIENTE,NV_MOTIVO,NV_COMM, (select CAT_CL_NOMBRE from kmt_info where cat_cl_codigo = NV_CLIENTE ) as NOMBRE FROM NOVENTA ORDER BY NV_CLIENTE asc"))); +RDebugUtils.currentLine=26476549; + //BA.debugLineNum = 26476549;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=26476550; + //BA.debugLineNum = 26476550;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=26476551; + //BA.debugLineNum = 26476551;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=26476552; + //BA.debugLineNum = 26476552;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=26476553; + //BA.debugLineNum = 26476553;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=26476554; + //BA.debugLineNum = 26476554;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=26476555; + //BA.debugLineNum = 26476555;BA.debugLine="label1.TextSize = 15"; +_label1.setTextSize((float) (15)); +RDebugUtils.currentLine=26476556; + //BA.debugLineNum = 26476556;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=26476557; + //BA.debugLineNum = 26476557;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=26476558; + //BA.debugLineNum = 26476558;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=26476559; + //BA.debugLineNum = 26476559;BA.debugLine="label2.TextSize = 10"; +_label2.setTextSize((float) (10)); +RDebugUtils.currentLine=26476560; + //BA.debugLineNum = 26476560;BA.debugLine="label2.TextColor = Colors.Blue"; +_label2.setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=26476561; + //BA.debugLineNum = 26476561;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"NV_CLIENTE\""; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_CLIENTE")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOMBRE")+" Motivo #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_MOTIVO")+" Comentario $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NV_COMM"))); + } +}; + }; + }else { +RDebugUtils.currentLine=26476565; + //BA.debugLineNum = 26476565;BA.debugLine="nombre_boton = \"NOVENTA\""; +__ref._nombre_boton /*String*/ = "NOVENTA"; +RDebugUtils.currentLine=26476566; + //BA.debugLineNum = 26476566;BA.debugLine="b_noventa.Text =\"NO VENTA\""; +__ref._b_noventa /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("NO VENTA")); +RDebugUtils.currentLine=26476567; + //BA.debugLineNum = 26476567;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CL"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc"))); +RDebugUtils.currentLine=26476568; + //BA.debugLineNum = 26476568;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=26476570; + //BA.debugLineNum = 26476570;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=26476571; + //BA.debugLineNum = 26476571;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step26 = 1; +final int limit26 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit26 ;_i = _i + step26 ) { +RDebugUtils.currentLine=26476572; + //BA.debugLineNum = 26476572;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=26476573; + //BA.debugLineNum = 26476573;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=26476574; + //BA.debugLineNum = 26476574;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=26476575; + //BA.debugLineNum = 26476575;BA.debugLine="label1.TextSize = 15"; +_label1.setTextSize((float) (15)); +RDebugUtils.currentLine=26476576; + //BA.debugLineNum = 26476576;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=26476577; + //BA.debugLineNum = 26476577;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=26476578; + //BA.debugLineNum = 26476578;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=26476579; + //BA.debugLineNum = 26476579;BA.debugLine="label2.TextSize = 10"; +_label2.setTextSize((float) (10)); +RDebugUtils.currentLine=26476580; + //BA.debugLineNum = 26476580;BA.debugLine="label2.TextColor = Colors.Blue"; +_label2.setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=26476581; + //BA.debugLineNum = 26476581;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\""; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOMBRE")+" Cantidad #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")+" SubTotal $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); + } +}; + }; +RDebugUtils.currentLine=26476584; + //BA.debugLineNum = 26476584;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); + }; +RDebugUtils.currentLine=26476586; + //BA.debugLineNum = 26476586;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_appear(SHARK2.keymon.com.mx.c_ticketsdia __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {return ((String) Debug.delegate(ba, "b4xpage_appear", null));} +int _noarticulos = 0; +int _i = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=26214400; + //BA.debugLineNum = 26214400;BA.debugLine="Sub B4XPage_Appear"; +RDebugUtils.currentLine=26214401; + //BA.debugLineNum = 26214401;BA.debugLine="nombre_boton = \"NOVENTA\""; +__ref._nombre_boton /*String*/ = "NOVENTA"; +RDebugUtils.currentLine=26214402; + //BA.debugLineNum = 26214402;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CLI"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info where cat_cl_codigo = pc_cliente UNION select CAT_CL_NOMBRE from kmt_info2 where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc"))); +RDebugUtils.currentLine=26214403; + //BA.debugLineNum = 26214403;BA.debugLine="Dim noArticulos As Int = 0"; +_noarticulos = (int) (0); +RDebugUtils.currentLine=26214405; + //BA.debugLineNum = 26214405;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=26214406; + //BA.debugLineNum = 26214406;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=26214407; + //BA.debugLineNum = 26214407;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=26214408; + //BA.debugLineNum = 26214408;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=26214409; + //BA.debugLineNum = 26214409;BA.debugLine="Dim x As Cursor = B4XPages.MainPage.skmt.ExecQu"; +_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(sum(IFNULL(PE_CANT,0)),0) as PC_NOART from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")))+"' AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)")))); +RDebugUtils.currentLine=26214410; + //BA.debugLineNum = 26214410;BA.debugLine="If x.RowCount > 0 Then"; +if (_x.getRowCount()>0) { +RDebugUtils.currentLine=26214411; + //BA.debugLineNum = 26214411;BA.debugLine="x.Position = 0"; +_x.setPosition((int) (0)); +RDebugUtils.currentLine=26214413; + //BA.debugLineNum = 26214413;BA.debugLine="noArticulos = x.GetString(\"PC_NOART\")"; +_noarticulos = (int)(Double.parseDouble(_x.GetString("PC_NOART"))); + }; +RDebugUtils.currentLine=26214415; + //BA.debugLineNum = 26214415;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=26214416; + //BA.debugLineNum = 26214416;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=26214417; + //BA.debugLineNum = 26214417;BA.debugLine="label1.TextSize = 10"; +_label1.setTextSize((float) (10)); +RDebugUtils.currentLine=26214418; + //BA.debugLineNum = 26214418;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=26214419; + //BA.debugLineNum = 26214419;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=26214420; + //BA.debugLineNum = 26214420;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=26214421; + //BA.debugLineNum = 26214421;BA.debugLine="label2.TextSize = 13"; +_label2.setTextSize((float) (13)); +RDebugUtils.currentLine=26214422; + //BA.debugLineNum = 26214422;BA.debugLine="label2.TextColor = Colors.Blue"; +_label2.setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=26214423; + //BA.debugLineNum = 26214423;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\")"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")),BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("NOMBRE")+" Cantidad #"+BA.NumberToString(_noarticulos)+" SubTotal $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); + } +}; + }; +RDebugUtils.currentLine=26214426; + //BA.debugLineNum = 26214426;BA.debugLine="c.Close"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .Close(); +RDebugUtils.currentLine=26214427; + //BA.debugLineNum = 26214427;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(SHARK2.keymon.com.mx.c_ticketsdia __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +int _i = 0; +anywheresoftware.b4a.objects.LabelWrapper _label1 = null; +anywheresoftware.b4a.objects.LabelWrapper _label2 = null; +RDebugUtils.currentLine=26148864; + //BA.debugLineNum = 26148864;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=26148865; + //BA.debugLineNum = 26148865;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=26148867; + //BA.debugLineNum = 26148867;BA.debugLine="ruta = File.DirInternal"; +__ref._ruta /*String*/ = __c.File.getDirInternal(); +RDebugUtils.currentLine=26148868; + //BA.debugLineNum = 26148868;BA.debugLine="Root.LoadLayout(\"ticketsdia\")"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .LoadLayout("ticketsdia",ba); +RDebugUtils.currentLine=26148869; + //BA.debugLineNum = 26148869;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (__c.File.Exists(__ref._ruta /*String*/ ,"kmt.db")==__c.False) { +RDebugUtils.currentLine=26148870; + //BA.debugLineNum = 26148870;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__ref._ruta /*String*/ ,"kmt.db"); + }; +RDebugUtils.currentLine=26148872; + //BA.debugLineNum = 26148872;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select PC_C"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc"))); +RDebugUtils.currentLine=26148875; + //BA.debugLineNum = 26148875;BA.debugLine="ListView1.Clear"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear(); +RDebugUtils.currentLine=26148876; + //BA.debugLineNum = 26148876;BA.debugLine="If c.RowCount>0 Then"; +if (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()>0) { +RDebugUtils.currentLine=26148877; + //BA.debugLineNum = 26148877;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step10 = 1; +final int limit10 = (int) (__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit10 ;_i = _i + step10 ) { +RDebugUtils.currentLine=26148878; + //BA.debugLineNum = 26148878;BA.debugLine="c.Position=i"; +__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition(_i); +RDebugUtils.currentLine=26148879; + //BA.debugLineNum = 26148879;BA.debugLine="Dim label1 As Label"; +_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=26148880; + //BA.debugLineNum = 26148880;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; +_label1 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().Label; +RDebugUtils.currentLine=26148881; + //BA.debugLineNum = 26148881;BA.debugLine="label1.TextSize = 10"; +_label1.setTextSize((float) (10)); +RDebugUtils.currentLine=26148882; + //BA.debugLineNum = 26148882;BA.debugLine="label1.TextColor = Colors.Black"; +_label1.setTextColor(__c.Colors.Black); +RDebugUtils.currentLine=26148883; + //BA.debugLineNum = 26148883;BA.debugLine="Dim label2 As Label"; +_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=26148884; + //BA.debugLineNum = 26148884;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; +_label2 = __ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .getTwoLinesLayout().SecondLabel; +RDebugUtils.currentLine=26148885; + //BA.debugLineNum = 26148885;BA.debugLine="label2.TextSize = 13"; +_label2.setTextSize((float) (13)); +RDebugUtils.currentLine=26148886; + //BA.debugLineNum = 26148886;BA.debugLine="label2.TextColor = Colors.Blue"; +_label2.setTextColor(__c.Colors.Blue); +RDebugUtils.currentLine=26148887; + //BA.debugLineNum = 26148887;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\")"; +__ref._listview1 /*anywheresoftware.b4a.objects.ListViewWrapper*/ .AddTwoLines(BA.ObjectToCharSequence(__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_CLIENTE")),BA.ObjectToCharSequence("Cantidad #"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_NOART")+" SubTotal $"+__ref._c /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("PC_MONTO"))); + } +}; + }; +RDebugUtils.currentLine=26148890; + //BA.debugLineNum = 26148890;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_ticketsdia __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +RDebugUtils.currentLine=26017792; + //BA.debugLineNum = 26017792;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=26017793; + //BA.debugLineNum = 26017793;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26017794; + //BA.debugLineNum = 26017794;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=26017795; + //BA.debugLineNum = 26017795;BA.debugLine="Private p_ticketsdia As Panel"; +_p_ticketsdia = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=26017797; + //BA.debugLineNum = 26017797;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=26017798; + //BA.debugLineNum = 26017798;BA.debugLine="Dim S As Cursor"; +_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=26017799; + //BA.debugLineNum = 26017799;BA.debugLine="Dim ruta As String"; +_ruta = ""; +RDebugUtils.currentLine=26017800; + //BA.debugLineNum = 26017800;BA.debugLine="Dim ListView1 As ListView"; +_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); +RDebugUtils.currentLine=26017801; + //BA.debugLineNum = 26017801;BA.debugLine="Dim b_noventa As Button"; +_b_noventa = new anywheresoftware.b4a.objects.ButtonWrapper(); +RDebugUtils.currentLine=26017802; + //BA.debugLineNum = 26017802;BA.debugLine="Dim nombre_boton As String"; +_nombre_boton = ""; +RDebugUtils.currentLine=26017803; + //BA.debugLineNum = 26017803;BA.debugLine="Dim STIME As String"; +_stime = ""; +RDebugUtils.currentLine=26017804; + //BA.debugLineNum = 26017804;BA.debugLine="End Sub"; +return ""; +} +public String _listview1_itemlongclick(SHARK2.keymon.com.mx.c_ticketsdia __ref,int _position,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "listview1_itemlongclick", false)) + {return ((String) Debug.delegate(ba, "listview1_itemlongclick", new Object[] {_position,_value}));} +RDebugUtils.currentLine=26411008; + //BA.debugLineNum = 26411008;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; +RDebugUtils.currentLine=26411009; + //BA.debugLineNum = 26411009;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=26411010; + //BA.debugLineNum = 26411010;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); +RDebugUtils.currentLine=26411011; + //BA.debugLineNum = 26411011;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; +__c.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=26411012; + //BA.debugLineNum = 26411012;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; +__ref._stime /*String*/ = __c.DateTime.Time(__c.DateTime.getNow()); +RDebugUtils.currentLine=26411013; + //BA.debugLineNum = 26411013;BA.debugLine="Starter.pre_viejo = Subs.traeTotalClientepreventa"; +_starter._pre_viejo /*float*/ = (float) (_subs._traetotalclientepreventaparacredito /*double*/ (ba)); +RDebugUtils.currentLine=26411014; + //BA.debugLineNum = 26411014;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT("; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)"))); +RDebugUtils.currentLine=26411015; + //BA.debugLineNum = 26411015;BA.debugLine="s.Position = 0"; +__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .setPosition((int) (0)); +RDebugUtils.currentLine=26411016; + //BA.debugLineNum = 26411016;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; +if ((__ref._s /*anywheresoftware.b4a.sql.SQL.CursorWrapper*/ .GetString("CUANTOS")).equals(BA.NumberToString(1))) { +RDebugUtils.currentLine=26411017; + //BA.debugLineNum = 26411017;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); + }else { +RDebugUtils.currentLine=26411019; + //BA.debugLineNum = 26411019;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); +RDebugUtils.currentLine=26411020; + //BA.debugLineNum = 26411020;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__ref._stime /*String*/ )})); + }; +RDebugUtils.currentLine=26411022; + //BA.debugLineNum = 26411022;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; +__c.DateTime.setTimeFormat("HH:mm:ss"); +RDebugUtils.currentLine=26411023; + //BA.debugLineNum = 26411023;BA.debugLine="Subs.guardaClienteHoraInicio(Value)"; +_subs._guardaclientehorainicio /*String*/ (ba,BA.ObjectToString(_value)); +RDebugUtils.currentLine=26411024; + //BA.debugLineNum = 26411024;BA.debugLine="B4XPages.MainPage.cliente.venimosDeTicketsDia = T"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*SHARK2.keymon.com.mx.c_cliente*/ ._venimosdeticketsdia /*boolean*/ = __c.True; +RDebugUtils.currentLine=26411025; + //BA.debugLineNum = 26411025;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +_b4xpages._showpage /*String*/ (ba,"cliente"); +RDebugUtils.currentLine=26411026; + //BA.debugLineNum = 26411026;BA.debugLine="End Sub"; +return ""; +} +public String _p_ticketsdia_click(SHARK2.keymon.com.mx.c_ticketsdia __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "p_ticketsdia_click", false)) + {return ((String) Debug.delegate(ba, "p_ticketsdia_click", null));} +RDebugUtils.currentLine=26542080; + //BA.debugLineNum = 26542080;BA.debugLine="Private Sub p_ticketsdia_Click"; +RDebugUtils.currentLine=26542082; + //BA.debugLineNum = 26542082;BA.debugLine="End Sub"; +return ""; +} +public String _regresar_click(SHARK2.keymon.com.mx.c_ticketsdia __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_ticketsdia"; +if (Debug.shouldDelegate(ba, "regresar_click", false)) + {return ((String) Debug.delegate(ba, "regresar_click", null));} +RDebugUtils.currentLine=26279936; + //BA.debugLineNum = 26279936;BA.debugLine="Sub Regresar_Click"; +RDebugUtils.currentLine=26279937; + //BA.debugLineNum = 26279937;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; +_b4xpages._showpage /*String*/ (ba,"cliente"); +RDebugUtils.currentLine=26279938; + //BA.debugLineNum = 26279938;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/c_updateavailable.java b/B4A/Objects/src/SHARK2/keymon/com/mx/c_updateavailable.java new file mode 100644 index 0000000..251a6c3 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/c_updateavailable.java @@ -0,0 +1,322 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.c_updateavailable"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _initialize(SHARK2.keymon.com.mx.c_updateavailable __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((Object) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=26673152; + //BA.debugLineNum = 26673152;BA.debugLine="Public Sub Initialize As Object"; +RDebugUtils.currentLine=26673153; + //BA.debugLineNum = 26673153;BA.debugLine="Return Me"; +if (true) return this; +RDebugUtils.currentLine=26673154; + //BA.debugLineNum = 26673154;BA.debugLine="End Sub"; +return null; +} +public void _b4xpage_appear(SHARK2.keymon.com.mx.c_updateavailable __ref) throws Exception{ +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "b4xpage_appear", false)) + {Debug.delegate(ba, "b4xpage_appear", null); return;} +ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { +public ResumableSub_B4XPage_Appear(SHARK2.keymon.com.mx.c_updateavailable parent,SHARK2.keymon.com.mx.c_updateavailable __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.c_updateavailable __ref; +SHARK2.keymon.com.mx.c_updateavailable parent; +int _result = 0; +anywheresoftware.b4a.objects.IntentWrapper _in = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="c_updateavailable"; + + while (true) { +try { + + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=26804225; + //BA.debugLineNum = 26804225;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=26804226; + //BA.debugLineNum = 26804226;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=26804227; + //BA.debugLineNum = 26804227;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=26804228; + //BA.debugLineNum = 26804228;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=26804229; + //BA.debugLineNum = 26804229;BA.debugLine="Dim in As Intent"; +_in = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=26804230; + //BA.debugLineNum = 26804230;BA.debugLine="in.Initialize(\"android.settings.MANAGE_UNKNOWN_"; +_in.Initialize("android.settings.MANAGE_UNKNOWN_APP_SOURCES","package:"+parent.__c.Application.getPackageName()); +RDebugUtils.currentLine=26804231; + //BA.debugLineNum = 26804231;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=26804234; + //BA.debugLineNum = 26804234;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException"; +parent.__c.LogImpl("526804234","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0); + if (true) break; +if (true) break; +; +RDebugUtils.currentLine=26804236; + //BA.debugLineNum = 26804236;BA.debugLine="If appUpdater.newApp.update Then"; + +case 10: +//if +this.state = 15; +this.catchState = 0; +if (parent._appupdater._newapp /*SHARK2.keymon.com.mx.appupdater._mnewversion*/ .update /*boolean*/ ) { +this.state = 12; +}else { +this.state = 14; +}if (true) break; + +case 12: +//C +this.state = 15; +RDebugUtils.currentLine=26804237; + //BA.debugLineNum = 26804237;BA.debugLine="ofreceActualizacion"; +__ref._ofreceactualizacion /*String*/ (null); + if (true) break; + +case 14: +//C +this.state = 15; +RDebugUtils.currentLine=26804239; + //BA.debugLineNum = 26804239;BA.debugLine="sinActualizacion"; +__ref._sinactualizacion /*String*/ (null); + if (true) break; + +case 15: +//C +this.state = -1; +; +RDebugUtils.currentLine=26804241; + //BA.debugLineNum = 26804241;BA.debugLine="End Sub"; +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +ba.setLastException(e0);} + } + } + } +} +public boolean _canrequestpackageinstalls(SHARK2.keymon.com.mx.c_updateavailable __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "canrequestpackageinstalls", false)) + {return ((Boolean) Debug.delegate(ba, "canrequestpackageinstalls", null));} +anywheresoftware.b4j.object.JavaObject _ctxt = null; +anywheresoftware.b4j.object.JavaObject _packagemanager = null; +RDebugUtils.currentLine=26869760; + //BA.debugLineNum = 26869760;BA.debugLine="public Sub CanRequestPackageInstalls As Boolean"; +RDebugUtils.currentLine=26869762; + //BA.debugLineNum = 26869762;BA.debugLine="Dim ctxt As JavaObject"; +_ctxt = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=26869763; + //BA.debugLineNum = 26869763;BA.debugLine="ctxt.InitializeContext"; +_ctxt.InitializeContext(ba); +RDebugUtils.currentLine=26869764; + //BA.debugLineNum = 26869764;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=26869765; + //BA.debugLineNum = 26869765;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; +if (true) return BA.ObjectToBoolean(_packagemanager.RunMethod("canRequestPackageInstalls",(Object[])(__c.Null))); +RDebugUtils.currentLine=26869766; + //BA.debugLineNum = 26869766;BA.debugLine="End Sub"; +return false; +} +public String _ofreceactualizacion(SHARK2.keymon.com.mx.c_updateavailable __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "ofreceactualizacion", false)) + {return ((String) Debug.delegate(ba, "ofreceactualizacion", null));} +RDebugUtils.currentLine=26935296; + //BA.debugLineNum = 26935296;BA.debugLine="Sub ofreceActualizacion"; +RDebugUtils.currentLine=26935297; + //BA.debugLineNum = 26935297;BA.debugLine="If Msgbox2(appUpdater.newApp.newMsg,\"Actualizació"; +if (__c.Msgbox2(BA.ObjectToCharSequence(_appupdater._newapp /*SHARK2.keymon.com.mx.appupdater._mnewversion*/ .newMsg /*String*/ ),BA.ObjectToCharSequence("Actualización disponible"),"Si","","No",(android.graphics.Bitmap)(__c.Null),ba)==__c.DialogResponse.POSITIVE) { +RDebugUtils.currentLine=26935299; + //BA.debugLineNum = 26935299;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; +__c.CallSubDelayed(ba,(Object)(_appupdater.getObject()),"download_newApk"); + }; +RDebugUtils.currentLine=26935301; + //BA.debugLineNum = 26935301;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (null); +RDebugUtils.currentLine=26935302; + //BA.debugLineNum = 26935302;BA.debugLine="StartActivity(Main)"; +__c.StartActivity(ba,(Object)(_main.getObject())); +RDebugUtils.currentLine=26935304; + //BA.debugLineNum = 26935304;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +_b4xpages._showpage /*String*/ (ba,"Login"); +RDebugUtils.currentLine=26935305; + //BA.debugLineNum = 26935305;BA.debugLine="End Sub"; +return ""; +} +public String _sinactualizacion(SHARK2.keymon.com.mx.c_updateavailable __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "sinactualizacion", false)) + {return ((String) Debug.delegate(ba, "sinactualizacion", null));} +RDebugUtils.currentLine=27000832; + //BA.debugLineNum = 27000832;BA.debugLine="Sub sinActualizacion"; +RDebugUtils.currentLine=27000833; + //BA.debugLineNum = 27000833;BA.debugLine="Msgbox(appUpdater.newApp.okMsg, \"Aplicación al co"; +__c.Msgbox(BA.ObjectToCharSequence(_appupdater._newapp /*SHARK2.keymon.com.mx.appupdater._mnewversion*/ .okMsg /*String*/ ),BA.ObjectToCharSequence("Aplicación al corriente"),ba); +RDebugUtils.currentLine=27000835; + //BA.debugLineNum = 27000835;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; +_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (null); +RDebugUtils.currentLine=27000836; + //BA.debugLineNum = 27000836;BA.debugLine="B4XPages.ShowPage(\"Login\")"; +_b4xpages._showpage /*String*/ (ba,"Login"); +RDebugUtils.currentLine=27000837; + //BA.debugLineNum = 27000837;BA.debugLine="End Sub"; +return ""; +} +public String _b4xpage_created(SHARK2.keymon.com.mx.c_updateavailable __ref,anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +if (Debug.shouldDelegate(ba, "b4xpage_created", false)) + {return ((String) Debug.delegate(ba, "b4xpage_created", new Object[] {_root1}));} +RDebugUtils.currentLine=26738688; + //BA.debugLineNum = 26738688;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; +RDebugUtils.currentLine=26738689; + //BA.debugLineNum = 26738689;BA.debugLine="Root = Root1"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _root1; +RDebugUtils.currentLine=26738691; + //BA.debugLineNum = 26738691;BA.debugLine="Root.Color = Colors.Transparent"; +__ref._root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(__c.Colors.Transparent); +RDebugUtils.currentLine=26738692; + //BA.debugLineNum = 26738692;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.c_updateavailable __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="c_updateavailable"; +RDebugUtils.currentLine=26607616; + //BA.debugLineNum = 26607616;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=26607617; + //BA.debugLineNum = 26607617;BA.debugLine="Private Root As B4XView 'ignore"; +_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=26607618; + //BA.debugLineNum = 26607618;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=26607619; + //BA.debugLineNum = 26607619;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/cl_appupdate.java b/B4A/Objects/src/SHARK2/keymon/com/mx/cl_appupdate.java new file mode 100644 index 0000000..f52602c --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/cl_appupdate.java @@ -0,0 +1,2314 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.cl_appupdate"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public boolean _canrequestpackageinstalls(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "canrequestpackageinstalls", true)) + {return ((Boolean) Debug.delegate(ba, "canrequestpackageinstalls", null));} +anywheresoftware.b4j.object.JavaObject _ctxt = null; +anywheresoftware.b4j.object.JavaObject _packagemanager = null; +RDebugUtils.currentLine=45350912; + //BA.debugLineNum = 45350912;BA.debugLine="Public Sub CanRequestPackageInstalls As Boolean"; +RDebugUtils.currentLine=45350913; + //BA.debugLineNum = 45350913;BA.debugLine="Dim ctxt As JavaObject"; +_ctxt = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=45350914; + //BA.debugLineNum = 45350914;BA.debugLine="ctxt.InitializeContext"; +_ctxt.InitializeContext(ba); +RDebugUtils.currentLine=45350915; + //BA.debugLineNum = 45350915;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=45350916; + //BA.debugLineNum = 45350916;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; +if (true) return BA.ObjectToBoolean(_packagemanager.RunMethod("canRequestPackageInstalls",(Object[])(__c.Null))); +RDebugUtils.currentLine=45350917; + //BA.debugLineNum = 45350917;BA.debugLine="End Sub"; +return false; +} +public boolean _checknonmarketappsenabled(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "checknonmarketappsenabled", true)) + {return ((Boolean) Debug.delegate(ba, "checknonmarketappsenabled", null));} +anywheresoftware.b4j.object.JavaObject _context = null; +anywheresoftware.b4j.object.JavaObject _resolver = null; +anywheresoftware.b4j.object.JavaObject _global = null; +RDebugUtils.currentLine=45416448; + //BA.debugLineNum = 45416448;BA.debugLine="Public Sub CheckNonMarketAppsEnabled As Boolean"; +RDebugUtils.currentLine=45416449; + //BA.debugLineNum = 45416449;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=45416450; + //BA.debugLineNum = 45416450;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=45416451; + //BA.debugLineNum = 45416451;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=45416453; + //BA.debugLineNum = 45416453;BA.debugLine="Dim context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=45416454; + //BA.debugLineNum = 45416454;BA.debugLine="context.InitializeContext"; +_context.InitializeContext(ba); +RDebugUtils.currentLine=45416455; + //BA.debugLineNum = 45416455;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=45416456; + //BA.debugLineNum = 45416456;BA.debugLine="Dim global As JavaObject"; +_global = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=45416457; + //BA.debugLineNum = 45416457;BA.debugLine="global.InitializeStatic(\"android.provider.Settin"; +_global.InitializeStatic("android.provider.Settings.Global"); +RDebugUtils.currentLine=45416458; + //BA.debugLineNum = 45416458;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=45416460; + //BA.debugLineNum = 45416460;BA.debugLine="End Sub"; +return false; +} +public String _class_globals(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +RDebugUtils.currentLine=43450368; + //BA.debugLineNum = 43450368;BA.debugLine="Private Sub Class_Globals"; +RDebugUtils.currentLine=43450370; + //BA.debugLineNum = 43450370;BA.debugLine="Public ERR_NOPKG = -1 As Int 'missing package"; +_err_nopkg = (int) (-1); +RDebugUtils.currentLine=43450371; + //BA.debugLineNum = 43450371;BA.debugLine="Public ERR_NOTXT = -2 As Int 'missing webserve"; +_err_notxt = (int) (-2); +RDebugUtils.currentLine=43450372; + //BA.debugLineNum = 43450372;BA.debugLine="Public ERR_NOAPK = -3 As Int 'missing webserve"; +_err_noapk = (int) (-3); +RDebugUtils.currentLine=43450373; + //BA.debugLineNum = 43450373;BA.debugLine="Public ERR_TXTROW = -4 As Int 'wrong row forma"; +_err_txtrow = (int) (-4); +RDebugUtils.currentLine=43450374; + //BA.debugLineNum = 43450374;BA.debugLine="Public ERR_HTML = -5 As Int 'website returned"; +_err_html = (int) (-5); +RDebugUtils.currentLine=43450375; + //BA.debugLineNum = 43450375;BA.debugLine="Public ERR_NOSPACE = -6 As Int 'no enough spac"; +_err_nospace = (int) (-6); +RDebugUtils.currentLine=43450376; + //BA.debugLineNum = 43450376;BA.debugLine="Public ERR_NOPERM = -7 As Int 'no permissions"; +_err_noperm = (int) (-7); +RDebugUtils.currentLine=43450377; + //BA.debugLineNum = 43450377;BA.debugLine="Public ERR_DOWNLOAD = -8 As Int 'failed to dow"; +_err_download = (int) (-8); +RDebugUtils.currentLine=43450378; + //BA.debugLineNum = 43450378;BA.debugLine="Public ERR_HTTP = -100 As Int 'HttpUtils error"; +_err_http = (int) (-100); +RDebugUtils.currentLine=43450379; + //BA.debugLineNum = 43450379;BA.debugLine="Public OK_INIT = 0 As Int"; +_ok_init = (int) (0); +RDebugUtils.currentLine=43450380; + //BA.debugLineNum = 43450380;BA.debugLine="Public OK_CURVER = 1 As Int 'curver has valid"; +_ok_curver = (int) (1); +RDebugUtils.currentLine=43450381; + //BA.debugLineNum = 43450381;BA.debugLine="Public OK_WEBVER = 2 As Int"; +_ok_webver = (int) (2); +RDebugUtils.currentLine=43450382; + //BA.debugLineNum = 43450382;BA.debugLine="Public NO_NEWERAPK = 3 As Int 'apk version on"; +_no_newerapk = (int) (3); +RDebugUtils.currentLine=43450383; + //BA.debugLineNum = 43450383;BA.debugLine="Public OK_NEWERAPK = 4 As Int 'current apk has"; +_ok_newerapk = (int) (4); +RDebugUtils.currentLine=43450384; + //BA.debugLineNum = 43450384;BA.debugLine="Public OK_DOWNLOAD = 5 As Int 'newer apk corre"; +_ok_download = (int) (5); +RDebugUtils.currentLine=43450385; + //BA.debugLineNum = 43450385;BA.debugLine="Public OK_INSTALL = 6 As Int 'user asked to in"; +_ok_install = (int) (6); +RDebugUtils.currentLine=43450388; + //BA.debugLineNum = 43450388;BA.debugLine="Private Callback As Object"; +_callback = new Object(); +RDebugUtils.currentLine=43450389; + //BA.debugLineNum = 43450389;BA.debugLine="Private Event As String"; +_event = ""; +RDebugUtils.currentLine=43450390; + //BA.debugLineNum = 43450390;BA.debugLine="Private sPackageName As String 'ex: com.te"; +_spackagename = ""; +RDebugUtils.currentLine=43450391; + //BA.debugLineNum = 43450391;BA.debugLine="Private sNewVerTxt As String 'ex: http:/"; +_snewvertxt = ""; +RDebugUtils.currentLine=43450392; + //BA.debugLineNum = 43450392;BA.debugLine="Private sNewVerApk As String 'ex: http:/"; +_snewverapk = ""; +RDebugUtils.currentLine=43450393; + //BA.debugLineNum = 43450393;BA.debugLine="Private sStatusCode As Int 'negatives"; +_sstatuscode = 0; +RDebugUtils.currentLine=43450394; + //BA.debugLineNum = 43450394;BA.debugLine="Private sUserName As String 'user name"; +_susername = ""; +RDebugUtils.currentLine=43450395; + //BA.debugLineNum = 43450395;BA.debugLine="Private sUPassword As String 'password r"; +_supassword = ""; +RDebugUtils.currentLine=43450396; + //BA.debugLineNum = 43450396;BA.debugLine="Private curver, webver As String 'curver = c"; +_curver = ""; +_webver = ""; +RDebugUtils.currentLine=43450397; + //BA.debugLineNum = 43450397;BA.debugLine="Private webclog As String 'webclog = optional"; +_webclog = ""; +RDebugUtils.currentLine=43450398; + //BA.debugLineNum = 43450398;BA.debugLine="Private webfsize As String 'webfsize = option"; +_webfsize = ""; +RDebugUtils.currentLine=43450399; + //BA.debugLineNum = 43450399;BA.debugLine="Private sVerbose As Boolean 'TRUE = a lot of"; +_sverbose = false; +RDebugUtils.currentLine=43450400; + //BA.debugLineNum = 43450400;BA.debugLine="Private pnlSplash As Panel 'panel used to sup"; +_pnlsplash = new anywheresoftware.b4a.objects.PanelWrapper(); +RDebugUtils.currentLine=43450401; + //BA.debugLineNum = 43450401;BA.debugLine="Private SplashShowing As Boolean 'True = splash"; +_splashshowing = false; +RDebugUtils.currentLine=43450402; + //BA.debugLineNum = 43450402;BA.debugLine="Private phone As Phone"; +_phone = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=43450403; + //BA.debugLineNum = 43450403;BA.debugLine="Private rp As RuntimePermissions"; +_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); +RDebugUtils.currentLine=43450404; + //BA.debugLineNum = 43450404;BA.debugLine="Private SharedFolder As String 'Foder where to"; +_sharedfolder = ""; +RDebugUtils.currentLine=43450405; + //BA.debugLineNum = 43450405;BA.debugLine="Private UseFileProvider As Boolean 'TRUE = SDK"; +_usefileprovider = false; +RDebugUtils.currentLine=43450406; + //BA.debugLineNum = 43450406;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'first col"; +_logcolor1 = ((int)0xffff8c00); +RDebugUtils.currentLine=43450407; + //BA.debugLineNum = 43450407;BA.debugLine="End Sub"; +return ""; +} +public void _downloadapk(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "downloadapk", true)) + {Debug.delegate(ba, "downloadapk", null); return;} +ResumableSub_DownloadApk rsub = new ResumableSub_DownloadApk(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_DownloadApk extends BA.ResumableSub { +public ResumableSub_DownloadApk(SHARK2.keymon.com.mx.cl_appupdate parent,SHARK2.keymon.com.mx.cl_appupdate __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.cl_appupdate __ref; +SHARK2.keymon.com.mx.cl_appupdate parent; +SHARK2.keymon.com.mx.httpjob _j = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=44498945; + //BA.debugLineNum = 44498945;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor"; +parent.__c.LogImpl("944498945","---- AppUpdating.DownloadApk",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=44498947; + //BA.debugLineNum = 44498947;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=44498948; + //BA.debugLineNum = 44498948;BA.debugLine="sStatusCode = ERR_NOAPK"; +__ref._sstatuscode /*int*/ = __ref._err_noapk /*int*/ ; +RDebugUtils.currentLine=44498949; + //BA.debugLineNum = 44498949;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("944498949",(""+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=44498950; + //BA.debugLineNum = 44498950;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=44498951; + //BA.debugLineNum = 44498951;BA.debugLine="Return"; +if (true) return ; + if (true) break; + +case 10: +//C +this.state = 11; +; +RDebugUtils.currentLine=44498954; + //BA.debugLineNum = 44498954;BA.debugLine="Dim j As HttpJob"; +_j = new SHARK2.keymon.com.mx.httpjob(); +RDebugUtils.currentLine=44498955; + //BA.debugLineNum = 44498955;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=44498956; + //BA.debugLineNum = 44498956;BA.debugLine="j.Username = sUserName"; +_j._username /*String*/ = __ref._susername /*String*/ ; +RDebugUtils.currentLine=44498957; + //BA.debugLineNum = 44498957;BA.debugLine="j.Password = sUPassword"; +_j._password /*String*/ = __ref._supassword /*String*/ ; +RDebugUtils.currentLine=44498958; + //BA.debugLineNum = 44498958;BA.debugLine="j.Download(sNewVerApk) 'ex: j.Download(\"htt"; +_j._download /*String*/ (null,__ref._snewverapk /*String*/ ); +RDebugUtils.currentLine=44498959; + //BA.debugLineNum = 44498959;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 = (SHARK2.keymon.com.mx.httpjob) result[1]; +; +RDebugUtils.currentLine=44498960; + //BA.debugLineNum = 44498960;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; +parent.__c.LogImpl("944498960",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); +RDebugUtils.currentLine=44498961; + //BA.debugLineNum = 44498961;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=44498963; + //BA.debugLineNum = 44498963;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=44498964; + //BA.debugLineNum = 44498964;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",Fal"; +_out = parent.__c.File.OpenOutput(__ref._sharedfolder /*String*/ ,"tmp.apk",parent.__c.False); +RDebugUtils.currentLine=44498965; + //BA.debugLineNum = 44498965;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=44498966; + //BA.debugLineNum = 44498966;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=44498967; + //BA.debugLineNum = 44498967;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; +parent.__c.LogImpl("944498967",("Copy2 (saving) ok? TRUE"),0); +RDebugUtils.currentLine=44498968; + //BA.debugLineNum = 44498968;BA.debugLine="sStatusCode = OK_DOWNLOAD"; +__ref._sstatuscode /*int*/ = __ref._ok_download /*int*/ ; +RDebugUtils.currentLine=44498969; + //BA.debugLineNum = 44498969;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("944498969",(""+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=44498971; + //BA.debugLineNum = 44498971;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +parent.__c.LogImpl("944498971",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +RDebugUtils.currentLine=44498972; + //BA.debugLineNum = 44498972;BA.debugLine="sStatusCode = ERR_HTTP"; +__ref._sstatuscode /*int*/ = __ref._err_http /*int*/ ; +RDebugUtils.currentLine=44498973; + //BA.debugLineNum = 44498973;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("944498973",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +if (true) break; + +case 27: +//C +this.state = 28; +; +RDebugUtils.currentLine=44498974; + //BA.debugLineNum = 44498974;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=44498976; + //BA.debugLineNum = 44498976;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=44498977; + //BA.debugLineNum = 44498977;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=44498978; + //BA.debugLineNum = 44498978;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _finito(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "finito", true)) + {return ((String) Debug.delegate(ba, "finito", null));} +RDebugUtils.currentLine=44761088; + //BA.debugLineNum = 44761088;BA.debugLine="Private Sub Finito"; +RDebugUtils.currentLine=44761089; + //BA.debugLineNum = 44761089;BA.debugLine="If SubExists(Callback,Event&\"_UpdateComplete\") Th"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._event /*String*/ +"_UpdateComplete")) { +RDebugUtils.currentLine=44761090; + //BA.debugLineNum = 44761090;BA.debugLine="CallSub(Callback,Event&\"_UpdateComplete\")"; +__c.CallSubNew(ba,__ref._callback /*Object*/ ,__ref._event /*String*/ +"_UpdateComplete"); + }; +RDebugUtils.currentLine=44761092; + //BA.debugLineNum = 44761092;BA.debugLine="End Sub"; +return ""; +} +public String _extractcl(SHARK2.keymon.com.mx.cl_appupdate __ref,String _txtrow) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "extractcl", true)) + {return ((String) Debug.delegate(ba, "extractcl", new Object[] {_txtrow}));} +int _i = 0; +int _j1 = 0; +int _j2 = 0; +RDebugUtils.currentLine=45023232; + //BA.debugLineNum = 45023232;BA.debugLine="Private Sub ExtractCL(TxtRow As String) As String"; +RDebugUtils.currentLine=45023233; + //BA.debugLineNum = 45023233;BA.debugLine="Dim i As Int"; +_i = 0; +RDebugUtils.currentLine=45023234; + //BA.debugLineNum = 45023234;BA.debugLine="i = TxtRow.IndexOf(\"\")"; +_i = _txtrow.indexOf(""); +RDebugUtils.currentLine=45023235; + //BA.debugLineNum = 45023235;BA.debugLine="If i <> -1 Then"; +if (_i!=-1) { +RDebugUtils.currentLine=45023236; + //BA.debugLineNum = 45023236;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\")"; +_j1 = _txtrow.indexOf(""); +RDebugUtils.currentLine=45023237; + //BA.debugLineNum = 45023237;BA.debugLine="If j1 = -1 Then"; +if (_j1==-1) { +RDebugUtils.currentLine=45023238; + //BA.debugLineNum = 45023238;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'l"; +_j2 = _txtrow.indexOf(""); +RDebugUtils.currentLine=45023239; + //BA.debugLineNum = 45023239;BA.debugLine="j1 = j2"; +_j1 = _j2; +RDebugUtils.currentLine=45023240; + //BA.debugLineNum = 45023240;BA.debugLine="If j1 < i Then j1 = -1"; +if (_j1<_i) { +_j1 = (int) (-1);}; + }; +RDebugUtils.currentLine=45023242; + //BA.debugLineNum = 45023242;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=45023244; + //BA.debugLineNum = 45023244;BA.debugLine="Return \"\""; +if (true) return ""; + }; +RDebugUtils.currentLine=45023246; + //BA.debugLineNum = 45023246;BA.debugLine="End Sub"; +return ""; +} +public String _extractsz(SHARK2.keymon.com.mx.cl_appupdate __ref,String _txtrow) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "extractsz", true)) + {return ((String) Debug.delegate(ba, "extractsz", new Object[] {_txtrow}));} +int _i = 0; +int _j1 = 0; +int _j2 = 0; +String _s = ""; +RDebugUtils.currentLine=45088768; + //BA.debugLineNum = 45088768;BA.debugLine="Private Sub ExtractSZ(TxtRow As String) As String"; +RDebugUtils.currentLine=45088769; + //BA.debugLineNum = 45088769;BA.debugLine="Dim i As Int"; +_i = 0; +RDebugUtils.currentLine=45088770; + //BA.debugLineNum = 45088770;BA.debugLine="i = TxtRow.IndexOf(\"\")"; +_i = _txtrow.indexOf(""); +RDebugUtils.currentLine=45088771; + //BA.debugLineNum = 45088771;BA.debugLine="If i <> -1 Then"; +if (_i!=-1) { +RDebugUtils.currentLine=45088772; + //BA.debugLineNum = 45088772;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") '"; +_j1 = _txtrow.indexOf(""); +RDebugUtils.currentLine=45088773; + //BA.debugLineNum = 45088773;BA.debugLine="If j1 = -1 Then"; +if (_j1==-1) { +RDebugUtils.currentLine=45088774; + //BA.debugLineNum = 45088774;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") '"; +_j2 = _txtrow.indexOf(""); +RDebugUtils.currentLine=45088775; + //BA.debugLineNum = 45088775;BA.debugLine="j1 = j2"; +_j1 = _j2; +RDebugUtils.currentLine=45088776; + //BA.debugLineNum = 45088776;BA.debugLine="If j1 < i Then j1 = -1"; +if (_j1<_i) { +_j1 = (int) (-1);}; + }; +RDebugUtils.currentLine=45088778; + //BA.debugLineNum = 45088778;BA.debugLine="Dim s As String"; +_s = ""; +RDebugUtils.currentLine=45088779; + //BA.debugLineNum = 45088779;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=45088780; + //BA.debugLineNum = 45088780;BA.debugLine="s = s.Replace(CRLF,\"\")"; +_s = _s.replace(__c.CRLF,""); +RDebugUtils.currentLine=45088781; + //BA.debugLineNum = 45088781;BA.debugLine="s=s.Replace(Chr(13),\"\")"; +_s = _s.replace(BA.ObjectToString(__c.Chr((int) (13))),""); +RDebugUtils.currentLine=45088782; + //BA.debugLineNum = 45088782;BA.debugLine="Return s"; +if (true) return _s; + }else { +RDebugUtils.currentLine=45088784; + //BA.debugLineNum = 45088784;BA.debugLine="Return \"\""; +if (true) return ""; + }; +RDebugUtils.currentLine=45088786; + //BA.debugLineNum = 45088786;BA.debugLine="End Sub"; +return ""; +} +public String _extractvn(SHARK2.keymon.com.mx.cl_appupdate __ref,String _txtrow) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "extractvn", true)) + {return ((String) Debug.delegate(ba, "extractvn", new Object[] {_txtrow}));} +int _i = 0; +int _j1 = 0; +int _j2 = 0; +int _j = 0; +String _s = ""; +RDebugUtils.currentLine=44957696; + //BA.debugLineNum = 44957696;BA.debugLine="Private Sub ExtractVN(TxtRow As String) As String"; +RDebugUtils.currentLine=44957697; + //BA.debugLineNum = 44957697;BA.debugLine="Dim i As Int"; +_i = 0; +RDebugUtils.currentLine=44957698; + //BA.debugLineNum = 44957698;BA.debugLine="i = TxtRow.IndexOf(\"=\")"; +_i = _txtrow.indexOf("="); +RDebugUtils.currentLine=44957699; + //BA.debugLineNum = 44957699;BA.debugLine="If i <> -1 Then"; +if (_i!=-1) { +RDebugUtils.currentLine=44957700; + //BA.debugLineNum = 44957700;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") 'l"; +_j1 = _txtrow.indexOf(""); +RDebugUtils.currentLine=44957701; + //BA.debugLineNum = 44957701;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'lo"; +_j2 = _txtrow.indexOf(""); +RDebugUtils.currentLine=44957702; + //BA.debugLineNum = 44957702;BA.debugLine="Dim j As Int = Min(j1, j2)"; +_j = (int) (__c.Min(_j1,_j2)); +RDebugUtils.currentLine=44957703; + //BA.debugLineNum = 44957703;BA.debugLine="If j = -1 Then j = Max(j1,j2)"; +if (_j==-1) { +_j = (int) (__c.Max(_j1,_j2));}; +RDebugUtils.currentLine=44957704; + //BA.debugLineNum = 44957704;BA.debugLine="Dim s As String"; +_s = ""; +RDebugUtils.currentLine=44957705; + //BA.debugLineNum = 44957705;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=44957706; + //BA.debugLineNum = 44957706;BA.debugLine="s=s.Replace(CRLF,\"\")"; +_s = _s.replace(__c.CRLF,""); +RDebugUtils.currentLine=44957707; + //BA.debugLineNum = 44957707;BA.debugLine="s=s.Replace(Chr(13),\"\")"; +_s = _s.replace(BA.ObjectToString(__c.Chr((int) (13))),""); +RDebugUtils.currentLine=44957708; + //BA.debugLineNum = 44957708;BA.debugLine="Return s"; +if (true) return _s; + }else { +RDebugUtils.currentLine=44957710; + //BA.debugLineNum = 44957710;BA.debugLine="Return \"\""; +if (true) return ""; + }; +RDebugUtils.currentLine=44957712; + //BA.debugLineNum = 44957712;BA.debugLine="End Sub"; +return ""; +} +public long _getavailablespace(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getavailablespace", true)) + {return ((Long) Debug.delegate(ba, "getavailablespace", null));} +RDebugUtils.currentLine=44302336; + //BA.debugLineNum = 44302336;BA.debugLine="Public Sub GetAvailableSpace As Long"; +RDebugUtils.currentLine=44302337; + //BA.debugLineNum = 44302337;BA.debugLine="Return GetFreeSpace"; +if (true) return __ref._getfreespace /*long*/ (null); +RDebugUtils.currentLine=44302338; + //BA.debugLineNum = 44302338;BA.debugLine="End Sub"; +return 0L; +} +public long _getfreespace(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getfreespace", true)) + {return ((Long) Debug.delegate(ba, "getfreespace", null));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=45154304; + //BA.debugLineNum = 45154304;BA.debugLine="Private Sub GetFreeSpace As Long"; +RDebugUtils.currentLine=45154305; + //BA.debugLineNum = 45154305;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=45154306; + //BA.debugLineNum = 45154306;BA.debugLine="jo.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_jo.InitializeNewInstance("java.io.File",new Object[]{(Object)(__ref._sharedfolder /*String*/ )}); +RDebugUtils.currentLine=45154307; + //BA.debugLineNum = 45154307;BA.debugLine="Return jo.RunMethod(\"getFreeSpace\", Null)"; +if (true) return BA.ObjectToLongNumber(_jo.RunMethod("getFreeSpace",(Object[])(__c.Null))); +RDebugUtils.currentLine=45154308; + //BA.debugLineNum = 45154308;BA.debugLine="End Sub"; +return 0L; +} +public String _getcurvn(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getcurvn", true)) + {return ((String) Debug.delegate(ba, "getcurvn", null));} +RDebugUtils.currentLine=44040192; + //BA.debugLineNum = 44040192;BA.debugLine="Public Sub getCurVN As String"; +RDebugUtils.currentLine=44040193; + //BA.debugLineNum = 44040193;BA.debugLine="Return curver"; +if (true) return __ref._curver /*String*/ ; +RDebugUtils.currentLine=44040194; + //BA.debugLineNum = 44040194;BA.debugLine="End Sub"; +return ""; +} +public Object _getfileuri(SHARK2.keymon.com.mx.cl_appupdate __ref,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getfileuri", true)) + {return ((Object) Debug.delegate(ba, "getfileuri", new Object[] {_filename}));} +anywheresoftware.b4j.object.JavaObject _uri = null; +anywheresoftware.b4j.object.JavaObject _f = null; +anywheresoftware.b4j.object.JavaObject _fp = null; +anywheresoftware.b4j.object.JavaObject _context = null; +RDebugUtils.currentLine=45547520; + //BA.debugLineNum = 45547520;BA.debugLine="Private Sub GetFileUri (FileName As String) As Obj"; +RDebugUtils.currentLine=45547521; + //BA.debugLineNum = 45547521;BA.debugLine="If UseFileProvider = False Then"; +if (__ref._usefileprovider /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=45547522; + //BA.debugLineNum = 45547522;BA.debugLine="Dim uri As JavaObject"; +_uri = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=45547523; + //BA.debugLineNum = 45547523;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=45547525; + //BA.debugLineNum = 45547525;BA.debugLine="Dim f As JavaObject"; +_f = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=45547526; + //BA.debugLineNum = 45547526;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(__ref._sharedfolder /*String*/ ),(Object)(_filename)}); +RDebugUtils.currentLine=45547527; + //BA.debugLineNum = 45547527;BA.debugLine="Dim fp As JavaObject"; +_fp = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=45547528; + //BA.debugLineNum = 45547528;BA.debugLine="Dim context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=45547529; + //BA.debugLineNum = 45547529;BA.debugLine="context.InitializeContext"; +_context.InitializeContext(ba); +RDebugUtils.currentLine=45547530; + //BA.debugLineNum = 45547530;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +_fp.InitializeStatic("androidx.core.content.FileProvider"); +RDebugUtils.currentLine=45547531; + //BA.debugLineNum = 45547531;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=45547533; + //BA.debugLineNum = 45547533;BA.debugLine="End Sub"; +return null; +} +public String _getnmappinst(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getnmappinst", true)) + {return ((String) Debug.delegate(ba, "getnmappinst", null));} +anywheresoftware.b4j.object.JavaObject _jo = null; +anywheresoftware.b4j.object.JavaObject _context = null; +anywheresoftware.b4j.object.JavaObject _resolver = null; +RDebugUtils.currentLine=45285376; + //BA.debugLineNum = 45285376;BA.debugLine="Private Sub GetNMAppInst As String"; +RDebugUtils.currentLine=45285377; + //BA.debugLineNum = 45285377;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=45285378; + //BA.debugLineNum = 45285378;BA.debugLine="jo.InitializeStatic(\"android.provider.Settings.Se"; +_jo.InitializeStatic("android.provider.Settings.Secure"); +RDebugUtils.currentLine=45285379; + //BA.debugLineNum = 45285379;BA.debugLine="Dim context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=45285380; + //BA.debugLineNum = 45285380;BA.debugLine="context.InitializeContext"; +_context.InitializeContext(ba); +RDebugUtils.currentLine=45285381; + //BA.debugLineNum = 45285381;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=45285382; + //BA.debugLineNum = 45285382;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=45285383; + //BA.debugLineNum = 45285383;BA.debugLine="End Sub"; +return ""; +} +public String _getpackagename(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getpackagename", true)) + {return ((String) Debug.delegate(ba, "getpackagename", null));} +RDebugUtils.currentLine=43646976; + //BA.debugLineNum = 43646976;BA.debugLine="Public Sub getPackageName As String"; +RDebugUtils.currentLine=43646977; + //BA.debugLineNum = 43646977;BA.debugLine="Return sPackageName"; +if (true) return __ref._spackagename /*String*/ ; +RDebugUtils.currentLine=43646978; + //BA.debugLineNum = 43646978;BA.debugLine="End Sub"; +return ""; +} +public int _getsdkversion(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getsdkversion", true)) + {return ((Integer) Debug.delegate(ba, "getsdkversion", null));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=45219840; + //BA.debugLineNum = 45219840;BA.debugLine="Private Sub GetSDKVersion As Int"; +RDebugUtils.currentLine=45219841; + //BA.debugLineNum = 45219841;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=45219842; + //BA.debugLineNum = 45219842;BA.debugLine="jo.InitializeStatic(\"android.os.Build.VERSION\")"; +_jo.InitializeStatic("android.os.Build.VERSION"); +RDebugUtils.currentLine=45219843; + //BA.debugLineNum = 45219843;BA.debugLine="Return jo.GetField(\"SDK_INT\")"; +if (true) return (int)(BA.ObjectToNumber(_jo.GetField("SDK_INT"))); +RDebugUtils.currentLine=45219844; + //BA.debugLineNum = 45219844;BA.debugLine="End Sub"; +return 0; +} +public int _getstatus(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getstatus", true)) + {return ((Integer) Debug.delegate(ba, "getstatus", null));} +RDebugUtils.currentLine=43974656; + //BA.debugLineNum = 43974656;BA.debugLine="Public Sub getStatus As Int"; +RDebugUtils.currentLine=43974657; + //BA.debugLineNum = 43974657;BA.debugLine="Return sStatusCode"; +if (true) return __ref._sstatuscode /*int*/ ; +RDebugUtils.currentLine=43974658; + //BA.debugLineNum = 43974658;BA.debugLine="End Sub"; +return 0; +} +public String _getwebchangelog(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getwebchangelog", true)) + {return ((String) Debug.delegate(ba, "getwebchangelog", null));} +RDebugUtils.currentLine=44171264; + //BA.debugLineNum = 44171264;BA.debugLine="Public Sub getWebChangeLog As String"; +RDebugUtils.currentLine=44171265; + //BA.debugLineNum = 44171265;BA.debugLine="Return webclog"; +if (true) return __ref._webclog /*String*/ ; +RDebugUtils.currentLine=44171266; + //BA.debugLineNum = 44171266;BA.debugLine="End Sub"; +return ""; +} +public String _getwebfilesize(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getwebfilesize", true)) + {return ((String) Debug.delegate(ba, "getwebfilesize", null));} +RDebugUtils.currentLine=44236800; + //BA.debugLineNum = 44236800;BA.debugLine="Public Sub getWebFileSize As String"; +RDebugUtils.currentLine=44236801; + //BA.debugLineNum = 44236801;BA.debugLine="Return webfsize"; +if (true) return __ref._webfsize /*String*/ ; +RDebugUtils.currentLine=44236802; + //BA.debugLineNum = 44236802;BA.debugLine="End Sub"; +return ""; +} +public String _getwebvn(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "getwebvn", true)) + {return ((String) Debug.delegate(ba, "getwebvn", null));} +RDebugUtils.currentLine=44105728; + //BA.debugLineNum = 44105728;BA.debugLine="Public Sub getWebVN As String"; +RDebugUtils.currentLine=44105729; + //BA.debugLineNum = 44105729;BA.debugLine="Return webver"; +if (true) return __ref._webver /*String*/ ; +RDebugUtils.currentLine=44105730; + //BA.debugLineNum = 44105730;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.cl_appupdate __ref,anywheresoftware.b4a.BA _ba,Object _callbackmodule,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callbackmodule,_eventname}));} +anywheresoftware.b4a.phone.Phone _p = null; +RDebugUtils.currentLine=43515904; + //BA.debugLineNum = 43515904;BA.debugLine="Public Sub Initialize(CallbackModule As Object, Ev"; +RDebugUtils.currentLine=43515905; + //BA.debugLineNum = 43515905;BA.debugLine="Callback = CallbackModule"; +__ref._callback /*Object*/ = _callbackmodule; +RDebugUtils.currentLine=43515906; + //BA.debugLineNum = 43515906;BA.debugLine="Event = EventName"; +__ref._event /*String*/ = _eventname; +RDebugUtils.currentLine=43515907; + //BA.debugLineNum = 43515907;BA.debugLine="sPackageName = \"\""; +__ref._spackagename /*String*/ = ""; +RDebugUtils.currentLine=43515908; + //BA.debugLineNum = 43515908;BA.debugLine="sNewVerTxt = \"\""; +__ref._snewvertxt /*String*/ = ""; +RDebugUtils.currentLine=43515909; + //BA.debugLineNum = 43515909;BA.debugLine="sNewVerApk = \"\""; +__ref._snewverapk /*String*/ = ""; +RDebugUtils.currentLine=43515910; + //BA.debugLineNum = 43515910;BA.debugLine="sUserName = \"\""; +__ref._susername /*String*/ = ""; +RDebugUtils.currentLine=43515911; + //BA.debugLineNum = 43515911;BA.debugLine="sUPassword = \"\""; +__ref._supassword /*String*/ = ""; +RDebugUtils.currentLine=43515912; + //BA.debugLineNum = 43515912;BA.debugLine="sStatusCode = OK_INIT"; +__ref._sstatuscode /*int*/ = __ref._ok_init /*int*/ ; +RDebugUtils.currentLine=43515913; + //BA.debugLineNum = 43515913;BA.debugLine="curver = \"\""; +__ref._curver /*String*/ = ""; +RDebugUtils.currentLine=43515914; + //BA.debugLineNum = 43515914;BA.debugLine="webver = \"\""; +__ref._webver /*String*/ = ""; +RDebugUtils.currentLine=43515915; + //BA.debugLineNum = 43515915;BA.debugLine="sVerbose = False"; +__ref._sverbose /*boolean*/ = __c.False; +RDebugUtils.currentLine=43515916; + //BA.debugLineNum = 43515916;BA.debugLine="Dim p As Phone"; +_p = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=43515917; + //BA.debugLineNum = 43515917;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +if (_p.getSdkVersion()>=24 || __c.File.getExternalWritable()==__c.False) { +RDebugUtils.currentLine=43515918; + //BA.debugLineNum = 43515918;BA.debugLine="UseFileProvider = True"; +__ref._usefileprovider /*boolean*/ = __c.True; +RDebugUtils.currentLine=43515919; + //BA.debugLineNum = 43515919;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +__ref._sharedfolder /*String*/ = __c.File.Combine(__c.File.getDirInternal(),"shared"); +RDebugUtils.currentLine=43515920; + //BA.debugLineNum = 43515920;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +__c.File.MakeDir("",__ref._sharedfolder /*String*/ ); + }else { +RDebugUtils.currentLine=43515922; + //BA.debugLineNum = 43515922;BA.debugLine="UseFileProvider = False"; +__ref._usefileprovider /*boolean*/ = __c.False; +RDebugUtils.currentLine=43515923; + //BA.debugLineNum = 43515923;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +__ref._sharedfolder /*String*/ = __ref._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .GetSafeDirDefaultExternal("shared"); + }; +RDebugUtils.currentLine=43515925; + //BA.debugLineNum = 43515925;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro"; +__c.LogImpl("943515925",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(__ref._usefileprovider /*boolean*/ ))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(__ref._sharedfolder /*String*/ ))+""),0); +RDebugUtils.currentLine=43515926; + //BA.debugLineNum = 43515926;BA.debugLine="End Sub"; +return ""; +} +public String _installapk(SHARK2.keymon.com.mx.cl_appupdate __ref,boolean _pstatus) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "installapk", true)) + {return ((String) Debug.delegate(ba, "installapk", new Object[] {_pstatus}));} +RDebugUtils.currentLine=44564480; + //BA.debugLineNum = 44564480;BA.debugLine="Public Sub InstallApk(pstatus As Boolean)"; +RDebugUtils.currentLine=44564481; + //BA.debugLineNum = 44564481;BA.debugLine="LogColor(\"---- AppUpdating.InstallApk\", LogColor1"; +__c.LogImpl("944564481","---- AppUpdating.InstallApk",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=44564482; + //BA.debugLineNum = 44564482;BA.debugLine="If pstatus Then"; +if (_pstatus) { +RDebugUtils.currentLine=44564483; + //BA.debugLineNum = 44564483;BA.debugLine="SendInstallIntent"; +__ref._sendinstallintent /*String*/ (null); +RDebugUtils.currentLine=44564484; + //BA.debugLineNum = 44564484;BA.debugLine="sStatusCode = OK_INSTALL"; +__ref._sstatuscode /*int*/ = __ref._ok_install /*int*/ ; +RDebugUtils.currentLine=44564485; + //BA.debugLineNum = 44564485;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("944564485",__c.TAB+"user asked to install new apk",0);}; + }else { +RDebugUtils.currentLine=44564487; + //BA.debugLineNum = 44564487;BA.debugLine="sStatusCode = ERR_NOPERM"; +__ref._sstatuscode /*int*/ = __ref._err_noperm /*int*/ ; +RDebugUtils.currentLine=44564488; + //BA.debugLineNum = 44564488;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("944564488",__c.TAB+"no permissions from user to install new apk",0);}; + }; +RDebugUtils.currentLine=44564490; + //BA.debugLineNum = 44564490;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=44564491; + //BA.debugLineNum = 44564491;BA.debugLine="End Sub"; +return ""; +} +public String _sendinstallintent(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "sendinstallintent", true)) + {return ((String) Debug.delegate(ba, "sendinstallintent", null));} +String _apkname = ""; +anywheresoftware.b4a.objects.IntentWrapper _i = null; +RDebugUtils.currentLine=45481984; + //BA.debugLineNum = 45481984;BA.debugLine="Private Sub SendInstallIntent"; +RDebugUtils.currentLine=45481985; + //BA.debugLineNum = 45481985;BA.debugLine="Dim ApkName As String = \"tmp.apk\""; +_apkname = "tmp.apk"; +RDebugUtils.currentLine=45481986; + //BA.debugLineNum = 45481986;BA.debugLine="Dim i As Intent"; +_i = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=45481987; + //BA.debugLineNum = 45481987;BA.debugLine="If phone.SdkVersion >= 24 Then 'Nouga"; +if (__ref._phone /*anywheresoftware.b4a.phone.Phone*/ .getSdkVersion()>=24) { +RDebugUtils.currentLine=45481988; + //BA.debugLineNum = 45481988;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=45481989; + //BA.debugLineNum = 45481989;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=45481991; + //BA.debugLineNum = 45481991;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=45481992; + //BA.debugLineNum = 45481992;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +_i.SetType("application/vnd.android.package-archive"); + }; +RDebugUtils.currentLine=45481994; + //BA.debugLineNum = 45481994;BA.debugLine="StartActivity(i)"; +__c.StartActivity(ba,(Object)(_i.getObject())); +RDebugUtils.currentLine=45481995; + //BA.debugLineNum = 45481995;BA.debugLine="End Sub"; +return ""; +} +public boolean _isvalidcv(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "isvalidcv", true)) + {return ((Boolean) Debug.delegate(ba, "isvalidcv", null));} +anywheresoftware.b4a.phone.PackageManagerWrapper _pm = null; +RDebugUtils.currentLine=44826624; + //BA.debugLineNum = 44826624;BA.debugLine="Private Sub IsValidCV As Boolean"; +RDebugUtils.currentLine=44826625; + //BA.debugLineNum = 44826625;BA.debugLine="If sPackageName = \"\" Then"; +if ((__ref._spackagename /*String*/ ).equals("")) { +RDebugUtils.currentLine=44826626; + //BA.debugLineNum = 44826626;BA.debugLine="curver = \"\""; +__ref._curver /*String*/ = ""; +RDebugUtils.currentLine=44826627; + //BA.debugLineNum = 44826627;BA.debugLine="sStatusCode = ERR_NOPKG"; +__ref._sstatuscode /*int*/ = __ref._err_nopkg /*int*/ ; +RDebugUtils.currentLine=44826628; + //BA.debugLineNum = 44826628;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("944826628",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);}; + }else { +RDebugUtils.currentLine=44826630; + //BA.debugLineNum = 44826630;BA.debugLine="Dim pm As PackageManager"; +_pm = new anywheresoftware.b4a.phone.PackageManagerWrapper(); +RDebugUtils.currentLine=44826631; + //BA.debugLineNum = 44826631;BA.debugLine="curver = pm.GetVersionName(sPackageName)"; +__ref._curver /*String*/ = _pm.GetVersionName(__ref._spackagename /*String*/ ); +RDebugUtils.currentLine=44826632; + //BA.debugLineNum = 44826632;BA.debugLine="sStatusCode = OK_CURVER 'got current ve"; +__ref._sstatuscode /*int*/ = __ref._ok_curver /*int*/ ; +RDebugUtils.currentLine=44826633; + //BA.debugLineNum = 44826633;BA.debugLine="If sVerbose Then Log($\"${TAB}Current Version: ${"; +if (__ref._sverbose /*boolean*/ ) { +__c.LogImpl("944826633",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(__ref._curver /*String*/ ))+""),0);}; + }; +RDebugUtils.currentLine=44826635; + //BA.debugLineNum = 44826635;BA.debugLine="Return (sStatusCode == OK_CURVER)"; +if (true) return (__ref._sstatuscode /*int*/ ==__ref._ok_curver /*int*/ ); +RDebugUtils.currentLine=44826636; + //BA.debugLineNum = 44826636;BA.debugLine="End Sub"; +return false; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _isvalidwv(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "isvalidwv", true)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "isvalidwv", null));} +ResumableSub_IsvalidWV rsub = new ResumableSub_IsvalidWV(this,__ref); +rsub.resume(ba, null); +return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); +} +public static class ResumableSub_IsvalidWV extends BA.ResumableSub { +public ResumableSub_IsvalidWV(SHARK2.keymon.com.mx.cl_appupdate parent,SHARK2.keymon.com.mx.cl_appupdate __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.cl_appupdate __ref; +SHARK2.keymon.com.mx.cl_appupdate parent; +SHARK2.keymon.com.mx.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=44892161; + //BA.debugLineNum = 44892161;BA.debugLine="Log(\"IsValidComplete start\")"; +parent.__c.LogImpl("944892161","IsValidComplete start",0); +RDebugUtils.currentLine=44892162; + //BA.debugLineNum = 44892162;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=44892163; + //BA.debugLineNum = 44892163;BA.debugLine="webver = \"\""; +__ref._webver /*String*/ = ""; +RDebugUtils.currentLine=44892164; + //BA.debugLineNum = 44892164;BA.debugLine="sStatusCode = ERR_NOTXT"; +__ref._sstatuscode /*int*/ = __ref._err_notxt /*int*/ ; +RDebugUtils.currentLine=44892165; + //BA.debugLineNum = 44892165;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("944892165",(""+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=44892168; + //BA.debugLineNum = 44892168;BA.debugLine="Dim j As HttpJob"; +_j = new SHARK2.keymon.com.mx.httpjob(); +RDebugUtils.currentLine=44892169; + //BA.debugLineNum = 44892169;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=44892170; + //BA.debugLineNum = 44892170;BA.debugLine="j.Username = sUserName"; +_j._username /*String*/ = __ref._susername /*String*/ ; +RDebugUtils.currentLine=44892171; + //BA.debugLineNum = 44892171;BA.debugLine="j.Password = sUPassword"; +_j._password /*String*/ = __ref._supassword /*String*/ ; +RDebugUtils.currentLine=44892172; + //BA.debugLineNum = 44892172;BA.debugLine="j.Download(sNewVerTxt) 'ex: jobapk.Downlo"; +_j._download /*String*/ (null,__ref._snewvertxt /*String*/ ); +RDebugUtils.currentLine=44892173; + //BA.debugLineNum = 44892173;BA.debugLine="Log(\"before\")"; +parent.__c.LogImpl("944892173","before",0); +RDebugUtils.currentLine=44892174; + //BA.debugLineNum = 44892174;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 = (SHARK2.keymon.com.mx.httpjob) result[1]; +; +RDebugUtils.currentLine=44892175; + //BA.debugLineNum = 44892175;BA.debugLine="Log(\"after\")"; +parent.__c.LogImpl("944892175","after",0); +RDebugUtils.currentLine=44892176; + //BA.debugLineNum = 44892176;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=44892177; + //BA.debugLineNum = 44892177;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("944892177",("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=44892178; + //BA.debugLineNum = 44892178;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=44892179; + //BA.debugLineNum = 44892179;BA.debugLine="webver = ExtractVN(J.GetString)"; +__ref._webver /*String*/ = __ref._extractvn /*String*/ (null,_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=44892180; + //BA.debugLineNum = 44892180;BA.debugLine="webclog = ExtractCL(J.GetString) 'optional"; +__ref._webclog /*String*/ = __ref._extractcl /*String*/ (null,_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=44892181; + //BA.debugLineNum = 44892181;BA.debugLine="webfsize = ExtractSZ(J.GetString) 'optiona"; +__ref._webfsize /*String*/ = __ref._extractsz /*String*/ (null,_j._getstring /*String*/ (null)); +RDebugUtils.currentLine=44892182; + //BA.debugLineNum = 44892182;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=44892183; + //BA.debugLineNum = 44892183;BA.debugLine="sStatusCode = ERR_TXTROW"; +__ref._sstatuscode /*int*/ = __ref._err_txtrow /*int*/ ; +RDebugUtils.currentLine=44892184; + //BA.debugLineNum = 44892184;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("944892184",(""+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=44892186; + //BA.debugLineNum = 44892186;BA.debugLine="sStatusCode = OK_WEBVER 'read apk's ver"; +__ref._sstatuscode /*int*/ = __ref._ok_webver /*int*/ ; +RDebugUtils.currentLine=44892187; + //BA.debugLineNum = 44892187;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("944892187",(""+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=44892190; + //BA.debugLineNum = 44892190;BA.debugLine="sStatusCode = ERR_HTML 'website returne"; +__ref._sstatuscode /*int*/ = __ref._err_html /*int*/ ; +RDebugUtils.currentLine=44892191; + //BA.debugLineNum = 44892191;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("944892191",(""+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=44892194; + //BA.debugLineNum = 44892194;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +parent.__c.LogImpl("944892194",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +RDebugUtils.currentLine=44892195; + //BA.debugLineNum = 44892195;BA.debugLine="sStatusCode = ERR_HTTP"; +__ref._sstatuscode /*int*/ = __ref._err_http /*int*/ ; +RDebugUtils.currentLine=44892196; + //BA.debugLineNum = 44892196;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("944892196",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +if (true) break; + +case 58: +//C +this.state = 59; +; +RDebugUtils.currentLine=44892197; + //BA.debugLineNum = 44892197;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=44892199; + //BA.debugLineNum = 44892199;BA.debugLine="j.Release"; +_j._release /*String*/ (null); + if (true) break; + +case 60: +//C +this.state = -1; +; +RDebugUtils.currentLine=44892201; + //BA.debugLineNum = 44892201;BA.debugLine="Return (sStatusCode == OK_WEBVER)"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)((__ref._sstatuscode /*int*/ ==__ref._ok_webver /*int*/ )));return;}; +RDebugUtils.currentLine=44892202; + //BA.debugLineNum = 44892202;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _readcurvn(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "readcurvn", true)) + {return ((String) Debug.delegate(ba, "readcurvn", null));} +RDebugUtils.currentLine=44367872; + //BA.debugLineNum = 44367872;BA.debugLine="Public Sub ReadCurVN"; +RDebugUtils.currentLine=44367873; + //BA.debugLineNum = 44367873;BA.debugLine="LogColor(\"---- AppUpdating.ReadCurVN\", LogColor1)"; +__c.LogImpl("944367873","---- AppUpdating.ReadCurVN",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=44367874; + //BA.debugLineNum = 44367874;BA.debugLine="IsValidCV 'we don't care about its resu"; +__ref._isvalidcv /*boolean*/ (null); +RDebugUtils.currentLine=44367875; + //BA.debugLineNum = 44367875;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=44367876; + //BA.debugLineNum = 44367876;BA.debugLine="End Sub"; +return ""; +} +public void _readwebvn(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "readwebvn", true)) + {Debug.delegate(ba, "readwebvn", null); return;} +ResumableSub_ReadWebVN rsub = new ResumableSub_ReadWebVN(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_ReadWebVN extends BA.ResumableSub { +public ResumableSub_ReadWebVN(SHARK2.keymon.com.mx.cl_appupdate parent,SHARK2.keymon.com.mx.cl_appupdate __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.cl_appupdate __ref; +SHARK2.keymon.com.mx.cl_appupdate parent; +boolean _okwebver = false; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=44433409; + //BA.debugLineNum = 44433409;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)"; +parent.__c.LogImpl("944433409","---- AppUpdating.ReadWebVN",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=44433410; + //BA.debugLineNum = 44433410;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=44433411; + //BA.debugLineNum = 44433411;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=44433412; + //BA.debugLineNum = 44433412;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _setandstartsplashscreen(SHARK2.keymon.com.mx.cl_appupdate __ref,anywheresoftware.b4a.objects.ActivityWrapper _callingact,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bm) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setandstartsplashscreen", true)) + {return ((String) Debug.delegate(ba, "setandstartsplashscreen", new Object[] {_callingact,_bm}));} +anywheresoftware.b4a.objects.drawable.BitmapDrawable _bitimage = null; +RDebugUtils.currentLine=45678592; + //BA.debugLineNum = 45678592;BA.debugLine="Public Sub SetAndStartSplashScreen(CallingAct As A"; +RDebugUtils.currentLine=45678593; + //BA.debugLineNum = 45678593;BA.debugLine="If BM.IsInitialized Then"; +if (_bm.IsInitialized()) { +RDebugUtils.currentLine=45678594; + //BA.debugLineNum = 45678594;BA.debugLine="pnlSplash.Initialize(\"pnl1\")"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .Initialize(ba,"pnl1"); +RDebugUtils.currentLine=45678595; + //BA.debugLineNum = 45678595;BA.debugLine="pnlSplash.Tag = \"splash\""; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .setTag((Object)("splash")); +RDebugUtils.currentLine=45678596; + //BA.debugLineNum = 45678596;BA.debugLine="Dim BitImage As BitmapDrawable"; +_bitimage = new anywheresoftware.b4a.objects.drawable.BitmapDrawable(); +RDebugUtils.currentLine=45678597; + //BA.debugLineNum = 45678597;BA.debugLine="BitImage.Initialize(BM)"; +_bitimage.Initialize((android.graphics.Bitmap)(_bm.getObject())); +RDebugUtils.currentLine=45678598; + //BA.debugLineNum = 45678598;BA.debugLine="BitImage.Gravity = Gravity.FILL"; +_bitimage.setGravity(__c.Gravity.FILL); +RDebugUtils.currentLine=45678599; + //BA.debugLineNum = 45678599;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=45678600; + //BA.debugLineNum = 45678600;BA.debugLine="pnlSplash.Background = BitImage"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .setBackground((android.graphics.drawable.Drawable)(_bitimage.getObject())); +RDebugUtils.currentLine=45678601; + //BA.debugLineNum = 45678601;BA.debugLine="pnlSplash.BringToFront"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .BringToFront(); +RDebugUtils.currentLine=45678602; + //BA.debugLineNum = 45678602;BA.debugLine="SplashShowing = True"; +__ref._splashshowing /*boolean*/ = __c.True; + }; +RDebugUtils.currentLine=45678604; + //BA.debugLineNum = 45678604;BA.debugLine="End Sub"; +return ""; +} +public String _setcredentials(SHARK2.keymon.com.mx.cl_appupdate __ref,String _usern,String _userp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setcredentials", true)) + {return ((String) Debug.delegate(ba, "setcredentials", new Object[] {_usern,_userp}));} +RDebugUtils.currentLine=43843584; + //BA.debugLineNum = 43843584;BA.debugLine="Public Sub setCredentials(UserN As String, UserP A"; +RDebugUtils.currentLine=43843585; + //BA.debugLineNum = 43843585;BA.debugLine="sUserName = UserN"; +__ref._susername /*String*/ = _usern; +RDebugUtils.currentLine=43843586; + //BA.debugLineNum = 43843586;BA.debugLine="sUPassword = UserP"; +__ref._supassword /*String*/ = _userp; +RDebugUtils.currentLine=43843587; + //BA.debugLineNum = 43843587;BA.debugLine="End Sub"; +return ""; +} +public String _setfileuriasintentdata(SHARK2.keymon.com.mx.cl_appupdate __ref,anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setfileuriasintentdata", true)) + {return ((String) Debug.delegate(ba, "setfileuriasintentdata", new Object[] {_intent,_filename}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=45613056; + //BA.debugLineNum = 45613056;BA.debugLine="Private Sub SetFileUriAsIntentData (Intent As Inte"; +RDebugUtils.currentLine=45613057; + //BA.debugLineNum = 45613057;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=45613058; + //BA.debugLineNum = 45613058;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +_jo.RunMethod("setData",new Object[]{__ref._getfileuri /*Object*/ (null,_filename)}); +RDebugUtils.currentLine=45613059; + //BA.debugLineNum = 45613059;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +_intent.setFlags(__c.Bit.Or(_intent.getFlags(),(int) (1))); +RDebugUtils.currentLine=45613060; + //BA.debugLineNum = 45613060;BA.debugLine="End Sub"; +return ""; +} +public String _setnewverapk(SHARK2.keymon.com.mx.cl_appupdate __ref,String _nva) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setnewverapk", true)) + {return ((String) Debug.delegate(ba, "setnewverapk", new Object[] {_nva}));} +RDebugUtils.currentLine=43778048; + //BA.debugLineNum = 43778048;BA.debugLine="Public Sub setNewVerApk(NVA As String)"; +RDebugUtils.currentLine=43778049; + //BA.debugLineNum = 43778049;BA.debugLine="sNewVerApk = NVA"; +__ref._snewverapk /*String*/ = _nva; +RDebugUtils.currentLine=43778050; + //BA.debugLineNum = 43778050;BA.debugLine="End Sub"; +return ""; +} +public String _setnewvertxt(SHARK2.keymon.com.mx.cl_appupdate __ref,String _nvt) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setnewvertxt", true)) + {return ((String) Debug.delegate(ba, "setnewvertxt", new Object[] {_nvt}));} +RDebugUtils.currentLine=43712512; + //BA.debugLineNum = 43712512;BA.debugLine="Public Sub setNewVerTxt(NVT As String)"; +RDebugUtils.currentLine=43712513; + //BA.debugLineNum = 43712513;BA.debugLine="sNewVerTxt = NVT"; +__ref._snewvertxt /*String*/ = _nvt; +RDebugUtils.currentLine=43712514; + //BA.debugLineNum = 43712514;BA.debugLine="End Sub"; +return ""; +} +public String _setpackagename(SHARK2.keymon.com.mx.cl_appupdate __ref,String _pn) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setpackagename", true)) + {return ((String) Debug.delegate(ba, "setpackagename", new Object[] {_pn}));} +RDebugUtils.currentLine=43581440; + //BA.debugLineNum = 43581440;BA.debugLine="Public Sub setPackageName(PN As String)"; +RDebugUtils.currentLine=43581441; + //BA.debugLineNum = 43581441;BA.debugLine="sPackageName = PN"; +__ref._spackagename /*String*/ = _pn; +RDebugUtils.currentLine=43581442; + //BA.debugLineNum = 43581442;BA.debugLine="End Sub"; +return ""; +} +public String _setverbose(SHARK2.keymon.com.mx.cl_appupdate __ref,boolean _verbose) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "setverbose", true)) + {return ((String) Debug.delegate(ba, "setverbose", new Object[] {_verbose}));} +RDebugUtils.currentLine=43909120; + //BA.debugLineNum = 43909120;BA.debugLine="Public Sub setVerbose(Verbose As Boolean)"; +RDebugUtils.currentLine=43909121; + //BA.debugLineNum = 43909121;BA.debugLine="sVerbose = Verbose"; +__ref._sverbose /*boolean*/ = _verbose; +RDebugUtils.currentLine=43909122; + //BA.debugLineNum = 43909122;BA.debugLine="newinst2.svcVerbose = Verbose"; +_newinst2._svcverbose /*boolean*/ = _verbose; +RDebugUtils.currentLine=43909123; + //BA.debugLineNum = 43909123;BA.debugLine="End Sub"; +return ""; +} +public String _stopsplashscreen(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "stopsplashscreen", true)) + {return ((String) Debug.delegate(ba, "stopsplashscreen", null));} +RDebugUtils.currentLine=45744128; + //BA.debugLineNum = 45744128;BA.debugLine="Public Sub StopSplashScreen"; +RDebugUtils.currentLine=45744129; + //BA.debugLineNum = 45744129;BA.debugLine="If SplashShowing Then"; +if (__ref._splashshowing /*boolean*/ ) { +RDebugUtils.currentLine=45744130; + //BA.debugLineNum = 45744130;BA.debugLine="SplashShowing = False"; +__ref._splashshowing /*boolean*/ = __c.False; +RDebugUtils.currentLine=45744131; + //BA.debugLineNum = 45744131;BA.debugLine="pnlSplash.RemoveView"; +__ref._pnlsplash /*anywheresoftware.b4a.objects.PanelWrapper*/ .RemoveView(); + }; +RDebugUtils.currentLine=45744133; + //BA.debugLineNum = 45744133;BA.debugLine="End Sub"; +return ""; +} +public void _tryapkupdate(SHARK2.keymon.com.mx.cl_appupdate __ref) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "tryapkupdate", true)) + {Debug.delegate(ba, "tryapkupdate", null); return;} +ResumableSub_TryApkUpdate rsub = new ResumableSub_TryApkUpdate(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_TryApkUpdate extends BA.ResumableSub { +public ResumableSub_TryApkUpdate(SHARK2.keymon.com.mx.cl_appupdate parent,SHARK2.keymon.com.mx.cl_appupdate __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.cl_appupdate __ref; +SHARK2.keymon.com.mx.cl_appupdate parent; +SHARK2.keymon.com.mx.httpjob _j = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; + + while (true) { +try { + + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=44695553; + //BA.debugLineNum = 44695553;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)"; +parent.__c.LogImpl("944695553",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=44695555; + //BA.debugLineNum = 44695555;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=44695557; + //BA.debugLineNum = 44695557;BA.debugLine="Dim j As HttpJob"; +_j = new SHARK2.keymon.com.mx.httpjob(); +RDebugUtils.currentLine=44695558; + //BA.debugLineNum = 44695558;BA.debugLine="j.Initialize(\"\", Me)"; +_j._initialize /*String*/ (null,ba,"",parent); +RDebugUtils.currentLine=44695559; + //BA.debugLineNum = 44695559;BA.debugLine="j.Username = sUserName"; +_j._username /*String*/ = __ref._susername /*String*/ ; +RDebugUtils.currentLine=44695560; + //BA.debugLineNum = 44695560;BA.debugLine="j.Password = sUPassword"; +_j._password /*String*/ = __ref._supassword /*String*/ ; +RDebugUtils.currentLine=44695561; + //BA.debugLineNum = 44695561;BA.debugLine="j.Download(sNewVerApk) 'ex: jobapk.Downlo"; +_j._download /*String*/ (null,__ref._snewverapk /*String*/ ); +RDebugUtils.currentLine=44695562; + //BA.debugLineNum = 44695562;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 = (SHARK2.keymon.com.mx.httpjob) result[1]; +; +RDebugUtils.currentLine=44695563; + //BA.debugLineNum = 44695563;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; +parent.__c.LogImpl("944695563",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); +RDebugUtils.currentLine=44695564; + //BA.debugLineNum = 44695564;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=44695565; + //BA.debugLineNum = 44695565;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=44695567; + //BA.debugLineNum = 44695567;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=44695568; + //BA.debugLineNum = 44695568;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",F"; +_out = parent.__c.File.OpenOutput(__ref._sharedfolder /*String*/ ,"tmp.apk",parent.__c.False); +RDebugUtils.currentLine=44695569; + //BA.debugLineNum = 44695569;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=44695570; + //BA.debugLineNum = 44695570;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=44695571; + //BA.debugLineNum = 44695571;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; +parent.__c.LogImpl("944695571",("Copy2 (saving) ok? TRUE"),0); +RDebugUtils.currentLine=44695572; + //BA.debugLineNum = 44695572;BA.debugLine="sStatusCode = OK_DOWNLOAD"; +__ref._sstatuscode /*int*/ = __ref._ok_download /*int*/ ; +RDebugUtils.currentLine=44695573; + //BA.debugLineNum = 44695573;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("944695573",(""+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=44695575; + //BA.debugLineNum = 44695575;BA.debugLine="Log($\"Copy2 (saving) ok? FALSE\"$)"; +parent.__c.LogImpl("944695575",("Copy2 (saving) ok? FALSE"),0); +RDebugUtils.currentLine=44695576; + //BA.debugLineNum = 44695576;BA.debugLine="sStatusCode = ERR_DOWNLOAD"; +__ref._sstatuscode /*int*/ = __ref._err_download /*int*/ ; +RDebugUtils.currentLine=44695577; + //BA.debugLineNum = 44695577;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("944695577",(""+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=44695578; + //BA.debugLineNum = 44695578;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=44695581; + //BA.debugLineNum = 44695581;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; +parent.__c.LogImpl("944695581",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); +RDebugUtils.currentLine=44695582; + //BA.debugLineNum = 44695582;BA.debugLine="sStatusCode = ERR_HTTP"; +__ref._sstatuscode /*int*/ = __ref._err_http /*int*/ ; +RDebugUtils.currentLine=44695583; + //BA.debugLineNum = 44695583;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("944695583",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); +if (true) break; + +case 32: +//C +this.state = 33; +; +RDebugUtils.currentLine=44695584; + //BA.debugLineNum = 44695584;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=44695586; + //BA.debugLineNum = 44695586;BA.debugLine="j.Release"; +_j._release /*String*/ (null); +RDebugUtils.currentLine=44695587; + //BA.debugLineNum = 44695587;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=44695588; + //BA.debugLineNum = 44695588;BA.debugLine="SendInstallIntent"; +__ref._sendinstallintent /*String*/ (null); +RDebugUtils.currentLine=44695589; + //BA.debugLineNum = 44695589;BA.debugLine="sStatusCode = OK_INSTALL"; +__ref._sstatuscode /*int*/ = __ref._ok_install /*int*/ ; +RDebugUtils.currentLine=44695590; + //BA.debugLineNum = 44695590;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("944695590",(""+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=44695593; + //BA.debugLineNum = 44695593;BA.debugLine="Finito"; +__ref._finito /*String*/ (null); +RDebugUtils.currentLine=44695594; + //BA.debugLineNum = 44695594;BA.debugLine="End Sub"; +if (true) break; +}} + catch (Exception e0) { + +if (catchState == 0) + throw e0; +else { + state = catchState; +ba.setLastException(e0);} + } + } + } +} +public void _updateapk(SHARK2.keymon.com.mx.cl_appupdate __ref,boolean _pstatus) throws Exception{ +RDebugUtils.currentModule="cl_appupdate"; +if (Debug.shouldDelegate(ba, "updateapk", true)) + {Debug.delegate(ba, "updateapk", new Object[] {_pstatus}); return;} +ResumableSub_UpdateApk rsub = new ResumableSub_UpdateApk(this,__ref,_pstatus); +rsub.resume(ba, null); +} +public static class ResumableSub_UpdateApk extends BA.ResumableSub { +public ResumableSub_UpdateApk(SHARK2.keymon.com.mx.cl_appupdate parent,SHARK2.keymon.com.mx.cl_appupdate __ref,boolean _pstatus) { +this.parent = parent; +this.__ref = __ref; +this._pstatus = _pstatus; +this.__ref = parent; +} +SHARK2.keymon.com.mx.cl_appupdate __ref; +SHARK2.keymon.com.mx.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=44630017; + //BA.debugLineNum = 44630017;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)"; +parent.__c.LogImpl("944630017","---- AppUpdating.UpdateApk",__ref._logcolor1 /*int*/ ); +RDebugUtils.currentLine=44630018; + //BA.debugLineNum = 44630018;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=44630019; + //BA.debugLineNum = 44630019;BA.debugLine="sStatusCode = ERR_NOPERM"; +__ref._sstatuscode /*int*/ = __ref._err_noperm /*int*/ ; +RDebugUtils.currentLine=44630020; + //BA.debugLineNum = 44630020;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("944630020",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=44630022; + //BA.debugLineNum = 44630022;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=44630023; + //BA.debugLineNum = 44630023;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=44630024; + //BA.debugLineNum = 44630024;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=44630026; + //BA.debugLineNum = 44630026;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=44630027; + //BA.debugLineNum = 44630027;BA.debugLine="Dim fsize As Long = webfsize"; +_fsize = (long)(Double.parseDouble(__ref._webfsize /*String*/ )); +RDebugUtils.currentLine=44630028; + //BA.debugLineNum = 44630028;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=44630029; + //BA.debugLineNum = 44630029;BA.debugLine="sStatusCode = ERR_NOSPACE"; +__ref._sstatuscode /*int*/ = __ref._err_nospace /*int*/ ; +RDebugUtils.currentLine=44630030; + //BA.debugLineNum = 44630030;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("944630030",(""+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=44630033; + //BA.debugLineNum = 44630033;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=44630034; + //BA.debugLineNum = 44630034;BA.debugLine="sStatusCode = OK_NEWERAPK 'info file tells"; +__ref._sstatuscode /*int*/ = __ref._ok_newerapk /*int*/ ; +RDebugUtils.currentLine=44630035; + //BA.debugLineNum = 44630035;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("944630035",(""+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=44630036; + //BA.debugLineNum = 44630036;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=44630037; + //BA.debugLineNum = 44630037;BA.debugLine="sStatusCode = ERR_NOAPK"; +__ref._sstatuscode /*int*/ = __ref._err_noapk /*int*/ ; +RDebugUtils.currentLine=44630038; + //BA.debugLineNum = 44630038;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("944630038",(""+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=44630042; + //BA.debugLineNum = 44630042;BA.debugLine="sStatusCode = NO_NEWERAPK"; +__ref._sstatuscode /*int*/ = __ref._no_newerapk /*int*/ ; +RDebugUtils.currentLine=44630043; + //BA.debugLineNum = 44630043;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("944630043",(""+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=44630047; + //BA.debugLineNum = 44630047;BA.debugLine="TryApkUpdate 'if available and permitted, do"; +__ref._tryapkupdate /*void*/ (null); +RDebugUtils.currentLine=44630048; + //BA.debugLineNum = 44630048;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/dbrequestmanager.java b/B4A/Objects/src/SHARK2/keymon/com/mx/dbrequestmanager.java new file mode 100644 index 0000000..d3c18a8 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/dbrequestmanager.java @@ -0,0 +1,1006 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.dbrequestmanager"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 anywheresoftware.b4a.objects.collections.List _reqslist = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _executequery(SHARK2.keymon.com.mx.dbrequestmanager __ref,SHARK2.keymon.com.mx.dbrequestmanager._dbcommand _command,int _limit,Object _tag) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "executequery", false)) + {return ((String) Debug.delegate(ba, "executequery", new Object[] {_command,_limit,_tag}));} +SHARK2.keymon.com.mx.httpjob _j = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; +RDebugUtils.currentLine=27197440; + //BA.debugLineNum = 27197440;BA.debugLine="Public Sub ExecuteQuery(Command As DBCommand, Limi"; +RDebugUtils.currentLine=27197441; + //BA.debugLineNum = 27197441;BA.debugLine="Dim j As HttpJob"; +_j = new SHARK2.keymon.com.mx.httpjob(); +RDebugUtils.currentLine=27197442; + //BA.debugLineNum = 27197442;BA.debugLine="Dim ms As OutputStream"; +_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=27197443; + //BA.debugLineNum = 27197443;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=27197444; + //BA.debugLineNum = 27197444;BA.debugLine="If reqsList.IsInitialized Then reqsList.Add(Tag)"; +if (__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) { +__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .Add(_tag);}; +RDebugUtils.currentLine=27197446; + //BA.debugLineNum = 27197446;BA.debugLine="WriteObject(Command.Name, out2)"; +__ref._writeobject /*String*/ (null,(Object)(_command.Name /*String*/ ),_out2); +RDebugUtils.currentLine=27197447; + //BA.debugLineNum = 27197447;BA.debugLine="WriteInt(Limit, out2)"; +__ref._writeint /*String*/ (null,_limit,_out2); +RDebugUtils.currentLine=27197448; + //BA.debugLineNum = 27197448;BA.debugLine="WriteList(Command.Parameters, out2)"; +__ref._writelist /*String*/ (null,anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); +RDebugUtils.currentLine=27197449; + //BA.debugLineNum = 27197449;BA.debugLine="out2.Close"; +_out2.Close(); +RDebugUtils.currentLine=27197450; + //BA.debugLineNum = 27197450;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; +_j._postbytes /*String*/ (null,__ref._link /*String*/ +"?method=query",_ms.ToBytesArray()); +RDebugUtils.currentLine=27197451; + //BA.debugLineNum = 27197451;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.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=27131904; + //BA.debugLineNum = 27131904;BA.debugLine="Public Sub Initialize (Target As Object, Connector"; +RDebugUtils.currentLine=27131905; + //BA.debugLineNum = 27131905;BA.debugLine="mTarget = Target"; +__ref._mtarget /*Object*/ = _target; +RDebugUtils.currentLine=27131906; + //BA.debugLineNum = 27131906;BA.debugLine="link = ConnectorLink"; +__ref._link /*String*/ = _connectorlink; +RDebugUtils.currentLine=27131907; + //BA.debugLineNum = 27131907;BA.debugLine="reqsList.Initialize"; +__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=27131908; + //BA.debugLineNum = 27131908;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.dbrequestmanager._dbresult _handlejob(SHARK2.keymon.com.mx.dbrequestmanager __ref,SHARK2.keymon.com.mx.httpjob _job) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "handlejob", false)) + {return ((SHARK2.keymon.com.mx.dbrequestmanager._dbresult) Debug.delegate(ba, "handlejob", new Object[] {_job}));} +long _start = 0L; +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +anywheresoftware.b4a.randomaccessfile.CompressedStreams _cs = null; +float _serverversion = 0f; +String _method = ""; +SHARK2.keymon.com.mx.dbrequestmanager._dbresult _table = null; +int _numberofcolumns = 0; +int _i = 0; +Object[] _rowobjects = null; +int _col = 0; +Object _o = null; +int _rows = 0; +RDebugUtils.currentLine=27918336; + //BA.debugLineNum = 27918336;BA.debugLine="Public Sub HandleJob(Job As HttpJob) As DBResult"; +RDebugUtils.currentLine=27918337; + //BA.debugLineNum = 27918337;BA.debugLine="Dim start As Long = DateTime.Now 'ignore"; +_start = __c.DateTime.getNow(); +RDebugUtils.currentLine=27918338; + //BA.debugLineNum = 27918338;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=27918339; + //BA.debugLineNum = 27918339;BA.debugLine="Dim cs As CompressedStreams"; +_cs = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); +RDebugUtils.currentLine=27918340; + //BA.debugLineNum = 27918340;BA.debugLine="In = cs.WrapInputStream(In, \"gzip\")"; +_in = _cs.WrapInputStream((java.io.InputStream)(_in.getObject()),"gzip"); +RDebugUtils.currentLine=27918341; + //BA.debugLineNum = 27918341;BA.debugLine="Dim serverVersion As Float = ReadObject(In) 'igno"; +_serverversion = (float)(BA.ObjectToNumber(__ref._readobject /*Object*/ (null,_in))); +RDebugUtils.currentLine=27918342; + //BA.debugLineNum = 27918342;BA.debugLine="Dim method As String = ReadObject(In)"; +_method = BA.ObjectToString(__ref._readobject /*Object*/ (null,_in)); +RDebugUtils.currentLine=27918343; + //BA.debugLineNum = 27918343;BA.debugLine="Dim table As DBResult"; +_table = new SHARK2.keymon.com.mx.dbrequestmanager._dbresult(); +RDebugUtils.currentLine=27918344; + //BA.debugLineNum = 27918344;BA.debugLine="table.Initialize"; +_table.Initialize(); +RDebugUtils.currentLine=27918345; + //BA.debugLineNum = 27918345;BA.debugLine="table.Columns.Initialize"; +_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); +RDebugUtils.currentLine=27918346; + //BA.debugLineNum = 27918346;BA.debugLine="table.rows.Initialize"; +_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=27918347; + //BA.debugLineNum = 27918347;BA.debugLine="table.Tag = Job.Tag"; +_table.Tag /*Object*/ = _job._tag /*Object*/ ; +RDebugUtils.currentLine=27918348; + //BA.debugLineNum = 27918348;BA.debugLine="If jobTagAnterior <> Job.Tag Then LogColor(\"Handl"; +if ((__ref._jobtaganterior /*String*/ ).equals(BA.ObjectToString(_job._tag /*Object*/ )) == false) { +__c.LogImpl("527918348","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.RGB((int) (171),(int) (70),(int) (0)));}; +RDebugUtils.currentLine=27918349; + //BA.debugLineNum = 27918349;BA.debugLine="jobTagAnterior = Job.Tag 'Mod por CHV - 211109"; +__ref._jobtaganterior /*String*/ = BA.ObjectToString(_job._tag /*Object*/ ); +RDebugUtils.currentLine=27918350; + //BA.debugLineNum = 27918350;BA.debugLine="If method = \"query\" Then"; +if ((_method).equals("query")) { +RDebugUtils.currentLine=27918351; + //BA.debugLineNum = 27918351;BA.debugLine="Dim numberOfColumns As Int = ReadInt(In)"; +_numberofcolumns = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=27918352; + //BA.debugLineNum = 27918352;BA.debugLine="For i = 0 To numberOfColumns - 1"; +{ +final int step16 = 1; +final int limit16 = (int) (_numberofcolumns-1); +_i = (int) (0) ; +for (;_i <= limit16 ;_i = _i + step16 ) { +RDebugUtils.currentLine=27918353; + //BA.debugLineNum = 27918353;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=27918355; + //BA.debugLineNum = 27918355;BA.debugLine="Do While ReadByte(In) = 1"; +while (__ref._readbyte /*byte*/ (null,_in)==1) { +RDebugUtils.currentLine=27918356; + //BA.debugLineNum = 27918356;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=27918357; + //BA.debugLineNum = 27918357;BA.debugLine="table.rows.Add(rowObjects)"; +_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_rowobjects)); +RDebugUtils.currentLine=27918358; + //BA.debugLineNum = 27918358;BA.debugLine="For col = 0 To numberOfColumns - 1"; +{ +final int step22 = 1; +final int limit22 = (int) (_numberofcolumns-1); +_col = (int) (0) ; +for (;_col <= limit22 ;_col = _col + step22 ) { +RDebugUtils.currentLine=27918359; + //BA.debugLineNum = 27918359;BA.debugLine="Dim o As Object = ReadObject(In)"; +_o = __ref._readobject /*Object*/ (null,_in); +RDebugUtils.currentLine=27918360; + //BA.debugLineNum = 27918360;BA.debugLine="rowObjects(col) = o"; +_rowobjects[_col] = _o; + } +}; + } +; + }else +{RDebugUtils.currentLine=27918363; + //BA.debugLineNum = 27918363;BA.debugLine="Else If method = \"batch\" Then"; +if ((_method).equals("batch")) { +RDebugUtils.currentLine=27918364; + //BA.debugLineNum = 27918364;BA.debugLine="table.Columns.Put(\"AffectedRows\", 0)"; +_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("AffectedRows"),(Object)(0)); +RDebugUtils.currentLine=27918365; + //BA.debugLineNum = 27918365;BA.debugLine="Dim rows As Int = ReadInt(In)"; +_rows = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=27918366; + //BA.debugLineNum = 27918366;BA.debugLine="For i = 0 To rows - 1"; +{ +final int step30 = 1; +final int limit30 = (int) (_rows-1); +_i = (int) (0) ; +for (;_i <= limit30 ;_i = _i + step30 ) { +RDebugUtils.currentLine=27918367; + //BA.debugLineNum = 27918367;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=27918370; + //BA.debugLineNum = 27918370;BA.debugLine="In.Close"; +_in.Close(); +RDebugUtils.currentLine=27918372; + //BA.debugLineNum = 27918372;BA.debugLine="Return table"; +if (true) return _table; +RDebugUtils.currentLine=27918373; + //BA.debugLineNum = 27918373;BA.debugLine="End Sub"; +return null; +} +public String _executecommand(SHARK2.keymon.com.mx.dbrequestmanager __ref,SHARK2.keymon.com.mx.dbrequestmanager._dbcommand _command,Object _tag) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "executecommand", false)) + {return ((String) Debug.delegate(ba, "executecommand", new Object[] {_command,_tag}));} +RDebugUtils.currentLine=27328512; + //BA.debugLineNum = 27328512;BA.debugLine="Public Sub ExecuteCommand(Command As DBCommand, Ta"; +RDebugUtils.currentLine=27328513; + //BA.debugLineNum = 27328513;BA.debugLine="If reqsList.IsInitialized Then reqsList.Add(Tag)"; +if (__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) { +__ref._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .Add(_tag);}; +RDebugUtils.currentLine=27328514; + //BA.debugLineNum = 27328514;BA.debugLine="ExecuteBatch(Array As DBCommand(Command), Tag)"; +__ref._executebatch /*String*/ (null,anywheresoftware.b4a.keywords.Common.ArrayToList(new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand[]{_command}),_tag); +RDebugUtils.currentLine=27328515; + //BA.debugLineNum = 27328515;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bytestoimage(SHARK2.keymon.com.mx.dbrequestmanager __ref,byte[] _bytes) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "bytestoimage", false)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(ba, "bytestoimage", new Object[] {_bytes}));} +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; +RDebugUtils.currentLine=28114944; + //BA.debugLineNum = 28114944;BA.debugLine="Public Sub BytesToImage(bytes() As Byte) As Bitmap"; +RDebugUtils.currentLine=28114945; + //BA.debugLineNum = 28114945;BA.debugLine="Dim In As InputStream"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +RDebugUtils.currentLine=28114946; + //BA.debugLineNum = 28114946;BA.debugLine="In.InitializeFromBytesArray(bytes, 0, bytes.Lengt"; +_in.InitializeFromBytesArray(_bytes,(int) (0),_bytes.length); +RDebugUtils.currentLine=28114947; + //BA.debugLineNum = 28114947;BA.debugLine="Dim bmp As Bitmap"; +_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=28114948; + //BA.debugLineNum = 28114948;BA.debugLine="bmp.Initialize2(In)"; +_bmp.Initialize2((java.io.InputStream)(_in.getObject())); +RDebugUtils.currentLine=28114949; + //BA.debugLineNum = 28114949;BA.debugLine="Return bmp"; +if (true) return _bmp; +RDebugUtils.currentLine=28114950; + //BA.debugLineNum = 28114950;BA.debugLine="End Sub"; +return null; +} +public String _class_globals(SHARK2.keymon.com.mx.dbrequestmanager __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +RDebugUtils.currentLine=27066368; + //BA.debugLineNum = 27066368;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=27066369; + //BA.debugLineNum = 27066369;BA.debugLine="Private mTarget As Object"; +_mtarget = new Object(); +RDebugUtils.currentLine=27066370; + //BA.debugLineNum = 27066370;BA.debugLine="Type DBResult (Tag As Object, Columns As Map, Row"; +; +RDebugUtils.currentLine=27066371; + //BA.debugLineNum = 27066371;BA.debugLine="Type DBCommand (Name As String, Parameters() As O"; +; +RDebugUtils.currentLine=27066372; + //BA.debugLineNum = 27066372;BA.debugLine="Private link As String"; +_link = ""; +RDebugUtils.currentLine=27066373; + //BA.debugLineNum = 27066373;BA.debugLine="Private bc As ByteConverter"; +_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); +RDebugUtils.currentLine=27066374; + //BA.debugLineNum = 27066374;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=27066376; + //BA.debugLineNum = 27066376;BA.debugLine="Private VERSION As Float = 0.9"; +_version = (float) (0.9); +RDebugUtils.currentLine=27066377; + //BA.debugLineNum = 27066377;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=27066378; + //BA.debugLineNum = 27066378;BA.debugLine="Dim jobTagAnterior As String = \"\" 'Mod por CHV -"; +_jobtaganterior = ""; +RDebugUtils.currentLine=27066379; + //BA.debugLineNum = 27066379;BA.debugLine="Dim reqsList As List"; +_reqslist = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=27066380; + //BA.debugLineNum = 27066380;BA.debugLine="End Sub"; +return ""; +} +public String _executebatch(SHARK2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.collections.List _listofcommands,Object _tag) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "executebatch", false)) + {return ((String) Debug.delegate(ba, "executebatch", new Object[] {_listofcommands,_tag}));} +SHARK2.keymon.com.mx.httpjob _j = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; +SHARK2.keymon.com.mx.dbrequestmanager._dbcommand _command = null; +RDebugUtils.currentLine=27262976; + //BA.debugLineNum = 27262976;BA.debugLine="Public Sub ExecuteBatch(ListOfCommands As List, Ta"; +RDebugUtils.currentLine=27262977; + //BA.debugLineNum = 27262977;BA.debugLine="Dim j As HttpJob"; +_j = new SHARK2.keymon.com.mx.httpjob(); +RDebugUtils.currentLine=27262978; + //BA.debugLineNum = 27262978;BA.debugLine="Dim ms As OutputStream"; +_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=27262979; + //BA.debugLineNum = 27262979;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=27262980; + //BA.debugLineNum = 27262980;BA.debugLine="WriteInt(ListOfCommands.Size, out2)"; +__ref._writeint /*String*/ (null,_listofcommands.getSize(),_out2); +RDebugUtils.currentLine=27262981; + //BA.debugLineNum = 27262981;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 = (SHARK2.keymon.com.mx.dbrequestmanager._dbcommand)(group5.Get(index5)); +RDebugUtils.currentLine=27262982; + //BA.debugLineNum = 27262982;BA.debugLine="WriteObject(Command.Name, out2)"; +__ref._writeobject /*String*/ (null,(Object)(_command.Name /*String*/ ),_out2); +RDebugUtils.currentLine=27262983; + //BA.debugLineNum = 27262983;BA.debugLine="WriteList(Command.Parameters, out2)"; +__ref._writelist /*String*/ (null,anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); + } +}; +RDebugUtils.currentLine=27262985; + //BA.debugLineNum = 27262985;BA.debugLine="out2.Close"; +_out2.Close(); +RDebugUtils.currentLine=27262986; + //BA.debugLineNum = 27262986;BA.debugLine="j.PostBytes(link & \"?method=batch\", ms.ToBytesArr"; +_j._postbytes /*String*/ (null,__ref._link /*String*/ +"?method=batch",_ms.ToBytesArray()); +RDebugUtils.currentLine=27262987; + //BA.debugLineNum = 27262987;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _startjob(SHARK2.keymon.com.mx.dbrequestmanager __ref,SHARK2.keymon.com.mx.httpjob _j,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _memorystream,Object _tag) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "startjob", false)) + {return ((anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper) Debug.delegate(ba, "startjob", new Object[] {_j,_memorystream,_tag}));} +anywheresoftware.b4a.randomaccessfile.CompressedStreams _compress = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=27394048; + //BA.debugLineNum = 27394048;BA.debugLine="Private Sub StartJob(j As HttpJob, MemoryStream As"; +RDebugUtils.currentLine=27394049; + //BA.debugLineNum = 27394049;BA.debugLine="j.Initialize(\"DBRequest\", mTarget)"; +_j._initialize /*String*/ (null,ba,"DBRequest",__ref._mtarget /*Object*/ ); +RDebugUtils.currentLine=27394050; + //BA.debugLineNum = 27394050;BA.debugLine="j.Tag = Tag"; +_j._tag /*Object*/ = _tag; +RDebugUtils.currentLine=27394051; + //BA.debugLineNum = 27394051;BA.debugLine="MemoryStream.InitializeToBytesArray(0)"; +_memorystream.InitializeToBytesArray((int) (0)); +RDebugUtils.currentLine=27394052; + //BA.debugLineNum = 27394052;BA.debugLine="Dim compress As CompressedStreams"; +_compress = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); +RDebugUtils.currentLine=27394053; + //BA.debugLineNum = 27394053;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=27394054; + //BA.debugLineNum = 27394054;BA.debugLine="WriteObject(VERSION, out)"; +__ref._writeobject /*String*/ (null,(Object)(__ref._version /*float*/ ),_out); +RDebugUtils.currentLine=27394055; + //BA.debugLineNum = 27394055;BA.debugLine="Return out"; +if (true) return _out; +RDebugUtils.currentLine=27394056; + //BA.debugLineNum = 27394056;BA.debugLine="End Sub"; +return null; +} +public String _writeint(SHARK2.keymon.com.mx.dbrequestmanager __ref,int _i,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "writeint", false)) + {return ((String) Debug.delegate(ba, "writeint", new Object[] {_i,_out}));} +byte[] _data = null; +RDebugUtils.currentLine=27721728; + //BA.debugLineNum = 27721728;BA.debugLine="Private Sub WriteInt(i As Int, out As OutputStream"; +RDebugUtils.currentLine=27721729; + //BA.debugLineNum = 27721729;BA.debugLine="Dim data() As Byte"; +_data = new byte[(int) (0)]; +; +RDebugUtils.currentLine=27721730; + //BA.debugLineNum = 27721730;BA.debugLine="data = bc.IntsToBytes(Array As Int(i))"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .IntsToBytes(new int[]{_i}); +RDebugUtils.currentLine=27721731; + //BA.debugLineNum = 27721731;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +_out.WriteBytes(_data,(int) (0),_data.length); +RDebugUtils.currentLine=27721732; + //BA.debugLineNum = 27721732;BA.debugLine="End Sub"; +return ""; +} +public String _writeobject(SHARK2.keymon.com.mx.dbrequestmanager __ref,Object _o,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "writeobject", false)) + {return ((String) Debug.delegate(ba, "writeobject", new Object[] {_o,_out}));} +byte[] _data = null; +boolean _b = false; +RDebugUtils.currentLine=27525120; + //BA.debugLineNum = 27525120;BA.debugLine="Private Sub WriteObject(o As Object, out As Output"; +RDebugUtils.currentLine=27525121; + //BA.debugLineNum = 27525121;BA.debugLine="Dim data() As Byte"; +_data = new byte[(int) (0)]; +; +RDebugUtils.currentLine=27525122; + //BA.debugLineNum = 27525122;BA.debugLine="tempArray(0) = o"; +__ref._temparray /*Object[]*/ [(int) (0)] = _o; +RDebugUtils.currentLine=27525123; + //BA.debugLineNum = 27525123;BA.debugLine="If tempArray(0) = Null Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)]== null) { +RDebugUtils.currentLine=27525124; + //BA.debugLineNum = 27525124;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=27525125; + //BA.debugLineNum = 27525125;BA.debugLine="Else If tempArray(0) Is Short Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Short) { +RDebugUtils.currentLine=27525126; + //BA.debugLineNum = 27525126;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=27525127; + //BA.debugLineNum = 27525127;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=27525128; + //BA.debugLineNum = 27525128;BA.debugLine="Else If tempArray(0) Is Int Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Integer) { +RDebugUtils.currentLine=27525129; + //BA.debugLineNum = 27525129;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=27525130; + //BA.debugLineNum = 27525130;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=27525131; + //BA.debugLineNum = 27525131;BA.debugLine="Else If tempArray(0) Is Float Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Float) { +RDebugUtils.currentLine=27525132; + //BA.debugLineNum = 27525132;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=27525133; + //BA.debugLineNum = 27525133;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=27525134; + //BA.debugLineNum = 27525134;BA.debugLine="Else If tempArray(0) Is Double Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Double) { +RDebugUtils.currentLine=27525135; + //BA.debugLineNum = 27525135;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=27525136; + //BA.debugLineNum = 27525136;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=27525137; + //BA.debugLineNum = 27525137;BA.debugLine="Else If tempArray(0) Is Long Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Long) { +RDebugUtils.currentLine=27525138; + //BA.debugLineNum = 27525138;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=27525139; + //BA.debugLineNum = 27525139;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=27525140; + //BA.debugLineNum = 27525140;BA.debugLine="Else If tempArray(0) Is Boolean Then"; +if (__ref._temparray /*Object[]*/ [(int) (0)] instanceof Boolean) { +RDebugUtils.currentLine=27525141; + //BA.debugLineNum = 27525141;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=27525142; + //BA.debugLineNum = 27525142;BA.debugLine="Dim b As Boolean = 0"; +_b = BA.ObjectToBoolean(0); +RDebugUtils.currentLine=27525143; + //BA.debugLineNum = 27525143;BA.debugLine="Dim data(1) As Byte"; +_data = new byte[(int) (1)]; +; +RDebugUtils.currentLine=27525144; + //BA.debugLineNum = 27525144;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=27525145; + //BA.debugLineNum = 27525145;BA.debugLine="Else If GetType(tempArray(0)) = \"[B\" Then"; +if ((__c.GetType(__ref._temparray /*Object[]*/ [(int) (0)])).equals("[B")) { +RDebugUtils.currentLine=27525146; + //BA.debugLineNum = 27525146;BA.debugLine="data = o"; +_data = (byte[])(_o); +RDebugUtils.currentLine=27525147; + //BA.debugLineNum = 27525147;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=27525148; + //BA.debugLineNum = 27525148;BA.debugLine="WriteInt(data.Length, out)"; +__ref._writeint /*String*/ (null,_data.length,_out); + }else { +RDebugUtils.currentLine=27525150; + //BA.debugLineNum = 27525150;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=27525151; + //BA.debugLineNum = 27525151;BA.debugLine="data = bc.StringToBytes(o, \"UTF8\")"; +_data = __ref._bc /*anywheresoftware.b4a.agraham.byteconverter.ByteConverter*/ .StringToBytes(BA.ObjectToString(_o),"UTF8"); +RDebugUtils.currentLine=27525152; + //BA.debugLineNum = 27525152;BA.debugLine="WriteInt(data.Length, out)"; +__ref._writeint /*String*/ (null,_data.length,_out); + }}}}}}}} +; +RDebugUtils.currentLine=27525154; + //BA.debugLineNum = 27525154;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=27525155; + //BA.debugLineNum = 27525155;BA.debugLine="End Sub"; +return ""; +} +public String _writelist(SHARK2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.collections.List _parameters,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "writelist", false)) + {return ((String) Debug.delegate(ba, "writelist", new Object[] {_parameters,_out}));} +byte[] _data = null; +Object _o = null; +RDebugUtils.currentLine=27459584; + //BA.debugLineNum = 27459584;BA.debugLine="Private Sub WriteList(Parameters As List, out As O"; +RDebugUtils.currentLine=27459585; + //BA.debugLineNum = 27459585;BA.debugLine="Dim data() As Byte"; +_data = new byte[(int) (0)]; +; +RDebugUtils.currentLine=27459586; + //BA.debugLineNum = 27459586;BA.debugLine="If Parameters = Null Or Parameters.IsInitialized"; +if (_parameters== null || _parameters.IsInitialized()==__c.False) { +RDebugUtils.currentLine=27459587; + //BA.debugLineNum = 27459587;BA.debugLine="Dim Parameters As List"; +_parameters = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=27459588; + //BA.debugLineNum = 27459588;BA.debugLine="Parameters.Initialize"; +_parameters.Initialize(); + }; +RDebugUtils.currentLine=27459590; + //BA.debugLineNum = 27459590;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=27459591; + //BA.debugLineNum = 27459591;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; +_out.WriteBytes(_data,(int) (0),_data.length); +RDebugUtils.currentLine=27459592; + //BA.debugLineNum = 27459592;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=27459593; + //BA.debugLineNum = 27459593;BA.debugLine="WriteObject(o, out)"; +__ref._writeobject /*String*/ (null,_o,_out); + } +}; +RDebugUtils.currentLine=27459595; + //BA.debugLineNum = 27459595;BA.debugLine="End Sub"; +return ""; +} +public byte[] _filetobytes(SHARK2.keymon.com.mx.dbrequestmanager __ref,String _dir,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "filetobytes", false)) + {return ((byte[]) Debug.delegate(ba, "filetobytes", new Object[] {_dir,_filename}));} +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +RDebugUtils.currentLine=27983872; + //BA.debugLineNum = 27983872;BA.debugLine="Public Sub FileToBytes(Dir As String, FileName As"; +RDebugUtils.currentLine=27983873; + //BA.debugLineNum = 27983873;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=27983874; + //BA.debugLineNum = 27983874;BA.debugLine="out.InitializeToBytesArray(0)"; +_out.InitializeToBytesArray((int) (0)); +RDebugUtils.currentLine=27983875; + //BA.debugLineNum = 27983875;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=27983876; + //BA.debugLineNum = 27983876;BA.debugLine="File.Copy2(In, out)"; +__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_out.getObject())); +RDebugUtils.currentLine=27983877; + //BA.debugLineNum = 27983877;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=27983878; + //BA.debugLineNum = 27983878;BA.debugLine="Return out.ToBytesArray"; +if (true) return _out.ToBytesArray(); +RDebugUtils.currentLine=27983879; + //BA.debugLineNum = 27983879;BA.debugLine="End Sub"; +return null; +} +public Object _readobject(SHARK2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "readobject", false)) + {return ((Object) Debug.delegate(ba, "readobject", new Object[] {_in}));} +byte[] _data = null; +byte _b = (byte)0; +int _len = 0; +RDebugUtils.currentLine=27590656; + //BA.debugLineNum = 27590656;BA.debugLine="Private Sub ReadObject(In As InputStream) As Objec"; +RDebugUtils.currentLine=27590657; + //BA.debugLineNum = 27590657;BA.debugLine="Dim data(1) As Byte"; +_data = new byte[(int) (1)]; +; +RDebugUtils.currentLine=27590658; + //BA.debugLineNum = 27590658;BA.debugLine="In.ReadBytes(data, 0, 1)"; +_in.ReadBytes(_data,(int) (0),(int) (1)); +RDebugUtils.currentLine=27590659; + //BA.debugLineNum = 27590659;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=27590661; + //BA.debugLineNum = 27590661;BA.debugLine="Return Null"; +if (true) return __c.Null; + break; } +case 1: { +RDebugUtils.currentLine=27590663; + //BA.debugLineNum = 27590663;BA.debugLine="Dim data(2) As Byte"; +_data = new byte[(int) (2)]; +; +RDebugUtils.currentLine=27590664; + //BA.debugLineNum = 27590664;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=27590666; + //BA.debugLineNum = 27590666;BA.debugLine="Dim data(4) As Byte"; +_data = new byte[(int) (4)]; +; +RDebugUtils.currentLine=27590667; + //BA.debugLineNum = 27590667;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=27590669; + //BA.debugLineNum = 27590669;BA.debugLine="Dim data(8) As Byte"; +_data = new byte[(int) (8)]; +; +RDebugUtils.currentLine=27590670; + //BA.debugLineNum = 27590670;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=27590672; + //BA.debugLineNum = 27590672;BA.debugLine="Dim data(4) As Byte"; +_data = new byte[(int) (4)]; +; +RDebugUtils.currentLine=27590673; + //BA.debugLineNum = 27590673;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=27590675; + //BA.debugLineNum = 27590675;BA.debugLine="Dim data(8) As Byte"; +_data = new byte[(int) (8)]; +; +RDebugUtils.currentLine=27590676; + //BA.debugLineNum = 27590676;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=27590678; + //BA.debugLineNum = 27590678;BA.debugLine="Dim b As Byte = ReadByte(In)"; +_b = __ref._readbyte /*byte*/ (null,_in); +RDebugUtils.currentLine=27590679; + //BA.debugLineNum = 27590679;BA.debugLine="Return b = 1"; +if (true) return (Object)(_b==1); + break; } +case 7: { +RDebugUtils.currentLine=27590681; + //BA.debugLineNum = 27590681;BA.debugLine="Dim len As Int = ReadInt(In)"; +_len = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=27590682; + //BA.debugLineNum = 27590682;BA.debugLine="Dim data(len) As Byte"; +_data = new byte[_len]; +; +RDebugUtils.currentLine=27590683; + //BA.debugLineNum = 27590683;BA.debugLine="Return ReadBytesFully(In, data, data.Length)"; +if (true) return (Object)(__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length)); + break; } +default: { +RDebugUtils.currentLine=27590685; + //BA.debugLineNum = 27590685;BA.debugLine="Dim len As Int = ReadInt(In)"; +_len = __ref._readint /*int*/ (null,_in); +RDebugUtils.currentLine=27590686; + //BA.debugLineNum = 27590686;BA.debugLine="Dim data(len) As Byte"; +_data = new byte[_len]; +; +RDebugUtils.currentLine=27590687; + //BA.debugLineNum = 27590687;BA.debugLine="ReadBytesFully(In, data, data.Length)"; +__ref._readbytesfully /*byte[]*/ (null,_in,_data,_data.length); +RDebugUtils.currentLine=27590688; + //BA.debugLineNum = 27590688;BA.debugLine="Return BytesToString(data, 0, data.Length, \"UTF"; +if (true) return (Object)(__c.BytesToString(_data,(int) (0),_data.length,"UTF8")); + break; } +} +; +RDebugUtils.currentLine=27590690; + //BA.debugLineNum = 27590690;BA.debugLine="End Sub"; +return null; +} +public int _readint(SHARK2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "readint", false)) + {return ((Integer) Debug.delegate(ba, "readint", new Object[] {_in}));} +byte[] _data = null; +RDebugUtils.currentLine=27787264; + //BA.debugLineNum = 27787264;BA.debugLine="Private Sub ReadInt(In As InputStream) As Int"; +RDebugUtils.currentLine=27787265; + //BA.debugLineNum = 27787265;BA.debugLine="Dim data(4) As Byte"; +_data = new byte[(int) (4)]; +; +RDebugUtils.currentLine=27787266; + //BA.debugLineNum = 27787266;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=27787267; + //BA.debugLineNum = 27787267;BA.debugLine="End Sub"; +return 0; +} +public byte _readbyte(SHARK2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "readbyte", false)) + {return ((Byte) Debug.delegate(ba, "readbyte", new Object[] {_in}));} +byte[] _data = null; +RDebugUtils.currentLine=27852800; + //BA.debugLineNum = 27852800;BA.debugLine="Private Sub ReadByte(In As InputStream) As Byte"; +RDebugUtils.currentLine=27852801; + //BA.debugLineNum = 27852801;BA.debugLine="Dim data(1) As Byte"; +_data = new byte[(int) (1)]; +; +RDebugUtils.currentLine=27852802; + //BA.debugLineNum = 27852802;BA.debugLine="In.ReadBytes(data, 0, 1)"; +_in.ReadBytes(_data,(int) (0),(int) (1)); +RDebugUtils.currentLine=27852803; + //BA.debugLineNum = 27852803;BA.debugLine="Return data(0)"; +if (true) return _data[(int) (0)]; +RDebugUtils.currentLine=27852804; + //BA.debugLineNum = 27852804;BA.debugLine="End Sub"; +return (byte)0; +} +public byte[] _imagetobytes(SHARK2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "imagetobytes", false)) + {return ((byte[]) Debug.delegate(ba, "imagetobytes", new Object[] {_image}));} +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=28049408; + //BA.debugLineNum = 28049408;BA.debugLine="Public Sub ImageToBytes(Image As Bitmap) As Byte()"; +RDebugUtils.currentLine=28049409; + //BA.debugLineNum = 28049409;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=28049410; + //BA.debugLineNum = 28049410;BA.debugLine="out.InitializeToBytesArray(0)"; +_out.InitializeToBytesArray((int) (0)); +RDebugUtils.currentLine=28049411; + //BA.debugLineNum = 28049411;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=28049412; + //BA.debugLineNum = 28049412;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=28049413; + //BA.debugLineNum = 28049413;BA.debugLine="Return out.ToBytesArray"; +if (true) return _out.ToBytesArray(); +RDebugUtils.currentLine=28049414; + //BA.debugLineNum = 28049414;BA.debugLine="End Sub"; +return null; +} +public String _printtable(SHARK2.keymon.com.mx.dbrequestmanager __ref,SHARK2.keymon.com.mx.dbrequestmanager._dbresult _table) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "printtable", false)) + {return ((String) Debug.delegate(ba, "printtable", new Object[] {_table}));} +anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; +Object _col = null; +Object[] _row = null; +Object _record = null; +RDebugUtils.currentLine=28180480; + //BA.debugLineNum = 28180480;BA.debugLine="Public Sub PrintTable(Table As DBResult)"; +RDebugUtils.currentLine=28180481; + //BA.debugLineNum = 28180481;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C"; +__c.LogImpl("528180481","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=28180482; + //BA.debugLineNum = 28180482;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=28180483; + //BA.debugLineNum = 28180483;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=28180484; + //BA.debugLineNum = 28180484;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=28180485; + //BA.debugLineNum = 28180485;BA.debugLine="sb.Append(col).Append(TAB)"; +_sb.Append(BA.ObjectToString(_col)).Append(__c.TAB); + } +}; +RDebugUtils.currentLine=28180487; + //BA.debugLineNum = 28180487;BA.debugLine="Log(sb.ToString)"; +__c.LogImpl("528180487",_sb.ToString(),0); +RDebugUtils.currentLine=28180488; + //BA.debugLineNum = 28180488;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=28180489; + //BA.debugLineNum = 28180489;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=28180490; + //BA.debugLineNum = 28180490;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=28180491; + //BA.debugLineNum = 28180491;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=28180492; + //BA.debugLineNum = 28180492;BA.debugLine="sb.Append(record).Append(TAB)"; +_sb.Append(BA.ObjectToString(_record)).Append(__c.TAB); + } +}; +RDebugUtils.currentLine=28180494; + //BA.debugLineNum = 28180494;BA.debugLine="ToastMessageShow(sb.ToString, True)"; +__c.ToastMessageShow(BA.ObjectToCharSequence(_sb.ToString()),__c.True); + } +}; +RDebugUtils.currentLine=28180496; + //BA.debugLineNum = 28180496;BA.debugLine="End Sub"; +return ""; +} +public byte[] _readbytesfully(SHARK2.keymon.com.mx.dbrequestmanager __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in,byte[] _data,int _len) throws Exception{ +__ref = this; +RDebugUtils.currentModule="dbrequestmanager"; +if (Debug.shouldDelegate(ba, "readbytesfully", false)) + {return ((byte[]) Debug.delegate(ba, "readbytesfully", new Object[] {_in,_data,_len}));} +int _count = 0; +int _read = 0; +RDebugUtils.currentLine=27656192; + //BA.debugLineNum = 27656192;BA.debugLine="Private Sub ReadBytesFully(In As InputStream, Data"; +RDebugUtils.currentLine=27656193; + //BA.debugLineNum = 27656193;BA.debugLine="Dim count = 0, read As Int"; +_count = (int) (0); +_read = 0; +RDebugUtils.currentLine=27656194; + //BA.debugLineNum = 27656194;BA.debugLine="Do While count < Len And read > -1"; +while (_count<_len && _read>-1) { +RDebugUtils.currentLine=27656195; + //BA.debugLineNum = 27656195;BA.debugLine="read = In.ReadBytes(Data, count, Len - count)"; +_read = _in.ReadBytes(_data,_count,(int) (_len-_count)); +RDebugUtils.currentLine=27656196; + //BA.debugLineNum = 27656196;BA.debugLine="count = count + read"; +_count = (int) (_count+_read); + } +; +RDebugUtils.currentLine=27656198; + //BA.debugLineNum = 27656198;BA.debugLine="Return Data"; +if (true) return _data; +RDebugUtils.currentLine=27656199; + //BA.debugLineNum = 27656199;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_c_cuentasxcobrar.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_c_cuentasxcobrar.java new file mode 100644 index 0000000..90d2f94 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_c_cuentasxcobrar.java @@ -0,0 +1,16 @@ +package SHARK2.keymon.com.mx.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_c_cuentasxcobrar{ + +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"[C_CuentasXCobrar/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_celltitle.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_celltitle.java new file mode 100644 index 0000000..aa6cc4e --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_celltitle.java @@ -0,0 +1,16 @@ +package SHARK2.keymon.com.mx.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_celltitle{ + +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 = 1;BA.debugLine="lblTitle.HorizontalCenter = 50%x"[celltitle/General script] +views.get("lbltitle").vw.setLeft((int)((50d / 100 * width) - (views.get("lbltitle").vw.getWidth() / 2))); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_cliente.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_cliente.java new file mode 100644 index 0000000..5253b6d --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_cliente.java @@ -0,0 +1,22 @@ +package SHARK2.keymon.com.mx.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_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 = 5;BA.debugLine="Panel3.HorizontalCenter = 50%x"[cliente/General script] +views.get("panel3").vw.setLeft((int)((50d / 100 * width) - (views.get("panel3").vw.getWidth() / 2))); +//BA.debugLineNum = 6;BA.debugLine="Panel3.VerticalCenter = 25%y"[cliente/General script] +views.get("panel3").vw.setTop((int)((25d / 100 * height) - (views.get("panel3").vw.getHeight() / 2))); +//BA.debugLineNum = 7;BA.debugLine="Panel5.HorizontalCenter = 50%x"[cliente/General script] +views.get("panel5").vw.setLeft((int)((50d / 100 * width) - (views.get("panel5").vw.getWidth() / 2))); +//BA.debugLineNum = 8;BA.debugLine="Panel5.VerticalCenter = 25%y"[cliente/General script] +views.get("panel5").vw.setTop((int)((25d / 100 * height) - (views.get("panel5").vw.getHeight() / 2))); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_clientes.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_clientes.java new file mode 100644 index 0000000..e2751eb --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_clientes.java @@ -0,0 +1,17 @@ +package SHARK2.keymon.com.mx.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); +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); +views.get("listview1").vw.setLeft((int)(0d)); +views.get("listview1").vw.setWidth((int)((99d / 100 * width) - (0d))); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_cobranza.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_cobranza.java new file mode 100644 index 0000000..7c45c08 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_cobranza.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_cobranza{ + +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/SHARK2/keymon/com/mx/designerscripts/LS_datoscliente.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_datoscliente.java new file mode 100644 index 0000000..b5ad2f0 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_datoscliente.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_datoscliente{ + +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/SHARK2/keymon/com/mx/designerscripts/LS_folioabono.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_folioabono.java new file mode 100644 index 0000000..8f93f0e --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_folioabono.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.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); +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_login.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_login.java new file mode 100644 index 0000000..323576e --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_login.java @@ -0,0 +1,43 @@ +package SHARK2.keymon.com.mx.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); +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); +views.get("imageview1").vw.setLeft((int)((50d / 100 * width) - (views.get("imageview1").vw.getWidth() / 2))); +views.get("i_engrane").vw.setLeft((int)((85d / 100 * width) - (views.get("i_engrane").vw.getWidth() / 2))); +//BA.debugLineNum = 5;BA.debugLine="Panel1.HorizontalCenter = 50%x"[login/General script] +views.get("panel1").vw.setLeft((int)((50d / 100 * width) - (views.get("panel1").vw.getWidth() / 2))); +//BA.debugLineNum = 6;BA.debugLine="Panel1.VerticalCenter = 38%y"[login/General script] +views.get("panel1").vw.setTop((int)((38d / 100 * height) - (views.get("panel1").vw.getHeight() / 2))); +//BA.debugLineNum = 9;BA.debugLine="l_version.VerticalCenter = 70%y"[login/General script] +views.get("l_version").vw.setTop((int)((70d / 100 * height) - (views.get("l_version").vw.getHeight() / 2))); +//BA.debugLineNum = 10;BA.debugLine="Label2.VerticalCenter = 70%y"[login/General script] +views.get("label2").vw.setTop((int)((70d / 100 * height) - (views.get("label2").vw.getHeight() / 2))); +//BA.debugLineNum = 11;BA.debugLine="lv_server.HorizontalCenter = 50%x"[login/General script] +views.get("lv_server").vw.setLeft((int)((50d / 100 * width) - (views.get("lv_server").vw.getWidth() / 2))); +//BA.debugLineNum = 12;BA.debugLine="b_apk.HorizontalCenter = 50%x"[login/General script] +views.get("b_apk").vw.setLeft((int)((50d / 100 * width) - (views.get("b_apk").vw.getWidth() / 2))); +//BA.debugLineNum = 13;BA.debugLine="b_regesar.HorizontalCenter = 50%x"[login/General script] +views.get("b_regesar").vw.setLeft((int)((50d / 100 * width) - (views.get("b_regesar").vw.getWidth() / 2))); +//BA.debugLineNum = 14;BA.debugLine="b_envioBD.HorizontalCenter = 50%x"[login/General script] +views.get("b_enviobd").vw.setLeft((int)((50d / 100 * width) - (views.get("b_enviobd").vw.getWidth() / 2))); +//BA.debugLineNum = 15;BA.debugLine="b_server.HorizontalCenter = 50%x"[login/General script] +views.get("b_server").vw.setLeft((int)((50d / 100 * width) - (views.get("b_server").vw.getWidth() / 2))); +//BA.debugLineNum = 16;BA.debugLine="b_importarBD.HorizontalCenter = 50%x"[login/General script] +views.get("b_importarbd").vw.setLeft((int)((50d / 100 * width) - (views.get("b_importarbd").vw.getWidth() / 2))); +//BA.debugLineNum = 17;BA.debugLine="b_arqueocieego.HorizontalCenter = 50%x"[login/General script] +views.get("b_arqueocieego").vw.setLeft((int)((50d / 100 * width) - (views.get("b_arqueocieego").vw.getWidth() / 2))); +//BA.debugLineNum = 18;BA.debugLine="b_recarga.HorizontalCenter = 50%x"[login/General script] +views.get("b_recarga").vw.setLeft((int)((50d / 100 * width) - (views.get("b_recarga").vw.getWidth() / 2))); +//BA.debugLineNum = 19;BA.debugLine="b_CargarMonto.HorizontalCenter = 50%x"[login/General script] +views.get("b_cargarmonto").vw.setLeft((int)((50d / 100 * width) - (views.get("b_cargarmonto").vw.getWidth() / 2))); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_mainpage.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_mainpage.java new file mode 100644 index 0000000..32e649f --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_mainpage.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.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); +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_mapa_cliente.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_mapa_cliente.java new file mode 100644 index 0000000..cf30062 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_mapa_cliente.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.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); +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_mapa_rutas.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_mapa_rutas.java new file mode 100644 index 0000000..acc5fe9 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_mapa_rutas.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.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); +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_nuevocliente.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_nuevocliente.java new file mode 100644 index 0000000..901d231 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_nuevocliente.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_nuevocliente{ + +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("cb_giro").vw.setLeft((int)((50d / 100 * width) - (views.get("cb_giro").vw.getWidth() / 2))); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_panel_pick_ciego.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_panel_pick_ciego.java new file mode 100644 index 0000000..03e7912 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_panel_pick_ciego.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.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); +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_pclvseekbar.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_pclvseekbar.java new file mode 100644 index 0000000..2b2e1b0 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_pclvseekbar.java @@ -0,0 +1,16 @@ +package SHARK2.keymon.com.mx.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_pclvseekbar{ + +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"[pclvseekbar/General script] +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_pedido.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_pedido.java new file mode 100644 index 0000000..601bfbb --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_pedido.java @@ -0,0 +1,18 @@ +package SHARK2.keymon.com.mx.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); +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/SHARK2/keymon/com/mx/designerscripts/LS_principal.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_principal.java new file mode 100644 index 0000000..e946dd2 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_principal.java @@ -0,0 +1,31 @@ +package SHARK2.keymon.com.mx.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))); +views.get("img2").vw.setTop((int)(0d)); +views.get("img2").vw.setHeight((int)((100d / 100 * height) - (0d))); +views.get("img3").vw.setLeft((int)(0d)); +views.get("img3").vw.setWidth((int)((100d / 100 * width) - (0d))); +views.get("img3").vw.setTop((int)(0d)); +views.get("img3").vw.setHeight((int)((100d / 100 * height) - (0d))); +views.get("img2").vw.setLeft((int)(0d)); +views.get("img2").vw.setWidth((int)((100d / 100 * width) - (0d))); +views.get("img2").vw.setTop((int)(0d)); +views.get("img2").vw.setHeight((int)((100d / 100 * height) - (0d))); +views.get("img3").vw.setLeft((int)(0d)); +views.get("img3").vw.setWidth((int)((100d / 100 * width) - (0d))); +views.get("img3").vw.setTop((int)(0d)); +views.get("img3").vw.setHeight((int)((100d / 100 * height) - (0d))); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_proditem.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_proditem.java new file mode 100644 index 0000000..20150bd --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_proditem.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.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/SHARK2/keymon/com/mx/designerscripts/LS_proditem1.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_proditem1.java new file mode 100644 index 0000000..2b5f2bc --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_proditem1.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_proditem1{ + +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/SHARK2/keymon/com/mx/designerscripts/LS_proditem2.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_proditem2.java new file mode 100644 index 0000000..1769888 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_proditem2.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.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/SHARK2/keymon/com/mx/designerscripts/LS_productos.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_productos.java new file mode 100644 index 0000000..d631345 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_productos.java @@ -0,0 +1,17 @@ +package SHARK2.keymon.com.mx.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); +anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); +views.get("lv_catalogos").vw.setLeft((int)(0d)); +views.get("lv_catalogos").vw.setWidth((int)((100d / 100 * width) - (0d))); + +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_promociones.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_promociones.java new file mode 100644 index 0000000..8c710fe --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_promociones.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_promociones{ + +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/SHARK2/keymon/com/mx/designerscripts/LS_resdia.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_resdia.java new file mode 100644 index 0000000..8221908 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_resdia.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_resdia{ + +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/SHARK2/keymon/com/mx/designerscripts/LS_scrollpromos.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_scrollpromos.java new file mode 100644 index 0000000..7041d4f --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_scrollpromos.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.designerscripts; +import anywheresoftware.b4a.objects.TextViewWrapper; +import anywheresoftware.b4a.objects.ImageViewWrapper; +import anywheresoftware.b4a.BA; + + +public class LS_scrollpromos{ + +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/SHARK2/keymon/com/mx/designerscripts/LS_searchtemplate.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_searchtemplate.java new file mode 100644 index 0000000..d225c3e --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_searchtemplate.java @@ -0,0 +1,16 @@ +package SHARK2.keymon.com.mx.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/SHARK2/keymon/com/mx/designerscripts/LS_tabulador.java b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_tabulador.java new file mode 100644 index 0000000..aca2fed --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/designerscripts/LS_tabulador.java @@ -0,0 +1,15 @@ +package SHARK2.keymon.com.mx.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/SHARK2/keymon/com/mx/escposprinter.java b/B4A/Objects/src/SHARK2/keymon/com/mx/escposprinter.java new file mode 100644 index 0000000..6b1ed10 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/escposprinter.java @@ -0,0 +1,2973 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.escposprinter"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _initialize(SHARK2.keymon.com.mx.escposprinter __ref,anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_vcallback,_veventname}));} +RDebugUtils.currentLine=28311552; + //BA.debugLineNum = 28311552;BA.debugLine="Public Sub Initialize(vCallback As Object, vEventN"; +RDebugUtils.currentLine=28311553; + //BA.debugLineNum = 28311553;BA.debugLine="EventName = vEventName"; +__ref._eventname /*String*/ = _veventname; +RDebugUtils.currentLine=28311554; + //BA.debugLineNum = 28311554;BA.debugLine="CallBack = vCallback"; +__ref._callback /*Object*/ = _vcallback; +RDebugUtils.currentLine=28311555; + //BA.debugLineNum = 28311555;BA.debugLine="Serial1.Initialize(\"Serial1\")"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Initialize("Serial1"); +RDebugUtils.currentLine=28311556; + //BA.debugLineNum = 28311556;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=28311557; + //BA.debugLineNum = 28311557;BA.debugLine="ConnectedError = \"\""; +__ref._connectederror /*String*/ = ""; +RDebugUtils.currentLine=28311558; + //BA.debugLineNum = 28311558;BA.debugLine="End Sub"; +return ""; +} +public boolean _isconnected(SHARK2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "isconnected", false)) + {return ((Boolean) Debug.delegate(ba, "isconnected", null));} +RDebugUtils.currentLine=28442624; + //BA.debugLineNum = 28442624;BA.debugLine="Public Sub IsConnected As Boolean"; +RDebugUtils.currentLine=28442625; + //BA.debugLineNum = 28442625;BA.debugLine="Return Connected"; +if (true) return __ref._connected /*boolean*/ ; +RDebugUtils.currentLine=28442626; + //BA.debugLineNum = 28442626;BA.debugLine="End Sub"; +return false; +} +public String _disconnect(SHARK2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "disconnect", false)) + {return ((String) Debug.delegate(ba, "disconnect", null));} +RDebugUtils.currentLine=28639232; + //BA.debugLineNum = 28639232;BA.debugLine="Public Sub DisConnect"; +RDebugUtils.currentLine=28639233; + //BA.debugLineNum = 28639233;BA.debugLine="Serial1.Disconnect"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Disconnect(); +RDebugUtils.currentLine=28639234; + //BA.debugLineNum = 28639234;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=28639235; + //BA.debugLineNum = 28639235;BA.debugLine="End Sub"; +return ""; +} +public boolean _connect(SHARK2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "connect", false)) + {return ((Boolean) Debug.delegate(ba, "connect", null));} +anywheresoftware.b4a.objects.collections.Map _paireddevices = null; +anywheresoftware.b4a.objects.collections.List _l = null; +int _i = 0; +int _res = 0; +RDebugUtils.currentLine=28573696; + //BA.debugLineNum = 28573696;BA.debugLine="Public Sub Connect As Boolean"; +RDebugUtils.currentLine=28573700; + //BA.debugLineNum = 28573700;BA.debugLine="Try"; +try {RDebugUtils.currentLine=28573701; + //BA.debugLineNum = 28573701;BA.debugLine="If Starter.MAC_IMPRESORA = \"0\" Then"; +if ((_starter._mac_impresora /*String*/ ).equals("0")) { +RDebugUtils.currentLine=28573702; + //BA.debugLineNum = 28573702;BA.debugLine="Dim PairedDevices As Map"; +_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=28573703; + //BA.debugLineNum = 28573703;BA.debugLine="PairedDevices = Serial1.GetPairedDevices"; +_paireddevices = __ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .GetPairedDevices(); +RDebugUtils.currentLine=28573704; + //BA.debugLineNum = 28573704;BA.debugLine="Dim l As List"; +_l = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=28573705; + //BA.debugLineNum = 28573705;BA.debugLine="l.Initialize"; +_l.Initialize(); +RDebugUtils.currentLine=28573706; + //BA.debugLineNum = 28573706;BA.debugLine="Log(\"aqui 1\")"; +__c.LogImpl("528573706","aqui 1",0); +RDebugUtils.currentLine=28573707; + //BA.debugLineNum = 28573707;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; +{ +final int step8 = 1; +final int limit8 = (int) (_paireddevices.getSize()-1); +_i = (int) (0) ; +for (;_i <= limit8 ;_i = _i + step8 ) { +RDebugUtils.currentLine=28573708; + //BA.debugLineNum = 28573708;BA.debugLine="l.Add(PairedDevices.GetKeyAt(i))"; +_l.Add(_paireddevices.GetKeyAt(_i)); +RDebugUtils.currentLine=28573709; + //BA.debugLineNum = 28573709;BA.debugLine="Log(\"aqui 2\")"; +__c.LogImpl("528573709","aqui 2",0); +RDebugUtils.currentLine=28573710; + //BA.debugLineNum = 28573710;BA.debugLine="DisConnect"; +__ref._disconnect /*String*/ (null); + } +}; +RDebugUtils.currentLine=28573712; + //BA.debugLineNum = 28573712;BA.debugLine="Dim Res As Int"; +_res = 0; +RDebugUtils.currentLine=28573713; + //BA.debugLineNum = 28573713;BA.debugLine="Res = InputList(l, \"Choose a printer\", -1) 'sho"; +_res = __c.InputList(_l,BA.ObjectToCharSequence("Choose a printer"),(int) (-1),getActivityBA()); +RDebugUtils.currentLine=28573714; + //BA.debugLineNum = 28573714;BA.debugLine="If Res <> DialogResponse.CANCEL Then"; +if (_res!=__c.DialogResponse.CANCEL) { +RDebugUtils.currentLine=28573715; + //BA.debugLineNum = 28573715;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=28573717; + //BA.debugLineNum = 28573717;BA.debugLine="Starter.mac_impresora = PairedDevices.Get(l.Ge"; +_starter._mac_impresora /*String*/ = BA.ObjectToString(_paireddevices.Get(_l.Get(_res))); +RDebugUtils.currentLine=28573718; + //BA.debugLineNum = 28573718;BA.debugLine="Return True"; +if (true) return __c.True; +RDebugUtils.currentLine=28573719; + //BA.debugLineNum = 28573719;BA.debugLine="DisConnect"; +__ref._disconnect /*String*/ (null); +RDebugUtils.currentLine=28573720; + //BA.debugLineNum = 28573720;BA.debugLine="Log(\"aqui 3\")"; +__c.LogImpl("528573720","aqui 3",0); + }; +RDebugUtils.currentLine=28573722; + //BA.debugLineNum = 28573722;BA.debugLine="Log(\"aqui 4\")"; +__c.LogImpl("528573722","aqui 4",0); +RDebugUtils.currentLine=28573723; + //BA.debugLineNum = 28573723;BA.debugLine="Return False"; +if (true) return __c.False; + }else { +RDebugUtils.currentLine=28573725; + //BA.debugLineNum = 28573725;BA.debugLine="Serial1.Connect(Starter.mac_impresora)"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Connect(ba,_starter._mac_impresora /*String*/ ); +RDebugUtils.currentLine=28573727; + //BA.debugLineNum = 28573727;BA.debugLine="Return True"; +if (true) return __c.True; +RDebugUtils.currentLine=28573728; + //BA.debugLineNum = 28573728;BA.debugLine="DisConnect"; +__ref._disconnect /*String*/ (null); +RDebugUtils.currentLine=28573729; + //BA.debugLineNum = 28573729;BA.debugLine="Log(\"aqui 5\")"; +__c.LogImpl("528573729","aqui 5",0); + }; + } + catch (Exception e31) { + ba.setLastException(e31);RDebugUtils.currentLine=28573732; + //BA.debugLineNum = 28573732;BA.debugLine="Log(LastException)"; +__c.LogImpl("528573732",BA.ObjectToString(__c.LastException(getActivityBA())),0); +RDebugUtils.currentLine=28573733; + //BA.debugLineNum = 28573733;BA.debugLine="Return False"; +if (true) return __c.False; + }; +RDebugUtils.currentLine=28573735; + //BA.debugLineNum = 28573735;BA.debugLine="End Sub"; +return false; +} +public String _writestring(SHARK2.keymon.com.mx.escposprinter __ref,String _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writestring", false)) + {return ((String) Debug.delegate(ba, "writestring", new Object[] {_data}));} +RDebugUtils.currentLine=29556736; + //BA.debugLineNum = 29556736;BA.debugLine="Public Sub WriteString(data As String)"; +RDebugUtils.currentLine=29556737; + //BA.debugLineNum = 29556737;BA.debugLine="WriteString2(data, \"IBM437\")"; +__ref._writestring2 /*String*/ (null,_data,"IBM437"); +RDebugUtils.currentLine=29556738; + //BA.debugLineNum = 29556738;BA.debugLine="End Sub"; +return ""; +} +public String _setjustify(SHARK2.keymon.com.mx.escposprinter __ref,int _justify) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setjustify", false)) + {return ((String) Debug.delegate(ba, "setjustify", new Object[] {_justify}));} +RDebugUtils.currentLine=29163520; + //BA.debugLineNum = 29163520;BA.debugLine="Public Sub setJustify(justify As Int)"; +RDebugUtils.currentLine=29163521; + //BA.debugLineNum = 29163521;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=29163522; + //BA.debugLineNum = 29163522;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.escposprinter._animage _imagetobwimage(SHARK2.keymon.com.mx.escposprinter __ref,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "imagetobwimage", false)) + {return ((SHARK2.keymon.com.mx.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; +SHARK2.keymon.com.mx.escposprinter._animage _ret = null; +RDebugUtils.currentLine=30670848; + //BA.debugLineNum = 30670848;BA.debugLine="Sub ImageToBWIMage(bmp As Bitmap) As AnImage"; +RDebugUtils.currentLine=30670849; + //BA.debugLineNum = 30670849;BA.debugLine="Dim BC As BitmapCreator 'ignore"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=30670850; + //BA.debugLineNum = 30670850;BA.debugLine="Dim W As Int = bmp.Width"; +_w = _bmp.getWidth(); +RDebugUtils.currentLine=30670851; + //BA.debugLineNum = 30670851;BA.debugLine="Dim H As Int = bmp.Height"; +_h = _bmp.getHeight(); +RDebugUtils.currentLine=30670852; + //BA.debugLineNum = 30670852;BA.debugLine="Dim pixels(W * H) As Byte"; +_pixels = new byte[(int) (_w*_h)]; +; +RDebugUtils.currentLine=30670854; + //BA.debugLineNum = 30670854;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=30670855; + //BA.debugLineNum = 30670855;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=30670856; + //BA.debugLineNum = 30670856;BA.debugLine="Dim j As Int = bmp.GetPixel(x, y)"; +_j = _bmp.GetPixel(_x,_y); +RDebugUtils.currentLine=30670858; + //BA.debugLineNum = 30670858;BA.debugLine="Dim col As ARGBColor"; +_col = new b4a.example.bitmapcreator._argbcolor(); +RDebugUtils.currentLine=30670859; + //BA.debugLineNum = 30670859;BA.debugLine="BC.ColorToARGB(j, col )"; +_bc._colortoargb(_j,_col); +RDebugUtils.currentLine=30670860; + //BA.debugLineNum = 30670860;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=30670861; + //BA.debugLineNum = 30670861;BA.debugLine="If lum> 255 Then lum = 255"; +if (_lum>255) { +_lum = (int) (255);}; +RDebugUtils.currentLine=30670863; + //BA.debugLineNum = 30670863;BA.debugLine="pixels(y*W + x) = lum"; +_pixels[(int) (_y*_w+_x)] = (byte) (_lum); + } +}; + } +}; +RDebugUtils.currentLine=30670866; + //BA.debugLineNum = 30670866;BA.debugLine="Dim ret As AnImage"; +_ret = new SHARK2.keymon.com.mx.escposprinter._animage(); +RDebugUtils.currentLine=30670867; + //BA.debugLineNum = 30670867;BA.debugLine="ret.Width = bmp.Width"; +_ret.Width /*int*/ = _bmp.getWidth(); +RDebugUtils.currentLine=30670868; + //BA.debugLineNum = 30670868;BA.debugLine="ret.Height = bmp.Height"; +_ret.Height /*int*/ = _bmp.getHeight(); +RDebugUtils.currentLine=30670869; + //BA.debugLineNum = 30670869;BA.debugLine="ret.Data = pixels"; +_ret.Data /*byte[]*/ = _pixels; +RDebugUtils.currentLine=30670870; + //BA.debugLineNum = 30670870;BA.debugLine="Return ret"; +if (true) return _ret; +RDebugUtils.currentLine=30670871; + //BA.debugLineNum = 30670871;BA.debugLine="End Sub"; +return null; +} +public SHARK2.keymon.com.mx.escposprinter._animage _ditherimage2d(SHARK2.keymon.com.mx.escposprinter __ref,SHARK2.keymon.com.mx.escposprinter._animage _img,int _threshold) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "ditherimage2d", false)) + {return ((SHARK2.keymon.com.mx.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; +SHARK2.keymon.com.mx.escposprinter._animage _ret = null; +RDebugUtils.currentLine=30867456; + //BA.debugLineNum = 30867456;BA.debugLine="Sub DitherImage2D(img As AnImage, threshold As Int"; +RDebugUtils.currentLine=30867457; + //BA.debugLineNum = 30867457;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +_pixels = new byte[_img.Data /*byte[]*/ .length]; +; +RDebugUtils.currentLine=30867458; + //BA.debugLineNum = 30867458;BA.debugLine="Dim xerror As Int"; +_xerror = 0; +RDebugUtils.currentLine=30867459; + //BA.debugLineNum = 30867459;BA.debugLine="Dim yerrors(img.Width) As Int"; +_yerrors = new int[_img.Width /*int*/ ]; +; +RDebugUtils.currentLine=30867460; + //BA.debugLineNum = 30867460;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=30867461; + //BA.debugLineNum = 30867461;BA.debugLine="yerrors(0) = 0"; +_yerrors[(int) (0)] = (int) (0); + } +}; +RDebugUtils.currentLine=30867463; + //BA.debugLineNum = 30867463;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=30867464; + //BA.debugLineNum = 30867464;BA.debugLine="xerror = 0 ' reset on each new line"; +_xerror = (int) (0); +RDebugUtils.currentLine=30867465; + //BA.debugLineNum = 30867465;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=30867466; + //BA.debugLineNum = 30867466;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=30867467; + //BA.debugLineNum = 30867467;BA.debugLine="lum = lum + xerror + yerrors(x)"; +_lum = (int) (_lum+_xerror+_yerrors[_x]); +RDebugUtils.currentLine=30867468; + //BA.debugLineNum = 30867468;BA.debugLine="If lum < threshold Then"; +if (_lum<_threshold) { +RDebugUtils.currentLine=30867469; + //BA.debugLineNum = 30867469;BA.debugLine="xerror = lum/2"; +_xerror = (int) (_lum/(double)2); +RDebugUtils.currentLine=30867470; + //BA.debugLineNum = 30867470;BA.debugLine="yerrors(x) = xerror"; +_yerrors[_x] = _xerror; +RDebugUtils.currentLine=30867471; + //BA.debugLineNum = 30867471;BA.debugLine="lum = 1"; +_lum = (int) (1); + }else { +RDebugUtils.currentLine=30867473; + //BA.debugLineNum = 30867473;BA.debugLine="xerror = (lum - 255)/2"; +_xerror = (int) ((_lum-255)/(double)2); +RDebugUtils.currentLine=30867474; + //BA.debugLineNum = 30867474;BA.debugLine="yerrors(x) = xerror"; +_yerrors[_x] = _xerror; +RDebugUtils.currentLine=30867475; + //BA.debugLineNum = 30867475;BA.debugLine="lum = 0"; +_lum = (int) (0); + }; +RDebugUtils.currentLine=30867477; + //BA.debugLineNum = 30867477;BA.debugLine="pixels(y*img.Width + x) = lum"; +_pixels[(int) (_y*_img.Width /*int*/ +_x)] = (byte) (_lum); + } +}; + } +}; +RDebugUtils.currentLine=30867480; + //BA.debugLineNum = 30867480;BA.debugLine="Dim ret As AnImage"; +_ret = new SHARK2.keymon.com.mx.escposprinter._animage(); +RDebugUtils.currentLine=30867481; + //BA.debugLineNum = 30867481;BA.debugLine="ret.Width = img.Width"; +_ret.Width /*int*/ = _img.Width /*int*/ ; +RDebugUtils.currentLine=30867482; + //BA.debugLineNum = 30867482;BA.debugLine="ret.Height = img.Height"; +_ret.Height /*int*/ = _img.Height /*int*/ ; +RDebugUtils.currentLine=30867483; + //BA.debugLineNum = 30867483;BA.debugLine="ret.Data = pixels"; +_ret.Data /*byte[]*/ = _pixels; +RDebugUtils.currentLine=30867484; + //BA.debugLineNum = 30867484;BA.debugLine="Return ret"; +if (true) return _ret; +RDebugUtils.currentLine=30867485; + //BA.debugLineNum = 30867485;BA.debugLine="End Sub"; +return null; +} +public SHARK2.keymon.com.mx.escposprinter._animage _packimage(SHARK2.keymon.com.mx.escposprinter __ref,SHARK2.keymon.com.mx.escposprinter._animage _imagedata) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "packimage", false)) + {return ((SHARK2.keymon.com.mx.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; +SHARK2.keymon.com.mx.escposprinter._animage _ret = null; +RDebugUtils.currentLine=30998528; + //BA.debugLineNum = 30998528;BA.debugLine="Public Sub PackImage(imagedata As AnImage) As AnIm"; +RDebugUtils.currentLine=30998529; + //BA.debugLineNum = 30998529;BA.debugLine="Dim xbytes As Int = imagedata.width/8"; +_xbytes = (int) (_imagedata.Width /*int*/ /(double)8); +RDebugUtils.currentLine=30998530; + //BA.debugLineNum = 30998530;BA.debugLine="Dim pixels(xbytes * imagedata.height) As Byte"; +_pixels = new byte[(int) (_xbytes*_imagedata.Height /*int*/ )]; +; +RDebugUtils.currentLine=30998531; + //BA.debugLineNum = 30998531;BA.debugLine="Dim masks(8) As Byte"; +_masks = new byte[(int) (8)]; +; +RDebugUtils.currentLine=30998532; + //BA.debugLineNum = 30998532;BA.debugLine="masks(0) = 0x80"; +_masks[(int) (0)] = (byte) (((int)0x80)); +RDebugUtils.currentLine=30998533; + //BA.debugLineNum = 30998533;BA.debugLine="masks(1) = 0x40"; +_masks[(int) (1)] = (byte) (((int)0x40)); +RDebugUtils.currentLine=30998534; + //BA.debugLineNum = 30998534;BA.debugLine="masks(2) = 0x20"; +_masks[(int) (2)] = (byte) (((int)0x20)); +RDebugUtils.currentLine=30998535; + //BA.debugLineNum = 30998535;BA.debugLine="masks(3) = 0x10"; +_masks[(int) (3)] = (byte) (((int)0x10)); +RDebugUtils.currentLine=30998536; + //BA.debugLineNum = 30998536;BA.debugLine="masks(4) = 0x08"; +_masks[(int) (4)] = (byte) (((int)0x08)); +RDebugUtils.currentLine=30998537; + //BA.debugLineNum = 30998537;BA.debugLine="masks(5) = 0x04"; +_masks[(int) (5)] = (byte) (((int)0x04)); +RDebugUtils.currentLine=30998538; + //BA.debugLineNum = 30998538;BA.debugLine="masks(6) = 0x02"; +_masks[(int) (6)] = (byte) (((int)0x02)); +RDebugUtils.currentLine=30998539; + //BA.debugLineNum = 30998539;BA.debugLine="masks(7) = 0x01"; +_masks[(int) (7)] = (byte) (((int)0x01)); +RDebugUtils.currentLine=30998540; + //BA.debugLineNum = 30998540;BA.debugLine="Dim index As Int = 0"; +_index = (int) (0); +RDebugUtils.currentLine=30998541; + //BA.debugLineNum = 30998541;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=30998542; + //BA.debugLineNum = 30998542;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=30998543; + //BA.debugLineNum = 30998543;BA.debugLine="Dim xbyte As Byte = 0"; +_xbyte = (byte) (0); +RDebugUtils.currentLine=30998544; + //BA.debugLineNum = 30998544;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=30998546; + //BA.debugLineNum = 30998546;BA.debugLine="Dim pix As Byte = imagedata.Data(index)"; +_pix = _imagedata.Data /*byte[]*/ [_index]; +RDebugUtils.currentLine=30998547; + //BA.debugLineNum = 30998547;BA.debugLine="If pix <> 0 Then"; +if (_pix!=0) { +RDebugUtils.currentLine=30998548; + //BA.debugLineNum = 30998548;BA.debugLine="xbyte = xbyte + masks(b)"; +_xbyte = (byte) (_xbyte+_masks[_b]); + }; +RDebugUtils.currentLine=30998550; + //BA.debugLineNum = 30998550;BA.debugLine="index = index + 1"; +_index = (int) (_index+1); + } +}; +RDebugUtils.currentLine=30998552; + //BA.debugLineNum = 30998552;BA.debugLine="pixels(y*xbytes + x) = xbyte"; +_pixels[(int) (_y*_xbytes+_x)] = _xbyte; + } +}; + } +}; +RDebugUtils.currentLine=30998555; + //BA.debugLineNum = 30998555;BA.debugLine="Dim ret As AnImage"; +_ret = new SHARK2.keymon.com.mx.escposprinter._animage(); +RDebugUtils.currentLine=30998556; + //BA.debugLineNum = 30998556;BA.debugLine="ret.Width = xbytes"; +_ret.Width /*int*/ = _xbytes; +RDebugUtils.currentLine=30998557; + //BA.debugLineNum = 30998557;BA.debugLine="ret.Height = imagedata.Height"; +_ret.Height /*int*/ = _imagedata.Height /*int*/ ; +RDebugUtils.currentLine=30998558; + //BA.debugLineNum = 30998558;BA.debugLine="ret.Data = pixels"; +_ret.Data /*byte[]*/ = _pixels; +RDebugUtils.currentLine=30998559; + //BA.debugLineNum = 30998559;BA.debugLine="Return ret"; +if (true) return _ret; +RDebugUtils.currentLine=30998560; + //BA.debugLineNum = 30998560;BA.debugLine="End Sub"; +return null; +} +public int _printimage(SHARK2.keymon.com.mx.escposprinter __ref,SHARK2.keymon.com.mx.escposprinter._animage _img) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "printimage", false)) + {return ((Integer) Debug.delegate(ba, "printimage", new Object[] {_img}));} +int _xh = 0; +int _xl = 0; +int _yh = 0; +int _yl = 0; +byte[] _params = null; +RDebugUtils.currentLine=30932992; + //BA.debugLineNum = 30932992;BA.debugLine="Public Sub PrintImage(img As AnImage) As Int"; +RDebugUtils.currentLine=30932995; + //BA.debugLineNum = 30932995;BA.debugLine="If img.width > 72 Then Return -1"; +if (_img.Width /*int*/ >72) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=30932996; + //BA.debugLineNum = 30932996;BA.debugLine="If img.height > 512 Then Return -2"; +if (_img.Height /*int*/ >512) { +if (true) return (int) (-2);}; +RDebugUtils.currentLine=30932997; + //BA.debugLineNum = 30932997;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=30932998; + //BA.debugLineNum = 30932998;BA.debugLine="Dim xh As Int = img.width / 256"; +_xh = (int) (_img.Width /*int*/ /(double)256); +RDebugUtils.currentLine=30932999; + //BA.debugLineNum = 30932999;BA.debugLine="Dim xl As Int = img.width - xh * 256"; +_xl = (int) (_img.Width /*int*/ -_xh*256); +RDebugUtils.currentLine=30933000; + //BA.debugLineNum = 30933000;BA.debugLine="Dim yh As Int = img.height / 256"; +_yh = (int) (_img.Height /*int*/ /(double)256); +RDebugUtils.currentLine=30933001; + //BA.debugLineNum = 30933001;BA.debugLine="Dim yl As Int = img.height - yh * 256"; +_yl = (int) (_img.Height /*int*/ -_yh*256); +RDebugUtils.currentLine=30933002; + //BA.debugLineNum = 30933002;BA.debugLine="Dim params(5) As Byte"; +_params = new byte[(int) (5)]; +; +RDebugUtils.currentLine=30933003; + //BA.debugLineNum = 30933003;BA.debugLine="params(0) = 0 '"; +_params[(int) (0)] = (byte) (0); +RDebugUtils.currentLine=30933004; + //BA.debugLineNum = 30933004;BA.debugLine="params(1) = xl"; +_params[(int) (1)] = (byte) (_xl); +RDebugUtils.currentLine=30933005; + //BA.debugLineNum = 30933005;BA.debugLine="params(2) = xh"; +_params[(int) (2)] = (byte) (_xh); +RDebugUtils.currentLine=30933006; + //BA.debugLineNum = 30933006;BA.debugLine="params(3) = yl"; +_params[(int) (3)] = (byte) (_yl); +RDebugUtils.currentLine=30933007; + //BA.debugLineNum = 30933007;BA.debugLine="params(4) = yh"; +_params[(int) (4)] = (byte) (_yh); +RDebugUtils.currentLine=30933008; + //BA.debugLineNum = 30933008;BA.debugLine="WriteString(GS & \"v0\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"v0"); +RDebugUtils.currentLine=30933009; + //BA.debugLineNum = 30933009;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=30933010; + //BA.debugLineNum = 30933010;BA.debugLine="WriteBytes(img.data)"; +__ref._writebytes /*String*/ (null,_img.Data /*byte[]*/ ); +RDebugUtils.currentLine=30933011; + //BA.debugLineNum = 30933011;BA.debugLine="WriteString(CRLF)"; +__ref._writestring /*String*/ (null,__c.CRLF); +RDebugUtils.currentLine=30933012; + //BA.debugLineNum = 30933012;BA.debugLine="Return 0"; +if (true) return (int) (0); +RDebugUtils.currentLine=30933013; + //BA.debugLineNum = 30933013;BA.debugLine="End Sub"; +return 0; +} +public String _astream_error(SHARK2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "astream_error", false)) + {return ((String) Debug.delegate(ba, "astream_error", null));} +RDebugUtils.currentLine=31784960; + //BA.debugLineNum = 31784960;BA.debugLine="Private Sub AStream_Error"; +RDebugUtils.currentLine=31784961; + //BA.debugLineNum = 31784961;BA.debugLine="If SubExists(CallBack, EventName & \"_Error\") Then"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Error")) { +RDebugUtils.currentLine=31784962; + //BA.debugLineNum = 31784962;BA.debugLine="CallSub(CallBack, EventName & \"_Error\")"; +__c.CallSubNew(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Error"); + }; +RDebugUtils.currentLine=31784964; + //BA.debugLineNum = 31784964;BA.debugLine="End Sub"; +return ""; +} +public String _astream_newdata(SHARK2.keymon.com.mx.escposprinter __ref,byte[] _buffer) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "astream_newdata", false)) + {return ((String) Debug.delegate(ba, "astream_newdata", new Object[] {_buffer}));} +RDebugUtils.currentLine=31719424; + //BA.debugLineNum = 31719424;BA.debugLine="Private Sub AStream_NewData (Buffer() As Byte)"; +RDebugUtils.currentLine=31719425; + //BA.debugLineNum = 31719425;BA.debugLine="If SubExists(CallBack, EventName & \"_NewData\") Th"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_NewData")) { +RDebugUtils.currentLine=31719426; + //BA.debugLineNum = 31719426;BA.debugLine="CallSub2(CallBack, EventName & \"_NewData\", Buffe"; +__c.CallSubNew2(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_NewData",(Object)(_buffer)); + }; +RDebugUtils.currentLine=31719428; + //BA.debugLineNum = 31719428;BA.debugLine="Log(\"Data \" & Buffer(0))"; +__c.LogImpl("531719428","Data "+BA.NumberToString(_buffer[(int) (0)]),0); +RDebugUtils.currentLine=31719429; + //BA.debugLineNum = 31719429;BA.debugLine="End Sub"; +return ""; +} +public String _astream_terminated(SHARK2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "astream_terminated", false)) + {return ((String) Debug.delegate(ba, "astream_terminated", null));} +RDebugUtils.currentLine=31850496; + //BA.debugLineNum = 31850496;BA.debugLine="Private Sub AStream_Terminated"; +RDebugUtils.currentLine=31850497; + //BA.debugLineNum = 31850497;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=31850498; + //BA.debugLineNum = 31850498;BA.debugLine="If SubExists(CallBack, EventName & \"_Terminated\")"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Terminated")) { +RDebugUtils.currentLine=31850499; + //BA.debugLineNum = 31850499;BA.debugLine="CallSub(CallBack, EventName & \"_Terminated\")"; +__c.CallSubNew(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Terminated"); + }; +RDebugUtils.currentLine=31850501; + //BA.debugLineNum = 31850501;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +RDebugUtils.currentLine=28246016; + //BA.debugLineNum = 28246016;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=28246023; + //BA.debugLineNum = 28246023;BA.debugLine="Private Version As Double = 2.0 ' Printer class v"; +_version = 2.0; +RDebugUtils.currentLine=28246025; + //BA.debugLineNum = 28246025;BA.debugLine="Type AnImage(Width As Int, Height As Int, Data()"; +; +RDebugUtils.currentLine=28246027; + //BA.debugLineNum = 28246027;BA.debugLine="Private EventName As String 'ignore"; +_eventname = ""; +RDebugUtils.currentLine=28246028; + //BA.debugLineNum = 28246028;BA.debugLine="Private CallBack As Object 'ignore"; +_callback = new Object(); +RDebugUtils.currentLine=28246030; + //BA.debugLineNum = 28246030;BA.debugLine="Private Serial1 As Serial"; +_serial1 = new anywheresoftware.b4a.objects.Serial(); +RDebugUtils.currentLine=28246031; + //BA.debugLineNum = 28246031;BA.debugLine="Private Astream As AsyncStreams"; +_astream = new anywheresoftware.b4a.randomaccessfile.AsyncStreams(); +RDebugUtils.currentLine=28246032; + //BA.debugLineNum = 28246032;BA.debugLine="Private Connected As Boolean"; +_connected = false; +RDebugUtils.currentLine=28246033; + //BA.debugLineNum = 28246033;BA.debugLine="Private ConnectedError As String"; +_connectederror = ""; +RDebugUtils.currentLine=28246035; + //BA.debugLineNum = 28246035;BA.debugLine="Dim ESC As String = Chr(27)"; +_esc = BA.ObjectToString(__c.Chr((int) (27))); +RDebugUtils.currentLine=28246036; + //BA.debugLineNum = 28246036;BA.debugLine="Dim FS As String = Chr(28)"; +_fs = BA.ObjectToString(__c.Chr((int) (28))); +RDebugUtils.currentLine=28246037; + //BA.debugLineNum = 28246037;BA.debugLine="Dim GS As String = Chr(29)"; +_gs = BA.ObjectToString(__c.Chr((int) (29))); +RDebugUtils.currentLine=28246040; + //BA.debugLineNum = 28246040;BA.debugLine="Dim UNREVERSE As String = GS & \"B\" & Chr(0)"; +_unreverse = __ref._gs /*String*/ +"B"+BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=28246041; + //BA.debugLineNum = 28246041;BA.debugLine="Dim REVERSE As String = GS & \"B\" & Chr(1)"; +_reverse = __ref._gs /*String*/ +"B"+BA.ObjectToString(__c.Chr((int) (1))); +RDebugUtils.currentLine=28246044; + //BA.debugLineNum = 28246044;BA.debugLine="Dim UNINVERT As String = ESC & \"{0\""; +_uninvert = __ref._esc /*String*/ +"{0"; +RDebugUtils.currentLine=28246045; + //BA.debugLineNum = 28246045;BA.debugLine="Dim INVERT As String = ESC & \"{1\""; +_invert = __ref._esc /*String*/ +"{1"; +RDebugUtils.currentLine=28246048; + //BA.debugLineNum = 28246048;BA.debugLine="Dim UNROTATE As String = ESC & \"V0\""; +_unrotate = __ref._esc /*String*/ +"V0"; +RDebugUtils.currentLine=28246049; + //BA.debugLineNum = 28246049;BA.debugLine="Dim ROTATE As String = ESC & \"V1\""; +_rotate = __ref._esc /*String*/ +"V1"; +RDebugUtils.currentLine=28246052; + //BA.debugLineNum = 28246052;BA.debugLine="Dim HT As String = Chr(9)"; +_ht = BA.ObjectToString(__c.Chr((int) (9))); +RDebugUtils.currentLine=28246055; + //BA.debugLineNum = 28246055;BA.debugLine="Dim ULINE0 As String = ESC & \"-0\""; +_uline0 = __ref._esc /*String*/ +"-0"; +RDebugUtils.currentLine=28246056; + //BA.debugLineNum = 28246056;BA.debugLine="Dim ULINE1 As String = ESC & \"-1\""; +_uline1 = __ref._esc /*String*/ +"-1"; +RDebugUtils.currentLine=28246057; + //BA.debugLineNum = 28246057;BA.debugLine="Dim ULINE2 As String = ESC & \"-2\""; +_uline2 = __ref._esc /*String*/ +"-2"; +RDebugUtils.currentLine=28246060; + //BA.debugLineNum = 28246060;BA.debugLine="Dim BOLD As String = ESC & \"E1\""; +_bold = __ref._esc /*String*/ +"E1"; +RDebugUtils.currentLine=28246061; + //BA.debugLineNum = 28246061;BA.debugLine="Dim NOBOLD As String = ESC & \"E0\""; +_nobold = __ref._esc /*String*/ +"E0"; +RDebugUtils.currentLine=28246064; + //BA.debugLineNum = 28246064;BA.debugLine="Dim SINGLE As String = GS & \"!\" & Chr(0x00)"; +_single = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x00))); +RDebugUtils.currentLine=28246065; + //BA.debugLineNum = 28246065;BA.debugLine="Dim HIGH As String = GS & \"!\" & Chr(0x01)"; +_high = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x01))); +RDebugUtils.currentLine=28246066; + //BA.debugLineNum = 28246066;BA.debugLine="Dim WIDE As String = GS & \"!\" & Chr(0x10)"; +_wide = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x10))); +RDebugUtils.currentLine=28246067; + //BA.debugLineNum = 28246067;BA.debugLine="Dim HIGHWIDE As String = GS & \"!\" & Chr(0x11)"; +_highwide = __ref._gs /*String*/ +"!"+BA.ObjectToString(__c.Chr(((int)0x11))); +RDebugUtils.currentLine=28246070; + //BA.debugLineNum = 28246070;BA.debugLine="Private LEFTJUSTIFY As String = ESC & \"a0\""; +_leftjustify = __ref._esc /*String*/ +"a0"; +RDebugUtils.currentLine=28246071; + //BA.debugLineNum = 28246071;BA.debugLine="Private LINEDEFAULT As String = ESC & \"2\""; +_linedefault = __ref._esc /*String*/ +"2"; +RDebugUtils.currentLine=28246072; + //BA.debugLineNum = 28246072;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=28246073; + //BA.debugLineNum = 28246073;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=28246074; + //BA.debugLineNum = 28246074;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=28246075; + //BA.debugLineNum = 28246075;BA.debugLine="Private CHARSPACING0 As String = ESC & \" \" & Chr("; +_charspacing0 = __ref._esc /*String*/ +" "+BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=28246076; + //BA.debugLineNum = 28246076;BA.debugLine="Private CHARFONT0 As String = ESC & \"M\" & Chr(0)"; +_charfont0 = __ref._esc /*String*/ +"M"+BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=28246077; + //BA.debugLineNum = 28246077;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=28246080; + //BA.debugLineNum = 28246080;BA.debugLine="End Sub"; +return ""; +} +public String _connectederrormsg(SHARK2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "connectederrormsg", false)) + {return ((String) Debug.delegate(ba, "connectederrormsg", null));} +RDebugUtils.currentLine=28377088; + //BA.debugLineNum = 28377088;BA.debugLine="Public Sub ConnectedErrorMsg As String"; +RDebugUtils.currentLine=28377089; + //BA.debugLineNum = 28377089;BA.debugLine="Return ConnectedError"; +if (true) return __ref._connectederror /*String*/ ; +RDebugUtils.currentLine=28377090; + //BA.debugLineNum = 28377090;BA.debugLine="End Sub"; +return ""; +} +public int _createbox(SHARK2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,boolean _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createbox", false)) + {return ((Integer) Debug.delegate(ba, "createbox", new Object[] {_x0,_y0,_x1,_y1,_fill}));} +int _box = 0; +RDebugUtils.currentLine=30146560; + //BA.debugLineNum = 30146560;BA.debugLine="Public Sub CreateBox(x0 As Int, y0 As Int, x1 As I"; +RDebugUtils.currentLine=30146561; + //BA.debugLineNum = 30146561;BA.debugLine="Dim box As Int = 0x10000000"; +_box = ((int)0x10000000); +RDebugUtils.currentLine=30146562; + //BA.debugLineNum = 30146562;BA.debugLine="If fill Then box = box + 0x80000000"; +if (_fill) { +_box = (int) (_box+((int)0x80000000));}; +RDebugUtils.currentLine=30146563; + //BA.debugLineNum = 30146563;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=30146564; + //BA.debugLineNum = 30146564;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=30146565; + //BA.debugLineNum = 30146565;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=30146566; + //BA.debugLineNum = 30146566;BA.debugLine="box = box + Bit.And(0x1f,y1)"; +_box = (int) (_box+__c.Bit.And(((int)0x1f),_y1)); +RDebugUtils.currentLine=30146567; + //BA.debugLineNum = 30146567;BA.debugLine="Return box"; +if (true) return _box; +RDebugUtils.currentLine=30146568; + //BA.debugLineNum = 30146568;BA.debugLine="End Sub"; +return 0; +} +public int _createcircle(SHARK2.keymon.com.mx.escposprinter __ref,int _radius,int _quadrants,int _x1,int _y1,boolean _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createcircle", false)) + {return ((Integer) Debug.delegate(ba, "createcircle", new Object[] {_radius,_quadrants,_x1,_y1,_fill}));} +int _circle = 0; +RDebugUtils.currentLine=30015488; + //BA.debugLineNum = 30015488;BA.debugLine="Public Sub CreateCircle(radius As Int, quadrants A"; +RDebugUtils.currentLine=30015489; + //BA.debugLineNum = 30015489;BA.debugLine="Dim circle As Int = 0x20000000"; +_circle = ((int)0x20000000); +RDebugUtils.currentLine=30015490; + //BA.debugLineNum = 30015490;BA.debugLine="If fill Then circle = circle + 0x80000000"; +if (_fill) { +_circle = (int) (_circle+((int)0x80000000));}; +RDebugUtils.currentLine=30015491; + //BA.debugLineNum = 30015491;BA.debugLine="circle = circle + Bit.ShiftLeft(radius, 24)"; +_circle = (int) (_circle+__c.Bit.ShiftLeft(_radius,(int) (24))); +RDebugUtils.currentLine=30015492; + //BA.debugLineNum = 30015492;BA.debugLine="circle = circle + Bit.ShiftLeft(quadrants, 16)"; +_circle = (int) (_circle+__c.Bit.ShiftLeft(_quadrants,(int) (16))); +RDebugUtils.currentLine=30015493; + //BA.debugLineNum = 30015493;BA.debugLine="circle = circle + Bit.ShiftLeft(x1, 8)"; +_circle = (int) (_circle+__c.Bit.ShiftLeft(_x1,(int) (8))); +RDebugUtils.currentLine=30015494; + //BA.debugLineNum = 30015494;BA.debugLine="circle = circle + y1"; +_circle = (int) (_circle+_y1); +RDebugUtils.currentLine=30015495; + //BA.debugLineNum = 30015495;BA.debugLine="Return circle"; +if (true) return _circle; +RDebugUtils.currentLine=30015496; + //BA.debugLineNum = 30015496;BA.debugLine="End Sub"; +return 0; +} +public byte[] _createcustomcharacter(SHARK2.keymon.com.mx.escposprinter __ref,int[] _shapes,int _characterfont) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createcustomcharacter", false)) + {return ((byte[]) Debug.delegate(ba, "createcustomcharacter", new Object[] {_shapes,_characterfont}));} +byte[] _masks = null; +byte[][] _points = null; +int _x = 0; +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=29884416; + //BA.debugLineNum = 29884416;BA.debugLine="Public Sub CreateCustomCharacter(shapes() As Int,"; +RDebugUtils.currentLine=29884417; + //BA.debugLineNum = 29884417;BA.debugLine="Dim masks(8) As Byte"; +_masks = new byte[(int) (8)]; +; +RDebugUtils.currentLine=29884418; + //BA.debugLineNum = 29884418;BA.debugLine="masks(0) = 0x80"; +_masks[(int) (0)] = (byte) (((int)0x80)); +RDebugUtils.currentLine=29884419; + //BA.debugLineNum = 29884419;BA.debugLine="masks(1) = 0x40"; +_masks[(int) (1)] = (byte) (((int)0x40)); +RDebugUtils.currentLine=29884420; + //BA.debugLineNum = 29884420;BA.debugLine="masks(2) = 0x20"; +_masks[(int) (2)] = (byte) (((int)0x20)); +RDebugUtils.currentLine=29884421; + //BA.debugLineNum = 29884421;BA.debugLine="masks(3) = 0x10"; +_masks[(int) (3)] = (byte) (((int)0x10)); +RDebugUtils.currentLine=29884422; + //BA.debugLineNum = 29884422;BA.debugLine="masks(4) = 0x08"; +_masks[(int) (4)] = (byte) (((int)0x08)); +RDebugUtils.currentLine=29884423; + //BA.debugLineNum = 29884423;BA.debugLine="masks(5) = 0x04"; +_masks[(int) (5)] = (byte) (((int)0x04)); +RDebugUtils.currentLine=29884424; + //BA.debugLineNum = 29884424;BA.debugLine="masks(6) = 0x02"; +_masks[(int) (6)] = (byte) (((int)0x02)); +RDebugUtils.currentLine=29884425; + //BA.debugLineNum = 29884425;BA.debugLine="masks(7) = 0x01"; +_masks[(int) (7)] = (byte) (((int)0x01)); +RDebugUtils.currentLine=29884428; + //BA.debugLineNum = 29884428;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=29884430; + //BA.debugLineNum = 29884430;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=29884431; + //BA.debugLineNum = 29884431;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=29884432; + //BA.debugLineNum = 29884432;BA.debugLine="points(x,y) = 0"; +_points[_x][_y] = (byte) (0); + } +}; + } +}; +RDebugUtils.currentLine=29884435; + //BA.debugLineNum = 29884435;BA.debugLine="Dim size As Int = 12"; +_size = (int) (12); +RDebugUtils.currentLine=29884436; + //BA.debugLineNum = 29884436;BA.debugLine="If characterfont = 1 Then size = 9"; +if (_characterfont==1) { +_size = (int) (9);}; +RDebugUtils.currentLine=29884437; + //BA.debugLineNum = 29884437;BA.debugLine="Dim charbyes(size * 3) As Byte"; +_charbyes = new byte[(int) (_size*3)]; +; +RDebugUtils.currentLine=29884438; + //BA.debugLineNum = 29884438;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=29884439; + //BA.debugLineNum = 29884439;BA.debugLine="charbyes(c) = 0"; +_charbyes[_c] = (byte) (0); + } +}; +RDebugUtils.currentLine=29884442; + //BA.debugLineNum = 29884442;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=29884443; + //BA.debugLineNum = 29884443;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=29884444; + //BA.debugLineNum = 29884444;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=29884445; + //BA.debugLineNum = 29884445;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=29884446; + //BA.debugLineNum = 29884446;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=29884447; + //BA.debugLineNum = 29884447;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=29884448; + //BA.debugLineNum = 29884448;BA.debugLine="Dim y1 As Int = Bit.And(0x0000001f, shapes(i))"; +_y1 = __c.Bit.And(((int)0x0000001f),_shapes[_i]); +RDebugUtils.currentLine=29884449; + //BA.debugLineNum = 29884449;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=29884450; + //BA.debugLineNum = 29884450;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=29884456; + //BA.debugLineNum = 29884456;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=29884457; + //BA.debugLineNum = 29884457;BA.debugLine="If shape = 3 Then"; +if (_shape==3) { +RDebugUtils.currentLine=29884458; + //BA.debugLineNum = 29884458;BA.debugLine="Log(\"Triangle \" & logmsg)"; +__c.LogImpl("529884458","Triangle "+_logmsg,0); +RDebugUtils.currentLine=29884459; + //BA.debugLineNum = 29884459;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=29884460; + //BA.debugLineNum = 29884460;BA.debugLine="else If shape = 2 Then"; +if (_shape==2) { +RDebugUtils.currentLine=29884461; + //BA.debugLineNum = 29884461;BA.debugLine="Log(\"Circle \" & logmsg)"; +__c.LogImpl("529884461","Circle "+_logmsg,0); +RDebugUtils.currentLine=29884462; + //BA.debugLineNum = 29884462;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)"; +__ref._plotcircle /*String*/ (null,_x0,_y0,_x1,_y1,_points,_fill); + }else +{RDebugUtils.currentLine=29884463; + //BA.debugLineNum = 29884463;BA.debugLine="Else If shape = 1 Then"; +if (_shape==1) { +RDebugUtils.currentLine=29884464; + //BA.debugLineNum = 29884464;BA.debugLine="Log(\"Box \" & logmsg)"; +__c.LogImpl("529884464","Box "+_logmsg,0); +RDebugUtils.currentLine=29884465; + //BA.debugLineNum = 29884465;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)"; +__ref._plotbox /*String*/ (null,_x0,_y0,_x1,_y1,_points,_fill); + }else { +RDebugUtils.currentLine=29884467; + //BA.debugLineNum = 29884467;BA.debugLine="Log(\"Line \" & logmsg)"; +__c.LogImpl("529884467","Line "+_logmsg,0); +RDebugUtils.currentLine=29884468; + //BA.debugLineNum = 29884468;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x1,_y1,_points); + }}} +; +RDebugUtils.currentLine=29884471; + //BA.debugLineNum = 29884471;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=29884472; + //BA.debugLineNum = 29884472;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=29884473; + //BA.debugLineNum = 29884473;BA.debugLine="Dim bits As Byte = 0"; +_bits = (byte) (0); +RDebugUtils.currentLine=29884474; + //BA.debugLineNum = 29884474;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=29884475; + //BA.debugLineNum = 29884475;BA.debugLine="If points(x, y*8+b) <> 0 Then"; +if (_points[_x][(int) (_y*8+_b)]!=0) { +RDebugUtils.currentLine=29884476; + //BA.debugLineNum = 29884476;BA.debugLine="bits = Bit.Or(bits, masks(b))"; +_bits = (byte) (__c.Bit.Or((int) (_bits),(int) (_masks[_b]))); + }; + } +}; +RDebugUtils.currentLine=29884479; + //BA.debugLineNum = 29884479;BA.debugLine="charbyes(x*3+y) = bits"; +_charbyes[(int) (_x*3+_y)] = _bits; + } +}; + } +}; + } +}; +RDebugUtils.currentLine=29884483; + //BA.debugLineNum = 29884483;BA.debugLine="Return charbyes"; +if (true) return _charbyes; +RDebugUtils.currentLine=29884484; + //BA.debugLineNum = 29884484;BA.debugLine="End Sub"; +return null; +} +public String _plottriangle(SHARK2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,byte[][] _points,int _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plottriangle", false)) + {return ((String) Debug.delegate(ba, "plottriangle", new Object[] {_x0,_y0,_x1,_y1,_x2,_y2,_points,_fill}));} +RDebugUtils.currentLine=30212096; + //BA.debugLineNum = 30212096;BA.debugLine="Private Sub PlotTriangle(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=30212098; + //BA.debugLineNum = 30212098;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x1,_y1,_points); +RDebugUtils.currentLine=30212099; + //BA.debugLineNum = 30212099;BA.debugLine="PlotLine(x1, y1, x2, y2, points)"; +__ref._plotline /*String*/ (null,_x1,_y1,_x2,_y2,_points); +RDebugUtils.currentLine=30212100; + //BA.debugLineNum = 30212100;BA.debugLine="PlotLine(x2, y2, x0, y0, points)"; +__ref._plotline /*String*/ (null,_x2,_y2,_x0,_y0,_points); +RDebugUtils.currentLine=30212101; + //BA.debugLineNum = 30212101;BA.debugLine="If Fill > 0 Then"; +if (_fill>0) { +RDebugUtils.currentLine=30212102; + //BA.debugLineNum = 30212102;BA.debugLine="FillTriangle(x0, y0, x1, y1, x2, y2, points)"; +__ref._filltriangle /*String*/ (null,_x0,_y0,_x1,_y1,_x2,_y2,_points); + }; +RDebugUtils.currentLine=30212104; + //BA.debugLineNum = 30212104;BA.debugLine="End Sub"; +return ""; +} +public String _plotcircle(SHARK2.keymon.com.mx.escposprinter __ref,int _radius,int _quadrants,int _x1,int _y1,byte[][] _points,int _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotcircle", false)) + {return ((String) Debug.delegate(ba, "plotcircle", new Object[] {_radius,_quadrants,_x1,_y1,_points,_fill}));} +int _mask = 0; +int _q = 0; +int _i = 0; +double _x = 0; +double _y = 0; +RDebugUtils.currentLine=30408704; + //BA.debugLineNum = 30408704;BA.debugLine="Private Sub PlotCircle(radius As Int, quadrants As"; +RDebugUtils.currentLine=30408706; + //BA.debugLineNum = 30408706;BA.debugLine="Dim mask As Int = 1"; +_mask = (int) (1); +RDebugUtils.currentLine=30408707; + //BA.debugLineNum = 30408707;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=30408708; + //BA.debugLineNum = 30408708;BA.debugLine="If Bit.And(quadrants, mask) <> 0 Then"; +if (__c.Bit.And(_quadrants,_mask)!=0) { +RDebugUtils.currentLine=30408709; + //BA.debugLineNum = 30408709;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=30408710; + //BA.debugLineNum = 30408710;BA.debugLine="Dim x,y As Double"; +_x = 0; +_y = 0; +RDebugUtils.currentLine=30408711; + //BA.debugLineNum = 30408711;BA.debugLine="x = x1 - SinD(i)*radius"; +_x = _x1-__c.SinD(_i)*_radius; +RDebugUtils.currentLine=30408712; + //BA.debugLineNum = 30408712;BA.debugLine="y = y1 - CosD(i)*radius"; +_y = _y1-__c.CosD(_i)*_radius; +RDebugUtils.currentLine=30408713; + //BA.debugLineNum = 30408713;BA.debugLine="If fill > 0 Then"; +if (_fill>0) { +RDebugUtils.currentLine=30408714; + //BA.debugLineNum = 30408714;BA.debugLine="PlotLine(x1, y1, x, y, points)"; +__ref._plotline /*String*/ (null,_x1,_y1,(int) (_x),(int) (_y),_points); + }else { +RDebugUtils.currentLine=30408716; + //BA.debugLineNum = 30408716;BA.debugLine="points(Round(x), Round(y)) = 1"; +_points[(int) (__c.Round(_x))][(int) (__c.Round(_y))] = (byte) (1); + }; + } +}; + }; +RDebugUtils.currentLine=30408720; + //BA.debugLineNum = 30408720;BA.debugLine="mask = Bit.ShiftLeft(mask, 1)"; +_mask = __c.Bit.ShiftLeft(_mask,(int) (1)); + } +}; +RDebugUtils.currentLine=30408722; + //BA.debugLineNum = 30408722;BA.debugLine="End Sub"; +return ""; +} +public String _plotbox(SHARK2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,byte[][] _points,int _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotbox", false)) + {return ((String) Debug.delegate(ba, "plotbox", new Object[] {_x0,_y0,_x1,_y1,_points,_fill}));} +int _x = 0; +RDebugUtils.currentLine=30343168; + //BA.debugLineNum = 30343168;BA.debugLine="Private Sub PlotBox(x0 As Int, y0 As Int, x1 As In"; +RDebugUtils.currentLine=30343170; + //BA.debugLineNum = 30343170;BA.debugLine="PlotLine(x0, y0, x0, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x0,_y1,_points); +RDebugUtils.currentLine=30343171; + //BA.debugLineNum = 30343171;BA.debugLine="PlotLine(x0, y0, x1, y0, points)"; +__ref._plotline /*String*/ (null,_x0,_y0,_x1,_y0,_points); +RDebugUtils.currentLine=30343172; + //BA.debugLineNum = 30343172;BA.debugLine="PlotLine(x1, y0, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x1,_y0,_x1,_y1,_points); +RDebugUtils.currentLine=30343173; + //BA.debugLineNum = 30343173;BA.debugLine="PlotLine(x0, y1, x1, y1, points)"; +__ref._plotline /*String*/ (null,_x0,_y1,_x1,_y1,_points); +RDebugUtils.currentLine=30343174; + //BA.debugLineNum = 30343174;BA.debugLine="If Fill > 0 Then"; +if (_fill>0) { +RDebugUtils.currentLine=30343175; + //BA.debugLineNum = 30343175;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=30343176; + //BA.debugLineNum = 30343176;BA.debugLine="PlotLine(x, y0, x, y1, points)"; +__ref._plotline /*String*/ (null,_x,_y0,_x,_y1,_points); + } +}; + }; +RDebugUtils.currentLine=30343179; + //BA.debugLineNum = 30343179;BA.debugLine="End Sub"; +return ""; +} +public String _plotline(SHARK2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotline", false)) + {return ((String) Debug.delegate(ba, "plotline", new Object[] {_x0,_y0,_x1,_y1,_points}));} +RDebugUtils.currentLine=30474240; + //BA.debugLineNum = 30474240;BA.debugLine="Private Sub PlotLine(x0 As Int, y0 As Int, x1 As I"; +RDebugUtils.currentLine=30474241; + //BA.debugLineNum = 30474241;BA.debugLine="If Abs(y1 - y0) < Abs(x1 - x0) Then"; +if (__c.Abs(_y1-_y0)<__c.Abs(_x1-_x0)) { +RDebugUtils.currentLine=30474242; + //BA.debugLineNum = 30474242;BA.debugLine="If x0 > x1 Then"; +if (_x0>_x1) { +RDebugUtils.currentLine=30474243; + //BA.debugLineNum = 30474243;BA.debugLine="PlotLineLow(x1, y1, x0, y0, points)"; +__ref._plotlinelow /*String*/ (null,_x1,_y1,_x0,_y0,_points); + }else { +RDebugUtils.currentLine=30474245; + //BA.debugLineNum = 30474245;BA.debugLine="PlotLineLow(x0, y0, x1, y1, points)"; +__ref._plotlinelow /*String*/ (null,_x0,_y0,_x1,_y1,_points); + }; + }else { +RDebugUtils.currentLine=30474248; + //BA.debugLineNum = 30474248;BA.debugLine="If y0 > y1 Then"; +if (_y0>_y1) { +RDebugUtils.currentLine=30474249; + //BA.debugLineNum = 30474249;BA.debugLine="PlotLineHigh(x1, y1, x0, y0, points)"; +__ref._plotlinehigh /*String*/ (null,_x1,_y1,_x0,_y0,_points); + }else { +RDebugUtils.currentLine=30474251; + //BA.debugLineNum = 30474251;BA.debugLine="PlotLineHigh(x0, y0, x1, y1, points)"; +__ref._plotlinehigh /*String*/ (null,_x0,_y0,_x1,_y1,_points); + }; + }; +RDebugUtils.currentLine=30474254; + //BA.debugLineNum = 30474254;BA.debugLine="End Sub"; +return ""; +} +public int _createline(SHARK2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createline", false)) + {return ((Integer) Debug.delegate(ba, "createline", new Object[] {_x0,_y0,_x1,_y1}));} +int _line = 0; +RDebugUtils.currentLine=29949952; + //BA.debugLineNum = 29949952;BA.debugLine="Public Sub CreateLine(x0 As Int, y0 As Int, x1 As"; +RDebugUtils.currentLine=29949953; + //BA.debugLineNum = 29949953;BA.debugLine="Dim line As Int = 0"; +_line = (int) (0); +RDebugUtils.currentLine=29949954; + //BA.debugLineNum = 29949954;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=29949955; + //BA.debugLineNum = 29949955;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=29949956; + //BA.debugLineNum = 29949956;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=29949957; + //BA.debugLineNum = 29949957;BA.debugLine="line = line + Bit.And(0x1f,y1)"; +_line = (int) (_line+__c.Bit.And(((int)0x1f),_y1)); +RDebugUtils.currentLine=29949958; + //BA.debugLineNum = 29949958;BA.debugLine="Return line"; +if (true) return _line; +RDebugUtils.currentLine=29949959; + //BA.debugLineNum = 29949959;BA.debugLine="End Sub"; +return 0; +} +public int _createtriangle(SHARK2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,boolean _fill) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "createtriangle", false)) + {return ((Integer) Debug.delegate(ba, "createtriangle", new Object[] {_x0,_y0,_x1,_y1,_x2,_y2,_fill}));} +int _triangle = 0; +RDebugUtils.currentLine=30081024; + //BA.debugLineNum = 30081024;BA.debugLine="Public Sub CreateTriangle(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=30081025; + //BA.debugLineNum = 30081025;BA.debugLine="Dim triangle As Int = 0x30000000"; +_triangle = ((int)0x30000000); +RDebugUtils.currentLine=30081026; + //BA.debugLineNum = 30081026;BA.debugLine="If fill Then triangle = triangle + 0x80000000"; +if (_fill) { +_triangle = (int) (_triangle+((int)0x80000000));}; +RDebugUtils.currentLine=30081027; + //BA.debugLineNum = 30081027;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=30081028; + //BA.debugLineNum = 30081028;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=30081029; + //BA.debugLineNum = 30081029;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=30081030; + //BA.debugLineNum = 30081030;BA.debugLine="triangle = triangle + Bit.And(0x1f,y1)"; +_triangle = (int) (_triangle+__c.Bit.And(((int)0x1f),_y1)); +RDebugUtils.currentLine=30081031; + //BA.debugLineNum = 30081031;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=30081032; + //BA.debugLineNum = 30081032;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=30081033; + //BA.debugLineNum = 30081033;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=30081034; + //BA.debugLineNum = 30081034;BA.debugLine="Return triangle"; +if (true) return _triangle; +RDebugUtils.currentLine=30081035; + //BA.debugLineNum = 30081035;BA.debugLine="End Sub"; +return 0; +} +public int _definecustomcharacter(SHARK2.keymon.com.mx.escposprinter __ref,int _charcode,byte[] _bitdata) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "definecustomcharacter", false)) + {return ((Integer) Debug.delegate(ba, "definecustomcharacter", new Object[] {_charcode,_bitdata}));} +int _excess = 0; +int _size = 0; +byte[] _params = null; +RDebugUtils.currentLine=29818880; + //BA.debugLineNum = 29818880;BA.debugLine="Public Sub DefineCustomCharacter(charcode As Int,"; +RDebugUtils.currentLine=29818881; + //BA.debugLineNum = 29818881;BA.debugLine="Dim excess As Int = bitdata.Length Mod 3"; +_excess = (int) (_bitdata.length%3); +RDebugUtils.currentLine=29818882; + //BA.debugLineNum = 29818882;BA.debugLine="If excess <> 0 Then Return -1"; +if (_excess!=0) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=29818883; + //BA.debugLineNum = 29818883;BA.debugLine="Dim size As Int = bitdata.Length / 3"; +_size = (int) (_bitdata.length/(double)3); +RDebugUtils.currentLine=29818884; + //BA.debugLineNum = 29818884;BA.debugLine="WriteString(ESC & \"&\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"&"); +RDebugUtils.currentLine=29818885; + //BA.debugLineNum = 29818885;BA.debugLine="Dim params(4) As Byte"; +_params = new byte[(int) (4)]; +; +RDebugUtils.currentLine=29818886; + //BA.debugLineNum = 29818886;BA.debugLine="params(0) = 3"; +_params[(int) (0)] = (byte) (3); +RDebugUtils.currentLine=29818887; + //BA.debugLineNum = 29818887;BA.debugLine="params(1) = charcode"; +_params[(int) (1)] = (byte) (_charcode); +RDebugUtils.currentLine=29818888; + //BA.debugLineNum = 29818888;BA.debugLine="params(2) = charcode"; +_params[(int) (2)] = (byte) (_charcode); +RDebugUtils.currentLine=29818889; + //BA.debugLineNum = 29818889;BA.debugLine="params(3) = size"; +_params[(int) (3)] = (byte) (_size); +RDebugUtils.currentLine=29818890; + //BA.debugLineNum = 29818890;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=29818891; + //BA.debugLineNum = 29818891;BA.debugLine="WriteBytes(bitdata)"; +__ref._writebytes /*String*/ (null,_bitdata); +RDebugUtils.currentLine=29818892; + //BA.debugLineNum = 29818892;BA.debugLine="Return 0"; +if (true) return (int) (0); +RDebugUtils.currentLine=29818893; + //BA.debugLineNum = 29818893;BA.debugLine="End Sub"; +return 0; +} +public String _writebytes(SHARK2.keymon.com.mx.escposprinter __ref,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writebytes", false)) + {return ((String) Debug.delegate(ba, "writebytes", new Object[] {_data}));} +RDebugUtils.currentLine=29491200; + //BA.debugLineNum = 29491200;BA.debugLine="Public Sub WriteBytes(data() As Byte)"; +RDebugUtils.currentLine=29491201; + //BA.debugLineNum = 29491201;BA.debugLine="If Connected Then"; +if (__ref._connected /*boolean*/ ) { +RDebugUtils.currentLine=29491202; + //BA.debugLineNum = 29491202;BA.debugLine="Astream.Write(data)"; +__ref._astream /*anywheresoftware.b4a.randomaccessfile.AsyncStreams*/ .Write(_data); + }; +RDebugUtils.currentLine=29491204; + //BA.debugLineNum = 29491204;BA.debugLine="End Sub"; +return ""; +} +public String _deletecustomcharacter(SHARK2.keymon.com.mx.escposprinter __ref,int _charcode) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "deletecustomcharacter", false)) + {return ((String) Debug.delegate(ba, "deletecustomcharacter", new Object[] {_charcode}));} +byte[] _params = null; +RDebugUtils.currentLine=29687808; + //BA.debugLineNum = 29687808;BA.debugLine="Public Sub DeleteCustomCharacter(charcode As Int)"; +RDebugUtils.currentLine=29687809; + //BA.debugLineNum = 29687809;BA.debugLine="WriteString(ESC & \"?\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"?"); +RDebugUtils.currentLine=29687810; + //BA.debugLineNum = 29687810;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=29687811; + //BA.debugLineNum = 29687811;BA.debugLine="params(0) = charcode"; +_params[(int) (0)] = (byte) (_charcode); +RDebugUtils.currentLine=29687812; + //BA.debugLineNum = 29687812;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=29687813; + //BA.debugLineNum = 29687813;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.escposprinter._animage _ditherimage1d(SHARK2.keymon.com.mx.escposprinter __ref,SHARK2.keymon.com.mx.escposprinter._animage _img,int _threshold) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "ditherimage1d", false)) + {return ((SHARK2.keymon.com.mx.escposprinter._animage) Debug.delegate(ba, "ditherimage1d", new Object[] {_img,_threshold}));} +byte[] _pixels = null; +int _error = 0; +int _y = 0; +int _x = 0; +int _lum = 0; +SHARK2.keymon.com.mx.escposprinter._animage _ret = null; +RDebugUtils.currentLine=30801920; + //BA.debugLineNum = 30801920;BA.debugLine="Sub DitherImage1D(img As AnImage, threshold As Int"; +RDebugUtils.currentLine=30801921; + //BA.debugLineNum = 30801921;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +_pixels = new byte[_img.Data /*byte[]*/ .length]; +; +RDebugUtils.currentLine=30801922; + //BA.debugLineNum = 30801922;BA.debugLine="Dim error As Int"; +_error = 0; +RDebugUtils.currentLine=30801923; + //BA.debugLineNum = 30801923;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=30801924; + //BA.debugLineNum = 30801924;BA.debugLine="error = 0 ' reset on each new line"; +_error = (int) (0); +RDebugUtils.currentLine=30801925; + //BA.debugLineNum = 30801925;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=30801926; + //BA.debugLineNum = 30801926;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=30801927; + //BA.debugLineNum = 30801927;BA.debugLine="lum = lum + error"; +_lum = (int) (_lum+_error); +RDebugUtils.currentLine=30801928; + //BA.debugLineNum = 30801928;BA.debugLine="If lum < threshold Then"; +if (_lum<_threshold) { +RDebugUtils.currentLine=30801929; + //BA.debugLineNum = 30801929;BA.debugLine="error = lum"; +_error = _lum; +RDebugUtils.currentLine=30801930; + //BA.debugLineNum = 30801930;BA.debugLine="lum = 1"; +_lum = (int) (1); + }else { +RDebugUtils.currentLine=30801932; + //BA.debugLineNum = 30801932;BA.debugLine="error = lum - 255"; +_error = (int) (_lum-255); +RDebugUtils.currentLine=30801933; + //BA.debugLineNum = 30801933;BA.debugLine="lum = 0"; +_lum = (int) (0); + }; +RDebugUtils.currentLine=30801935; + //BA.debugLineNum = 30801935;BA.debugLine="pixels(y*img.Width + x) = lum"; +_pixels[(int) (_y*_img.Width /*int*/ +_x)] = (byte) (_lum); + } +}; + } +}; +RDebugUtils.currentLine=30801938; + //BA.debugLineNum = 30801938;BA.debugLine="Dim ret As AnImage"; +_ret = new SHARK2.keymon.com.mx.escposprinter._animage(); +RDebugUtils.currentLine=30801939; + //BA.debugLineNum = 30801939;BA.debugLine="ret.Width = img.Width"; +_ret.Width /*int*/ = _img.Width /*int*/ ; +RDebugUtils.currentLine=30801940; + //BA.debugLineNum = 30801940;BA.debugLine="ret.Height = img.Height"; +_ret.Height /*int*/ = _img.Height /*int*/ ; +RDebugUtils.currentLine=30801941; + //BA.debugLineNum = 30801941;BA.debugLine="ret.Data = pixels"; +_ret.Data /*byte[]*/ = _pixels; +RDebugUtils.currentLine=30801942; + //BA.debugLineNum = 30801942;BA.debugLine="Return ret"; +if (true) return _ret; +RDebugUtils.currentLine=30801943; + //BA.debugLineNum = 30801943;BA.debugLine="End Sub"; +return null; +} +public String _filltriangle(SHARK2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,byte[][] _points) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "filltriangle", false)) + {return ((String) Debug.delegate(ba, "filltriangle", new Object[] {_x0,_y0,_x1,_y1,_x2,_y2,_points}));} +int _tx = 0; +int _ty = 0; +double _dx0 = 0; +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=30277632; + //BA.debugLineNum = 30277632;BA.debugLine="Private Sub FillTriangle(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=30277634; + //BA.debugLineNum = 30277634;BA.debugLine="Dim tx, ty As Int"; +_tx = 0; +_ty = 0; +RDebugUtils.currentLine=30277635; + //BA.debugLineNum = 30277635;BA.debugLine="If y0 > y1 Then"; +if (_y0>_y1) { +RDebugUtils.currentLine=30277636; + //BA.debugLineNum = 30277636;BA.debugLine="tx = x0 : ty = y0"; +_tx = _x0; +RDebugUtils.currentLine=30277636; + //BA.debugLineNum = 30277636;BA.debugLine="tx = x0 : ty = y0"; +_ty = _y0; +RDebugUtils.currentLine=30277637; + //BA.debugLineNum = 30277637;BA.debugLine="x0 = x1 : y0 = y1"; +_x0 = _x1; +RDebugUtils.currentLine=30277637; + //BA.debugLineNum = 30277637;BA.debugLine="x0 = x1 : y0 = y1"; +_y0 = _y1; +RDebugUtils.currentLine=30277638; + //BA.debugLineNum = 30277638;BA.debugLine="x1 = tx : y1 = ty"; +_x1 = _tx; +RDebugUtils.currentLine=30277638; + //BA.debugLineNum = 30277638;BA.debugLine="x1 = tx : y1 = ty"; +_y1 = _ty; + }; +RDebugUtils.currentLine=30277640; + //BA.debugLineNum = 30277640;BA.debugLine="If y0 > y2 Then"; +if (_y0>_y2) { +RDebugUtils.currentLine=30277641; + //BA.debugLineNum = 30277641;BA.debugLine="tx = x0 : ty = y0"; +_tx = _x0; +RDebugUtils.currentLine=30277641; + //BA.debugLineNum = 30277641;BA.debugLine="tx = x0 : ty = y0"; +_ty = _y0; +RDebugUtils.currentLine=30277642; + //BA.debugLineNum = 30277642;BA.debugLine="x0 = x2 : y0 = y2"; +_x0 = _x2; +RDebugUtils.currentLine=30277642; + //BA.debugLineNum = 30277642;BA.debugLine="x0 = x2 : y0 = y2"; +_y0 = _y2; +RDebugUtils.currentLine=30277643; + //BA.debugLineNum = 30277643;BA.debugLine="x2 = tx : y2 = ty"; +_x2 = _tx; +RDebugUtils.currentLine=30277643; + //BA.debugLineNum = 30277643;BA.debugLine="x2 = tx : y2 = ty"; +_y2 = _ty; + }; +RDebugUtils.currentLine=30277645; + //BA.debugLineNum = 30277645;BA.debugLine="If y1 > y2 Then"; +if (_y1>_y2) { +RDebugUtils.currentLine=30277646; + //BA.debugLineNum = 30277646;BA.debugLine="tx = x1 : ty = y1"; +_tx = _x1; +RDebugUtils.currentLine=30277646; + //BA.debugLineNum = 30277646;BA.debugLine="tx = x1 : ty = y1"; +_ty = _y1; +RDebugUtils.currentLine=30277647; + //BA.debugLineNum = 30277647;BA.debugLine="x1 = x2 : y1 = y2"; +_x1 = _x2; +RDebugUtils.currentLine=30277647; + //BA.debugLineNum = 30277647;BA.debugLine="x1 = x2 : y1 = y2"; +_y1 = _y2; +RDebugUtils.currentLine=30277648; + //BA.debugLineNum = 30277648;BA.debugLine="x2 = tx : y2 = ty"; +_x2 = _tx; +RDebugUtils.currentLine=30277648; + //BA.debugLineNum = 30277648;BA.debugLine="x2 = tx : y2 = ty"; +_y2 = _ty; + }; +RDebugUtils.currentLine=30277651; + //BA.debugLineNum = 30277651;BA.debugLine="Dim dx0, dx1, dx2 As Double"; +_dx0 = 0; +_dx1 = 0; +_dx2 = 0; +RDebugUtils.currentLine=30277652; + //BA.debugLineNum = 30277652;BA.debugLine="Dim x3, x4, y3, y4 As Double"; +_x3 = 0; +_x4 = 0; +_y3 = 0; +_y4 = 0; +RDebugUtils.currentLine=30277653; + //BA.debugLineNum = 30277653;BA.debugLine="Dim inc As Int"; +_inc = 0; +RDebugUtils.currentLine=30277655; + //BA.debugLineNum = 30277655;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=30277656; + //BA.debugLineNum = 30277656;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=30277657; + //BA.debugLineNum = 30277657;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=30277658; + //BA.debugLineNum = 30277658;BA.debugLine="x3 = x0 : x4 = x0"; +_x3 = _x0; +RDebugUtils.currentLine=30277658; + //BA.debugLineNum = 30277658;BA.debugLine="x3 = x0 : x4 = x0"; +_x4 = _x0; +RDebugUtils.currentLine=30277659; + //BA.debugLineNum = 30277659;BA.debugLine="y3 = y0 : y4 = y0"; +_y3 = _y0; +RDebugUtils.currentLine=30277659; + //BA.debugLineNum = 30277659;BA.debugLine="y3 = y0 : y4 = y0"; +_y4 = _y0; +RDebugUtils.currentLine=30277660; + //BA.debugLineNum = 30277660;BA.debugLine="If dx0 > dx1 Then"; +if (_dx0>_dx1) { +RDebugUtils.currentLine=30277661; + //BA.debugLineNum = 30277661;BA.debugLine="While"; +__c.While(); +RDebugUtils.currentLine=30277662; + //BA.debugLineNum = 30277662;BA.debugLine="Do While y3 <= y1"; +while (_y3<=_y1) { +RDebugUtils.currentLine=30277663; + //BA.debugLineNum = 30277663;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +if (_x3>_x4) { +_inc = (int) (-1);} +else { +_inc = (int) (1);}; +RDebugUtils.currentLine=30277664; + //BA.debugLineNum = 30277664;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=30277665; + //BA.debugLineNum = 30277665;BA.debugLine="points(x, y3) = 1"; +_points[_x][(int) (_y3)] = (byte) (1); + } +}; +RDebugUtils.currentLine=30277667; + //BA.debugLineNum = 30277667;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_y3 = _y3+1; +RDebugUtils.currentLine=30277667; + //BA.debugLineNum = 30277667;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_y4 = _y4+1; +RDebugUtils.currentLine=30277667; + //BA.debugLineNum = 30277667;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_x3 = _x3+_dx1; +RDebugUtils.currentLine=30277667; + //BA.debugLineNum = 30277667;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_x4 = _x4+_dx0; + } +; +RDebugUtils.currentLine=30277669; + //BA.debugLineNum = 30277669;BA.debugLine="x4=x1"; +_x4 = _x1; +RDebugUtils.currentLine=30277670; + //BA.debugLineNum = 30277670;BA.debugLine="y4=y1"; +_y4 = _y1; +RDebugUtils.currentLine=30277671; + //BA.debugLineNum = 30277671;BA.debugLine="Do While y3 <= y2"; +while (_y3<=_y2) { +RDebugUtils.currentLine=30277672; + //BA.debugLineNum = 30277672;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +if (_x3>_x4) { +_inc = (int) (-1);} +else { +_inc = (int) (1);}; +RDebugUtils.currentLine=30277673; + //BA.debugLineNum = 30277673;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=30277674; + //BA.debugLineNum = 30277674;BA.debugLine="points(x ,y3) = 1"; +_points[_x][(int) (_y3)] = (byte) (1); + } +}; +RDebugUtils.currentLine=30277676; + //BA.debugLineNum = 30277676;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_y3 = _y3+1; +RDebugUtils.currentLine=30277676; + //BA.debugLineNum = 30277676;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_y4 = _y4+1; +RDebugUtils.currentLine=30277676; + //BA.debugLineNum = 30277676;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_x3 = _x3+_dx1; +RDebugUtils.currentLine=30277676; + //BA.debugLineNum = 30277676;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; +_x4 = _x4+_dx2; + } +; + }else { +RDebugUtils.currentLine=30277679; + //BA.debugLineNum = 30277679;BA.debugLine="While"; +__c.While(); +RDebugUtils.currentLine=30277680; + //BA.debugLineNum = 30277680;BA.debugLine="Do While y3 <= y1"; +while (_y3<=_y1) { +RDebugUtils.currentLine=30277681; + //BA.debugLineNum = 30277681;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +if (_x3>_x4) { +_inc = (int) (-1);} +else { +_inc = (int) (1);}; +RDebugUtils.currentLine=30277682; + //BA.debugLineNum = 30277682;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=30277683; + //BA.debugLineNum = 30277683;BA.debugLine="points(x, y3) = 1"; +_points[_x][(int) (_y3)] = (byte) (1); + } +}; +RDebugUtils.currentLine=30277685; + //BA.debugLineNum = 30277685;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +_y3 = _y3+1; +RDebugUtils.currentLine=30277685; + //BA.debugLineNum = 30277685;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +_y4 = _y4+1; +RDebugUtils.currentLine=30277685; + //BA.debugLineNum = 30277685;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +_x3 = _x3+_dx0; +RDebugUtils.currentLine=30277685; + //BA.debugLineNum = 30277685;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; +_x4 = _x4+_dx1; + } +; +RDebugUtils.currentLine=30277687; + //BA.debugLineNum = 30277687;BA.debugLine="x3=x1"; +_x3 = _x1; +RDebugUtils.currentLine=30277688; + //BA.debugLineNum = 30277688;BA.debugLine="y3=y1"; +_y3 = _y1; +RDebugUtils.currentLine=30277689; + //BA.debugLineNum = 30277689;BA.debugLine="Do While y3<=y2"; +while (_y3<=_y2) { +RDebugUtils.currentLine=30277690; + //BA.debugLineNum = 30277690;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; +if (_x3>_x4) { +_inc = (int) (-1);} +else { +_inc = (int) (1);}; +RDebugUtils.currentLine=30277691; + //BA.debugLineNum = 30277691;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=30277692; + //BA.debugLineNum = 30277692;BA.debugLine="points(x, y3) = 1"; +_points[_x][(int) (_y3)] = (byte) (1); + } +}; +RDebugUtils.currentLine=30277694; + //BA.debugLineNum = 30277694;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +_y3 = _y3+1; +RDebugUtils.currentLine=30277694; + //BA.debugLineNum = 30277694;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +_y4 = _y4+1; +RDebugUtils.currentLine=30277694; + //BA.debugLineNum = 30277694;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +_x3 = _x3+_dx2; +RDebugUtils.currentLine=30277694; + //BA.debugLineNum = 30277694;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; +_x4 = _x4+_dx1; + } +; + }; +RDebugUtils.currentLine=30277697; + //BA.debugLineNum = 30277697;BA.debugLine="End Sub"; +return ""; +} +public boolean _isbluetoothon(SHARK2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "isbluetoothon", false)) + {return ((Boolean) Debug.delegate(ba, "isbluetoothon", null));} +RDebugUtils.currentLine=28508160; + //BA.debugLineNum = 28508160;BA.debugLine="Public Sub IsBluetoothOn As Boolean"; +RDebugUtils.currentLine=28508161; + //BA.debugLineNum = 28508161;BA.debugLine="Return Serial1.IsEnabled"; +if (true) return __ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .IsEnabled(); +RDebugUtils.currentLine=28508162; + //BA.debugLineNum = 28508162;BA.debugLine="End Sub"; +return false; +} +public byte[] _packimageslice(SHARK2.keymon.com.mx.escposprinter __ref,SHARK2.keymon.com.mx.escposprinter._animage _img,int _slice,boolean _dots24) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "packimageslice", false)) + {return ((byte[]) Debug.delegate(ba, "packimageslice", new Object[] {_img,_slice,_dots24}));} +int _bytes = 0; +byte[] _pixels = null; +int _slicestart = 0; +byte[] _masks = null; +int _x = 0; +int _s = 0; +byte _xbyte = (byte)0; +int _b = 0; +byte _pix = (byte)0; +RDebugUtils.currentLine=31129600; + //BA.debugLineNum = 31129600;BA.debugLine="Public Sub PackImageSlice(img As AnImage, slice As"; +RDebugUtils.currentLine=31129601; + //BA.debugLineNum = 31129601;BA.debugLine="Dim bytes As Int = img.width"; +_bytes = _img.Width /*int*/ ; +RDebugUtils.currentLine=31129602; + //BA.debugLineNum = 31129602;BA.debugLine="If dots24 Then"; +if (_dots24) { +RDebugUtils.currentLine=31129603; + //BA.debugLineNum = 31129603;BA.debugLine="Dim pixels(bytes * 3) As Byte"; +_pixels = new byte[(int) (_bytes*3)]; +; +RDebugUtils.currentLine=31129604; + //BA.debugLineNum = 31129604;BA.debugLine="Dim slicestart As Int = slice * bytes * 8 * 3"; +_slicestart = (int) (_slice*_bytes*8*3); + }else { +RDebugUtils.currentLine=31129606; + //BA.debugLineNum = 31129606;BA.debugLine="Dim pixels(bytes) As Byte"; +_pixels = new byte[_bytes]; +; +RDebugUtils.currentLine=31129607; + //BA.debugLineNum = 31129607;BA.debugLine="Dim slicestart As Int = slice * bytes * 8"; +_slicestart = (int) (_slice*_bytes*8); + }; +RDebugUtils.currentLine=31129610; + //BA.debugLineNum = 31129610;BA.debugLine="Dim masks(8) As Byte"; +_masks = new byte[(int) (8)]; +; +RDebugUtils.currentLine=31129611; + //BA.debugLineNum = 31129611;BA.debugLine="masks(0) = 0x80"; +_masks[(int) (0)] = (byte) (((int)0x80)); +RDebugUtils.currentLine=31129612; + //BA.debugLineNum = 31129612;BA.debugLine="masks(1) = 0x40"; +_masks[(int) (1)] = (byte) (((int)0x40)); +RDebugUtils.currentLine=31129613; + //BA.debugLineNum = 31129613;BA.debugLine="masks(2) = 0x20"; +_masks[(int) (2)] = (byte) (((int)0x20)); +RDebugUtils.currentLine=31129614; + //BA.debugLineNum = 31129614;BA.debugLine="masks(3) = 0x10"; +_masks[(int) (3)] = (byte) (((int)0x10)); +RDebugUtils.currentLine=31129615; + //BA.debugLineNum = 31129615;BA.debugLine="masks(4) = 0x08"; +_masks[(int) (4)] = (byte) (((int)0x08)); +RDebugUtils.currentLine=31129616; + //BA.debugLineNum = 31129616;BA.debugLine="masks(5) = 0x04"; +_masks[(int) (5)] = (byte) (((int)0x04)); +RDebugUtils.currentLine=31129617; + //BA.debugLineNum = 31129617;BA.debugLine="masks(6) = 0x02"; +_masks[(int) (6)] = (byte) (((int)0x02)); +RDebugUtils.currentLine=31129618; + //BA.debugLineNum = 31129618;BA.debugLine="masks(7) = 0x01"; +_masks[(int) (7)] = (byte) (((int)0x01)); +RDebugUtils.currentLine=31129620; + //BA.debugLineNum = 31129620;BA.debugLine="If dots24 Then"; +if (_dots24) { +RDebugUtils.currentLine=31129621; + //BA.debugLineNum = 31129621;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=31129622; + //BA.debugLineNum = 31129622;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=31129623; + //BA.debugLineNum = 31129623;BA.debugLine="Dim xbyte As Byte = 0"; +_xbyte = (byte) (0); +RDebugUtils.currentLine=31129624; + //BA.debugLineNum = 31129624;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=31129626; + //BA.debugLineNum = 31129626;BA.debugLine="Dim pix As Byte = img.Data(slicestart + ((b +"; +_pix = _img.Data /*byte[]*/ [(int) (_slicestart+((_b+_s*8)*_bytes)+_x)]; +RDebugUtils.currentLine=31129627; + //BA.debugLineNum = 31129627;BA.debugLine="If pix <> 0 Then"; +if (_pix!=0) { +RDebugUtils.currentLine=31129628; + //BA.debugLineNum = 31129628;BA.debugLine="xbyte = xbyte + masks(b)"; +_xbyte = (byte) (_xbyte+_masks[_b]); + }; + } +}; +RDebugUtils.currentLine=31129631; + //BA.debugLineNum = 31129631;BA.debugLine="pixels(x*3+s) = xbyte"; +_pixels[(int) (_x*3+_s)] = _xbyte; + } +}; + } +}; + }else { +RDebugUtils.currentLine=31129635; + //BA.debugLineNum = 31129635;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=31129636; + //BA.debugLineNum = 31129636;BA.debugLine="Dim xbyte As Byte = 0"; +_xbyte = (byte) (0); +RDebugUtils.currentLine=31129637; + //BA.debugLineNum = 31129637;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=31129639; + //BA.debugLineNum = 31129639;BA.debugLine="Dim pix As Byte = img.Data(slicestart + (b * b"; +_pix = _img.Data /*byte[]*/ [(int) (_slicestart+(_b*_bytes)+_x)]; +RDebugUtils.currentLine=31129640; + //BA.debugLineNum = 31129640;BA.debugLine="If pix <> 0 Then"; +if (_pix!=0) { +RDebugUtils.currentLine=31129641; + //BA.debugLineNum = 31129641;BA.debugLine="xbyte = xbyte + masks(b)"; +_xbyte = (byte) (_xbyte+_masks[_b]); + }; + } +}; +RDebugUtils.currentLine=31129644; + //BA.debugLineNum = 31129644;BA.debugLine="pixels(x) = xbyte"; +_pixels[_x] = _xbyte; + } +}; + }; +RDebugUtils.currentLine=31129647; + //BA.debugLineNum = 31129647;BA.debugLine="Return pixels"; +if (true) return _pixels; +RDebugUtils.currentLine=31129648; + //BA.debugLineNum = 31129648;BA.debugLine="End Sub"; +return null; +} +public String _plotlinelow(SHARK2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotlinelow", false)) + {return ((String) Debug.delegate(ba, "plotlinelow", new Object[] {_x0,_y0,_x1,_y1,_points}));} +int _dx = 0; +int _dy = 0; +int _yi = 0; +int _d = 0; +int _y = 0; +int _x = 0; +RDebugUtils.currentLine=30605312; + //BA.debugLineNum = 30605312;BA.debugLine="Private Sub PlotLineLow(x0 As Int, y0 As Int, x1 A"; +RDebugUtils.currentLine=30605313; + //BA.debugLineNum = 30605313;BA.debugLine="Dim dx As Int = x1 - x0"; +_dx = (int) (_x1-_x0); +RDebugUtils.currentLine=30605314; + //BA.debugLineNum = 30605314;BA.debugLine="Dim dy As Int = y1 - y0"; +_dy = (int) (_y1-_y0); +RDebugUtils.currentLine=30605315; + //BA.debugLineNum = 30605315;BA.debugLine="Dim yi As Int = 1"; +_yi = (int) (1); +RDebugUtils.currentLine=30605316; + //BA.debugLineNum = 30605316;BA.debugLine="If dy < 0 Then"; +if (_dy<0) { +RDebugUtils.currentLine=30605317; + //BA.debugLineNum = 30605317;BA.debugLine="yi = -1"; +_yi = (int) (-1); +RDebugUtils.currentLine=30605318; + //BA.debugLineNum = 30605318;BA.debugLine="dy = -dy"; +_dy = (int) (-_dy); + }; +RDebugUtils.currentLine=30605320; + //BA.debugLineNum = 30605320;BA.debugLine="Dim D As Int = 2*dy - dx"; +_d = (int) (2*_dy-_dx); +RDebugUtils.currentLine=30605321; + //BA.debugLineNum = 30605321;BA.debugLine="Dim y As Int = y0"; +_y = _y0; +RDebugUtils.currentLine=30605322; + //BA.debugLineNum = 30605322;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=30605323; + //BA.debugLineNum = 30605323;BA.debugLine="points(x,y) = 1"; +_points[_x][_y] = (byte) (1); +RDebugUtils.currentLine=30605324; + //BA.debugLineNum = 30605324;BA.debugLine="If D > 0 Then"; +if (_d>0) { +RDebugUtils.currentLine=30605325; + //BA.debugLineNum = 30605325;BA.debugLine="y = y + yi"; +_y = (int) (_y+_yi); +RDebugUtils.currentLine=30605326; + //BA.debugLineNum = 30605326;BA.debugLine="D = D - 2*dx"; +_d = (int) (_d-2*_dx); + }; +RDebugUtils.currentLine=30605328; + //BA.debugLineNum = 30605328;BA.debugLine="D = D + 2*dy"; +_d = (int) (_d+2*_dy); + } +}; +RDebugUtils.currentLine=30605330; + //BA.debugLineNum = 30605330;BA.debugLine="End Sub"; +return ""; +} +public String _plotlinehigh(SHARK2.keymon.com.mx.escposprinter __ref,int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "plotlinehigh", false)) + {return ((String) Debug.delegate(ba, "plotlinehigh", new Object[] {_x0,_y0,_x1,_y1,_points}));} +int _dx = 0; +int _dy = 0; +int _xi = 0; +int _d = 0; +int _x = 0; +int _y = 0; +RDebugUtils.currentLine=30539776; + //BA.debugLineNum = 30539776;BA.debugLine="Private Sub PlotLineHigh(x0 As Int, y0 As Int, x1"; +RDebugUtils.currentLine=30539777; + //BA.debugLineNum = 30539777;BA.debugLine="Dim dx As Int = x1 - x0"; +_dx = (int) (_x1-_x0); +RDebugUtils.currentLine=30539778; + //BA.debugLineNum = 30539778;BA.debugLine="Dim dy As Int = y1 - y0"; +_dy = (int) (_y1-_y0); +RDebugUtils.currentLine=30539779; + //BA.debugLineNum = 30539779;BA.debugLine="Dim xi As Int = 1"; +_xi = (int) (1); +RDebugUtils.currentLine=30539780; + //BA.debugLineNum = 30539780;BA.debugLine="If dx < 0 Then"; +if (_dx<0) { +RDebugUtils.currentLine=30539781; + //BA.debugLineNum = 30539781;BA.debugLine="xi = -1"; +_xi = (int) (-1); +RDebugUtils.currentLine=30539782; + //BA.debugLineNum = 30539782;BA.debugLine="dx = -dx"; +_dx = (int) (-_dx); + }; +RDebugUtils.currentLine=30539784; + //BA.debugLineNum = 30539784;BA.debugLine="Dim D As Int = 2*dx - dy"; +_d = (int) (2*_dx-_dy); +RDebugUtils.currentLine=30539785; + //BA.debugLineNum = 30539785;BA.debugLine="Dim x As Int = x0"; +_x = _x0; +RDebugUtils.currentLine=30539786; + //BA.debugLineNum = 30539786;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=30539787; + //BA.debugLineNum = 30539787;BA.debugLine="points(x,y) = 1"; +_points[_x][_y] = (byte) (1); +RDebugUtils.currentLine=30539788; + //BA.debugLineNum = 30539788;BA.debugLine="If D > 0 Then"; +if (_d>0) { +RDebugUtils.currentLine=30539789; + //BA.debugLineNum = 30539789;BA.debugLine="x = x + xi"; +_x = (int) (_x+_xi); +RDebugUtils.currentLine=30539790; + //BA.debugLineNum = 30539790;BA.debugLine="D = D - 2*dy"; +_d = (int) (_d-2*_dy); + }; +RDebugUtils.currentLine=30539792; + //BA.debugLineNum = 30539792;BA.debugLine="D = D + 2*dx"; +_d = (int) (_d+2*_dx); + } +}; +RDebugUtils.currentLine=30539794; + //BA.debugLineNum = 30539794;BA.debugLine="End Sub"; +return ""; +} +public String _printandfeedpaper(SHARK2.keymon.com.mx.escposprinter __ref,int _units) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "printandfeedpaper", false)) + {return ((String) Debug.delegate(ba, "printandfeedpaper", new Object[] {_units}));} +byte[] _params = null; +RDebugUtils.currentLine=28770304; + //BA.debugLineNum = 28770304;BA.debugLine="Public Sub PrintAndFeedPaper(units As Int)"; +RDebugUtils.currentLine=28770305; + //BA.debugLineNum = 28770305;BA.debugLine="WriteString(ESC & \"J\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"J"); +RDebugUtils.currentLine=28770306; + //BA.debugLineNum = 28770306;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=28770307; + //BA.debugLineNum = 28770307;BA.debugLine="params(0) = units"; +_params[(int) (0)] = (byte) (_units); +RDebugUtils.currentLine=28770308; + //BA.debugLineNum = 28770308;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=28770309; + //BA.debugLineNum = 28770309;BA.debugLine="End Sub"; +return ""; +} +public int _printimage2(SHARK2.keymon.com.mx.escposprinter __ref,int _width,byte[] _data,boolean _highdensity,boolean _dotds24) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "printimage2", false)) + {return ((Integer) Debug.delegate(ba, "printimage2", new Object[] {_width,_data,_highdensity,_dotds24}));} +String _d = ""; +int _xh = 0; +int _xl = 0; +byte[] _params = null; +RDebugUtils.currentLine=31064064; + //BA.debugLineNum = 31064064;BA.debugLine="Public Sub PrintImage2(width As Int, data() As Byt"; +RDebugUtils.currentLine=31064065; + //BA.debugLineNum = 31064065;BA.debugLine="Dim d As String = Chr(0)"; +_d = BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=31064066; + //BA.debugLineNum = 31064066;BA.debugLine="If Not(highdensity) And Not(dotds24 ) Then"; +if (__c.Not(_highdensity) && __c.Not(_dotds24)) { +RDebugUtils.currentLine=31064067; + //BA.debugLineNum = 31064067;BA.debugLine="d = Chr(0)"; +_d = BA.ObjectToString(__c.Chr((int) (0))); +RDebugUtils.currentLine=31064068; + //BA.debugLineNum = 31064068;BA.debugLine="If width > 288 Then Return -1"; +if (_width>288) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=31064069; + //BA.debugLineNum = 31064069;BA.debugLine="If data.Length <> width Then Return -3"; +if (_data.length!=_width) { +if (true) return (int) (-3);}; + }else +{RDebugUtils.currentLine=31064070; + //BA.debugLineNum = 31064070;BA.debugLine="Else If highdensity And Not(dotds24) Then"; +if (_highdensity && __c.Not(_dotds24)) { +RDebugUtils.currentLine=31064071; + //BA.debugLineNum = 31064071;BA.debugLine="d = Chr(1)"; +_d = BA.ObjectToString(__c.Chr((int) (1))); +RDebugUtils.currentLine=31064072; + //BA.debugLineNum = 31064072;BA.debugLine="If width > 576 Then Return -1"; +if (_width>576) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=31064073; + //BA.debugLineNum = 31064073;BA.debugLine="If data.Length <> width Then Return -3"; +if (_data.length!=_width) { +if (true) return (int) (-3);}; + }else +{RDebugUtils.currentLine=31064074; + //BA.debugLineNum = 31064074;BA.debugLine="Else If Not(highdensity) And dotds24 Then"; +if (__c.Not(_highdensity) && _dotds24) { +RDebugUtils.currentLine=31064075; + //BA.debugLineNum = 31064075;BA.debugLine="d = Chr(32)"; +_d = BA.ObjectToString(__c.Chr((int) (32))); +RDebugUtils.currentLine=31064076; + //BA.debugLineNum = 31064076;BA.debugLine="If width > 288 Then Return -1"; +if (_width>288) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=31064077; + //BA.debugLineNum = 31064077;BA.debugLine="If data.Length <> width*3 Then Return -3"; +if (_data.length!=_width*3) { +if (true) return (int) (-3);}; + }else { +RDebugUtils.currentLine=31064079; + //BA.debugLineNum = 31064079;BA.debugLine="d = Chr(33)"; +_d = BA.ObjectToString(__c.Chr((int) (33))); +RDebugUtils.currentLine=31064080; + //BA.debugLineNum = 31064080;BA.debugLine="If width > 576 Then Return -1"; +if (_width>576) { +if (true) return (int) (-1);}; +RDebugUtils.currentLine=31064081; + //BA.debugLineNum = 31064081;BA.debugLine="If data.Length <> width*3 Then Return -3"; +if (_data.length!=_width*3) { +if (true) return (int) (-3);}; + }}} +; +RDebugUtils.currentLine=31064083; + //BA.debugLineNum = 31064083;BA.debugLine="Dim xh As Int = width / 256"; +_xh = (int) (_width/(double)256); +RDebugUtils.currentLine=31064084; + //BA.debugLineNum = 31064084;BA.debugLine="Dim xl As Int = width - xh * 256"; +_xl = (int) (_width-_xh*256); +RDebugUtils.currentLine=31064085; + //BA.debugLineNum = 31064085;BA.debugLine="Dim params(2) As Byte"; +_params = new byte[(int) (2)]; +; +RDebugUtils.currentLine=31064086; + //BA.debugLineNum = 31064086;BA.debugLine="params(0) = xl"; +_params[(int) (0)] = (byte) (_xl); +RDebugUtils.currentLine=31064087; + //BA.debugLineNum = 31064087;BA.debugLine="params(1) = xh"; +_params[(int) (1)] = (byte) (_xh); +RDebugUtils.currentLine=31064088; + //BA.debugLineNum = 31064088;BA.debugLine="WriteString(ESC & \"*\" & d)"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"*"+_d); +RDebugUtils.currentLine=31064089; + //BA.debugLineNum = 31064089;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=31064090; + //BA.debugLineNum = 31064090;BA.debugLine="WriteBytes(data)"; +__ref._writebytes /*String*/ (null,_data); +RDebugUtils.currentLine=31064091; + //BA.debugLineNum = 31064091;BA.debugLine="WriteString(CRLF)"; +__ref._writestring /*String*/ (null,__c.CRLF); +RDebugUtils.currentLine=31064092; + //BA.debugLineNum = 31064092;BA.debugLine="Return 0"; +if (true) return (int) (0); +RDebugUtils.currentLine=31064093; + //BA.debugLineNum = 31064093;BA.debugLine="End Sub"; +return 0; +} +public String _reset(SHARK2.keymon.com.mx.escposprinter __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "reset", false)) + {return ((String) Debug.delegate(ba, "reset", null));} +RDebugUtils.currentLine=28704768; + //BA.debugLineNum = 28704768;BA.debugLine="Public Sub Reset"; +RDebugUtils.currentLine=28704769; + //BA.debugLineNum = 28704769;BA.debugLine="WriteString(ESC & \"@\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"@"); +RDebugUtils.currentLine=28704770; + //BA.debugLineNum = 28704770;BA.debugLine="End Sub"; +return ""; +} +public String _serial1_connected(SHARK2.keymon.com.mx.escposprinter __ref,boolean _success) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "serial1_connected", false)) + {return ((String) Debug.delegate(ba, "serial1_connected", new Object[] {_success}));} +RDebugUtils.currentLine=31653888; + //BA.debugLineNum = 31653888;BA.debugLine="Private Sub Serial1_Connected (Success As Boolean)"; +RDebugUtils.currentLine=31653889; + //BA.debugLineNum = 31653889;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=31653890; + //BA.debugLineNum = 31653890;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=31653891; + //BA.debugLineNum = 31653891;BA.debugLine="Connected = True"; +__ref._connected /*boolean*/ = __c.True; +RDebugUtils.currentLine=31653892; + //BA.debugLineNum = 31653892;BA.debugLine="ConnectedError = \"\""; +__ref._connectederror /*String*/ = ""; +RDebugUtils.currentLine=31653893; + //BA.debugLineNum = 31653893;BA.debugLine="Serial1.Listen"; +__ref._serial1 /*anywheresoftware.b4a.objects.Serial*/ .Listen(ba); + }else { +RDebugUtils.currentLine=31653895; + //BA.debugLineNum = 31653895;BA.debugLine="Connected = False"; +__ref._connected /*boolean*/ = __c.False; +RDebugUtils.currentLine=31653896; + //BA.debugLineNum = 31653896;BA.debugLine="ConnectedError = LastException.Message"; +__ref._connectederror /*String*/ = __c.LastException(getActivityBA()).getMessage(); + }; +RDebugUtils.currentLine=31653898; + //BA.debugLineNum = 31653898;BA.debugLine="If SubExists(CallBack, EventName & \"_Connected\")"; +if (__c.SubExists(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Connected")) { +RDebugUtils.currentLine=31653899; + //BA.debugLineNum = 31653899;BA.debugLine="CallSub2(CallBack, EventName & \"_Connected\", Suc"; +__c.CallSubNew2(ba,__ref._callback /*Object*/ ,__ref._eventname /*String*/ +"_Connected",(Object)(_success)); + }; +RDebugUtils.currentLine=31653901; + //BA.debugLineNum = 31653901;BA.debugLine="End Sub"; +return ""; +} +public String _setbarcodeheight(SHARK2.keymon.com.mx.escposprinter __ref,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setbarcodeheight", false)) + {return ((String) Debug.delegate(ba, "setbarcodeheight", new Object[] {_height}));} +byte[] _params = null; +RDebugUtils.currentLine=31195136; + //BA.debugLineNum = 31195136;BA.debugLine="Public Sub setBarCodeHeight(height As Int)"; +RDebugUtils.currentLine=31195137; + //BA.debugLineNum = 31195137;BA.debugLine="WriteString(GS & \"h\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"h"); +RDebugUtils.currentLine=31195138; + //BA.debugLineNum = 31195138;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=31195139; + //BA.debugLineNum = 31195139;BA.debugLine="params(0) = height"; +_params[(int) (0)] = (byte) (_height); +RDebugUtils.currentLine=31195140; + //BA.debugLineNum = 31195140;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=31195141; + //BA.debugLineNum = 31195141;BA.debugLine="End Sub"; +return ""; +} +public String _setbarcodeleft(SHARK2.keymon.com.mx.escposprinter __ref,int _left) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setbarcodeleft", false)) + {return ((String) Debug.delegate(ba, "setbarcodeleft", new Object[] {_left}));} +byte[] _params = null; +RDebugUtils.currentLine=31260672; + //BA.debugLineNum = 31260672;BA.debugLine="Public Sub setBarCodeLeft(left As Int)"; +RDebugUtils.currentLine=31260673; + //BA.debugLineNum = 31260673;BA.debugLine="WriteString(GS & \"x\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"x"); +RDebugUtils.currentLine=31260674; + //BA.debugLineNum = 31260674;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=31260675; + //BA.debugLineNum = 31260675;BA.debugLine="params(0) = left"; +_params[(int) (0)] = (byte) (_left); +RDebugUtils.currentLine=31260676; + //BA.debugLineNum = 31260676;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=31260677; + //BA.debugLineNum = 31260677;BA.debugLine="End Sub"; +return ""; +} +public String _setbarcodewidth(SHARK2.keymon.com.mx.escposprinter __ref,int _width) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setbarcodewidth", false)) + {return ((String) Debug.delegate(ba, "setbarcodewidth", new Object[] {_width}));} +byte[] _params = null; +RDebugUtils.currentLine=31326208; + //BA.debugLineNum = 31326208;BA.debugLine="Public Sub setBarCodeWidth(width As Int)"; +RDebugUtils.currentLine=31326209; + //BA.debugLineNum = 31326209;BA.debugLine="WriteString(GS & \"w\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"w"); +RDebugUtils.currentLine=31326210; + //BA.debugLineNum = 31326210;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=31326211; + //BA.debugLineNum = 31326211;BA.debugLine="params(0) = width"; +_params[(int) (0)] = (byte) (_width); +RDebugUtils.currentLine=31326212; + //BA.debugLineNum = 31326212;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=31326213; + //BA.debugLineNum = 31326213;BA.debugLine="End Sub"; +return ""; +} +public String _setcharacterfont(SHARK2.keymon.com.mx.escposprinter __ref,int _font) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setcharacterfont", false)) + {return ((String) Debug.delegate(ba, "setcharacterfont", new Object[] {_font}));} +RDebugUtils.currentLine=29294592; + //BA.debugLineNum = 29294592;BA.debugLine="Public Sub setCharacterFont(font As Int)"; +RDebugUtils.currentLine=29294593; + //BA.debugLineNum = 29294593;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=29294594; + //BA.debugLineNum = 29294594;BA.debugLine="End Sub"; +return ""; +} +public String _setcharacterspacing(SHARK2.keymon.com.mx.escposprinter __ref,int _spacing) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setcharacterspacing", false)) + {return ((String) Debug.delegate(ba, "setcharacterspacing", new Object[] {_spacing}));} +byte[] _params = null; +RDebugUtils.currentLine=28835840; + //BA.debugLineNum = 28835840;BA.debugLine="Public Sub setCharacterSpacing(spacing As Int)"; +RDebugUtils.currentLine=28835841; + //BA.debugLineNum = 28835841;BA.debugLine="WriteString(ESC & \" \")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +" "); +RDebugUtils.currentLine=28835842; + //BA.debugLineNum = 28835842;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=28835843; + //BA.debugLineNum = 28835843;BA.debugLine="params(0) = spacing"; +_params[(int) (0)] = (byte) (_spacing); +RDebugUtils.currentLine=28835844; + //BA.debugLineNum = 28835844;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=28835845; + //BA.debugLineNum = 28835845;BA.debugLine="End Sub"; +return ""; +} +public String _setcodepage(SHARK2.keymon.com.mx.escposprinter __ref,int _codepage) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setcodepage", false)) + {return ((String) Debug.delegate(ba, "setcodepage", new Object[] {_codepage}));} +byte[] _params = null; +RDebugUtils.currentLine=29229056; + //BA.debugLineNum = 29229056;BA.debugLine="Public Sub setCodePage(codepage As Int)"; +RDebugUtils.currentLine=29229057; + //BA.debugLineNum = 29229057;BA.debugLine="WriteString(ESC & \"t\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"t"); +RDebugUtils.currentLine=29229058; + //BA.debugLineNum = 29229058;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=29229059; + //BA.debugLineNum = 29229059;BA.debugLine="params(0) = codepage"; +_params[(int) (0)] = (byte) (_codepage); +RDebugUtils.currentLine=29229060; + //BA.debugLineNum = 29229060;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=29229061; + //BA.debugLineNum = 29229061;BA.debugLine="End Sub"; +return ""; +} +public String _sethrifont(SHARK2.keymon.com.mx.escposprinter __ref,int _font) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "sethrifont", false)) + {return ((String) Debug.delegate(ba, "sethrifont", new Object[] {_font}));} +RDebugUtils.currentLine=31457280; + //BA.debugLineNum = 31457280;BA.debugLine="Public Sub setHriFont(font As Int)"; +RDebugUtils.currentLine=31457281; + //BA.debugLineNum = 31457281;BA.debugLine="WriteString(GS & \"f\" & Chr(font))"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"f"+BA.ObjectToString(__c.Chr(_font))); +RDebugUtils.currentLine=31457282; + //BA.debugLineNum = 31457282;BA.debugLine="End Sub"; +return ""; +} +public String _sethriposn(SHARK2.keymon.com.mx.escposprinter __ref,int _posn) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "sethriposn", false)) + {return ((String) Debug.delegate(ba, "sethriposn", new Object[] {_posn}));} +byte[] _params = null; +RDebugUtils.currentLine=31391744; + //BA.debugLineNum = 31391744;BA.debugLine="Public Sub setHriPosn(posn As Int)"; +RDebugUtils.currentLine=31391745; + //BA.debugLineNum = 31391745;BA.debugLine="WriteString(GS & \"H\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"H"); +RDebugUtils.currentLine=31391746; + //BA.debugLineNum = 31391746;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=31391747; + //BA.debugLineNum = 31391747;BA.debugLine="params(0) = posn"; +_params[(int) (0)] = (byte) (_posn); +RDebugUtils.currentLine=31391748; + //BA.debugLineNum = 31391748;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=31391749; + //BA.debugLineNum = 31391749;BA.debugLine="End Sub"; +return ""; +} +public String _setleftinset(SHARK2.keymon.com.mx.escposprinter __ref,int _inset) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setleftinset", false)) + {return ((String) Debug.delegate(ba, "setleftinset", new Object[] {_inset}));} +int _dh = 0; +int _dl = 0; +byte[] _params = null; +RDebugUtils.currentLine=28901376; + //BA.debugLineNum = 28901376;BA.debugLine="Public Sub setLeftInset(inset As Int)"; +RDebugUtils.currentLine=28901377; + //BA.debugLineNum = 28901377;BA.debugLine="Dim dh As Int = inset / 256"; +_dh = (int) (_inset/(double)256); +RDebugUtils.currentLine=28901378; + //BA.debugLineNum = 28901378;BA.debugLine="Dim dl As Int = inset - dh"; +_dl = (int) (_inset-_dh); +RDebugUtils.currentLine=28901379; + //BA.debugLineNum = 28901379;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=28901380; + //BA.debugLineNum = 28901380;BA.debugLine="Dim params(2) As Byte"; +_params = new byte[(int) (2)]; +; +RDebugUtils.currentLine=28901381; + //BA.debugLineNum = 28901381;BA.debugLine="params(0) = dl"; +_params[(int) (0)] = (byte) (_dl); +RDebugUtils.currentLine=28901382; + //BA.debugLineNum = 28901382;BA.debugLine="params(1) = dh"; +_params[(int) (1)] = (byte) (_dh); +RDebugUtils.currentLine=28901383; + //BA.debugLineNum = 28901383;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=28901384; + //BA.debugLineNum = 28901384;BA.debugLine="End Sub"; +return ""; +} +public String _setleftmargin(SHARK2.keymon.com.mx.escposprinter __ref,int _margin) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setleftmargin", false)) + {return ((String) Debug.delegate(ba, "setleftmargin", new Object[] {_margin}));} +int _dh = 0; +int _dl = 0; +byte[] _params = null; +RDebugUtils.currentLine=28966912; + //BA.debugLineNum = 28966912;BA.debugLine="Public Sub setLeftMargin(margin As Int)"; +RDebugUtils.currentLine=28966913; + //BA.debugLineNum = 28966913;BA.debugLine="Dim dh As Int = margin / 256"; +_dh = (int) (_margin/(double)256); +RDebugUtils.currentLine=28966914; + //BA.debugLineNum = 28966914;BA.debugLine="Dim dl As Int = margin - dh"; +_dl = (int) (_margin-_dh); +RDebugUtils.currentLine=28966915; + //BA.debugLineNum = 28966915;BA.debugLine="WriteString(GS & \"L\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"L"); +RDebugUtils.currentLine=28966916; + //BA.debugLineNum = 28966916;BA.debugLine="Dim params(2) As Byte"; +_params = new byte[(int) (2)]; +; +RDebugUtils.currentLine=28966917; + //BA.debugLineNum = 28966917;BA.debugLine="params(0) = dl"; +_params[(int) (0)] = (byte) (_dl); +RDebugUtils.currentLine=28966918; + //BA.debugLineNum = 28966918;BA.debugLine="params(1) = dh"; +_params[(int) (1)] = (byte) (_dh); +RDebugUtils.currentLine=28966919; + //BA.debugLineNum = 28966919;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=28966920; + //BA.debugLineNum = 28966920;BA.debugLine="End Sub"; +return ""; +} +public String _setlinespacing(SHARK2.keymon.com.mx.escposprinter __ref,int _spacing) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setlinespacing", false)) + {return ((String) Debug.delegate(ba, "setlinespacing", new Object[] {_spacing}));} +byte[] _params = null; +RDebugUtils.currentLine=29097984; + //BA.debugLineNum = 29097984;BA.debugLine="Public Sub setLineSpacing(spacing As Int)"; +RDebugUtils.currentLine=29097985; + //BA.debugLineNum = 29097985;BA.debugLine="If spacing < 0 Then"; +if (_spacing<0) { +RDebugUtils.currentLine=29097986; + //BA.debugLineNum = 29097986;BA.debugLine="WriteString(ESC & \"2\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"2"); + }else { +RDebugUtils.currentLine=29097988; + //BA.debugLineNum = 29097988;BA.debugLine="WriteString(ESC & \"3\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"3"); +RDebugUtils.currentLine=29097989; + //BA.debugLineNum = 29097989;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=29097990; + //BA.debugLineNum = 29097990;BA.debugLine="params(0) = spacing"; +_params[(int) (0)] = (byte) (_spacing); +RDebugUtils.currentLine=29097991; + //BA.debugLineNum = 29097991;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); + }; +RDebugUtils.currentLine=29097993; + //BA.debugLineNum = 29097993;BA.debugLine="End Sub"; +return ""; +} +public String _setprintwidth(SHARK2.keymon.com.mx.escposprinter __ref,int _width) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setprintwidth", false)) + {return ((String) Debug.delegate(ba, "setprintwidth", new Object[] {_width}));} +int _dh = 0; +int _dl = 0; +byte[] _params = null; +RDebugUtils.currentLine=29032448; + //BA.debugLineNum = 29032448;BA.debugLine="Public Sub setPrintWidth(width As Int)"; +RDebugUtils.currentLine=29032449; + //BA.debugLineNum = 29032449;BA.debugLine="Dim dh As Int = width / 256"; +_dh = (int) (_width/(double)256); +RDebugUtils.currentLine=29032450; + //BA.debugLineNum = 29032450;BA.debugLine="Dim dl As Int = width - dh"; +_dl = (int) (_width-_dh); +RDebugUtils.currentLine=29032451; + //BA.debugLineNum = 29032451;BA.debugLine="WriteString(GS & \"W\")"; +__ref._writestring /*String*/ (null,__ref._gs /*String*/ +"W"); +RDebugUtils.currentLine=29032452; + //BA.debugLineNum = 29032452;BA.debugLine="Dim params(2) As Byte"; +_params = new byte[(int) (2)]; +; +RDebugUtils.currentLine=29032453; + //BA.debugLineNum = 29032453;BA.debugLine="params(0) = dl"; +_params[(int) (0)] = (byte) (_dl); +RDebugUtils.currentLine=29032454; + //BA.debugLineNum = 29032454;BA.debugLine="params(1) = dh"; +_params[(int) (1)] = (byte) (_dh); +RDebugUtils.currentLine=29032455; + //BA.debugLineNum = 29032455;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=29032456; + //BA.debugLineNum = 29032456;BA.debugLine="End Sub"; +return ""; +} +public String _setrelativeprintposn(SHARK2.keymon.com.mx.escposprinter __ref,int _relposn) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setrelativeprintposn", false)) + {return ((String) Debug.delegate(ba, "setrelativeprintposn", new Object[] {_relposn}));} +int _dh = 0; +int _dl = 0; +byte[] _params = null; +RDebugUtils.currentLine=29425664; + //BA.debugLineNum = 29425664;BA.debugLine="Public Sub setRelativePrintPosn(relposn As Int)"; +RDebugUtils.currentLine=29425665; + //BA.debugLineNum = 29425665;BA.debugLine="Dim dh As Int = relposn / 256"; +_dh = (int) (_relposn/(double)256); +RDebugUtils.currentLine=29425666; + //BA.debugLineNum = 29425666;BA.debugLine="Dim dl As Int = relposn - dh"; +_dl = (int) (_relposn-_dh); +RDebugUtils.currentLine=29425667; + //BA.debugLineNum = 29425667;BA.debugLine="WriteString(ESC & \"\\\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"\\"); +RDebugUtils.currentLine=29425668; + //BA.debugLineNum = 29425668;BA.debugLine="Dim params(2) As Byte"; +_params = new byte[(int) (2)]; +; +RDebugUtils.currentLine=29425669; + //BA.debugLineNum = 29425669;BA.debugLine="params(0) = dl"; +_params[(int) (0)] = (byte) (_dl); +RDebugUtils.currentLine=29425670; + //BA.debugLineNum = 29425670;BA.debugLine="params(1) = dh"; +_params[(int) (1)] = (byte) (_dh); +RDebugUtils.currentLine=29425671; + //BA.debugLineNum = 29425671;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=29425672; + //BA.debugLineNum = 29425672;BA.debugLine="End Sub"; +return ""; +} +public String _settabpositions(SHARK2.keymon.com.mx.escposprinter __ref,int[] _tabs) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "settabpositions", false)) + {return ((String) Debug.delegate(ba, "settabpositions", new Object[] {_tabs}));} +byte[] _data = null; +int _i = 0; +RDebugUtils.currentLine=29360128; + //BA.debugLineNum = 29360128;BA.debugLine="Public Sub setTabPositions(tabs() As Int)"; +RDebugUtils.currentLine=29360129; + //BA.debugLineNum = 29360129;BA.debugLine="WriteString(ESC & \"D\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"D"); +RDebugUtils.currentLine=29360130; + //BA.debugLineNum = 29360130;BA.debugLine="Dim data(tabs.Length+1) As Byte"; +_data = new byte[(int) (_tabs.length+1)]; +; +RDebugUtils.currentLine=29360131; + //BA.debugLineNum = 29360131;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=29360132; + //BA.debugLineNum = 29360132;BA.debugLine="data(i) = tabs(i)"; +_data[_i] = (byte) (_tabs[_i]); + } +}; +RDebugUtils.currentLine=29360134; + //BA.debugLineNum = 29360134;BA.debugLine="data(tabs.Length) = 0"; +_data[_tabs.length] = (byte) (0); +RDebugUtils.currentLine=29360135; + //BA.debugLineNum = 29360135;BA.debugLine="WriteBytes(data)"; +__ref._writebytes /*String*/ (null,_data); +RDebugUtils.currentLine=29360136; + //BA.debugLineNum = 29360136;BA.debugLine="End Sub"; +return ""; +} +public String _setusecustomcharacters(SHARK2.keymon.com.mx.escposprinter __ref,boolean _custom) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "setusecustomcharacters", false)) + {return ((String) Debug.delegate(ba, "setusecustomcharacters", new Object[] {_custom}));} +RDebugUtils.currentLine=29753344; + //BA.debugLineNum = 29753344;BA.debugLine="Public Sub setUseCustomCharacters(custom As Boolea"; +RDebugUtils.currentLine=29753345; + //BA.debugLineNum = 29753345;BA.debugLine="If custom Then"; +if (_custom) { +RDebugUtils.currentLine=29753346; + //BA.debugLineNum = 29753346;BA.debugLine="WriteString(ESC & \"%1\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"%1"); + }else { +RDebugUtils.currentLine=29753348; + //BA.debugLineNum = 29753348;BA.debugLine="WriteString(ESC & \"%0\")"; +__ref._writestring /*String*/ (null,__ref._esc /*String*/ +"%0"); + }; +RDebugUtils.currentLine=29753350; + //BA.debugLineNum = 29753350;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.escposprinter._animage _thresholdimage(SHARK2.keymon.com.mx.escposprinter __ref,SHARK2.keymon.com.mx.escposprinter._animage _img,int _threshold) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "thresholdimage", false)) + {return ((SHARK2.keymon.com.mx.escposprinter._animage) Debug.delegate(ba, "thresholdimage", new Object[] {_img,_threshold}));} +byte[] _pixels = null; +int _i = 0; +int _lum = 0; +SHARK2.keymon.com.mx.escposprinter._animage _ret = null; +RDebugUtils.currentLine=30736384; + //BA.debugLineNum = 30736384;BA.debugLine="Sub ThresholdImage(img As AnImage, threshold As In"; +RDebugUtils.currentLine=30736385; + //BA.debugLineNum = 30736385;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; +_pixels = new byte[_img.Data /*byte[]*/ .length]; +; +RDebugUtils.currentLine=30736386; + //BA.debugLineNum = 30736386;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=30736387; + //BA.debugLineNum = 30736387;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=30736388; + //BA.debugLineNum = 30736388;BA.debugLine="If lum < threshold Then"; +if (_lum<_threshold) { +RDebugUtils.currentLine=30736389; + //BA.debugLineNum = 30736389;BA.debugLine="lum = 1"; +_lum = (int) (1); + }else { +RDebugUtils.currentLine=30736391; + //BA.debugLineNum = 30736391;BA.debugLine="lum = 0"; +_lum = (int) (0); + }; +RDebugUtils.currentLine=30736393; + //BA.debugLineNum = 30736393;BA.debugLine="pixels(i) = lum"; +_pixels[_i] = (byte) (_lum); + } +}; +RDebugUtils.currentLine=30736395; + //BA.debugLineNum = 30736395;BA.debugLine="Dim ret As AnImage"; +_ret = new SHARK2.keymon.com.mx.escposprinter._animage(); +RDebugUtils.currentLine=30736396; + //BA.debugLineNum = 30736396;BA.debugLine="ret.Width = img.Width"; +_ret.Width /*int*/ = _img.Width /*int*/ ; +RDebugUtils.currentLine=30736397; + //BA.debugLineNum = 30736397;BA.debugLine="ret.Height = img.Height"; +_ret.Height /*int*/ = _img.Height /*int*/ ; +RDebugUtils.currentLine=30736398; + //BA.debugLineNum = 30736398;BA.debugLine="ret.Data = pixels"; +_ret.Data /*byte[]*/ = _pixels; +RDebugUtils.currentLine=30736399; + //BA.debugLineNum = 30736399;BA.debugLine="Return ret"; +if (true) return _ret; +RDebugUtils.currentLine=30736400; + //BA.debugLineNum = 30736400;BA.debugLine="End Sub"; +return null; +} +public String _writebarcode(SHARK2.keymon.com.mx.escposprinter __ref,String _bartype,String _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writebarcode", false)) + {return ((String) Debug.delegate(ba, "writebarcode", new Object[] {_bartype,_data}));} +byte[] _databytes = null; +int _dlow = 0; +byte[] _params = null; +RDebugUtils.currentLine=31522816; + //BA.debugLineNum = 31522816;BA.debugLine="Public Sub WriteBarCode(bartype As String, data As"; +RDebugUtils.currentLine=31522817; + //BA.debugLineNum = 31522817;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ASCII\")"; +_databytes = _data.getBytes("ASCII"); +RDebugUtils.currentLine=31522818; + //BA.debugLineNum = 31522818;BA.debugLine="Dim dlow As Int = databytes.Length"; +_dlow = _databytes.length; +RDebugUtils.currentLine=31522819; + //BA.debugLineNum = 31522819;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \","; +__c.LogImpl("531522819","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0); +RDebugUtils.currentLine=31522820; + //BA.debugLineNum = 31522820;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=31522821; + //BA.debugLineNum = 31522821;BA.debugLine="Dim params(1) As Byte"; +_params = new byte[(int) (1)]; +; +RDebugUtils.currentLine=31522822; + //BA.debugLineNum = 31522822;BA.debugLine="params(0) = dlow"; +_params[(int) (0)] = (byte) (_dlow); +RDebugUtils.currentLine=31522823; + //BA.debugLineNum = 31522823;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=31522824; + //BA.debugLineNum = 31522824;BA.debugLine="WriteBytes(databytes)"; +__ref._writebytes /*String*/ (null,_databytes); +RDebugUtils.currentLine=31522825; + //BA.debugLineNum = 31522825;BA.debugLine="End Sub"; +return ""; +} +public String _writeqrcode(SHARK2.keymon.com.mx.escposprinter __ref,int _size,String _ec,int _scale,String _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writeqrcode", false)) + {return ((String) Debug.delegate(ba, "writeqrcode", new Object[] {_size,_ec,_scale,_data}));} +byte[] _databytes = null; +int _dhigh = 0; +int _dlow = 0; +byte[] _params = null; +RDebugUtils.currentLine=31588352; + //BA.debugLineNum = 31588352;BA.debugLine="Public Sub WriteQRCode(size As Int, EC As String,"; +RDebugUtils.currentLine=31588353; + //BA.debugLineNum = 31588353;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ISO-8859"; +_databytes = _data.getBytes("ISO-8859-1"); +RDebugUtils.currentLine=31588354; + //BA.debugLineNum = 31588354;BA.debugLine="Dim dhigh As Int = databytes.Length / 256"; +_dhigh = (int) (_databytes.length/(double)256); +RDebugUtils.currentLine=31588355; + //BA.debugLineNum = 31588355;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256"; +_dlow = (int) (_databytes.length-_dhigh*256); +RDebugUtils.currentLine=31588356; + //BA.debugLineNum = 31588356;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \","; +__c.LogImpl("531588356","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0); +RDebugUtils.currentLine=31588357; + //BA.debugLineNum = 31588357;BA.debugLine="Dim params(3) As Byte"; +_params = new byte[(int) (3)]; +; +RDebugUtils.currentLine=31588358; + //BA.debugLineNum = 31588358;BA.debugLine="params(0) = scale"; +_params[(int) (0)] = (byte) (_scale); +RDebugUtils.currentLine=31588359; + //BA.debugLineNum = 31588359;BA.debugLine="params(1) = dlow"; +_params[(int) (1)] = (byte) (_dlow); +RDebugUtils.currentLine=31588360; + //BA.debugLineNum = 31588360;BA.debugLine="params(2) = dhigh"; +_params[(int) (2)] = (byte) (_dhigh); +RDebugUtils.currentLine=31588361; + //BA.debugLineNum = 31588361;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=31588362; + //BA.debugLineNum = 31588362;BA.debugLine="WriteBytes(params)"; +__ref._writebytes /*String*/ (null,_params); +RDebugUtils.currentLine=31588363; + //BA.debugLineNum = 31588363;BA.debugLine="WriteBytes(databytes)"; +__ref._writebytes /*String*/ (null,_databytes); +RDebugUtils.currentLine=31588364; + //BA.debugLineNum = 31588364;BA.debugLine="End Sub"; +return ""; +} +public String _writestring2(SHARK2.keymon.com.mx.escposprinter __ref,String _data,String _encoding) throws Exception{ +__ref = this; +RDebugUtils.currentModule="escposprinter"; +if (Debug.shouldDelegate(ba, "writestring2", false)) + {return ((String) Debug.delegate(ba, "writestring2", new Object[] {_data,_encoding}));} +RDebugUtils.currentLine=29622272; + //BA.debugLineNum = 29622272;BA.debugLine="Public Sub WriteString2(data As String, encoding A"; +RDebugUtils.currentLine=29622273; + //BA.debugLineNum = 29622273;BA.debugLine="Try"; +try {RDebugUtils.currentLine=29622274; + //BA.debugLineNum = 29622274;BA.debugLine="If Connected Then"; +if (__ref._connected /*boolean*/ ) { +RDebugUtils.currentLine=29622275; + //BA.debugLineNum = 29622275;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=29622278; + //BA.debugLineNum = 29622278;BA.debugLine="Log(\"Printer error : \" & LastException.Message)"; +__c.LogImpl("529622278","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0); +RDebugUtils.currentLine=29622279; + //BA.debugLineNum = 29622279;BA.debugLine="AStream_Error"; +__ref._astream_error /*String*/ (null); + }; +RDebugUtils.currentLine=29622281; + //BA.debugLineNum = 29622281;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/filehandler.java b/B4A/Objects/src/SHARK2/keymon/com/mx/filehandler.java new file mode 100644 index 0000000..1a19e0f --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/filehandler.java @@ -0,0 +1,553 @@ +package SHARK2.keymon.com.mx; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class filehandler 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, "SHARK2.keymon.com.mx.filehandler"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.filehandler.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 _loadresult{ +public boolean IsInitialized; +public boolean Success; +public String Dir; +public String FileName; +public String RealName; +public long Size; +public long Modified; +public String MimeType; +public void Initialize() { +IsInitialized = true; +Success = false; +Dir = ""; +FileName = ""; +RealName = ""; +Size = 0L; +Modified = 0L; +MimeType = ""; +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public anywheresoftware.b4a.keywords.Common __c = null; +public Object _ion = null; +public anywheresoftware.b4a.objects.IntentWrapper _oldintent = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _initialize(SHARK2.keymon.com.mx.filehandler __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="filehandler"; +if (Debug.shouldDelegate(ba, "initialize", false)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=31981568; + //BA.debugLineNum = 31981568;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=31981570; + //BA.debugLineNum = 31981570;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _load(SHARK2.keymon.com.mx.filehandler __ref) throws Exception{ +RDebugUtils.currentModule="filehandler"; +if (Debug.shouldDelegate(ba, "load", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "load", null));} +ResumableSub_Load rsub = new ResumableSub_Load(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_Load extends BA.ResumableSub { +public ResumableSub_Load(SHARK2.keymon.com.mx.filehandler parent,SHARK2.keymon.com.mx.filehandler __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.filehandler __ref; +SHARK2.keymon.com.mx.filehandler parent; +anywheresoftware.b4a.phone.Phone.ContentChooser _cc = null; +boolean _success = false; +String _dir = ""; +String _filename = ""; +SHARK2.keymon.com.mx.filehandler._loadresult _res = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="filehandler"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=32112641; + //BA.debugLineNum = 32112641;BA.debugLine="Dim cc As ContentChooser"; +_cc = new anywheresoftware.b4a.phone.Phone.ContentChooser(); +RDebugUtils.currentLine=32112642; + //BA.debugLineNum = 32112642;BA.debugLine="cc.Initialize(\"cc\")"; +_cc.Initialize("cc"); +RDebugUtils.currentLine=32112643; + //BA.debugLineNum = 32112643;BA.debugLine="cc.Show(\"application/octet-stream\", \"Choose text"; +_cc.Show(ba,"application/octet-stream","Choose text file"); +RDebugUtils.currentLine=32112644; + //BA.debugLineNum = 32112644;BA.debugLine="Wait For CC_Result (Success As Boolean, Dir As St"; +parent.__c.WaitFor("cc_result", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "filehandler", "load"), null); +this.state = 7; +return; +case 7: +//C +this.state = 1; +_success = (Boolean) result[1]; +_dir = (String) result[2]; +_filename = (String) result[3]; +; +RDebugUtils.currentLine=32112645; + //BA.debugLineNum = 32112645;BA.debugLine="Log($\"***************************${CRLF}${Dir}${C"; +parent.__c.LogImpl("532112645",("***************************"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_dir))+""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+" "+parent.__c.SmartStringFormatter("",(Object)(_filename))+""),0); +RDebugUtils.currentLine=32112646; + //BA.debugLineNum = 32112646;BA.debugLine="Dim res As LoadResult = CreateLoadResult(Success,"; +_res = __ref._createloadresult /*SHARK2.keymon.com.mx.filehandler._loadresult*/ (null,_success,_dir,_filename); +RDebugUtils.currentLine=32112647; + //BA.debugLineNum = 32112647;BA.debugLine="Log($\"***************************${CRLF}${res.Fil"; +parent.__c.LogImpl("532112647",("***************************"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_res.FileName /*String*/ ))+""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+" "+parent.__c.SmartStringFormatter("",(Object)(_res))+""),0); +RDebugUtils.currentLine=32112648; + //BA.debugLineNum = 32112648;BA.debugLine="If res.Success Then ExtractInformationFromURI(res"; +if (true) break; + +case 1: +//if +this.state = 6; +if (_res.Success /*boolean*/ ) { +this.state = 3; +;}if (true) break; + +case 3: +//C +this.state = 6; +__ref._extractinformationfromuri /*String*/ (null,_res.FileName /*String*/ ,_res); +if (true) break; + +case 6: +//C +this.state = -1; +; +RDebugUtils.currentLine=32112649; + //BA.debugLineNum = 32112649;BA.debugLine="Return res"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(_res));return;}; +RDebugUtils.currentLine=32112650; + //BA.debugLineNum = 32112650;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public SHARK2.keymon.com.mx.filehandler._loadresult _checkforreceivedfiles(SHARK2.keymon.com.mx.filehandler __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="filehandler"; +if (Debug.shouldDelegate(ba, "checkforreceivedfiles", false)) + {return ((SHARK2.keymon.com.mx.filehandler._loadresult) Debug.delegate(ba, "checkforreceivedfiles", null));} +anywheresoftware.b4a.objects.ActivityWrapper _activity = null; +anywheresoftware.b4a.objects.IntentWrapper _in = null; +String _uri = ""; +SHARK2.keymon.com.mx.filehandler._loadresult _res = null; +RDebugUtils.currentLine=32374784; + //BA.debugLineNum = 32374784;BA.debugLine="Public Sub CheckForReceivedFiles As LoadResult"; +RDebugUtils.currentLine=32374785; + //BA.debugLineNum = 32374785;BA.debugLine="Dim Activity As Activity = B4XPages.GetNativePare"; +_activity = new anywheresoftware.b4a.objects.ActivityWrapper(); +_activity = _b4xpages._getnativeparent /*anywheresoftware.b4a.objects.ActivityWrapper*/ (getActivityBA(),(Object)(_b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (getActivityBA()))); +RDebugUtils.currentLine=32374786; + //BA.debugLineNum = 32374786;BA.debugLine="If IsRelevantIntent(Activity.GetStartingIntent) T"; +if (__ref._isrelevantintent /*boolean*/ (null,_activity.GetStartingIntent())) { +RDebugUtils.currentLine=32374787; + //BA.debugLineNum = 32374787;BA.debugLine="Dim in As Intent = Activity.GetStartingIntent"; +_in = new anywheresoftware.b4a.objects.IntentWrapper(); +_in = _activity.GetStartingIntent(); +RDebugUtils.currentLine=32374788; + //BA.debugLineNum = 32374788;BA.debugLine="Dim uri As String"; +_uri = ""; +RDebugUtils.currentLine=32374789; + //BA.debugLineNum = 32374789;BA.debugLine="If in.HasExtra(\"android.intent.extra.STREAM\") Th"; +if (_in.HasExtra("android.intent.extra.STREAM")) { +RDebugUtils.currentLine=32374790; + //BA.debugLineNum = 32374790;BA.debugLine="uri = in.As(JavaObject).RunMethod(\"getParcelabl"; +_uri = BA.ObjectToString(((anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_in.getObject()))).RunMethod("getParcelableExtra",new Object[]{(Object)("android.intent.extra.STREAM")})); + }else { +RDebugUtils.currentLine=32374792; + //BA.debugLineNum = 32374792;BA.debugLine="uri = in.GetData"; +_uri = _in.GetData(); + }; +RDebugUtils.currentLine=32374794; + //BA.debugLineNum = 32374794;BA.debugLine="Dim res As LoadResult = CreateLoadResult(True, \""; +_res = __ref._createloadresult /*SHARK2.keymon.com.mx.filehandler._loadresult*/ (null,__c.True,"ContentDir",_uri); +RDebugUtils.currentLine=32374795; + //BA.debugLineNum = 32374795;BA.debugLine="ExtractInformationFromURI(res.FileName, res)"; +__ref._extractinformationfromuri /*String*/ (null,_res.FileName /*String*/ ,_res); +RDebugUtils.currentLine=32374796; + //BA.debugLineNum = 32374796;BA.debugLine="Return res"; +if (true) return _res; + }; +RDebugUtils.currentLine=32374798; + //BA.debugLineNum = 32374798;BA.debugLine="Return CreateLoadResult(False, \"\", \"\")"; +if (true) return __ref._createloadresult /*SHARK2.keymon.com.mx.filehandler._loadresult*/ (null,__c.False,"",""); +RDebugUtils.currentLine=32374799; + //BA.debugLineNum = 32374799;BA.debugLine="End Sub"; +return null; +} +public boolean _isrelevantintent(SHARK2.keymon.com.mx.filehandler __ref,anywheresoftware.b4a.objects.IntentWrapper _in) throws Exception{ +__ref = this; +RDebugUtils.currentModule="filehandler"; +if (Debug.shouldDelegate(ba, "isrelevantintent", false)) + {return ((Boolean) Debug.delegate(ba, "isrelevantintent", new Object[] {_in}));} +RDebugUtils.currentLine=32440320; + //BA.debugLineNum = 32440320;BA.debugLine="Private Sub IsRelevantIntent(in As Intent) As Bool"; +RDebugUtils.currentLine=32440321; + //BA.debugLineNum = 32440321;BA.debugLine="If in.IsInitialized And in <> OldIntent And in.Ac"; +if (_in.IsInitialized() && (_in).equals(__ref._oldintent /*anywheresoftware.b4a.objects.IntentWrapper*/ ) == false && (_in.getAction()).equals(_in.ACTION_VIEW)) { +RDebugUtils.currentLine=32440322; + //BA.debugLineNum = 32440322;BA.debugLine="OldIntent = in"; +__ref._oldintent /*anywheresoftware.b4a.objects.IntentWrapper*/ = _in; +RDebugUtils.currentLine=32440323; + //BA.debugLineNum = 32440323;BA.debugLine="Return True"; +if (true) return __c.True; + }; +RDebugUtils.currentLine=32440325; + //BA.debugLineNum = 32440325;BA.debugLine="Return False"; +if (true) return __c.False; +RDebugUtils.currentLine=32440326; + //BA.debugLineNum = 32440326;BA.debugLine="End Sub"; +return false; +} +public SHARK2.keymon.com.mx.filehandler._loadresult _createloadresult(SHARK2.keymon.com.mx.filehandler __ref,boolean _success,String _dir,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="filehandler"; +if (Debug.shouldDelegate(ba, "createloadresult", false)) + {return ((SHARK2.keymon.com.mx.filehandler._loadresult) Debug.delegate(ba, "createloadresult", new Object[] {_success,_dir,_filename}));} +SHARK2.keymon.com.mx.filehandler._loadresult _t1 = null; +RDebugUtils.currentLine=32505856; + //BA.debugLineNum = 32505856;BA.debugLine="Private Sub CreateLoadResult (Success As Boolean,"; +RDebugUtils.currentLine=32505857; + //BA.debugLineNum = 32505857;BA.debugLine="Dim t1 As LoadResult"; +_t1 = new SHARK2.keymon.com.mx.filehandler._loadresult(); +RDebugUtils.currentLine=32505858; + //BA.debugLineNum = 32505858;BA.debugLine="t1.Initialize"; +_t1.Initialize(); +RDebugUtils.currentLine=32505859; + //BA.debugLineNum = 32505859;BA.debugLine="t1.Success = Success"; +_t1.Success /*boolean*/ = _success; +RDebugUtils.currentLine=32505860; + //BA.debugLineNum = 32505860;BA.debugLine="t1.Dir = Dir"; +_t1.Dir /*String*/ = _dir; +RDebugUtils.currentLine=32505861; + //BA.debugLineNum = 32505861;BA.debugLine="t1.FileName = FileName"; +_t1.FileName /*String*/ = _filename; +RDebugUtils.currentLine=32505862; + //BA.debugLineNum = 32505862;BA.debugLine="Return t1"; +if (true) return _t1; +RDebugUtils.currentLine=32505863; + //BA.debugLineNum = 32505863;BA.debugLine="End Sub"; +return null; +} +public String _extractinformationfromuri(SHARK2.keymon.com.mx.filehandler __ref,String _uri,SHARK2.keymon.com.mx.filehandler._loadresult _res) throws Exception{ +__ref = this; +RDebugUtils.currentModule="filehandler"; +if (Debug.shouldDelegate(ba, "extractinformationfromuri", false)) + {return ((String) Debug.delegate(ba, "extractinformationfromuri", new Object[] {_uri,_res}));} +anywheresoftware.b4a.objects.ContentResolverWrapper _resolver = null; +anywheresoftware.b4a.objects.ContentResolverWrapper.UriWrapper _u = null; +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _rs = null; +SHARK2.keymon.com.mx.b4xset _columns = null; +int _i = 0; +RDebugUtils.currentLine=32309248; + //BA.debugLineNum = 32309248;BA.debugLine="Private Sub ExtractInformationFromURI (Uri As Stri"; +RDebugUtils.currentLine=32309249; + //BA.debugLineNum = 32309249;BA.debugLine="Try"; +try {RDebugUtils.currentLine=32309251; + //BA.debugLineNum = 32309251;BA.debugLine="Dim resolver As ContentResolver"; +_resolver = new anywheresoftware.b4a.objects.ContentResolverWrapper(); +RDebugUtils.currentLine=32309252; + //BA.debugLineNum = 32309252;BA.debugLine="resolver.Initialize(\"\")"; +_resolver.Initialize(""); +RDebugUtils.currentLine=32309253; + //BA.debugLineNum = 32309253;BA.debugLine="Dim u As Uri"; +_u = new anywheresoftware.b4a.objects.ContentResolverWrapper.UriWrapper(); +RDebugUtils.currentLine=32309254; + //BA.debugLineNum = 32309254;BA.debugLine="u.Parse(Uri)"; +_u.Parse(_uri); +RDebugUtils.currentLine=32309255; + //BA.debugLineNum = 32309255;BA.debugLine="Dim rs As ResultSet = resolver.Query(u, Null, \"\","; +_rs = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +_rs = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_resolver.Query(_u,(String[])(__c.Null),"",(String[])(__c.Null),"").getObject())); +RDebugUtils.currentLine=32309256; + //BA.debugLineNum = 32309256;BA.debugLine="If rs.NextRow Then"; +if (_rs.NextRow()) { +RDebugUtils.currentLine=32309257; + //BA.debugLineNum = 32309257;BA.debugLine="Dim columns As B4XSet = B4XCollections.CreateSet"; +_columns = _b4xcollections._createset /*SHARK2.keymon.com.mx.b4xset*/ (getActivityBA()); +RDebugUtils.currentLine=32309258; + //BA.debugLineNum = 32309258;BA.debugLine="For i = 0 To rs.ColumnCount - 1"; +{ +final int step9 = 1; +final int limit9 = (int) (_rs.getColumnCount()-1); +_i = (int) (0) ; +for (;_i <= limit9 ;_i = _i + step9 ) { +RDebugUtils.currentLine=32309259; + //BA.debugLineNum = 32309259;BA.debugLine="columns.Add(rs.GetColumnName(i))"; +_columns._add /*String*/ (null,(Object)(_rs.GetColumnName(_i))); + } +}; +RDebugUtils.currentLine=32309261; + //BA.debugLineNum = 32309261;BA.debugLine="If columns.Contains(\"_display_name\") Then res.Re"; +if (_columns._contains /*boolean*/ (null,(Object)("_display_name"))) { +_res.RealName /*String*/ = _rs.GetString("_display_name");}; +RDebugUtils.currentLine=32309262; + //BA.debugLineNum = 32309262;BA.debugLine="If columns.Contains(\"_size\") Then res.Size = rs."; +if (_columns._contains /*boolean*/ (null,(Object)("_size"))) { +_res.Size /*long*/ = _rs.GetLong("_size");}; +RDebugUtils.currentLine=32309263; + //BA.debugLineNum = 32309263;BA.debugLine="If columns.Contains(\"last_modified\") Then res.Mo"; +if (_columns._contains /*boolean*/ (null,(Object)("last_modified"))) { +_res.Modified /*long*/ = _rs.GetLong("last_modified");}; +RDebugUtils.currentLine=32309264; + //BA.debugLineNum = 32309264;BA.debugLine="If columns.Contains(\"mime_type\") Then res.MimeTy"; +if (_columns._contains /*boolean*/ (null,(Object)("mime_type"))) { +_res.MimeType /*String*/ = _rs.GetString("mime_type");}; + }; +RDebugUtils.currentLine=32309266; + //BA.debugLineNum = 32309266;BA.debugLine="rs.Close"; +_rs.Close(); + } + catch (Exception e19) { + ba.setLastException(e19);RDebugUtils.currentLine=32309269; + //BA.debugLineNum = 32309269;BA.debugLine="Log(\"error extracting information from file prov"; +__c.LogImpl("532309269","error extracting information from file provider",0); +RDebugUtils.currentLine=32309270; + //BA.debugLineNum = 32309270;BA.debugLine="Log(LastException)"; +__c.LogImpl("532309270",BA.ObjectToString(__c.LastException(getActivityBA())),0); + }; +RDebugUtils.currentLine=32309272; + //BA.debugLineNum = 32309272;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.filehandler __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="filehandler"; +RDebugUtils.currentLine=31916032; + //BA.debugLineNum = 31916032;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=31916034; + //BA.debugLineNum = 31916034;BA.debugLine="Private ion As Object"; +_ion = new Object(); +RDebugUtils.currentLine=31916035; + //BA.debugLineNum = 31916035;BA.debugLine="Private OldIntent As Intent"; +_oldintent = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=31916037; + //BA.debugLineNum = 31916037;BA.debugLine="Type LoadResult (Success As Boolean, Dir As Strin"; +; +RDebugUtils.currentLine=31916039; + //BA.debugLineNum = 31916039;BA.debugLine="End Sub"; +return ""; +} +public Object _getba(SHARK2.keymon.com.mx.filehandler __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="filehandler"; +if (Debug.shouldDelegate(ba, "getba", false)) + {return ((Object) Debug.delegate(ba, "getba", null));} +RDebugUtils.currentLine=32243712; + //BA.debugLineNum = 32243712;BA.debugLine="Private Sub GetBA As Object"; +RDebugUtils.currentLine=32243713; + //BA.debugLineNum = 32243713;BA.debugLine="Return Me.As(JavaObject).RunMethod(\"getBA\", Null)"; +if (true) return ((anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this))).RunMethod("getBA",(Object[])(__c.Null)); +RDebugUtils.currentLine=32243714; + //BA.debugLineNum = 32243714;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _saveas(SHARK2.keymon.com.mx.filehandler __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _source,String _mimetype,String _title) throws Exception{ +RDebugUtils.currentModule="filehandler"; +if (Debug.shouldDelegate(ba, "saveas", false)) + {return ((anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) Debug.delegate(ba, "saveas", new Object[] {_source,_mimetype,_title}));} +ResumableSub_SaveAs rsub = new ResumableSub_SaveAs(this,__ref,_source,_mimetype,_title); +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_SaveAs extends BA.ResumableSub { +public ResumableSub_SaveAs(SHARK2.keymon.com.mx.filehandler parent,SHARK2.keymon.com.mx.filehandler __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _source,String _mimetype,String _title) { +this.parent = parent; +this.__ref = __ref; +this._source = _source; +this._mimetype = _mimetype; +this._title = _title; +this.__ref = parent; +} +SHARK2.keymon.com.mx.filehandler __ref; +SHARK2.keymon.com.mx.filehandler parent; +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _source; +String _mimetype; +String _title; +anywheresoftware.b4a.objects.IntentWrapper _intent = null; +String _methodname = ""; +Object[] _args = null; +anywheresoftware.b4a.objects.IntentWrapper _result = null; +anywheresoftware.b4j.object.JavaObject _jo = null; +anywheresoftware.b4j.object.JavaObject _ctxt = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="filehandler"; + + while (true) { + switch (state) { + case -1: +{ +parent.__c.ReturnFromResumableSub(this,null);return;} +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=32047105; + //BA.debugLineNum = 32047105;BA.debugLine="Dim intent As Intent"; +_intent = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=32047106; + //BA.debugLineNum = 32047106;BA.debugLine="intent.Initialize(\"android.intent.action.CREATE_D"; +_intent.Initialize("android.intent.action.CREATE_DOCUMENT",""); +RDebugUtils.currentLine=32047107; + //BA.debugLineNum = 32047107;BA.debugLine="intent.AddCategory(\"android.intent.category.OPENA"; +_intent.AddCategory("android.intent.category.OPENABLE"); +RDebugUtils.currentLine=32047108; + //BA.debugLineNum = 32047108;BA.debugLine="intent.PutExtra(\"android.intent.extra.TITLE\", Tit"; +_intent.PutExtra("android.intent.extra.TITLE",(Object)(_title)); +RDebugUtils.currentLine=32047109; + //BA.debugLineNum = 32047109;BA.debugLine="intent.SetType(MimeType)"; +_intent.SetType(_mimetype); +RDebugUtils.currentLine=32047110; + //BA.debugLineNum = 32047110;BA.debugLine="StartActivityForResult(intent)"; +__ref._startactivityforresult /*String*/ (null,_intent); +RDebugUtils.currentLine=32047111; + //BA.debugLineNum = 32047111;BA.debugLine="Wait For ion_Event (MethodName As String, Args()"; +parent.__c.WaitFor("ion_event", ba, new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "filehandler", "saveas"), null); +this.state = 5; +return; +case 5: +//C +this.state = 1; +_methodname = (String) result[1]; +_args = (Object[]) result[2]; +; +RDebugUtils.currentLine=32047112; + //BA.debugLineNum = 32047112;BA.debugLine="If -1 = Args(0) Then 'resultCode = RESULT_OK"; +if (true) break; + +case 1: +//if +this.state = 4; +if (-1==(double)(BA.ObjectToNumber(_args[(int) (0)]))) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=32047113; + //BA.debugLineNum = 32047113;BA.debugLine="Dim result As Intent = Args(1)"; +_result = new anywheresoftware.b4a.objects.IntentWrapper(); +_result = (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_args[(int) (1)])); +RDebugUtils.currentLine=32047114; + //BA.debugLineNum = 32047114;BA.debugLine="Dim jo As JavaObject = result"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_result.getObject())); +RDebugUtils.currentLine=32047115; + //BA.debugLineNum = 32047115;BA.debugLine="Dim ctxt As JavaObject"; +_ctxt = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=32047116; + //BA.debugLineNum = 32047116;BA.debugLine="Dim out As OutputStream = ctxt.InitializeContext"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +_out = (anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(), (java.io.OutputStream)(_ctxt.InitializeContext(ba).RunMethodJO("getContentResolver",(Object[])(parent.__c.Null)).RunMethod("openOutputStream",new Object[]{_jo.RunMethod("getData",(Object[])(parent.__c.Null))}))); +RDebugUtils.currentLine=32047117; + //BA.debugLineNum = 32047117;BA.debugLine="File.Copy2(Source, out)"; +parent.__c.File.Copy2((java.io.InputStream)(_source.getObject()),(java.io.OutputStream)(_out.getObject())); +RDebugUtils.currentLine=32047118; + //BA.debugLineNum = 32047118;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=32047119; + //BA.debugLineNum = 32047119;BA.debugLine="Return True"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;}; + if (true) break; + +case 4: +//C +this.state = -1; +; +RDebugUtils.currentLine=32047121; + //BA.debugLineNum = 32047121;BA.debugLine="Return False"; +if (true) { +parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; +RDebugUtils.currentLine=32047122; + //BA.debugLineNum = 32047122;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _startactivityforresult(SHARK2.keymon.com.mx.filehandler __ref,anywheresoftware.b4a.objects.IntentWrapper _i) throws Exception{ +__ref = this; +RDebugUtils.currentModule="filehandler"; +if (Debug.shouldDelegate(ba, "startactivityforresult", false)) + {return ((String) Debug.delegate(ba, "startactivityforresult", new Object[] {_i}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=32178176; + //BA.debugLineNum = 32178176;BA.debugLine="Private Sub StartActivityForResult(i As Intent)"; +RDebugUtils.currentLine=32178177; + //BA.debugLineNum = 32178177;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=32178178; + //BA.debugLineNum = 32178178;BA.debugLine="ion = jo.CreateEvent(\"anywheresoftware.b4a.IOnAct"; +__ref._ion /*Object*/ = _jo.CreateEvent(ba,"anywheresoftware.b4a.IOnActivityResult","ion",__c.Null); +RDebugUtils.currentLine=32178179; + //BA.debugLineNum = 32178179;BA.debugLine="jo.RunMethod(\"startActivityForResult\", Array(ion,"; +_jo.RunMethod("startActivityForResult",new Object[]{__ref._ion /*Object*/ ,(Object)(_i.getObject())}); +RDebugUtils.currentLine=32178180; + //BA.debugLineNum = 32178180;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/fileprovider.java b/B4A/Objects/src/SHARK2/keymon/com/mx/fileprovider.java new file mode 100644 index 0000000..114ef69 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/fileprovider.java @@ -0,0 +1,178 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.fileprovider"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public Object _getfileuri(SHARK2.keymon.com.mx.fileprovider __ref,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="fileprovider"; +if (Debug.shouldDelegate(ba, "getfileuri", true)) + {return ((Object) Debug.delegate(ba, "getfileuri", new Object[] {_filename}));} +anywheresoftware.b4j.object.JavaObject _uri = null; +anywheresoftware.b4j.object.JavaObject _f = null; +anywheresoftware.b4j.object.JavaObject _fp = null; +anywheresoftware.b4j.object.JavaObject _context = null; +RDebugUtils.currentLine=54984704; + //BA.debugLineNum = 54984704;BA.debugLine="Public Sub GetFileUri (FileName As String) As Obje"; +RDebugUtils.currentLine=54984706; + //BA.debugLineNum = 54984706;BA.debugLine="If UseFileProvider = False Then"; +if (__ref._usefileprovider /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=54984707; + //BA.debugLineNum = 54984707;BA.debugLine="Dim uri As JavaObject"; +_uri = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=54984708; + //BA.debugLineNum = 54984708;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=54984710; + //BA.debugLineNum = 54984710;BA.debugLine="Dim f As JavaObject"; +_f = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=54984711; + //BA.debugLineNum = 54984711;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; +_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(__ref._sharedfolder /*String*/ ),(Object)(_filename)}); +RDebugUtils.currentLine=54984712; + //BA.debugLineNum = 54984712;BA.debugLine="Dim fp As JavaObject"; +_fp = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=54984713; + //BA.debugLineNum = 54984713;BA.debugLine="Dim context As JavaObject"; +_context = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=54984714; + //BA.debugLineNum = 54984714;BA.debugLine="context.InitializeContext"; +_context.InitializeContext(ba); +RDebugUtils.currentLine=54984715; + //BA.debugLineNum = 54984715;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; +_fp.InitializeStatic("androidx.core.content.FileProvider"); +RDebugUtils.currentLine=54984716; + //BA.debugLineNum = 54984716;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=54984718; + //BA.debugLineNum = 54984718;BA.debugLine="End Sub"; +return null; +} +public String _initialize(SHARK2.keymon.com.mx.fileprovider __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="fileprovider"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +anywheresoftware.b4a.phone.Phone _p = null; +RDebugUtils.currentLine=54919168; + //BA.debugLineNum = 54919168;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=54919169; + //BA.debugLineNum = 54919169;BA.debugLine="Dim p As Phone"; +_p = new anywheresoftware.b4a.phone.Phone(); +RDebugUtils.currentLine=54919170; + //BA.debugLineNum = 54919170;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; +if (_p.getSdkVersion()>=24 || __c.File.getExternalWritable()==__c.False) { +RDebugUtils.currentLine=54919171; + //BA.debugLineNum = 54919171;BA.debugLine="UseFileProvider = True"; +__ref._usefileprovider /*boolean*/ = __c.True; +RDebugUtils.currentLine=54919172; + //BA.debugLineNum = 54919172;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; +__ref._sharedfolder /*String*/ = __c.File.Combine(__c.File.getDirInternal(),"shared"); +RDebugUtils.currentLine=54919173; + //BA.debugLineNum = 54919173;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; +__c.File.MakeDir("",__ref._sharedfolder /*String*/ ); + }else { +RDebugUtils.currentLine=54919175; + //BA.debugLineNum = 54919175;BA.debugLine="UseFileProvider = False"; +__ref._usefileprovider /*boolean*/ = __c.False; +RDebugUtils.currentLine=54919176; + //BA.debugLineNum = 54919176;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; +__ref._sharedfolder /*String*/ = __ref._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .GetSafeDirDefaultExternal("shared"); + }; +RDebugUtils.currentLine=54919178; + //BA.debugLineNum = 54919178;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; +__c.LogImpl("954919178",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(__ref._usefileprovider /*boolean*/ ))+""),0); +RDebugUtils.currentLine=54919179; + //BA.debugLineNum = 54919179;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.fileprovider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="fileprovider"; +RDebugUtils.currentLine=54853632; + //BA.debugLineNum = 54853632;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=54853633; + //BA.debugLineNum = 54853633;BA.debugLine="Public SharedFolder As String"; +_sharedfolder = ""; +RDebugUtils.currentLine=54853634; + //BA.debugLineNum = 54853634;BA.debugLine="Public UseFileProvider As Boolean"; +_usefileprovider = false; +RDebugUtils.currentLine=54853635; + //BA.debugLineNum = 54853635;BA.debugLine="Private rp As RuntimePermissions"; +_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); +RDebugUtils.currentLine=54853636; + //BA.debugLineNum = 54853636;BA.debugLine="End Sub"; +return ""; +} +public String _setfileuriasintentdata(SHARK2.keymon.com.mx.fileprovider __ref,anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="fileprovider"; +if (Debug.shouldDelegate(ba, "setfileuriasintentdata", true)) + {return ((String) Debug.delegate(ba, "setfileuriasintentdata", new Object[] {_intent,_filename}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +RDebugUtils.currentLine=55050240; + //BA.debugLineNum = 55050240;BA.debugLine="Public Sub SetFileUriAsIntentData (Intent As Inten"; +RDebugUtils.currentLine=55050241; + //BA.debugLineNum = 55050241;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=55050242; + //BA.debugLineNum = 55050242;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; +_jo.RunMethod("setData",new Object[]{__ref._getfileuri /*Object*/ (null,_filename)}); +RDebugUtils.currentLine=55050243; + //BA.debugLineNum = 55050243;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; +_intent.setFlags(__c.Bit.Or(_intent.getFlags(),(int) (1))); +RDebugUtils.currentLine=55050244; + //BA.debugLineNum = 55050244;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/httpjob.java b/B4A/Objects/src/SHARK2/keymon/com/mx/httpjob.java new file mode 100644 index 0000000..91a7540 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/httpjob.java @@ -0,0 +1,871 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.httpjob"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _initialize(SHARK2.keymon.com.mx.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=55836672; + //BA.debugLineNum = 55836672;BA.debugLine="Public Sub Initialize (Name As String, TargetModul"; +RDebugUtils.currentLine=55836673; + //BA.debugLineNum = 55836673;BA.debugLine="JobName = Name"; +__ref._jobname /*String*/ = _name; +RDebugUtils.currentLine=55836674; + //BA.debugLineNum = 55836674;BA.debugLine="target = TargetModule"; +__ref._target /*Object*/ = _targetmodule; +RDebugUtils.currentLine=55836682; + //BA.debugLineNum = 55836682;BA.debugLine="End Sub"; +return ""; +} +public String _download(SHARK2.keymon.com.mx.httpjob __ref,String _link) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "download", true)) + {return ((String) Debug.delegate(ba, "download", new Object[] {_link}));} +RDebugUtils.currentLine=56623104; + //BA.debugLineNum = 56623104;BA.debugLine="Public Sub Download(Link As String)"; +RDebugUtils.currentLine=56623105; + //BA.debugLineNum = 56623105;BA.debugLine="Try"; +try {RDebugUtils.currentLine=56623106; + //BA.debugLineNum = 56623106;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=56623107; + //BA.debugLineNum = 56623107;BA.debugLine="req.InitializeGet(Link)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeGet(_link); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=56623109; + //BA.debugLineNum = 56623109;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("956623109",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=56623110; + //BA.debugLineNum = 56623110;BA.debugLine="req.InitializeGet(InvalidURL)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeGet(__ref._invalidurl /*String*/ ); + }; +RDebugUtils.currentLine=56623112; + //BA.debugLineNum = 56623112;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=56623113; + //BA.debugLineNum = 56623113;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _getinputstream(SHARK2.keymon.com.mx.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getinputstream", true)) + {return ((anywheresoftware.b4a.objects.streams.File.InputStreamWrapper) Debug.delegate(ba, "getinputstream", null));} +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +RDebugUtils.currentLine=57475072; + //BA.debugLineNum = 57475072;BA.debugLine="Public Sub GetInputStream As InputStream"; +RDebugUtils.currentLine=57475073; + //BA.debugLineNum = 57475073;BA.debugLine="Dim In As InputStream"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +RDebugUtils.currentLine=57475074; + //BA.debugLineNum = 57475074;BA.debugLine="In = File.OpenInput(HttpUtils2Service.TempFolder,"; +_in = __c.File.OpenInput(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ); +RDebugUtils.currentLine=57475075; + //BA.debugLineNum = 57475075;BA.debugLine="Return In"; +if (true) return _in; +RDebugUtils.currentLine=57475076; + //BA.debugLineNum = 57475076;BA.debugLine="End Sub"; +return null; +} +public String _release(SHARK2.keymon.com.mx.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "release", true)) + {return ((String) Debug.delegate(ba, "release", null));} +RDebugUtils.currentLine=56950784; + //BA.debugLineNum = 56950784;BA.debugLine="Public Sub Release"; +RDebugUtils.currentLine=56950786; + //BA.debugLineNum = 56950786;BA.debugLine="File.Delete(HttpUtils2Service.TempFolder, taskId)"; +__c.File.Delete(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ); +RDebugUtils.currentLine=56950788; + //BA.debugLineNum = 56950788;BA.debugLine="End Sub"; +return ""; +} +public String _getstring(SHARK2.keymon.com.mx.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getstring", true)) + {return ((String) Debug.delegate(ba, "getstring", null));} +RDebugUtils.currentLine=57016320; + //BA.debugLineNum = 57016320;BA.debugLine="Public Sub GetString As String"; +RDebugUtils.currentLine=57016321; + //BA.debugLineNum = 57016321;BA.debugLine="Return GetString2(\"UTF8\")"; +if (true) return __ref._getstring2 /*String*/ (null,"UTF8"); +RDebugUtils.currentLine=57016322; + //BA.debugLineNum = 57016322;BA.debugLine="End Sub"; +return ""; +} +public String _postbytes(SHARK2.keymon.com.mx.httpjob __ref,String _link,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "postbytes", true)) + {return ((String) Debug.delegate(ba, "postbytes", new Object[] {_link,_data}));} +RDebugUtils.currentLine=56033280; + //BA.debugLineNum = 56033280;BA.debugLine="Public Sub PostBytes(Link As String, Data() As Byt"; +RDebugUtils.currentLine=56033281; + //BA.debugLineNum = 56033281;BA.debugLine="Try"; +try {RDebugUtils.currentLine=56033282; + //BA.debugLineNum = 56033282;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=56033283; + //BA.debugLineNum = 56033283;BA.debugLine="req.InitializePost2(Link, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePost2(_link,_data); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=56033285; + //BA.debugLineNum = 56033285;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("956033285",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=56033286; + //BA.debugLineNum = 56033286;BA.debugLine="req.InitializePost2(InvalidURL, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePost2(__ref._invalidurl /*String*/ ,_data); + }; +RDebugUtils.currentLine=56033288; + //BA.debugLineNum = 56033288;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=56033289; + //BA.debugLineNum = 56033289;BA.debugLine="End Sub"; +return ""; +} +public String _complete(SHARK2.keymon.com.mx.httpjob __ref,int _id) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "complete", true)) + {return ((String) Debug.delegate(ba, "complete", new Object[] {_id}));} +RDebugUtils.currentLine=57212928; + //BA.debugLineNum = 57212928;BA.debugLine="Public Sub Complete (id As Int)"; +RDebugUtils.currentLine=57212929; + //BA.debugLineNum = 57212929;BA.debugLine="taskId = id"; +__ref._taskid /*String*/ = BA.NumberToString(_id); +RDebugUtils.currentLine=57212930; + //BA.debugLineNum = 57212930;BA.debugLine="CallSubDelayed2(target, \"JobDone\", Me)"; +__c.CallSubDelayed2(ba,__ref._target /*Object*/ ,"JobDone",this); +RDebugUtils.currentLine=57212931; + //BA.debugLineNum = 57212931;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest _getrequest(SHARK2.keymon.com.mx.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getrequest", true)) + {return ((anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest) Debug.delegate(ba, "getrequest", null));} +RDebugUtils.currentLine=57147392; + //BA.debugLineNum = 57147392;BA.debugLine="Public Sub GetRequest As OkHttpRequest"; +RDebugUtils.currentLine=57147393; + //BA.debugLineNum = 57147393;BA.debugLine="Return req"; +if (true) return __ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ ; +RDebugUtils.currentLine=57147394; + //BA.debugLineNum = 57147394;BA.debugLine="End Sub"; +return null; +} +public String _addscheme(SHARK2.keymon.com.mx.httpjob __ref,String _link) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "addscheme", true)) + {return ((String) Debug.delegate(ba, "addscheme", new Object[] {_link}));} +RDebugUtils.currentLine=55902208; + //BA.debugLineNum = 55902208;BA.debugLine="Private Sub AddScheme (Link As String) As String"; +RDebugUtils.currentLine=55902209; + //BA.debugLineNum = 55902209;BA.debugLine="If DefaultScheme = \"\" Or Link.Contains(\":\") Then"; +if ((__ref._defaultscheme /*String*/ ).equals("") || _link.contains(":")) { +if (true) return _link;}; +RDebugUtils.currentLine=55902210; + //BA.debugLineNum = 55902210;BA.debugLine="Return DefaultScheme & \"://\" & Link"; +if (true) return __ref._defaultscheme /*String*/ +"://"+_link; +RDebugUtils.currentLine=55902211; + //BA.debugLineNum = 55902211;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +RDebugUtils.currentLine=55771136; + //BA.debugLineNum = 55771136;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=55771137; + //BA.debugLineNum = 55771137;BA.debugLine="Public JobName As String"; +_jobname = ""; +RDebugUtils.currentLine=55771138; + //BA.debugLineNum = 55771138;BA.debugLine="Public Success As Boolean"; +_success = false; +RDebugUtils.currentLine=55771139; + //BA.debugLineNum = 55771139;BA.debugLine="Public Username, Password As String"; +_username = ""; +_password = ""; +RDebugUtils.currentLine=55771140; + //BA.debugLineNum = 55771140;BA.debugLine="Public ErrorMessage As String"; +_errormessage = ""; +RDebugUtils.currentLine=55771141; + //BA.debugLineNum = 55771141;BA.debugLine="Private target As Object"; +_target = new Object(); +RDebugUtils.currentLine=55771147; + //BA.debugLineNum = 55771147;BA.debugLine="Private taskId As String"; +_taskid = ""; +RDebugUtils.currentLine=55771149; + //BA.debugLineNum = 55771149;BA.debugLine="Private req As OkHttpRequest"; +_req = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest(); +RDebugUtils.currentLine=55771150; + //BA.debugLineNum = 55771150;BA.debugLine="Public Response As OkHttpResponse"; +_response = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse(); +RDebugUtils.currentLine=55771159; + //BA.debugLineNum = 55771159;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=55771160; + //BA.debugLineNum = 55771160;BA.debugLine="Type MultipartFileData (Dir As String, FileName A"; +; +RDebugUtils.currentLine=55771164; + //BA.debugLineNum = 55771164;BA.debugLine="Private Const InvalidURL As String = \"https://inv"; +_invalidurl = "https://invalid-url/"; +RDebugUtils.currentLine=55771165; + //BA.debugLineNum = 55771165;BA.debugLine="Public DefaultScheme As String = \"https\""; +_defaultscheme = "https"; +RDebugUtils.currentLine=55771166; + //BA.debugLineNum = 55771166;BA.debugLine="End Sub"; +return ""; +} +public String _delete(SHARK2.keymon.com.mx.httpjob __ref,String _link) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "delete", true)) + {return ((String) Debug.delegate(ba, "delete", new Object[] {_link}));} +RDebugUtils.currentLine=56819712; + //BA.debugLineNum = 56819712;BA.debugLine="Public Sub Delete(Link As String)"; +RDebugUtils.currentLine=56819713; + //BA.debugLineNum = 56819713;BA.debugLine="Try"; +try {RDebugUtils.currentLine=56819714; + //BA.debugLineNum = 56819714;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=56819715; + //BA.debugLineNum = 56819715;BA.debugLine="req.InitializeDelete(Link)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeDelete(_link); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=56819717; + //BA.debugLineNum = 56819717;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("956819717",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=56819718; + //BA.debugLineNum = 56819718;BA.debugLine="req.InitializeDelete(InvalidURL)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeDelete(__ref._invalidurl /*String*/ ); + }; +RDebugUtils.currentLine=56819720; + //BA.debugLineNum = 56819720;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=56819721; + //BA.debugLineNum = 56819721;BA.debugLine="End Sub"; +return ""; +} +public String _delete2(SHARK2.keymon.com.mx.httpjob __ref,String _link,String[] _parameters) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "delete2", true)) + {return ((String) Debug.delegate(ba, "delete2", new Object[] {_link,_parameters}));} +RDebugUtils.currentLine=56885248; + //BA.debugLineNum = 56885248;BA.debugLine="Public Sub Delete2(Link As String, Parameters() As"; +RDebugUtils.currentLine=56885249; + //BA.debugLineNum = 56885249;BA.debugLine="Try"; +try {RDebugUtils.currentLine=56885250; + //BA.debugLineNum = 56885250;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=56885251; + //BA.debugLineNum = 56885251;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=56885253; + //BA.debugLineNum = 56885253;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("956885253",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=56885254; + //BA.debugLineNum = 56885254;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=56885256; + //BA.debugLineNum = 56885256;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=56885257; + //BA.debugLineNum = 56885257;BA.debugLine="End Sub"; +return ""; +} +public String _escapelink(SHARK2.keymon.com.mx.httpjob __ref,String _link,String[] _parameters) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "escapelink", true)) + {return ((String) Debug.delegate(ba, "escapelink", new Object[] {_link,_parameters}));} +anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; +anywheresoftware.b4a.objects.StringUtils _su = null; +int _i = 0; +RDebugUtils.currentLine=56754176; + //BA.debugLineNum = 56754176;BA.debugLine="Private Sub escapeLink(Link As String, Parameters("; +RDebugUtils.currentLine=56754177; + //BA.debugLineNum = 56754177;BA.debugLine="Dim sb As StringBuilder"; +_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); +RDebugUtils.currentLine=56754178; + //BA.debugLineNum = 56754178;BA.debugLine="sb.Initialize"; +_sb.Initialize(); +RDebugUtils.currentLine=56754179; + //BA.debugLineNum = 56754179;BA.debugLine="sb.Append(Link)"; +_sb.Append(_link); +RDebugUtils.currentLine=56754180; + //BA.debugLineNum = 56754180;BA.debugLine="If Parameters.Length > 0 Then sb.Append(\"?\")"; +if (_parameters.length>0) { +_sb.Append("?");}; +RDebugUtils.currentLine=56754181; + //BA.debugLineNum = 56754181;BA.debugLine="Dim su As StringUtils"; +_su = new anywheresoftware.b4a.objects.StringUtils(); +RDebugUtils.currentLine=56754182; + //BA.debugLineNum = 56754182;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=56754183; + //BA.debugLineNum = 56754183;BA.debugLine="If i > 0 Then sb.Append(\"&\")"; +if (_i>0) { +_sb.Append("&");}; +RDebugUtils.currentLine=56754184; + //BA.debugLineNum = 56754184;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i), \"UTF8\")).A"; +_sb.Append(_su.EncodeUrl(_parameters[_i],"UTF8")).Append("="); +RDebugUtils.currentLine=56754185; + //BA.debugLineNum = 56754185;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i + 1), \"UTF8\""; +_sb.Append(_su.EncodeUrl(_parameters[(int) (_i+1)],"UTF8")); + } +}; +RDebugUtils.currentLine=56754187; + //BA.debugLineNum = 56754187;BA.debugLine="Return sb.ToString"; +if (true) return _sb.ToString(); +RDebugUtils.currentLine=56754188; + //BA.debugLineNum = 56754188;BA.debugLine="End Sub"; +return ""; +} +public String _download2(SHARK2.keymon.com.mx.httpjob __ref,String _link,String[] _parameters) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "download2", true)) + {return ((String) Debug.delegate(ba, "download2", new Object[] {_link,_parameters}));} +RDebugUtils.currentLine=56688640; + //BA.debugLineNum = 56688640;BA.debugLine="Public Sub Download2(Link As String, Parameters()"; +RDebugUtils.currentLine=56688641; + //BA.debugLineNum = 56688641;BA.debugLine="Try"; +try {RDebugUtils.currentLine=56688642; + //BA.debugLineNum = 56688642;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=56688643; + //BA.debugLineNum = 56688643;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=56688645; + //BA.debugLineNum = 56688645;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("956688645",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=56688646; + //BA.debugLineNum = 56688646;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=56688648; + //BA.debugLineNum = 56688648;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=56688649; + //BA.debugLineNum = 56688649;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmap(SHARK2.keymon.com.mx.httpjob __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getbitmap", true)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(ba, "getbitmap", null));} +anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _b = null; +RDebugUtils.currentLine=57278464; + //BA.debugLineNum = 57278464;BA.debugLine="Public Sub GetBitmap As Bitmap"; +RDebugUtils.currentLine=57278465; + //BA.debugLineNum = 57278465;BA.debugLine="Dim b As Bitmap"; +_b = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); +RDebugUtils.currentLine=57278466; + //BA.debugLineNum = 57278466;BA.debugLine="b = LoadBitmap(HttpUtils2Service.TempFolder, task"; +_b = __c.LoadBitmap(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ); +RDebugUtils.currentLine=57278467; + //BA.debugLineNum = 57278467;BA.debugLine="Return b"; +if (true) return _b; +RDebugUtils.currentLine=57278468; + //BA.debugLineNum = 57278468;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapresize(SHARK2.keymon.com.mx.httpjob __ref,int _width,int _height,boolean _keepaspectratio) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getbitmapresize", true)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(ba, "getbitmapresize", new Object[] {_width,_height,_keepaspectratio}));} +RDebugUtils.currentLine=57409536; + //BA.debugLineNum = 57409536;BA.debugLine="Public Sub GetBitmapResize(Width As Int, Height As"; +RDebugUtils.currentLine=57409537; + //BA.debugLineNum = 57409537;BA.debugLine="Return LoadBitmapResize(HttpUtils2Service.TempFol"; +if (true) return __c.LoadBitmapResize(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ,_width,_height,_keepaspectratio); +RDebugUtils.currentLine=57409538; + //BA.debugLineNum = 57409538;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapsample(SHARK2.keymon.com.mx.httpjob __ref,int _width,int _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getbitmapsample", true)) + {return ((anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) Debug.delegate(ba, "getbitmapsample", new Object[] {_width,_height}));} +RDebugUtils.currentLine=57344000; + //BA.debugLineNum = 57344000;BA.debugLine="Public Sub GetBitmapSample(Width As Int, Height As"; +RDebugUtils.currentLine=57344001; + //BA.debugLineNum = 57344001;BA.debugLine="Return LoadBitmapSample(HttpUtils2Service.TempFol"; +if (true) return __c.LoadBitmapSample(_httputils2service._tempfolder /*String*/ ,__ref._taskid /*String*/ ,_width,_height); +RDebugUtils.currentLine=57344002; + //BA.debugLineNum = 57344002;BA.debugLine="End Sub"; +return null; +} +public String _getstring2(SHARK2.keymon.com.mx.httpjob __ref,String _encoding) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "getstring2", true)) + {return ((String) Debug.delegate(ba, "getstring2", new Object[] {_encoding}));} +anywheresoftware.b4a.objects.streams.File.TextReaderWrapper _tr = null; +String _res = ""; +RDebugUtils.currentLine=57081856; + //BA.debugLineNum = 57081856;BA.debugLine="Public Sub GetString2(Encoding As String) As Strin"; +RDebugUtils.currentLine=57081860; + //BA.debugLineNum = 57081860;BA.debugLine="Dim tr As TextReader"; +_tr = new anywheresoftware.b4a.objects.streams.File.TextReaderWrapper(); +RDebugUtils.currentLine=57081861; + //BA.debugLineNum = 57081861;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=57081862; + //BA.debugLineNum = 57081862;BA.debugLine="Dim res As String = tr.ReadAll"; +_res = _tr.ReadAll(); +RDebugUtils.currentLine=57081863; + //BA.debugLineNum = 57081863;BA.debugLine="tr.Close"; +_tr.Close(); +RDebugUtils.currentLine=57081864; + //BA.debugLineNum = 57081864;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=57081866; + //BA.debugLineNum = 57081866;BA.debugLine="End Sub"; +return ""; +} +public String _head(SHARK2.keymon.com.mx.httpjob __ref,String _link) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "head", true)) + {return ((String) Debug.delegate(ba, "head", new Object[] {_link}));} +RDebugUtils.currentLine=56360960; + //BA.debugLineNum = 56360960;BA.debugLine="Public Sub Head(Link As String)"; +RDebugUtils.currentLine=56360961; + //BA.debugLineNum = 56360961;BA.debugLine="Try"; +try {RDebugUtils.currentLine=56360962; + //BA.debugLineNum = 56360962;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=56360963; + //BA.debugLineNum = 56360963;BA.debugLine="req.InitializeHead(Link)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeHead(_link); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=56360965; + //BA.debugLineNum = 56360965;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("956360965",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=56360966; + //BA.debugLineNum = 56360966;BA.debugLine="req.InitializeHead(InvalidURL)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializeHead(__ref._invalidurl /*String*/ ); + }; +RDebugUtils.currentLine=56360968; + //BA.debugLineNum = 56360968;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=56360969; + //BA.debugLineNum = 56360969;BA.debugLine="End Sub"; +return ""; +} +public boolean _multipartstartsection(SHARK2.keymon.com.mx.httpjob __ref,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _stream,boolean _empty) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "multipartstartsection", true)) + {return ((Boolean) Debug.delegate(ba, "multipartstartsection", new Object[] {_stream,_empty}));} +RDebugUtils.currentLine=56492032; + //BA.debugLineNum = 56492032;BA.debugLine="Private Sub MultipartStartSection (stream As Outpu"; +RDebugUtils.currentLine=56492033; + //BA.debugLineNum = 56492033;BA.debugLine="If empty = False Then"; +if (_empty==__c.False) { +RDebugUtils.currentLine=56492034; + //BA.debugLineNum = 56492034;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=56492036; + //BA.debugLineNum = 56492036;BA.debugLine="empty = False"; +_empty = __c.False; + }; +RDebugUtils.currentLine=56492038; + //BA.debugLineNum = 56492038;BA.debugLine="Return empty"; +if (true) return _empty; +RDebugUtils.currentLine=56492039; + //BA.debugLineNum = 56492039;BA.debugLine="End Sub"; +return false; +} +public String _patchbytes(SHARK2.keymon.com.mx.httpjob __ref,String _link,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "patchbytes", true)) + {return ((String) Debug.delegate(ba, "patchbytes", new Object[] {_link,_data}));} +RDebugUtils.currentLine=56295424; + //BA.debugLineNum = 56295424;BA.debugLine="Public Sub PatchBytes(Link As String, Data() As By"; +RDebugUtils.currentLine=56295425; + //BA.debugLineNum = 56295425;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=56295433; + //BA.debugLineNum = 56295433;BA.debugLine="Try"; +try {RDebugUtils.currentLine=56295434; + //BA.debugLineNum = 56295434;BA.debugLine="req.InitializePatch2(Link, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePatch2(_link,_data); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=56295436; + //BA.debugLineNum = 56295436;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("956295436",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=56295437; + //BA.debugLineNum = 56295437;BA.debugLine="req.InitializePatch2(InvalidURL, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePatch2(__ref._invalidurl /*String*/ ,_data); + }; +RDebugUtils.currentLine=56295441; + //BA.debugLineNum = 56295441;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=56295442; + //BA.debugLineNum = 56295442;BA.debugLine="End Sub"; +return ""; +} +public String _patchstring(SHARK2.keymon.com.mx.httpjob __ref,String _link,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "patchstring", true)) + {return ((String) Debug.delegate(ba, "patchstring", new Object[] {_link,_text}));} +RDebugUtils.currentLine=56229888; + //BA.debugLineNum = 56229888;BA.debugLine="Public Sub PatchString(Link As String, Text As Str"; +RDebugUtils.currentLine=56229889; + //BA.debugLineNum = 56229889;BA.debugLine="PatchBytes(Link, Text.GetBytes(\"UTF8\"))"; +__ref._patchbytes /*String*/ (null,_link,_text.getBytes("UTF8")); +RDebugUtils.currentLine=56229890; + //BA.debugLineNum = 56229890;BA.debugLine="End Sub"; +return ""; +} +public String _postfile(SHARK2.keymon.com.mx.httpjob __ref,String _link,String _dir,String _filename) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "postfile", true)) + {return ((String) Debug.delegate(ba, "postfile", new Object[] {_link,_dir,_filename}));} +int _length = 0; +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=56557568; + //BA.debugLineNum = 56557568;BA.debugLine="Public Sub PostFile(Link As String, Dir As String,"; +RDebugUtils.currentLine=56557569; + //BA.debugLineNum = 56557569;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=56557574; + //BA.debugLineNum = 56557574;BA.debugLine="Dim length As Int"; +_length = 0; +RDebugUtils.currentLine=56557575; + //BA.debugLineNum = 56557575;BA.debugLine="If Dir = File.DirAssets Then"; +if ((_dir).equals(__c.File.getDirAssets())) { +RDebugUtils.currentLine=56557576; + //BA.debugLineNum = 56557576;BA.debugLine="Log(\"Cannot send files from the assets folder.\")"; +__c.LogImpl("956557576","Cannot send files from the assets folder.",0); +RDebugUtils.currentLine=56557577; + //BA.debugLineNum = 56557577;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=56557579; + //BA.debugLineNum = 56557579;BA.debugLine="length = File.Size(Dir, FileName)"; +_length = (int) (__c.File.Size(_dir,_filename)); +RDebugUtils.currentLine=56557580; + //BA.debugLineNum = 56557580;BA.debugLine="Dim In As InputStream"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +RDebugUtils.currentLine=56557581; + //BA.debugLineNum = 56557581;BA.debugLine="In = File.OpenInput(Dir, FileName)"; +_in = __c.File.OpenInput(_dir,_filename); +RDebugUtils.currentLine=56557582; + //BA.debugLineNum = 56557582;BA.debugLine="If length < 1000000 Then '1mb"; +if (_length<1000000) { +RDebugUtils.currentLine=56557585; + //BA.debugLineNum = 56557585;BA.debugLine="Dim out As OutputStream"; +_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=56557586; + //BA.debugLineNum = 56557586;BA.debugLine="out.InitializeToBytesArray(length)"; +_out.InitializeToBytesArray(_length); +RDebugUtils.currentLine=56557587; + //BA.debugLineNum = 56557587;BA.debugLine="File.Copy2(In, out)"; +__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_out.getObject())); +RDebugUtils.currentLine=56557588; + //BA.debugLineNum = 56557588;BA.debugLine="PostBytes(Link, out.ToBytesArray)"; +__ref._postbytes /*String*/ (null,_link,_out.ToBytesArray()); + }else { +RDebugUtils.currentLine=56557590; + //BA.debugLineNum = 56557590;BA.debugLine="req.InitializePost(Link, In, length)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePost(_link,(java.io.InputStream)(_in.getObject()),_length); +RDebugUtils.currentLine=56557591; + //BA.debugLineNum = 56557591;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\","; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); + }; +RDebugUtils.currentLine=56557594; + //BA.debugLineNum = 56557594;BA.debugLine="End Sub"; +return ""; +} +public String _postmultipart(SHARK2.keymon.com.mx.httpjob __ref,String _link,anywheresoftware.b4a.objects.collections.Map _namevalues,anywheresoftware.b4a.objects.collections.List _files) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "postmultipart", true)) + {return ((String) Debug.delegate(ba, "postmultipart", new Object[] {_link,_namevalues,_files}));} +String _boundary = ""; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _stream = null; +byte[] _b = null; +String _eol = ""; +boolean _empty = false; +String _key = ""; +String _value = ""; +String _s = ""; +SHARK2.keymon.com.mx.httpjob._multipartfiledata _fd = null; +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +RDebugUtils.currentLine=56426496; + //BA.debugLineNum = 56426496;BA.debugLine="Public Sub PostMultipart(Link As String, NameValue"; +RDebugUtils.currentLine=56426497; + //BA.debugLineNum = 56426497;BA.debugLine="Dim boundary As String = \"-----------------------"; +_boundary = "---------------------------1461124740692"; +RDebugUtils.currentLine=56426498; + //BA.debugLineNum = 56426498;BA.debugLine="Dim stream As OutputStream"; +_stream = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); +RDebugUtils.currentLine=56426499; + //BA.debugLineNum = 56426499;BA.debugLine="stream.InitializeToBytesArray(0)"; +_stream.InitializeToBytesArray((int) (0)); +RDebugUtils.currentLine=56426500; + //BA.debugLineNum = 56426500;BA.debugLine="Dim b() As Byte"; +_b = new byte[(int) (0)]; +; +RDebugUtils.currentLine=56426501; + //BA.debugLineNum = 56426501;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=56426502; + //BA.debugLineNum = 56426502;BA.debugLine="Dim empty As Boolean = True"; +_empty = __c.True; +RDebugUtils.currentLine=56426503; + //BA.debugLineNum = 56426503;BA.debugLine="If NameValues <> Null And NameValues.IsInitialize"; +if (_namevalues!= null && _namevalues.IsInitialized()) { +RDebugUtils.currentLine=56426504; + //BA.debugLineNum = 56426504;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=56426505; + //BA.debugLineNum = 56426505;BA.debugLine="Dim value As String = NameValues.Get(key)"; +_value = BA.ObjectToString(_namevalues.Get((Object)(_key))); +RDebugUtils.currentLine=56426506; + //BA.debugLineNum = 56426506;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +_empty = __ref._multipartstartsection /*boolean*/ (null,_stream,_empty); +RDebugUtils.currentLine=56426507; + //BA.debugLineNum = 56426507;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=56426512; + //BA.debugLineNum = 56426512;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +_b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); +RDebugUtils.currentLine=56426513; + //BA.debugLineNum = 56426513;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +_stream.WriteBytes(_b,(int) (0),_b.length); + } +}; + }; +RDebugUtils.currentLine=56426516; + //BA.debugLineNum = 56426516;BA.debugLine="If Files <> Null And Files.IsInitialized Then"; +if (_files!= null && _files.IsInitialized()) { +RDebugUtils.currentLine=56426517; + //BA.debugLineNum = 56426517;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 = (SHARK2.keymon.com.mx.httpjob._multipartfiledata)(group17.Get(index17)); +RDebugUtils.currentLine=56426518; + //BA.debugLineNum = 56426518;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +_empty = __ref._multipartstartsection /*boolean*/ (null,_stream,_empty); +RDebugUtils.currentLine=56426519; + //BA.debugLineNum = 56426519;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=56426525; + //BA.debugLineNum = 56426525;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +_b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); +RDebugUtils.currentLine=56426526; + //BA.debugLineNum = 56426526;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +_stream.WriteBytes(_b,(int) (0),_b.length); +RDebugUtils.currentLine=56426527; + //BA.debugLineNum = 56426527;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=56426528; + //BA.debugLineNum = 56426528;BA.debugLine="File.Copy2(in, stream)"; +__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_stream.getObject())); + } +}; + }; +RDebugUtils.currentLine=56426531; + //BA.debugLineNum = 56426531;BA.debugLine="empty = MultipartStartSection (stream, empty)"; +_empty = __ref._multipartstartsection /*boolean*/ (null,_stream,_empty); +RDebugUtils.currentLine=56426532; + //BA.debugLineNum = 56426532;BA.debugLine="s = _ $\"--${boundary}-- \"$"; +_s = ("--"+__c.SmartStringFormatter("",(Object)(_boundary))+"--\n"+""); +RDebugUtils.currentLine=56426535; + //BA.debugLineNum = 56426535;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; +_b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); +RDebugUtils.currentLine=56426536; + //BA.debugLineNum = 56426536;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; +_stream.WriteBytes(_b,(int) (0),_b.length); +RDebugUtils.currentLine=56426537; + //BA.debugLineNum = 56426537;BA.debugLine="PostBytes(Link, stream.ToBytesArray)"; +__ref._postbytes /*String*/ (null,_link,_stream.ToBytesArray()); +RDebugUtils.currentLine=56426538; + //BA.debugLineNum = 56426538;BA.debugLine="req.SetContentType(\"multipart/form-data; boundary"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .SetContentType("multipart/form-data; boundary="+_boundary); +RDebugUtils.currentLine=56426539; + //BA.debugLineNum = 56426539;BA.debugLine="req.SetContentEncoding(\"UTF8\")"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .SetContentEncoding("UTF8"); +RDebugUtils.currentLine=56426540; + //BA.debugLineNum = 56426540;BA.debugLine="End Sub"; +return ""; +} +public String _poststring(SHARK2.keymon.com.mx.httpjob __ref,String _link,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "poststring", true)) + {return ((String) Debug.delegate(ba, "poststring", new Object[] {_link,_text}));} +RDebugUtils.currentLine=55967744; + //BA.debugLineNum = 55967744;BA.debugLine="Public Sub PostString(Link As String, Text As Stri"; +RDebugUtils.currentLine=55967745; + //BA.debugLineNum = 55967745;BA.debugLine="PostBytes(Link, Text.GetBytes(\"UTF8\"))"; +__ref._postbytes /*String*/ (null,_link,_text.getBytes("UTF8")); +RDebugUtils.currentLine=55967746; + //BA.debugLineNum = 55967746;BA.debugLine="End Sub"; +return ""; +} +public String _putbytes(SHARK2.keymon.com.mx.httpjob __ref,String _link,byte[] _data) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "putbytes", true)) + {return ((String) Debug.delegate(ba, "putbytes", new Object[] {_link,_data}));} +RDebugUtils.currentLine=56164352; + //BA.debugLineNum = 56164352;BA.debugLine="Public Sub PutBytes(Link As String, Data() As Byte"; +RDebugUtils.currentLine=56164353; + //BA.debugLineNum = 56164353;BA.debugLine="Try"; +try {RDebugUtils.currentLine=56164354; + //BA.debugLineNum = 56164354;BA.debugLine="Link = AddScheme(Link)"; +_link = __ref._addscheme /*String*/ (null,_link); +RDebugUtils.currentLine=56164355; + //BA.debugLineNum = 56164355;BA.debugLine="req.InitializePut2(Link, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePut2(_link,_data); + } + catch (Exception e5) { + ba.setLastException(e5);RDebugUtils.currentLine=56164357; + //BA.debugLineNum = 56164357;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; +__c.LogImpl("956164357",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); +RDebugUtils.currentLine=56164358; + //BA.debugLineNum = 56164358;BA.debugLine="req.InitializePut2(InvalidURL, Data)"; +__ref._req /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ .InitializePut2(__ref._invalidurl /*String*/ ,_data); + }; +RDebugUtils.currentLine=56164360; + //BA.debugLineNum = 56164360;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; +__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); +RDebugUtils.currentLine=56164361; + //BA.debugLineNum = 56164361;BA.debugLine="End Sub"; +return ""; +} +public String _putstring(SHARK2.keymon.com.mx.httpjob __ref,String _link,String _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="httpjob"; +if (Debug.shouldDelegate(ba, "putstring", true)) + {return ((String) Debug.delegate(ba, "putstring", new Object[] {_link,_text}));} +RDebugUtils.currentLine=56098816; + //BA.debugLineNum = 56098816;BA.debugLine="Public Sub PutString(Link As String, Text As Strin"; +RDebugUtils.currentLine=56098817; + //BA.debugLineNum = 56098817;BA.debugLine="PutBytes(Link, Text.GetBytes(\"UTF8\"))"; +__ref._putbytes /*String*/ (null,_link,_text.getBytes("UTF8")); +RDebugUtils.currentLine=56098818; + //BA.debugLineNum = 56098818;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/httputils2service.java b/B4A/Objects/src/SHARK2/keymon/com/mx/httputils2service.java new file mode 100644 index 0000000..d0083e3 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/httputils2service.java @@ -0,0 +1,317 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.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, "SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static String _completejob(int _taskid,boolean _success,String _errormessage) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "completejob", false)) + {return ((String) Debug.delegate(processBA, "completejob", new Object[] {_taskid,_success,_errormessage}));} +SHARK2.keymon.com.mx.httpjob _job = null; +RDebugUtils.currentLine=55705600; + //BA.debugLineNum = 55705600;BA.debugLine="Sub CompleteJob(TaskId As Int, success As Boolean,"; +RDebugUtils.currentLine=55705604; + //BA.debugLineNum = 55705604;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +_job = (SHARK2.keymon.com.mx.httpjob)(_taskidtojob.Get((Object)(_taskid))); +RDebugUtils.currentLine=55705605; + //BA.debugLineNum = 55705605;BA.debugLine="If job = Null Then"; +if (_job== null) { +RDebugUtils.currentLine=55705606; + //BA.debugLineNum = 55705606;BA.debugLine="Log(\"HttpUtils2Service: job completed multiple t"; +anywheresoftware.b4a.keywords.Common.LogImpl("555705606","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0); +RDebugUtils.currentLine=55705607; + //BA.debugLineNum = 55705607;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=55705609; + //BA.debugLineNum = 55705609;BA.debugLine="TaskIdToJob.Remove(TaskId)"; +_taskidtojob.Remove((Object)(_taskid)); +RDebugUtils.currentLine=55705610; + //BA.debugLineNum = 55705610;BA.debugLine="job.success = success"; +_job._success /*boolean*/ = _success; +RDebugUtils.currentLine=55705611; + //BA.debugLineNum = 55705611;BA.debugLine="job.errorMessage = errorMessage"; +_job._errormessage /*String*/ = _errormessage; +RDebugUtils.currentLine=55705613; + //BA.debugLineNum = 55705613;BA.debugLine="job.Complete(TaskId)"; +_job._complete /*String*/ (null,_taskid); +RDebugUtils.currentLine=55705617; + //BA.debugLineNum = 55705617;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}));} +SHARK2.keymon.com.mx.httpjob _job = null; +RDebugUtils.currentLine=55640064; + //BA.debugLineNum = 55640064;BA.debugLine="Sub hc_ResponseError (Response As OkHttpResponse,"; +RDebugUtils.currentLine=55640066; + //BA.debugLineNum = 55640066;BA.debugLine="Log($\"ResponseError. Reason: ${Reason}, Response:"; +anywheresoftware.b4a.keywords.Common.LogImpl("555640066",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0); +RDebugUtils.currentLine=55640068; + //BA.debugLineNum = 55640068;BA.debugLine="Response.Release"; +_response.Release(); +RDebugUtils.currentLine=55640069; + //BA.debugLineNum = 55640069;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +_job = (SHARK2.keymon.com.mx.httpjob)(_taskidtojob.Get((Object)(_taskid))); +RDebugUtils.currentLine=55640070; + //BA.debugLineNum = 55640070;BA.debugLine="If job = Null Then"; +if (_job== null) { +RDebugUtils.currentLine=55640071; + //BA.debugLineNum = 55640071;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseError): job c"; +anywheresoftware.b4a.keywords.Common.LogImpl("555640071","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0); +RDebugUtils.currentLine=55640072; + //BA.debugLineNum = 55640072;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=55640074; + //BA.debugLineNum = 55640074;BA.debugLine="job.Response = Response"; +_job._response /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse*/ = _response; +RDebugUtils.currentLine=55640075; + //BA.debugLineNum = 55640075;BA.debugLine="If Response.ErrorResponse <> \"\" Then"; +if ((_response.getErrorResponse()).equals("") == false) { +RDebugUtils.currentLine=55640076; + //BA.debugLineNum = 55640076;BA.debugLine="CompleteJob(TaskId, False, Response.ErrorRespons"; +_completejob(_taskid,anywheresoftware.b4a.keywords.Common.False,_response.getErrorResponse()); + }else { +RDebugUtils.currentLine=55640078; + //BA.debugLineNum = 55640078;BA.debugLine="CompleteJob(TaskId, False, Reason)"; +_completejob(_taskid,anywheresoftware.b4a.keywords.Common.False,_reason); + }; +RDebugUtils.currentLine=55640080; + //BA.debugLineNum = 55640080;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}));} +SHARK2.keymon.com.mx.httpjob _job = null; +anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; +RDebugUtils.currentLine=55508992; + //BA.debugLineNum = 55508992;BA.debugLine="Sub hc_ResponseSuccess (Response As OkHttpResponse"; +RDebugUtils.currentLine=55508993; + //BA.debugLineNum = 55508993;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; +_job = (SHARK2.keymon.com.mx.httpjob)(_taskidtojob.Get((Object)(_taskid))); +RDebugUtils.currentLine=55508994; + //BA.debugLineNum = 55508994;BA.debugLine="If job = Null Then"; +if (_job== null) { +RDebugUtils.currentLine=55508995; + //BA.debugLineNum = 55508995;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseSuccess): job"; +anywheresoftware.b4a.keywords.Common.LogImpl("555508995","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0); +RDebugUtils.currentLine=55508996; + //BA.debugLineNum = 55508996;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=55508998; + //BA.debugLineNum = 55508998;BA.debugLine="job.Response = Response"; +_job._response /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse*/ = _response; +RDebugUtils.currentLine=55508999; + //BA.debugLineNum = 55508999;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=55509003; + //BA.debugLineNum = 55509003;BA.debugLine="Response.GetAsynchronously(\"response\", out , _"; +_response.GetAsynchronously(processBA,"response",(java.io.OutputStream)(_out.getObject()),anywheresoftware.b4a.keywords.Common.True,_taskid); +RDebugUtils.currentLine=55509005; + //BA.debugLineNum = 55509005;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=55246848; + //BA.debugLineNum = 55246848;BA.debugLine="Private Sub Receiver_Receive (FirstTime As Boolean"; +RDebugUtils.currentLine=55246849; + //BA.debugLineNum = 55246849;BA.debugLine="If FirstTime Then"; +if (_firsttime) { +RDebugUtils.currentLine=55246850; + //BA.debugLineNum = 55246850;BA.debugLine="Service_Create"; +_service_create(); + }; +RDebugUtils.currentLine=55246852; + //BA.debugLineNum = 55246852;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=55181312; + //BA.debugLineNum = 55181312;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=55181314; + //BA.debugLineNum = 55181314;BA.debugLine="TempFolder = File.DirInternalCache"; +_tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternalCache(); +RDebugUtils.currentLine=55181315; + //BA.debugLineNum = 55181315;BA.debugLine="Try"; +try {RDebugUtils.currentLine=55181316; + //BA.debugLineNum = 55181316;BA.debugLine="File.WriteString(TempFolder, \"~test.test\", \"test"; +anywheresoftware.b4a.keywords.Common.File.WriteString(_tempfolder,"~test.test","test"); +RDebugUtils.currentLine=55181317; + //BA.debugLineNum = 55181317;BA.debugLine="File.Delete(TempFolder, \"~test.test\")"; +anywheresoftware.b4a.keywords.Common.File.Delete(_tempfolder,"~test.test"); + } + catch (Exception e6) { + processBA.setLastException(e6);RDebugUtils.currentLine=55181319; + //BA.debugLineNum = 55181319;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("555181319",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0); +RDebugUtils.currentLine=55181320; + //BA.debugLineNum = 55181320;BA.debugLine="Log(\"Switching to File.DirInternal\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("555181320","Switching to File.DirInternal",0); +RDebugUtils.currentLine=55181321; + //BA.debugLineNum = 55181321;BA.debugLine="TempFolder = File.DirInternal"; +_tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); + }; +RDebugUtils.currentLine=55181326; + //BA.debugLineNum = 55181326;BA.debugLine="If hc.IsInitialized = False Then"; +if (_hc.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { +RDebugUtils.currentLine=55181331; + //BA.debugLineNum = 55181331;BA.debugLine="hc.Initialize(\"hc\")"; +_hc.Initialize("hc"); + }; +RDebugUtils.currentLine=55181339; + //BA.debugLineNum = 55181339;BA.debugLine="TaskIdToJob.Initialize"; +_taskidtojob.Initialize(); +RDebugUtils.currentLine=55181341; + //BA.debugLineNum = 55181341;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=55574528; + //BA.debugLineNum = 55574528;BA.debugLine="Private Sub Response_StreamFinish (Success As Bool"; +RDebugUtils.currentLine=55574529; + //BA.debugLineNum = 55574529;BA.debugLine="If Success Then"; +if (_success) { +RDebugUtils.currentLine=55574530; + //BA.debugLineNum = 55574530;BA.debugLine="CompleteJob(TaskId, Success, \"\")"; +_completejob(_taskid,_success,""); + }else { +RDebugUtils.currentLine=55574532; + //BA.debugLineNum = 55574532;BA.debugLine="CompleteJob(TaskId, Success, LastException.Messa"; +_completejob(_taskid,_success,anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage()); + }; +RDebugUtils.currentLine=55574534; + //BA.debugLineNum = 55574534;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=55377920; + //BA.debugLineNum = 55377920;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=55377922; + //BA.debugLineNum = 55377922;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=55312384; + //BA.debugLineNum = 55312384;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=55312386; + //BA.debugLineNum = 55312386;BA.debugLine="End Sub"; +return ""; +} +public static String _submitjob(SHARK2.keymon.com.mx.httpjob _job) throws Exception{ +RDebugUtils.currentModule="httputils2service"; +if (Debug.shouldDelegate(processBA, "submitjob", false)) + {return ((String) Debug.delegate(processBA, "submitjob", new Object[] {_job}));} +int _taskid = 0; +RDebugUtils.currentLine=55443456; + //BA.debugLineNum = 55443456;BA.debugLine="Public Sub SubmitJob(job As HttpJob)"; +RDebugUtils.currentLine=55443457; + //BA.debugLineNum = 55443457;BA.debugLine="If TaskIdToJob.IsInitialized = False Then Service"; +if (_taskidtojob.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { +_service_create();}; +RDebugUtils.currentLine=55443461; + //BA.debugLineNum = 55443461;BA.debugLine="taskCounter = taskCounter + 1"; +_taskcounter = (int) (_taskcounter+1); +RDebugUtils.currentLine=55443462; + //BA.debugLineNum = 55443462;BA.debugLine="Dim TaskId As Int = taskCounter"; +_taskid = _taskcounter; +RDebugUtils.currentLine=55443464; + //BA.debugLineNum = 55443464;BA.debugLine="TaskIdToJob.Put(TaskId, job)"; +_taskidtojob.Put((Object)(_taskid),(Object)(_job)); +RDebugUtils.currentLine=55443465; + //BA.debugLineNum = 55443465;BA.debugLine="If job.Username <> \"\" And job.Password <> \"\" Then"; +if ((_job._username /*String*/ ).equals("") == false && (_job._password /*String*/ ).equals("") == false) { +RDebugUtils.currentLine=55443466; + //BA.debugLineNum = 55443466;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=55443468; + //BA.debugLineNum = 55443468;BA.debugLine="hc.Execute(job.GetRequest, TaskId)"; +_hc.Execute(processBA,_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (null),_taskid); + }; +RDebugUtils.currentLine=55443470; + //BA.debugLineNum = 55443470;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/madewithlove.java b/B4A/Objects/src/SHARK2/keymon/com/mx/madewithlove.java new file mode 100644 index 0000000..0f09cb0 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/madewithlove.java @@ -0,0 +1,151 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.madewithlove"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(SHARK2.keymon.com.mx.madewithlove __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="madewithlove"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=75300864; + //BA.debugLineNum = 75300864;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=75300865; + //BA.debugLineNum = 75300865;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=75300866; + //BA.debugLineNum = 75300866;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.madewithlove __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="madewithlove"; +RDebugUtils.currentLine=75104256; + //BA.debugLineNum = 75104256;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=75104257; + //BA.debugLineNum = 75104257;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=75104258; + //BA.debugLineNum = 75104258;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=75104259; + //BA.debugLineNum = 75104259;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=75104260; + //BA.debugLineNum = 75104260;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=75104261; + //BA.debugLineNum = 75104261;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=75104262; + //BA.debugLineNum = 75104262;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(SHARK2.keymon.com.mx.madewithlove __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="madewithlove"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +anywheresoftware.b4a.objects.CSBuilder _cs = null; +RDebugUtils.currentLine=75235328; + //BA.debugLineNum = 75235328;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=75235329; + //BA.debugLineNum = 75235329;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=75235330; + //BA.debugLineNum = 75235330;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=75235330; + //BA.debugLineNum = 75235330;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=75235331; + //BA.debugLineNum = 75235331;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=75235346; + //BA.debugLineNum = 75235346;BA.debugLine="Dim cs As CSBuilder"; +_cs = new anywheresoftware.b4a.objects.CSBuilder(); +RDebugUtils.currentLine=75235347; + //BA.debugLineNum = 75235347;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=75235348; + //BA.debugLineNum = 75235348;BA.debugLine="xlbl.Text = cs"; +_xlbl.setText(BA.ObjectToCharSequence(_cs.getObject())); +RDebugUtils.currentLine=75235349; + //BA.debugLineNum = 75235349;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +_xlbl.SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=75235350; + //BA.debugLineNum = 75235350;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=75235358; + //BA.debugLineNum = 75235358;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.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=75169792; + //BA.debugLineNum = 75169792;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=75169793; + //BA.debugLineNum = 75169793;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=75169794; + //BA.debugLineNum = 75169794;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=75169795; + //BA.debugLineNum = 75169795;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/main.java b/B4A/Objects/src/SHARK2/keymon/com/mx/main.java new file mode 100644 index 0000000..2ea7698 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/main.java @@ -0,0 +1,530 @@ +package SHARK2.keymon.com.mx; + + +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 = 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, "SHARK2.keymon.com.mx", "SHARK2.keymon.com.mx.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, "SHARK2.keymon.com.mx", "SHARK2.keymon.com.mx.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, "SHARK2.keymon.com.mx.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 | (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 (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, notificationservice.class)); +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 SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static String _activity_actionbarhomeclick() throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_actionbarhomeclick", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "activity_actionbarhomeclick", null));} +RDebugUtils.currentLine=196608; + //BA.debugLineNum = 196608;BA.debugLine="Sub Activity_ActionBarHomeClick"; +RDebugUtils.currentLine=196609; + //BA.debugLineNum = 196609;BA.debugLine="ActionBarHomeClicked = True"; +_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=196610; + //BA.debugLineNum = 196610;BA.debugLine="B4XPages.Delegate.Activity_ActionBarHomeClick"; +mostCurrent._b4xpages._delegate /*SHARK2.keymon.com.mx.b4xpagesdelegator*/ ._activity_actionbarhomeclick /*String*/ (null); +RDebugUtils.currentLine=196611; + //BA.debugLineNum = 196611;BA.debugLine="ActionBarHomeClicked = False"; +_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=196612; + //BA.debugLineNum = 196612;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}));} +SHARK2.keymon.com.mx.b4xpagesmanager _pm = null; +RDebugUtils.currentLine=131072; + //BA.debugLineNum = 131072;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +RDebugUtils.currentLine=131073; + //BA.debugLineNum = 131073;BA.debugLine="Dim pm As B4XPagesManager"; +_pm = new SHARK2.keymon.com.mx.b4xpagesmanager(); +RDebugUtils.currentLine=131074; + //BA.debugLineNum = 131074;BA.debugLine="pm.Initialize(Activity)"; +_pm._initialize /*String*/ (null,mostCurrent.activityBA,mostCurrent._activity); +RDebugUtils.currentLine=131075; + //BA.debugLineNum = 131075;BA.debugLine="End Sub"; +return ""; +} +public static boolean _activity_keypress(int _keycode) throws Exception{ +RDebugUtils.currentModule="main"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_keypress", false)) + {return ((Boolean) Debug.delegate(mostCurrent.activityBA, "activity_keypress", new Object[] {_keycode}));} +RDebugUtils.currentLine=262144; + //BA.debugLineNum = 262144;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean"; +RDebugUtils.currentLine=262145; + //BA.debugLineNum = 262145;BA.debugLine="Return B4XPages.Delegate.Activity_KeyPress(KeyCod"; +if (true) return mostCurrent._b4xpages._delegate /*SHARK2.keymon.com.mx.b4xpagesdelegator*/ ._activity_keypress /*boolean*/ (null,_keycode); +RDebugUtils.currentLine=262146; + //BA.debugLineNum = 262146;BA.debugLine="End Sub"; +return false; +} +public static String _activity_pause(boolean _userclosed) throws Exception{ +RDebugUtils.currentModule="main"; +RDebugUtils.currentLine=393216; + //BA.debugLineNum = 393216;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=393217; + //BA.debugLineNum = 393217;BA.debugLine="B4XPages.Delegate.Activity_Pause"; +mostCurrent._b4xpages._delegate /*SHARK2.keymon.com.mx.b4xpagesdelegator*/ ._activity_pause /*String*/ (null); +RDebugUtils.currentLine=393218; + //BA.debugLineNum = 393218;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=458752; + //BA.debugLineNum = 458752;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; +RDebugUtils.currentLine=458753; + //BA.debugLineNum = 458753;BA.debugLine="B4XPages.Delegate.Activity_PermissionResult(Permi"; +mostCurrent._b4xpages._delegate /*SHARK2.keymon.com.mx.b4xpagesdelegator*/ ._activity_permissionresult /*String*/ (null,_permission,_result); +RDebugUtils.currentLine=458754; + //BA.debugLineNum = 458754;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=327680; + //BA.debugLineNum = 327680;BA.debugLine="Sub Activity_Resume"; +RDebugUtils.currentLine=327681; + //BA.debugLineNum = 327681;BA.debugLine="B4XPages.Delegate.Activity_Resume"; +mostCurrent._b4xpages._delegate /*SHARK2.keymon.com.mx.b4xpagesdelegator*/ ._activity_resume /*String*/ (null); +RDebugUtils.currentLine=327682; + //BA.debugLineNum = 327682;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=524288; + //BA.debugLineNum = 524288;BA.debugLine="Sub Create_Menu (Menu As Object)"; +RDebugUtils.currentLine=524289; + //BA.debugLineNum = 524289;BA.debugLine="B4XPages.Delegate.Create_Menu(Menu)"; +mostCurrent._b4xpages._delegate /*SHARK2.keymon.com.mx.b4xpagesdelegator*/ ._create_menu /*String*/ (null,_menu); +RDebugUtils.currentLine=524290; + //BA.debugLineNum = 524290;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/SHARK2/keymon/com/mx/manageexternalstorage.java b/B4A/Objects/src/SHARK2/keymon/com/mx/manageexternalstorage.java new file mode 100644 index 0000000..6f96bb8 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/manageexternalstorage.java @@ -0,0 +1,222 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.manageexternalstorage"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _initialize(SHARK2.keymon.com.mx.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=32636928; + //BA.debugLineNum = 32636928;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=32636929; + //BA.debugLineNum = 32636929;BA.debugLine="mCallback = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=32636930; + //BA.debugLineNum = 32636930;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=32636931; + //BA.debugLineNum = 32636931;BA.debugLine="End Sub"; +return ""; +} +public boolean _haspermission(SHARK2.keymon.com.mx.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=32702464; + //BA.debugLineNum = 32702464;BA.debugLine="Public Sub HasPermission As Boolean"; +RDebugUtils.currentLine=32702465; + //BA.debugLineNum = 32702465;BA.debugLine="Dim has As Boolean"; +_has = false; +RDebugUtils.currentLine=32702466; + //BA.debugLineNum = 32702466;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=32702467; + //BA.debugLineNum = 32702467;BA.debugLine="jo.InitializeStatic(\"android.os.Environment\")"; +_jo.InitializeStatic("android.os.Environment"); +RDebugUtils.currentLine=32702468; + //BA.debugLineNum = 32702468;BA.debugLine="has = jo.RunMethod(\"isExternalStorageManager\", Nu"; +_has = BA.ObjectToBoolean(_jo.RunMethod("isExternalStorageManager",(Object[])(__c.Null))); +RDebugUtils.currentLine=32702469; + //BA.debugLineNum = 32702469;BA.debugLine="Return has"; +if (true) return _has; +RDebugUtils.currentLine=32702470; + //BA.debugLineNum = 32702470;BA.debugLine="End Sub"; +return false; +} +public String _getpermission(SHARK2.keymon.com.mx.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=32768000; + //BA.debugLineNum = 32768000;BA.debugLine="Public Sub GetPermission"; +RDebugUtils.currentLine=32768001; + //BA.debugLineNum = 32768001;BA.debugLine="If HasPermission Then"; +if (__ref._haspermission /*boolean*/ (null)) { +RDebugUtils.currentLine=32768002; + //BA.debugLineNum = 32768002;BA.debugLine="RaiseEvent"; +__ref._raiseevent /*String*/ (null); +RDebugUtils.currentLine=32768003; + //BA.debugLineNum = 32768003;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=32768005; + //BA.debugLineNum = 32768005;BA.debugLine="Dim in As Intent"; +_in = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=32768007; + //BA.debugLineNum = 32768007;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=32768008; + //BA.debugLineNum = 32768008;BA.debugLine="StartActivityForResult(in)"; +__ref._startactivityforresult /*String*/ (null,_in); +RDebugUtils.currentLine=32768009; + //BA.debugLineNum = 32768009;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.manageexternalstorage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +RDebugUtils.currentLine=32571392; + //BA.debugLineNum = 32571392;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=32571393; + //BA.debugLineNum = 32571393;BA.debugLine="Private ion As Object"; +_ion = new Object(); +RDebugUtils.currentLine=32571394; + //BA.debugLineNum = 32571394;BA.debugLine="Private mCallback As Object"; +_mcallback = new Object(); +RDebugUtils.currentLine=32571395; + //BA.debugLineNum = 32571395;BA.debugLine="Private mEventName As String"; +_meventname = ""; +RDebugUtils.currentLine=32571397; + //BA.debugLineNum = 32571397;BA.debugLine="End Sub"; +return ""; +} +public Object _getba(SHARK2.keymon.com.mx.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=33030144; + //BA.debugLineNum = 33030144;BA.debugLine="Private Sub GetBA As Object"; +RDebugUtils.currentLine=33030145; + //BA.debugLineNum = 33030145;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=33030146; + //BA.debugLineNum = 33030146;BA.debugLine="Return jo.RunMethod(\"getBA\", Null)"; +if (true) return _jo.RunMethod("getBA",(Object[])(__c.Null)); +RDebugUtils.currentLine=33030147; + //BA.debugLineNum = 33030147;BA.debugLine="End Sub"; +return null; +} +public String _raiseevent(SHARK2.keymon.com.mx.manageexternalstorage __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="manageexternalstorage"; +if (Debug.shouldDelegate(ba, "raiseevent", false)) + {return ((String) Debug.delegate(ba, "raiseevent", null));} +RDebugUtils.currentLine=32833536; + //BA.debugLineNum = 32833536;BA.debugLine="Private Sub RaiseEvent"; +RDebugUtils.currentLine=32833537; + //BA.debugLineNum = 32833537;BA.debugLine="Log(\"Calling : \" & mEventName & \"_StorageAvailab"; +__c.LogImpl("532833537","Calling : "+__ref._meventname /*String*/ +"_StorageAvailable",0); +RDebugUtils.currentLine=32833538; + //BA.debugLineNum = 32833538;BA.debugLine="CallSubDelayed(mCallback, mEventName & \"_StorageA"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_StorageAvailable"); +RDebugUtils.currentLine=32833539; + //BA.debugLineNum = 32833539;BA.debugLine="End Sub"; +return ""; +} +public String _startactivityforresult(SHARK2.keymon.com.mx.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=32964608; + //BA.debugLineNum = 32964608;BA.debugLine="Private Sub StartActivityForResult(i As Intent)"; +RDebugUtils.currentLine=32964609; + //BA.debugLineNum = 32964609;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=32964610; + //BA.debugLineNum = 32964610;BA.debugLine="ion = jo.CreateEvent(\"anywheresoftware.b4a.IOnAct"; +__ref._ion /*Object*/ = _jo.CreateEvent(ba,"anywheresoftware.b4a.IOnActivityResult","ion",__c.Null); +RDebugUtils.currentLine=32964611; + //BA.debugLineNum = 32964611;BA.debugLine="jo.RunMethod(\"startActivityForResult\", Array As O"; +_jo.RunMethod("startActivityForResult",new Object[]{__ref._ion /*Object*/ ,(Object)(_i.getObject())}); +RDebugUtils.currentLine=32964612; + //BA.debugLineNum = 32964612;BA.debugLine="End Sub"; +return ""; +} +public Object _ion_event(SHARK2.keymon.com.mx.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=32899072; + //BA.debugLineNum = 32899072;BA.debugLine="Private Sub ion_Event (MethodName As String, Args("; +RDebugUtils.currentLine=32899073; + //BA.debugLineNum = 32899073;BA.debugLine="RaiseEvent"; +__ref._raiseevent /*String*/ (null); +RDebugUtils.currentLine=32899074; + //BA.debugLineNum = 32899074;BA.debugLine="Return Null"; +if (true) return __c.Null; +RDebugUtils.currentLine=32899075; + //BA.debugLineNum = 32899075;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/map2xml.java b/B4A/Objects/src/SHARK2/keymon/com/mx/map2xml.java new file mode 100644 index 0000000..7f11fd5 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/map2xml.java @@ -0,0 +1,259 @@ +package SHARK2.keymon.com.mx; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class map2xml 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, "SHARK2.keymon.com.mx.map2xml"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.map2xml.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 com.jamesmurty.utils.XMLBuilder _builder = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _class_globals(SHARK2.keymon.com.mx.map2xml __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="map2xml"; +RDebugUtils.currentLine=79757312; + //BA.debugLineNum = 79757312;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=79757313; + //BA.debugLineNum = 79757313;BA.debugLine="Private builder As XMLBuilder"; +_builder = new com.jamesmurty.utils.XMLBuilder(); +RDebugUtils.currentLine=79757314; + //BA.debugLineNum = 79757314;BA.debugLine="End Sub"; +return ""; +} +public String _handleelement(SHARK2.keymon.com.mx.map2xml __ref,String _key,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="map2xml"; +if (Debug.shouldDelegate(ba, "handleelement", true)) + {return ((String) Debug.delegate(ba, "handleelement", new Object[] {_key,_value}));} +RDebugUtils.currentLine=80019456; + //BA.debugLineNum = 80019456;BA.debugLine="Private Sub HandleElement (key As String, value As"; +RDebugUtils.currentLine=80019457; + //BA.debugLineNum = 80019457;BA.debugLine="If value Is Map Then"; +if (_value instanceof java.util.Map) { +RDebugUtils.currentLine=80019458; + //BA.debugLineNum = 80019458;BA.debugLine="If key <> \"\" Then builder = builder.element(key)"; +if ((_key).equals("") == false) { +__ref._builder /*com.jamesmurty.utils.XMLBuilder*/ = __ref._builder /*com.jamesmurty.utils.XMLBuilder*/ .element(_key);}; +RDebugUtils.currentLine=80019459; + //BA.debugLineNum = 80019459;BA.debugLine="HandleMapElement(value)"; +__ref._handlemapelement /*String*/ (null,(anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_value))); +RDebugUtils.currentLine=80019460; + //BA.debugLineNum = 80019460;BA.debugLine="If key <> \"\" Then builder = builder.up"; +if ((_key).equals("") == false) { +__ref._builder /*com.jamesmurty.utils.XMLBuilder*/ = __ref._builder /*com.jamesmurty.utils.XMLBuilder*/ .up();}; + }else +{RDebugUtils.currentLine=80019461; + //BA.debugLineNum = 80019461;BA.debugLine="Else if value Is List Then"; +if (_value instanceof java.util.List) { +RDebugUtils.currentLine=80019462; + //BA.debugLineNum = 80019462;BA.debugLine="HandleListElement (key, value)"; +__ref._handlelistelement /*String*/ (null,_key,(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_value))); + }else { +RDebugUtils.currentLine=80019464; + //BA.debugLineNum = 80019464;BA.debugLine="builder = builder.element(key)"; +__ref._builder /*com.jamesmurty.utils.XMLBuilder*/ = __ref._builder /*com.jamesmurty.utils.XMLBuilder*/ .element(_key); +RDebugUtils.currentLine=80019465; + //BA.debugLineNum = 80019465;BA.debugLine="builder = builder.text(value)"; +__ref._builder /*com.jamesmurty.utils.XMLBuilder*/ = __ref._builder /*com.jamesmurty.utils.XMLBuilder*/ .text(BA.ObjectToString(_value)); +RDebugUtils.currentLine=80019466; + //BA.debugLineNum = 80019466;BA.debugLine="builder = builder.up"; +__ref._builder /*com.jamesmurty.utils.XMLBuilder*/ = __ref._builder /*com.jamesmurty.utils.XMLBuilder*/ .up(); + }} +; +RDebugUtils.currentLine=80019468; + //BA.debugLineNum = 80019468;BA.debugLine="End Sub"; +return ""; +} +public String _handlemapelement(SHARK2.keymon.com.mx.map2xml __ref,anywheresoftware.b4a.objects.collections.Map _m) throws Exception{ +__ref = this; +RDebugUtils.currentModule="map2xml"; +if (Debug.shouldDelegate(ba, "handlemapelement", true)) + {return ((String) Debug.delegate(ba, "handlemapelement", new Object[] {_m}));} +anywheresoftware.b4a.objects.collections.Map _attributes = null; +String _attr = ""; +String _k = ""; +Object _value = null; +RDebugUtils.currentLine=79953920; + //BA.debugLineNum = 79953920;BA.debugLine="Private Sub HandleMapElement (m As Map)"; +RDebugUtils.currentLine=79953921; + //BA.debugLineNum = 79953921;BA.debugLine="Dim attributes As Map = m.Get(\"Attributes\")"; +_attributes = new anywheresoftware.b4a.objects.collections.Map(); +_attributes = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_m.Get((Object)("Attributes")))); +RDebugUtils.currentLine=79953922; + //BA.debugLineNum = 79953922;BA.debugLine="If attributes.IsInitialized Then"; +if (_attributes.IsInitialized()) { +RDebugUtils.currentLine=79953923; + //BA.debugLineNum = 79953923;BA.debugLine="For Each attr As String In attributes.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group3 = _attributes.Keys(); +final int groupLen3 = group3.getSize() +;int index3 = 0; +; +for (; index3 < groupLen3;index3++){ +_attr = BA.ObjectToString(group3.Get(index3)); +RDebugUtils.currentLine=79953924; + //BA.debugLineNum = 79953924;BA.debugLine="builder.attribute(attr, attributes.Get(attr))"; +__ref._builder /*com.jamesmurty.utils.XMLBuilder*/ .attribute(_attr,BA.ObjectToString(_attributes.Get((Object)(_attr)))); + } +}; +RDebugUtils.currentLine=79953926; + //BA.debugLineNum = 79953926;BA.debugLine="If m.ContainsKey(\"Text\") Then builder.text(m.Get"; +if (_m.ContainsKey((Object)("Text"))) { +__ref._builder /*com.jamesmurty.utils.XMLBuilder*/ .text(BA.ObjectToString(_m.Get((Object)("Text"))));}; +RDebugUtils.currentLine=79953927; + //BA.debugLineNum = 79953927;BA.debugLine="m.Remove(\"Attributes\")"; +_m.Remove((Object)("Attributes")); +RDebugUtils.currentLine=79953928; + //BA.debugLineNum = 79953928;BA.debugLine="m.Remove(\"Text\")"; +_m.Remove((Object)("Text")); + }; +RDebugUtils.currentLine=79953930; + //BA.debugLineNum = 79953930;BA.debugLine="For Each k As String In m.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group10 = _m.Keys(); +final int groupLen10 = group10.getSize() +;int index10 = 0; +; +for (; index10 < groupLen10;index10++){ +_k = BA.ObjectToString(group10.Get(index10)); +RDebugUtils.currentLine=79953931; + //BA.debugLineNum = 79953931;BA.debugLine="Dim value As Object = m.Get(k)"; +_value = _m.Get((Object)(_k)); +RDebugUtils.currentLine=79953932; + //BA.debugLineNum = 79953932;BA.debugLine="HandleElement(k, value)"; +__ref._handleelement /*String*/ (null,_k,_value); + } +}; +RDebugUtils.currentLine=79953934; + //BA.debugLineNum = 79953934;BA.debugLine="End Sub"; +return ""; +} +public String _handlelistelement(SHARK2.keymon.com.mx.map2xml __ref,String _key,anywheresoftware.b4a.objects.collections.List _lst) throws Exception{ +__ref = this; +RDebugUtils.currentModule="map2xml"; +if (Debug.shouldDelegate(ba, "handlelistelement", true)) + {return ((String) Debug.delegate(ba, "handlelistelement", new Object[] {_key,_lst}));} +Object _value = null; +RDebugUtils.currentLine=80084992; + //BA.debugLineNum = 80084992;BA.debugLine="Private Sub HandleListElement (key As String, lst"; +RDebugUtils.currentLine=80084993; + //BA.debugLineNum = 80084993;BA.debugLine="For Each value As Object In lst"; +{ +final anywheresoftware.b4a.BA.IterableList group1 = _lst; +final int groupLen1 = group1.getSize() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_value = group1.Get(index1); +RDebugUtils.currentLine=80084994; + //BA.debugLineNum = 80084994;BA.debugLine="HandleElement(key, value)"; +__ref._handleelement /*String*/ (null,_key,_value); + } +}; +RDebugUtils.currentLine=80084996; + //BA.debugLineNum = 80084996;BA.debugLine="End Sub"; +return ""; +} +public String _initialize(SHARK2.keymon.com.mx.map2xml __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="map2xml"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=79822848; + //BA.debugLineNum = 79822848;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=79822850; + //BA.debugLineNum = 79822850;BA.debugLine="End Sub"; +return ""; +} +public String _maptoxml(SHARK2.keymon.com.mx.map2xml __ref,anywheresoftware.b4a.objects.collections.Map _m) throws Exception{ +__ref = this; +RDebugUtils.currentModule="map2xml"; +if (Debug.shouldDelegate(ba, "maptoxml", true)) + {return ((String) Debug.delegate(ba, "maptoxml", new Object[] {_m}));} +String _k = ""; +anywheresoftware.b4a.objects.collections.Map _props = null; +RDebugUtils.currentLine=79888384; + //BA.debugLineNum = 79888384;BA.debugLine="Public Sub MapToXml (m As Map) As String"; +RDebugUtils.currentLine=79888385; + //BA.debugLineNum = 79888385;BA.debugLine="For Each k As String In m.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group1 = _m.Keys(); +final int groupLen1 = group1.getSize() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_k = BA.ObjectToString(group1.Get(index1)); +RDebugUtils.currentLine=79888386; + //BA.debugLineNum = 79888386;BA.debugLine="builder = builder.create(k)"; +__ref._builder /*com.jamesmurty.utils.XMLBuilder*/ = __ref._builder /*com.jamesmurty.utils.XMLBuilder*/ .create(_k); +RDebugUtils.currentLine=79888387; + //BA.debugLineNum = 79888387;BA.debugLine="HandleElement(\"\", m.Get(k))"; +__ref._handleelement /*String*/ (null,"",_m.Get((Object)(_k))); +RDebugUtils.currentLine=79888388; + //BA.debugLineNum = 79888388;BA.debugLine="Exit"; +if (true) break; + } +}; +RDebugUtils.currentLine=79888390; + //BA.debugLineNum = 79888390;BA.debugLine="builder = builder.up"; +__ref._builder /*com.jamesmurty.utils.XMLBuilder*/ = __ref._builder /*com.jamesmurty.utils.XMLBuilder*/ .up(); +RDebugUtils.currentLine=79888392; + //BA.debugLineNum = 79888392;BA.debugLine="Dim props As Map"; +_props = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=79888393; + //BA.debugLineNum = 79888393;BA.debugLine="props.Initialize"; +_props.Initialize(); +RDebugUtils.currentLine=79888394; + //BA.debugLineNum = 79888394;BA.debugLine="props.Put(\"{http://xml.apache.org/xslt}indent-amo"; +_props.Put((Object)("{http://xml.apache.org/xslt}indent-amount"),(Object)("4")); +RDebugUtils.currentLine=79888395; + //BA.debugLineNum = 79888395;BA.debugLine="props.Put(\"indent\", \"yes\")"; +_props.Put((Object)("indent"),(Object)("yes")); +RDebugUtils.currentLine=79888396; + //BA.debugLineNum = 79888396;BA.debugLine="Return builder.asString2(props)"; +if (true) return __ref._builder /*com.jamesmurty.utils.XMLBuilder*/ .asString2((java.util.Map)(_props.getObject())); +RDebugUtils.currentLine=79888400; + //BA.debugLineNum = 79888400;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/mapa_cliente.java b/B4A/Objects/src/SHARK2/keymon/com/mx/mapa_cliente.java new file mode 100644 index 0000000..2e56347 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/mapa_cliente.java @@ -0,0 +1,621 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx", "SHARK2.keymon.com.mx.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, "SHARK2.keymon.com.mx", "SHARK2.keymon.com.mx.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, "SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.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=33226752; + //BA.debugLineNum = 33226752;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; +RDebugUtils.currentLine=33226753; + //BA.debugLineNum = 33226753;BA.debugLine="Activity.LoadLayout(\"mapa_cliente\")"; +mostCurrent._activity.LoadLayout("mapa_cliente",mostCurrent.activityBA); +RDebugUtils.currentLine=33226754; + //BA.debugLineNum = 33226754;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable = F"; +if (mostCurrent._mapfragment1.IsGooglePlayServicesAvailable(mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.False) { +RDebugUtils.currentLine=33226755; + //BA.debugLineNum = 33226755;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=33226757; + //BA.debugLineNum = 33226757;BA.debugLine="End Sub"; +return ""; +} +public static String _activity_pause(boolean _userclosed) throws Exception{ +RDebugUtils.currentModule="mapa_cliente"; +RDebugUtils.currentLine=33488896; + //BA.debugLineNum = 33488896;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=33488897; + //BA.debugLineNum = 33488897;BA.debugLine="GPS.Stop"; +_gps.Stop(); +RDebugUtils.currentLine=33488898; + //BA.debugLineNum = 33488898;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=33423360; + //BA.debugLineNum = 33423360;BA.debugLine="Sub Activity_Resume"; +RDebugUtils.currentLine=33423361; + //BA.debugLineNum = 33423361;BA.debugLine="Subs.centraBoton(b_regresar, Activity.Width)"; +mostCurrent._subs._centraboton /*String*/ (mostCurrent.activityBA,mostCurrent._b_regresar,mostCurrent._activity.getWidth()); +RDebugUtils.currentLine=33423362; + //BA.debugLineNum = 33423362;BA.debugLine="GPS.Initialize(\"GPS\")"; +_gps.Initialize("GPS"); +RDebugUtils.currentLine=33423363; + //BA.debugLineNum = 33423363;BA.debugLine="If GPS.GPSEnabled = False Then"; +if (_gps.getGPSEnabled()==anywheresoftware.b4a.keywords.Common.False) { +RDebugUtils.currentLine=33423364; + //BA.debugLineNum = 33423364;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=33423365; + //BA.debugLineNum = 33423365;BA.debugLine="StartActivity(GPS.LocationSettingsIntent)"; +anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_gps.getLocationSettingsIntent())); + }else { +RDebugUtils.currentLine=33423367; + //BA.debugLineNum = 33423367;BA.debugLine="GPS.Start(0, 0)"; +_gps.Start(processBA,(long) (0),(float) (0)); + }; +RDebugUtils.currentLine=33423369; + //BA.debugLineNum = 33423369;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT CAT_CL_LAT, CA"; +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 CAT_CL_LAT, CAT_CL_LONG, CAT_CL_NOMBRE FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION ALL SELECT CAT_CL_LAT, CAT_CL_LONG, CAT_CL_NOMBRE FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=33423371; + //BA.debugLineNum = 33423371;BA.debugLine="If c.RowCount > 0 Then"; +if (mostCurrent._c.getRowCount()>0) { +RDebugUtils.currentLine=33423372; + //BA.debugLineNum = 33423372;BA.debugLine="c.Position = 0"; +mostCurrent._c.setPosition((int) (0)); +RDebugUtils.currentLine=33423373; + //BA.debugLineNum = 33423373;BA.debugLine="Subs.centraPanel(p_principal, Activity.Width)"; +mostCurrent._subs._centrapanel /*String*/ (mostCurrent.activityBA,mostCurrent._p_principal,mostCurrent._activity.getWidth()); +RDebugUtils.currentLine=33423374; + //BA.debugLineNum = 33423374;BA.debugLine="p_principal.Height = Activity.Height * 0.95"; +mostCurrent._p_principal.setHeight((int) (mostCurrent._activity.getHeight()*0.95)); +RDebugUtils.currentLine=33423375; + //BA.debugLineNum = 33423375;BA.debugLine="latmarker = c.GetString(\"CAT_CL_LAT\")"; +mostCurrent._latmarker = mostCurrent._c.GetString("CAT_CL_LAT"); +RDebugUtils.currentLine=33423376; + //BA.debugLineNum = 33423376;BA.debugLine="longmarker = c.GetString(\"CAT_CL_LONG\")"; +mostCurrent._longmarker = mostCurrent._c.GetString("CAT_CL_LONG"); +RDebugUtils.currentLine=33423377; + //BA.debugLineNum = 33423377;BA.debugLine="NOMBRE_TIENDA = c.GetString(\"CAT_CL_NOMBRE\")"; +mostCurrent._nombre_tienda = mostCurrent._c.GetString("CAT_CL_NOMBRE"); + }; +RDebugUtils.currentLine=33423379; + //BA.debugLineNum = 33423379;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=33619968; + //BA.debugLineNum = 33619968;BA.debugLine="Private Sub b_regresar_Click"; +RDebugUtils.currentLine=33619969; + //BA.debugLineNum = 33619969;BA.debugLine="Log(\"Pressed\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("533619969","Pressed",0); +RDebugUtils.currentLine=33619970; + //BA.debugLineNum = 33619970;BA.debugLine="Activity.Finish"; +mostCurrent._activity.Finish(); +RDebugUtils.currentLine=33619971; + //BA.debugLineNum = 33619971;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); +RDebugUtils.currentLine=33619972; + //BA.debugLineNum = 33619972;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=33357824; + //BA.debugLineNum = 33357824;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; +RDebugUtils.currentLine=33357843; + //BA.debugLineNum = 33357843;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(SHARK2.keymon.com.mx.mapa_cliente parent) { +this.parent = parent; +} +SHARK2.keymon.com.mx.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=33292289; + //BA.debugLineNum = 33292289;BA.debugLine="gmap = MapFragment1.GetMap"; +parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.GetMap(); +RDebugUtils.currentLine=33292291; + //BA.debugLineNum = 33292291;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; +parent._rp.CheckAndRequest(processBA,parent._rp.PERMISSION_ACCESS_FINE_LOCATION); +RDebugUtils.currentLine=33292292; + //BA.debugLineNum = 33292292;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 = 5; +return; +case 5: +//C +this.state = 1; +_permission = (String) result[0]; +_result = (Boolean) result[1]; +; +RDebugUtils.currentLine=33292293; + //BA.debugLineNum = 33292293;BA.debugLine="gmap.MyLocationEnabled = Result"; +parent.mostCurrent._gmap.setMyLocationEnabled(_result); +RDebugUtils.currentLine=33292295; + //BA.debugLineNum = 33292295;BA.debugLine="Dim JavaMapsObject As JavaObject"; +_javamapsobject = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=33292296; + //BA.debugLineNum = 33292296;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=33292297; + //BA.debugLineNum = 33292297;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; +_javamapsobject.RunMethod("setMapToolbarEnabled",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)}); +RDebugUtils.currentLine=33292298; + //BA.debugLineNum = 33292298;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=33292299; + //BA.debugLineNum = 33292299;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT CAT_CL_LAT, CA"; +parent.mostCurrent._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_LAT, CAT_CL_LONG, CAT_CL_NOMBRE FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION ALL SELECT CAT_CL_LAT, CAT_CL_LONG, CAT_CL_NOMBRE FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); +RDebugUtils.currentLine=33292301; + //BA.debugLineNum = 33292301;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 1: +//if +this.state = 4; +if (parent.mostCurrent._c.getRowCount()>0) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=33292302; + //BA.debugLineNum = 33292302;BA.debugLine="c.Position = 0"; +parent.mostCurrent._c.setPosition((int) (0)); +RDebugUtils.currentLine=33292308; + //BA.debugLineNum = 33292308;BA.debugLine="marcador1.Snippet = c.GetString(\"CAT_CL_NOMBRE\")"; +_marcador1.setSnippet(parent.mostCurrent._c.GetString("CAT_CL_NOMBRE")); + if (true) break; + +case 4: +//C +this.state = -1; +; +RDebugUtils.currentLine=33292311; + //BA.debugLineNum = 33292311;BA.debugLine="Dim aa As CameraPosition"; +_aa = new anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper(); +RDebugUtils.currentLine=33292312; + //BA.debugLineNum = 33292312;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=33292313; + //BA.debugLineNum = 33292313;BA.debugLine="gmap.AnimateCamera(aa)"; +parent.mostCurrent._gmap.AnimateCamera((com.google.android.gms.maps.model.CameraPosition)(_aa.getObject())); +RDebugUtils.currentLine=33292314; + //BA.debugLineNum = 33292314;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=33554432; + //BA.debugLineNum = 33554432;BA.debugLine="Sub reg_Click"; +RDebugUtils.currentLine=33554434; + //BA.debugLineNum = 33554434;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); +RDebugUtils.currentLine=33554435; + //BA.debugLineNum = 33554435;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/mapa_rutas.java b/B4A/Objects/src/SHARK2/keymon/com/mx/mapa_rutas.java new file mode 100644 index 0000000..c5eb9c1 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/mapa_rutas.java @@ -0,0 +1,1865 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx", "SHARK2.keymon.com.mx.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, "SHARK2.keymon.com.mx", "SHARK2.keymon.com.mx.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, "SHARK2.keymon.com.mx.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 String _ruta = ""; +public static anywheresoftware.b4a.sql.SQL _skmt = 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 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 anywheresoftware.b4a.objects.collections.List _lista_punta = null; +public anywheresoftware.b4a.objects.collections.List _lista_punta2 = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static void _activity_create(boolean _firsttime) throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_create", false)) + {Debug.delegate(mostCurrent.activityBA, "activity_create", new Object[] {_firsttime}); return;} +ResumableSub_Activity_Create rsub = new ResumableSub_Activity_Create(null,_firsttime); +rsub.resume(processBA, null); +} +public static class ResumableSub_Activity_Create extends BA.ResumableSub { +public ResumableSub_Activity_Create(SHARK2.keymon.com.mx.mapa_rutas parent,boolean _firsttime) { +this.parent = parent; +this._firsttime = _firsttime; +} +SHARK2.keymon.com.mx.mapa_rutas parent; +boolean _firsttime; +String _permission = ""; +boolean _result = false; + +@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=33816577; + //BA.debugLineNum = 33816577;BA.debugLine="Activity.LoadLayout(\"MAPA_RUTAS\")"; +parent.mostCurrent._activity.LoadLayout("MAPA_RUTAS",mostCurrent.activityBA); +RDebugUtils.currentLine=33816581; + //BA.debugLineNum = 33816581;BA.debugLine="ruta = File.DirInternal"; +parent._ruta = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); +RDebugUtils.currentLine=33816583; + //BA.debugLineNum = 33816583;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; +if (true) break; + +case 1: +//if +this.state = 4; +if (anywheresoftware.b4a.keywords.Common.File.Exists(parent._ruta,"kmt.db")==anywheresoftware.b4a.keywords.Common.False) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=33816584; + //BA.debugLineNum = 33816584;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; +anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",parent._ruta,"kmt.db"); + if (true) break; + +case 4: +//C +this.state = 5; +; +RDebugUtils.currentLine=33816586; + //BA.debugLineNum = 33816586;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; +parent._skmt.Initialize(parent._ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=33816588; + //BA.debugLineNum = 33816588;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; +parent.mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(processBA,parent.mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION); +RDebugUtils.currentLine=33816589; + //BA.debugLineNum = 33816589;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", "activity_create"), null); +this.state = 19; +return; +case 19: +//C +this.state = 5; +_permission = (String) result[0]; +_result = (Boolean) result[1]; +; +RDebugUtils.currentLine=33816590; + //BA.debugLineNum = 33816590;BA.debugLine="If Result Then"; +if (true) break; + +case 5: +//if +this.state = 14; +if (_result) { +this.state = 7; +}else { +this.state = 13; +}if (true) break; + +case 7: +//C +this.state = 8; +RDebugUtils.currentLine=33816591; + //BA.debugLineNum = 33816591;BA.debugLine="StartService(Tracker)"; +anywheresoftware.b4a.keywords.Common.StartService(processBA,(Object)(parent.mostCurrent._tracker.getObject())); +RDebugUtils.currentLine=33816592; + //BA.debugLineNum = 33816592;BA.debugLine="Log(\"Start Tracker\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("533816592","Start Tracker",0); +RDebugUtils.currentLine=33816593; + //BA.debugLineNum = 33816593;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable ="; +if (true) break; + +case 8: +//if +this.state = 11; +if (parent.mostCurrent._mapfragment1.IsGooglePlayServicesAvailable(mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.False) { +this.state = 10; +}if (true) break; + +case 10: +//C +this.state = 11; +RDebugUtils.currentLine=33816594; + //BA.debugLineNum = 33816594;BA.debugLine="ToastMessageShow(\"Please install Google Play Se"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Please install Google Play Services."),anywheresoftware.b4a.keywords.Common.True); + if (true) break; + +case 11: +//C +this.state = 14; +; + if (true) break; + +case 13: +//C +this.state = 14; +RDebugUtils.currentLine=33816597; + //BA.debugLineNum = 33816597;BA.debugLine="ToastMessageShow(\"No permission\", True)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("No permission"),anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=33816598; + //BA.debugLineNum = 33816598;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; +parent.mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Principal"); + if (true) break; + +case 14: +//C +this.state = 15; +; +RDebugUtils.currentLine=33816613; + //BA.debugLineNum = 33816613;BA.debugLine="MARK_AZUL.IsInitialized"; +parent.mostCurrent._mark_azul.IsInitialized(); +RDebugUtils.currentLine=33816614; + //BA.debugLineNum = 33816614;BA.debugLine="MARK_ROJO.IsInitialized"; +parent.mostCurrent._mark_rojo.IsInitialized(); +RDebugUtils.currentLine=33816615; + //BA.debugLineNum = 33816615;BA.debugLine="MARK_VERDE.IsInitialized"; +parent.mostCurrent._mark_verde.IsInitialized(); +RDebugUtils.currentLine=33816616; + //BA.debugLineNum = 33816616;BA.debugLine="LIST_AZUL.Initialize"; +parent.mostCurrent._list_azul.Initialize(); +RDebugUtils.currentLine=33816617; + //BA.debugLineNum = 33816617;BA.debugLine="LIST_ROJO.Initialize"; +parent.mostCurrent._list_rojo.Initialize(); +RDebugUtils.currentLine=33816618; + //BA.debugLineNum = 33816618;BA.debugLine="LIST_VERDE.Initialize"; +parent.mostCurrent._list_verde.Initialize(); +RDebugUtils.currentLine=33816619; + //BA.debugLineNum = 33816619;BA.debugLine="verde = 0"; +parent.mostCurrent._verde = BA.NumberToString(0); +RDebugUtils.currentLine=33816620; + //BA.debugLineNum = 33816620;BA.debugLine="azul = 0"; +parent.mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=33816621; + //BA.debugLineNum = 33816621;BA.debugLine="rojo = 0"; +parent.mostCurrent._rojo = BA.NumberToString(0); +RDebugUtils.currentLine=33816622; + //BA.debugLineNum = 33816622;BA.debugLine="todos = 1"; +parent.mostCurrent._todos = BA.NumberToString(1); +RDebugUtils.currentLine=33816623; + //BA.debugLineNum = 33816623;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) AS CUANTOS fro"; +parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select count(*) AS CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"SEMANA"}))); +RDebugUtils.currentLine=33816624; + //BA.debugLineNum = 33816624;BA.debugLine="c.Position =0"; +parent._c.setPosition((int) (0)); +RDebugUtils.currentLine=33816625; + //BA.debugLineNum = 33816625;BA.debugLine="SEMANA = c.GetString(\"CUANTOS\")"; +parent.mostCurrent._semana = parent._c.GetString("CUANTOS"); +RDebugUtils.currentLine=33816626; + //BA.debugLineNum = 33816626;BA.debugLine="c.Close"; +parent._c.Close(); +RDebugUtils.currentLine=33816628; + //BA.debugLineNum = 33816628;BA.debugLine="If SEMANA > 0 Then"; +if (true) break; + +case 15: +//if +this.state = 18; +if ((double)(Double.parseDouble(parent.mostCurrent._semana))>0) { +this.state = 17; +}if (true) break; + +case 17: +//C +this.state = 18; +RDebugUtils.currentLine=33816629; + //BA.debugLineNum = 33816629;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_"; +parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"SEMANA"}))); +RDebugUtils.currentLine=33816630; + //BA.debugLineNum = 33816630;BA.debugLine="c.Position =0"; +parent._c.setPosition((int) (0)); +RDebugUtils.currentLine=33816631; + //BA.debugLineNum = 33816631;BA.debugLine="SEMANA = c.GetString(\"CAT_VA_VALOR\")"; +parent.mostCurrent._semana = parent._c.GetString("CAT_VA_VALOR"); +RDebugUtils.currentLine=33816632; + //BA.debugLineNum = 33816632;BA.debugLine="c.Close"; +parent._c.Close(); + if (true) break; + +case 18: +//C +this.state = -1; +; +RDebugUtils.currentLine=33816634; + //BA.debugLineNum = 33816634;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public static String _activity_pause(boolean _userclosed) throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +RDebugUtils.currentLine=34144256; + //BA.debugLineNum = 34144256;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; +RDebugUtils.currentLine=34144257; + //BA.debugLineNum = 34144257;BA.debugLine="GPS.Stop"; +_gps.Stop(); +RDebugUtils.currentLine=34144258; + //BA.debugLineNum = 34144258;BA.debugLine="End Sub"; +return ""; +} +public static void _activity_resume() throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "activity_resume", false)) + {Debug.delegate(mostCurrent.activityBA, "activity_resume", null); return;} +ResumableSub_Activity_Resume rsub = new ResumableSub_Activity_Resume(null); +rsub.resume(processBA, null); +} +public static class ResumableSub_Activity_Resume extends BA.ResumableSub { +public ResumableSub_Activity_Resume(SHARK2.keymon.com.mx.mapa_rutas parent) { +this.parent = parent; +} +SHARK2.keymon.com.mx.mapa_rutas parent; +String _permission = ""; +boolean _result = false; + +@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=33882113; + //BA.debugLineNum = 33882113;BA.debugLine="Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_FIN"; +parent.mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .Check(parent.mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION); +RDebugUtils.currentLine=33882114; + //BA.debugLineNum = 33882114;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", "activity_resume"), null); +this.state = 11; +return; +case 11: +//C +this.state = 1; +_permission = (String) result[0]; +_result = (Boolean) result[1]; +; +RDebugUtils.currentLine=33882115; + //BA.debugLineNum = 33882115;BA.debugLine="If Result Then"; +if (true) break; + +case 1: +//if +this.state = 10; +if (_result) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=33882116; + //BA.debugLineNum = 33882116;BA.debugLine="If Starter.GPS.GPSEnabled = False Then"; +if (true) break; + +case 4: +//if +this.state = 9; +if (parent.mostCurrent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled()==anywheresoftware.b4a.keywords.Common.False) { +this.state = 6; +}else { +this.state = 8; +}if (true) break; + +case 6: +//C +this.state = 9; +RDebugUtils.currentLine=33882117; + //BA.debugLineNum = 33882117;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equip"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo."),anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=33882118; + //BA.debugLineNum = 33882118;BA.debugLine="StartActivity(Starter.GPS.LocationSettingsInten"; +anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(parent.mostCurrent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); + if (true) break; + +case 8: +//C +this.state = 9; +RDebugUtils.currentLine=33882120; + //BA.debugLineNum = 33882120;BA.debugLine="Starter.GPS.Start(0, 0)"; +parent.mostCurrent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .Start(processBA,(long) (0),(float) (0)); + if (true) break; + +case 9: +//C +this.state = 10; +; + if (true) break; + +case 10: +//C +this.state = -1; +; +RDebugUtils.currentLine=33882123; + //BA.debugLineNum = 33882123;BA.debugLine="lista_punta.Initialize"; +parent.mostCurrent._lista_punta.Initialize(); +RDebugUtils.currentLine=33882124; + //BA.debugLineNum = 33882124;BA.debugLine="lista_punta2.Initialize"; +parent.mostCurrent._lista_punta2.Initialize(); +RDebugUtils.currentLine=33882126; + //BA.debugLineNum = 33882126;BA.debugLine="LIST_AZUL.Initialize"; +parent.mostCurrent._list_azul.Initialize(); +RDebugUtils.currentLine=33882127; + //BA.debugLineNum = 33882127;BA.debugLine="LIST_ROJO.Initialize"; +parent.mostCurrent._list_rojo.Initialize(); +RDebugUtils.currentLine=33882128; + //BA.debugLineNum = 33882128;BA.debugLine="LIST_VERDE.Initialize"; +parent.mostCurrent._list_verde.Initialize(); +RDebugUtils.currentLine=33882129; + //BA.debugLineNum = 33882129;BA.debugLine="verde = 0"; +parent.mostCurrent._verde = BA.NumberToString(0); +RDebugUtils.currentLine=33882130; + //BA.debugLineNum = 33882130;BA.debugLine="azul = 1"; +parent.mostCurrent._azul = BA.NumberToString(1); +RDebugUtils.currentLine=33882131; + //BA.debugLineNum = 33882131;BA.debugLine="rojo = 0"; +parent.mostCurrent._rojo = BA.NumberToString(0); +RDebugUtils.currentLine=33882132; + //BA.debugLineNum = 33882132;BA.debugLine="todos = 0"; +parent.mostCurrent._todos = BA.NumberToString(0); +RDebugUtils.currentLine=33882137; + //BA.debugLineNum = 33882137;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +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=34406400; + //BA.debugLineNum = 34406400;BA.debugLine="Sub B_AZUL_Click"; +RDebugUtils.currentLine=34406401; + //BA.debugLineNum = 34406401;BA.debugLine="azul = 1"; +mostCurrent._azul = BA.NumberToString(1); +RDebugUtils.currentLine=34406402; + //BA.debugLineNum = 34406402;BA.debugLine="verde = 0"; +mostCurrent._verde = BA.NumberToString(0); +RDebugUtils.currentLine=34406403; + //BA.debugLineNum = 34406403;BA.debugLine="rojo = 0"; +mostCurrent._rojo = BA.NumberToString(0); +RDebugUtils.currentLine=34406404; + //BA.debugLineNum = 34406404;BA.debugLine="todos = 0"; +mostCurrent._todos = BA.NumberToString(0); +RDebugUtils.currentLine=34406405; + //BA.debugLineNum = 34406405;BA.debugLine="gmap.Clear"; +mostCurrent._gmap.Clear(); +RDebugUtils.currentLine=34406407; + //BA.debugLineNum = 34406407;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=34406409; + //BA.debugLineNum = 34406409;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(SHARK2.keymon.com.mx.mapa_rutas parent) { +this.parent = parent; +} +SHARK2.keymon.com.mx.mapa_rutas parent; +String _permission = ""; +boolean _result = false; +anywheresoftware.b4j.object.JavaObject _javamapsobject = null; +int _i = 0; +anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper _aa = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _pol = null; +int _poli = 0; +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _coords = null; +int step15; +int limit15; +int step35; +int limit35; +int step51; +int limit51; +int step68; +int limit68; +int step82; +int limit82; +int step103; +int limit103; + +@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=33947649; + //BA.debugLineNum = 33947649;BA.debugLine="Log(\"ENTRANDO MapFragment1_Ready\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("533947649","ENTRANDO MapFragment1_Ready",0); +RDebugUtils.currentLine=33947650; + //BA.debugLineNum = 33947650;BA.debugLine="gmap = MapFragment1.GetMap"; +parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.GetMap(); +RDebugUtils.currentLine=33947651; + //BA.debugLineNum = 33947651;BA.debugLine="gmap.IsInitialized"; +parent.mostCurrent._gmap.IsInitialized(); +RDebugUtils.currentLine=33947655; + //BA.debugLineNum = 33947655;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; +parent._rp.CheckAndRequest(processBA,parent._rp.PERMISSION_ACCESS_FINE_LOCATION); +RDebugUtils.currentLine=33947656; + //BA.debugLineNum = 33947656;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 = 91; +return; +case 91: +//C +this.state = 1; +_permission = (String) result[0]; +_result = (Boolean) result[1]; +; +RDebugUtils.currentLine=33947657; + //BA.debugLineNum = 33947657;BA.debugLine="gmap.MyLocationEnabled = Result"; +parent.mostCurrent._gmap.setMyLocationEnabled(_result); +RDebugUtils.currentLine=33947659; + //BA.debugLineNum = 33947659;BA.debugLine="Dim JavaMapsObject As JavaObject"; +_javamapsobject = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=33947660; + //BA.debugLineNum = 33947660;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=33947661; + //BA.debugLineNum = 33947661;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; +_javamapsobject.RunMethod("setMapToolbarEnabled",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)}); +RDebugUtils.currentLine=33947663; + //BA.debugLineNum = 33947663;BA.debugLine="If azul = 1 Or todos = 1 Then"; +if (true) break; + +case 1: +//if +this.state = 30; +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=33947664; + //BA.debugLineNum = 33947664;BA.debugLine="c.IsInitialized"; +parent._c.IsInitialized(); +RDebugUtils.currentLine=33947665; + //BA.debugLineNum = 33947665;BA.debugLine="c=skmt.ExecQuery(\"select CAT_CL_CODIGO,CAT_CL_NO"; +parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG from kmt_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_LAT <> ' ' and CAT_CL_LONG <> ' ' and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1"))); +RDebugUtils.currentLine=33947667; + //BA.debugLineNum = 33947667;BA.debugLine="Log($\"============== Resultados = ${c.RowCount}\""; +anywheresoftware.b4a.keywords.Common.LogImpl("533947667",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+""),0); +RDebugUtils.currentLine=33947668; + //BA.debugLineNum = 33947668;BA.debugLine="If c.RowCount > 0 Then"; +if (true) break; + +case 4: +//if +this.state = 23; +if (parent._c.getRowCount()>0) { +this.state = 6; +}if (true) break; + +case 6: +//C +this.state = 7; +RDebugUtils.currentLine=33947669; + //BA.debugLineNum = 33947669;BA.debugLine="For i = 0 To c.RowCount - 1"; +if (true) break; + +case 7: +//for +this.state = 22; +step15 = 1; +limit15 = (int) (parent._c.getRowCount()-1); +_i = (int) (0) ; +this.state = 92; +if (true) break; + +case 92: +//C +this.state = 22; +if ((step15 > 0 && _i <= limit15) || (step15 < 0 && _i >= limit15)) this.state = 9; +if (true) break; + +case 93: +//C +this.state = 92; +_i = ((int)(0 + _i + step15)) ; +if (true) break; + +case 9: +//C +this.state = 10; +RDebugUtils.currentLine=33947670; + //BA.debugLineNum = 33947670;BA.debugLine="c.Position = i"; +parent._c.setPosition(_i); +RDebugUtils.currentLine=33947673; + //BA.debugLineNum = 33947673;BA.debugLine="LatitudRu = 0"; +parent._latitudru = 0; +RDebugUtils.currentLine=33947674; + //BA.debugLineNum = 33947674;BA.debugLine="Log(c.GetString(\"CAT_CL_CODIGO\")&\" \"& c.G"; +anywheresoftware.b4a.keywords.Common.LogImpl("533947674",parent._c.GetString("CAT_CL_CODIGO")+" "+parent._c.GetString("CAT_CL_LAT"),0); +RDebugUtils.currentLine=33947675; + //BA.debugLineNum = 33947675;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then Latitu"; +if (true) break; + +case 10: +//if +this.state = 15; +if ((parent._c.GetString("CAT_CL_LAT")).equals("") == false) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +parent._latitudru = (double)(Double.parseDouble(parent._c.GetString("CAT_CL_LAT"))); +if (true) break; + +case 15: +//C +this.state = 16; +; +RDebugUtils.currentLine=33947676; + //BA.debugLineNum = 33947676;BA.debugLine="LongitudRU = 0"; +parent._longitudru = 0; +RDebugUtils.currentLine=33947677; + //BA.debugLineNum = 33947677;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then Longi"; +if (true) break; + +case 16: +//if +this.state = 21; +if ((parent._c.GetString("CAT_CL_LONG")).equals("") == false) { +this.state = 18; +;}if (true) break; + +case 18: +//C +this.state = 21; +parent._longitudru = (double)(Double.parseDouble(parent._c.GetString("CAT_CL_LONG"))); +if (true) break; + +case 21: +//C +this.state = 93; +; +RDebugUtils.currentLine=33947678; + //BA.debugLineNum = 33947678;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")"; +parent.mostCurrent._codigo = parent._c.GetString("CAT_CL_CODIGO"); +RDebugUtils.currentLine=33947679; + //BA.debugLineNum = 33947679;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c.GetString("CAT_CL_NOMBRE"); +RDebugUtils.currentLine=33947680; + //BA.debugLineNum = 33947680;BA.debugLine="MARK_AZUL = gmap.AddMarker2(LatitudRu, Longitu"; +parent.mostCurrent._mark_azul = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_BLUE); +RDebugUtils.currentLine=33947681; + //BA.debugLineNum = 33947681;BA.debugLine="MARK_AZUL.Snippet = Tienda"; +parent.mostCurrent._mark_azul.setSnippet(parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 22: +//C +this.state = 23; +; + if (true) break; + +case 23: +//C +this.state = 24; +; +RDebugUtils.currentLine=33947684; + //BA.debugLineNum = 33947684;BA.debugLine="c .Close"; +parent._c.Close(); +RDebugUtils.currentLine=33947687; + //BA.debugLineNum = 33947687;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA"; +if (true) break; + +case 24: +//if +this.state = 29; +if (parent.mostCurrent._mark_azul.IsInitialized()) { +this.state = 26; +;}if (true) break; + +case 26: +//C +this.state = 29; +parent.mostCurrent._list_azul.Add((Object)(parent.mostCurrent._mark_azul.getObject())); +if (true) break; + +case 29: +//C +this.state = 30; +; + if (true) break; +; +RDebugUtils.currentLine=33947690; + //BA.debugLineNum = 33947690;BA.debugLine="If verde = 1 Or todos = 1 Then"; + +case 30: +//if +this.state = 57; +if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +this.state = 32; +}else { +this.state = 42; +}if (true) break; + +case 32: +//C +this.state = 33; +RDebugUtils.currentLine=33947691; + //BA.debugLineNum = 33947691;BA.debugLine="c2.IsInitialized"; +parent._c2.IsInitialized(); +RDebugUtils.currentLine=33947692; + //BA.debugLineNum = 33947692;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_"; +parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_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 <> 0 and CAT_CL_CODIGO <> 1 UNION select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info2 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 <> 0 and CAT_CL_CODIGO <> 1"))); +RDebugUtils.currentLine=33947693; + //BA.debugLineNum = 33947693;BA.debugLine="Log($\"============== Resultados = ${c2.RowCount}"; +anywheresoftware.b4a.keywords.Common.LogImpl("533947693",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c2.getRowCount()))+""),0); +RDebugUtils.currentLine=33947694; + //BA.debugLineNum = 33947694;BA.debugLine="For i = 0 To c2.RowCount -1"; +if (true) break; + +case 33: +//for +this.state = 40; +step35 = 1; +limit35 = (int) (parent._c2.getRowCount()-1); +_i = (int) (0) ; +this.state = 94; +if (true) break; + +case 94: +//C +this.state = 40; +if ((step35 > 0 && _i <= limit35) || (step35 < 0 && _i >= limit35)) this.state = 35; +if (true) break; + +case 95: +//C +this.state = 94; +_i = ((int)(0 + _i + step35)) ; +if (true) break; + +case 35: +//C +this.state = 36; +RDebugUtils.currentLine=33947695; + //BA.debugLineNum = 33947695;BA.debugLine="c2.Position = i"; +parent._c2.setPosition(_i); +RDebugUtils.currentLine=33947697; + //BA.debugLineNum = 33947697;BA.debugLine="If IsNumber(c2.GetString(\"CAT_CL_LONG\")) Then"; +if (true) break; + +case 36: +//if +this.state = 39; +if (anywheresoftware.b4a.keywords.Common.IsNumber(parent._c2.GetString("CAT_CL_LONG"))) { +this.state = 38; +}if (true) break; + +case 38: +//C +this.state = 39; +RDebugUtils.currentLine=33947698; + //BA.debugLineNum = 33947698;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); +RDebugUtils.currentLine=33947699; + //BA.debugLineNum = 33947699;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); +RDebugUtils.currentLine=33947700; + //BA.debugLineNum = 33947700;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); +RDebugUtils.currentLine=33947701; + //BA.debugLineNum = 33947701;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); +RDebugUtils.currentLine=33947702; + //BA.debugLineNum = 33947702;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longit"; +parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_GREEN); +RDebugUtils.currentLine=33947703; + //BA.debugLineNum = 33947703;BA.debugLine="MARK_VERDE.Snippet = Tienda"; +parent.mostCurrent._mark_verde.setSnippet(parent.mostCurrent._tienda); + if (true) break; + +case 39: +//C +this.state = 95; +; + if (true) break; +if (true) break; + +case 40: +//C +this.state = 57; +; + if (true) break; + +case 42: +//C +this.state = 43; +RDebugUtils.currentLine=33947707; + //BA.debugLineNum = 33947707;BA.debugLine="If verde = 1 Or todos = 1 Then"; +if (true) break; + +case 43: +//if +this.state = 56; +if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +this.state = 45; +}if (true) break; + +case 45: +//C +this.state = 46; +RDebugUtils.currentLine=33947708; + //BA.debugLineNum = 33947708;BA.debugLine="c2.IsInitialized"; +parent._c2.IsInitialized(); +RDebugUtils.currentLine=33947709; + //BA.debugLineNum = 33947709;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL"; +parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_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 <> 0 and CAT_CL_CODIGO <> 1"))); +RDebugUtils.currentLine=33947710; + //BA.debugLineNum = 33947710;BA.debugLine="Log($\"============== Resultados = ${c2.RowCount"; +anywheresoftware.b4a.keywords.Common.LogImpl("533947710",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c2.getRowCount()))+""),0); +RDebugUtils.currentLine=33947711; + //BA.debugLineNum = 33947711;BA.debugLine="For i = 0 To c2.RowCount -1"; +if (true) break; + +case 46: +//for +this.state = 49; +step51 = 1; +limit51 = (int) (parent._c2.getRowCount()-1); +_i = (int) (0) ; +this.state = 96; +if (true) break; + +case 96: +//C +this.state = 49; +if ((step51 > 0 && _i <= limit51) || (step51 < 0 && _i >= limit51)) this.state = 48; +if (true) break; + +case 97: +//C +this.state = 96; +_i = ((int)(0 + _i + step51)) ; +if (true) break; + +case 48: +//C +this.state = 97; +RDebugUtils.currentLine=33947712; + //BA.debugLineNum = 33947712;BA.debugLine="c2.Position = i"; +parent._c2.setPosition(_i); +RDebugUtils.currentLine=33947714; + //BA.debugLineNum = 33947714;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; +parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); +RDebugUtils.currentLine=33947715; + //BA.debugLineNum = 33947715;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; +parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); +RDebugUtils.currentLine=33947716; + //BA.debugLineNum = 33947716;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; +parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); +RDebugUtils.currentLine=33947717; + //BA.debugLineNum = 33947717;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); +RDebugUtils.currentLine=33947718; + //BA.debugLineNum = 33947718;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longit"; +parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_GREEN); +RDebugUtils.currentLine=33947719; + //BA.debugLineNum = 33947719;BA.debugLine="MARK_VERDE.Snippet = Tienda"; +parent.mostCurrent._mark_verde.setSnippet(parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 49: +//C +this.state = 50; +; +RDebugUtils.currentLine=33947721; + //BA.debugLineNum = 33947721;BA.debugLine="c2 .Close"; +parent._c2.Close(); +RDebugUtils.currentLine=33947722; + //BA.debugLineNum = 33947722;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add"; +if (true) break; + +case 50: +//if +this.state = 55; +if (parent.mostCurrent._mark_verde.IsInitialized()) { +this.state = 52; +;}if (true) break; + +case 52: +//C +this.state = 55; +parent.mostCurrent._list_verde.Add((Object)(parent.mostCurrent._mark_verde.getObject())); +if (true) break; + +case 55: +//C +this.state = 56; +; + if (true) break; + +case 56: +//C +this.state = 57; +; + if (true) break; +; +RDebugUtils.currentLine=33947727; + //BA.debugLineNum = 33947727;BA.debugLine="If rojo = 1 Or todos = 1 Then"; + +case 57: +//if +this.state = 79; +if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +this.state = 59; +}else { +this.state = 65; +}if (true) break; + +case 59: +//C +this.state = 60; +RDebugUtils.currentLine=33947728; + //BA.debugLineNum = 33947728;BA.debugLine="c3.IsInitialized"; +parent._c3.IsInitialized(); +RDebugUtils.currentLine=33947729; + //BA.debugLineNum = 33947729;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_"; +parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_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 <> 0 and CAT_CL_CODIGO <> 1"))); +RDebugUtils.currentLine=33947730; + //BA.debugLineNum = 33947730;BA.debugLine="Log($\"============== Resultados = ${c3.RowCount}"; +anywheresoftware.b4a.keywords.Common.LogImpl("533947730",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c3.getRowCount()))+""),0); +RDebugUtils.currentLine=33947731; + //BA.debugLineNum = 33947731;BA.debugLine="For i = 0 To c3.RowCount -1"; +if (true) break; + +case 60: +//for +this.state = 63; +step68 = 1; +limit68 = (int) (parent._c3.getRowCount()-1); +_i = (int) (0) ; +this.state = 98; +if (true) break; + +case 98: +//C +this.state = 63; +if ((step68 > 0 && _i <= limit68) || (step68 < 0 && _i >= limit68)) this.state = 62; +if (true) break; + +case 99: +//C +this.state = 98; +_i = ((int)(0 + _i + step68)) ; +if (true) break; + +case 62: +//C +this.state = 99; +RDebugUtils.currentLine=33947732; + //BA.debugLineNum = 33947732;BA.debugLine="c3.Position = i"; +parent._c3.setPosition(_i); +RDebugUtils.currentLine=33947734; + //BA.debugLineNum = 33947734;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); +RDebugUtils.currentLine=33947735; + //BA.debugLineNum = 33947735;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); +RDebugUtils.currentLine=33947736; + //BA.debugLineNum = 33947736;BA.debugLine="CODIGO = c3.GetString(\"CAT_CL_CODIGO\")"; +parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); +RDebugUtils.currentLine=33947737; + //BA.debugLineNum = 33947737;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); +RDebugUtils.currentLine=33947738; + //BA.debugLineNum = 33947738;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=33947739; + //BA.debugLineNum = 33947739;BA.debugLine="MARK_ROJO.Snippet = Tienda"; +parent.mostCurrent._mark_rojo.setSnippet(parent.mostCurrent._tienda); + if (true) break; +if (true) break; + +case 63: +//C +this.state = 79; +; + if (true) break; + +case 65: +//C +this.state = 66; +RDebugUtils.currentLine=33947742; + //BA.debugLineNum = 33947742;BA.debugLine="If rojo = 1 Or todos = 1 Then"; +if (true) break; + +case 66: +//if +this.state = 78; +if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { +this.state = 68; +}if (true) break; + +case 68: +//C +this.state = 69; +RDebugUtils.currentLine=33947743; + //BA.debugLineNum = 33947743;BA.debugLine="c3.IsInitialized"; +parent._c3.IsInitialized(); +RDebugUtils.currentLine=33947744; + //BA.debugLineNum = 33947744;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL"; +parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_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 <> 0 and CAT_CL_CODIGO <> 1"))); +RDebugUtils.currentLine=33947745; + //BA.debugLineNum = 33947745;BA.debugLine="Log($\"============== Resultados = ${c3.RowCount"; +anywheresoftware.b4a.keywords.Common.LogImpl("533947745",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c3.getRowCount()))+""),0); +RDebugUtils.currentLine=33947746; + //BA.debugLineNum = 33947746;BA.debugLine="For i = 0 To c3.RowCount -1"; +if (true) break; + +case 69: +//for +this.state = 72; +step82 = 1; +limit82 = (int) (parent._c3.getRowCount()-1); +_i = (int) (0) ; +this.state = 100; +if (true) break; + +case 100: +//C +this.state = 72; +if ((step82 > 0 && _i <= limit82) || (step82 < 0 && _i >= limit82)) this.state = 71; +if (true) break; + +case 101: +//C +this.state = 100; +_i = ((int)(0 + _i + step82)) ; +if (true) break; + +case 71: +//C +this.state = 101; +RDebugUtils.currentLine=33947747; + //BA.debugLineNum = 33947747;BA.debugLine="c3.Position = i"; +parent._c3.setPosition(_i); +RDebugUtils.currentLine=33947749; + //BA.debugLineNum = 33947749;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; +parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); +RDebugUtils.currentLine=33947750; + //BA.debugLineNum = 33947750;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; +parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); +RDebugUtils.currentLine=33947751; + //BA.debugLineNum = 33947751;BA.debugLine="CODIGO = c3.GetString(\"CAT_CL_CODIGO\")"; +parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); +RDebugUtils.currentLine=33947752; + //BA.debugLineNum = 33947752;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; +parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); +RDebugUtils.currentLine=33947753; + //BA.debugLineNum = 33947753;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu, Longitu"; +parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_RED); +RDebugUtils.currentLine=33947754; + //BA.debugLineNum = 33947754;BA.debugLine="MARK_ROJO.Snippet = Tienda"; +parent.mostCurrent._mark_rojo.setSnippet(parent.mostCurrent._tienda); + if (true) break; +if (true) break; +; +RDebugUtils.currentLine=33947756; + //BA.debugLineNum = 33947756;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M"; + +case 72: +//if +this.state = 77; +if (parent.mostCurrent._mark_rojo.IsInitialized()) { +this.state = 74; +;}if (true) break; + +case 74: +//C +this.state = 77; +parent.mostCurrent._list_rojo.Add((Object)(parent.mostCurrent._mark_rojo.getObject())); +if (true) break; + +case 77: +//C +this.state = 78; +; +RDebugUtils.currentLine=33947757; + //BA.debugLineNum = 33947757;BA.debugLine="c3.Close"; +parent._c3.Close(); + if (true) break; + +case 78: +//C +this.state = 79; +; + if (true) break; + +case 79: +//C +this.state = 80; +; +RDebugUtils.currentLine=33947766; + //BA.debugLineNum = 33947766;BA.debugLine="Dim aa As CameraPosition"; +_aa = new anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper(); +RDebugUtils.currentLine=33947767; + //BA.debugLineNum = 33947767;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN"; +_aa.Initialize(parent._latitudru,parent._longitudru,(float) (15)); +RDebugUtils.currentLine=33947768; + //BA.debugLineNum = 33947768;BA.debugLine="gmap.AnimateCamera(aa)"; +parent.mostCurrent._gmap.AnimateCamera((com.google.android.gms.maps.model.CameraPosition)(_aa.getObject())); +RDebugUtils.currentLine=33947771; + //BA.debugLineNum = 33947771;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; +parent.mostCurrent._oninfowindowclicklistener1 = new uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener(); +RDebugUtils.currentLine=33947772; + //BA.debugLineNum = 33947772;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind"; +parent.mostCurrent._oninfowindowclicklistener1.Initialize(mostCurrent.activityBA,"OnInfoWindowClickListener1"); +RDebugUtils.currentLine=33947773; + //BA.debugLineNum = 33947773;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=33947777; + //BA.debugLineNum = 33947777;BA.debugLine="Dim pol As Cursor = Starter.skmt.ExecQuery(\"SELEC"; +_pol = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pol = (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 LAT, LONG FROM POLIGONO"))); +RDebugUtils.currentLine=33947778; + //BA.debugLineNum = 33947778;BA.debugLine="If pol.RowCount > 0 Then"; +if (true) break; + +case 80: +//if +this.state = 90; +if (_pol.getRowCount()>0) { +this.state = 82; +}if (true) break; + +case 82: +//C +this.state = 83; +RDebugUtils.currentLine=33947780; + //BA.debugLineNum = 33947780;BA.debugLine="For poli = 0 To pol.RowCount -1"; +if (true) break; + +case 83: +//for +this.state = 86; +step103 = 1; +limit103 = (int) (_pol.getRowCount()-1); +_poli = (int) (0) ; +this.state = 102; +if (true) break; + +case 102: +//C +this.state = 86; +if ((step103 > 0 && _poli <= limit103) || (step103 < 0 && _poli >= limit103)) this.state = 85; +if (true) break; + +case 103: +//C +this.state = 102; +_poli = ((int)(0 + _poli + step103)) ; +if (true) break; + +case 85: +//C +this.state = 103; +RDebugUtils.currentLine=33947781; + //BA.debugLineNum = 33947781;BA.debugLine="pol.Position = poli"; +_pol.setPosition(_poli); +RDebugUtils.currentLine=33947782; + //BA.debugLineNum = 33947782;BA.debugLine="Dim coords As LatLng"; +_coords = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +RDebugUtils.currentLine=33947783; + //BA.debugLineNum = 33947783;BA.debugLine="coords.Initialize(pol.GetString(\"LAT\"), pol.Get"; +_coords.Initialize((double)(Double.parseDouble(_pol.GetString("LAT"))),(double)(Double.parseDouble(_pol.GetString("LONG")))); +RDebugUtils.currentLine=33947784; + //BA.debugLineNum = 33947784;BA.debugLine="lista_punta.Add(coords)"; +parent.mostCurrent._lista_punta.Add((Object)(_coords.getObject())); + if (true) break; +if (true) break; +; +RDebugUtils.currentLine=33947827; + //BA.debugLineNum = 33947827;BA.debugLine="If lista_punta.Size >= 4 Then"; + +case 86: +//if +this.state = 89; +if (parent.mostCurrent._lista_punta.getSize()>=4) { +this.state = 88; +}if (true) break; + +case 88: +//C +this.state = 89; +RDebugUtils.currentLine=33947828; + //BA.debugLineNum = 33947828;BA.debugLine="DrawPolygon(lista_punta)"; +_drawpolygon(parent.mostCurrent._lista_punta); + if (true) break; + +case 89: +//C +this.state = 90; +; + if (true) break; + +case 90: +//C +this.state = -1; +; +RDebugUtils.currentLine=33947831; + //BA.debugLineNum = 33947831;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=34340864; + //BA.debugLineNum = 34340864;BA.debugLine="Sub B_ROJO_Click"; +RDebugUtils.currentLine=34340865; + //BA.debugLineNum = 34340865;BA.debugLine="rojo = 1"; +mostCurrent._rojo = BA.NumberToString(1); +RDebugUtils.currentLine=34340866; + //BA.debugLineNum = 34340866;BA.debugLine="verde = 0"; +mostCurrent._verde = BA.NumberToString(0); +RDebugUtils.currentLine=34340867; + //BA.debugLineNum = 34340867;BA.debugLine="azul = 0"; +mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=34340868; + //BA.debugLineNum = 34340868;BA.debugLine="todos = 0"; +mostCurrent._todos = BA.NumberToString(0); +RDebugUtils.currentLine=34340869; + //BA.debugLineNum = 34340869;BA.debugLine="gmap.Clear"; +mostCurrent._gmap.Clear(); +RDebugUtils.currentLine=34340871; + //BA.debugLineNum = 34340871;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=34340873; + //BA.debugLineNum = 34340873;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=34209792; + //BA.debugLineNum = 34209792;BA.debugLine="Sub B_TODOS_Click"; +RDebugUtils.currentLine=34209793; + //BA.debugLineNum = 34209793;BA.debugLine="todos =1"; +mostCurrent._todos = BA.NumberToString(1); +RDebugUtils.currentLine=34209794; + //BA.debugLineNum = 34209794;BA.debugLine="verde = 0"; +mostCurrent._verde = BA.NumberToString(0); +RDebugUtils.currentLine=34209795; + //BA.debugLineNum = 34209795;BA.debugLine="azul = 0"; +mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=34209796; + //BA.debugLineNum = 34209796;BA.debugLine="rojo = 0"; +mostCurrent._rojo = BA.NumberToString(0); +RDebugUtils.currentLine=34209798; + //BA.debugLineNum = 34209798;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=34209800; + //BA.debugLineNum = 34209800;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=34275328; + //BA.debugLineNum = 34275328;BA.debugLine="Sub B_VERDE_Click"; +RDebugUtils.currentLine=34275329; + //BA.debugLineNum = 34275329;BA.debugLine="verde = 1"; +mostCurrent._verde = BA.NumberToString(1); +RDebugUtils.currentLine=34275330; + //BA.debugLineNum = 34275330;BA.debugLine="azul = 0"; +mostCurrent._azul = BA.NumberToString(0); +RDebugUtils.currentLine=34275331; + //BA.debugLineNum = 34275331;BA.debugLine="rojo = 0"; +mostCurrent._rojo = BA.NumberToString(0); +RDebugUtils.currentLine=34275332; + //BA.debugLineNum = 34275332;BA.debugLine="todos = 0"; +mostCurrent._todos = BA.NumberToString(0); +RDebugUtils.currentLine=34275333; + //BA.debugLineNum = 34275333;BA.debugLine="gmap.Clear"; +mostCurrent._gmap.Clear(); +RDebugUtils.currentLine=34275334; + //BA.debugLineNum = 34275334;BA.debugLine="MapFragment1_Ready"; +_mapfragment1_ready(); +RDebugUtils.currentLine=34275336; + //BA.debugLineNum = 34275336;BA.debugLine="End Sub"; +return ""; +} +public static String _drawpolygon(anywheresoftware.b4a.objects.collections.List _pointlist) throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "drawpolygon", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "drawpolygon", new Object[] {_pointlist}));} +uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras _googlemapsextras1 = null; +uk.co.martinpearman.b4a.com.google.android.gms.maps.model.PolygonOptions _polygonoptions1 = null; +uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Polygon _pg = null; +RDebugUtils.currentLine=34537472; + //BA.debugLineNum = 34537472;BA.debugLine="Sub DrawPolygon (PointList As List)"; +RDebugUtils.currentLine=34537473; + //BA.debugLineNum = 34537473;BA.debugLine="Dim GoogleMapsExtras1 As GoogleMapsExtras"; +_googlemapsextras1 = new uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras(); +RDebugUtils.currentLine=34537474; + //BA.debugLineNum = 34537474;BA.debugLine="Dim polygonoptions1 As PolygonOptions"; +_polygonoptions1 = new uk.co.martinpearman.b4a.com.google.android.gms.maps.model.PolygonOptions(); +RDebugUtils.currentLine=34537475; + //BA.debugLineNum = 34537475;BA.debugLine="polygonoptions1.Initialize"; +_polygonoptions1.Initialize(); +RDebugUtils.currentLine=34537476; + //BA.debugLineNum = 34537476;BA.debugLine="polygonoptions1.FillColor=Colors.ARGB(100,255,0,0"; +_polygonoptions1.setFillColor(anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (100),(int) (255),(int) (0),(int) (0))); +RDebugUtils.currentLine=34537477; + //BA.debugLineNum = 34537477;BA.debugLine="polygonoptions1.AddPoints(PointList)"; +_polygonoptions1.AddPoints(_pointlist); +RDebugUtils.currentLine=34537478; + //BA.debugLineNum = 34537478;BA.debugLine="polygonoptions1.StrokeColor=Colors.DarkGray"; +_polygonoptions1.setStrokeColor(anywheresoftware.b4a.keywords.Common.Colors.DarkGray); +RDebugUtils.currentLine=34537479; + //BA.debugLineNum = 34537479;BA.debugLine="polygonoptions1.StrokeWidth=1"; +_polygonoptions1.setStrokeWidth((float) (1)); +RDebugUtils.currentLine=34537480; + //BA.debugLineNum = 34537480;BA.debugLine="Dim pg As Polygon = GoogleMapsExtras1.AddPolygon("; +_pg = new uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Polygon(); +_pg = _googlemapsextras1.AddPolygon((com.google.android.gms.maps.GoogleMap)(mostCurrent._gmap.getObject()),(com.google.android.gms.maps.model.PolygonOptions)(_polygonoptions1.getObject())); +RDebugUtils.currentLine=34537481; + //BA.debugLineNum = 34537481;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=34078720; + //BA.debugLineNum = 34078720;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; +RDebugUtils.currentLine=34078721; + //BA.debugLineNum = 34078721;BA.debugLine="MARK_CEDIS.IsInitialized"; +mostCurrent._mark_cedis.IsInitialized(); +RDebugUtils.currentLine=34078739; + //BA.debugLineNum = 34078739;BA.debugLine="End Sub"; +return ""; +} +public static String _mapfragment1_click(anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _point) throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "mapfragment1_click", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "mapfragment1_click", new Object[] {_point}));} +RDebugUtils.currentLine=34471936; + //BA.debugLineNum = 34471936;BA.debugLine="Sub MapFragment1_Click (Point As LatLng)"; +RDebugUtils.currentLine=34471938; + //BA.debugLineNum = 34471938;BA.debugLine="Log(Point.Latitude)"; +anywheresoftware.b4a.keywords.Common.LogImpl("534471938",BA.NumberToString(_point.getLatitude()),0); +RDebugUtils.currentLine=34471939; + //BA.debugLineNum = 34471939;BA.debugLine="Log(Point.Longitude)"; +anywheresoftware.b4a.keywords.Common.LogImpl("534471939",BA.NumberToString(_point.getLongitude()),0); +RDebugUtils.currentLine=34471941; + //BA.debugLineNum = 34471941;BA.debugLine="End Sub"; +return ""; +} +public static String _mapfragment1_longclick(anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _mpoint) throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "mapfragment1_longclick", false)) + {return ((String) Debug.delegate(mostCurrent.activityBA, "mapfragment1_longclick", new Object[] {_mpoint}));} +boolean _dentro = false; +RDebugUtils.currentLine=34668544; + //BA.debugLineNum = 34668544;BA.debugLine="Sub MapFragment1_LongClick (mPoint As LatLng)"; +RDebugUtils.currentLine=34668546; + //BA.debugLineNum = 34668546;BA.debugLine="If lista_punta.Size > 0 Then"; +if (mostCurrent._lista_punta.getSize()>0) { +RDebugUtils.currentLine=34668547; + //BA.debugLineNum = 34668547;BA.debugLine="Dim dentro As Boolean = PointInPolygon(mPoint, l"; +_dentro = _pointinpolygon(_mpoint,mostCurrent._lista_punta); +RDebugUtils.currentLine=34668549; + //BA.debugLineNum = 34668549;BA.debugLine="If dentro Then"; +if (_dentro) { +RDebugUtils.currentLine=34668550; + //BA.debugLineNum = 34668550;BA.debugLine="ToastMessageShow(\"El punto está DENTRO del polí"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("El punto está DENTRO del polígono"),anywheresoftware.b4a.keywords.Common.True); + }else { +RDebugUtils.currentLine=34668552; + //BA.debugLineNum = 34668552;BA.debugLine="ToastMessageShow(\"El punto está FUERA del políg"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("El punto está FUERA del polígono"),anywheresoftware.b4a.keywords.Common.True); + }; + }; +RDebugUtils.currentLine=34668557; + //BA.debugLineNum = 34668557;BA.debugLine="gmap.AddMarker3(mPoint.Latitude, mPoint.Longitude"; +mostCurrent._gmap.AddMarker3(_mpoint.getLatitude(),_mpoint.getLongitude(),"MicroArea ",(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"marker-amarillo.png").getObject())).setInfoWindowShown(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=34668558; + //BA.debugLineNum = 34668558;BA.debugLine="lista_punta2.Add(mPoint)"; +mostCurrent._lista_punta2.Add((Object)(_mpoint.getObject())); +RDebugUtils.currentLine=34668560; + //BA.debugLineNum = 34668560;BA.debugLine="If lista_punta2.Size = 6 Then"; +if (mostCurrent._lista_punta2.getSize()==6) { +RDebugUtils.currentLine=34668561; + //BA.debugLineNum = 34668561;BA.debugLine="DrawPolygon(lista_punta2)"; +_drawpolygon(mostCurrent._lista_punta2); + }; +RDebugUtils.currentLine=34668563; + //BA.debugLineNum = 34668563;BA.debugLine="End Sub"; +return ""; +} +public static boolean _pointinpolygon(anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _point,anywheresoftware.b4a.objects.collections.List _polygon) throws Exception{ +RDebugUtils.currentModule="mapa_rutas"; +if (Debug.shouldDelegate(mostCurrent.activityBA, "pointinpolygon", false)) + {return ((Boolean) Debug.delegate(mostCurrent.activityBA, "pointinpolygon", new Object[] {_point,_polygon}));} +double _x = 0; +double _y = 0; +boolean _inside = false; +int _i = 0; +int _j = 0; +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _p1_1 = null; +anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper _p2_1 = null; +double _xi = 0; +double _yi = 0; +double _xj = 0; +double _yj = 0; +boolean _intersect = false; +RDebugUtils.currentLine=34603008; + //BA.debugLineNum = 34603008;BA.debugLine="Sub PointInPolygon(point As LatLng, polygon As Lis"; +RDebugUtils.currentLine=34603009; + //BA.debugLineNum = 34603009;BA.debugLine="Dim x As Double = point.Longitude"; +_x = _point.getLongitude(); +RDebugUtils.currentLine=34603010; + //BA.debugLineNum = 34603010;BA.debugLine="Dim y As Double = point.Latitude"; +_y = _point.getLatitude(); +RDebugUtils.currentLine=34603012; + //BA.debugLineNum = 34603012;BA.debugLine="Dim inside As Boolean = False"; +_inside = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=34603013; + //BA.debugLineNum = 34603013;BA.debugLine="For i = 0 To polygon.Size - 1"; +{ +final int step4 = 1; +final int limit4 = (int) (_polygon.getSize()-1); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=34603014; + //BA.debugLineNum = 34603014;BA.debugLine="Dim j As Int = (i + 1) Mod polygon.Size"; +_j = (int) ((_i+1)%_polygon.getSize()); +RDebugUtils.currentLine=34603015; + //BA.debugLineNum = 34603015;BA.debugLine="Dim p1_1 As LatLng = polygon.Get(i)"; +_p1_1 = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +_p1_1 = (anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(), (com.google.android.gms.maps.model.LatLng)(_polygon.Get(_i))); +RDebugUtils.currentLine=34603016; + //BA.debugLineNum = 34603016;BA.debugLine="Dim p2_1 As LatLng = polygon.Get(j)"; +_p2_1 = new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(); +_p2_1 = (anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper(), (com.google.android.gms.maps.model.LatLng)(_polygon.Get(_j))); +RDebugUtils.currentLine=34603018; + //BA.debugLineNum = 34603018;BA.debugLine="Dim xi As Double = p1_1.Longitude"; +_xi = _p1_1.getLongitude(); +RDebugUtils.currentLine=34603019; + //BA.debugLineNum = 34603019;BA.debugLine="Dim yi As Double = p1_1.Latitude"; +_yi = _p1_1.getLatitude(); +RDebugUtils.currentLine=34603020; + //BA.debugLineNum = 34603020;BA.debugLine="Dim xj As Double = p2_1.Longitude"; +_xj = _p2_1.getLongitude(); +RDebugUtils.currentLine=34603021; + //BA.debugLineNum = 34603021;BA.debugLine="Dim yj As Double = p2_1.Latitude"; +_yj = _p2_1.getLatitude(); +RDebugUtils.currentLine=34603023; + //BA.debugLineNum = 34603023;BA.debugLine="Dim intersect As Boolean = ((yi > y) <> (yj > y)"; +_intersect = ((_yi>_y)!=(_yj>_y)) && (_x<(_xj-_xi)*(_y-_yi)/(double)(_yj-_yi)+_xi); +RDebugUtils.currentLine=34603024; + //BA.debugLineNum = 34603024;BA.debugLine="If intersect Then"; +if (_intersect) { +RDebugUtils.currentLine=34603025; + //BA.debugLineNum = 34603025;BA.debugLine="inside = Not(inside)"; +_inside = anywheresoftware.b4a.keywords.Common.Not(_inside); + }; + } +}; +RDebugUtils.currentLine=34603029; + //BA.debugLineNum = 34603029;BA.debugLine="Return inside"; +if (true) return _inside; +RDebugUtils.currentLine=34603032; + //BA.debugLineNum = 34603032;BA.debugLine="End Sub"; +return false; +} +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=34013184; + //BA.debugLineNum = 34013184;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma"; +RDebugUtils.currentLine=34013185; + //BA.debugLineNum = 34013185;BA.debugLine="skmt.ExecNonQuery(\"delete from CUENTAA\")"; +_skmt.ExecNonQuery("delete from CUENTAA"); +RDebugUtils.currentLine=34013186; + //BA.debugLineNum = 34013186;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CUENTAA VALUES (?"; +_skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_marker1.getTitle())})); +RDebugUtils.currentLine=34013187; + //BA.debugLineNum = 34013187;BA.debugLine="Activity.Finish"; +mostCurrent._activity.Finish(); +RDebugUtils.currentLine=34013188; + //BA.debugLineNum = 34013188;BA.debugLine="Starter.pre_viejo = Subs.traeTotalClientepreventa"; +mostCurrent._starter._pre_viejo /*float*/ = (float) (mostCurrent._subs._traetotalclientepreventaparacredito /*double*/ (mostCurrent.activityBA)); +RDebugUtils.currentLine=34013189; + //BA.debugLineNum = 34013189;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; +mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); +RDebugUtils.currentLine=34013190; + //BA.debugLineNum = 34013190;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/newinst2.java b/B4A/Objects/src/SHARK2/keymon/com/mx/newinst2.java new file mode 100644 index 0000000..4df489a --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/newinst2.java @@ -0,0 +1,263 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx", "SHARK2.keymon.com.mx.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, "SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static String _getpackagename() throws Exception{ +RDebugUtils.currentModule="newinst2"; +if (Debug.shouldDelegate(processBA, "getpackagename", false)) + {return ((String) Debug.delegate(processBA, "getpackagename", null));} +anywheresoftware.b4a.agraham.reflection.Reflection _r = null; +RDebugUtils.currentLine=46071808; + //BA.debugLineNum = 46071808;BA.debugLine="Sub GetPackageName As String"; +RDebugUtils.currentLine=46071809; + //BA.debugLineNum = 46071809;BA.debugLine="Dim r As Reflector"; +_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); +RDebugUtils.currentLine=46071810; + //BA.debugLineNum = 46071810;BA.debugLine="Return r.GetStaticField(\"anywheresoftware.b4a.BA\""; +if (true) return BA.ObjectToString(_r.GetStaticField("anywheresoftware.b4a.BA","packageName")); +RDebugUtils.currentLine=46071811; + //BA.debugLineNum = 46071811;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=46137344; + //BA.debugLineNum = 46137344;BA.debugLine="Sub MyAppReload"; +RDebugUtils.currentLine=46137345; + //BA.debugLineNum = 46137345;BA.debugLine="If svcVerbose Then Log(\"-- AppUpdating.NewInst2:"; +if (_svcverbose) { +anywheresoftware.b4a.keywords.Common.LogImpl("546137345","-- AppUpdating.NewInst2: processing MyAppReload",0);}; +RDebugUtils.currentLine=46137346; + //BA.debugLineNum = 46137346;BA.debugLine="If IsPaused(\"main\") Then"; +if (anywheresoftware.b4a.keywords.Common.IsPaused(processBA,(Object)("main"))) { +RDebugUtils.currentLine=46137347; + //BA.debugLineNum = 46137347;BA.debugLine="StartActivity(\"main\")"; +anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)("main")); + }; +RDebugUtils.currentLine=46137351; + //BA.debugLineNum = 46137351;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=45875200; + //BA.debugLineNum = 45875200;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=45875201; + //BA.debugLineNum = 45875201;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service crea"; +anywheresoftware.b4a.keywords.Common.LogImpl("545875201","---- AppUpdating.newinst2: service created",_logcolor1); +RDebugUtils.currentLine=45875202; + //BA.debugLineNum = 45875202;BA.debugLine="pkg = \"\""; +_pkg = ""; +RDebugUtils.currentLine=45875203; + //BA.debugLineNum = 45875203;BA.debugLine="svcVerbose = False"; +_svcverbose = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=45875204; + //BA.debugLineNum = 45875204;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=46006272; + //BA.debugLineNum = 46006272;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=46006273; + //BA.debugLineNum = 46006273;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=45940736; + //BA.debugLineNum = 45940736;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=45940737; + //BA.debugLineNum = 45940737;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service_star"; +anywheresoftware.b4a.keywords.Common.LogImpl("545940737","---- AppUpdating.newinst2: service_started",_logcolor1); +RDebugUtils.currentLine=45940738; + //BA.debugLineNum = 45940738;BA.debugLine="If svcVerbose Then"; +if (_svcverbose) { +RDebugUtils.currentLine=45940739; + //BA.debugLineNum = 45940739;BA.debugLine="Log($\"${TAB}intent: ${StartingIntent}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("545940739",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"intent: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getObject()))+""),0); +RDebugUtils.currentLine=45940740; + //BA.debugLineNum = 45940740;BA.debugLine="Log($\"${TAB}action: ${StartingIntent.Action}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("545940740",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"action: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getAction()))+""),0); +RDebugUtils.currentLine=45940741; + //BA.debugLineNum = 45940741;BA.debugLine="Log($\"${TAB}extra: ${StartingIntent.ExtrasToStri"; +anywheresoftware.b4a.keywords.Common.LogImpl("545940741",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"extra: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.ExtrasToString()))+""),0); +RDebugUtils.currentLine=45940742; + //BA.debugLineNum = 45940742;BA.debugLine="Log($\"${TAB}data: ${StartingIntent.GetData}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("545940742",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.GetData()))+""),0); + }; +RDebugUtils.currentLine=45940744; + //BA.debugLineNum = 45940744;BA.debugLine="If StartingIntent.Action = \"android.intent.action"; +if ((_startingintent.getAction()).equals("android.intent.action.MY_PACKAGE_REPLACED")) { +RDebugUtils.currentLine=45940745; + //BA.debugLineNum = 45940745;BA.debugLine="If svcVerbose Then Log($\"${TAB}Intent MY_PACKAGE"; +if (_svcverbose) { +anywheresoftware.b4a.keywords.Common.LogImpl("545940745",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);}; +RDebugUtils.currentLine=45940746; + //BA.debugLineNum = 45940746;BA.debugLine="pkg = GetPackageName"; +_pkg = _getpackagename(); +RDebugUtils.currentLine=45940747; + //BA.debugLineNum = 45940747;BA.debugLine="If svcVerbose Then Log($\"${TAB}package: ${pkg}\"$"; +if (_svcverbose) { +anywheresoftware.b4a.keywords.Common.LogImpl("545940747",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"package: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pkg))+""),0);}; +RDebugUtils.currentLine=45940748; + //BA.debugLineNum = 45940748;BA.debugLine="MyAppReload"; +_myappreload(); + }; +RDebugUtils.currentLine=45940750; + //BA.debugLineNum = 45940750;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/notificationservice.java b/B4A/Objects/src/SHARK2/keymon/com/mx/notificationservice.java new file mode 100644 index 0000000..aa5318b --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/notificationservice.java @@ -0,0 +1,709 @@ +package SHARK2.keymon.com.mx; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.objects.ServiceHelper; +import anywheresoftware.b4a.debug.*; + +public class notificationservice extends android.app.Service{ + public static class notificationservice_BR extends android.content.BroadcastReceiver { + + @Override + public void onReceive(android.content.Context context, android.content.Intent intent) { + BA.LogInfo("** Receiver (notificationservice) OnReceive **"); + android.content.Intent in = new android.content.Intent(context, notificationservice.class); + if (intent != null) + in.putExtra("b4a_internal_intent", intent); + ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, anywheresoftware.b4a.ShellBA.class); + } + + } + static notificationservice mostCurrent; + public static BA processBA; + private ServiceHelper _service; + public static Class getObject() { + return notificationservice.class; + } + @Override + public void onCreate() { + super.onCreate(); + mostCurrent = this; + if (processBA == null) { + processBA = new anywheresoftware.b4a.ShellBA(this, null, null, "SHARK2.keymon.com.mx", "SHARK2.keymon.com.mx.notificationservice"); + 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, "SHARK2.keymon.com.mx.notificationservice", processBA, _service, anywheresoftware.b4a.keywords.Common.Density); + } + if (!false && ServiceHelper.StarterHelper.startFromServiceCreate(processBA, false) == false) { + + } + else { + processBA.setActivityPaused(false); + BA.LogInfo("*** Service (notificationservice) 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 (notificationservice) 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 (notificationservice) 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 (notificationservice) Destroy (ignored)**"); + } + else { + BA.LogInfo("** Service (notificationservice) 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 b4a.jsaplication.com.br.ReplyAuto.NotificationListener _rp = null; +public static boolean _logger = false; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static String _esmensajewavalido(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "esmensajewavalido", false)) + {return ((String) Debug.delegate(processBA, "esmensajewavalido", new Object[] {_sbn}));} +boolean _valido = false; +String[] _ww = null; +RDebugUtils.currentLine=35061760; + //BA.debugLineNum = 35061760;BA.debugLine="Sub esMensajeWAValido(SBN As StatusBarNotification"; +RDebugUtils.currentLine=35061761; + //BA.debugLineNum = 35061761;BA.debugLine="Private valido As Boolean = False"; +_valido = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=35061762; + //BA.debugLineNum = 35061762;BA.debugLine="Private ww() As String = Regex.Split(\"\\|\", SBN.Ke"; +_ww = anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",_sbn.getKey()); +RDebugUtils.currentLine=35061763; + //BA.debugLineNum = 35061763;BA.debugLine="If ww(3) <> Null And ww(3) <> \"null\" Then valido"; +if (_ww[(int) (3)]!= null && (_ww[(int) (3)]).equals("null") == false) { +_valido = anywheresoftware.b4a.keywords.Common.True;}; +RDebugUtils.currentLine=35061764; + //BA.debugLineNum = 35061764;BA.debugLine="Return valido"; +if (true) return BA.ObjectToString(_valido); +RDebugUtils.currentLine=35061765; + //BA.debugLineNum = 35061765;BA.debugLine="End Sub"; +return ""; +} +public static String _getgroupname(String _sbntitle) throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "getgroupname", false)) + {return ((String) Debug.delegate(processBA, "getgroupname", new Object[] {_sbntitle}));} +int _a = 0; +String _x = ""; +String _b = ""; +RDebugUtils.currentLine=35454976; + //BA.debugLineNum = 35454976;BA.debugLine="Sub getGroupName(sbnTitle As String) As String 'ig"; +RDebugUtils.currentLine=35454977; + //BA.debugLineNum = 35454977;BA.debugLine="Private a As Int = sbnTitle.IndexOf(\": \")"; +_a = _sbntitle.indexOf(": "); +RDebugUtils.currentLine=35454978; + //BA.debugLineNum = 35454978;BA.debugLine="Private x As String = sbnTitle"; +_x = _sbntitle; +RDebugUtils.currentLine=35454979; + //BA.debugLineNum = 35454979;BA.debugLine="If a > -1 Then"; +if (_a>-1) { +RDebugUtils.currentLine=35454980; + //BA.debugLineNum = 35454980;BA.debugLine="Private b As String = sbnTitle.SubString2(0, a)"; +_b = _sbntitle.substring((int) (0),_a); +RDebugUtils.currentLine=35454981; + //BA.debugLineNum = 35454981;BA.debugLine="x = Regex.Replace(\" \\(.+\\)\", b, \"\")"; +_x = anywheresoftware.b4a.keywords.Common.Regex.Replace(" \\(.+\\)",_b,""); + }; +RDebugUtils.currentLine=35454983; + //BA.debugLineNum = 35454983;BA.debugLine="Return x"; +if (true) return _x; +RDebugUtils.currentLine=35454984; + //BA.debugLineNum = 35454984;BA.debugLine="End Sub"; +return ""; +} +public static String _getgroupname2(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "getgroupname2", false)) + {return ((String) Debug.delegate(processBA, "getgroupname2", new Object[] {_sbn}));} +int _inicio = 0; +String _x = ""; +int _fin = 0; +RDebugUtils.currentLine=35520512; + //BA.debugLineNum = 35520512;BA.debugLine="Sub getGroupName2(sbn As StatusBarNotification) As"; +RDebugUtils.currentLine=35520513; + //BA.debugLineNum = 35520513;BA.debugLine="Private inicio As Int = sbn.Extras.As(String).Ind"; +_inicio = (BA.ObjectToString(_sbn.Extras())).indexOf("hiddenConversationTitle="); +RDebugUtils.currentLine=35520514; + //BA.debugLineNum = 35520514;BA.debugLine="If inicio > -1 And sbn.Extras.As(String).IndexOf("; +if (_inicio>-1 && (BA.ObjectToString(_sbn.Extras())).indexOf("hiddenConversationTitle=null")==-1) { +RDebugUtils.currentLine=35520515; + //BA.debugLineNum = 35520515;BA.debugLine="Private x As String = sbn.Extras.As(String) 'ign"; +_x = (BA.ObjectToString(_sbn.Extras())); +RDebugUtils.currentLine=35520516; + //BA.debugLineNum = 35520516;BA.debugLine="Private fin As Int = x.IndexOf(\", android.reduce"; +_fin = _x.indexOf(", android.reduced.images="); +RDebugUtils.currentLine=35520517; + //BA.debugLineNum = 35520517;BA.debugLine="x = x.SubString2(inicio+24, fin)"; +_x = _x.substring((int) (_inicio+24),_fin); +RDebugUtils.currentLine=35520518; + //BA.debugLineNum = 35520518;BA.debugLine="x = Regex.Replace(\" \\(.+\\)\", x, \"\") 'Replace any"; +_x = anywheresoftware.b4a.keywords.Common.Regex.Replace(" \\(.+\\)",_x,""); + }else { +RDebugUtils.currentLine=35520520; + //BA.debugLineNum = 35520520;BA.debugLine="Private x As String = sbn.Title"; +_x = _sbn.getTitle(); + }; +RDebugUtils.currentLine=35520522; + //BA.debugLineNum = 35520522;BA.debugLine="Return x"; +if (true) return _x; +RDebugUtils.currentLine=35520523; + //BA.debugLineNum = 35520523;BA.debugLine="End Sub"; +return ""; +} +public static String _getnumberorgroupwa(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "getnumberorgroupwa", false)) + {return ((String) Debug.delegate(processBA, "getnumberorgroupwa", new Object[] {_sbn}));} +String _numremitente = ""; +RDebugUtils.currentLine=35651584; + //BA.debugLineNum = 35651584;BA.debugLine="Sub getNumberOrGroupWA(sbn As StatusBarNotificatio"; +RDebugUtils.currentLine=35651585; + //BA.debugLineNum = 35651585;BA.debugLine="Private numRemitente As String = getNumberWA(sbn)"; +_numremitente = _getnumberwa(_sbn); +RDebugUtils.currentLine=35651586; + //BA.debugLineNum = 35651586;BA.debugLine="If numRemitente = \"Not a person\" Then numRemitent"; +if ((_numremitente).equals("Not a person")) { +_numremitente = _getgroupname(_sbn.getTitle());}; +RDebugUtils.currentLine=35651587; + //BA.debugLineNum = 35651587;BA.debugLine="Return numRemitente"; +if (true) return _numremitente; +RDebugUtils.currentLine=35651588; + //BA.debugLineNum = 35651588;BA.debugLine="End Sub"; +return ""; +} +public static String _getnumberwa(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "getnumberwa", false)) + {return ((String) Debug.delegate(processBA, "getnumberwa", new Object[] {_sbn}));} +int _a = 0; +String _x = ""; +int _y = 0; +RDebugUtils.currentLine=35389440; + //BA.debugLineNum = 35389440;BA.debugLine="Sub getNumberWA(sbn As StatusBarNotification) As S"; +RDebugUtils.currentLine=35389441; + //BA.debugLineNum = 35389441;BA.debugLine="Private a As Int = sbn.As(String).IndexOf(\"@s.wha"; +_a = (BA.ObjectToString(_sbn)).indexOf("@s.whatsapp.net"); +RDebugUtils.currentLine=35389442; + //BA.debugLineNum = 35389442;BA.debugLine="If a > -1 Then"; +if (_a>-1) { +RDebugUtils.currentLine=35389443; + //BA.debugLineNum = 35389443;BA.debugLine="Private x As String = sbn.As(String) 'ignore"; +_x = (BA.ObjectToString(_sbn)); +RDebugUtils.currentLine=35389444; + //BA.debugLineNum = 35389444;BA.debugLine="Private y As Int = x.IndexOf(\"shortcut=\")"; +_y = _x.indexOf("shortcut="); +RDebugUtils.currentLine=35389445; + //BA.debugLineNum = 35389445;BA.debugLine="If (y+9) > 0 And a > (y+9) Then x = x.SubString2"; +if ((_y+9)>0 && _a>(_y+9)) { +_x = _x.substring((int) (_y+9),_a);} +else { +_x = "Not a person";}; + }else { +RDebugUtils.currentLine=35389447; + //BA.debugLineNum = 35389447;BA.debugLine="x = \"Not a person\""; +_x = "Not a person"; + }; +RDebugUtils.currentLine=35389449; + //BA.debugLineNum = 35389449;BA.debugLine="Return x"; +if (true) return _x; +RDebugUtils.currentLine=35389450; + //BA.debugLineNum = 35389450;BA.debugLine="End Sub"; +return ""; +} +public static String _getpersonfromgroup(String _sbntitle) throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "getpersonfromgroup", false)) + {return ((String) Debug.delegate(processBA, "getpersonfromgroup", new Object[] {_sbntitle}));} +int _a = 0; +String _b = ""; +RDebugUtils.currentLine=35586048; + //BA.debugLineNum = 35586048;BA.debugLine="Sub getPersonFromGroup(sbnTitle As String) As Stri"; +RDebugUtils.currentLine=35586049; + //BA.debugLineNum = 35586049;BA.debugLine="Private a As Int = sbnTitle.IndexOf(\": \")"; +_a = _sbntitle.indexOf(": "); +RDebugUtils.currentLine=35586050; + //BA.debugLineNum = 35586050;BA.debugLine="If a = -1 Then a = -2 'Is not from a group."; +if (_a==-1) { +_a = (int) (-2);}; +RDebugUtils.currentLine=35586051; + //BA.debugLineNum = 35586051;BA.debugLine="Private b As String = sbnTitle.SubString(a+2)"; +_b = _sbntitle.substring((int) (_a+2)); +RDebugUtils.currentLine=35586052; + //BA.debugLineNum = 35586052;BA.debugLine="Return b"; +if (true) return _b; +RDebugUtils.currentLine=35586053; + //BA.debugLineNum = 35586053;BA.debugLine="End Sub"; +return ""; +} +public static String _getshortcut(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "getshortcut", false)) + {return ((String) Debug.delegate(processBA, "getshortcut", new Object[] {_sbn}));} +int _ap = 0; +int _ag = 0; +String _x = ""; +int _y = 0; +RDebugUtils.currentLine=35717120; + //BA.debugLineNum = 35717120;BA.debugLine="Sub getShortcut(sbn As StatusBarNotification) As S"; +RDebugUtils.currentLine=35717121; + //BA.debugLineNum = 35717121;BA.debugLine="Private ap As Int = sbn.As(String).IndexOf(\"@s.wh"; +_ap = (BA.ObjectToString(_sbn)).indexOf("@s.whatsapp.net"); +RDebugUtils.currentLine=35717122; + //BA.debugLineNum = 35717122;BA.debugLine="Private ag As Int = sbn.As(String).IndexOf(\"@g.us"; +_ag = (BA.ObjectToString(_sbn)).indexOf("@g.us"); +RDebugUtils.currentLine=35717123; + //BA.debugLineNum = 35717123;BA.debugLine="Private x As String = sbn.As(String) 'ignore"; +_x = (BA.ObjectToString(_sbn)); +RDebugUtils.currentLine=35717124; + //BA.debugLineNum = 35717124;BA.debugLine="Private y As Int = x.IndexOf(\"shortcut=\")"; +_y = _x.indexOf("shortcut="); +RDebugUtils.currentLine=35717125; + //BA.debugLineNum = 35717125;BA.debugLine="If ap > -1 Then"; +if (_ap>-1) { +RDebugUtils.currentLine=35717126; + //BA.debugLineNum = 35717126;BA.debugLine="Private x As String = sbn.As(String) 'ignore"; +_x = (BA.ObjectToString(_sbn)); +RDebugUtils.currentLine=35717127; + //BA.debugLineNum = 35717127;BA.debugLine="Private y As Int = x.IndexOf(\"shortcut=\")"; +_y = _x.indexOf("shortcut="); +RDebugUtils.currentLine=35717128; + //BA.debugLineNum = 35717128;BA.debugLine="x = x.SubString2(y+9, ap+15)"; +_x = _x.substring((int) (_y+9),(int) (_ap+15)); + }else +{RDebugUtils.currentLine=35717129; + //BA.debugLineNum = 35717129;BA.debugLine="Else if ag > -1 Then 'It is probably is a group."; +if (_ag>-1) { +RDebugUtils.currentLine=35717130; + //BA.debugLineNum = 35717130;BA.debugLine="Private x As String = sbn.As(String) 'ignore"; +_x = (BA.ObjectToString(_sbn)); +RDebugUtils.currentLine=35717131; + //BA.debugLineNum = 35717131;BA.debugLine="Private y As Int = x.IndexOf(\"shortcut=\")"; +_y = _x.indexOf("shortcut="); +RDebugUtils.currentLine=35717132; + //BA.debugLineNum = 35717132;BA.debugLine="x = x.SubString2(y+9, ag+5)"; +_x = _x.substring((int) (_y+9),(int) (_ag+5)); + }} +; +RDebugUtils.currentLine=35717134; + //BA.debugLineNum = 35717134;BA.debugLine="Return x"; +if (true) return _x; +RDebugUtils.currentLine=35717135; + //BA.debugLineNum = 35717135;BA.debugLine="End Sub"; +return ""; +} +public static boolean _isgroupwa(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "isgroupwa", false)) + {return ((Boolean) Debug.delegate(processBA, "isgroupwa", new Object[] {_sbn}));} +boolean _a = false; +RDebugUtils.currentLine=35192832; + //BA.debugLineNum = 35192832;BA.debugLine="Sub isGroupWA(sbn As StatusBarNotification) As Boo"; +RDebugUtils.currentLine=35192833; + //BA.debugLineNum = 35192833;BA.debugLine="Private a As Boolean = False"; +_a = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=35192834; + //BA.debugLineNum = 35192834;BA.debugLine="If sbn.As(String).IndexOf(\"@g.us\") > -1 Then a ="; +if ((BA.ObjectToString(_sbn)).indexOf("@g.us")>-1) { +_a = anywheresoftware.b4a.keywords.Common.True;}; +RDebugUtils.currentLine=35192835; + //BA.debugLineNum = 35192835;BA.debugLine="Return a"; +if (true) return _a; +RDebugUtils.currentLine=35192836; + //BA.debugLineNum = 35192836;BA.debugLine="End Sub"; +return false; +} +public static boolean _isgroupwa2(String _sbntitle) throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "isgroupwa2", false)) + {return ((Boolean) Debug.delegate(processBA, "isgroupwa2", new Object[] {_sbntitle}));} +boolean _x = false; +RDebugUtils.currentLine=35127296; + //BA.debugLineNum = 35127296;BA.debugLine="Sub isGroupWA2(sbnTitle As String) As Boolean 'ign"; +RDebugUtils.currentLine=35127297; + //BA.debugLineNum = 35127297;BA.debugLine="Private x As Boolean = Regex.ismatch(\".*(: ).*\","; +_x = anywheresoftware.b4a.keywords.Common.Regex.IsMatch(".*(: ).*",_sbntitle); +RDebugUtils.currentLine=35127298; + //BA.debugLineNum = 35127298;BA.debugLine="Return x"; +if (true) return _x; +RDebugUtils.currentLine=35127299; + //BA.debugLineNum = 35127299;BA.debugLine="End Sub"; +return false; +} +public static boolean _ispersonwa(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "ispersonwa", false)) + {return ((Boolean) Debug.delegate(processBA, "ispersonwa", new Object[] {_sbn}));} +boolean _a = false; +RDebugUtils.currentLine=35258368; + //BA.debugLineNum = 35258368;BA.debugLine="Sub isPersonWA(sbn As StatusBarNotification) As Bo"; +RDebugUtils.currentLine=35258369; + //BA.debugLineNum = 35258369;BA.debugLine="Private a As Boolean = False"; +_a = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=35258370; + //BA.debugLineNum = 35258370;BA.debugLine="If sbn.As(String).IndexOf(\"@s.whatsapp.net\") > -1"; +if ((BA.ObjectToString(_sbn)).indexOf("@s.whatsapp.net")>-1) { +_a = anywheresoftware.b4a.keywords.Common.True;}; +RDebugUtils.currentLine=35258371; + //BA.debugLineNum = 35258371;BA.debugLine="Return a"; +if (true) return _a; +RDebugUtils.currentLine=35258372; + //BA.debugLineNum = 35258372;BA.debugLine="End Sub"; +return false; +} +public static boolean _ispersonwa2(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "ispersonwa2", false)) + {return ((Boolean) Debug.delegate(processBA, "ispersonwa2", new Object[] {_sbn}));} +boolean _a = false; +RDebugUtils.currentLine=35323904; + //BA.debugLineNum = 35323904;BA.debugLine="Sub isPersonWA2(sbn As StatusBarNotification) As B"; +RDebugUtils.currentLine=35323905; + //BA.debugLineNum = 35323905;BA.debugLine="Private a As Boolean = False"; +_a = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=35323906; + //BA.debugLineNum = 35323906;BA.debugLine="If sbn.As(String).IndexOf(\"channel=individual\") >"; +if ((BA.ObjectToString(_sbn)).indexOf("channel=individual")>-1) { +_a = anywheresoftware.b4a.keywords.Common.True;}; +RDebugUtils.currentLine=35323907; + //BA.debugLineNum = 35323907;BA.debugLine="Return a"; +if (true) return _a; +RDebugUtils.currentLine=35323908; + //BA.debugLineNum = 35323908;BA.debugLine="End Sub"; +return false; +} +public static void _notimon_notificationposted(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "notimon_notificationposted", false)) + {Debug.delegate(processBA, "notimon_notificationposted", new Object[] {_sbn}); return;} +ResumableSub_NotiMon_NotificationPosted rsub = new ResumableSub_NotiMon_NotificationPosted(null,_sbn); +rsub.resume(processBA, null); +} +public static class ResumableSub_NotiMon_NotificationPosted extends BA.ResumableSub { +public ResumableSub_NotiMon_NotificationPosted(SHARK2.keymon.com.mx.notificationservice parent,b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) { +this.parent = parent; +this._sbn = _sbn; +} +SHARK2.keymon.com.mx.notificationservice parent; +b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn; +String[] _cmd = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="notificationservice"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=34996225; + //BA.debugLineNum = 34996225;BA.debugLine="Private logger As Boolean = True"; +parent._logger = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=34996226; + //BA.debugLineNum = 34996226;BA.debugLine="If SBN.PackageName = \"com.whatsapp\" Then"; +if (true) break; + +case 1: +//if +this.state = 36; +if ((_sbn.getPackageName()).equals("com.whatsapp")) { +this.state = 3; +}if (true) break; + +case 3: +//C +this.state = 4; +RDebugUtils.currentLine=34996227; + //BA.debugLineNum = 34996227;BA.debugLine="If logger Then LogColor(SBN.PackageName, Colors."; +if (true) break; + +case 4: +//if +this.state = 9; +if (parent._logger) { +this.state = 6; +;}if (true) break; + +case 6: +//C +this.state = 9; +anywheresoftware.b4a.keywords.Common.LogImpl("534996227",_sbn.getPackageName(),anywheresoftware.b4a.keywords.Common.Colors.Red); +if (true) break; + +case 9: +//C +this.state = 10; +; +RDebugUtils.currentLine=34996228; + //BA.debugLineNum = 34996228;BA.debugLine="If logger Then LogColor(\"isGroupWA2: \"&isGroupWA"; +if (true) break; + +case 10: +//if +this.state = 15; +if (parent._logger) { +this.state = 12; +;}if (true) break; + +case 12: +//C +this.state = 15; +anywheresoftware.b4a.keywords.Common.LogImpl("534996228","isGroupWA2: "+BA.ObjectToString(_isgroupwa(_sbn)),anywheresoftware.b4a.keywords.Common.Colors.Magenta); +if (true) break; + +case 15: +//C +this.state = 16; +; +RDebugUtils.currentLine=34996229; + //BA.debugLineNum = 34996229;BA.debugLine="If logger Then LogColor(\"isPersonWA: \"&isPersonW"; +if (true) break; + +case 16: +//if +this.state = 21; +if (parent._logger) { +this.state = 18; +;}if (true) break; + +case 18: +//C +this.state = 21; +anywheresoftware.b4a.keywords.Common.LogImpl("534996229","isPersonWA: "+BA.ObjectToString(_ispersonwa(_sbn)),anywheresoftware.b4a.keywords.Common.Colors.Magenta); +if (true) break; + +case 21: +//C +this.state = 22; +; +RDebugUtils.currentLine=34996230; + //BA.debugLineNum = 34996230;BA.debugLine="If logger Then Log($\"getGroupName: |${getGroupNa"; +if (true) break; + +case 22: +//if +this.state = 27; +if (parent._logger) { +this.state = 24; +;}if (true) break; + +case 24: +//C +this.state = 27; +anywheresoftware.b4a.keywords.Common.LogImpl("534996230",("getGroupName: |"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_getgroupname(_sbn.getTitle())))+"|"),0); +if (true) break; + +case 27: +//C +this.state = 28; +; +RDebugUtils.currentLine=34996231; + //BA.debugLineNum = 34996231;BA.debugLine="Private cmd() As String = Regex.Split(\" \", SBN.M"; +_cmd = anywheresoftware.b4a.keywords.Common.Regex.Split(" ",_sbn.getMessage()); +RDebugUtils.currentLine=34996232; + //BA.debugLineNum = 34996232;BA.debugLine="If SBN.Message.StartsWith(\"#NS\") And cmd.Length"; +if (true) break; + +case 28: +//if +this.state = 35; +if (_sbn.getMessage().startsWith("#NS") && _cmd.length==2) { +this.state = 30; +}if (true) break; + +case 30: +//C +this.state = 31; +RDebugUtils.currentLine=34996233; + //BA.debugLineNum = 34996233;BA.debugLine="If esMensajeWAValido(SBN) Then"; +if (true) break; + +case 31: +//if +this.state = 34; +if (BA.ObjectToBoolean(_esmensajewavalido(_sbn))) { +this.state = 33; +}if (true) break; + +case 33: +//C +this.state = 34; +RDebugUtils.currentLine=34996235; + //BA.debugLineNum = 34996235;BA.debugLine="rp.ClearNotification(SBN)"; +parent._rp.ClearNotification(_sbn); +RDebugUtils.currentLine=34996236; + //BA.debugLineNum = 34996236;BA.debugLine="Starter.reinicializaReqManager(cmd(1))"; +parent.mostCurrent._starter._reinicializareqmanager /*String*/ (_cmd[(int) (1)]); +RDebugUtils.currentLine=34996237; + //BA.debugLineNum = 34996237;BA.debugLine="rp.reply(SBN.Notification, SBN.PackageName, $\""; +parent._rp.reply((Object)(_sbn.getNotification().getObject()),(Object)(_sbn.getPackageName()),("Servidor cambiado a "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cmd[(int) (1)]))+" ")); +RDebugUtils.currentLine=34996238; + //BA.debugLineNum = 34996238;BA.debugLine="Sleep(1000)"; +anywheresoftware.b4a.keywords.Common.Sleep(processBA,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "notificationservice", "notimon_notificationposted"),(int) (1000)); +this.state = 37; +return; +case 37: +//C +this.state = 34; +; +RDebugUtils.currentLine=34996240; + //BA.debugLineNum = 34996240;BA.debugLine="rp.ClearAll"; +parent._rp.ClearAll(); + if (true) break; + +case 34: +//C +this.state = 35; +; + if (true) break; + +case 35: +//C +this.state = 36; +; + if (true) break; + +case 36: +//C +this.state = -1; +; +RDebugUtils.currentLine=34996244; + //BA.debugLineNum = 34996244;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public static String _service_create() throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "service_create", false)) + {return ((String) Debug.delegate(processBA, "service_create", null));} +RDebugUtils.currentLine=34799616; + //BA.debugLineNum = 34799616;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=34799617; + //BA.debugLineNum = 34799617;BA.debugLine="rp.Initialize(\"NotiMon\")"; +_rp.Initialize(processBA,"NotiMon"); +RDebugUtils.currentLine=34799622; + //BA.debugLineNum = 34799622;BA.debugLine="End Sub"; +return ""; +} +public static String _service_destroy() throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "service_destroy", false)) + {return ((String) Debug.delegate(processBA, "service_destroy", null));} +RDebugUtils.currentLine=34930688; + //BA.debugLineNum = 34930688;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=34930690; + //BA.debugLineNum = 34930690;BA.debugLine="End Sub"; +return ""; +} +public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ +RDebugUtils.currentModule="notificationservice"; +if (Debug.shouldDelegate(processBA, "service_start", false)) + {return ((String) Debug.delegate(processBA, "service_start", new Object[] {_startingintent}));} +RDebugUtils.currentLine=34865152; + //BA.debugLineNum = 34865152;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=34865154; + //BA.debugLineNum = 34865154;BA.debugLine="If rp.HandleIntent(StartingIntent) Then Return"; +if (_rp.HandleIntent(_startingintent)) { +if (true) return "";}; +RDebugUtils.currentLine=34865158; + //BA.debugLineNum = 34865158;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/pendientes.java b/B4A/Objects/src/SHARK2/keymon/com/mx/pendientes.java new file mode 100644 index 0000000..71092c4 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/pendientes.java @@ -0,0 +1,29 @@ +package SHARK2.keymon.com.mx; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class pendientes { +private static pendientes mostCurrent = new pendientes(); +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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/preoptimizedclv.java b/B4A/Objects/src/SHARK2/keymon/com/mx/preoptimizedclv.java new file mode 100644 index 0000000..b3d1e73 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/preoptimizedclv.java @@ -0,0 +1,730 @@ +package SHARK2.keymon.com.mx; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class preoptimizedclv 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, "SHARK2.keymon.com.mx.preoptimizedclv"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.preoptimizedclv.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.example3.customlistview _mclv = null; +public anywheresoftware.b4a.objects.collections.List _items = null; +public anywheresoftware.b4a.objects.collections.List _panelscache = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _stubpanel = null; +public boolean _horizontal = false; +public SHARK2.keymon.com.mx.b4xset[] _assigneditems = null; +public int _assigneditemsasindex = 0; +public anywheresoftware.b4j.object.JavaObject _jclv = null; +public int _extraitems = 0; +public anywheresoftware.b4a.objects.collections.List _listofitemsthatshouldbeupdated = null; +public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; +public boolean _showscrollbar = false; +public SHARK2.keymon.com.mx.b4xseekbar _b4xseekbar1 = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _pnloverlay = null; +public anywheresoftware.b4a.objects.B4XViewWrapper _lblhint = null; +public int _lastuserchangeindex = 0; +public int _numberofsteps = 0; +public int _delaybeforehidingoverlay = 0; +public Object _mcallback = null; +public String _meventname = ""; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _initialize(SHARK2.keymon.com.mx.preoptimizedclv __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname,b4a.example3.customlistview _clv) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname,_clv}));} +RDebugUtils.currentLine=78905344; + //BA.debugLineNum = 78905344;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=78905345; + //BA.debugLineNum = 78905345;BA.debugLine="mCLV = CLV"; +__ref._mclv /*b4a.example3.customlistview*/ = _clv; +RDebugUtils.currentLine=78905346; + //BA.debugLineNum = 78905346;BA.debugLine="jclv = mCLV 'ignore"; +__ref._jclv /*anywheresoftware.b4j.object.JavaObject*/ = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(__ref._mclv /*b4a.example3.customlistview*/ )); +RDebugUtils.currentLine=78905351; + //BA.debugLineNum = 78905351;BA.debugLine="items = jclv.GetFieldJO(\"_items\").RunMethod(\"getO"; +__ref._items /*anywheresoftware.b4a.objects.collections.List*/ = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(__ref._jclv /*anywheresoftware.b4j.object.JavaObject*/ .GetFieldJO("_items").RunMethod("getObject",(Object[])(__c.Null)))); +RDebugUtils.currentLine=78905352; + //BA.debugLineNum = 78905352;BA.debugLine="horizontal = jclv.GetField(\"_horizontal\")"; +__ref._horizontal /*boolean*/ = BA.ObjectToBoolean(__ref._jclv /*anywheresoftware.b4j.object.JavaObject*/ .GetField("_horizontal")); +RDebugUtils.currentLine=78905354; + //BA.debugLineNum = 78905354;BA.debugLine="PanelsCache.Initialize"; +__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=78905355; + //BA.debugLineNum = 78905355;BA.debugLine="StubPanel = CreatePanel"; +__ref._stubpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._createpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null); +RDebugUtils.currentLine=78905356; + //BA.debugLineNum = 78905356;BA.debugLine="StubPanel.AddView(xui.CreatePanel(\"\"), 0, 0, 10di"; +__ref._stubpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"").getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (10))); +RDebugUtils.currentLine=78905357; + //BA.debugLineNum = 78905357;BA.debugLine="AssignedItems = Array As B4XSet(B4XCollections.Cr"; +__ref._assigneditems /*SHARK2.keymon.com.mx.b4xset[]*/ = new SHARK2.keymon.com.mx.b4xset[]{_b4xcollections._createset /*SHARK2.keymon.com.mx.b4xset*/ (ba),_b4xcollections._createset /*SHARK2.keymon.com.mx.b4xset*/ (ba)}; +RDebugUtils.currentLine=78905358; + //BA.debugLineNum = 78905358;BA.debugLine="ListOfItemsThatShouldBeUpdated.Initialize"; +__ref._listofitemsthatshouldbeupdated /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=78905359; + //BA.debugLineNum = 78905359;BA.debugLine="mCLV.AsView.LoadLayout(\"PCLVSeekBar\")"; +__ref._mclv /*b4a.example3.customlistview*/ ._asview().LoadLayout("PCLVSeekBar",ba); +RDebugUtils.currentLine=78905360; + //BA.debugLineNum = 78905360;BA.debugLine="B4XSeekBar1.Size1 = 1dip"; +__ref._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._size1 /*int*/ = __c.DipToCurrent((int) (1)); +RDebugUtils.currentLine=78905361; + //BA.debugLineNum = 78905361;BA.debugLine="B4XSeekBar1.Size2 = 1dip"; +__ref._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._size2 /*int*/ = __c.DipToCurrent((int) (1)); +RDebugUtils.currentLine=78905362; + //BA.debugLineNum = 78905362;BA.debugLine="B4XSeekBar1.Radius1 = 8dip"; +__ref._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._radius1 /*int*/ = __c.DipToCurrent((int) (8)); +RDebugUtils.currentLine=78905363; + //BA.debugLineNum = 78905363;BA.debugLine="B4XSeekBar1.Update"; +__ref._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._update /*String*/ (null); +RDebugUtils.currentLine=78905364; + //BA.debugLineNum = 78905364;BA.debugLine="mCallback = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=78905365; + //BA.debugLineNum = 78905365;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=78905366; + //BA.debugLineNum = 78905366;BA.debugLine="End Sub"; +return ""; +} +public String _commit(SHARK2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "commit", true)) + {return ((String) Debug.delegate(ba, "commit", null));} +int _dividersize = 0; +int _totalsize = 0; +int _i = 0; +b4a.example3.customlistview._clvitem _it = null; +RDebugUtils.currentLine=79036416; + //BA.debugLineNum = 79036416;BA.debugLine="Public Sub Commit"; +RDebugUtils.currentLine=79036417; + //BA.debugLineNum = 79036417;BA.debugLine="ClearAssignedItems"; +__ref._clearassigneditems /*String*/ (null); +RDebugUtils.currentLine=79036418; + //BA.debugLineNum = 79036418;BA.debugLine="Dim DividerSize As Int = mCLV.DividerSize"; +_dividersize = (int) (__ref._mclv /*b4a.example3.customlistview*/ ._getdividersize()); +RDebugUtils.currentLine=79036419; + //BA.debugLineNum = 79036419;BA.debugLine="Dim TotalSize As Int = DividerSize"; +_totalsize = _dividersize; +RDebugUtils.currentLine=79036420; + //BA.debugLineNum = 79036420;BA.debugLine="For i = 0 To items.Size - 1"; +{ +final int step4 = 1; +final int limit4 = (int) (__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=79036421; + //BA.debugLineNum = 79036421;BA.debugLine="Dim it As CLVItem = items.Get(i)"; +_it = (b4a.example3.customlistview._clvitem)(__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)); +RDebugUtils.currentLine=79036422; + //BA.debugLineNum = 79036422;BA.debugLine="it.Offset = TotalSize"; +_it.Offset = _totalsize; +RDebugUtils.currentLine=79036423; + //BA.debugLineNum = 79036423;BA.debugLine="TotalSize = TotalSize + it.Size + DividerSize"; +_totalsize = (int) (_totalsize+_it.Size+_dividersize); + } +}; +RDebugUtils.currentLine=79036425; + //BA.debugLineNum = 79036425;BA.debugLine="If horizontal Then"; +if (__ref._horizontal /*boolean*/ ) { +RDebugUtils.currentLine=79036426; + //BA.debugLineNum = 79036426;BA.debugLine="mCLV.sv.ScrollViewContentWidth = TotalSize"; +__ref._mclv /*b4a.example3.customlistview*/ ._sv.setScrollViewContentWidth(_totalsize); + }else { +RDebugUtils.currentLine=79036428; + //BA.debugLineNum = 79036428;BA.debugLine="mCLV.sv.ScrollViewContentHeight = TotalSize"; +__ref._mclv /*b4a.example3.customlistview*/ ._sv.setScrollViewContentHeight(_totalsize); + }; +RDebugUtils.currentLine=79036430; + //BA.debugLineNum = 79036430;BA.debugLine="B4XSeekBar1.mBase.Visible = ShowScrollBar"; +__ref._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__ref._showscrollbar /*boolean*/ ); +RDebugUtils.currentLine=79036431; + //BA.debugLineNum = 79036431;BA.debugLine="If ShowScrollBar Then"; +if (__ref._showscrollbar /*boolean*/ ) { +RDebugUtils.currentLine=79036432; + //BA.debugLineNum = 79036432;BA.debugLine="B4XSeekBar1.MaxValue = items.Size"; +__ref._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._maxvalue /*int*/ = __ref._items /*anywheresoftware.b4a.objects.collections.List*/ .getSize(); +RDebugUtils.currentLine=79036433; + //BA.debugLineNum = 79036433;BA.debugLine="B4XSeekBar1.Interval = items.Size / NumberOfStep"; +__ref._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._interval /*int*/ = (int) (__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .getSize()/(double)__ref._numberofsteps /*int*/ ); + }; +RDebugUtils.currentLine=79036435; + //BA.debugLineNum = 79036435;BA.debugLine="RaiseVisibleRangeEvent"; +__ref._raisevisiblerangeevent /*String*/ (null); +RDebugUtils.currentLine=79036437; + //BA.debugLineNum = 79036437;BA.debugLine="End Sub"; +return ""; +} +public String _additem(SHARK2.keymon.com.mx.preoptimizedclv __ref,int _size,int _clr,Object _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "additem", true)) + {return ((String) Debug.delegate(ba, "additem", new Object[] {_size,_clr,_value}));} +b4a.example3.customlistview._clvitem _newitem = null; +RDebugUtils.currentLine=78970880; + //BA.debugLineNum = 78970880;BA.debugLine="Public Sub AddItem (Size As Int, Clr As Int, Value"; +RDebugUtils.currentLine=78970881; + //BA.debugLineNum = 78970881;BA.debugLine="Dim NewItem As CLVItem"; +_newitem = new b4a.example3.customlistview._clvitem(); +RDebugUtils.currentLine=78970882; + //BA.debugLineNum = 78970882;BA.debugLine="NewItem.Color = Clr"; +_newitem.Color = _clr; +RDebugUtils.currentLine=78970883; + //BA.debugLineNum = 78970883;BA.debugLine="NewItem.Panel = StubPanel"; +_newitem.Panel = __ref._stubpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; +RDebugUtils.currentLine=78970884; + //BA.debugLineNum = 78970884;BA.debugLine="NewItem.Value = Value"; +_newitem.Value = _value; +RDebugUtils.currentLine=78970885; + //BA.debugLineNum = 78970885;BA.debugLine="NewItem.Size = Size"; +_newitem.Size = _size; +RDebugUtils.currentLine=78970886; + //BA.debugLineNum = 78970886;BA.debugLine="items.Add(NewItem)"; +__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_newitem)); +RDebugUtils.currentLine=78970887; + //BA.debugLineNum = 78970887;BA.debugLine="End Sub"; +return ""; +} +public void _b4xseekbar1_touchstatechanged(SHARK2.keymon.com.mx.preoptimizedclv __ref,boolean _pressed) throws Exception{ +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "b4xseekbar1_touchstatechanged", true)) + {Debug.delegate(ba, "b4xseekbar1_touchstatechanged", new Object[] {_pressed}); return;} +ResumableSub_B4XSeekBar1_TouchStateChanged rsub = new ResumableSub_B4XSeekBar1_TouchStateChanged(this,__ref,_pressed); +rsub.resume(ba, null); +} +public static class ResumableSub_B4XSeekBar1_TouchStateChanged extends BA.ResumableSub { +public ResumableSub_B4XSeekBar1_TouchStateChanged(SHARK2.keymon.com.mx.preoptimizedclv parent,SHARK2.keymon.com.mx.preoptimizedclv __ref,boolean _pressed) { +this.parent = parent; +this.__ref = __ref; +this._pressed = _pressed; +this.__ref = parent; +} +SHARK2.keymon.com.mx.preoptimizedclv __ref; +SHARK2.keymon.com.mx.preoptimizedclv parent; +boolean _pressed; +anywheresoftware.b4j.object.JavaObject _jo = null; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="preoptimizedclv"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = 1; +RDebugUtils.currentLine=79560705; + //BA.debugLineNum = 79560705;BA.debugLine="If Pressed = False Then"; +if (true) break; + +case 1: +//if +this.state = 6; +if (_pressed==parent.__c.False) { +this.state = 3; +}else { +this.state = 5; +}if (true) break; + +case 3: +//C +this.state = 6; +RDebugUtils.currentLine=79560706; + //BA.debugLineNum = 79560706;BA.debugLine="mCLV.JumpToItem(LastUserChangeIndex)"; +__ref._mclv /*b4a.example3.customlistview*/ ._jumptoitem(__ref._lastuserchangeindex /*int*/ ); +RDebugUtils.currentLine=79560707; + //BA.debugLineNum = 79560707;BA.debugLine="Sleep(DelayBeforeHidingOverlay)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "preoptimizedclv", "b4xseekbar1_touchstatechanged"),__ref._delaybeforehidingoverlay /*int*/ ); +this.state = 7; +return; +case 7: +//C +this.state = 6; +; +RDebugUtils.currentLine=79560708; + //BA.debugLineNum = 79560708;BA.debugLine="pnlOverlay.Visible = False"; +__ref._pnloverlay /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(parent.__c.False); + if (true) break; + +case 5: +//C +this.state = 6; +RDebugUtils.currentLine=79560710; + //BA.debugLineNum = 79560710;BA.debugLine="pnlOverlay.Visible = True"; +__ref._pnloverlay /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(parent.__c.True); +RDebugUtils.currentLine=79560712; + //BA.debugLineNum = 79560712;BA.debugLine="Dim jo As JavaObject = mCLV.sv"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(__ref._mclv /*b4a.example3.customlistview*/ ._sv.getObject())); +RDebugUtils.currentLine=79560713; + //BA.debugLineNum = 79560713;BA.debugLine="jo.RunMethod(\"fling\", Array(0))"; +_jo.RunMethod("fling",new Object[]{(Object)(0)}); + if (true) break; + +case 6: +//C +this.state = -1; +; +RDebugUtils.currentLine=79560716; + //BA.debugLineNum = 79560716;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _b4xseekbar1_valuechanged(SHARK2.keymon.com.mx.preoptimizedclv __ref,int _value) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "b4xseekbar1_valuechanged", true)) + {return ((String) Debug.delegate(ba, "b4xseekbar1_valuechanged", new Object[] {_value}));} +Object _t = null; +RDebugUtils.currentLine=79626240; + //BA.debugLineNum = 79626240;BA.debugLine="Sub B4XSeekBar1_ValueChanged (Value As Int)"; +RDebugUtils.currentLine=79626241; + //BA.debugLineNum = 79626241;BA.debugLine="LastUserChangeIndex = Max(0, items.Size - 1 - Val"; +__ref._lastuserchangeindex /*int*/ = (int) (__c.Max(0,__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1-_value)); +RDebugUtils.currentLine=79626242; + //BA.debugLineNum = 79626242;BA.debugLine="If LastUserChangeIndex < B4XSeekBar1.Interval The"; +if (__ref._lastuserchangeindex /*int*/ <__ref._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._interval /*int*/ ) { +__ref._lastuserchangeindex /*int*/ = (int) (0);}; +RDebugUtils.currentLine=79626243; + //BA.debugLineNum = 79626243;BA.debugLine="lblHint.Text = \"\""; +__ref._lblhint /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence("")); +RDebugUtils.currentLine=79626244; + //BA.debugLineNum = 79626244;BA.debugLine="If xui.SubExists(mCallback, mEventName & \"_HintRe"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_HintRequested",(int) (1))) { +RDebugUtils.currentLine=79626245; + //BA.debugLineNum = 79626245;BA.debugLine="Dim t As Object = CallSub2(mCallback, mEventName"; +_t = __c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_HintRequested",(Object)(__ref._lastuserchangeindex /*int*/ )); +RDebugUtils.currentLine=79626246; + //BA.debugLineNum = 79626246;BA.debugLine="If t <> Null Then"; +if (_t!= null) { +RDebugUtils.currentLine=79626247; + //BA.debugLineNum = 79626247;BA.debugLine="InternalSetTextOrCSBuilderToLabel(lblHint, t)"; +__ref._internalsettextorcsbuildertolabel /*String*/ (null,__ref._lblhint /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,_t); + }; + }; +RDebugUtils.currentLine=79626250; + //BA.debugLineNum = 79626250;BA.debugLine="End Sub"; +return ""; +} +public String _internalsettextorcsbuildertolabel(SHARK2.keymon.com.mx.preoptimizedclv __ref,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "internalsettextorcsbuildertolabel", true)) + {return ((String) Debug.delegate(ba, "internalsettextorcsbuildertolabel", new Object[] {_xlbl,_text}));} +RDebugUtils.currentLine=79691776; + //BA.debugLineNum = 79691776;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; +RDebugUtils.currentLine=79691778; + //BA.debugLineNum = 79691778;BA.debugLine="xlbl.Text = Text"; +_xlbl.setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=79691788; + //BA.debugLineNum = 79691788;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +RDebugUtils.currentLine=78839808; + //BA.debugLineNum = 78839808;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=78839809; + //BA.debugLineNum = 78839809;BA.debugLine="Private mCLV As CustomListView"; +_mclv = new b4a.example3.customlistview(); +RDebugUtils.currentLine=78839810; + //BA.debugLineNum = 78839810;BA.debugLine="Private items As List"; +_items = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=78839811; + //BA.debugLineNum = 78839811;BA.debugLine="Private PanelsCache As List"; +_panelscache = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=78839812; + //BA.debugLineNum = 78839812;BA.debugLine="Private StubPanel As B4XView"; +_stubpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=78839813; + //BA.debugLineNum = 78839813;BA.debugLine="Private horizontal As Boolean"; +_horizontal = false; +RDebugUtils.currentLine=78839814; + //BA.debugLineNum = 78839814;BA.debugLine="Private AssignedItems() As B4XSet"; +_assigneditems = new SHARK2.keymon.com.mx.b4xset[(int) (0)]; +{ +int d0 = _assigneditems.length; +for (int i0 = 0;i0 < d0;i0++) { +_assigneditems[i0] = new SHARK2.keymon.com.mx.b4xset(); +} +} +; +RDebugUtils.currentLine=78839815; + //BA.debugLineNum = 78839815;BA.debugLine="Private AssignedItemsAsIndex As Int"; +_assigneditemsasindex = 0; +RDebugUtils.currentLine=78839819; + //BA.debugLineNum = 78839819;BA.debugLine="Private jclv As JavaObject"; +_jclv = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=78839821; + //BA.debugLineNum = 78839821;BA.debugLine="Public ExtraItems As Int = 3"; +_extraitems = (int) (3); +RDebugUtils.currentLine=78839822; + //BA.debugLineNum = 78839822;BA.debugLine="Private ListOfItemsThatShouldBeUpdated As List"; +_listofitemsthatshouldbeupdated = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=78839823; + //BA.debugLineNum = 78839823;BA.debugLine="Private xui As XUI"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=78839824; + //BA.debugLineNum = 78839824;BA.debugLine="Public ShowScrollBar As Boolean = True"; +_showscrollbar = __c.True; +RDebugUtils.currentLine=78839825; + //BA.debugLineNum = 78839825;BA.debugLine="Public B4XSeekBar1 As B4XSeekBar"; +_b4xseekbar1 = new SHARK2.keymon.com.mx.b4xseekbar(); +RDebugUtils.currentLine=78839826; + //BA.debugLineNum = 78839826;BA.debugLine="Public pnlOverlay As B4XView"; +_pnloverlay = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=78839827; + //BA.debugLineNum = 78839827;BA.debugLine="Public lblHint As B4XView"; +_lblhint = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=78839828; + //BA.debugLineNum = 78839828;BA.debugLine="Private LastUserChangeIndex As Int"; +_lastuserchangeindex = 0; +RDebugUtils.currentLine=78839829; + //BA.debugLineNum = 78839829;BA.debugLine="Public NumberOfSteps As Int = 20"; +_numberofsteps = (int) (20); +RDebugUtils.currentLine=78839830; + //BA.debugLineNum = 78839830;BA.debugLine="Public DelayBeforeHidingOverlay As Int = 50"; +_delaybeforehidingoverlay = (int) (50); +RDebugUtils.currentLine=78839831; + //BA.debugLineNum = 78839831;BA.debugLine="Private mCallback As Object"; +_mcallback = new Object(); +RDebugUtils.currentLine=78839832; + //BA.debugLineNum = 78839832;BA.debugLine="Private mEventName As String"; +_meventname = ""; +RDebugUtils.currentLine=78839833; + //BA.debugLineNum = 78839833;BA.debugLine="End Sub"; +return ""; +} +public String _clearassigneditems(SHARK2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "clearassigneditems", true)) + {return ((String) Debug.delegate(ba, "clearassigneditems", null));} +SHARK2.keymon.com.mx.b4xset _s = null; +RDebugUtils.currentLine=79429632; + //BA.debugLineNum = 79429632;BA.debugLine="Private Sub ClearAssignedItems"; +RDebugUtils.currentLine=79429633; + //BA.debugLineNum = 79429633;BA.debugLine="For Each s As B4XSet In AssignedItems"; +{ +final SHARK2.keymon.com.mx.b4xset[] group1 = __ref._assigneditems /*SHARK2.keymon.com.mx.b4xset[]*/ ; +final int groupLen1 = group1.length +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_s = group1[index1]; +RDebugUtils.currentLine=79429634; + //BA.debugLineNum = 79429634;BA.debugLine="s.Clear"; +_s._clear /*String*/ (null); + } +}; +RDebugUtils.currentLine=79429636; + //BA.debugLineNum = 79429636;BA.debugLine="End Sub"; +return ""; +} +public String _raisevisiblerangeevent(SHARK2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "raisevisiblerangeevent", true)) + {return ((String) Debug.delegate(ba, "raisevisiblerangeevent", null));} +RDebugUtils.currentLine=79101952; + //BA.debugLineNum = 79101952;BA.debugLine="Private Sub RaiseVisibleRangeEvent"; +RDebugUtils.currentLine=79101953; + //BA.debugLineNum = 79101953;BA.debugLine="jclv.RunMethod(\"_resetvisibles\", Null)"; +__ref._jclv /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("_resetvisibles",(Object[])(__c.Null)); +RDebugUtils.currentLine=79101954; + //BA.debugLineNum = 79101954;BA.debugLine="jclv.RunMethod(\"_updatevisiblerange\", Null)"; +__ref._jclv /*anywheresoftware.b4j.object.JavaObject*/ .RunMethod("_updatevisiblerange",(Object[])(__c.Null)); +RDebugUtils.currentLine=79101955; + //BA.debugLineNum = 79101955;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _createpanel(SHARK2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "createpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "createpanel", null));} +RDebugUtils.currentLine=79167488; + //BA.debugLineNum = 79167488;BA.debugLine="Private Sub CreatePanel As B4XView"; +RDebugUtils.currentLine=79167492; + //BA.debugLineNum = 79167492;BA.debugLine="Return jclv.RunMethodJO(\"_createpanel\", Array(\"Pa"; +if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._jclv /*anywheresoftware.b4j.object.JavaObject*/ .RunMethodJO("_createpanel",new Object[]{(Object)("Panel")}).RunMethod("getObject",(Object[])(__c.Null)))); +RDebugUtils.currentLine=79167494; + //BA.debugLineNum = 79167494;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(SHARK2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "getpanel", true)) + {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getpanel", null));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=79364096; + //BA.debugLineNum = 79364096;BA.debugLine="Private Sub GetPanel As B4XView"; +RDebugUtils.currentLine=79364097; + //BA.debugLineNum = 79364097;BA.debugLine="If PanelsCache.Size = 0 Then Return CreatePanel"; +if (__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { +if (true) return __ref._createpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null);}; +RDebugUtils.currentLine=79364098; + //BA.debugLineNum = 79364098;BA.debugLine="Dim p As B4XView = PanelsCache.Get(PanelsCache.Si"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1)))); +RDebugUtils.currentLine=79364099; + //BA.debugLineNum = 79364099;BA.debugLine="PanelsCache.RemoveAt(PanelsCache.Size - 1)"; +__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt((int) (__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1)); +RDebugUtils.currentLine=79364100; + //BA.debugLineNum = 79364100;BA.debugLine="Return p"; +if (true) return _p; +RDebugUtils.currentLine=79364101; + //BA.debugLineNum = 79364101;BA.debugLine="End Sub"; +return null; +} +public String _handlescrollbar(SHARK2.keymon.com.mx.preoptimizedclv __ref,int _firstvisible) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "handlescrollbar", true)) + {return ((String) Debug.delegate(ba, "handlescrollbar", new Object[] {_firstvisible}));} +RDebugUtils.currentLine=79298560; + //BA.debugLineNum = 79298560;BA.debugLine="Private Sub HandleScrollBar (FirstVisible As Int)"; +RDebugUtils.currentLine=79298561; + //BA.debugLineNum = 79298561;BA.debugLine="If ShowScrollBar = False Then Return"; +if (__ref._showscrollbar /*boolean*/ ==__c.False) { +if (true) return "";}; +RDebugUtils.currentLine=79298562; + //BA.debugLineNum = 79298562;BA.debugLine="B4XSeekBar1.Value = items.Size - FirstVisible"; +__ref._b4xseekbar1 /*SHARK2.keymon.com.mx.b4xseekbar*/ ._setvalue /*int*/ (null,(int) (__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-_firstvisible)); +RDebugUtils.currentLine=79298563; + //BA.debugLineNum = 79298563;BA.debugLine="End Sub"; +return ""; +} +public void _listchangedexternally(SHARK2.keymon.com.mx.preoptimizedclv __ref) throws Exception{ +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "listchangedexternally", true)) + {Debug.delegate(ba, "listchangedexternally", null); return;} +ResumableSub_ListChangedExternally rsub = new ResumableSub_ListChangedExternally(this,__ref); +rsub.resume(ba, null); +} +public static class ResumableSub_ListChangedExternally extends BA.ResumableSub { +public ResumableSub_ListChangedExternally(SHARK2.keymon.com.mx.preoptimizedclv parent,SHARK2.keymon.com.mx.preoptimizedclv __ref) { +this.parent = parent; +this.__ref = __ref; +this.__ref = parent; +} +SHARK2.keymon.com.mx.preoptimizedclv __ref; +SHARK2.keymon.com.mx.preoptimizedclv parent; + +@Override +public void resume(BA ba, Object[] result) throws Exception{ +RDebugUtils.currentModule="preoptimizedclv"; + + while (true) { + switch (state) { + case -1: +return; + +case 0: +//C +this.state = -1; +RDebugUtils.currentLine=79495169; + //BA.debugLineNum = 79495169;BA.debugLine="ClearAssignedItems"; +__ref._clearassigneditems /*String*/ (null); +RDebugUtils.currentLine=79495170; + //BA.debugLineNum = 79495170;BA.debugLine="Sleep(0)"; +parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "preoptimizedclv", "listchangedexternally"),(int) (0)); +this.state = 1; +return; +case 1: +//C +this.state = -1; +; +RDebugUtils.currentLine=79495171; + //BA.debugLineNum = 79495171;BA.debugLine="RaiseVisibleRangeEvent"; +__ref._raisevisiblerangeevent /*String*/ (null); +RDebugUtils.currentLine=79495172; + //BA.debugLineNum = 79495172;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public anywheresoftware.b4a.objects.collections.List _visiblerangechanged(SHARK2.keymon.com.mx.preoptimizedclv __ref,int _firstindex,int _lastindex) throws Exception{ +__ref = this; +RDebugUtils.currentModule="preoptimizedclv"; +if (Debug.shouldDelegate(ba, "visiblerangechanged", true)) + {return ((anywheresoftware.b4a.objects.collections.List) Debug.delegate(ba, "visiblerangechanged", new Object[] {_firstindex,_lastindex}));} +int _fromindex = 0; +int _toindex = 0; +SHARK2.keymon.com.mx.b4xset _prevset = null; +SHARK2.keymon.com.mx.b4xset _nextset = null; +int _i = 0; +b4a.example3.customlistview._clvitem _it = null; +anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; +RDebugUtils.currentLine=79233024; + //BA.debugLineNum = 79233024;BA.debugLine="Public Sub VisibleRangeChanged (FirstIndex As Int,"; +RDebugUtils.currentLine=79233025; + //BA.debugLineNum = 79233025;BA.debugLine="Dim FromIndex As Int = Max(0, FirstIndex - ExtraI"; +_fromindex = (int) (__c.Max(0,_firstindex-__ref._extraitems /*int*/ )); +RDebugUtils.currentLine=79233026; + //BA.debugLineNum = 79233026;BA.debugLine="Dim ToIndex As Int = Min(mCLV.Size - 1, LastIndex"; +_toindex = (int) (__c.Min(__ref._mclv /*b4a.example3.customlistview*/ ._getsize()-1,_lastindex+__ref._extraitems /*int*/ )); +RDebugUtils.currentLine=79233027; + //BA.debugLineNum = 79233027;BA.debugLine="Dim PrevSet As B4XSet = AssignedItems(AssignedIte"; +_prevset = __ref._assigneditems /*SHARK2.keymon.com.mx.b4xset[]*/ [__ref._assigneditemsasindex /*int*/ ]; +RDebugUtils.currentLine=79233028; + //BA.debugLineNum = 79233028;BA.debugLine="AssignedItemsAsIndex = (AssignedItemsAsIndex + 1)"; +__ref._assigneditemsasindex /*int*/ = (int) ((__ref._assigneditemsasindex /*int*/ +1)%2); +RDebugUtils.currentLine=79233029; + //BA.debugLineNum = 79233029;BA.debugLine="Dim NextSet As B4XSet = AssignedItems(AssignedIte"; +_nextset = __ref._assigneditems /*SHARK2.keymon.com.mx.b4xset[]*/ [__ref._assigneditemsasindex /*int*/ ]; +RDebugUtils.currentLine=79233030; + //BA.debugLineNum = 79233030;BA.debugLine="NextSet.Clear"; +_nextset._clear /*String*/ (null); +RDebugUtils.currentLine=79233031; + //BA.debugLineNum = 79233031;BA.debugLine="ListOfItemsThatShouldBeUpdated.Initialize"; +__ref._listofitemsthatshouldbeupdated /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=79233032; + //BA.debugLineNum = 79233032;BA.debugLine="For i = FromIndex To ToIndex"; +{ +final int step8 = 1; +final int limit8 = _toindex; +_i = _fromindex ; +for (;_i <= limit8 ;_i = _i + step8 ) { +RDebugUtils.currentLine=79233033; + //BA.debugLineNum = 79233033;BA.debugLine="Dim it As CLVItem = items.Get(i)"; +_it = (b4a.example3.customlistview._clvitem)(__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)); +RDebugUtils.currentLine=79233034; + //BA.debugLineNum = 79233034;BA.debugLine="If it.Panel = StubPanel Then"; +if ((_it.Panel).equals(__ref._stubpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ )) { +RDebugUtils.currentLine=79233035; + //BA.debugLineNum = 79233035;BA.debugLine="it.Panel = GetPanel"; +_it.Panel = __ref._getpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null); +RDebugUtils.currentLine=79233036; + //BA.debugLineNum = 79233036;BA.debugLine="it.Panel.Tag = i"; +_it.Panel.setTag((Object)(_i)); +RDebugUtils.currentLine=79233037; + //BA.debugLineNum = 79233037;BA.debugLine="it.Panel.Color = it.Color"; +_it.Panel.setColor(_it.Color); +RDebugUtils.currentLine=79233038; + //BA.debugLineNum = 79233038;BA.debugLine="If horizontal Then"; +if (__ref._horizontal /*boolean*/ ) { +RDebugUtils.currentLine=79233039; + //BA.debugLineNum = 79233039;BA.debugLine="mCLV.sv.ScrollViewInnerPanel.AddView(it.Panel,"; +__ref._mclv /*b4a.example3.customlistview*/ ._sv.getScrollViewInnerPanel().AddView((android.view.View)(_it.Panel.getObject()),_it.Offset,(int) (0),_it.Size,__ref._mclv /*b4a.example3.customlistview*/ ._sv.getHeight()); + }else { +RDebugUtils.currentLine=79233041; + //BA.debugLineNum = 79233041;BA.debugLine="mCLV.sv.ScrollViewInnerPanel.AddView(it.Panel,"; +__ref._mclv /*b4a.example3.customlistview*/ ._sv.getScrollViewInnerPanel().AddView((android.view.View)(_it.Panel.getObject()),(int) (0),_it.Offset,__ref._mclv /*b4a.example3.customlistview*/ ._sv.getWidth(),_it.Size); + }; +RDebugUtils.currentLine=79233043; + //BA.debugLineNum = 79233043;BA.debugLine="NextSet.Add(it.Panel)"; +_nextset._add /*String*/ (null,(Object)(_it.Panel.getObject())); +RDebugUtils.currentLine=79233044; + //BA.debugLineNum = 79233044;BA.debugLine="ListOfItemsThatShouldBeUpdated.Add(i)"; +__ref._listofitemsthatshouldbeupdated /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_i)); + }else +{RDebugUtils.currentLine=79233045; + //BA.debugLineNum = 79233045;BA.debugLine="Else if PrevSet.Contains(it.Panel) Then"; +if (_prevset._contains /*boolean*/ (null,(Object)(_it.Panel.getObject()))) { +RDebugUtils.currentLine=79233046; + //BA.debugLineNum = 79233046;BA.debugLine="NextSet.Add(it.Panel)"; +_nextset._add /*String*/ (null,(Object)(_it.Panel.getObject())); + }} +; + } +}; +RDebugUtils.currentLine=79233049; + //BA.debugLineNum = 79233049;BA.debugLine="For Each pnl As B4XView In PrevSet.AsList"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +{ +final anywheresoftware.b4a.BA.IterableList group25 = _prevset._aslist /*anywheresoftware.b4a.objects.collections.List*/ (null); +final int groupLen25 = group25.getSize() +;int index25 = 0; +; +for (; index25 < groupLen25;index25++){ +_pnl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group25.Get(index25))); +RDebugUtils.currentLine=79233050; + //BA.debugLineNum = 79233050;BA.debugLine="If NextSet.Contains(pnl) = False Then"; +if (_nextset._contains /*boolean*/ (null,(Object)(_pnl.getObject()))==__c.False) { +RDebugUtils.currentLine=79233051; + //BA.debugLineNum = 79233051;BA.debugLine="If pnl.Parent.IsInitialized Then"; +if (_pnl.getParent().IsInitialized()) { +RDebugUtils.currentLine=79233052; + //BA.debugLineNum = 79233052;BA.debugLine="pnl.RemoveViewFromParent"; +_pnl.RemoveViewFromParent(); +RDebugUtils.currentLine=79233053; + //BA.debugLineNum = 79233053;BA.debugLine="pnl.GetView(0).RemoveAllViews"; +_pnl.GetView((int) (0)).RemoveAllViews(); +RDebugUtils.currentLine=79233054; + //BA.debugLineNum = 79233054;BA.debugLine="pnl.RemoveAllViews"; +_pnl.RemoveAllViews(); +RDebugUtils.currentLine=79233055; + //BA.debugLineNum = 79233055;BA.debugLine="PanelsCache.Add(pnl)"; +__ref._panelscache /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_pnl.getObject())); +RDebugUtils.currentLine=79233056; + //BA.debugLineNum = 79233056;BA.debugLine="Dim it As CLVItem = items.Get(pnl.Tag)"; +_it = (b4a.example3.customlistview._clvitem)(__ref._items /*anywheresoftware.b4a.objects.collections.List*/ .Get((int)(BA.ObjectToNumber(_pnl.getTag())))); +RDebugUtils.currentLine=79233057; + //BA.debugLineNum = 79233057;BA.debugLine="it.Panel = StubPanel"; +_it.Panel = __ref._stubpanel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ; + }; + }; + } +}; +RDebugUtils.currentLine=79233061; + //BA.debugLineNum = 79233061;BA.debugLine="HandleScrollBar (FirstIndex)"; +__ref._handlescrollbar /*String*/ (null,_firstindex); +RDebugUtils.currentLine=79233062; + //BA.debugLineNum = 79233062;BA.debugLine="Return ListOfItemsThatShouldBeUpdated"; +if (true) return __ref._listofitemsthatshouldbeupdated /*anywheresoftware.b4a.objects.collections.List*/ ; +RDebugUtils.currentLine=79233063; + //BA.debugLineNum = 79233063;BA.debugLine="End Sub"; +return null; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/roundslider.java b/B4A/Objects/src/SHARK2/keymon/com/mx/roundslider.java new file mode 100644 index 0000000..e8a3b95 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/roundslider.java @@ -0,0 +1,588 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.roundslider"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(SHARK2.keymon.com.mx.roundslider __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=76414976; + //BA.debugLineNum = 76414976;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=76414977; + //BA.debugLineNum = 76414977;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=76414978; + //BA.debugLineNum = 76414978;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=76414979; + //BA.debugLineNum = 76414979;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=76414980; + //BA.debugLineNum = 76414980;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=76414981; + //BA.debugLineNum = 76414981;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=76414982; + //BA.debugLineNum = 76414982;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=76414983; + //BA.debugLineNum = 76414983;BA.debugLine="End Sub"; +return ""; +} +public String _createthumb(SHARK2.keymon.com.mx.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "createthumb", true)) + {return ((String) Debug.delegate(ba, "createthumb", null));} +b4a.example.bcpath _p = null; +int _r = 0; +int _g = 0; +int _l = 0; +b4a.example.bitmapcreator _bc = null; +RDebugUtils.currentLine=76349440; + //BA.debugLineNum = 76349440;BA.debugLine="Private Sub CreateThumb"; +RDebugUtils.currentLine=76349441; + //BA.debugLineNum = 76349441;BA.debugLine="Dim p As BCPath"; +_p = new b4a.example.bcpath(); +RDebugUtils.currentLine=76349442; + //BA.debugLineNum = 76349442;BA.debugLine="Dim r As Int = 80dip"; +_r = __c.DipToCurrent((int) (80)); +RDebugUtils.currentLine=76349443; + //BA.debugLineNum = 76349443;BA.debugLine="Dim g As Int = 8dip"; +_g = __c.DipToCurrent((int) (8)); +RDebugUtils.currentLine=76349444; + //BA.debugLineNum = 76349444;BA.debugLine="Dim l As Int = 28dip"; +_l = __c.DipToCurrent((int) (28)); +RDebugUtils.currentLine=76349445; + //BA.debugLineNum = 76349445;BA.debugLine="Dim bc As BitmapCreator"; +_bc = new b4a.example.bitmapcreator(); +RDebugUtils.currentLine=76349446; + //BA.debugLineNum = 76349446;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=76349447; + //BA.debugLineNum = 76349447;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=76349448; + //BA.debugLineNum = 76349448;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=76349449; + //BA.debugLineNum = 76349449;BA.debugLine="p.LineTo(r + g, 2 * r + l + g)"; +_p._lineto((float) (_r+_g),(float) (2*_r+_l+_g)); +RDebugUtils.currentLine=76349450; + //BA.debugLineNum = 76349450;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=76349451; + //BA.debugLineNum = 76349451;BA.debugLine="bc.DrawPath(p, mThumbBorderColor, True, 0)"; +_bc._drawpath(_p,__ref._mthumbbordercolor /*int*/ ,__c.True,(int) (0)); +RDebugUtils.currentLine=76349452; + //BA.debugLineNum = 76349452;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=76349453; + //BA.debugLineNum = 76349453;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=76349454; + //BA.debugLineNum = 76349454;BA.debugLine="thumb = bc.Bitmap"; +__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ = _bc._getbitmap(); +RDebugUtils.currentLine=76349455; + //BA.debugLineNum = 76349455;BA.debugLine="ThumbSize = thumb.Height / 4"; +__ref._thumbsize /*int*/ = (int) (__ref._thumb /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getHeight()/(double)4); +RDebugUtils.currentLine=76349456; + //BA.debugLineNum = 76349456;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=76349457; + //BA.debugLineNum = 76349457;BA.debugLine="End Sub"; +return ""; +} +public String _draw(SHARK2.keymon.com.mx.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", null));} +int _radius = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; +int _angle = 0; +int _b4jstrokeoffset = 0; +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _dest = null; +int _r = 0; +int _cx = 0; +int _cy = 0; +RDebugUtils.currentLine=76480512; + //BA.debugLineNum = 76480512;BA.debugLine="Public Sub Draw"; +RDebugUtils.currentLine=76480513; + //BA.debugLineNum = 76480513;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=76480514; + //BA.debugLineNum = 76480514;BA.debugLine="Dim radius As Int = CircleRect.Width / 2"; +_radius = (int) (__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getWidth()/(double)2); +RDebugUtils.currentLine=76480515; + //BA.debugLineNum = 76480515;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=76480516; + //BA.debugLineNum = 76480516;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=76480517; + //BA.debugLineNum = 76480517;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=76480518; + //BA.debugLineNum = 76480518;BA.debugLine="Dim B4JStrokeOffset As Int"; +_b4jstrokeoffset = 0; +RDebugUtils.currentLine=76480519; + //BA.debugLineNum = 76480519;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=76480520; + //BA.debugLineNum = 76480520;BA.debugLine="If mValue = mMax Then"; +if (__ref._mvalue /*int*/ ==__ref._mmax /*int*/ ) { +RDebugUtils.currentLine=76480521; + //BA.debugLineNum = 76480521;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=76480523; + //BA.debugLineNum = 76480523;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=76480524; + //BA.debugLineNum = 76480524;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=76480526; + //BA.debugLineNum = 76480526;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=76480527; + //BA.debugLineNum = 76480527;BA.debugLine="Dim dest As B4XRect"; +_dest = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=76480528; + //BA.debugLineNum = 76480528;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=76480529; + //BA.debugLineNum = 76480529;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=76480530; + //BA.debugLineNum = 76480530;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=76480531; + //BA.debugLineNum = 76480531;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=76480532; + //BA.debugLineNum = 76480532;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=76480533; + //BA.debugLineNum = 76480533;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=76480534; + //BA.debugLineNum = 76480534;BA.debugLine="xlbl.Text = mValue"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setText(BA.ObjectToCharSequence(__ref._mvalue /*int*/ )); +RDebugUtils.currentLine=76480535; + //BA.debugLineNum = 76480535;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +RDebugUtils.currentLine=76021760; + //BA.debugLineNum = 76021760;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=76021761; + //BA.debugLineNum = 76021761;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=76021762; + //BA.debugLineNum = 76021762;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=76021763; + //BA.debugLineNum = 76021763;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=76021764; + //BA.debugLineNum = 76021764;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=76021765; + //BA.debugLineNum = 76021765;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=76021766; + //BA.debugLineNum = 76021766;BA.debugLine="Private mValue As Int = 75"; +_mvalue = (int) (75); +RDebugUtils.currentLine=76021767; + //BA.debugLineNum = 76021767;BA.debugLine="Private mMin, mMax As Int"; +_mmin = 0; +_mmax = 0; +RDebugUtils.currentLine=76021768; + //BA.debugLineNum = 76021768;BA.debugLine="Private thumb As B4XBitmap"; +_thumb = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); +RDebugUtils.currentLine=76021769; + //BA.debugLineNum = 76021769;BA.debugLine="Private pnl As B4XView"; +_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=76021770; + //BA.debugLineNum = 76021770;BA.debugLine="Private xlbl As B4XView"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=76021771; + //BA.debugLineNum = 76021771;BA.debugLine="Private CircleRect As B4XRect"; +_circlerect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=76021772; + //BA.debugLineNum = 76021772;BA.debugLine="Private ValueColor As Int"; +_valuecolor = 0; +RDebugUtils.currentLine=76021773; + //BA.debugLineNum = 76021773;BA.debugLine="Private stroke As Int"; +_stroke = 0; +RDebugUtils.currentLine=76021774; + //BA.debugLineNum = 76021774;BA.debugLine="Private ThumbSize As Int"; +_thumbsize = 0; +RDebugUtils.currentLine=76021775; + //BA.debugLineNum = 76021775;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=76021776; + //BA.debugLineNum = 76021776;BA.debugLine="Private mThumbBorderColor As Int = 0xFF5B5B5B"; +_mthumbbordercolor = ((int)0xff5b5b5b); +RDebugUtils.currentLine=76021777; + //BA.debugLineNum = 76021777;BA.debugLine="Private mThumbInnerColor As Int = xui.Color_White"; +_mthumbinnercolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=76021778; + //BA.debugLineNum = 76021778;BA.debugLine="Private mCircleFillColor As Int = xui.Color_White"; +_mcirclefillcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White; +RDebugUtils.currentLine=76021779; + //BA.debugLineNum = 76021779;BA.debugLine="Private mCircleNonValueColor As Int = 0xFFB6B6B6"; +_mcirclenonvaluecolor = ((int)0xffb6b6b6); +RDebugUtils.currentLine=76021780; + //BA.debugLineNum = 76021780;BA.debugLine="Private mRollOver As Boolean"; +_mrollover = false; +RDebugUtils.currentLine=76021781; + //BA.debugLineNum = 76021781;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(SHARK2.keymon.com.mx.roundslider __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +RDebugUtils.currentLine=76152832; + //BA.debugLineNum = 76152832;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=76152833; + //BA.debugLineNum = 76152833;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=76152834; + //BA.debugLineNum = 76152834;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=76152834; + //BA.debugLineNum = 76152834;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=76152835; + //BA.debugLineNum = 76152835;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=76152836; + //BA.debugLineNum = 76152836;BA.debugLine="mMin = Props.Get(\"Min\")"; +__ref._mmin /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); +RDebugUtils.currentLine=76152837; + //BA.debugLineNum = 76152837;BA.debugLine="mMax = Props.Get(\"Max\")"; +__ref._mmax /*int*/ = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); +RDebugUtils.currentLine=76152838; + //BA.debugLineNum = 76152838;BA.debugLine="mValue = mMin"; +__ref._mvalue /*int*/ = __ref._mmin /*int*/ ; +RDebugUtils.currentLine=76152839; + //BA.debugLineNum = 76152839;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; +__ref._pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"pnl"); +RDebugUtils.currentLine=76152840; + //BA.debugLineNum = 76152840;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=76152841; + //BA.debugLineNum = 76152841;BA.debugLine="xlbl.Visible = True"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=76152842; + //BA.debugLineNum = 76152842;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=76152843; + //BA.debugLineNum = 76152843;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=76152844; + //BA.debugLineNum = 76152844;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=76152845; + //BA.debugLineNum = 76152845;BA.debugLine="mRollOver = Props.GetDefault(\"RollOver\", False)"; +__ref._mrollover /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("RollOver"),(Object)(__c.False))); +RDebugUtils.currentLine=76152846; + //BA.debugLineNum = 76152846;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=76152847; + //BA.debugLineNum = 76152847;BA.debugLine="stroke = 8dip"; +__ref._stroke /*int*/ = __c.DipToCurrent((int) (8)); + }else +{RDebugUtils.currentLine=76152848; + //BA.debugLineNum = 76152848;BA.debugLine="Else If xui.IsB4J Then"; +if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .getIsB4J()) { +RDebugUtils.currentLine=76152849; + //BA.debugLineNum = 76152849;BA.debugLine="stroke = 6dip"; +__ref._stroke /*int*/ = __c.DipToCurrent((int) (6)); + }} +; +RDebugUtils.currentLine=76152851; + //BA.debugLineNum = 76152851;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=76152852; + //BA.debugLineNum = 76152852;BA.debugLine="End Sub"; +return ""; +} +public int _getvalue(SHARK2.keymon.com.mx.roundslider __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "getvalue", true)) + {return ((Integer) Debug.delegate(ba, "getvalue", null));} +RDebugUtils.currentLine=76742656; + //BA.debugLineNum = 76742656;BA.debugLine="Public Sub getValue As Int"; +RDebugUtils.currentLine=76742657; + //BA.debugLineNum = 76742657;BA.debugLine="Return mValue"; +if (true) return __ref._mvalue /*int*/ ; +RDebugUtils.currentLine=76742658; + //BA.debugLineNum = 76742658;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(SHARK2.keymon.com.mx.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=76087296; + //BA.debugLineNum = 76087296;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=76087297; + //BA.debugLineNum = 76087297;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=76087298; + //BA.debugLineNum = 76087298;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=76087299; + //BA.debugLineNum = 76087299;BA.debugLine="End Sub"; +return ""; +} +public String _pnl_touch(SHARK2.keymon.com.mx.roundslider __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "pnl_touch", true)) + {return ((String) Debug.delegate(ba, "pnl_touch", new Object[] {_action,_x,_y}));} +int _dx = 0; +int _dy = 0; +float _dist = 0f; +int _angle = 0; +int _newvalue = 0; +RDebugUtils.currentLine=76546048; + //BA.debugLineNum = 76546048;BA.debugLine="Private Sub pnl_Touch (Action As Int, X As Float,"; +RDebugUtils.currentLine=76546049; + //BA.debugLineNum = 76546049;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=76546050; + //BA.debugLineNum = 76546050;BA.debugLine="Dim dx As Int = x - CircleRect.CenterX"; +_dx = (int) (_x-__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterX()); +RDebugUtils.currentLine=76546051; + //BA.debugLineNum = 76546051;BA.debugLine="Dim dy As Int = y - CircleRect.CenterY"; +_dy = (int) (_y-__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getCenterY()); +RDebugUtils.currentLine=76546052; + //BA.debugLineNum = 76546052;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=76546053; + //BA.debugLineNum = 76546053;BA.debugLine="If dist > CircleRect.Width / 2 Then"; +if (_dist>__ref._circlerect /*anywheresoftware.b4a.objects.B4XCanvas.B4XRect*/ .getWidth()/(double)2) { +RDebugUtils.currentLine=76546054; + //BA.debugLineNum = 76546054;BA.debugLine="Dim angle As Int = Round(ATan2D(dy, dx))"; +_angle = (int) (__c.Round(__c.ATan2D(_dy,_dx))); +RDebugUtils.currentLine=76546055; + //BA.debugLineNum = 76546055;BA.debugLine="angle = angle + 90"; +_angle = (int) (_angle+90); +RDebugUtils.currentLine=76546056; + //BA.debugLineNum = 76546056;BA.debugLine="angle = (angle + 360) Mod 360"; +_angle = (int) ((_angle+360)%360); +RDebugUtils.currentLine=76546057; + //BA.debugLineNum = 76546057;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=76546058; + //BA.debugLineNum = 76546058;BA.debugLine="NewValue = Max(mMin, Min(mMax, NewValue))"; +_newvalue = (int) (__c.Max(__ref._mmin /*int*/ ,__c.Min(__ref._mmax /*int*/ ,_newvalue))); +RDebugUtils.currentLine=76546059; + //BA.debugLineNum = 76546059;BA.debugLine="If NewValue <> mValue Then"; +if (_newvalue!=__ref._mvalue /*int*/ ) { +RDebugUtils.currentLine=76546060; + //BA.debugLineNum = 76546060;BA.debugLine="If mRollOver = False Then"; +if (__ref._mrollover /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=76546061; + //BA.debugLineNum = 76546061;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=76546062; + //BA.debugLineNum = 76546062;BA.debugLine="If mValue >= (mMax + mMin) / 2 Then"; +if (__ref._mvalue /*int*/ >=(__ref._mmax /*int*/ +__ref._mmin /*int*/ )/(double)2) { +RDebugUtils.currentLine=76546063; + //BA.debugLineNum = 76546063;BA.debugLine="mValue = mMax"; +__ref._mvalue /*int*/ = __ref._mmax /*int*/ ; + }else { +RDebugUtils.currentLine=76546065; + //BA.debugLineNum = 76546065;BA.debugLine="mValue = mMin"; +__ref._mvalue /*int*/ = __ref._mmin /*int*/ ; + }; + }else { +RDebugUtils.currentLine=76546068; + //BA.debugLineNum = 76546068;BA.debugLine="mValue = NewValue"; +__ref._mvalue /*int*/ = _newvalue; + }; + }else { +RDebugUtils.currentLine=76546071; + //BA.debugLineNum = 76546071;BA.debugLine="mValue = NewValue"; +__ref._mvalue /*int*/ = _newvalue; + }; +RDebugUtils.currentLine=76546073; + //BA.debugLineNum = 76546073;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=76546074; + //BA.debugLineNum = 76546074;BA.debugLine="CallSub2(mCallBack, mEventName & \"_ValueChange"; +__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ValueChanged",(Object)(__ref._mvalue /*int*/ )); + }; + }; +RDebugUtils.currentLine=76546077; + //BA.debugLineNum = 76546077;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); + }; +RDebugUtils.currentLine=76546079; + //BA.debugLineNum = 76546079;BA.debugLine="End Sub"; +return ""; +} +public String _setcirclecolor(SHARK2.keymon.com.mx.roundslider __ref,int _nonvaluecolor,int _innercolor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "setcirclecolor", true)) + {return ((String) Debug.delegate(ba, "setcirclecolor", new Object[] {_nonvaluecolor,_innercolor}));} +RDebugUtils.currentLine=76283904; + //BA.debugLineNum = 76283904;BA.debugLine="Public Sub SetCircleColor (NonValueColor As Int, I"; +RDebugUtils.currentLine=76283905; + //BA.debugLineNum = 76283905;BA.debugLine="mCircleNonValueColor = NonValueColor"; +__ref._mcirclenonvaluecolor /*int*/ = _nonvaluecolor; +RDebugUtils.currentLine=76283906; + //BA.debugLineNum = 76283906;BA.debugLine="mCircleFillColor = InnerColor"; +__ref._mcirclefillcolor /*int*/ = _innercolor; +RDebugUtils.currentLine=76283907; + //BA.debugLineNum = 76283907;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=76283908; + //BA.debugLineNum = 76283908;BA.debugLine="End Sub"; +return ""; +} +public String _setrange(SHARK2.keymon.com.mx.roundslider __ref,int _newmin,int _newmax) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "setrange", true)) + {return ((String) Debug.delegate(ba, "setrange", new Object[] {_newmin,_newmax}));} +RDebugUtils.currentLine=76677120; + //BA.debugLineNum = 76677120;BA.debugLine="Public Sub SetRange(NewMin As Int, NewMax As Int)"; +RDebugUtils.currentLine=76677121; + //BA.debugLineNum = 76677121;BA.debugLine="mMin = NewMin"; +__ref._mmin /*int*/ = _newmin; +RDebugUtils.currentLine=76677122; + //BA.debugLineNum = 76677122;BA.debugLine="mMax = NewMax"; +__ref._mmax /*int*/ = _newmax; +RDebugUtils.currentLine=76677123; + //BA.debugLineNum = 76677123;BA.debugLine="setValue(mValue)"; +__ref._setvalue /*String*/ (null,__ref._mvalue /*int*/ ); +RDebugUtils.currentLine=76677124; + //BA.debugLineNum = 76677124;BA.debugLine="End Sub"; +return ""; +} +public String _setvalue(SHARK2.keymon.com.mx.roundslider __ref,int _v) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "setvalue", true)) + {return ((String) Debug.delegate(ba, "setvalue", new Object[] {_v}));} +RDebugUtils.currentLine=76611584; + //BA.debugLineNum = 76611584;BA.debugLine="Public Sub setValue (v As Int)"; +RDebugUtils.currentLine=76611585; + //BA.debugLineNum = 76611585;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=76611586; + //BA.debugLineNum = 76611586;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=76611587; + //BA.debugLineNum = 76611587;BA.debugLine="End Sub"; +return ""; +} +public String _setthumbcolor(SHARK2.keymon.com.mx.roundslider __ref,int _bordercolor,int _innercolor) throws Exception{ +__ref = this; +RDebugUtils.currentModule="roundslider"; +if (Debug.shouldDelegate(ba, "setthumbcolor", true)) + {return ((String) Debug.delegate(ba, "setthumbcolor", new Object[] {_bordercolor,_innercolor}));} +RDebugUtils.currentLine=76218368; + //BA.debugLineNum = 76218368;BA.debugLine="Public Sub SetThumbColor(BorderColor As Int, Inner"; +RDebugUtils.currentLine=76218369; + //BA.debugLineNum = 76218369;BA.debugLine="mThumbBorderColor = BorderColor"; +__ref._mthumbbordercolor /*int*/ = _bordercolor; +RDebugUtils.currentLine=76218370; + //BA.debugLineNum = 76218370;BA.debugLine="mThumbInnerColor = InnerColor"; +__ref._mthumbinnercolor /*int*/ = _innercolor; +RDebugUtils.currentLine=76218371; + //BA.debugLineNum = 76218371;BA.debugLine="CreateThumb"; +__ref._createthumb /*String*/ (null); +RDebugUtils.currentLine=76218372; + //BA.debugLineNum = 76218372;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=76218373; + //BA.debugLineNum = 76218373;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/scrollinglabel.java b/B4A/Objects/src/SHARK2/keymon/com/mx/scrollinglabel.java new file mode 100644 index 0000000..779cc40 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/scrollinglabel.java @@ -0,0 +1,576 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.scrollinglabel"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(SHARK2.keymon.com.mx.scrollinglabel __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +RDebugUtils.currentLine=77004800; + //BA.debugLineNum = 77004800;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=77004801; + //BA.debugLineNum = 77004801;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=77004802; + //BA.debugLineNum = 77004802;BA.debugLine="setText(mText)"; +__ref._settext /*String*/ (null,__ref._mtext /*String*/ ); +RDebugUtils.currentLine=77004803; + //BA.debugLineNum = 77004803;BA.debugLine="End Sub"; +return ""; +} +public String _settext(SHARK2.keymon.com.mx.scrollinglabel __ref,String _t) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "settext", true)) + {return ((String) Debug.delegate(ba, "settext", new Object[] {_t}));} +boolean _needtocreatenewlabel = false; +anywheresoftware.b4a.objects.B4XViewWrapper _parent = null; +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; +float _originaltextwidth = 0f; +anywheresoftware.b4a.objects.LabelWrapper _lbl = null; +String _duplicatetext = ""; +float _width = 0f; +RDebugUtils.currentLine=77070336; + //BA.debugLineNum = 77070336;BA.debugLine="Public Sub setText(t As String)"; +RDebugUtils.currentLine=77070337; + //BA.debugLineNum = 77070337;BA.debugLine="Dim NeedToCreateNewLabel As Boolean = True"; +_needtocreatenewlabel = __c.True; +RDebugUtils.currentLine=77070338; + //BA.debugLineNum = 77070338;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=77070339; + //BA.debugLineNum = 77070339;BA.debugLine="If parent.NumberOfViews > 0 Then"; +if (_parent.getNumberOfViews()>0) { +RDebugUtils.currentLine=77070341; + //BA.debugLineNum = 77070341;BA.debugLine="Dim p As B4XView = parent.GetView(0)"; +_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_p = _parent.GetView((int) (0)); +RDebugUtils.currentLine=77070342; + //BA.debugLineNum = 77070342;BA.debugLine="If p.Tag = \"static\" Then"; +if ((_p.getTag()).equals((Object)("static"))) { +RDebugUtils.currentLine=77070343; + //BA.debugLineNum = 77070343;BA.debugLine="NeedToCreateNewLabel = False"; +_needtocreatenewlabel = __c.False; +RDebugUtils.currentLine=77070344; + //BA.debugLineNum = 77070344;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, parent.Width, pare"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_parent.getWidth(),_parent.getHeight()); +RDebugUtils.currentLine=77070345; + //BA.debugLineNum = 77070345;BA.debugLine="Dim xlbl As B4XView = p.GetView(0)"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +_xlbl = _p.GetView((int) (0)); +RDebugUtils.currentLine=77070346; + //BA.debugLineNum = 77070346;BA.debugLine="xlbl.SetLayoutAnimated(0, 0, 0, parent.Width, p"; +_xlbl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_parent.getWidth(),_parent.getHeight()); + }; + }; +RDebugUtils.currentLine=77070350; + //BA.debugLineNum = 77070350;BA.debugLine="Dim originalTextWidth As Float = MeasureTextWidth"; +_originaltextwidth = __ref._measuretextwidth /*float*/ (null,_t,__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=77070351; + //BA.debugLineNum = 77070351;BA.debugLine="mText = t"; +__ref._mtext /*String*/ = _t; +RDebugUtils.currentLine=77070352; + //BA.debugLineNum = 77070352;BA.debugLine="If NeedToCreateNewLabel Then"; +if (_needtocreatenewlabel) { +RDebugUtils.currentLine=77070353; + //BA.debugLineNum = 77070353;BA.debugLine="parent.RemoveAllViews"; +_parent.RemoveAllViews(); +RDebugUtils.currentLine=77070354; + //BA.debugLineNum = 77070354;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=77070355; + //BA.debugLineNum = 77070355;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=77070356; + //BA.debugLineNum = 77070356;BA.debugLine="Dim lbl As Label"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=77070357; + //BA.debugLineNum = 77070357;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(ba,""); +RDebugUtils.currentLine=77070359; + //BA.debugLineNum = 77070359;BA.debugLine="lbl.SingleLine = True"; +_lbl.setSingleLine(__c.True); +RDebugUtils.currentLine=77070360; + //BA.debugLineNum = 77070360;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=77070362; + //BA.debugLineNum = 77070362;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=77070363; + //BA.debugLineNum = 77070363;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; +_xlbl.SetTextAlignment("CENTER","LEFT"); +RDebugUtils.currentLine=77070364; + //BA.debugLineNum = 77070364;BA.debugLine="xlbl.Font = fnt"; +_xlbl.setFont(__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=77070366; + //BA.debugLineNum = 77070366;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=77070368; + //BA.debugLineNum = 77070368;BA.debugLine="xlbl.TextColor = mTextColor"; +_xlbl.setTextColor(__ref._mtextcolor /*int*/ ); +RDebugUtils.currentLine=77070369; + //BA.debugLineNum = 77070369;BA.debugLine="If originalTextWidth <= mBase.Width Then"; +if (_originaltextwidth<=__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()) { +RDebugUtils.currentLine=77070370; + //BA.debugLineNum = 77070370;BA.debugLine="xlbl.Text = t"; +_xlbl.setText(BA.ObjectToCharSequence(_t)); +RDebugUtils.currentLine=77070371; + //BA.debugLineNum = 77070371;BA.debugLine="p.Tag = \"static\""; +_p.setTag((Object)("static")); +RDebugUtils.currentLine=77070372; + //BA.debugLineNum = 77070372;BA.debugLine="StopScrolling"; +__ref._stopscrolling /*String*/ (null); + }else { +RDebugUtils.currentLine=77070374; + //BA.debugLineNum = 77070374;BA.debugLine="p.Tag = \"\""; +_p.setTag((Object)("")); +RDebugUtils.currentLine=77070375; + //BA.debugLineNum = 77070375;BA.debugLine="Dim duplicateText As String = t & \" \" & t"; +_duplicatetext = _t+" "+_t; +RDebugUtils.currentLine=77070376; + //BA.debugLineNum = 77070376;BA.debugLine="Dim Width As Float = MeasureTextWidth(duplicateT"; +_width = __ref._measuretextwidth /*float*/ (null,_duplicatetext,__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ ); +RDebugUtils.currentLine=77070377; + //BA.debugLineNum = 77070377;BA.debugLine="p.Width = Width"; +_p.setWidth((int) (_width)); +RDebugUtils.currentLine=77070378; + //BA.debugLineNum = 77070378;BA.debugLine="xlbl.Width = Width"; +_xlbl.setWidth((int) (_width)); +RDebugUtils.currentLine=77070379; + //BA.debugLineNum = 77070379;BA.debugLine="xlbl.Text = duplicateText"; +_xlbl.setText(BA.ObjectToCharSequence(_duplicatetext)); +RDebugUtils.currentLine=77070380; + //BA.debugLineNum = 77070380;BA.debugLine="StartScrolling (p, originalTextWidth)"; +__ref._startscrolling /*void*/ (null,_p,_originaltextwidth); + }; +RDebugUtils.currentLine=77070382; + //BA.debugLineNum = 77070382;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +RDebugUtils.currentLine=76808192; + //BA.debugLineNum = 76808192;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=76808193; + //BA.debugLineNum = 76808193;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=76808194; + //BA.debugLineNum = 76808194;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=76808195; + //BA.debugLineNum = 76808195;BA.debugLine="Public mBase As B4XView"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=76808196; + //BA.debugLineNum = 76808196;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=76808197; + //BA.debugLineNum = 76808197;BA.debugLine="Private mText As String"; +_mtext = ""; +RDebugUtils.currentLine=76808198; + //BA.debugLineNum = 76808198;BA.debugLine="Private taskIndex As Int"; +_taskindex = 0; +RDebugUtils.currentLine=76808199; + //BA.debugLineNum = 76808199;BA.debugLine="Private fnt As B4XFont"; +_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); +RDebugUtils.currentLine=76808200; + //BA.debugLineNum = 76808200;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=76808201; + //BA.debugLineNum = 76808201;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=76808202; + //BA.debugLineNum = 76808202;BA.debugLine="Public WidthPerSecond As Int = 100dip"; +_widthpersecond = __c.DipToCurrent((int) (100)); +RDebugUtils.currentLine=76808203; + //BA.debugLineNum = 76808203;BA.debugLine="Public StartPositionDelay As Int = 1000"; +_startpositiondelay = (int) (1000); +RDebugUtils.currentLine=76808204; + //BA.debugLineNum = 76808204;BA.debugLine="Private mTextColor As Int = xui.Color_Black"; +_mtextcolor = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Black; +RDebugUtils.currentLine=76808205; + //BA.debugLineNum = 76808205;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(SHARK2.keymon.com.mx.scrollinglabel __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +anywheresoftware.b4a.objects.B4XViewWrapper _l = null; +RDebugUtils.currentLine=76939264; + //BA.debugLineNum = 76939264;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=76939265; + //BA.debugLineNum = 76939265;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=76939266; + //BA.debugLineNum = 76939266;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=76939266; + //BA.debugLineNum = 76939266;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=76939268; + //BA.debugLineNum = 76939268;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=76939269; + //BA.debugLineNum = 76939269;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=76939270; + //BA.debugLineNum = 76939270;BA.debugLine="mText = Lbl.Text"; +__ref._mtext /*String*/ = _lbl.getText(); +RDebugUtils.currentLine=76939271; + //BA.debugLineNum = 76939271;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=76939272; + //BA.debugLineNum = 76939272;BA.debugLine="fnt = l.Font"; +__ref._fnt /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _l.getFont(); +RDebugUtils.currentLine=76939273; + //BA.debugLineNum = 76939273;BA.debugLine="mTextColor = l.TextColor"; +__ref._mtextcolor /*int*/ = _l.getTextColor(); +RDebugUtils.currentLine=76939274; + //BA.debugLineNum = 76939274;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=76939275; + //BA.debugLineNum = 76939275;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=76939276; + //BA.debugLineNum = 76939276;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=76939277; + //BA.debugLineNum = 76939277;BA.debugLine="cvs.Initialize(p)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_p); +RDebugUtils.currentLine=76939278; + //BA.debugLineNum = 76939278;BA.debugLine="setText(mText)"; +__ref._settext /*String*/ (null,__ref._mtext /*String*/ ); +RDebugUtils.currentLine=76939279; + //BA.debugLineNum = 76939279;BA.debugLine="End Sub"; +return ""; +} +public String _gettext(SHARK2.keymon.com.mx.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "gettext", true)) + {return ((String) Debug.delegate(ba, "gettext", null));} +RDebugUtils.currentLine=77135872; + //BA.debugLineNum = 77135872;BA.debugLine="Public Sub getText As String"; +RDebugUtils.currentLine=77135873; + //BA.debugLineNum = 77135873;BA.debugLine="Return mText"; +if (true) return __ref._mtext /*String*/ ; +RDebugUtils.currentLine=77135874; + //BA.debugLineNum = 77135874;BA.debugLine="End Sub"; +return ""; +} +public int _gettextcolor(SHARK2.keymon.com.mx.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "gettextcolor", true)) + {return ((Integer) Debug.delegate(ba, "gettextcolor", null));} +RDebugUtils.currentLine=77463552; + //BA.debugLineNum = 77463552;BA.debugLine="Public Sub getTextColor As Int"; +RDebugUtils.currentLine=77463553; + //BA.debugLineNum = 77463553;BA.debugLine="Return mTextColor"; +if (true) return __ref._mtextcolor /*int*/ ; +RDebugUtils.currentLine=77463554; + //BA.debugLineNum = 77463554;BA.debugLine="End Sub"; +return 0; +} +public String _initialize(SHARK2.keymon.com.mx.scrollinglabel __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));} +RDebugUtils.currentLine=76873728; + //BA.debugLineNum = 76873728;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=76873729; + //BA.debugLineNum = 76873729;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=76873730; + //BA.debugLineNum = 76873730;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=76873731; + //BA.debugLineNum = 76873731;BA.debugLine="End Sub"; +return ""; +} +public float _measuretextwidth(SHARK2.keymon.com.mx.scrollinglabel __ref,String _s,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "measuretextwidth", true)) + {return ((Float) Debug.delegate(ba, "measuretextwidth", new Object[] {_s,_font1}));} +RDebugUtils.currentLine=77332480; + //BA.debugLineNum = 77332480;BA.debugLine="Private Sub MeasureTextWidth(s As String, font1 As"; +RDebugUtils.currentLine=77332481; + //BA.debugLineNum = 77332481;BA.debugLine="Return cvs.MeasureText(s, font1).Width"; +if (true) return __ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .MeasureText(_s,_font1).getWidth(); +RDebugUtils.currentLine=77332482; + //BA.debugLineNum = 77332482;BA.debugLine="End Sub"; +return 0f; +} +public String _stopscrolling(SHARK2.keymon.com.mx.scrollinglabel __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "stopscrolling", true)) + {return ((String) Debug.delegate(ba, "stopscrolling", null));} +RDebugUtils.currentLine=77201408; + //BA.debugLineNum = 77201408;BA.debugLine="Private Sub StopScrolling"; +RDebugUtils.currentLine=77201409; + //BA.debugLineNum = 77201409;BA.debugLine="taskIndex = taskIndex + 1"; +__ref._taskindex /*int*/ = (int) (__ref._taskindex /*int*/ +1); +RDebugUtils.currentLine=77201410; + //BA.debugLineNum = 77201410;BA.debugLine="End Sub"; +return ""; +} +public void _startscrolling(SHARK2.keymon.com.mx.scrollinglabel __ref,anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) throws Exception{ +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "startscrolling", true)) + {Debug.delegate(ba, "startscrolling", new Object[] {_p,_originalwidth}); return;} +ResumableSub_StartScrolling rsub = new ResumableSub_StartScrolling(this,__ref,_p,_originalwidth); +rsub.resume(ba, null); +} +public static class ResumableSub_StartScrolling extends BA.ResumableSub { +public ResumableSub_StartScrolling(SHARK2.keymon.com.mx.scrollinglabel parent,SHARK2.keymon.com.mx.scrollinglabel __ref,anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) { +this.parent = parent; +this.__ref = __ref; +this._p = _p; +this._originalwidth = _originalwidth; +this.__ref = parent; +} +SHARK2.keymon.com.mx.scrollinglabel __ref; +SHARK2.keymon.com.mx.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=77266945; + //BA.debugLineNum = 77266945;BA.debugLine="taskIndex = taskIndex + 1"; +__ref._taskindex /*int*/ = (int) (__ref._taskindex /*int*/ +1); +RDebugUtils.currentLine=77266946; + //BA.debugLineNum = 77266946;BA.debugLine="Dim myIndex As Int = taskIndex"; +_myindex = __ref._taskindex /*int*/ ; +RDebugUtils.currentLine=77266947; + //BA.debugLineNum = 77266947;BA.debugLine="Dim duration As Int = p.Width / WidthPerSecond *"; +_duration = (int) (_p.getWidth()/(double)__ref._widthpersecond /*int*/ *1000); +RDebugUtils.currentLine=77266948; + //BA.debugLineNum = 77266948;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=77266949; + //BA.debugLineNum = 77266949;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=77266950; + //BA.debugLineNum = 77266950;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=77266951; + //BA.debugLineNum = 77266951;BA.debugLine="p.SetLayoutAnimated(duration, -(p.Width - Origin"; +_p.SetLayoutAnimated(_duration,(int) (-(_p.getWidth()-_originalwidth)),_p.getTop(),_p.getWidth(),_p.getHeight()); +RDebugUtils.currentLine=77266952; + //BA.debugLineNum = 77266952;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=77266953; + //BA.debugLineNum = 77266953;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=77266954; + //BA.debugLineNum = 77266954;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=77266955; + //BA.debugLineNum = 77266955;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=77266956; + //BA.debugLineNum = 77266956;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=77266958; + //BA.debugLineNum = 77266958;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public String _settextcolor(SHARK2.keymon.com.mx.scrollinglabel __ref,int _c) throws Exception{ +__ref = this; +RDebugUtils.currentModule="scrollinglabel"; +if (Debug.shouldDelegate(ba, "settextcolor", true)) + {return ((String) Debug.delegate(ba, "settextcolor", new Object[] {_c}));} +RDebugUtils.currentLine=77398016; + //BA.debugLineNum = 77398016;BA.debugLine="Public Sub setTextColor(c As Int)"; +RDebugUtils.currentLine=77398017; + //BA.debugLineNum = 77398017;BA.debugLine="mTextColor = c"; +__ref._mtextcolor /*int*/ = _c; +RDebugUtils.currentLine=77398018; + //BA.debugLineNum = 77398018;BA.debugLine="setText(mText)"; +__ref._settext /*String*/ (null,__ref._mtext /*String*/ ); +RDebugUtils.currentLine=77398019; + //BA.debugLineNum = 77398019;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/starter.java b/B4A/Objects/src/SHARK2/keymon/com/mx/starter.java new file mode 100644 index 0000000..523b0f0 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/starter.java @@ -0,0 +1,421 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx", "SHARK2.keymon.com.mx.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, "SHARK2.keymon.com.mx.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.gps.GPS _gps = null; +public static anywheresoftware.b4a.sql.SQL _skmt = null; +public static SHARK2.keymon.com.mx.c_subs _s = null; +public static anywheresoftware.b4a.phone.Phone _ph = null; +public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; +public static uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper _flp = null; +public static SHARK2.keymon.com.mx.dbrequestmanager _reqmanager = null; +public static String _dbreqserver = ""; +public static anywheresoftware.b4a.objects.Timer _timer1 = null; +public static int _interval = 0; +public static String _ruta = ""; +public static anywheresoftware.b4a.keywords.StringBuilderWrapper _logs = null; +public static anywheresoftware.b4a.phone.Phone.LogCat _logcat = null; +public static String _muestraprogreso = ""; +public static boolean _logger = false; +public static String _mac_impresora = ""; +public static String _marcacel = ""; +public static String _tabla = ""; +public static float _pre_viejo = 0f; +public static anywheresoftware.b4a.objects.Serial.BluetoothAdmin _btadmin = null; +public static boolean _bluetoothstate = false; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static String _reinicializareqmanager(String _srv) throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "reinicializareqmanager", false)) + {return ((String) Debug.delegate(processBA, "reinicializareqmanager", new Object[] {_srv}));} +RDebugUtils.currentLine=36569088; + //BA.debugLineNum = 36569088;BA.debugLine="Sub reinicializaReqManager(srv As String)"; +RDebugUtils.currentLine=36569089; + //BA.debugLineNum = 36569089;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES whe"; +_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("SERVER")})); +RDebugUtils.currentLine=36569090; + //BA.debugLineNum = 36569090;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CAT"; +_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("SERVER"),(Object)(_srv)})); +RDebugUtils.currentLine=36569091; + //BA.debugLineNum = 36569091;BA.debugLine="DBReqServer = srv"; +_dbreqserver = _srv; +RDebugUtils.currentLine=36569092; + //BA.debugLineNum = 36569092;BA.debugLine="reqManager.Initialize(Me, srv)"; +_reqmanager._initialize /*String*/ (null,processBA,starter.getObject(),_srv); +RDebugUtils.currentLine=36569093; + //BA.debugLineNum = 36569093;BA.debugLine="LogColor(srv, Colors.red)"; +anywheresoftware.b4a.keywords.Common.LogImpl("536569093",_srv,anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=36569094; + //BA.debugLineNum = 36569094;BA.debugLine="End Sub"; +return ""; +} +public static String _envia_ultima_gps() throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "envia_ultima_gps", false)) + {return ((String) Debug.delegate(processBA, "envia_ultima_gps", null));} +SHARK2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; +RDebugUtils.currentLine=36372480; + //BA.debugLineNum = 36372480;BA.debugLine="Sub ENVIA_ULTIMA_GPS"; +RDebugUtils.currentLine=36372481; + //BA.debugLineNum = 36372481;BA.debugLine="Dim logger As Boolean = False"; +_logger = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=36372482; + //BA.debugLineNum = 36372482;BA.debugLine="If logger Then LogColor(\"Iniciamos ENVIA_ULTIMA_G"; +if (_logger) { +anywheresoftware.b4a.keywords.Common.LogImpl("536372482","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Magenta);}; +RDebugUtils.currentLine=36372483; + //BA.debugLineNum = 36372483;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=36372487; + //BA.debugLineNum = 36372487;BA.debugLine="Dim cmd As DBCommand"; +_cmd = new SHARK2.keymon.com.mx.dbrequestmanager._dbcommand(); +RDebugUtils.currentLine=36372488; + //BA.debugLineNum = 36372488;BA.debugLine="cmd.Initialize"; +_cmd.Initialize(); +RDebugUtils.currentLine=36372489; + //BA.debugLineNum = 36372489;BA.debugLine="cmd.Name = \"UPDATE_SHARK2_ACTUAL2_GPS\""; +_cmd.Name /*String*/ = "UPDATE_SHARK2_ACTUAL2_GPS"; +RDebugUtils.currentLine=36372490; + //BA.debugLineNum = 36372490;BA.debugLine="If B4XPages.MainPage.lat_gps.Length < 15 Then B4X"; +if (mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ .length()<15) { +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ = mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ +"0";}; +RDebugUtils.currentLine=36372491; + //BA.debugLineNum = 36372491;BA.debugLine="cmd.Parameters = Array As Object(B4XPages.MainPag"; +_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._montoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._clientesventa /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._batt /*int*/ ),(Object)(0),(Object)(0),(Object)(0),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._almacen /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._rutapreventa /*String*/ )}; +RDebugUtils.currentLine=36372492; + //BA.debugLineNum = 36372492;BA.debugLine="If logger Then Log($\"montoActual: ${B4XPages.Main"; +if (_logger) { +anywheresoftware.b4a.keywords.Common.LogImpl("536372492",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._batt /*int*/ ))+", 0, 0, 0, Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);}; +RDebugUtils.currentLine=36372493; + //BA.debugLineNum = 36372493;BA.debugLine="reqManager.ExecuteCommand(cmd, \"inst_visitas\")"; +_reqmanager._executecommand /*String*/ (null,_cmd,(Object)("inst_visitas")); +RDebugUtils.currentLine=36372494; + //BA.debugLineNum = 36372494;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=36372496; + //BA.debugLineNum = 36372496;BA.debugLine="Timer1.Enabled = False"; +_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=36372497; + //BA.debugLineNum = 36372497;BA.debugLine="Timer1.Interval = Interval * 1000"; +_timer1.setInterval((long) (_interval*1000)); +RDebugUtils.currentLine=36372498; + //BA.debugLineNum = 36372498;BA.debugLine="Timer1.Enabled = True"; +_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=36372499; + //BA.debugLineNum = 36372499;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}));} +anywheresoftware.b4j.object.JavaObject _jo = null; +long _l = 0L; +RDebugUtils.currentLine=36503552; + //BA.debugLineNum = 36503552;BA.debugLine="Sub Application_Error (Error As Exception, StackTr"; +RDebugUtils.currentLine=36503554; + //BA.debugLineNum = 36503554;BA.debugLine="Dim jo As JavaObject"; +_jo = new anywheresoftware.b4j.object.JavaObject(); +RDebugUtils.currentLine=36503555; + //BA.debugLineNum = 36503555;BA.debugLine="Dim l As Long = 500: jo.InitializeStatic(\"java.la"; +_l = (long) (500); +RDebugUtils.currentLine=36503555; + //BA.debugLineNum = 36503555;BA.debugLine="Dim l As Long = 500: jo.InitializeStatic(\"java.la"; +_jo.InitializeStatic("java.lang.Thread").RunMethod("sleep",new Object[]{(Object)(_l)}); +RDebugUtils.currentLine=36503556; + //BA.debugLineNum = 36503556;BA.debugLine="logcat.LogCatStop"; +_logcat.LogCatStop(); +RDebugUtils.currentLine=36503557; + //BA.debugLineNum = 36503557;BA.debugLine="logs.Append(StackTrace)"; +_logs.Append(_stacktrace); +RDebugUtils.currentLine=36503558; + //BA.debugLineNum = 36503558;BA.debugLine="Subs.revisaBD"; +mostCurrent._subs._revisabd /*String*/ (processBA); +RDebugUtils.currentLine=36503559; + //BA.debugLineNum = 36503559;BA.debugLine="Subs.errorLog.ExecNonQuery2(\"INSERT INTO errores("; +mostCurrent._subs._errorlog /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)(_logs.getObject())})); +RDebugUtils.currentLine=36503560; + //BA.debugLineNum = 36503560;BA.debugLine="Return True"; +if (true) return anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=36503561; + //BA.debugLineNum = 36503561;BA.debugLine="End Sub"; +return false; +} +public static String _btadmin_statechanged(int _newstate,int _oldstate) throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "btadmin_statechanged", false)) + {return ((String) Debug.delegate(processBA, "btadmin_statechanged", new Object[] {_newstate,_oldstate}));} +RDebugUtils.currentLine=35979264; + //BA.debugLineNum = 35979264;BA.debugLine="Private Sub BTAdmin_StateChanged (NewState As Int,"; +RDebugUtils.currentLine=35979265; + //BA.debugLineNum = 35979265;BA.debugLine="If logger Then Log(\"BT state changed: \" & NewStat"; +if (_logger) { +anywheresoftware.b4a.keywords.Common.LogImpl("535979265","BT state changed: "+BA.NumberToString(_newstate),0);}; +RDebugUtils.currentLine=35979266; + //BA.debugLineNum = 35979266;BA.debugLine="BluetoothState = NewState = BTAdmin.STATE_ON"; +_bluetoothstate = _newstate==_btadmin.STATE_ON; +RDebugUtils.currentLine=35979268; + //BA.debugLineNum = 35979268;BA.debugLine="End Sub"; +return ""; +} +public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "gps_locationchanged", false)) + {return ((String) Debug.delegate(processBA, "gps_locationchanged", new Object[] {_location1}));} +RDebugUtils.currentLine=36175872; + //BA.debugLineNum = 36175872;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=36175874; + //BA.debugLineNum = 36175874;BA.debugLine="End Sub"; +return ""; +} +public static String _logcat_logcatdata(byte[] _buffer,int _length) throws Exception{ +RDebugUtils.currentModule="starter"; +if (Debug.shouldDelegate(processBA, "logcat_logcatdata", false)) + {return ((String) Debug.delegate(processBA, "logcat_logcatdata", new Object[] {_buffer,_length}));} +RDebugUtils.currentLine=36438016; + //BA.debugLineNum = 36438016;BA.debugLine="Private Sub logcat_LogCatData (Buffer() As Byte, L"; +RDebugUtils.currentLine=36438017; + //BA.debugLineNum = 36438017;BA.debugLine="logs.Append(BytesToString(Buffer, 0, Length, \"utf"; +_logs.Append(anywheresoftware.b4a.keywords.Common.BytesToString(_buffer,(int) (0),_length,"utf8")); +RDebugUtils.currentLine=36438018; + //BA.debugLineNum = 36438018;BA.debugLine="If logs.Length > 4000 Then"; +if (_logs.getLength()>4000) { +RDebugUtils.currentLine=36438019; + //BA.debugLineNum = 36438019;BA.debugLine="logs.Remove(0, logs.Length - 2000) 'Obtenemos lo"; +_logs.Remove((int) (0),(int) (_logs.getLength()-2000)); + }; +RDebugUtils.currentLine=36438021; + //BA.debugLineNum = 36438021;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=35913728; + //BA.debugLineNum = 35913728;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=35913731; + //BA.debugLineNum = 35913731;BA.debugLine="gps.Initialize(\"GPS\")"; +_gps.Initialize("GPS"); +RDebugUtils.currentLine=35913732; + //BA.debugLineNum = 35913732;BA.debugLine="s.Initialize(Me, \"Subs\") 'Inicializamos la clase"; +_s._initialize /*Object*/ (null,processBA,starter.getObject(),"Subs"); +RDebugUtils.currentLine=35913733; + //BA.debugLineNum = 35913733;BA.debugLine="skmt = s.inicializaBD(File.DirInternal, \"kmt.db\")"; +_skmt = _s._inicializabd /*anywheresoftware.b4a.sql.SQL*/ (null,anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db"); +RDebugUtils.currentLine=35913734; + //BA.debugLineNum = 35913734;BA.debugLine="BTAdmin.Initialize(\"admin\")"; +_btadmin.Initialize(processBA,"admin"); +RDebugUtils.currentLine=35913736; + //BA.debugLineNum = 35913736;BA.debugLine="Timer1.Initialize(\"Timer1\", Interval * 1000)"; +_timer1.Initialize(processBA,"Timer1",(long) (_interval*1000)); +RDebugUtils.currentLine=35913737; + //BA.debugLineNum = 35913737;BA.debugLine="Timer1.Enabled = True"; +_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=35913742; + //BA.debugLineNum = 35913742;BA.debugLine="logs.Initialize"; +_logs.Initialize(); +RDebugUtils.currentLine=35913744; + //BA.debugLineNum = 35913744;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=36306944; + //BA.debugLineNum = 36306944;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=36306946; + //BA.debugLineNum = 36306946;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=36044800; + //BA.debugLineNum = 36044800;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=36044801; + //BA.debugLineNum = 36044801;BA.debugLine="Service.StopAutomaticForeground 'Starter service"; +mostCurrent._service.StopAutomaticForeground(); +RDebugUtils.currentLine=36044802; + //BA.debugLineNum = 36044802;BA.debugLine="Subs.revisaBD"; +mostCurrent._subs._revisabd /*String*/ (processBA); +RDebugUtils.currentLine=36044804; + //BA.debugLineNum = 36044804;BA.debugLine="If s.traeDBReqServerDeBD(skmt) <> \"N/A\" And s.tra"; +if ((_s._traedbreqserverdebd /*String*/ (null,_skmt)).equals("N/A") == false && (_s._traedbreqserverdebd /*String*/ (null,_skmt)).equals("") == false) { +_dbreqserver = _s._traedbreqserverdebd /*String*/ (null,_skmt);}; +RDebugUtils.currentLine=36044805; + //BA.debugLineNum = 36044805;BA.debugLine="reqManager.Initialize(Me, DBReqServer)"; +_reqmanager._initialize /*String*/ (null,processBA,starter.getObject(),_dbreqserver); +RDebugUtils.currentLine=36044806; + //BA.debugLineNum = 36044806;BA.debugLine="Log($\"Starter - |${DBReqServer}|\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("536044806",("Starter - |"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_dbreqserver))+"|"),0); +RDebugUtils.currentLine=36044807; + //BA.debugLineNum = 36044807;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=36241408; + //BA.debugLineNum = 36241408;BA.debugLine="Sub Service_TaskRemoved"; +RDebugUtils.currentLine=36241410; + //BA.debugLineNum = 36241410;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=36110336; + //BA.debugLineNum = 36110336;BA.debugLine="Private Sub Timer1_Tick"; +RDebugUtils.currentLine=36110338; + //BA.debugLineNum = 36110338;BA.debugLine="ENVIA_ULTIMA_GPS"; +_envia_ultima_gps(); +RDebugUtils.currentLine=36110339; + //BA.debugLineNum = 36110339;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/subs.java b/B4A/Objects/src/SHARK2/keymon/com/mx/subs.java new file mode 100644 index 0000000..9bf5d0a --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/subs.java @@ -0,0 +1,4329 @@ +package SHARK2.keymon.com.mx; + + +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 static boolean _subslogs = false; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.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=38862848; + //BA.debugLineNum = 38862848;BA.debugLine="Sub panelVisible(panel As Panel, top As Int, left"; +RDebugUtils.currentLine=38862849; + //BA.debugLineNum = 38862849;BA.debugLine="panel.BringToFront"; +_panel.BringToFront(); +RDebugUtils.currentLine=38862850; + //BA.debugLineNum = 38862850;BA.debugLine="panel.Visible = True"; +_panel.setVisible(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=38862851; + //BA.debugLineNum = 38862851;BA.debugLine="panel.Top = top"; +_panel.setTop(_top); +RDebugUtils.currentLine=38862852; + //BA.debugLineNum = 38862852;BA.debugLine="panel.Left = left"; +_panel.setLeft(_left); +RDebugUtils.currentLine=38862853; + //BA.debugLineNum = 38862853;BA.debugLine="End Sub"; +return ""; +} +public static String _guardaappinfo(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.sql.SQL _skmt) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardaappinfo", false)) + {return ((String) Debug.delegate(null, "guardaappinfo", new Object[] {_ba,_skmt}));} +RDebugUtils.currentLine=41943040; + //BA.debugLineNum = 41943040;BA.debugLine="Sub guardaAppInfo(skmt As SQL)"; +RDebugUtils.currentLine=41943041; + //BA.debugLineNum = 41943041;BA.debugLine="skmt.ExecNonQuery(\"delete from CAT_VARIABLES wher"; +_skmt.ExecNonQuery("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'"); +RDebugUtils.currentLine=41943042; + //BA.debugLineNum = 41943042;BA.debugLine="skmt.ExecNonQuery($\"insert into CAT_VARIABLES (CA"; +_skmt.ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_NAME', '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getLabelName()))+"')")); +RDebugUtils.currentLine=41943043; + //BA.debugLineNum = 41943043;BA.debugLine="skmt.ExecNonQuery($\"insert into CAT_VARIABLES (CA"; +_skmt.ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_VERSION', '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+"')")); +RDebugUtils.currentLine=41943044; + //BA.debugLineNum = 41943044;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=41811968; + //BA.debugLineNum = 41811968;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; +RDebugUtils.currentLine=41811969; + //BA.debugLineNum = 41811969;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; +try {RDebugUtils.currentLine=41811970; + //BA.debugLineNum = 41811970;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+"'")))); +RDebugUtils.currentLine=41811971; + //BA.debugLineNum = 41811971;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=41811972; + //BA.debugLineNum = 41811972;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; +if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { +RDebugUtils.currentLine=41811973; + //BA.debugLineNum = 41811973;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=41811974; + //BA.debugLineNum = 41811974;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +anywheresoftware.b4a.keywords.Common.LogImpl("541811974",("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=41811977; + //BA.debugLineNum = 41811977;BA.debugLine="Try"; +try {RDebugUtils.currentLine=41811978; + //BA.debugLineNum = 41811978;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"")); +RDebugUtils.currentLine=41811979; + //BA.debugLineNum = 41811979;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; +anywheresoftware.b4a.keywords.Common.LogImpl("541811979",("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=41811981; + //BA.debugLineNum = 41811981;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("541811981",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); + }; + }; +RDebugUtils.currentLine=41811984; + //BA.debugLineNum = 41811984;BA.debugLine="End Sub"; +return ""; +} +public static String _traecliente(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traecliente", false)) + {return ((String) Debug.delegate(null, "traecliente", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _cl = ""; +RDebugUtils.currentLine=39649280; + //BA.debugLineNum = 39649280;BA.debugLine="Sub traeCliente As String 'ignore"; +RDebugUtils.currentLine=39649281; + //BA.debugLineNum = 39649281;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=39649282; + //BA.debugLineNum = 39649282;BA.debugLine="Private cl As String"; +_cl = ""; +RDebugUtils.currentLine=39649283; + //BA.debugLineNum = 39649283;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); +RDebugUtils.currentLine=39649284; + //BA.debugLineNum = 39649284;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=39649285; + //BA.debugLineNum = 39649285;BA.debugLine="cl = c.GetString(\"CUENTA\")"; +_cl = _c.GetString("CUENTA"); +RDebugUtils.currentLine=39649286; + //BA.debugLineNum = 39649286;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=39649287; + //BA.debugLineNum = 39649287;BA.debugLine="Return cl"; +if (true) return _cl; +RDebugUtils.currentLine=39649288; + //BA.debugLineNum = 39649288;BA.debugLine="End Sub"; +return ""; +} +public static double _traetotalclientepreventaparacredito(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traetotalclientepreventaparacredito", false)) + {return ((Double) Debug.delegate(null, "traetotalclientepreventaparacredito", new Object[] {_ba}));} +double _sumatotal = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cursorprueba = null; +int _i = 0; +RDebugUtils.currentLine=40370176; + //BA.debugLineNum = 40370176;BA.debugLine="Sub traeTotalClientepreventaparacredito As Double"; +RDebugUtils.currentLine=40370177; + //BA.debugLineNum = 40370177;BA.debugLine="Private sumaTotal As Double"; +_sumatotal = 0; +RDebugUtils.currentLine=40370178; + //BA.debugLineNum = 40370178;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; +_cursorprueba = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cursorprueba = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0 AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",new String[]{"PREVENTA"}))); +RDebugUtils.currentLine=40370179; + //BA.debugLineNum = 40370179;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; +{ +final int step3 = 1; +final int limit3 = (int) (_cursorprueba.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit3 ;_i = _i + step3 ) { +RDebugUtils.currentLine=40370180; + //BA.debugLineNum = 40370180;BA.debugLine="cursorprueba.Position = i"; +_cursorprueba.setPosition(_i); +RDebugUtils.currentLine=40370182; + //BA.debugLineNum = 40370182;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; +_sumatotal = _sumatotal+(double)(Double.parseDouble(_cursorprueba.GetString("PE_COSTO_TOT"))); +RDebugUtils.currentLine=40370183; + //BA.debugLineNum = 40370183;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; +_sumatotal = (double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.NumberFormat2(_sumatotal,(int) (0),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False))); + } +}; +RDebugUtils.currentLine=40370186; + //BA.debugLineNum = 40370186;BA.debugLine="cursorprueba.Close"; +_cursorprueba.Close(); +RDebugUtils.currentLine=40370187; + //BA.debugLineNum = 40370187;BA.debugLine="Return sumaTotal"; +if (true) return _sumatotal; +RDebugUtils.currentLine=40370188; + //BA.debugLineNum = 40370188;BA.debugLine="End Sub"; +return 0; +} +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=38993920; + //BA.debugLineNum = 38993920;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; +RDebugUtils.currentLine=38993921; + //BA.debugLineNum = 38993921;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=38993922; + //BA.debugLineNum = 38993922;BA.debugLine="End Sub"; +return ""; +} +public static boolean _pedidoguardado(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "pedidoguardado", false)) + {return ((Boolean) Debug.delegate(null, "pedidoguardado", new Object[] {_ba}));} +boolean _guardado = false; +anywheresoftware.b4a.sql.SQL.CursorWrapper _g = null; +RDebugUtils.currentLine=41680896; + //BA.debugLineNum = 41680896;BA.debugLine="Sub pedidoGuardado As Boolean"; +RDebugUtils.currentLine=41680897; + //BA.debugLineNum = 41680897;BA.debugLine="Private guardado As Boolean = False"; +_guardado = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=41680898; + //BA.debugLineNum = 41680898;BA.debugLine="Private g As Cursor = B4XPages.MainPage.skmt.Exec"; +_g = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_g = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select gestion from kmt_info where CAT_CL_CODIGO in (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=41680899; + //BA.debugLineNum = 41680899;BA.debugLine="If g.RowCount > 0 Then"; +if (_g.getRowCount()>0) { +RDebugUtils.currentLine=41680900; + //BA.debugLineNum = 41680900;BA.debugLine="g.Position=0"; +_g.setPosition((int) (0)); +RDebugUtils.currentLine=41680901; + //BA.debugLineNum = 41680901;BA.debugLine="If g.GetString(\"gestion\") = \"2\" Or g.GetString(\""; +if ((_g.GetString("gestion")).equals("2") || (_g.GetString("gestion")).equals("3")) { +_guardado = anywheresoftware.b4a.keywords.Common.True;}; + }; +RDebugUtils.currentLine=41680904; + //BA.debugLineNum = 41680904;BA.debugLine="Return guardado"; +if (true) return _guardado; +RDebugUtils.currentLine=41680905; + //BA.debugLineNum = 41680905;BA.debugLine="End Sub"; +return false; +} +public static String _borrapedidoclienteactual(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "borrapedidoclienteactual", false)) + {return ((String) Debug.delegate(null, "borrapedidoclienteactual", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _thisc = null; +int _i = 0; +RDebugUtils.currentLine=41484288; + //BA.debugLineNum = 41484288;BA.debugLine="Sub borraPedidoClienteActual As String"; +RDebugUtils.currentLine=41484302; + //BA.debugLineNum = 41484302;BA.debugLine="Private thisC As Cursor"; +_thisc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=41484304; + //BA.debugLineNum = 41484304;BA.debugLine="thisC=Starter.skmt.ExecQuery(\"select PE_PRONOMBRE"; +_thisc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PRONOMBRE, PE_PROID, PE_CANT, PE_FOLIO FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) "))); +RDebugUtils.currentLine=41484305; + //BA.debugLineNum = 41484305;BA.debugLine="If thisC.RowCount>0 Then"; +if (_thisc.getRowCount()>0) { +RDebugUtils.currentLine=41484306; + //BA.debugLineNum = 41484306;BA.debugLine="For i=0 To thisC.RowCount -1"; +{ +final int step4 = 1; +final int limit4 = (int) (_thisc.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=41484307; + //BA.debugLineNum = 41484307;BA.debugLine="thisC.Position = i"; +_thisc.setPosition(_i); +RDebugUtils.currentLine=41484318; + //BA.debugLineNum = 41484318;BA.debugLine="If thisC.GetString(\"PE_FOLIO\") = \"VENTA\" Then"; +if ((_thisc.GetString("PE_FOLIO")).equals("VENTA")) { +RDebugUtils.currentLine=41484319; + //BA.debugLineNum = 41484319;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update $"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_thisc.GetString("PE_FOLIO"))))+" set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=41484320; + //BA.debugLineNum = 41484320;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete f"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_thisc.GetString("PE_PRONOMBRE"),_thisc.GetString("PE_FOLIO")})); + }else { +RDebugUtils.currentLine=41484322; + //BA.debugLineNum = 41484322;BA.debugLine="Starter.skmt.ExecNonQuery($\"update CAT_GUNAPRO"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=41484323; + //BA.debugLineNum = 41484323;BA.debugLine="Starter.skmt.ExecNonQuery($\"update CAT_GUNAPRO"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'")); +RDebugUtils.currentLine=41484324; + //BA.debugLineNum = 41484324;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete f"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_thisc.GetString("PE_PRONOMBRE"),_thisc.GetString("PE_FOLIO")})); + }; +RDebugUtils.currentLine=41484327; + //BA.debugLineNum = 41484327;BA.debugLine="LogColor($\"update ${traeTablaProds(thisC.GetStr"; +anywheresoftware.b4a.keywords.Common.LogImpl("541484327",("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_thisc.GetString("PE_FOLIO"))))+" set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'"),anywheresoftware.b4a.keywords.Common.Colors.Red); + } +}; + }; +RDebugUtils.currentLine=41484331; + //BA.debugLineNum = 41484331;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_cli"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"); +RDebugUtils.currentLine=41484332; + //BA.debugLineNum = 41484332;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido whe"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"); +RDebugUtils.currentLine=41484333; + //BA.debugLineNum = 41484333;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE kmt_info set ge"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=41484334; + //BA.debugLineNum = 41484334;BA.debugLine="Return 1"; +if (true) return BA.NumberToString(1); +RDebugUtils.currentLine=41484335; + //BA.debugLineNum = 41484335;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=39518208; + //BA.debugLineNum = 39518208;BA.debugLine="Sub traeRuta (cliente As String) As String 'ignore"; +RDebugUtils.currentLine=39518209; + //BA.debugLineNum = 39518209;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=39518210; + //BA.debugLineNum = 39518210;BA.debugLine="Private r As String"; +_r = ""; +RDebugUtils.currentLine=39518211; + //BA.debugLineNum = 39518211;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_C"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' UNION ALL select CAT_CL_RUTA from kmt_info2 where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'")))); +RDebugUtils.currentLine=39518212; + //BA.debugLineNum = 39518212;BA.debugLine="r = \"0\""; +_r = "0"; +RDebugUtils.currentLine=39518213; + //BA.debugLineNum = 39518213;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=39518214; + //BA.debugLineNum = 39518214;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=39518215; + //BA.debugLineNum = 39518215;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +_r = _c.GetString("CAT_CL_RUTA"); + }; +RDebugUtils.currentLine=39518217; + //BA.debugLineNum = 39518217;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=39518218; + //BA.debugLineNum = 39518218;BA.debugLine="Return r"; +if (true) return _r; +RDebugUtils.currentLine=39518219; + //BA.debugLineNum = 39518219;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 _c2 = null; +String _b = ""; +RDebugUtils.currentLine=39321600; + //BA.debugLineNum = 39321600;BA.debugLine="Sub traeAlmacen As String 'ignore"; +RDebugUtils.currentLine=39321601; + //BA.debugLineNum = 39321601;BA.debugLine="Private c2 As Cursor"; +_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=39321602; + //BA.debugLineNum = 39321602;BA.debugLine="Private b As String"; +_b = ""; +RDebugUtils.currentLine=39321603; + //BA.debugLineNum = 39321603;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; +_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); +RDebugUtils.currentLine=39321604; + //BA.debugLineNum = 39321604;BA.debugLine="Log(c2.RowCount)"; +anywheresoftware.b4a.keywords.Common.LogImpl("539321604",BA.NumberToString(_c2.getRowCount()),0); +RDebugUtils.currentLine=39321605; + //BA.debugLineNum = 39321605;BA.debugLine="c2.Position = 0"; +_c2.setPosition((int) (0)); +RDebugUtils.currentLine=39321606; + //BA.debugLineNum = 39321606;BA.debugLine="b = c2.GetString(\"ID_ALMACEN\")"; +_b = _c2.GetString("ID_ALMACEN"); +RDebugUtils.currentLine=39321607; + //BA.debugLineNum = 39321607;BA.debugLine="Log(\"Esto es almacen !!!!!!! \" &c2.GetString(\"ID_"; +anywheresoftware.b4a.keywords.Common.LogImpl("539321607","Esto es almacen !!!!!!! "+_c2.GetString("ID_ALMACEN")+" Esto es almacen !!!!!!!",0); +RDebugUtils.currentLine=39321608; + //BA.debugLineNum = 39321608;BA.debugLine="Return b"; +if (true) return _b; +RDebugUtils.currentLine=39321609; + //BA.debugLineNum = 39321609;BA.debugLine="End Sub"; +return ""; +} +public static String _actualizatet(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "actualizatet", false)) + {return ((String) Debug.delegate(null, "actualizatet", new Object[] {_ba,_cliente}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +long _total = 0L; +int _i = 0; +long _subtotal = 0L; +RDebugUtils.currentLine=41353216; + //BA.debugLineNum = 41353216;BA.debugLine="Sub actualizaTET(cliente As String)"; +RDebugUtils.currentLine=41353217; + //BA.debugLineNum = 41353217;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.Execquer"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * from PEDIDO_INICIO_FINAL where PIF_CLIENTE = ?",new String[]{_cliente}))); +RDebugUtils.currentLine=41353218; + //BA.debugLineNum = 41353218;BA.debugLine="Dim total As Long = 0"; +_total = (long) (0); +RDebugUtils.currentLine=41353219; + //BA.debugLineNum = 41353219;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=41353220; + //BA.debugLineNum = 41353220;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=41353221; + //BA.debugLineNum = 41353221;BA.debugLine="For i = 0 To c.RowCount-1"; +{ +final int step5 = 1; +final int limit5 = (int) (_c.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=41353222; + //BA.debugLineNum = 41353222;BA.debugLine="c.Position=i"; +_c.setPosition(_i); +RDebugUtils.currentLine=41353224; + //BA.debugLineNum = 41353224;BA.debugLine="Dim subtotal As Long = c.GetString(\"PIF_HORA_FI"; +_subtotal = (long) ((double)(Double.parseDouble(_c.GetString("PIF_HORA_FINAL")))-(double)(Double.parseDouble(_c.GetString("PIF_HORA_INICIO")))); +RDebugUtils.currentLine=41353225; + //BA.debugLineNum = 41353225;BA.debugLine="total = total + subtotal"; +_total = (long) (_total+_subtotal); + } +}; +RDebugUtils.currentLine=41353229; + //BA.debugLineNum = 41353229;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update PED"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update PEDIDO_CLIENTE set PC_TIEMPO_TIENDA = ? where PC_CLIENTE = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.NumberToString(((_total/(double)1000)/(double)60)),_cliente})); + }; +RDebugUtils.currentLine=41353231; + //BA.debugLineNum = 41353231;BA.debugLine="End Sub"; +return ""; +} +public static String _borrapedidocredito(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "borrapedidocredito", false)) + {return ((String) Debug.delegate(null, "borrapedidocredito", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _cpedidos = null; +int _i = 0; +String _productoid = ""; +int _cantidad = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _pcli = null; +RDebugUtils.currentLine=41549824; + //BA.debugLineNum = 41549824;BA.debugLine="Sub borraPedidoCredito As String"; +RDebugUtils.currentLine=41549825; + //BA.debugLineNum = 41549825;BA.debugLine="Dim cPedidos As Cursor"; +_cpedidos = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=41549826; + //BA.debugLineNum = 41549826;BA.debugLine="cPedidos = Starter.skmt.ExecQuery(\"SELECT PE_PROI"; +_cpedidos = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PE_PROID, PE_CANT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"))); +RDebugUtils.currentLine=41549828; + //BA.debugLineNum = 41549828;BA.debugLine="If cPedidos.RowCount > 0 Then"; +if (_cpedidos.getRowCount()>0) { +RDebugUtils.currentLine=41549829; + //BA.debugLineNum = 41549829;BA.debugLine="For i = 0 To cPedidos.RowCount - 1"; +{ +final int step4 = 1; +final int limit4 = (int) (_cpedidos.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit4 ;_i = _i + step4 ) { +RDebugUtils.currentLine=41549830; + //BA.debugLineNum = 41549830;BA.debugLine="cPedidos.Position = i"; +_cpedidos.setPosition(_i); +RDebugUtils.currentLine=41549831; + //BA.debugLineNum = 41549831;BA.debugLine="Dim productoId As String = cPedidos.GetString(\""; +_productoid = _cpedidos.GetString("PE_PROID"); +RDebugUtils.currentLine=41549832; + //BA.debugLineNum = 41549832;BA.debugLine="Dim cantidad As Int = cPedidos.GetInt(\"PE_CANT\""; +_cantidad = _cpedidos.GetInt("PE_CANT"); +RDebugUtils.currentLine=41549834; + //BA.debugLineNum = 41549834;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_ID = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.NumberToString(_cantidad),_productoid})); +RDebugUtils.currentLine=41549835; + //BA.debugLineNum = 41549835;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE CAT_GUNAPROD"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD4 SET CAT_GP_ALMACEN = CAT_GP_ALMACEN + ? WHERE CAT_GP_ID = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.NumberToString(_cantidad),_productoid})); + } +}; + }; +RDebugUtils.currentLine=41549839; + //BA.debugLineNum = 41549839;BA.debugLine="cPedidos.Close"; +_cpedidos.Close(); +RDebugUtils.currentLine=41549841; + //BA.debugLineNum = 41549841;BA.debugLine="Starter.skmt.ExecNonQuery(\"DELETE FROM PEDIDO WHE"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'"); +RDebugUtils.currentLine=41549843; + //BA.debugLineNum = 41549843;BA.debugLine="Log(\"Pedidos a crédito borrados correctamente.\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("541549843","Pedidos a crédito borrados correctamente.",0); +RDebugUtils.currentLine=41549844; + //BA.debugLineNum = 41549844;BA.debugLine="Return \"1\""; +if (true) return "1"; +RDebugUtils.currentLine=41549846; + //BA.debugLineNum = 41549846;BA.debugLine="Dim pCli As Cursor = Starter.skmt.ExecQuery(\"sele"; +_pcli = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pcli = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_CLIENTE, PE_FECHA, PE_CEDIS, sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=41549847; + //BA.debugLineNum = 41549847;BA.debugLine="If pCli.RowCount > 0 Then"; +if (_pcli.getRowCount()>0) { +RDebugUtils.currentLine=41549848; + //BA.debugLineNum = 41549848;BA.debugLine="pCli.Position = 0"; +_pcli.setPosition((int) (0)); +RDebugUtils.currentLine=41549849; + //BA.debugLineNum = 41549849;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_pcli.GetString("PE_CLIENTE"),_pcli.GetString("PE_FECHA"),_pcli.GetString("PE_USUARIO"),_pcli.GetString("CANT_CLIE"),_pcli.GetString("TOTAL_CLIE"),mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._lon_gps /*String*/ ,mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._lat_gps /*String*/ ,_pcli.GetString("PE_CEDIS"),_pcli.GetString("TOTAL_CLIE_SIN")})); + }else { +RDebugUtils.currentLine=41549851; + //BA.debugLineNum = 41549851;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE KMT_INFO SET G"; +mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE KMT_INFO SET GESTION = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"); + }; +RDebugUtils.currentLine=41549853; + //BA.debugLineNum = 41549853;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=39780352; + //BA.debugLineNum = 39780352;BA.debugLine="Sub traeUsuarioDeBD As String 'ignore"; +RDebugUtils.currentLine=39780353; + //BA.debugLineNum = 39780353;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=39780354; + //BA.debugLineNum = 39780354;BA.debugLine="Private u As String = \"SinUsuario\""; +_u = "SinUsuario"; +RDebugUtils.currentLine=39780355; + //BA.debugLineNum = 39780355;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=39780356; + //BA.debugLineNum = 39780356;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=39780357; + //BA.debugLineNum = 39780357;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=39780358; + //BA.debugLineNum = 39780358;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +if (_c.getRowCount()>0) { +_u = _c.GetString("USUARIO");}; +RDebugUtils.currentLine=39780359; + //BA.debugLineNum = 39780359;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=39780360; + //BA.debugLineNum = 39780360;BA.debugLine="Return u"; +if (true) return _u; +RDebugUtils.currentLine=39780361; + //BA.debugLineNum = 39780361;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=37093376; + //BA.debugLineNum = 37093376;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; +RDebugUtils.currentLine=37093378; + //BA.debugLineNum = 37093378;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=37093379; + //BA.debugLineNum = 37093379;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); +RDebugUtils.currentLine=37093380; + //BA.debugLineNum = 37093380;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; +_nuevafecha = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); +RDebugUtils.currentLine=37093381; + //BA.debugLineNum = 37093381;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=37093383; + //BA.debugLineNum = 37093383;BA.debugLine="Return nuevaFecha"; +if (true) return _nuevafecha; +RDebugUtils.currentLine=37093384; + //BA.debugLineNum = 37093384;BA.debugLine="End Sub"; +return ""; +} +public static String _logjobdoneresultados(anywheresoftware.b4a.BA _ba,SHARK2.keymon.com.mx.dbrequestmanager._dbresult _resultado) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "logjobdoneresultados", false)) + {return ((String) Debug.delegate(null, "logjobdoneresultados", new Object[] {_ba,_resultado}));} +Object[] _records = null; +String _k = ""; +RDebugUtils.currentLine=41877504; + //BA.debugLineNum = 41877504;BA.debugLine="Sub logJobDoneResultados(resultado As DBResult)"; +RDebugUtils.currentLine=41877505; + //BA.debugLineNum = 41877505;BA.debugLine="For Each records() As Object In resultado.Rows"; +{ +final anywheresoftware.b4a.BA.IterableList group1 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen1 = group1.getSize() +;int index1 = 0; +; +for (; index1 < groupLen1;index1++){ +_records = (Object[])(group1.Get(index1)); +RDebugUtils.currentLine=41877506; + //BA.debugLineNum = 41877506;BA.debugLine="LogColor($\"====== ${resultado.Tag} - REGISTROS ="; +anywheresoftware.b4a.keywords.Common.LogImpl("541877506",("====== "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_resultado.Tag /*Object*/ )+" - REGISTROS = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0))); +RDebugUtils.currentLine=41877507; + //BA.debugLineNum = 41877507;BA.debugLine="For Each k As String In resultado.Columns.Keys"; +{ +final anywheresoftware.b4a.BA.IterableList group3 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); +final int groupLen3 = group3.getSize() +;int index3 = 0; +; +for (; index3 < groupLen3;index3++){ +_k = BA.ObjectToString(group3.Get(index3)); +RDebugUtils.currentLine=41877508; + //BA.debugLineNum = 41877508;BA.debugLine="LogColor(k & \" = \" & records(resultado.Columns."; +anywheresoftware.b4a.keywords.Common.LogImpl("541877508",_k+" = "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0))); + } +}; + } +}; +RDebugUtils.currentLine=41877511; + //BA.debugLineNum = 41877511;BA.debugLine="End Sub"; +return ""; +} +public static String _guardaclientehorainicio(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardaclientehorainicio", false)) + {return ((String) Debug.delegate(null, "guardaclientehorainicio", new Object[] {_ba,_cliente}));} +RDebugUtils.currentLine=41287680; + //BA.debugLineNum = 41287680;BA.debugLine="Sub guardaClienteHoraInicio(cliente As String)"; +RDebugUtils.currentLine=41287681; + //BA.debugLineNum = 41287681;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into PEDIDO_INICIO_FINAL(PIF_CLIENTE, PIF_HORA_INICIO, PIF_HORA_FINAL) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cliente),(Object)(anywheresoftware.b4a.keywords.Common.DateTime.getNow()),(Object)(0)})); +RDebugUtils.currentLine=41287683; + //BA.debugLineNum = 41287683;BA.debugLine="End Sub"; +return ""; +} +public static String _centrapanelv(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _altoelementosuperior) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centrapanelv", false)) + {return ((String) Debug.delegate(null, "centrapanelv", new Object[] {_ba,_elemento,_altoelementosuperior}));} +RDebugUtils.currentLine=39059456; + //BA.debugLineNum = 39059456;BA.debugLine="Sub centraPanelV(elemento As Panel, altoElementoSu"; +RDebugUtils.currentLine=39059457; + //BA.debugLineNum = 39059457;BA.debugLine="elemento.Top = Round(altoElementoSuperior/2)-(ele"; +_elemento.setTop((int) (anywheresoftware.b4a.keywords.Common.Round(_altoelementosuperior/(double)2)-(_elemento.getHeight()/(double)2))); +RDebugUtils.currentLine=39059458; + //BA.debugLineNum = 39059458;BA.debugLine="End Sub"; +return ""; +} +public static double _traetotalcliente(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traetotalcliente", false)) + {return ((Double) Debug.delegate(null, "traetotalcliente", new Object[] {_ba}));} +double _sumatotal = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cursorprueba = null; +int _i = 0; +RDebugUtils.currentLine=40173568; + //BA.debugLineNum = 40173568;BA.debugLine="Sub traeTotalCliente As Double"; +RDebugUtils.currentLine=40173569; + //BA.debugLineNum = 40173569;BA.debugLine="Private sumaTotal As Double"; +_sumatotal = 0; +RDebugUtils.currentLine=40173570; + //BA.debugLineNum = 40173570;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; +_cursorprueba = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cursorprueba = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select PE_COSTO_TOT from pedido where PE_CLIENTE <> 0 "))); +RDebugUtils.currentLine=40173571; + //BA.debugLineNum = 40173571;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; +{ +final int step3 = 1; +final int limit3 = (int) (_cursorprueba.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit3 ;_i = _i + step3 ) { +RDebugUtils.currentLine=40173572; + //BA.debugLineNum = 40173572;BA.debugLine="cursorprueba.Position = i"; +_cursorprueba.setPosition(_i); +RDebugUtils.currentLine=40173574; + //BA.debugLineNum = 40173574;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; +_sumatotal = _sumatotal+(double)(Double.parseDouble(_cursorprueba.GetString("PE_COSTO_TOT"))); +RDebugUtils.currentLine=40173575; + //BA.debugLineNum = 40173575;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; +_sumatotal = (double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.NumberFormat2(_sumatotal,(int) (0),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False))); + } +}; +RDebugUtils.currentLine=40173578; + //BA.debugLineNum = 40173578;BA.debugLine="cursorprueba.Close"; +_cursorprueba.Close(); +RDebugUtils.currentLine=40173579; + //BA.debugLineNum = 40173579;BA.debugLine="Return sumaTotal"; +if (true) return _sumatotal; +RDebugUtils.currentLine=40173580; + //BA.debugLineNum = 40173580;BA.debugLine="End Sub"; +return 0; +} +public static double _traetotalclientepreventa(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traetotalclientepreventa", false)) + {return ((Double) Debug.delegate(null, "traetotalclientepreventa", new Object[] {_ba}));} +double _sumatotal = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cursorprueba = null; +int _i = 0; +RDebugUtils.currentLine=40304640; + //BA.debugLineNum = 40304640;BA.debugLine="Sub traeTotalClientepreventa As Double"; +RDebugUtils.currentLine=40304641; + //BA.debugLineNum = 40304641;BA.debugLine="Private sumaTotal As Double"; +_sumatotal = 0; +RDebugUtils.currentLine=40304642; + //BA.debugLineNum = 40304642;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; +_cursorprueba = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cursorprueba = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0",new String[]{"PREVENTA_CONTADO"}))); +RDebugUtils.currentLine=40304643; + //BA.debugLineNum = 40304643;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; +{ +final int step3 = 1; +final int limit3 = (int) (_cursorprueba.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit3 ;_i = _i + step3 ) { +RDebugUtils.currentLine=40304644; + //BA.debugLineNum = 40304644;BA.debugLine="cursorprueba.Position = i"; +_cursorprueba.setPosition(_i); +RDebugUtils.currentLine=40304646; + //BA.debugLineNum = 40304646;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; +_sumatotal = _sumatotal+(double)(Double.parseDouble(_cursorprueba.GetString("PE_COSTO_TOT"))); +RDebugUtils.currentLine=40304647; + //BA.debugLineNum = 40304647;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; +_sumatotal = (double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.NumberFormat2(_sumatotal,(int) (0),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False))); + } +}; +RDebugUtils.currentLine=40304650; + //BA.debugLineNum = 40304650;BA.debugLine="cursorprueba.Close"; +_cursorprueba.Close(); +RDebugUtils.currentLine=40304651; + //BA.debugLineNum = 40304651;BA.debugLine="Return sumaTotal"; +if (true) return _sumatotal; +RDebugUtils.currentLine=40304652; + //BA.debugLineNum = 40304652;BA.debugLine="End Sub"; +return 0; +} +public static double _traetotalclienteventa(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traetotalclienteventa", false)) + {return ((Double) Debug.delegate(null, "traetotalclienteventa", new Object[] {_ba}));} +double _sumatotal = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cursorprueba = null; +int _i = 0; +RDebugUtils.currentLine=40435712; + //BA.debugLineNum = 40435712;BA.debugLine="Sub traeTotalClienteventa As Double"; +RDebugUtils.currentLine=40435713; + //BA.debugLineNum = 40435713;BA.debugLine="Private sumaTotal As Double"; +_sumatotal = 0; +RDebugUtils.currentLine=40435714; + //BA.debugLineNum = 40435714;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; +_cursorprueba = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cursorprueba = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0",new String[]{"VENTA"}))); +RDebugUtils.currentLine=40435715; + //BA.debugLineNum = 40435715;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; +{ +final int step3 = 1; +final int limit3 = (int) (_cursorprueba.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit3 ;_i = _i + step3 ) { +RDebugUtils.currentLine=40435716; + //BA.debugLineNum = 40435716;BA.debugLine="cursorprueba.Position = i"; +_cursorprueba.setPosition(_i); +RDebugUtils.currentLine=40435718; + //BA.debugLineNum = 40435718;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; +_sumatotal = _sumatotal+(double)(Double.parseDouble(_cursorprueba.GetString("PE_COSTO_TOT"))); +RDebugUtils.currentLine=40435719; + //BA.debugLineNum = 40435719;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; +_sumatotal = (double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.NumberFormat2(_sumatotal,(int) (0),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False))); + } +}; +RDebugUtils.currentLine=40435722; + //BA.debugLineNum = 40435722;BA.debugLine="cursorprueba.Close"; +_cursorprueba.Close(); +RDebugUtils.currentLine=40435723; + //BA.debugLineNum = 40435723;BA.debugLine="Return sumaTotal"; +if (true) return _sumatotal; +RDebugUtils.currentLine=40435724; + //BA.debugLineNum = 40435724;BA.debugLine="End Sub"; +return 0; +} +public static double _traetotalclienteabordo(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traetotalclienteabordo", false)) + {return ((Double) Debug.delegate(null, "traetotalclienteabordo", new Object[] {_ba}));} +double _sumatotal = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _cursorprueba = null; +int _i = 0; +RDebugUtils.currentLine=40239104; + //BA.debugLineNum = 40239104;BA.debugLine="Sub traeTotalClienteabordo As Double"; +RDebugUtils.currentLine=40239105; + //BA.debugLineNum = 40239105;BA.debugLine="Private sumaTotal As Double"; +_sumatotal = 0; +RDebugUtils.currentLine=40239106; + //BA.debugLineNum = 40239106;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; +_cursorprueba = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_cursorprueba = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE = 0",new String[]{"ABORDO"}))); +RDebugUtils.currentLine=40239107; + //BA.debugLineNum = 40239107;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; +{ +final int step3 = 1; +final int limit3 = (int) (_cursorprueba.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit3 ;_i = _i + step3 ) { +RDebugUtils.currentLine=40239108; + //BA.debugLineNum = 40239108;BA.debugLine="cursorprueba.Position = i"; +_cursorprueba.setPosition(_i); +RDebugUtils.currentLine=40239110; + //BA.debugLineNum = 40239110;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; +_sumatotal = _sumatotal+(double)(Double.parseDouble(_cursorprueba.GetString("PE_COSTO_TOT"))); +RDebugUtils.currentLine=40239111; + //BA.debugLineNum = 40239111;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; +_sumatotal = (double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.NumberFormat2(_sumatotal,(int) (0),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False))); + } +}; +RDebugUtils.currentLine=40239114; + //BA.debugLineNum = 40239114;BA.debugLine="cursorprueba.Close"; +_cursorprueba.Close(); +RDebugUtils.currentLine=40239115; + //BA.debugLineNum = 40239115;BA.debugLine="Return sumaTotal"; +if (true) return _sumatotal; +RDebugUtils.currentLine=40239116; + //BA.debugLineNum = 40239116;BA.debugLine="End Sub"; +return 0; +} +public static String _traeruta2(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeruta2", false)) + {return ((String) Debug.delegate(null, "traeruta2", new Object[] {_ba,_cliente}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _r = ""; +RDebugUtils.currentLine=39583744; + //BA.debugLineNum = 39583744;BA.debugLine="Sub traeRuta2 (cliente As String) As String 'ignor"; +RDebugUtils.currentLine=39583745; + //BA.debugLineNum = 39583745;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=39583746; + //BA.debugLineNum = 39583746;BA.debugLine="Private r As String"; +_r = ""; +RDebugUtils.currentLine=39583747; + //BA.debugLineNum = 39583747;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_C"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' UNION ALL select CAT_CL_RUTA from kmt_info2 where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'")))); +RDebugUtils.currentLine=39583748; + //BA.debugLineNum = 39583748;BA.debugLine="r = \"0\""; +_r = "0"; +RDebugUtils.currentLine=39583749; + //BA.debugLineNum = 39583749;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=39583750; + //BA.debugLineNum = 39583750;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=39583751; + //BA.debugLineNum = 39583751;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; +_r = _c.GetString("CAT_CL_RUTA"); + }; +RDebugUtils.currentLine=39583753; + //BA.debugLineNum = 39583753;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=39583754; + //BA.debugLineNum = 39583754;BA.debugLine="Return r"; +if (true) return _r; +RDebugUtils.currentLine=39583755; + //BA.debugLineNum = 39583755;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=38928384; + //BA.debugLineNum = 38928384;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; +RDebugUtils.currentLine=38928385; + //BA.debugLineNum = 38928385;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=38928386; + //BA.debugLineNum = 38928386;BA.debugLine="End Sub"; +return ""; +} +public static String _traeinventario(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeinventario", false)) + {return ((String) Debug.delegate(null, "traeinventario", new Object[] {_ba,_id}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _inventario = ""; +RDebugUtils.currentLine=42008576; + //BA.debugLineNum = 42008576;BA.debugLine="Sub traeinventario(id As String) As String"; +RDebugUtils.currentLine=42008577; + //BA.debugLineNum = 42008577;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=42008578; + //BA.debugLineNum = 42008578;BA.debugLine="Dim inventario As String = \"0\""; +_inventario = "0"; +RDebugUtils.currentLine=42008579; + //BA.debugLineNum = 42008579;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); +RDebugUtils.currentLine=42008581; + //BA.debugLineNum = 42008581;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=42008582; + //BA.debugLineNum = 42008582;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=42008583; + //BA.debugLineNum = 42008583;BA.debugLine="inventario = c.GetString(\"CAT_GP_ALMACEN\")"; +_inventario = _c.GetString("CAT_GP_ALMACEN"); + }; +RDebugUtils.currentLine=42008585; + //BA.debugLineNum = 42008585;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=42008586; + //BA.debugLineNum = 42008586;BA.debugLine="Return inventario"; +if (true) return _inventario; +RDebugUtils.currentLine=42008587; + //BA.debugLineNum = 42008587;BA.debugLine="End Sub"; +return ""; +} +public static String _traeprodnombre(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeprodnombre", false)) + {return ((String) Debug.delegate(null, "traeprodnombre", new Object[] {_ba,_id}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _h = null; +String _n = ""; +RDebugUtils.currentLine=39387136; + //BA.debugLineNum = 39387136;BA.debugLine="Sub traeProdNombre(id As String) As String"; +RDebugUtils.currentLine=39387137; + //BA.debugLineNum = 39387137;BA.debugLine="Private h As Cursor"; +_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=39387138; + //BA.debugLineNum = 39387138;BA.debugLine="Private n As String"; +_n = ""; +RDebugUtils.currentLine=39387139; + //BA.debugLineNum = 39387139;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select CAT_"; +_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" where CAT_GP_ID = ? "),new String[]{_id.trim()}))); +RDebugUtils.currentLine=39387140; + //BA.debugLineNum = 39387140;BA.debugLine="If h.RowCount > 0 Then"; +if (_h.getRowCount()>0) { +RDebugUtils.currentLine=39387141; + //BA.debugLineNum = 39387141;BA.debugLine="h.Position = 0"; +_h.setPosition((int) (0)); +RDebugUtils.currentLine=39387142; + //BA.debugLineNum = 39387142;BA.debugLine="n = h.GetString(\"CAT_GP_NOMBRE\")"; +_n = _h.GetString("CAT_GP_NOMBRE"); + }; +RDebugUtils.currentLine=39387145; + //BA.debugLineNum = 39387145;BA.debugLine="h.Close"; +_h.Close(); +RDebugUtils.currentLine=39387146; + //BA.debugLineNum = 39387146;BA.debugLine="If n = Null Or n=\"\" Then n = \"N/A\""; +if (_n== null || (_n).equals("")) { +_n = "N/A";}; +RDebugUtils.currentLine=39387148; + //BA.debugLineNum = 39387148;BA.debugLine="Return n"; +if (true) return _n; +RDebugUtils.currentLine=39387149; + //BA.debugLineNum = 39387149;BA.debugLine="End Sub"; +return ""; +} +public static anywheresoftware.b4a.objects.collections.Map _traetotalesclienteactual(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traetotalesclienteactual", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traetotalesclienteactual", new Object[] {_ba}));} +anywheresoftware.b4a.objects.collections.Map _m = null; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c_prodsx = null; +RDebugUtils.currentLine=41418752; + //BA.debugLineNum = 41418752;BA.debugLine="Sub traeTotalesClienteActual As Map"; +RDebugUtils.currentLine=41418753; + //BA.debugLineNum = 41418753;BA.debugLine="Private m As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=41418754; + //BA.debugLineNum = 41418754;BA.debugLine="m.Initialize"; +_m.Initialize(); +RDebugUtils.currentLine=41418755; + //BA.debugLineNum = 41418755;BA.debugLine="Private c_prodsX As Cursor=B4XPages.MainPage.skmt"; +_c_prodsx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c_prodsx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ifnull(sum(PE_CANT), 0) as cantProds, ifnull(sum(PE_COSTO_TOT), 0) as costoTotal FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PRONOMBRE asc"))); +RDebugUtils.currentLine=41418756; + //BA.debugLineNum = 41418756;BA.debugLine="c_prodsX.Position=0"; +_c_prodsx.setPosition((int) (0)); +RDebugUtils.currentLine=41418758; + //BA.debugLineNum = 41418758;BA.debugLine="m = CreateMap(\"productos\": c_prodsX.GetString(\"ca"; +_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("productos"),(Object)(_c_prodsx.GetString("cantProds")),(Object)("monto"),(Object)(_c_prodsx.GetString("costoTotal"))}); +RDebugUtils.currentLine=41418759; + //BA.debugLineNum = 41418759;BA.debugLine="Return m"; +if (true) return _m; +RDebugUtils.currentLine=41418760; + //BA.debugLineNum = 41418760;BA.debugLine="End Sub"; +return null; +} +public static String _actualizaproducto(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,int _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _cantc,String _bcajas) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "actualizaproducto", false)) + {return ((String) Debug.delegate(null, "actualizaproducto", new Object[] {_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +int _antcant = 0; +int _difcant = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _pe = null; +RDebugUtils.currentLine=39976960; + //BA.debugLineNum = 39976960;BA.debugLine="Sub actualizaProducto(cedis As String, costoU As S"; +RDebugUtils.currentLine=39976961; + //BA.debugLineNum = 39976961;BA.debugLine="Log(\"Entramos a actualiza producto\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("539976961","Entramos a actualiza producto",0); +RDebugUtils.currentLine=39976962; + //BA.debugLineNum = 39976962;BA.debugLine="Private c As Cursor=B4XPages.MainPage.skmt.ExecQu"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'")))); +RDebugUtils.currentLine=39976964; + //BA.debugLineNum = 39976964;BA.debugLine="LogColor($\"actualizaProducto, c=${clienteId}, p=$"; +anywheresoftware.b4a.keywords.Common.LogImpl("539976964",("actualizaProducto, c="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+", p="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", nombre="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+", cant="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", cedis="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+", tipo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+""),anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=39976965; + //BA.debugLineNum = 39976965;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=39976966; + //BA.debugLineNum = 39976966;BA.debugLine="Log(\"----->1<--------------\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("539976966","----->1<--------------",0); +RDebugUtils.currentLine=39976967; + //BA.debugLineNum = 39976967;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=39976968; + //BA.debugLineNum = 39976968;BA.debugLine="Private antCant As Int = 0"; +_antcant = (int) (0); +RDebugUtils.currentLine=39976969; + //BA.debugLineNum = 39976969;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c."; +if (anywheresoftware.b4a.keywords.Common.IsNumber(BA.NumberToString(_c.GetInt("PE_CANT")))) { +_antcant = _c.GetInt("PE_CANT");}; +RDebugUtils.currentLine=39976970; + //BA.debugLineNum = 39976970;BA.debugLine="Private difCant As Int = cant - antCant"; +_difcant = (int) (_cant-_antcant); +RDebugUtils.currentLine=39976971; + //BA.debugLineNum = 39976971;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ped"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update pedido set pe_cant = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", pe_costo_tot = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((_cant*(double)(Double.parseDouble(_c.GetString("PE_COSTOU"))))))+", PE_CANTC = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cantc))+", PE_BCAJAS = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_bcajas))+" where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'")); +RDebugUtils.currentLine=39976972; + //BA.debugLineNum = 39976972;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"VENTA\" Then"; +if ((mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ).equals("VENTA")) { +RDebugUtils.currentLine=39976973; + //BA.debugLineNum = 39976973;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ${"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen - ("+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_difcant))+") where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' ")); + }else { +RDebugUtils.currentLine=39976975; + //BA.debugLineNum = 39976975;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update CA"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - ("+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_difcant))+") where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' ")); +RDebugUtils.currentLine=39976976; + //BA.debugLineNum = 39976976;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update CA"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - ("+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_difcant))+") where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' ")); + }; +RDebugUtils.currentLine=39976980; + //BA.debugLineNum = 39976980;BA.debugLine="If cant = 0 Then"; +if (_cant==0) { +RDebugUtils.currentLine=39976981; + //BA.debugLineNum = 39976981;BA.debugLine="Log(\"BORRAMOS PROD\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("539976981","BORRAMOS PROD",0); +RDebugUtils.currentLine=39976982; + //BA.debugLineNum = 39976982;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete fr"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'")); +RDebugUtils.currentLine=39976983; + //BA.debugLineNum = 39976983;BA.debugLine="Private pe As Cursor = B4XPages.MainPage.skmt.E"; +_pe = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pe = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)"))); +RDebugUtils.currentLine=39976984; + //BA.debugLineNum = 39976984;BA.debugLine="pe.Position=0"; +_pe.setPosition((int) (0)); +RDebugUtils.currentLine=39976985; + //BA.debugLineNum = 39976985;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then B4XP"; +if ((_pe.GetString("cuantosPedidos")).equals(BA.NumberToString(0))) { +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)");}; + }; + }else { +RDebugUtils.currentLine=39976988; + //BA.debugLineNum = 39976988;BA.debugLine="Log(\"----->2<--------------\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("539976988","----->2<--------------",0); +RDebugUtils.currentLine=39976990; + //BA.debugLineNum = 39976990;BA.debugLine="If cant <> 0 Then guardaProductoSinGestion(cedis"; +if (_cant!=0) { +_guardaproductosingestion(_ba,_cedis,_costou,BA.NumberToString(_cant),_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas);}; + }; +RDebugUtils.currentLine=39976992; + //BA.debugLineNum = 39976992;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=39976993; + //BA.debugLineNum = 39976993;BA.debugLine="End Sub"; +return ""; +} +public static String _traefecha(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traefecha", false)) + {return ((String) Debug.delegate(null, "traefecha", new Object[] {_ba}));} +String _sdate = ""; +String _stime = ""; +RDebugUtils.currentLine=39714816; + //BA.debugLineNum = 39714816;BA.debugLine="Sub traeFecha As String 'ignore"; +RDebugUtils.currentLine=39714817; + //BA.debugLineNum = 39714817;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=39714818; + //BA.debugLineNum = 39714818;BA.debugLine="Private sDate As String =DateTime.Date(DateTime.N"; +_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=39714819; + //BA.debugLineNum = 39714819;BA.debugLine="Private sTime As String =DateTime.Time(DateTime.N"; +_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=39714820; + //BA.debugLineNum = 39714820;BA.debugLine="Return sDate & sTime"; +if (true) return _sdate+_stime; +RDebugUtils.currentLine=39714821; + //BA.debugLineNum = 39714821;BA.debugLine="End Sub"; +return ""; +} +public static String _actualizaproducto2(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,int _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _cantc,String _bcajas) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "actualizaproducto2", false)) + {return ((String) Debug.delegate(null, "actualizaproducto2", new Object[] {_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +int _antcant = 0; +int _difcant = 0; +anywheresoftware.b4a.sql.SQL.CursorWrapper _pe = null; +RDebugUtils.currentLine=40108032; + //BA.debugLineNum = 40108032;BA.debugLine="Sub actualizaProducto2(cedis As String, costoU As"; +RDebugUtils.currentLine=40108033; + //BA.debugLineNum = 40108033;BA.debugLine="Private c As Cursor=B4XPages.MainPage.skmt.ExecQu"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'")))); +RDebugUtils.currentLine=40108035; + //BA.debugLineNum = 40108035;BA.debugLine="LogColor($\"actualizaProducto, c=${clienteId}, p=$"; +anywheresoftware.b4a.keywords.Common.LogImpl("540108035",("actualizaProducto, c="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+", p="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", nombre="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+", cant="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", cedis="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+", tipo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+""),anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=40108037; + //BA.debugLineNum = 40108037;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=40108038; + //BA.debugLineNum = 40108038;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=40108039; + //BA.debugLineNum = 40108039;BA.debugLine="Private antCant As Int = 0"; +_antcant = (int) (0); +RDebugUtils.currentLine=40108040; + //BA.debugLineNum = 40108040;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c."; +if (anywheresoftware.b4a.keywords.Common.IsNumber(BA.NumberToString(_c.GetInt("PE_CANT")))) { +_antcant = _c.GetInt("PE_CANT");}; +RDebugUtils.currentLine=40108041; + //BA.debugLineNum = 40108041;BA.debugLine="Private difCant As Int = cant - antCant"; +_difcant = (int) (_cant-_antcant); +RDebugUtils.currentLine=40108042; + //BA.debugLineNum = 40108042;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ped"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update pedido set pe_cant = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", pe_costo_tot = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cantc))*(double)(Double.parseDouble(_c.GetString("PE_COSTOU"))))))+", PE_CANTC = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cantc))+", PE_BCAJAS = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_bcajas))+" where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'")); +RDebugUtils.currentLine=40108044; + //BA.debugLineNum = 40108044;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"VENTA\" Then"; +if ((mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ).equals("VENTA")) { +RDebugUtils.currentLine=40108045; + //BA.debugLineNum = 40108045;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ${"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen - ("+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_difcant))+") where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' ")); + }else { +RDebugUtils.currentLine=40108047; + //BA.debugLineNum = 40108047;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update CA"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - ("+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_difcant))+") where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' ")); +RDebugUtils.currentLine=40108048; + //BA.debugLineNum = 40108048;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update CA"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - ("+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_difcant))+") where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' ")); + }; +RDebugUtils.currentLine=40108051; + //BA.debugLineNum = 40108051;BA.debugLine="If cant = 0 Then"; +if (_cant==0) { +RDebugUtils.currentLine=40108052; + //BA.debugLineNum = 40108052;BA.debugLine="Log(\"BORRAMOS PROD\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("540108052","BORRAMOS PROD",0); +RDebugUtils.currentLine=40108053; + //BA.debugLineNum = 40108053;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete fr"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'")); +RDebugUtils.currentLine=40108054; + //BA.debugLineNum = 40108054;BA.debugLine="Private pe As Cursor = B4XPages.MainPage.skmt.E"; +_pe = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_pe = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)"))); +RDebugUtils.currentLine=40108055; + //BA.debugLineNum = 40108055;BA.debugLine="pe.Position=0"; +_pe.setPosition((int) (0)); +RDebugUtils.currentLine=40108056; + //BA.debugLineNum = 40108056;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then B4XP"; +if ((_pe.GetString("cuantosPedidos")).equals(BA.NumberToString(0))) { +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)");}; + }; + }else { +RDebugUtils.currentLine=40108060; + //BA.debugLineNum = 40108060;BA.debugLine="If cant <> 0 Then guardaProductoSinGestion2(cedi"; +if (_cant!=0) { +_guardaproductosingestion2(_ba,_cedis,_costou,BA.NumberToString(_cant),_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas);}; + }; +RDebugUtils.currentLine=40108062; + //BA.debugLineNum = 40108062;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=40108063; + //BA.debugLineNum = 40108063;BA.debugLine="End Sub"; +return ""; +} +public static String _totalpedido(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "totalpedido", false)) + {return ((String) Debug.delegate(null, "totalpedido", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _ct = null; +String _ptotal = ""; +String _tempt = ""; +RDebugUtils.currentLine=39452672; + //BA.debugLineNum = 39452672;BA.debugLine="Sub totalPedido As String"; +RDebugUtils.currentLine=39452673; + //BA.debugLineNum = 39452673;BA.debugLine="Private cT As Cursor = Starter.skmt.ExecQuery($\"s"; +_ct = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_ct = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(PE_COSTO_TOT) as total from PEDIDO where PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'")))); +RDebugUtils.currentLine=39452674; + //BA.debugLineNum = 39452674;BA.debugLine="Private pTotal As String = \"0\""; +_ptotal = "0"; +RDebugUtils.currentLine=39452675; + //BA.debugLineNum = 39452675;BA.debugLine="If cT.RowCount > 0 Then"; +if (_ct.getRowCount()>0) { +RDebugUtils.currentLine=39452676; + //BA.debugLineNum = 39452676;BA.debugLine="cT.Position = 0"; +_ct.setPosition((int) (0)); +RDebugUtils.currentLine=39452678; + //BA.debugLineNum = 39452678;BA.debugLine="Private tempT As String = cT.GetLong(\"total\")"; +_tempt = BA.NumberToString(_ct.GetLong("total")); +RDebugUtils.currentLine=39452679; + //BA.debugLineNum = 39452679;BA.debugLine="If tempT <> \"null\" And tempT <> Null Then"; +if ((_tempt).equals("null") == false && _tempt!= null) { +RDebugUtils.currentLine=39452681; + //BA.debugLineNum = 39452681;BA.debugLine="pTotal = tempT"; +_ptotal = _tempt; + }; + }; +RDebugUtils.currentLine=39452685; + //BA.debugLineNum = 39452685;BA.debugLine="cT.Close"; +_ct.Close(); +RDebugUtils.currentLine=39452686; + //BA.debugLineNum = 39452686;BA.debugLine="Return pTotal"; +if (true) return _ptotal; +RDebugUtils.currentLine=39452687; + //BA.debugLineNum = 39452687;BA.debugLine="End Sub"; +return ""; +} +public static String _traetipocliente2(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traetipocliente2", false)) + {return ((String) Debug.delegate(null, "traetipocliente2", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; +String _tc = ""; +RDebugUtils.currentLine=36831232; + //BA.debugLineNum = 36831232;BA.debugLine="Sub traeTipoCliente2 As String"; +RDebugUtils.currentLine=36831233; + //BA.debugLineNum = 36831233;BA.debugLine="Private x As Cursor"; +_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=36831234; + //BA.debugLineNum = 36831234;BA.debugLine="Private tc As String = \"DETALLE\""; +_tc = "DETALLE"; +RDebugUtils.currentLine=36831235; + //BA.debugLineNum = 36831235;BA.debugLine="x = Starter.skmt.ExecQuery($\"select IFNULL(CAT_CL"; +_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_CL_TIPOCLIENTE,\"DETALLE\") AS CAT_CL_TIPOCLIENTE from kmt_info where cat_cl_codigo in (select cuenta from cuentaa)")))); +RDebugUtils.currentLine=36831236; + //BA.debugLineNum = 36831236;BA.debugLine="If x.RowCount > 0 Then"; +if (_x.getRowCount()>0) { +RDebugUtils.currentLine=36831237; + //BA.debugLineNum = 36831237;BA.debugLine="x.Position = 0"; +_x.setPosition((int) (0)); +RDebugUtils.currentLine=36831238; + //BA.debugLineNum = 36831238;BA.debugLine="Log(\"aQUI\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("536831238","aQUI",0); +RDebugUtils.currentLine=36831239; + //BA.debugLineNum = 36831239;BA.debugLine="Log(x.GetString(\"CAT_CL_TIPOCLIENTE\"))"; +anywheresoftware.b4a.keywords.Common.LogImpl("536831239",_x.GetString("CAT_CL_TIPOCLIENTE"),0); +RDebugUtils.currentLine=36831240; + //BA.debugLineNum = 36831240;BA.debugLine="If x.GetString(\"CAT_CL_TIPOCLIENTE\") = \"null\" Or"; +if ((_x.GetString("CAT_CL_TIPOCLIENTE")).equals("null") || _x.GetString("CAT_CL_TIPOCLIENTE")== null || (_x.GetString("CAT_CL_TIPOCLIENTE")).equals(BA.NumberToString(0)) || (_x.GetString("CAT_CL_TIPOCLIENTE")).equals("0")) { +RDebugUtils.currentLine=36831241; + //BA.debugLineNum = 36831241;BA.debugLine="tc = \"DETALLE\""; +_tc = "DETALLE"; +RDebugUtils.currentLine=36831242; + //BA.debugLineNum = 36831242;BA.debugLine="Log(\"Aqui\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("536831242","Aqui",0); + }else { +RDebugUtils.currentLine=36831244; + //BA.debugLineNum = 36831244;BA.debugLine="tc = x.GetString(\"CAT_CL_TIPOCLIENTE\")"; +_tc = _x.GetString("CAT_CL_TIPOCLIENTE"); +RDebugUtils.currentLine=36831245; + //BA.debugLineNum = 36831245;BA.debugLine="Log(\"Aqui2\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("536831245","Aqui2",0); + }; + }; +RDebugUtils.currentLine=36831251; + //BA.debugLineNum = 36831251;BA.debugLine="Log(tc)"; +anywheresoftware.b4a.keywords.Common.LogImpl("536831251",_tc,0); +RDebugUtils.currentLine=36831252; + //BA.debugLineNum = 36831252;BA.debugLine="Return tc"; +if (true) return _tc; +RDebugUtils.currentLine=36831253; + //BA.debugLineNum = 36831253;BA.debugLine="End Sub"; +return ""; +} +public static anywheresoftware.b4a.objects.collections.Map _procesapromocion(anywheresoftware.b4a.BA _ba,String _idpromo,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "procesapromocion", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "procesapromocion", new Object[] {_ba,_idpromo,_cliente}));} +boolean _thislog = false; +String _iniciocontador = ""; +anywheresoftware.b4a.objects.collections.Map _pm = null; +anywheresoftware.b4a.objects.collections.Map _inventariosinfijos = null; +boolean _pv = false; +RDebugUtils.currentLine=40894464; + //BA.debugLineNum = 40894464;BA.debugLine="Sub procesaPromocion(idPromo As String, cliente As"; +RDebugUtils.currentLine=40894465; + //BA.debugLineNum = 40894465;BA.debugLine="Private thisLog As Boolean = True 'Si es verdade"; +_thislog = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=40894466; + //BA.debugLineNum = 40894466;BA.debugLine="Private inicioContador As String = DateTime.Now"; +_iniciocontador = BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=40894467; + //BA.debugLineNum = 40894467;BA.debugLine="If thisLog Then LogColor($\"********* Iniciamos re"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540894467",("********* Iniciamos revision de Promo "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idpromo))+" *********"),anywheresoftware.b4a.keywords.Common.Colors.Magenta);}; +RDebugUtils.currentLine=40894469; + //BA.debugLineNum = 40894469;BA.debugLine="Private pm As Map = traePromo(idPromo, cliente)"; +_pm = new anywheresoftware.b4a.objects.collections.Map(); +_pm = _traepromo(_ba,_idpromo,_cliente); +RDebugUtils.currentLine=40894470; + //BA.debugLineNum = 40894470;BA.debugLine="If thisLog Then LogColor(pm, Colors.Blue)"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540894470",BA.ObjectToString(_pm),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=40894471; + //BA.debugLineNum = 40894471;BA.debugLine="If pm.Get(\"resultado\") = \"ok\" Then 'Si encontramo"; +if ((_pm.Get((Object)("resultado"))).equals((Object)("ok"))) { +RDebugUtils.currentLine=40894473; + //BA.debugLineNum = 40894473;BA.debugLine="If thisLog Then LogColor($\"Promociones permitida"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540894473",("Promociones permitidas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traemaxpromos(_ba,_pm)))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=40894474; + //BA.debugLineNum = 40894474;BA.debugLine="If thisLog Then Log(\"Promos vendidas: \" & traePr"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540894474","Promos vendidas: "+BA.NumberToString(_traepromosvendidas(_ba,_idpromo,_cliente)),0);}; +RDebugUtils.currentLine=40894475; + //BA.debugLineNum = 40894475;BA.debugLine="If traePromosVendidas(idPromo, cliente) >= traeM"; +if (_traepromosvendidas(_ba,_idpromo,_cliente)>=_traemaxpromos(_ba,_pm)) { +RDebugUtils.currentLine=40894476; + //BA.debugLineNum = 40894476;BA.debugLine="If thisLog Then LogColor(\"Ya se vendieron las p"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540894476","Ya se vendieron las promos PERMITIDAS para el cliente",anywheresoftware.b4a.keywords.Common.Colors.Red);}; +RDebugUtils.currentLine=40894477; + //BA.debugLineNum = 40894477;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)"; +if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())}); + }; +RDebugUtils.currentLine=40894480; + //BA.debugLineNum = 40894480;BA.debugLine="Private inventarioSinFijos As Map = restaFijosPr"; +_inventariosinfijos = new anywheresoftware.b4a.objects.collections.Map(); +_inventariosinfijos = _restafijospromo(_ba,_pm); +RDebugUtils.currentLine=40894481; + //BA.debugLineNum = 40894481;BA.debugLine="If thisLog Then LogColor(\"inventariosfijos=\"&inv"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540894481","inventariosfijos="+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Green);}; +RDebugUtils.currentLine=40894483; + //BA.debugLineNum = 40894483;BA.debugLine="If inventarioSinFijos.Get(\"resultado\") = \"ok\" Th"; +if ((_inventariosinfijos.Get((Object)("resultado"))).equals((Object)("ok"))) { +RDebugUtils.currentLine=40894485; + //BA.debugLineNum = 40894485;BA.debugLine="Private pv As Boolean = alcanzanLosVariablesPa"; +_pv = _alcanzanlosvariablesparapromo(_ba,_pm,_inventariosinfijos); +RDebugUtils.currentLine=40894486; + //BA.debugLineNum = 40894486;BA.debugLine="If thisLog Then Log(\"Alcanzan los variables? --"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540894486","Alcanzan los variables? --> "+BA.ObjectToString(_pv),0);}; +RDebugUtils.currentLine=40894487; + //BA.debugLineNum = 40894487;BA.debugLine="If pv Then Return CreateMap(\"status\":\"ok\", \"mp\""; +if (_pv) { +if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ok"),(Object)("mp"),(Object)(_pm.getObject())});} +else { +if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())});}; + }else { +RDebugUtils.currentLine=40894489; + //BA.debugLineNum = 40894489;BA.debugLine="If thisLog Then LogColor(\"NO HAY INVENTARIO SUF"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540894489","NO HAY INVENTARIO SUFICIENTE "+_idpromo,anywheresoftware.b4a.keywords.Common.Colors.Red);}; +RDebugUtils.currentLine=40894490; + //BA.debugLineNum = 40894490;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)"; +if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())}); + }; + }; +RDebugUtils.currentLine=40894496; + //BA.debugLineNum = 40894496;BA.debugLine="LogColor(\"TIEMPO DE PROCESO ESTA PROMO: \" & ((Dat"; +anywheresoftware.b4a.keywords.Common.LogImpl("540894496","TIEMPO DE PROCESO ESTA PROMO: "+BA.NumberToString(((anywheresoftware.b4a.keywords.Common.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=40894497; + //BA.debugLineNum = 40894497;BA.debugLine="End Sub"; +return null; +} +public static boolean _haypedido(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "haypedido", false)) + {return ((Boolean) Debug.delegate(null, "haypedido", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _thisc = null; +boolean _hay = false; +RDebugUtils.currentLine=41746432; + //BA.debugLineNum = 41746432;BA.debugLine="Sub hayPedido As Boolean"; +RDebugUtils.currentLine=41746433; + //BA.debugLineNum = 41746433;BA.debugLine="Private thisC As Cursor=B4XPages.MainPage.skmt.Ex"; +_thisc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_thisc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(PE_CLIENTE) as hayPedido from PEDIDO where PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'")))); +RDebugUtils.currentLine=41746434; + //BA.debugLineNum = 41746434;BA.debugLine="thisC.Position=0"; +_thisc.setPosition((int) (0)); +RDebugUtils.currentLine=41746435; + //BA.debugLineNum = 41746435;BA.debugLine="Private hay As Boolean = False"; +_hay = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=41746436; + //BA.debugLineNum = 41746436;BA.debugLine="If thisC.GetInt(\"hayPedido\") > 0 Then hay = True"; +if (_thisc.GetInt("hayPedido")>0) { +_hay = anywheresoftware.b4a.keywords.Common.True;}; +RDebugUtils.currentLine=41746438; + //BA.debugLineNum = 41746438;BA.debugLine="Return hay"; +if (true) return _hay; +RDebugUtils.currentLine=41746439; + //BA.debugLineNum = 41746439;BA.debugLine="End Sub"; +return false; +} +public static String _actualizaproductodinamico(anywheresoftware.b4a.BA _ba,String _cedis,float _costou,int _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _cantc,String _bcajas,String _dirigida,int _uvm,String _presentacion) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "actualizaproductodinamico", false)) + {return ((String) Debug.delegate(null, "actualizaproductodinamico", new Object[] {_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas,_dirigida,_uvm,_presentacion}));} +String _qbusqueda = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _tablainventario = ""; +int _antcant = 0; +int _difcant = 0; +float _nuevocostotot = 0f; +String _qupdate = ""; +String _qdelete = ""; +int _totalrestante = 0; +RDebugUtils.currentLine=42074112; + //BA.debugLineNum = 42074112;BA.debugLine="Sub actualizaProductoDinamico(cedis As String, cos"; +RDebugUtils.currentLine=42074113; + //BA.debugLineNum = 42074113;BA.debugLine="Log(\"--- Iniciando Actualización Dinámica ---\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("542074113","--- Iniciando Actualización Dinámica ---",0); +RDebugUtils.currentLine=42074116; + //BA.debugLineNum = 42074116;BA.debugLine="Dim qBusqueda As String = \"SELECT PE_CANT, PE_COS"; +_qbusqueda = "SELECT PE_CANT, PE_COSTOU FROM pedido WHERE pe_cedis = ? "+"AND pe_proid = ? AND pe_cliente = ? AND PE_FOLIO = ? "+"AND PE_DIRIGIDA = ? AND PE_PRESENTACION = ? AND PE_UVM = ?"; +RDebugUtils.currentLine=42074120; + //BA.debugLineNum = 42074120;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuer"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(_qbusqueda,new String[]{_cedis,_prodid,_clienteid,_tipoventa,_dirigida,_presentacion,BA.NumberToString(_uvm)}))); +RDebugUtils.currentLine=42074124; + //BA.debugLineNum = 42074124;BA.debugLine="Dim tablaInventario As String = Starter.tabla"; +_tablainventario = mostCurrent._starter._tabla /*String*/ ; +RDebugUtils.currentLine=42074127; + //BA.debugLineNum = 42074127;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=42074129; + //BA.debugLineNum = 42074129;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=42074130; + //BA.debugLineNum = 42074130;BA.debugLine="Dim antCant As Int = c.GetInt(\"PE_CANT\")"; +_antcant = _c.GetInt("PE_CANT"); +RDebugUtils.currentLine=42074131; + //BA.debugLineNum = 42074131;BA.debugLine="Dim difCant As Int = cant - antCant"; +_difcant = (int) (_cant-_antcant); +RDebugUtils.currentLine=42074133; + //BA.debugLineNum = 42074133;BA.debugLine="If cant > 0 Then"; +if (_cant>0) { +RDebugUtils.currentLine=42074135; + //BA.debugLineNum = 42074135;BA.debugLine="Dim nuevoCostoTot As Float = (cant / uvm) * cos"; +_nuevocostotot = (float) ((_cant/(double)_uvm)*_costou); +RDebugUtils.currentLine=42074137; + //BA.debugLineNum = 42074137;BA.debugLine="Dim qUpdate As String = \"UPDATE pedido SET pe_c"; +_qupdate = "UPDATE pedido SET pe_cant = ?, pe_costo_tot = ?, PE_CANTC = ?, PE_BCAJAS = ? "+"WHERE pe_cedis = ? AND pe_proid = ? AND pe_cliente = ? AND PE_FOLIO = ? "+"AND PE_PRESENTACION = ? AND PE_UVM = ?"; +RDebugUtils.currentLine=42074141; + //BA.debugLineNum = 42074141;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(qUpdate, A"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(_qupdate,anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_nuevocostotot),(Object)(_cantc),(Object)(_bcajas),(Object)(_cedis),(Object)(_prodid),(Object)(_clienteid),(Object)(_tipoventa),(Object)(_presentacion),(Object)(_uvm)})); +RDebugUtils.currentLine=42074145; + //BA.debugLineNum = 42074145;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ${"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tablainventario))+" SET cat_gp_almacen = cat_gp_almacen - ("+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_difcant))+") WHERE cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); + }else { +RDebugUtils.currentLine=42074148; + //BA.debugLineNum = 42074148;BA.debugLine="Dim qDelete As String = \"DELETE FROM pedido WHE"; +_qdelete = "DELETE FROM pedido WHERE pe_cedis = ? AND pe_proid = ? AND pe_cliente = ? "+"AND PE_FOLIO = ? AND PE_PRESENTACION = ? AND PE_UVM = ?"; +RDebugUtils.currentLine=42074151; + //BA.debugLineNum = 42074151;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(qDelete, A"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(_qdelete,anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(_prodid),(Object)(_clienteid),(Object)(_tipoventa),(Object)(_presentacion),(Object)(_uvm)})); +RDebugUtils.currentLine=42074154; + //BA.debugLineNum = 42074154;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ${"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tablainventario))+" SET cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_antcant))+" WHERE cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); +RDebugUtils.currentLine=42074157; + //BA.debugLineNum = 42074157;BA.debugLine="Dim totalRestante As Int = B4XPages.MainPage.sk"; +_totalrestante = (int)(Double.parseDouble(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuerySingleResult("SELECT count(*) FROM pedido WHERE pe_cliente = '"+_clienteid+"'"))); +RDebugUtils.currentLine=42074158; + //BA.debugLineNum = 42074158;BA.debugLine="If totalRestante = 0 Then"; +if (_totalrestante==0) { +RDebugUtils.currentLine=42074159; + //BA.debugLineNum = 42074159;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM pedido_cliente WHERE PC_CLIENTE = '"+_clienteid+"'"); + }; + }; + }else { +RDebugUtils.currentLine=42074164; + //BA.debugLineNum = 42074164;BA.debugLine="If cant > 0 Then"; +if (_cant>0) { +RDebugUtils.currentLine=42074165; + //BA.debugLineNum = 42074165;BA.debugLine="guardaProductoSinGestionDinamico(cedis, costoU,"; +_guardaproductosingestiondinamico(_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas,_dirigida,_uvm,_presentacion); + }; + }; +RDebugUtils.currentLine=42074168; + //BA.debugLineNum = 42074168;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=42074169; + //BA.debugLineNum = 42074169;BA.debugLine="End Sub"; +return ""; +} +public static anywheresoftware.b4a.objects.collections.Map _traeprodiddebd(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traeprodiddebd", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traeprodiddebd", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +anywheresoftware.b4a.objects.collections.Map _m = null; +RDebugUtils.currentLine=41222144; + //BA.debugLineNum = 41222144;BA.debugLine="Sub traeProdIdDeBD As Map 'ignore"; +RDebugUtils.currentLine=41222145; + //BA.debugLineNum = 41222145;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=41222146; + //BA.debugLineNum = 41222146;BA.debugLine="Private m As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=41222147; + //BA.debugLineNum = 41222147;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_TIPO,CAT_GP_SUBTIPO from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" where CAT_GP_NOMBRE In (Select PDESC from PROID)")))); +RDebugUtils.currentLine=41222148; + //BA.debugLineNum = 41222148;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=41222149; + //BA.debugLineNum = 41222149;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=41222150; + //BA.debugLineNum = 41222150;BA.debugLine="m = CreateMap(\"id\":c.GetString(\"CAT_GP_ID\"), \"no"; +_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)(_c.GetString("CAT_GP_ID")),(Object)("nombre"),(Object)(_c.GetString("CAT_GP_NOMBRE")),(Object)("tipo"),(Object)(_c.GetString("CAT_GP_TIPO")),(Object)("subtipo"),(Object)(_c.GetString("CAT_GP_SUBTIPO"))}); + }else { +RDebugUtils.currentLine=41222152; + //BA.debugLineNum = 41222152;BA.debugLine="m = CreateMap(\"id\":\"N/A\", \"nombre\":\"N/A\", \"tipo\""; +_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)("N/A"),(Object)("nombre"),(Object)("N/A"),(Object)("tipo"),(Object)("N/A"),(Object)("subtipo"),(Object)("N/A")}); + }; +RDebugUtils.currentLine=41222154; + //BA.debugLineNum = 41222154;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=41222155; + //BA.debugLineNum = 41222155;BA.debugLine="Return m"; +if (true) return _m; +RDebugUtils.currentLine=41222156; + //BA.debugLineNum = 41222156;BA.debugLine="End Sub"; +return null; +} +public static String _guardaproductosingestion(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _cantc,String _bcajas) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardaproductosingestion", false)) + {return ((String) Debug.delegate(null, "guardaproductosingestion", new Object[] {_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=39911424; + //BA.debugLineNum = 39911424;BA.debugLine="Sub guardaProductoSinGestion(cedis As String, cost"; +RDebugUtils.currentLine=39911426; + //BA.debugLineNum = 39911426;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=39911427; + //BA.debugLineNum = 39911427;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO,PE_ENVIO_OK,PE_CANTC,PE_BCAJAS) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(((double)(Double.parseDouble(_cant))*(double)(Double.parseDouble(_costou)))),(Object)(_costou),(Object)(_cant),(Object)(_nombre),(Object)(_prodid),(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_rutav),(Object)(_preciosin),(Object)(_tipoventa),(Object)(_cantc),(Object)(_bcajas)})); +RDebugUtils.currentLine=39911428; + //BA.debugLineNum = 39911428;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"VENTA\" Then"; +if ((mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ).equals("VENTA")) { +RDebugUtils.currentLine=39911429; + //BA.debugLineNum = 39911429;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)})); + }else { +RDebugUtils.currentLine=39911431; + //BA.debugLineNum = 39911431;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update CA"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)})); +RDebugUtils.currentLine=39911432; + //BA.debugLineNum = 39911432;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update CA"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)})); + }; +RDebugUtils.currentLine=39911434; + //BA.debugLineNum = 39911434;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=39911435; + //BA.debugLineNum = 39911435;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=39911436; + //BA.debugLineNum = 39911436;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=39911437; + //BA.debugLineNum = 39911437;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._lat_gps /*String*/ ),(Object)(_cedis),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); +RDebugUtils.currentLine=39911438; + //BA.debugLineNum = 39911438;BA.debugLine="End Sub"; +return ""; +} +public static anywheresoftware.b4a.objects.collections.Map _traepromo(anywheresoftware.b4a.BA _ba,String _promo,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traepromo", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traepromo", new Object[] {_ba,_promo,_cliente}));} +String _iniciocontador = ""; +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _sihistorico = ""; +anywheresoftware.b4a.objects.collections.Map _promomap = null; +anywheresoftware.b4a.objects.collections.List _prodsfijos = null; +anywheresoftware.b4a.objects.collections.List _prodsfijosprecios = null; +anywheresoftware.b4a.objects.collections.List _prodsfijospiezas = null; +anywheresoftware.b4a.objects.collections.List _prodsvariables = null; +anywheresoftware.b4a.objects.collections.List _prodsvariables2 = null; +anywheresoftware.b4a.objects.collections.List _prodsvariablesprecios = null; +anywheresoftware.b4a.objects.collections.List _prodsvariablesprecios2 = null; +anywheresoftware.b4a.objects.collections.Map _prods = null; +anywheresoftware.b4a.objects.collections.Map _tipos = null; +int _i = 0; +String _pvr = ""; +String _pvr2 = ""; +RDebugUtils.currentLine=40501248; + //BA.debugLineNum = 40501248;BA.debugLine="Sub traePromo(promo As String, cliente As String)"; +RDebugUtils.currentLine=40501249; + //BA.debugLineNum = 40501249;BA.debugLine="Private inicioContador As String = DateTime.Now"; +_iniciocontador = BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=40501250; + //BA.debugLineNum = 40501250;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from promos_comp where cat_pa_id = '"+_promo+"'"))); +RDebugUtils.currentLine=40501251; + //BA.debugLineNum = 40501251;BA.debugLine="Private siHistorico As String = 0"; +_sihistorico = BA.NumberToString(0); +RDebugUtils.currentLine=40501252; + //BA.debugLineNum = 40501252;BA.debugLine="Private promoMap As Map"; +_promomap = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=40501253; + //BA.debugLineNum = 40501253;BA.debugLine="Private prodsFijos, prodsFijosPrecios, prodsFijos"; +_prodsfijos = new anywheresoftware.b4a.objects.collections.List(); +_prodsfijosprecios = new anywheresoftware.b4a.objects.collections.List(); +_prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List(); +_prodsvariables = new anywheresoftware.b4a.objects.collections.List(); +_prodsvariables2 = new anywheresoftware.b4a.objects.collections.List(); +_prodsvariablesprecios = new anywheresoftware.b4a.objects.collections.List(); +_prodsvariablesprecios2 = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=40501254; + //BA.debugLineNum = 40501254;BA.debugLine="promoMap.Initialize"; +_promomap.Initialize(); +RDebugUtils.currentLine=40501255; + //BA.debugLineNum = 40501255;BA.debugLine="prodsFijos.Initialize"; +_prodsfijos.Initialize(); +RDebugUtils.currentLine=40501256; + //BA.debugLineNum = 40501256;BA.debugLine="prodsFijosPrecios.Initialize"; +_prodsfijosprecios.Initialize(); +RDebugUtils.currentLine=40501257; + //BA.debugLineNum = 40501257;BA.debugLine="prodsFijosPiezas.Initialize"; +_prodsfijospiezas.Initialize(); +RDebugUtils.currentLine=40501258; + //BA.debugLineNum = 40501258;BA.debugLine="prodsVariables.Initialize"; +_prodsvariables.Initialize(); +RDebugUtils.currentLine=40501259; + //BA.debugLineNum = 40501259;BA.debugLine="prodsVariables2.Initialize"; +_prodsvariables2.Initialize(); +RDebugUtils.currentLine=40501260; + //BA.debugLineNum = 40501260;BA.debugLine="prodsVariablesPrecios.Initialize"; +_prodsvariablesprecios.Initialize(); +RDebugUtils.currentLine=40501261; + //BA.debugLineNum = 40501261;BA.debugLine="prodsVariablesPrecios2.Initialize"; +_prodsvariablesprecios2.Initialize(); +RDebugUtils.currentLine=40501262; + //BA.debugLineNum = 40501262;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=40501263; + //BA.debugLineNum = 40501263;BA.debugLine="If c.RowCount > 0 Then promoMap = CreateMap(\"id\":"; +if (_c.getRowCount()>0) { +_promomap = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)(_promo),(Object)("maxXcliente"),(Object)(_c.GetString("CAT_PA_MAXPROMCLIE")),(Object)("maxRecurrente"),(Object)(_c.GetString("CAT_PA_MAXPROMREC")),(Object)("maxPromos"),(Object)(_c.GetString("CAT_PA_MAXPROM"))});}; +RDebugUtils.currentLine=40501264; + //BA.debugLineNum = 40501264;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as hist from HIST_PROMOS where HP_CLIENTE = '"+_cliente+"' and HP_CODIGO_PROMOCION = '"+_promo+"'"))); +RDebugUtils.currentLine=40501265; + //BA.debugLineNum = 40501265;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=40501266; + //BA.debugLineNum = 40501266;BA.debugLine="If c.GetString(\"hist\") > 0 Then siHistorico = 1"; +if ((double)(Double.parseDouble(_c.GetString("hist")))>0) { +_sihistorico = BA.NumberToString(1);}; +RDebugUtils.currentLine=40501267; + //BA.debugLineNum = 40501267;BA.debugLine="promoMap.Put(\"historico\", siHistorico)"; +_promomap.Put((Object)("historico"),(Object)(_sihistorico)); +RDebugUtils.currentLine=40501268; + //BA.debugLineNum = 40501268;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select * fr"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from CAT_DETALLES_PAQ where CAT_DP_ID = '"+_promo+"'"))); +RDebugUtils.currentLine=40501269; + //BA.debugLineNum = 40501269;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=40501270; + //BA.debugLineNum = 40501270;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=40501271; + //BA.debugLineNum = 40501271;BA.debugLine="Private prods, tipos As Map"; +_prods = new anywheresoftware.b4a.objects.collections.Map(); +_tipos = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=40501272; + //BA.debugLineNum = 40501272;BA.debugLine="prods.Initialize"; +_prods.Initialize(); +RDebugUtils.currentLine=40501273; + //BA.debugLineNum = 40501273;BA.debugLine="tipos.Initialize"; +_tipos.Initialize(); +RDebugUtils.currentLine=40501274; + //BA.debugLineNum = 40501274;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step26 = 1; +final int limit26 = (int) (_c.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit26 ;_i = _i + step26 ) { +RDebugUtils.currentLine=40501275; + //BA.debugLineNum = 40501275;BA.debugLine="c.Position=i"; +_c.setPosition(_i); +RDebugUtils.currentLine=40501276; + //BA.debugLineNum = 40501276;BA.debugLine="prods.Put(c.GetString(\"CAT_DP_IDPROD\"), CreateM"; +_prods.Put((Object)(_c.GetString("CAT_DP_IDPROD")),(Object)(anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("idProducto"),(Object)(_c.GetString("CAT_DP_IDPROD")),(Object)("precioSimptos"),(Object)(_c.GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)("precio"),(Object)(_c.GetString("CAT_DP_PRECIO")),(Object)("almacen"),(Object)(_c.GetString("CAT_DP_ALMACEN")),(Object)("tipo"),(Object)(_c.GetString("CAT_DP_TIPO")),(Object)("piezas"),(Object)(_c.GetString("CAT_DP_PZAS")),(Object)("usuario"),(Object)(_c.GetString("CAT_DP_USUARIO")),(Object)("regalo"),(Object)(_c.GetString("CAT_DP_REGALO")),(Object)("clasif"),(Object)(_c.GetString("CAT_DP_CLASIF"))}).getObject())); +RDebugUtils.currentLine=40501277; + //BA.debugLineNum = 40501277;BA.debugLine="tipos.Put(c.GetString(\"CAT_DP_IDPROD\"), c.GetSt"; +_tipos.Put((Object)(_c.GetString("CAT_DP_IDPROD")),(Object)(_c.GetString("CAT_DP_TIPO"))); +RDebugUtils.currentLine=40501278; + //BA.debugLineNum = 40501278;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"0\" Then"; +if ((_c.GetString("CAT_DP_TIPO")).equals("0")) { +RDebugUtils.currentLine=40501279; + //BA.debugLineNum = 40501279;BA.debugLine="prodsFijos.Add(c.GetString(\"CAT_DP_IDPROD\"))"; +_prodsfijos.Add((Object)(_c.GetString("CAT_DP_IDPROD"))); +RDebugUtils.currentLine=40501280; + //BA.debugLineNum = 40501280;BA.debugLine="prodsFijosPrecios.Add(c.GetString(\"CAT_DP_PREC"; +_prodsfijosprecios.Add((Object)(_c.GetString("CAT_DP_PRECIO"))); +RDebugUtils.currentLine=40501281; + //BA.debugLineNum = 40501281;BA.debugLine="prodsFijosPiezas.Add(c.GetString(\"CAT_DP_PZAS\""; +_prodsfijospiezas.Add((Object)(_c.GetString("CAT_DP_PZAS"))); + }; +RDebugUtils.currentLine=40501283; + //BA.debugLineNum = 40501283;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"1\" Then"; +if ((_c.GetString("CAT_DP_TIPO")).equals("1")) { +RDebugUtils.currentLine=40501284; + //BA.debugLineNum = 40501284;BA.debugLine="prodsVariables.Add(c.GetString(\"CAT_DP_IDPROD\""; +_prodsvariables.Add((Object)(_c.GetString("CAT_DP_IDPROD"))); +RDebugUtils.currentLine=40501285; + //BA.debugLineNum = 40501285;BA.debugLine="prodsVariablesPrecios.Add(c.GetString(\"CAT_DP_"; +_prodsvariablesprecios.Add((Object)(_c.GetString("CAT_DP_PRECIO"))); + }; +RDebugUtils.currentLine=40501287; + //BA.debugLineNum = 40501287;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"2\" Then"; +if ((_c.GetString("CAT_DP_TIPO")).equals("2")) { +RDebugUtils.currentLine=40501289; + //BA.debugLineNum = 40501289;BA.debugLine="prodsVariables2.Add(c.GetString(\"CAT_DP_IDPROD"; +_prodsvariables2.Add((Object)(_c.GetString("CAT_DP_IDPROD"))); +RDebugUtils.currentLine=40501290; + //BA.debugLineNum = 40501290;BA.debugLine="prodsVariablesPrecios2.Add(c.GetString(\"CAT_DP"; +_prodsvariablesprecios2.Add((Object)(_c.GetString("CAT_DP_PRECIO"))); + }; + } +}; +RDebugUtils.currentLine=40501295; + //BA.debugLineNum = 40501295;BA.debugLine="promoMap.Put(\"productos\", prods) 'Mapa con los p"; +_promomap.Put((Object)("productos"),(Object)(_prods.getObject())); +RDebugUtils.currentLine=40501296; + //BA.debugLineNum = 40501296;BA.debugLine="promoMap.Put(\"tipos\", tipos) 'Mapa con los produ"; +_promomap.Put((Object)("tipos"),(Object)(_tipos.getObject())); +RDebugUtils.currentLine=40501297; + //BA.debugLineNum = 40501297;BA.debugLine="promoMap.Put(\"prodsFijos\", prodsFijos) 'Lista de"; +_promomap.Put((Object)("prodsFijos"),(Object)(_prodsfijos.getObject())); +RDebugUtils.currentLine=40501298; + //BA.debugLineNum = 40501298;BA.debugLine="promoMap.Put(\"prodsVariables\", prodsVariables) '"; +_promomap.Put((Object)("prodsVariables"),(Object)(_prodsvariables.getObject())); +RDebugUtils.currentLine=40501299; + //BA.debugLineNum = 40501299;BA.debugLine="promoMap.Put(\"prodsVariables2\", prodsVariables2)"; +_promomap.Put((Object)("prodsVariables2"),(Object)(_prodsvariables2.getObject())); +RDebugUtils.currentLine=40501300; + //BA.debugLineNum = 40501300;BA.debugLine="promoMap.Put(\"prodsFijosCant\", prodsFijos.Size)"; +_promomap.Put((Object)("prodsFijosCant"),(Object)(_prodsfijos.getSize())); +RDebugUtils.currentLine=40501301; + //BA.debugLineNum = 40501301;BA.debugLine="promoMap.Put(\"prodsFijosPrecios\", prodsFijosPrec"; +_promomap.Put((Object)("prodsFijosPrecios"),(Object)(_prodsfijosprecios.getObject())); +RDebugUtils.currentLine=40501302; + //BA.debugLineNum = 40501302;BA.debugLine="promoMap.Put(\"prodsFijosPiezas\", prodsFijosPieza"; +_promomap.Put((Object)("prodsFijosPiezas"),(Object)(_prodsfijospiezas.getObject())); +RDebugUtils.currentLine=40501303; + //BA.debugLineNum = 40501303;BA.debugLine="promoMap.Put(\"prodsVariablesCant\", prodsVariable"; +_promomap.Put((Object)("prodsVariablesCant"),(Object)(_prodsvariables.getSize())); +RDebugUtils.currentLine=40501304; + //BA.debugLineNum = 40501304;BA.debugLine="promoMap.Put(\"prodsVariables2Cant\", prodsVariabl"; +_promomap.Put((Object)("prodsVariables2Cant"),(Object)(_prodsvariables2.getSize())); +RDebugUtils.currentLine=40501305; + //BA.debugLineNum = 40501305;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios\", prodsVaria"; +_promomap.Put((Object)("prodsVariablesPrecios"),(Object)(_prodsvariablesprecios.getObject())); +RDebugUtils.currentLine=40501306; + //BA.debugLineNum = 40501306;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios2\", prodsVari"; +_promomap.Put((Object)("prodsVariablesPrecios2"),(Object)(_prodsvariablesprecios2.getObject())); +RDebugUtils.currentLine=40501307; + //BA.debugLineNum = 40501307;BA.debugLine="promoMap.Put(\"resultado\", \"ok\")"; +_promomap.Put((Object)("resultado"),(Object)("ok")); + }else { +RDebugUtils.currentLine=40501309; + //BA.debugLineNum = 40501309;BA.debugLine="promoMap.Put(\"resultado\", \"No hay datos de la pr"; +_promomap.Put((Object)("resultado"),(Object)("No hay datos de la promoción.")); + }; +RDebugUtils.currentLine=40501311; + //BA.debugLineNum = 40501311;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"Select CA"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select CAT_GP_STS, CAT_GP_IMP1, CAT_GP_NOMBRE from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" where CAT_GP_ID = ?"),new String[]{_promo}))); +RDebugUtils.currentLine=40501312; + //BA.debugLineNum = 40501312;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=40501313; + //BA.debugLineNum = 40501313;BA.debugLine="Private pvr As String = 0"; +_pvr = BA.NumberToString(0); +RDebugUtils.currentLine=40501314; + //BA.debugLineNum = 40501314;BA.debugLine="Private pvr2 As String = 0"; +_pvr2 = BA.NumberToString(0); +RDebugUtils.currentLine=40501315; + //BA.debugLineNum = 40501315;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=40501316; + //BA.debugLineNum = 40501316;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=40501317; + //BA.debugLineNum = 40501317;BA.debugLine="pvr = c.GetString(\"CAT_GP_STS\")"; +_pvr = _c.GetString("CAT_GP_STS"); +RDebugUtils.currentLine=40501318; + //BA.debugLineNum = 40501318;BA.debugLine="pvr2 = c.GetString(\"CAT_GP_IMP1\")"; +_pvr2 = _c.GetString("CAT_GP_IMP1"); +RDebugUtils.currentLine=40501319; + //BA.debugLineNum = 40501319;BA.debugLine="If pvr = Null Or pvr = \"null\" Then pvr = 0"; +if (_pvr== null || (_pvr).equals("null")) { +_pvr = BA.NumberToString(0);}; +RDebugUtils.currentLine=40501320; + //BA.debugLineNum = 40501320;BA.debugLine="If pvr2 = Null Or pvr2 = \"null\" Then pvr2 = 0"; +if (_pvr2== null || (_pvr2).equals("null")) { +_pvr2 = BA.NumberToString(0);}; +RDebugUtils.currentLine=40501321; + //BA.debugLineNum = 40501321;BA.debugLine="promoMap.Put(\"prodsVariablesRequeridos\", pvr) 'C"; +_promomap.Put((Object)("prodsVariablesRequeridos"),(Object)(_pvr)); +RDebugUtils.currentLine=40501322; + //BA.debugLineNum = 40501322;BA.debugLine="promoMap.Put(\"prodsVariables2Requeridos\", pvr2)"; +_promomap.Put((Object)("prodsVariables2Requeridos"),(Object)(_pvr2)); +RDebugUtils.currentLine=40501323; + //BA.debugLineNum = 40501323;BA.debugLine="promoMap.put(\"descripcion\", c.GetString(\"CAT_GP_"; +_promomap.Put((Object)("descripcion"),(Object)(_c.GetString("CAT_GP_NOMBRE"))); + }; +RDebugUtils.currentLine=40501325; + //BA.debugLineNum = 40501325;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=40501330; + //BA.debugLineNum = 40501330;BA.debugLine="Return promoMap"; +if (true) return _promomap; +RDebugUtils.currentLine=40501331; + //BA.debugLineNum = 40501331;BA.debugLine="End Sub"; +return null; +} +public static anywheresoftware.b4a.objects.collections.Map _traemosinventariodisponibleparapromo(anywheresoftware.b4a.BA _ba,String _promo) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traemosinventariodisponibleparapromo", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "traemosinventariodisponibleparapromo", new Object[] {_ba,_promo}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +anywheresoftware.b4a.objects.collections.Map _prods = null; +int _i = 0; +RDebugUtils.currentLine=40566784; + //BA.debugLineNum = 40566784;BA.debugLine="Sub traemosInventarioDisponibleParaPromo(promo As"; +RDebugUtils.currentLine=40566785; + //BA.debugLineNum = 40566785;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=40566786; + //BA.debugLineNum = 40566786;BA.debugLine="Log(\"ESTAMOS VIENDO INVENTARIO\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("540566786","ESTAMOS VIENDO INVENTARIO",0); +RDebugUtils.currentLine=40566787; + //BA.debugLineNum = 40566787;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"SELECT CA"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("SELECT CAT_GP_ID, CAT_GP_ALMACEN FROM "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" WHERE CAT_GP_ID IN (select CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID = ?)"),new String[]{_promo}))); +RDebugUtils.currentLine=40566790; + //BA.debugLineNum = 40566790;BA.debugLine="Private prods As Map"; +_prods = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=40566791; + //BA.debugLineNum = 40566791;BA.debugLine="prods.Initialize"; +_prods.Initialize(); +RDebugUtils.currentLine=40566792; + //BA.debugLineNum = 40566792;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=40566794; + //BA.debugLineNum = 40566794;BA.debugLine="For i=0 To c.RowCount -1"; +{ +final int step7 = 1; +final int limit7 = (int) (_c.getRowCount()-1); +_i = (int) (0) ; +for (;_i <= limit7 ;_i = _i + step7 ) { +RDebugUtils.currentLine=40566795; + //BA.debugLineNum = 40566795;BA.debugLine="c.Position=i"; +_c.setPosition(_i); +RDebugUtils.currentLine=40566796; + //BA.debugLineNum = 40566796;BA.debugLine="prods.Put(c.GetString(\"CAT_GP_ID\"), c.GetString"; +_prods.Put((Object)(_c.GetString("CAT_GP_ID")),(Object)(_c.GetString("CAT_GP_ALMACEN"))); + } +}; + }; +RDebugUtils.currentLine=40566801; + //BA.debugLineNum = 40566801;BA.debugLine="Return prods"; +if (true) return _prods; +RDebugUtils.currentLine=40566802; + //BA.debugLineNum = 40566802;BA.debugLine="End Sub"; +return null; +} +public static int _revisamaxpromosprodsfijosporinventario(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisamaxpromosprodsfijosporinventario", false)) + {return ((Integer) Debug.delegate(null, "revisamaxpromosprodsfijosporinventario", new Object[] {_ba,_pm}));} +boolean _thislog = false; +anywheresoftware.b4a.objects.collections.Map _invfijoxpromo = null; +anywheresoftware.b4a.objects.collections.List _t = null; +anywheresoftware.b4a.objects.collections.Map _invdispparapromo = null; +anywheresoftware.b4a.objects.collections.List _prodsfijospiezas = null; +anywheresoftware.b4a.objects.collections.List _idprodsfijos = null; +int _p = 0; +String[] _x = null; +RDebugUtils.currentLine=41025536; + //BA.debugLineNum = 41025536;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario(pm As M"; +RDebugUtils.currentLine=41025537; + //BA.debugLineNum = 41025537;BA.debugLine="Private thisLog As Boolean = False"; +_thislog = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=41025538; + //BA.debugLineNum = 41025538;BA.debugLine="Private invFijoXpromo As Map"; +_invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=41025539; + //BA.debugLineNum = 41025539;BA.debugLine="Private t As List"; +_t = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=41025540; + //BA.debugLineNum = 41025540;BA.debugLine="t.Initialize"; +_t.Initialize(); +RDebugUtils.currentLine=41025541; + //BA.debugLineNum = 41025541;BA.debugLine="t.Add(traeMaxPromos(pm)) ' Agregamos a la lista l"; +_t.Add((Object)(_traemaxpromos(_ba,_pm))); +RDebugUtils.currentLine=41025542; + //BA.debugLineNum = 41025542;BA.debugLine="invFijoXpromo.Initialize"; +_invfijoxpromo.Initialize(); +RDebugUtils.currentLine=41025543; + //BA.debugLineNum = 41025543;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541025543",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=41025544; + //BA.debugLineNum = 41025544;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; +_invdispparapromo = new anywheresoftware.b4a.objects.collections.Map(); +_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id")))); +RDebugUtils.currentLine=41025545; + //BA.debugLineNum = 41025545;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541025545",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);}; +RDebugUtils.currentLine=41025546; + //BA.debugLineNum = 41025546;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF"; +_prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List(); +_prodsfijospiezas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas")))); +RDebugUtils.currentLine=41025547; + //BA.debugLineNum = 41025547;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos"; +_idprodsfijos = new anywheresoftware.b4a.objects.collections.List(); +_idprodsfijos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijos")))); +RDebugUtils.currentLine=41025548; + //BA.debugLineNum = 41025548;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos una"; +{ +final int step12 = 1; +final int limit12 = (int) (_idprodsfijos.getSize()-1); +_p = (int) (0) ; +for (;_p <= limit12 ;_p = _p + step12 ) { +RDebugUtils.currentLine=41025549; + //BA.debugLineNum = 41025549;BA.debugLine="If thisLog Then Log($\"id=${idProdsFijos.Get(p)},"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541025549",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_p))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_p)))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_prodsfijospiezas.Get(_p))+""),0);}; +RDebugUtils.currentLine=41025550; + //BA.debugLineNum = 41025550;BA.debugLine="If thisLog Then Log($\"${(invDispParaPromo.Get(id"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541025550",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))))+""),0);}; +RDebugUtils.currentLine=41025551; + //BA.debugLineNum = 41025551;BA.debugLine="Private x() As String = Regex.Split(\"\\.\", $\"${(i"; +_x = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))))+"")); +RDebugUtils.currentLine=41025552; + //BA.debugLineNum = 41025552;BA.debugLine="If thisLog Then Log(x(0))"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541025552",_x[(int) (0)],0);}; +RDebugUtils.currentLine=41025553; + //BA.debugLineNum = 41025553;BA.debugLine="t.Add(x(0).As(Int)) 'Solo guardamos la parte del"; +_t.Add((Object)(((int)(Double.parseDouble(_x[(int) (0)]))))); + } +}; +RDebugUtils.currentLine=41025555; + //BA.debugLineNum = 41025555;BA.debugLine="t.Sort(True) 'Ordenamos la lista para que en el l"; +_t.Sort(anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=41025556; + //BA.debugLineNum = 41025556;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541025556",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=41025557; + //BA.debugLineNum = 41025557;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541025557",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=41025558; + //BA.debugLineNum = 41025558;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541025558",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=41025560; + //BA.debugLineNum = 41025560;BA.debugLine="Return t.Get(0) 'Regresamos el resultado mas pequ"; +if (true) return (int)(BA.ObjectToNumber(_t.Get((int) (0)))); +RDebugUtils.currentLine=41025561; + //BA.debugLineNum = 41025561;BA.debugLine="End Sub"; +return 0; +} +public static int _revisamaxpromosprodsvariablesporinventario(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisamaxpromosprodsvariablesporinventario", false)) + {return ((Integer) Debug.delegate(null, "revisamaxpromosprodsvariablesporinventario", new Object[] {_ba,_pm}));} +boolean _thislog = false; +anywheresoftware.b4a.objects.collections.Map _invfijoxpromo = null; +int _totalprodsvariablesdisponibles = 0; +int _totalprodsvariables2disponibles = 0; +anywheresoftware.b4a.objects.collections.Map _invdispparapromo = null; +String _maxpromos = ""; +int _maxpromosxfijos = 0; +anywheresoftware.b4a.objects.collections.List _idprodsvariables = null; +anywheresoftware.b4a.objects.collections.List _idprodsvariables2 = null; +int _prodsvariablesrequeridos = 0; +int _prodsvariables2requeridos = 0; +anywheresoftware.b4a.objects.collections.List _prodsfijospiezas = null; +anywheresoftware.b4a.objects.collections.List _idprodsfijos = null; +int _p = 0; +String _idesteprod = ""; +int _investeprod = 0; +int _pzasreqesteprod = 0; +int _maxpromosxvariables = 0; +int _maxpromosxvariables2 = 0; +int _x = 0; +int _i = 0; +RDebugUtils.currentLine=41091072; + //BA.debugLineNum = 41091072;BA.debugLine="Sub revisaMaxPromosProdsVariablesPorInventario(pm"; +RDebugUtils.currentLine=41091073; + //BA.debugLineNum = 41091073;BA.debugLine="Private thisLog As Boolean = False"; +_thislog = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=41091074; + //BA.debugLineNum = 41091074;BA.debugLine="If thisLog Then Log(\"============================"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091074","======================================================",0);}; +RDebugUtils.currentLine=41091075; + //BA.debugLineNum = 41091075;BA.debugLine="If thisLog Then Log(\"============================"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091075","======================================================",0);}; +RDebugUtils.currentLine=41091076; + //BA.debugLineNum = 41091076;BA.debugLine="Private invFijoXpromo As Map"; +_invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=41091077; + //BA.debugLineNum = 41091077;BA.debugLine="invFijoXpromo.Initialize"; +_invfijoxpromo.Initialize(); +RDebugUtils.currentLine=41091078; + //BA.debugLineNum = 41091078;BA.debugLine="Private totalProdsVariablesDisponibles As Int = 0"; +_totalprodsvariablesdisponibles = (int) (0); +RDebugUtils.currentLine=41091079; + //BA.debugLineNum = 41091079;BA.debugLine="Private totalProdsVariables2Disponibles As Int ="; +_totalprodsvariables2disponibles = (int) (0); +RDebugUtils.currentLine=41091080; + //BA.debugLineNum = 41091080;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091080",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=41091081; + //BA.debugLineNum = 41091081;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; +_invdispparapromo = new anywheresoftware.b4a.objects.collections.Map(); +_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id")))); +RDebugUtils.currentLine=41091082; + //BA.debugLineNum = 41091082;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091082",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);}; +RDebugUtils.currentLine=41091083; + //BA.debugLineNum = 41091083;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)"; +_maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm)); +RDebugUtils.currentLine=41091084; + //BA.debugLineNum = 41091084;BA.debugLine="Private maxPromosXFijos As Int = revisaMaxPromosP"; +_maxpromosxfijos = _revisamaxpromosprodsfijosporinventario(_ba,_pm); +RDebugUtils.currentLine=41091085; + //BA.debugLineNum = 41091085;BA.debugLine="Private idProdsVariables As List = pm.Get(\"prodsV"; +_idprodsvariables = new anywheresoftware.b4a.objects.collections.List(); +_idprodsvariables = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsVariables")))); +RDebugUtils.currentLine=41091086; + //BA.debugLineNum = 41091086;BA.debugLine="Private idProdsVariables2 As List = pm.Get(\"prods"; +_idprodsvariables2 = new anywheresoftware.b4a.objects.collections.List(); +_idprodsvariables2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsVariables2")))); +RDebugUtils.currentLine=41091087; + //BA.debugLineNum = 41091087;BA.debugLine="Private prodsVariablesRequeridos As Int = pm.Get("; +_prodsvariablesrequeridos = (int)(BA.ObjectToNumber(_pm.Get((Object)("prodsVariablesRequeridos")))); +RDebugUtils.currentLine=41091088; + //BA.debugLineNum = 41091088;BA.debugLine="Private prodsVariables2Requeridos As Int = pm.Get"; +_prodsvariables2requeridos = (int)(BA.ObjectToNumber(_pm.Get((Object)("prodsVariables2Requeridos")))); +RDebugUtils.currentLine=41091089; + //BA.debugLineNum = 41091089;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF"; +_prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List(); +_prodsfijospiezas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas")))); +RDebugUtils.currentLine=41091090; + //BA.debugLineNum = 41091090;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos"; +_idprodsfijos = new anywheresoftware.b4a.objects.collections.List(); +_idprodsfijos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijos")))); +RDebugUtils.currentLine=41091091; + //BA.debugLineNum = 41091091;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos mapa"; +{ +final int step19 = 1; +final int limit19 = (int) (_idprodsfijos.getSize()-1); +_p = (int) (0) ; +for (;_p <= limit19 ;_p = _p + step19 ) { +RDebugUtils.currentLine=41091092; + //BA.debugLineNum = 41091092;BA.debugLine="invFijoXpromo.Put(idProdsFijos.Get(p), prodsFijo"; +_invfijoxpromo.Put(_idprodsfijos.Get(_p),_prodsfijospiezas.Get(_p)); +RDebugUtils.currentLine=41091093; + //BA.debugLineNum = 41091093;BA.debugLine="Private idEsteProd As String = idProdsFijos.Get("; +_idesteprod = BA.ObjectToString(_idprodsfijos.Get(_p)); +RDebugUtils.currentLine=41091094; + //BA.debugLineNum = 41091094;BA.debugLine="Private invEsteProd As Int = invDispParaPromo.Ge"; +_investeprod = (int)(BA.ObjectToNumber(_invdispparapromo.Get((Object)(_idesteprod)))); +RDebugUtils.currentLine=41091095; + //BA.debugLineNum = 41091095;BA.debugLine="Private pzasReqEsteProd As Int = prodsFijosPieza"; +_pzasreqesteprod = (int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))); +RDebugUtils.currentLine=41091096; + //BA.debugLineNum = 41091096;BA.debugLine="If thisLog Then Log($\"id=${idEsteProd}, inv=${in"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091096",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idesteprod))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_investeprod))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pzasreqesteprod))+""),0);}; + } +}; +RDebugUtils.currentLine=41091099; + //BA.debugLineNum = 41091099;BA.debugLine="If thisLog Then LogColor($\"MaxPromos=${maxPromos}"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091099",("MaxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", promosXFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromosxfijos))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=41091100; + //BA.debugLineNum = 41091100;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091100",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=41091101; + //BA.debugLineNum = 41091101;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091101",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=41091102; + //BA.debugLineNum = 41091102;BA.debugLine="If thisLog Then LogColor($\"prodsVariables=${idPro"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091102",("prodsVariables="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=41091103; + //BA.debugLineNum = 41091103;BA.debugLine="If thisLog Then LogColor($\"prodsVariables2=${idPr"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091103",("prodsVariables2="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables2.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables2 Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariables2requeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=41091104; + //BA.debugLineNum = 41091104;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091104",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=41091105; + //BA.debugLineNum = 41091105;BA.debugLine="If thisLog Then Log($\"Prods variables disponibles"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091105",("Prods variables disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+""),0);}; +RDebugUtils.currentLine=41091106; + //BA.debugLineNum = 41091106;BA.debugLine="If thisLog Then Log($\"Prods variables2 disponible"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091106",("Prods variables2 disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariables2disponibles))+""),0);}; +RDebugUtils.currentLine=41091107; + //BA.debugLineNum = 41091107;BA.debugLine="Private maxPromosXVariables As Int = 0"; +_maxpromosxvariables = (int) (0); +RDebugUtils.currentLine=41091108; + //BA.debugLineNum = 41091108;BA.debugLine="Private maxPromosXVariables2 As Int = 0"; +_maxpromosxvariables2 = (int) (0); +RDebugUtils.currentLine=41091109; + //BA.debugLineNum = 41091109;BA.debugLine="For x = 1 To maxPromosXFijos"; +{ +final int step36 = 1; +final int limit36 = _maxpromosxfijos; +_x = (int) (1) ; +for (;_x <= limit36 ;_x = _x + step36 ) { +RDebugUtils.currentLine=41091110; + //BA.debugLineNum = 41091110;BA.debugLine="If thisLog Then Log(\"==========================="; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091110","=====================================================",0);}; +RDebugUtils.currentLine=41091111; + //BA.debugLineNum = 41091111;BA.debugLine="If thisLog Then Log(\"==========================="; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091111","=====================================================",0);}; +RDebugUtils.currentLine=41091112; + //BA.debugLineNum = 41091112;BA.debugLine="For i = 0 To idProdsFijos.Size - 1"; +{ +final int step39 = 1; +final int limit39 = (int) (_idprodsfijos.getSize()-1); +_i = (int) (0) ; +for (;_i <= limit39 ;_i = _i + step39 ) { +RDebugUtils.currentLine=41091113; + //BA.debugLineNum = 41091113;BA.debugLine="If thisLog Then Log($\"FIJO - ${idProdsFijos.Get"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091113",("FIJO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_i))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_i)))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_i))))*(_i+1)))+""),0);}; +RDebugUtils.currentLine=41091114; + //BA.debugLineNum = 41091114;BA.debugLine="invDispParaPromo.Put(idProdsFijos.Get(i), invDi"; +_invdispparapromo.Put(_idprodsfijos.Get(_i),(Object)(((int)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_i)))))-((int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_i))))*(_i+1))); + } +}; +RDebugUtils.currentLine=41091116; + //BA.debugLineNum = 41091116;BA.debugLine="If thisLog Then LogColor(\"Inv disponible despues"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091116","Inv disponible despues de restar fijos = "+BA.ObjectToString(_invdispparapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=41091118; + //BA.debugLineNum = 41091118;BA.debugLine="totalProdsVariablesDisponibles = 0"; +_totalprodsvariablesdisponibles = (int) (0); +RDebugUtils.currentLine=41091119; + //BA.debugLineNum = 41091119;BA.debugLine="totalProdsVariables2Disponibles = 0"; +_totalprodsvariables2disponibles = (int) (0); +RDebugUtils.currentLine=41091120; + //BA.debugLineNum = 41091120;BA.debugLine="For i = 0 To idProdsVariables.Size - 1 'Obtenemo"; +{ +final int step46 = 1; +final int limit46 = (int) (_idprodsvariables.getSize()-1); +_i = (int) (0) ; +for (;_i <= limit46 ;_i = _i + step46 ) { +RDebugUtils.currentLine=41091121; + //BA.debugLineNum = 41091121;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable"; +if (_invdispparapromo.ContainsKey(_idprodsvariables.Get(_i))) { +RDebugUtils.currentLine=41091122; + //BA.debugLineNum = 41091122;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVar"; +_totalprodsvariablesdisponibles = (int) (_totalprodsvariablesdisponibles+(double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsvariables.Get(_i))))); + }; + } +}; +RDebugUtils.currentLine=41091125; + //BA.debugLineNum = 41091125;BA.debugLine="For i = 0 To idProdsVariables2.Size - 1 'Obtenem"; +{ +final int step51 = 1; +final int limit51 = (int) (_idprodsvariables2.getSize()-1); +_i = (int) (0) ; +for (;_i <= limit51 ;_i = _i + step51 ) { +RDebugUtils.currentLine=41091126; + //BA.debugLineNum = 41091126;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable"; +if (_invdispparapromo.ContainsKey(_idprodsvariables2.Get(_i))) { +RDebugUtils.currentLine=41091127; + //BA.debugLineNum = 41091127;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVa"; +_totalprodsvariables2disponibles = (int) (_totalprodsvariables2disponibles+(double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsvariables2.Get(_i))))); + }; + } +}; +RDebugUtils.currentLine=41091131; + //BA.debugLineNum = 41091131;BA.debugLine="If thisLog Then Log($\"Var disponibles - var req"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091131",("Var disponibles - var requeridos : "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos*_x))+""),0);}; +RDebugUtils.currentLine=41091132; + //BA.debugLineNum = 41091132;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVaria"; +_totalprodsvariablesdisponibles = (int) (_totalprodsvariablesdisponibles-(_prodsvariablesrequeridos*_x)); +RDebugUtils.currentLine=41091133; + //BA.debugLineNum = 41091133;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVari"; +_totalprodsvariables2disponibles = (int) (_totalprodsvariables2disponibles-(_prodsvariables2requeridos*_x)); +RDebugUtils.currentLine=41091134; + //BA.debugLineNum = 41091134;BA.debugLine="If thisLog Then Log(\"prodsVariables disponibles"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091134","prodsVariables disponibles despues de promo = "+BA.NumberToString(_totalprodsvariablesdisponibles),0);}; +RDebugUtils.currentLine=41091135; + //BA.debugLineNum = 41091135;BA.debugLine="If thisLog Then Log(\"prodsVariables2 disponibles"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091135","prodsVariables2 disponibles despues de promo = "+BA.NumberToString(_totalprodsvariables2disponibles),0);}; +RDebugUtils.currentLine=41091136; + //BA.debugLineNum = 41091136;BA.debugLine="If totalProdsVariablesDisponibles < 0 Then Exit"; +if (_totalprodsvariablesdisponibles<0) { +if (true) break;}; +RDebugUtils.currentLine=41091137; + //BA.debugLineNum = 41091137;BA.debugLine="If totalProdsVariables2Disponibles < 0 Then Exit"; +if (_totalprodsvariables2disponibles<0) { +if (true) break;}; +RDebugUtils.currentLine=41091138; + //BA.debugLineNum = 41091138;BA.debugLine="maxPromosXVariables = x"; +_maxpromosxvariables = _x; + } +}; +RDebugUtils.currentLine=41091141; + //BA.debugLineNum = 41091141;BA.debugLine="If thisLog Then LogColor(\"Max promos de prodsVari"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("541091141","Max promos de prodsVariables POR inventario = "+BA.NumberToString(_maxpromosxvariables),anywheresoftware.b4a.keywords.Common.Colors.Red);}; +RDebugUtils.currentLine=41091142; + //BA.debugLineNum = 41091142;BA.debugLine="Return maxPromosXVariables"; +if (true) return _maxpromosxvariables; +RDebugUtils.currentLine=41091143; + //BA.debugLineNum = 41091143;BA.debugLine="End Sub"; +return 0; +} +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=36896768; + //BA.debugLineNum = 36896768;BA.debugLine="Sub centraBoton(elemento As Button, anchoElementoS"; +RDebugUtils.currentLine=36896769; + //BA.debugLineNum = 36896769;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=36896770; + //BA.debugLineNum = 36896770;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}));} +RDebugUtils.currentLine=37683200; + //BA.debugLineNum = 37683200;BA.debugLine="Sub revisaBD 'ignore"; +RDebugUtils.currentLine=37683204; + //BA.debugLineNum = 37683204;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"))) { +RDebugUtils.currentLine=37683205; + //BA.debugLineNum = 37683205;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", Starter.ruta"; +anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",mostCurrent._starter._ruta /*String*/ ,"kmt.db"); +RDebugUtils.currentLine=37683206; + //BA.debugLineNum = 37683206;BA.debugLine="LogColor(\"copiamos kmt.db de \"&File.DirAssets &"; +anywheresoftware.b4a.keywords.Common.LogImpl("537683206","copiamos kmt.db de "+anywheresoftware.b4a.keywords.Common.File.getDirAssets()+" a "+mostCurrent._starter._ruta /*String*/ ,anywheresoftware.b4a.keywords.Common.Colors.Green); + }; +RDebugUtils.currentLine=37683208; + //BA.debugLineNum = 37683208;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=37683209; + //BA.debugLineNum = 37683209;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=37683211; + //BA.debugLineNum = 37683211;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; +_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"); +RDebugUtils.currentLine=37683213; + //BA.debugLineNum = 37683213;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ABON"; +_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOSP(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT)"); +RDebugUtils.currentLine=37683214; + //BA.debugLineNum = 37683214;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CLIE"; +_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CLIENTE_NUEVO(CN_ID_CLIENTE TEXT, CN_NOMBRE TEXT, CN_enviado text)"); +RDebugUtils.currentLine=37683215; + //BA.debugLineNum = 37683215;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUTA"; +_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_SUPLENCIA(RS_RUTA TEXT)"); +RDebugUtils.currentLine=37683216; + //BA.debugLineNum = 37683216;BA.debugLine="Try 'Si no existe la columna PC_ENVIO_OK la agreg"; +try {RDebugUtils.currentLine=37683217; + //BA.debugLineNum = 37683217;BA.debugLine="kmt.ExecQuery(\"select count(PC_ENVIO_OK) from PE"; +_kmt.ExecQuery("select count(PC_ENVIO_OK) from PEDIDO_CLIENTE"); + } + catch (Exception e14) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e14);RDebugUtils.currentLine=37683219; + //BA.debugLineNum = 37683219;BA.debugLine="Try"; +try {RDebugUtils.currentLine=37683220; + //BA.debugLineNum = 37683220;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE PEDIDO_CLIENTE AD"; +_kmt.ExecNonQuery("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_ENVIO_OK INTEGER"); + } + catch (Exception e17) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e17);RDebugUtils.currentLine=37683222; + //BA.debugLineNum = 37683222;BA.debugLine="LogColor(\"No pudimos agregar la columna PC_ENVI"; +anywheresoftware.b4a.keywords.Common.LogImpl("537683222","No pudimos agregar la columna PC_ENVIO_OK.",anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=37683223; + //BA.debugLineNum = 37683223;BA.debugLine="LogColor(LastException, Colors.Red)"; +anywheresoftware.b4a.keywords.Common.LogImpl("537683223",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; + }; +RDebugUtils.currentLine=37683227; + //BA.debugLineNum = 37683227;BA.debugLine="Try 'Si no existe la columna CAT_CL_DIAS_VISITA l"; +try {RDebugUtils.currentLine=37683228; + //BA.debugLineNum = 37683228;BA.debugLine="kmt.ExecQuery(\"select count(CAT_CL_DIAS_VISITA)"; +_kmt.ExecQuery("select count(CAT_CL_DIAS_VISITA) from kmt_info2"); + } + catch (Exception e24) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e24);RDebugUtils.currentLine=37683230; + //BA.debugLineNum = 37683230;BA.debugLine="Try"; +try {RDebugUtils.currentLine=37683231; + //BA.debugLineNum = 37683231;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE kmt_info2 ADD COL"; +_kmt.ExecNonQuery("ALTER TABLE kmt_info2 ADD COLUMN CAT_CL_DIAS_VISITA TEXT"); + } + catch (Exception e27) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e27);RDebugUtils.currentLine=37683233; + //BA.debugLineNum = 37683233;BA.debugLine="LogColor(\"No pudimos agregar la columna CAT_CL_"; +anywheresoftware.b4a.keywords.Common.LogImpl("537683233","No pudimos agregar la columna CAT_CL_DIAS_VISITA.",anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=37683234; + //BA.debugLineNum = 37683234;BA.debugLine="LogColor(LastException, Colors.Red)"; +anywheresoftware.b4a.keywords.Common.LogImpl("537683234",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; + }; +RDebugUtils.currentLine=37683238; + //BA.debugLineNum = 37683238;BA.debugLine="Try 'Si no existe la columna PC_ENVIO_OK la agreg"; +try {RDebugUtils.currentLine=37683239; + //BA.debugLineNum = 37683239;BA.debugLine="kmt.ExecQuery(\"select count(PC_TIEMPO_TIENDA) fr"; +_kmt.ExecQuery("select count(PC_TIEMPO_TIENDA) from PEDIDO_CLIENTE"); + } + catch (Exception e34) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e34);RDebugUtils.currentLine=37683241; + //BA.debugLineNum = 37683241;BA.debugLine="Try"; +try {RDebugUtils.currentLine=37683242; + //BA.debugLineNum = 37683242;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE PEDIDO_CLIENTE AD"; +_kmt.ExecNonQuery("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_TIEMPO_TIENDA FLOAT"); + } + catch (Exception e37) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e37);RDebugUtils.currentLine=37683244; + //BA.debugLineNum = 37683244;BA.debugLine="LogColor(\"No pudimos agregar la columna PC_TIEM"; +anywheresoftware.b4a.keywords.Common.LogImpl("537683244","No pudimos agregar la columna PC_TIEMPO_TIENDA.",anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=37683245; + //BA.debugLineNum = 37683245;BA.debugLine="LogColor(LastException, Colors.Red)"; +anywheresoftware.b4a.keywords.Common.LogImpl("537683245",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; + }; +RDebugUtils.currentLine=37683248; + //BA.debugLineNum = 37683248;BA.debugLine="Try 'Si no existe la columna PC_FACTURA la agrega"; +try {RDebugUtils.currentLine=37683249; + //BA.debugLineNum = 37683249;BA.debugLine="kmt.ExecQuery(\"select count(PC_FACTURA) from PED"; +_kmt.ExecQuery("select count(PC_FACTURA) from PEDIDO_CLIENTE"); + } + catch (Exception e44) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e44);RDebugUtils.currentLine=37683251; + //BA.debugLineNum = 37683251;BA.debugLine="Try"; +try {RDebugUtils.currentLine=37683252; + //BA.debugLineNum = 37683252;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE PEDIDO_CLIENTE AD"; +_kmt.ExecNonQuery("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_FACTURA INTEGER"); + } + catch (Exception e47) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e47);RDebugUtils.currentLine=37683254; + //BA.debugLineNum = 37683254;BA.debugLine="LogColor(\"No pudimos agregar la columna PC_FACT"; +anywheresoftware.b4a.keywords.Common.LogImpl("537683254","No pudimos agregar la columna PC_FACTURA.",anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=37683255; + //BA.debugLineNum = 37683255;BA.debugLine="LogColor(LastException, Colors.Red)"; +anywheresoftware.b4a.keywords.Common.LogImpl("537683255",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; + }; +RDebugUtils.currentLine=37683258; + //BA.debugLineNum = 37683258;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; +_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"); +RDebugUtils.currentLine=37683260; + //BA.debugLineNum = 37683260;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PEDI"; +_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PEDIDO_INICIO_FINAL(PIF_CLIENTE TEXT, PIF_HORA_INICIO LONG, PIF_HORA_FINAL LONG)"); +RDebugUtils.currentLine=37683263; + //BA.debugLineNum = 37683263;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=37683264; + //BA.debugLineNum = 37683264;BA.debugLine="errorLog.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS"; +_errorlog.ExecNonQuery("CREATE TABLE IF NOT EXISTS errores(fecha INTEGER, error TEXT)"); +RDebugUtils.currentLine=37683265; + //BA.debugLineNum = 37683265;BA.debugLine="End Sub"; +return ""; +} +public static String _guardaproductosingestion2(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _cantc,String _bcajas) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardaproductosingestion2", false)) + {return ((String) Debug.delegate(null, "guardaproductosingestion2", new Object[] {_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=40042496; + //BA.debugLineNum = 40042496;BA.debugLine="Sub guardaProductoSinGestion2(cedis As String, cos"; +RDebugUtils.currentLine=40042498; + //BA.debugLineNum = 40042498;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=40042499; + //BA.debugLineNum = 40042499;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO,PE_ENVIO_OK,PE_CANTC,PE_BCAJAS) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(((double)(Double.parseDouble(_cantc))*(double)(Double.parseDouble(_costou)))),(Object)(_costou),(Object)(_cant),(Object)(_nombre),(Object)(_prodid),(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_rutav),(Object)(_preciosin),(Object)(_tipoventa),(Object)(_cantc),(Object)(_bcajas)})); +RDebugUtils.currentLine=40042500; + //BA.debugLineNum = 40042500;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"VENTA\" Then"; +if ((mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ).equals("VENTA")) { +RDebugUtils.currentLine=40042501; + //BA.debugLineNum = 40042501;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)})); + }else { +RDebugUtils.currentLine=40042503; + //BA.debugLineNum = 40042503;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update CA"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)})); +RDebugUtils.currentLine=40042504; + //BA.debugLineNum = 40042504;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update CA"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)})); + }; +RDebugUtils.currentLine=40042506; + //BA.debugLineNum = 40042506;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=40042507; + //BA.debugLineNum = 40042507;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=40042508; + //BA.debugLineNum = 40042508;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=40042509; + //BA.debugLineNum = 40042509;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._lat_gps /*String*/ ),(Object)(_cedis),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); +RDebugUtils.currentLine=40042510; + //BA.debugLineNum = 40042510;BA.debugLine="End Sub"; +return ""; +} +public static String _guardaproductosingestiondinamico(anywheresoftware.b4a.BA _ba,String _cedis,float _costou,int _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _cantc,String _bcajas,String _dirigida,int _uvm,String _presentacion) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardaproductosingestiondinamico", false)) + {return ((String) Debug.delegate(null, "guardaproductosingestiondinamico", new Object[] {_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas,_dirigida,_uvm,_presentacion}));} +float _costototal = 0f; +String _query = ""; +String _tablainventario = ""; +RDebugUtils.currentLine=42139648; + //BA.debugLineNum = 42139648;BA.debugLine="Sub guardaProductoSinGestionDinamico(cedis As Stri"; +RDebugUtils.currentLine=42139650; + //BA.debugLineNum = 42139650;BA.debugLine="Dim costoTotal As Float = (cant / uvm) * costoU"; +_costototal = (float) ((_cant/(double)_uvm)*_costou); +RDebugUtils.currentLine=42139652; + //BA.debugLineNum = 42139652;BA.debugLine="Dim query As String = \"INSERT INTO PEDIDO (PE_CED"; +_query = "INSERT INTO PEDIDO (PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, "+"PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_RUTA, PE_COSTO_SIN, PE_FOLIO, PE_ENVIO_OK, "+"PE_CANTC, PE_BCAJAS, PE_DIRIGIDA, PE_UVM, PE_PRESENTACION) "+"VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?,?)"; +RDebugUtils.currentLine=42139657; + //BA.debugLineNum = 42139657;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(query, Array"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(_query,anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(_costototal),(Object)(_costou),(Object)(_cant),(Object)(_nombre),(Object)(_prodid),(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_rutav),(Object)(_preciosin),(Object)(_tipoventa),(Object)(_cantc),(Object)(_bcajas),(Object)(_dirigida),(Object)(_uvm),(Object)(_presentacion)})); +RDebugUtils.currentLine=42139661; + //BA.debugLineNum = 42139661;BA.debugLine="Dim tablaInventario As String = Starter.tabla"; +_tablainventario = mostCurrent._starter._tabla /*String*/ ; +RDebugUtils.currentLine=42139664; + //BA.debugLineNum = 42139664;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ${ta"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tablainventario))+" SET cat_gp_almacen = cat_gp_almacen - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+" WHERE cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"'")); +RDebugUtils.currentLine=42139667; + //BA.debugLineNum = 42139667;BA.debugLine="SincronizarTotalesEncabezado(clienteId, fecha, us"; +_sincronizartotalesencabezado(_ba,_clienteid,_fecha,_usuario,_cedis); +RDebugUtils.currentLine=42139668; + //BA.debugLineNum = 42139668;BA.debugLine="End Sub"; +return ""; +} +public static boolean _alcanzanlosvariablesparapromo(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _promomap,anywheresoftware.b4a.objects.collections.Map _inventariosinfijos) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "alcanzanlosvariablesparapromo", false)) + {return ((Boolean) Debug.delegate(null, "alcanzanlosvariablesparapromo", new Object[] {_ba,_promomap,_inventariosinfijos}));} +boolean _thislog = false; +int _totalprodsvariables = 0; +int _totalprodsvariables2 = 0; +anywheresoftware.b4a.objects.collections.List _prodsvariables = null; +anywheresoftware.b4a.objects.collections.List _prodsvariables2 = null; +int _p = 0; +String _t = ""; +String _p2 = ""; +boolean _res = false; +boolean _res1 = false; +boolean _res2 = false; +RDebugUtils.currentLine=40697856; + //BA.debugLineNum = 40697856;BA.debugLine="Sub alcanzanLosVariablesParaPromo(promoMap As Map,"; +RDebugUtils.currentLine=40697857; + //BA.debugLineNum = 40697857;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade"; +_thislog = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=40697858; + //BA.debugLineNum = 40697858;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial: \"&i"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540697858","Inventario inicial: "+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Gray);}; +RDebugUtils.currentLine=40697859; + //BA.debugLineNum = 40697859;BA.debugLine="Private totalProdsVariables As Int = 0"; +_totalprodsvariables = (int) (0); +RDebugUtils.currentLine=40697860; + //BA.debugLineNum = 40697860;BA.debugLine="Private totalProdsVariables2 As Int = 0"; +_totalprodsvariables2 = (int) (0); +RDebugUtils.currentLine=40697862; + //BA.debugLineNum = 40697862;BA.debugLine="Private prodsVariables As List = promoMap.get(\"pr"; +_prodsvariables = new anywheresoftware.b4a.objects.collections.List(); +_prodsvariables = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsVariables")))); +RDebugUtils.currentLine=40697863; + //BA.debugLineNum = 40697863;BA.debugLine="Private prodsVariables2 As List = promoMap.get(\"p"; +_prodsvariables2 = new anywheresoftware.b4a.objects.collections.List(); +_prodsvariables2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsVariables2")))); +RDebugUtils.currentLine=40697864; + //BA.debugLineNum = 40697864;BA.debugLine="For p = 0 To prodsVariables.Size - 1"; +{ +final int step7 = 1; +final int limit7 = (int) (_prodsvariables.getSize()-1); +_p = (int) (0) ; +for (;_p <= limit7 ;_p = _p + step7 ) { +RDebugUtils.currentLine=40697865; + //BA.debugLineNum = 40697865;BA.debugLine="Private t As String = prodsVariables.Get(p) 'Obt"; +_t = BA.ObjectToString(_prodsvariables.Get(_p)); +RDebugUtils.currentLine=40697867; + //BA.debugLineNum = 40697867;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex"; +if (_inventariosinfijos.ContainsKey((Object)(_t))) { +RDebugUtils.currentLine=40697868; + //BA.debugLineNum = 40697868;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t"; +_p2 = BA.ObjectToString(_inventariosinfijos.Get((Object)(_t))); +RDebugUtils.currentLine=40697870; + //BA.debugLineNum = 40697870;BA.debugLine="totalProdsVariables = totalProdsVariables + p2"; +_totalprodsvariables = (int) (_totalprodsvariables+(double)(Double.parseDouble(_p2))); +RDebugUtils.currentLine=40697872; + //BA.debugLineNum = 40697872;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540697872",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);}; + }; + } +}; +RDebugUtils.currentLine=40697875; + //BA.debugLineNum = 40697875;BA.debugLine="For p = 0 To prodsVariables2.Size - 1"; +{ +final int step15 = 1; +final int limit15 = (int) (_prodsvariables2.getSize()-1); +_p = (int) (0) ; +for (;_p <= limit15 ;_p = _p + step15 ) { +RDebugUtils.currentLine=40697876; + //BA.debugLineNum = 40697876;BA.debugLine="Private t As String = prodsVariables2.Get(p) 'Ob"; +_t = BA.ObjectToString(_prodsvariables2.Get(_p)); +RDebugUtils.currentLine=40697877; + //BA.debugLineNum = 40697877;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex"; +if (_inventariosinfijos.ContainsKey((Object)(_t))) { +RDebugUtils.currentLine=40697878; + //BA.debugLineNum = 40697878;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t"; +_p2 = BA.ObjectToString(_inventariosinfijos.Get((Object)(_t))); +RDebugUtils.currentLine=40697879; + //BA.debugLineNum = 40697879;BA.debugLine="totalProdsVariables2 = totalProdsVariables2 + p"; +_totalprodsvariables2 = (int) (_totalprodsvariables2+(double)(Double.parseDouble(_p2))); +RDebugUtils.currentLine=40697880; + //BA.debugLineNum = 40697880;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540697880",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);}; + }; + } +}; +RDebugUtils.currentLine=40697883; + //BA.debugLineNum = 40697883;BA.debugLine="If thisLog Then Log(\"Total prods variables=\" & to"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540697883","Total prods variables="+BA.NumberToString(_totalprodsvariables)+", requeridos="+BA.ObjectToString(_promomap.Get((Object)("prodsVariablesRequeridos"))),0);}; +RDebugUtils.currentLine=40697884; + //BA.debugLineNum = 40697884;BA.debugLine="If thisLog Then Log(\"Total prods variables2=\" & t"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540697884","Total prods variables2="+BA.NumberToString(_totalprodsvariables2)+", requeridos2="+BA.ObjectToString(_promomap.Get((Object)("prodsVariables2Requeridos"))),0);}; +RDebugUtils.currentLine=40697885; + //BA.debugLineNum = 40697885;BA.debugLine="Private res As Boolean = False"; +_res = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=40697886; + //BA.debugLineNum = 40697886;BA.debugLine="Private res1 As Boolean = False"; +_res1 = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=40697887; + //BA.debugLineNum = 40697887;BA.debugLine="Private res2 As Boolean = False"; +_res2 = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=40697892; + //BA.debugLineNum = 40697892;BA.debugLine="If totalProdsVariables > 0 And totalProdsVariable"; +if (_totalprodsvariables>0 && _totalprodsvariables>=(double)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariablesRequeridos"))))) { +RDebugUtils.currentLine=40697893; + //BA.debugLineNum = 40697893;BA.debugLine="res1 = True 'Si el total de inventario de produc"; +_res1 = anywheresoftware.b4a.keywords.Common.True; + }; +RDebugUtils.currentLine=40697895; + //BA.debugLineNum = 40697895;BA.debugLine="If promoMap.Get(\"prodsVariablesRequeridos\").As (I"; +if (((int)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariablesRequeridos")))))==0) { +_res1 = anywheresoftware.b4a.keywords.Common.True;}; +RDebugUtils.currentLine=40697896; + //BA.debugLineNum = 40697896;BA.debugLine="If totalProdsVariables2 > 0 And totalProdsVariabl"; +if (_totalprodsvariables2>0 && _totalprodsvariables2>=(double)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariables2Requeridos"))))) { +RDebugUtils.currentLine=40697897; + //BA.debugLineNum = 40697897;BA.debugLine="res2 = True 'Si el total de inventario de produc"; +_res2 = anywheresoftware.b4a.keywords.Common.True; + }; +RDebugUtils.currentLine=40697899; + //BA.debugLineNum = 40697899;BA.debugLine="If promoMap.Get(\"prodsVariables2Requeridos\").As(I"; +if (((int)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariables2Requeridos")))))==0) { +_res2 = anywheresoftware.b4a.keywords.Common.True;}; +RDebugUtils.currentLine=40697900; + //BA.debugLineNum = 40697900;BA.debugLine="If res1 And res2 Then 'Solo si son verdadero los"; +if (_res1 && _res2) { +RDebugUtils.currentLine=40697901; + //BA.debugLineNum = 40697901;BA.debugLine="res = True"; +_res = anywheresoftware.b4a.keywords.Common.True; + }else { +RDebugUtils.currentLine=40697903; + //BA.debugLineNum = 40697903;BA.debugLine="res = False"; +_res = anywheresoftware.b4a.keywords.Common.False; + }; +RDebugUtils.currentLine=40697906; + //BA.debugLineNum = 40697906;BA.debugLine="Return res"; +if (true) return _res; +RDebugUtils.currentLine=40697907; + //BA.debugLineNum = 40697907;BA.debugLine="End Sub"; +return false; +} +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=38404096; + //BA.debugLineNum = 38404096;BA.debugLine="Sub borraArribaDe100Errores 'ignore"; +RDebugUtils.currentLine=38404097; + //BA.debugLineNum = 38404097;BA.debugLine="revisaBD"; +_revisabd(_ba); +RDebugUtils.currentLine=38404098; + //BA.debugLineNum = 38404098;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +anywheresoftware.b4a.keywords.Common.LogImpl("538404098","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=38404099; + //BA.debugLineNum = 38404099;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=38404100; + //BA.debugLineNum = 38404100;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +_errorlog.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=38404101; + //BA.debugLineNum = 38404101;BA.debugLine="Log(\"Borramos mas de 100 de errorLog\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("538404101","Borramos mas de 100 de errorLog",0); +RDebugUtils.currentLine=38404102; + //BA.debugLineNum = 38404102;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}));} +RDebugUtils.currentLine=38469632; + //BA.debugLineNum = 38469632;BA.debugLine="Sub borraArribaDe600RenglonesBitacora 'ignore"; +RDebugUtils.currentLine=38469633; + //BA.debugLineNum = 38469633;BA.debugLine="revisaBD"; +_revisabd(_ba); +RDebugUtils.currentLine=38469634; + //BA.debugLineNum = 38469634;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +anywheresoftware.b4a.keywords.Common.LogImpl("538469634","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=38469635; + //BA.debugLineNum = 38469635;BA.debugLine="kmt.ExecNonQuery(\"DELETE FROM bitacora WHERE fech"; +_kmt.ExecNonQuery("DELETE FROM bitacora WHERE fecha NOT in (SELECT fecha FROM bitacora ORDER BY fecha desc LIMIT 599 )"); +RDebugUtils.currentLine=38469636; + //BA.debugLineNum = 38469636;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +_kmt.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=38469637; + //BA.debugLineNum = 38469637;BA.debugLine="Log(\"Borramos mas de 600 de bitacora\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("538469637","Borramos mas de 600 de bitacora",0); +RDebugUtils.currentLine=38469638; + //BA.debugLineNum = 38469638;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=38207488; + //BA.debugLineNum = 38207488;BA.debugLine="Sub borraLogDB 'ignore"; +RDebugUtils.currentLine=38207489; + //BA.debugLineNum = 38207489;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; +anywheresoftware.b4a.keywords.Common.LogImpl("538207489","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); +RDebugUtils.currentLine=38207490; + //BA.debugLineNum = 38207490;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; +_kmt.ExecNonQuery("delete from bitacora"); +RDebugUtils.currentLine=38207491; + //BA.debugLineNum = 38207491;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +_kmt.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=38207492; + //BA.debugLineNum = 38207492;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=37617664; + //BA.debugLineNum = 37617664;BA.debugLine="Sub borramosArchivoGPS 'ignore"; +RDebugUtils.currentLine=37617665; + //BA.debugLineNum = 37617665;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=37617666; + //BA.debugLineNum = 37617666;BA.debugLine="Dim s As String = \"\""; +_s = ""; +RDebugUtils.currentLine=37617667; + //BA.debugLineNum = 37617667;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +_t = _s.getBytes("UTF-8"); +RDebugUtils.currentLine=37617668; + //BA.debugLineNum = 37617668;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +_out.WriteBytes(_t,(int) (0),_t.length); +RDebugUtils.currentLine=37617669; + //BA.debugLineNum = 37617669;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=37617670; + //BA.debugLineNum = 37617670;BA.debugLine="End Sub"; +return ""; +} +public static String _traetablaprods(anywheresoftware.b4a.BA _ba,String _tipoventa) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traetablaprods", false)) + {return ((String) Debug.delegate(null, "traetablaprods", new Object[] {_ba,_tipoventa}));} +String _tablaprods = ""; +RDebugUtils.currentLine=41615360; + //BA.debugLineNum = 41615360;BA.debugLine="Sub traeTablaProds(tipoventa As String) As String"; +RDebugUtils.currentLine=41615361; + //BA.debugLineNum = 41615361;BA.debugLine="Private tablaProds As String = \"cat_gunaprod2\""; +_tablaprods = "cat_gunaprod2"; +RDebugUtils.currentLine=41615363; + //BA.debugLineNum = 41615363;BA.debugLine="If tipoventa = \"ABORDO\" Or tipoventa = \"PREVENTA_"; +if ((_tipoventa).equals("ABORDO") || (_tipoventa).equals("PREVENTA_CONTADO")) { +RDebugUtils.currentLine=41615364; + //BA.debugLineNum = 41615364;BA.debugLine="tablaProds = \"cat_gunaprod\""; +_tablaprods = "cat_gunaprod"; + }else +{RDebugUtils.currentLine=41615365; + //BA.debugLineNum = 41615365;BA.debugLine="Else If tipoventa = \"RECARGA\" Then"; +if ((_tipoventa).equals("RECARGA")) { +RDebugUtils.currentLine=41615366; + //BA.debugLineNum = 41615366;BA.debugLine="tablaProds = \"cat_gunaprod3\""; +_tablaprods = "cat_gunaprod3"; + }else +{RDebugUtils.currentLine=41615367; + //BA.debugLineNum = 41615367;BA.debugLine="Else If tipoventa = \"PREVENTA_CREDITO\" Then"; +if ((_tipoventa).equals("PREVENTA_CREDITO")) { +RDebugUtils.currentLine=41615368; + //BA.debugLineNum = 41615368;BA.debugLine="tablaProds = \"cat_gunaprod4\""; +_tablaprods = "cat_gunaprod4"; + }}} +; +RDebugUtils.currentLine=41615371; + //BA.debugLineNum = 41615371;BA.debugLine="LogColor($\"Tipo= ${tipoventa}, tabla=${tablaProds"; +anywheresoftware.b4a.keywords.Common.LogImpl("541615371",("Tipo= "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+", tabla="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tablaprods))+""),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (200),(int) (136),(int) (0))); +RDebugUtils.currentLine=41615372; + //BA.debugLineNum = 41615372;BA.debugLine="Return tablaProds"; +if (true) return _tablaprods; +RDebugUtils.currentLine=41615373; + //BA.debugLineNum = 41615373;BA.debugLine="End Sub"; +return ""; +} +public static String _buscadbusuario(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "buscadbusuario", false)) + {return ((String) Debug.delegate(null, "buscadbusuario", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +String _usuario = ""; +RDebugUtils.currentLine=39190528; + //BA.debugLineNum = 39190528;BA.debugLine="Sub buscaDBUsuario As String 'ignore"; +RDebugUtils.currentLine=39190529; + //BA.debugLineNum = 39190529;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=39190530; + //BA.debugLineNum = 39190530;BA.debugLine="Private usuario As String = \"SinUsuario\""; +_usuario = "SinUsuario"; +RDebugUtils.currentLine=39190531; + //BA.debugLineNum = 39190531;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=39190532; + //BA.debugLineNum = 39190532;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=39190533; + //BA.debugLineNum = 39190533;BA.debugLine="If c.RowCount > 0 Then usuario = c.GetString(\"USU"; +if (_c.getRowCount()>0) { +_usuario = _c.GetString("USUARIO");}; +RDebugUtils.currentLine=39190534; + //BA.debugLineNum = 39190534;BA.debugLine="Return usuario"; +if (true) return _usuario; +RDebugUtils.currentLine=39190535; + //BA.debugLineNum = 39190535;BA.debugLine="End Sub"; +return ""; +} +public static String _centraprogressbar(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ProgressBarWrapper _elemento,int _anchoelementosuperior) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "centraprogressbar", false)) + {return ((String) Debug.delegate(null, "centraprogressbar", new Object[] {_ba,_elemento,_anchoelementosuperior}));} +RDebugUtils.currentLine=39124992; + //BA.debugLineNum = 39124992;BA.debugLine="Sub centraProgressBar(elemento As ProgressBar, anc"; +RDebugUtils.currentLine=39124993; + //BA.debugLineNum = 39124993;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=39124994; + //BA.debugLineNum = 39124994;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=36962304; + //BA.debugLineNum = 36962304;BA.debugLine="Sub compress(str As String) As String 'ignore"; +RDebugUtils.currentLine=36962306; + //BA.debugLineNum = 36962306;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; +_compressed = _gzip.compress(_str); +RDebugUtils.currentLine=36962309; + //BA.debugLineNum = 36962309;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; +_base64 = _su.EncodeBase64(_compressed); +RDebugUtils.currentLine=36962310; + //BA.debugLineNum = 36962310;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("536962310",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0); +RDebugUtils.currentLine=36962312; + //BA.debugLineNum = 36962312;BA.debugLine="Return base64"; +if (true) return _base64; +RDebugUtils.currentLine=36962313; + //BA.debugLineNum = 36962313;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=38797312; + //BA.debugLineNum = 38797312;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; +RDebugUtils.currentLine=38797313; + //BA.debugLineNum = 38797313;BA.debugLine="ToastMessageShow(\"copiaDB\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("copiaDB"),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=38797314; + //BA.debugLineNum = 38797314;BA.debugLine="If result Then"; +if (_result) { +RDebugUtils.currentLine=38797315; + //BA.debugLineNum = 38797315;BA.debugLine="Dim p As String"; +_p = ""; +RDebugUtils.currentLine=38797316; + //BA.debugLineNum = 38797316;BA.debugLine="If File.ExternalWritable Then"; +if (anywheresoftware.b4a.keywords.Common.File.getExternalWritable()) { +RDebugUtils.currentLine=38797317; + //BA.debugLineNum = 38797317;BA.debugLine="p = File.DirInternal"; +_p = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); + }else { +RDebugUtils.currentLine=38797320; + //BA.debugLineNum = 38797320;BA.debugLine="p = File.DirInternal"; +_p = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); + }; +RDebugUtils.currentLine=38797323; + //BA.debugLineNum = 38797323;BA.debugLine="Dim theDir As String"; +_thedir = ""; +RDebugUtils.currentLine=38797324; + //BA.debugLineNum = 38797324;BA.debugLine="Try"; +try {RDebugUtils.currentLine=38797325; + //BA.debugLineNum = 38797325;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; +anywheresoftware.b4a.keywords.Common.File.MakeDir(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmts"); +RDebugUtils.currentLine=38797326; + //BA.debugLineNum = 38797326;BA.debugLine="theDir = \"/kmts\""; +_thedir = "/kmts"; + } + catch (Exception e14) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e14);RDebugUtils.currentLine=38797328; + //BA.debugLineNum = 38797328;BA.debugLine="theDir = \"\""; +_thedir = ""; + }; +RDebugUtils.currentLine=38797330; + //BA.debugLineNum = 38797330;BA.debugLine="Try"; +try {RDebugUtils.currentLine=38797331; + //BA.debugLineNum = 38797331;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,"cedex_kmt.db"); +RDebugUtils.currentLine=38797332; + //BA.debugLineNum = 38797332;BA.debugLine="File.Copy(File.DirInternal,\"errorLog.db\",File.D"; +anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"errorLog.db",anywheresoftware.b4a.keywords.Common.File.getDirInternal()+_thedir,"cedex_errorLog.db"); +RDebugUtils.currentLine=38797333; + //BA.debugLineNum = 38797333;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD copiada!"),anywheresoftware.b4a.keywords.Common.False); + } + catch (Exception e21) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e21);RDebugUtils.currentLine=38797335; + //BA.debugLineNum = 38797335;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=38797337; + //BA.debugLineNum = 38797337;BA.debugLine="Log(\"rootExternal=\"&p)"; +anywheresoftware.b4a.keywords.Common.LogImpl("538797337","rootExternal="+_p,0); +RDebugUtils.currentLine=38797338; + //BA.debugLineNum = 38797338;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +anywheresoftware.b4a.keywords.Common.LogImpl("538797338","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); +RDebugUtils.currentLine=38797339; + //BA.debugLineNum = 38797339;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; +anywheresoftware.b4a.keywords.Common.LogImpl("538797339","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); + }else { +RDebugUtils.currentLine=38797341; + //BA.debugLineNum = 38797341;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),anywheresoftware.b4a.keywords.Common.False); + }; +RDebugUtils.currentLine=38797343; + //BA.debugLineNum = 38797343;BA.debugLine="End Sub"; +return ""; +} +public static String _cuantosvariablestengobd(anywheresoftware.b4a.BA _ba,String _promo) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "cuantosvariablestengobd", false)) + {return ((String) Debug.delegate(null, "cuantosvariablestengobd", new Object[] {_ba,_promo}));} +RDebugUtils.currentLine=41156608; + //BA.debugLineNum = 41156608;BA.debugLine="Sub cuantosVariablesTengoBD(promo As String) As St"; +RDebugUtils.currentLine=41156619; + //BA.debugLineNum = 41156619;BA.debugLine="End Sub"; +return ""; +} +public static String _dameerroresjson(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.sql.SQL _sql,int _maxerrores,boolean _comprimido) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "dameerroresjson", false)) + {return ((String) Debug.delegate(null, "dameerroresjson", new Object[] {_ba,_sql,_maxerrores,_comprimido}));} +anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator _j = null; +String _lim = ""; +anywheresoftware.b4a.sql.SQL.ResultSetWrapper _cur = null; +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=38600704; + //BA.debugLineNum = 38600704;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,"; +RDebugUtils.currentLine=38600705; + //BA.debugLineNum = 38600705;BA.debugLine="Log(\"dameErroresJSON\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("538600705","dameErroresJSON",0); +RDebugUtils.currentLine=38600706; + //BA.debugLineNum = 38600706;BA.debugLine="Private j As JSONGenerator"; +_j = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); +RDebugUtils.currentLine=38600707; + //BA.debugLineNum = 38600707;BA.debugLine="Private lim As String"; +_lim = ""; +RDebugUtils.currentLine=38600708; + //BA.debugLineNum = 38600708;BA.debugLine="Private cur As ResultSet"; +_cur = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); +RDebugUtils.currentLine=38600709; + //BA.debugLineNum = 38600709;BA.debugLine="Private l As List"; +_l = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=38600710; + //BA.debugLineNum = 38600710;BA.debugLine="Private i As Int = 0"; +_i = (int) (0); +RDebugUtils.currentLine=38600711; + //BA.debugLineNum = 38600711;BA.debugLine="l.Initialize"; +_l.Initialize(); +RDebugUtils.currentLine=38600712; + //BA.debugLineNum = 38600712;BA.debugLine="Dim m, m2 As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m2 = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=38600713; + //BA.debugLineNum = 38600713;BA.debugLine="m2.Initialize"; +_m2.Initialize(); +RDebugUtils.currentLine=38600714; + //BA.debugLineNum = 38600714;BA.debugLine="If maxErrores = 0 Then lim = \"\" Else lim = \"limit"; +if (_maxerrores==0) { +_lim = "";} +else { +_lim = "limit "+BA.NumberToString(_maxerrores);}; +RDebugUtils.currentLine=38600715; + //BA.debugLineNum = 38600715;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=38600716; + //BA.debugLineNum = 38600716;BA.debugLine="Do While cur.NextRow"; +while (_cur.NextRow()) { +RDebugUtils.currentLine=38600717; + //BA.debugLineNum = 38600717;BA.debugLine="m.Initialize"; +_m.Initialize(); +RDebugUtils.currentLine=38600718; + //BA.debugLineNum = 38600718;BA.debugLine="m.Put(\"fecha\", cur.GetString(\"fecha\"))"; +_m.Put((Object)("fecha"),(Object)(_cur.GetString("fecha"))); +RDebugUtils.currentLine=38600719; + //BA.debugLineNum = 38600719;BA.debugLine="m.Put(\"error\", cur.GetString(\"error\"))"; +_m.Put((Object)("error"),(Object)(_cur.GetString("error"))); +RDebugUtils.currentLine=38600720; + //BA.debugLineNum = 38600720;BA.debugLine="m2.Put(i,m)"; +_m2.Put((Object)(_i),(Object)(_m.getObject())); +RDebugUtils.currentLine=38600721; + //BA.debugLineNum = 38600721;BA.debugLine="i = i + 1"; +_i = (int) (_i+1); + } +; +RDebugUtils.currentLine=38600723; + //BA.debugLineNum = 38600723;BA.debugLine="cur.Close"; +_cur.Close(); +RDebugUtils.currentLine=38600724; + //BA.debugLineNum = 38600724;BA.debugLine="j.Initialize(m2)"; +_j.Initialize(_m2); +RDebugUtils.currentLine=38600725; + //BA.debugLineNum = 38600725;BA.debugLine="Log(j.ToString)"; +anywheresoftware.b4a.keywords.Common.LogImpl("538600725",_j.ToString(),0); +RDebugUtils.currentLine=38600726; + //BA.debugLineNum = 38600726;BA.debugLine="If comprimido Then"; +if (_comprimido) { +RDebugUtils.currentLine=38600727; + //BA.debugLineNum = 38600727;BA.debugLine="Return compress(j.ToString)"; +if (true) return _compress(_ba,_j.ToString()); + }else { +RDebugUtils.currentLine=38600729; + //BA.debugLineNum = 38600729;BA.debugLine="Return j.ToString"; +if (true) return _j.ToString(); + }; +RDebugUtils.currentLine=38600731; + //BA.debugLineNum = 38600731;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=37421056; + //BA.debugLineNum = 37421056;BA.debugLine="Sub dameRuta(inicioRuta As String, origenRuta As S"; +RDebugUtils.currentLine=37421058; + //BA.debugLineNum = 37421058;BA.debugLine="Dim fechaInicio As String"; +_fechainicio = ""; +RDebugUtils.currentLine=37421059; + //BA.debugLineNum = 37421059;BA.debugLine="Try 'incioRuta es numero"; +try {RDebugUtils.currentLine=37421060; + //BA.debugLineNum = 37421060;BA.debugLine="inicioRuta = inicioRuta * 1"; +_inicioruta = BA.NumberToString((double)(Double.parseDouble(_inicioruta))*1); +RDebugUtils.currentLine=37421062; + //BA.debugLineNum = 37421062;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=37421064; + //BA.debugLineNum = 37421064;BA.debugLine="fechaInicio = fechaInicioHoy"; +_fechainicio = _fechainiciohoy(_ba); + }; +RDebugUtils.currentLine=37421067; + //BA.debugLineNum = 37421067;BA.debugLine="If subsLogs Then Log(\"fechaInicio: \"&fechaInicio&"; +if (_subslogs) { +anywheresoftware.b4a.keywords.Common.LogImpl("537421067","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);}; +RDebugUtils.currentLine=37421068; + //BA.debugLineNum = 37421068;BA.debugLine="Dim c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=37421069; + //BA.debugLineNum = 37421069;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=37421070; + //BA.debugLineNum = 37421070;BA.debugLine="If subsLogs Then Log(\"select FECHA, LAT, LON from"; +if (_subslogs) { +anywheresoftware.b4a.keywords.Common.LogImpl("537421070","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);}; +RDebugUtils.currentLine=37421071; + //BA.debugLineNum = 37421071;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=37421072; + //BA.debugLineNum = 37421072;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=37421073; + //BA.debugLineNum = 37421073;BA.debugLine="Dim ruta2 As String = \"\""; +_ruta2 = ""; +RDebugUtils.currentLine=37421074; + //BA.debugLineNum = 37421074;BA.debugLine="If c.RowCount>0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=37421075; + //BA.debugLineNum = 37421075;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=37421076; + //BA.debugLineNum = 37421076;BA.debugLine="c.Position=i"; +_c.setPosition(_i); +RDebugUtils.currentLine=37421077; + //BA.debugLineNum = 37421077;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=37421078; + //BA.debugLineNum = 37421078;BA.debugLine="B4XPages.MainPage.fechaRuta = c.GetString(\"FECH"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._fecharuta /*String*/ = _c.GetString("FECHA"); + } +}; + }; +RDebugUtils.currentLine=37421081; + //BA.debugLineNum = 37421081;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=37421082; + //BA.debugLineNum = 37421082;BA.debugLine="Return compress(ruta2)"; +if (true) return _compress(_ba,_ruta2); +RDebugUtils.currentLine=37421083; + //BA.debugLineNum = 37421083;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=37945344; + //BA.debugLineNum = 37945344;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; +RDebugUtils.currentLine=37945345; + //BA.debugLineNum = 37945345;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=37945346; + //BA.debugLineNum = 37945346;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMdd"); +RDebugUtils.currentLine=37945347; + //BA.debugLineNum = 37945347;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=37945348; + //BA.debugLineNum = 37945348;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=37945349; + //BA.debugLineNum = 37945349;BA.debugLine="Log(\"Hoy=\"&h)"; +anywheresoftware.b4a.keywords.Common.LogImpl("537945349","Hoy="+_h,0); +RDebugUtils.currentLine=37945350; + //BA.debugLineNum = 37945350;BA.debugLine="Return h"; +if (true) return _h; +RDebugUtils.currentLine=37945351; + //BA.debugLineNum = 37945351;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=39256064; + //BA.debugLineNum = 39256064;BA.debugLine="Sub dameUsuarioDeDB As String 'ignore"; +RDebugUtils.currentLine=39256065; + //BA.debugLineNum = 39256065;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=39256066; + //BA.debugLineNum = 39256066;BA.debugLine="Private u As String = \"SinUsuario\""; +_u = "SinUsuario"; +RDebugUtils.currentLine=39256067; + //BA.debugLineNum = 39256067;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; +if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { +_revisabd(_ba);}; +RDebugUtils.currentLine=39256068; + //BA.debugLineNum = 39256068;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=39256069; + //BA.debugLineNum = 39256069;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=39256070; + //BA.debugLineNum = 39256070;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; +if (_c.getRowCount()>0) { +_u = _c.GetString("USUARIO");}; +RDebugUtils.currentLine=39256071; + //BA.debugLineNum = 39256071;BA.debugLine="c.Close"; +_c.Close(); +RDebugUtils.currentLine=39256072; + //BA.debugLineNum = 39256072;BA.debugLine="Return u"; +if (true) return _u; +RDebugUtils.currentLine=39256073; + //BA.debugLineNum = 39256073;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=37027840; + //BA.debugLineNum = 37027840;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; +RDebugUtils.currentLine=37027841; + //BA.debugLineNum = 37027841;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; +_decompressedbytes = _su.DecodeBase64(_base64); +RDebugUtils.currentLine=37027843; + //BA.debugLineNum = 37027843;BA.debugLine="Dim bc As ByteConverter"; +_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); +RDebugUtils.currentLine=37027844; + //BA.debugLineNum = 37027844;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; +_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8"); +RDebugUtils.currentLine=37027845; + //BA.debugLineNum = 37027845;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)"; +anywheresoftware.b4a.keywords.Common.LogImpl("537027845",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0); +RDebugUtils.currentLine=37027847; + //BA.debugLineNum = 37027847;BA.debugLine="Return uncompressed"; +if (true) return _uncompressed; +RDebugUtils.currentLine=37027848; + //BA.debugLineNum = 37027848;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=37552128; + //BA.debugLineNum = 37552128;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; +RDebugUtils.currentLine=37552129; + //BA.debugLineNum = 37552129;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; +_errorlog.ExecNonQuery("delete from errores"); +RDebugUtils.currentLine=37552130; + //BA.debugLineNum = 37552130;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; +_errorlog.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=37552131; + //BA.debugLineNum = 37552131;BA.debugLine="ToastMessageShow(\"BD Errores Borrada\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD Errores Borrada"),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=37552132; + //BA.debugLineNum = 37552132;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=37486592; + //BA.debugLineNum = 37486592;BA.debugLine="Sub deleteGPS_DB 'ignore"; +RDebugUtils.currentLine=37486593; + //BA.debugLineNum = 37486593;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; +_kmt.ExecNonQuery("delete from RUTA_GPS"); +RDebugUtils.currentLine=37486594; + //BA.debugLineNum = 37486594;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; +_kmt.ExecNonQuery("vacuum;"); +RDebugUtils.currentLine=37486595; + //BA.debugLineNum = 37486595;BA.debugLine="ToastMessageShow(\"Borramos BD Coords GPS\", False)"; +anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Borramos BD Coords GPS"),anywheresoftware.b4a.keywords.Common.False); +RDebugUtils.currentLine=37486596; + //BA.debugLineNum = 37486596;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=38666240; + //BA.debugLineNum = 38666240;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; +RDebugUtils.currentLine=38666241; + //BA.debugLineNum = 38666241;BA.debugLine="Try"; +try {RDebugUtils.currentLine=38666242; + //BA.debugLineNum = 38666242;BA.debugLine="If fKMT.Length = 12 Then"; +if (_fkmt.length()==12) { +RDebugUtils.currentLine=38666243; + //BA.debugLineNum = 38666243;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; +_partefecha = _fkmt.substring((int) (0),(int) (6)); +RDebugUtils.currentLine=38666244; + //BA.debugLineNum = 38666244;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; +_partehora = _fkmt.substring((int) (6)); +RDebugUtils.currentLine=38666245; + //BA.debugLineNum = 38666245;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=38666246; + //BA.debugLineNum = 38666246;BA.debugLine="DateTime.DateFormat=\"yymmdd\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yymmdd"); +RDebugUtils.currentLine=38666247; + //BA.debugLineNum = 38666247;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); +RDebugUtils.currentLine=38666248; + //BA.debugLineNum = 38666248;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; +_ticks = anywheresoftware.b4a.keywords.Common.DateTime.DateTimeParse(_partefecha,_partehora); +RDebugUtils.currentLine=38666249; + //BA.debugLineNum = 38666249;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=38666250; + //BA.debugLineNum = 38666250;BA.debugLine="Return ticks"; +if (true) return _ticks; + }else { +RDebugUtils.currentLine=38666252; + //BA.debugLineNum = 38666252;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; +anywheresoftware.b4a.keywords.Common.LogImpl("538666252","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); +RDebugUtils.currentLine=38666253; + //BA.debugLineNum = 38666253;BA.debugLine="Return 0"; +if (true) return (long) (0); + }; + } + catch (Exception e16) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16);RDebugUtils.currentLine=38666256; + //BA.debugLineNum = 38666256;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("538666256",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +RDebugUtils.currentLine=38666257; + //BA.debugLineNum = 38666257;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; +anywheresoftware.b4a.keywords.Common.LogImpl("538666257",("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=38666258; + //BA.debugLineNum = 38666258;BA.debugLine="Return 0"; +if (true) return (long) (0); + }; +RDebugUtils.currentLine=38666260; + //BA.debugLineNum = 38666260;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=36700160; + //BA.debugLineNum = 36700160;BA.debugLine="Sub getPhnId As String 'ignore"; +RDebugUtils.currentLine=36700162; + //BA.debugLineNum = 36700162;BA.debugLine="devModel = phn.Model"; +_devmodel = _phn.getModel(); +RDebugUtils.currentLine=36700163; + //BA.debugLineNum = 36700163;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; +if (_devmodel.length()<=3) { +RDebugUtils.currentLine=36700164; + //BA.debugLineNum = 36700164;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; +_t = _phn.GetSettings("android_id"); +RDebugUtils.currentLine=36700165; + //BA.debugLineNum = 36700165;BA.debugLine="devModel = t"; +_devmodel = _t; + }; +RDebugUtils.currentLine=36700167; + //BA.debugLineNum = 36700167;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; +if (_devmodel.length()>=3) { +RDebugUtils.currentLine=36700168; + //BA.debugLineNum = 36700168;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=36700170; + //BA.debugLineNum = 36700170;BA.debugLine="Else If devModel.Length < 3 Then ' Si no tenemos"; +if (_devmodel.length()<3) { +RDebugUtils.currentLine=36700171; + //BA.debugLineNum = 36700171;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=36700172; + //BA.debugLineNum = 36700172;BA.debugLine="devModel = s"; +_devmodel = _s; + }} +; +RDebugUtils.currentLine=36700176; + //BA.debugLineNum = 36700176;BA.debugLine="Return devModel"; +if (true) return _devmodel; +RDebugUtils.currentLine=36700177; + //BA.debugLineNum = 36700177;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=37748736; + //BA.debugLineNum = 37748736;BA.debugLine="Sub getSSID 'ignore"; +RDebugUtils.currentLine=37748741; + //BA.debugLineNum = 37748741;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=37289984; + //BA.debugLineNum = 37289984;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; +RDebugUtils.currentLine=37289986; + //BA.debugLineNum = 37289986;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=37289987; + //BA.debugLineNum = 37289987;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MMM-dd HH:mm:ss"); +RDebugUtils.currentLine=37289988; + //BA.debugLineNum = 37289988;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=37289989; + //BA.debugLineNum = 37289989;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=37289991; + //BA.debugLineNum = 37289991;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate"; +_ubic = _coords+","+_lastupdate; +RDebugUtils.currentLine=37289992; + //BA.debugLineNum = 37289992;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=37289993; + //BA.debugLineNum = 37289993;BA.debugLine="Dim s As String = ubic & CRLF"; +_s = _ubic+anywheresoftware.b4a.keywords.Common.CRLF; +RDebugUtils.currentLine=37289994; + //BA.debugLineNum = 37289994;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; +_t = _s.getBytes("UTF-8"); +RDebugUtils.currentLine=37289995; + //BA.debugLineNum = 37289995;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; +_out.WriteBytes(_t,(int) (0),_t.length); +RDebugUtils.currentLine=37289996; + //BA.debugLineNum = 37289996;BA.debugLine="out.Close"; +_out.Close(); +RDebugUtils.currentLine=37289997; + //BA.debugLineNum = 37289997;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=37355520; + //BA.debugLineNum = 37355520;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; +RDebugUtils.currentLine=37355521; + //BA.debugLineNum = 37355521;BA.debugLine="Log(\"Guardamos ubicacion en BD - \"&coords)"; +anywheresoftware.b4a.keywords.Common.LogImpl("537355521","Guardamos ubicacion en BD - "+_coords,0); +RDebugUtils.currentLine=37355522; + //BA.debugLineNum = 37355522;BA.debugLine="Try"; +try {RDebugUtils.currentLine=37355523; + //BA.debugLineNum = 37355523;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; +_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",_coords); +RDebugUtils.currentLine=37355524; + //BA.debugLineNum = 37355524;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; +if (_latlon.length<2) { +_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split(",",_coords);}; +RDebugUtils.currentLine=37355525; + //BA.debugLineNum = 37355525;BA.debugLine="If subsLogs Then Log(\"LatLon=\"&latlon)"; +if (_subslogs) { +anywheresoftware.b4a.keywords.Common.LogImpl("537355525","LatLon="+BA.ObjectToString(_latlon),0);}; +RDebugUtils.currentLine=37355526; + //BA.debugLineNum = 37355526;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=37355528; + //BA.debugLineNum = 37355528;BA.debugLine="LogColor(LastException, Colors.red)"; +anywheresoftware.b4a.keywords.Common.LogImpl("537355528",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; +RDebugUtils.currentLine=37355530; + //BA.debugLineNum = 37355530;BA.debugLine="End Sub"; +return ""; +} +public static String _guardaproducto(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "guardaproducto", false)) + {return ((String) Debug.delegate(null, "guardaproducto", new Object[] {_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +RDebugUtils.currentLine=39845888; + //BA.debugLineNum = 39845888;BA.debugLine="Sub guardaProducto(cedis As String, costoU As Stri"; +RDebugUtils.currentLine=39845890; + //BA.debugLineNum = 39845890;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=39845891; + //BA.debugLineNum = 39845891;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(((double)(Double.parseDouble(_cant))*(double)(Double.parseDouble(_costou)))),(Object)(_costou),(Object)(_cant),(Object)(_nombre),(Object)(_prodid),(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_rutav),(Object)(_preciosin),(Object)(_tipoventa)})); +RDebugUtils.currentLine=39845892; + //BA.debugLineNum = 39845892;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${S"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)})); +RDebugUtils.currentLine=39845893; + //BA.debugLineNum = 39845893;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); +RDebugUtils.currentLine=39845894; + //BA.debugLineNum = 39845894;BA.debugLine="c.Position=0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=39845895; + //BA.debugLineNum = 39845895;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=39845896; + //BA.debugLineNum = 39845896;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._lat_gps /*String*/ ),(Object)(_cedis),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); +RDebugUtils.currentLine=39845897; + //BA.debugLineNum = 39845897;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_i"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); +RDebugUtils.currentLine=39845898; + //BA.debugLineNum = 39845898;BA.debugLine="End Sub"; +return ""; +} +public static String _sincronizartotalesencabezado(anywheresoftware.b4a.BA _ba,String _idclie,String _fecha,String _usuario,String _cedis) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "sincronizartotalesencabezado", false)) + {return ((String) Debug.delegate(null, "sincronizartotalesencabezado", new Object[] {_ba,_idclie,_fecha,_usuario,_cedis}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _res = null; +RDebugUtils.currentLine=42205184; + //BA.debugLineNum = 42205184;BA.debugLine="Private Sub SincronizarTotalesEncabezado(idClie As"; +RDebugUtils.currentLine=42205186; + //BA.debugLineNum = 42205186;BA.debugLine="Dim res As Cursor = B4XPages.MainPage.skmt.ExecQu"; +_res = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +_res = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(pe_costo_tot) as TOTAL, SUM(PE_CANT) as CANT FROM PEDIDO WHERE PE_CLIENTE = '"+_idclie+"'"))); +RDebugUtils.currentLine=42205187; + //BA.debugLineNum = 42205187;BA.debugLine="res.Position = 0"; +_res.setPosition((int) (0)); +RDebugUtils.currentLine=42205190; + //BA.debugLineNum = 42205190;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM pedido_cliente WHERE PC_CLIENTE = '"+_idclie+"'"); +RDebugUtils.currentLine=42205192; + //BA.debugLineNum = 42205192;BA.debugLine="If res.GetInt(\"CANT\") > 0 Then"; +if (_res.GetInt("CANT")>0) { +RDebugUtils.currentLine=42205194; + //BA.debugLineNum = 42205194;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT, PC_ALMACEN) VALUES (?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_idclie),(Object)(_fecha),(Object)(_usuario),(Object)(_res.GetString("CANT")),(Object)(_res.GetString("TOTAL")),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._lat_gps /*String*/ ),(Object)(_cedis)})); + }; +RDebugUtils.currentLine=42205197; + //BA.debugLineNum = 42205197;BA.debugLine="res.Close"; +_res.Close(); +RDebugUtils.currentLine=42205198; + //BA.debugLineNum = 42205198;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=38535168; + //BA.debugLineNum = 38535168;BA.debugLine="Sub insertaRenglonesPruebaEnErrorLog 'ignore"; +RDebugUtils.currentLine=38535169; + //BA.debugLineNum = 38535169;BA.debugLine="revisaBD"; +_revisabd(_ba); +RDebugUtils.currentLine=38535170; + //BA.debugLineNum = 38535170;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("538535170","insertamos 50 renglones a errorLog",0); +RDebugUtils.currentLine=38535171; + //BA.debugLineNum = 38535171;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=38535172; + //BA.debugLineNum = 38535172;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=38535173; + //BA.debugLineNum = 38535173;BA.debugLine="Log(x)"; +anywheresoftware.b4a.keywords.Common.LogImpl("538535173",BA.NumberToString(_x),0); + } +}; +RDebugUtils.currentLine=38535175; + //BA.debugLineNum = 38535175;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=38731776; + //BA.debugLineNum = 38731776;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; +RDebugUtils.currentLine=38731777; + //BA.debugLineNum = 38731777;BA.debugLine="If File.Exists(dir, apk) Then"; +if (anywheresoftware.b4a.keywords.Common.File.Exists(_dir,_apk)) { +RDebugUtils.currentLine=38731778; + //BA.debugLineNum = 38731778;BA.debugLine="Dim i As Intent"; +_i = new anywheresoftware.b4a.objects.IntentWrapper(); +RDebugUtils.currentLine=38731779; + //BA.debugLineNum = 38731779;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=38731780; + //BA.debugLineNum = 38731780;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; +_i.SetType("application/vnd.android.package-archive"); +RDebugUtils.currentLine=38731781; + //BA.debugLineNum = 38731781;BA.debugLine="StartActivity(i)"; +anywheresoftware.b4a.keywords.Common.StartActivity((_ba.processBA == null ? _ba : _ba.processBA),(Object)(_i.getObject())); + }; +RDebugUtils.currentLine=38731783; + //BA.debugLineNum = 38731783;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=37814272; + //BA.debugLineNum = 37814272;BA.debugLine="Sub JSON2Map(theJson As String) As Map 'ignore"; +RDebugUtils.currentLine=37814274; + //BA.debugLineNum = 37814274;BA.debugLine="Try"; +try {RDebugUtils.currentLine=37814275; + //BA.debugLineNum = 37814275;BA.debugLine="Private json As JSONParser"; +_json = new anywheresoftware.b4a.objects.collections.JSONParser(); +RDebugUtils.currentLine=37814276; + //BA.debugLineNum = 37814276;BA.debugLine="json.Initialize(theJson)"; +_json.Initialize(_thejson); +RDebugUtils.currentLine=37814277; + //BA.debugLineNum = 37814277;BA.debugLine="Return json.NextObject"; +if (true) return _json.NextObject(); + } + catch (Exception e6) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6);RDebugUtils.currentLine=37814279; + //BA.debugLineNum = 37814279;BA.debugLine="Log(LastException)"; +anywheresoftware.b4a.keywords.Common.LogImpl("537814279",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); +RDebugUtils.currentLine=37814280; + //BA.debugLineNum = 37814280;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)"; +_log2db(_ba,"JSON2Map: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))); +RDebugUtils.currentLine=37814281; + //BA.debugLineNum = 37814281;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=37814282; + //BA.debugLineNum = 37814282;BA.debugLine="Return m"; +if (true) return _m; + }; +RDebugUtils.currentLine=37814284; + //BA.debugLineNum = 37814284;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=38010880; + //BA.debugLineNum = 38010880;BA.debugLine="Sub log2DB(texto As String) 'ignore"; +RDebugUtils.currentLine=38010881; + //BA.debugLineNum = 38010881;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; +anywheresoftware.b4a.keywords.Common.LogImpl("538010881",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.LightGray); +RDebugUtils.currentLine=38010882; + //BA.debugLineNum = 38010882;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO bitacora(fecha, te"; +_kmt.ExecNonQuery2("INSERT INTO bitacora(fecha, texto) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)(_texto)})); +RDebugUtils.currentLine=38010883; + //BA.debugLineNum = 38010883;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=37879808; + //BA.debugLineNum = 37879808;BA.debugLine="Sub map2JSON(m As Map) As String 'ignore"; +RDebugUtils.currentLine=37879811; + //BA.debugLineNum = 37879811;BA.debugLine="Dim jg As JSONGenerator"; +_jg = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); +RDebugUtils.currentLine=37879812; + //BA.debugLineNum = 37879812;BA.debugLine="jg.Initialize(m)"; +_jg.Initialize(_m); +RDebugUtils.currentLine=37879813; + //BA.debugLineNum = 37879813;BA.debugLine="Dim t As String = jg.ToString"; +_t = _jg.ToString(); +RDebugUtils.currentLine=37879814; + //BA.debugLineNum = 37879814;BA.debugLine="Return t"; +if (true) return _t; +RDebugUtils.currentLine=37879815; + //BA.debugLineNum = 37879815;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=38076416; + //BA.debugLineNum = 38076416;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; +RDebugUtils.currentLine=38076417; + //BA.debugLineNum = 38076417;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; +if ((_hora+_mins*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute) 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=40763463; + //BA.debugLineNum = 40763463;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=40763464; + //BA.debugLineNum = 40763464;BA.debugLine="vendidas = c.GetInt(\"vendidas\")"; +_vendidas = _c.GetInt("vendidas"); + }; +RDebugUtils.currentLine=40763471; + //BA.debugLineNum = 40763471;BA.debugLine="Return maxPromos.Get(0) - vendidas 'Regresamos el"; +if (true) return (int) ((double)(BA.ObjectToNumber(_maxpromos.Get((int) (0))))-_vendidas); +RDebugUtils.currentLine=40763473; + //BA.debugLineNum = 40763473;BA.debugLine="End Sub"; +return 0; +} +public static int _traepromosvendidas(anywheresoftware.b4a.BA _ba,String _promo,String _cliente) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traepromosvendidas", false)) + {return ((Integer) Debug.delegate(null, "traepromosvendidas", new Object[] {_ba,_promo,_cliente}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; +int _pv = 0; +RDebugUtils.currentLine=40828928; + //BA.debugLineNum = 40828928;BA.debugLine="Sub traePromosVendidas(promo As String, cliente As"; +RDebugUtils.currentLine=40828929; + //BA.debugLineNum = 40828929;BA.debugLine="Private c As Cursor"; +_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=40828930; + //BA.debugLineNum = 40828930;BA.debugLine="Private pv As Int = 0"; +_pv = (int) (0); +RDebugUtils.currentLine=40828931; + //BA.debugLineNum = 40828931;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_CA"; +_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_CANT from PEDIDO where PE_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_promo))+"' and PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'")))); +RDebugUtils.currentLine=40828932; + //BA.debugLineNum = 40828932;BA.debugLine="If c.RowCount > 0 Then"; +if (_c.getRowCount()>0) { +RDebugUtils.currentLine=40828933; + //BA.debugLineNum = 40828933;BA.debugLine="c.Position = 0"; +_c.setPosition((int) (0)); +RDebugUtils.currentLine=40828934; + //BA.debugLineNum = 40828934;BA.debugLine="pv = c.GetInt(\"PE_CANT\")"; +_pv = _c.GetInt("PE_CANT"); + }; +RDebugUtils.currentLine=40828936; + //BA.debugLineNum = 40828936;BA.debugLine="Return pv"; +if (true) return _pv; +RDebugUtils.currentLine=40828937; + //BA.debugLineNum = 40828937;BA.debugLine="End Sub"; +return 0; +} +public static anywheresoftware.b4a.objects.collections.Map _restafijospromo(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _promomap) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "restafijospromo", false)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(null, "restafijospromo", new Object[] {_ba,_promomap}));} +boolean _thislog = false; +anywheresoftware.b4a.objects.collections.Map _inventariosdisponiblesparaestapromo = null; +int _i = 0; +anywheresoftware.b4a.objects.collections.Map _prodsmap = null; +anywheresoftware.b4a.objects.collections.List _prodsfijos = null; +int _p = 0; +String _t = ""; +anywheresoftware.b4a.objects.collections.Map _p2 = null; +RDebugUtils.currentLine=40632320; + //BA.debugLineNum = 40632320;BA.debugLine="Sub restaFijosPromo(promoMap As Map) As Map 'ignor"; +RDebugUtils.currentLine=40632321; + //BA.debugLineNum = 40632321;BA.debugLine="Private thisLog As Boolean = True 'Si es verdader"; +_thislog = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=40632322; + //BA.debugLineNum = 40632322;BA.debugLine="Private inventariosDisponiblesParaEstaPromo As Ma"; +_inventariosdisponiblesparaestapromo = new anywheresoftware.b4a.objects.collections.Map(); +_inventariosdisponiblesparaestapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_promomap.Get((Object)("id")))); +RDebugUtils.currentLine=40632323; + //BA.debugLineNum = 40632323;BA.debugLine="If thisLog Then LogColor(\"InvDisponible: \" & inve"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540632323","InvDisponible: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Red);}; +RDebugUtils.currentLine=40632324; + //BA.debugLineNum = 40632324;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial ante"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540632324","Inventario inicial antes de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Gray);}; +RDebugUtils.currentLine=40632325; + //BA.debugLineNum = 40632325;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"resultad"; +_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("ko")); +RDebugUtils.currentLine=40632326; + //BA.debugLineNum = 40632326;BA.debugLine="Private i As Int"; +_i = 0; +RDebugUtils.currentLine=40632327; + //BA.debugLineNum = 40632327;BA.debugLine="Private prodsmap As Map = promoMap.Get(\"productos"; +_prodsmap = new anywheresoftware.b4a.objects.collections.Map(); +_prodsmap = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_promomap.Get((Object)("productos")))); +RDebugUtils.currentLine=40632328; + //BA.debugLineNum = 40632328;BA.debugLine="Private prodsFijos As List = promoMap.get(\"prodsF"; +_prodsfijos = new anywheresoftware.b4a.objects.collections.List(); +_prodsfijos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijos")))); +RDebugUtils.currentLine=40632329; + //BA.debugLineNum = 40632329;BA.debugLine="For p = 0 To prodsFijos.Size - 1"; +{ +final int step9 = 1; +final int limit9 = (int) (_prodsfijos.getSize()-1); +_p = (int) (0) ; +for (;_p <= limit9 ;_p = _p + step9 ) { +RDebugUtils.currentLine=40632330; + //BA.debugLineNum = 40632330;BA.debugLine="Private t As String = prodsFijos.Get(p) 'Obtenem"; +_t = BA.ObjectToString(_prodsfijos.Get(_p)); +RDebugUtils.currentLine=40632331; + //BA.debugLineNum = 40632331;BA.debugLine="Private p2 As Map = prodsmap.Get(t) 'Obtenemos u"; +_p2 = new anywheresoftware.b4a.objects.collections.Map(); +_p2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap.Get((Object)(_t)))); +RDebugUtils.currentLine=40632332; + //BA.debugLineNum = 40632332;BA.debugLine="If thisLog Then Log($\"T: ${t}, prod ${p2.Get(\"id"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540632332",("T: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("idProducto")))+", piezas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("piezas")))+""),0);}; +RDebugUtils.currentLine=40632333; + //BA.debugLineNum = 40632333;BA.debugLine="If thisLog Then Log(\"inventariosDisponiblesParaE"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540632333","inventariosDisponiblesParaEstaPromo="+BA.ObjectToString(_inventariosdisponiblesparaestapromo),0);}; +RDebugUtils.currentLine=40632334; + //BA.debugLineNum = 40632334;BA.debugLine="If inventariosDisponiblesParaEstaPromo.ContainsK"; +if (_inventariosdisponiblesparaestapromo.ContainsKey((Object)(_t))) { +RDebugUtils.currentLine=40632335; + //BA.debugLineNum = 40632335;BA.debugLine="i = inventariosDisponiblesParaEstaPromo.get(t)"; +_i = (int)(BA.ObjectToNumber(_inventariosdisponiblesparaestapromo.Get((Object)(_t)))); +RDebugUtils.currentLine=40632336; + //BA.debugLineNum = 40632336;BA.debugLine="If thisLog Then Log($\"Nuevo inventario de ${t}:"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540632336",("Nuevo inventario de "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+": "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_i))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("1.0",(Object)(_i-(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p)))))+""),0);}; +RDebugUtils.currentLine=40632337; + //BA.debugLineNum = 40632337;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(t, $\"${"; +_inventariosdisponiblesparaestapromo.Put((Object)(_t),(Object)((""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_i-(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p)))))+""))); +RDebugUtils.currentLine=40632338; + //BA.debugLineNum = 40632338;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; +_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("ok")); + }else { +RDebugUtils.currentLine=40632340; + //BA.debugLineNum = 40632340;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; +_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("No hay suficiente producto para la promocion.")); +RDebugUtils.currentLine=40632341; + //BA.debugLineNum = 40632341;BA.debugLine="LogColor(\"Sin suficiente inventario fijo: \" & t"; +anywheresoftware.b4a.keywords.Common.LogImpl("540632341","Sin suficiente inventario fijo: "+_t,anywheresoftware.b4a.keywords.Common.Colors.Blue); +RDebugUtils.currentLine=40632342; + //BA.debugLineNum = 40632342;BA.debugLine="Exit"; +if (true) break; + }; +RDebugUtils.currentLine=40632344; + //BA.debugLineNum = 40632344;BA.debugLine="If i - p2.Get(\"piezas\") < 0 Then"; +if (_i-(double)(BA.ObjectToNumber(_p2.Get((Object)("piezas"))))<0) { +RDebugUtils.currentLine=40632345; + //BA.debugLineNum = 40632345;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; +_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("No hay suficiente producto para la promocion.")); +RDebugUtils.currentLine=40632346; + //BA.debugLineNum = 40632346;BA.debugLine="Exit"; +if (true) break; + }; + } +}; +RDebugUtils.currentLine=40632349; + //BA.debugLineNum = 40632349;BA.debugLine="If prodsFijos.Size = 0 Then inventariosDisponible"; +if (_prodsfijos.getSize()==0) { +_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("ok"));}; +RDebugUtils.currentLine=40632350; + //BA.debugLineNum = 40632350;BA.debugLine="If thisLog Then LogColor(\"Inventario final depues"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540632350","Inventario final depues de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=40632351; + //BA.debugLineNum = 40632351;BA.debugLine="Return inventariosDisponiblesParaEstaPromo"; +if (true) return _inventariosdisponiblesparaestapromo; +RDebugUtils.currentLine=40632352; + //BA.debugLineNum = 40632352;BA.debugLine="End Sub"; +return null; +} +public static String _revisaflp(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisaflp", false)) + {return ((String) Debug.delegate(null, "revisaflp", new Object[] {_ba}));} +boolean _todobienflp = false; +RDebugUtils.currentLine=38338560; + //BA.debugLineNum = 38338560;BA.debugLine="Sub revisaFLP 'ignore"; +RDebugUtils.currentLine=38338561; + //BA.debugLineNum = 38338561;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col"; +anywheresoftware.b4a.keywords.Common.LogImpl("538338561","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227))); +RDebugUtils.currentLine=38338562; + //BA.debugLineNum = 38338562;BA.debugLine="Private todoBienFLP As Boolean = True"; +_todobienflp = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=38338563; + //BA.debugLineNum = 38338563;BA.debugLine="Try"; +try {RDebugUtils.currentLine=38338564; + //BA.debugLineNum = 38338564;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=38338565; + //BA.debugLineNum = 38338565;BA.debugLine="log2DB(\"revisaFLP: No esta inicializado ... 'Re"; +_log2db(_ba,"revisaFLP: No esta inicializado ... 'Reinicializando FLP'"); +RDebugUtils.currentLine=38338566; + //BA.debugLineNum = 38338566;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=38338567; + //BA.debugLineNum = 38338567;BA.debugLine="todoBienFLP = False"; +_todobienflp = anywheresoftware.b4a.keywords.Common.False; + }; + } + catch (Exception e10) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e10);RDebugUtils.currentLine=38338570; + //BA.debugLineNum = 38338570;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) ---"; +anywheresoftware.b4a.keywords.Common.LogImpl("538338570","If Not(Tracker.FLP.IsInitialized) --- "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; +RDebugUtils.currentLine=38338572; + //BA.debugLineNum = 38338572;BA.debugLine="Try"; +try {RDebugUtils.currentLine=38338573; + //BA.debugLineNum = 38338573;BA.debugLine="If Tracker.FLP.IsInitialized Then"; +if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized()) { +RDebugUtils.currentLine=38338574; + //BA.debugLineNum = 38338574;BA.debugLine="Try"; +try {RDebugUtils.currentLine=38338575; + //BA.debugLineNum = 38338575;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=38338576; + //BA.debugLineNum = 38338576;BA.debugLine="log2DB(\"revisaFLP: No esta conectado ... 'Rec"; +_log2db(_ba,"revisaFLP: No esta conectado ... 'Reconectando FLP'"); +RDebugUtils.currentLine=38338578; + //BA.debugLineNum = 38338578;BA.debugLine="CallSubDelayed(Tracker,\"StartFLP\")"; +anywheresoftware.b4a.keywords.Common.CallSubDelayed((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject()),"StartFLP"); +RDebugUtils.currentLine=38338579; + //BA.debugLineNum = 38338579;BA.debugLine="todoBienFLP = False"; +_todobienflp = anywheresoftware.b4a.keywords.Common.False; + }; + } + catch (Exception e21) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e21);RDebugUtils.currentLine=38338582; + //BA.debugLineNum = 38338582;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->"; +anywheresoftware.b4a.keywords.Common.LogImpl("538338582","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; +RDebugUtils.currentLine=38338584; + //BA.debugLineNum = 38338584;BA.debugLine="Try"; +try {RDebugUtils.currentLine=38338585; + //BA.debugLineNum = 38338585;BA.debugLine="If Tracker.FLP.IsConnected And _ Tracker."; +if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsConnected() && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized() && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().DistanceTo((android.location.Location)(mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getObject()))>500) { +RDebugUtils.currentLine=38338588; + //BA.debugLineNum = 38338588;BA.debugLine="log2DB(\"revisaFLP: 'No se esta actualizando,"; +_log2db(_ba,"revisaFLP: 'No se esta actualizando, lo reiniciamos ...'"); +RDebugUtils.currentLine=38338589; + //BA.debugLineNum = 38338589;BA.debugLine="StartService(Tracker)"; +anywheresoftware.b4a.keywords.Common.StartService((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject())); +RDebugUtils.currentLine=38338590; + //BA.debugLineNum = 38338590;BA.debugLine="todoBienFLP = False"; +_todobienflp = anywheresoftware.b4a.keywords.Common.False; + }; + } + catch (Exception e30) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e30);RDebugUtils.currentLine=38338593; + //BA.debugLineNum = 38338593;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I"; +anywheresoftware.b4a.keywords.Common.LogImpl("538338593","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; + }; +RDebugUtils.currentLine=38338596; + //BA.debugLineNum = 38338596;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error"; +if (_todobienflp) { +anywheresoftware.b4a.keywords.Common.LogImpl("538338596"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; + } + catch (Exception e35) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e35);RDebugUtils.currentLine=38338598; + //BA.debugLineNum = 38338598;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las"; +anywheresoftware.b4a.keywords.Common.LogImpl("538338598","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; +RDebugUtils.currentLine=38338601; + //BA.debugLineNum = 38338601;BA.debugLine="End Sub"; +return ""; +} +public static int _revisamaxpromosprodsfijosporinventario2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "revisamaxpromosprodsfijosporinventario2", false)) + {return ((Integer) Debug.delegate(null, "revisamaxpromosprodsfijosporinventario2", new Object[] {_ba,_pm}));} +boolean _thislog = false; +anywheresoftware.b4a.objects.collections.Map _invdispparapromo = null; +String _maxpromos = ""; +int _maxpromosfijosxinv = 0; +int _fpf2 = 0; +int _pdp2 = 0; +boolean _salir = false; +anywheresoftware.b4a.objects.collections.List _pf = null; +anywheresoftware.b4a.objects.collections.List _pfp = null; +anywheresoftware.b4a.objects.collections.Map _invfijoxpromo = null; +int _p = 0; +int _i = 0; +int _q = 0; +String _q2 = ""; +RDebugUtils.currentLine=40960000; + //BA.debugLineNum = 40960000;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario2(pm As"; +RDebugUtils.currentLine=40960001; + //BA.debugLineNum = 40960001;BA.debugLine="Private thisLog As Boolean = False"; +_thislog = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=40960002; + //BA.debugLineNum = 40960002;BA.debugLine="If thisLog Then Log($\"pm=${pm}\"$)"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540960002",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),0);}; +RDebugUtils.currentLine=40960004; + //BA.debugLineNum = 40960004;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; +_invdispparapromo = new anywheresoftware.b4a.objects.collections.Map(); +_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id")))); +RDebugUtils.currentLine=40960005; + //BA.debugLineNum = 40960005;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540960005",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);}; +RDebugUtils.currentLine=40960006; + //BA.debugLineNum = 40960006;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)"; +_maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm)); +RDebugUtils.currentLine=40960007; + //BA.debugLineNum = 40960007;BA.debugLine="Private maxPromosFijosXinv As Int = 1"; +_maxpromosfijosxinv = (int) (1); +RDebugUtils.currentLine=40960008; + //BA.debugLineNum = 40960008;BA.debugLine="Private fpf2, pdp2 As Int"; +_fpf2 = 0; +_pdp2 = 0; +RDebugUtils.currentLine=40960009; + //BA.debugLineNum = 40960009;BA.debugLine="Private salir As Boolean = False"; +_salir = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=40960010; + //BA.debugLineNum = 40960010;BA.debugLine="Private pf As List = pm.Get(\"prodsFijos\")"; +_pf = new anywheresoftware.b4a.objects.collections.List(); +_pf = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijos")))); +RDebugUtils.currentLine=40960011; + //BA.debugLineNum = 40960011;BA.debugLine="Private pfp As List = pm.Get(\"prodsFijosPiezas\")"; +_pfp = new anywheresoftware.b4a.objects.collections.List(); +_pfp = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas")))); +RDebugUtils.currentLine=40960012; + //BA.debugLineNum = 40960012;BA.debugLine="If thisLog Then Log($\"maxPromos=${maxPromos}, pro"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540960012",("maxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pf.getObject()))+", piezas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pfp.getObject()))+""),0);}; +RDebugUtils.currentLine=40960013; + //BA.debugLineNum = 40960013;BA.debugLine="If thisLog Then LogColor($\"InvFijo disponible=${i"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540960013",("InvFijo disponible="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=40960014; + //BA.debugLineNum = 40960014;BA.debugLine="Private invFijoXpromo As Map"; +_invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=40960015; + //BA.debugLineNum = 40960015;BA.debugLine="invFijoXpromo.Initialize"; +_invfijoxpromo.Initialize(); +RDebugUtils.currentLine=40960016; + //BA.debugLineNum = 40960016;BA.debugLine="For p = 0 To pf.Size -1 'Generamos mapa con los p"; +{ +final int step15 = 1; +final int limit15 = (int) (_pf.getSize()-1); +_p = (int) (0) ; +for (;_p <= limit15 ;_p = _p + step15 ) { +RDebugUtils.currentLine=40960017; + //BA.debugLineNum = 40960017;BA.debugLine="invFijoXpromo.Put(pf.Get(p), pfp.Get(p))"; +_invfijoxpromo.Put(_pf.Get(_p),_pfp.Get(_p)); + } +}; +RDebugUtils.currentLine=40960019; + //BA.debugLineNum = 40960019;BA.debugLine="If thisLog Then LogColor(\"Inv req. de prods fijos"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540960019","Inv req. de prods fijos x promo"+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Green);}; +RDebugUtils.currentLine=40960020; + //BA.debugLineNum = 40960020;BA.debugLine="For i = 1 To maxPromos 'Revisamos cuantas promoci"; +{ +final int step19 = 1; +final int limit19 = (int)(Double.parseDouble(_maxpromos)); +_i = (int) (1) ; +for (;_i <= limit19 ;_i = _i + step19 ) { +RDebugUtils.currentLine=40960021; + //BA.debugLineNum = 40960021;BA.debugLine="If thisLog Then LogColor(\"Prods para promo \" & ("; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540960021","Prods para promo "+BA.NumberToString((_i+1)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);}; +RDebugUtils.currentLine=40960022; + //BA.debugLineNum = 40960022;BA.debugLine="For q = 0 To pf.Size - 1"; +{ +final int step21 = 1; +final int limit21 = (int) (_pf.getSize()-1); +_q = (int) (0) ; +for (;_q <= limit21 ;_q = _q + step21 ) { +RDebugUtils.currentLine=40960023; + //BA.debugLineNum = 40960023;BA.debugLine="Private q2 As String = pf.Get(q)"; +_q2 = BA.ObjectToString(_pf.Get(_q)); +RDebugUtils.currentLine=40960024; + //BA.debugLineNum = 40960024;BA.debugLine="If thisLog Then Log(\"q=\"&q2)"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540960024","q="+_q2,0);}; +RDebugUtils.currentLine=40960026; + //BA.debugLineNum = 40960026;BA.debugLine="fpf2 = pfp.Get(q) * i 'Multiplicamos las piezas"; +_fpf2 = (int) ((double)(BA.ObjectToNumber(_pfp.Get(_q)))*_i); +RDebugUtils.currentLine=40960027; + //BA.debugLineNum = 40960027;BA.debugLine="pdp2 = invDispParaPromo.Get(q2)"; +_pdp2 = (int)(BA.ObjectToNumber(_invdispparapromo.Get((Object)(_q2)))); +RDebugUtils.currentLine=40960028; + //BA.debugLineNum = 40960028;BA.debugLine="If thisLog Then Log($\"pf=${q2}, Actual=${(i)},"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540960028",("pf="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_q2))+", Actual="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((_i)))+", max promos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fpf2))+"="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2-_fpf2))+""),0);}; +RDebugUtils.currentLine=40960029; + //BA.debugLineNum = 40960029;BA.debugLine="If pdp2 - fpf2 < 0 Then 'Si el inventario es ne"; +if (_pdp2-_fpf2<0) { +RDebugUtils.currentLine=40960030; + //BA.debugLineNum = 40960030;BA.debugLine="salir=True"; +_salir = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=40960031; + //BA.debugLineNum = 40960031;BA.debugLine="Exit"; +if (true) break; + }; + } +}; +RDebugUtils.currentLine=40960034; + //BA.debugLineNum = 40960034;BA.debugLine="If salir Then Exit"; +if (_salir) { +if (true) break;}; +RDebugUtils.currentLine=40960035; + //BA.debugLineNum = 40960035;BA.debugLine="maxPromosFijosXinv = i"; +_maxpromosfijosxinv = _i; + } +}; +RDebugUtils.currentLine=40960037; + //BA.debugLineNum = 40960037;BA.debugLine="If thisLog Then LogColor(\"InvFijo requerido x pro"; +if (_thislog) { +anywheresoftware.b4a.keywords.Common.LogImpl("540960037","InvFijo requerido x promo="+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; +RDebugUtils.currentLine=40960038; + //BA.debugLineNum = 40960038;BA.debugLine="LogColor(\"Maximo de promociones de prodsFijos POR"; +anywheresoftware.b4a.keywords.Common.LogImpl("540960038","Maximo de promociones de prodsFijos POR inventario = "+BA.NumberToString(_maxpromosfijosxinv),anywheresoftware.b4a.keywords.Common.Colors.Red); +RDebugUtils.currentLine=40960039; + //BA.debugLineNum = 40960039;BA.debugLine="Return maxPromosFijosXinv"; +if (true) return _maxpromosfijosxinv; +RDebugUtils.currentLine=40960040; + //BA.debugLineNum = 40960040;BA.debugLine="End Sub"; +return 0; +} +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=38273024; + //BA.debugLineNum = 38273024;BA.debugLine="Sub revisaUUG 'ignore"; +RDebugUtils.currentLine=38273025; + //BA.debugLineNum = 38273025;BA.debugLine="Try"; +try {RDebugUtils.currentLine=38273027; + //BA.debugLineNum = 38273027;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize"; +if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { +RDebugUtils.currentLine=38273028; + //BA.debugLineNum = 38273028;BA.debugLine="Dim daa As Int = Tracker.UUGCoords.DistanceTo(T"; +_daa = (int) (mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .DistanceTo((android.location.Location)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getObject()))); +RDebugUtils.currentLine=38273029; + //BA.debugLineNum = 38273029;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"${f"; +if (mostCurrent._starter._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("538273029",("**** 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=38273030; + //BA.debugLineNum = 38273030;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocatio"; +if (_daa>40 && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()<35) { +RDebugUtils.currentLine=38273031; + //BA.debugLineNum = 38273031;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=38273032; + //BA.debugLineNum = 38273032;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a a"; +if (mostCurrent._starter._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("538273032","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);}; + }; +RDebugUtils.currentLine=38273034; + //BA.debugLineNum = 38273034;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoc"; +mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ = mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation(); + }; + } + catch (Exception e12) { + (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e12);RDebugUtils.currentLine=38273037; + //BA.debugLineNum = 38273037;BA.debugLine="LogColor(\"If Tracker.FLP.GetLastKnownLocation.Is"; +anywheresoftware.b4a.keywords.Common.LogImpl("538273037","If Tracker.FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; +RDebugUtils.currentLine=38273039; + //BA.debugLineNum = 38273039;BA.debugLine="End Sub"; +return ""; +} +public static String _traetipocliente(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="subs"; +if (Debug.shouldDelegate(null, "traetipocliente", false)) + {return ((String) Debug.delegate(null, "traetipocliente", new Object[] {_ba}));} +anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; +String _tc = ""; +RDebugUtils.currentLine=36765696; + //BA.debugLineNum = 36765696;BA.debugLine="Sub traeTipoCliente As String"; +RDebugUtils.currentLine=36765697; + //BA.debugLineNum = 36765697;BA.debugLine="Private x As Cursor"; +_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); +RDebugUtils.currentLine=36765698; + //BA.debugLineNum = 36765698;BA.debugLine="Private tc As String = \"DETALLE\""; +_tc = "DETALLE"; +RDebugUtils.currentLine=36765699; + //BA.debugLineNum = 36765699;BA.debugLine="x = Starter.skmt.ExecQuery($\"select IFNULL(CAT_CL"; +_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_CL_TIPOCLIENTE,\"DETALLE\") AS CAT_CL_TIPOCLIENTE from kmt_info where cat_cl_codigo in (select cuenta from cuentaa)")))); +RDebugUtils.currentLine=36765700; + //BA.debugLineNum = 36765700;BA.debugLine="If x.RowCount > 0 Then"; +if (_x.getRowCount()>0) { +RDebugUtils.currentLine=36765701; + //BA.debugLineNum = 36765701;BA.debugLine="x.Position = 0"; +_x.setPosition((int) (0)); +RDebugUtils.currentLine=36765702; + //BA.debugLineNum = 36765702;BA.debugLine="If x.GetString(\"CAT_CL_TIPOCLIENTE\") = \"null\" Or"; +if ((_x.GetString("CAT_CL_TIPOCLIENTE")).equals("null") || _x.GetString("CAT_CL_TIPOCLIENTE")== null) { +RDebugUtils.currentLine=36765703; + //BA.debugLineNum = 36765703;BA.debugLine="tc = \"DETALLE\""; +_tc = "DETALLE"; + }else { +RDebugUtils.currentLine=36765705; + //BA.debugLineNum = 36765705;BA.debugLine="tc = x.GetString(\"CAT_CL_TIPOCLIENTE\")"; +_tc = _x.GetString("CAT_CL_TIPOCLIENTE"); + }; + }; +RDebugUtils.currentLine=36765710; + //BA.debugLineNum = 36765710;BA.debugLine="Return tc"; +if (true) return _tc; +RDebugUtils.currentLine=36765711; + //BA.debugLineNum = 36765711;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/swiftbutton.java b/B4A/Objects/src/SHARK2/keymon/com/mx/swiftbutton.java new file mode 100644 index 0000000..ec1973a --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/swiftbutton.java @@ -0,0 +1,470 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx.swiftbutton"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _base_resize(SHARK2.keymon.com.mx.swiftbutton __ref,double _width,double _height) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "base_resize", true)) + {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));} +anywheresoftware.b4a.objects.B4XViewWrapper _v = null; +RDebugUtils.currentLine=77725696; + //BA.debugLineNum = 77725696;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; +RDebugUtils.currentLine=77725697; + //BA.debugLineNum = 77725697;BA.debugLine="cvs.Resize(Width, Height)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_width),(float) (_height)); +RDebugUtils.currentLine=77725698; + //BA.debugLineNum = 77725698;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=77725699; + //BA.debugLineNum = 77725699;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; +_v.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); + } +}; +RDebugUtils.currentLine=77725701; + //BA.debugLineNum = 77725701;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=77725702; + //BA.debugLineNum = 77725702;BA.debugLine="End Sub"; +return ""; +} +public String _draw(SHARK2.keymon.com.mx.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "draw", true)) + {return ((String) Debug.delegate(ba, "draw", null));} +anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; +anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; +int _c = 0; +RDebugUtils.currentLine=78184448; + //BA.debugLineNum = 78184448;BA.debugLine="Private Sub Draw"; +RDebugUtils.currentLine=78184449; + //BA.debugLineNum = 78184449;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); +RDebugUtils.currentLine=78184450; + //BA.debugLineNum = 78184450;BA.debugLine="Dim r As B4XRect"; +_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); +RDebugUtils.currentLine=78184451; + //BA.debugLineNum = 78184451;BA.debugLine="Dim p As B4XPath"; +_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); +RDebugUtils.currentLine=78184452; + //BA.debugLineNum = 78184452;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=78184453; + //BA.debugLineNum = 78184453;BA.debugLine="If pressed = False Then"; +if (__ref._pressed /*boolean*/ ==__c.False) { +RDebugUtils.currentLine=78184454; + //BA.debugLineNum = 78184454;BA.debugLine="xLBL.Top = 0"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTop((int) (0)); +RDebugUtils.currentLine=78184455; + //BA.debugLineNum = 78184455;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +_p.InitializeRoundedRect(_r,(float) (__ref._cornersradius /*int*/ )); +RDebugUtils.currentLine=78184456; + //BA.debugLineNum = 78184456;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=78184457; + //BA.debugLineNum = 78184457;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=78184458; + //BA.debugLineNum = 78184458;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +_p.InitializeRoundedRect(_r,(float) (__ref._cornersradius /*int*/ )); +RDebugUtils.currentLine=78184459; + //BA.debugLineNum = 78184459;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=78184461; + //BA.debugLineNum = 78184461;BA.debugLine="xLBL.Top = SideHeight"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTop(__ref._sideheight /*int*/ ); +RDebugUtils.currentLine=78184462; + //BA.debugLineNum = 78184462;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; +_p.InitializeRoundedRect(_r,(float) (__ref._cornersradius /*int*/ )); +RDebugUtils.currentLine=78184463; + //BA.debugLineNum = 78184463;BA.debugLine="Dim c As Int"; +_c = 0; +RDebugUtils.currentLine=78184464; + //BA.debugLineNum = 78184464;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=78184465; + //BA.debugLineNum = 78184465;BA.debugLine="cvs.DrawPath(p, c, True, 0)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawPath(_p,_c,__c.True,(float) (0)); + }; +RDebugUtils.currentLine=78184468; + //BA.debugLineNum = 78184468;BA.debugLine="cvs.Invalidate"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); +RDebugUtils.currentLine=78184469; + //BA.debugLineNum = 78184469;BA.debugLine="End Sub"; +return ""; +} +public String _class_globals(SHARK2.keymon.com.mx.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +RDebugUtils.currentLine=77529088; + //BA.debugLineNum = 77529088;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=77529089; + //BA.debugLineNum = 77529089;BA.debugLine="Private mEventName As String 'ignore"; +_meventname = ""; +RDebugUtils.currentLine=77529090; + //BA.debugLineNum = 77529090;BA.debugLine="Private mCallBack As Object 'ignore"; +_mcallback = new Object(); +RDebugUtils.currentLine=77529091; + //BA.debugLineNum = 77529091;BA.debugLine="Public mBase As B4XView 'ignore"; +_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=77529092; + //BA.debugLineNum = 77529092;BA.debugLine="Private xui As XUI 'ignore"; +_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); +RDebugUtils.currentLine=77529093; + //BA.debugLineNum = 77529093;BA.debugLine="Private cvs As B4XCanvas"; +_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); +RDebugUtils.currentLine=77529094; + //BA.debugLineNum = 77529094;BA.debugLine="Public xLBL As B4XView"; +_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); +RDebugUtils.currentLine=77529095; + //BA.debugLineNum = 77529095;BA.debugLine="Public clr1, clr2, disabledColor As Int"; +_clr1 = 0; +_clr2 = 0; +_disabledcolor = 0; +RDebugUtils.currentLine=77529096; + //BA.debugLineNum = 77529096;BA.debugLine="Private pressed As Boolean"; +_pressed = false; +RDebugUtils.currentLine=77529097; + //BA.debugLineNum = 77529097;BA.debugLine="Public Tag As Object"; +_tag = new Object(); +RDebugUtils.currentLine=77529098; + //BA.debugLineNum = 77529098;BA.debugLine="Private mDisabled As Boolean"; +_mdisabled = false; +RDebugUtils.currentLine=77529099; + //BA.debugLineNum = 77529099;BA.debugLine="Public CornersRadius, SideHeight As Int"; +_cornersradius = 0; +_sideheight = 0; +RDebugUtils.currentLine=77529100; + //BA.debugLineNum = 77529100;BA.debugLine="Public mHaptic As Boolean"; +_mhaptic = false; +RDebugUtils.currentLine=77529101; + //BA.debugLineNum = 77529101;BA.debugLine="End Sub"; +return ""; +} +public String _designercreateview(SHARK2.keymon.com.mx.swiftbutton __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "designercreateview", true)) + {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));} +anywheresoftware.b4a.objects.B4XViewWrapper _p = null; +RDebugUtils.currentLine=77660160; + //BA.debugLineNum = 77660160;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; +RDebugUtils.currentLine=77660161; + //BA.debugLineNum = 77660161;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=77660162; + //BA.debugLineNum = 77660162;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._tag /*Object*/ = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag(); +RDebugUtils.currentLine=77660162; + //BA.debugLineNum = 77660162;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; +__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setTag(this); +RDebugUtils.currentLine=77660163; + //BA.debugLineNum = 77660163;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=77660164; + //BA.debugLineNum = 77660164;BA.debugLine="p.Color = xui.Color_Transparent"; +_p.setColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_Transparent); +RDebugUtils.currentLine=77660165; + //BA.debugLineNum = 77660165;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=77660166; + //BA.debugLineNum = 77660166;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=77660167; + //BA.debugLineNum = 77660167;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=77660168; + //BA.debugLineNum = 77660168;BA.debugLine="CornersRadius = DipToCurrent(Props.GetDefault(\"Co"; +__ref._cornersradius /*int*/ = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(15))))); +RDebugUtils.currentLine=77660169; + //BA.debugLineNum = 77660169;BA.debugLine="SideHeight = DipToCurrent(Props.GetDefault(\"SideH"; +__ref._sideheight /*int*/ = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("SideHeight"),(Object)(5))))); +RDebugUtils.currentLine=77660170; + //BA.debugLineNum = 77660170;BA.debugLine="mDisabled = Not(Props.GetDefault(\"ButtonEnabled\","; +__ref._mdisabled /*boolean*/ = __c.Not(BA.ObjectToBoolean(_props.GetDefault((Object)("ButtonEnabled"),(Object)(__c.True)))); +RDebugUtils.currentLine=77660171; + //BA.debugLineNum = 77660171;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; +__ref._mhaptic /*boolean*/ = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); +RDebugUtils.currentLine=77660172; + //BA.debugLineNum = 77660172;BA.debugLine="pressed = mDisabled"; +__ref._pressed /*boolean*/ = __ref._mdisabled /*boolean*/ ; +RDebugUtils.currentLine=77660173; + //BA.debugLineNum = 77660173;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=77660174; + //BA.debugLineNum = 77660174;BA.debugLine="xLBL.Visible = True"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__c.True); +RDebugUtils.currentLine=77660175; + //BA.debugLineNum = 77660175;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=77660176; + //BA.debugLineNum = 77660176;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=77660177; + //BA.debugLineNum = 77660177;BA.debugLine="xLBL.SetTextAlignment(\"CENTER\", \"CENTER\")"; +__ref._xlbl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextAlignment("CENTER","CENTER"); +RDebugUtils.currentLine=77660178; + //BA.debugLineNum = 77660178;BA.debugLine="cvs.Initialize(mBase)"; +__ref._cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); +RDebugUtils.currentLine=77660179; + //BA.debugLineNum = 77660179;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=77660180; + //BA.debugLineNum = 77660180;BA.debugLine="End Sub"; +return ""; +} +public boolean _getenabled(SHARK2.keymon.com.mx.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "getenabled", true)) + {return ((Boolean) Debug.delegate(ba, "getenabled", null));} +RDebugUtils.currentLine=77791232; + //BA.debugLineNum = 77791232;BA.debugLine="Public Sub getEnabled As Boolean"; +RDebugUtils.currentLine=77791233; + //BA.debugLineNum = 77791233;BA.debugLine="Return Not(mDisabled)"; +if (true) return __c.Not(__ref._mdisabled /*boolean*/ ); +RDebugUtils.currentLine=77791234; + //BA.debugLineNum = 77791234;BA.debugLine="End Sub"; +return false; +} +public String _initialize(SHARK2.keymon.com.mx.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=77594624; + //BA.debugLineNum = 77594624;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; +RDebugUtils.currentLine=77594625; + //BA.debugLineNum = 77594625;BA.debugLine="mEventName = EventName"; +__ref._meventname /*String*/ = _eventname; +RDebugUtils.currentLine=77594626; + //BA.debugLineNum = 77594626;BA.debugLine="mCallBack = Callback"; +__ref._mcallback /*Object*/ = _callback; +RDebugUtils.currentLine=77594627; + //BA.debugLineNum = 77594627;BA.debugLine="End Sub"; +return ""; +} +public String _p_touch(SHARK2.keymon.com.mx.swiftbutton __ref,int _action,float _x,float _y) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "p_touch", true)) + {return ((String) Debug.delegate(ba, "p_touch", new Object[] {_action,_x,_y}));} +boolean _inside = false; +RDebugUtils.currentLine=77922304; + //BA.debugLineNum = 77922304;BA.debugLine="Private Sub p_Touch (Action As Int, X As Float, Y"; +RDebugUtils.currentLine=77922305; + //BA.debugLineNum = 77922305;BA.debugLine="If mDisabled Then Return"; +if (__ref._mdisabled /*boolean*/ ) { +if (true) return "";}; +RDebugUtils.currentLine=77922306; + //BA.debugLineNum = 77922306;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=77922307; + //BA.debugLineNum = 77922307;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=77922309; + //BA.debugLineNum = 77922309;BA.debugLine="SetPressedState(True)"; +__ref._setpressedstate /*String*/ (null,__c.True); +RDebugUtils.currentLine=77922310; + //BA.debugLineNum = 77922310;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); + break; } +case 1: { +RDebugUtils.currentLine=77922312; + //BA.debugLineNum = 77922312;BA.debugLine="If pressed <> Inside Then"; +if (__ref._pressed /*boolean*/ !=_inside) { +RDebugUtils.currentLine=77922313; + //BA.debugLineNum = 77922313;BA.debugLine="SetPressedState(Inside)"; +__ref._setpressedstate /*String*/ (null,_inside); +RDebugUtils.currentLine=77922314; + //BA.debugLineNum = 77922314;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); + }; + break; } +case 2: +case 3: { +RDebugUtils.currentLine=77922317; + //BA.debugLineNum = 77922317;BA.debugLine="SetPressedState(False)"; +__ref._setpressedstate /*String*/ (null,__c.False); +RDebugUtils.currentLine=77922318; + //BA.debugLineNum = 77922318;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=77922319; + //BA.debugLineNum = 77922319;BA.debugLine="If Inside Then"; +if (_inside) { +RDebugUtils.currentLine=77922320; + //BA.debugLineNum = 77922320;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; +if (__ref._mhaptic /*boolean*/ ) { +_xuiviewsutils._performhapticfeedback /*String*/ (ba,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ );}; +RDebugUtils.currentLine=77922321; + //BA.debugLineNum = 77922321;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Click"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_Click"); + }; + break; } +} +; +RDebugUtils.currentLine=77922324; + //BA.debugLineNum = 77922324;BA.debugLine="End Sub"; +return ""; +} +public String _setpressedstate(SHARK2.keymon.com.mx.swiftbutton __ref,boolean _newstate) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "setpressedstate", true)) + {return ((String) Debug.delegate(ba, "setpressedstate", new Object[] {_newstate}));} +RDebugUtils.currentLine=77987840; + //BA.debugLineNum = 77987840;BA.debugLine="Private Sub SetPressedState(NewState As Boolean)"; +RDebugUtils.currentLine=77987841; + //BA.debugLineNum = 77987841;BA.debugLine="If pressed = NewState Then Return"; +if (__ref._pressed /*boolean*/ ==_newstate) { +if (true) return "";}; +RDebugUtils.currentLine=77987842; + //BA.debugLineNum = 77987842;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=77987843; + //BA.debugLineNum = 77987843;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonD"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ButtonDown"); + }; +RDebugUtils.currentLine=77987845; + //BA.debugLineNum = 77987845;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=77987846; + //BA.debugLineNum = 77987846;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonU"; +__c.CallSubDelayed(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_ButtonUp"); + }; +RDebugUtils.currentLine=77987848; + //BA.debugLineNum = 77987848;BA.debugLine="pressed= NewState"; +__ref._pressed /*boolean*/ = _newstate; +RDebugUtils.currentLine=77987849; + //BA.debugLineNum = 77987849;BA.debugLine="End Sub"; +return ""; +} +public String _setcolors(SHARK2.keymon.com.mx.swiftbutton __ref,int _primary,int _secondary) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "setcolors", true)) + {return ((String) Debug.delegate(ba, "setcolors", new Object[] {_primary,_secondary}));} +RDebugUtils.currentLine=78053376; + //BA.debugLineNum = 78053376;BA.debugLine="Public Sub SetColors(Primary As Int, Secondary As"; +RDebugUtils.currentLine=78053377; + //BA.debugLineNum = 78053377;BA.debugLine="clr1 = Primary"; +__ref._clr1 /*int*/ = _primary; +RDebugUtils.currentLine=78053378; + //BA.debugLineNum = 78053378;BA.debugLine="clr2 = Secondary"; +__ref._clr2 /*int*/ = _secondary; +RDebugUtils.currentLine=78053379; + //BA.debugLineNum = 78053379;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=78053380; + //BA.debugLineNum = 78053380;BA.debugLine="End Sub"; +return ""; +} +public String _setenabled(SHARK2.keymon.com.mx.swiftbutton __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "setenabled", true)) + {return ((String) Debug.delegate(ba, "setenabled", new Object[] {_b}));} +RDebugUtils.currentLine=77856768; + //BA.debugLineNum = 77856768;BA.debugLine="Public Sub setEnabled(b As Boolean)"; +RDebugUtils.currentLine=77856769; + //BA.debugLineNum = 77856769;BA.debugLine="mDisabled = Not(b)"; +__ref._mdisabled /*boolean*/ = __c.Not(_b); +RDebugUtils.currentLine=77856770; + //BA.debugLineNum = 77856770;BA.debugLine="pressed = mDisabled"; +__ref._pressed /*boolean*/ = __ref._mdisabled /*boolean*/ ; +RDebugUtils.currentLine=77856771; + //BA.debugLineNum = 77856771;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=77856772; + //BA.debugLineNum = 77856772;BA.debugLine="End Sub"; +return ""; +} +public String _update(SHARK2.keymon.com.mx.swiftbutton __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="swiftbutton"; +if (Debug.shouldDelegate(ba, "update", true)) + {return ((String) Debug.delegate(ba, "update", null));} +RDebugUtils.currentLine=78118912; + //BA.debugLineNum = 78118912;BA.debugLine="Public Sub Update"; +RDebugUtils.currentLine=78118913; + //BA.debugLineNum = 78118913;BA.debugLine="Draw"; +__ref._draw /*String*/ (null); +RDebugUtils.currentLine=78118914; + //BA.debugLineNum = 78118914;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/tracker.java b/B4A/Objects/src/SHARK2/keymon/com/mx/tracker.java new file mode 100644 index 0000000..2c89297 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/tracker.java @@ -0,0 +1,823 @@ +package SHARK2.keymon.com.mx; + + +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, "SHARK2.keymon.com.mx", "SHARK2.keymon.com.mx.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, "SHARK2.keymon.com.mx.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 anywheresoftware.b4a.gps.LocationWrapper _uugcoords = null; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequest() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "createlocationrequest", false)) + {return ((uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest) Debug.delegate(processBA, "createlocationrequest", null));} +uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; +RDebugUtils.currentLine=42795008; + //BA.debugLineNum = 42795008;BA.debugLine="Private Sub CreateLocationRequest As LocationReque"; +RDebugUtils.currentLine=42795010; + //BA.debugLineNum = 42795010;BA.debugLine="Dim lr As LocationRequest"; +_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); +RDebugUtils.currentLine=42795011; + //BA.debugLineNum = 42795011;BA.debugLine="lr.Initialize"; +_lr.Initialize(); +RDebugUtils.currentLine=42795012; + //BA.debugLineNum = 42795012;BA.debugLine="lr.SetInterval(10000) 'Intervalo deseado para act"; +_lr.SetInterval((long) (10000)); +RDebugUtils.currentLine=42795013; + //BA.debugLineNum = 42795013;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +_lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); +RDebugUtils.currentLine=42795014; + //BA.debugLineNum = 42795014;BA.debugLine="lr.SetSmallestDisplacement(50) 'Solo registra cam"; +_lr.SetSmallestDisplacement((float) (50)); +RDebugUtils.currentLine=42795015; + //BA.debugLineNum = 42795015;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +_lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); +RDebugUtils.currentLine=42795016; + //BA.debugLineNum = 42795016;BA.debugLine="actualLR=lr"; +_actuallr = _lr; +RDebugUtils.currentLine=42795017; + //BA.debugLineNum = 42795017;BA.debugLine="Return lr"; +if (true) return _lr; +RDebugUtils.currentLine=42795018; + //BA.debugLineNum = 42795018;BA.debugLine="End Sub"; +return null; +} +public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequestsmalld() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "createlocationrequestsmalld", false)) + {return ((uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest) Debug.delegate(processBA, "createlocationrequestsmalld", null));} +uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; +RDebugUtils.currentLine=42860544; + //BA.debugLineNum = 42860544;BA.debugLine="Private Sub CreateLocationRequestSmallD As Locatio"; +RDebugUtils.currentLine=42860546; + //BA.debugLineNum = 42860546;BA.debugLine="Dim lr As LocationRequest"; +_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); +RDebugUtils.currentLine=42860547; + //BA.debugLineNum = 42860547;BA.debugLine="lr.Initialize"; +_lr.Initialize(); +RDebugUtils.currentLine=42860548; + //BA.debugLineNum = 42860548;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; +_lr.SetInterval((long) (2000)); +RDebugUtils.currentLine=42860549; + //BA.debugLineNum = 42860549;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; +_lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); +RDebugUtils.currentLine=42860550; + //BA.debugLineNum = 42860550;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo 2 actualiza"; +_lr.SetNumUpdates((int) (2)); +RDebugUtils.currentLine=42860551; + //BA.debugLineNum = 42860551;BA.debugLine="lr.SetSmallestDisplacement(1) 'Solo registra camb"; +_lr.SetSmallestDisplacement((float) (1)); +RDebugUtils.currentLine=42860552; + //BA.debugLineNum = 42860552;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; +_lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); +RDebugUtils.currentLine=42860553; + //BA.debugLineNum = 42860553;BA.debugLine="actualLR=lr"; +_actuallr = _lr; +RDebugUtils.currentLine=42860554; + //BA.debugLineNum = 42860554;BA.debugLine="Return lr"; +if (true) return _lr; +RDebugUtils.currentLine=42860555; + //BA.debugLineNum = 42860555;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=43122688; + //BA.debugLineNum = 43122688;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; +RDebugUtils.currentLine=43122689; + //BA.debugLineNum = 43122689;BA.debugLine="Dim notification As Notification"; +_notification = new anywheresoftware.b4a.objects.NotificationWrapper(); +RDebugUtils.currentLine=43122690; + //BA.debugLineNum = 43122690;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; +_notification.Initialize2(_notification.IMPORTANCE_LOW); +RDebugUtils.currentLine=43122691; + //BA.debugLineNum = 43122691;BA.debugLine="notification.Icon = \"icon\""; +_notification.setIcon("icon"); +RDebugUtils.currentLine=43122692; + //BA.debugLineNum = 43122692;BA.debugLine="notification.SetInfo(\"SHARK2\", Body, Main)"; +_notification.SetInfoNew(processBA,BA.ObjectToCharSequence("SHARK2"),BA.ObjectToCharSequence(_body),(Object)(mostCurrent._main.getObject())); +RDebugUtils.currentLine=43122693; + //BA.debugLineNum = 43122693;BA.debugLine="Return notification"; +if (true) return _notification; +RDebugUtils.currentLine=43122694; + //BA.debugLineNum = 43122694;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=42926080; + //BA.debugLineNum = 42926080;BA.debugLine="Sub dameUltimaUbicacionConocida"; +RDebugUtils.currentLine=42926081; + //BA.debugLineNum = 42926081;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then 'M"; +if (_flp.GetLastKnownLocation().IsInitialized()) { +RDebugUtils.currentLine=42926083; + //BA.debugLineNum = 42926083;BA.debugLine="If Starter.Logger Then LogColor($\"Mandamos UUC \""; +if (mostCurrent._starter._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("542926083",("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=42926084; + //BA.debugLineNum = 42926084;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=42926088; + //BA.debugLineNum = 42926088;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=43253760; + //BA.debugLineNum = 43253760;BA.debugLine="Sub formatoFecha(fecha As String) As String 'Convi"; +RDebugUtils.currentLine=43253762; + //BA.debugLineNum = 43253762;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; +_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); +RDebugUtils.currentLine=43253763; + //BA.debugLineNum = 43253763;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); +RDebugUtils.currentLine=43253764; + //BA.debugLineNum = 43253764;BA.debugLine="Dim lastUpdate As String=DateTime.Date(fecha)"; +_lastupdate = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); +RDebugUtils.currentLine=43253765; + //BA.debugLineNum = 43253765;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); +RDebugUtils.currentLine=43253767; + //BA.debugLineNum = 43253767;BA.debugLine="Return lastUpdate"; +if (true) return _lastupdate; +RDebugUtils.currentLine=43253768; + //BA.debugLineNum = 43253768;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=42467328; + //BA.debugLineNum = 42467328;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)"; +RDebugUtils.currentLine=42467329; + //BA.debugLineNum = 42467329;BA.debugLine="Log(\"Failed to connect to location provider\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("542467329","Failed to connect to location provider",0); +RDebugUtils.currentLine=42467330; + //BA.debugLineNum = 42467330;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=42401792; + //BA.debugLineNum = 42401792;BA.debugLine="Sub flp_ConnectionSuccess"; +RDebugUtils.currentLine=42401795; + //BA.debugLineNum = 42401795;BA.debugLine="End Sub"; +return ""; +} +public static String _flp_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "flp_locationchanged", false)) + {return ((String) Debug.delegate(processBA, "flp_locationchanged", new Object[] {_location1}));} +String _sdate = ""; +String _stime = ""; +String _coords = ""; +RDebugUtils.currentLine=43057152; + //BA.debugLineNum = 43057152;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)"; +RDebugUtils.currentLine=43057155; + //BA.debugLineNum = 43057155;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ = BA.NumberToString(_location1.getLatitude()); +RDebugUtils.currentLine=43057156; + //BA.debugLineNum = 43057156;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ = BA.NumberToString(_location1.getLongitude()); +RDebugUtils.currentLine=43057157; + //BA.debugLineNum = 43057157;BA.debugLine="UUGCoords = Location1"; +_uugcoords = _location1; +RDebugUtils.currentLine=43057165; + //BA.debugLineNum = 43057165;BA.debugLine="Dim sDate,sTime As String"; +_sdate = ""; +_stime = ""; +RDebugUtils.currentLine=43057166; + //BA.debugLineNum = 43057166;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; +anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); +RDebugUtils.currentLine=43057167; + //BA.debugLineNum = 43057167;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; +_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=43057168; + //BA.debugLineNum = 43057168;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; +_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); +RDebugUtils.currentLine=43057169; + //BA.debugLineNum = 43057169;BA.debugLine="If Not(B4XPages.MainPage.skmt.IsInitialized) Then"; +if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .IsInitialized())) { +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);}; +RDebugUtils.currentLine=43057170; + //BA.debugLineNum = 43057170;BA.debugLine="Try"; +try {RDebugUtils.currentLine=43057171; + //BA.debugLineNum = 43057171;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_sdate+_stime),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ )})); +RDebugUtils.currentLine=43057172; + //BA.debugLineNum = 43057172;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); + } + catch (Exception e13) { + processBA.setLastException(e13);RDebugUtils.currentLine=43057174; + //BA.debugLineNum = 43057174;BA.debugLine="LogColor(LastException, Colors.Red)"; +anywheresoftware.b4a.keywords.Common.LogImpl("543057174",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; +RDebugUtils.currentLine=43057177; + //BA.debugLineNum = 43057177;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=43057182; + //BA.debugLineNum = 43057182;BA.debugLine="If Location1.Accuracy < 100 Then"; +if (_location1.getAccuracy()<100) { + }; +RDebugUtils.currentLine=43057186; + //BA.debugLineNum = 43057186;BA.debugLine="CallSub2(Starter, \"GPS_LocationChanged\", Location"; +anywheresoftware.b4a.keywords.Common.CallSubDebug2(processBA,(Object)(mostCurrent._starter.getObject()),"GPS_LocationChanged",(Object)(_location1)); +RDebugUtils.currentLine=43057190; + //BA.debugLineNum = 43057190;BA.debugLine="End Sub"; +return ""; +} +public static String _revisaflp() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "revisaflp", false)) + {return ((String) Debug.delegate(processBA, "revisaflp", null));} +boolean _todobienflp = false; +RDebugUtils.currentLine=43319296; + //BA.debugLineNum = 43319296;BA.debugLine="Sub revisaFLP 'ignore"; +RDebugUtils.currentLine=43319297; + //BA.debugLineNum = 43319297;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col"; +anywheresoftware.b4a.keywords.Common.LogImpl("543319297","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227))); +RDebugUtils.currentLine=43319298; + //BA.debugLineNum = 43319298;BA.debugLine="Private todoBienFLP As Boolean = True"; +_todobienflp = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=43319299; + //BA.debugLineNum = 43319299;BA.debugLine="Try"; +try {RDebugUtils.currentLine=43319300; + //BA.debugLineNum = 43319300;BA.debugLine="If Not(FLP.IsInitialized) Then"; +if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsInitialized())) { +RDebugUtils.currentLine=43319301; + //BA.debugLineNum = 43319301;BA.debugLine="Subs.log2DB(\"revisaFLP: No esta inicializado .."; +mostCurrent._subs._log2db /*String*/ (processBA,"revisaFLP: No esta inicializado ... 'Reinicializando FLP'"); +RDebugUtils.currentLine=43319302; + //BA.debugLineNum = 43319302;BA.debugLine="FLP.Initialize(\"flp\")"; +_flp.Initialize(processBA,"flp"); +RDebugUtils.currentLine=43319303; + //BA.debugLineNum = 43319303;BA.debugLine="todoBienFLP = False"; +_todobienflp = anywheresoftware.b4a.keywords.Common.False; + }; + } + catch (Exception e10) { + processBA.setLastException(e10);RDebugUtils.currentLine=43319306; + //BA.debugLineNum = 43319306;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) -->"; +anywheresoftware.b4a.keywords.Common.LogImpl("543319306","If Not(Tracker.FLP.IsInitialized) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; +RDebugUtils.currentLine=43319308; + //BA.debugLineNum = 43319308;BA.debugLine="Try"; +try {RDebugUtils.currentLine=43319309; + //BA.debugLineNum = 43319309;BA.debugLine="If FLP.IsInitialized Then"; +if (_flp.IsInitialized()) { +RDebugUtils.currentLine=43319310; + //BA.debugLineNum = 43319310;BA.debugLine="Try"; +try {RDebugUtils.currentLine=43319311; + //BA.debugLineNum = 43319311;BA.debugLine="If Not(FLP.IsConnected) Then"; +if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsConnected())) { +RDebugUtils.currentLine=43319312; + //BA.debugLineNum = 43319312;BA.debugLine="Subs.log2DB(\"revisaFLP: No esta conectado ..."; +mostCurrent._subs._log2db /*String*/ (processBA,"revisaFLP: No esta conectado ... 'Reconectando FLP'"); +RDebugUtils.currentLine=43319314; + //BA.debugLineNum = 43319314;BA.debugLine="StartFLP"; +_startflp(); +RDebugUtils.currentLine=43319315; + //BA.debugLineNum = 43319315;BA.debugLine="todoBienFLP = False"; +_todobienflp = anywheresoftware.b4a.keywords.Common.False; + }; + } + catch (Exception e21) { + processBA.setLastException(e21);RDebugUtils.currentLine=43319318; + //BA.debugLineNum = 43319318;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->"; +anywheresoftware.b4a.keywords.Common.LogImpl("543319318","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; +RDebugUtils.currentLine=43319320; + //BA.debugLineNum = 43319320;BA.debugLine="Try"; +try {RDebugUtils.currentLine=43319321; + //BA.debugLineNum = 43319321;BA.debugLine="If FLP.IsConnected And _ FLP.GetLastKnown"; +if (_flp.IsConnected() && _flp.GetLastKnownLocation().IsInitialized() && _flp.GetLastKnownLocation().DistanceTo((android.location.Location)(_uugcoords.getObject()))>500) { +RDebugUtils.currentLine=43319324; + //BA.debugLineNum = 43319324;BA.debugLine="Subs.log2DB(\"revisaFLP: 'No se esta actualiza"; +mostCurrent._subs._log2db /*String*/ (processBA,"revisaFLP: 'No se esta actualizando, lo reiniciamos ...'"); +RDebugUtils.currentLine=43319325; + //BA.debugLineNum = 43319325;BA.debugLine="StartService(Me)"; +anywheresoftware.b4a.keywords.Common.StartService(processBA,tracker.getObject()); +RDebugUtils.currentLine=43319326; + //BA.debugLineNum = 43319326;BA.debugLine="todoBienFLP = False"; +_todobienflp = anywheresoftware.b4a.keywords.Common.False; + }; + } + catch (Exception e30) { + processBA.setLastException(e30);RDebugUtils.currentLine=43319329; + //BA.debugLineNum = 43319329;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I"; +anywheresoftware.b4a.keywords.Common.LogImpl("543319329","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; + }; +RDebugUtils.currentLine=43319332; + //BA.debugLineNum = 43319332;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error"; +if (_todobienflp) { +anywheresoftware.b4a.keywords.Common.LogImpl("543319332"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; + } + catch (Exception e35) { + processBA.setLastException(e35);RDebugUtils.currentLine=43319334; + //BA.debugLineNum = 43319334;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las"; +anywheresoftware.b4a.keywords.Common.LogImpl("543319334","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; +RDebugUtils.currentLine=43319337; + //BA.debugLineNum = 43319337;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(SHARK2.keymon.com.mx.tracker parent) { +this.parent = parent; +} +SHARK2.keymon.com.mx.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=42663938; + //BA.debugLineNum = 42663938;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=42663939; + //BA.debugLineNum = 42663939;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=42663944; + //BA.debugLineNum = 42663944;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest)"; +parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequest().getObject())); +RDebugUtils.currentLine=42663947; + //BA.debugLineNum = 42663947;BA.debugLine="flpStarted = True"; +parent._flpstarted = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=42663949; + //BA.debugLineNum = 42663949;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +public static String _revisauug() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "revisauug", false)) + {return ((String) Debug.delegate(processBA, "revisauug", null));} +int _daa = 0; +RDebugUtils.currentLine=43384832; + //BA.debugLineNum = 43384832;BA.debugLine="Sub revisaUUG 'ignore"; +RDebugUtils.currentLine=43384833; + //BA.debugLineNum = 43384833;BA.debugLine="Try"; +try {RDebugUtils.currentLine=43384835; + //BA.debugLineNum = 43384835;BA.debugLine="If FLP.IsInitialized And FLP.IsConnected Then"; +if (_flp.IsInitialized() && _flp.IsConnected()) { +RDebugUtils.currentLine=43384836; + //BA.debugLineNum = 43384836;BA.debugLine="Try"; +try {RDebugUtils.currentLine=43384837; + //BA.debugLineNum = 43384837;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then"; +if (_flp.GetLastKnownLocation().IsInitialized()) { +RDebugUtils.currentLine=43384839; + //BA.debugLineNum = 43384839;BA.debugLine="Dim daa As Int = UUGCoords.DistanceTo(FLP.Get"; +_daa = (int) (_uugcoords.DistanceTo((android.location.Location)(_flp.GetLastKnownLocation().getObject()))); +RDebugUtils.currentLine=43384840; + //BA.debugLineNum = 43384840;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"$"; +if (mostCurrent._starter._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("543384840",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; +RDebugUtils.currentLine=43384841; + //BA.debugLineNum = 43384841;BA.debugLine="If daa > 40 And FLP.GetLastKnownLocation.Accu"; +if (_daa>40 && _flp.GetLastKnownLocation().getAccuracy()<35) { +RDebugUtils.currentLine=43384842; + //BA.debugLineNum = 43384842;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; +mostCurrent._b4xpages._mainpage /*SHARK2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))),(Object)(_flp.GetLastKnownLocation().getLatitude()),(Object)(_flp.GetLastKnownLocation().getLongitude())})); +RDebugUtils.currentLine=43384843; + //BA.debugLineNum = 43384843;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a"; +if (mostCurrent._starter._logger /*boolean*/ ) { +anywheresoftware.b4a.keywords.Common.LogImpl("543384843","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(_flp.GetLastKnownLocation().getAccuracy()),0);}; + }; +RDebugUtils.currentLine=43384845; + //BA.debugLineNum = 43384845;BA.debugLine="UUGCoords = FLP.GetLastKnownLocation"; +_uugcoords = _flp.GetLastKnownLocation(); + }; + } + catch (Exception e14) { + processBA.setLastException(e14);RDebugUtils.currentLine=43384848; + //BA.debugLineNum = 43384848;BA.debugLine="LogColor(\"FLP.GetLastKnownLocation.IsInitializ"; +anywheresoftware.b4a.keywords.Common.LogImpl("543384848","FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; + }else { +RDebugUtils.currentLine=43384851; + //BA.debugLineNum = 43384851;BA.debugLine="Log(\"StartFLP\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("543384851","StartFLP",0); +RDebugUtils.currentLine=43384852; + //BA.debugLineNum = 43384852;BA.debugLine="StartFLP"; +_startflp(); + }; + } + catch (Exception e21) { + processBA.setLastException(e21);RDebugUtils.currentLine=43384855; + //BA.debugLineNum = 43384855;BA.debugLine="LogColor(\"If FLP.IsInitialized --> \"&LastExcepti"; +anywheresoftware.b4a.keywords.Common.LogImpl("543384855","If FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); + }; +RDebugUtils.currentLine=43384857; + //BA.debugLineNum = 43384857;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=42336256; + //BA.debugLineNum = 42336256;BA.debugLine="Sub Service_Create"; +RDebugUtils.currentLine=42336257; + //BA.debugLineNum = 42336257;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; +mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; +RDebugUtils.currentLine=42336259; + //BA.debugLineNum = 42336259;BA.debugLine="FLP.Initialize(\"flp\")"; +_flp.Initialize(processBA,"flp"); +RDebugUtils.currentLine=42336260; + //BA.debugLineNum = 42336260;BA.debugLine="FLP.Connect"; +_flp.Connect(); +RDebugUtils.currentLine=42336261; + //BA.debugLineNum = 42336261;BA.debugLine="lock.PartialLock"; +_lock.PartialLock(processBA); +RDebugUtils.currentLine=42336262; + //BA.debugLineNum = 42336262;BA.debugLine="StartFLP"; +_startflp(); +RDebugUtils.currentLine=42336263; + //BA.debugLineNum = 42336263;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=43188224; + //BA.debugLineNum = 43188224;BA.debugLine="Sub Service_Destroy"; +RDebugUtils.currentLine=43188225; + //BA.debugLineNum = 43188225;BA.debugLine="If Tracking Then"; +if (_tracking) { +RDebugUtils.currentLine=43188226; + //BA.debugLineNum = 43188226;BA.debugLine="StopFLP"; +_stopflp(); + }; +RDebugUtils.currentLine=43188228; + //BA.debugLineNum = 43188228;BA.debugLine="Tracking = False"; +_tracking = anywheresoftware.b4a.keywords.Common.False; +RDebugUtils.currentLine=43188229; + //BA.debugLineNum = 43188229;BA.debugLine="lock.ReleasePartialLock"; +_lock.ReleasePartialLock(); +RDebugUtils.currentLine=43188230; + //BA.debugLineNum = 43188230;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=42991616; + //BA.debugLineNum = 42991616;BA.debugLine="Public Sub StopFLP"; +RDebugUtils.currentLine=42991618; + //BA.debugLineNum = 42991618;BA.debugLine="If flpStarted Then"; +if (_flpstarted) { +RDebugUtils.currentLine=42991619; + //BA.debugLineNum = 42991619;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las"; +_flp.RemoveLocationUpdates(); +RDebugUtils.currentLine=42991620; + //BA.debugLineNum = 42991620;BA.debugLine="flpStarted = False"; +_flpstarted = anywheresoftware.b4a.keywords.Common.False; + }; +RDebugUtils.currentLine=42991622; + //BA.debugLineNum = 42991622;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=42532864; + //BA.debugLineNum = 42532864;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; +RDebugUtils.currentLine=42532866; + //BA.debugLineNum = 42532866;BA.debugLine="Service.StopAutomaticForeground"; +mostCurrent._service.StopAutomaticForeground(); +RDebugUtils.currentLine=42532867; + //BA.debugLineNum = 42532867;BA.debugLine="Service.StartForeground(nid, CreateNotification(\""; +mostCurrent._service.StartForeground(_nid,(android.app.Notification)(_createnotification("...").getObject())); +RDebugUtils.currentLine=42532868; + //BA.debugLineNum = 42532868;BA.debugLine="Track"; +_track(); +RDebugUtils.currentLine=42532869; + //BA.debugLineNum = 42532869;BA.debugLine="StartServiceAt(Me, DateTime.Now + 5 * DateTime.Ti"; +anywheresoftware.b4a.keywords.Common.StartServiceAt(processBA,tracker.getObject(),(long) (anywheresoftware.b4a.keywords.Common.DateTime.getNow()+5*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute),anywheresoftware.b4a.keywords.Common.True); +RDebugUtils.currentLine=42532870; + //BA.debugLineNum = 42532870;BA.debugLine="FLP.GetLastKnownLocation.Initialize"; +_flp.GetLastKnownLocation().Initialize(); +RDebugUtils.currentLine=42532871; + //BA.debugLineNum = 42532871;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=42598400; + //BA.debugLineNum = 42598400;BA.debugLine="Public Sub Track"; +RDebugUtils.currentLine=42598402; + //BA.debugLineNum = 42598402;BA.debugLine="If Not(FLP.IsInitialized) Then FLP.Initialize(\"fl"; +if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsInitialized())) { +_flp.Initialize(processBA,"flp");}; +RDebugUtils.currentLine=42598403; + //BA.debugLineNum = 42598403;BA.debugLine="If Not(FLP.IsConnected) Then FLP.Connect"; +if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsConnected())) { +_flp.Connect();}; +RDebugUtils.currentLine=42598404; + //BA.debugLineNum = 42598404;BA.debugLine="If Tracking And actualLR.IsInitialized Then"; +if (_tracking && _actuallr.IsInitialized()) { +RDebugUtils.currentLine=42598406; + //BA.debugLineNum = 42598406;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; +if (true) return ""; + }; +RDebugUtils.currentLine=42598408; + //BA.debugLineNum = 42598408;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=42598409; + //BA.debugLineNum = 42598409;BA.debugLine="Log(\"No permission\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("542598409","No permission",0); +RDebugUtils.currentLine=42598410; + //BA.debugLineNum = 42598410;BA.debugLine="Return"; +if (true) return ""; + }; +RDebugUtils.currentLine=42598412; + //BA.debugLineNum = 42598412;BA.debugLine="StartFLP 'Iniciamos FusedLocationProvider"; +_startflp(); +RDebugUtils.currentLine=42598413; + //BA.debugLineNum = 42598413;BA.debugLine="Tracking = True"; +_tracking = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=42598414; + //BA.debugLineNum = 42598414;BA.debugLine="End Sub"; +return ""; +} +public static void _startflpsmall() throws Exception{ +RDebugUtils.currentModule="tracker"; +if (Debug.shouldDelegate(processBA, "startflpsmall", false)) + {Debug.delegate(processBA, "startflpsmall", null); return;} +ResumableSub_StartFLPSmall rsub = new ResumableSub_StartFLPSmall(null); +rsub.resume(processBA, null); +} +public static class ResumableSub_StartFLPSmall extends BA.ResumableSub { +public ResumableSub_StartFLPSmall(SHARK2.keymon.com.mx.tracker parent) { +this.parent = parent; +} +SHARK2.keymon.com.mx.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=42729474; + //BA.debugLineNum = 42729474;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=42729475; + //BA.debugLineNum = 42729475;BA.debugLine="Sleep(500)"; +anywheresoftware.b4a.keywords.Common.Sleep(processBA,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "tracker", "startflpsmall"),(int) (500)); +this.state = 5; +return; +case 5: +//C +this.state = 1; +; +RDebugUtils.currentLine=42729476; + //BA.debugLineNum = 42729476;BA.debugLine="Log(\"sleeping\")"; +anywheresoftware.b4a.keywords.Common.LogImpl("542729476","sleeping",0); + if (true) break; + +case 4: +//C +this.state = -1; +; +RDebugUtils.currentLine=42729478; + //BA.debugLineNum = 42729478;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; +_dameultimaubicacionconocida(); +RDebugUtils.currentLine=42729479; + //BA.debugLineNum = 42729479;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequestS"; +parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequestsmalld().getObject())); +RDebugUtils.currentLine=42729482; + //BA.debugLineNum = 42729482;BA.debugLine="End Sub"; +if (true) break; + + } + } + } +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/xml2map.java b/B4A/Objects/src/SHARK2/keymon/com/mx/xml2map.java new file mode 100644 index 0000000..da96f48 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/xml2map.java @@ -0,0 +1,403 @@ +package SHARK2.keymon.com.mx; + + +import anywheresoftware.b4a.BA; +import anywheresoftware.b4a.B4AClass; +import anywheresoftware.b4a.BALayout; +import anywheresoftware.b4a.debug.*; + +public class xml2map 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, "SHARK2.keymon.com.mx.xml2map"); + if (htSubs == null) { + ba.loadHtSubs(this.getClass()); + htSubs = ba.htSubs; + } + + } + if (BA.isShellModeRuntimeCheck(ba)) + this.getClass().getMethod("_class_globals", SHARK2.keymon.com.mx.xml2map.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 _xmlelement{ +public boolean IsInitialized; +public String Name; +public anywheresoftware.b4a.objects.collections.List Children; +public String Text; +public anywheresoftware.b4a.objects.collections.Map Attributes; +public void Initialize() { +IsInitialized = true; +Name = ""; +Children = new anywheresoftware.b4a.objects.collections.List(); +Text = ""; +Attributes = new anywheresoftware.b4a.objects.collections.Map(); +} +@Override + public String toString() { + return BA.TypeToString(this, false); + }} +public anywheresoftware.b4a.keywords.Common __c = null; +public anywheresoftware.b4a.objects.SaxParser _parser = null; +public anywheresoftware.b4a.objects.collections.List _elements = null; +public boolean _mstripnamespaces = false; +public b4a.example.dateutils _dateutils = null; +public SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.httputils2service _httputils2service = null; +public SHARK2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; +public String _class_globals(SHARK2.keymon.com.mx.xml2map __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="xml2map"; +RDebugUtils.currentLine=80150528; + //BA.debugLineNum = 80150528;BA.debugLine="Sub Class_Globals"; +RDebugUtils.currentLine=80150529; + //BA.debugLineNum = 80150529;BA.debugLine="Private parser As SaxParser"; +_parser = new anywheresoftware.b4a.objects.SaxParser(); +RDebugUtils.currentLine=80150530; + //BA.debugLineNum = 80150530;BA.debugLine="Type XmlElement (Name As String, Children As List"; +; +RDebugUtils.currentLine=80150531; + //BA.debugLineNum = 80150531;BA.debugLine="Private elements As List"; +_elements = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=80150532; + //BA.debugLineNum = 80150532;BA.debugLine="Private mStripNamespaces As Boolean"; +_mstripnamespaces = false; +RDebugUtils.currentLine=80150533; + //BA.debugLineNum = 80150533;BA.debugLine="End Sub"; +return ""; +} +public SHARK2.keymon.com.mx.xml2map._xmlelement _createelement(SHARK2.keymon.com.mx.xml2map __ref,String _name) throws Exception{ +__ref = this; +RDebugUtils.currentModule="xml2map"; +if (Debug.shouldDelegate(ba, "createelement", true)) + {return ((SHARK2.keymon.com.mx.xml2map._xmlelement) Debug.delegate(ba, "createelement", new Object[] {_name}));} +SHARK2.keymon.com.mx.xml2map._xmlelement _xe = null; +RDebugUtils.currentLine=80609280; + //BA.debugLineNum = 80609280;BA.debugLine="Private Sub CreateElement (Name As String) As XmlE"; +RDebugUtils.currentLine=80609281; + //BA.debugLineNum = 80609281;BA.debugLine="Dim xe As XmlElement"; +_xe = new SHARK2.keymon.com.mx.xml2map._xmlelement(); +RDebugUtils.currentLine=80609282; + //BA.debugLineNum = 80609282;BA.debugLine="xe.Initialize"; +_xe.Initialize(); +RDebugUtils.currentLine=80609283; + //BA.debugLineNum = 80609283;BA.debugLine="xe.Children.Initialize"; +_xe.Children /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=80609284; + //BA.debugLineNum = 80609284;BA.debugLine="xe.Name = Name"; +_xe.Name /*String*/ = _name; +RDebugUtils.currentLine=80609290; + //BA.debugLineNum = 80609290;BA.debugLine="Return xe"; +if (true) return _xe; +RDebugUtils.currentLine=80609291; + //BA.debugLineNum = 80609291;BA.debugLine="End Sub"; +return null; +} +public Object _elementtoobject(SHARK2.keymon.com.mx.xml2map __ref,SHARK2.keymon.com.mx.xml2map._xmlelement _element) throws Exception{ +__ref = this; +RDebugUtils.currentModule="xml2map"; +if (Debug.shouldDelegate(ba, "elementtoobject", true)) + {return ((Object) Debug.delegate(ba, "elementtoobject", new Object[] {_element}));} +anywheresoftware.b4a.objects.collections.Map _m = null; +SHARK2.keymon.com.mx.xml2map._xmlelement _child = null; +Object _childobject = null; +Object _currentitem = null; +anywheresoftware.b4a.objects.collections.List _list = null; +RDebugUtils.currentLine=80543744; + //BA.debugLineNum = 80543744;BA.debugLine="Private Sub ElementToObject (Element As XmlElement"; +RDebugUtils.currentLine=80543745; + //BA.debugLineNum = 80543745;BA.debugLine="If Element.Children.Size = 0 And Element.Attribut"; +if (_element.Children /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0 && _element.Attributes /*anywheresoftware.b4a.objects.collections.Map*/ .IsInitialized()==__c.False) { +if (true) return (Object)(_element.Text /*String*/ );}; +RDebugUtils.currentLine=80543746; + //BA.debugLineNum = 80543746;BA.debugLine="Dim m As Map"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=80543747; + //BA.debugLineNum = 80543747;BA.debugLine="m.Initialize"; +_m.Initialize(); +RDebugUtils.currentLine=80543748; + //BA.debugLineNum = 80543748;BA.debugLine="If Element.Attributes.IsInitialized Then m.Put(\"A"; +if (_element.Attributes /*anywheresoftware.b4a.objects.collections.Map*/ .IsInitialized()) { +_m.Put((Object)("Attributes"),(Object)(_element.Attributes /*anywheresoftware.b4a.objects.collections.Map*/ .getObject()));}; +RDebugUtils.currentLine=80543749; + //BA.debugLineNum = 80543749;BA.debugLine="If Element.Children.Size = 0 Then m.Put(\"Text\", E"; +if (_element.Children /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) { +_m.Put((Object)("Text"),(Object)(_element.Text /*String*/ ));}; +RDebugUtils.currentLine=80543750; + //BA.debugLineNum = 80543750;BA.debugLine="For Each child As XmlElement In Element.Children"; +{ +final anywheresoftware.b4a.BA.IterableList group6 = _element.Children /*anywheresoftware.b4a.objects.collections.List*/ ; +final int groupLen6 = group6.getSize() +;int index6 = 0; +; +for (; index6 < groupLen6;index6++){ +_child = (SHARK2.keymon.com.mx.xml2map._xmlelement)(group6.Get(index6)); +RDebugUtils.currentLine=80543751; + //BA.debugLineNum = 80543751;BA.debugLine="Dim childObject As Object = ElementToObject(chil"; +_childobject = __ref._elementtoobject /*Object*/ (null,_child); +RDebugUtils.currentLine=80543752; + //BA.debugLineNum = 80543752;BA.debugLine="If m.ContainsKey(child.Name) Then"; +if (_m.ContainsKey((Object)(_child.Name /*String*/ ))) { +RDebugUtils.currentLine=80543753; + //BA.debugLineNum = 80543753;BA.debugLine="Dim currentItem As Object = m.Get(child.Name)"; +_currentitem = _m.Get((Object)(_child.Name /*String*/ )); +RDebugUtils.currentLine=80543754; + //BA.debugLineNum = 80543754;BA.debugLine="Dim list As List"; +_list = new anywheresoftware.b4a.objects.collections.List(); +RDebugUtils.currentLine=80543755; + //BA.debugLineNum = 80543755;BA.debugLine="If currentItem Is List Then"; +if (_currentitem instanceof java.util.List) { +RDebugUtils.currentLine=80543756; + //BA.debugLineNum = 80543756;BA.debugLine="list = currentItem"; +_list = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_currentitem)); + }else { +RDebugUtils.currentLine=80543758; + //BA.debugLineNum = 80543758;BA.debugLine="list.Initialize"; +_list.Initialize(); +RDebugUtils.currentLine=80543759; + //BA.debugLineNum = 80543759;BA.debugLine="list.Add(currentItem)"; +_list.Add(_currentitem); +RDebugUtils.currentLine=80543760; + //BA.debugLineNum = 80543760;BA.debugLine="m.Put(child.Name, list)"; +_m.Put((Object)(_child.Name /*String*/ ),(Object)(_list.getObject())); + }; +RDebugUtils.currentLine=80543762; + //BA.debugLineNum = 80543762;BA.debugLine="list.Add(childObject)"; +_list.Add(_childobject); + }else { +RDebugUtils.currentLine=80543764; + //BA.debugLineNum = 80543764;BA.debugLine="m.Put(child.Name, childObject)"; +_m.Put((Object)(_child.Name /*String*/ ),_childobject); + }; + } +}; +RDebugUtils.currentLine=80543767; + //BA.debugLineNum = 80543767;BA.debugLine="Return m"; +if (true) return (Object)(_m.getObject()); +RDebugUtils.currentLine=80543768; + //BA.debugLineNum = 80543768;BA.debugLine="End Sub"; +return null; +} +public SHARK2.keymon.com.mx.xml2map._xmlelement _getlastelement(SHARK2.keymon.com.mx.xml2map __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="xml2map"; +if (Debug.shouldDelegate(ba, "getlastelement", true)) + {return ((SHARK2.keymon.com.mx.xml2map._xmlelement) Debug.delegate(ba, "getlastelement", null));} +RDebugUtils.currentLine=80805888; + //BA.debugLineNum = 80805888;BA.debugLine="Private Sub GetLastElement As XmlElement"; +RDebugUtils.currentLine=80805889; + //BA.debugLineNum = 80805889;BA.debugLine="Return elements.Get(elements.Size - 1)"; +if (true) return (SHARK2.keymon.com.mx.xml2map._xmlelement)(__ref._elements /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (__ref._elements /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1))); +RDebugUtils.currentLine=80805890; + //BA.debugLineNum = 80805890;BA.debugLine="End Sub"; +return null; +} +public boolean _getstripnamespaces(SHARK2.keymon.com.mx.xml2map __ref) throws Exception{ +__ref = this; +RDebugUtils.currentModule="xml2map"; +if (Debug.shouldDelegate(ba, "getstripnamespaces", true)) + {return ((Boolean) Debug.delegate(ba, "getstripnamespaces", null));} +RDebugUtils.currentLine=80281600; + //BA.debugLineNum = 80281600;BA.debugLine="Public Sub getStripNamespaces As Boolean"; +RDebugUtils.currentLine=80281601; + //BA.debugLineNum = 80281601;BA.debugLine="Return mStripNamespaces"; +if (true) return __ref._mstripnamespaces /*boolean*/ ; +RDebugUtils.currentLine=80281602; + //BA.debugLineNum = 80281602;BA.debugLine="End Sub"; +return false; +} +public String _initialize(SHARK2.keymon.com.mx.xml2map __ref,anywheresoftware.b4a.BA _ba) throws Exception{ +__ref = this; +innerInitialize(_ba); +RDebugUtils.currentModule="xml2map"; +if (Debug.shouldDelegate(ba, "initialize", true)) + {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba}));} +RDebugUtils.currentLine=80216064; + //BA.debugLineNum = 80216064;BA.debugLine="Public Sub Initialize"; +RDebugUtils.currentLine=80216065; + //BA.debugLineNum = 80216065;BA.debugLine="parser.Initialize"; +__ref._parser /*anywheresoftware.b4a.objects.SaxParser*/ .Initialize(ba); +RDebugUtils.currentLine=80216066; + //BA.debugLineNum = 80216066;BA.debugLine="End Sub"; +return ""; +} +public anywheresoftware.b4a.objects.collections.Map _parse(SHARK2.keymon.com.mx.xml2map __ref,String _xml) throws Exception{ +__ref = this; +RDebugUtils.currentModule="xml2map"; +if (Debug.shouldDelegate(ba, "parse", true)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(ba, "parse", new Object[] {_xml}));} +anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; +byte[] _b = null; +RDebugUtils.currentLine=80412672; + //BA.debugLineNum = 80412672;BA.debugLine="Public Sub Parse(XML As String) As Map"; +RDebugUtils.currentLine=80412673; + //BA.debugLineNum = 80412673;BA.debugLine="Dim in As InputStream"; +_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); +RDebugUtils.currentLine=80412674; + //BA.debugLineNum = 80412674;BA.debugLine="Dim b() As Byte = XML.GetBytes(\"UTF8\")"; +_b = _xml.getBytes("UTF8"); +RDebugUtils.currentLine=80412675; + //BA.debugLineNum = 80412675;BA.debugLine="in.InitializeFromBytesArray(b, 0, b.Length)"; +_in.InitializeFromBytesArray(_b,(int) (0),_b.length); +RDebugUtils.currentLine=80412676; + //BA.debugLineNum = 80412676;BA.debugLine="Return Parse2(in)"; +if (true) return __ref._parse2 /*anywheresoftware.b4a.objects.collections.Map*/ (null,_in); +RDebugUtils.currentLine=80412677; + //BA.debugLineNum = 80412677;BA.debugLine="End Sub"; +return null; +} +public anywheresoftware.b4a.objects.collections.Map _parse2(SHARK2.keymon.com.mx.xml2map __ref,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _input) throws Exception{ +__ref = this; +RDebugUtils.currentModule="xml2map"; +if (Debug.shouldDelegate(ba, "parse2", true)) + {return ((anywheresoftware.b4a.objects.collections.Map) Debug.delegate(ba, "parse2", new Object[] {_input}));} +anywheresoftware.b4a.objects.collections.Map _m = null; +RDebugUtils.currentLine=80478208; + //BA.debugLineNum = 80478208;BA.debugLine="Public Sub Parse2(Input As InputStream) As Map"; +RDebugUtils.currentLine=80478209; + //BA.debugLineNum = 80478209;BA.debugLine="elements.Initialize"; +__ref._elements /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); +RDebugUtils.currentLine=80478210; + //BA.debugLineNum = 80478210;BA.debugLine="elements.Add(CreateElement(\"stub\"))"; +__ref._elements /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(__ref._createelement /*SHARK2.keymon.com.mx.xml2map._xmlelement*/ (null,"stub"))); +RDebugUtils.currentLine=80478211; + //BA.debugLineNum = 80478211;BA.debugLine="parser.Parse(Input, \"parser\")"; +__ref._parser /*anywheresoftware.b4a.objects.SaxParser*/ .Parse((java.io.InputStream)(_input.getObject()),"parser"); +RDebugUtils.currentLine=80478212; + //BA.debugLineNum = 80478212;BA.debugLine="Dim m As Map = ElementToObject(elements.Get(0))"; +_m = new anywheresoftware.b4a.objects.collections.Map(); +_m = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(__ref._elementtoobject /*Object*/ (null,(SHARK2.keymon.com.mx.xml2map._xmlelement)(__ref._elements /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (0)))))); +RDebugUtils.currentLine=80478213; + //BA.debugLineNum = 80478213;BA.debugLine="Return m"; +if (true) return _m; +RDebugUtils.currentLine=80478214; + //BA.debugLineNum = 80478214;BA.debugLine="End Sub"; +return null; +} +public String _parser_endelement(SHARK2.keymon.com.mx.xml2map __ref,String _uri,String _name,anywheresoftware.b4a.keywords.StringBuilderWrapper _text) throws Exception{ +__ref = this; +RDebugUtils.currentModule="xml2map"; +if (Debug.shouldDelegate(ba, "parser_endelement", true)) + {return ((String) Debug.delegate(ba, "parser_endelement", new Object[] {_uri,_name,_text}));} +SHARK2.keymon.com.mx.xml2map._xmlelement _element = null; +RDebugUtils.currentLine=80871424; + //BA.debugLineNum = 80871424;BA.debugLine="Private Sub Parser_EndElement (Uri As String, Name"; +RDebugUtils.currentLine=80871425; + //BA.debugLineNum = 80871425;BA.debugLine="Dim Element As XmlElement = GetLastElement"; +_element = __ref._getlastelement /*SHARK2.keymon.com.mx.xml2map._xmlelement*/ (null); +RDebugUtils.currentLine=80871426; + //BA.debugLineNum = 80871426;BA.debugLine="Element.Text = Text.ToString"; +_element.Text /*String*/ = _text.ToString(); +RDebugUtils.currentLine=80871427; + //BA.debugLineNum = 80871427;BA.debugLine="elements.RemoveAt(elements.Size - 1)"; +__ref._elements /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt((int) (__ref._elements /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1)); +RDebugUtils.currentLine=80871428; + //BA.debugLineNum = 80871428;BA.debugLine="End Sub"; +return ""; +} +public String _parser_startelement(SHARK2.keymon.com.mx.xml2map __ref,String _uri,String _name,anywheresoftware.b4a.objects.SaxParser.AttributesWrapper _attributes) throws Exception{ +__ref = this; +RDebugUtils.currentModule="xml2map"; +if (Debug.shouldDelegate(ba, "parser_startelement", true)) + {return ((String) Debug.delegate(ba, "parser_startelement", new Object[] {_uri,_name,_attributes}));} +SHARK2.keymon.com.mx.xml2map._xmlelement _element = null; +anywheresoftware.b4a.objects.collections.Map _att = null; +int _i = 0; +String _key = ""; +RDebugUtils.currentLine=80674816; + //BA.debugLineNum = 80674816;BA.debugLine="Private Sub Parser_StartElement (Uri As String, Na"; +RDebugUtils.currentLine=80674818; + //BA.debugLineNum = 80674818;BA.debugLine="Dim Element As XmlElement = CreateElement(Name)"; +_element = __ref._createelement /*SHARK2.keymon.com.mx.xml2map._xmlelement*/ (null,_name); +RDebugUtils.currentLine=80674819; + //BA.debugLineNum = 80674819;BA.debugLine="If Attributes.IsInitialized And Attributes.Size >"; +if (_attributes.IsInitialized() && _attributes.getSize()>0) { +RDebugUtils.currentLine=80674820; + //BA.debugLineNum = 80674820;BA.debugLine="Dim att As Map"; +_att = new anywheresoftware.b4a.objects.collections.Map(); +RDebugUtils.currentLine=80674832; + //BA.debugLineNum = 80674832;BA.debugLine="att.Initialize"; +_att.Initialize(); +RDebugUtils.currentLine=80674833; + //BA.debugLineNum = 80674833;BA.debugLine="For i = 0 To Attributes.Size - 1"; +{ +final int step5 = 1; +final int limit5 = (int) (_attributes.getSize()-1); +_i = (int) (0) ; +for (;_i <= limit5 ;_i = _i + step5 ) { +RDebugUtils.currentLine=80674834; + //BA.debugLineNum = 80674834;BA.debugLine="Dim key As String = Attributes.GetName(i)"; +_key = _attributes.GetName(_i); +RDebugUtils.currentLine=80674835; + //BA.debugLineNum = 80674835;BA.debugLine="If mStripNamespaces Then key = StripNamespace(k"; +if (__ref._mstripnamespaces /*boolean*/ ) { +_key = __ref._stripnamespace /*String*/ (null,_key);}; +RDebugUtils.currentLine=80674836; + //BA.debugLineNum = 80674836;BA.debugLine="att.Put(key, Attributes.GetValue(i))"; +_att.Put((Object)(_key),(Object)(_attributes.GetValue(_i))); + } +}; +RDebugUtils.currentLine=80674839; + //BA.debugLineNum = 80674839;BA.debugLine="Element.Attributes = att"; +_element.Attributes /*anywheresoftware.b4a.objects.collections.Map*/ = _att; + }; +RDebugUtils.currentLine=80674841; + //BA.debugLineNum = 80674841;BA.debugLine="GetLastElement.Children.Add(Element)"; +__ref._getlastelement /*SHARK2.keymon.com.mx.xml2map._xmlelement*/ (null).Children /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_element)); +RDebugUtils.currentLine=80674842; + //BA.debugLineNum = 80674842;BA.debugLine="elements.Add(Element)"; +__ref._elements /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_element)); +RDebugUtils.currentLine=80674843; + //BA.debugLineNum = 80674843;BA.debugLine="End Sub"; +return ""; +} +public String _stripnamespace(SHARK2.keymon.com.mx.xml2map __ref,String _s) throws Exception{ +__ref = this; +RDebugUtils.currentModule="xml2map"; +if (Debug.shouldDelegate(ba, "stripnamespace", true)) + {return ((String) Debug.delegate(ba, "stripnamespace", new Object[] {_s}));} +RDebugUtils.currentLine=80740352; + //BA.debugLineNum = 80740352;BA.debugLine="Private Sub StripNamespace(s As String) As String"; +RDebugUtils.currentLine=80740354; + //BA.debugLineNum = 80740354;BA.debugLine="Return s"; +if (true) return _s; +RDebugUtils.currentLine=80740363; + //BA.debugLineNum = 80740363;BA.debugLine="End Sub"; +return ""; +} +public String _setstripnamespaces(SHARK2.keymon.com.mx.xml2map __ref,boolean _b) throws Exception{ +__ref = this; +RDebugUtils.currentModule="xml2map"; +if (Debug.shouldDelegate(ba, "setstripnamespaces", true)) + {return ((String) Debug.delegate(ba, "setstripnamespaces", new Object[] {_b}));} +RDebugUtils.currentLine=80347136; + //BA.debugLineNum = 80347136;BA.debugLine="Public Sub setStripNamespaces (b As Boolean)"; +RDebugUtils.currentLine=80347137; + //BA.debugLineNum = 80347137;BA.debugLine="mStripNamespaces = b"; +__ref._mstripnamespaces /*boolean*/ = _b; +RDebugUtils.currentLine=80347138; + //BA.debugLineNum = 80347138;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Objects/src/SHARK2/keymon/com/mx/xuiviewsutils.java b/B4A/Objects/src/SHARK2/keymon/com/mx/xuiviewsutils.java new file mode 100644 index 0000000..df55c33 --- /dev/null +++ b/B4A/Objects/src/SHARK2/keymon/com/mx/xuiviewsutils.java @@ -0,0 +1,223 @@ +package SHARK2.keymon.com.mx; + + +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 SHARK2.keymon.com.mx.main _main = null; +public SHARK2.keymon.com.mx.appupdater _appupdater = null; +public SHARK2.keymon.com.mx.mapa_cliente _mapa_cliente = null; +public SHARK2.keymon.com.mx.mapa_rutas _mapa_rutas = null; +public SHARK2.keymon.com.mx.notificationservice _notificationservice = null; +public SHARK2.keymon.com.mx.pendientes _pendientes = null; +public SHARK2.keymon.com.mx.starter _starter = null; +public SHARK2.keymon.com.mx.subs _subs = null; +public SHARK2.keymon.com.mx.tracker _tracker = null; +public SHARK2.keymon.com.mx.newinst2 _newinst2 = null; +public SHARK2.keymon.com.mx.b4xpages _b4xpages = null; +public SHARK2.keymon.com.mx.b4xcollections _b4xcollections = null; +public SHARK2.keymon.com.mx.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=78381056; + //BA.debugLineNum = 78381056;BA.debugLine="Public Sub PerformHapticFeedback (View As B4XView)"; +RDebugUtils.currentLine=78381057; + //BA.debugLineNum = 78381057;BA.debugLine="Initialize"; +_initialize(_ba); +RDebugUtils.currentLine=78381059; + //BA.debugLineNum = 78381059;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=78381060; + //BA.debugLineNum = 78381060;BA.debugLine="jo.RunMethod(\"performHapticFeedback\", Array(1))"; +_jo.RunMethod("performHapticFeedback",new Object[]{(Object)(1)}); +RDebugUtils.currentLine=78381066; + //BA.debugLineNum = 78381066;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=78512128; + //BA.debugLineNum = 78512128;BA.debugLine="Public Sub SetTextOrCSBuilderToLabel(xlbl As B4XVi"; +RDebugUtils.currentLine=78512130; + //BA.debugLineNum = 78512130;BA.debugLine="xlbl.Text = Text"; +_xlbl.setText(BA.ObjectToCharSequence(_text)); +RDebugUtils.currentLine=78512140; + //BA.debugLineNum = 78512140;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=78446592; + //BA.debugLineNum = 78446592;BA.debugLine="Public Sub AddStubToCLVIfNeeded(CustomListView1 As"; +RDebugUtils.currentLine=78446593; + //BA.debugLineNum = 78446593;BA.debugLine="If CustomListView1.Size = 0 Then Return"; +if (_customlistview1._getsize()==0) { +if (true) return "";}; +RDebugUtils.currentLine=78446594; + //BA.debugLineNum = 78446594;BA.debugLine="Dim LastItem As CLVItem = CustomListView1.GetRawL"; +_lastitem = _customlistview1._getrawlistitem((int) (_customlistview1._getsize()-1)); +RDebugUtils.currentLine=78446595; + //BA.debugLineNum = 78446595;BA.debugLine="If LastItem.Offset + LastItem.Panel.Height < Cust"; +if (_lastitem.Offset+_lastitem.Panel.getHeight()<_customlistview1._asview().getHeight()) { +RDebugUtils.currentLine=78446597; + //BA.debugLineNum = 78446597;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=78446598; + //BA.debugLineNum = 78446598;BA.debugLine="p.Color = Color"; +_p.setColor(_color); +RDebugUtils.currentLine=78446599; + //BA.debugLineNum = 78446599;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=78446600; + //BA.debugLineNum = 78446600;BA.debugLine="If xui.IsB4J Then Height = Height + 5"; +if (_xui.getIsB4J()) { +_height = (int) (_height+5);}; +RDebugUtils.currentLine=78446601; + //BA.debugLineNum = 78446601;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, CustomListView1.AsV"; +_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_customlistview1._asview().getWidth(),_height); +RDebugUtils.currentLine=78446602; + //BA.debugLineNum = 78446602;BA.debugLine="CustomListView1.Add(p, \"\")"; +_customlistview1._add(_p,(Object)("")); +RDebugUtils.currentLine=78446603; + //BA.debugLineNum = 78446603;BA.debugLine="CustomListView1.sv.ScrollViewContentHeight = Cus"; +_customlistview1._sv.setScrollViewContentHeight((int) (_customlistview1._sv.getScrollViewContentHeight()-_customlistview1._getdividersize())); + }; +RDebugUtils.currentLine=78446605; + //BA.debugLineNum = 78446605;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=78577664; + //BA.debugLineNum = 78577664;BA.debugLine="Public Sub SetBitmapAndFill (ImageView As B4XView,"; +RDebugUtils.currentLine=78577665; + //BA.debugLineNum = 78577665;BA.debugLine="ImageView.SetBitmap(Bmp)"; +_imageview.SetBitmap((android.graphics.Bitmap)(_bmp.getObject())); +RDebugUtils.currentLine=78577666; + //BA.debugLineNum = 78577666;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=78577668; + //BA.debugLineNum = 78577668;BA.debugLine="iiv.Gravity = Gravity.FILL"; +_iiv.setGravity(anywheresoftware.b4a.keywords.Common.Gravity.FILL); +RDebugUtils.currentLine=78577674; + //BA.debugLineNum = 78577674;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=78774272; + //BA.debugLineNum = 78774272;BA.debugLine="Public Sub SetAlpha (View As B4XView, Level As Flo"; +RDebugUtils.currentLine=78774274; + //BA.debugLineNum = 78774274;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=78774275; + //BA.debugLineNum = 78774275;BA.debugLine="Dim alpha As Float = Level"; +_alpha = _level; +RDebugUtils.currentLine=78774276; + //BA.debugLineNum = 78774276;BA.debugLine="jo.RunMethod(\"setAlpha\", Array(alpha))"; +_jo.RunMethod("setAlpha",new Object[]{(Object)(_alpha)}); +RDebugUtils.currentLine=78774284; + //BA.debugLineNum = 78774284;BA.debugLine="End Sub"; +return ""; +} +public static SHARK2.keymon.com.mx.b4ximageview _createb4ximageview(anywheresoftware.b4a.BA _ba) throws Exception{ +RDebugUtils.currentModule="xuiviewsutils"; +if (Debug.shouldDelegate(null, "createb4ximageview", true)) + {return ((SHARK2.keymon.com.mx.b4ximageview) Debug.delegate(null, "createb4ximageview", new Object[] {_ba}));} +SHARK2.keymon.com.mx.b4ximageview _iv = null; +anywheresoftware.b4a.objects.B4XViewWrapper _base = null; +RDebugUtils.currentLine=78708736; + //BA.debugLineNum = 78708736;BA.debugLine="Public Sub CreateB4XImageView As B4XImageView"; +RDebugUtils.currentLine=78708737; + //BA.debugLineNum = 78708737;BA.debugLine="Dim iv As B4XImageView"; +_iv = new SHARK2.keymon.com.mx.b4ximageview(); +RDebugUtils.currentLine=78708738; + //BA.debugLineNum = 78708738;BA.debugLine="iv.Initialize(Null, \"\")"; +_iv._initialize /*String*/ (null,_ba,anywheresoftware.b4a.keywords.Common.Null,""); +RDebugUtils.currentLine=78708739; + //BA.debugLineNum = 78708739;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=78708740; + //BA.debugLineNum = 78708740;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=78708741; + //BA.debugLineNum = 78708741;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=78708742; + //BA.debugLineNum = 78708742;BA.debugLine="Return iv"; +if (true) return _iv; +RDebugUtils.currentLine=78708743; + //BA.debugLineNum = 78708743;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=78643200; + //BA.debugLineNum = 78643200;BA.debugLine="Public Sub CreateLabel As B4XView"; +RDebugUtils.currentLine=78643201; + //BA.debugLineNum = 78643201;BA.debugLine="Dim lbl As Label"; +_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); +RDebugUtils.currentLine=78643202; + //BA.debugLineNum = 78643202;BA.debugLine="lbl.Initialize(\"\")"; +_lbl.Initialize(_ba,""); +RDebugUtils.currentLine=78643203; + //BA.debugLineNum = 78643203;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=78643204; + //BA.debugLineNum = 78643204;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=78315520; + //BA.debugLineNum = 78315520;BA.debugLine="Private Sub Initialize"; +RDebugUtils.currentLine=78315521; + //BA.debugLineNum = 78315521;BA.debugLine="If UtilsInitialized Then Return"; +if (_utilsinitialized) { +if (true) return "";}; +RDebugUtils.currentLine=78315522; + //BA.debugLineNum = 78315522;BA.debugLine="UtilsInitialized = True"; +_utilsinitialized = anywheresoftware.b4a.keywords.Common.True; +RDebugUtils.currentLine=78315529; + //BA.debugLineNum = 78315529;BA.debugLine="End Sub"; +return ""; +} +} \ No newline at end of file diff --git a/B4A/Pendientes.bas b/B4A/Pendientes.bas new file mode 100644 index 0000000..0e4890d --- /dev/null +++ b/B4A/Pendientes.bas @@ -0,0 +1,16 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=StaticCode +Version=12.2 +@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. + +End Sub + +'8/9/23 - Cuando se guarda un pedido en "Cliente", el jobDone de "ins_pedidosPendientes_head_" y "ins_pedidosPendientes_prods_" +'NO HACE NADA, es necesario que en el JobDone se cambie la columna "PC_ENVIO_OK" a "1" en "PEDIDO_CLIENTE". \ No newline at end of file diff --git a/B4A/SHARK.b4a.meta b/B4A/SHARK.b4a.meta new file mode 100644 index 0000000..e62d77c --- /dev/null +++ b/B4A/SHARK.b4a.meta @@ -0,0 +1,99 @@ +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= +ModuleBookmarks31= +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= +ModuleBreakpoints31= +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= +ModuleClosedNodes31= +ModuleClosedNodes4= +ModuleClosedNodes5= +ModuleClosedNodes6= +ModuleClosedNodes7= +ModuleClosedNodes8= +ModuleClosedNodes9= +NavigationStack=C_Cliente,mandapiezas,2265,0,C_Productos,B4XPage_Appear,224,5,C_Productos,clv_prods_ll_VisibleRangeChanged,1429,0,C_Productos,b_prodMenos_Click,596,0,C_Productos,b_prodMas_Click,780,0,C_Productos,et_pCant_TextChanged,955,0,C_Productos,b_prodMenosc_Click,1661,0,C_Productos,b_prodMasc_Click,1828,0,C_Productos,et_pCantc_TextChanged,1955,0,Subs,traeTipoCliente,52,0,C_Productos,LlenaProdsLL,1525,6,C_Productos,Busca_TextChanged,1479,1 +SelectedBuild=0 +VisibleModules=1,2,3,4,5,6,7,8,9,10,14 diff --git a/B4A/SHARK2.b4a b/B4A/SHARK2.b4a new file mode 100644 index 0000000..4557c40 --- /dev/null +++ b/B4A/SHARK2.b4a @@ -0,0 +1,270 @@ +Build1=Default,SHARK2.keymon.com.mx +File1=abordo.png +File10=cliente.bal +File11=clientes.bal +File12=Cobranza.bal +File13=datoscliente.bal +File14=engrane.jpg +File15=engrane_gris.png +File16=folioabono.bal +File17=fondo_kmt.jpg +File18=gps20.png +File19=Hacer pedido.jpg +File2=alert2.png +File20=hacerpedido30.jpg +File21=hacerpedido30.png +File22=itembuttonblue.png +File23=kmt.db +File24=login.bal +File25=logo_izca.jpg +File26=logo_keymon.png +File27=logosamiizca.jpg +File28=logosamiizca2.jpg +File29=MainPage.bal +File3=alerta_amarilla.png +File30=Malo.jpg +File31=mapa_cliente.bal +File32=mapa_rutas.bal +File33=marker-amarillo.png +File34=nota.bal +File35=noventa.bal +File36=nuevocliente.bal +File37=nuevocliente.jpg +File38=nuevo-cliente20.png +File39=Nvo Cliente.jpg +File4=amigos.jpg +File40=palomita_verde.png +File41=PANEL_PICK_CIEGO.bal +File42=pedido.bal +File43=principal.bal +File44=proditem.bal +File45=proditem1.bal +File46=proditem2.bal +File47=productos.bal +File48=promociones.bal +File49=resdia.bal +File5=anterior.jpg +File50=ResDia.jpg +File51=resdia20.png +File52=resumendia.jpg +File53=scrollpromos.bal +File54=senial.jpg +File55=shark.png +File56=sync.png +File57=tabulador.bal +File58=tache_rojo.png +File59=Ticket dia.jpg +File6=bus-ar.png +File60=ticketdia20.jpg +File61=ticketdia20.png +File62=ticketsdia.bal +File63=Tiendita.jpg +File64=verde.png +File7=C_CuentasXCobrar.bal +File8=carrito.png +File9=celltitle.bal +FileGroup1=Default Group +FileGroup10=Default Group +FileGroup11=Default Group +FileGroup12=Default Group +FileGroup13=Default Group +FileGroup14=Default Group +FileGroup15=Default Group +FileGroup16=Default Group +FileGroup17=Default Group +FileGroup18=Default Group +FileGroup19=Default Group +FileGroup2=Default Group +FileGroup20=Default Group +FileGroup21=Default Group +FileGroup22=Default Group +FileGroup23=Default Group +FileGroup24=Default Group +FileGroup25=Default Group +FileGroup26=Default Group +FileGroup27=Default Group +FileGroup28=Default Group +FileGroup29=Default Group +FileGroup3=Default Group +FileGroup30=Default Group +FileGroup31=Default Group +FileGroup32=Default Group +FileGroup33=Default Group +FileGroup34=Default Group +FileGroup35=Default Group +FileGroup36=Default Group +FileGroup37=Default Group +FileGroup38=Default Group +FileGroup39=Default Group +FileGroup4=Default Group +FileGroup40=Default Group +FileGroup41=Default Group +FileGroup42=Default Group +FileGroup43=Default Group +FileGroup44=Default Group +FileGroup45=Default Group +FileGroup46=Default Group +FileGroup47=Default Group +FileGroup48=Default Group +FileGroup49=Default Group +FileGroup5=Default Group +FileGroup50=Default Group +FileGroup51=Default Group +FileGroup52=Default Group +FileGroup53=Default Group +FileGroup54=Default Group +FileGroup55=Default Group +FileGroup56=Default Group +FileGroup57=Default Group +FileGroup58=Default Group +FileGroup59=Default Group +FileGroup6=Default Group +FileGroup60=Default Group +FileGroup61=Default Group +FileGroup62=Default Group +FileGroup63=Default Group +FileGroup64=Default Group +FileGroup7=Default Group +FileGroup8=Default Group +FileGroup9=Default Group +Group=Default Group +Library1=appupdating +Library10=fileprovider +Library11=firebaseanalytics +Library12=firebasenotifications +Library13=fusedlocationprovider +Library14=googlemaps +Library15=googlemapsextras +Library16=gps +Library17=ime +Library18=javaobject +Library19=json +Library2=b4xpages +Library20=okhttputils2 +Library21=phone +Library22=preoptimizedclv +Library23=randomaccessfile +Library24=replyauto +Library25=rspopupmenu +Library26=runtimepermissions +Library27=serial +Library28=sql +Library29=stringutils +Library3=baqrcode +Library30=togglelibrary +Library31=xcustomlistview +Library32=xml2map +Library33=xui +Library4=batteryprogressview +Library5=byteconverter +Library6=camera +Library7=compressstrings +Library8=contentresolver +Library9=core +ManifestCode='This code will be applied to the manifest file during compilation.~\n~'You do not need to modify it in most cases.~\n~'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136~\n~AddManifestText(~\n~~\n~)~\n~SetApplicationAttribute(android:icon, "@drawable/icon")~\n~SetApplicationAttribute(android:label, "$LABEL$")~\n~CreateResourceFromFile(Macro, Themes.LightTheme)~\n~AddApplicationText(~\n~)~\n~CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)~\n~ 'End of default text.~\n~''''' 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~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()~\n~~\n~ +Module1=appUpdater +Module10=C_NoVenta +Module11=C_NuevoCliente +Module12=C_Pedidos +Module13=C_Principal +Module14=C_Productos +Module15=C_Promos +Module16=C_RespaldoDiario +Module17=C_Subs +Module18=C_tabulador +Module19=C_TicketsDia +Module2=B4XMainPage +Module20=C_UpdateAvailable +Module21=DBRequestManager +Module22=EscPosPrinter +Module23=FileHandler +Module24=ManageExternalStorage +Module25=MAPA_CLIENTE +Module26=MAPA_RUTAS +Module27=NotificationService +Module28=Pendientes +Module29=Starter +Module3=BatteryUtilities +Module30=Subs +Module31=Tracker +Module4=C_Cliente +Module5=C_Clientes +Module6=C_Cuestionario +Module7=C_Historico +Module8=C_Mapas +Module9=C_Nota +NumberOfFiles=64 +NumberOfLibraries=33 +NumberOfModules=31 +Version=12.8 +@EndOfDesignText@ +#Region Project Attributes + #ApplicationLabel: SHARK2 + #VersionCode: 1 + #VersionName: 6.01.01 + 'SupportedOrientations possible values: unspecified, landscape or portrait. + #SupportedOrientations: portrait + #CanInstallToExternalStorage: False + #BridgeLogger: True + #AdditionalJar: com.android.support:support-v4 + #AdditionalJar: com.google.android.gms:play-services-location + #MultiDex: True +#End Region + +#Region Activity Attributes + #FullScreen: False + #IncludeTitle: False +#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/SHARK2.b4a.meta b/B4A/SHARK2.b4a.meta new file mode 100644 index 0000000..35c104b --- /dev/null +++ b/B4A/SHARK2.b4a.meta @@ -0,0 +1,99 @@ +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= +ModuleBookmarks31= +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= +ModuleBreakpoints31= +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= +ModuleClosedNodes31= +ModuleClosedNodes4= +ModuleClosedNodes5= +ModuleClosedNodes6= +ModuleClosedNodes7= +ModuleClosedNodes8= +ModuleClosedNodes9= +NavigationStack=C_Productos,lv_catalogos_ItemClick,298,0,Diseñador Visual,principal.bal,-100,6,C_Cliente,B4XPage_Appear,439,3,C_Productos,lv_prodsPedido_ItemLongClick,1663,0,C_Principal,b_productos_Click,3441,2,C_Principal,cargar_Click,1412,0,C_Productos,B4XPage_Appear,200,0,C_Productos,lv_catalogos2_ItemClick,351,0,C_Principal,JobDone,1929,0,B4XMainPage,Entrar_Click,529,0,B4XMainPage,B4XPage_Created,245,2 +SelectedBuild=0 +VisibleModules=1,2,3,4,5,6,7,8,9,10,13,14 diff --git a/B4A/Starter.bas b/B4A/Starter.bas new file mode 100644 index 0000000..549b9ad --- /dev/null +++ b/B4A/Starter.bas @@ -0,0 +1,141 @@ +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 gps As GPS + Dim skmt As SQL + Dim s As C_Subs + Dim ph As Phone + Public rp As RuntimePermissions + Public FLP As FusedLocationProvider +' Private flpStarted As Boolean + Dim reqManager As DBRequestManager + Dim DBReqServer As String = "http://keymon.net:1781" +' Dim DBReqServer As String = "http://11.0.0.107:1781" +' Dim DBReqServer As String = "http://10.0.0.205:1783" +' Dim DBReqServer As String = "http://192.168.100.10:1781" + Dim Timer1 As Timer + Dim Interval As Int = 10 + Dim ruta As String = File.DirInternal + 'Para los Logs + Private logs As StringBuilder + Private logcat As LogCat + Dim muestraProgreso = 0 + Dim logger As Boolean = False + Dim MAC_IMPRESORA As String + Dim marcaCel As String = ph.manufacturer + Dim tabla As String + Dim pre_viejo As Float + Private BTAdmin As BluetoothAdmin + Public BluetoothState As Boolean +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. + gps.Initialize("GPS") + s.Initialize(Me, "Subs") 'Inicializamos la clase Subs + skmt = s.inicializaBD(File.DirInternal, "kmt.db") + BTAdmin.Initialize("admin") +' CallSubDelayed(FirebaseMessaging, "SubscribeToTopics") 'Para Push FirebaseMessaging + Timer1.Initialize("Timer1", Interval * 1000) + Timer1.Enabled = True +' 'Para los Logs + #if RELEASE + logcat.LogCatStart(Array As String("-v","raw","*:F","B4A:v"), "logcat") + #end if + logs.Initialize +' CallSubDelayed(FirebaseMessaging, "SubscribeToTopics") 'Para Push FirebaseMessaging +End Sub + +Private Sub BTAdmin_StateChanged (NewState As Int, OldState As Int) + If logger Then Log("BT state changed: " & NewState) + BluetoothState = NewState = BTAdmin.STATE_ON +' StateChanged +End Sub + +Sub Service_Start (StartingIntent As Intent) + Service.StopAutomaticForeground 'Starter service can start in the foreground state in some edge cases. + Subs.revisaBD +' Log(marcaCel) + If s.traeDBReqServerDeBD(skmt) <> "N/A" And s.traeDBReqServerDeBD(skmt) <> "" Then DBReqServer = s.traeDBReqServerDeBD(skmt) + reqManager.Initialize(Me, DBReqServer) + Log($"Starter - |${DBReqServer}|"$) +End Sub + +Private Sub Timer1_Tick +' Log("Next run " & DateTime.Time(DateTime.Now + Interval * 1000)) + ENVIA_ULTIMA_GPS +End Sub + +Sub GPS_LocationChanged (Location1 As Location) +' CallSub2(Main, "GPS_LocationChanged", Location1) +End Sub + +Sub Service_TaskRemoved + 'This event will be raised when the user removes the app from the recent apps list. +End Sub + +Sub Service_Destroy + +End Sub + +Sub ENVIA_ULTIMA_GPS + Dim logger As Boolean = False + If logger Then LogColor("Iniciamos ENVIA_ULTIMA_GPS", Colors.Magenta) + Dim cmd As DBCommand +' cmd.Initialize +' cmd.Name = "select_fechat" +' B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0, "fechat") + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "UPDATE_SHARK2_ACTUAL2_GPS" + If B4XPages.MainPage.lat_gps.Length < 15 Then B4XPages.MainPage.lat_gps = B4XPages.MainPage.lat_gps&"0" + 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,0, 0, 0,B4XPages.MainPage.ALMACEN,B4XPages.MainPage.rutapreventa) + If 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}, 0, 0, 0, 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 "seleccion" + Timer1.Enabled = False + Timer1.Interval = Interval * 1000 + Timer1.Enabled = True +End Sub + +'Para los Logs +Private Sub logcat_LogCatData (Buffer() As Byte, Length As Int) + logs.Append(BytesToString(Buffer, 0, Length, "utf8")) + If logs.Length > 4000 Then + logs.Remove(0, logs.Length - 2000) 'Obtenemos log de 2000 ~ 4000 chars + End If +End Sub + +'Return true to allow the OS default exceptions handler to handle the uncaught exception. 'Para los Logs +Sub Application_Error (Error As Exception, StackTrace As String) As Boolean + 'wait for 500ms to allow the logs to be updated. + Dim jo As JavaObject + Dim l As Long = 500: jo.InitializeStatic("java.lang.Thread").RunMethod("sleep", Array(l)) 'Sleep 500ms + logcat.LogCatStop + logs.Append(StackTrace) + Subs.revisaBD + Subs.errorLog.ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)", Array As Object (Subs.fechaKMT(DateTime.now), logs)) + Return True +End Sub + +'Inicializa el reqServer con la dirección dada y lo guarda en CAT_VARIABLES. +Sub reinicializaReqManager(srv As String) + skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?", Array As Object ("SERVER")) + skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)", Array As Object ("SERVER", srv)) + DBReqServer = srv + reqManager.Initialize(Me, srv) + LogColor(srv, Colors.red) +End Sub \ No newline at end of file diff --git a/B4A/Subs.bas b/B4A/Subs.bas new file mode 100644 index 0000000..4517309 --- /dev/null +++ b/B4A/Subs.bas @@ -0,0 +1,1879 @@ +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 'Usa la libreria CompressStrings + Private su As StringUtils 'Usa la libreria 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 = "" + Private subsLogs As Boolean = False +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 + +'Regresa el tipo de cliente: +' - 0 = detalle +' - 1 = especial +' - 2 = mayoreo +Sub traeTipoCliente As String + Private x As Cursor + Private tc As String = "DETALLE" + x = Starter.skmt.ExecQuery($"select IFNULL(CAT_CL_TIPOCLIENTE,"DETALLE") AS CAT_CL_TIPOCLIENTE from kmt_info where cat_cl_codigo in (select cuenta from cuentaa)"$) + If x.RowCount > 0 Then + x.Position = 0 + If x.GetString("CAT_CL_TIPOCLIENTE") = "null" Or x.GetString("CAT_CL_TIPOCLIENTE") = Null Then + tc = "DETALLE" + Else + tc = x.GetString("CAT_CL_TIPOCLIENTE") + End If +' Log("ESTO LO HIZO GUERRA ------> "&x.GetInt("CAT_CL_TIPOCLIENTE")) + End If +' Log("ESTO LO HIZO GUERRA X2------> "&tc) + Return tc +End Sub + +Sub traeTipoCliente2 As String + Private x As Cursor + Private tc As String = "DETALLE" + x = Starter.skmt.ExecQuery($"select IFNULL(CAT_CL_TIPOCLIENTE,"DETALLE") AS CAT_CL_TIPOCLIENTE from kmt_info where cat_cl_codigo in (select cuenta from cuentaa)"$) + If x.RowCount > 0 Then + x.Position = 0 + Log("aQUI") + Log(x.GetString("CAT_CL_TIPOCLIENTE")) + If x.GetString("CAT_CL_TIPOCLIENTE") = "null" Or x.GetString("CAT_CL_TIPOCLIENTE") = Null Or x.GetString("CAT_CL_TIPOCLIENTE") = 0 Or x.GetString("CAT_CL_TIPOCLIENTE") = "0" Then + tc = "DETALLE" + Log("Aqui") + Else + tc = x.GetString("CAT_CL_TIPOCLIENTE") + Log("Aqui2") + End If +' Log("ESTO LO HIZO GUERRA ------> "&x.GetInt("CAT_CL_TIPOCLIENTE")) +' tc = x.GetString("CAT_CL_TIPOCLIENTE") + End If +' Log("ESTO LO HIZO GUERRA X2------> "&tc) + Log(tc) + Return tc +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 + +'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 + +'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 + 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 subsLogs Then Log("LatLon="&latlon) + kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)", Array As Object (latlon(2),latlon(0),latlon(1))) + Catch + LogColor(LastException, Colors.red) + 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 subsLogs 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 subsLogs 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;") + ToastMessageShow("Borramos BD Coords GPS", False) +End Sub + +'Limpiamos la tabla errorLog de la BD +Sub deleteErrorLog_DB 'ignore + errorLog.ExecNonQuery("delete from errores") + errorLog.ExecNonQuery("vacuum;") + ToastMessageShow("BD Errores 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 algunans tablas dentro de ella +Sub revisaBD 'ignore +' Main.ruta = File.DirInternal +' Log(Starter.ruta) +' Log(File.Exists(Starter.ruta, "kmt.db")) + If Not(File.Exists(Starter.ruta, "kmt.db")) Then + File.Copy(File.DirAssets, "kmt.db", Starter.ruta, "kmt.db") + LogColor("copiamos kmt.db de "&File.DirAssets & " a " & Starter.ruta,Colors.Green) + End If + 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("CREATE TABLE IF NOT EXISTS HIST_AVANCE(HA_MARCA TEXT, HA_AVANCE TEXT, HA_OBJETIVO TEXT, HA_PORCENTAJE TEXT)") 'Historico avance mes actual + kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOSP(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT)") + kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CLIENTE_NUEVO(CN_ID_CLIENTE TEXT, CN_NOMBRE TEXT, CN_enviado text)") + kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_SUPLENCIA(RS_RUTA TEXT)") + Try 'Si no existe la columna PC_ENVIO_OK la agregamos. + kmt.ExecQuery("select count(PC_ENVIO_OK) from PEDIDO_CLIENTE") + Catch + Try + kmt.ExecNonQuery("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_ENVIO_OK INTEGER") + Catch + LogColor("No pudimos agregar la columna PC_ENVIO_OK.", Colors.Red) + LogColor(LastException, Colors.Red) + End Try + End Try + + Try 'Si no existe la columna CAT_CL_DIAS_VISITA la agregamos. + kmt.ExecQuery("select count(CAT_CL_DIAS_VISITA) from kmt_info2") + Catch + Try + kmt.ExecNonQuery("ALTER TABLE kmt_info2 ADD COLUMN CAT_CL_DIAS_VISITA TEXT") + Catch + LogColor("No pudimos agregar la columna CAT_CL_DIAS_VISITA.", Colors.Red) + LogColor(LastException, Colors.Red) + End Try + End Try + + Try 'Si no existe la columna PC_ENVIO_OK la agregamos. + kmt.ExecQuery("select count(PC_TIEMPO_TIENDA) from PEDIDO_CLIENTE") + Catch + Try + kmt.ExecNonQuery("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_TIEMPO_TIENDA FLOAT") + Catch + LogColor("No pudimos agregar la columna PC_TIEMPO_TIENDA.", Colors.Red) + LogColor(LastException, Colors.Red) + End Try + End Try + Try 'Si no existe la columna PC_FACTURA la agregamos. + kmt.ExecQuery("select count(PC_FACTURA) from PEDIDO_CLIENTE") + Catch + Try + kmt.ExecNonQuery("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_FACTURA INTEGER") + Catch + LogColor("No pudimos agregar la columna PC_FACTURA.", Colors.Red) + LogColor(LastException, Colors.Red) + End Try + End Try + kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)") 'Bitacora +' kmt.ExecNonQuery("drop table PEDIDO_INICIO_FINAL") 'Bitacora + kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PEDIDO_INICIO_FINAL(PIF_CLIENTE TEXT, PIF_HORA_INICIO LONG, PIF_HORA_FINAL LONG)") 'Bitacora + + '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)") +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 + +'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, "mt":Main.montoActual) +' 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.LightGray) + 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 +' CallSubDelayed(Tracker, "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 + Try +' 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 Starter.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 Starter.Logger Then Log("++++ Distancia a anterior="&daa&"|"&"Precision="&Tracker.FLP.GetLastKnownLocation.Accuracy) + End If + Tracker.UUGCoords = Tracker.FLP.GetLastKnownLocation + End If + Catch + LogColor("If Tracker.FLP.GetLastKnownLocation.IsInitialized --> "&LastException, Colors.Red) + End Try +End Sub + +'Revisamos que el FLP (FusedLocationProvider) este inicializado y activo +Sub revisaFLP 'ignore + LogColor("**** **** Revisamos FLP **** ****", Colors.RGB(78,0,227)) + Private todoBienFLP As Boolean = True + Try + If Not(Tracker.FLP.IsInitialized) Then + log2DB("revisaFLP: No esta inicializado ... 'Reinicializando FLP'") + Tracker.FLP.Initialize("flp") + todoBienFLP = False + End If + Catch + LogColor("If Not(Tracker.FLP.IsInitialized) --- "&LastException, Colors.Red) + End Try + Try + If Tracker.FLP.IsInitialized Then + Try + If Not(Tracker.FLP.IsConnected) Then + log2DB("revisaFLP: No esta conectado ... 'Reconectando FLP'") + ' Tracker.FLP.Connect + CallSubDelayed(Tracker,"StartFLP") + todoBienFLP = False + End If + Catch + LogColor("If Not(Tracker.FLP.IsConnected) --> "&LastException, Colors.Red) + End Try + Try + 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 + Catch + LogColor("If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "&LastException, Colors.Red) + End Try + End If + If todoBienFLP Then LogColor(" +++ +++ Sin errores en FLP", Colors.Green) + Catch + LogColor("If Tracker.FLP.IsInitialized --> "&LastException, Colors.Red) + End Try + ' 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)) +' If Not(PushService.wsh.IsInitialized) Then 'Si no esta inicializado ... +' log2DB("revisaPushService: No esta inicializado ... 'Reinicializando PushService'") +' CallSubDelayed(PushService, "Connect") +' todoBienPS = False +' End If +' 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 +' If masDeXXMinsKMT(Starter.pushServiceActividad, 5) Then 'Si mas de xx minutos de la ultima actividad entonces ... +' PushService.wsh.Close +' CallSubDelayed(PushService, "Connect") +'' StartService(PushService) +' log2DB("revisaPushService: 'Reconectamos 'PushService' por inactividad") +' Starter.pushServiceActividad = fechaKMT(DateTime.Now) +' todoBienPS = False +' End If +' If todoBienPS Then LogColor(" +++ +++ Sin errores en PushService", Colors.Green) +'End Sub + +'Borramos renglones extra de la tabla de errores +Sub borraArribaDe100Errores 'ignore + revisaBD + LogColor("Borramos BD de log", 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("Borramos BD de log", Colors.Magenta) + 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 Sub + +'Inserta 50 renglones de prueba a la tabla "errores" +Sub insertaRenglonesPruebaEnErrorLog 'ignore + 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) + 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 + ToastMessageShow("copiaDB", False) + 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,"cedex_kmt.db") + File.Copy(File.DirInternal,"errorLog.db",File.DirInternal&theDir,"cedex_errorLog.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 y trae al frente 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 + +'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 panel horizontalmente 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 un panel verticalmente dentro de un elemento superior +Sub centraPanelV(elemento As Panel, altoElementoSuperior As Int) 'ignore + elemento.Top = Round(altoElementoSuperior/2)-(elemento.Height/2) +End Sub + +'Centra una barra de progreso dentro de un elemento superior +Sub centraProgressBar(elemento As ProgressBar, anchoElementoSuperior As Int) 'ignore + elemento.Left = Round(anchoElementoSuperior/2)-(elemento.Width/2) +End Sub + +'Regresa el usuario de la tabla USUARIOA si es que existe, si no existe, regresa "SinUsuario". +Sub buscaDBUsuario As String 'ignore + Private c As Cursor + Private usuario As String = "SinUsuario" + c=kmt.ExecQuery("select USUARIO from usuarioa") + c.Position=0 + If c.RowCount > 0 Then usuario = c.GetString("USUARIO") + Return usuario +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 + +''Inserta un producto en la tabla "PEDIDO" +'Sub guardaProductoX(cedis As String, costoTot As String, costoU As String, cant As String, nombre As String, prodId As String, clienteId As String, fecha As String, usuario As String, tipoV As String, precio2 As String, query As String) 'ignore +'' LogColor("guardaProducto", Colors.Magenta) +'' Log($"Guardamos producto ${prodId}"$) +'' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_TIPO, PE_PRECIO2, PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ", Array As Object (cedis, costoTot, costoU, cant, nombre, prodId, clienteId, fecha, usuario, tipoV, precio2, Starter.rutaV)) +'' B4XPages.MainPage.skmt.ExecNonQuery2("update " & query & " set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ", Array As Object(cant, prodId)) +'' ToastMessageShow("guardaProd", False) +'End Sub + +'Sub guardaProductoSin(cedis As String, costoTot As String, costoU As String, cant As String, nombre As String, prodId As String, clienteId As String, fecha As String, usuario As String, rutaV As String, precioSin As String, tipoV As String, precio2 As String, query As String) 'ignore +'' LogColor("guardaProductoSin", Colors.Magenta) +'' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_RUTA, PE_COSTO_SIN, PE_TIPO, PE_PRECIO2) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?) ", Array As Object (cedis, costoTot,costoU, cant, nombre, prodId, clienteId, fecha, usuario, rutaV, precioSin, tipoV, precio2)) +'' B4XPages.MainPage.skmt.ExecNonQuery2("update " & query & " set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ", Array As Object(cant, prodId)) +'' DateTime.DateFormat = "MM/dd/yyyy" +'' Private sDate As String =DateTime.Date(DateTime.Now) +'' Private sTime As String =DateTime.Time(DateTime.Now) +'' Private c As Cursor = B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") +'' c.Position=0 +'' B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") +'' B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)", Array As Object(clienteId, sDate & sTime, usuario, c.GetString("CANT_CLIE"),c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps, cedis, rutaV, c.GetString("TOTAL_CLIE_SIN"))) +'' B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +'' c.Close +' ToastMessageShow("guardaProdSin", False) +'End Sub + +'Regresa el almacen actual de la base de datos. +Sub traeAlmacen As String 'ignore + Private c2 As Cursor + Private b As String + c2=B4XPages.MainPage.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN") + Log(c2.RowCount) + c2.Position = 0 + b = c2.GetString("ID_ALMACEN") + Log("Esto es almacen !!!!!!! " &c2.GetString("ID_ALMACEN") & " Esto es almacen !!!!!!!") + Return b +End Sub + +'Regresa el nombre del producto desde CAT_GUNAPROD +Sub traeProdNombre(id As String) As String + Private h As Cursor + Private n As String + h=B4XPages.MainPage.skmt.ExecQuery2($"select CAT_GP_NOMBRE from ${Starter.tabla} where CAT_GP_ID = ? "$, Array As String(id.Trim)) + If h.RowCount > 0 Then + h.Position = 0 + n = h.GetString("CAT_GP_NOMBRE") +' Log(h.RowCount&"|"&id&"|"&n&"|") + End If + h.Close + If n = Null Or n="" Then n = "N/A" +' Log(h.RowCount&"|"&id&"|"&n&"|") + Return n +End Sub + +'Regresa el total del pedido en la tabla "PEDIDO" del cliente actual. +Sub totalPedido As String + Private cT As Cursor = Starter.skmt.ExecQuery($"select sum(PE_COSTO_TOT) as total from PEDIDO where PE_CLIENTE = '${traeCliente}'"$) + Private pTotal As String = "0" + If cT.RowCount > 0 Then + cT.Position = 0 +' Log("|"&cT.GetLong("total")&"|"&pTotal) + Private tempT As String = cT.GetLong("total") + If tempT <> "null" And tempT <> Null Then +' Log("|"&cT.GetLong("total")&"|") + pTotal = tempT + End If +' Log($"Cliente actual=${traeCliente}, hayPedido=${hay}"$) + End If + cT.Close + Return pTotal +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=B4XPages.MainPage.skmt.ExecQuery($"select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO = '${cliente}' UNION ALL select CAT_CL_RUTA from kmt_info2 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 + +'Regresa la ruta actual de la base de datos. +Sub traeRuta2 (cliente As String) As String 'ignore + Private c As Cursor + Private r As String + c=B4XPages.MainPage.skmt.ExecQuery($"select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO = '${cliente}' UNION ALL select CAT_CL_RUTA from kmt_info2 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 + +Sub traeCliente As String 'ignore + Private c As Cursor + Private cl As String + c=B4XPages.MainPage.skmt.ExecQuery("Select CUENTA from cuentaa") + c.Position=0 + cl = c.GetString("CUENTA") + c.Close + Return cl +End Sub + +Sub traeFecha As String 'ignore + DateTime.DateFormat = "MM/dd/yyyy" + Private sDate As String =DateTime.Date(DateTime.Now) + Private sTime As String =DateTime.Time(DateTime.Now) + Return sDate & sTime +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 + +'Inserta un producto en la tabla "pedido" y "pedido_cliente". +'Actualiza "cat_gunaprod" y la columna "gestion" en la tabla "kmt_info". +Sub guardaProducto(cedis As String, costoU As String, cant As String, nombre As String, prodId As String, clienteId As String, fecha As String, usuario As String, rutaV As String, precioSin As String, tipoVenta As String) +' LogColor("guardaProducto: "&prodId&", cant="&cant, Colors.Magenta) + Private c As Cursor + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ", Array As Object (cedis, (cant * costoU), costoU, cant, nombre, prodId, clienteId, fecha, usuario, rutaV, precioSin, tipoVenta)) + B4XPages.MainPage.skmt.ExecNonQuery2($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "$, Array As Object(cant, prodId)) + c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + c.Position=0 + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)", Array As Object(clienteId, fecha, usuario, c.GetString("CANT_CLIE"), c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps, cedis, c.GetString("TOTAL_CLIE_SIN"))) + B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +End Sub + +'Inserta un producto en la tabla "pedido" y "pedido_cliente" y actualiza "cat_gunaprod". +'NO ACTUALIZA LA BANDERA DE GESTION EN LA TABLA "kmt_info". +'Si "gestion=2" entonces el sistema considera que el pedido ya se guardó y ya no se debe modificar. +Sub guardaProductoSinGestion(cedis As String, costoU As String, cant As String, nombre As String, prodId As String, clienteId As String, fecha As String, usuario As String, rutaV As String, precioSin As String, tipoVenta As String, cantc As String, bcajas As String) +' LogColor("guardaProducto: "&prodId&", cant="&cant, Colors.Magenta) + Private c As Cursor + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO,PE_ENVIO_OK,PE_CANTC,PE_BCAJAS) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0,?,?) ", Array As Object (cedis, (cant * costoU), costoU, cant, nombre, prodId, clienteId, fecha, usuario, rutaV, precioSin, tipoVenta,cantc,bcajas)) + If B4XPages.MainPage.tipo_venta = "VENTA" Then + B4XPages.MainPage.skmt.ExecNonQuery2($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "$, Array As Object(cant, prodId)) + Else + B4XPages.MainPage.skmt.ExecNonQuery2($"update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "$, Array As Object(cant, prodId)) + B4XPages.MainPage.skmt.ExecNonQuery2($"update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "$, Array As Object(cant, prodId)) + End If + c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + c.Position=0 + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)", Array As Object(clienteId, fecha, usuario, c.GetString("CANT_CLIE"), c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps, cedis, c.GetString("TOTAL_CLIE_SIN"))) +End Sub + +Sub actualizaProducto(cedis As String, costoU As String, cant As Int, nombre As String, prodId As String, clienteId As String, fecha As String, usuario As String, rutaV As String, precioSin As String, tipoVenta As String, cantc As String, bcajas As String) + Log("Entramos a actualiza producto") + Private c As Cursor=B4XPages.MainPage.skmt.ExecQuery($"select * from pedido where pe_cedis = '${cedis}' and pe_proid = '${prodId}' and pe_cliente = '${clienteId}' AND PE_FOLIO = '${B4XPages.MainPage.tipo_venta}'"$) +' Log($"ROWCOUNT: ${c.RowCount}, ${cant}"$) + LogColor($"actualizaProducto, c=${clienteId}, p=${prodId}, nombre=${nombre}, cant=${cant}, cedis=${cedis}, tipo=${tipoVenta}"$, Colors.Magenta) + If c.RowCount > 0 Then + Log("----->1<--------------") + c.Position=0 + Private antCant As Int = 0 + If IsNumber(c.GetInt("PE_CANT")) Then antCant=c.GetInt("PE_CANT") + Private difCant As Int = cant - antCant + B4XPages.MainPage.skmt.ExecNonQuery($"update pedido set pe_cant = ${cant}, pe_costo_tot = ${(cant*c.GetString("PE_COSTOU"))}, PE_CANTC = ${cantc}, PE_BCAJAS = ${bcajas} where pe_cedis = '${cedis}' and pe_proid = '${prodId}' and pe_cliente = '${clienteId}' AND PE_FOLIO = '${B4XPages.MainPage.tipo_venta}'"$) + If B4XPages.MainPage.tipo_venta = "VENTA" Then + B4XPages.MainPage.skmt.ExecNonQuery($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen - (${difCant}) where cat_gp_id = '${prodId}' "$) + Else + B4XPages.MainPage.skmt.ExecNonQuery($"update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - (${difCant}) where cat_gp_id = '${prodId}' "$) + B4XPages.MainPage.skmt.ExecNonQuery($"update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - (${difCant}) where cat_gp_id = '${prodId}' "$) + End If + +' Log($"CANT=${cant}"$) + If cant = 0 Then + Log("BORRAMOS PROD") + B4XPages.MainPage.skmt.ExecNonQuery($"delete from pedido where pe_cedis = '${cedis}' and pe_proid = '${prodId}' and pe_cliente = '${clienteId}' AND PE_FOLIO = '${B4XPages.MainPage.tipo_venta}'"$) + Private pe As Cursor = B4XPages.MainPage.skmt.ExecQuery("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)") + pe.Position=0 + If pe.GetString("cuantosPedidos") = 0 Then B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") + End If + Else + Log("----->2<--------------") + 'INSERTAMOS + If cant <> 0 Then guardaProductoSinGestion(cedis, costoU, cant, nombre, prodId, clienteId, fecha, usuario, rutaV, precioSin, tipoVenta,cantc,bcajas) + End If + c.Close +End Sub + +Sub guardaProductoSinGestion2(cedis As String, costoU As String, cant As String, nombre As String, prodId As String, clienteId As String, fecha As String, usuario As String, rutaV As String, precioSin As String, tipoVenta As String, cantc As String, bcajas As String) +' LogColor("guardaProducto: "&prodId&", cant="&cant, Colors.Magenta) + Private c As Cursor + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO,PE_ENVIO_OK,PE_CANTC,PE_BCAJAS) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0,?,?) ", Array As Object (cedis, (cantc * costoU), costoU, cant, nombre, prodId, clienteId, fecha, usuario, rutaV, precioSin, tipoVenta,cantc,bcajas)) + If B4XPages.MainPage.tipo_venta = "VENTA" Then + B4XPages.MainPage.skmt.ExecNonQuery2($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "$, Array As Object(cant, prodId)) + Else + B4XPages.MainPage.skmt.ExecNonQuery2($"update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "$, Array As Object(cant, prodId)) + B4XPages.MainPage.skmt.ExecNonQuery2($"update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "$, Array As Object(cant, prodId)) + End If + c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + c.Position=0 + B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") + B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)", Array As Object(clienteId, fecha, usuario, c.GetString("CANT_CLIE"), c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps, cedis, c.GetString("TOTAL_CLIE_SIN"))) +End Sub + +Sub actualizaProducto2(cedis As String, costoU As String, cant As Int, nombre As String, prodId As String, clienteId As String, fecha As String, usuario As String, rutaV As String, precioSin As String, tipoVenta As String, cantc As String, bcajas As String) + Private c As Cursor=B4XPages.MainPage.skmt.ExecQuery($"select * from pedido where pe_cedis = '${cedis}' and pe_proid = '${prodId}' and pe_cliente = '${clienteId}' AND PE_FOLIO = '${B4XPages.MainPage.tipo_venta}'"$) +' Log($"ROWCOUNT: ${c.RowCount}, ${cant}"$) + LogColor($"actualizaProducto, c=${clienteId}, p=${prodId}, nombre=${nombre}, cant=${cant}, cedis=${cedis}, tipo=${tipoVenta}"$, Colors.Magenta) + + If c.RowCount > 0 Then + c.Position=0 + Private antCant As Int = 0 + If IsNumber(c.GetInt("PE_CANT")) Then antCant=c.GetInt("PE_CANT") + Private difCant As Int = cant - antCant + B4XPages.MainPage.skmt.ExecNonQuery($"update pedido set pe_cant = ${cant}, pe_costo_tot = ${(cantc*c.GetString("PE_COSTOU"))}, PE_CANTC = ${cantc}, PE_BCAJAS = ${bcajas} where pe_cedis = '${cedis}' and pe_proid = '${prodId}' and pe_cliente = '${clienteId}' AND PE_FOLIO = '${B4XPages.MainPage.tipo_venta}'"$) +' B4XPages.MainPage.skmt.ExecNonQuery($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen - (${difCant}) where cat_gp_id = '${prodId}' "$) + If B4XPages.MainPage.tipo_venta = "VENTA" Then + B4XPages.MainPage.skmt.ExecNonQuery($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen - (${difCant}) where cat_gp_id = '${prodId}' "$) + Else + B4XPages.MainPage.skmt.ExecNonQuery($"update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - (${difCant}) where cat_gp_id = '${prodId}' "$) + B4XPages.MainPage.skmt.ExecNonQuery($"update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - (${difCant}) where cat_gp_id = '${prodId}' "$) + End If +' Log($"CANT=${cant}"$) + If cant = 0 Then + Log("BORRAMOS PROD") + B4XPages.MainPage.skmt.ExecNonQuery($"delete from pedido where pe_cedis = '${cedis}' and pe_proid = '${prodId}' and pe_cliente = '${clienteId}' AND PE_FOLIO = '${B4XPages.MainPage.tipo_venta}'"$) + Private pe As Cursor = B4XPages.MainPage.skmt.ExecQuery("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)") + pe.Position=0 + If pe.GetString("cuantosPedidos") = 0 Then B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") + End If + Else + 'INSERTAMOS + If cant <> 0 Then guardaProductoSinGestion2(cedis, costoU, cant, nombre, prodId, clienteId, fecha, usuario, rutaV, precioSin, tipoVenta,cantc,bcajas) + End If + c.Close +End Sub + + + +Sub traeTotalCliente As Double + Private sumaTotal As Double + Private cursorprueba As Cursor = B4XPages.MainPage.skmt.ExecQuery("Select PE_COSTO_TOT from pedido where PE_CLIENTE <> 0 ") + For i= 0 To cursorprueba.RowCount -1 + cursorprueba.Position = i +' LogColor(cursorprueba.GetString("PE_COSTO_TOT"),Colors.Red) + sumaTotal = sumaTotal + cursorprueba.GetString("PE_COSTO_TOT") + sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, False) +' Log(NumberFormat2(sumaTotal, 0, 2, 2, False)) + Next + cursorprueba.Close + Return sumaTotal +End Sub + +Sub traeTotalClienteabordo As Double + Private sumaTotal As Double + Private cursorprueba As Cursor = B4XPages.MainPage.skmt.ExecQuery2("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE = 0", Array As String ("ABORDO")) + For i= 0 To cursorprueba.RowCount -1 + cursorprueba.Position = i +' LogColor(cursorprueba.GetString("PE_COSTO_TOT"),Colors.Red) + sumaTotal = sumaTotal + cursorprueba.GetString("PE_COSTO_TOT") + sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, False) +' Log(NumberFormat2(sumaTotal, 0, 2, 2, False)) + Next + cursorprueba.Close + Return sumaTotal +End Sub + +Sub traeTotalClientepreventa As Double + Private sumaTotal As Double + Private cursorprueba As Cursor = B4XPages.MainPage.skmt.ExecQuery2("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0", Array As String ("PREVENTA_CONTADO")) + For i= 0 To cursorprueba.RowCount -1 + cursorprueba.Position = i +' LogColor(cursorprueba.GetString("PE_COSTO_TOT"),Colors.Red) + sumaTotal = sumaTotal + cursorprueba.GetString("PE_COSTO_TOT") + sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, False) +' Log(NumberFormat2(sumaTotal, 0, 2, 2, False)) + Next + cursorprueba.Close + Return sumaTotal +End Sub + +Sub traeTotalClientepreventaparacredito As Double + Private sumaTotal As Double + Private cursorprueba As Cursor = B4XPages.MainPage.skmt.ExecQuery2("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0 AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)", Array As String ("PREVENTA")) + For i= 0 To cursorprueba.RowCount -1 + cursorprueba.Position = i +' LogColor(cursorprueba.GetString("PE_COSTO_TOT"),Colors.Red) + sumaTotal = sumaTotal + cursorprueba.GetString("PE_COSTO_TOT") + sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, False) +' Log(NumberFormat2(sumaTotal, 0, 2, 2, False)) + Next + cursorprueba.Close + Return sumaTotal +End Sub + +Sub traeTotalClienteventa As Double + Private sumaTotal As Double + Private cursorprueba As Cursor = B4XPages.MainPage.skmt.ExecQuery2("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0", Array As String ("VENTA")) + For i= 0 To cursorprueba.RowCount -1 + cursorprueba.Position = i +' LogColor(cursorprueba.GetString("PE_COSTO_TOT"),Colors.Red) + sumaTotal = sumaTotal + cursorprueba.GetString("PE_COSTO_TOT") + sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, False) +' Log(NumberFormat2(sumaTotal, 0, 2, 2, False)) + Next + cursorprueba.Close + Return sumaTotal +End Sub + +'Regresa un mapa con la información de la promo. +'Regresa: {id, maxXcliente, maxRecurrente, maxPromos, historico, +' productos={idProducto={idProducto, preciosimptos, precio, almacen, tipo, piezas, usuario, fecha, regalo, clasif}} 'Mapa con los productos de la promo y los datos de cada uno. +' tipos={idProducto=tipo} 'Mapa con id y tipo del producto, 0 si es fijo y 1 si es variable. +' prodsFijos={idProducto,idProducto} 'Lista con los ids de los productos fijos. +' prodsVariables={idProducto,idProducto} 'Lista con los ids de los productos variables. +' resultado="OK" 'Ok si existe la promocion. +' prodsVariablesRequeridos=5} 'Cantidad de productos variables requeridos para la promoción. +Sub traePromo(promo As String, cliente As String) As Map + Private inicioContador As String = DateTime.Now + Private c As Cursor = B4XPages.MainPage.skmt.ExecQuery("Select * from promos_comp where cat_pa_id = '"& promo&"'") 'Obtenemos las el maximo de promocioones a otorgar. + Private siHistorico As String = 0 + Private promoMap As Map + Private prodsFijos, prodsFijosPrecios, prodsFijosPiezas, prodsVariables, prodsVariables2, prodsVariablesPrecios, prodsVariablesPrecios2 As List + promoMap.Initialize + prodsFijos.Initialize + prodsFijosPrecios.Initialize + prodsFijosPiezas.Initialize + prodsVariables.Initialize + prodsVariables2.Initialize + prodsVariablesPrecios.Initialize + prodsVariablesPrecios2.Initialize + c.Position = 0 + If c.RowCount > 0 Then promoMap = CreateMap("id":promo, "maxXcliente":c.GetString("CAT_PA_MAXPROMCLIE"), "maxRecurrente":c.GetString("CAT_PA_MAXPROMREC"), "maxPromos":c.GetString("CAT_PA_MAXPROM")) + c = B4XPages.MainPage.skmt.ExecQuery("Select count(*) as hist from HIST_PROMOS where HP_CLIENTE = '"& cliente & "' and HP_CODIGO_PROMOCION = '" & promo & "'") 'Revisamos si hay historico de la promoción. + c.Position = 0 + If c.GetString("hist") > 0 Then siHistorico = 1 + promoMap.Put("historico", siHistorico) + c = B4XPages.MainPage.skmt.ExecQuery("Select * from CAT_DETALLES_PAQ where CAT_DP_ID = '"& promo & "'") 'Obtenemos los detalles de la promoción. + c.Position = 0 + If c.RowCount > 0 Then + Private prods, tipos As Map + prods.Initialize + tipos.Initialize + For i=0 To c.RowCount -1 + c.Position=i + prods.Put(c.GetString("CAT_DP_IDPROD"), CreateMap("idProducto":c.GetString("CAT_DP_IDPROD"), "precioSimptos":c.GetString("CAT_DP_PRECIO_SIMPTOS"), "precio":c.GetString("CAT_DP_PRECIO"), "almacen":c.GetString("CAT_DP_ALMACEN"), "tipo":c.GetString("CAT_DP_TIPO"), "piezas":c.GetString("CAT_DP_PZAS"), "usuario":c.GetString("CAT_DP_USUARIO"), "regalo":c.GetString("CAT_DP_REGALO"), "clasif":c.GetString("CAT_DP_CLASIF"))) + tipos.Put(c.GetString("CAT_DP_IDPROD"), c.GetString("CAT_DP_TIPO")) + If c.GetString("CAT_DP_TIPO") = "0" Then + prodsFijos.Add(c.GetString("CAT_DP_IDPROD")) + prodsFijosPrecios.Add(c.GetString("CAT_DP_PRECIO")) + prodsFijosPiezas.Add(c.GetString("CAT_DP_PZAS")) + End If + If c.GetString("CAT_DP_TIPO") = "1" Then + prodsVariables.Add(c.GetString("CAT_DP_IDPROD")) + prodsVariablesPrecios.Add(c.GetString("CAT_DP_PRECIO")) + End If + If c.GetString("CAT_DP_TIPO") = "2" Then +' LogColor(c.GetString("CAT_DP_IDPROD") & "|" & c.GetString("CAT_DP_TIPO"), Colors.Blue) + prodsVariables2.Add(c.GetString("CAT_DP_IDPROD")) + prodsVariablesPrecios2.Add(c.GetString("CAT_DP_PRECIO")) + End If +' Log($"id:${c.GetString("CAT_DP_IDPROD")}, tipo:${c.GetString("CAT_DP_TIPO")}"$) +' If prodsVariables2.Size > 0 Then LogColor(c.GetString("CAT_DP_ID") & "|" & prodsVariables2, Colors.red) + Next + promoMap.Put("productos", prods) 'Mapa con los productos de la promocion (id, precio, almacen, tipo, piezas, etc.) + promoMap.Put("tipos", tipos) 'Mapa con los productos de la promoción y su tipo (fijo o variable). + promoMap.Put("prodsFijos", prodsFijos) 'Lista de los productos fijos de la promoción. + promoMap.Put("prodsVariables", prodsVariables) 'Lista de los productos variables de la promoción. + promoMap.Put("prodsVariables2", prodsVariables2) + promoMap.Put("prodsFijosCant", prodsFijos.Size) + promoMap.Put("prodsFijosPrecios", prodsFijosPrecios) + promoMap.Put("prodsFijosPiezas", prodsFijosPiezas) + promoMap.Put("prodsVariablesCant", prodsVariables.Size) + promoMap.Put("prodsVariables2Cant", prodsVariables2.Size) + promoMap.Put("prodsVariablesPrecios", prodsVariablesPrecios) + promoMap.Put("prodsVariablesPrecios2", prodsVariablesPrecios2) + promoMap.Put("resultado", "ok") + Else + promoMap.Put("resultado", "No hay datos de la promoción.") + End If + c = B4XPages.MainPage.skmt.ExecQuery2($"Select CAT_GP_STS, CAT_GP_IMP1, CAT_GP_NOMBRE from ${Starter.tabla} where CAT_GP_ID = ?"$,Array As String(promo)) 'Obtenemos las piezas requeridas de productos variables para la promoción. + c.Position = 0 + Private pvr As String = 0 + Private pvr2 As String = 0 + If c.RowCount > 0 Then + c.Position = 0 + pvr = c.GetString("CAT_GP_STS") + pvr2 = c.GetString("CAT_GP_IMP1") + If pvr = Null Or pvr = "null" Then pvr = 0 + If pvr2 = Null Or pvr2 = "null" Then pvr2 = 0 + promoMap.Put("prodsVariablesRequeridos", pvr) 'Cantidad de productos variables requeridos para la promoción. + promoMap.Put("prodsVariables2Requeridos", pvr2) + promoMap.put("descripcion", c.GetString("CAT_GP_NOMBRE")) + End If + c.Close +' Log($"Inv variables: ${cuantosVariablesTengoBD(promo)}"$) +' Log($"Inv dispo: ${traemosInventarioDisponibleParaPromo(promo)}"$) +' LogColor($"Promo ${promo}: ${promoMap}"$, Colors.Green) +' LogColor("TIEMPO para traePromo -=" & promo & "=- : " & ((DateTime.Now-inicioContador)/1000), Colors.Red) + Return promoMap +End Sub + +'Regresa un mapa con el inventario disponible por producto para la promoción (desde la base de datos). +Sub traemosInventarioDisponibleParaPromo(promo As String) As Map 'ignore + Private c As Cursor + Log("ESTAMOS VIENDO INVENTARIO") + c = B4XPages.MainPage.skmt.ExecQuery2($"SELECT CAT_GP_ID, CAT_GP_ALMACEN FROM ${Starter.tabla} WHERE CAT_GP_ID IN (select CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID = ?)"$, Array As String(promo)) +' Private prodInv As Map +' prodInv.Initialize + Private prods As Map + prods.Initialize + If c.RowCount > 0 Then + + For i=0 To c.RowCount -1 + c.Position=i + prods.Put(c.GetString("CAT_GP_ID"), c.GetString("CAT_GP_ALMACEN")) +' Log($"prod:${c.GetString("CAT_GP_ID")}, inventario:${c.GetString("CAT_GP_ALMACEN")}"$) + Next +' prodInv.Put("inventarios", prods) + End If + Return prods +End Sub + +'Resta los productos fijos del inventario de la promoción (mapa) y regresa un mapa con el nuevo inventario. +'Hay que darle como parametro un mapa (traePromo(promo)) con toda la informacion de la promocion. +'Regresa en el mapa la llave "resultado" que nos da "ok" o "No hay suficiente producto para la promocion". +Sub restaFijosPromo(promoMap As Map) As Map 'ignore + Private thisLog As Boolean = True 'Si es verdadero, muestra los logs de este sub. + Private inventariosDisponiblesParaEstaPromo As Map = traemosInventarioDisponibleParaPromo(promoMap.Get("id")) 'Obtenemos un mapa con el inventario disponible para cada producto de la promocion desde la base de datos. + If thisLog Then LogColor("InvDisponible: " & inventariosDisponiblesParaEstaPromo, Colors.red) + If thisLog Then LogColor("Inventario inicial antes de FIJOS: "&inventariosDisponiblesParaEstaPromo, Colors.Gray) 'Inventario inicial. + inventariosDisponiblesParaEstaPromo.Put("resultado", "ko") + Private i As Int + Private prodsmap As Map = promoMap.Get("productos") 'Obtenemos un mapa con todos los productos de la promoción. + Private prodsFijos As List = promoMap.get("prodsFijos") 'Obtenemos una lista con los productos fijos de la promoción. + For p = 0 To prodsFijos.Size - 1 + Private t As String = prodsFijos.Get(p) 'Obtenemos el Id de este producto desde la lista de productos fijos. + Private p2 As Map = prodsmap.Get(t) 'Obtenemos un mapa con los datos de este producto (id, precio, almacen, tipo, piezas, etc.) + If thisLog Then Log($"T: ${t}, prod ${p2.Get("idProducto")}, piezas: ${p2.Get("piezas")}"$) 'Producto y piezas requeridas + If thisLog Then Log("inventariosDisponiblesParaEstaPromo="&inventariosDisponiblesParaEstaPromo) + If inventariosDisponiblesParaEstaPromo.ContainsKey(t) Then 'Si el mapa del inventario contiene el id del producto entonces ... + i = inventariosDisponiblesParaEstaPromo.get(t) 'Obtenemos del mapa el inventario de este producto. + If thisLog Then Log($"Nuevo inventario de ${t}: ${i}-${promoMap.Get("prodsFijosPiezas").As(List).get(p)} = $1.0{i - promoMap.Get("prodsFijosPiezas").As(List).get(p)}"$) 'El nuevo inventario. + inventariosDisponiblesParaEstaPromo.Put(t, $"${i - promoMap.Get("prodsFijosPiezas").As(List).get(p)}"$) 'Restamos del inventario las piezas requeridas para la promoción y guardamos el nuevo inventario en el mapa. + inventariosDisponiblesParaEstaPromo.Put("resultado", "ok") + Else 'Si en el mapa no esta el id del producto, entonces no tenemos inventario. + inventariosDisponiblesParaEstaPromo.Put("resultado", "No hay suficiente producto para la promocion.") + LogColor("Sin suficiente inventario fijo: " & t, Colors.Blue) + Exit + End If + If i - p2.Get("piezas") < 0 Then + inventariosDisponiblesParaEstaPromo.Put("resultado", "No hay suficiente producto para la promocion.") 'Si el inventario de este producto sale negativo, quiere decir que no tenemos suficiente inventario para la promoción. + Exit + End If + Next + If prodsFijos.Size = 0 Then inventariosDisponiblesParaEstaPromo.Put("resultado", "ok") 'No hay productos fijos. + If thisLog Then LogColor("Inventario final depues de FIJOS: "&inventariosDisponiblesParaEstaPromo, Colors.blue) 'Inventario final. + Return inventariosDisponiblesParaEstaPromo +End Sub + +'Revisa si tenemos los productos variables requeridos para la promoción (mapa). +'Hay que darle como parametro un mapa (traePromo(promo)) con toda la informacion de la promocion. +Sub alcanzanLosVariablesParaPromo(promoMap As Map, inventarioSinFijos As Map) As Boolean 'ignore + Private thisLog As Boolean = False 'Si es verdadero, muestra los logs de este sub. + If thisLog Then LogColor("Inventario inicial: "&inventarioSinFijos, Colors.Gray) 'Inventario inicial. + Private totalProdsVariables As Int = 0 + Private totalProdsVariables2 As Int = 0 +' Private prodsmap As Map = promoMap.Get("productos") 'Obtenemos un mapa con todos los productos de la promoción. + Private prodsVariables As List = promoMap.get("prodsVariables") 'Obtenemos una lista con los productos variables de la promoción. + Private prodsVariables2 As List = promoMap.get("prodsVariables2") + For p = 0 To prodsVariables.Size - 1 + Private t As String = prodsVariables.Get(p) 'Obtenemos el Id de este producto desde la lista de productos fijos. +' Log("inventarioSinFijos: " & inventarioSinFijos) + If inventarioSinFijos.ContainsKey(t) Then 'Si existe el producto en la lista del inventario, entonces ... + Private p2 As String = inventarioSinFijos.Get(t) 'Obtenemos el inventario disponible este producto. +' Log(p2) + totalProdsVariables = totalProdsVariables + p2 +' Log(totalProdsVariables) + If thisLog Then Log($"prod ${t}, hay: ${p2}"$) 'Producto y piezas requeridas + End If + Next + For p = 0 To prodsVariables2.Size - 1 + Private t As String = prodsVariables2.Get(p) 'Obtenemos el Id de este producto desde la lista de productos fijos. + If inventarioSinFijos.ContainsKey(t) Then 'Si existe el producto en la lista del inventario, entonces ... + Private p2 As String = inventarioSinFijos.Get(t) 'Obtenemos el inventario disponible este producto. + totalProdsVariables2 = totalProdsVariables2 + p2 + If thisLog Then Log($"prod ${t}, hay: ${p2}"$) 'Producto y piezas requeridas + End If + Next + If thisLog Then Log("Total prods variables=" & totalProdsVariables & ", requeridos=" & promoMap.Get("prodsVariablesRequeridos")) + If thisLog Then Log("Total prods variables2=" & totalProdsVariables2 & ", requeridos2=" & promoMap.Get("prodsVariables2Requeridos")) + Private res As Boolean = False + Private res1 As Boolean = False + Private res2 As Boolean = False + +' Log($"${totalProdsVariables} >= ${promoMap.Get("prodsVariablesRequeridos")}"$) +' Log($"${totalProdsVariables2} >= ${promoMap.Get("prodsVariables2Requeridos")}"$) + + If totalProdsVariables > 0 And totalProdsVariables >= promoMap.Get("prodsVariablesRequeridos") Then + res1 = True 'Si el total de inventario de productos variables (totalProdsVariables) es mayor o igual a los productos requeridos entonces regresamos TRUE + End If + If promoMap.Get("prodsVariablesRequeridos").As (Int) = 0 Then res1 = True + If totalProdsVariables2 > 0 And totalProdsVariables2 >= promoMap.Get("prodsVariables2Requeridos") Then + res2 = True 'Si el total de inventario de productos variables (totalProdsVariables) es mayor o igual a los productos requeridos entonces regresamos TRUE + End If + If promoMap.Get("prodsVariables2Requeridos").As(Int) = 0 Then res2 = True + If res1 And res2 Then 'Solo si son verdadero los dos el resultado es verdadero. + res = True + Else + res = False + End If +' Log(res) + Return res +End Sub + +'Regresa el numero máximo de promociones permitidas, tomando en cuenta recurrentes, clientes y maxPromos. +Sub traeMaxPromos(pm As Map) As Int +' Private thisLog As Boolean = True 'Si es verdadero, muestra los logs de este sub. +' Private maxPromos As List +' Private vendidas As Int = 0 +' maxPromos.Initialize +'' If Starter.promosLog Then Log("==== HISTORICO:"&pm.Get("historico")) +' If thisLog Then Log(pm) +' If pm.Get("historico") = "1" Then maxPromos.Add(pm.Get("maxRecurrente")) 'Si hay historico, agregamos maxRecurrente +' Log(pm.Get("historico")) +' Log(pm.Get("maxPromos")) +' Log(pm.Get("maxXcliente")) +' maxPromos.Add(pm.Get("maxPromos")) 'Agregamos maxPromos +' maxPromos.Add(pm.Get("maxXcliente")) 'Agregamos maxXcliente +' Log(maxPromos) +' +' Dim precioPromo As Float +' 'Traemos el precio de la promo. +' Dim cGp As Cursor = Starter.skmt.ExecQuery($"SELECT ifnull(CAT_GP_PRECIO,0) as CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_ID = '${pm.get("id")}'"$) +' If cGp.RowCount > 0 Then +' cGp.Position = 0 +' precioPromo = cGp.GetString("CAT_GP_PRECIO") +' End If +' Dim creditoOtorgado As Float = B4XPages.MainPage.cliente.credito_diponible +' Dim totalActual As Float = 0 +' Dim maxPromosXCreditoDisponible As Int +' 'Traemos el total del pedido actual. +' Dim fg As Cursor = Starter.skmt.ExecQuery("Select IFNULL(sum(PE_COSTO_TOT),0) AS TOT_ACTUAL FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'") +' fg.Position = 0 +' totalActual = fg.GetString("TOT_ACTUAL") +' 'Calculamos el credito que tenemos disponible. +' Dim creditoDisponible As Float = creditoOtorgado - totalActual +' 'Calculamos las promos disponibles deacuerdo a lo que nos alcanza con el credito disponible. +' maxPromosXCreditoDisponible = creditoDisponible / precioPromo +' Log(creditoDisponible &" / "& precioPromo) +' Log("Maximo de promos disponibles: " & maxPromosXCreditoDisponible) +' Log((fg.GetString("TOT_ACTUAL")) & " Monto Actual<-------") +' If fg.GetString("TOT_ACTUAL") + precioPromo > creditoOtorgado Then +' maxPromosXCreditoDisponible = 0 +' End If +' maxPromos.Add(maxPromosXCreditoDisponible.As(String)) 'Agregamos Maxpromos X Credito Disponible +' +' +' maxPromos.Sort(True) +' +'' Log($"|${pm.Get("id").As(String).trim}|${traeCliente.Trim}|"$) +' Private c As Cursor = B4XPages.MainPage.skmt.ExecQuery2("select sum(PE_CANT) as vendidas from PEDIDO where PE_PROID = ? and PE_CLIENTE = ? ", Array As String(pm.Get("id").As(String).trim, traeCliente.Trim)) +' If c.RowCount > 0 Then +' c.Position = 0 +' vendidas = c.GetInt("vendidas") +'' Log(vendidas) +' End If +' +'' If Starter.promosLog Then Log(maxPromos) +'' If Starter.promosLog Then Log("Max Promos="&maxPromos.Get(0)) +'' LogColor($"maxPromos=${maxPromos.Get(0)} - vendidas=${vendidas}"$, Colors.red) +' Return maxPromos.Get(0) - vendidas 'Regresamos el numero mas pequeño de las opciones. + + Private thisLog As Boolean = False 'Si es verdadero, muestra los logs de este sub. + Private maxPromos As List + Private vendidas As Int = 0 + maxPromos.Initialize +' If Starter.promosLog Then Log("==== HISTORICO:"&pm.Get("historico")) + If thisLog Then Log(pm) + If pm.Get("historico") = "1" Then maxPromos.Add(pm.Get("maxRecurrente")) 'Si hay historico, agregamos maxRecurrente + maxPromos.Add(pm.Get("maxPromos")) 'Agregamos maxPromos + maxPromos.Add(pm.Get("maxXcliente")) 'Agregamos maxXcliente + maxPromos.Sort(True) + +' Log($"|${pm.Get("id").As(String).trim}|${traeCliente.Trim}|"$) + Private c As Cursor = B4XPages.MainPage.skmt.ExecQuery2("select sum(PE_CANT) as vendidas from PEDIDO where PE_PROID = ? and PE_CLIENTE = ? ", Array As String(pm.Get("id").As(String).trim, traeCliente.Trim)) + If c.RowCount > 0 Then + c.Position = 0 + vendidas = c.GetInt("vendidas") +' Log(vendidas) + End If + +' If Starter.promosLog Then Log(maxPromos) +' If Starter.promosLog Then Log("Max Promos="&maxPromos.Get(0)) +' LogColor($"maxPromos=${maxPromos.Get(0)} - vendidas=${vendidas}"$, Colors.red) + Return maxPromos.Get(0) - vendidas 'Regresamos el numero mas pequeño de las opciones. + +End Sub + +'Regresa la cantidad de promos que se le han vendido al cliente. +Sub traePromosVendidas(promo As String, cliente As String) As Int + Private c As Cursor + Private pv As Int = 0 + c=B4XPages.MainPage.skmt.ExecQuery($"select PE_CANT from PEDIDO where PE_PROID = '${promo}' and PE_CLIENTE = '${cliente}'"$) + If c.RowCount > 0 Then + c.Position = 0 + pv = c.GetInt("PE_CANT") + End If + Return pv +End Sub + +Sub procesaPromocion(idPromo As String, cliente As String) As Map 'ignore + Private thisLog As Boolean = True 'Si es verdadero, muestra los logs de este sub. + Private inicioContador As String = DateTime.Now + If thisLog Then LogColor($"********* Iniciamos revision de Promo ${idPromo} *********"$, Colors.Magenta) + 'Obtenemos el mapa con toda la info de la promoción. + Private pm As Map = traePromo(idPromo, cliente) + If thisLog Then LogColor(pm, Colors.Blue) + If pm.Get("resultado") = "ok" Then 'Si encontramos la promoción, entonces ... + 'Buscamos el máximo de promociones permitidas. + If thisLog Then LogColor($"Promociones permitidas=${traeMaxPromos(pm)}"$, Colors.Blue) + If thisLog Then Log("Promos vendidas: " & traePromosVendidas(idPromo, cliente)) + If traePromosVendidas(idPromo, cliente) >= traeMaxPromos(pm) Then + If thisLog Then LogColor("Ya se vendieron las promos PERMITIDAS para el cliente", Colors.red) + Return CreateMap("status":"ko", "mp":pm) + End If + 'Restamos del inventario (mapa) las piezas necesarias para los productos fijos. + Private inventarioSinFijos As Map = restaFijosPromo(pm) + If thisLog Then LogColor("inventariosfijos="&inventarioSinFijos, Colors.Green) + + If inventarioSinFijos.Get("resultado") = "ok" Then + 'Revisamos que los productos variables requeridos sean menos que el inventario total (mapa). + Private pv As Boolean = alcanzanLosVariablesParaPromo(pm, inventarioSinFijos) + If thisLog Then Log("Alcanzan los variables? --> " & pv) + If pv Then Return CreateMap("status":"ok", "mp":pm) Else Return CreateMap("status":"ko", "mp":pm) + Else + If thisLog Then LogColor("NO HAY INVENTARIO SUFICIENTE " & idPromo, Colors.red) + Return CreateMap("status":"ko", "mp":pm) + End If + End If + ' Si tenemos suficiente inventario para los variables mostramos la promocion, si no ... + ' break 'NO HAY INVENTARIO SUFICIENTE PARA LA PROMOCION. + + LogColor("TIEMPO DE PROCESO ESTA PROMO: " & ((DateTime.Now-inicioContador)/1000), Colors.Red) +End Sub + +'Regresa cuantas promos alcanzan con los productos FIJOS que hay en inventario. +Sub revisaMaxPromosProdsFijosPorInventario2(pm As Map) As Int + Private thisLog As Boolean = False + If thisLog Then Log($"pm=${pm}"$) +' Private prodsFijos As List = pm.get("prodsFijos") + Private invDispParaPromo As Map = traemosInventarioDisponibleParaPromo(pm.Get("id")) + If thisLog Then Log($"invDispParaPromo=${invDispParaPromo}"$) + Private maxPromos As String = traeMaxPromos(pm) + Private maxPromosFijosXinv As Int = 1 + Private fpf2, pdp2 As Int + Private salir As Boolean = False + Private pf As List = pm.Get("prodsFijos") + Private pfp As List = pm.Get("prodsFijosPiezas") + If thisLog Then Log($"maxPromos=${maxPromos}, prodsFijos=${pf}, piezas=${pfp}"$) + If thisLog Then LogColor($"InvFijo disponible=${invDispParaPromo}"$, Colors.Blue) + Private invFijoXpromo As Map + invFijoXpromo.Initialize + For p = 0 To pf.Size -1 'Generamos mapa con los productos fijo y piezas requeridos por promo. + invFijoXpromo.Put(pf.Get(p), pfp.Get(p)) + Next + If thisLog Then LogColor("Inv req. de prods fijos x promo" & invFijoXpromo, Colors.Green) + For i = 1 To maxPromos 'Revisamos cuantas promociones alcanzan, hasta llegar al máximo de promos permitadas. + If thisLog Then LogColor("Prods para promo " & (i+1), Colors.Magenta) + For q = 0 To pf.Size - 1 + Private q2 As String = pf.Get(q) + If thisLog Then Log("q="&q2) +' fpf2 = invFijoXpromo.Get(q2) * i 'Multiplicamos las piezas requeridas por la cantidad de promos. + fpf2 = pfp.Get(q) * i 'Multiplicamos las piezas requeridas por la cantidad de promos. + pdp2 = invDispParaPromo.Get(q2) + If thisLog Then Log($"pf=${q2}, Actual=${(i)}, max promos: ${pdp2}-${fpf2}=${pdp2 - fpf2}"$) + If pdp2 - fpf2 < 0 Then 'Si el inventario es negativo, entonces ya no alcanza para este producto. + salir=True + Exit + End If + Next + If salir Then Exit + maxPromosFijosXinv = i + Next + If thisLog Then LogColor("InvFijo requerido x promo="&invFijoXpromo, Colors.blue) + LogColor("Maximo de promociones de prodsFijos POR inventario = " & maxPromosFijosXinv, Colors.Red) + Return maxPromosFijosXinv +End Sub + +'Regresa cuantas promos alcanzan con los productos FIJOS que hay en inventario. +Sub revisaMaxPromosProdsFijosPorInventario(pm As Map) As Int + Private thisLog As Boolean = False + Private invFijoXpromo As Map + Private t As List + t.Initialize + t.Add(traeMaxPromos(pm)) ' Agregamos a la lista las promos maximas permitidas (recurrente, cliente y promo). + invFijoXpromo.Initialize + If thisLog Then LogColor($"pm=${pm}"$, Colors.Blue) + Private invDispParaPromo As Map = traemosInventarioDisponibleParaPromo(pm.Get("id")) + If thisLog Then Log($"invDispParaPromo=${invDispParaPromo}"$) + Private prodsFijosPiezas As List = pm.Get("prodsFijosPiezas") + Private idProdsFijos As List = pm.Get("prodsFijos") + For p = 0 To idProdsFijos.Size -1 'Generamos una lista con las promos disponibles por producto (dividimos el inventario total entre las piezas requeridas). + If thisLog Then Log($"id=${idProdsFijos.Get(p)}, inv=${invDispParaPromo.Get(idProdsFijos.Get(p))}, pzas=${prodsFijosPiezas.Get(p)}"$) + If thisLog Then Log($"${(invDispParaPromo.Get(idProdsFijos.Get(p)) / prodsFijosPiezas.Get(p))}"$) + Private x() As String = Regex.Split("\.", $"${(invDispParaPromo.Get(idProdsFijos.Get(p)) / prodsFijosPiezas.Get(p))}"$) 'Separamos el resultado de la division por el punto decimal. + If thisLog Then Log(x(0)) + t.Add(x(0).As(Int)) 'Solo guardamos la parte del entero de la division. + Next + t.Sort(True) 'Ordenamos la lista para que en el lugar 0 este el resultao mas pequeño. + If thisLog Then LogColor($"prodsFijos=${idProdsFijos}"$, Colors.Blue) + If thisLog Then LogColor($"prodsFijosPiezasReq=${prodsFijosPiezas}"$, Colors.Blue) + If thisLog Then LogColor($"invFijoXpromo=${invFijoXpromo}"$, Colors.Blue) +' LogColor("Max promos de prodsFijos POR inventario = " & t.Get(0), Colors.red) + Return t.Get(0) 'Regresamos el resultado mas pequeño. +End Sub + +'Regresa cuantas promos alcanzan con los productos VARIABLES que hay en inventario. +'La cantidad de promos disponibles se calcula DESPUES de descontar los productos fijos, y si las +'promos por productos fijos llega al maximo, aunque se puedan mas de producos variables, solo se +'regresa el maximo por productos fijos. Ej. si las promos por variables es 10, pero el maximo por +'fijos es 5, entonces regresamos 5. +Sub revisaMaxPromosProdsVariablesPorInventario(pm As Map) As Int 'ignore + Private thisLog As Boolean = False + If thisLog Then Log("======================================================") + If thisLog Then Log("======================================================") + Private invFijoXpromo As Map + invFijoXpromo.Initialize + Private totalProdsVariablesDisponibles As Int = 0 + Private totalProdsVariables2Disponibles As Int = 0 + If thisLog Then LogColor($"pm=${pm}"$, Colors.Blue) + Private invDispParaPromo As Map = traemosInventarioDisponibleParaPromo(pm.Get("id")) + If thisLog Then Log($"invDispParaPromo=${invDispParaPromo}"$) + Private maxPromos As String = traeMaxPromos(pm) + Private maxPromosXFijos As Int = revisaMaxPromosProdsFijosPorInventario(pm) + Private idProdsVariables As List = pm.Get("prodsVariables") + Private idProdsVariables2 As List = pm.Get("prodsVariables2") + Private prodsVariablesRequeridos As Int = pm.Get("prodsVariablesRequeridos") + Private prodsVariables2Requeridos As Int = pm.Get("prodsVariables2Requeridos") + Private prodsFijosPiezas As List = pm.Get("prodsFijosPiezas") + Private idProdsFijos As List = pm.Get("prodsFijos") + For p = 0 To idProdsFijos.Size -1 'Generamos mapa con los productos fijos y piezas requeridas por promo. + invFijoXpromo.Put(idProdsFijos.Get(p), prodsFijosPiezas.Get(p)) + Private idEsteProd As String = idProdsFijos.Get(p) + Private invEsteProd As Int = invDispParaPromo.Get(idEsteProd) + Private pzasReqEsteProd As Int = prodsFijosPiezas.Get(p) + If thisLog Then Log($"id=${idEsteProd}, inv=${invEsteProd}, pzas=${pzasReqEsteProd}"$) +' invDispParaPromo.Put( idEsteProd, (invEsteProd - (1)) ) + Next + If thisLog Then LogColor($"MaxPromos=${maxPromos}, promosXFijos=${maxPromosXFijos}"$, Colors.Blue) + If thisLog Then LogColor($"prodsFijos=${idProdsFijos}"$, Colors.Blue) + If thisLog Then LogColor($"prodsFijosPiezasReq=${prodsFijosPiezas}"$, Colors.Blue) + If thisLog Then LogColor($"prodsVariables=${idProdsVariables}${CRLF}Variables Req=${prodsVariablesRequeridos} "$, Colors.Blue) + If thisLog Then LogColor($"prodsVariables2=${idProdsVariables2}${CRLF}Variables2 Req=${prodsVariables2Requeridos} "$, Colors.Blue) + If thisLog Then LogColor($"invFijoXpromo=${invFijoXpromo}"$, Colors.Blue) + If thisLog Then Log($"Prods variables disponibles = ${totalProdsVariablesDisponibles}"$) + If thisLog Then Log($"Prods variables2 disponibles = ${totalProdsVariables2Disponibles}"$) + Private maxPromosXVariables As Int = 0 + Private maxPromosXVariables2 As Int = 0 + For x = 1 To maxPromosXFijos + If thisLog Then Log("=====================================================") + If thisLog Then Log("=====================================================") + For i = 0 To idProdsFijos.Size - 1 + If thisLog Then Log($"FIJO - ${idProdsFijos.Get(i)}, ${invDispParaPromo.Get(idProdsFijos.Get(i))} - ${prodsFijosPiezas.Get(i).As(Int)*(i+1)}"$) + invDispParaPromo.Put(idProdsFijos.Get(i), invDispParaPromo.Get(idProdsFijos.Get(i)).As(Int) - prodsFijosPiezas.Get(i).As(Int)*(i+1)) 'Restamos las piezas de los productos fijos del inventario disponible. + Next + If thisLog Then LogColor("Inv disponible despues de restar fijos = " & invDispParaPromo, Colors.Blue) + + totalProdsVariablesDisponibles = 0 + totalProdsVariables2Disponibles = 0 + For i = 0 To idProdsVariables.Size - 1 'Obtenemos total de productos variables disponibes. + If invDispParaPromo.ContainsKey(idProdsVariables.Get(i)) Then + totalProdsVariablesDisponibles = totalProdsVariablesDisponibles + invDispParaPromo.Get(idProdsVariables.Get(i)) + End If + Next + For i = 0 To idProdsVariables2.Size - 1 'Obtenemos total de productos variables disponibes. + If invDispParaPromo.ContainsKey(idProdsVariables2.Get(i)) Then + totalProdsVariables2Disponibles = totalProdsVariables2Disponibles + invDispParaPromo.Get(idProdsVariables2.Get(i)) + End If + Next + 'Revisamos variables. + If thisLog Then Log($"Var disponibles - var requeridos : ${totalProdsVariablesDisponibles} - ${prodsVariablesRequeridos*x}"$) + totalProdsVariablesDisponibles = totalProdsVariablesDisponibles - (prodsVariablesRequeridos*x) + totalProdsVariables2Disponibles = totalProdsVariables2Disponibles - (prodsVariables2Requeridos*x) + If thisLog Then Log("prodsVariables disponibles despues de promo = " & totalProdsVariablesDisponibles) + If thisLog Then Log("prodsVariables2 disponibles despues de promo = " & totalProdsVariables2Disponibles) + If totalProdsVariablesDisponibles < 0 Then Exit 'Ya no hay inventario disponible. + If totalProdsVariables2Disponibles < 0 Then Exit 'Ya no hay inventario disponible. + maxPromosXVariables = x + Next + 'Restamos fijos. + If thisLog Then LogColor("Max promos de prodsVariables POR inventario = " & maxPromosXVariables, Colors.red) + Return maxPromosXVariables +End Sub + +'Regresa la suma del inventario de los productos variables de la promoción dada desde la base de datos. +Sub cuantosVariablesTengoBD(promo As String) As String 'ignore +' Private x As String = "0" +' If promo <> "" Then +' Private c As Cursor +' c = Starter.skmt.ExecQuery2("Select SUM(CAT_GP_ALMACEN) as variables FROM CAT_GUNAPROD2 WHERE CAT_GP_ID IN (Select CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID = ? and cat_dp_tipo = 1 GROUP BY CAT_DP_IDPROD)", Array As String (promo)) +' If c.RowCount > -1 Then +' c.Position = 0 +' If c.GetString("variables") <> Null Then x = c.GetString("variables") +' End If +' End If +' Return x +End Sub + +'Regresa un mapa con los datos del producto desde la base de datos. +'el mapa incluye: Id, nombre, tipo y subtipo del producto. +Sub traeProdIdDeBD As Map 'ignore + Private c As Cursor + Private m As Map + c=B4XPages.MainPage.skmt.ExecQuery($"select CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_TIPO,CAT_GP_SUBTIPO from ${Starter.tabla} where CAT_GP_NOMBRE In (Select PDESC from PROID)"$) + If c.RowCount > 0 Then + c.Position = 0 + m = CreateMap("id":c.GetString("CAT_GP_ID"), "nombre":c.GetString("CAT_GP_NOMBRE"), "tipo":c.GetString("CAT_GP_TIPO"), "subtipo":c.GetString("CAT_GP_SUBTIPO")) + Else + m = CreateMap("id":"N/A", "nombre":"N/A", "tipo":"N/A", "subtipo":"N/A") + End If + c.Close + Return m +End Sub + +'Guarda en la base de datos la hora inicial y final de la vista. +Sub guardaClienteHoraInicio(cliente As String) + B4XPages.MainPage.skmt.ExecNonQuery2("insert into PEDIDO_INICIO_FINAL(PIF_CLIENTE, PIF_HORA_INICIO, PIF_HORA_FINAL) VALUES(?,?,?) ", Array As Object (cliente, DateTime.Now, 0)) +' LogColor($"insertamos ${cliente}, hora_inicio=${DateTime.Now}, hora_final=0"$,Colors.Red) +End Sub + +'Actualizamos el tiempo que el vendedor estuvo en la tienda, desde que entra a la pantalla del cliente hasta que hace clic en "Guardar". +Sub actualizaTET(cliente As String) + Dim c As Cursor = B4XPages.MainPage.skmt.Execquery2("select * from PEDIDO_INICIO_FINAL where PIF_CLIENTE = ?", Array As String(cliente)) + Dim total As Long = 0 + If c.RowCount > 0 Then + c.Position=0 + For i = 0 To c.RowCount-1 + c.Position=i +' LogColor($"cliente=${c.GetString("PIF_CLIENTE")}, inicio=${c.GetString("PIF_HORA_INICIO")}, final=${c.GetString("PIF_HORA_FINAL")}"$, Colors.Magenta) + Dim subtotal As Long = c.GetString("PIF_HORA_FINAL") - c.GetString("PIF_HORA_INICIO") + total = total + subtotal +' Log($" Subtotal=${subtotal}, total=${total}"$) + Next +' Log($"Total=${(total/1000)/60}"$) + B4XPages.MainPage.skmt.ExecNonQuery2("update PEDIDO_CLIENTE set PC_TIEMPO_TIENDA = ? where PC_CLIENTE = ?", Array As String(((total/1000)/60), cliente)) + End If +End Sub + +'Regresa el total de productos y monto del pedido del cliente actual. +Sub traeTotalesClienteActual As Map + Private m As Map + m.Initialize + Private c_prodsX As Cursor=B4XPages.MainPage.skmt.ExecQuery("select ifnull(sum(PE_CANT), 0) as cantProds, ifnull(sum(PE_COSTO_TOT), 0) as costoTotal FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PRONOMBRE asc") + c_prodsX.Position=0 +' LogColor($"Productos de la orden: ${c_prodsX.GetString("cantProds")}, Total: ${c_prodsX.GetString("costoTotal")}"$, Colors.red) + m = CreateMap("productos": c_prodsX.GetString("cantProds"), "monto" : c_prodsX.GetString("costoTotal")) + Return m +End Sub + +'Borra el pedido del cliente actual. +'Borra los registros de la tabla "pedido" y "pedido_cliente" +'Actualiza las tablas "cat_gunaprod" y "kmt_info". +Sub borraPedidoClienteActual As String +' Private thisC As Cursor +' thisC=B4XPages.MainPage.skmt.ExecQuery("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) ") +' If thisC.RowCount>0 Then +' For i=0 To thisC.RowCount -1 +' thisC.Position=i +' B4XPages.MainPage.skmt.ExecNonQuery2($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?"$, Array As Object(thisC.GetString("PE_CANT"),thisC.GetString("PE_PROID"))) +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ", Array As Object (traeAlmacen, thisC.GetString("PE_PROID"),thisC.GetString("PE_CANT")* -1)) +' Next +' End If +' B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)") +' B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)") +' B4XPages.MainPage.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)") +' Return 1 + Private thisC As Cursor +' Private tablaProds As String = "cat_gunaprod4" + thisC=Starter.skmt.ExecQuery("select PE_PRONOMBRE, PE_PROID, PE_CANT, PE_FOLIO FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) ") + If thisC.RowCount>0 Then + For i=0 To thisC.RowCount -1 + thisC.Position = i +' Log(thisC.GetString("PE_TIPO") & "|" & traeTablaProds(thisC.GetString("PE_TIPO"))) + +' If thisC.GetString("PE_FOLIO") = "VENTA" Then +' Starter.skmt.ExecNonQuery($"update ${traeTablaProds(thisC.GetString("PE_FOLIO"))} set cat_gp_almacen = cat_gp_almacen + ${thisC.GetString("PE_CANT")} where cat_gp_id = '${thisC.GetString("PE_PROID")}'"$) +' Else +' Starter.skmt.ExecNonQuery($"update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen + ${thisC.GetString("PE_CANT")} where cat_gp_id = '${thisC.GetString("PE_PROID")}'"$) +' Starter.skmt.ExecNonQuery($"update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen + ${thisC.GetString("PE_CANT")} where cat_gp_id = '${thisC.GetString("PE_PROID")}'"$) +' +' End If + + If thisC.GetString("PE_FOLIO") = "VENTA" Then + B4XPages.MainPage.skmt.ExecNonQuery($"update ${traeTablaProds(thisC.GetString("PE_FOLIO"))} set cat_gp_almacen = cat_gp_almacen + ${thisC.GetString("PE_CANT")} where cat_gp_id = '${thisC.GetString("PE_PROID")}'"$) + B4XPages.MainPage.skmt.ExecNonQuery2("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As String(thisC.GetString("PE_PRONOMBRE"), thisC.GetString("PE_FOLIO"))) + Else + Starter.skmt.ExecNonQuery($"update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen + ${thisC.GetString("PE_CANT")} where cat_gp_id = '${thisC.GetString("PE_PROID")}'"$) + Starter.skmt.ExecNonQuery($"update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen + ${thisC.GetString("PE_CANT")} where cat_gp_id = '${thisC.GetString("PE_PROID")}'"$) + B4XPages.MainPage.skmt.ExecNonQuery2("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?", Array As String(thisC.GetString("PE_PRONOMBRE"), thisC.GetString("PE_FOLIO"))) + End If + + LogColor($"update ${traeTablaProds(thisC.GetString("PE_FOLIO"))} set cat_gp_almacen = cat_gp_almacen + ${thisC.GetString("PE_CANT")} where cat_gp_id = '${thisC.GetString("PE_PROID")}'"$, Colors.red) +' Starter.skmt.ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ", Array As Object (traeAlmacen, thisC.GetString("PE_PROID"),thisC.GetString("PE_CANT")* -1)) + Next + End If + Starter.skmt.ExecNonQuery("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)") + Starter.skmt.ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)") + Starter.skmt.ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)") + Return 1 +End Sub + +Sub borraPedidoCredito As String + Dim cPedidos As Cursor + cPedidos = Starter.skmt.ExecQuery("SELECT PE_PROID, PE_CANT FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'") + + If cPedidos.RowCount > 0 Then + For i = 0 To cPedidos.RowCount - 1 + cPedidos.Position = i + Dim productoId As String = cPedidos.GetString("PE_PROID") + Dim cantidad As Int = cPedidos.GetInt("PE_CANT") + + Starter.skmt.ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_ALMACEN = CAT_GP_ALMACEN + ? WHERE CAT_GP_ID = ?", Array As String(cantidad, productoId)) + Starter.skmt.ExecNonQuery2("UPDATE CAT_GUNAPROD4 SET CAT_GP_ALMACEN = CAT_GP_ALMACEN + ? WHERE CAT_GP_ID = ?", Array As String(cantidad, productoId)) + + Next + End If + cPedidos.Close + + Starter.skmt.ExecNonQuery("DELETE FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_FOLIO = 'PREVENTA_CREDITO'") + + Log("Pedidos a crédito borrados correctamente.") + Return "1" + + Dim pCli As Cursor = Starter.skmt.ExecQuery("select PE_CLIENTE, PE_FECHA, PE_CEDIS, sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") + If pCli.RowCount > 0 Then + pCli.Position = 0 + B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)", Array As String(pCli.GetString("PE_CLIENTE"), pCli.GetString("PE_FECHA"), pCli.GetString("PE_USUARIO"), pCli.GetString("CANT_CLIE"), pCli.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps, pCli.GetString("PE_CEDIS"), pCli.GetString("TOTAL_CLIE_SIN"))) + Else + Starter.skmt.ExecNonQuery("UPDATE KMT_INFO SET GESTION = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)") + End If +End Sub + +Sub traeTablaProds(tipoventa As String) As String + Private tablaProds As String = "cat_gunaprod2" + + If tipoventa = "ABORDO" Or tipoventa = "PREVENTA_CONTADO" Then + tablaProds = "cat_gunaprod" + Else If tipoventa = "RECARGA" Then + tablaProds = "cat_gunaprod3" + Else If tipoventa = "PREVENTA_CREDITO" Then + tablaProds = "cat_gunaprod4" + End If + + LogColor($"Tipo= ${tipoventa}, tabla=${tablaProds}"$, Colors.RGB(200,136,0)) + Return tablaProds +End Sub + +'Regresa verdadero si la columna gestion en la tabla "kmt_info" tene valor 2. +'si no, entonces regresa falso. +Sub pedidoGuardado As Boolean + Private guardado As Boolean = False + Private g As Cursor = B4XPages.MainPage.skmt.ExecQuery("select gestion from kmt_info where CAT_CL_CODIGO in (Select CUENTA from cuentaa)") + If g.RowCount > 0 Then + g.Position=0 + If g.GetString("gestion") = "2" Or g.GetString("gestion") = "3" Then guardado = True + End If +' Log($"Guardado=${guardado}"$) + Return guardado +End Sub + +'Regresa verdadero si hay pedido en la tabla "PEDIDO" del cliente actual. +Sub hayPedido As Boolean + Private thisC As Cursor=B4XPages.MainPage.skmt.ExecQuery($"select count(PE_CLIENTE) as hayPedido from PEDIDO where PE_CLIENTE = '${traeCliente}'"$) + thisC.Position=0 + Private hay As Boolean = False + If thisC.GetInt("hayPedido") > 0 Then hay = True +' Log($"Cliente actual=${traeCliente}, hayPedido=${hay}"$) + Return hay +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 = B4XPages.MainPage.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 + B4XPages.MainPage.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 + B4XPages.MainPage.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 + +'Muestra en el Log los campos y valores que regresan en el JobDone. +Sub logJobDoneResultados(resultado As DBResult) + For Each records() As Object In resultado.Rows + LogColor($"====== ${resultado.Tag} - REGISTROS = ${resultado.Rows.Size}"$, Colors.RGB(215,37,0)) + For Each k As String In resultado.Columns.Keys + LogColor(k & " = " & records(resultado.Columns.Get(k)), Colors.RGB(215,37,0)) + Next + Next +End Sub + +'Guarda el nombre y version de la app en CAT_VARIABLES. +Sub guardaAppInfo(skmt As SQL) + skmt.ExecNonQuery("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'") + skmt.ExecNonQuery($"insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_NAME', '${Application.LabelName}')"$) + skmt.ExecNonQuery($"insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_VERSION', '${Application.VersionName}')"$) +End Sub + +Sub traeinventario(id As String) As String + Dim c As Cursor + Dim inventario As String = "0" + c=B4XPages.MainPage.skmt.ExecQuery($"select CAT_GP_ALMACEN from ${Starter.tabla} where CAT_GP_ID = '${id}'"$) +' Log($"select CAT_GP_ALMACEN from ${Starter.tabla} where CAT_GP_NOMBRE = '${id}'"$) + If c.RowCount > 0 Then + c.Position = 0 + inventario = c.GetString("CAT_GP_ALMACEN") + End If + c.Close + Return inventario +End Sub + +''Inserta un producto en la tabla "pedido" y "pedido_cliente" y actualiza "cat_gunaprod". +''NO ACTUALIZA LA BANDERA DE GESTION EN LA TABLA "kmt_info". +''Si "gestion=2" entonces el sistema considera que el pedido ya se guardó y ya no se debe modificar. +'Sub guardaProductoSinGestionDinamico(cedis As String, costoU As String, cant As String, nombre As String, prodId As String, clienteId As String, fecha As String, usuario As String, rutaV As String, precioSin As String, tipoVenta As String, cantc As String, bcajas As String, dirigida As String, uvm As String, presentacion As String) +'' LogColor("guardaProducto: "&prodId&", cant="&cant, Colors.Magenta) +' Private c As Cursor +' B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO,PE_ENVIO_OK,PE_CANTC,PE_BCAJAS, PE_DIRIGIDA, PE_UVM, PE_PRESENTACION) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?,?) ", Array As Object (cedis, ((cant/uvm)* costoU), costoU, cant, nombre, prodId, clienteId, fecha, usuario, rutaV, precioSin, tipoVenta,cantc,bcajas, dirigida, uvm, presentacion)) +' If B4XPages.MainPage.tipo_venta = "VENTA" Then +' B4XPages.MainPage.skmt.ExecNonQuery2($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "$, Array As Object(cant, prodId)) +' Else +' B4XPages.MainPage.skmt.ExecNonQuery2($"update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "$, Array As Object(cant, prodId)) +'' B4XPages.MainPage.skmt.ExecNonQuery2($"update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "$, Array As Object(cant, prodId)) +' End If +' c=B4XPages.MainPage.skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)") +' c.Position=0 +' B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") +' B4XPages.MainPage.skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)", Array As Object(clienteId, fecha, usuario, c.GetString("CANT_CLIE"), c.GetString("TOTAL_CLIE"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps, cedis, c.GetString("TOTAL_CLIE_SIN"))) +'End Sub +' +'Sub actualizaProductoDinamico(cedis As String, costoU As String, cant As Int, nombre As String, prodId As String, clienteId As String, fecha As String, usuario As String, rutaV As String, precioSin As String, tipoVenta As String, cantc As String, bcajas As String, dirigida As String, uvm As String, presentacion As String) +' Log("Entramos a actualiza producto") +' Private c As Cursor=B4XPages.MainPage.skmt.ExecQuery($"select * from pedido where pe_cedis = '${cedis}' and pe_proid = '${prodId}' and pe_cliente = '${clienteId}' AND PE_FOLIO = '${B4XPages.MainPage.tipo_venta}' and PE_DIRIGIDA = '${dirigida}' AND PE_UVM = '${uvm}' AND PE_PRESENTACION = '${presentacion}'"$) +'' Log($"ROWCOUNT: ${c.RowCount}, ${cant}"$) +' LogColor($"actualizaProducto, c=${clienteId}, p=${prodId}, nombre=${nombre}, cant=${cant}, cedis=${cedis}, tipo=${tipoVenta}"$, Colors.Magenta) +' If c.RowCount > 0 Then +' Log("----->1<--------------") +' c.Position=0 +' Private antCant As Int = 0 +' If IsNumber(c.GetInt("PE_CANT")) Then antCant=c.GetInt("PE_CANT") +' Private difCant As Int = cant - antCant +' B4XPages.MainPage.skmt.ExecNonQuery($"update pedido set pe_cant = ${cant}, pe_costo_tot = ${((cant/uvm)*c.GetString("PE_COSTOU"))}, PE_CANTC = ${cantc}, PE_BCAJAS = ${bcajas} where pe_cedis = '${cedis}' and pe_proid = '${prodId}' and pe_cliente = '${clienteId}' AND PE_FOLIO = '${B4XPages.MainPage.tipo_venta}' and PE_DIRIGIDA = '${dirigida}' AND PE_UVM = '${uvm}' AND PE_PRESENTACION = '${presentacion}'"$) +' If B4XPages.MainPage.tipo_venta = "VENTA" Then +' B4XPages.MainPage.skmt.ExecNonQuery($"update ${Starter.tabla} set cat_gp_almacen = cat_gp_almacen - (${difCant}) where cat_gp_id = '${prodId}' "$) +' Else +' B4XPages.MainPage.skmt.ExecNonQuery($"update CAT_GUNAPROD set cat_gp_almacen = cat_gp_almacen - (${difCant}) where cat_gp_id = '${prodId}' "$) +'' B4XPages.MainPage.skmt.ExecNonQuery($"update CAT_GUNAPROD4 set cat_gp_almacen = cat_gp_almacen - (${difCant}) where cat_gp_id = '${prodId}' "$) +' End If +' +'' Log($"CANT=${cant}"$) +' If cant = 0 Then +' Log("BORRAMOS PROD") +' B4XPages.MainPage.skmt.ExecNonQuery($"delete from pedido where pe_cedis = '${cedis}' and pe_proid = '${prodId}' and pe_cliente = '${clienteId}' AND PE_FOLIO = '${B4XPages.MainPage.tipo_venta}'"$) +' Private pe As Cursor = B4XPages.MainPage.skmt.ExecQuery("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)") +' pe.Position=0 +' If pe.GetString("cuantosPedidos") = 0 Then B4XPages.MainPage.skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)") +' End If +' Else +' Log("----->2<--------------") +' 'INSERTAMOS +' If cant <> 0 Then guardaProductoSinGestionDinamico(cedis, costoU, cant, nombre, prodId, clienteId, fecha, usuario, rutaV, precioSin, tipoVenta,cantc,bcajas, dirigida, uvm, presentacion) +' End If +' c.Close +'End Sub + +Sub actualizaProductoDinamico(cedis As String, costoU As Float, cant As Int, nombre As String, prodId As String, clienteId As String, fecha As String, usuario As String, rutaV As String, precioSin As String, tipoVenta As String, cantc As String, bcajas As String, dirigida As String, uvm As Int, presentacion As String) + Log("--- Iniciando Actualización Dinámica ---") + + ' 1. BUSQUEDA: Usamos todos los campos que hacen única a la fila + Dim qBusqueda As String = "SELECT PE_CANT, PE_COSTOU FROM pedido WHERE pe_cedis = ? " & _ + "AND pe_proid = ? AND pe_cliente = ? AND PE_FOLIO = ? " & _ + "AND PE_DIRIGIDA = ? AND PE_PRESENTACION = ? AND PE_UVM = ?" + + Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuery2(qBusqueda, _ + Array As String(cedis, prodId, clienteId, tipoVenta, dirigida, presentacion, uvm)) + + ' Determinamos tabla de inventario + Dim tablaInventario As String = Starter.tabla +' If tipoVenta = "PREVENTA_CREDITO" Then tablaInventario = "CAT_GUNAPROD4" + + If c.RowCount > 0 Then + ' --- CASO A: YA EXISTE (ACTUALIZAR O BORRAR) --- + c.Position = 0 + Dim antCant As Int = c.GetInt("PE_CANT") + Dim difCant As Int = cant - antCant + + If cant > 0 Then + ' ACTUALIZAR + Dim nuevoCostoTot As Float = (cant / uvm) * costoU + + Dim qUpdate As String = "UPDATE pedido SET pe_cant = ?, pe_costo_tot = ?, PE_CANTC = ?, PE_BCAJAS = ? " & _ + "WHERE pe_cedis = ? AND pe_proid = ? AND pe_cliente = ? AND PE_FOLIO = ? " & _ + "AND PE_PRESENTACION = ? AND PE_UVM = ?" + + B4XPages.MainPage.skmt.ExecNonQuery2(qUpdate, Array As Object(cant, nuevoCostoTot, cantc, bcajas, _ + cedis, prodId, clienteId, tipoVenta, presentacion, uvm)) + + ' Actualizar Almacén + B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE ${tablaInventario} SET cat_gp_almacen = cat_gp_almacen - (${difCant}) WHERE cat_gp_id = '${prodId}'"$) + Else + ' BORRAR (Cantidad llegó a 0) + Dim qDelete As String = "DELETE FROM pedido WHERE pe_cedis = ? AND pe_proid = ? AND pe_cliente = ? " & _ + "AND PE_FOLIO = ? AND PE_PRESENTACION = ? AND PE_UVM = ?" + + B4XPages.MainPage.skmt.ExecNonQuery2(qDelete, Array As Object(cedis, prodId, clienteId, tipoVenta, presentacion, uvm)) + + ' Devolver todo al Almacén + B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE ${tablaInventario} SET cat_gp_almacen = cat_gp_almacen + ${antCant} WHERE cat_gp_id = '${prodId}'"$) + + ' LIMPIEZA: Verificar si el pedido quedó vacío para este cliente + Dim totalRestante As Int = B4XPages.MainPage.skmt.ExecQuerySingleResult("SELECT count(*) FROM pedido WHERE pe_cliente = '" & clienteId & "'") + If totalRestante = 0 Then + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM pedido_cliente WHERE PC_CLIENTE = '" & clienteId & "'") + End If + End If + Else + ' --- CASO B: NUEVO (INSERTAR) --- + If cant > 0 Then + guardaProductoSinGestionDinamico(cedis, costoU, cant, nombre, prodId, clienteId, fecha, usuario, rutaV, precioSin, tipoVenta, cantc, bcajas, dirigida, uvm, presentacion) + End If + End If + c.Close +End Sub + +' Sub auxiliar para la inserción limpia +Sub guardaProductoSinGestionDinamico(cedis As String, costoU As Float, cant As Int, nombre As String, prodId As String, clienteId As String, fecha As String, usuario As String, rutaV As String, precioSin As String, tipoVenta As String, cantc As String, bcajas As String, dirigida As String, uvm As Int, presentacion As String) + + Dim costoTotal As Float = (cant / uvm) * costoU + + Dim query As String = "INSERT INTO PEDIDO (PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, " & _ + "PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_RUTA, PE_COSTO_SIN, PE_FOLIO, PE_ENVIO_OK, " & _ + "PE_CANTC, PE_BCAJAS, PE_DIRIGIDA, PE_UVM, PE_PRESENTACION) " & _ + "VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?,?)" + + B4XPages.MainPage.skmt.ExecNonQuery2(query, Array As Object(cedis, costoTotal, costoU, cant, nombre, prodId, _ + clienteId, fecha, usuario, rutaV, precioSin, tipoVenta, cantc, bcajas, dirigida, uvm, presentacion)) + + ' Descontar del inventario inicial + Dim tablaInventario As String = Starter.tabla +' If tipoVenta = "PREVENTA_CREDITO" Then tablaInventario = "CAT_GUNAPROD4" + + B4XPages.MainPage.skmt.ExecNonQuery($"UPDATE ${tablaInventario} SET cat_gp_almacen = cat_gp_almacen - ${cant} WHERE cat_gp_id = '${prodId}'"$) + + ' Sincronizar tabla pedido_cliente (Totales generales) + SincronizarTotalesEncabezado(clienteId, fecha, usuario, cedis) +End Sub + +Private Sub SincronizarTotalesEncabezado(idClie As String, fecha As String, usuario As String, cedis As String) + ' Obtenemos sumatoria actual de todo el pedido del cliente + Dim res As Cursor = B4XPages.MainPage.skmt.ExecQuery("SELECT SUM(pe_costo_tot) as TOTAL, SUM(PE_CANT) as CANT FROM PEDIDO WHERE PE_CLIENTE = '" & idClie & "'") + res.Position = 0 + + ' Limpiamos encabezado viejo + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM pedido_cliente WHERE PC_CLIENTE = '" & idClie & "'") + + If res.GetInt("CANT") > 0 Then + ' Insertamos el nuevo resumen + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT, PC_ALMACEN) VALUES (?,?,?,?,?,?,?,?)", _ + Array As Object(idClie, fecha, usuario, res.GetString("CANT"), res.GetString("TOTAL"), B4XPages.MainPage.lon_gps, B4XPages.MainPage.lat_gps, cedis)) + End If + res.Close +End Sub \ No newline at end of file diff --git a/B4A/Tracker.bas b/B4A/Tracker.bas new file mode 100644 index 0000000..b7e74e4 --- /dev/null +++ b/B4A/Tracker.bas @@ -0,0 +1,298 @@ +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 B4XPage_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 = 51042 + Private 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 +End Sub + +Sub Service_Create + Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_NEVER 'we are handling it ourselves + 'Para FusedLocationProvider (2 lineas) + FLP.Initialize("flp") + FLP.Connect + lock.PartialLock + StartFLP +End Sub + +Sub flp_ConnectionSuccess +' Log("Connected to location provider") + 'FLP.GetLastKnownLocation +End Sub + +Sub flp_ConnectionFailed(ConnectionResult1 As Int) + Log("Failed to connect to location provider") +End Sub + +Sub Service_Start (StartingIntent As Intent) + 'Para FusedLocationProvider (1 linea) + Service.StopAutomaticForeground + Service.StartForeground(nid, CreateNotification("...")) + Track + StartServiceAt(Me, DateTime.Now + 5 * DateTime.TicksPerMinute, True) + FLP.GetLastKnownLocation.Initialize +End Sub + +Public Sub Track +' Log("Inicia Track - Tracking : "&Tracking) + If Not(FLP.IsInitialized) Then FLP.Initialize("flp") + If Not(FLP.IsConnected) Then FLP.Connect + If Tracking And actualLR.IsInitialized 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 + Log("No permission") + Return + End If + StartFLP 'Iniciamos FusedLocationProvider + Tracking = True +End Sub + +Public Sub StartFLP +' Log("StartFLP - flpStarted="&flpStarted) + Do While FLP.IsConnected = False + Sleep(500) +' Log("sleeping") + Loop +' If flpStarted = False Then +' Log("RequestLocationUpdates") + FLP.RequestLocationUpdates(CreateLocationRequest) 'Buscamos ubicacion +' Log("Buscamos ubicacion") +' Log(actualLR.GetSmallestDisplacement) + flpStarted = True +' End If +End Sub + +Public Sub StartFLPSmall +' Log("StartFLPSmall - flpStarted="&flpStarted) + Do While FLP.IsConnected = False + Sleep(500) + Log("sleeping") + Loop + dameUltimaUbicacionConocida 'Regresamos ultima ubicacion conocida + FLP.RequestLocationUpdates(CreateLocationRequestSmallD) 'Buscamos ubicacion 2 peticiones +' Log("Buscamos ubicacion Small displacement") +' Log("GPSSmallestDisplacement = " & actualLR.GetSmallestDisplacement) +End Sub + +Private Sub CreateLocationRequest As LocationRequest +' 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(50) '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 CreateLocationRequestSmallD As LocationRequest +' Log("Iniciamos CreateLocationRequestSmallD") + 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(1) '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 Starter.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) +' ToastMessageShow("Loc changed", False) +' Log($"Loc changed:${Location1.Longitude},${Location1.Latitude}"$) + B4XPages.MainPage.lat_gps = Location1.Latitude + B4XPages.MainPage.lon_gps = Location1.Longitude + UUGCoords = Location1 +' Log("SmallestDisplacement="&actualLR.GetSmallestDisplacement) +' If DateTime.Now > LastUpdateTime + 10 * DateTime.TicksPerSecond Then +' Dim n As Notification = CreateNotification($"$2.5{Location1.Latitude} / $2.5{Location1.Longitude}"$) +' n.Notify(nid) +' LastUpdateTime = DateTime.Now +' End If + '/////// para la ultima localización FL + Dim sDate,sTime As String + DateTime.DateFormat = "MM/dd/yyyy" + sDate=DateTime.Date(DateTime.Now) + sTime=DateTime.Time(DateTime.Now) + If Not(B4XPages.MainPage.skmt.IsInitialized) Then B4XPages.MainPage.skmt.Initialize(Starter.ruta,"kmt.db", True) + Try + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ", Array As Object (sDate & sTime, B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps)) + B4XPages.MainPage.skmt.ExecNonQuery("DELETE FROM HIST_GPS") + Catch + LogColor(LastException, Colors.Red) + End Try + '/////// + Dim coords As String = Location1.Latitude&","&Location1.Longitude&","&formatoFecha(Location1.Time) +' Log("Loc changed : "&Location1.Latitude&","&Location1.Longitude&"|"&B4XPages.MainPage.usuario&"|") +' Log("Mandamos Ubicacion") +' Log(FirebaseMessaging.locRequest) + ' Solo mandamos la ubicacion si la precision es menor a XX mts + If Location1.Accuracy < 100 Then +' CallSubDelayed2(FirebaseMessaging,"mandamosLoc",coords) + End If + + CallSub2(Starter, "GPS_LocationChanged", Location1) +' CallSub2(gestion, "GPS_LocationChanged", Location1) +' CallSub2(B4XPages.GetPage("Cliente"), "GPS_LocationChanged", Location1) +' CallSub2(nuevocliente, "GPS_LocationChanged", Location1) +End Sub + +Sub CreateNotification (Body As String) As Notification + Dim notification As Notification + notification.Initialize2(notification.IMPORTANCE_LOW) + notification.Icon = "icon" + notification.SetInfo("SHARK2", 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 + +'Revisamos que el FLP (FusedLocationProvider) este inicializado y activo +Sub revisaFLP 'ignore + LogColor("**** **** Revisamos FLP **** ****", Colors.RGB(78,0,227)) + Private todoBienFLP As Boolean = True + Try + If Not(FLP.IsInitialized) Then + Subs.log2DB("revisaFLP: No esta inicializado ... 'Reinicializando FLP'") + FLP.Initialize("flp") + todoBienFLP = False + End If + Catch + LogColor("If Not(Tracker.FLP.IsInitialized) --> "&LastException, Colors.Red) + End Try + Try + If FLP.IsInitialized Then + Try + If Not(FLP.IsConnected) Then + Subs.log2DB("revisaFLP: No esta conectado ... 'Reconectando FLP'") + ' Tracker.FLP.Connect + StartFLP + todoBienFLP = False + End If + Catch + LogColor("If Not(Tracker.FLP.IsConnected) --> "&LastException, Colors.Red) + End Try + Try + If FLP.IsConnected And _ + FLP.GetLastKnownLocation.IsInitialized And _ + FLP.GetLastKnownLocation.DistanceTo(UUGCoords) > 500 Then + Subs.log2DB("revisaFLP: 'No se esta actualizando, lo reiniciamos ...'") + StartService(Me) + todoBienFLP = False + End If + Catch + LogColor("If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "&LastException, Colors.Red) + End Try + End If + If todoBienFLP Then LogColor(" +++ +++ Sin errores en FLP", Colors.Green) + Catch + LogColor("If Tracker.FLP.IsInitialized --> "&LastException, Colors.Red) + End Try + ' revisar hora de lastKnownlocation y si es mayor de 10 minutos llamar StartFLP +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 + Try +' revisaFLP + If FLP.IsInitialized And FLP.IsConnected Then + Try + If FLP.GetLastKnownLocation.IsInitialized Then +' Dim x As Location = FLP.GetLastKnownLocation + Dim daa As Int = UUGCoords.DistanceTo(FLP.GetLastKnownLocation) 'Distancia de la UUG a la actual de Tracker.FLP.GetLastKnownLocation + If Starter.Logger Then LogColor($"**** UUC "${Subs.fechaKMT(FLP.GetLastKnownLocation.Time)}|$0.2{FLP.GetLastKnownLocation.Accuracy}|$0.8{FLP.GetLastKnownLocation.Latitude}|$0.8{FLP.GetLastKnownLocation.Longitude}|$0.2{FLP.GetLastKnownLocation.Speed}|"$, Colors.RGB(255,112,35)) + If daa > 40 And 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 ... + B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)", Array As Object (Subs.fechaKMT(FLP.GetLastKnownLocation.Time),FLP.GetLastKnownLocation.Latitude,FLP.GetLastKnownLocation.Longitude)) + If Starter.Logger Then Log("++++ Distancia a anterior="&daa&"|"&"Precision="&FLP.GetLastKnownLocation.Accuracy) + End If + UUGCoords = FLP.GetLastKnownLocation + End If + Catch + LogColor("FLP.GetLastKnownLocation.IsInitialized --> "&LastException, Colors.Red) + End Try + Else + Log("StartFLP") + StartFLP + End If + Catch + LogColor("If FLP.IsInitialized --> "&LastException, Colors.Red) + End Try +End Sub \ No newline at end of file diff --git a/B4A/_git_tag.ps1 b/B4A/_git_tag.ps1 new file mode 100644 index 0000000..e2a9d1e --- /dev/null +++ b/B4A/_git_tag.ps1 @@ -0,0 +1,127 @@ +# --- SCRIPT DE COMMIT Y TAG (MODO IDE B4A) --- + +# 0. CONFIGURACIÓN +$HacerPush = $true # Cambia a $true para que suba los cambios a GitHub + +# Cargar librería visual para el MessageBox (por si se necesita en el Push) +Add-Type -AssemblyName System.Windows.Forms + +# 1. AUTODESCUBRIMIENTO +$projectPath = $PSScriptRoot +Write-Host "Ruta del proyecto: $projectPath" + +$b4aFileItem = Get-ChildItem -Path $projectPath -Filter "*.b4a" | Select-Object -First 1 + +if (-Not $b4aFileItem) { + Write-Host "ERROR: No hay archivo .b4a en esta carpeta." + return +} + +$projectName = $b4aFileItem.BaseName +Write-Host "Proyecto detectado: $projectName" + +# 2. LEER VERSIÓN +$versionLine = Get-Content $b4aFileItem.FullName | Select-String "#VersionName:" +if (-Not $versionLine) { + Write-Host "ERROR: Falta #VersionName en el archivo .b4a" + return +} +$version = ($versionLine -split ":")[1].Trim() +# Reemplaza cualquier espacio en blanco por un guion bajo solo para el tag +$tagName = "$version".Replace(" ", "_") + +Set-Location $projectPath + +# 3. COMMIT CON TORTOISEGIT +$oldCommit = git rev-parse HEAD 2>$null + +Write-Host "----------------------------------------" +Write-Host "Version a etiquetar: $version" +Write-Host "Abriendo ventana de TortoiseGit..." + +$pathArg = '/path:"{0}"' -f $projectPath +$msgArg = '/logmsg:"VERSION {0}"' -f $version +$cmdArg = "/command:commit" + +Start-Process "TortoiseGitProc.exe" -ArgumentList $cmdArg, $pathArg, $msgArg + +Write-Host "Esperando a que termines el commit en TortoiseGit..." +# El freno de mano: espera a que cierres la ventana +while (Get-Process "TortoiseGitProc" -ErrorAction SilentlyContinue) { + Start-Sleep -Seconds 1 +} + +$newCommit = git rev-parse HEAD 2>$null + +# 4. VALIDACIÓN +if ($oldCommit -eq $newCommit) { + Write-Host "WARNING: Commit cancelado o sin cambios detectados." + return +} + +Write-Host "Commit registrado exitosamente: $newCommit" + +# 5. GESTIÓN DE TAGS +$tagGenerado = $false + +# Revisamos si el tag ya existe localmente y lo borramos para recrearlo con el nuevo commit +if (git tag -l $tagName) { + git tag -d $tagName 2>$null | Out-Null +} + +# Creamos el tag nuevo apuntando al commit que acabamos de hacer +git tag -a $tagName -m "Release version $version" +if ($?) { $tagGenerado = $true } + +# 6. LÓGICA DE PUSH +if ($HacerPush) { + Write-Host "Conectando con GitHub..." + $remoteTagInfo = git ls-remote --tags origin $tagName + + if ($remoteTagInfo) { + # Conflicto: Ya existe en remoto + $topForm = New-Object System.Windows.Forms.Form + $topForm.TopMost = $true + $topForm.Opacity = 0 + $topForm.ShowInTaskbar = $false + $topForm.StartPosition = "CenterScreen" + $topForm.Show() + $topForm.Activate() + + [System.Console]::Beep(1000, 200) + + $msgBody = "El tag '$tagName' YA EXISTE en GitHub.`n`nDeseas SOBRESCRIBIRLO?`n`nSi = Borrar anterior y actualizar (Force Push).`nNo = Subir solo codigo (mantener tag viejo)." + $msgTitle = "Conflicto de Versiones - $projectName" + + $respuesta = [System.Windows.Forms.MessageBox]::Show($topForm, $msgBody, $msgTitle, "YesNo", "Warning") + $topForm.Dispose() + + if ($respuesta -eq "Yes") { + Write-Host "Sobrescribiendo tag en GitHub (Force Push)..." + git push origin + git push origin $tagName --force + } else { + Write-Host "Conservando tag anterior en GitHub..." + git push origin + } + } else { + # Tag Nuevo + Write-Host "Subiendo codigo y tag nuevo a GitHub..." + git push origin --follow-tags + } +} else { + Write-Host "Push OMITIDO (Switch de control apagado)." +} + +# 7. REPORTE FINAL PARA EL IDE +$EstadoPush = if($HacerPush) { "SI" } else { "NO (Modo de prueba local)" } +$EstadoTag = if($tagGenerado) { "SI ($tagName)" } else { "NO (Error al generar)" } + +Write-Host "" +Write-Host "========================================" +Write-Host " REPORTE DE VERSION " +Write-Host "========================================" +Write-Host " PROYECTO : $projectName" +Write-Host " TAG CREADO : $EstadoTag" +Write-Host " PUSH GITHUB: $EstadoPush" +Write-Host "========================================" \ No newline at end of file diff --git a/B4A/_juntaBas.ps1 b/B4A/_juntaBas.ps1 new file mode 100644 index 0000000..28c5a6c --- /dev/null +++ b/B4A/_juntaBas.ps1 @@ -0,0 +1,128 @@ +# SCRIPT: _juntaBas_Master_FinalIA.ps1 +# FIX: Corregida sintaxis de comillas y concatenación de tags XML. +# OBJETIVO: Fuente de verdad para IA con navegación ultra estructurada. + +$ErrorActionPreference = 'SilentlyContinue' +$Dir = Get-Location +$LT = [char]60; $GT = [char]62; $SL = [char]47 +$NL = [Environment]::NewLine + +Write-Output '--- GENERANDO MASTER IA DEFINITIVO (FIX ESTRUCTURAL) ---' + +# 1. PARSEO DEL PROYECTO .B4A +$b4a = Get-ChildItem -Path ".\*" -Include "*.b4a" -Recurse | Select-Object -First 1 +$Name = 'App'; $Ver = '0.0'; $ModulosValidos = @(); $Librerias = @() + +if ($b4a) { + $lines = [System.IO.File]::ReadAllLines($b4a.FullName) + foreach ($L in $lines) { + if ($L -match '#ApplicationLabel:\s*(.*)') { $Name = $Matches[1].Trim() } + if ($L -match '#VersionName:\s*(.*)') { $Ver = $Matches[1].Trim() } + if ($L -match '^Module\d+=(.*)') { + $m = [System.IO.Path]::GetFileName($Matches[1].Trim()) + if (-not $m.EndsWith(".bas") -and $m -ne "Main") { $m += ".bas" } + $ModulosValidos += $m + } + if ($L -match '^Library\d+=(.*)') { $Librerias += $Matches[1].Trim() } + } +} + +$OutName = "_" + $Name + "_" + $Ver + "_IA.md" +$OutFile = Join-Path $Dir $OutName + +# 2. HEADER CON TUS INSTRUCCIONES CRÍTICAS +$CurrentDate = Get-Date -Format 'yyyy-MM-dd HH:mm' +$Header = @" +# PROYECTO: $Name +- Version: $Ver +- Fecha: $CurrentDate +- Librerias Activas: $($Librerias -join ", ") + +## INSTRUCCIONES CRITICAS (B4A / BASIC4ANDROID) +0. **Integridad del Contexto:** Antes de procesar peticiones, cuenta si el numero de modulos listados en el indice coincide con los detallados en el cuerpo. +1. **Source of Truth (Codigo):** Este archivo contiene el codigo fuente ACTUAL del proyecto. +2. **Source of Truth (Librerias):** Basa tus sugerencias en la lista de 'Librerias Activas'. +3. **Anti-Alucinacion:** Antes de sugerir, VERIFICA la 'Interfaz Pública' o el código fuente del módulo. +4. **Existencia Estricta:** Si una variable/Sub no está en el texto, NO EXISTE. +5. **Formato:** Usa bloques 'vb'. +6. **Navegacion Estructural:** Usa los tags , y para localizar codigo. +7. **Inferencia de Datos:** Deduce la BD solo de los strings SQL presentes. +8. **Limpieza de Salida:** Los tags , y son metadatos de navegación. Al entregar código, ESTÁ ESTRICTAMENTE PROHIBIDO incluirlos en los bloques 'vb'. Entrega código B4A crudo (Sub...End Sub). +"@ + +Set-Content -Path $OutFile -Value $Header -Encoding UTF8 + +# 3. LISTAR ARCHIVOS +$files = Get-ChildItem -Path $Dir -Include *.bas,*.b4a -Recurse | Where-Object { + $_.FullName -notmatch 'Objects' -and ($_.Extension -eq '.b4a' -or $ModulosValidos -contains $_.Name) +} + +# 4. INDICE DE MODULOS +Add-Content $OutFile ($NL + "## INDICE DE MODULOS" + $NL) -Encoding UTF8 +foreach ($f in $files) { + $Ref = $f.Name.Replace('.', '').Replace(' ', '-').ToLower() + Add-Content $OutFile ("- [" + $f.Name + "](#modulo-" + $Ref + ")") -Encoding UTF8 +} + +# 5. CODIGO FUENTE ESTRUCTURADO +Add-Content $OutFile ($NL + '## CODIGO FUENTE DETALLADO' + $NL) -Encoding UTF8 + +foreach ($f in $files) { + Write-Host " -> $($f.Name)... " -NoNewline + $txt = [System.IO.File]::ReadAllLines($f.FullName) + + # Pre-escaneo para + $Methods = @() + foreach ($line in $txt) { + if ($line.Trim() -match '^(?:Public\s+|Private\s+)?Sub\s+([\w\d_]+)') { + $Methods += $Matches[1] + } + } + + $Ref = $f.Name.Replace('.', '').Replace(' ', '-').ToLower() + Add-Content $OutFile "$NL" -Encoding UTF8 + + Add-Content $OutFile " " -Encoding UTF8 + foreach($m in $Methods) { + Add-Content $OutFile " " -Encoding UTF8 + } + Add-Content $OutFile " $NL" -Encoding UTF8 + + Add-Content $OutFile "```vb" -Encoding UTF8 + + $skip = ($f.Extension -eq '.b4a') + + foreach ($l in $txt) { + $trim = $l.Trim() + + if ($skip) { + if ($trim.StartsWith("#") -and -not $trim.StartsWith("#Region")) { Add-Content $OutFile $l -Encoding UTF8 } + if ($l.Contains("@EndOfDesignText@")) { $skip = $false } + continue + } + + # Inicio de Método + if ($trim -match '^(?:Public\s+|Private\s+)?Sub\s+([\w\d_]+)') { + Add-Content $OutFile "" -Encoding UTF8 + } + + # Limpieza de comentarios y escritura de línea + if ($trim.StartsWith("'")) { + if (-not ($trim.StartsWith("'#") -or ($trim -match 'TODO:') -or ($trim -match 'FIX:'))) { continue } + } + + if (-not [string]::IsNullOrWhiteSpace($trim)) { + Add-Content $OutFile $l -Encoding UTF8 + } + + # Fin de Método + if ($trim -eq "End Sub") { + Add-Content $OutFile "" -Encoding UTF8 + } + } + + Add-Content $OutFile "```$NL" -Encoding UTF8 + Write-Host "OK" -ForegroundColor Green +} + +Write-Output ("--- FINALIZADO: " + $OutName + " ---") \ No newline at end of file diff --git a/B4A/appUpdater.bas b/B4A/appUpdater.bas new file mode 100644 index 0000000..e289247 --- /dev/null +++ b/B4A/appUpdater.bas @@ -0,0 +1,286 @@ +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: +'//// +'//// * JavaObject +'//// * OkHttpUtils2 +'//// * Phone +'//// * RuntimePermissions +'//// * appUpdating +'//// +'//// 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.lat/movil/SHARK2/SHARK2.ver" +' Public lnk As String = "https://10.0.0.205/Movil/Guna/cedex.ver" + '########################################## + '## La ruta en el servidor es: ## + '## \\10.0.0.205\e$\Cargas\Movil\Guna ## + '########################################## + '/// 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") + 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) + 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) + B4XPages.MainPage.ocultaProgreso +' 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/google-services.json b/B4A/google-services.json new file mode 100644 index 0000000..7edcc98 --- /dev/null +++ b/B4A/google-services.json @@ -0,0 +1,126 @@ +{ + "project_info": { + "project_number": "821860097209", + "project_id": "pusher-4c091", + "storage_bucket": "pusher-4c091.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:821860097209:android:4a9c1af4c93ba100f24f68", + "android_client_info": { + "package_name": "flp2.chv.com" + } + }, + "oauth_client": [ + { + "client_id": "821860097209-ef17t5620111ghub7l0tple62otbb56v.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyDS-_5lpLX5IiKYrG-0Et-KCKx1bwlY7R0" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "821860097209-ef17t5620111ghub7l0tple62otbb56v.apps.googleusercontent.com", + "client_type": 3 + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:821860097209:android:7b6620b2a870f23cf24f68", + "android_client_info": { + "package_name": "gunav2.keymon.com.mx" + } + }, + "oauth_client": [ + { + "client_id": "821860097209-ef17t5620111ghub7l0tple62otbb56v.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyDS-_5lpLX5IiKYrG-0Et-KCKx1bwlY7R0" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "821860097209-ef17t5620111ghub7l0tple62otbb56v.apps.googleusercontent.com", + "client_type": 3 + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:821860097209:android:7780f81ae43bf0f3f24f68", + "android_client_info": { + "package_name": "pusher.chv.com" + } + }, + "oauth_client": [ + { + "client_id": "821860097209-ef17t5620111ghub7l0tple62otbb56v.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyDS-_5lpLX5IiKYrG-0Et-KCKx1bwlY7R0" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "821860097209-ef17t5620111ghub7l0tple62otbb56v.apps.googleusercontent.com", + "client_type": 3 + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:821860097209:android:7c55bc95da6d952df24f68", + "android_client_info": { + "package_name": "ths.keymon.com.mx" + } + }, + "oauth_client": [ + { + "client_id": "821860097209-ef17t5620111ghub7l0tple62otbb56v.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyDS-_5lpLX5IiKYrG-0Et-KCKx1bwlY7R0" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "821860097209-ef17t5620111ghub7l0tple62otbb56v.apps.googleusercontent.com", + "client_type": 3 + } + ] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/B4A/test.bas b/B4A/test.bas new file mode 100644 index 0000000..8dec78a --- /dev/null +++ b/B4A/test.bas @@ -0,0 +1,66 @@ +B4A=true +Group=Default Group +ModulesStructureVersion=1 +Type=Service +Version=11.5 +@EndOfDesignText@ +#Region Service Attributes + #StartAtBoot: False + +#End Region + +Sub Process_Globals + 'These global variables will be declared once when the application starts. + 'These variables can be accessed from all modules. + Dim timer As Timer +' Dim reqManager As DBRequestManager +End Sub + +Sub Service_Create + +End Sub + +Sub Service_Start (StartingIntent As Intent) + Service.StopAutomaticForeground 'Call this when the background task completes (if there is one) + timer.Initialize("Timer", 5000) + timer.Enabled = True + Starter.reqManager.Initialize(Me, Starter.server) +End Sub + +Private Sub Timer_Tick +' ToastMessageShow("Timer",False) +' Log("Next run " & DateTime.Time(DateTime.Now + Interval * 1000)) + testJobdone +End Sub + +Sub testJobdone + Dim cmd As DBCommand + cmd.Initialize + cmd.Name = "select_fechat" + Starter.reqManager.ExecuteQuery(cmd , 0, "fechat") + Log("sent......") +End Sub + +Sub JobDone(Job As HttpJob) + If Job.Success = False Then +' ToastMessageShow("Error: " & Job.ErrorMessage, True) + Log("Success NOT") + Else + LogColor("JobDone: '" & Starter.reqManager.HandleJob(Job).tag & "' - Registros: " & Starter.reqManager.HandleJob(Job).Rows.Size, Colors.Green) 'Mod por CHV - 211110 + If Job.JobName = "DBRequest" Then + Dim result As DBResult = Starter.reqManager.HandleJob(Job) + If result.Tag = "select_fechat" Then 'query tag + For Each records() As Object In result.Rows + For Each k As String In result.Columns.Keys + Log("select_fechat: " & k & ": " & records(result.Columns.Get(k))) + Next + Next + End If + End If + End If + Job.Release +End Sub + +Sub Service_Destroy + +End Sub diff --git a/B4A/updateAvailable.bas b/B4A/updateAvailable.bas new file mode 100644 index 0000000..36fa8d1 --- /dev/null +++ b/B4A/updateAvailable.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